@everymatrix/general-player-register-form-step1 1.14.7 → 1.14.8
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 tt(){}function S(e){return e()}function A(){return Object.create(null)}function rt(e){e.forEach(S)}function T(e){return"function"==typeof e}function P(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function J(e,...t){if(null==e)return tt;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function it(e,t){e.appendChild(t)}function nt(e,t,r){e.insertBefore(t,r||null)}function st(e){e.parentNode&&e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ot(e){return document.createTextNode(e)}function at(){return ot(" ")}function lt(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function ut(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 ht(e,t){e.value=null==t?"":t}let Y;function p(e){Y=e}const m=[],q=[];let s=[];const H=[],C=Promise.resolve();let _=!1;function B(e){s.push(e)}const L=new Set;let n=0;function d(){if(0===n){const i=Y;do{try{for(;n<m.length;){const i=m[n];n++,p(i),e=t=void 0;var e,t=i.$$;null!==t.fragment&&(t.update(),rt(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(B))}}catch(i){throw m.length=0,n=0,i}for(p(null),m.length=0,n=0;q.length;)q.pop()();for(let e=0;e<s.length;e+=1){var r=s[e];L.has(r)||(L.add(r),r())}}while(s.length=0,m.length);for(;H.length;)H.pop()();_=!1,L.clear(),p(i)}}const I=new Set;function N(i,e,t,r,n,s,o,a=[-1]){var l=Y;p(i);const u=i.$$={fragment:null,ctx:[],props:s,update:tt,not_equal:n,bound:A(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:A(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};o&&o(u.root);let c=!1;if(u.ctx=t?t(i,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return u.ctx&&n(u.ctx[e],u.ctx[e]=r)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](r),c)&&(r=e,-1===(e=i).$$.dirty[0]&&(m.push(e),_||(_=!0,C.then(d)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],u.update(),c=!0,rt(u.before_update),u.fragment=!!r&&r(u.ctx),e.target){if(e.hydrate){s=e.target;const tt=Array.from(s.childNodes);u.fragment&&u.fragment.l(tt),tt.forEach(st)}else u.fragment&&u.fragment.c();e.intro&&(a=i.$$.fragment)&&a.i&&(I.delete(a),a.i(void 0));var h=i,o=e.target,t=e.anchor,r=e.customElement,{fragment:s,after_update:a}=h.$$;s&&s.m(o,t),r||B(()=>{var e=h.$$.on_mount.map(S).filter(T);h.$$.on_destroy?h.$$.on_destroy.push(...e):rt(e),h.$$.on_mount=[]}),a.forEach(B),d()}p(l)}let O;"function"==typeof HTMLElement&&(O=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(S).filter(T);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){rt(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const i=[],n=[];s.forEach(e=>(-1===r.indexOf(e)?i:n).push(e)),n.forEach(e=>e()),s=i}rt(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=tt}$on(e,t){if(!T(t))return tt;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(i,n=tt){let s;const o=new Set;function a(e){if(P(i,e)&&(i=e,s)){const e=!r.length;for(const e of o)e[1](),r.push(e,i);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(i))},subscribe:function(e,t=tt){const r=[e,t];return o.add(r),1===o.size&&(s=n(a)||tt),e(i),()=>{o.delete(r),0===o.size&&s&&(s(),s=null)}}}}function i(e,a,t){const l=!Array.isArray(e),u=l?[e]:e,c=a.length<2;return{subscribe:R(t,t=>{let r=!1;const i=[];let n=0,s=tt;const o=()=>{var e;n||(s(),e=a(l?i[0]:i,t),c?t(e):s=T(e)?e:tt)},e=u.map((e,t)=>J(e,e=>{i[t]=e,n&=~(1<<t),r&&o()},()=>{n|=1<<t}));return r=!0,o(),function(){rt(e),s(),r=!1}}).subscribe}}function M(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 x(e,t){return!1!==t.clone&&t.isMergeableObject(e)?$(Array.isArray(e)?[]:{},e,t):e}function k(e,t,r){return e.concat(t).map(function(e){return x(e,r)})}function D(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 G(e,t){try{return t in e}catch(e){return!1}}function F(i,n,s){var o={};return s.isMergeableObject(i)&&D(i).forEach(function(e){o[e]=x(i[e],s)}),D(n).forEach(function(e){var t,r;(!G(t=i,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(G(i,e)&&s.isMergeableObject(n[e])?o[e]=((t=s).customMerge&&"function"==typeof(t=t.customMerge(e))?t:$)(i[e],n[e],s):o[e]=x(n[e],s))}),o}function $(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||k,r.isMergeableObject=r.isMergeableObject||M,r.cloneUnlessOtherwiseSpecified=x;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):F(e,t,r):x(t,r)}$.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return $(e,t,r)},{});throw new Error("first argument should be an array")};var V=$,z=function(e,t){return(z=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 j(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}z(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var f,y,g,E=function(){return(E=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function Q(e,t,r){if(r||2===arguments.length)for(var i,n=0,s=t.length;n<s;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Z(e){return e.type===y.literal}function X(e){return e.type===y.number}function K(e){return e.type===y.date}function ee(e){return e.type===y.time}function te(e){return e.type===y.select}function re(e){return e.type===y.plural}function ie(e){return e.type===y.tag}function ne(e){return e&&"object"==typeof e&&e.type===g.number}function se(e){return e&&"object"==typeof e&&e.type===g.dateTime}(o=f=f||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=y=y||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=g=g||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,oe=/(?:[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 ae=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,le=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ue=/^(@+)?(\+|#+)?[rs]?$/g,ce=/(\*)(0+)|(#+)(0+)|(0+)/g,he=/^(0+)$/;function pe(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(ue,function(e,t,r){return"string"!=typeof r?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===r?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),i}function me(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 de(e){return me(e)||{}}function fe(e){for(var o={},t=0,r=e;t<r.length;t++){var i,n=r[t];switch(n.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=n.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=E(E(E({},o),{notation:"scientific"}),n.options.reduce(function(e,t){return E(E({},e),de(t))},{}));continue;case"engineering":o=E(E(E({},o),{notation:"engineering"}),n.options.reduce(function(e,t){return E(E({},e),de(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(ce,function(e,t,r,i,n,s){if(t)o.minimumIntegerDigits=r.length;else{if(i&&n)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(he.test(n.stem))o.minimumIntegerDigits=n.stem.length;else if(le.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(le,function(e,t,r,i,n,s){return"*"===r?o.minimumFractionDigits=t.length:i&&"#"===i[0]?o.maximumFractionDigits=i.length:n&&s?(o.minimumFractionDigits=n.length,o.maximumFractionDigits=n.length+s.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var s=n.options[0];"w"===s?o=E(E({},o),{trailingZeroDisplay:"stripIfInteger"}):s&&(o=E(E({},o),pe(s)))}else ue.test(n.stem)?o=E(E({},o),pe(n.stem)):((s=me(n.stem))&&(o=E(E({},o),s)),(i=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)),!he.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(o=E(E({},o),i)))}return o}var ge={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 ye=new RegExp("^".concat(o.source,"*")),Ee=new RegExp("".concat(o.source,"*$"));function b(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,be=!!String.fromCodePoint,ve=!!Object.fromEntries,we=!!String.prototype.codePointAt,Se=!!String.prototype.trimStart,Ae=!!String.prototype.trimEnd,Te=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Pe=!0;try{Pe="a"===(null==(je=Re("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:je[0])}catch(tt){Pe=!1}var He,Ce,_e=o?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Be=be?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,i="",n=e.length,s=0;s<n;){if(1114111<(r=e[s++]))throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},Le=ve?Object.fromEntries:function(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r],s=n[0],n=n[1];t[s]=n}return t},Ie=we?function(e,t){return e.codePointAt(t)}:function(e,t){var r,i=e.length;if(!(t<0||i<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536},Ne=Se?function(e){return e.trimStart()}:function(e){return e.replace(ye,"")},Oe=Ae?function(e){return e.trimEnd()}:function(e){return e.replace(Ee,"")};function Re(e,t){return new RegExp(e,t)}Ce=Pe?(He=Re("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return He.lastIndex=t,null!=(t=He.exec(e)[1])?t:""}):function(e,t){for(var r,i=[];;){var n=Ie(e,t);if(void 0===n||xe(n)||33<=(r=n)&&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;i.push(n),t+=65536<=n?2:1}return Be.apply(void 0,i)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var n,s=this.char();if(123===s){if((n=this.parseArgument(e,r)).err)return n;i.push(n.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(f.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&Ue(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;i.push(n.val)}else{s=this.clonePosition();this.bump(),i.push({type:y.pound,location:b(s,this.clonePosition())})}}}return{val:i,err:null}},a.prototype.parseTag=function(e,t){var r,i=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(n,"/>"),location:b(i,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()||!Ue(this.char())?this.error(f.INVALID_TAG,b(e,this.clonePosition())):(r=this.clonePosition(),n!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,b(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:b(i,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,b(e,this.clonePosition())))):this.error(f.UNCLOSED_TAG,b(i,this.clonePosition()))):this.error(f.INVALID_TAG,b(i,this.clonePosition()))},a.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())},a.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(t);if(n)i+=n;else{n=this.tryParseUnquoted(e,t);if(n)i+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;i+=n}}}r=b(r,this.clonePosition());return{val:{type:y.literal,value:i,location:r},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ue(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.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 Be.apply(void 0,t)},a.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(),Be(r))},a.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,b(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(f.MALFORMED_ARGUMENT,b(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:b(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(f.MALFORMED_ARGUMENT,b(r,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Ce(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:b(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,r,i){var n,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,b(s,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(p=Oe(h.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:b(u,this.clonePosition())}}return(u=this.tryParseArgumentClose(i)).err?u:(m=b(i,this.clonePosition()),l&&_e(null==l?void 0:l.style,"::",0)?(d=Ne(l.style.slice(2)),"number"===o?(h=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?h:{val:{type:y.number,value:r,location:m,style:h.val},err:null}:0===d.length?this.error(f.EXPECT_DATE_TIME_SKELETON,m):(c=d,this.locale&&(c=function(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if("j"===n){for(var s=0;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;var o=1+(1&s),a=s<2?1:3+(s>>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),(ge[t||""]||ge[r||""]||ge["".concat(r,"-001")]||ge["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<o--;)r=l+r}else r+="J"===n?"H":n}return r}(d,this.locale)),p={type:g.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},c.replace(oe,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.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":n.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":n.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":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.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":n.minute=["numeric","2-digit"][t-1];break;case"s":n.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":n.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""}),n):{}},{val:{type:"date"===o?y.date:y.time,value:r,location:m,style:p},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:r,location:m,style:null!=(d=null==l?void 0:l.style)?d:null},err:null});case"plural":case"selectordinal":case"select":var c=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,b(c,E({},c)));this.bumpSpace();var h,p=this.parseIdentifierIfPossible(),m=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(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(),p=this.parseIdentifierIfPossible(),m=h.val}var d,l=this.tryParsePluralOrSelectOptions(e,o,t,p);return l.err?l:(u=this.tryParseArgumentClose(i)).err?u:(d=b(i,this.clonePosition()),"select"===o?{val:{type:y.select,value:r,options:Le(l.val),location:d},err:null}:{val:{type:y.plural,value:r,options:Le(l.val),offset:m,pluralType:"plural"===o?"cardinal":"ordinal",location:d},err:null});default:return this.error(f.INVALID_ARGUMENT_TYPE,b(s,a))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.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,b(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}},a.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,i=e.split(ae).filter(function(e){return 0<e.length});r<i.length;r++){var n=i[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var s=n[0],n=n.slice(1),o=0,a=n;o<a.length;o++)if(0===a[o].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:n})}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?fe(r):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var n=!1,s=[],o=new Set,a=i.value,l=i.location;;){if(0===a.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=b(u,this.clonePosition()),a=this.message.slice(u.offset,this.offset())}if(o.has(a))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();c=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,r);if(u.err)return u;var h=this.tryParseArgumentClose(c);if(h.err)return h;s.push([a,{value:u.val,location:b(c,this.clonePosition())}]),o.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===s.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(f.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:s,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,s=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;n=!0,s=10*s+(o-48),this.bump()}i=b(i,this.clonePosition());return n?Te(s*=r)?{val:s,err:null}:this.error(t,i):this.error(e,i)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ie(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.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))},a.prototype.bumpIf=function(e){if(_e(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.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)},a.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}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&xe(this.char());)this.bump()},a.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 Me=a;function a(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 Ue(e){return 97<=e&&e<=122||65<=e&&e<=90}function xe(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function ke(e,t){t=E({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Me(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,te(e)||re(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else X(e)&&ne(e.style)||(K(e)||ee(e))&&se(e.style)?delete e.style.location:ie(e)&&r(e.children)})}(e.val),e.val}function De(e,t){var r=t&&t.cache?t.cache:Qe,i=t&&t.serializer?t.serializer:Ve;return(t&&t.strategy?t.strategy:function(e,t){return $e(e,this,1===e.length?Ge:Fe,t.cache.create(),t.serializer)})(e,{cache:r,serializer:i})}function Ge(e,t,r,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),n=t.get(r);return void 0===n&&(n=e.call(this,i),t.set(r,n)),n}function Fe(e,t,r){var i=Array.prototype.slice.call(arguments,3),r=r(i),n=t.get(r);return void 0===n&&(n=e.apply(this,i),t.set(r,n)),n}function $e(e,t,r,i,n){return r.bind(t,e,i,n)}var Ve=function(){return JSON.stringify(arguments)};function ze(){this.cache=Object.create(null)}ze.prototype.get=function(e){return this.cache[e]},ze.prototype.set=function(e,t){this.cache[e]=t};var v,je,Qe={create:function(){return new ze}},Ze={variadic:function(e,t){return $e(e,this,Fe,t.cache.create(),t.serializer)},monadic:function(e,t){return $e(e,this,Ge,t.cache.create(),t.serializer)}};(je=v=v||{}).MISSING_VALUE="MISSING_VALUE",je.INVALID_VALUE="INVALID_VALUE",je.MISSING_INTL_API="MISSING_INTL_API";j(gt,qe=Error),gt.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var w,Xe,Ke,Ye,qe,We=gt,Je=(j(ft,Ye=We),ft),et=(j(dt,Ke=We),dt),pt=(j(mt,Xe=We),mt);function mt(e,t){return Xe.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),v.MISSING_VALUE,t)||this}function dt(e,t,r){return Ke.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),v.INVALID_VALUE,r)||this}function ft(e,t,r,i){return Ye.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),v.INVALID_VALUE,i)||this}function gt(e,t,r){e=qe.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function yt(e,t,r,i,n,s,o){if(1===e.length&&Z(e[0]))return[{type:w.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Z(c))a.push({type:w.literal,value:c.value});else if(c.type===y.pound)"number"==typeof s&&a.push({type:w.literal,value:r.getNumberFormat(t).format(s)});else{var h=c.value;if(!(n&&h in n))throw new pt(h,o);h=n[h];if(c.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?w.literal:w.object,value:h});else if(K(c)){var p="string"==typeof c.style?i.date[c.style]:se(c.style)?c.style.parsedOptions:void 0;a.push({type:w.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(ee(c))p="string"==typeof c.style?i.time[c.style]:se(c.style)?c.style.parsedOptions:i.time.medium,a.push({type:w.literal,value:r.getDateTimeFormat(t,p).format(h)});else if(X(c))(p="string"==typeof c.style?i.number[c.style]:ne(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),a.push({type:w.literal,value:r.getNumberFormat(t,p).format(h)});else{if(ie(c)){var m=c.children,d=c.value,f=n[d];if("function"!=typeof f)throw new et(d,"function",o);d=f(yt(m,t,r,i,n,s).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(e){return{type:"string"==typeof e?w.literal:w.object,value:e}}))}if(te(c)){if(!(g=c.options[h]||c.options.other))throw new Je(c.value,h,Object.keys(c.options),o);a.push.apply(a,yt(g.value,t,r,i,n))}else if(re(c)){if(!(g=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new We('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',v.MISSING_INTL_API,o);var f=r.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),g=c.options[f]||c.options.other}if(!g)throw new Je(c.value,h,Object.keys(c.options),o);a.push.apply(a,yt(g.value,t,r,i,n,h-(c.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===w.literal&&t.type===w.literal?r.value+=t.value:e.push(t),e},[])}function Et(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(o=w=w||{})[o.literal=0]="literal",o[o.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=ke,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 bt=l;function l(e,t,r,i){var n,s,o=this;if(void 0===t&&(t=l.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===w.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 yt(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.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==i?void 0:i.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=(n=l.formats,(s=r)?Object.keys(n).reduce(function(e,t){var r,i;return e[t]=(r=n[t],(i=s[t])?E(E(E({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=E(E({},r[t]),i[t]||{}),e},{})):r),e},E({},n)):n),this.formatters=i&&i.formatters||{getNumberFormat:De(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:Et((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Ze.variadic}),getDateTimeFormat:De(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:Et(t.dateTime),strategy:Ze.variadic}),getPluralRules:De(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:Et(t.pluralRules),strategy:Ze.variadic})}}const u={},vt=(e,t,r)=>r&&(t in u||(u[t]={}),e in u[t]||(u[t][e]=r),r),wt=(t,r)=>{if(null!=r){if(r in u&&t in u[r])return u[r][t];var i=Mt(r);for(let e=0;e<i.length;e++){var n=function(e,t){if(!Tt(e))return null;e=function(e){return St[e]||null}(e);{var r=t;if(null!=r){if(r in e)return e[r];var i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}}(i[e],t);if(n)return vt(t,r,n)}}};let St;const At=R({});function Tt(e){return e in St}function Pt(t,...r){delete u[t],At.update(e=>(e[t]=V.all([e[t]||{},...r]),e))}i([At],([e])=>Object.keys(e)),At.subscribe(e=>St=e);const Ht={};function Ct(e){return Ht[e]}function _t(e){return null!=e&&Mt(e).some(e=>{return null==(e=Ct(e))?void 0:e.size})}const Bt={};function Lt(e){var t;return _t(e)?(t=Mt(e).map(e=>{var t=Ct(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Bt[e]=Promise.all(t.map(([e,t])=>{return i=e,Promise.all(t.map(e=>{return t=i,r=e,Ht[t].delete(r),0===Ht[t].size&&delete Ht[t],e().then(e=>e.default||e);var t,r})).then(e=>Pt(i,...e));var i})).then(()=>{if(_t(e))return Lt(e);delete Bt[e]}),Bt[e]):e in Bt?Bt[e]:Promise.resolve()}const c={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const It=R(!1);let Nt;const Ot=R(null);function Rt(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Mt(e,t=c.fallbackLocale){e=Rt(e);return t?[...new Set([...e,...Rt(t)])]:e}function h(){return null!=Nt?Nt:void 0}Ot.subscribe(e=>{Nt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const W={...Ot,set:t=>{if(t&&function(e){if(null!=e){var t=Mt(e);for(let e=0;e<t.length;e++){var r=t[e];if(Tt(r))return r}}}(t)&&_t(t)){var r=c["loadingDelay"];let e;return"undefined"!=typeof window&&null!=h()&&r?e=window.setTimeout(()=>It.set(!0),r):It.set(!0),Lt(t).then(()=>{Ot.set(t)}).finally(()=>{clearTimeout(e),It.set(!1)})}return Ot.set(t)}},Ut=r=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=r(e)}},xt=(e,t)=>{var r=c["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},kt=Ut(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(r=xt("number",t)),new Intl.NumberFormat(e,r)}),Dt=Ut(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?r=xt("date",t):0===Object.keys(r).length&&(r=xt("date","short")),new Intl.DateTimeFormat(e,r)}),Gt=Ut(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?r=xt("time",t):0===Object.keys(r).length&&(r=xt("time","short")),new Intl.DateTimeFormat(e,r)}),Ft=Ut((e,t=h())=>new bt(e,t,c.formats,{ignoreTag:c.ignoreTag})),$t=i([W,At],()=>(e,t={})=>{var r,i;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:s,locale:o=h(),default:a}=n;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=wt(e,o);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!=(i=null!=(r=null==(r=(i=c).handleMissingMessage)?void 0:r.call(i,{locale:o,id:e,defaultValue:a}))?r:a)?i:e;if(!s)return l;let u=l;try{u=Ft(l,o).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u});function Vt(e,t){Pt(e,t)}i([W],()=>(e,t)=>{return[{locale:t=h(),...r}={}]=[t],Gt({locale:t,...r}).format(e);var r}),i([W],()=>(e,t)=>{return[{locale:t=h(),...r}={}]=[t],Dt({locale:t,...r}).format(e);var r}),i([W],()=>(e,t)=>{return[{locale:t=h(),...r}={}]=[t],kt({locale:t,...r}).format(e);var r}),i([W,At],()=>(e,t=h())=>wt(e,t));const zt={en:{registerTitle:"Create your account",registerSubtitle:"Already have an account?",registerSubtitleLogin:"Login",registerEmail:"Email",registerEmailError:"Email should contain '@' and a 2-3 letter long domain.",registerUsername:"Username",registerUsernameError:"Name must be at least 4-20 characters long and contain no special characters.",registerPassword:"Password",registerPasswordError:"Password must be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",registerSimplePasswordError:"Password must be 8-20 characters long.",registerConfirmPassword:"Confirm Password",registerConfirmPasswordError:"It doesn't match the password.",registerSecurityQuestion:"Security Question",registerSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",registerSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",registerSecurityQuestionError2:"Only letters and numbers are accepted.",registerSecurityAnswer:"Security Answer",registerSecurityAnswer2:"Document Number",registerSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",registerSecurityAnswerError2:"Only letters and numbers are accepted.",registerNext:"Next"},"zh-hk":{registerTitle:"創建您的帳戶",registerSubtitle:"已經有一個帳戶?",registerSubtitleLogin:"登錄",registerEmail:"電子郵件",registerEmailError:"電子郵件應包含“@”和 2-3 個字母長的域。",registerUsername:"用戶名",registerUsernameError:"名稱的長度必須至少為 2 個字符且不包含特殊字符。",registerPassword:"密碼",registerPasswordError:"密碼長度必須為 8-20 個字符,並且至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",registerSimplePasswordError:"密码长度必须为 8-20 个字符。",registerConfirmPassword:"確認密碼",registerConfirmPasswordError:"它與密碼不匹配。",registerSecurityQuestion:"安全問題",registerSecurityQuestionError:"安全問題的長度必須至少為 1 個字符,最多 120 個字符。",registerSecurityAnswer:"安全答案",registerSecurityAnswerError:"安全答案的長度必須至少為 1 個字符,最多為 120 個字符。",registerNext:"下一個"},fr:{registerTitle:"Créez votre compte",registerSubtitle:"Vous avez déjà un compte?",registerSubtitleLogin:"Connexion ",registerEmail:"Email",registerEmailError:"L'adresse mail doit comporter un '@' et un nom de domaine de 2 à 3 lettres.",registerUsername:"Nom d'utilisateur ",registerUsernameError:"Le nom doit être composé d'au moins 2 caractères et ne doitpas contenir de caractères spéciaux.",registerPassword:"Mot de passe",registerPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial.",registerSimplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",registerConfirmPassword:"Confirmer le mot de passe",registerConfirmPasswordError:"ça ne correspond pas au mot de passe.",registerSecurityQuestion:"Questions de sécurité",registerSecurityQuestionError:"La question de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerSecurityAnswer:"Réponse de sécurité",registerSecurityAnswerError:"La réponse de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerNext:"Suivant"},tr:{registerTitle:"Hesabını oluştur",registerSubtitle:"Zaten hesabınız var mı?",registerSubtitleLogin:"Giriş yapmak",registerEmail:"E-posta",registerEmailError:"E-posta '@' ve 2-3 harf uzunluğunda bir etki alanı içermelidir.",registerUsername:"Kullanıcı adı",registerUsernameError:"Ad en az 4-20 karakter uzunluğunda olmalı ve özel karakter içermemelidir.",registerPassword:"Parola",registerPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",registerSimplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalıdır.",registerConfirmPassword:"Şifreyi Onayla",registerConfirmPasswordError:"Şifreyle eşleşmiyor.",registerSecurityQuestion:"Güvenlik Sorusu",registerSecurityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",registerSecurityAnswer:"Güvenlik cevabı",registerSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",registerNext:"Sonraki"},ro:{registerTitle:"Creaza cont",registerSubtitle:"Ai deja cont?",registerSubtitleLogin:"Autentifica-te",registerEmail:"Email",registerEmailError:"Email-ul ar trebui sa contina '@' si 2-3 litere.",registerUsername:"Utilizator",registerUsernameError:"Utilizatorul trebuie sa fie cuprins intre 4-20 litere si sa nu contina caractere speciale.",registerPassword:"Parola",registerPasswordError:"Parola trebuie sa fie cuprinsa intre 8 si 20 de caractere, cel putin o litera mare, cel putin un numar si cel putin un caracter special.",registerSimplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",registerConfirmPassword:"Confirma Parola",registerConfirmPasswordError:"Confirmarea parolei trebuie sa fie la fel cu parola",registerSecurityQuestion:"Intrebare de Securitate",registerSecurityQuestionError:"Intrebarea de securitate trebuie sa fie cuprinsa intre 1 si 120 de litere.",registerSecurityAnswer:"Raspuns de Securitate",registerSecurityAnswerError:"Raspunsul de securitate trebuie sa fie cuprins intre 1 si 120 de litere",registerNext:"Urmatorul"},es:{registerTitle:"Crea tu cuenta",registerSubtitle:"Ya tiene cuenta?",registerSubtitleLogin:"Iniciar sesión",registerEmail:"Email",registerEmailError:"Email debe contener '@' y un dominio de 2 a 3 letras.",registerUsername:"Usuario",registerUsernameError:"El nombre de Usuario debe tener mínimo 4 y máximo 20 caracteres y no contener caracteres especiales.",registerPassword:"Contraseña",registerPasswordError:"La contraseña debe tener de 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",registerSimplePasswordError:"La contraseña debe tener entre 8 y 20 caracteres.",registerConfirmPassword:"Confirmar Contraseña",registerConfirmPasswordError:"La contraseña no coincide.",registerSecurityQuestion:"Pregunta de seguridad",registerSecurityQuestion2:"Tipo de Documento (DNI, CE o Pasaporte)",registerSecurityQuestionError:"La Pregunta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityQuestionError2:"Solo se aceptan letras y números.",registerSecurityAnswer:"Respuesta de seguridad",registerSecurityAnswer2:"Número de Documento",registerSecurityAnswerError:"La Respuesta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityAnswerError2:"Solo se aceptan letras y números.",registerNext:"Siguiente"},pt:{registerTitle:"Crie a sua conta",registerSubtitle:"Já tem uma conta?",registerSubtitleLogin:"Entrar",registerEmail:"E-mail",registerEmailError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",registerUsername:"Nome do usuário",registerUsernameError:"O nome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerPassword:"Senha",registerPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",registerSimplePasswordError:"A senha deve ter de 8 a 20 caracteres.",registerConfirmPassword:"Confirme a sua senha",registerConfirmPasswordError:"Não corresponde à senha.",registerSecurityQuestion:"Pergunta de segurança",registerSecurityQuestionError:"A pergunta de segurança deve ter no mínimo 1 caractere e no máximo 120 caracteres.",registerSecurityAnswer:"Resposta de segurança",registerSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",registerNext:"Próximo"}};function jt(e){let r,i,n=e[28]("registerEmailError")+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerEmailError")+"")&&ct(i,n)},d(e){e&&st(r)}}}function Qt(e){let r,i,n=e[28]("registerUsernameError")+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerUsernameError")+"")&&ct(i,n)},d(e){e&&st(r)}}}function Zt(r){let i,n,s,o,a,l,u,c,h;return{c(){i=e("svg"),n=e("defs"),s=e("style"),o=ot(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-dunkel, #07072A));}"),a=e("g"),l=e("path"),u=e("circle"),ut(l,"class","a"),ut(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),ut(l,"transform","translate(0)"),ut(u,"class","a"),ut(u,"cx","2.779"),ut(u,"cy","2.779"),ut(u,"r","2.779"),ut(u,"transform","translate(20.827 30.303)"),ut(a,"transform","translate(-14.185 -27.832)"),ut(i,"class","TogglePasswordVisibility"),ut(i,"xmlns","http://www.w3.org/2000/svg"),ut(i,"width","18.843"),ut(i,"height","10.5"),ut(i,"viewBox","0 0 18.843 10.5")},m(e,t){nt(e,i,t),it(i,n),it(n,s),it(s,o),it(i,a),it(a,l),it(a,u),c||(h=lt(i,"click",r[59]),c=!0)},p:tt,d(e){e&&st(i),c=!1,h()}}}function Xt(r){let i,n,s,o,a,l,u,c,h,p,m,d,f,g,y;return{c(){i=e("svg"),n=e("defs"),s=e("style"),o=ot(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-dunkel, #07072A));}"),a=e("g"),l=e("circle"),u=e("g"),c=e("path"),h=e("path"),p=e("g"),m=e("path"),d=e("path"),f=e("rect"),ut(l,"class","a"),ut(l,"cx","0.05"),ut(l,"cy","0.05"),ut(l,"r","0.05"),ut(l,"transform","translate(121.017 31.148)"),ut(c,"class","a"),ut(c,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),ut(c,"transform","translate(-142.164 -39.123)"),ut(h,"class","a"),ut(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),ut(h,"transform","translate(-136.413 -42.068)"),ut(u,"transform","translate(117.499 27.37)"),ut(m,"class","a"),ut(m,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),ut(m,"transform","translate(-110.856 -33.157)"),ut(d,"class","a"),ut(d,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),ut(d,"transform","translate(-130.743 -29.617)"),ut(p,"transform","translate(110.856 24.899)"),ut(f,"class","a"),ut(f,"width","0.972"),ut(f,"height","15.861"),ut(f,"rx","0.486"),ut(f,"transform","translate(114.827 23.858) rotate(-39.315)"),ut(a,"transform","translate(-110.856 -23.242)"),ut(i,"class","TogglePasswordVisibility"),ut(i,"xmlns","http://www.w3.org/2000/svg"),ut(i,"width","18.844"),ut(i,"height","12.887"),ut(i,"viewBox","0 0 18.844 12.887")},m(e,t){nt(e,i,t),it(i,n),it(n,s),it(s,o),it(i,a),it(a,l),it(a,u),it(u,c),it(u,h),it(a,p),it(p,m),it(p,d),it(a,f),g||(y=lt(i,"click",r[58]),g=!0)},p:tt,d(e){e&&st(i),g=!1,y()}}}function Kt(e){let r,i,n=e[28]("registerPasswordError")+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerPasswordError")+"")&&ct(i,n)},d(e){e&&st(r)}}}function Yt(e){let r,i,n=e[28]("registerSimplePasswordError")+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerSimplePasswordError")+"")&&ct(i,n)},d(e){e&&st(r)}}}function qt(r){let i,n,s,o,a,l,u,c,h;return{c(){i=e("svg"),n=e("defs"),s=e("style"),o=ot(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-dunkel, #07072A));}"),a=e("g"),l=e("path"),u=e("circle"),ut(l,"class","a"),ut(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),ut(l,"transform","translate(0)"),ut(u,"class","a"),ut(u,"cx","2.779"),ut(u,"cy","2.779"),ut(u,"r","2.779"),ut(u,"transform","translate(20.827 30.303)"),ut(a,"transform","translate(-14.185 -27.832)"),ut(i,"class","ToggleConfirmPasswordVisibility"),ut(i,"xmlns","http://www.w3.org/2000/svg"),ut(i,"width","18.843"),ut(i,"height","10.5"),ut(i,"viewBox","0 0 18.843 10.5")},m(e,t){nt(e,i,t),it(i,n),it(n,s),it(s,o),it(i,a),it(a,l),it(a,u),c||(h=lt(i,"click",r[65]),c=!0)},p:tt,d(e){e&&st(i),c=!1,h()}}}function Wt(r){let i,n,s,o,a,l,u,c,h,p,m,d,f,g,y;return{c(){i=e("svg"),n=e("defs"),s=e("style"),o=ot(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-dunkel, #07072A));}"),a=e("g"),l=e("circle"),u=e("g"),c=e("path"),h=e("path"),p=e("g"),m=e("path"),d=e("path"),f=e("rect"),ut(l,"class","a"),ut(l,"cx","0.05"),ut(l,"cy","0.05"),ut(l,"r","0.05"),ut(l,"transform","translate(121.017 31.148)"),ut(c,"class","a"),ut(c,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),ut(c,"transform","translate(-142.164 -39.123)"),ut(h,"class","a"),ut(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),ut(h,"transform","translate(-136.413 -42.068)"),ut(u,"transform","translate(117.499 27.37)"),ut(m,"class","a"),ut(m,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),ut(m,"transform","translate(-110.856 -33.157)"),ut(d,"class","a"),ut(d,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),ut(d,"transform","translate(-130.743 -29.617)"),ut(p,"transform","translate(110.856 24.899)"),ut(f,"class","a"),ut(f,"width","0.972"),ut(f,"height","15.861"),ut(f,"rx","0.486"),ut(f,"transform","translate(114.827 23.858) rotate(-39.315)"),ut(a,"transform","translate(-110.856 -23.242)"),ut(i,"class","ToggleConfirmPasswordVisibility"),ut(i,"xmlns","http://www.w3.org/2000/svg"),ut(i,"width","18.844"),ut(i,"height","12.887"),ut(i,"viewBox","0 0 18.844 12.887")},m(e,t){nt(e,i,t),it(i,n),it(n,s),it(s,o),it(i,a),it(a,l),it(a,u),it(u,c),it(u,h),it(a,p),it(p,m),it(p,d),it(a,f),g||(y=lt(i,"click",r[64]),g=!0)},p:tt,d(e){e&&st(i),g=!1,y()}}}function Jt(e){let r,i,n=e[28]("registerConfirmPasswordError")+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerConfirmPasswordError")+"")&&ct(i,n)},d(e){e&&st(r)}}}function er(e){let r,i,n=("true"==e[2]?e[28]("registerSecurityQuestionError2"):e[28]("registerSecurityQuestionError"))+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435460&t[0]&&n!==(n=("true"==e[2]?e[28]("registerSecurityQuestionError2"):e[28]("registerSecurityQuestionError"))+"")&&ct(i,n)},d(e){e&&st(r)}}}function tr(e){let r,i,n=("true"==e[2]?e[28]("registerSecurityAnswerError2"):e[28]("registerSecurityAnswerError"))+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435460&t[0]&&n!==(n=("true"==e[2]?e[28]("registerSecurityAnswerError2"):e[28]("registerSecurityAnswerError"))+"")&&ct(i,n)},d(e){e&&st(r)}}}function rr(r){let i,n,s,k,D,o,G,F,a,$,V,l,u,c,z,j,Q,Z,h,X,p,K,m,d,Y,q,W,J,f,ee,te,re,ie,g,y,ne,se,oe,ae,E,le,ue,ce,he,pe,me,de,b,v,fe,ge,ye,Ee,w,be,ve,we,Se,S,A,Ae,Te,Pe,He,T,Ce,_e,Be,P,H,Le,Ie,Ne,Oe,C,Re,Me,Ue,_,xe,ke,De,Ge,Fe=r[28]("registerTitle")+"",$e=r[28]("registerSubtitle")+"",Ve=r[28]("registerSubtitleLogin")+"",ze=r[28]("registerEmail")+"",je=r[28]("registerUsername")+"",Qe=r[28]("registerPassword")+"",Ze=r[28]("registerConfirmPassword")+"",Xe=("true"==r[2]?r[28]("registerSecurityQuestion2"):r[28]("registerSecurityQuestion"))+"",Ke=("true"==r[2]?r[28]("registerSecurityAnswer2"):r[28]("registerSecurityAnswer"))+"",Ye=r[28]("registerNext")+"",B=r[4]&&jt(r),L=r[5]&&Qt(r);function qe(e){return e[23]?Xt:Zt}let We=qe(r),I=We(r),N=r[6]&&"true"!==r[0]&&Kt(r),O=r[6]&&"true"===r[0]&&Yt(r);function Je(e){return e[24]?Wt:qt}let et=Je(r),R=et(r),M=r[7]&&Jt(r),U=r[8]&&er(r),x=r[9]&&tr(r);return{c(){i=t("div"),n=t("div"),s=t("h2"),k=ot(Fe),D=at(),o=t("p"),G=ot($e),F=at(),a=t("span"),$=ot(Ve),V=at(),l=t("form"),u=t("div"),c=t("label"),z=ot(ze),j=ot(":"),(Q=t("span")).textContent="*",Z=at(),h=t("input"),X=at(),B&&B.c(),K=at(),m=t("div"),d=t("label"),Y=ot(je),q=ot(":"),(W=t("span")).textContent="*",J=at(),f=t("input"),te=at(),L&&L.c(),ie=at(),g=t("div"),y=t("label"),ne=ot(Qe),se=ot(":"),(oe=t("span")).textContent="*",ae=at(),E=t("input"),ue=at(),I.c(),ce=at(),N&&N.c(),he=at(),O&&O.c(),de=at(),b=t("div"),v=t("label"),fe=ot(Ze),ge=ot(":"),(ye=t("span")).textContent="*",Ee=at(),w=t("input"),be=at(),R.c(),ve=at(),M&&M.c(),Se=at(),S=t("div"),A=t("label"),Ae=ot(Xe),Te=ot(":"),(Pe=t("span")).textContent="*",He=at(),T=t("input"),Ce=at(),U&&U.c(),Be=at(),P=t("div"),H=t("label"),Le=ot(Ke),Ie=ot(":"),(Ne=t("span")).textContent="*",Oe=at(),C=t("input"),Re=at(),x&&x.c(),Ue=at(),_=t("button"),xe=ot(Ye),this.c=tt,ut(s,"class","RegisterFormTitle"),ut(a,"class","FormLoginCallToAction"),ut(o,"class","RegisterFormSubtitle"),ut(n,"class","RegisterFormHeader"),ut(Q,"class","FormRequired"),ut(c,"for","Email"),ut(h,"type","text"),ut(h,"id","Email"),ut(u,"class",p="EmailContainer "+(r[4]&&!r[10]?"InvalidField":"")+(0<=r[16]?.indexOf("email")?"Hidden":"")),ut(W,"class","FormRequired"),ut(d,"for","UserName"),ut(f,"type","text"),ut(f,"id","UserName"),ut(f,"autocomplete",ee=r[1]?"username":"off"),ut(m,"class",re="UserContainer "+(r[5]&&!r[11]?"InvalidField":"")+(0<=r[16]?.indexOf("username")?"Hidden":"")),ut(oe,"class","FormRequired"),ut(y,"for","Password"),ut(E,"name","new-password"),ut(E,"type","password"),ut(E,"id","new-password"),ut(E,"autocomplete",le=r[1]?"new-password":"off"),ut(E,"aria-describedby","password-constraints"),ut(g,"class",pe="PasswordContainer "+(r[6]&&!r[12]?"InvalidField":"")+(0<=r[16]?.indexOf("password")?"Hidden":"")),g.hidden=me=0<=r[16]?.indexOf("password"),ut(ye,"class","FormRequired"),ut(v,"for","ConfirmPassword"),ut(w,"type","password"),ut(w,"id","ConfirmPassword"),ut(b,"class",we="ConfirmPasswordContainer "+(r[7]&&!r[13]?"InvalidField":"")+(0<=r[16]?.indexOf("confirmPassword")?"Hidden":"")),ut(Pe,"class","FormRequired"),ut(A,"for","SecurityQuestion"),ut(T,"type","text"),ut(T,"id","SecurityQuestion"),ut(S,"class",_e="SecurityQuestionContainer "+(r[8]&&!r[14]?"InvalidField":"")+(0<=r[16]?.indexOf("securityQuestion")?"Hidden":"")),ut(Ne,"class","FormRequired"),ut(H,"for","SecurityAnswer"),ut(C,"type","text"),ut(C,"id","SecurityAnswer"),ut(P,"class",Me="SecurityAnswerContainer "+(r[9]&&!r[15]?"InvalidField":"")+(0<=r[16]?.indexOf("securityAnswer")?"Hidden":"")),ut(_,"class","RegisterStepNext"),_.disabled=ke=!r[27],ut(l,"class","RegisterFormContent")},m(e,t){nt(e,i,t),it(i,n),it(n,s),it(s,k),it(n,D),it(n,o),it(o,G),it(o,F),it(o,a),it(a,$),it(i,V),it(i,l),it(l,u),it(u,c),it(c,z),it(c,j),it(c,Q),it(u,Z),it(u,h),ht(h,r[18]),it(u,X),B&&B.m(u,null),it(l,K),it(l,m),it(m,d),it(d,Y),it(d,q),it(d,W),it(m,J),it(m,f),ht(f,r[17]),it(m,te),L&&L.m(m,null),it(l,ie),it(l,g),it(g,y),it(y,ne),it(y,se),it(y,oe),it(g,ae),it(g,E),ht(E,r[19]),r[57](E),it(g,ue),I.m(g,null),it(g,ce),N&&N.m(g,null),it(g,he),O&&O.m(g,null),it(l,de),it(l,b),it(b,v),it(v,fe),it(v,ge),it(v,ye),it(b,Ee),it(b,w),ht(w,r[20]),r[63](w),it(b,be),R.m(b,null),it(b,ve),M&&M.m(b,null),it(l,Se),it(l,S),it(S,A),it(A,Ae),it(A,Te),it(A,Pe),it(S,He),it(S,T),ht(T,r[21]),it(S,Ce),U&&U.m(S,null),it(l,Be),it(l,P),it(P,H),it(H,Le),it(H,Ie),it(H,Ne),it(P,Oe),it(P,C),ht(C,r[22]),it(P,Re),x&&x.m(P,null),it(l,Ue),it(l,_),it(_,xe),r[73](i),De||(Ge=[lt(a,"click",r[47]),lt(h,"input",r[48]),lt(h,"keyup",r[30]),lt(h,"focus",r[49]),lt(h,"blur",r[50]),lt(f,"input",r[51]),lt(f,"keyup",r[31]),lt(f,"focus",r[52]),lt(f,"blur",r[53]),lt(E,"input",r[54]),lt(E,"keyup",r[36]),lt(E,"focus",r[55]),lt(E,"blur",r[56]),lt(w,"input",r[60]),lt(w,"keyup",r[37]),lt(w,"focus",r[61]),lt(w,"blur",r[62]),lt(T,"input",r[66]),lt(T,"keyup",r[38]),lt(T,"focus",r[67]),lt(T,"blur",r[68]),lt(C,"input",r[69]),lt(C,"keyup",r[39]),lt(C,"focus",r[70]),lt(C,"blur",r[71]),lt(_,"click",r[72])],De=!0)},p(e,t){268435456&t[0]&&Fe!==(Fe=e[28]("registerTitle")+"")&&ct(k,Fe),268435456&t[0]&&$e!==($e=e[28]("registerSubtitle")+"")&&ct(G,$e),268435456&t[0]&&Ve!==(Ve=e[28]("registerSubtitleLogin")+"")&&ct($,Ve),268435456&t[0]&&ze!==(ze=e[28]("registerEmail")+"")&&ct(z,ze),262144&t[0]&&h.value!==e[18]&&ht(h,e[18]),e[4]?B?B.p(e,t):((B=jt(e)).c(),B.m(u,null)):B&&(B.d(1),B=null),66576&t[0]&&p!==(p="EmailContainer "+(e[4]&&!e[10]?"InvalidField":"")+(0<=e[16]?.indexOf("email")?"Hidden":""))&&ut(u,"class",p),268435456&t[0]&&je!==(je=e[28]("registerUsername")+"")&&ct(Y,je),2&t[0]&&ee!==(ee=e[1]?"username":"off")&&ut(f,"autocomplete",ee),131072&t[0]&&f.value!==e[17]&&ht(f,e[17]),e[5]?L?L.p(e,t):((L=Qt(e)).c(),L.m(m,null)):L&&(L.d(1),L=null),67616&t[0]&&re!==(re="UserContainer "+(e[5]&&!e[11]?"InvalidField":"")+(0<=e[16]?.indexOf("username")?"Hidden":""))&&ut(m,"class",re),268435456&t[0]&&Qe!==(Qe=e[28]("registerPassword")+"")&&ct(ne,Qe),2&t[0]&&le!==(le=e[1]?"new-password":"off")&&ut(E,"autocomplete",le),524288&t[0]&&E.value!==e[19]&&ht(E,e[19]),We===(We=qe(e))&&I?I.p(e,t):(I.d(1),(I=We(e))&&(I.c(),I.m(g,ce))),e[6]&&"true"!==e[0]?N?N.p(e,t):((N=Kt(e)).c(),N.m(g,he)):N&&(N.d(1),N=null),e[6]&&"true"===e[0]?O?O.p(e,t):((O=Yt(e)).c(),O.m(g,null)):O&&(O.d(1),O=null),69696&t[0]&&pe!==(pe="PasswordContainer "+(e[6]&&!e[12]?"InvalidField":"")+(0<=e[16]?.indexOf("password")?"Hidden":""))&&ut(g,"class",pe),65536&t[0]&&me!==(me=0<=e[16]?.indexOf("password"))&&(g.hidden=me),268435456&t[0]&&Ze!==(Ze=e[28]("registerConfirmPassword")+"")&&ct(fe,Ze),1048576&t[0]&&w.value!==e[20]&&ht(w,e[20]),et===(et=Je(e))&&R?R.p(e,t):(R.d(1),(R=et(e))&&(R.c(),R.m(b,ve))),e[7]?M?M.p(e,t):((M=Jt(e)).c(),M.m(b,null)):M&&(M.d(1),M=null),73856&t[0]&&we!==(we="ConfirmPasswordContainer "+(e[7]&&!e[13]?"InvalidField":"")+(0<=e[16]?.indexOf("confirmPassword")?"Hidden":""))&&ut(b,"class",we),268435460&t[0]&&Xe!==(Xe=("true"==e[2]?e[28]("registerSecurityQuestion2"):e[28]("registerSecurityQuestion"))+"")&&ct(Ae,Xe),2097152&t[0]&&T.value!==e[21]&&ht(T,e[21]),e[8]?U?U.p(e,t):((U=er(e)).c(),U.m(S,null)):U&&(U.d(1),U=null),82176&t[0]&&_e!==(_e="SecurityQuestionContainer "+(e[8]&&!e[14]?"InvalidField":"")+(0<=e[16]?.indexOf("securityQuestion")?"Hidden":""))&&ut(S,"class",_e),268435460&t[0]&&Ke!==(Ke=("true"==e[2]?e[28]("registerSecurityAnswer2"):e[28]("registerSecurityAnswer"))+"")&&ct(Le,Ke),4194304&t[0]&&C.value!==e[22]&&ht(C,e[22]),e[9]?x?x.p(e,t):((x=tr(e)).c(),x.m(P,null)):x&&(x.d(1),x=null),98816&t[0]&&Me!==(Me="SecurityAnswerContainer "+(e[9]&&!e[15]?"InvalidField":"")+(0<=e[16]?.indexOf("securityAnswer")?"Hidden":""))&&ut(P,"class",Me),268435456&t[0]&&Ye!==(Ye=e[28]("registerNext")+"")&&ct(xe,Ye),134217728&t[0]&&ke!==(ke=!e[27])&&(_.disabled=ke)},i:tt,o:tt,d(e){e&&st(i),B&&B.d(),L&&L.d(),r[57](null),I.d(),N&&N.d(),O&&O.d(),r[63](null),R.d(),M&&M.d(),U&&U.d(),x&&x.d(),r[73](null),De=!1,rt(Ge)}}}function ir(t,e,r){let U;var i=$t;t.$$.on_destroy.push(J(i,e=>r(28,U=e)));let n,s,o,a,{lang:l=""}=e,{disabledfields:u=""}=e,{defaultoptions:x=""}=e,{simplepasswordvalidation:c="false"}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{translationurl:m=""}=e,{savecredentials:k=""}=e,{tempopcustomization:d="false"}=e,f=!1,g=!1,y=!1,E=!1,b=!1,v=!1,w=!1,S=!1,A=!1,T=!1,P=!1,D=!1,H="",C="",_="",B="",L="",I="",N=!1,O=!1,G=!1,R={user:/^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,email:/^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};Object.keys(zt).forEach(e=>{Vt(e,zt[e])});const M=()=>{r(27,G=!(f||g||y||E||b||v)),(H.length<=0||C.length<=0||_.length<=0||B.length<=0||L.length<=0||I.length<=0)&&r(27,G=!1)},F=()=>{window.postMessage({type:"ToLogin"},window.location.href)},$=()=>{r(23,N=!0),Q()},V=()=>{r(24,O=!0),Z()},z=()=>{r(23,N=!1),Q()},j=()=>{r(24,O=!1),Z()},Q=()=>{r(25,s.type=N?"text":"password",s)},Z=()=>{r(26,o.type=O?"text":"password",o)},X=e=>{e.preventDefault();e={userEmail:C,userValue:H,userPassword:_,confirmUserPassword:B,securityQuestion:L,securityAnswer:I};window.postMessage({type:"RegisterStepOne",registerStepOneData:e},window.location.href)},K=e=>{e.data&&"StepOneDataBackup"===e.data.type&&(r(18,C=e.data.userData.email),r(17,H=e.data.userData.username),r(19,_=e.data.userData.password),r(20,B=e.data.userData.password),r(21,L=e.data.userData.securityQuestion),r(22,I=e.data.userData.securityAnswer),M())};return i=()=>(window.addEventListener("message",K,!1),()=>{window.removeEventListener("message",K)}),function(){if(Y)return Y;throw new Error("Function called outside component initialization")}().$$.on_mount.push(i),t.$$set=e=>{"lang"in e&&r(41,l=e.lang),"disabledfields"in e&&r(42,u=e.disabledfields),"defaultoptions"in e&&r(43,x=e.defaultoptions),"simplepasswordvalidation"in e&&r(0,c=e.simplepasswordvalidation),"clientstyling"in e&&r(44,h=e.clientstyling),"clientstylingurl"in e&&r(45,p=e.clientstylingurl),"translationurl"in e&&r(46,m=e.translationurl),"savecredentials"in e&&r(1,k=e.savecredentials),"tempopcustomization"in e&&r(2,d=e.tempopcustomization)},t.$$.update=()=>{if(1024&t.$$.dirty[1]&&l&&(e=l,W.set(e)),2048&t.$$.dirty[1]&&u&&(r(16,n=u.split(",")),0<=n.indexOf("email")&&(r(18,C="dummy@dummy.com"),r(4,f=!1)),0<=n.indexOf("username")&&(r(17,H="dummy username"),r(5,g=!1)),0<=n.indexOf("password")&&(r(19,_="dummy password"),r(6,y=!1)),0<=n.indexOf("confirmPassword")&&(r(20,B="dummy password"),r(7,E=!1)),0<=n.indexOf("securityQuestion")&&(r(21,L="dummy question"),r(8,b=!1)),0<=n.indexOf("securityAnswer"))&&(r(22,I="dummy answer"),r(9,v=!1)),1&t.$$.dirty[0]&&c&&"true"==c&&(R.password=/^(?!.* ).{8,20}$/),8&t.$$.dirty[0]|8192&t.$$.dirty[1]&&h&&a&&((e=document.createElement("style")).innerHTML=h,a.appendChild(e)),8&t.$$.dirty[0]|16384&t.$$.dirty[1]&&p&&a){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e;32768&t.$$.dirty[1]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Vt(e,t[e])})}).catch(e=>{console.log(e)})},[c,k,d,a,f,g,y,E,b,v,w,S,A,T,P,D,n,H,C,_,B,L,I,N,O,s,o,G,U,F,()=>{var e;r(4,(e=C,f=!(R.email.test(e)&&e.length<=100))),M()},()=>{var e;r(5,(e=H,g=!(R.user.test(e)&&e.length<=20))),M()},$,V,z,j,()=>{var e;r(6,(e=_,y=!R.password.test(e))),_!==B&&0<B.length?r(7,E=!0):r(7,E=!1),M()},()=>{r(7,E=!(_===B)),M()},()=>{r(8,b=!(()=>{if(L)switch(d){case"true":if(R.document.test(L)&&L.length<=50)return!0;break;case"false":if(L&&L.length<=120)return!0}return!1})()),M()},()=>{r(9,v=!(()=>{if(I)switch(d){case"true":if(R.document.test(I)&&I.length<=50)return!0;break;case"false":if(I&&I.length<=120)return!0}return!1})()),M()},X,l,u,x,h,p,m,()=>F(),function(){C=this.value,r(18,C)},()=>r(10,w=!0),()=>r(10,w=!1),function(){H=this.value,r(17,H)},()=>r(11,S=!0),()=>r(11,S=!1),function(){_=this.value,r(19,_)},()=>r(12,A=!0),()=>r(12,A=!1),function(e){q[e?"unshift":"push"](()=>{s=e,r(25,s)})},()=>z(),()=>$(),function(){B=this.value,r(20,B)},()=>r(13,T=!0),()=>r(13,T=!1),function(e){q[e?"unshift":"push"](()=>{o=e,r(26,o)})},()=>j(),()=>V(),function(){L=this.value,r(21,L)},()=>r(14,P=!0),()=>r(14,P=!1),function(){I=this.value,r(22,I)},()=>r(15,D=!0),()=>r(15,D=!1),e=>X(e),function(e){q[e?"unshift":"push"](()=>{a=e,r(3,a)})}]}class nr extends O{constructor(e){super();var t=document.createElement("style");t.textContent=".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{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}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-orange-500, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B))}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #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-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}",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},ir,rr,P,{lang:41,disabledfields:42,defaultoptions:43,simplepasswordvalidation:0,clientstyling:44,clientstylingurl:45,translationurl:46,savecredentials:1,tempopcustomization:2},null,[-1,-1,-1]),e&&(e.target&&nt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["lang","disabledfields","defaultoptions","simplepasswordvalidation","clientstyling","clientstylingurl","translationurl","savecredentials","tempopcustomization"]}get lang(){return this.$$.ctx[41]}set lang(e){this.$$set({lang:e}),d()}get disabledfields(){return this.$$.ctx[42]}set disabledfields(e){this.$$set({disabledfields:e}),d()}get defaultoptions(){return this.$$.ctx[43]}set defaultoptions(e){this.$$set({defaultoptions:e}),d()}get simplepasswordvalidation(){return this.$$.ctx[0]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),d()}get clientstyling(){return this.$$.ctx[44]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[45]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[46]}set translationurl(e){this.$$set({translationurl:e}),d()}get savecredentials(){return this.$$.ctx[1]}set savecredentials(e){this.$$set({savecredentials:e}),d()}get tempopcustomization(){return this.$$.ctx[2]}set tempopcustomization(e){this.$$set({tempopcustomization:e}),d()}}return customElements.get("general-player-register-form-step1")||customElements.define("general-player-register-form-step1",nr),nr});
|
|
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 tt(){}function S(e){return e()}function A(){return Object.create(null)}function rt(e){e.forEach(S)}function T(e){return"function"==typeof e}function P(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function J(e,...t){if(null==e)return tt;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function it(e,t){e.appendChild(t)}function nt(e,t,r){e.insertBefore(t,r||null)}function st(e){e.parentNode&&e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ot(e){return document.createTextNode(e)}function at(){return ot(" ")}function lt(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function ut(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 ht(e,t){e.value=null==t?"":t}let Y;function p(e){Y=e}const m=[],q=[];let s=[];const H=[],C=Promise.resolve();let _=!1;function B(e){s.push(e)}const L=new Set;let n=0;function d(){if(0===n){const i=Y;do{try{for(;n<m.length;){const i=m[n];n++,p(i),e=t=void 0;var e,t=i.$$;null!==t.fragment&&(t.update(),rt(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(B))}}catch(i){throw m.length=0,n=0,i}for(p(null),m.length=0,n=0;q.length;)q.pop()();for(let e=0;e<s.length;e+=1){var r=s[e];L.has(r)||(L.add(r),r())}}while(s.length=0,m.length);for(;H.length;)H.pop()();_=!1,L.clear(),p(i)}}const I=new Set;function N(i,e,t,r,n,s,o,a=[-1]){var l=Y;p(i);const u=i.$$={fragment:null,ctx:[],props:s,update:tt,not_equal:n,bound:A(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:A(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};o&&o(u.root);let c=!1;if(u.ctx=t?t(i,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return u.ctx&&n(u.ctx[e],u.ctx[e]=r)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](r),c)&&(r=e,-1===(e=i).$$.dirty[0]&&(m.push(e),_||(_=!0,C.then(d)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],u.update(),c=!0,rt(u.before_update),u.fragment=!!r&&r(u.ctx),e.target){if(e.hydrate){s=e.target;const tt=Array.from(s.childNodes);u.fragment&&u.fragment.l(tt),tt.forEach(st)}else u.fragment&&u.fragment.c();e.intro&&(a=i.$$.fragment)&&a.i&&(I.delete(a),a.i(void 0));var h=i,o=e.target,t=e.anchor,r=e.customElement,{fragment:s,after_update:a}=h.$$;s&&s.m(o,t),r||B(()=>{var e=h.$$.on_mount.map(S).filter(T);h.$$.on_destroy?h.$$.on_destroy.push(...e):rt(e),h.$$.on_mount=[]}),a.forEach(B),d()}p(l)}let O;"function"==typeof HTMLElement&&(O=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(S).filter(T);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){rt(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const i=[],n=[];s.forEach(e=>(-1===r.indexOf(e)?i:n).push(e)),n.forEach(e=>e()),s=i}rt(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=tt}$on(e,t){if(!T(t))return tt;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(i,n=tt){let s;const o=new Set;function a(e){if(P(i,e)&&(i=e,s)){const e=!r.length;for(const e of o)e[1](),r.push(e,i);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(i))},subscribe:function(e,t=tt){const r=[e,t];return o.add(r),1===o.size&&(s=n(a)||tt),e(i),()=>{o.delete(r),0===o.size&&s&&(s(),s=null)}}}}function i(e,a,t){const l=!Array.isArray(e),u=l?[e]:e,c=a.length<2;return{subscribe:R(t,t=>{let r=!1;const i=[];let n=0,s=tt;const o=()=>{var e;n||(s(),e=a(l?i[0]:i,t),c?t(e):s=T(e)?e:tt)},e=u.map((e,t)=>J(e,e=>{i[t]=e,n&=~(1<<t),r&&o()},()=>{n|=1<<t}));return r=!0,o(),function(){rt(e),s(),r=!1}}).subscribe}}function x(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===M);var t}var M="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function U(e,t){return!1!==t.clone&&t.isMergeableObject(e)?$(Array.isArray(e)?[]:{},e,t):e}function k(e,t,r){return e.concat(t).map(function(e){return U(e,r)})}function D(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 G(e,t){try{return t in e}catch(e){return!1}}function F(i,n,s){var o={};return s.isMergeableObject(i)&&D(i).forEach(function(e){o[e]=U(i[e],s)}),D(n).forEach(function(e){var t,r;(!G(t=i,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(G(i,e)&&s.isMergeableObject(n[e])?o[e]=((t=s).customMerge&&"function"==typeof(t=t.customMerge(e))?t:$)(i[e],n[e],s):o[e]=U(n[e],s))}),o}function $(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||k,r.isMergeableObject=r.isMergeableObject||x,r.cloneUnlessOtherwiseSpecified=U;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):F(e,t,r):U(t,r)}$.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return $(e,t,r)},{});throw new Error("first argument should be an array")};var V=$,j=function(e,t){return(j=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 z(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}j(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var f,y,g,E=function(){return(E=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function Q(e,t,r){if(r||2===arguments.length)for(var i,n=0,s=t.length;n<s;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Z(e){return e.type===y.literal}function X(e){return e.type===y.number}function K(e){return e.type===y.date}function ee(e){return e.type===y.time}function te(e){return e.type===y.select}function re(e){return e.type===y.plural}function ie(e){return e.type===y.tag}function ne(e){return e&&"object"==typeof e&&e.type===g.number}function se(e){return e&&"object"==typeof e&&e.type===g.dateTime}(o=f=f||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=y=y||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=g=g||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,oe=/(?:[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 ae=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,le=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ue=/^(@+)?(\+|#+)?[rs]?$/g,ce=/(\*)(0+)|(#+)(0+)|(0+)/g,he=/^(0+)$/;function pe(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(ue,function(e,t,r){return"string"!=typeof r?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===r?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),i}function me(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 de(e){return me(e)||{}}function fe(e){for(var o={},t=0,r=e;t<r.length;t++){var i,n=r[t];switch(n.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=n.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=E(E(E({},o),{notation:"scientific"}),n.options.reduce(function(e,t){return E(E({},e),de(t))},{}));continue;case"engineering":o=E(E(E({},o),{notation:"engineering"}),n.options.reduce(function(e,t){return E(E({},e),de(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(ce,function(e,t,r,i,n,s){if(t)o.minimumIntegerDigits=r.length;else{if(i&&n)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(he.test(n.stem))o.minimumIntegerDigits=n.stem.length;else if(le.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(le,function(e,t,r,i,n,s){return"*"===r?o.minimumFractionDigits=t.length:i&&"#"===i[0]?o.maximumFractionDigits=i.length:n&&s?(o.minimumFractionDigits=n.length,o.maximumFractionDigits=n.length+s.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var s=n.options[0];"w"===s?o=E(E({},o),{trailingZeroDisplay:"stripIfInteger"}):s&&(o=E(E({},o),pe(s)))}else ue.test(n.stem)?o=E(E({},o),pe(n.stem)):((s=me(n.stem))&&(o=E(E({},o),s)),(i=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)),!he.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(o=E(E({},o),i)))}return o}var ge={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 ye=new RegExp("^".concat(o.source,"*")),Ee=new RegExp("".concat(o.source,"*$"));function b(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,be=!!String.fromCodePoint,ve=!!Object.fromEntries,we=!!String.prototype.codePointAt,Se=!!String.prototype.trimStart,Ae=!!String.prototype.trimEnd,Te=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Pe=!0;try{Pe="a"===(null==(ze=Re("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ze[0])}catch(tt){Pe=!1}var He,Ce,_e=o?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Be=be?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,i="",n=e.length,s=0;s<n;){if(1114111<(r=e[s++]))throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},Le=ve?Object.fromEntries:function(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r],s=n[0],n=n[1];t[s]=n}return t},Ie=we?function(e,t){return e.codePointAt(t)}:function(e,t){var r,i=e.length;if(!(t<0||i<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536},Ne=Se?function(e){return e.trimStart()}:function(e){return e.replace(ye,"")},Oe=Ae?function(e){return e.trimEnd()}:function(e){return e.replace(Ee,"")};function Re(e,t){return new RegExp(e,t)}Ce=Pe?(He=Re("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return He.lastIndex=t,null!=(t=He.exec(e)[1])?t:""}):function(e,t){for(var r,i=[];;){var n=Ie(e,t);if(void 0===n||Ue(n)||33<=(r=n)&&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;i.push(n),t+=65536<=n?2:1}return Be.apply(void 0,i)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var n,s=this.char();if(123===s){if((n=this.parseArgument(e,r)).err)return n;i.push(n.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(f.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&Me(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;i.push(n.val)}else{s=this.clonePosition();this.bump(),i.push({type:y.pound,location:b(s,this.clonePosition())})}}}return{val:i,err:null}},a.prototype.parseTag=function(e,t){var r,i=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(n,"/>"),location:b(i,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()||!Me(this.char())?this.error(f.INVALID_TAG,b(e,this.clonePosition())):(r=this.clonePosition(),n!==this.parseTagName()?this.error(f.UNMATCHED_CLOSING_TAG,b(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:b(i,this.clonePosition())},err:null}:this.error(f.INVALID_TAG,b(e,this.clonePosition())))):this.error(f.UNCLOSED_TAG,b(i,this.clonePosition()))):this.error(f.INVALID_TAG,b(i,this.clonePosition()))},a.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())},a.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(t);if(n)i+=n;else{n=this.tryParseUnquoted(e,t);if(n)i+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;i+=n}}}r=b(r,this.clonePosition());return{val:{type:y.literal,value:i,location:r},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Me(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.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 Be.apply(void 0,t)},a.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(),Be(r))},a.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(f.EMPTY_ARGUMENT,b(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(f.MALFORMED_ARGUMENT,b(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:b(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(f.MALFORMED_ARGUMENT,b(r,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Ce(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:b(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,r,i){var n,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(f.EXPECT_ARGUMENT_TYPE,b(s,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(p=Oe(h.val)).length)return this.error(f.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:b(u,this.clonePosition())}}return(u=this.tryParseArgumentClose(i)).err?u:(m=b(i,this.clonePosition()),l&&_e(null==l?void 0:l.style,"::",0)?(d=Ne(l.style.slice(2)),"number"===o?(h=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?h:{val:{type:y.number,value:r,location:m,style:h.val},err:null}:0===d.length?this.error(f.EXPECT_DATE_TIME_SKELETON,m):(c=d,this.locale&&(c=function(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if("j"===n){for(var s=0;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;var o=1+(1&s),a=s<2?1:3+(s>>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),(ge[t||""]||ge[r||""]||ge["".concat(r,"-001")]||ge["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<o--;)r=l+r}else r+="J"===n?"H":n}return r}(d,this.locale)),p={type:g.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},c.replace(oe,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.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":n.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":n.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":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.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":n.minute=["numeric","2-digit"][t-1];break;case"s":n.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":n.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""}),n):{}},{val:{type:"date"===o?y.date:y.time,value:r,location:m,style:p},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:r,location:m,style:null!=(d=null==l?void 0:l.style)?d:null},err:null});case"plural":case"selectordinal":case"select":var c=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(f.EXPECT_SELECT_ARGUMENT_OPTIONS,b(c,E({},c)));this.bumpSpace();var h,p=this.parseIdentifierIfPossible(),m=0;if("select"!==o&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(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(),p=this.parseIdentifierIfPossible(),m=h.val}var d,l=this.tryParsePluralOrSelectOptions(e,o,t,p);return l.err?l:(u=this.tryParseArgumentClose(i)).err?u:(d=b(i,this.clonePosition()),"select"===o?{val:{type:y.select,value:r,options:Le(l.val),location:d},err:null}:{val:{type:y.plural,value:r,options:Le(l.val),offset:m,pluralType:"plural"===o?"cardinal":"ordinal",location:d},err:null});default:return this.error(f.INVALID_ARGUMENT_TYPE,b(s,a))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(f.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.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,b(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}},a.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,i=e.split(ae).filter(function(e){return 0<e.length});r<i.length;r++){var n=i[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var s=n[0],n=n.slice(1),o=0,a=n;o<a.length;o++)if(0===a[o].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:n})}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?fe(r):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var n=!1,s=[],o=new Set,a=i.value,l=i.location;;){if(0===a.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(f.EXPECT_PLURAL_ARGUMENT_SELECTOR,f.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=b(u,this.clonePosition()),a=this.message.slice(u.offset,this.offset())}if(o.has(a))return this.error("select"===t?f.DUPLICATE_SELECT_ARGUMENT_SELECTOR:f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();c=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,r);if(u.err)return u;var h=this.tryParseArgumentClose(c);if(h.err)return h;s.push([a,{value:u.val,location:b(c,this.clonePosition())}]),o.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===s.length?this.error("select"===t?f.EXPECT_SELECT_ARGUMENT_SELECTOR:f.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(f.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:s,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,s=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;n=!0,s=10*s+(o-48),this.bump()}i=b(i,this.clonePosition());return n?Te(s*=r)?{val:s,err:null}:this.error(t,i):this.error(e,i)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ie(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.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))},a.prototype.bumpIf=function(e){if(_e(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.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)},a.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}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ue(this.char());)this.bump()},a.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 xe=a;function a(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 Me(e){return 97<=e&&e<=122||65<=e&&e<=90}function Ue(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function ke(e,t){t=E({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new xe(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,te(e)||re(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else X(e)&&ne(e.style)||(K(e)||ee(e))&&se(e.style)?delete e.style.location:ie(e)&&r(e.children)})}(e.val),e.val}function De(e,t){var r=t&&t.cache?t.cache:Qe,i=t&&t.serializer?t.serializer:Ve;return(t&&t.strategy?t.strategy:function(e,t){return $e(e,this,1===e.length?Ge:Fe,t.cache.create(),t.serializer)})(e,{cache:r,serializer:i})}function Ge(e,t,r,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),n=t.get(r);return void 0===n&&(n=e.call(this,i),t.set(r,n)),n}function Fe(e,t,r){var i=Array.prototype.slice.call(arguments,3),r=r(i),n=t.get(r);return void 0===n&&(n=e.apply(this,i),t.set(r,n)),n}function $e(e,t,r,i,n){return r.bind(t,e,i,n)}var Ve=function(){return JSON.stringify(arguments)};function je(){this.cache=Object.create(null)}je.prototype.get=function(e){return this.cache[e]},je.prototype.set=function(e,t){this.cache[e]=t};var v,ze,Qe={create:function(){return new je}},Ze={variadic:function(e,t){return $e(e,this,Fe,t.cache.create(),t.serializer)},monadic:function(e,t){return $e(e,this,Ge,t.cache.create(),t.serializer)}};(ze=v=v||{}).MISSING_VALUE="MISSING_VALUE",ze.INVALID_VALUE="INVALID_VALUE",ze.MISSING_INTL_API="MISSING_INTL_API";z(gt,qe=Error),gt.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var w,Xe,Ke,Ye,qe,We=gt,Je=(z(ft,Ye=We),ft),et=(z(dt,Ke=We),dt),pt=(z(mt,Xe=We),mt);function mt(e,t){return Xe.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),v.MISSING_VALUE,t)||this}function dt(e,t,r){return Ke.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),v.INVALID_VALUE,r)||this}function ft(e,t,r,i){return Ye.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),v.INVALID_VALUE,i)||this}function gt(e,t,r){e=qe.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function yt(e,t,r,i,n,s,o){if(1===e.length&&Z(e[0]))return[{type:w.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Z(c))a.push({type:w.literal,value:c.value});else if(c.type===y.pound)"number"==typeof s&&a.push({type:w.literal,value:r.getNumberFormat(t).format(s)});else{var h=c.value;if(!(n&&h in n))throw new pt(h,o);h=n[h];if(c.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?w.literal:w.object,value:h});else if(K(c)){var p="string"==typeof c.style?i.date[c.style]:se(c.style)?c.style.parsedOptions:void 0;a.push({type:w.literal,value:r.getDateTimeFormat(t,p).format(h)})}else if(ee(c))p="string"==typeof c.style?i.time[c.style]:se(c.style)?c.style.parsedOptions:i.time.medium,a.push({type:w.literal,value:r.getDateTimeFormat(t,p).format(h)});else if(X(c))(p="string"==typeof c.style?i.number[c.style]:ne(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),a.push({type:w.literal,value:r.getNumberFormat(t,p).format(h)});else{if(ie(c)){var m=c.children,d=c.value,f=n[d];if("function"!=typeof f)throw new et(d,"function",o);d=f(yt(m,t,r,i,n,s).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(e){return{type:"string"==typeof e?w.literal:w.object,value:e}}))}if(te(c)){if(!(g=c.options[h]||c.options.other))throw new Je(c.value,h,Object.keys(c.options),o);a.push.apply(a,yt(g.value,t,r,i,n))}else if(re(c)){if(!(g=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new We('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',v.MISSING_INTL_API,o);var f=r.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),g=c.options[f]||c.options.other}if(!g)throw new Je(c.value,h,Object.keys(c.options),o);a.push.apply(a,yt(g.value,t,r,i,n,h-(c.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===w.literal&&t.type===w.literal?r.value+=t.value:e.push(t),e},[])}function Et(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(o=w=w||{})[o.literal=0]="literal",o[o.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=ke,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 bt=l;function l(e,t,r,i){var n,s,o=this;if(void 0===t&&(t=l.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===w.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 yt(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.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==i?void 0:i.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=(n=l.formats,(s=r)?Object.keys(n).reduce(function(e,t){var r,i;return e[t]=(r=n[t],(i=s[t])?E(E(E({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=E(E({},r[t]),i[t]||{}),e},{})):r),e},E({},n)):n),this.formatters=i&&i.formatters||{getNumberFormat:De(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:Et((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Ze.variadic}),getDateTimeFormat:De(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:Et(t.dateTime),strategy:Ze.variadic}),getPluralRules:De(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:Et(t.pluralRules),strategy:Ze.variadic})}}const u={},vt=(e,t,r)=>r&&(t in u||(u[t]={}),e in u[t]||(u[t][e]=r),r),wt=(t,r)=>{if(null!=r){if(r in u&&t in u[r])return u[r][t];var i=xt(r);for(let e=0;e<i.length;e++){var n=function(e,t){if(!Tt(e))return null;e=function(e){return St[e]||null}(e);{var r=t;if(null!=r){if(r in e)return e[r];var i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}}(i[e],t);if(n)return vt(t,r,n)}}};let St;const At=R({});function Tt(e){return e in St}function Pt(t,...r){delete u[t],At.update(e=>(e[t]=V.all([e[t]||{},...r]),e))}i([At],([e])=>Object.keys(e)),At.subscribe(e=>St=e);const Ht={};function Ct(e){return Ht[e]}function _t(e){return null!=e&&xt(e).some(e=>{return null==(e=Ct(e))?void 0:e.size})}const Bt={};function Lt(e){var t;return _t(e)?(t=xt(e).map(e=>{var t=Ct(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Bt[e]=Promise.all(t.map(([e,t])=>{return i=e,Promise.all(t.map(e=>{return t=i,r=e,Ht[t].delete(r),0===Ht[t].size&&delete Ht[t],e().then(e=>e.default||e);var t,r})).then(e=>Pt(i,...e));var i})).then(()=>{if(_t(e))return Lt(e);delete Bt[e]}),Bt[e]):e in Bt?Bt[e]:Promise.resolve()}const c={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const It=R(!1);let Nt;const Ot=R(null);function Rt(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function xt(e,t=c.fallbackLocale){e=Rt(e);return t?[...new Set([...e,...Rt(t)])]:e}function h(){return null!=Nt?Nt:void 0}Ot.subscribe(e=>{Nt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const W={...Ot,set:t=>{if(t&&function(e){if(null!=e){var t=xt(e);for(let e=0;e<t.length;e++){var r=t[e];if(Tt(r))return r}}}(t)&&_t(t)){var r=c["loadingDelay"];let e;return"undefined"!=typeof window&&null!=h()&&r?e=window.setTimeout(()=>It.set(!0),r):It.set(!0),Lt(t).then(()=>{Ot.set(t)}).finally(()=>{clearTimeout(e),It.set(!1)})}return Ot.set(t)}},Mt=r=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=r(e)}},Ut=(e,t)=>{var r=c["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},kt=Mt(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(r=Ut("number",t)),new Intl.NumberFormat(e,r)}),Dt=Mt(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?r=Ut("date",t):0===Object.keys(r).length&&(r=Ut("date","short")),new Intl.DateTimeFormat(e,r)}),Gt=Mt(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?r=Ut("time",t):0===Object.keys(r).length&&(r=Ut("time","short")),new Intl.DateTimeFormat(e,r)}),Ft=Mt((e,t=h())=>new bt(e,t,c.formats,{ignoreTag:c.ignoreTag})),$t=i([W,At],()=>(e,t={})=>{var r,i;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:s,locale:o=h(),default:a}=n;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=wt(e,o);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!=(i=null!=(r=null==(r=(i=c).handleMissingMessage)?void 0:r.call(i,{locale:o,id:e,defaultValue:a}))?r:a)?i:e;if(!s)return l;let u=l;try{u=Ft(l,o).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u});function Vt(e,t){Pt(e,t)}i([W],()=>(e,t)=>{return[{locale:t=h(),...r}={}]=[t],Gt({locale:t,...r}).format(e);var r}),i([W],()=>(e,t)=>{return[{locale:t=h(),...r}={}]=[t],Dt({locale:t,...r}).format(e);var r}),i([W],()=>(e,t)=>{return[{locale:t=h(),...r}={}]=[t],kt({locale:t,...r}).format(e);var r}),i([W,At],()=>(e,t=h())=>wt(e,t));const jt={en:{registerTitle:"Create your account",registerSubtitle:"Already have an account?",registerSubtitleLogin:"Login",registerEmail:"Email",registerEmailError:"Email should contain '@' and a 2-3 letter long domain.",registerUsername:"Username",registerUsernameError:"Name must be at least 4-20 characters long and contain no special characters.",registerPassword:"Password",registerPasswordError:"Password must be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",registerSimplePasswordError:"Password must be 8-20 characters long.",registerConfirmPassword:"Confirm Password",registerConfirmPasswordError:"It doesn't match the password.",registerSecurityQuestion:"Security Question",registerSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",registerSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",registerSecurityQuestionError2:"Only letters and numbers are accepted.",registerSecurityAnswer:"Security Answer",registerSecurityAnswer2:"Document Number",registerSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",registerSecurityAnswerError2:"Only letters and numbers are accepted.",registerNext:"Next"},"zh-hk":{registerTitle:"創建您的帳戶",registerSubtitle:"已經有一個帳戶?",registerSubtitleLogin:"登錄",registerEmail:"電子郵件",registerEmailError:"電子郵件應包含“@”和 2-3 個字母長的域。",registerUsername:"用戶名",registerUsernameError:"名稱的長度必須至少為 2 個字符且不包含特殊字符。",registerPassword:"密碼",registerPasswordError:"密碼長度必須為 8-20 個字符,並且至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",registerSimplePasswordError:"密码长度必须为 8-20 个字符。",registerConfirmPassword:"確認密碼",registerConfirmPasswordError:"它與密碼不匹配。",registerSecurityQuestion:"安全問題",registerSecurityQuestionError:"安全問題的長度必須至少為 1 個字符,最多 120 個字符。",registerSecurityAnswer:"安全答案",registerSecurityAnswerError:"安全答案的長度必須至少為 1 個字符,最多為 120 個字符。",registerNext:"下一個"},fr:{registerTitle:"Créez votre compte",registerSubtitle:"Vous avez déjà un compte?",registerSubtitleLogin:"Connexion ",registerEmail:"Email",registerEmailError:"L'adresse mail doit comporter un '@' et un nom de domaine de 2 à 3 lettres.",registerUsername:"Nom d'utilisateur ",registerUsernameError:"Le nom doit être composé d'au moins 2 caractères et ne doitpas contenir de caractères spéciaux.",registerPassword:"Mot de passe",registerPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial.",registerSimplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",registerConfirmPassword:"Confirmer le mot de passe",registerConfirmPasswordError:"ça ne correspond pas au mot de passe.",registerSecurityQuestion:"Questions de sécurité",registerSecurityQuestionError:"La question de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerSecurityAnswer:"Réponse de sécurité",registerSecurityAnswerError:"La réponse de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerNext:"Suivant"},tr:{registerTitle:"Hesabını oluştur",registerSubtitle:"Zaten hesabınız var mı?",registerSubtitleLogin:"Giriş yapmak",registerEmail:"E-posta",registerEmailError:"E-posta '@' ve 2-3 harf uzunluğunda bir etki alanı içermelidir.",registerUsername:"Kullanıcı adı",registerUsernameError:"Ad en az 4-20 karakter uzunluğunda olmalı ve özel karakter içermemelidir.",registerPassword:"Parola",registerPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",registerSimplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalıdır.",registerConfirmPassword:"Şifreyi Onayla",registerConfirmPasswordError:"Şifreyle eşleşmiyor.",registerSecurityQuestion:"Güvenlik Sorusu",registerSecurityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",registerSecurityAnswer:"Güvenlik cevabı",registerSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",registerNext:"Sonraki"},ro:{registerTitle:"Creaza cont",registerSubtitle:"Ai deja cont?",registerSubtitleLogin:"Autentifica-te",registerEmail:"Email",registerEmailError:"Email-ul ar trebui sa contina '@' si 2-3 litere.",registerUsername:"Utilizator",registerUsernameError:"Utilizatorul trebuie sa fie cuprins intre 4-20 litere si sa nu contina caractere speciale.",registerPassword:"Parola",registerPasswordError:"Parola trebuie sa fie cuprinsa intre 8 si 20 de caractere, cel putin o litera mare, cel putin un numar si cel putin un caracter special.",registerSimplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",registerConfirmPassword:"Confirma Parola",registerConfirmPasswordError:"Confirmarea parolei trebuie sa fie la fel cu parola",registerSecurityQuestion:"Intrebare de Securitate",registerSecurityQuestionError:"Intrebarea de securitate trebuie sa fie cuprinsa intre 1 si 120 de litere.",registerSecurityAnswer:"Raspuns de Securitate",registerSecurityAnswerError:"Raspunsul de securitate trebuie sa fie cuprins intre 1 si 120 de litere",registerNext:"Urmatorul"},es:{registerTitle:"Crea tu cuenta",registerSubtitle:"Ya tiene cuenta?",registerSubtitleLogin:"Iniciar sesión",registerEmail:"Email",registerEmailError:"Email debe contener '@' y un dominio de 2 a 3 letras.",registerUsername:"Usuario",registerUsernameError:"El nombre de Usuario debe tener mínimo 4 y máximo 20 caracteres y no contener caracteres especiales.",registerPassword:"Contraseña",registerPasswordError:"La contraseña debe tener de 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",registerSimplePasswordError:"La contraseña debe tener entre 8 y 20 caracteres.",registerConfirmPassword:"Confirmar Contraseña",registerConfirmPasswordError:"La contraseña no coincide.",registerSecurityQuestion:"Pregunta de seguridad",registerSecurityQuestion2:"Tipo de Documento (DNI, CE o Pasaporte)",registerSecurityQuestionError:"La Pregunta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityQuestionError2:"Solo se aceptan letras y números.",registerSecurityAnswer:"Respuesta de seguridad",registerSecurityAnswer2:"Número de Documento",registerSecurityAnswerError:"La Respuesta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityAnswerError2:"Solo se aceptan letras y números.",registerNext:"Siguiente"},pt:{registerTitle:"Crie a sua conta",registerSubtitle:"Já tem uma conta?",registerSubtitleLogin:"Entrar",registerEmail:"E-mail",registerEmailError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",registerUsername:"Nome do usuário",registerUsernameError:"O nome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerPassword:"Senha",registerPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",registerSimplePasswordError:"A senha deve ter de 8 a 20 caracteres.",registerConfirmPassword:"Confirme a sua senha",registerConfirmPasswordError:"Não corresponde à senha.",registerSecurityQuestion:"Pergunta de segurança",registerSecurityQuestionError:"A pergunta de segurança deve ter no mínimo 1 caractere e no máximo 120 caracteres.",registerSecurityAnswer:"Resposta de segurança",registerSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",registerNext:"Próximo"}};function zt(e){let r,i,n=e[28]("registerEmailError")+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerEmailError")+"")&&ct(i,n)},d(e){e&&st(r)}}}function Qt(e){let r,i,n=e[28]("registerUsernameError")+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerUsernameError")+"")&&ct(i,n)},d(e){e&&st(r)}}}function Zt(r){let i,n,s,o,a,l,u,c,h;return{c(){i=e("svg"),n=e("defs"),s=e("style"),o=ot(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-dunkel, #07072A));}"),a=e("g"),l=e("path"),u=e("circle"),ut(l,"class","a"),ut(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),ut(l,"transform","translate(0)"),ut(u,"class","a"),ut(u,"cx","2.779"),ut(u,"cy","2.779"),ut(u,"r","2.779"),ut(u,"transform","translate(20.827 30.303)"),ut(a,"transform","translate(-14.185 -27.832)"),ut(i,"class","TogglePasswordVisibility"),ut(i,"xmlns","http://www.w3.org/2000/svg"),ut(i,"width","18.843"),ut(i,"height","10.5"),ut(i,"viewBox","0 0 18.843 10.5")},m(e,t){nt(e,i,t),it(i,n),it(n,s),it(s,o),it(i,a),it(a,l),it(a,u),c||(h=lt(i,"click",r[59]),c=!0)},p:tt,d(e){e&&st(i),c=!1,h()}}}function Xt(r){let i,n,s,o,a,l,u,c,h,p,m,d,f,g,y;return{c(){i=e("svg"),n=e("defs"),s=e("style"),o=ot(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-dunkel, #07072A));}"),a=e("g"),l=e("circle"),u=e("g"),c=e("path"),h=e("path"),p=e("g"),m=e("path"),d=e("path"),f=e("rect"),ut(l,"class","a"),ut(l,"cx","0.05"),ut(l,"cy","0.05"),ut(l,"r","0.05"),ut(l,"transform","translate(121.017 31.148)"),ut(c,"class","a"),ut(c,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),ut(c,"transform","translate(-142.164 -39.123)"),ut(h,"class","a"),ut(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),ut(h,"transform","translate(-136.413 -42.068)"),ut(u,"transform","translate(117.499 27.37)"),ut(m,"class","a"),ut(m,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),ut(m,"transform","translate(-110.856 -33.157)"),ut(d,"class","a"),ut(d,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),ut(d,"transform","translate(-130.743 -29.617)"),ut(p,"transform","translate(110.856 24.899)"),ut(f,"class","a"),ut(f,"width","0.972"),ut(f,"height","15.861"),ut(f,"rx","0.486"),ut(f,"transform","translate(114.827 23.858) rotate(-39.315)"),ut(a,"transform","translate(-110.856 -23.242)"),ut(i,"class","TogglePasswordVisibility"),ut(i,"xmlns","http://www.w3.org/2000/svg"),ut(i,"width","18.844"),ut(i,"height","12.887"),ut(i,"viewBox","0 0 18.844 12.887")},m(e,t){nt(e,i,t),it(i,n),it(n,s),it(s,o),it(i,a),it(a,l),it(a,u),it(u,c),it(u,h),it(a,p),it(p,m),it(p,d),it(a,f),g||(y=lt(i,"click",r[58]),g=!0)},p:tt,d(e){e&&st(i),g=!1,y()}}}function Kt(e){let r,i,n=e[28]("registerPasswordError")+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerPasswordError")+"")&&ct(i,n)},d(e){e&&st(r)}}}function Yt(e){let r,i,n=e[28]("registerSimplePasswordError")+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerSimplePasswordError")+"")&&ct(i,n)},d(e){e&&st(r)}}}function qt(r){let i,n,s,o,a,l,u,c,h;return{c(){i=e("svg"),n=e("defs"),s=e("style"),o=ot(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-dunkel, #07072A));}"),a=e("g"),l=e("path"),u=e("circle"),ut(l,"class","a"),ut(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),ut(l,"transform","translate(0)"),ut(u,"class","a"),ut(u,"cx","2.779"),ut(u,"cy","2.779"),ut(u,"r","2.779"),ut(u,"transform","translate(20.827 30.303)"),ut(a,"transform","translate(-14.185 -27.832)"),ut(i,"class","ToggleConfirmPasswordVisibility"),ut(i,"xmlns","http://www.w3.org/2000/svg"),ut(i,"width","18.843"),ut(i,"height","10.5"),ut(i,"viewBox","0 0 18.843 10.5")},m(e,t){nt(e,i,t),it(i,n),it(n,s),it(s,o),it(i,a),it(a,l),it(a,u),c||(h=lt(i,"click",r[65]),c=!0)},p:tt,d(e){e&&st(i),c=!1,h()}}}function Wt(r){let i,n,s,o,a,l,u,c,h,p,m,d,f,g,y;return{c(){i=e("svg"),n=e("defs"),s=e("style"),o=ot(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-dunkel, #07072A));}"),a=e("g"),l=e("circle"),u=e("g"),c=e("path"),h=e("path"),p=e("g"),m=e("path"),d=e("path"),f=e("rect"),ut(l,"class","a"),ut(l,"cx","0.05"),ut(l,"cy","0.05"),ut(l,"r","0.05"),ut(l,"transform","translate(121.017 31.148)"),ut(c,"class","a"),ut(c,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),ut(c,"transform","translate(-142.164 -39.123)"),ut(h,"class","a"),ut(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),ut(h,"transform","translate(-136.413 -42.068)"),ut(u,"transform","translate(117.499 27.37)"),ut(m,"class","a"),ut(m,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),ut(m,"transform","translate(-110.856 -33.157)"),ut(d,"class","a"),ut(d,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),ut(d,"transform","translate(-130.743 -29.617)"),ut(p,"transform","translate(110.856 24.899)"),ut(f,"class","a"),ut(f,"width","0.972"),ut(f,"height","15.861"),ut(f,"rx","0.486"),ut(f,"transform","translate(114.827 23.858) rotate(-39.315)"),ut(a,"transform","translate(-110.856 -23.242)"),ut(i,"class","ToggleConfirmPasswordVisibility"),ut(i,"xmlns","http://www.w3.org/2000/svg"),ut(i,"width","18.844"),ut(i,"height","12.887"),ut(i,"viewBox","0 0 18.844 12.887")},m(e,t){nt(e,i,t),it(i,n),it(n,s),it(s,o),it(i,a),it(a,l),it(a,u),it(u,c),it(u,h),it(a,p),it(p,m),it(p,d),it(a,f),g||(y=lt(i,"click",r[64]),g=!0)},p:tt,d(e){e&&st(i),g=!1,y()}}}function Jt(e){let r,i,n=e[28]("registerConfirmPasswordError")+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435456&t[0]&&n!==(n=e[28]("registerConfirmPasswordError")+"")&&ct(i,n)},d(e){e&&st(r)}}}function er(e){let r,i,n=("true"==e[2]?e[28]("registerSecurityQuestionError2"):e[28]("registerSecurityQuestionError"))+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435460&t[0]&&n!==(n=("true"==e[2]?e[28]("registerSecurityQuestionError2"):e[28]("registerSecurityQuestionError"))+"")&&ct(i,n)},d(e){e&&st(r)}}}function tr(e){let r,i,n=("true"==e[2]?e[28]("registerSecurityAnswerError2"):e[28]("registerSecurityAnswerError"))+"";return{c(){r=t("p"),i=ot(n),ut(r,"class","InvalidInput")},m(e,t){nt(e,r,t),it(r,i)},p(e,t){268435460&t[0]&&n!==(n=("true"==e[2]?e[28]("registerSecurityAnswerError2"):e[28]("registerSecurityAnswerError"))+"")&&ct(i,n)},d(e){e&&st(r)}}}function rr(r){let i,n,s,k,D,o,G,F,a,$,V,l,u,c,j,z,Q,Z,h,X,p,K,m,d,Y,q,W,J,f,ee,te,re,ie,g,y,ne,se,oe,ae,E,le,ue,ce,he,pe,me,de,b,v,fe,ge,ye,Ee,w,be,ve,we,Se,S,A,Ae,Te,Pe,He,T,Ce,_e,Be,P,H,Le,Ie,Ne,Oe,C,Re,xe,Me,_,Ue,ke,De,Ge,Fe=r[28]("registerTitle")+"",$e=r[28]("registerSubtitle")+"",Ve=r[28]("registerSubtitleLogin")+"",je=r[28]("registerEmail")+"",ze=r[28]("registerUsername")+"",Qe=r[28]("registerPassword")+"",Ze=r[28]("registerConfirmPassword")+"",Xe=("true"==r[2]?r[28]("registerSecurityQuestion2"):r[28]("registerSecurityQuestion"))+"",Ke=("true"==r[2]?r[28]("registerSecurityAnswer2"):r[28]("registerSecurityAnswer"))+"",Ye=r[28]("registerNext")+"",B=r[4]&&zt(r),L=r[5]&&Qt(r);function qe(e){return e[23]?Xt:Zt}let We=qe(r),I=We(r),N=r[6]&&"true"!==r[0]&&Kt(r),O=r[6]&&"true"===r[0]&&Yt(r);function Je(e){return e[24]?Wt:qt}let et=Je(r),R=et(r),x=r[7]&&Jt(r),M=r[8]&&er(r),U=r[9]&&tr(r);return{c(){i=t("div"),n=t("div"),s=t("h2"),k=ot(Fe),D=at(),o=t("p"),G=ot($e),F=at(),a=t("span"),$=ot(Ve),V=at(),l=t("form"),u=t("div"),c=t("label"),j=ot(je),z=ot(":"),(Q=t("span")).textContent="*",Z=at(),h=t("input"),X=at(),B&&B.c(),K=at(),m=t("div"),d=t("label"),Y=ot(ze),q=ot(":"),(W=t("span")).textContent="*",J=at(),f=t("input"),te=at(),L&&L.c(),ie=at(),g=t("div"),y=t("label"),ne=ot(Qe),se=ot(":"),(oe=t("span")).textContent="*",ae=at(),E=t("input"),ue=at(),I.c(),ce=at(),N&&N.c(),he=at(),O&&O.c(),de=at(),b=t("div"),v=t("label"),fe=ot(Ze),ge=ot(":"),(ye=t("span")).textContent="*",Ee=at(),w=t("input"),be=at(),R.c(),ve=at(),x&&x.c(),Se=at(),S=t("div"),A=t("label"),Ae=ot(Xe),Te=ot(":"),(Pe=t("span")).textContent="*",He=at(),T=t("input"),Ce=at(),M&&M.c(),Be=at(),P=t("div"),H=t("label"),Le=ot(Ke),Ie=ot(":"),(Ne=t("span")).textContent="*",Oe=at(),C=t("input"),Re=at(),U&&U.c(),Me=at(),_=t("button"),Ue=ot(Ye),this.c=tt,ut(s,"class","RegisterFormTitle"),ut(a,"class","FormLoginCallToAction"),ut(o,"class","RegisterFormSubtitle"),ut(n,"class","RegisterFormHeader"),ut(Q,"class","FormRequired"),ut(c,"for","Email"),ut(h,"type","text"),ut(h,"id","Email"),ut(u,"class",p="EmailContainer "+(r[4]&&!r[10]?"InvalidField":"")+(0<=r[16]?.indexOf("email")?"Hidden":"")),ut(W,"class","FormRequired"),ut(d,"for","UserName"),ut(f,"type","text"),ut(f,"id","UserName"),ut(f,"autocomplete",ee=r[1]?"username":"off"),ut(m,"class",re="UserContainer "+(r[5]&&!r[11]?"InvalidField":"")+(0<=r[16]?.indexOf("username")?"Hidden":"")),ut(oe,"class","FormRequired"),ut(y,"for","Password"),ut(E,"name","new-password"),ut(E,"type","password"),ut(E,"id","new-password"),ut(E,"autocomplete",le=r[1]?"new-password":"off"),ut(E,"aria-describedby","password-constraints"),ut(g,"class",pe="PasswordContainer "+(r[6]&&!r[12]?"InvalidField":"")+(0<=r[16]?.indexOf("password")?"Hidden":"")),g.hidden=me=0<=r[16]?.indexOf("password"),ut(ye,"class","FormRequired"),ut(v,"for","ConfirmPassword"),ut(w,"type","password"),ut(w,"id","ConfirmPassword"),ut(b,"class",we="ConfirmPasswordContainer "+(r[7]&&!r[13]?"InvalidField":"")+(0<=r[16]?.indexOf("confirmPassword")?"Hidden":"")),ut(Pe,"class","FormRequired"),ut(A,"for","SecurityQuestion"),ut(T,"type","text"),ut(T,"id","SecurityQuestion"),ut(S,"class",_e="SecurityQuestionContainer "+(r[8]&&!r[14]?"InvalidField":"")+(0<=r[16]?.indexOf("securityQuestion")?"Hidden":"")),ut(Ne,"class","FormRequired"),ut(H,"for","SecurityAnswer"),ut(C,"type","text"),ut(C,"id","SecurityAnswer"),ut(P,"class",xe="SecurityAnswerContainer "+(r[9]&&!r[15]?"InvalidField":"")+(0<=r[16]?.indexOf("securityAnswer")?"Hidden":"")),ut(_,"class","RegisterStepNext"),_.disabled=ke=!r[27],ut(l,"class","RegisterFormContent")},m(e,t){nt(e,i,t),it(i,n),it(n,s),it(s,k),it(n,D),it(n,o),it(o,G),it(o,F),it(o,a),it(a,$),it(i,V),it(i,l),it(l,u),it(u,c),it(c,j),it(c,z),it(c,Q),it(u,Z),it(u,h),ht(h,r[18]),it(u,X),B&&B.m(u,null),it(l,K),it(l,m),it(m,d),it(d,Y),it(d,q),it(d,W),it(m,J),it(m,f),ht(f,r[17]),it(m,te),L&&L.m(m,null),it(l,ie),it(l,g),it(g,y),it(y,ne),it(y,se),it(y,oe),it(g,ae),it(g,E),ht(E,r[19]),r[57](E),it(g,ue),I.m(g,null),it(g,ce),N&&N.m(g,null),it(g,he),O&&O.m(g,null),it(l,de),it(l,b),it(b,v),it(v,fe),it(v,ge),it(v,ye),it(b,Ee),it(b,w),ht(w,r[20]),r[63](w),it(b,be),R.m(b,null),it(b,ve),x&&x.m(b,null),it(l,Se),it(l,S),it(S,A),it(A,Ae),it(A,Te),it(A,Pe),it(S,He),it(S,T),ht(T,r[21]),it(S,Ce),M&&M.m(S,null),it(l,Be),it(l,P),it(P,H),it(H,Le),it(H,Ie),it(H,Ne),it(P,Oe),it(P,C),ht(C,r[22]),it(P,Re),U&&U.m(P,null),it(l,Me),it(l,_),it(_,Ue),r[73](i),De||(Ge=[lt(a,"click",r[47]),lt(h,"input",r[48]),lt(h,"keyup",r[30]),lt(h,"focus",r[49]),lt(h,"blur",r[50]),lt(f,"input",r[51]),lt(f,"keyup",r[31]),lt(f,"focus",r[52]),lt(f,"blur",r[53]),lt(E,"input",r[54]),lt(E,"keyup",r[36]),lt(E,"focus",r[55]),lt(E,"blur",r[56]),lt(w,"input",r[60]),lt(w,"keyup",r[37]),lt(w,"focus",r[61]),lt(w,"blur",r[62]),lt(T,"input",r[66]),lt(T,"keyup",r[38]),lt(T,"focus",r[67]),lt(T,"blur",r[68]),lt(C,"input",r[69]),lt(C,"keyup",r[39]),lt(C,"focus",r[70]),lt(C,"blur",r[71]),lt(_,"click",r[72])],De=!0)},p(e,t){268435456&t[0]&&Fe!==(Fe=e[28]("registerTitle")+"")&&ct(k,Fe),268435456&t[0]&&$e!==($e=e[28]("registerSubtitle")+"")&&ct(G,$e),268435456&t[0]&&Ve!==(Ve=e[28]("registerSubtitleLogin")+"")&&ct($,Ve),268435456&t[0]&&je!==(je=e[28]("registerEmail")+"")&&ct(j,je),262144&t[0]&&h.value!==e[18]&&ht(h,e[18]),e[4]?B?B.p(e,t):((B=zt(e)).c(),B.m(u,null)):B&&(B.d(1),B=null),66576&t[0]&&p!==(p="EmailContainer "+(e[4]&&!e[10]?"InvalidField":"")+(0<=e[16]?.indexOf("email")?"Hidden":""))&&ut(u,"class",p),268435456&t[0]&&ze!==(ze=e[28]("registerUsername")+"")&&ct(Y,ze),2&t[0]&&ee!==(ee=e[1]?"username":"off")&&ut(f,"autocomplete",ee),131072&t[0]&&f.value!==e[17]&&ht(f,e[17]),e[5]?L?L.p(e,t):((L=Qt(e)).c(),L.m(m,null)):L&&(L.d(1),L=null),67616&t[0]&&re!==(re="UserContainer "+(e[5]&&!e[11]?"InvalidField":"")+(0<=e[16]?.indexOf("username")?"Hidden":""))&&ut(m,"class",re),268435456&t[0]&&Qe!==(Qe=e[28]("registerPassword")+"")&&ct(ne,Qe),2&t[0]&&le!==(le=e[1]?"new-password":"off")&&ut(E,"autocomplete",le),524288&t[0]&&E.value!==e[19]&&ht(E,e[19]),We===(We=qe(e))&&I?I.p(e,t):(I.d(1),(I=We(e))&&(I.c(),I.m(g,ce))),e[6]&&"true"!==e[0]?N?N.p(e,t):((N=Kt(e)).c(),N.m(g,he)):N&&(N.d(1),N=null),e[6]&&"true"===e[0]?O?O.p(e,t):((O=Yt(e)).c(),O.m(g,null)):O&&(O.d(1),O=null),69696&t[0]&&pe!==(pe="PasswordContainer "+(e[6]&&!e[12]?"InvalidField":"")+(0<=e[16]?.indexOf("password")?"Hidden":""))&&ut(g,"class",pe),65536&t[0]&&me!==(me=0<=e[16]?.indexOf("password"))&&(g.hidden=me),268435456&t[0]&&Ze!==(Ze=e[28]("registerConfirmPassword")+"")&&ct(fe,Ze),1048576&t[0]&&w.value!==e[20]&&ht(w,e[20]),et===(et=Je(e))&&R?R.p(e,t):(R.d(1),(R=et(e))&&(R.c(),R.m(b,ve))),e[7]?x?x.p(e,t):((x=Jt(e)).c(),x.m(b,null)):x&&(x.d(1),x=null),73856&t[0]&&we!==(we="ConfirmPasswordContainer "+(e[7]&&!e[13]?"InvalidField":"")+(0<=e[16]?.indexOf("confirmPassword")?"Hidden":""))&&ut(b,"class",we),268435460&t[0]&&Xe!==(Xe=("true"==e[2]?e[28]("registerSecurityQuestion2"):e[28]("registerSecurityQuestion"))+"")&&ct(Ae,Xe),2097152&t[0]&&T.value!==e[21]&&ht(T,e[21]),e[8]?M?M.p(e,t):((M=er(e)).c(),M.m(S,null)):M&&(M.d(1),M=null),82176&t[0]&&_e!==(_e="SecurityQuestionContainer "+(e[8]&&!e[14]?"InvalidField":"")+(0<=e[16]?.indexOf("securityQuestion")?"Hidden":""))&&ut(S,"class",_e),268435460&t[0]&&Ke!==(Ke=("true"==e[2]?e[28]("registerSecurityAnswer2"):e[28]("registerSecurityAnswer"))+"")&&ct(Le,Ke),4194304&t[0]&&C.value!==e[22]&&ht(C,e[22]),e[9]?U?U.p(e,t):((U=tr(e)).c(),U.m(P,null)):U&&(U.d(1),U=null),98816&t[0]&&xe!==(xe="SecurityAnswerContainer "+(e[9]&&!e[15]?"InvalidField":"")+(0<=e[16]?.indexOf("securityAnswer")?"Hidden":""))&&ut(P,"class",xe),268435456&t[0]&&Ye!==(Ye=e[28]("registerNext")+"")&&ct(Ue,Ye),134217728&t[0]&&ke!==(ke=!e[27])&&(_.disabled=ke)},i:tt,o:tt,d(e){e&&st(i),B&&B.d(),L&&L.d(),r[57](null),I.d(),N&&N.d(),O&&O.d(),r[63](null),R.d(),x&&x.d(),M&&M.d(),U&&U.d(),r[73](null),De=!1,rt(Ge)}}}function ir(t,e,r){let M;var i=$t;t.$$.on_destroy.push(J(i,e=>r(28,M=e)));let n,s,o,a,{lang:l=""}=e,{disabledfields:u=""}=e,{defaultoptions:U=""}=e,{simplepasswordvalidation:c="false"}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{translationurl:m=""}=e,{savecredentials:k=""}=e,{custominputtextswitch:d="false"}=e,f=!1,g=!1,y=!1,E=!1,b=!1,v=!1,w=!1,S=!1,A=!1,T=!1,P=!1,D=!1,H="",C="",_="",B="",L="",I="",N=!1,O=!1,G=!1,R={user:/^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,email:/^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};Object.keys(jt).forEach(e=>{Vt(e,jt[e])});const x=()=>{r(27,G=!(f||g||y||E||b||v)),(H.length<=0||C.length<=0||_.length<=0||B.length<=0||L.length<=0||I.length<=0)&&r(27,G=!1)},F=()=>{window.postMessage({type:"ToLogin"},window.location.href)},$=()=>{r(23,N=!0),Q()},V=()=>{r(24,O=!0),Z()},j=()=>{r(23,N=!1),Q()},z=()=>{r(24,O=!1),Z()},Q=()=>{r(25,s.type=N?"text":"password",s)},Z=()=>{r(26,o.type=O?"text":"password",o)},X=e=>{e.preventDefault();e={userEmail:C,userValue:H,userPassword:_,confirmUserPassword:B,securityQuestion:L,securityAnswer:I};window.postMessage({type:"RegisterStepOne",registerStepOneData:e},window.location.href)},K=e=>{e.data&&"StepOneDataBackup"===e.data.type&&(r(18,C=e.data.userData.email),r(17,H=e.data.userData.username),r(19,_=e.data.userData.password),r(20,B=e.data.userData.password),r(21,L=e.data.userData.securityQuestion),r(22,I=e.data.userData.securityAnswer),x())};return i=()=>(window.addEventListener("message",K,!1),()=>{window.removeEventListener("message",K)}),function(){if(Y)return Y;throw new Error("Function called outside component initialization")}().$$.on_mount.push(i),t.$$set=e=>{"lang"in e&&r(41,l=e.lang),"disabledfields"in e&&r(42,u=e.disabledfields),"defaultoptions"in e&&r(43,U=e.defaultoptions),"simplepasswordvalidation"in e&&r(0,c=e.simplepasswordvalidation),"clientstyling"in e&&r(44,h=e.clientstyling),"clientstylingurl"in e&&r(45,p=e.clientstylingurl),"translationurl"in e&&r(46,m=e.translationurl),"savecredentials"in e&&r(1,k=e.savecredentials),"custominputtextswitch"in e&&r(2,d=e.custominputtextswitch)},t.$$.update=()=>{if(1024&t.$$.dirty[1]&&l&&(e=l,W.set(e)),2048&t.$$.dirty[1]&&u&&(r(16,n=u.split(",")),0<=n.indexOf("email")&&(r(18,C="dummy@dummy.com"),r(4,f=!1)),0<=n.indexOf("username")&&(r(17,H="dummy username"),r(5,g=!1)),0<=n.indexOf("password")&&(r(19,_="dummy password"),r(6,y=!1)),0<=n.indexOf("confirmPassword")&&(r(20,B="dummy password"),r(7,E=!1)),0<=n.indexOf("securityQuestion")&&(r(21,L="dummy question"),r(8,b=!1)),0<=n.indexOf("securityAnswer"))&&(r(22,I="dummy answer"),r(9,v=!1)),1&t.$$.dirty[0]&&c&&"true"==c&&(R.password=/^(?!.* ).{8,20}$/),8&t.$$.dirty[0]|8192&t.$$.dirty[1]&&h&&a&&((e=document.createElement("style")).innerHTML=h,a.appendChild(e)),8&t.$$.dirty[0]|16384&t.$$.dirty[1]&&p&&a){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e;32768&t.$$.dirty[1]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Vt(e,t[e])})}).catch(e=>{console.log(e)})},[c,k,d,a,f,g,y,E,b,v,w,S,A,T,P,D,n,H,C,_,B,L,I,N,O,s,o,G,M,F,()=>{var e;r(4,(e=C,f=!(R.email.test(e)&&e.length<=100))),x()},()=>{var e;r(5,(e=H,g=!(R.user.test(e)&&e.length<=20))),x()},$,V,j,z,()=>{var e;r(6,(e=_,y=!R.password.test(e))),_!==B&&0<B.length?r(7,E=!0):r(7,E=!1),x()},()=>{r(7,E=!(_===B)),x()},()=>{r(8,b=!(()=>{if(L)switch(d){case"true":if(R.document.test(L)&&L.length<=50)return!0;break;case"false":if(L&&L.length<=120)return!0}return!1})()),x()},()=>{r(9,v=!(()=>{if(I)switch(d){case"true":if(R.document.test(I)&&I.length<=50)return!0;break;case"false":if(I&&I.length<=120)return!0}return!1})()),x()},X,l,u,U,h,p,m,()=>F(),function(){C=this.value,r(18,C)},()=>r(10,w=!0),()=>r(10,w=!1),function(){H=this.value,r(17,H)},()=>r(11,S=!0),()=>r(11,S=!1),function(){_=this.value,r(19,_)},()=>r(12,A=!0),()=>r(12,A=!1),function(e){q[e?"unshift":"push"](()=>{s=e,r(25,s)})},()=>j(),()=>$(),function(){B=this.value,r(20,B)},()=>r(13,T=!0),()=>r(13,T=!1),function(e){q[e?"unshift":"push"](()=>{o=e,r(26,o)})},()=>z(),()=>V(),function(){L=this.value,r(21,L)},()=>r(14,P=!0),()=>r(14,P=!1),function(){I=this.value,r(22,I)},()=>r(15,D=!0),()=>r(15,D=!1),e=>X(e),function(e){q[e?"unshift":"push"](()=>{a=e,r(3,a)})}]}class nr extends O{constructor(e){super();var t=document.createElement("style");t.textContent=".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{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}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-orange-500, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B))}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #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-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}",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},ir,rr,P,{lang:41,disabledfields:42,defaultoptions:43,simplepasswordvalidation:0,clientstyling:44,clientstylingurl:45,translationurl:46,savecredentials:1,custominputtextswitch:2},null,[-1,-1,-1]),e&&(e.target&&nt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["lang","disabledfields","defaultoptions","simplepasswordvalidation","clientstyling","clientstylingurl","translationurl","savecredentials","custominputtextswitch"]}get lang(){return this.$$.ctx[41]}set lang(e){this.$$set({lang:e}),d()}get disabledfields(){return this.$$.ctx[42]}set disabledfields(e){this.$$set({disabledfields:e}),d()}get defaultoptions(){return this.$$.ctx[43]}set defaultoptions(e){this.$$set({defaultoptions:e}),d()}get simplepasswordvalidation(){return this.$$.ctx[0]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),d()}get clientstyling(){return this.$$.ctx[44]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[45]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[46]}set translationurl(e){this.$$set({translationurl:e}),d()}get savecredentials(){return this.$$.ctx[1]}set savecredentials(e){this.$$set({savecredentials:e}),d()}get custominputtextswitch(){return this.$$.ctx[2]}set custominputtextswitch(e){this.$$set({custominputtextswitch:e}),d()}}return customElements.get("general-player-register-form-step1")||customElements.define("general-player-register-form-step1",nr),nr});
|
|
2
2
|
//# sourceMappingURL=general-player-register-form-step1.js.map
|