UNPKG

@rc-component/tree-select

Version:
18 lines 955 kB
!(function(){var uc=Object.defineProperty,sc=Object.defineProperties;var lc=Object.getOwnPropertyDescriptors;var Vu=Object.getOwnPropertySymbols;var Ml=Object.prototype.hasOwnProperty,Rl=Object.prototype.propertyIsEnumerable;var Pl=(d,p,e)=>p in d?uc(d,p,{enumerable:!0,configurable:!0,writable:!0,value:e}):d[p]=e,tu=(d,p)=>{for(var e in p||(p={}))Ml.call(p,e)&&Pl(d,e,p[e]);if(Vu)for(var e of Vu(p))Rl.call(p,e)&&Pl(d,e,p[e]);return d},Yu=(d,p)=>sc(d,lc(p));var Rs=(d,p)=>{var e={};for(var n in d)Ml.call(d,n)&&p.indexOf(n)<0&&(e[n]=d[n]);if(d!=null&&Vu)for(var n of Vu(d))p.indexOf(n)<0&&Rl.call(d,n)&&(e[n]=d[n]);return e};(function(){var __webpack_modules__={37016:function(d,p,e){"use strict";e.d(p,{A:function(){return y},H:function(){return n}});function n(S,w){var g=w&&w.cache?w.cache:l,b=w&&w.serializer?w.serializer:m,x=w&&w.strategy?w.strategy:f;return x(S,{cache:g,serializer:b})}function a(S){return S==null||typeof S=="number"||typeof S=="boolean"}function o(S,w,g,b){var x=a(b)?b:g(b),L=w.get(x);return typeof L=="undefined"&&(L=S.call(this,b),w.set(x,L)),L}function i(S,w,g){var b=Array.prototype.slice.call(arguments,3),x=g(b),L=w.get(x);return typeof L=="undefined"&&(L=S.apply(this,b),w.set(x,L)),L}function s(S,w,g,b,x){return g.bind(w,S,b,x)}function f(S,w){var g=S.length===1?o:i;return s(S,this,g,w.cache.create(),w.serializer)}function c(S,w){return s(S,this,i,w.cache.create(),w.serializer)}function h(S,w){return s(S,this,o,w.cache.create(),w.serializer)}var m=function(){return JSON.stringify(arguments)},v=function(){function S(){this.cache=Object.create(null)}return S.prototype.get=function(w){return this.cache[w]},S.prototype.set=function(w,g){this.cache[w]=g},S}(),l={create:function(){return new v}},y={variadic:c,monadic:h}},69368:function(d,p,e){"use strict";e.d(p,{wD:function(){return o},VG:function(){return f},rp:function(){return h},Ii:function(){return g},O4:function(){return s},uf:function(){return c},Wh:function(){return w},Jo:function(){return l},yx:function(){return y},Wi:function(){return v},HI:function(){return S},pe:function(){return m},Qc:function(){return Bt}});var n=e(80813),a;(function(O){O[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"})(a||(a={}));var o;(function(O){O[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||(o={}));var i;(function(O){O[O.number=0]="number",O[O.dateTime=1]="dateTime"})(i||(i={}));function s(O){return O.type===o.literal}function f(O){return O.type===o.argument}function c(O){return O.type===o.number}function h(O){return O.type===o.date}function m(O){return O.type===o.time}function v(O){return O.type===o.select}function l(O){return O.type===o.plural}function y(O){return O.type===o.pound}function S(O){return O.type===o.tag}function w(O){return!!(O&&typeof O=="object"&&O.type===i.number)}function g(O){return!!(O&&typeof O=="object"&&O.type===i.dateTime)}function b(O){return{type:o.literal,value:O}}function x(O,U){return{type:o.number,value:O,style:U}}var L=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,k=/[\t-\r \x85\u200E\u200F\u2028\u2029]/,W=/(?:[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;function R(O){var U={};return O.replace(W,function(V){var q=V.length;switch(V[0]){case"G":U.era=q===4?"long":q===5?"narrow":"short";break;case"y":U.year=q===2?"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":U.month=["numeric","2-digit","short","long","narrow"][q-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":U.day=["numeric","2-digit"][q-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":U.weekday=q===4?"long":q===5?"narrow":"short";break;case"e":if(q<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");U.weekday=["short","long","narrow","short"][q-4];break;case"c":if(q<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");U.weekday=["short","long","narrow","short"][q-4];break;case"a":U.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":U.hourCycle="h12",U.hour=["numeric","2-digit"][q-1];break;case"H":U.hourCycle="h23",U.hour=["numeric","2-digit"][q-1];break;case"K":U.hourCycle="h11",U.hour=["numeric","2-digit"][q-1];break;case"k":U.hourCycle="h24",U.hour=["numeric","2-digit"][q-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":U.minute=["numeric","2-digit"][q-1];break;case"s":U.second=["numeric","2-digit"][q-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":U.timeZoneName=q<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""}),U}var j=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function P(O){if(O.length===0)throw new Error("Number skeleton cannot be empty");for(var U=O.split(j).filter(function(ir){return ir.length>0}),V=[],q=0,Ee=U;q<Ee.length;q++){var Ue=Ee[q],Ve=Ue.split("/");if(Ve.length===0)throw new Error("Invalid number skeleton");for(var vt=Ve[0],lt=Ve.slice(1),mt=0,Qt=lt;mt<Qt.length;mt++){var Xt=Qt[mt];if(Xt.length===0)throw new Error("Invalid number skeleton")}V.push({stem:vt,options:lt})}return V}function K(O){return O.replace(/^(.*?)-/,"")}var z=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,B=/^(@+)?(\+|#+)?[rs]?$/g,H=/(\*)(0+)|(#+)(0+)|(0+)/g,le=/^(0+)$/;function Y(O){var U={};return O[O.length-1]==="r"?U.roundingPriority="morePrecision":O[O.length-1]==="s"&&(U.roundingPriority="lessPrecision"),O.replace(B,function(V,q,Ee){return typeof Ee!="string"?(U.minimumSignificantDigits=q.length,U.maximumSignificantDigits=q.length):Ee==="+"?U.minimumSignificantDigits=q.length:q[0]==="#"?U.maximumSignificantDigits=q.length:(U.minimumSignificantDigits=q.length,U.maximumSignificantDigits=q.length+(typeof Ee=="string"?Ee.length:0)),""}),U}function fe(O){switch(O){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 Te(O){var U;if(O[0]==="E"&&O[1]==="E"?(U={notation:"engineering"},O=O.slice(2)):O[0]==="E"&&(U={notation:"scientific"},O=O.slice(1)),U){var V=O.slice(0,2);if(V==="+!"?(U.signDisplay="always",O=O.slice(2)):V==="+?"&&(U.signDisplay="exceptZero",O=O.slice(2)),!le.test(O))throw new Error("Malformed concise eng/scientific notation");U.minimumIntegerDigits=O.length}return U}function Se(O){var U={},V=fe(O);return V||U}function ve(O){for(var U={},V=0,q=O;V<q.length;V++){var Ee=q[V];switch(Ee.stem){case"percent":case"%":U.style="percent";continue;case"%x100":U.style="percent",U.scale=100;continue;case"currency":U.style="currency",U.currency=Ee.options[0];continue;case"group-off":case",_":U.useGrouping=!1;continue;case"precision-integer":case".":U.maximumFractionDigits=0;continue;case"measure-unit":case"unit":U.style="unit",U.unit=K(Ee.options[0]);continue;case"compact-short":case"K":U.notation="compact",U.compactDisplay="short";continue;case"compact-long":case"KK":U.notation="compact",U.compactDisplay="long";continue;case"scientific":U=(0,n.pi)((0,n.pi)((0,n.pi)({},U),{notation:"scientific"}),Ee.options.reduce(function(lt,mt){return(0,n.pi)((0,n.pi)({},lt),Se(mt))},{}));continue;case"engineering":U=(0,n.pi)((0,n.pi)((0,n.pi)({},U),{notation:"engineering"}),Ee.options.reduce(function(lt,mt){return(0,n.pi)((0,n.pi)({},lt),Se(mt))},{}));continue;case"notation-simple":U.notation="standard";continue;case"unit-width-narrow":U.currencyDisplay="narrowSymbol",U.unitDisplay="narrow";continue;case"unit-width-short":U.currencyDisplay="code",U.unitDisplay="short";continue;case"unit-width-full-name":U.currencyDisplay="name",U.unitDisplay="long";continue;case"unit-width-iso-code":U.currencyDisplay="symbol";continue;case"scale":U.scale=parseFloat(Ee.options[0]);continue;case"rounding-mode-floor":U.roundingMode="floor";continue;case"rounding-mode-ceiling":U.roundingMode="ceil";continue;case"rounding-mode-down":U.roundingMode="trunc";continue;case"rounding-mode-up":U.roundingMode="expand";continue;case"rounding-mode-half-even":U.roundingMode="halfEven";continue;case"rounding-mode-half-down":U.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":U.roundingMode="halfExpand";continue;case"integer-width":if(Ee.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");Ee.options[0].replace(H,function(lt,mt,Qt,Xt,ir,dr){if(mt)U.minimumIntegerDigits=Qt.length;else{if(Xt&&ir)throw new Error("We currently do not support maximum integer digits");if(dr)throw new Error("We currently do not support exact integer digits")}return""});continue}if(le.test(Ee.stem)){U.minimumIntegerDigits=Ee.stem.length;continue}if(z.test(Ee.stem)){if(Ee.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");Ee.stem.replace(z,function(lt,mt,Qt,Xt,ir,dr){return Qt==="*"?U.minimumFractionDigits=mt.length:Xt&&Xt[0]==="#"?U.maximumFractionDigits=Xt.length:ir&&dr?(U.minimumFractionDigits=ir.length,U.maximumFractionDigits=ir.length+dr.length):(U.minimumFractionDigits=mt.length,U.maximumFractionDigits=mt.length),""});var Ue=Ee.options[0];Ue==="w"?U=(0,n.pi)((0,n.pi)({},U),{trailingZeroDisplay:"stripIfInteger"}):Ue&&(U=(0,n.pi)((0,n.pi)({},U),Y(Ue)));continue}if(B.test(Ee.stem)){U=(0,n.pi)((0,n.pi)({},U),Y(Ee.stem));continue}var Ve=fe(Ee.stem);Ve&&(U=(0,n.pi)((0,n.pi)({},U),Ve));var vt=Te(Ee.stem);vt&&(U=(0,n.pi)((0,n.pi)({},U),vt))}return U}var me={"001":["H","h"],419:["h","H","hB","hb"],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","H","hB","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","H","hB","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","H","hB","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"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["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"]};function ce(O,U){for(var V="",q=0;q<O.length;q++){var Ee=O.charAt(q);if(Ee==="j"){for(var Ue=0;q+1<O.length&&O.charAt(q+1)===Ee;)Ue++,q++;var Ve=1+(Ue&1),vt=Ue<2?1:3+(Ue>>1),lt="a",mt=ne(U);for((mt=="H"||mt=="k")&&(vt=0);vt-- >0;)V+=lt;for(;Ve-- >0;)V=mt+V}else Ee==="J"?V+="H":V+=Ee}return V}function ne(O){var U=O.hourCycle;if(U===void 0&&O.hourCycles&&O.hourCycles.length&&(U=O.hourCycles[0]),U)switch(U){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var V=O.language,q;V!=="root"&&(q=O.maximize().region);var Ee=me[q||""]||me[V||""]||me["".concat(V,"-001")]||me["001"];return Ee[0]}var we,ae=new RegExp("^".concat(L.source,"*")),te=new RegExp("".concat(L.source,"*$"));function $(O,U){return{start:O,end:U}}var C=!!String.prototype.startsWith&&"_a".startsWith("a",1),A=!!String.fromCodePoint,T=!!Object.fromEntries,N=!!String.prototype.codePointAt,Z=!!String.prototype.trimStart,ye=!!String.prototype.trimEnd,xe=!!Number.isSafeInteger,ke=xe?Number.isSafeInteger:function(O){return typeof O=="number"&&isFinite(O)&&Math.floor(O)===O&&Math.abs(O)<=9007199254740991},Le=!0;try{var nt=ee("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Le=((we=nt.exec("a"))===null||we===void 0?void 0:we[0])==="a"}catch(O){Le=!1}var ut=C?function(U,V,q){return U.startsWith(V,q)}:function(U,V,q){return U.slice(q,q+V.length)===V},F=A?String.fromCodePoint:function(){for(var U=[],V=0;V<arguments.length;V++)U[V]=arguments[V];for(var q="",Ee=U.length,Ue=0,Ve;Ee>Ue;){if(Ve=U[Ue++],Ve>1114111)throw RangeError(Ve+" is not a valid code point");q+=Ve<65536?String.fromCharCode(Ve):String.fromCharCode(((Ve-=65536)>>10)+55296,Ve%1024+56320)}return q},G=T?Object.fromEntries:function(U){for(var V={},q=0,Ee=U;q<Ee.length;q++){var Ue=Ee[q],Ve=Ue[0],vt=Ue[1];V[Ve]=vt}return V},Q=N?function(U,V){return U.codePointAt(V)}:function(U,V){var q=U.length;if(!(V<0||V>=q)){var Ee=U.charCodeAt(V),Ue;return Ee<55296||Ee>56319||V+1===q||(Ue=U.charCodeAt(V+1))<56320||Ue>57343?Ee:(Ee-55296<<10)+(Ue-56320)+65536}},J=Z?function(U){return U.trimStart()}:function(U){return U.replace(ae,"")},_e=ye?function(U){return U.trimEnd()}:function(U){return U.replace(te,"")};function ee(O,U){return new RegExp(O,U)}var ue;if(Le){var ge=ee("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ue=function(U,V){var q;ge.lastIndex=V;var Ee=ge.exec(U);return(q=Ee[1])!==null&&q!==void 0?q:""}}else ue=function(U,V){for(var q=[];;){var Ee=Q(U,V);if(Ee===void 0||ze(Ee)||ct(Ee))break;q.push(Ee),V+=Ee>=65536?2:1}return F.apply(void 0,q)};var oe=function(){function O(U,V){V===void 0&&(V={}),this.message=U,this.position={offset:0,line:1,column:1},this.ignoreTag=!!V.ignoreTag,this.locale=V.locale,this.requiresOtherClause=!!V.requiresOtherClause,this.shouldParseSkeletons=!!V.shouldParseSkeletons}return O.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},O.prototype.parseMessage=function(U,V,q){for(var Ee=[];!this.isEOF();){var Ue=this.char();if(Ue===123){var Ve=this.parseArgument(U,q);if(Ve.err)return Ve;Ee.push(Ve.val)}else{if(Ue===125&&U>0)break;if(Ue===35&&(V==="plural"||V==="selectordinal")){var vt=this.clonePosition();this.bump(),Ee.push({type:o.pound,location:$(vt,this.clonePosition())})}else if(Ue===60&&!this.ignoreTag&&this.peek()===47){if(q)break;return this.error(a.UNMATCHED_CLOSING_TAG,$(this.clonePosition(),this.clonePosition()))}else if(Ue===60&&!this.ignoreTag&&Oe(this.peek()||0)){var Ve=this.parseTag(U,V);if(Ve.err)return Ve;Ee.push(Ve.val)}else{var Ve=this.parseLiteral(U,V);if(Ve.err)return Ve;Ee.push(Ve.val)}}}return{val:Ee,err:null}},O.prototype.parseTag=function(U,V){var q=this.clonePosition();this.bump();var Ee=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:o.literal,value:"<".concat(Ee,"/>"),location:$(q,this.clonePosition())},err:null};if(this.bumpIf(">")){var Ue=this.parseMessage(U+1,V,!0);if(Ue.err)return Ue;var Ve=Ue.val,vt=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Oe(this.char()))return this.error(a.INVALID_TAG,$(vt,this.clonePosition()));var lt=this.clonePosition(),mt=this.parseTagName();return Ee!==mt?this.error(a.UNMATCHED_CLOSING_TAG,$(lt,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:o.tag,value:Ee,children:Ve,location:$(q,this.clonePosition())},err:null}:this.error(a.INVALID_TAG,$(vt,this.clonePosition())))}else return this.error(a.UNCLOSED_TAG,$(q,this.clonePosition()))}else return this.error(a.INVALID_TAG,$(q,this.clonePosition()))},O.prototype.parseTagName=function(){var U=this.offset();for(this.bump();!this.isEOF()&&Be(this.char());)this.bump();return this.message.slice(U,this.offset())},O.prototype.parseLiteral=function(U,V){for(var q=this.clonePosition(),Ee="";;){var Ue=this.tryParseQuote(V);if(Ue){Ee+=Ue;continue}var Ve=this.tryParseUnquoted(U,V);if(Ve){Ee+=Ve;continue}var vt=this.tryParseLeftAngleBracket();if(vt){Ee+=vt;continue}break}var lt=$(q,this.clonePosition());return{val:{type:o.literal,value:Ee,location:lt},err:null}},O.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ze(this.peek()||0))?(this.bump(),"<"):null},O.prototype.tryParseQuote=function(U){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(U==="plural"||U==="selectordinal")break;return null;default:return null}this.bump();var V=[this.char()];for(this.bump();!this.isEOF();){var q=this.char();if(q===39)if(this.peek()===39)V.push(39),this.bump();else{this.bump();break}else V.push(q);this.bump()}return F.apply(void 0,V)},O.prototype.tryParseUnquoted=function(U,V){if(this.isEOF())return null;var q=this.char();return q===60||q===123||q===35&&(V==="plural"||V==="selectordinal")||q===125&&U>0?null:(this.bump(),F(q))},O.prototype.parseArgument=function(U,V){var q=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,$(q,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(a.EMPTY_ARGUMENT,$(q,this.clonePosition()));var Ee=this.parseIdentifierIfPossible().value;if(!Ee)return this.error(a.MALFORMED_ARGUMENT,$(q,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,$(q,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:o.argument,value:Ee,location:$(q,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,$(q,this.clonePosition())):this.parseArgumentOptions(U,V,Ee,q);default:return this.error(a.MALFORMED_ARGUMENT,$(q,this.clonePosition()))}},O.prototype.parseIdentifierIfPossible=function(){var U=this.clonePosition(),V=this.offset(),q=ue(this.message,V),Ee=V+q.length;this.bumpTo(Ee);var Ue=this.clonePosition(),Ve=$(U,Ue);return{value:q,location:Ve}},O.prototype.parseArgumentOptions=function(U,V,q,Ee){var Ue,Ve=this.clonePosition(),vt=this.parseIdentifierIfPossible().value,lt=this.clonePosition();switch(vt){case"":return this.error(a.EXPECT_ARGUMENT_TYPE,$(Ve,lt));case"number":case"date":case"time":{this.bumpSpace();var mt=null;if(this.bumpIf(",")){this.bumpSpace();var Qt=this.clonePosition(),Xt=this.parseSimpleArgStyleIfPossible();if(Xt.err)return Xt;var ir=_e(Xt.val);if(ir.length===0)return this.error(a.EXPECT_ARGUMENT_STYLE,$(this.clonePosition(),this.clonePosition()));var dr=$(Qt,this.clonePosition());mt={style:ir,styleLocation:dr}}var Fr=this.tryParseArgumentClose(Ee);if(Fr.err)return Fr;var Ke=$(Ee,this.clonePosition());if(mt&&ut(mt==null?void 0:mt.style,"::",0)){var Ge=J(mt.style.slice(2));if(vt==="number"){var Xt=this.parseNumberSkeletonFromString(Ge,mt.styleLocation);return Xt.err?Xt:{val:{type:o.number,value:q,location:Ke,style:Xt.val},err:null}}else{if(Ge.length===0)return this.error(a.EXPECT_DATE_TIME_SKELETON,Ke);var Rt=Ge;this.locale&&(Rt=ce(Ge,this.locale));var ir={type:i.dateTime,pattern:Rt,location:mt.styleLocation,parsedOptions:this.shouldParseSkeletons?R(Rt):{}},de=vt==="date"?o.date:o.time;return{val:{type:de,value:q,location:Ke,style:ir},err:null}}}return{val:{type:vt==="number"?o.number:vt==="date"?o.date:o.time,value:q,location:Ke,style:(Ue=mt==null?void 0:mt.style)!==null&&Ue!==void 0?Ue:null},err:null}}case"plural":case"selectordinal":case"select":{var yt=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(a.EXPECT_SELECT_ARGUMENT_OPTIONS,$(yt,(0,n.pi)({},yt)));this.bumpSpace();var bt=this.parseIdentifierIfPossible(),$t=0;if(vt!=="select"&&bt.value==="offset"){if(!this.bumpIf(":"))return this.error(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$(this.clonePosition(),this.clonePosition()));this.bumpSpace();var Xt=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(Xt.err)return Xt;this.bumpSpace(),bt=this.parseIdentifierIfPossible(),$t=Xt.val}var Xe=this.tryParsePluralOrSelectOptions(U,vt,V,bt);if(Xe.err)return Xe;var Fr=this.tryParseArgumentClose(Ee);if(Fr.err)return Fr;var dt=$(Ee,this.clonePosition());return vt==="select"?{val:{type:o.select,value:q,options:G(Xe.val),location:dt},err:null}:{val:{type:o.plural,value:q,options:G(Xe.val),offset:$t,pluralType:vt==="plural"?"cardinal":"ordinal",location:dt},err:null}}default:return this.error(a.INVALID_ARGUMENT_TYPE,$(Ve,lt))}},O.prototype.tryParseArgumentClose=function(U){return this.isEOF()||this.char()!==125?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,$(U,this.clonePosition())):(this.bump(),{val:!0,err:null})},O.prototype.parseSimpleArgStyleIfPossible=function(){for(var U=0,V=this.clonePosition();!this.isEOF();){var q=this.char();switch(q){case 39:{this.bump();var Ee=this.clonePosition();if(!this.bumpUntil("'"))return this.error(a.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$(Ee,this.clonePosition()));this.bump();break}case 123:{U+=1,this.bump();break}case 125:{if(U>0)U-=1;else return{val:this.message.slice(V.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(V.offset,this.offset()),err:null}},O.prototype.parseNumberSkeletonFromString=function(U,V){var q=[];try{q=P(U)}catch(Ee){return this.error(a.INVALID_NUMBER_SKELETON,V)}return{val:{type:i.number,tokens:q,location:V,parsedOptions:this.shouldParseSkeletons?ve(q):{}},err:null}},O.prototype.tryParsePluralOrSelectOptions=function(U,V,q,Ee){for(var Ue,Ve=!1,vt=[],lt=new Set,mt=Ee.value,Qt=Ee.location;;){if(mt.length===0){var Xt=this.clonePosition();if(V!=="select"&&this.bumpIf("=")){var ir=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_SELECTOR,a.INVALID_PLURAL_ARGUMENT_SELECTOR);if(ir.err)return ir;Qt=$(Xt,this.clonePosition()),mt=this.message.slice(Xt.offset,this.offset())}else break}if(lt.has(mt))return this.error(V==="select"?a.DUPLICATE_SELECT_ARGUMENT_SELECTOR:a.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,Qt);mt==="other"&&(Ve=!0),this.bumpSpace();var dr=this.clonePosition();if(!this.bumpIf("{"))return this.error(V==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:a.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$(this.clonePosition(),this.clonePosition()));var Fr=this.parseMessage(U+1,V,q);if(Fr.err)return Fr;var Ke=this.tryParseArgumentClose(dr);if(Ke.err)return Ke;vt.push([mt,{value:Fr.val,location:$(dr,this.clonePosition())}]),lt.add(mt),this.bumpSpace(),Ue=this.parseIdentifierIfPossible(),mt=Ue.value,Qt=Ue.location}return vt.length===0?this.error(V==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR:a.EXPECT_PLURAL_ARGUMENT_SELECTOR,$(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!Ve?this.error(a.MISSING_OTHER_CLAUSE,$(this.clonePosition(),this.clonePosition())):{val:vt,err:null}},O.prototype.tryParseDecimalInteger=function(U,V){var q=1,Ee=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(q=-1);for(var Ue=!1,Ve=0;!this.isEOF();){var vt=this.char();if(vt>=48&&vt<=57)Ue=!0,Ve=Ve*10+(vt-48),this.bump();else break}var lt=$(Ee,this.clonePosition());return Ue?(Ve*=q,ke(Ve)?{val:Ve,err:null}:this.error(V,lt)):this.error(U,lt)},O.prototype.offset=function(){return this.position.offset},O.prototype.isEOF=function(){return this.offset()===this.message.length},O.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},O.prototype.char=function(){var U=this.position.offset;if(U>=this.message.length)throw Error("out of bound");var V=Q(this.message,U);if(V===void 0)throw Error("Offset ".concat(U," is at invalid UTF-16 code unit boundary"));return V},O.prototype.error=function(U,V){return{val:null,err:{kind:U,message:this.message,location:V}}},O.prototype.bump=function(){if(!this.isEOF()){var U=this.char();U===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=U<65536?1:2)}},O.prototype.bumpIf=function(U){if(ut(this.message,U,this.offset())){for(var V=0;V<U.length;V++)this.bump();return!0}return!1},O.prototype.bumpUntil=function(U){var V=this.offset(),q=this.message.indexOf(U,V);return q>=0?(this.bumpTo(q),!0):(this.bumpTo(this.message.length),!1)},O.prototype.bumpTo=function(U){if(this.offset()>U)throw Error("targetOffset ".concat(U," must be greater than or equal to the current offset ").concat(this.offset()));for(U=Math.min(U,this.message.length);;){var V=this.offset();if(V===U)break;if(V>U)throw Error("targetOffset ".concat(U," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},O.prototype.bumpSpace=function(){for(;!this.isEOF()&&ze(this.char());)this.bump()},O.prototype.peek=function(){if(this.isEOF())return null;var U=this.char(),V=this.offset(),q=this.message.charCodeAt(V+(U>=65536?2:1));return q!=null?q:null},O}();function Oe(O){return O>=97&&O<=122||O>=65&&O<=90}function Ze(O){return Oe(O)||O===47}function Be(O){return O===45||O===46||O>=48&&O<=57||O===95||O>=97&&O<=122||O>=65&&O<=90||O==183||O>=192&&O<=214||O>=216&&O<=246||O>=248&&O<=893||O>=895&&O<=8191||O>=8204&&O<=8205||O>=8255&&O<=8256||O>=8304&&O<=8591||O>=11264&&O<=12271||O>=12289&&O<=55295||O>=63744&&O<=64975||O>=65008&&O<=65533||O>=65536&&O<=983039}function ze(O){return O>=9&&O<=13||O===32||O===133||O>=8206&&O<=8207||O===8232||O===8233}function ct(O){return O>=33&&O<=35||O===36||O>=37&&O<=39||O===40||O===41||O===42||O===43||O===44||O===45||O>=46&&O<=47||O>=58&&O<=59||O>=60&&O<=62||O>=63&&O<=64||O===91||O===92||O===93||O===94||O===96||O===123||O===124||O===125||O===126||O===161||O>=162&&O<=165||O===166||O===167||O===169||O===171||O===172||O===174||O===176||O===177||O===182||O===187||O===191||O===215||O===247||O>=8208&&O<=8213||O>=8214&&O<=8215||O===8216||O===8217||O===8218||O>=8219&&O<=8220||O===8221||O===8222||O===8223||O>=8224&&O<=8231||O>=8240&&O<=8248||O===8249||O===8250||O>=8251&&O<=8254||O>=8257&&O<=8259||O===8260||O===8261||O===8262||O>=8263&&O<=8273||O===8274||O===8275||O>=8277&&O<=8286||O>=8592&&O<=8596||O>=8597&&O<=8601||O>=8602&&O<=8603||O>=8604&&O<=8607||O===8608||O>=8609&&O<=8610||O===8611||O>=8612&&O<=8613||O===8614||O>=8615&&O<=8621||O===8622||O>=8623&&O<=8653||O>=8654&&O<=8655||O>=8656&&O<=8657||O===8658||O===8659||O===8660||O>=8661&&O<=8691||O>=8692&&O<=8959||O>=8960&&O<=8967||O===8968||O===8969||O===8970||O===8971||O>=8972&&O<=8991||O>=8992&&O<=8993||O>=8994&&O<=9e3||O===9001||O===9002||O>=9003&&O<=9083||O===9084||O>=9085&&O<=9114||O>=9115&&O<=9139||O>=9140&&O<=9179||O>=9180&&O<=9185||O>=9186&&O<=9254||O>=9255&&O<=9279||O>=9280&&O<=9290||O>=9291&&O<=9311||O>=9472&&O<=9654||O===9655||O>=9656&&O<=9664||O===9665||O>=9666&&O<=9719||O>=9720&&O<=9727||O>=9728&&O<=9838||O===9839||O>=9840&&O<=10087||O===10088||O===10089||O===10090||O===10091||O===10092||O===10093||O===10094||O===10095||O===10096||O===10097||O===10098||O===10099||O===10100||O===10101||O>=10132&&O<=10175||O>=10176&&O<=10180||O===10181||O===10182||O>=10183&&O<=10213||O===10214||O===10215||O===10216||O===10217||O===10218||O===10219||O===10220||O===10221||O===10222||O===10223||O>=10224&&O<=10239||O>=10240&&O<=10495||O>=10496&&O<=10626||O===10627||O===10628||O===10629||O===10630||O===10631||O===10632||O===10633||O===10634||O===10635||O===10636||O===10637||O===10638||O===10639||O===10640||O===10641||O===10642||O===10643||O===10644||O===10645||O===10646||O===10647||O===10648||O>=10649&&O<=10711||O===10712||O===10713||O===10714||O===10715||O>=10716&&O<=10747||O===10748||O===10749||O>=10750&&O<=11007||O>=11008&&O<=11055||O>=11056&&O<=11076||O>=11077&&O<=11078||O>=11079&&O<=11084||O>=11085&&O<=11123||O>=11124&&O<=11125||O>=11126&&O<=11157||O===11158||O>=11159&&O<=11263||O>=11776&&O<=11777||O===11778||O===11779||O===11780||O===11781||O>=11782&&O<=11784||O===11785||O===11786||O===11787||O===11788||O===11789||O>=11790&&O<=11798||O===11799||O>=11800&&O<=11801||O===11802||O===11803||O===11804||O===11805||O>=11806&&O<=11807||O===11808||O===11809||O===11810||O===11811||O===11812||O===11813||O===11814||O===11815||O===11816||O===11817||O>=11818&&O<=11822||O===11823||O>=11824&&O<=11833||O>=11834&&O<=11835||O>=11836&&O<=11839||O===11840||O===11841||O===11842||O>=11843&&O<=11855||O>=11856&&O<=11857||O===11858||O>=11859&&O<=11903||O>=12289&&O<=12291||O===12296||O===12297||O===12298||O===12299||O===12300||O===12301||O===12302||O===12303||O===12304||O===12305||O>=12306&&O<=12307||O===12308||O===12309||O===12310||O===12311||O===12312||O===12313||O===12314||O===12315||O===12316||O===12317||O>=12318&&O<=12319||O===12320||O===12336||O===64830||O===64831||O>=65093&&O<=65094}function Ct(O){return Array.isArray(O)?__spreadArray([],O.map(Ct),!0):O!==null&&typeof O=="object"?Object.keys(O).reduce(function(U,V){return U[V]=Ct(O[V]),U},{}):O}function De(O,U,V){var q=Ct(U),Ee=q.options;return q.options=Object.keys(Ee).reduce(function(Ue,Ve){var vt=Ne(__spreadArray(__spreadArray(__spreadArray([],O.slice(0,V),!0),Ee[Ve].value,!0),O.slice(V+1),!0));return Ue[Ve]={value:vt},Ue},{}),q}function pt(O){return isPluralElement(O)||isSelectElement(O)}function Ce(O){return!!O.find(function(U){return pt(U)?!0:isTagElement(U)?Ce(U.children):!1})}function Ne(O){for(var U=0;U<O.length;U++){var V=O[U];if(pt(V))return[De(O,V,U)];if(isTagElement(V)&&Ce([V]))throw new Error("Cannot hoist plural/select within a tag element. Please put the tag element inside each plural/select option")}return O}function at(O,U){U===void 0&&(U=new Map),O.forEach(function(V){if(isArgumentElement(V)||isDateElement(V)||isTimeElement(V)||isNumberElement(V)){if(V.value in U&&U.get(V.value)!==V.type)throw new Error("Variable ".concat(V.value," has conflicting types"));U.set(V.value,V.type)}(isPluralElement(V)||isSelectElement(V))&&(U.set(V.value,V.type),Object.keys(V.options).forEach(function(q){at(V.options[q].value,U)})),isTagElement(V)&&(U.set(V.value,V.type),at(V.children,U))})}function Qe(O,U){var V=new Map,q=new Map;return at(O,V),at(U,q),V.size!==q.size?{success:!1,error:new Error("Different number of variables: [".concat(Array.from(V.keys()).join(", "),"] vs [").concat(Array.from(q.keys()).join(", "),"]"))}:Array.from(V.entries()).reduce(function(Ee,Ue){var Ve=Ue[0],vt=Ue[1];if(!Ee.success)return Ee;var lt=q.get(Ve);return lt==null?{success:!1,error:new Error("Missing variable ".concat(Ve," in message"))}:lt!==vt?{success:!1,error:new Error("Variable ".concat(Ve," has conflicting types: ").concat(TYPE[vt]," vs ").concat(TYPE[lt]))}:Ee},{success:!0})}function Tt(O){O.forEach(function(U){if(delete U.location,v(U)||l(U))for(var V in U.options)delete U.options[V].location,Tt(U.options[V].value);else c(U)&&w(U.style)||(h(U)||m(U))&&g(U.style)?delete U.style.location:S(U)&&Tt(U.children)})}function Bt(O,U){U===void 0&&(U={}),U=(0,n.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},U);var V=new oe(O,U).parse();if(V.err){var q=SyntaxError(a[V.err.kind]);throw q.location=V.err.location,q.originalMessage=V.err.message,q}return U!=null&&U.captureLocation||Tt(V.val),V.val}var zt=null},99053:function(d,p,e){"use strict";e.d(p,{$6:function(){return m},OV:function(){return s},Qe:function(){return c},X9:function(){return h},gb:function(){return f},wI:function(){return i}});var n=e(80813),a;(function(v){v.FORMAT_ERROR="FORMAT_ERROR",v.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",v.INVALID_CONFIG="INVALID_CONFIG",v.MISSING_DATA="MISSING_DATA",v.MISSING_TRANSLATION="MISSING_TRANSLATION"})(a||(a={}));var o=function(v){(0,n.ZT)(l,v);function l(y,S,w){var g=this,b=w?w instanceof Error?w:new Error(String(w)):void 0;return g=v.call(this,"[@formatjs/intl Error ".concat(y,"] ").concat(S,` `).concat(b?` `.concat(b.message,` `).concat(b.stack):""))||this,g.code=y,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(g,l),g}return l}(Error),i=function(v){(0,n.ZT)(l,v);function l(y,S){return v.call(this,a.UNSUPPORTED_FORMATTER,y,S)||this}return l}(o),s=function(v){(0,n.ZT)(l,v);function l(y,S){return v.call(this,a.INVALID_CONFIG,y,S)||this}return l}(o),f=function(v){(0,n.ZT)(l,v);function l(y,S){return v.call(this,a.MISSING_DATA,y,S)||this}return l}(o),c=function(v){(0,n.ZT)(l,v);function l(y,S,w){var g=v.call(this,a.FORMAT_ERROR,"".concat(y,` Locale: `).concat(S,` `),w)||this;return g.locale=S,g}return l}(o),h=function(v){(0,n.ZT)(l,v);function l(y,S,w,g){var b=v.call(this,"".concat(y,` MessageID: `).concat(w==null?void 0:w.id,` Default Message: `).concat(w==null?void 0:w.defaultMessage,` Description: `).concat(w==null?void 0:w.description,` `),S,g)||this;return b.descriptor=w,b.locale=S,b}return l}(c),m=function(v){(0,n.ZT)(l,v);function l(y,S){var w=v.call(this,a.MISSING_TRANSLATION,'Missing message: "'.concat(y.id,'" for locale "').concat(S,'", using ').concat(y.defaultMessage?"default message (".concat(typeof y.defaultMessage=="string"?y.defaultMessage:y.defaultMessage.map(function(g){var b;return(b=g.value)!==null&&b!==void 0?b:JSON.stringify(g)}).join(),")"):"id"," as fallback."))||this;return w.descriptor=y,w}return l}(o)},1956:function(d,p,e){"use strict";e.d(p,{L6:function(){return f},Sn:function(){return v},TB:function(){return S},Z0:function(){return m},ax:function(){return y},kG:function(){return s}});var n=e(80813),a=e(37016),o=e(31900),i=e(99053);function s(w,g,b){if(b===void 0&&(b=Error),!w)throw new b(g)}function f(w,g,b){return b===void 0&&(b={}),g.reduce(function(x,L){return L in w?x[L]=w[L]:L in b&&(x[L]=b[L]),x},{})}var c=function(w){},h=function(w){},m={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:c,onWarn:h};function v(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function l(w){return{create:function(){return{get:function(g){return w[g]},set:function(g,b){w[g]=b}}}}}function y(w){w===void 0&&(w=v());var g=Intl.RelativeTimeFormat,b=Intl.ListFormat,x=Intl.DisplayNames,L=(0,a.H)(function(){for(var R,j=[],P=0;P<arguments.length;P++)j[P]=arguments[P];return new((R=Intl.DateTimeFormat).bind.apply(R,(0,n.ev)([void 0],j,!1)))},{cache:l(w.dateTime),strategy:a.A.variadic}),k=(0,a.H)(function(){for(var R,j=[],P=0;P<arguments.length;P++)j[P]=arguments[P];return new((R=Intl.NumberFormat).bind.apply(R,(0,n.ev)([void 0],j,!1)))},{cache:l(w.number),strategy:a.A.variadic}),W=(0,a.H)(function(){for(var R,j=[],P=0;P<arguments.length;P++)j[P]=arguments[P];return new((R=Intl.PluralRules).bind.apply(R,(0,n.ev)([void 0],j,!1)))},{cache:l(w.pluralRules),strategy:a.A.variadic});return{getDateTimeFormat:L,getNumberFormat:k,getMessageFormat:(0,a.H)(function(R,j,P,K){return new o.C(R,j,P,(0,n.pi)({formatters:{getNumberFormat:k,getDateTimeFormat:L,getPluralRules:W}},K||{}))},{cache:l(w.message),strategy:a.A.variadic}),getRelativeTimeFormat:(0,a.H)(function(){for(var R=[],j=0;j<arguments.length;j++)R[j]=arguments[j];return new(g.bind.apply(g,(0,n.ev)([void 0],R,!1)))},{cache:l(w.relativeTime),strategy:a.A.variadic}),getPluralRules:W,getListFormat:(0,a.H)(function(){for(var R=[],j=0;j<arguments.length;j++)R[j]=arguments[j];return new(b.bind.apply(b,(0,n.ev)([void 0],R,!1)))},{cache:l(w.list),strategy:a.A.variadic}),getDisplayNames:(0,a.H)(function(){for(var R=[],j=0;j<arguments.length;j++)R[j]=arguments[j];return new(x.bind.apply(x,(0,n.ev)([void 0],R,!1)))},{cache:l(w.displayNames),strategy:a.A.variadic})}}function S(w,g,b,x){var L=w&&w[g],k;if(L&&(k=L[b]),k)return k;x(new i.wI("No ".concat(g," format named: ").concat(b)))}},37181:function(d,p,e){"use strict";e.d(p,{Z:function(){return A}});var n=e(29043),a=e(96162),o=e(20338),i=e(47273),s=e(48736),f=e(8654),c=a.createContext(null),h=c,m=e(26390),v=e(34280),l=[];function y(T,N){var Z=a.useState(function(){if(!(0,i.Z)())return null;var ee=document.createElement("div");return ee}),ye=(0,n.Z)(Z,1),xe=ye[0],ke=a.useRef(!1),Le=a.useContext(h),nt=a.useState(l),ut=(0,n.Z)(nt,2),F=ut[0],G=ut[1],Q=Le||(ke.current?void 0:function(ee){G(function(ue){var ge=[ee].concat((0,m.Z)(ue));return ge})});function J(){xe.parentElement||document.body.appendChild(xe),ke.current=!0}function _e(){var ee;(ee=xe.parentElement)===null||ee===void 0||ee.removeChild(xe),ke.current=!1}return(0,v.Z)(function(){return T?Le?Le(J):J():_e(),_e},[T]),(0,v.Z)(function(){F.length&&(F.forEach(function(ee){return ee()}),G(l))},[F]),[xe,Q]}var S=e(57259),w=e(48519),g="data-rc-order",b="data-rc-priority",x="rc-util-key",L=new Map;function k(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},N=T.mark;return N?N.startsWith("data-")?N:"data-".concat(N):x}function W(T){if(T.attachTo)return T.attachTo;var N=document.querySelector("head");return N||document.body}function R(T){return T==="queue"?"prependQueue":T?"prepend":"append"}function j(T){return Array.from((L.get(T)||T).children).filter(function(N){return N.tagName==="STYLE"})}function P(T){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.Z)())return null;var Z=N.csp,ye=N.prepend,xe=N.priority,ke=xe===void 0?0:xe,Le=R(ye),nt=Le==="prependQueue",ut=document.createElement("style");ut.setAttribute(g,Le),nt&&ke&&ut.setAttribute(b,"".concat(ke)),Z!=null&&Z.nonce&&(ut.nonce=Z==null?void 0:Z.nonce),ut.innerHTML=T;var F=W(N),G=F.firstChild;if(ye){if(nt){var Q=(N.styles||j(F)).filter(function(J){if(!["prepend","prependQueue"].includes(J.getAttribute(g)))return!1;var _e=Number(J.getAttribute(b)||0);return ke>=_e});if(Q.length)return F.insertBefore(ut,Q[Q.length-1].nextSibling),ut}F.insertBefore(ut,G)}else F.appendChild(ut);return ut}function K(T){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z=W(N);return(N.styles||j(Z)).find(function(ye){return ye.getAttribute(k(N))===T})}function z(T){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z=K(T,N);if(Z){var ye=W(N);ye.removeChild(Z)}}function B(T,N){var Z=L.get(T);if(!Z||!(0,w.Z)(document,Z)){var ye=P("",N),xe=ye.parentNode;L.set(T,xe),T.removeChild(ye)}}function H(){L.clear()}function le(T,N){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ye=W(Z),xe=j(ye),ke=(0,S.Z)((0,S.Z)({},Z),{},{styles:xe});B(ye,ke);var Le=K(N,ke);if(Le){var nt,ut;if((nt=ke.csp)!==null&&nt!==void 0&&nt.nonce&&Le.nonce!==((ut=ke.csp)===null||ut===void 0?void 0:ut.nonce)){var F;Le.nonce=(F=ke.csp)===null||F===void 0?void 0:F.nonce}return Le.innerHTML!==T&&(Le.innerHTML=T),Le}var G=P(T,ke);return G.setAttribute(k(ke),N),G}var Y;function fe(T){var N="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),Z=document.createElement("div");Z.id=N;var ye=Z.style;ye.position="absolute",ye.left="0",ye.top="0",ye.width="100px",ye.height="100px",ye.overflow="scroll";var xe,ke;if(T){var Le=getComputedStyle(T);ye.scrollbarColor=Le.scrollbarColor,ye.scrollbarWidth=Le.scrollbarWidth;var nt=getComputedStyle(T,"::-webkit-scrollbar"),ut=parseInt(nt.width,10),F=parseInt(nt.height,10);try{var G=ut?"width: ".concat(nt.width,";"):"",Q=F?"height: ".concat(nt.height,";"):"";le(` #`.concat(N,`::-webkit-scrollbar { `).concat(G,` `).concat(Q,` }`),N)}catch(ee){console.error(ee),xe=ut,ke=F}}document.body.appendChild(Z);var J=T&&xe&&!isNaN(xe)?xe:Z.offsetWidth-Z.clientWidth,_e=T&&ke&&!isNaN(ke)?ke:Z.offsetHeight-Z.clientHeight;return document.body.removeChild(Z),z(N),{width:J,height:_e}}function Te(T){return typeof document=="undefined"?0:((T||Y===void 0)&&(Y=fe()),Y.width)}function Se(T){return typeof document=="undefined"||!T||!(T instanceof Element)?{width:0,height:0}:fe(T)}function ve(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var me="rc-util-locker-".concat(Date.now()),ce=0;function ne(T){var N=!!T,Z=a.useState(function(){return ce+=1,"".concat(me,"_").concat(ce)}),ye=(0,n.Z)(Z,1),xe=ye[0];(0,v.Z)(function(){if(N){var ke=Se(document.body).width,Le=ve();le(` html body { overflow-y: hidden; `.concat(Le?"width: calc(100% - ".concat(ke,"px);"):"",` }`),xe)}else z(xe);return function(){z(xe)}},[N,xe])}var we=!1;function ae(T){return typeof T=="boolean"&&(we=T),we}var te=function(N){return N===!1?!1:!(0,i.Z)()||!N?null:typeof N=="string"?document.querySelector(N):typeof N=="function"?N():N},$=a.forwardRef(function(T,N){var Z=T.open,ye=T.autoLock,xe=T.getContainer,ke=T.debug,Le=T.autoDestroy,nt=Le===void 0?!0:Le,ut=T.children,F=a.useState(Z),G=(0,n.Z)(F,2),Q=G[0],J=G[1],_e=Q||Z;a.useEffect(function(){(nt||Z)&&J(Z)},[Z,nt]);var ee=a.useState(function(){return te(xe)}),ue=(0,n.Z)(ee,2),ge=ue[0],oe=ue[1];a.useEffect(function(){var at=te(xe);oe(at!=null?at:null)});var Oe=y(_e&&!ge,ke),Ze=(0,n.Z)(Oe,2),Be=Ze[0],ze=Ze[1],ct=ge!=null?ge:Be;ne(ye&&Z&&(0,i.Z)()&&(ct===Be||ct===document.body));var Ct=null;if(ut&&(0,f.Yr)(ut)&&N){var De=ut;Ct=De.ref}var pt=(0,f.x1)(Ct,N);if(!_e||!(0,i.Z)()||ge===void 0)return null;var Ce=ct===!1||ae(),Ne=ut;return N&&(Ne=a.cloneElement(ut,{ref:pt})),a.createElement(h.Provider,{value:ze},Ce?Ne:(0,o.createPortal)(Ne,ct))}),C=$,A=C},80206:function(d,p,e){"use strict";var n=e(91637),a=e(94303),o=e(37623),i=e(65369),s=e(77476),f=e(30846),c=e(42369),h=e(8838),m=e(37825),v=e(11752),l=e(96162);function y(){var g=useRouteMeta(),b=g.texts;return React.createElement(React.Fragment,null)}function S(){return React.createElement(DumiPage,null,React.createElement(Suspense,{fallback:React.createElement(LoadingComponent,null)},React.createElement(y,null)))}var w=null},2934:function(d,p,e){"use strict";var n=e(91637),a=e(94303),o=e(37623),i=e(65369),s=e(77476),f=e(30846),c=e(42369),h=e(8838),m=e(37825),v=e(11752),l=e(96162);function y(){var g=useRouteMeta(),b=g.texts;return React.createElement(React.Fragment,null)}function S(){return React.createElement(DumiPage,null,React.createElement(Suspense,{fallback:React.createElement(LoadingComponent,null)},React.createElement(y,null)))}var w=null},86795:function(d,p,e){"use strict";var n=e(91637),a=e(94303),o=e(37623),i=e(65369),s=e(77476),f=e(30846),c=e(42369),h=e(8838),m=e(37825),v=e(11752),l=e(96162);function y(){var g=useRouteMeta(),b=g.texts;return React.createElement(React.Fragment,null)}function S(){return React.createElement(DumiPage,null,React.createElement(Suspense,{fallback:React.createElement(LoadingComponent,null)},React.createElement(y,null)))}var w=null},32445:function(d,p,e){"use strict";var n=e(91637),a=e(94303),o=e(37623),i=e(65369),s=e(77476),f=e(30846),c=e(42369),h=e(8838),m=e(37825),v=e(11752),l=e(96162);function y(){var g=useRouteMeta(),b=g.texts;return React.createElement(React.Fragment,null)}function S(){return React.createElement(DumiPage,null,React.createElement(Suspense,{fallback:React.createElement(LoadingComponent,null)},React.createElement(y,null)))}var w=null},55145:function(d,p,e){"use strict";var n=e(91637),a=e(94303),o=e(37623),i=e(65369),s=e(77476),f=e(30846),c=e(42369),h=e(8838),m=e(37825),v=e(11752),l=e(96162);function y(){var g=useRouteMeta(),b=g.texts;return React.createElement(React.Fragment,null)}function S(){return React.createElement(DumiPage,null,React.createElement(Suspense,{fallback:React.createElement(LoadingComponent,null)},React.createElement(y,null)))}var w=null},94785:function(d,p,e){"use strict";var n=e(91637),a=e(94303),o=e(37623),i=e(65369),s=e(77476),f=e(30846),c=e(42369),h=e(8838),m=e(37825),v=e(11752),l=e(96162);function y(){var g=useRouteMeta(),b=g.texts;return React.createElement(React.Fragment,null)}function S(){return React.createElement(DumiPage,null,React.createElement(Suspense,{fallback:React.createElement(LoadingComponent,null)},React.createElement(y,null)))}var w=null},547:function(d,p,e){"use strict";var n=e(91637),a=e(94303),o=e(37623),i=e(65369),s=e(77476),f=e(30846),c=e(42369),h=e(8838),m=e(37825),v=e(11752),l=e(96162);function y(){var g=useRouteMeta(),b=g.texts;return React.createElement(React.Fragment,null)}function S(){ret