(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1451],{28866:function(t,e,r){"use strict";function n(t,e,r){if(void 0===r&&(r=Error),!t)throw new r(e)}r.d(e,{kG:function(){return n}})},57840:function(t,e,r){"use strict";function n(t,e){var r=e&&e.cache?e.cache:u,n=e&&e.serializer?e.serializer:a;return(e&&e.strategy?e.strategy:function(t,e){var r,n,a=1===t.length?o:i;return r=e.cache.create(),n=e.serializer,a.bind(this,t,r,n)})(t,{cache:r,serializer:n})}function o(t,e,r,n){var o=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),i=e.get(o);return void 0===i&&(i=t.call(this,n),e.set(o,i)),i}function i(t,e,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),i=e.get(o);return void 0===i&&(i=t.apply(this,n),e.set(o,i)),i}r.d(e,{A:function(){return l},H:function(){return n}});var a=function(){return JSON.stringify(arguments)};function s(){this.cache=Object.create(null)}s.prototype.get=function(t){return this.cache[t]},s.prototype.set=function(t,e){this.cache[t]=e};var u={create:function(){return new s}},l={variadic:function(t,e){var r,n;return r=e.cache.create(),n=e.serializer,i.bind(this,t,r,n)},monadic:function(t,e){var r,n;return r=e.cache.create(),n=e.serializer,o.bind(this,t,r,n)}}},69704:function(t,e,r){"use strict";r.d(e,{wD:function(){return s},VG:function(){return p},rp:function(){return d},Ii:function(){return A},O4:function(){return f},uf:function(){return m},Wh:function(){return T},Jo:function(){return v},yx:function(){return E},Wi:function(){return y},HI:function(){return b},pe:function(){return g},Qc:function(){return tn}});var n,o,i,a,s,u,l,c,h=r(98001);function f(t){return t.type===s.literal}function p(t){return t.type===s.argument}function m(t){return t.type===s.number}function d(t){return t.type===s.date}function g(t){return t.type===s.time}function y(t){return t.type===s.select}function v(t){return t.type===s.plural}function E(t){return t.type===s.pound}function b(t){return t.type===s.tag}function T(t){return!!(t&&"object"==typeof t&&t.type===u.number)}function A(t){return!!(t&&"object"==typeof t&&t.type===u.dateTime)}(n=a||(a={}))[n.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",n[n.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",n[n.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",n[n.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",n[n.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",n[n.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",n[n.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",n[n.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",n[n.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",n[n.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",n[n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",n[n.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",n[n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",n[n.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",n[n.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",n[n.INVALID_TAG=23]="INVALID_TAG",n[n.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",n[n.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",n[n.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=s||(s={}))[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",(i=u||(u={}))[i.number=0]="number",i[i.dateTime=1]="dateTime";var I=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,S=/(?:[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,B=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,L=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,N=/^(@+)?(\+|#+)?[rs]?$/g,_=/(\*)(0+)|(#+)(0+)|(0+)/g,C=/^(0+)$/;function w(t){var e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(N,function(t,r,n){return"string"!=typeof n?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):"+"===n?e.minimumSignificantDigits=r.length:"#"===r[0]?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""}),e}function P(t){switch(t){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 R(t){return P(t)||{}}var H={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","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"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},O=new RegExp("^".concat(I.source,"*")),M=new RegExp("".concat(I.source,"*$"));function U(t,e){return{start:t,end:e}}var D=!!String.prototype.startsWith&&"_a".startsWith("a",1),F=!!String.fromCodePoint,G=!!Object.fromEntries,x=!!String.prototype.codePointAt,k=!!String.prototype.trimStart,j=!!String.prototype.trimEnd,Y=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&9007199254740991>=Math.abs(t)},V=!0;try{var Z=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");V=(null===(l=Z.exec("a"))||void 0===l?void 0:l[0])==="a"}catch(t){V=!1}var X=D?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},K=F?String.fromCodePoint:function(){for(var t,e=[],r=0;ri;){if((t=e[i++])>1114111)throw RangeError(t+" is not a valid code point");n+=t<65536?String.fromCharCode(t):String.fromCharCode(((t-=65536)>>10)+55296,t%1024+56320)}return n},z=G?Object.fromEntries:function(t){for(var e={},r=0;r=n)){var o=t.charCodeAt(e);return o<55296||o>56319||e+1===n||(r=t.charCodeAt(e+1))<56320||r>57343?o:(o-55296<<10)+(r-56320)+65536}},$=k?function(t){return t.trimStart()}:function(t){return t.replace(O,"")},q=j?function(t){return t.trimEnd()}:function(t){return t.replace(M,"")};function Q(t,e){return new RegExp(t,e)}if(V){var J=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");c=function(t,e){var r;return J.lastIndex=e,null!==(r=J.exec(t)[1])&&void 0!==r?r:""}}else c=function(t,e){for(var r=[];;){var n,o=W(t,e);if(void 0===o||tr(o)||(n=o)>=33&&n<=35||36===n||n>=37&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||n>=46&&n<=47||n>=58&&n<=59||n>=60&&n<=62||n>=63&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||n>=162&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||n>=8208&&n<=8213||n>=8214&&n<=8215||8216===n||8217===n||8218===n||n>=8219&&n<=8220||8221===n||8222===n||8223===n||n>=8224&&n<=8231||n>=8240&&n<=8248||8249===n||8250===n||n>=8251&&n<=8254||n>=8257&&n<=8259||8260===n||8261===n||8262===n||n>=8263&&n<=8273||8274===n||8275===n||n>=8277&&n<=8286||n>=8592&&n<=8596||n>=8597&&n<=8601||n>=8602&&n<=8603||n>=8604&&n<=8607||8608===n||n>=8609&&n<=8610||8611===n||n>=8612&&n<=8613||8614===n||n>=8615&&n<=8621||8622===n||n>=8623&&n<=8653||n>=8654&&n<=8655||n>=8656&&n<=8657||8658===n||8659===n||8660===n||n>=8661&&n<=8691||n>=8692&&n<=8959||n>=8960&&n<=8967||8968===n||8969===n||8970===n||8971===n||n>=8972&&n<=8991||n>=8992&&n<=8993||n>=8994&&n<=9e3||9001===n||9002===n||n>=9003&&n<=9083||9084===n||n>=9085&&n<=9114||n>=9115&&n<=9139||n>=9140&&n<=9179||n>=9180&&n<=9185||n>=9186&&n<=9254||n>=9255&&n<=9279||n>=9280&&n<=9290||n>=9291&&n<=9311||n>=9472&&n<=9654||9655===n||n>=9656&&n<=9664||9665===n||n>=9666&&n<=9719||n>=9720&&n<=9727||n>=9728&&n<=9838||9839===n||n>=9840&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||n>=10132&&n<=10175||n>=10176&&n<=10180||10181===n||10182===n||n>=10183&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||n>=10224&&n<=10239||n>=10240&&n<=10495||n>=10496&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||n>=10649&&n<=10711||10712===n||10713===n||10714===n||10715===n||n>=10716&&n<=10747||10748===n||10749===n||n>=10750&&n<=11007||n>=11008&&n<=11055||n>=11056&&n<=11076||n>=11077&&n<=11078||n>=11079&&n<=11084||n>=11085&&n<=11123||n>=11124&&n<=11125||n>=11126&&n<=11157||11158===n||n>=11159&&n<=11263||n>=11776&&n<=11777||11778===n||11779===n||11780===n||11781===n||n>=11782&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||n>=11790&&n<=11798||11799===n||n>=11800&&n<=11801||11802===n||11803===n||11804===n||11805===n||n>=11806&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||n>=11818&&n<=11822||11823===n||n>=11824&&n<=11833||n>=11834&&n<=11835||n>=11836&&n<=11839||11840===n||11841===n||11842===n||n>=11843&&n<=11855||n>=11856&&n<=11857||11858===n||n>=11859&&n<=11903||n>=12289&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||n>=12306&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||n>=12318&&n<=12319||12320===n||12336===n||64830===n||64831===n||n>=65093&&n<=65094)break;r.push(o),e+=o>=65536?2:1}return K.apply(void 0,r)};var tt=function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var n=[];!this.isEOF();){var o=this.char();if(123===o){var i=this.parseArgument(t,r);if(i.err)return i;n.push(i.val)}else if(125===o&&t>0)break;else if(35===o&&("plural"===e||"selectordinal"===e)){var u=this.clonePosition();this.bump(),n.push({type:s.pound,location:U(u,this.clonePosition())})}else if(60!==o||this.ignoreTag||47!==this.peek()){if(60===o&&!this.ignoreTag&&te(this.peek()||0)){var i=this.parseTag(t,e);if(i.err)return i;n.push(i.val)}else{var i=this.parseLiteral(t,e);if(i.err)return i;n.push(i.val)}}else{if(!r)return this.error(a.UNMATCHED_CLOSING_TAG,U(this.clonePosition(),this.clonePosition()));break}}return{val:n,err:null}},t.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:s.literal,value:"<".concat(n,"/>"),location:U(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(a.INVALID_TAG,U(r,this.clonePosition()));var o=this.parseMessage(t+1,e,!0);if(o.err)return o;var i=o.val,u=this.clonePosition();if(!this.bumpIf(""))?{val:{type:s.tag,value:n,children:i,location:U(r,this.clonePosition())},err:null}:this.error(a.INVALID_TAG,U(u,this.clonePosition()))},t.prototype.parseTagName=function(){var t,e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(e);if(o){n+=o;continue}var i=this.tryParseUnquoted(t,e);if(i){n+=i;continue}var a=this.tryParseLeftAngleBracket();if(a){n+=a;continue}break}var u=U(r,this.clonePosition());return{val:{type:s.literal,value:n,location:u},err:null}},t.prototype.tryParseLeftAngleBracket=function(){var t;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(te(t=this.peek()||0)||47===t)?null:(this.bump(),"<")},t.prototype.tryParseQuote=function(t){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"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39===this.peek())e.push(39),this.bump();else{this.bump();break}}else e.push(r);this.bump()}return K.apply(void 0,e)},t.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&t>0?null:(this.bump(),K(r))},t.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,U(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(a.EMPTY_ARGUMENT,U(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(a.MALFORMED_ARGUMENT,U(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,U(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:s.argument,value:n,location:U(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,U(r,this.clonePosition()));return this.parseArgumentOptions(t,e,n,r);default:return this.error(a.MALFORMED_ARGUMENT,U(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=c(this.message,e),n=e+r.length;return this.bumpTo(n),{value:r,location:U(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,n){var o,i=this.clonePosition(),l=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(l){case"":return this.error(a.EXPECT_ARGUMENT_TYPE,U(i,c));case"number":case"date":case"time":this.bumpSpace();var f=null;if(this.bumpIf(",")){this.bumpSpace();var p=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var d=q(m.val);if(0===d.length)return this.error(a.EXPECT_ARGUMENT_STYLE,U(this.clonePosition(),this.clonePosition()));f={style:d,styleLocation:U(p,this.clonePosition())}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var y=U(n,this.clonePosition());if(f&&X(null==f?void 0:f.style,"::",0)){var v,E=$(f.style.slice(2));if("number"===l){var m=this.parseNumberSkeletonFromString(E,f.styleLocation);if(m.err)return m;return{val:{type:s.number,value:r,location:y,style:m.val},err:null}}if(0===E.length)return this.error(a.EXPECT_DATE_TIME_SKELETON,y);var b=E;this.locale&&(b=function(t,e){for(var r="",n=0;n>1),u=function(t){var e,r=t.hourCycle;if(void 0===r&&t.hourCycles&&t.hourCycles.length&&(r=t.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var n=t.language;return"root"!==n&&(e=t.maximize().region),(H[e||""]||H[n||""]||H["".concat(n,"-001")]||H["001"])[0]}(e);for(("H"==u||"k"==u)&&(s=0);s-- >0;)r+="a";for(;a-- >0;)r=u+r}else"J"===o?r+="H":r+=o}return r}(E,this.locale));var d={type:u.dateTime,pattern:b,location:f.styleLocation,parsedOptions:this.shouldParseSkeletons?(v={},b.replace(S,function(t){var e=t.length;switch(t[0]){case"G":v.era=4===e?"long":5===e?"narrow":"short";break;case"y":v.year=2===e?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":v.month=["numeric","2-digit","short","long","narrow"][e-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":v.day=["numeric","2-digit"][e-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":v.weekday=4===e?"long":5===e?"narrow":"short";break;case"e":if(e<4)throw RangeError("`e..eee` (weekday) patterns are not supported");v.weekday=["short","long","narrow","short"][e-4];break;case"c":if(e<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");v.weekday=["short","long","narrow","short"][e-4];break;case"a":v.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":v.hourCycle="h12",v.hour=["numeric","2-digit"][e-1];break;case"H":v.hourCycle="h23",v.hour=["numeric","2-digit"][e-1];break;case"K":v.hourCycle="h11",v.hour=["numeric","2-digit"][e-1];break;case"k":v.hourCycle="h24",v.hour=["numeric","2-digit"][e-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":v.minute=["numeric","2-digit"][e-1];break;case"s":v.second=["numeric","2-digit"][e-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":v.timeZoneName=e<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),v):{}};return{val:{type:"date"===l?s.date:s.time,value:r,location:y,style:d},err:null}}return{val:{type:"number"===l?s.number:"date"===l?s.date:s.time,value:r,location:y,style:null!==(o=null==f?void 0:f.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var T=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(a.EXPECT_SELECT_ARGUMENT_OPTIONS,U(T,(0,h.pi)({},T)));this.bumpSpace();var A=this.parseIdentifierIfPossible(),I=0;if("select"!==l&&"offset"===A.value){if(!this.bumpIf(":"))return this.error(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,U(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),A=this.parseIdentifierIfPossible(),I=m.val}var B=this.tryParsePluralOrSelectOptions(t,l,e,A);if(B.err)return B;var g=this.tryParseArgumentClose(n);if(g.err)return g;var L=U(n,this.clonePosition());if("select"===l)return{val:{type:s.select,value:r,options:z(B.val),location:L},err:null};return{val:{type:s.plural,value:r,options:z(B.val),offset:I,pluralType:"plural"===l?"cardinal":"ordinal",location:L},err:null};default:return this.error(a.INVALID_ARGUMENT_TYPE,U(i,c))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,U(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(a.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,U(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw Error("Number skeleton cannot be empty");for(var e=t.split(B).filter(function(t){return t.length>0}),r=[],n=0;n1)throw RangeError("integer-width stems only accept a single optional option");n.options[0].replace(_,function(t,r,n,o,i,a){if(r)e.minimumIntegerDigits=n.length;else if(o&&i)throw Error("We currently do not support maximum integer digits");else if(a)throw Error("We currently do not support exact integer digits");return""});continue}if(C.test(n.stem)){e.minimumIntegerDigits=n.stem.length;continue}if(L.test(n.stem)){if(n.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(L,function(t,r,n,o,i,a){return"*"===n?e.minimumFractionDigits=r.length:o&&"#"===o[0]?e.maximumFractionDigits=o.length:i&&a?(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length+a.length):(e.minimumFractionDigits=r.length,e.maximumFractionDigits=r.length),""});var o=n.options[0];"w"===o?e=(0,h.pi)((0,h.pi)({},e),{trailingZeroDisplay:"stripIfInteger"}):o&&(e=(0,h.pi)((0,h.pi)({},e),w(o)));continue}if(N.test(n.stem)){e=(0,h.pi)((0,h.pi)({},e),w(n.stem));continue}var i=P(n.stem);i&&(e=(0,h.pi)((0,h.pi)({},e),i));var a=function(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!C.test(t))throw Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(n.stem);a&&(e=(0,h.pi)((0,h.pi)({},e),a))}return e}(r):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,e,r,n){for(var o,i=!1,s=[],u=new Set,l=n.value,c=n.location;;){if(0===l.length){var h=this.clonePosition();if("select"!==e&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_SELECTOR,a.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=U(h,this.clonePosition()),l=this.message.slice(h.offset,this.offset())}else break}if(u.has(l))return this.error("select"===e?a.DUPLICATE_SELECT_ARGUMENT_SELECTOR:a.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(i=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?a.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:a.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,U(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(t+1,e,r);if(m.err)return m;var d=this.tryParseArgumentClose(p);if(d.err)return d;s.push([l,{value:m.val,location:U(p,this.clonePosition())}]),u.add(l),this.bumpSpace(),l=(o=this.parseIdentifierIfPossible()).value,c=o.location}return 0===s.length?this.error("select"===e?a.EXPECT_SELECT_ARGUMENT_SELECTOR:a.EXPECT_PLURAL_ARGUMENT_SELECTOR,U(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(a.MISSING_OTHER_CLAUSE,U(this.clonePosition(),this.clonePosition())):{val:s,err:null}},t.prototype.tryParseDecimalInteger=function(t,e){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,i=10*i+(a-48),this.bump();else break}var s=U(n,this.clonePosition());return o?Y(i*=r)?{val:i,err:null}:this.error(e,s):this.error(t,s)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=W(this.message,t);if(void 0===e)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return e},t.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(X(this.message,t,this.offset())){for(var e=0;e=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(e>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&tr(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),r=this.message.charCodeAt(e+(t>=65536?2:1));return null!=r?r:null},t}();function te(t){return t>=97&&t<=122||t>=65&&t<=90}function tr(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function tn(t,e){void 0===e&&(e={});var r=new tt(t,e=(0,h.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},e)).parse();if(r.err){var n=SyntaxError(a[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==e?void 0:e.captureLocation)||function t(e){e.forEach(function(e){if(delete e.location,y(e)||v(e))for(var r in e.options)delete e.options[r].location,t(e.options[r].value);else m(e)&&T(e.style)?delete e.style.location:(d(e)||g(e))&&A(e.style)?delete e.style.location:b(e)&&t(e.children)})}(r.val),r.val}},79262:function(t,e,r){"use strict";r.d(e,{$6:function(){return f},OV:function(){return u},Qe:function(){return c},X9:function(){return h},gb:function(){return l},wI:function(){return s}});var n,o,i=r(98001);(n=o||(o={})).FORMAT_ERROR="FORMAT_ERROR",n.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",n.INVALID_CONFIG="INVALID_CONFIG",n.MISSING_DATA="MISSING_DATA",n.MISSING_TRANSLATION="MISSING_TRANSLATION";var a=function(t){function e(r,n,o){var i=this,a=o?o instanceof Error?o:Error(String(o)):void 0;return(i=t.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,e),i}return(0,i.ZT)(e,t),e}(Error),s=function(t){function e(e,r){return t.call(this,o.UNSUPPORTED_FORMATTER,e,r)||this}return(0,i.ZT)(e,t),e}(a),u=function(t){function e(e,r){return t.call(this,o.INVALID_CONFIG,e,r)||this}return(0,i.ZT)(e,t),e}(a),l=function(t){function e(e,r){return t.call(this,o.MISSING_DATA,e,r)||this}return(0,i.ZT)(e,t),e}(a),c=function(t){function e(e,r,n){var i=t.call(this,o.FORMAT_ERROR,"".concat(e,"\nLocale: ").concat(r,"\n"),n)||this;return i.locale=r,i}return(0,i.ZT)(e,t),e}(a),h=function(t){function e(e,r,n,o){var i=t.call(this,"".concat(e,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),r,o)||this;return i.descriptor=n,i.locale=r,i}return(0,i.ZT)(e,t),e}(c),f=function(t){function e(e,r){var n=t.call(this,o.MISSING_TRANSLATION,'Missing message: "'.concat(e.id,'" for locale "').concat(r,'", using ').concat(e.defaultMessage?"default message (".concat("string"==typeof e.defaultMessage?e.defaultMessage:e.defaultMessage.map(function(t){var e;return null!==(e=t.value)&&void 0!==e?e:JSON.stringify(t)}).join(),")"):"id"," as fallback."))||this;return n.descriptor=e,n}return(0,i.ZT)(e,t),e}(a)},35076:function(t,e,r){"use strict";r.d(e,{L6:function(){return s},Sn:function(){return l},TB:function(){return f},Z0:function(){return u},ax:function(){return h}});var n=r(98001),o=r(70458),i=r(57840),a=r(79262);function s(t,e,r){return void 0===r&&(r={}),e.reduce(function(e,n){return n in t?e[n]=t[n]:n in r&&(e[n]=r[n]),e},{})}var u={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(t){},onWarn:function(t){}};function l(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function c(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}function h(t){void 0===t&&(t=l());var e=Intl.RelativeTimeFormat,r=Intl.ListFormat,a=Intl.DisplayNames,s=(0,i.H)(function(){for(var t,e=[],r=0;r=f.MIN_PRECISION&&r<=f.MAX_PRECISION,m=c(e);return n(m)?(p?l(m,(i=o,(u={})["minimum"+i]=r,u["maximum"+i]=r,u)):l(m)).format(t):p?(h=t,o===a.TYPE?h.toPrecision(r):h.toFixed(r)):""+t}var p={BIF:0,BYR:0,CLP:0,DJF:0,GNF:0,JPY:0,KMF:0,KRW:0,MGA:0,PYG:0,RWF:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,HUF:0,UGX:0,KES:0,BHD:3,JOD:3,KWD:3,OMR:3,TND:3};function m(t,e,r,n){var o,i,a;return void 0===r&&(r="en-GB"),void 0===n&&(n={alwaysShowDecimals:!1}),f(t,r,(o=n.alwaysShowDecimals,t%1!=0||o?(void 0===(i=e)&&(i=""),a=i.toUpperCase(),Object.prototype.hasOwnProperty.call(p,a)?p[a]:2):0))}function d(t,e,r,n){return void 0===r&&(r="en-GB"),void 0===n&&(n={alwaysShowDecimals:!1}),m(t,e,r,n)+" "+(e||"").toUpperCase()}function g(t,e,r){if("string"==typeof e)return y(t,e);var n=e&&e.significantFigures;return n?h(t,r||"en-GB",n):y(t,r||"en-GB")}function y(t,e){var r,o,i,a=4-Math.min(2,Math.max(0,Math.floor(Math.log10(t))-1));return r={minimumFractionDigits:a,maximumFractionDigits:a},o=t.toFixed(a),n(i=c(e))?l(i,r).format(t):o}var v={BRL:{hasInversionEnabled:!0},INR:{hasInversionEnabled:!0},JPY:{hasInversionEnabled:!0},IDR:{hasInversionEnabled:!0},HUF:{hasInversionEnabled:!0},RON:{hasInversionEnabled:!0},THB:{hasInversionEnabled:!0}};function E(t,e){return t||(v[e]||{}).multiplierForEquation||1}function b(t,e,r,n,o){var i,a,s,u,l,c,f,p,d,g=void 0===n?{}:n,y=g.reference,b=g.referenceMultiplier,T=g.significantFigures,A=void 0===T?6:T;void 0===o&&(o="en-GB");var I={suggested:{},formats:{}};I.formats.decimal={output:h(t,o,A),significantFigures:A};var S=(a=(i={reference:void 0===y?"auto":y,referenceMultiplier:b}).reference,s=i.referenceMultiplier,function(){if(!t)throw Error("rate parameter is mandatory (got "+t+" instead).");if(!e)throw Error("sourceCurrency parameter is mandatory (got "+e+" instead).");if(!r)throw Error("targetCurrency parameter is mandatory (got "+r+" instead).");if(s&&"number"!=typeof s)throw Error("referenceMultiplier must be a number (got "+typeof s+" "+s+" instead)")}(),!function(t,e){if("source"===t)return!1;if("target"===t)return!0;if(["auto",void 0,null].indexOf(t)>-1)return!!(v[e]||{}).hasInversionEnabled;throw Error("Unrecognized reference config value: "+t+" (valid values are auto, source, target).")}(void 0===a?"auto":a,e)?{lhsCurrency:e,lhsValue:E(s,e),rhsCurrency:r,rhsValue:t*E(s,e)}:{lhsCurrency:r,lhsValue:E(s,r),rhsCurrency:e,rhsValue:E(s,r)/t});return I.formats.equation={output:(u={significantFigures:A},l=o,c=S.lhsCurrency,f=S.rhsValue,p=S.rhsCurrency,d=(void 0===u?{}:u).significantFigures,void 0===l&&(l="en-GB"),m(S.lhsValue,c,l)+" "+c+" = "+h(f,l,void 0===d?6:d)+" "+p),reference:S.lhsCurrency===e?"source":"target",referenceMultiplier:S.lhsValue,calculationInDecimal:h(S.rhsValue,o,A)},I.suggested=S.lhsCurrency===e&&1===S.lhsValue?{format:"decimal",output:I.formats.decimal.output}:{format:"equation",output:I.formats.equation.output},I}function T(t){var e=t.rate,r=t.sourceCurrency,n=t.targetCurrency,o=t.locale,i="BRL"===r&&e<=10||e<.1,a=i?1/e:e,s=g(a,o)+" "+(i?r:n);return{decimal:g(a,o),inverted:i,equation:"1 "+(i?n:r)+" = "+s}}var A,I,S=function(t,e){return void 0===e&&(e="en-GB"),Intl.NumberFormat(e,{style:"percent",maximumFractionDigits:2}).format(t)},B={},L=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function _(t,e,r){var n,o;return void 0===e&&(e="en-GB"),void 0===I&&(I=function(){try{var t=new Date(2018,11,1);return"01/12/2018"===new Intl.DateTimeFormat("en-GB").format(t)}catch(t){return!1}}()),I?new Intl.DateTimeFormat((void 0===B[o=n=e]&&(B[o]=function(t){try{return Intl.DateTimeFormat.supportedLocalesOf([t]).length>0}catch(t){return!1}}(o)),B[o])?n:"en-GB",r).format(t):function t(e,r){void 0===r&&(r={});var n="UTC"===r.timeZone,o=[];if(r.day&&o.push(n?e.getUTCDate():e.getDate()),r.month){var i="short"===r.month?N[n?e.getUTCMonth():e.getMonth()]:(n?e.getUTCMonth():e.getMonth())+1;"short"!==r.month?o.push(i):o.unshift(i)}r.year&&o.push(e.getUTCFullYear());var a="short"===r.month?" ":"/",s=o.join(a);if(r.weekday){var u=L[n?e.getUTCDay():e.getDay()];s=s?u+", "+s:u}return s||t(e,{timeZone:r.timeZone,day:"true",month:"true",year:"true"})}(t,r)}(o=i||(i={})).SECOND="second",o.MINUTE="minute",o.HOUR="hour"},50683:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,i=u(t),a=i[0],s=i[1],l=new o((a+s)*3/4-s),c=0,h=s>0?a-4:a;for(r=0;r>16&255,l[c++]=e>>8&255,l[c++]=255&e;return 2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,l[c++]=255&e),1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e),l},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],a=0,s=n-o;a>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(t,a,a+16383>s?s:a+16383));return 1===o?i.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===o&&i.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},5309:function(t,e,r){"use strict";var n=r(50683),o=r(32093),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return c(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!s.isEncoding(e))throw TypeError("Unknown encoding: "+e);var r=0|m(t,e),n=a(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(C(t,Uint8Array)){var e=new Uint8Array(t);return f(e.buffer,e.byteOffset,e.byteLength)}return h(t)}(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(C(t,ArrayBuffer)||t&&C(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(C(t,SharedArrayBuffer)||t&&C(t.buffer,SharedArrayBuffer)))return f(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return s.from(n,e,r);var o=function(t){if(s.isBuffer(t)){var e,r=0|p(t.length),n=a(r);return 0===n.length||t.copy(n,0,0,r),n}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?a(0):h(t):"Buffer"===t.type&&Array.isArray(t.data)?h(t.data):void 0}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function l(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return l(t),a(t<0?0:0|p(t))}function h(t){for(var e=t.length<0?0:0|p(t.length),r=a(e),n=0;n=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function m(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||C(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return L(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return N(t).length;default:if(o)return n?-1:L(t).length;e=(""+e).toLowerCase(),o=!0}}function d(t,e,r){var o,i,a=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(i=r=+r)!=i&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return -1;r=t.length-1}else if(r<0){if(!o)return -1;r=0}if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,o);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):v(t,[e],r,n,o);throw TypeError("val must be string, number or Buffer")}function v(t,e,r,n,o){var i,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;a=2,s/=2,u/=2,r/=2}function l(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var c=-1;for(i=r;is&&(r=s-u),i=r;i>=0;i--){for(var h=!0,f=0;f239?4:l>223?3:l>191?2:1;if(o+h<=r)switch(h){case 1:l<128&&(c=l);break;case 2:(192&(i=t[o+1]))==128&&(u=(31&l)<<6|63&i)>127&&(c=u);break;case 3:i=t[o+1],a=t[o+2],(192&i)==128&&(192&a)==128&&(u=(15&l)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:i=t[o+1],a=t[o+2],s=t[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(u=(15&l)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,h=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),o+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var r="",n=0;nr)throw RangeError("Trying to access beyond buffer length")}function T(t,e,r,n,o,i){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw RangeError("Index out of range")}function A(t,e,r,n,o,i){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function I(t,e,r,n,i){return e=+e,r>>>=0,i||A(t,e,r,4,34028234663852886e22,-34028234663852886e22),o.write(t,e,r,n,23,4),r+4}function S(t,e,r,n,i){return e=+e,r>>>=0,i||A(t,e,r,8,17976931348623157e292,-17976931348623157e292),o.write(t,e,r,n,52,8),r+8}e.lW=s,e.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return u(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return(l(t),t<=0)?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return c(t)},s.allocUnsafeSlow=function(t){return c(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(C(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),C(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);on.length?s.from(i).copy(n,o):Uint8Array.prototype.set.call(n,i,o);else if(s.isBuffer(i))i.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=i.length}return n},s.byteLength=m,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;er&&(t+=" ... "),""},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,o){if(C(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,a=r-e,u=Math.min(i,a),l=this.slice(n,o),c=t.slice(e,r),h=0;h>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,s,u,l,c,h,f=this.length-e;if((void 0===r||r>f)&&(r=f),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;n>i/2&&(n=i/2);for(var a=0;a>8,o.push(r%256),o.push(n);return o}(t,this.length-c),this,c,h);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t],o=1,i=0;++i>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t>>>=0,e||b(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},s.prototype.readInt8=function(t,e){return(t>>>=0,e||b(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||b(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||b(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||b(t,4,this.length),o.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||b(t,4,this.length),o.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||b(t,8,this.length),o.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||b(t,8,this.length),o.read(this,t,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;T(this,t,e,r,o,0)}var i=1,a=0;for(this[e]=255&t;++a>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;T(this,t,e,r,o,0)}var i=r-1,a=1;for(this[e+i]=255&t;--i>=0&&(a*=256);)this[e+i]=t/a&255;return e+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);T(this,t,e,r,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i>0)-s&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);T(this,t,e,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,r){return I(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return I(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return S(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return S(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&r<57344){if(!o){if(r>56319||a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function N(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(B,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function _(t,e,r,n){for(var o=0;o=e.length)&&!(o>=t.length);++o)e[o+r]=t[o];return o}function C(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var w=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()},26372:function(t,e){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e>1,c=-7,h=r?o-1:0,f=r?-1:1,p=t[e+h];for(h+=f,i=p&(1<<-c)-1,p>>=-c,c+=s;c>0;i=256*i+t[e+h],h+=f,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+t[e+h],h+=f,c-=8);if(0===i)i=1-l;else{if(i===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=l}return(p?-1:1)*a*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var a,s,u,l=8*i-o-1,c=(1<>1,f=23===o?5960464477539062e-23:0,p=n?0:i-1,m=n?1:-1,d=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+h>=1?e+=f/u:e+=f*Math.pow(2,1-h),e*u>=2&&(a++,u/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(e*u-1)*Math.pow(2,o),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,o),a=0));o>=8;t[r+p]=255&s,p+=m,s/=256,o-=8);for(a=a<0;t[r+p]=255&a,p+=m,a/=256,l-=8);t[r+p-m]|=128*d}},70458:function(t,e,r){"use strict";r.d(e,{C:function(){return u}});var n=r(98001),o=r(69704),i=r(57840),a=r(89983);function s(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}var u=function(){function t(e,r,o,u){var l,c,h=this;if(void 0===r&&(r=t.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var e=h.formatToParts(t);if(1===e.length)return e[0].value;var r=e.reduce(function(t,e){return t.length&&e.type===a.du.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t},[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(t){return(0,a.FK)(h.ast,h.locales,h.formatters,h.formats,t,void 0,h.message)},this.resolvedOptions=function(){var t;return{locale:(null===(t=h.resolvedLocale)||void 0===t?void 0:t.toString())||Intl.NumberFormat.supportedLocalesOf(h.locales)[0]}},this.getAst=function(){return h.ast},this.locales=r,this.resolvedLocale=t.resolveLocale(r),"string"==typeof e){if(this.message=e,!t.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var f=u||{},p=(f.formatters,(0,n._T)(f,["formatters"]));this.ast=t.__parse(e,(0,n.pi)((0,n.pi)({},p),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(l=t.formats,o?Object.keys(l).reduce(function(t,e){var r,i;return t[e]=(r=l[e],(i=o[e])?(0,n.pi)((0,n.pi)((0,n.pi)({},r||{}),i||{}),Object.keys(r).reduce(function(t,e){return t[e]=(0,n.pi)((0,n.pi)({},r[e]),i[e]||{}),t},{})):r),t},(0,n.pi)({},l)):l),this.formatters=u&&u.formatters||(void 0===(c=this.formatterCache)&&(c={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,i.H)(function(){for(var t,e=[],r=0;r0?e[0]:"string"==typeof t?t:t[0])}},t.__parse=o.Qc,t.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"}}},t}()},78385:function(t,e,r){"use strict";r.d(e,{C8:function(){return s},HR:function(){return l},YR:function(){return u},jK:function(){return o},u_:function(){return a}});var n,o,i=r(98001);(n=o||(o={})).MISSING_VALUE="MISSING_VALUE",n.INVALID_VALUE="INVALID_VALUE",n.MISSING_INTL_API="MISSING_INTL_API";var a=function(t){function e(e,r,n){var o=t.call(this,e)||this;return o.code=r,o.originalMessage=n,o}return(0,i.ZT)(e,t),e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),s=function(t){function e(e,r,n,i){return t.call(this,'Invalid values for "'.concat(e,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),o.INVALID_VALUE,i)||this}return(0,i.ZT)(e,t),e}(a),u=function(t){function e(e,r,n){return t.call(this,'Value for "'.concat(e,'" must be of type ').concat(r),o.INVALID_VALUE,n)||this}return(0,i.ZT)(e,t),e}(a),l=function(t){function e(e,r){return t.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(r,'"'),o.MISSING_VALUE,r)||this}return(0,i.ZT)(e,t),e}(a)},89983:function(t,e,r){"use strict";r.d(e,{FK:function(){return function t(e,r,n,u,l,c,h){if(1===e.length&&(0,i.O4)(e[0]))return[{type:o.literal,value:e[0].value}];for(var f=[],p=0;p needs to exist in the component ancestry.")}var u=(0,n.pi)((0,n.pi)({},a.Z0),{textComponent:o.Fragment});function l(t){return function(e){return t(o.Children.toArray(e))}}function c(t,e){if(t===e)return!0;if(!t||!e)return!1;var r=Object.keys(t),n=Object.keys(e),o=r.length;if(n.length!==o)return!1;for(var i=0;i{let{className:r}=(0,i.F)();return(0,a.jsx)("div",{className:(0,o.W)(r,t),children:e})};var u=r(35241),l=r(40426);let c=(0,n.createContext)(void 0),h=/\bnp-theme-[a-z-]+\b/g,f=({theme:t=u.Bd,screenMode:e=u.AS,isNotRootProvider:r=!1,children:o,className:i})=>{let f=void 0===(0,n.useContext)(c);(0,n.useEffect)(()=>{!r&&f&&(document.documentElement.className.match(h)?.forEach(t=>{document.documentElement.classList.remove(t)}),(0,l.eS)(t,e).split(" ").forEach(t=>{document.documentElement.classList.add(t)}))},[r,f,t,e]);let p=(0,n.useMemo)(()=>({theme:t,screenMode:e}),[e,t]);return(0,a.jsx)(c.Provider,{value:p,children:(0,a.jsx)(s,{className:i,children:o})})}},35241:function(t,e,r){"use strict";r.d(e,{AS:function(){return s},BI:function(){return o},Bd:function(){return a},EW:function(){return i},ST:function(){return n}});let n=["forest-green","bright-green"],o=["light","dark"],i=["personal",...n],a="light",s="light"},40426:function(t,e,r){"use strict";r.d(e,{If:function(){return s},Kq:function(){return o},cG:function(){return a},eS:function(){return u}});var n=r(35241);let o=t=>n.EW.includes(t),i=t=>n.ST.includes(t),a=t=>t===n.ST[0],s=(t,e)=>o(t)&&n.BI[1]===e,u=(t,e)=>{if(!o(t))return`np-theme-${t||"personal"}`;let r="np-theme-personal";return i(t)?r+=` ${r}--${t}`:n.BI[1]===e&&(r+=` ${r}--${e}`),r}},29406:function(t,e,r){"use strict";r.d(e,{F:function(){return l}});var n=r(70079),o=r(27823),i=r(35241),a=r(40426);let s={theme:i.Bd,screenMode:i.AS},u=()=>{try{return["localhost","dev-wi.se"].includes(window.location.hostname)}catch{return!1}},l=()=>{let t=(0,n.useContext)(o.N);!t&&u()&&console.warn("Call to useTheme outside a ThemeProvider");let{theme:e,screenMode:r}=t??s,l=e===i.Bd?i.AS:r;return(0,n.useMemo)(()=>({theme:e,screenMode:l,isModern:(0,a.Kq)(e),isForestGreenTheme:(0,a.cG)(e),isScreenModeDark:(0,a.If)(e,l),className:(0,a.eS)(e,l)}),[e,l])}},53048:function(t,e,r){"use strict";function n(){for(var t,e,r=0,n="",o=arguments.length;r{let{status:t,size:e,onAnimationCompleted:r}=this.props,{status:n,size:o}=this.state;n!==t&&this.setState({status:t},()=>{r&&(this.timeout=window.setTimeout(()=>{r(t)},1500))}),o!==e&&this.setState({size:e})},1500)}shouldComponentUpdate(t,e){let r=t.status===e.status,n=t.size===e.size;return r&&n}componentWillUnmount(){window.clearInterval(this.interval),window.clearTimeout(this.timeout)}render(){let{className:t,"data-testid":e}=this.props,{size:r,status:n}=this.state,o=(0,s.W)("process process-".concat(r),t,{"process-danger":n===i.FAILED,"process-stopped":n===i.HIDDEN,"process-success":n===i.SUCCEEDED});return(0,c.jsxs)("span",{className:o,"data-testid":e,children:[(0,c.jsxs)("span",{className:"process-icon-container",children:[(0,c.jsx)("span",{className:"process-icon-horizontal"}),(0,c.jsx)("span",{className:"process-icon-vertical"})]}),(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",children:(0,c.jsx)("circle",{className:"process-circle",cx:"50%",cy:"50%",r:h[r],fillOpacity:"0.0"})})]})}constructor(t){super(t),this.interval=0,this.timeout=0,this.state={status:t.status,size:t.size}}}f.defaultProps={status:"processing",size:"sm"};var p=(0,r(5532).vU)({loadingAriaLabel:{id:"neptune.Button.loadingAriaLabel"}}),m=r(98507);let d={[m.C.ACCENT]:"btn-accent",[m.C.POSITIVE]:"btn-positive",[m.C.NEGATIVE]:"btn-negative"},g={[m.U.PRIMARY]:"btn-priority-1",[m.U.SECONDARY]:"btn-priority-2",[m.U.TERTIARY]:"btn-priority-3"};(o=a||(a={})).PRIMARY="primary",o.PAY="pay",o.SECONDARY="secondary",o.DANGER="danger",o.LINK="link";var y=r(10511),v=r(65163);let E={[a.PRIMARY]:m.C.ACCENT,[a.SECONDARY]:m.C.ACCENT,[a.LINK]:m.C.ACCENT,[a.PAY]:m.C.POSITIVE,[a.DANGER]:m.C.NEGATIVE},b={[a.DANGER]:m.U.SECONDARY,[a.LINK]:m.U.TERTIARY,[a.SECONDARY]:m.U.SECONDARY},T={[a.DANGER]:"Type.NEGATIVE",[a.LINK]:"ControlType.ACCENT with priority Priority.TERTIARY",[a.PAY]:"ControlType.POSITIVE",[a.PRIMARY]:"ControlType.ACCENT",[a.SECONDARY]:"ControlType.ACCENT with priority Priority.SECONDARY"},A=Object.keys(E),I=t=>E[t]||t,S=(t,e)=>{let r=I(e);return b[e]?b[e]:t===m.U.TERTIARY&&r!==m.C.ACCENT?m.U.SECONDARY:t},B=t=>{let{size:e,type:r}=t;(0,y.j)("Button has deprecated the `Size.EXTRA_SMALL` value for the `size` prop. Please use Size.SMALL instead.",e===v.$.EXTRA_SMALL),(0,y.j)("Button has deprecated the ".concat(r," value for the `type` prop. Please update to ").concat(T[r],"."),A.includes(r))},L=(0,u.forwardRef)((t,e)=>{let r,{as:n,block:o=!1,children:i,className:a,disabled:u,loading:h=!1,priority:y=m.U.PRIMARY,size:E=v.$.MEDIUM,type:b=m.C.ACCENT,onClick:T,...A}=t,L=(0,l.Z)();B({size:E,type:b});let N=I(b),_=S(y,b),C=(0,s.W)("btn btn-".concat(E),"np-btn np-btn-".concat(E),{"btn-loading":h,"btn-block np-btn-block":o,disabled:u},d[N],g[_],a),w=null!=n?n:"button";if("button"===w){let{htmlType:t="button",...e}=A;r={...e,disabled:u,"aria-disabled":h,type:t}}else r={...A,"aria-disabled":h};return(0,c.jsxs)(w,{ref:e,className:C,onClick:t=>{u||h?t.preventDefault():"function"==typeof T&&T(t)},...r,"aria-live":h?"polite":"off","aria-busy":h,"aria-label":h?L.formatMessage(p.loadingAriaLabel):A["aria-label"],children:[i,h&&(0,c.jsx)(f,{size:["sm","xs"].includes(E)?"xxs":"xs",className:"btn-loader","data-testid":"ButtonProgressIndicator"})]})})},77296:function(t,e,r){"use strict";r.d(e,{P:function(){return c}});var n=r(77713),o=r(53048),i=r(70079),a=r(77874),s=r(65163),u=(0,r(5532).vU)({ariaLabel:{id:"neptune.CloseButton.ariaLabel"}}),l=r(35250);let c=(0,i.forwardRef)(function(t,e){let{"aria-label":r,size:i=s.$.MEDIUM,filled:c=!1,className:h,onClick:f,isDisabled:p,testId:m}=t,d=(0,a.Z)();null!=r||(r=d.formatMessage(u.ariaLabel));let g=c?n.CrossCircleFill:n.Cross;return(0,l.jsx)("button",{ref:e,type:"button",className:(0,o.W)("np-close-button","close btn-link","text-no-decoration",{"np-close-button--large":i===s.$.MEDIUM,"np-close-button--x-large":i===s.$.LARGE},h),"aria-label":r,"aria-disabled":p,disabled:p,"data-testid":m,onClick:f,children:(0,l.jsx)(g,{size:i===s.$.SMALL?16:24})})})},86750:function(t,e,r){"use strict";var n,o;r.d(e,{N:function(){return n}}),(o=n||(n={})).RTL="rtl",o.LTR="ltr",o.AUTO="auto"},19330:function(t,e,r){"use strict";r.d(e,{Md:function(){return u},VN:function(){return l},ZW:function(){return o},rn:function(){return s}});var n=r(86750);let o="en-GB",i=["ar","he"],a=["en","de","es","fr","hu","id","it","ja","pl","pt","ro","ru","th","tr","uk","zh"];function s(t){let e=null==t?void 0:t.trim();if(e)try{return new Intl.Locale(e.replace("_","-")).baseName}catch(t){console.error(t)}return null}function u(t){let e=s(t);if(null!=e){let{language:t}=new Intl.Locale(e);if(a.includes(t))return t}return null}function l(t){let e=s(t);return null!=e&&i.includes(new Intl.Locale(e).language)?n.N.RTL:n.N.LTR}},98507:function(t,e,r){"use strict";var n,o,i,a;r.d(e,{C:function(){return n},U:function(){return o}}),(i=n||(n={})).ACCENT="accent",i.POSITIVE="positive",i.NEGATIVE="negative",(a=o||(o={})).PRIMARY="primary",a.SECONDARY="secondary",a.TERTIARY="tertiary"},65163:function(t,e,r){"use strict";var n,o;r.d(e,{$:function(){return n}}),(o=n||(n={})).EXTRA_SMALL="xs",o.SMALL="sm",o.MEDIUM="md",o.LARGE="lg",o.EXTRA_LARGE="xl"},61969:function(t,e,r){"use strict";var n,o;r.d(e,{Z:function(){return n}}),(o=n||(n={})).DISPLAY_EXTRA_LARGE="display-extra-large",o.DISPLAY_LARGE="display-large",o.DISPLAY_MEDIUM="display-medium",o.DISPLAY_SMALL="display-small",o.DISPLAY_NUMBER="display-number",o.TITLE_SCREEN="title-screen",o.TITLE_SECTION="title-section",o.TITLE_SUBSECTION="title-subsection",o.TITLE_BODY="title-body",o.TITLE_GROUP="title-group",o.BODY_LARGE="body-large",o.BODY_DEFAULT="body-default",o.BODY_DEFAULT_BOLD="body-default-bold",o.BODY_LARGE_BOLD="body-large-bold",o.LINK_LARGE="link-large",o.LINK_DEFAULT="link-default"},83276:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var n={"neptune.Button.loadingAriaLabel":"loading","neptune.Chips.ariaLabel":"Clear {choice}","neptune.ClearButton.ariaLabel":"Clear","neptune.CloseButton.ariaLabel":"Close","neptune.DateInput.day.label":"Day","neptune.DateInput.day.placeholder":"DD","neptune.DateInput.month.label":"Month","neptune.DateInput.year.label":"Year","neptune.DateInput.year.placeholder":"YYYY","neptune.DateLookup.day":"day","neptune.DateLookup.goTo20YearView":"Go to 20 year view","neptune.DateLookup.month":"month","neptune.DateLookup.next":"next","neptune.DateLookup.previous":"previous","neptune.DateLookup.selected":"selected","neptune.DateLookup.twentyYears":"20 years","neptune.DateLookup.year":"year","neptune.FlowNavigation.back":"back to previous step","neptune.Info.ariaLabel":"More information","neptune.Label.optional":"(Optional)","neptune.Link.opensInNewTab":"(opens in new tab)","neptune.MoneyInput.Select.placeholder":"Select an option...","neptune.MoneyInput.Select.selectCurrencyLabel":"Select currency","neptune.PhoneNumberInput.SelectInput.placeholder":"Select an option...","neptune.Select.searchPlaceholder":"Search...","neptune.SelectInput.noResultsFound":"No results found","neptune.SelectOption.action.label":"Choose","neptune.SelectOption.selected.action.label":"Change chosen option","neptune.StatusIcon.iconLabel.error":"Error:","neptune.StatusIcon.iconLabel.information":"Information:","neptune.StatusIcon.iconLabel.pending":"Pending:","neptune.StatusIcon.iconLabel.success":"Success:","neptune.StatusIcon.iconLabel.warning":"Warning:","neptune.Summary.statusDone":"Item done","neptune.Summary.statusNotDone":"Item to do","neptune.Summary.statusPending":"Item pending","neptune.Upload.csButtonText":"Upload another file?","neptune.Upload.csFailureText":"Upload failed. Please, try again","neptune.Upload.csSuccessText":"Upload complete!","neptune.Upload.csTooLargeMessage":"Please provide a file smaller than {maxSize}MB","neptune.Upload.csWrongTypeMessage":"File type not supported. Please try again with a different file","neptune.Upload.psButtonText":"Cancel","neptune.Upload.psProcessingText":"Uploading...","neptune.Upload.retry":"Retry","neptune.Upload.usButtonText":"Or select a file","neptune.Upload.usDropMessage":"Drop file to start upload","neptune.Upload.usPlaceholder":"Drag and drop a file less than {maxSize}MB","neptune.UploadButton.allFileTypes":"All file types","neptune.UploadButton.dropFiles":"Drop file to start upload","neptune.UploadButton.instructions":"{fileTypes}, less than {size}MB","neptune.UploadButton.uploadFile":"Upload file","neptune.UploadButton.uploadFiles":"Upload files","neptune.UploadInput.deleteModalBody":"Removing this file will delete it from our system.","neptune.UploadInput.deleteModalCancelButtonText":"Cancel","neptune.UploadInput.deleteModalConfirmButtonText":"Remove","neptune.UploadInput.deleteModalTitle":"Sure you want to remove this file?","neptune.UploadInput.fileIsTooLarge":"File is too large","neptune.UploadInput.fileTypeNotSupported":"File type not supported","neptune.UploadInput.maximumFilesAlreadyUploaded":"Sorry, this upload failed because we can only accept {maxFilesAllowed} files at once.","neptune.UploadItem.deleting":"Deleting...","neptune.UploadItem.removeFile":"Remove file {filename}","neptune.UploadItem.uploaded":"Uploaded","neptune.UploadItem.uploadedFile":"Uploaded file","neptune.UploadItem.uploading":"Uploading...","neptune.UploadItem.uploadingFailed":"Uploading failed"}},48487:function(t,e,r){"use strict";r.d(e,{Z:function(){return u}});var n=r(53048),o=r(35250),i=r(61969);let a=i.Z.TITLE_GROUP,s={[i.Z.TITLE_SCREEN]:"h1",[i.Z.TITLE_SECTION]:"h2",[i.Z.TITLE_SUBSECTION]:"h3",[i.Z.TITLE_BODY]:"h4",[i.Z.TITLE_GROUP]:"h5"};function u(t){let{as:e,type:r=a,className:i,...u}=t,l=s[r];if(void 0!==l){let t=null!=e?e:l;return(0,o.jsx)(t,{...u,className:(0,n.W)("np-text-".concat(r),i)})}let c=null!=e?e:s[a];return(0,o.jsx)(c,{...u,className:(0,n.W)("np-text-".concat(a),i)})}},10511:function(t,e,r){"use strict";r.d(e,{A:function(){return o},j:function(){return i}});var n=r(44675);function o(t){var e;void 0!==n&&(null===(e=n.env)||void 0===e?void 0:"production")!=="production"&&console.warn(t)}function i(t,e){e&&o(t)}},98001:function(t,e,r){"use strict";r.d(e,{ZT:function(){return o},_T:function(){return a},ev:function(){return s},pi:function(){return i}});var n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var i=function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;re.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);oe.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}function s(t,e,r){if(r||2==arguments.length)for(var n,o=0,i=e.length;o