@everymatrix/general-player-register-form-step3 1.3.2 → 1.3.4
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 it(){}function S(e){return e()}function H(){return Object.create(null)}function ot(e){e.forEach(S)}function _(e){return"function"==typeof e}function c(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let p,J;function d(e,t){return(p=p||document.createElement("a")).href=t,e===p.href}function re(e,...t){if(null==e)return it;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function st(e,t){e.appendChild(t)}function at(e,t,r){e.insertBefore(t,r||null)}function lt(e){e.parentNode.removeChild(e)}function bt(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function t(e){return document.createElement(e)}function yt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ct(e){return document.createTextNode(e)}function ut(){return ct(" ")}function Et(){return ct("")}function ht(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function pt(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function dt(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function ft(e,t){e.value=null==t?"":t}function mt(t,r){for(let e=0;e<t.options.length;e+=1){const n=t.options[e];if(n.__value===r)return n.selected=!0}t.selectedIndex=-1}function ne(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}function g(e){J=e}const B=[],ie=[],f=[],P=[],w=Promise.resolve();let M=!1;function gt(e){f.push(e)}const O=new Set;let x=0;function b(){const e=J;do{for(;x<B.length;){const e=B[x];x++,g(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),ot(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(gt))}for(g(null),B.length=0,x=0;ie.length;)ie.pop()();for(let e=0;e<f.length;e+=1){const n=f[e];O.has(n)||(O.add(n),n())}}while(f.length=0,B.length);for(;P.length;)P.pop()();M=!1,O.clear(),g(e)}const k=new Set;var I="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function N(n,e,t,r,i,o,s,a=[-1]){var l=J;g(n);const c=n.$$={fragment:null,ctx:null,props:o,update:it,not_equal:i,bound:H(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:H(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};s&&s(c.root);let u=!1;if(c.ctx=t?t(n,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u&&(r=e,-1===(e=n).$$.dirty[0]&&(B.push(e),M||(M=!0,w.then(b)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),u=!0,ot(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){o=e.target;const it=Array.from(o.childNodes);c.fragment&&c.fragment.l(it),it.forEach(lt)}else c.fragment&&c.fragment.c();e.intro&&(a=n.$$.fragment)&&a.i&&(k.delete(a),a.i(void 0));{var h=n;s=e.target;t=e.anchor;r=e.customElement;const{fragment:p,on_mount:d,on_destroy:f,after_update:m}=h.$$;p&&p.m(s,t),r||gt(()=>{var e=d.map(S).filter(_);f?f.push(...e):ot(e),h.$$.on_mount=[]}),m.forEach(gt)}b()}g(l)}let L;"function"==typeof HTMLElement&&(L=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(S).filter(_);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){ot(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(ot(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=it}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const r=[];function R(n,i=it){let o;const s=new Set;function a(e){if(c(n,e)&&(n=e,o)){const e=!r.length;for(const e of s)e[1](),r.push(e,n);if(e){for(let e=0;e<r.length;e+=2)r[e][0](r[e+1]);r.length=0}}}return{set:a,update:function(e){a(e(n))},subscribe:function(e,t=it){const r=[e,t];return s.add(r),1===s.size&&(o=i(a)||it),e(n),()=>{s.delete(r),0===s.size&&(o(),o=null)}}}}function e(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:R(t,t=>{let r=!1;const n=[];let i=0,o=it;const s=()=>{var e;i||(o(),e=a(l?n[0]:n,t),u?t(e):o=_(e)?e:it)},e=c.map((e,t)=>re(e,e=>{n[t]=e,i&=~(1<<t),r&&s()},()=>{i|=1<<t}));return r=!0,s(),function(){ot(e),o()}}).subscribe}}function F(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===U));var t}var U="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function D(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a(Array.isArray(e)?[]:{},e,t):e}function $(e,t,r){return e.concat(t).map(function(e){return D(e,r)})}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 j(e,t){try{return t in e}catch(e){return!1}}function V(n,i,o){var s={};return o.isMergeableObject(n)&&G(n).forEach(function(e){s[e]=D(n[e],o)}),G(i).forEach(function(t){var e,r;(!j(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(j(n,t)&&o.isMergeableObject(i[t])?s[t]=function(e){if(!e.customMerge)return a;e=e.customMerge(t);return"function"==typeof e?e:a}(o)(n[t],i[t],o):s[t]=D(i[t],o))}),s}function a(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||$,r.isMergeableObject=r.isMergeableObject||F,r.cloneUnlessOtherwiseSpecified=D;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):V(e,t,r):D(t,r)}a.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return a(e,t,r)},{});throw new Error("first argument should be an array")};var z=a,X=function(e,t){return(X=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function K(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}X(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var m,y,E,C=function(){return(C=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function q(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||((n=n||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function W(e){return e.type===y.literal}function Y(e){return e.type===y.number}function Z(e){return e.type===y.date}function Q(e){return e.type===y.time}function oe(e){return e.type===y.select}function se(e){return e.type===y.plural}function ae(e){return e.type===y.tag}function le(e){return e&&"object"==typeof e&&e.type===E.number}function ce(e){return e&&"object"==typeof e&&e.type===E.dateTime}(n=m=m||{})[n.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",n[n.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",n[n.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",n[n.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",n[n.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",n[n.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",n[n.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",n[n.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",n[n.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",n[n.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",n[n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",n[n.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",n[n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",n[n.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",n[n.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",n[n.INVALID_TAG=23]="INVALID_TAG",n[n.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",n[n.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",n[n.UNCLOSED_TAG=27]="UNCLOSED_TAG",(n=y=y||{})[n.literal=0]="literal",n[n.argument=1]="argument",n[n.number=2]="number",n[n.date=3]="date",n[n.time=4]="time",n[n.select=5]="select",n[n.plural=6]="plural",n[n.pound=7]="pound",n[n.tag=8]="tag",(n=E=E||{})[n.number=0]="number",n[n.dateTime=1]="dateTime";var n=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ue=/(?:[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 he=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,pe=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,de=/^(@+)?(\+|#+)?[rs]?$/g,fe=/(\*)(0+)|(#+)(0+)|(0+)/g,me=/^(0+)$/;function ge(e){var n={};return"r"===e[e.length-1]?n.roundingPriority="morePrecision":"s"===e[e.length-1]&&(n.roundingPriority="lessPrecision"),e.replace(de,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function be(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 ye(e){return be(e)||{}}function Ee(e){for(var s={},t=0,r=e;t<r.length;t++){var n,i=r[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=C(C(C({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return C(C({},e),ye(t))},{}));continue;case"engineering":s=C(C(C({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return C(C({},e),ye(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(fe,function(e,t,r,n,i,o){if(t)s.minimumIntegerDigits=r.length;else{if(n&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(me.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(pe.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(pe,function(e,t,r,n,i,o){return"*"===r?s.minimumFractionDigits=t.length:n&&"#"===n[0]?s.maximumFractionDigits=n.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var o=i.options[0];"w"===o?s=C(C({},s),{trailingZeroDisplay:"stripIfInteger"}):o&&(s=C(C({},s),ge(o)))}else de.test(i.stem)?s=C(C({},s),ge(i.stem)):((o=be(i.stem))&&(s=C(C({},s),o)),(n=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!me.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=C(C({},s),n)))}return s}var Ce={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var ve=new RegExp("^".concat(n.source,"*")),Te=new RegExp("".concat(n.source,"*$"));function v(e,t){return{start:e,end:t}}var n=!!String.prototype.startsWith,Ae=!!String.fromCodePoint,Se=!!Object.fromEntries,He=!!String.prototype.codePointAt,_e=!!String.prototype.trimStart,Be=!!String.prototype.trimEnd,Pe=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},we=!0;try{we="a"===(null==(We=Fe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:We[0])}catch(it){we=!1}var Me,Oe,xe=n?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},ke=Ae?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;o<i;){if(1114111<(r=e[o++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ie=Se?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],i=i[1];t[o]=i}return t},Ne=He?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0||n<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===n||(n=e.charCodeAt(t+1))<56320||57343<n?r:n-56320+(r-55296<<10)+65536},Le=_e?function(e){return e.trimStart()}:function(e){return e.replace(ve,"")},Re=Be?function(e){return e.trimEnd()}:function(e){return e.replace(Te,"")};function Fe(e,t){return new RegExp(e,t)}Oe=we?(Me=Fe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Me.lastIndex=t,null!=(t=Me.exec(e)[1])?t:""}):function(e,t){for(var r,n=[];;){var i=Ne(e,t);if(void 0===i||$e(i)||(33<=(r=i)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;n.push(i),t+=65536<=i?2:1}return ke.apply(void 0,n)};i.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},i.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,r)).err)return i;n.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(m.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&De(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;n.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}}else{o=this.clonePosition();this.bump(),n.push({type:y.pound,location:v(o,this.clonePosition())})}}}return{val:n,err:null}},i.prototype.parseTag=function(e,t){var r=this.clonePosition(),n=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(n,"/>"),location:v(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!De(this.char()))return this.error(m.INVALID_TAG,v(e,this.clonePosition()));var i=this.clonePosition();return n!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,v(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:v(r,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,v(e,this.clonePosition())))}return this.error(m.UNCLOSED_TAG,v(r,this.clonePosition()))}return this.error(m.INVALID_TAG,v(r,this.clonePosition()))},i.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())},i.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{i=this.tryParseUnquoted(e,t);if(i)n+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}}}r=v(r,this.clonePosition());return{val:{type:y.literal,value:n,location:r},err:null}},i.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(De(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},i.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return ke.apply(void 0,t)},i.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),ke(r))},i.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,v(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(m.MALFORMED_ARGUMENT,v(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:n,location:v(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(m.MALFORMED_ARGUMENT,v(r,this.clonePosition()))}},i.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Oe(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:v(e,this.clonePosition())}},i.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,v(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((f=this.parseSimpleArgStyleIfPossible()).err)return f;if(0===(d=Re(f.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(n)).err)return c;var u=v(n,this.clonePosition());if(l&&xe(null==l?void 0:l.style,"::",0)){var h=Le(l.style.slice(2));if("number"===s)return(f=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?f:{val:{type:y.number,value:r,location:u,style:f.val},err:null};if(0===h.length)return this.error(m.EXPECT_DATE_TIME_SKELETON,u);var p=h,d=(this.locale&&(p=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Ce[t||""]||Ce[r||""]||Ce["".concat(r,"-001")]||Ce["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<s--;)r=l+r}else r+="J"===i?"H":i}return r}(h,this.locale)),{type:E.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},p.replace(ue,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:r,location:u,style:d},err:null}}return{val:{type:"number"===s?y.number:"date"===s?y.date:y.time,value:r,location:u,style:null!=(h=null==l?void 0:l.style)?h:null},err:null};case"plural":case"selectordinal":case"select":p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,v(p,C({},p)));this.bumpSpace();var f,d=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(f=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return f;this.bumpSpace(),d=this.parseIdentifierIfPossible(),u=f.val}l=this.tryParsePluralOrSelectOptions(e,s,t,d);if(l.err)return l;if((c=this.tryParseArgumentClose(n)).err)return c;h=v(n,this.clonePosition());return"select"===s?{val:{type:y.select,value:r,options:Ie(l.val),location:h},err:null}:{val:{type:y.plural,value:r,options:Ie(l.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:h},err:null};default:return this.error(m.INVALID_ARGUMENT_TYPE,v(o,a))}},i.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},i.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},i.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(he).filter(function(e){return 0<e.length});r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:E.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Ee(r):{}},err:null}},i.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i=!1,o=[],s=new Set,a=n.value,l=n.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var h=this.tryParseArgumentClose(u);if(h.err)return h;o.push([a,{value:c.val,location:v(u,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(m.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:o,err:null}},i.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}n=v(n,this.clonePosition());return i?Pe(o*=r)?{val:o,err:null}:this.error(t,n):this.error(e,n)},i.prototype.offset=function(){return this.position.offset},i.prototype.isEOF=function(){return this.offset()===this.message.length},i.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},i.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ne(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},i.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},i.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))},i.prototype.bumpIf=function(e){if(xe(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},i.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},i.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},i.prototype.bumpSpace=function(){for(;!this.isEOF()&&$e(this.char());)this.bump()},i.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Ue=i;function i(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function De(e){return 97<=e&&e<=122||65<=e&&e<=90}function $e(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Ge(e,t){t=C({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Ue(e,t).parse();if(e.err)throw(r=SyntaxError(m[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,oe(e)||se(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Y(e)&&le(e.style)||(Z(e)||Q(e))&&ce(e.style)?delete e.style.location:ae(e)&&r(e.children)})}(e.val),e.val}function je(e,t){var r=t&&t.cache?t.cache:Ye,n=t&&t.serializer?t.serializer:Ke;return(t&&t.strategy?t.strategy:function(e,t){return Xe(e,this,1===e.length?Ve:ze,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function Ve(e,t,r,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),i=t.get(r);return void 0===i&&(i=e.call(this,n),t.set(r,i)),i}function ze(e,t,r){var n=Array.prototype.slice.call(arguments,3),r=r(n),i=t.get(r);return void 0===i&&(i=e.apply(this,n),t.set(r,i)),i}function Xe(e,t,r,n,i){return r.bind(t,e,n,i)}var Ke=function(){return JSON.stringify(arguments)};function qe(){this.cache=Object.create(null)}qe.prototype.get=function(e){return this.cache[e]},qe.prototype.set=function(e,t){this.cache[e]=t};var T,We,Ye={create:function(){return new qe}},Ze={variadic:function(e,t){return Xe(e,this,ze,t.cache.create(),t.serializer)},monadic:function(e,t){return Xe(e,this,Ve,t.cache.create(),t.serializer)}};(We=T=T||{}).MISSING_VALUE="MISSING_VALUE",We.INVALID_VALUE="INVALID_VALUE",We.MISSING_INTL_API="MISSING_INTL_API";K(Ht,tt=Error),Ht.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var A,Qe,Je,et,tt,rt=Ht,nt=(K(St,et=rt),St),Ct=(K(At,Je=rt),At),vt=(K(Tt,Qe=rt),Tt);function Tt(e,t){return Qe.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),T.MISSING_VALUE,t)||this}function At(e,t,r){return Je.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),T.INVALID_VALUE,r)||this}function St(e,t,r,n){return et.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),T.INVALID_VALUE,n)||this}function Ht(e,t,r){e=tt.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function _t(e,t,r,n,i,o,s){if(1===e.length&&W(e[0]))return[{type:A.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(W(u))a.push({type:A.literal,value:u.value});else if(u.type===y.pound)"number"==typeof o&&a.push({type:A.literal,value:r.getNumberFormat(t).format(o)});else{var h=u.value;if(!(i&&h in i))throw new vt(h,s);h=i[h];if(u.type===y.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?A.literal:A.object,value:h});else if(Z(u)){var p="string"==typeof u.style?n.date[u.style]:ce(u.style)?u.style.parsedOptions:void 0;a.push({type:A.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(Q(u))p="string"==typeof u.style?n.time[u.style]:ce(u.style)?u.style.parsedOptions:n.time.medium,a.push({type:A.literal,value:r.getDateTimeFormat(t,p).format(h)});else if(Y(u))(p="string"==typeof u.style?n.number[u.style]:le(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),a.push({type:A.literal,value:r.getNumberFormat(t,p).format(h)});else{if(ae(u)){var d=u.children,f=u.value,m=i[f];if("function"!=typeof m)throw new Ct(f,"function",s);f=m(_t(d,t,r,n,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?A.literal:A.object,value:e}}))}if(oe(u)){if(!(g=u.options[h]||u.options.other))throw new nt(u.value,h,Object.keys(u.options),s);a.push.apply(a,_t(g.value,t,r,n,i))}else if(se(u)){if(!(g=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new rt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',T.MISSING_INTL_API,s);var m=r.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new nt(u.value,h,Object.keys(u.options),s);a.push.apply(a,_t(g.value,t,r,n,i,h-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===A.literal&&t.type===A.literal?r.value+=t.value:e.push(t),e},[])}function Bt(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(n=A=A||{})[n.literal=0]="literal",n[n.object=1]="object",Object.defineProperty(l,"defaultLocale",{get:function(){return l.memoizedDefaultLocale||(l.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),l.memoizedDefaultLocale},enumerable:!1,configurable:!0}),l.memoizedDefaultLocale=null,l.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},l.__parse=Ge,l.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var Pt=l;function l(e,t,r,n){var i,o,s=this;if(void 0===t&&(t=l.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===A.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 _t(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=l.resolveLocale(t),"string"==typeof e){if(this.message=e,!l.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=l.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=l.formats,(o=r)?Object.keys(i).reduce(function(e,t){var r,n;return e[t]=(r=i[t],(n=o[t])?C(C(C({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=C(C({},r[t]),n[t]||{}),e},{})):r),e},C({},i)):i),this.formatters=n&&n.formatters||{getNumberFormat:je(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,q([void 0],t,!1)))},{cache:Bt((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Ze.variadic}),getDateTimeFormat:je(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,q([void 0],t,!1)))},{cache:Bt(t.dateTime),strategy:Ze.variadic}),getPluralRules:je(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,q([void 0],t,!1)))},{cache:Bt(t.pluralRules),strategy:Ze.variadic})}}const o={},wt=(e,t,r)=>r&&(t in o||(o[t]={}),e in o[t]||(o[t][e]=r),r),Mt=(t,r)=>{if(null!=r){if(r in o&&t in o[r])return o[r][t];var n=jt(r);for(let e=0;e<n.length;e++){var i=function(e,r){if(!xt(e))return null;e=function(e){return Ot[e]||null}(e);{var n=r;if(null==n)return;if(n in e)return e[n];const i=n.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const n=i.slice(e,i.length).join(".");if(n in t){t=t[n];break}}t=t[i[e]]}else t=void 0;return t}}(n[e],t);if(i)return wt(t,r,i)}}};let Ot;const ee=R({});function xt(e){return e in Ot}function kt(t,...r){delete o[t],ee.update(e=>(e[t]=z.all([e[t]||{},...r]),e))}e([ee],([e])=>Object.keys(e)),ee.subscribe(e=>Ot=e);const It={};function Nt(e){return It[e]}function Lt(e){return null!=e&&jt(e).some(e=>{return null==(e=Nt(e))?void 0:e.size})}const Rt={};function Ft(e){if(!Lt(e))return e in Rt?Rt[e]:Promise.resolve();const t=jt(e).map(e=>{var t=Nt(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Rt[e]=Promise.all(t.map(([e,t])=>{{var n=e;e=t;const r=Promise.all(e.map(e=>{var t=n,r=e;return It[t].delete(r),0===It[t].size&&delete It[t],e().then(e=>e.default||e)}));return r.then(e=>kt(n,...e))}})).then(()=>{if(Lt(e))return Ft(e);delete Rt[e]}),Rt[e]}function s(e,t){var r={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}const u={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Ut=R(!1);let Dt;const $t=R(null);function Gt(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function jt(e,t=u.fallbackLocale){e=Gt(e);return t?[...new Set([...e,...Gt(t)])]:e}function h(){return null!=Dt?Dt:void 0}$t.subscribe(e=>{Dt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const te=Object.assign(Object.assign({},$t),{set:t=>{if(t&&function(e){if(null!=e){var t=jt(e);for(let e=0;e<t.length;e++){var r=t[e];if(xt(r))return r}}}(t)&&Lt(t)){var r=u["loadingDelay"];let e;return"undefined"!=typeof window&&null!=h()&&r?e=window.setTimeout(()=>Ut.set(!0),r):Ut.set(!0),Ft(t).then(()=>{$t.set(t)}).finally(()=>{clearTimeout(e),Ut.set(!1)})}return $t.set(t)}}),Vt=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},zt=(e,t)=>{var r=u["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Xt=Vt(e=>{var{locale:t,format:r}=e,e=s(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=zt("number",r)),new Intl.NumberFormat(t,e)}),Kt=Vt(e=>{var{locale:t,format:r}=e,e=s(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=zt("date",r):0===Object.keys(e).length&&(e=zt("date","short")),new Intl.DateTimeFormat(t,e)}),qt=Vt(e=>{var{locale:t,format:r}=e,e=s(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=zt("time",r):0===Object.keys(e).length&&(e=zt("time","short")),new Intl.DateTimeFormat(t,e)}),Wt=Vt((e,t=h())=>new Pt(e,t,u.formats,{ignoreTag:u.ignoreTag})),Yt=e([te,ee],()=>(e,t={})=>{var r,n;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:o,locale:s=h(),default:a}=i;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Mt(e,s);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(n=null!=(r=null==(r=(n=u).handleMissingMessage)?void 0:r.call(n,{locale:s,id:e,defaultValue:a}))?r:a)?n:e;if(!o)return l;let c=l;try{c=Wt(l,s).format(o)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c});function Zt(e,t){kt(e,t)}e([te],()=>(e,t)=>((e={})=>{var{locale:t=h()}=e,e=s(e,["locale"]);return qt(Object.assign({locale:t},e))})(t).format(e)),e([te],()=>(e,t)=>((e={})=>{var{locale:t=h()}=e,e=s(e,["locale"]);return Kt(Object.assign({locale:t},e))})(t).format(e)),e([te],()=>(e,t)=>((e={})=>{var{locale:t=h()}=e,e=s(e,["locale"]);return Xt(Object.assign({locale:t},e))})(t).format(e)),e([te,ee],()=>(e,t=h())=>Mt(e,t));const Qt={en:{registerFormStep3:{registerBackButton:"Back",registerAddress:"Address",registerAddressError:"Address must be at least 1 character long and 100 characters maximum.",registerPostalCode:"Postal Code",registerPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",registerCity:"City",registerCityError:"City must be at least 1 character long and 50 characters maximum.",registerCountry:"Country",registerNationality:"Nationality",registerMobile:"Mobile",registerMobileError:"Mobile must be at least 5 character long and 15 characters maximum.",registerUserConsents:"I want to receive exclusive offers and bonuses. I am aware that I can unsubscribe whenever I want to.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"I am at least 18 years old and I have read and accepted the Terms of Conditions.",registerTermsConditionsError:"Please accept the Terms and Conditions before proceeding.",registerOpenAccount:"Open Account"}},zh:{registerFormStep3:{registerBackButton:"後退",registerAddress:"地址",registerAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",registerPostalCode:"郵政編碼",registerPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",registerCity:"城市",registerCityError:"城市必須至少 1 個字符長,最多 50 個字符。",registerCountry:"國家",registerNationality:"國籍",registerMobile:"移動的",registerMobileError:"移動設備的長度必須至少為 5 個字符,最多 15 個字符。",registerUserConsents:"我想收到獨家優惠和獎金。 我知道我可以隨時取消訂閱。",registerUserConsentsSMS:"短信",registerUserConsentsEmail:"電子郵件",registerTermsConditions:"我至少 18 歲,並且我已閱讀並接受條件條款。",registerTermsConditionsError:"請在繼續之前接受條款和條件。",registerOpenAccount:"開戶口"}},fr:{registerFormStep3:{registerBackButton:"Retour",registerAddress:"Adresse",registerAddressError:"L'adresse doit comporter au moins un caractère et 100 caractères au maximum.",registerPostalCode:"Code postal",registerPostalCodeError:"Le code postal doit comporter au moins un caractère et 20 caractères au maximum.",registerCity:"Ville",registerCityError:"La ville doit comporter au moins un caractère et 50 caractères au maximum.",registerCountry:"Pays",registerNationality:"Nationalité",registerMobile:"Téléphone",registerMobileError:"Le téléphone doit comporter au moins 5 caractère et 15 caractères au maximum.",registerUserConsents:"Je veux recevoir des offres exclusives et des bonus , je sais que je peux me désinscrire quand je le veux.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"J'ai au moins 18 ans et j'ai lu et accepté les conditions d'utilisation.",registerTermsConditionsError:"Veuillez accepter les termes et conditions avant de poursuivre.",registerOpenAccount:"Ouvrir un compte"}},tr:{registerFormStep3:{registerBackButton:"Geri",registerAddress:"Adres",registerAddressError:"Adres en az 1 karakter uzunluğunda ve en fazla 100 karakter olmalıdır.",registerPostalCode:"Posta kodu",registerPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.",registerCity:"Şehir",registerCityError:"Şehir en az 1 karakter uzunluğunda ve en fazla 50 karakter olmalıdır.",registerCountry:"Ülke",registerNationality:"Milliyet",registerMobile:"Mobil",registerMobileError:"Mobil en az 5 karakter uzunluğunda ve en fazla 15 karakter olmalıdır.",registerUserConsents:"Özel teklifler ve bonuslar almak istiyorum. İstediğim zaman abonelikten çıkabileceğimin farkındayım.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-posta",registerTermsConditions:"En az 18 yaşındayım ve Koşullar'ı okudum ve kabul ediyorum.",registerTermsConditionsError:"Lütfen devam etmeden önce Şartlar ve Koşulları kabul edin.",registerOpenAccount:"Hesap Aç"}},ro:{registerFormStep3:{registerBackButton:"Inapoi",registerAddress:"Adresa",registerAddressError:"Adresa trebuie sa fie cuprinsa in 1 si 100 de litere.",registerPostalCode:"Cod Postal",registerPostalCodeError:"Codul postal trebuie sa fie cuprins intre 1 si 20 de caractere.",registerCity:"Oras",registerCityError:"Orasul trebuie sa fie cuprins intre 1 si 50 de litere.",registerCountry:"Tara",registerNationality:"Nationalitatea",registerMobile:"Telefon",registerMobileError:"Telefonul trebuie sa fie cuprins intre 5 si 15 de cifre.",registerUserConsents:"Vreau sa primesc oferte si bonusuri exclusive. Sunt constient ca pot sa dau unsubscribe oricand.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"Am minim 18 ani si am citit si acceptat Termenii si Conditiile",registerTermsConditionsError:"Te rog accepta Termenii si Conditiile",registerOpenAccount:"Inregistrare"}},es:{registerFormStep3:{registerBackButton:"Regresar",registerAddress:"Dirección",registerAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",registerPostalCode:"Código postal",registerPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",registerCity:"Ciudad",registerCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidad",registerMobile:"Móvil:",registerMobileError:"El móvil debe tener mínimo 5 caracteres y máximo 15 caracteres.",registerUserConsents:"Quiero recibir ofertas y bonos exclusivos. Entiendo que puedo darme de baja en cualquier momento.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-mail",registerTermsConditions:"Soy mayor de 18 años y he leído y acepto los Términos de Condiciones.",registerTermsConditionsError:"Por favor, acepte los Términos y Condiciones antes de continuar.",registerOpenAccount:"Abrir cuenta"}},pt:{registerFormStep3:{registerBackButton:"Voltar",registerAddress:"Endereço",registerAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres.",registerPostalCode:"CEP",registerPostalCodeError:"O CEP deve ter pelo menos 1 caractere e no máximo 20 caracteres.",registerCity:"Cidade",registerCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidade",registerMobile:"Celular",registerMobileError:"O celular deve ter pelo menos 5 caracteres e no máximo 15 caracteres.",registerUserConsents:"Quero receber ofertas e bônus exclusivos. Estou ciente de que posso cancelar a inscrição quando quiser.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-mail",registerTermsConditions:"Tenho pelo menos 18 anos e li e aceito os Termos de Condições.",registerTermsConditionsError:"Por favor, aceite os Termos e Condições antes de prosseguir.",registerOpenAccount:"Abrir conta"}}},Jt=I["document"];function er(e,t,r){const n=e.slice();return n[88]=t[r],n}function tr(e,t,r){const n=e.slice();return n[91]=t[r],n}function rr(e,t,r){const n=e.slice();return n[94]=t[r],n}function nr(e){let r,n;return{c(){d((r=t("script")).src,n="//www.google.com/recaptcha/api.js?render="+e[4])||pt(r,"src",n),r.async=!0,r.defer=!0},m(e,t){at(e,r,t)},p(e,t){16&t[0]&&!d(r.src,n="//www.google.com/recaptcha/api.js?render="+e[4])&&pt(r,"src",n)},d(e){e&<(r)}}}function ir(e){let r,n,i=e[32]("registerFormStep3.registerAddressError")+"";return{c(){r=t("p"),n=ct(i),pt(r,"class","InvalidInput"),pt(r,"part","InvalidInput")},m(e,t){at(e,r,t),st(r,n)},p(e,t){2&t[1]&&i!==(i=e[32]("registerFormStep3.registerAddressError")+"")&&dt(n,i)},d(e){e&<(r)}}}function or(e){let r,n,i=e[32]("registerFormStep3.registerPostalCodeError")+"";return{c(){r=t("p"),n=ct(i),pt(r,"class","InvalidInput"),pt(r,"part","InvalidInput")},m(e,t){at(e,r,t),st(r,n)},p(e,t){2&t[1]&&i!==(i=e[32]("registerFormStep3.registerPostalCodeError")+"")&&dt(n,i)},d(e){e&<(r)}}}function sr(e){let r,n,i=e[32]("registerFormStep3.registerCityError")+"";return{c(){r=t("p"),n=ct(i),pt(r,"class","InvalidInput"),pt(r,"part","InvalidInput")},m(e,t){at(e,r,t),st(r,n)},p(e,t){2&t[1]&&i!==(i=e[32]("registerFormStep3.registerCityError")+"")&&dt(n,i)},d(e){e&<(r)}}}function ar(e){let r,n,i,o=e[94].Name+"";return{c(){r=t("option"),n=ct(o),r.__value=i=e[94].Alpha2Code,r.value=r.__value},m(e,t){at(e,r,t),st(r,n)},p(e,t){1048576&t[0]&&o!==(o=e[94].Name+"")&&dt(n,o),1048576&t[0]&&i!==(i=e[94].Alpha2Code)&&(r.__value=i,r.value=r.__value)},d(e){e&<(r)}}}function lr(e){let r,n,i,o=e[91].Name+"";return{c(){r=t("option"),n=ct(o),r.__value=i=e[91].Alpha2Code,r.value=r.__value},m(e,t){at(e,r,t),st(r,n)},p(e,t){4194304&t[0]&&o!==(o=e[91].Name+"")&&dt(n,o),4194304&t[0]&&i!==(i=e[91].Alpha2Code)&&(r.__value=i,r.value=r.__value)},d(e){e&<(r)}}}function cr(e){let r,n,i,o=e[88].Prefix+"";return{c(){r=t("option"),n=ct(o),r.__value=i=e[88].Prefix,r.value=r.__value},m(e,t){at(e,r,t),st(r,n)},p(e,t){33554432&t[0]&&o!==(o=e[88].Prefix+"")&&dt(n,o),33554432&t[0]&&i!==(i=e[88].Prefix)&&(r.__value=i,r.value=r.__value)},d(e){e&<(r)}}}function ur(e){let r,n,i=e[32]("registerFormStep3.registerMobileError")+"";return{c(){r=t("p"),n=ct(i),pt(r,"class","InvalidInput"),pt(r,"part","InvalidInput")},m(e,t){at(e,r,t),st(r,n)},p(e,t){2&t[1]&&i!==(i=e[32]("registerFormStep3.registerMobileError")+"")&&dt(n,i)},d(e){e&<(r)}}}function hr(e){let r,n,i=("true"===e[2]||"true"===e[3])&&pr(e),o="true"===e[1]&&mr(e);return{c(){i&&i.c(),r=ut(),o&&o.c(),n=Et()},m(e,t){i&&i.m(e,t),at(e,r,t),o&&o.m(e,t),at(e,n,t)},p(e,t){"true"===e[2]||"true"===e[3]?i?i.p(e,t):((i=pr(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null),"true"===e[1]?o?o.p(e,t):((o=mr(e)).c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(e){i&&i.d(e),e&<(r),o&&o.d(e),e&<(n)}}}function pr(r){let n,i,o,s,a,l,c,u,h,p,d,f,m=r[32]("registerFormStep3.registerUserConsents")+"",g="true"===r[2]&&dr(r),b="true"===r[3]&&fr(r);return{c(){n=t("div"),i=t("label"),o=ct(m),s=ut(),a=t("input"),l=ut(),c=t("span"),u=ut(),h=t("div"),g&&g.c(),p=ut(),b&&b.c(),pt(a,"type","Checkbox"),a.checked=r[27],pt(c,"class","Checkmark"),pt(c,"part","Checkmark"),pt(i,"class","Offers"),pt(i,"part","Offers"),pt(h,"class","OffersMethodsWrapper"),pt(h,"part","OffersMethodsWrapper"),pt(n,"class","OffersContainer"),pt(n,"part","OffersContainer")},m(e,t){at(e,n,t),st(n,i),st(i,o),st(i,s),st(i,a),st(i,l),st(i,c),st(n,u),st(n,h),g&&g.m(h,null),st(h,p),b&&b.m(h,null),d||(f=ht(a,"click",r[63]),d=!0)},p(e,t){2&t[1]&&m!==(m=e[32]("registerFormStep3.registerUserConsents")+"")&&dt(o,m),134217728&t[0]&&(a.checked=e[27]),"true"===e[2]?g?g.p(e,t):((g=dr(e)).c(),g.m(h,p)):g&&(g.d(1),g=null),"true"===e[3]?b?b.p(e,t):((b=fr(e)).c(),b.m(h,null)):b&&(b.d(1),b=null)},d(e){e&<(n),g&&g.d(),b&&b.d(),d=!1,f()}}}function dr(r){let n,i,o,s,a,l,c,u,h=r[32]("registerFormStep3.registerUserConsentsSMS")+"";return{c(){n=t("label"),i=ct(h),o=ut(),s=t("input"),a=ut(),l=t("span"),pt(s,"type","Checkbox"),s.checked=r[28],pt(l,"class","Checkmark"),pt(l,"part","Checkmark"),pt(n,"class","OffersMethod")},m(e,t){at(e,n,t),st(n,i),st(n,o),st(n,s),st(n,a),st(n,l),c||(u=ht(s,"click",r[64]),c=!0)},p(e,t){2&t[1]&&h!==(h=e[32]("registerFormStep3.registerUserConsentsSMS")+"")&&dt(i,h),268435456&t[0]&&(s.checked=e[28])},d(e){e&<(n),c=!1,u()}}}function fr(r){let n,i,o,s,a,l,c,u,h=r[32]("registerFormStep3.registerUserConsentsEmail")+"";return{c(){n=t("label"),i=ct(h),o=ut(),s=t("input"),a=ut(),l=t("span"),pt(s,"type","Checkbox"),s.checked=r[29],pt(l,"class","Checkmark"),pt(l,"part","Checkmark"),pt(n,"class","OffersMethod"),pt(n,"part","OffersMethod")},m(e,t){at(e,n,t),st(n,i),st(n,o),st(n,s),st(n,a),st(n,l),c||(u=ht(s,"click",r[65]),c=!0)},p(e,t){2&t[1]&&h!==(h=e[32]("registerFormStep3.registerUserConsentsEmail")+"")&&dt(i,h),536870912&t[0]&&(s.checked=e[29])},d(e){e&<(n),c=!1,u()}}}function mr(r){let n,i,o,s,a,l,c,u,h,p,d,f=r[32]("registerFormStep3.registerTermsConditions")+"",m=!r[30]&&gr(r);return{c(){n=t("div"),i=t("label"),o=ct(f),s=ut(),a=t("input"),l=ut(),c=t("span"),u=ut(),m&&m.c(),h=Et(),pt(a,"type","Checkbox"),a.checked=r[30],pt(c,"class","Checkmark"),pt(c,"part","Checkmark"),pt(i,"class","AgeConsent"),pt(i,"part","AgeConsent"),pt(n,"class","AgeContainer"),pt(n,"part","AgeContainer")},m(e,t){at(e,n,t),st(n,i),st(i,o),st(i,s),st(i,a),st(i,l),st(i,c),at(e,u,t),m&&m.m(e,t),at(e,h,t),p||(d=ht(a,"click",r[66]),p=!0)},p(e,t){2&t[1]&&f!==(f=e[32]("registerFormStep3.registerTermsConditions")+"")&&dt(o,f),1073741824&t[0]&&(a.checked=e[30]),e[30]?m&&(m.d(1),m=null):m?m.p(e,t):((m=gr(e)).c(),m.m(h.parentNode,h))},d(e){e&<(n),e&<(u),m&&m.d(e),e&<(h),p=!1,d()}}}function gr(e){let r,n,i,o=e[32]("registerFormStep3.registerTermsConditionsError")+"";return{c(){r=t("div"),n=t("p"),i=ct(o),pt(r,"class","NotificationContainer"),pt(r,"part","NotificationContainer")},m(e,t){at(e,r,t),st(r,n),st(n,i)},p(e,t){2&t[1]&&o!==(o=e[32]("registerFormStep3.registerTermsConditionsError")+"")&&dt(i,o)},d(e){e&<(r)}}}function br(e){let r,n,i;return{c(){r=t("div"),n=t("p"),i=ct(e[16]),pt(n,"class","RegisterError"),pt(n,"part","RegisterError")},m(e,t){at(e,r,t),st(r,n),st(n,i)},p(e,t){65536&t[0]&&dt(i,e[16])},d(e){e&<(r)}}}function yr(r){let F,U,s,D,a,$,n,i,G,j,V,z,X,K,q,l,o,c,u,W,Y,Z,Q,h,J,e,ee,te,p,d,re,ne,ie,oe,f,se,ae,le,ce,m,g,ue,he,pe,de,b,fe,me,ge,be,y,E,ye,Ee,Ce,ve,C,Te,Ae,v,Se,He,_e,Be,Pe,T,we,Me,A,Oe,xe,ke,Ie,Ne,S,H,Le,_,Re,Fe,Ue,De,$e,B,Ge,je,Ve,ze,Xe,Ke=r[32]("registerFormStep3.registerBackButton")+"",qe=r[32]("registerFormStep3.registerAddress")+"",We=r[32]("registerFormStep3.registerPostalCode")+"",Ye=r[32]("registerFormStep3.registerCity")+"",Ze=r[32]("registerFormStep3.registerCountry")+"",Qe=r[32]("registerFormStep3.registerNationality")+"",Je=r[32]("registerFormStep3.registerMobile")+"",et=r[32]("registerFormStep3.registerOpenAccount")+"",P=r[4]&&nr(r),w=r[6]&&ir(r),M=r[7]&&or(r),O=r[9]&&sr(r),tt=r[20],x=[];for(let e=0;e<tt.length;e+=1)x[e]=ar(rr(r,tt,e));let rt=r[22],k=[];for(let e=0;e<rt.length;e+=1)k[e]=lr(tr(r,rt,e));let nt=r[25],I=[];for(let e=0;e<nt.length;e+=1)I[e]=cr(er(r,nt,e));let N=r[8]&&ur(r),L="true"===r[0]&&hr(r),R=r[15]&&br(r);return{c(){P&&P.c(),F=Et(),U=ut(),s=t("div"),D=ut(),a=t("div"),$=t("div"),n=t("button"),i=yt("svg"),G=yt("defs"),j=yt("style"),V=ct(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),z=yt("path"),X=ut(),K=ct(Ke),q=ut(),l=t("form"),o=t("div"),c=t("div"),u=t("label"),W=ct(qe),Y=ct(":"),(Z=t("span")).textContent="*",Q=ut(),h=t("input"),J=ut(),w&&w.c(),te=ut(),p=t("div"),d=t("label"),re=ct(We),ne=ct(":"),(ie=t("span")).textContent="*",oe=ut(),f=t("input"),se=ut(),M&&M.c(),ce=ut(),m=t("div"),g=t("label"),ue=ct(Ye),he=ct(":"),(pe=t("span")).textContent="*",de=ut(),b=t("input"),fe=ut(),O&&O.c(),be=ut(),y=t("div"),E=t("label"),ye=ct(Ze),Ee=ct(":"),(Ce=t("span")).textContent="*",ve=ut(),C=t("select");for(let e=0;e<x.length;e+=1)x[e].c();Ae=ut(),v=t("div"),Se=t("label"),He=ct(Qe),_e=ct(":"),(Be=t("span")).textContent="*",Pe=ut(),T=t("select");for(let e=0;e<k.length;e+=1)k[e].c();Me=ut(),A=t("div"),Oe=t("label"),xe=ct(Je),ke=ct(":"),(Ie=t("span")).textContent="*",Ne=ut(),S=t("div"),H=t("select");for(let e=0;e<I.length;e+=1)I[e].c();Le=ut(),_=t("input"),Re=ut(),N&&N.c(),De=ut(),L&&L.c(),$e=ut(),B=t("button"),Ge=ct(et),Ve=ut(),R&&R.c(),this.c=it,pt(s,"class","g-recaptcha"),pt(s,"data-sitekey",r[4]),pt(z,"class","a"),pt(z,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),pt(z,"transform","translate(24 24) rotate(180)"),pt(i,"xmlns","http://www.w3.org/2000/svg"),pt(i,"viewBox","0 0 24 24"),pt(n,"class","BackButton"),pt(n,"part","BackButton"),pt($,"class","RegisterFormHeader"),pt($,"part","RegisterFormHeader"),pt(Z,"class","FormRequired"),pt(Z,"part","FormRequired"),pt(u,"for","Address"),pt(h,"type","text"),pt(h,"id","Address"),pt(c,"class",e="AddressContainer "+(r[6]&&!r[10]?"InvalidField":"")+(0<=r[14]?.indexOf("address")?"Hidden":"")),pt(c,"part",ee="AddressContainer "+(r[6]?"InvalidField":"")),pt(ie,"class","FormRequired"),pt(ie,"part","FormRequired"),pt(d,"for","PostalCode"),pt(f,"type","text"),pt(f,"id","PostalCode"),pt(p,"class",ae="PostalCodeContainer "+(r[7]&&!r[11]?"InvalidField":"")+(0<=r[14]?.indexOf("postalCode")?"Hidden":"")),pt(p,"part",le="PostalCodeContainer "+(r[7]?"InvalidField":"")),pt(o,"class","AddressPostalCodeContainer"),pt(o,"part","AddressPostalCodeContainer"),pt(pe,"class","FormRequired"),pt(pe,"part","FormRequired"),pt(g,"for","City"),pt(b,"type","text"),pt(b,"id","City"),pt(m,"class",me="CityContainer "+(r[9]&&r[13]?"InvalidField":"")+(0<=r[14]?.indexOf("city")?"Hidden":"")),pt(m,"part",ge="CityContainer "+(r[9]?"InvalidField":"")),pt(Ce,"class","FormRequired"),pt(Ce,"part","FormRequired"),pt(E,"for","Country"),pt(C,"id","Country"),void 0===r[21]&>(()=>r[57].call(C)),pt(y,"class",Te="CountryContainer "+(0<=r[14]?.indexOf("country")?"Hidden":"")),pt(y,"part","CountryContainer"),pt(Be,"class","FormRequired"),pt(Be,"part","FormRequired"),pt(Se,"for","Nationality"),pt(T,"id","Nationality"),void 0===r[23]&>(()=>r[58].call(T)),pt(v,"class",we="NationalityContainer "+(0<=r[14]?.indexOf("nationality")?"Hidden":"")),pt(v,"part","NationalityContainer"),pt(Ie,"class","FormRequired"),pt(Ie,"part","FormRequired"),pt(Oe,"for","Mobile"),pt(H,"class","MobilePrefixSelected"),pt(H,"part","MobilePrefixSelected"),void 0===r[26]&>(()=>r[59].call(H)),pt(_,"type","text"),pt(_,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),pt(_,"id","Mobile"),pt(_,"class","MobileInput"),pt(_,"part","MobileInput"),pt(S,"class","MobileWrapper"),pt(S,"part","MobileWrapper"),pt(A,"class",Fe="MobileContainer "+(r[8]&&!r[12]?"InvalidField":"")+(0<=r[14]?.indexOf("mobile")?"Hidden":"")),pt(A,"part",Ue="MobileContainer "+(r[8]?"InvalidField":"")),pt(B,"class","RegisterStepNext"),pt(B,"part","RegisterStepNext"),B.disabled=je=!r[31],pt(l,"class","RegisterFormContent"),pt(l,"part","RegisterFormContent")},m(e,t){P&&P.m(Jt.head,null),st(Jt.head,F),at(e,U,t),at(e,s,t),at(e,D,t),at(e,a,t),st(a,$),st($,n),st(n,i),st(i,G),st(G,j),st(j,V),st(i,z),st(n,X),st(n,K),st(a,q),st(a,l),st(l,o),st(o,c),st(c,u),st(u,W),st(u,Y),st(u,Z),st(c,Q),st(c,h),ft(h,r[17]),st(c,J),w&&w.m(c,null),st(o,te),st(o,p),st(p,d),st(d,re),st(d,ne),st(d,ie),st(p,oe),st(p,f),ft(f,r[18]),st(p,se),M&&M.m(p,null),st(l,ce),st(l,m),st(m,g),st(g,ue),st(g,he),st(g,pe),st(m,de),st(m,b),ft(b,r[19]),st(m,fe),O&&O.m(m,null),st(l,be),st(l,y),st(y,E),st(E,ye),st(E,Ee),st(E,Ce),st(y,ve),st(y,C);for(let e=0;e<x.length;e+=1)x[e].m(C,null);mt(C,r[21]),st(l,Ae),st(l,v),st(v,Se),st(Se,He),st(Se,_e),st(Se,Be),st(v,Pe),st(v,T);for(let e=0;e<k.length;e+=1)k[e].m(T,null);mt(T,r[23]),st(l,Me),st(l,A),st(A,Oe),st(Oe,xe),st(Oe,ke),st(Oe,Ie),st(A,Ne),st(A,S),st(S,H);for(let e=0;e<I.length;e+=1)I[e].m(H,null);mt(H,r[26]),st(S,Le),st(S,_),ft(_,r[24]),st(A,Re),N&&N.m(A,null),st(l,De),L&&L.m(l,null),st(l,$e),st(l,B),st(B,Ge),st(a,Ve),R&&R.m(a,null),r[68](a),ze||(Xe=[ht(n,"click",r[40]),ht(h,"input",r[48]),ht(h,"keyup",r[33]),ht(h,"focus",r[49]),ht(h,"blur",r[50]),ht(f,"input",r[51]),ht(f,"keyup",r[34]),ht(f,"focus",r[52]),ht(f,"blur",r[53]),ht(b,"input",r[54]),ht(b,"keyup",r[35]),ht(b,"focus",r[55]),ht(b,"blur",r[56]),ht(C,"change",r[57]),ht(T,"change",r[58]),ht(H,"change",r[59]),ht(_,"input",r[60]),ht(_,"keyup",r[36]),ht(_,"focus",r[61]),ht(_,"blur",r[62]),ht(B,"click",r[67])],ze=!0)},p(t,r){if(t[4]?P?P.p(t,r):((P=nr(t)).c(),P.m(F.parentNode,F)):P&&(P.d(1),P=null),16&r[0]&&pt(s,"data-sitekey",t[4]),2&r[1]&&Ke!==(Ke=t[32]("registerFormStep3.registerBackButton")+"")&&dt(K,Ke),2&r[1]&&qe!==(qe=t[32]("registerFormStep3.registerAddress")+"")&&dt(W,qe),131072&r[0]&&h.value!==t[17]&&ft(h,t[17]),t[6]?w?w.p(t,r):((w=ir(t)).c(),w.m(c,null)):w&&(w.d(1),w=null),17472&r[0]&&e!==(e="AddressContainer "+(t[6]&&!t[10]?"InvalidField":"")+(0<=t[14]?.indexOf("address")?"Hidden":""))&&pt(c,"class",e),64&r[0]&&ee!==(ee="AddressContainer "+(t[6]?"InvalidField":""))&&pt(c,"part",ee),2&r[1]&&We!==(We=t[32]("registerFormStep3.registerPostalCode")+"")&&dt(re,We),262144&r[0]&&f.value!==t[18]&&ft(f,t[18]),t[7]?M?M.p(t,r):((M=or(t)).c(),M.m(p,null)):M&&(M.d(1),M=null),18560&r[0]&&ae!==(ae="PostalCodeContainer "+(t[7]&&!t[11]?"InvalidField":"")+(0<=t[14]?.indexOf("postalCode")?"Hidden":""))&&pt(p,"class",ae),128&r[0]&&le!==(le="PostalCodeContainer "+(t[7]?"InvalidField":""))&&pt(p,"part",le),2&r[1]&&Ye!==(Ye=t[32]("registerFormStep3.registerCity")+"")&&dt(ue,Ye),524288&r[0]&&b.value!==t[19]&&ft(b,t[19]),t[9]?O?O.p(t,r):((O=sr(t)).c(),O.m(m,null)):O&&(O.d(1),O=null),25088&r[0]&&me!==(me="CityContainer "+(t[9]&&t[13]?"InvalidField":"")+(0<=t[14]?.indexOf("city")?"Hidden":""))&&pt(m,"class",me),512&r[0]&&ge!==(ge="CityContainer "+(t[9]?"InvalidField":""))&&pt(m,"part",ge),2&r[1]&&Ze!==(Ze=t[32]("registerFormStep3.registerCountry")+"")&&dt(ye,Ze),1048576&r[0]){let e;for(tt=t[20],e=0;e<tt.length;e+=1){var n=rr(t,tt,e);x[e]?x[e].p(n,r):(x[e]=ar(n),x[e].c(),x[e].m(C,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=tt.length}if(3145728&r[0]&&mt(C,t[21]),16384&r[0]&&Te!==(Te="CountryContainer "+(0<=t[14]?.indexOf("country")?"Hidden":""))&&pt(y,"class",Te),2&r[1]&&Qe!==(Qe=t[32]("registerFormStep3.registerNationality")+"")&&dt(He,Qe),4194304&r[0]){let e;for(rt=t[22],e=0;e<rt.length;e+=1){var i=tr(t,rt,e);k[e]?k[e].p(i,r):(k[e]=lr(i),k[e].c(),k[e].m(T,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=rt.length}if(12582912&r[0]&&mt(T,t[23]),16384&r[0]&&we!==(we="NationalityContainer "+(0<=t[14]?.indexOf("nationality")?"Hidden":""))&&pt(v,"class",we),2&r[1]&&Je!==(Je=t[32]("registerFormStep3.registerMobile")+"")&&dt(xe,Je),33554432&r[0]){let e;for(nt=t[25],e=0;e<nt.length;e+=1){var o=er(t,nt,e);I[e]?I[e].p(o,r):(I[e]=cr(o),I[e].c(),I[e].m(H,null))}for(;e<I.length;e+=1)I[e].d(1);I.length=nt.length}100663296&r[0]&&mt(H,t[26]),16777216&r[0]&&_.value!==t[24]&&ft(_,t[24]),t[8]?N?N.p(t,r):((N=ur(t)).c(),N.m(A,null)):N&&(N.d(1),N=null),20736&r[0]&&Fe!==(Fe="MobileContainer "+(t[8]&&!t[12]?"InvalidField":"")+(0<=t[14]?.indexOf("mobile")?"Hidden":""))&&pt(A,"class",Fe),256&r[0]&&Ue!==(Ue="MobileContainer "+(t[8]?"InvalidField":""))&&pt(A,"part",Ue),"true"===t[0]?L?L.p(t,r):((L=hr(t)).c(),L.m(l,$e)):L&&(L.d(1),L=null),2&r[1]&&et!==(et=t[32]("registerFormStep3.registerOpenAccount")+"")&&dt(Ge,et),1&r[1]&&je!==(je=!t[31])&&(B.disabled=je),t[15]?R?R.p(t,r):((R=br(t)).c(),R.m(a,null)):R&&(R.d(1),R=null)},i:it,o:it,d(e){P&&P.d(e),lt(F),e&<(U),e&<(s),e&<(D),e&<(a),w&&w.d(),M&&M.d(),O&&O.d(),bt(x,e),bt(k,e),bt(I,e),N&&N.d(),L&&L.d(),R&&R.d(),r[68](null),ze=!1,ot(Xe)}}}function Er(t,e,r){let L;var R,F,n=Yt;t.$$.on_destroy.push(re(n,e=>r(32,L=e)));let i,o,s,a,l,c,u,{userconsentsexist:h="false"}=e,{termsconditions:p="false"}=e,{smsoffers:U="false"}=e,{emailmarketing:D="false"}=e,{endpoint:d=""}=e,{captchakey:$=""}=e,{lang:f=""}=e,{disabledfields:m=""}=e,{defaultoptions:g=""}=e,{clientstyling:b=""}=e,{clientstylingurl:y=""}=e,{translationurl:E=""}=e,G=!1,j=!1,V=!1,z=!1,X=!1,K="",C="",v="",T="",A=[],S="",H=[],_="",B="",P=[],w="",M=!1,O=!1,x=!1,k=!1,q=!1;({withLocale:R,translations:F}={withLocale:"en",translations:{}}),te.subscribe(e=>{null==e&&(ee.set(F),te.set(R))}),Object.keys(Qt).forEach(e=>{Zt(e,Qt[e])});const I=()=>{r(31,q=!(i||o||a||s||X||"true"===h&&"true"===p&&!k)),(C.length<=0||v.length<=0||T.length<=0||B.length<=0)&&r(31,q=!1)},N=e=>{switch(e){case"GeneralOffers":!1===M?(r(27,M=!0),r(28,O=!0),r(29,x=!0)):(r(27,M=!1),r(28,O=!1),r(29,x=!1));break;case"SmsOffers":!1===O?(r(28,O=!0),r(27,M=!0)):r(28,O=!1),W();break;case"EmailOffers":!1===x?(r(29,x=!0),r(27,M=!0)):r(29,x=!1),W()}},W=()=>{O||x||r(27,M=!1)},Y=()=>{r(30,k=!1===k),I()},Z=e=>{e.preventDefault();let t;new Promise((t,e)=>{grecaptcha.ready(()=>{grecaptcha.execute($,{action:"submit"}).then(e=>{t(e)})})}).then(e=>{t={address:C,postalCode:v,city:T,countrySelected:S,nationalitySelected:_,mobilePrefixSelected:w,mobile:B,consentOffersSms:O,consentOffersEmail:x,consentTerms:k,consentOffers:M,token:e},window.postMessage({type:"RegisterStepThree",registerStepThreeData:t},window.location.href)})},Q=e=>{if(e.data)switch(e.data.type){case"StepThreeDataBackup":r(17,C=e.data.userData.address1),r(18,v=e.data.userData.postalCode),r(19,T=e.data.userData.city),r(21,S=e.data.userData.country),r(23,_=e.data.userData.nationality),r(26,w=e.data.userData.mobile.prefix),r(24,B=e.data.userData.mobile.number),r(28,O=e.data.userData.userConsents.sms),r(29,x=e.data.userData.userConsents.emailmarketing),r(30,k=e.data.userData.userConsents.termsandconditions),I();break;case"ShowRegistrationError":r(15,X=e.data.showError),r(16,K=e.data.error)}};return n=()=>(window.addEventListener("message",Q,!1),()=>{window.removeEventListener("message",Q)}),function(){if(J)return J;throw new Error("Function called outside component initialization")}().$$.on_mount.push(n),t.$$set=e=>{"userconsentsexist"in e&&r(0,h=e.userconsentsexist),"termsconditions"in e&&r(1,p=e.termsconditions),"smsoffers"in e&&r(2,U=e.smsoffers),"emailmarketing"in e&&r(3,D=e.emailmarketing),"endpoint"in e&&r(41,d=e.endpoint),"captchakey"in e&&r(4,$=e.captchakey),"lang"in e&&r(42,f=e.lang),"disabledfields"in e&&r(43,m=e.disabledfields),"defaultoptions"in e&&r(44,g=e.defaultoptions),"clientstyling"in e&&r(45,b=e.clientstyling),"clientstylingurl"in e&&r(46,y=e.clientstylingurl),"translationurl"in e&&r(47,E=e.translationurl)},t.$$.update=()=>{if(1024&t.$$.dirty[1]&&d&&fetch(d+"/player/countries").then(e=>e.json()).then(e=>{fetch(d+"/player/operatorSupportedCountries").then(e=>300<=e.status?new Error("Error while fetching the supported countries"):e.json()).then(t=>{r(20,A=e.countries.filter(e=>0<=t.countries.indexOf(e.Alpha2Code))),S||r(21,S=A[0].Alpha2Code),r(22,H=e.countries),_||r(23,_=H[0].Alpha2Code)})}),1024&t.$$.dirty[1]&&d&&fetch(d+"/player/phonecodes").then(e=>e.json()).then(e=>{r(25,P=e.phoneCodes),w||r(26,w=P[0].Prefix)}),2048&t.$$.dirty[1]&&f&&(e=f,te.set(e)),4096&t.$$.dirty[1]&&m&&(r(14,l=m.split(",")),0<=l.indexOf("address")&&(r(6,i=!1),r(17,C="dummy address")),0<=l.indexOf("postalCode")&&(r(7,o=!1),r(18,v="000000")),0<=l.indexOf("mobile")&&(r(8,s=!1),r(24,B="1234123412"),r(26,w="000")),0<=l.indexOf("city")&&(r(9,a=!1),r(19,T="dummy city")),0<=l.indexOf("country")&&r(21,S="dummy country"),0<=l.indexOf("nationality")&&r(23,_="dummy nationality")),8192&t.$$.dirty[1]&&g&&(0<=(c=g.split(",")).indexOf("consentsTerms")&&r(30,k=!0),0<=c.indexOf("consentsOffers")&&(r(27,M=!0),r(28,O=!0),r(29,x=!0)),c.forEach(e=>{e.includes("phonePrefix")&&r(26,w=e.split(":")[1].toString())})),32&t.$$.dirty[0]|16384&t.$$.dirty[1]&&b&&u){let e=document.createElement("style");e.innerHTML=b,u.appendChild(e)}if(32&t.$$.dirty[0]|32768&t.$$.dirty[1]&&y&&u){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{u.appendChild(t)},1),setTimeout(()=>{},500)})}var e;65536&t.$$.dirty[1]&&E&&fetch(E).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Zt(e,t[e])})}).catch(e=>{console.log(e)})},[h,p,U,D,$,u,i,o,s,a,G,j,V,z,l,X,K,C,v,T,A,S,H,_,B,P,w,M,O,x,k,q,L,()=>{r(6,i=!(C&&C.length<=100)),I()},()=>{r(7,o=!(v&&v.length<=20)),I()},()=>{r(9,a=!(T&&T.length<=50)),I()},()=>{r(8,s=!(B&&5<=B.length&&B.length<=15)),I()},N,Y,Z,()=>{var e={address:C,postalCode:v,city:T,countrySelected:S,nationalitySelected:_,mobilePrefixSelected:w,mobile:B,consentOffersSms:O,consentOffersEmail:x,consentTerms:k,consentOffers:M};window.postMessage({type:"GoBackStepThree",registerStepThreeData:e},window.location.href)},d,f,m,g,b,y,E,function(){C=this.value,r(17,C)},()=>r(10,G=!0),()=>r(10,G=!1),function(){v=this.value,r(18,v)},()=>r(11,j=!0),()=>r(11,j=!1),function(){T=this.value,r(19,T)},()=>r(13,z=!0),()=>r(13,z=!1),function(){S=ne(this),r(21,S),r(20,A)},function(){_=ne(this),r(23,_),r(22,H)},function(){w=ne(this),r(26,w),r(25,P)},function(){B=this.value,r(24,B)},()=>r(12,V=!0),()=>r(12,V=!1),()=>N("GeneralOffers"),()=>N("SmsOffers"),()=>N("EmailOffers"),()=>Y(),e=>Z(e),function(e){ie[e?"unshift":"push"](()=>{u=e,r(5,u)})}]}class Cr extends L{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'}.BackButton{display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:20px;fill:var(--emfe-w-color-primary, #D0046C)}.AddressPostalCodeContainer{display:flex;gap:16px}.CountryContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.CountryContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.CountryContainer select:focus,.CountryContainer select :focus-within,.CountryContainer select :focus-visible,.CountryContainer select :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.AddressContainer,.PostalCodeContainer,.CityContainer,.CountryContainer,.NationalityContainer,.MobileContainer{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative}.AddressContainer label,.PostalCodeContainer label,.CityContainer label,.CountryContainer label,.NationalityContainer label,.MobileContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.AddressContainer input,.PostalCodeContainer input,.CityContainer input,.CountryContainer select,.NationalityContainer select,.MobileContainer input,.MobileContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.AddressContainer.InvalidField input,.PostalCodeContainer.InvalidField input,.CityContainer.InvalidField input,.MobileContainer.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.AddressContainer.Hidden,.PostalCodeContainer.Hidden,.CityContainer.Hidden,.CountryContainer.Hidden,.NationalityContainer.Hidden,.MobileContainer.Hidden{display:none}.AddressContainer{width:65%}.PostalCodeContainer{width:35%}.MobileWrapper{display:flex;gap:16px}.MobileWrapper .MobilePrefixSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.MobileWrapper .MobilePrefixSelected:focus,.MobileWrapper .MobilePrefixSelected :focus-within,.MobileWrapper .MobilePrefixSelected :focus-visible,.MobileWrapper .MobilePrefixSelected :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.MobileWrapper .MobileInput{width:70%}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px}.OffersMethodsWrapper{padding-left:32px}.Offers,.OffersMethod,.AgeConsent{display:block;position:relative;padding:5px 0 0 35px;margin-bottom:16px;font-size:16px;user-select:none;line-height:18px}.Offers input,.OffersMethod input,.AgeConsent input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.Offers .Checkmark,.OffersMethod .Checkmark,.AgeConsent .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:50%}.Offers input:checked~.Checkmark,.OffersMethod input:checked~.Checkmark,.AgeConsent input:checked~.Checkmark{background-color:var(--emfe-w-color-primary, #D0046C)}.Offers .Checkmark:after,.OffersMethod .Checkmark:after,.AgeConsent .Checkmark:after{content:\"\";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 3px 3px 0;transform:rotate(45deg)}.Offers input:checked~.Checkmark:after,.OffersMethod input:checked~.Checkmark:after,.AgeConsent input:checked~.Checkmark:after{display:block}.NotificationContainer{margin-top:32px}.NotificationContainer p{color:var(--emfe-w-color-secondary, #FD2839);font-size:14px}.RegisterError{color:var(--emfe-w-color-secondary, #FD2839);font-size:16px;line-height:18px}.RegisterStepNext{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}</style>",N(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},Er,yr,c,{userconsentsexist:0,termsconditions:1,smsoffers:2,emailmarketing:3,endpoint:41,captchakey:4,lang:42,disabledfields:43,defaultoptions:44,clientstyling:45,clientstylingurl:46,translationurl:47},null,[-1,-1,-1,-1]),e&&(e.target&&at(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["userconsentsexist","termsconditions","smsoffers","emailmarketing","endpoint","captchakey","lang","disabledfields","defaultoptions","clientstyling","clientstylingurl","translationurl"]}get userconsentsexist(){return this.$$.ctx[0]}set userconsentsexist(e){this.$$set({userconsentsexist:e}),b()}get termsconditions(){return this.$$.ctx[1]}set termsconditions(e){this.$$set({termsconditions:e}),b()}get smsoffers(){return this.$$.ctx[2]}set smsoffers(e){this.$$set({smsoffers:e}),b()}get emailmarketing(){return this.$$.ctx[3]}set emailmarketing(e){this.$$set({emailmarketing:e}),b()}get endpoint(){return this.$$.ctx[41]}set endpoint(e){this.$$set({endpoint:e}),b()}get captchakey(){return this.$$.ctx[4]}set captchakey(e){this.$$set({captchakey:e}),b()}get lang(){return this.$$.ctx[42]}set lang(e){this.$$set({lang:e}),b()}get disabledfields(){return this.$$.ctx[43]}set disabledfields(e){this.$$set({disabledfields:e}),b()}get defaultoptions(){return this.$$.ctx[44]}set defaultoptions(e){this.$$set({defaultoptions:e}),b()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),b()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),b()}}return customElements.get("general-player-register-form-step3")||customElements.define("general-player-register-form-step3",Cr),Cr});
|
|
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 it(){}function S(e){return e()}function H(){return Object.create(null)}function ot(e){e.forEach(S)}function _(e){return"function"==typeof e}function c(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let p,J;function d(e,t){return(p=p||document.createElement("a")).href=t,e===p.href}function re(e,...t){if(null==e)return it;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function st(e,t){e.appendChild(t)}function at(e,t,r){e.insertBefore(t,r||null)}function lt(e){e.parentNode.removeChild(e)}function bt(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function t(e){return document.createElement(e)}function yt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ct(e){return document.createTextNode(e)}function ut(){return ct(" ")}function Et(){return ct("")}function ht(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function pt(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function dt(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function ft(e,t){e.value=null==t?"":t}function mt(t,r){for(let e=0;e<t.options.length;e+=1){const n=t.options[e];if(n.__value===r)return n.selected=!0}t.selectedIndex=-1}function ne(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}function g(e){J=e}const B=[],ie=[],f=[],P=[],w=Promise.resolve();let M=!1;function gt(e){f.push(e)}const O=new Set;let x=0;function b(){const e=J;do{for(;x<B.length;){const e=B[x];x++,g(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),ot(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(gt))}for(g(null),B.length=0,x=0;ie.length;)ie.pop()();for(let e=0;e<f.length;e+=1){const n=f[e];O.has(n)||(O.add(n),n())}}while(f.length=0,B.length);for(;P.length;)P.pop()();M=!1,O.clear(),g(e)}const k=new Set;var I="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function N(n,e,t,r,i,o,s,a=[-1]){var l=J;g(n);const c=n.$$={fragment:null,ctx:null,props:o,update:it,not_equal:i,bound:H(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:H(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};s&&s(c.root);let u=!1;if(c.ctx=t?t(n,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&i(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u&&(r=e,-1===(e=n).$$.dirty[0]&&(B.push(e),M||(M=!0,w.then(b)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),u=!0,ot(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){o=e.target;const it=Array.from(o.childNodes);c.fragment&&c.fragment.l(it),it.forEach(lt)}else c.fragment&&c.fragment.c();e.intro&&(a=n.$$.fragment)&&a.i&&(k.delete(a),a.i(void 0));{var h=n;s=e.target;t=e.anchor;r=e.customElement;const{fragment:p,on_mount:d,on_destroy:f,after_update:m}=h.$$;p&&p.m(s,t),r||gt(()=>{var e=d.map(S).filter(_);f?f.push(...e):ot(e),h.$$.on_mount=[]}),m.forEach(gt)}b()}g(l)}let L;"function"==typeof HTMLElement&&(L=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(S).filter(_);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){ot(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(ot(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=it}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const r=[];function R(n,i=it){let o;const s=new Set;function a(e){if(c(n,e)&&(n=e,o)){const e=!r.length;for(const e of s)e[1](),r.push(e,n);if(e){for(let e=0;e<r.length;e+=2)r[e][0](r[e+1]);r.length=0}}}return{set:a,update:function(e){a(e(n))},subscribe:function(e,t=it){const r=[e,t];return s.add(r),1===s.size&&(o=i(a)||it),e(n),()=>{s.delete(r),0===s.size&&(o(),o=null)}}}}function e(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:R(t,t=>{let r=!1;const n=[];let i=0,o=it;const s=()=>{var e;i||(o(),e=a(l?n[0]:n,t),u?t(e):o=_(e)?e:it)},e=c.map((e,t)=>re(e,e=>{n[t]=e,i&=~(1<<t),r&&s()},()=>{i|=1<<t}));return r=!0,s(),function(){ot(e),o()}}).subscribe}}function F(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===U));var t}var U="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function D(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a(Array.isArray(e)?[]:{},e,t):e}function $(e,t,r){return e.concat(t).map(function(e){return D(e,r)})}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 j(e,t){try{return t in e}catch(e){return!1}}function V(n,i,o){var s={};return o.isMergeableObject(n)&&G(n).forEach(function(e){s[e]=D(n[e],o)}),G(i).forEach(function(t){var e,r;(!j(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(j(n,t)&&o.isMergeableObject(i[t])?s[t]=function(e){if(!e.customMerge)return a;e=e.customMerge(t);return"function"==typeof e?e:a}(o)(n[t],i[t],o):s[t]=D(i[t],o))}),s}function a(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||$,r.isMergeableObject=r.isMergeableObject||F,r.cloneUnlessOtherwiseSpecified=D;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):V(e,t,r):D(t,r)}a.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return a(e,t,r)},{});throw new Error("first argument should be an array")};var z=a,X=function(e,t){return(X=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function K(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}X(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var m,y,E,C=function(){return(C=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function q(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||((n=n||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function W(e){return e.type===y.literal}function Y(e){return e.type===y.number}function Z(e){return e.type===y.date}function Q(e){return e.type===y.time}function oe(e){return e.type===y.select}function se(e){return e.type===y.plural}function ae(e){return e.type===y.tag}function le(e){return e&&"object"==typeof e&&e.type===E.number}function ce(e){return e&&"object"==typeof e&&e.type===E.dateTime}(n=m=m||{})[n.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",n[n.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",n[n.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",n[n.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",n[n.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",n[n.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",n[n.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",n[n.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",n[n.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",n[n.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",n[n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",n[n.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",n[n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",n[n.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",n[n.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",n[n.INVALID_TAG=23]="INVALID_TAG",n[n.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",n[n.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",n[n.UNCLOSED_TAG=27]="UNCLOSED_TAG",(n=y=y||{})[n.literal=0]="literal",n[n.argument=1]="argument",n[n.number=2]="number",n[n.date=3]="date",n[n.time=4]="time",n[n.select=5]="select",n[n.plural=6]="plural",n[n.pound=7]="pound",n[n.tag=8]="tag",(n=E=E||{})[n.number=0]="number",n[n.dateTime=1]="dateTime";var n=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ue=/(?:[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 he=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,pe=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,de=/^(@+)?(\+|#+)?[rs]?$/g,fe=/(\*)(0+)|(#+)(0+)|(0+)/g,me=/^(0+)$/;function ge(e){var n={};return"r"===e[e.length-1]?n.roundingPriority="morePrecision":"s"===e[e.length-1]&&(n.roundingPriority="lessPrecision"),e.replace(de,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function be(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 ye(e){return be(e)||{}}function Ee(e){for(var s={},t=0,r=e;t<r.length;t++){var n,i=r[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=C(C(C({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return C(C({},e),ye(t))},{}));continue;case"engineering":s=C(C(C({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return C(C({},e),ye(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(fe,function(e,t,r,n,i,o){if(t)s.minimumIntegerDigits=r.length;else{if(n&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(me.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(pe.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(pe,function(e,t,r,n,i,o){return"*"===r?s.minimumFractionDigits=t.length:n&&"#"===n[0]?s.maximumFractionDigits=n.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var o=i.options[0];"w"===o?s=C(C({},s),{trailingZeroDisplay:"stripIfInteger"}):o&&(s=C(C({},s),ge(o)))}else de.test(i.stem)?s=C(C({},s),ge(i.stem)):((o=be(i.stem))&&(s=C(C({},s),o)),(n=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!me.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=C(C({},s),n)))}return s}var Ce={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var ve=new RegExp("^".concat(n.source,"*")),Te=new RegExp("".concat(n.source,"*$"));function v(e,t){return{start:e,end:t}}var n=!!String.prototype.startsWith,Ae=!!String.fromCodePoint,Se=!!Object.fromEntries,He=!!String.prototype.codePointAt,_e=!!String.prototype.trimStart,Be=!!String.prototype.trimEnd,Pe=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},we=!0;try{we="a"===(null==(We=Fe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:We[0])}catch(it){we=!1}var Me,Oe,xe=n?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},ke=Ae?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;o<i;){if(1114111<(r=e[o++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ie=Se?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],i=i[1];t[o]=i}return t},Ne=He?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0||n<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===n||(n=e.charCodeAt(t+1))<56320||57343<n?r:n-56320+(r-55296<<10)+65536},Le=_e?function(e){return e.trimStart()}:function(e){return e.replace(ve,"")},Re=Be?function(e){return e.trimEnd()}:function(e){return e.replace(Te,"")};function Fe(e,t){return new RegExp(e,t)}Oe=we?(Me=Fe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Me.lastIndex=t,null!=(t=Me.exec(e)[1])?t:""}):function(e,t){for(var r,n=[];;){var i=Ne(e,t);if(void 0===i||$e(i)||(33<=(r=i)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;n.push(i),t+=65536<=i?2:1}return ke.apply(void 0,n)};i.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},i.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,r)).err)return i;n.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(m.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&De(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;n.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}}else{o=this.clonePosition();this.bump(),n.push({type:y.pound,location:v(o,this.clonePosition())})}}}return{val:n,err:null}},i.prototype.parseTag=function(e,t){var r=this.clonePosition(),n=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(n,"/>"),location:v(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!De(this.char()))return this.error(m.INVALID_TAG,v(e,this.clonePosition()));var i=this.clonePosition();return n!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,v(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:v(r,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,v(e,this.clonePosition())))}return this.error(m.UNCLOSED_TAG,v(r,this.clonePosition()))}return this.error(m.INVALID_TAG,v(r,this.clonePosition()))},i.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())},i.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{i=this.tryParseUnquoted(e,t);if(i)n+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}}}r=v(r,this.clonePosition());return{val:{type:y.literal,value:n,location:r},err:null}},i.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(De(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},i.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return ke.apply(void 0,t)},i.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),ke(r))},i.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,v(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(m.MALFORMED_ARGUMENT,v(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:n,location:v(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(m.MALFORMED_ARGUMENT,v(r,this.clonePosition()))}},i.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Oe(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:v(e,this.clonePosition())}},i.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,v(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((f=this.parseSimpleArgStyleIfPossible()).err)return f;if(0===(d=Re(f.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:v(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(n)).err)return c;var u=v(n,this.clonePosition());if(l&&xe(null==l?void 0:l.style,"::",0)){var h=Le(l.style.slice(2));if("number"===s)return(f=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?f:{val:{type:y.number,value:r,location:u,style:f.val},err:null};if(0===h.length)return this.error(m.EXPECT_DATE_TIME_SKELETON,u);var p=h,d=(this.locale&&(p=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Ce[t||""]||Ce[r||""]||Ce["".concat(r,"-001")]||Ce["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<s--;)r=l+r}else r+="J"===i?"H":i}return r}(h,this.locale)),{type:E.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},p.replace(ue,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:r,location:u,style:d},err:null}}return{val:{type:"number"===s?y.number:"date"===s?y.date:y.time,value:r,location:u,style:null!=(h=null==l?void 0:l.style)?h:null},err:null};case"plural":case"selectordinal":case"select":p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,v(p,C({},p)));this.bumpSpace();var f,d=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(f=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return f;this.bumpSpace(),d=this.parseIdentifierIfPossible(),u=f.val}l=this.tryParsePluralOrSelectOptions(e,s,t,d);if(l.err)return l;if((c=this.tryParseArgumentClose(n)).err)return c;h=v(n,this.clonePosition());return"select"===s?{val:{type:y.select,value:r,options:Ie(l.val),location:h},err:null}:{val:{type:y.plural,value:r,options:Ie(l.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:h},err:null};default:return this.error(m.INVALID_ARGUMENT_TYPE,v(o,a))}},i.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},i.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},i.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(he).filter(function(e){return 0<e.length});r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:E.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Ee(r):{}},err:null}},i.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i=!1,o=[],s=new Set,a=n.value,l=n.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var h=this.tryParseArgumentClose(u);if(h.err)return h;o.push([a,{value:c.val,location:v(u,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(m.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:o,err:null}},i.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}n=v(n,this.clonePosition());return i?Pe(o*=r)?{val:o,err:null}:this.error(t,n):this.error(e,n)},i.prototype.offset=function(){return this.position.offset},i.prototype.isEOF=function(){return this.offset()===this.message.length},i.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},i.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ne(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},i.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},i.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))},i.prototype.bumpIf=function(e){if(xe(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},i.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},i.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},i.prototype.bumpSpace=function(){for(;!this.isEOF()&&$e(this.char());)this.bump()},i.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Ue=i;function i(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function De(e){return 97<=e&&e<=122||65<=e&&e<=90}function $e(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Ge(e,t){t=C({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Ue(e,t).parse();if(e.err)throw(r=SyntaxError(m[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,oe(e)||se(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Y(e)&&le(e.style)||(Z(e)||Q(e))&&ce(e.style)?delete e.style.location:ae(e)&&r(e.children)})}(e.val),e.val}function je(e,t){var r=t&&t.cache?t.cache:Ye,n=t&&t.serializer?t.serializer:Ke;return(t&&t.strategy?t.strategy:function(e,t){return Xe(e,this,1===e.length?Ve:ze,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function Ve(e,t,r,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),i=t.get(r);return void 0===i&&(i=e.call(this,n),t.set(r,i)),i}function ze(e,t,r){var n=Array.prototype.slice.call(arguments,3),r=r(n),i=t.get(r);return void 0===i&&(i=e.apply(this,n),t.set(r,i)),i}function Xe(e,t,r,n,i){return r.bind(t,e,n,i)}var Ke=function(){return JSON.stringify(arguments)};function qe(){this.cache=Object.create(null)}qe.prototype.get=function(e){return this.cache[e]},qe.prototype.set=function(e,t){this.cache[e]=t};var T,We,Ye={create:function(){return new qe}},Ze={variadic:function(e,t){return Xe(e,this,ze,t.cache.create(),t.serializer)},monadic:function(e,t){return Xe(e,this,Ve,t.cache.create(),t.serializer)}};(We=T=T||{}).MISSING_VALUE="MISSING_VALUE",We.INVALID_VALUE="INVALID_VALUE",We.MISSING_INTL_API="MISSING_INTL_API";K(Ht,tt=Error),Ht.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var A,Qe,Je,et,tt,rt=Ht,nt=(K(St,et=rt),St),Ct=(K(At,Je=rt),At),vt=(K(Tt,Qe=rt),Tt);function Tt(e,t){return Qe.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),T.MISSING_VALUE,t)||this}function At(e,t,r){return Je.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),T.INVALID_VALUE,r)||this}function St(e,t,r,n){return et.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),T.INVALID_VALUE,n)||this}function Ht(e,t,r){e=tt.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function _t(e,t,r,n,i,o,s){if(1===e.length&&W(e[0]))return[{type:A.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(W(u))a.push({type:A.literal,value:u.value});else if(u.type===y.pound)"number"==typeof o&&a.push({type:A.literal,value:r.getNumberFormat(t).format(o)});else{var h=u.value;if(!(i&&h in i))throw new vt(h,s);h=i[h];if(u.type===y.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?A.literal:A.object,value:h});else if(Z(u)){var p="string"==typeof u.style?n.date[u.style]:ce(u.style)?u.style.parsedOptions:void 0;a.push({type:A.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(Q(u))p="string"==typeof u.style?n.time[u.style]:ce(u.style)?u.style.parsedOptions:n.time.medium,a.push({type:A.literal,value:r.getDateTimeFormat(t,p).format(h)});else if(Y(u))(p="string"==typeof u.style?n.number[u.style]:le(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),a.push({type:A.literal,value:r.getNumberFormat(t,p).format(h)});else{if(ae(u)){var d=u.children,f=u.value,m=i[f];if("function"!=typeof m)throw new Ct(f,"function",s);f=m(_t(d,t,r,n,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?A.literal:A.object,value:e}}))}if(oe(u)){if(!(g=u.options[h]||u.options.other))throw new nt(u.value,h,Object.keys(u.options),s);a.push.apply(a,_t(g.value,t,r,n,i))}else if(se(u)){if(!(g=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new rt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',T.MISSING_INTL_API,s);var m=r.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new nt(u.value,h,Object.keys(u.options),s);a.push.apply(a,_t(g.value,t,r,n,i,h-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===A.literal&&t.type===A.literal?r.value+=t.value:e.push(t),e},[])}function Bt(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(n=A=A||{})[n.literal=0]="literal",n[n.object=1]="object",Object.defineProperty(l,"defaultLocale",{get:function(){return l.memoizedDefaultLocale||(l.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),l.memoizedDefaultLocale},enumerable:!1,configurable:!0}),l.memoizedDefaultLocale=null,l.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},l.__parse=Ge,l.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var Pt=l;function l(e,t,r,n){var i,o,s=this;if(void 0===t&&(t=l.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===A.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 _t(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=l.resolveLocale(t),"string"==typeof e){if(this.message=e,!l.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=l.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=l.formats,(o=r)?Object.keys(i).reduce(function(e,t){var r,n;return e[t]=(r=i[t],(n=o[t])?C(C(C({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=C(C({},r[t]),n[t]||{}),e},{})):r),e},C({},i)):i),this.formatters=n&&n.formatters||{getNumberFormat:je(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,q([void 0],t,!1)))},{cache:Bt((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Ze.variadic}),getDateTimeFormat:je(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,q([void 0],t,!1)))},{cache:Bt(t.dateTime),strategy:Ze.variadic}),getPluralRules:je(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,q([void 0],t,!1)))},{cache:Bt(t.pluralRules),strategy:Ze.variadic})}}const o={},wt=(e,t,r)=>r&&(t in o||(o[t]={}),e in o[t]||(o[t][e]=r),r),Mt=(t,r)=>{if(null!=r){if(r in o&&t in o[r])return o[r][t];var n=jt(r);for(let e=0;e<n.length;e++){var i=function(e,r){if(!xt(e))return null;e=function(e){return Ot[e]||null}(e);{var n=r;if(null==n)return;if(n in e)return e[n];const i=n.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const n=i.slice(e,i.length).join(".");if(n in t){t=t[n];break}}t=t[i[e]]}else t=void 0;return t}}(n[e],t);if(i)return wt(t,r,i)}}};let Ot;const ee=R({});function xt(e){return e in Ot}function kt(t,...r){delete o[t],ee.update(e=>(e[t]=z.all([e[t]||{},...r]),e))}e([ee],([e])=>Object.keys(e)),ee.subscribe(e=>Ot=e);const It={};function Nt(e){return It[e]}function Lt(e){return null!=e&&jt(e).some(e=>{return null==(e=Nt(e))?void 0:e.size})}const Rt={};function Ft(e){if(!Lt(e))return e in Rt?Rt[e]:Promise.resolve();const t=jt(e).map(e=>{var t=Nt(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Rt[e]=Promise.all(t.map(([e,t])=>{{var n=e;e=t;const r=Promise.all(e.map(e=>{var t=n,r=e;return It[t].delete(r),0===It[t].size&&delete It[t],e().then(e=>e.default||e)}));return r.then(e=>kt(n,...e))}})).then(()=>{if(Lt(e))return Ft(e);delete Rt[e]}),Rt[e]}function s(e,t){var r={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}const u={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Ut=R(!1);let Dt;const $t=R(null);function Gt(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function jt(e,t=u.fallbackLocale){e=Gt(e);return t?[...new Set([...e,...Gt(t)])]:e}function h(){return null!=Dt?Dt:void 0}$t.subscribe(e=>{Dt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const te=Object.assign(Object.assign({},$t),{set:t=>{if(t&&function(e){if(null!=e){var t=jt(e);for(let e=0;e<t.length;e++){var r=t[e];if(xt(r))return r}}}(t)&&Lt(t)){var r=u["loadingDelay"];let e;return"undefined"!=typeof window&&null!=h()&&r?e=window.setTimeout(()=>Ut.set(!0),r):Ut.set(!0),Ft(t).then(()=>{$t.set(t)}).finally(()=>{clearTimeout(e),Ut.set(!1)})}return $t.set(t)}}),Vt=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},zt=(e,t)=>{var r=u["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Xt=Vt(e=>{var{locale:t,format:r}=e,e=s(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=zt("number",r)),new Intl.NumberFormat(t,e)}),Kt=Vt(e=>{var{locale:t,format:r}=e,e=s(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=zt("date",r):0===Object.keys(e).length&&(e=zt("date","short")),new Intl.DateTimeFormat(t,e)}),qt=Vt(e=>{var{locale:t,format:r}=e,e=s(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=zt("time",r):0===Object.keys(e).length&&(e=zt("time","short")),new Intl.DateTimeFormat(t,e)}),Wt=Vt((e,t=h())=>new Pt(e,t,u.formats,{ignoreTag:u.ignoreTag})),Yt=e([te,ee],()=>(e,t={})=>{var r,n;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:o,locale:s=h(),default:a}=i;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Mt(e,s);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(n=null!=(r=null==(r=(n=u).handleMissingMessage)?void 0:r.call(n,{locale:s,id:e,defaultValue:a}))?r:a)?n:e;if(!o)return l;let c=l;try{c=Wt(l,s).format(o)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c});function Zt(e,t){kt(e,t)}e([te],()=>(e,t)=>((e={})=>{var{locale:t=h()}=e,e=s(e,["locale"]);return qt(Object.assign({locale:t},e))})(t).format(e)),e([te],()=>(e,t)=>((e={})=>{var{locale:t=h()}=e,e=s(e,["locale"]);return Kt(Object.assign({locale:t},e))})(t).format(e)),e([te],()=>(e,t)=>((e={})=>{var{locale:t=h()}=e,e=s(e,["locale"]);return Xt(Object.assign({locale:t},e))})(t).format(e)),e([te,ee],()=>(e,t=h())=>Mt(e,t));const Qt={en:{registerFormStep3:{registerBackButton:"Back",registerAddress:"Address",registerAddressError:"Address must be at least 1 character long and 100 characters maximum.",registerPostalCode:"Postal Code",registerPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",registerCity:"City",registerCityError:"City must be at least 1 character long and 50 characters maximum.",registerCountry:"Country",registerNationality:"Nationality",registerMobile:"Mobile",registerMobileError:"Mobile must be at least 5 character long and 12 characters maximum.",registerUserConsents:"I want to receive exclusive offers and bonuses. I am aware that I can unsubscribe whenever I want to.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"I am at least 18 years old and I have read and accepted the Terms of Conditions.",registerTermsConditionsError:"Please accept the Terms and Conditions before proceeding.",registerOpenAccount:"Open Account"}},zh:{registerFormStep3:{registerBackButton:"後退",registerAddress:"地址",registerAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",registerPostalCode:"郵政編碼",registerPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",registerCity:"城市",registerCityError:"城市必須至少 1 個字符長,最多 50 個字符。",registerCountry:"國家",registerNationality:"國籍",registerMobile:"移動的",registerMobileError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",registerUserConsents:"我想收到獨家優惠和獎金。 我知道我可以隨時取消訂閱。",registerUserConsentsSMS:"短信",registerUserConsentsEmail:"電子郵件",registerTermsConditions:"我至少 18 歲,並且我已閱讀並接受條件條款。",registerTermsConditionsError:"請在繼續之前接受條款和條件。",registerOpenAccount:"開戶口"}},fr:{registerFormStep3:{registerBackButton:"Retour",registerAddress:"Adresse",registerAddressError:"L'adresse doit comporter au moins un caractère et 100 caractères au maximum.",registerPostalCode:"Code postal",registerPostalCodeError:"Le code postal doit comporter au moins un caractère et 20 caractères au maximum.",registerCity:"Ville",registerCityError:"La ville doit comporter au moins un caractère et 50 caractères au maximum.",registerCountry:"Pays",registerNationality:"Nationalité",registerMobile:"Téléphone",registerMobileError:"Le téléphone doit comporter au moins 5 caractère et 12 caractères au maximum.",registerUserConsents:"Je veux recevoir des offres exclusives et des bonus , je sais que je peux me désinscrire quand je le veux.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"J'ai au moins 18 ans et j'ai lu et accepté les conditions d'utilisation.",registerTermsConditionsError:"Veuillez accepter les termes et conditions avant de poursuivre.",registerOpenAccount:"Ouvrir un compte"}},tr:{registerFormStep3:{registerBackButton:"Geri",registerAddress:"Adres",registerAddressError:"Adres en az 1 karakter uzunluğunda ve en fazla 100 karakter olmalıdır.",registerPostalCode:"Posta kodu",registerPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.",registerCity:"Şehir",registerCityError:"Şehir en az 1 karakter uzunluğunda ve en fazla 50 karakter olmalıdır.",registerCountry:"Ülke",registerNationality:"Milliyet",registerMobile:"Mobil",registerMobileError:"Mobil en az 5 karakter uzunluğunda ve en fazla 12 karakter olmalıdır.",registerUserConsents:"Özel teklifler ve bonuslar almak istiyorum. İstediğim zaman abonelikten çıkabileceğimin farkındayım.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-posta",registerTermsConditions:"En az 18 yaşındayım ve Koşullar'ı okudum ve kabul ediyorum.",registerTermsConditionsError:"Lütfen devam etmeden önce Şartlar ve Koşulları kabul edin.",registerOpenAccount:"Hesap Aç"}},ro:{registerFormStep3:{registerBackButton:"Inapoi",registerAddress:"Adresa",registerAddressError:"Adresa trebuie sa fie cuprinsa in 1 si 100 de litere.",registerPostalCode:"Cod Postal",registerPostalCodeError:"Codul postal trebuie sa fie cuprins intre 1 si 20 de caractere.",registerCity:"Oras",registerCityError:"Orasul trebuie sa fie cuprins intre 1 si 50 de litere.",registerCountry:"Tara",registerNationality:"Nationalitatea",registerMobile:"Telefon",registerMobileError:"Telefonul trebuie sa fie cuprins intre 5 si 12 de cifre.",registerUserConsents:"Vreau sa primesc oferte si bonusuri exclusive. Sunt constient ca pot sa dau unsubscribe oricand.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"Am minim 18 ani si am citit si acceptat Termenii si Conditiile",registerTermsConditionsError:"Te rog accepta Termenii si Conditiile",registerOpenAccount:"Inregistrare"}},es:{registerFormStep3:{registerBackButton:"Regresar",registerAddress:"Dirección",registerAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",registerPostalCode:"Código postal",registerPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",registerCity:"Ciudad",registerCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidad",registerMobile:"Móvil:",registerMobileError:"El móvil debe tener mínimo 5 caracteres y máximo 12 caracteres.",registerUserConsents:"Quiero recibir ofertas y bonos exclusivos. Entiendo que puedo darme de baja en cualquier momento.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-mail",registerTermsConditions:"Soy mayor de 18 años y he leído y acepto los Términos de Condiciones.",registerTermsConditionsError:"Por favor, acepte los Términos y Condiciones antes de continuar.",registerOpenAccount:"Abrir cuenta"}},pt:{registerFormStep3:{registerBackButton:"Voltar",registerAddress:"Endereço",registerAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres.",registerPostalCode:"CEP",registerPostalCodeError:"O CEP deve ter pelo menos 1 caractere e no máximo 20 caracteres.",registerCity:"Cidade",registerCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidade",registerMobile:"Celular",registerMobileError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",registerUserConsents:"Quero receber ofertas e bônus exclusivos. Estou ciente de que posso cancelar a inscrição quando quiser.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-mail",registerTermsConditions:"Tenho pelo menos 18 anos e li e aceito os Termos de Condições.",registerTermsConditionsError:"Por favor, aceite os Termos e Condições antes de prosseguir.",registerOpenAccount:"Abrir conta"}}},Jt=I["document"];function er(e,t,r){const n=e.slice();return n[88]=t[r],n}function tr(e,t,r){const n=e.slice();return n[91]=t[r],n}function rr(e,t,r){const n=e.slice();return n[94]=t[r],n}function nr(e){let r,n;return{c(){d((r=t("script")).src,n="//www.google.com/recaptcha/api.js?render="+e[4])||pt(r,"src",n),r.async=!0,r.defer=!0},m(e,t){at(e,r,t)},p(e,t){16&t[0]&&!d(r.src,n="//www.google.com/recaptcha/api.js?render="+e[4])&&pt(r,"src",n)},d(e){e&<(r)}}}function ir(e){let r,n,i=e[32]("registerFormStep3.registerAddressError")+"";return{c(){r=t("p"),n=ct(i),pt(r,"class","InvalidInput"),pt(r,"part","InvalidInput")},m(e,t){at(e,r,t),st(r,n)},p(e,t){2&t[1]&&i!==(i=e[32]("registerFormStep3.registerAddressError")+"")&&dt(n,i)},d(e){e&<(r)}}}function or(e){let r,n,i=e[32]("registerFormStep3.registerPostalCodeError")+"";return{c(){r=t("p"),n=ct(i),pt(r,"class","InvalidInput"),pt(r,"part","InvalidInput")},m(e,t){at(e,r,t),st(r,n)},p(e,t){2&t[1]&&i!==(i=e[32]("registerFormStep3.registerPostalCodeError")+"")&&dt(n,i)},d(e){e&<(r)}}}function sr(e){let r,n,i=e[32]("registerFormStep3.registerCityError")+"";return{c(){r=t("p"),n=ct(i),pt(r,"class","InvalidInput"),pt(r,"part","InvalidInput")},m(e,t){at(e,r,t),st(r,n)},p(e,t){2&t[1]&&i!==(i=e[32]("registerFormStep3.registerCityError")+"")&&dt(n,i)},d(e){e&<(r)}}}function ar(e){let r,n,i,o=e[94].Name+"";return{c(){r=t("option"),n=ct(o),r.__value=i=e[94].Alpha2Code,r.value=r.__value},m(e,t){at(e,r,t),st(r,n)},p(e,t){1048576&t[0]&&o!==(o=e[94].Name+"")&&dt(n,o),1048576&t[0]&&i!==(i=e[94].Alpha2Code)&&(r.__value=i,r.value=r.__value)},d(e){e&<(r)}}}function lr(e){let r,n,i,o=e[91].Name+"";return{c(){r=t("option"),n=ct(o),r.__value=i=e[91].Alpha2Code,r.value=r.__value},m(e,t){at(e,r,t),st(r,n)},p(e,t){4194304&t[0]&&o!==(o=e[91].Name+"")&&dt(n,o),4194304&t[0]&&i!==(i=e[91].Alpha2Code)&&(r.__value=i,r.value=r.__value)},d(e){e&<(r)}}}function cr(e){let r,n,i,o=e[88].Prefix+"";return{c(){r=t("option"),n=ct(o),r.__value=i=e[88].Prefix,r.value=r.__value},m(e,t){at(e,r,t),st(r,n)},p(e,t){33554432&t[0]&&o!==(o=e[88].Prefix+"")&&dt(n,o),33554432&t[0]&&i!==(i=e[88].Prefix)&&(r.__value=i,r.value=r.__value)},d(e){e&<(r)}}}function ur(e){let r,n,i=e[32]("registerFormStep3.registerMobileError")+"";return{c(){r=t("p"),n=ct(i),pt(r,"class","InvalidInput"),pt(r,"part","InvalidInput")},m(e,t){at(e,r,t),st(r,n)},p(e,t){2&t[1]&&i!==(i=e[32]("registerFormStep3.registerMobileError")+"")&&dt(n,i)},d(e){e&<(r)}}}function hr(e){let r,n,i=("true"===e[2]||"true"===e[3])&&pr(e),o="true"===e[1]&&mr(e);return{c(){i&&i.c(),r=ut(),o&&o.c(),n=Et()},m(e,t){i&&i.m(e,t),at(e,r,t),o&&o.m(e,t),at(e,n,t)},p(e,t){"true"===e[2]||"true"===e[3]?i?i.p(e,t):((i=pr(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null),"true"===e[1]?o?o.p(e,t):((o=mr(e)).c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(e){i&&i.d(e),e&<(r),o&&o.d(e),e&<(n)}}}function pr(r){let n,i,o,s,a,l,c,u,h,p,d,f,m=r[32]("registerFormStep3.registerUserConsents")+"",g="true"===r[2]&&dr(r),b="true"===r[3]&&fr(r);return{c(){n=t("div"),i=t("label"),o=ct(m),s=ut(),a=t("input"),l=ut(),c=t("span"),u=ut(),h=t("div"),g&&g.c(),p=ut(),b&&b.c(),pt(a,"type","Checkbox"),a.checked=r[27],pt(c,"class","Checkmark"),pt(c,"part","Checkmark"),pt(i,"class","Offers"),pt(i,"part","Offers"),pt(h,"class","OffersMethodsWrapper"),pt(h,"part","OffersMethodsWrapper"),pt(n,"class","OffersContainer"),pt(n,"part","OffersContainer")},m(e,t){at(e,n,t),st(n,i),st(i,o),st(i,s),st(i,a),st(i,l),st(i,c),st(n,u),st(n,h),g&&g.m(h,null),st(h,p),b&&b.m(h,null),d||(f=ht(a,"click",r[63]),d=!0)},p(e,t){2&t[1]&&m!==(m=e[32]("registerFormStep3.registerUserConsents")+"")&&dt(o,m),134217728&t[0]&&(a.checked=e[27]),"true"===e[2]?g?g.p(e,t):((g=dr(e)).c(),g.m(h,p)):g&&(g.d(1),g=null),"true"===e[3]?b?b.p(e,t):((b=fr(e)).c(),b.m(h,null)):b&&(b.d(1),b=null)},d(e){e&<(n),g&&g.d(),b&&b.d(),d=!1,f()}}}function dr(r){let n,i,o,s,a,l,c,u,h=r[32]("registerFormStep3.registerUserConsentsSMS")+"";return{c(){n=t("label"),i=ct(h),o=ut(),s=t("input"),a=ut(),l=t("span"),pt(s,"type","Checkbox"),s.checked=r[28],pt(l,"class","Checkmark"),pt(l,"part","Checkmark"),pt(n,"class","OffersMethod")},m(e,t){at(e,n,t),st(n,i),st(n,o),st(n,s),st(n,a),st(n,l),c||(u=ht(s,"click",r[64]),c=!0)},p(e,t){2&t[1]&&h!==(h=e[32]("registerFormStep3.registerUserConsentsSMS")+"")&&dt(i,h),268435456&t[0]&&(s.checked=e[28])},d(e){e&<(n),c=!1,u()}}}function fr(r){let n,i,o,s,a,l,c,u,h=r[32]("registerFormStep3.registerUserConsentsEmail")+"";return{c(){n=t("label"),i=ct(h),o=ut(),s=t("input"),a=ut(),l=t("span"),pt(s,"type","Checkbox"),s.checked=r[29],pt(l,"class","Checkmark"),pt(l,"part","Checkmark"),pt(n,"class","OffersMethod"),pt(n,"part","OffersMethod")},m(e,t){at(e,n,t),st(n,i),st(n,o),st(n,s),st(n,a),st(n,l),c||(u=ht(s,"click",r[65]),c=!0)},p(e,t){2&t[1]&&h!==(h=e[32]("registerFormStep3.registerUserConsentsEmail")+"")&&dt(i,h),536870912&t[0]&&(s.checked=e[29])},d(e){e&<(n),c=!1,u()}}}function mr(r){let n,i,o,s,a,l,c,u,h,p,d,f=r[32]("registerFormStep3.registerTermsConditions")+"",m=!r[30]&&gr(r);return{c(){n=t("div"),i=t("label"),o=ct(f),s=ut(),a=t("input"),l=ut(),c=t("span"),u=ut(),m&&m.c(),h=Et(),pt(a,"type","Checkbox"),a.checked=r[30],pt(c,"class","Checkmark"),pt(c,"part","Checkmark"),pt(i,"class","AgeConsent"),pt(i,"part","AgeConsent"),pt(n,"class","AgeContainer"),pt(n,"part","AgeContainer")},m(e,t){at(e,n,t),st(n,i),st(i,o),st(i,s),st(i,a),st(i,l),st(i,c),at(e,u,t),m&&m.m(e,t),at(e,h,t),p||(d=ht(a,"click",r[66]),p=!0)},p(e,t){2&t[1]&&f!==(f=e[32]("registerFormStep3.registerTermsConditions")+"")&&dt(o,f),1073741824&t[0]&&(a.checked=e[30]),e[30]?m&&(m.d(1),m=null):m?m.p(e,t):((m=gr(e)).c(),m.m(h.parentNode,h))},d(e){e&<(n),e&<(u),m&&m.d(e),e&<(h),p=!1,d()}}}function gr(e){let r,n,i,o=e[32]("registerFormStep3.registerTermsConditionsError")+"";return{c(){r=t("div"),n=t("p"),i=ct(o),pt(r,"class","NotificationContainer"),pt(r,"part","NotificationContainer")},m(e,t){at(e,r,t),st(r,n),st(n,i)},p(e,t){2&t[1]&&o!==(o=e[32]("registerFormStep3.registerTermsConditionsError")+"")&&dt(i,o)},d(e){e&<(r)}}}function br(e){let r,n,i;return{c(){r=t("div"),n=t("p"),i=ct(e[16]),pt(n,"class","RegisterError"),pt(n,"part","RegisterError")},m(e,t){at(e,r,t),st(r,n),st(n,i)},p(e,t){65536&t[0]&&dt(i,e[16])},d(e){e&<(r)}}}function yr(r){let F,U,s,D,a,$,n,i,G,j,V,z,X,K,q,l,o,c,u,W,Y,Z,Q,h,J,e,ee,te,p,d,re,ne,ie,oe,f,se,ae,le,ce,m,g,ue,he,pe,de,b,fe,me,ge,be,y,E,ye,Ee,Ce,ve,C,Te,Ae,v,Se,He,_e,Be,Pe,T,we,Me,A,Oe,xe,ke,Ie,Ne,S,H,Le,_,Re,Fe,Ue,De,$e,B,Ge,je,Ve,ze,Xe,Ke=r[32]("registerFormStep3.registerBackButton")+"",qe=r[32]("registerFormStep3.registerAddress")+"",We=r[32]("registerFormStep3.registerPostalCode")+"",Ye=r[32]("registerFormStep3.registerCity")+"",Ze=r[32]("registerFormStep3.registerCountry")+"",Qe=r[32]("registerFormStep3.registerNationality")+"",Je=r[32]("registerFormStep3.registerMobile")+"",et=r[32]("registerFormStep3.registerOpenAccount")+"",P=r[4]&&nr(r),w=r[6]&&ir(r),M=r[7]&&or(r),O=r[9]&&sr(r),tt=r[20],x=[];for(let e=0;e<tt.length;e+=1)x[e]=ar(rr(r,tt,e));let rt=r[22],k=[];for(let e=0;e<rt.length;e+=1)k[e]=lr(tr(r,rt,e));let nt=r[25],I=[];for(let e=0;e<nt.length;e+=1)I[e]=cr(er(r,nt,e));let N=r[8]&&ur(r),L="true"===r[0]&&hr(r),R=r[15]&&br(r);return{c(){P&&P.c(),F=Et(),U=ut(),s=t("div"),D=ut(),a=t("div"),$=t("div"),n=t("button"),i=yt("svg"),G=yt("defs"),j=yt("style"),V=ct(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),z=yt("path"),X=ut(),K=ct(Ke),q=ut(),l=t("form"),o=t("div"),c=t("div"),u=t("label"),W=ct(qe),Y=ct(":"),(Z=t("span")).textContent="*",Q=ut(),h=t("input"),J=ut(),w&&w.c(),te=ut(),p=t("div"),d=t("label"),re=ct(We),ne=ct(":"),(ie=t("span")).textContent="*",oe=ut(),f=t("input"),se=ut(),M&&M.c(),ce=ut(),m=t("div"),g=t("label"),ue=ct(Ye),he=ct(":"),(pe=t("span")).textContent="*",de=ut(),b=t("input"),fe=ut(),O&&O.c(),be=ut(),y=t("div"),E=t("label"),ye=ct(Ze),Ee=ct(":"),(Ce=t("span")).textContent="*",ve=ut(),C=t("select");for(let e=0;e<x.length;e+=1)x[e].c();Ae=ut(),v=t("div"),Se=t("label"),He=ct(Qe),_e=ct(":"),(Be=t("span")).textContent="*",Pe=ut(),T=t("select");for(let e=0;e<k.length;e+=1)k[e].c();Me=ut(),A=t("div"),Oe=t("label"),xe=ct(Je),ke=ct(":"),(Ie=t("span")).textContent="*",Ne=ut(),S=t("div"),H=t("select");for(let e=0;e<I.length;e+=1)I[e].c();Le=ut(),_=t("input"),Re=ut(),N&&N.c(),De=ut(),L&&L.c(),$e=ut(),B=t("button"),Ge=ct(et),Ve=ut(),R&&R.c(),this.c=it,pt(s,"class","g-recaptcha"),pt(s,"data-sitekey",r[4]),pt(z,"class","a"),pt(z,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),pt(z,"transform","translate(24 24) rotate(180)"),pt(i,"xmlns","http://www.w3.org/2000/svg"),pt(i,"viewBox","0 0 24 24"),pt(n,"class","BackButton"),pt(n,"part","BackButton"),pt($,"class","RegisterFormHeader"),pt($,"part","RegisterFormHeader"),pt(Z,"class","FormRequired"),pt(Z,"part","FormRequired"),pt(u,"for","Address"),pt(h,"type","text"),pt(h,"id","Address"),pt(c,"class",e="AddressContainer "+(r[6]&&!r[10]?"InvalidField":"")+(0<=r[14]?.indexOf("address")?"Hidden":"")),pt(c,"part",ee="AddressContainer "+(r[6]?"InvalidField":"")),pt(ie,"class","FormRequired"),pt(ie,"part","FormRequired"),pt(d,"for","PostalCode"),pt(f,"type","text"),pt(f,"id","PostalCode"),pt(p,"class",ae="PostalCodeContainer "+(r[7]&&!r[11]?"InvalidField":"")+(0<=r[14]?.indexOf("postalCode")?"Hidden":"")),pt(p,"part",le="PostalCodeContainer "+(r[7]?"InvalidField":"")),pt(o,"class","AddressPostalCodeContainer"),pt(o,"part","AddressPostalCodeContainer"),pt(pe,"class","FormRequired"),pt(pe,"part","FormRequired"),pt(g,"for","City"),pt(b,"type","text"),pt(b,"id","City"),pt(m,"class",me="CityContainer "+(r[9]&&r[13]?"InvalidField":"")+(0<=r[14]?.indexOf("city")?"Hidden":"")),pt(m,"part",ge="CityContainer "+(r[9]?"InvalidField":"")),pt(Ce,"class","FormRequired"),pt(Ce,"part","FormRequired"),pt(E,"for","Country"),pt(C,"id","Country"),void 0===r[21]&>(()=>r[57].call(C)),pt(y,"class",Te="CountryContainer "+(0<=r[14]?.indexOf("country")?"Hidden":"")),pt(y,"part","CountryContainer"),pt(Be,"class","FormRequired"),pt(Be,"part","FormRequired"),pt(Se,"for","Nationality"),pt(T,"id","Nationality"),void 0===r[23]&>(()=>r[58].call(T)),pt(v,"class",we="NationalityContainer "+(0<=r[14]?.indexOf("nationality")?"Hidden":"")),pt(v,"part","NationalityContainer"),pt(Ie,"class","FormRequired"),pt(Ie,"part","FormRequired"),pt(Oe,"for","Mobile"),pt(H,"class","MobilePrefixSelected"),pt(H,"part","MobilePrefixSelected"),void 0===r[26]&>(()=>r[59].call(H)),pt(_,"type","text"),pt(_,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),pt(_,"id","Mobile"),pt(_,"class","MobileInput"),pt(_,"part","MobileInput"),pt(S,"class","MobileWrapper"),pt(S,"part","MobileWrapper"),pt(A,"class",Fe="MobileContainer "+(r[8]&&!r[12]?"InvalidField":"")+(0<=r[14]?.indexOf("mobile")?"Hidden":"")),pt(A,"part",Ue="MobileContainer "+(r[8]?"InvalidField":"")),pt(B,"class","RegisterStepNext"),pt(B,"part","RegisterStepNext"),B.disabled=je=!r[31],pt(l,"class","RegisterFormContent"),pt(l,"part","RegisterFormContent")},m(e,t){P&&P.m(Jt.head,null),st(Jt.head,F),at(e,U,t),at(e,s,t),at(e,D,t),at(e,a,t),st(a,$),st($,n),st(n,i),st(i,G),st(G,j),st(j,V),st(i,z),st(n,X),st(n,K),st(a,q),st(a,l),st(l,o),st(o,c),st(c,u),st(u,W),st(u,Y),st(u,Z),st(c,Q),st(c,h),ft(h,r[17]),st(c,J),w&&w.m(c,null),st(o,te),st(o,p),st(p,d),st(d,re),st(d,ne),st(d,ie),st(p,oe),st(p,f),ft(f,r[18]),st(p,se),M&&M.m(p,null),st(l,ce),st(l,m),st(m,g),st(g,ue),st(g,he),st(g,pe),st(m,de),st(m,b),ft(b,r[19]),st(m,fe),O&&O.m(m,null),st(l,be),st(l,y),st(y,E),st(E,ye),st(E,Ee),st(E,Ce),st(y,ve),st(y,C);for(let e=0;e<x.length;e+=1)x[e].m(C,null);mt(C,r[21]),st(l,Ae),st(l,v),st(v,Se),st(Se,He),st(Se,_e),st(Se,Be),st(v,Pe),st(v,T);for(let e=0;e<k.length;e+=1)k[e].m(T,null);mt(T,r[23]),st(l,Me),st(l,A),st(A,Oe),st(Oe,xe),st(Oe,ke),st(Oe,Ie),st(A,Ne),st(A,S),st(S,H);for(let e=0;e<I.length;e+=1)I[e].m(H,null);mt(H,r[26]),st(S,Le),st(S,_),ft(_,r[24]),st(A,Re),N&&N.m(A,null),st(l,De),L&&L.m(l,null),st(l,$e),st(l,B),st(B,Ge),st(a,Ve),R&&R.m(a,null),r[68](a),ze||(Xe=[ht(n,"click",r[40]),ht(h,"input",r[48]),ht(h,"keyup",r[33]),ht(h,"focus",r[49]),ht(h,"blur",r[50]),ht(f,"input",r[51]),ht(f,"keyup",r[34]),ht(f,"focus",r[52]),ht(f,"blur",r[53]),ht(b,"input",r[54]),ht(b,"keyup",r[35]),ht(b,"focus",r[55]),ht(b,"blur",r[56]),ht(C,"change",r[57]),ht(T,"change",r[58]),ht(H,"change",r[59]),ht(_,"input",r[60]),ht(_,"keyup",r[36]),ht(_,"focus",r[61]),ht(_,"blur",r[62]),ht(B,"click",r[67])],ze=!0)},p(t,r){if(t[4]?P?P.p(t,r):((P=nr(t)).c(),P.m(F.parentNode,F)):P&&(P.d(1),P=null),16&r[0]&&pt(s,"data-sitekey",t[4]),2&r[1]&&Ke!==(Ke=t[32]("registerFormStep3.registerBackButton")+"")&&dt(K,Ke),2&r[1]&&qe!==(qe=t[32]("registerFormStep3.registerAddress")+"")&&dt(W,qe),131072&r[0]&&h.value!==t[17]&&ft(h,t[17]),t[6]?w?w.p(t,r):((w=ir(t)).c(),w.m(c,null)):w&&(w.d(1),w=null),17472&r[0]&&e!==(e="AddressContainer "+(t[6]&&!t[10]?"InvalidField":"")+(0<=t[14]?.indexOf("address")?"Hidden":""))&&pt(c,"class",e),64&r[0]&&ee!==(ee="AddressContainer "+(t[6]?"InvalidField":""))&&pt(c,"part",ee),2&r[1]&&We!==(We=t[32]("registerFormStep3.registerPostalCode")+"")&&dt(re,We),262144&r[0]&&f.value!==t[18]&&ft(f,t[18]),t[7]?M?M.p(t,r):((M=or(t)).c(),M.m(p,null)):M&&(M.d(1),M=null),18560&r[0]&&ae!==(ae="PostalCodeContainer "+(t[7]&&!t[11]?"InvalidField":"")+(0<=t[14]?.indexOf("postalCode")?"Hidden":""))&&pt(p,"class",ae),128&r[0]&&le!==(le="PostalCodeContainer "+(t[7]?"InvalidField":""))&&pt(p,"part",le),2&r[1]&&Ye!==(Ye=t[32]("registerFormStep3.registerCity")+"")&&dt(ue,Ye),524288&r[0]&&b.value!==t[19]&&ft(b,t[19]),t[9]?O?O.p(t,r):((O=sr(t)).c(),O.m(m,null)):O&&(O.d(1),O=null),25088&r[0]&&me!==(me="CityContainer "+(t[9]&&t[13]?"InvalidField":"")+(0<=t[14]?.indexOf("city")?"Hidden":""))&&pt(m,"class",me),512&r[0]&&ge!==(ge="CityContainer "+(t[9]?"InvalidField":""))&&pt(m,"part",ge),2&r[1]&&Ze!==(Ze=t[32]("registerFormStep3.registerCountry")+"")&&dt(ye,Ze),1048576&r[0]){let e;for(tt=t[20],e=0;e<tt.length;e+=1){var n=rr(t,tt,e);x[e]?x[e].p(n,r):(x[e]=ar(n),x[e].c(),x[e].m(C,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=tt.length}if(3145728&r[0]&&mt(C,t[21]),16384&r[0]&&Te!==(Te="CountryContainer "+(0<=t[14]?.indexOf("country")?"Hidden":""))&&pt(y,"class",Te),2&r[1]&&Qe!==(Qe=t[32]("registerFormStep3.registerNationality")+"")&&dt(He,Qe),4194304&r[0]){let e;for(rt=t[22],e=0;e<rt.length;e+=1){var i=tr(t,rt,e);k[e]?k[e].p(i,r):(k[e]=lr(i),k[e].c(),k[e].m(T,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=rt.length}if(12582912&r[0]&&mt(T,t[23]),16384&r[0]&&we!==(we="NationalityContainer "+(0<=t[14]?.indexOf("nationality")?"Hidden":""))&&pt(v,"class",we),2&r[1]&&Je!==(Je=t[32]("registerFormStep3.registerMobile")+"")&&dt(xe,Je),33554432&r[0]){let e;for(nt=t[25],e=0;e<nt.length;e+=1){var o=er(t,nt,e);I[e]?I[e].p(o,r):(I[e]=cr(o),I[e].c(),I[e].m(H,null))}for(;e<I.length;e+=1)I[e].d(1);I.length=nt.length}100663296&r[0]&&mt(H,t[26]),16777216&r[0]&&_.value!==t[24]&&ft(_,t[24]),t[8]?N?N.p(t,r):((N=ur(t)).c(),N.m(A,null)):N&&(N.d(1),N=null),20736&r[0]&&Fe!==(Fe="MobileContainer "+(t[8]&&!t[12]?"InvalidField":"")+(0<=t[14]?.indexOf("mobile")?"Hidden":""))&&pt(A,"class",Fe),256&r[0]&&Ue!==(Ue="MobileContainer "+(t[8]?"InvalidField":""))&&pt(A,"part",Ue),"true"===t[0]?L?L.p(t,r):((L=hr(t)).c(),L.m(l,$e)):L&&(L.d(1),L=null),2&r[1]&&et!==(et=t[32]("registerFormStep3.registerOpenAccount")+"")&&dt(Ge,et),1&r[1]&&je!==(je=!t[31])&&(B.disabled=je),t[15]?R?R.p(t,r):((R=br(t)).c(),R.m(a,null)):R&&(R.d(1),R=null)},i:it,o:it,d(e){P&&P.d(e),lt(F),e&<(U),e&<(s),e&<(D),e&<(a),w&&w.d(),M&&M.d(),O&&O.d(),bt(x,e),bt(k,e),bt(I,e),N&&N.d(),L&&L.d(),R&&R.d(),r[68](null),ze=!1,ot(Xe)}}}function Er(t,e,r){let L;var R,F,n=Yt;t.$$.on_destroy.push(re(n,e=>r(32,L=e)));let i,o,s,a,l,c,u,{userconsentsexist:h="false"}=e,{termsconditions:p="false"}=e,{smsoffers:U="false"}=e,{emailmarketing:D="false"}=e,{endpoint:d=""}=e,{captchakey:$=""}=e,{lang:f=""}=e,{disabledfields:m=""}=e,{defaultoptions:g=""}=e,{clientstyling:b=""}=e,{clientstylingurl:y=""}=e,{translationurl:E=""}=e,G=!1,j=!1,V=!1,z=!1,X=!1,K="",C="",v="",T="",A=[],S="",H=[],_="",B="",P=[],w="",M=!1,O=!1,x=!1,k=!1,q=!1;({withLocale:R,translations:F}={withLocale:"en",translations:{}}),te.subscribe(e=>{null==e&&(ee.set(F),te.set(R))}),Object.keys(Qt).forEach(e=>{Zt(e,Qt[e])});const I=()=>{r(31,q=!(i||o||a||s||X||"true"===h&&"true"===p&&!k)),(C.length<=0||v.length<=0||T.length<=0||B.length<=0)&&r(31,q=!1)},N=e=>{switch(e){case"GeneralOffers":!1===M?(r(27,M=!0),r(28,O=!0),r(29,x=!0)):(r(27,M=!1),r(28,O=!1),r(29,x=!1));break;case"SmsOffers":!1===O?(r(28,O=!0),r(27,M=!0)):r(28,O=!1),W();break;case"EmailOffers":!1===x?(r(29,x=!0),r(27,M=!0)):r(29,x=!1),W()}},W=()=>{O||x||r(27,M=!1)},Y=()=>{r(30,k=!1===k),I()},Z=e=>{e.preventDefault();let t;new Promise((t,e)=>{grecaptcha.ready(()=>{grecaptcha.execute($,{action:"submit"}).then(e=>{t(e)})})}).then(e=>{t={address:C,postalCode:v,city:T,countrySelected:S,nationalitySelected:_,mobilePrefixSelected:w,mobile:B,consentOffersSms:O,consentOffersEmail:x,consentTerms:k,consentOffers:M,token:e},window.postMessage({type:"RegisterStepThree",registerStepThreeData:t},window.location.href)})},Q=e=>{if(e.data)switch(e.data.type){case"StepThreeDataBackup":r(17,C=e.data.userData.address1),r(18,v=e.data.userData.postalCode),r(19,T=e.data.userData.city),r(21,S=e.data.userData.country),r(23,_=e.data.userData.nationality),r(26,w=e.data.userData.mobile.prefix),r(24,B=e.data.userData.mobile.number),r(28,O=e.data.userData.userConsents.sms),r(29,x=e.data.userData.userConsents.emailmarketing),r(30,k=e.data.userData.userConsents.termsandconditions),I();break;case"ShowRegistrationError":r(15,X=e.data.showError),r(16,K=e.data.error)}};return n=()=>(window.addEventListener("message",Q,!1),()=>{window.removeEventListener("message",Q)}),function(){if(J)return J;throw new Error("Function called outside component initialization")}().$$.on_mount.push(n),t.$$set=e=>{"userconsentsexist"in e&&r(0,h=e.userconsentsexist),"termsconditions"in e&&r(1,p=e.termsconditions),"smsoffers"in e&&r(2,U=e.smsoffers),"emailmarketing"in e&&r(3,D=e.emailmarketing),"endpoint"in e&&r(41,d=e.endpoint),"captchakey"in e&&r(4,$=e.captchakey),"lang"in e&&r(42,f=e.lang),"disabledfields"in e&&r(43,m=e.disabledfields),"defaultoptions"in e&&r(44,g=e.defaultoptions),"clientstyling"in e&&r(45,b=e.clientstyling),"clientstylingurl"in e&&r(46,y=e.clientstylingurl),"translationurl"in e&&r(47,E=e.translationurl)},t.$$.update=()=>{if(1024&t.$$.dirty[1]&&d&&fetch(d+"/player/countries").then(e=>e.json()).then(e=>{fetch(d+"/player/operatorSupportedCountries").then(e=>300<=e.status?new Error("Error while fetching the supported countries"):e.json()).then(t=>{r(20,A=e.countries.filter(e=>0<=t.countries.indexOf(e.Alpha2Code))),S||r(21,S=A[0].Alpha2Code),r(22,H=e.countries),_||r(23,_=H[0].Alpha2Code)})}),1024&t.$$.dirty[1]&&d&&fetch(d+"/player/phonecodes").then(e=>e.json()).then(e=>{r(25,P=e.phoneCodes),w||r(26,w=P[0].Prefix)}),2048&t.$$.dirty[1]&&f&&(e=f,te.set(e)),4096&t.$$.dirty[1]&&m&&(r(14,l=m.split(",")),0<=l.indexOf("address")&&(r(6,i=!1),r(17,C="dummy address")),0<=l.indexOf("postalCode")&&(r(7,o=!1),r(18,v="000000")),0<=l.indexOf("mobile")&&(r(8,s=!1),r(24,B="1234123412"),r(26,w="000")),0<=l.indexOf("city")&&(r(9,a=!1),r(19,T="dummy city")),0<=l.indexOf("country")&&r(21,S="dummy country"),0<=l.indexOf("nationality")&&r(23,_="dummy nationality")),8192&t.$$.dirty[1]&&g&&(0<=(c=g.split(",")).indexOf("consentsTerms")&&r(30,k=!0),0<=c.indexOf("consentsOffers")&&(r(27,M=!0),r(28,O=!0),r(29,x=!0)),c.forEach(e=>{e.includes("phonePrefix")&&r(26,w=e.split(":")[1].toString())})),32&t.$$.dirty[0]|16384&t.$$.dirty[1]&&b&&u){let e=document.createElement("style");e.innerHTML=b,u.appendChild(e)}if(32&t.$$.dirty[0]|32768&t.$$.dirty[1]&&y&&u){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{u.appendChild(t)},1),setTimeout(()=>{},500)})}var e;65536&t.$$.dirty[1]&&E&&fetch(E).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Zt(e,t[e])})}).catch(e=>{console.log(e)})},[h,p,U,D,$,u,i,o,s,a,G,j,V,z,l,X,K,C,v,T,A,S,H,_,B,P,w,M,O,x,k,q,L,()=>{r(6,i=!(C&&C.length<=100)),I()},()=>{r(7,o=!(v&&v.length<=20)),I()},()=>{r(9,a=!(T&&T.length<=50)),I()},()=>{r(8,s=!(B&&5<=B.length&&B.length<=12)),I()},N,Y,Z,()=>{var e={address:C,postalCode:v,city:T,countrySelected:S,nationalitySelected:_,mobilePrefixSelected:w,mobile:B,consentOffersSms:O,consentOffersEmail:x,consentTerms:k,consentOffers:M};window.postMessage({type:"GoBackStepThree",registerStepThreeData:e},window.location.href)},d,f,m,g,b,y,E,function(){C=this.value,r(17,C)},()=>r(10,G=!0),()=>r(10,G=!1),function(){v=this.value,r(18,v)},()=>r(11,j=!0),()=>r(11,j=!1),function(){T=this.value,r(19,T)},()=>r(13,z=!0),()=>r(13,z=!1),function(){S=ne(this),r(21,S),r(20,A)},function(){_=ne(this),r(23,_),r(22,H)},function(){w=ne(this),r(26,w),r(25,P)},function(){B=this.value,r(24,B)},()=>r(12,V=!0),()=>r(12,V=!1),()=>N("GeneralOffers"),()=>N("SmsOffers"),()=>N("EmailOffers"),()=>Y(),e=>Z(e),function(e){ie[e?"unshift":"push"](()=>{u=e,r(5,u)})}]}class Cr extends L{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'}.BackButton{display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:20px;fill:var(--emfe-w-color-primary, #D0046C)}.AddressPostalCodeContainer{display:flex;gap:16px}.CountryContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.CountryContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.CountryContainer select:focus,.CountryContainer select :focus-within,.CountryContainer select :focus-visible,.CountryContainer select :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.AddressContainer,.PostalCodeContainer,.CityContainer,.CountryContainer,.NationalityContainer,.MobileContainer{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative}.AddressContainer label,.PostalCodeContainer label,.CityContainer label,.CountryContainer label,.NationalityContainer label,.MobileContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.AddressContainer input,.PostalCodeContainer input,.CityContainer input,.CountryContainer select,.NationalityContainer select,.MobileContainer input,.MobileContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.AddressContainer.InvalidField input,.PostalCodeContainer.InvalidField input,.CityContainer.InvalidField input,.MobileContainer.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.AddressContainer.Hidden,.PostalCodeContainer.Hidden,.CityContainer.Hidden,.CountryContainer.Hidden,.NationalityContainer.Hidden,.MobileContainer.Hidden{display:none}.AddressContainer{width:65%}.PostalCodeContainer{width:35%}.MobileWrapper{display:flex;gap:16px}.MobileWrapper .MobilePrefixSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.MobileWrapper .MobilePrefixSelected:focus,.MobileWrapper .MobilePrefixSelected :focus-within,.MobileWrapper .MobilePrefixSelected :focus-visible,.MobileWrapper .MobilePrefixSelected :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.MobileWrapper .MobileInput{width:70%}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px}.OffersMethodsWrapper{padding-left:32px}.Offers,.OffersMethod,.AgeConsent{display:block;position:relative;padding:5px 0 0 35px;margin-bottom:16px;font-size:16px;user-select:none;line-height:18px}.Offers input,.OffersMethod input,.AgeConsent input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.Offers .Checkmark,.OffersMethod .Checkmark,.AgeConsent .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:50%}.Offers input:checked~.Checkmark,.OffersMethod input:checked~.Checkmark,.AgeConsent input:checked~.Checkmark{background-color:var(--emfe-w-color-primary, #D0046C)}.Offers .Checkmark:after,.OffersMethod .Checkmark:after,.AgeConsent .Checkmark:after{content:\"\";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 3px 3px 0;transform:rotate(45deg)}.Offers input:checked~.Checkmark:after,.OffersMethod input:checked~.Checkmark:after,.AgeConsent input:checked~.Checkmark:after{display:block}.NotificationContainer{margin-top:32px}.NotificationContainer p{color:var(--emfe-w-color-secondary, #FD2839);font-size:14px}.RegisterError{color:var(--emfe-w-color-secondary, #FD2839);font-size:16px;line-height:18px}.RegisterStepNext{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}</style>",N(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},Er,yr,c,{userconsentsexist:0,termsconditions:1,smsoffers:2,emailmarketing:3,endpoint:41,captchakey:4,lang:42,disabledfields:43,defaultoptions:44,clientstyling:45,clientstylingurl:46,translationurl:47},null,[-1,-1,-1,-1]),e&&(e.target&&at(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["userconsentsexist","termsconditions","smsoffers","emailmarketing","endpoint","captchakey","lang","disabledfields","defaultoptions","clientstyling","clientstylingurl","translationurl"]}get userconsentsexist(){return this.$$.ctx[0]}set userconsentsexist(e){this.$$set({userconsentsexist:e}),b()}get termsconditions(){return this.$$.ctx[1]}set termsconditions(e){this.$$set({termsconditions:e}),b()}get smsoffers(){return this.$$.ctx[2]}set smsoffers(e){this.$$set({smsoffers:e}),b()}get emailmarketing(){return this.$$.ctx[3]}set emailmarketing(e){this.$$set({emailmarketing:e}),b()}get endpoint(){return this.$$.ctx[41]}set endpoint(e){this.$$set({endpoint:e}),b()}get captchakey(){return this.$$.ctx[4]}set captchakey(e){this.$$set({captchakey:e}),b()}get lang(){return this.$$.ctx[42]}set lang(e){this.$$set({lang:e}),b()}get disabledfields(){return this.$$.ctx[43]}set disabledfields(e){this.$$set({disabledfields:e}),b()}get defaultoptions(){return this.$$.ctx[44]}set defaultoptions(e){this.$$set({defaultoptions:e}),b()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),b()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),b()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),b()}}return customElements.get("general-player-register-form-step3")||customElements.define("general-player-register-form-step3",Cr),Cr});
|
|
2
2
|
//# sourceMappingURL=general-player-register-form-step3.js.map
|