@everymatrix/general-player-register-form-step3-nd 1.37.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.
- package/CHANGELOG.md +9 -0
- package/README.md +30 -0
- package/dist/general-player-register-form-step3-nd.js +2 -0
- package/dist/general-player-register-form-step3-nd.js.map +1 -0
- package/index.html +21 -0
- package/index.js +1 -0
- package/package.json +39 -0
- package/public/favicon.png +0 -0
- package/public/reset.css +48 -0
- package/rollup.config.js +67 -0
- package/src/GeneralPlayerRegisterFormStep3Nd.svelte +780 -0
- package/src/i18n.js +27 -0
- package/src/index.ts +4 -0
- package/src/translations.js +192 -0
- package/stories/GeneralPlayerRegisterFormStep3.stories.js +13 -0
- package/tsconfig.json +6 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
## general-player-register-form-step3-nd widget changelogs
|
|
3
|
+
|
|
4
|
+
| Version | Release date | Impacted areas | Changes |
|
|
5
|
+
| ------- | ------------ | ----------------------------- | --------------------------------------- |
|
|
6
|
+
| 1.37.2 | Mon Aug 12 2024 | general-player-register-form-step3-nd | feat(EMFE-31659)(general-player-forgot-password-form,general-player-login-form,general-player-login-register-page,general-player-register-form,general-player-register-form-step1-nd,general-player-register-form-step2-nd,general-player-register-form-step3-nd): updat <br /> feat(EMFE-30469)(general-player-register-form-step3-nd): add the option to change... <br /> fix(EMFE-28649)(general-player-register-form-step3-nd): update text |
|
|
7
|
+
| 1.37.0 | Tue Aug 06 2024 | general-player-register-form-step3-nd | feat(EMFE-31659)(general-player-forgot-password-form,general-player-login-form,general-player-login-register-page,general-player-register-form,general-player-register-form-step1-nd,general-player-register-form-step2-nd,general-player-register-form-step3-nd): updat |
|
|
8
|
+
| 1.29.7 | Thu May 09 2024 | general-player-register-form-step3-nd | feat(EMFE-30469)(general-player-register-form-step3-nd): add the option to change... |
|
|
9
|
+
| 1.27.2 | Thu Feb 15 2024 | general-player-register-form-step3-nd | fix(EMFE-28649)(general-player-register-form-step3-nd): update text |
|
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @everymatrix/general-player-register-form-step3-nd
|
|
2
|
+
---------
|
|
3
|
+
|
|
4
|
+
## First step
|
|
5
|
+
---------
|
|
6
|
+
```
|
|
7
|
+
lerna bootstrap
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Run Widget
|
|
11
|
+
---------
|
|
12
|
+
- starts server at port 5050
|
|
13
|
+
- has livereload
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
yarn run dev
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Build Widget
|
|
20
|
+
---------
|
|
21
|
+
```
|
|
22
|
+
yarn run build
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Publishing widget
|
|
26
|
+
---------
|
|
27
|
+
- Note add your user to the npm
|
|
28
|
+
```
|
|
29
|
+
lerna publish
|
|
30
|
+
```
|
|
@@ -0,0 +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 et(){}function m(e){return e()}function T(){return Object.create(null)}function tt(e){e.forEach(m)}function A(e){return"function"==typeof e}function B(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let w;function _(e,t){return(w=w||document.createElement("a")).href=t,e===w.href}function te(e,...t){if(null==e)return et;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}var H="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function rt(e,t){e.appendChild(t)}function nt(e,t,r){e.insertBefore(t,r||null)}function it(e){e.parentNode&&e.parentNode.removeChild(e)}function pt(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 mt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ot(e){return document.createTextNode(e)}function st(){return ot(" ")}function ft(){return ot("")}function at(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function lt(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function ct(e,t){e.data!==(t=""+t)&&(e.data=t)}function ut(e,t){e.value=null==t?"":t}function ht(t,r,e){for(let e=0;e<t.options.length;e+=1){var n=t.options[e];if(n.__value===r)return n.selected=!0}e&&void 0===r||(t.selectedIndex=-1)}function re(e){e=e.querySelector(":checked");return e&&e.__value}let ne;function P(e){ne=e}const d=[],ie=[];let o=[];const S=[],O=Promise.resolve();let M=!1;function dt(e){o.push(e)}const x=new Set;let i=0;function p(){if(0===i){const n=ne;do{try{for(;i<d.length;){const n=d[i];i++,P(n),e=t=void 0;var e,t=n.$$;null!==t.fragment&&(t.update(),tt(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(dt))}}catch(n){throw d.length=0,i=0,n}for(P(null),d.length=0,i=0;ie.length;)ie.pop()();for(let e=0;e<o.length;e+=1){var r=o[e];x.has(r)||(x.add(r),r())}}while(o.length=0,d.length);for(;S.length;)S.pop()();M=!1,x.clear(),P(n)}}const k=new Set;function N(n,e,t,r,i,o,s,a=[-1]){var l=ne;P(n);const c=n.$$={fragment:null,ctx:[],props:o,update:et,not_equal:i,bound:T(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:T(),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]&&(d.push(e),M||(M=!0,O.then(p)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],c.update(),u=!0,tt(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){o=e.target;const et=Array.from(o.childNodes);c.fragment&&c.fragment.l(et),et.forEach(it)}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,{fragment:o,after_update:a}=h.$$;o&&o.m(s,t),r||dt(()=>{var e=h.$$.on_mount.map(m).filter(A);h.$$.on_destroy?h.$$.on_destroy.push(...e):tt(e),h.$$.on_mount=[]}),a.forEach(dt),p()}P(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(m).filter(A);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){tt(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const n=[],i=[];o.forEach(e=>(-1===r.indexOf(e)?n:i).push(e)),i.forEach(e=>e()),o=n}tt(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=et}$on(e,t){if(!A(t))return et;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 I(n,i=et){let o;const s=new Set;function a(e){if(B(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=et){const r=[e,t];return s.add(r),1===s.size&&(o=i(a)||et),e(n),()=>{s.delete(r),0===s.size&&o&&(o(),o=null)}}}}function e(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:I(t,t=>{let r=!1;const n=[];let i=0,o=et;const s=()=>{var e;i||(o(),e=a(l?n[0]:n,t),u?t(e):o=A(e)?e:et)},e=c.map((e,t)=>te(e,e=>{n[t]=e,i&=~(1<<t),r&&s()},()=>{i|=1<<t}));return r=!0,s(),function(){tt(e),o(),r=!1}}).subscribe}}function R(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 $(e,t){return!1!==t.clone&&t.isMergeableObject(e)?z(Array.isArray(e)?[]:{},e,t):e}function D(e,t,r){return e.concat(t).map(function(e){return $(e,r)})}function G(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function F(e,t){try{return t in e}catch(e){return!1}}function j(n,i,o){var s={};return o.isMergeableObject(n)&&G(n).forEach(function(e){s[e]=$(n[e],o)}),G(i).forEach(function(e){var t,r;(!F(t=n,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(F(n,e)&&o.isMergeableObject(i[e])?s[e]=((t=o).customMerge&&"function"==typeof(t=t.customMerge(e))?t:z)(n[e],i[e],o):s[e]=$(i[e],o))}),s}function z(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||D,r.isMergeableObject=r.isMergeableObject||R,r.cloneUnlessOtherwiseSpecified=$;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):j(e,t,r):$(t,r)}z.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return z(e,t,r)},{});throw new Error("first argument should be an array")};var V=z,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 f,b,g,y=function(){return(y=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 Z(e){return e.type===b.literal}function W(e){return e.type===b.number}function Y(e){return e.type===b.date}function Q(e){return e.type===b.time}function oe(e){return e.type===b.select}function se(e){return e.type===b.plural}function ae(e){return e.type===b.tag}function le(e){return e&&"object"==typeof e&&e.type===g.number}function ce(e){return e&&"object"==typeof e&&e.type===g.dateTime}(n=f=f||{})[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=b=b||{})[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=g=g||{})[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,de=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,pe=/^(@+)?(\+|#+)?[rs]?$/g,me=/(\*)(0+)|(#+)(0+)|(0+)/g,fe=/^(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(pe,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=y(y(y({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return y(y({},e),ye(t))},{}));continue;case"engineering":s=y(y(y({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return y(y({},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(me,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(fe.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(de.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(de,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=y(y({},s),{trailingZeroDisplay:"stripIfInteger"}):o&&(s=y(y({},s),ge(o)))}else pe.test(i.stem)?s=y(y({},s),ge(i.stem)):((o=be(i.stem))&&(s=y(y({},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)),!fe.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=y(y({},s),n)))}return s}var ve={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 Ce=new RegExp("^".concat(n.source,"*")),Te=new RegExp("".concat(n.source,"*$"));function E(e,t){return{start:e,end:t}}var n=!!String.prototype.startsWith,Ae=!!String.fromCodePoint,Be=!!Object.fromEntries,we=!!String.prototype.codePointAt,_e=!!String.prototype.trimStart,He=!!String.prototype.trimEnd,Pe=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Se=!0;try{Se="a"===(null==(Ze=Ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Ze[0])}catch(et){Se=!1}var Oe,Me,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},Ne=Be?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},Le=we?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},Ie=_e?function(e){return e.trimStart()}:function(e){return e.replace(Ce,"")},Re=He?function(e){return e.trimEnd()}:function(e){return e.replace(Te,"")};function Ue(e,t){return new RegExp(e,t)}Me=Se?(Oe=Ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Oe.lastIndex=t,null!=(t=Oe.exec(e)[1])?t:""}):function(e,t){for(var r,n=[];;){var i=Le(e,t);if(void 0===i||Ge(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)};s.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},s.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(f.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&De(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i}else if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}else{o=this.clonePosition();this.bump(),n.push({type:b.pound,location:E(o,this.clonePosition())})}}}return{val:n,err:null}},s.prototype.parseTag=function(e,t){var r,n=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:b.literal,value:"<".concat(i,"/>"),location:E(n,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!De(this.char())?this.error(f.INVALID_TAG,E(e,this.clonePosition())):(r=this.clonePosition(),i!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,E(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:b.tag,value:i,children:t,location:E(n,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,E(e,this.clonePosition())))):this.error(f.UNCLOSED_TAG,E(n,this.clonePosition()))):this.error(f.INVALID_TAG,E(n,this.clonePosition()))},s.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())},s.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=E(r,this.clonePosition());return{val:{type:b.literal,value:n,location:r},err:null}},s.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(De(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},s.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)},s.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),ke(r))},s.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,E(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(f.MALFORMED_ARGUMENT,E(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:b.argument,value:n,location:E(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(f.MALFORMED_ARGUMENT,E(r,this.clonePosition()))}},s.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Me(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:E(e,this.clonePosition())}},s.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(f.EXPECT_ARGUMENT_TYPE,E(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=Re(h.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:E(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(n)).err?c:(p=E(n,this.clonePosition()),l&&xe(null==l?void 0:l.style,"::",0)?(m=Ie(l.style.slice(2)),"number"===s?(h=this.parseNumberSkeletonFromString(m,l.styleLocation)).err?h:{val:{type:b.number,value:r,location:p,style:h.val},err:null}:0===m.length?this.error(f.EXPECT_DATE_TIME_SKELETON,p):(u=m,this.locale&&(u=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),(ve[t||""]||ve[r||""]||ve["".concat(r,"-001")]||ve["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}(m,this.locale)),d={type:g.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},u.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):{}},{val:{type:"date"===s?b.date:b.time,value:r,location:p,style:d},err:null})):{val:{type:"number"===s?b.number:"date"===s?b.date:b.time,value:r,location:p,style:null!=(m=null==l?void 0:l.style)?m:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,E(u,y({},u)));this.bumpSpace();var h,d=this.parseIdentifierIfPossible(),p=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),d=this.parseIdentifierIfPossible(),p=h.val}var m,l=this.tryParsePluralOrSelectOptions(e,s,t,d);return l.err?l:(c=this.tryParseArgumentClose(n)).err?c:(m=E(n,this.clonePosition()),"select"===s?{val:{type:b.select,value:r,options:Ne(l.val),location:m},err:null}:{val:{type:b.plural,value:r,options:Ne(l.val),offset:p,pluralType:"plural"===s?"cardinal":"ordinal",location:m},err:null});default:return this.error(f.INVALID_ARGUMENT_TYPE,E(o,a))}},s.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,E(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},s.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(f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(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}},s.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(f.INVALID_NUMBER_SKELETON,t)}return{val:{type:g.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Ee(r):{}},err:null}},s.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(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=E(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(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:E(u,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===o.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(f.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:o,err:null}},s.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=E(n,this.clonePosition());return i?Pe(o*=r)?{val:o,err:null}:this.error(t,n):this.error(e,n)},s.prototype.offset=function(){return this.position.offset},s.prototype.isEOF=function(){return this.offset()===this.message.length},s.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},s.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Le(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},s.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},s.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))},s.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},s.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)},s.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}},s.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ge(this.char());)this.bump()},s.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var $e=s;function s(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 Ge(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Fe(e,t){t=y({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new $e(e,t).parse();if(e.err)throw(r=SyntaxError(f[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 W(e)&&le(e.style)||(Y(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:We,n=t&&t.serializer?t.serializer:Ke;return(t&&t.strategy?t.strategy:function(e,t){return Xe(e,this,1===e.length?ze:Ve,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function ze(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 Ve(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 v,Ze,We={create:function(){return new qe}},Ye={variadic:function(e,t){return Xe(e,this,Ve,t.cache.create(),t.serializer)},monadic:function(e,t){return Xe(e,this,ze,t.cache.create(),t.serializer)}};(Ze=v=v||{}).MISSING_VALUE="MISSING_VALUE",Ze.INVALID_VALUE="INVALID_VALUE",Ze.MISSING_INTL_API="MISSING_INTL_API";K(wt,bt=Error),wt.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var C,Qe,Je,gt,bt,yt=wt,Et=(K(Bt,gt=yt),Bt),vt=(K(At,Je=yt),At),Ct=(K(Tt,Qe=yt),Tt);function Tt(e,t){return Qe.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),v.MISSING_VALUE,t)||this}function At(e,t,r){return Je.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),v.INVALID_VALUE,r)||this}function Bt(e,t,r,n){return gt.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),v.INVALID_VALUE,n)||this}function wt(e,t,r){e=bt.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&&Z(e[0]))return[{type:C.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Z(u))a.push({type:C.literal,value:u.value});else if(u.type===b.pound)"number"==typeof o&&a.push({type:C.literal,value:r.getNumberFormat(t).format(o)});else{var h=u.value;if(!(i&&h in i))throw new Ct(h,s);h=i[h];if(u.type===b.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?C.literal:C.object,value:h});else if(Y(u)){var d="string"==typeof u.style?n.date[u.style]:ce(u.style)?u.style.parsedOptions:void 0;a.push({type:C.literal,value:r.getDateTimeFormat(t,d).format(h)})}else if(Q(u))d="string"==typeof u.style?n.time[u.style]:ce(u.style)?u.style.parsedOptions:n.time.medium,a.push({type:C.literal,value:r.getDateTimeFormat(t,d).format(h)});else if(W(u))(d="string"==typeof u.style?n.number[u.style]:le(u.style)?u.style.parsedOptions:void 0)&&d.scale&&(h*=d.scale||1),a.push({type:C.literal,value:r.getNumberFormat(t,d).format(h)});else{if(ae(u)){var p=u.children,m=u.value,f=i[m];if("function"!=typeof f)throw new vt(m,"function",s);m=f(_t(p,t,r,n,i,o).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?C.literal:C.object,value:e}}))}if(oe(u)){if(!(g=u.options[h]||u.options.other))throw new Et(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 yt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',v.MISSING_INTL_API,s);var f=r.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[f]||u.options.other}if(!g)throw new Et(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===C.literal&&t.type===C.literal?r.value+=t.value:e.push(t),e},[])}function Ht(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(n=C=C||{})[n.literal=0]="literal",n[n.object=1]="object";Object.defineProperty(a,"defaultLocale",{get:function(){return a.memoizedDefaultLocale||(a.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),a.memoizedDefaultLocale},enumerable:!1,configurable:!0}),a.memoizedDefaultLocale=null,a.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])},a.__parse=Fe,a.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=a;function a(e,t,r,n){var i,o,s=this;if(void 0===t&&(t=a.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=s.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===C.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),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=a.resolveLocale(t),"string"==typeof e){if(this.message=e,!a.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=a.__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=a.formats,(o=r)?Object.keys(i).reduce(function(e,t){var r,n;return e[t]=(r=i[t],(n=o[t])?y(y(y({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=y(y({},r[t]),n[t]||{}),e},{})):r),e},y({},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:Ht((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Ye.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:Ht(t.dateTime),strategy:Ye.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:Ht(t.pluralRules),strategy:Ye.variadic})}}const l={},St=(e,t,r)=>r&&(t in l||(l[t]={}),e in l[t]||(l[t][e]=r),r),Ot=(t,r)=>{if(null!=r){if(r in l&&t in l[r])return l[r][t];var n=qt(r);for(let e=0;e<n.length;e++){var i=function(e,t){if(!xt(e))return null;e=function(e){return Mt[e]||null}(e);{var r=t;if(null!=r){if(r in e)return e[r];var n=r.split(".");let t=e;for(let e=0;e<n.length;e++)if("object"==typeof t){if(0<e){const r=n.slice(e,n.length).join(".");if(r in t){t=t[r];break}}t=t[n[e]]}else t=void 0;return t}}}(n[e],t);if(i)return St(t,r,i)}}};let Mt;const J=I({});function xt(e){return e in Mt}function kt(t,...r){delete l[t],J.update(e=>(e[t]=V.all([e[t]||{},...r]),e))}e([J],([e])=>Object.keys(e)),J.subscribe(e=>Mt=e);const Nt={};function Lt(e){return Nt[e]}function It(e){return null!=e&&qt(e).some(e=>{return null==(e=Lt(e))?void 0:e.size})}function Rt(n,e){return Promise.all(e.map(e=>{return t=n,r=e,Nt[t].delete(r),0===Nt[t].size&&delete Nt[t],e().then(e=>e.default||e);var t,r})).then(e=>kt(n,...e))}const Ut={};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 $t=I(!1);var Dt=Object.defineProperty,Ae=Object.defineProperties,Be=Object.getOwnPropertyDescriptors,Gt=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,jt=Object.prototype.propertyIsEnumerable,zt=(e,t,r)=>t in e?Dt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let Vt;const Xt=I(null);function Kt(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function qt(e,t=u.fallbackLocale){e=Kt(e);return t?[...new Set([...e,...Kt(t)])]:e}function h(){return null!=Vt?Vt:void 0}Xt.subscribe(e=>{Vt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ee=Ae(((e,t)=>{for(var r in t=t||{})Ft.call(t,r)&&zt(e,r,t[r]);if(Gt)for(var r of Gt(t))jt.call(t,r)&&zt(e,r,t[r]);return e})({},Xt),Be({set:t=>{if(t&&function(e){if(null!=e){var t=qt(e);for(let e=0;e<t.length;e++){var r=t[e];if(xt(r))return r}}}(t)&&It(t)){var r=u["loadingDelay"];let e;return"undefined"!=typeof window&&null!=h()&&r?e=window.setTimeout(()=>$t.set(!0),r):$t.set(!0),function e(t){var r;return It(t)?(r=qt(t).map(e=>{var t=Lt(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Ut[t]=Promise.all(r.map(([e,t])=>Rt(e,t))).then(()=>{if(It(t))return e(t);delete Ut[t]}),Ut[t]):t in Ut?Ut[t]:Promise.resolve()}(t).then(()=>{Xt.set(t)}).finally(()=>{clearTimeout(e),$t.set(!1)})}return Xt.set(t)}}));var we=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Zt=Object.defineProperty,Wt=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,Jt=(e,t,r)=>t in e?Zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,er=(e,t)=>{for(var r in t=t||{})Yt.call(t,r)&&Jt(e,r,t[r]);if(Wt)for(var r of Wt(t))Qt.call(t,r)&&Jt(e,r,t[r]);return e},c=(e,t)=>{var r={};for(n in e)Yt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Wt)for(var n of Wt(e))t.indexOf(n)<0&&Qt.call(e,n)&&(r[n]=e[n]);return r};const tr=(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.`)},rr=we(e=>{var{locale:t,format:r}=e,e=c(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=tr("number",r)),new Intl.NumberFormat(t,e)}),nr=we(e=>{var{locale:t,format:r}=e,e=c(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=tr("date",r):0===Object.keys(e).length&&(e=tr("date","short")),new Intl.DateTimeFormat(t,e)}),ir=we(e=>{var{locale:t,format:r}=e,e=c(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=tr("time",r):0===Object.keys(e).length&&(e=tr("time","short")),new Intl.DateTimeFormat(t,e)}),or=we((e,t=h())=>new Pt(e,t,u.formats,{ignoreTag:u.ignoreTag})),sr=e([ee,J],()=>(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=Ot(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=or(l,s).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c});function ar(e,t){kt(e,t)}e([ee],()=>(e,t)=>((e={})=>{var{locale:t=h()}=e,e=c(e,["locale"]);return ir(er({locale:t},e))})(t).format(e)),e([ee],()=>(e,t)=>((e={})=>{var{locale:t=h()}=e,e=c(e,["locale"]);return nr(er({locale:t},e))})(t).format(e)),e([ee],()=>(e,t)=>((e={})=>{var{locale:t=h()}=e,e=c(e,["locale"]);return rr(er({locale:t},e))})(t).format(e)),e([ee,J],()=>(e,t=h())=>Ot(e,t));const lr={en:{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 <a href='/terms-and-conditions' target='_blank'>Terms and Conditions</a>.",registerTermsConditionsError:"Please accept the Terms and Conditions before proceeding.",registerOpenAccount:"Open Account"},"zh-hk":{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:{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:{registerBackButton:"Geri",registerAddress:"Adres",registerAddressError:"Adres en az 1 karakter uzunluğunda ve maksimum 100 karakter olmalıdır.",registerPostalCode:"Posta Kodu",registerPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve maksimum 20 karakter uzunluğunda olmalıdır.",registerCity:"Şehir",registerCityError:"Şehir en az 1 karakter, maksimum 50 karakter uzunluğunda olmalıdır.",registerCountry:"Ülke",registerNationality:"Milliyet",registerMobile:"Mobil",registerMobileError:"Mobil en az 5 karakter uzunluğunda ve maksimum 12 karakter olmalıdır.",registerUserConsents:"Özel teklifler ve bonuslar almak istiyorum. İstediğim zaman abonelikten çıkabileceğimin bilincindeyim.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-posta",registerTermsConditions:"En az 18 yaşındayım ve <a href='/terms-and-conditions' target='_blank'>Şartlar ve Koşullar</a>'ı okuyup kabul ettim.",registerTermsConditionsError:"Devam etmeden önce lütfen Şartlar ve Koşulları kabul edin.",registerOpenAccount:"Hesap Aç"},ro:{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:{registerBackButton:"Anterior",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:"Celular",registerMobileError:"Número celular debe tener al menos 5 caracteres y un máximo de 12 caracteres",registerUserConsents:"Quiero recibir ofertas Exclusivas y Bonos. Soy consciente que puedo desuscribirme en cualquier momento.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"Tengo al menos 18 años de edad, y he leido y aceptado los Términos y Condiciones.",registerTermsConditionsError:"Por favor acepta los Términos y Condiciones antes de avanzar.",registerOpenAccount:"Abrir cuenta"},pt:{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"},hr:{registerBackButton:"Prethodno",registerAddress:"Adresa",registerAddressError:"Adresa mora imati najmanje 1 znak i najviše 100 znakova.",registerPostalCode:"Poštanski broj",registerPostalCodeError:"Poštanski broj mora imati najmanje 1 znak i najviše 20 znakova.",registerCity:"Grad",registerCityError:"Grad mora imati najmanje 1 znak i najviše 50 znakova.",registerCountry:"Zemlja",registerNationality:"Nacionalnost",registerMobile:"Broj mobitela",registerMobileError:"Broj mobitela mora imati najmanje 5 znakova i najviše 12 znakova.",registerUserConsents:"Želim primati ekskluzivne ponude i bonuse. Svjestan sam da se mogu odjaviti kad god to želim.",registerUserConsentsSMS:"SMS","registerUserConsentsE-mail":"E-mail",registerTermsConditions:"Imam najmanje 18 godina i pročitao sam i prihvatio Uvjete.",registerTermsConditionsError:"Prije nastavka prihvatite Uvjete i odredbe.",registerOpenAccount:"Otvori račun"},"pt-br":{registerBackButton:"Voltar",registerAddress:"Endereço",registerAddressError:"O endereço deve ter no mínimo 1 caractere e no máximo 100 caracteres.",registerPostalCode:"Código postal",registerPostalCodeError:"O CEP deve ter no mínimo 1 caractere e no máximo 100 caracteres.",registerCity:"Cidade",registerCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidade",registerMobile:"Número de telemóvel",registerMobileError:"O número do celular deve ter entre 5 e 12 caracteres no máximo.",registerUserConsents:"Quero receber ofertas e bônus exclusivos. Estou ciente de que posso cancelar esta assinatura a qualquer momento.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Correio eletrônico",registerTermsConditions:"Tenho pelo menos 18 anos de idade e li e aceito os <a href='/terms-and-conditions' target='_blank'>Termos e Condições </a>.",registerTermsConditionsError:"Aceite os Termos e Condições antes de prosseguir.",registerOpenAccount:"Conta aberta"},"es-mx":{registerBackButton:"Atrás",registerAddress:"Dirección",registerAddressError:"La dirección debe tener al menos 1 caracter y 100 caracteres máximo.",registerPostalCode:"Código postal",registerPostalCodeError:"El código postal debe tener al menos 1 caracter y 100 caracteres máximo.",registerCity:"Ciudad",registerCityError:"Ciudad debe tener al menos 1 caracter y 50 caracteres máximo.",registerCountry:"País",registerNationality:"Nacionalidad",registerMobile:"Número de móvil",registerMobileError:"Número de móvil debe tener entre 5 caracteres de largo y 12 caracteres máximo.",registerUserConsents:"Quiero recibir ofertas exclusivas y bonos. Estoy consciente que puedo cancelar esta subscripción en cualquier momento.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Correo electrónico",registerTermsConditions:"Tengo al menos 18 años de edad y he leído y aceptado los <a href='/terms-and-conditions' target='_blank'>Términos y Condiciones </a>.",registerTermsConditionsError:"Por favor acepte los Términos y Condiciones antes de proceder.",registerOpenAccount:"Abrir cuenta"}},cr=H["document"];function ur(e,t,r){e=e.slice();return e[89]=t[r],e}function hr(e,t,r){e=e.slice();return e[92]=t[r],e}function dr(e,t,r){e=e.slice();return e[95]=t[r],e}function pr(e){let r,n;return{c(){_((r=t("script")).src,n="//www.google.com/recaptcha/api.js?render="+e[4])||lt(r,"src",n),r.async=!0,r.defer=!0},m(e,t){nt(e,r,t)},p(e,t){16&t[0]&&!_(r.src,n="//www.google.com/recaptcha/api.js?render="+e[4])&<(r,"src",n)},d(e){e&&it(r)}}}function mr(e){let r,n,i=e[32]("registerAddressError")+"";return{c(){r=t("p"),n=ot(i),lt(r,"class","InvalidInput")},m(e,t){nt(e,r,t),rt(r,n)},p(e,t){2&t[1]&&i!==(i=e[32]("registerAddressError")+"")&&ct(n,i)},d(e){e&&it(r)}}}function fr(e){let r,n,i=e[32]("registerPostalCodeError")+"";return{c(){r=t("p"),n=ot(i),lt(r,"class","InvalidInput")},m(e,t){nt(e,r,t),rt(r,n)},p(e,t){2&t[1]&&i!==(i=e[32]("registerPostalCodeError")+"")&&ct(n,i)},d(e){e&&it(r)}}}function gr(e){let r,n,i=e[32]("registerCityError")+"";return{c(){r=t("p"),n=ot(i),lt(r,"class","InvalidInput")},m(e,t){nt(e,r,t),rt(r,n)},p(e,t){2&t[1]&&i!==(i=e[32]("registerCityError")+"")&&ct(n,i)},d(e){e&&it(r)}}}function br(e){let r,n,i,o=e[95].Name+"";return{c(){r=t("option"),n=ot(o),r.__value=i=e[95].Alpha2Code,r.value=r.__value},m(e,t){nt(e,r,t),rt(r,n)},p(e,t){1048576&t[0]&&o!==(o=e[95].Name+"")&&ct(n,o),1048576&t[0]&&i!==(i=e[95].Alpha2Code)&&(r.__value=i,r.value=r.__value)},d(e){e&&it(r)}}}function yr(e){let r,n,i,o=e[92].Name+"";return{c(){r=t("option"),n=ot(o),r.__value=i=e[92].Alpha2Code,r.value=r.__value},m(e,t){nt(e,r,t),rt(r,n)},p(e,t){4194304&t[0]&&o!==(o=e[92].Name+"")&&ct(n,o),4194304&t[0]&&i!==(i=e[92].Alpha2Code)&&(r.__value=i,r.value=r.__value)},d(e){e&&it(r)}}}function Er(e){let r,n,i,o=e[89].Prefix+"";return{c(){r=t("option"),n=ot(o),r.__value=i=e[89].Prefix,r.value=r.__value},m(e,t){nt(e,r,t),rt(r,n)},p(e,t){33554432&t[0]&&o!==(o=e[89].Prefix+"")&&ct(n,o),33554432&t[0]&&i!==(i=e[89].Prefix)&&(r.__value=i,r.value=r.__value)},d(e){e&&it(r)}}}function vr(e){let r,n,i=e[32]("registerMobileError")+"";return{c(){r=t("p"),n=ot(i),lt(r,"class","InvalidInput")},m(e,t){nt(e,r,t),rt(r,n)},p(e,t){2&t[1]&&i!==(i=e[32]("registerMobileError")+"")&&ct(n,i)},d(e){e&&it(r)}}}function Cr(e){let r,n,i=("true"===e[2]||"true"===e[3])&&Tr(e),o="true"===e[1]&&wr(e);return{c(){i&&i.c(),r=st(),o&&o.c(),n=ft()},m(e,t){i&&i.m(e,t),nt(e,r,t),o&&o.m(e,t),nt(e,n,t)},p(e,t){"true"===e[2]||"true"===e[3]?i?i.p(e,t):((i=Tr(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null),"true"===e[1]?o?o.p(e,t):((o=wr(e)).c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(e){i&&i.d(e),e&&it(r),o&&o.d(e),e&&it(n)}}}function Tr(r){let n,i,o,s,a,l,c,u,h,d,p,m,f=r[32]("registerUserConsents")+"",g="true"===r[2]&&Ar(r),b="true"===r[3]&&Br(r);return{c(){n=t("div"),i=t("label"),o=ot(f),s=st(),a=t("input"),l=st(),c=t("span"),u=st(),h=t("div"),g&&g.c(),d=st(),b&&b.c(),lt(a,"type","Checkbox"),a.checked=r[27],lt(c,"class","Checkmark"),lt(i,"class","Offers"),lt(h,"class","OffersMethodsWrapper"),lt(n,"class","OffersContainer")},m(e,t){nt(e,n,t),rt(n,i),rt(i,o),rt(i,s),rt(i,a),rt(i,l),rt(i,c),rt(n,u),rt(n,h),g&&g.m(h,null),rt(h,d),b&&b.m(h,null),p||(m=at(a,"click",r[64]),p=!0)},p(e,t){2&t[1]&&f!==(f=e[32]("registerUserConsents")+"")&&ct(o,f),134217728&t[0]&&(a.checked=e[27]),"true"===e[2]?g?g.p(e,t):((g=Ar(e)).c(),g.m(h,d)):g&&(g.d(1),g=null),"true"===e[3]?b?b.p(e,t):((b=Br(e)).c(),b.m(h,null)):b&&(b.d(1),b=null)},d(e){e&&it(n),g&&g.d(),b&&b.d(),p=!1,m()}}}function Ar(r){let n,i,o,s,a,l,c,u,h=r[32]("registerUserConsentsSMS")+"";return{c(){n=t("label"),i=ot(h),o=st(),s=t("input"),a=st(),l=t("span"),lt(s,"type","Checkbox"),s.checked=r[28],lt(l,"class","Checkmark"),lt(n,"class","OffersMethod")},m(e,t){nt(e,n,t),rt(n,i),rt(n,o),rt(n,s),rt(n,a),rt(n,l),c||(u=at(s,"click",r[65]),c=!0)},p(e,t){2&t[1]&&h!==(h=e[32]("registerUserConsentsSMS")+"")&&ct(i,h),268435456&t[0]&&(s.checked=e[28])},d(e){e&&it(n),c=!1,u()}}}function Br(r){let n,i,o,s,a,l,c,u,h=r[32]("registerUserConsentsEmail")+"";return{c(){n=t("label"),i=ot(h),o=st(),s=t("input"),a=st(),l=t("span"),lt(s,"type","Checkbox"),s.checked=r[29],lt(l,"class","Checkmark"),lt(n,"class","OffersMethod")},m(e,t){nt(e,n,t),rt(n,i),rt(n,o),rt(n,s),rt(n,a),rt(n,l),c||(u=at(s,"click",r[66]),c=!0)},p(e,t){2&t[1]&&h!==(h=e[32]("registerUserConsentsEmail")+"")&&ct(i,h),536870912&t[0]&&(s.checked=e[29])},d(e){e&&it(n),c=!1,u()}}}function wr(r){let n,i,o,s,a,l,c,u,h,d,p,m=!r[30]&&_r(r);return{c(){n=t("div"),i=t("label"),o=t("span"),s=st(),a=t("input"),l=st(),c=t("span"),u=st(),m&&m.c(),h=ft(),lt(a,"type","Checkbox"),a.checked=r[30],lt(c,"class","Checkmark"),lt(i,"class","AgeConsent"),lt(n,"class","AgeContainer")},m(e,t){nt(e,n,t),rt(n,i),rt(i,o),o.innerHTML=r[33],rt(i,s),rt(i,a),rt(i,l),rt(i,c),nt(e,u,t),m&&m.m(e,t),nt(e,h,t),d||(p=at(a,"click",r[67]),d=!0)},p(e,t){1073741824&t[0]&&(a.checked=e[30]),e[30]?m&&(m.d(1),m=null):m?m.p(e,t):((m=_r(e)).c(),m.m(h.parentNode,h))},d(e){e&&it(n),e&&it(u),m&&m.d(e),e&&it(h),d=!1,p()}}}function _r(e){let r,n,i,o=e[32]("registerTermsConditionsError")+"";return{c(){r=t("div"),n=t("p"),i=ot(o),lt(r,"class","NotificationContainer")},m(e,t){nt(e,r,t),rt(r,n),rt(n,i)},p(e,t){2&t[1]&&o!==(o=e[32]("registerTermsConditionsError")+"")&&ct(i,o)},d(e){e&&it(r)}}}function Hr(e){let r,n,i;return{c(){r=t("div"),n=t("p"),i=ot(e[16]),lt(n,"class","RegisterError")},m(e,t){nt(e,r,t),rt(r,n),rt(n,i)},p(e,t){65536&t[0]&&ct(i,e[16])},d(e){e&&it(r)}}}function Pr(r){let U,$,s,D,n,i,G,F,j,z,V,X,K,a,o,l,c,q,Z,W,Y,u,Q,e,J,h,d,ee,te,re,ne,p,ie,oe,se,m,f,ae,le,ce,ue,g,he,de,pe,b,y,me,fe,ge,be,E,ye,Ee,v,C,ve,Ce,Te,Ae,T,Be,we,A,B,_e,He,Pe,Se,Oe,w,Me,_,xe,ke,Ne,Le,Ie,Re,H,Ue,$e,De,Ge,Fe,je=r[32]("registerBackButton")+"",ze=r[32]("registerAddress")+"",Ve=r[32]("registerPostalCode")+"",Xe=r[32]("registerCity")+"",Ke=r[32]("registerCountry")+"",qe=r[32]("registerNationality")+"",Ze=r[32]("registerMobile")+"",We=r[32]("registerOpenAccount")+"",P=r[4]&&pr(r),S=r[6]&&mr(r),O=r[7]&&fr(r),M=r[9]&&gr(r),Ye=r[20],x=[];for(let e=0;e<Ye.length;e+=1)x[e]=br(dr(r,Ye,e));let Qe=r[22],k=[];for(let e=0;e<Qe.length;e+=1)k[e]=yr(hr(r,Qe,e));let Je=r[25],N=[];for(let e=0;e<Je.length;e+=1)N[e]=Er(ur(r,Je,e));let L=r[8]&&vr(r),I="true"===r[0]&&Cr(r),R=r[15]&&Hr(r);return{c(){P&&P.c(),U=ft(),$=st(),s=t("div"),D=t("div"),n=t("button"),i=mt("svg"),G=mt("defs"),F=mt("style"),j=ot(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"),z=mt("path"),V=st(),X=ot(je),K=st(),a=t("form"),o=t("div"),l=t("div"),c=t("label"),q=ot(ze),Z=ot(":"),(W=t("span")).textContent="*",Y=st(),u=t("input"),Q=st(),S&&S.c(),J=st(),h=t("div"),d=t("label"),ee=ot(Ve),te=ot(":"),(re=t("span")).textContent="*",ne=st(),p=t("input"),ie=st(),O&&O.c(),se=st(),m=t("div"),f=t("label"),ae=ot(Xe),le=ot(":"),(ce=t("span")).textContent="*",ue=st(),g=t("input"),he=st(),M&&M.c(),pe=st(),b=t("div"),y=t("label"),me=ot(Ke),fe=ot(":"),(ge=t("span")).textContent="*",be=st(),E=t("select");for(let e=0;e<x.length;e+=1)x[e].c();Ee=st(),v=t("div"),C=t("label"),ve=ot(qe),Ce=ot(":"),(Te=t("span")).textContent="*",Ae=st(),T=t("select");for(let e=0;e<k.length;e+=1)k[e].c();we=st(),A=t("div"),B=t("label"),_e=ot(Ze),He=ot(":"),(Pe=t("span")).textContent="*",Se=st(),Oe=t("div"),w=t("select");for(let e=0;e<N.length;e+=1)N[e].c();Me=st(),_=t("input"),xe=st(),L&&L.c(),Ne=st(),I&&I.c(),Le=st(),Ie=t("div"),Re=st(),H=t("button"),Ue=ot(We),De=st(),R&&R.c(),this.c=et,lt(z,"class","a"),lt(z,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),lt(z,"transform","translate(24 24) rotate(180)"),lt(i,"xmlns","http://www.w3.org/2000/svg"),lt(i,"viewBox","0 0 24 24"),lt(n,"class","BackButton"),lt(D,"class","RegisterFormHeader"),lt(W,"class","FormRequired"),lt(c,"for","Address"),lt(u,"type","text"),lt(u,"id","Address"),lt(l,"class",e="AddressContainer "+(r[6]&&!r[10]?"InvalidField":"")+(0<=r[14]?.indexOf("address")?"Hidden":"")),lt(re,"class","FormRequired"),lt(d,"for","PostalCode"),lt(p,"type","text"),lt(p,"id","PostalCode"),lt(h,"class",oe="PostalCodeContainer "+(r[7]&&!r[11]?"InvalidField":"")+(0<=r[14]?.indexOf("postalCode")?"Hidden":"")),lt(o,"class","AddressPostalCodeContainer"),lt(ce,"class","FormRequired"),lt(f,"for","City"),lt(g,"type","text"),lt(g,"id","City"),lt(m,"class",de="CityContainer "+(r[9]&&r[13]?"InvalidField":"")+(0<=r[14]?.indexOf("city")?"Hidden":"")),lt(ge,"class","FormRequired"),lt(y,"for","Country"),lt(E,"id","Country"),void 0===r[21]&&dt(()=>r[58].call(E)),lt(b,"class",ye="CountryContainer "+(0<=r[14]?.indexOf("country")?"Hidden":"")),lt(Te,"class","FormRequired"),lt(C,"for","Nationality"),lt(T,"id","Nationality"),void 0===r[23]&&dt(()=>r[59].call(T)),lt(v,"class",Be="NationalityContainer "+(0<=r[14]?.indexOf("nationality")?"Hidden":"")),lt(Pe,"class","FormRequired"),lt(B,"for","Mobile"),lt(w,"class","MobilePrefixSelected"),void 0===r[26]&&dt(()=>r[60].call(w)),lt(_,"type","text"),lt(_,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),lt(_,"id","Mobile"),lt(_,"class","MobileInput"),lt(Oe,"class","MobileWrapper"),lt(A,"class",ke="MobileContainer "+(r[8]&&!r[12]?"InvalidField":"")+(0<=r[14]?.indexOf("mobile")?"Hidden":"")),lt(Ie,"class","g-recaptcha"),lt(Ie,"data-sitekey",r[4]),lt(H,"class","RegisterStepNext"),H.disabled=$e=!r[31],lt(a,"class","RegisterFormContent")},m(e,t){P&&P.m(cr.head,null),rt(cr.head,U),nt(e,$,t),nt(e,s,t),rt(s,D),rt(D,n),rt(n,i),rt(i,G),rt(G,F),rt(F,j),rt(i,z),rt(n,V),rt(n,X),rt(s,K),rt(s,a),rt(a,o),rt(o,l),rt(l,c),rt(c,q),rt(c,Z),rt(c,W),rt(l,Y),rt(l,u),ut(u,r[17]),rt(l,Q),S&&S.m(l,null),rt(o,J),rt(o,h),rt(h,d),rt(d,ee),rt(d,te),rt(d,re),rt(h,ne),rt(h,p),ut(p,r[18]),rt(h,ie),O&&O.m(h,null),rt(a,se),rt(a,m),rt(m,f),rt(f,ae),rt(f,le),rt(f,ce),rt(m,ue),rt(m,g),ut(g,r[19]),rt(m,he),M&&M.m(m,null),rt(a,pe),rt(a,b),rt(b,y),rt(y,me),rt(y,fe),rt(y,ge),rt(b,be),rt(b,E);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(E,null);ht(E,r[21],!0),rt(a,Ee),rt(a,v),rt(v,C),rt(C,ve),rt(C,Ce),rt(C,Te),rt(v,Ae),rt(v,T);for(let e=0;e<k.length;e+=1)k[e]&&k[e].m(T,null);ht(T,r[23],!0),rt(a,we),rt(a,A),rt(A,B),rt(B,_e),rt(B,He),rt(B,Pe),rt(A,Se),rt(A,Oe),rt(Oe,w);for(let e=0;e<N.length;e+=1)N[e]&&N[e].m(w,null);ht(w,r[26],!0),rt(Oe,Me),rt(Oe,_),ut(_,r[24]),rt(A,xe),L&&L.m(A,null),rt(a,Ne),I&&I.m(a,null),rt(a,Le),rt(a,Ie),rt(a,Re),rt(a,H),rt(H,Ue),rt(s,De),R&&R.m(s,null),r[69](s),Ge||(Fe=[at(n,"click",r[41]),at(u,"input",r[49]),at(u,"keyup",r[34]),at(u,"focus",r[50]),at(u,"blur",r[51]),at(p,"input",r[52]),at(p,"keyup",r[35]),at(p,"focus",r[53]),at(p,"blur",r[54]),at(g,"input",r[55]),at(g,"keyup",r[36]),at(g,"focus",r[56]),at(g,"blur",r[57]),at(E,"change",r[58]),at(T,"change",r[59]),at(w,"change",r[60]),at(_,"input",r[61]),at(_,"keyup",r[37]),at(_,"focus",r[62]),at(_,"blur",r[63]),at(H,"click",r[68])],Ge=!0)},p(t,r){if(t[4]?P?P.p(t,r):((P=pr(t)).c(),P.m(U.parentNode,U)):P&&(P.d(1),P=null),2&r[1]&&je!==(je=t[32]("registerBackButton")+"")&&ct(X,je),2&r[1]&&ze!==(ze=t[32]("registerAddress")+"")&&ct(q,ze),131072&r[0]&&u.value!==t[17]&&ut(u,t[17]),t[6]?S?S.p(t,r):((S=mr(t)).c(),S.m(l,null)):S&&(S.d(1),S=null),17472&r[0]&&e!==(e="AddressContainer "+(t[6]&&!t[10]?"InvalidField":"")+(0<=t[14]?.indexOf("address")?"Hidden":""))&<(l,"class",e),2&r[1]&&Ve!==(Ve=t[32]("registerPostalCode")+"")&&ct(ee,Ve),262144&r[0]&&p.value!==t[18]&&ut(p,t[18]),t[7]?O?O.p(t,r):((O=fr(t)).c(),O.m(h,null)):O&&(O.d(1),O=null),18560&r[0]&&oe!==(oe="PostalCodeContainer "+(t[7]&&!t[11]?"InvalidField":"")+(0<=t[14]?.indexOf("postalCode")?"Hidden":""))&<(h,"class",oe),2&r[1]&&Xe!==(Xe=t[32]("registerCity")+"")&&ct(ae,Xe),524288&r[0]&&g.value!==t[19]&&ut(g,t[19]),t[9]?M?M.p(t,r):((M=gr(t)).c(),M.m(m,null)):M&&(M.d(1),M=null),25088&r[0]&&de!==(de="CityContainer "+(t[9]&&t[13]?"InvalidField":"")+(0<=t[14]?.indexOf("city")?"Hidden":""))&<(m,"class",de),2&r[1]&&Ke!==(Ke=t[32]("registerCountry")+"")&&ct(me,Ke),1048576&r[0]){let e;for(Ye=t[20],e=0;e<Ye.length;e+=1){var n=dr(t,Ye,e);x[e]?x[e].p(n,r):(x[e]=br(n),x[e].c(),x[e].m(E,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=Ye.length}if(3145728&r[0]&&ht(E,t[21]),16384&r[0]&&ye!==(ye="CountryContainer "+(0<=t[14]?.indexOf("country")?"Hidden":""))&<(b,"class",ye),2&r[1]&&qe!==(qe=t[32]("registerNationality")+"")&&ct(ve,qe),4194304&r[0]){let e;for(Qe=t[22],e=0;e<Qe.length;e+=1){var i=hr(t,Qe,e);k[e]?k[e].p(i,r):(k[e]=yr(i),k[e].c(),k[e].m(T,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=Qe.length}if(12582912&r[0]&&ht(T,t[23]),16384&r[0]&&Be!==(Be="NationalityContainer "+(0<=t[14]?.indexOf("nationality")?"Hidden":""))&<(v,"class",Be),2&r[1]&&Ze!==(Ze=t[32]("registerMobile")+"")&&ct(_e,Ze),33554432&r[0]){let e;for(Je=t[25],e=0;e<Je.length;e+=1){var o=ur(t,Je,e);N[e]?N[e].p(o,r):(N[e]=Er(o),N[e].c(),N[e].m(w,null))}for(;e<N.length;e+=1)N[e].d(1);N.length=Je.length}100663296&r[0]&&ht(w,t[26]),16777216&r[0]&&_.value!==t[24]&&ut(_,t[24]),t[8]?L?L.p(t,r):((L=vr(t)).c(),L.m(A,null)):L&&(L.d(1),L=null),20736&r[0]&&ke!==(ke="MobileContainer "+(t[8]&&!t[12]?"InvalidField":"")+(0<=t[14]?.indexOf("mobile")?"Hidden":""))&<(A,"class",ke),"true"===t[0]?I?I.p(t,r):((I=Cr(t)).c(),I.m(a,Le)):I&&(I.d(1),I=null),16&r[0]&<(Ie,"data-sitekey",t[4]),2&r[1]&&We!==(We=t[32]("registerOpenAccount")+"")&&ct(Ue,We),1&r[1]&&$e!==($e=!t[31])&&(H.disabled=$e),t[15]?R?R.p(t,r):((R=Hr(t)).c(),R.m(s,null)):R&&(R.d(1),R=null)},i:et,o:et,d(e){P&&P.d(e),it(U),e&&it($),e&&it(s),S&&S.d(),O&&O.d(),M&&M.d(),pt(x,e),pt(k,e),pt(N,e),L&&L.d(),I&&I.d(),R&&R.d(),r[69](null),Ge=!1,tt(Fe)}}}function Sr(t,e,r){let n;var I,R,i=sr;t.$$.on_destroy.push(te(i,e=>r(32,n=e)));let o,s,a,l,c,u,h,{userconsentsexist:d="false"}=e,{termsconditions:U="false"}=e,{smsoffers:$="false"}=e,{emailmarketing:D="false"}=e,{endpoint:p=""}=e,{captchakey:G=""}=e,{lang:m=""}=e,{disabledfields:f=""}=e,{defaultoptions:g=""}=e,{clientstyling:b=""}=e,{clientstylingurl:y=""}=e,{translationurl:E=""}=e,F=!1,j=!1,z=!1,V=!1,X=!1,K="",v="",C="",T="",A=[],B="",w=[],_="",H="",P=[],S="",O=!1,M=!1,x=!1,k=!1,q=!1;({withLocale:I,translations:R}={withLocale:"en",translations:{}}),ee.subscribe(e=>{null==e&&(J.set(R),ee.set(I))}),Object.keys(lr).forEach(e=>{ar(e,lr[e])});i=n("registerTermsConditions");const N=()=>{r(31,q=!(o||s||l||a||X||"true"===d&&"true"===U&&!k)),(v.length<=0||C.length<=0||T.length<=0||H.length<=0)&&r(31,q=!1)},L=e=>{switch(e){case"GeneralOffers":!1===O?(r(27,O=!0),r(28,M=!0),r(29,x=!0)):(r(27,O=!1),r(28,M=!1),r(29,x=!1));break;case"SmsOffers":!1===M?(r(28,M=!0),r(27,O=!0)):r(28,M=!1),Z();break;case"EmailOffers":!1===x?(r(29,x=!0),r(27,O=!0)):r(29,x=!1),Z()}},Z=()=>{M||x||r(27,O=!1)},W=()=>{r(30,k=!1===k),N()},Y=e=>{e.preventDefault();let t;new Promise((t,e)=>{grecaptcha.ready(()=>{grecaptcha.execute(G,{action:"submit"}).then(e=>{t(e)})})}).then(e=>{t={address:v,postalCode:C,city:T,countrySelected:B,nationalitySelected:_,mobilePrefixSelected:S,mobile:H,consentOffersSms:M,consentOffersEmail:x,consentTerms:k,consentOffers:O,token:e},window.postMessage({type:"RegisterStepThree",registerStepThreeData:t},window.location.href)})},Q=e=>{if(e.data)switch(e.data.type){case"StepThreeDataBackup":r(17,v=e.data.userData.address1),r(18,C=e.data.userData.postalCode),r(19,T=e.data.userData.city),r(21,B=e.data.userData.country),r(23,_=e.data.userData.nationality),r(26,S=e.data.userData.mobile.prefix),r(24,H=e.data.userData.mobile.number),r(28,M=e.data.userData.userConsents.sms),r(29,x=e.data.userData.userConsents.emailmarketing),r(30,k=e.data.userData.userConsents.termsandconditions),N();break;case"ShowRegistrationError":r(15,X=e.data.showError),r(16,K=e.data.error)}};return e=()=>(window.addEventListener("message",Q,!1),()=>{window.removeEventListener("message",Q)}),function(){if(ne)return ne;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e),t.$$set=e=>{"userconsentsexist"in e&&r(0,d=e.userconsentsexist),"termsconditions"in e&&r(1,U=e.termsconditions),"smsoffers"in e&&r(2,$=e.smsoffers),"emailmarketing"in e&&r(3,D=e.emailmarketing),"endpoint"in e&&r(42,p=e.endpoint),"captchakey"in e&&r(4,G=e.captchakey),"lang"in e&&r(43,m=e.lang),"disabledfields"in e&&r(44,f=e.disabledfields),"defaultoptions"in e&&r(45,g=e.defaultoptions),"clientstyling"in e&&r(46,b=e.clientstyling),"clientstylingurl"in e&&r(47,y=e.clientstylingurl),"translationurl"in e&&r(48,E=e.translationurl)},t.$$.update=()=>{if(2048&t.$$.dirty[1]&&p&&fetch(p+"/v1/player/countries").then(e=>e.json()).then(e=>{fetch(p+"/v1/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))),B||r(21,B=A[0].Alpha2Code),r(22,w=e.countries),_||r(23,_=w.filter(e=>0<=t.countries.indexOf(e.Alpha2Code))[0].Alpha2Code)})}),2048&t.$$.dirty[1]&&p&&fetch(p+"/v1/player/phonecodes").then(e=>e.json()).then(e=>{r(25,P=e.phoneCodes),S||r(26,S=P[0].Prefix)}),4096&t.$$.dirty[1]&&m&&(e=m,ee.set(e)),8192&t.$$.dirty[1]&&f&&(r(14,c=f.split(",")),0<=c.indexOf("address")&&(r(6,o=!1),r(17,v="dummy address")),0<=c.indexOf("postalCode")&&(r(7,s=!1),r(18,C="000000")),0<=c.indexOf("mobile")&&(r(8,a=!1),r(24,H="1234123412"),r(26,S="000")),0<=c.indexOf("city")&&(r(9,l=!1),r(19,T="dummy city")),0<=c.indexOf("country")&&r(21,B="dummy country"),0<=c.indexOf("nationality"))&&r(23,_="dummy nationality"),16384&t.$$.dirty[1]&&g&&(0<=(u=g.split(",")).indexOf("consentsTerms")&&r(30,k=!0),0<=u.indexOf("consentsOffers")&&(r(27,O=!0),r(28,M=!0),r(29,x=!0)),u.forEach(e=>{e.includes("phonePrefix")&&r(26,S=e.split(":")[1].toString())})),32&t.$$.dirty[0]|32768&t.$$.dirty[1]&&b&&h&&((e=document.createElement("style")).innerHTML=b,h.appendChild(e)),32&t.$$.dirty[0]|65536&t.$$.dirty[1]&&y&&h){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{h.appendChild(t)},1),setTimeout(()=>{},500)})}var e;131072&t.$$.dirty[1]&&E&&fetch(E).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ar(e,t[e])})}).catch(e=>{console.log(e)})},[d,U,$,D,G,h,o,s,a,l,F,j,z,V,c,X,K,v,C,T,A,B,w,_,H,P,S,O,M,x,k,q,n,i,()=>{r(6,o=!(v&&v.length<=100)),N()},()=>{r(7,s=!(C&&C.length<=20)),N()},()=>{r(9,l=!(T&&T.length<=50)),N()},()=>{r(8,a=!(H&&5<=H.length&&H.length<=12)),N()},L,W,Y,()=>{var e={address:v,postalCode:C,city:T,countrySelected:B,nationalitySelected:_,mobilePrefixSelected:S,mobile:H,consentOffersSms:M,consentOffersEmail:x,consentTerms:k,consentOffers:O};window.postMessage({type:"GoBackStepThree",registerStepThreeData:e},window.location.href)},p,m,f,g,b,y,E,function(){v=this.value,r(17,v)},()=>r(10,F=!0),()=>r(10,F=!1),function(){C=this.value,r(18,C)},()=>r(11,j=!0),()=>r(11,j=!1),function(){T=this.value,r(19,T)},()=>r(13,V=!0),()=>r(13,V=!1),function(){B=re(this),r(21,B),r(20,A)},function(){_=re(this),r(23,_),r(22,w)},function(){S=re(this),r(26,S),r(25,P)},function(){H=this.value,r(24,H)},()=>r(12,z=!0),()=>r(12,z=!1),()=>L("GeneralOffers"),()=>L("SmsOffers"),()=>L("EmailOffers"),()=>W(),e=>Y(e),function(e){ie[e?"unshift":"push"](()=>{h=e,r(5,h)})}]}class Or extends L{constructor(e){super();var t=document.createElement("style");t.textContent="input,select{font-family:inherit}.BackButton{display:inline-flex;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));height:15px;border-radius:var(--emw--border-radius-small, 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(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.AddressPostalCodeContainer{display:flex;gap:16px}.CountryContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.CountryContainer select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-medium, 15px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 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(--emw--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(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.AddressContainer,.PostalCodeContainer,.CityContainer,.CountryContainer,.NationalityContainer,.MobileContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.AddressContainer label,.PostalCodeContainer label,.CityContainer label,.CountryContainer label,.NationalityContainer label,.MobileContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.AddressContainer input,.PostalCodeContainer input,.CityContainer input,.CountryContainer select,.NationalityContainer select,.MobileContainer input,.MobileContainer select{width:100%;height:44px;border-radius:var(--emw--border-radius-medium, 15px);border:1px solid var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.AddressContainer input:focus,.PostalCodeContainer input:focus,.CityContainer input:focus,.CountryContainer select:focus,.NationalityContainer select:focus,.MobileContainer input:focus,.MobileContainer select:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.AddressContainer.InvalidField input,.PostalCodeContainer.InvalidField input,.CityContainer.InvalidField input,.MobileContainer.InvalidField input{border:1px solid var(--emw--color-error, #ed0909);background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.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(--emw--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(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.MobileWrapper .MobileInput{width:70%}.FormRequired{color:var(--emw--color-secondary, #E1A749)}.InvalidInput{color:var(--emw--color-error, #ed0909);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:var(--emw--font-size-medium, 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(--emw--color-gray-100, #E6E6E6);border-radius:50%}.Offers input:checked~.Checkmark,.OffersMethod input:checked~.Checkmark,.AgeConsent input:checked~.Checkmark{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.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(--emw--categories-color-secondary, var(--emw--color-secondary, #E1A749));font-size:var(--emw--font-size-small, 14px)}.RegisterError{color:var(--emw--color-error, #ed0909);font-size:var(--emw--font-size-medium, 16px);line-height:18px}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emfe-w-button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed}",this.shadowRoot.appendChild(t),N(this,{target:this.shadowRoot,props:function(e){var t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},Sr,Pr,B,{userconsentsexist:0,termsconditions:1,smsoffers:2,emailmarketing:3,endpoint:42,captchakey:4,lang:43,disabledfields:44,defaultoptions:45,clientstyling:46,clientstylingurl:47,translationurl:48},null,[-1,-1,-1,-1]),e&&(e.target&&nt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),p())}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}),p()}get termsconditions(){return this.$$.ctx[1]}set termsconditions(e){this.$$set({termsconditions:e}),p()}get smsoffers(){return this.$$.ctx[2]}set smsoffers(e){this.$$set({smsoffers:e}),p()}get emailmarketing(){return this.$$.ctx[3]}set emailmarketing(e){this.$$set({emailmarketing:e}),p()}get endpoint(){return this.$$.ctx[42]}set endpoint(e){this.$$set({endpoint:e}),p()}get captchakey(){return this.$$.ctx[4]}set captchakey(e){this.$$set({captchakey:e}),p()}get lang(){return this.$$.ctx[43]}set lang(e){this.$$set({lang:e}),p()}get disabledfields(){return this.$$.ctx[44]}set disabledfields(e){this.$$set({disabledfields:e}),p()}get defaultoptions(){return this.$$.ctx[45]}set defaultoptions(e){this.$$set({defaultoptions:e}),p()}get clientstyling(){return this.$$.ctx[46]}set clientstyling(e){this.$$set({clientstyling:e}),p()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),p()}get translationurl(){return this.$$.ctx[48]}set translationurl(e){this.$$set({translationurl:e}),p()}}return customElements.get("general-player-register-form-step3-nd")||customElements.define("general-player-register-form-step3-nd",Or),Or});
|
|
2
|
+
//# sourceMappingURL=general-player-register-form-step3-nd.js.map
|