c)break
m.push(u)}}else for(;f<=v;++f)for(s=o-1,h=a(f);s>=1;--s)if(!((u=h*s)c)break
m.push(u)}2*m.length0&&r>0&&(c+r+1>l&&(r=Math.max(1,l-c)),o.push(e.substring(i-=r,i+r)),!((c+=r+1)>l));)r=t[n=(n+1)%t.length]
return o.reverse().join(a)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",n=void 0===e.decimal?".":e.decimal+"",r=void 0===e.numerals?I:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Z.call(e.numerals,String)),c=void 0===e.percent?"%":e.percent+"",h=void 0===e.minus?"−":e.minus+"",s=void 0===e.nan?"NaN":e.nan+""
function d(e){var t=(e=T(e)).fill,a=e.align,d=e.sign,u=e.symbol,f=e.zero,v=e.width,p=e.comma,m=e.precision,y=e.trim,g=e.type
"n"===g?(p=!0,g="g"):j[g]||(void 0===m&&(m=12),y=!0,g="g"),(f||"0"===t&&"="===a)&&(f=!0,t="0",a="=")
var b="$"===u?i:"#"===u&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",z="$"===u?o:/[%p]/.test(g)?c:"",M=j[g],A=/[defgprs%]/.test(g)
function w(e){var i,o,c,u=b,w=z
if("c"===g)w=M(e)+w,e=""
else{var x=(e=+e)<0||1/e<0
if(e=isNaN(e)?s:M(Math.abs(e),m),y&&(e=function(e){e:for(var t,a=e.length,l=1,i=-1;l0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),x&&0==+e&&"+"!==d&&(x=!1),u=(x?"("===d?d:h:"-"===d||"("===d?"":d)+u,w=("s"===g?Y[8+F/3]:"")+w+(x&&"("===d?")":""),A)for(i=-1,o=e.length;++i(c=e.charCodeAt(i))||c>57){w=(46===c?n+e.slice(i+1):e.slice(i))+w,e=e.slice(0,i)
break}}p&&!f&&(e=l(e,1/0))
var H=u.length+e.length+w.length,V=H>1)+u+e+w+V.slice(H)
break
default:e=V+u+e+w}return r(e)}return m=void 0===m?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),w.toString=function(){return e+""},w}return{format:d,formatPrefix:function(e,t){var a=d(((e=T(e)).type="f",e)),l=3*Math.max(-8,Math.min(8,Math.floor(U(t)/3))),i=Math.pow(10,-l),o=Y[8+l/3]
return function(e){return a(i*e)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),$=G.format,q=G.formatPrefix
var ze=a(1657),Me=a(9731)
function Ae(){var e,t=[],a=[],l=[]
function o(){var e=0,i=Math.max(1,a.length)
for(l=new Array(i-1);++e0?l[i-1]:t[0],i=l?[o[l-1],a]:[o[i-1],o[i]]},r.unknown=function(t){return arguments.length?(e=t,r):r},r.thresholds=function(){return o.slice()},r.copy=function(){return we().domain([t,a]).range(n).unknown(e)},i.apply(W(r),arguments)}function xe(){var e,t=[.5],a=[0,1],l=1
function o(i){return null!=i&&i<=i?a[(0,u.ZP)(t,i,0,l)]:e}return o.domain=function(e){return arguments.length?(t=Array.from(e),l=Math.min(t.length,a.length-1),o):t.slice()},o.range=function(e){return arguments.length?(a=Array.from(e),l=Math.min(t.length,a.length-1),o):a.slice()},o.invertExtent=function(e){var l=a.indexOf(e)
return[t[l-1],t[l]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return xe().domain(t).range(a).unknown(e)},i.apply(o,arguments)}var He=a(7870)
const Ve=1e3,_e=60*Ve,Be=60*_e,Le=24*Be,Ce=7*Le,Ee=30*Le,ke=365*Le
var De=new Date,Se=new Date
function Fe(e,t,a,l){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(a){return e(a=new Date(a-1)),t(a,1),e(a),a},i.round=function(e){var t=i(e),a=i.ceil(e)
return e-t0))return r
do{r.push(n=new Date(+a)),t(a,o),e(a)}while(n=t)for(;e(t),!a(t);)t.setTime(t-1)}),(function(e,l){if(e>=e)if(l<0)for(;++l<=0;)for(;t(e,-1),!a(e););else for(;--l>=0;)for(;t(e,1),!a(e););}))},a&&(i.count=function(t,l){return De.setTime(+t),Se.setTime(+l),e(De),e(Se),Math.floor(a(De,Se))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(l?function(t){return l(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}var Oe=Fe((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}))
Oe.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Fe((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,a){t.setTime(+t+a*e)}),(function(t,a){return(a-t)/e})):Oe:null}
const Te=Oe
Oe.range
var Pe=Fe((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*Ve)}),(function(e,t){return(t-e)/Ve}),(function(e){return e.getUTCSeconds()}))
const Ne=Pe
Pe.range
var Ue=Fe((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ve)}),(function(e,t){e.setTime(+e+t*_e)}),(function(e,t){return(t-e)/_e}),(function(e){return e.getMinutes()}))
const Re=Ue
Ue.range
var je=Fe((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ve-e.getMinutes()*_e)}),(function(e,t){e.setTime(+e+t*Be)}),(function(e,t){return(t-e)/Be}),(function(e){return e.getHours()}))
const Ie=je
je.range
var Ge=Fe((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*_e)/Le),(e=>e.getDate()-1))
const $e=Ge
function qe(e){return Fe((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*_e)/Ce}))}Ge.range
var Ze=qe(0),Ye=qe(1),Ke=qe(2),We=qe(3),Xe=qe(4),Je=qe(5),Qe=qe(6),et=(Ze.range,Ye.range,Ke.range,We.range,Xe.range,Je.range,Qe.range,Fe((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()})))
const tt=et
et.range
var at=Fe((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}))
at.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Fe((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,a){t.setFullYear(t.getFullYear()+a*e)})):null}
const lt=at
at.range
var it=Fe((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*_e)}),(function(e,t){return(t-e)/_e}),(function(e){return e.getUTCMinutes()}))
const ot=it
it.range
var nt=Fe((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Be)}),(function(e,t){return(t-e)/Be}),(function(e){return e.getUTCHours()}))
const rt=nt
nt.range
var ct=Fe((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Le}),(function(e){return e.getUTCDate()-1}))
const ht=ct
function st(e){return Fe((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Ce}))}ct.range
var dt=st(0),ut=st(1),ft=st(2),vt=st(3),pt=st(4),mt=st(5),yt=st(6),gt=(dt.range,ut.range,ft.range,vt.range,pt.range,mt.range,yt.range,Fe((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})))
const bt=gt
gt.range
var zt=Fe((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}))
zt.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Fe((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,a){t.setUTCFullYear(t.getUTCFullYear()+a*e)})):null}
const Mt=zt
function At(e,t,a,l,i,o){const n=[[Ne,1,Ve],[Ne,5,5*Ve],[Ne,15,15*Ve],[Ne,30,30*Ve],[o,1,_e],[o,5,5*_e],[o,15,15*_e],[o,30,30*_e],[i,1,Be],[i,3,3*Be],[i,6,6*Be],[i,12,12*Be],[l,1,Le],[l,2,2*Le],[a,1,Ce],[t,1,Ee],[t,3,3*Ee],[e,1,ke]]
function r(t,a,l){const i=Math.abs(a-t)/l,o=(0,He.Z)((e=>{let[,,t]=e
return t})).right(n,i)
if(o===n.length)return e.every((0,d.ly)(t/ke,a/ke,l))
if(0===o)return Te.every(Math.max((0,d.ly)(t,a,l),1))
const[r,c]=n[i/n[o-1][2][e.toLowerCase(),t])))}function Rt(e,t,a){var l=St.exec(t.slice(a,a+1))
return l?(e.w=+l[0],a+l[0].length):-1}function jt(e,t,a){var l=St.exec(t.slice(a,a+1))
return l?(e.u=+l[0],a+l[0].length):-1}function It(e,t,a){var l=St.exec(t.slice(a,a+2))
return l?(e.U=+l[0],a+l[0].length):-1}function Gt(e,t,a){var l=St.exec(t.slice(a,a+2))
return l?(e.V=+l[0],a+l[0].length):-1}function $t(e,t,a){var l=St.exec(t.slice(a,a+2))
return l?(e.W=+l[0],a+l[0].length):-1}function qt(e,t,a){var l=St.exec(t.slice(a,a+4))
return l?(e.y=+l[0],a+l[0].length):-1}function Zt(e,t,a){var l=St.exec(t.slice(a,a+2))
return l?(e.y=+l[0]+(+l[0]>68?1900:2e3),a+l[0].length):-1}function Yt(e,t,a){var l=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(a,a+6))
return l?(e.Z=l[1]?0:-(l[2]+(l[3]||"00")),a+l[0].length):-1}function Kt(e,t,a){var l=St.exec(t.slice(a,a+1))
return l?(e.q=3*l[0]-3,a+l[0].length):-1}function Wt(e,t,a){var l=St.exec(t.slice(a,a+2))
return l?(e.m=l[0]-1,a+l[0].length):-1}function Xt(e,t,a){var l=St.exec(t.slice(a,a+2))
return l?(e.d=+l[0],a+l[0].length):-1}function Jt(e,t,a){var l=St.exec(t.slice(a,a+3))
return l?(e.m=0,e.d=+l[0],a+l[0].length):-1}function Qt(e,t,a){var l=St.exec(t.slice(a,a+2))
return l?(e.H=+l[0],a+l[0].length):-1}function ea(e,t,a){var l=St.exec(t.slice(a,a+2))
return l?(e.M=+l[0],a+l[0].length):-1}function ta(e,t,a){var l=St.exec(t.slice(a,a+2))
return l?(e.S=+l[0],a+l[0].length):-1}function aa(e,t,a){var l=St.exec(t.slice(a,a+3))
return l?(e.L=+l[0],a+l[0].length):-1}function la(e,t,a){var l=St.exec(t.slice(a,a+6))
return l?(e.L=Math.floor(l[0]/1e3),a+l[0].length):-1}function ia(e,t,a){var l=Ft.exec(t.slice(a,a+1))
return l?a+l[0].length:-1}function oa(e,t,a){var l=St.exec(t.slice(a))
return l?(e.Q=+l[0],a+l[0].length):-1}function na(e,t,a){var l=St.exec(t.slice(a))
return l?(e.s=+l[0],a+l[0].length):-1}function ra(e,t){return Tt(e.getDate(),t,2)}function ca(e,t){return Tt(e.getHours(),t,2)}function ha(e,t){return Tt(e.getHours()%12||12,t,2)}function sa(e,t){return Tt(1+$e.count(lt(e),e),t,3)}function da(e,t){return Tt(e.getMilliseconds(),t,3)}function ua(e,t){return da(e,t)+"000"}function fa(e,t){return Tt(e.getMonth()+1,t,2)}function va(e,t){return Tt(e.getMinutes(),t,2)}function pa(e,t){return Tt(e.getSeconds(),t,2)}function ma(e){var t=e.getDay()
return 0===t?7:t}function ya(e,t){return Tt(Ze.count(lt(e)-1,e),t,2)}function ga(e){var t=e.getDay()
return t>=4||0===t?Xe(e):Xe.ceil(e)}function ba(e,t){return e=ga(e),Tt(Xe.count(lt(e),e)+(4===lt(e).getDay()),t,2)}function za(e){return e.getDay()}function Ma(e,t){return Tt(Ye.count(lt(e)-1,e),t,2)}function Aa(e,t){return Tt(e.getFullYear()%100,t,2)}function wa(e,t){return Tt((e=ga(e)).getFullYear()%100,t,2)}function xa(e,t){return Tt(e.getFullYear()%1e4,t,4)}function Ha(e,t){var a=e.getDay()
return Tt((e=a>=4||0===a?Xe(e):Xe.ceil(e)).getFullYear()%1e4,t,4)}function Va(e){var t=e.getTimezoneOffset()
return(t>0?"-":(t*=-1,"+"))+Tt(t/60|0,"0",2)+Tt(t%60,"0",2)}function _a(e,t){return Tt(e.getUTCDate(),t,2)}function Ba(e,t){return Tt(e.getUTCHours(),t,2)}function La(e,t){return Tt(e.getUTCHours()%12||12,t,2)}function Ca(e,t){return Tt(1+ht.count(Mt(e),e),t,3)}function Ea(e,t){return Tt(e.getUTCMilliseconds(),t,3)}function ka(e,t){return Ea(e,t)+"000"}function Da(e,t){return Tt(e.getUTCMonth()+1,t,2)}function Sa(e,t){return Tt(e.getUTCMinutes(),t,2)}function Fa(e,t){return Tt(e.getUTCSeconds(),t,2)}function Oa(e){var t=e.getUTCDay()
return 0===t?7:t}function Ta(e,t){return Tt(dt.count(Mt(e)-1,e),t,2)}function Pa(e){var t=e.getUTCDay()
return t>=4||0===t?pt(e):pt.ceil(e)}function Na(e,t){return e=Pa(e),Tt(pt.count(Mt(e),e)+(4===Mt(e).getUTCDay()),t,2)}function Ua(e){return e.getUTCDay()}function Ra(e,t){return Tt(ut.count(Mt(e)-1,e),t,2)}function ja(e,t){return Tt(e.getUTCFullYear()%100,t,2)}function Ia(e,t){return Tt((e=Pa(e)).getUTCFullYear()%100,t,2)}function Ga(e,t){return Tt(e.getUTCFullYear()%1e4,t,4)}function $a(e,t){var a=e.getUTCDay()
return Tt((e=a>=4||0===a?pt(e):pt.ceil(e)).getUTCFullYear()%1e4,t,4)}function qa(){return"+0000"}function Za(){return"%"}function Ya(e){return+e}function Ka(e){return Math.floor(+e/1e3)}function Wa(e){return new Date(e)}function Xa(e){return e instanceof Date?+e:+new Date(+e)}function Ja(e,t,a,l,i,o,n,r,c,h){var s=S(),d=s.invert,u=s.domain,f=h(".%L"),v=h(":%S"),p=h("%I:%M"),m=h("%I %p"),y=h("%a %d"),g=h("%b %d"),b=h("%B"),z=h("%Y")
function M(e){return(c(e)t(l/(e.length-1))))},a.quantiles=function(t){return Array.from({length:t+1},((a,l)=>(0,ze.Z)(e,l/t)))},a.copy=function(){return cl(t).domain(e)},o.apply(a,arguments)}function hl(){var e,t,a,l,i,o,n,r=0,c=.5,h=1,s=1,d=B,u=!1
function f(e){return isNaN(e=+e)?n:(e=.5+((e=+o(e))-t)*(s*e=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Ya,s:Ka,S:pa,u:ma,U:ya,V:ba,w:za,W:Ma,x:null,X:null,y:Aa,Y:xa,Z:Va,"%":Za},z={a:function(e){return n[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return r[e.getUTCMonth()]},c:null,d:_a,e:_a,f:ka,g:Ia,G:$a,H:Ba,I:La,j:Ca,L:Ea,m:Da,M:Sa,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Ya,s:Ka,S:Fa,u:Oa,U:Ta,V:Na,w:Ua,W:Ra,x:null,X:null,y:ja,Y:Ga,Z:qa,"%":Za},M={a:function(e,t,a){var l=f.exec(t.slice(a))
return l?(e.w=v.get(l[0].toLowerCase()),a+l[0].length):-1},A:function(e,t,a){var l=d.exec(t.slice(a))
return l?(e.w=u.get(l[0].toLowerCase()),a+l[0].length):-1},b:function(e,t,a){var l=y.exec(t.slice(a))
return l?(e.m=g.get(l[0].toLowerCase()),a+l[0].length):-1},B:function(e,t,a){var l=p.exec(t.slice(a))
return l?(e.m=m.get(l[0].toLowerCase()),a+l[0].length):-1},c:function(e,a,l){return x(e,t,a,l)},d:Xt,e:Xt,f:la,g:Zt,G:qt,H:Qt,I:Qt,j:Jt,L:aa,m:Wt,M:ea,p:function(e,t,a){var l=h.exec(t.slice(a))
return l?(e.p=s.get(l[0].toLowerCase()),a+l[0].length):-1},q:Kt,Q:oa,s:na,S:ta,u:jt,U:It,V:Gt,w:Rt,W:$t,x:function(e,t,l){return x(e,a,t,l)},X:function(e,t,a){return x(e,l,t,a)},y:Zt,Y:qt,Z:Yt,"%":ia}
function A(e,t){return function(a){var l,i,o,n=[],r=-1,c=0,h=e.length
for(a instanceof Date||(a=new Date(+a));++r53)return null
"w"in o||(o.w=1),"Z"in o?(i=(l=Bt(Lt(o.y,0,1))).getUTCDay(),l=i>4||0===i?ut.ceil(l):ut(l),l=ht.offset(l,7*(o.V-1)),o.y=l.getUTCFullYear(),o.m=l.getUTCMonth(),o.d=l.getUTCDate()+(o.w+6)%7):(i=(l=_t(Lt(o.y,0,1))).getDay(),l=i>4||0===i?Ye.ceil(l):Ye(l),l=$e.offset(l,7*(o.V-1)),o.y=l.getFullYear(),o.m=l.getMonth(),o.d=l.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Bt(Lt(o.y,0,1)).getUTCDay():_t(Lt(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7)
return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Bt(o)):_t(o)}}function x(e,t,a,l){for(var i,o,n=0,r=t.length,c=a.length;n=c)return-1
if(37===(i=t.charCodeAt(n++))){if(i=t.charAt(n++),!(o=M[i in Dt?t.charAt(n++):i])||(l=o(e,a,l))<0)return-1}else if(i!=a.charCodeAt(l++))return-1}return l}return b.x=A(a,b),b.X=A(l,b),b.c=A(t,b),z.x=A(a,z),z.X=A(l,z),z.c=A(t,z),{format:function(e){var t=A(e+="",b)
return t.toString=function(){return e},t},parse:function(e){var t=w(e+="",!1)
return t.toString=function(){return e},t},utcFormat:function(e){var t=A(e+="",z)
return t.toString=function(){return e},t},utcParse:function(e){var t=w(e+="",!0)
return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Et=Ct.format,Ct.parse,kt=Ct.utcFormat,Ct.utcParse},8740:(e,t,a)=>{"use strict"
a.r(t),a.d(t,{create:()=>me,creator:()=>c,local:()=>ge,matcher:()=>v,namespace:()=>o,namespaces:()=>i,pointer:()=>Me,pointers:()=>Ae,select:()=>pe,selectAll:()=>we,selection:()=>ve,selector:()=>s,selectorAll:()=>f,style:()=>O,window:()=>k})
var l="http://www.w3.org/1999/xhtml"
const i={svg:"http://www.w3.org/2000/svg",xhtml:l,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}
function o(e){var t=e+="",a=t.indexOf(":")
return a>=0&&"xmlns"!==(t=e.slice(0,a))&&(e=e.slice(a+1)),i.hasOwnProperty(t)?{space:i[t],local:e}:e}function n(e){return function(){var t=this.ownerDocument,a=this.namespaceURI
return a===l&&t.documentElement.namespaceURI===l?t.createElement(e):t.createElementNS(a,e)}}function r(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function c(e){var t=o(e)
return(t.local?r:n)(t)}function h(){}function s(e){return null==e?h:function(){return this.querySelector(e)}}function d(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function u(){return[]}function f(e){return null==e?u:function(){return this.querySelectorAll(e)}}function v(e){return function(){return this.matches(e)}}function p(e){return function(t){return t.matches(e)}}var m=Array.prototype.find
function y(){return this.firstElementChild}var g=Array.prototype.filter
function b(){return this.children}function z(e){return new Array(e.length)}function M(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function A(e,t,a,l,i,o){for(var n,r=0,c=t.length,h=o.length;rt?1:e>=t?0:NaN}function V(e){return function(){this.removeAttribute(e)}}function _(e){return function(){this.removeAttributeNS(e.space,e.local)}}function B(e,t){return function(){this.setAttribute(e,t)}}function L(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function C(e,t){return function(){var a=t.apply(this,arguments)
null==a?this.removeAttribute(e):this.setAttribute(e,a)}}function E(e,t){return function(){var a=t.apply(this,arguments)
null==a?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,a)}}function k(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function D(e){return function(){this.style.removeProperty(e)}}function S(e,t,a){return function(){this.style.setProperty(e,t,a)}}function F(e,t,a){return function(){var l=t.apply(this,arguments)
null==l?this.style.removeProperty(e):this.style.setProperty(e,l,a)}}function O(e,t){return e.style.getPropertyValue(t)||k(e).getComputedStyle(e,null).getPropertyValue(t)}function T(e){return function(){delete this[e]}}function P(e,t){return function(){this[e]=t}}function N(e,t){return function(){var a=t.apply(this,arguments)
null==a?delete this[e]:this[e]=a}}function U(e){return e.trim().split(/^|\s+/)}function R(e){return e.classList||new j(e)}function j(e){this._node=e,this._names=U(e.getAttribute("class")||"")}function I(e,t){for(var a=R(e),l=-1,i=t.length;++l=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}}
var de=[null]
function ue(e,t){this._groups=e,this._parents=t}function fe(){return new ue([[document.documentElement]],de)}ue.prototype=fe.prototype={constructor:ue,select:function(e){"function"!=typeof e&&(e=s(e))
for(var t=this._groups,a=t.length,l=new Array(a),i=0;i=H&&(H=M+1);!(z=g[H])&&++H=0;)(l=i[o])&&(n&&4^l.compareDocumentPosition(n)&&n.parentNode.insertBefore(l,n),n=l)
return this},sort:function(e){function t(t,a){return t&&a?e(t.__data__,a.__data__):!t-!a}e||(e=H)
for(var a=this._groups,l=a.length,i=new Array(l),o=0;o1?this.each((null==t?D:"function"==typeof t?F:S)(e,t,null==a?"":a)):O(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?T:"function"==typeof t?N:P)(e,t)):this.node()[e]},classed:function(e,t){var a=U(e+"")
if(arguments.length<2){for(var l=R(this.node()),i=-1,o=a.length;++i=0&&(t=e.slice(a+1),e=e.slice(0,a)),{type:e,name:t}}))}(e+""),n=o.length
if(!(arguments.length<2)){for(r=t?re:ne,l=0;lMe(e,t)))}function we(e){return"string"==typeof e?new ue([document.querySelectorAll(e)],[document.documentElement]):new ue([null==e?[]:d(e)],de)}be.prototype=ge.prototype={constructor:be,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return
return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}}},5043:(e,t,a)=>{"use strict"
a.r(t),a.d(t,{arc:()=>L,area:()=>T,areaRadial:()=>q,curveBasis:()=>He,curveBasisClosed:()=>_e,curveBasisOpen:()=>Le,curveBumpX:()=>Ee,curveBumpY:()=>ke,curveBundle:()=>Se,curveCardinal:()=>Te,curveCardinalClosed:()=>Ne,curveCardinalOpen:()=>Re,curveCatmullRom:()=>Ge,curveCatmullRomClosed:()=>qe,curveCatmullRomOpen:()=>Ye,curveLinear:()=>D,curveLinearClosed:()=>We,curveMonotoneX:()=>it,curveMonotoneY:()=>ot,curveNatural:()=>ct,curveStep:()=>st,curveStepAfter:()=>ut,curveStepBefore:()=>dt,line:()=>O,lineRadial:()=>$,linkHorizontal:()=>ee,linkRadial:()=>ae,linkVertical:()=>te,pie:()=>U,pointRadial:()=>Z,radialArea:()=>q,radialLine:()=>$,stack:()=>yt,stackOffsetDiverging:()=>bt,stackOffsetExpand:()=>gt,stackOffsetNone:()=>ft,stackOffsetSilhouette:()=>zt,stackOffsetWiggle:()=>Mt,stackOrderAppearance:()=>At,stackOrderAscending:()=>xt,stackOrderDescending:()=>Vt,stackOrderInsideOut:()=>_t,stackOrderNone:()=>vt,stackOrderReverse:()=>Bt,symbol:()=>Me,symbolCircle:()=>le,symbolCross:()=>ie,symbolDiamond:()=>re,symbolSquare:()=>ue,symbolStar:()=>de,symbolTriangle:()=>ve,symbolWye:()=>be,symbols:()=>ze})
const l=Math.PI,i=2*l,o=1e-6,n=i-o
function r(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function c(){return new r}r.prototype=c.prototype={constructor:r,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,a,l){this._+="Q"+ +e+","+ +t+","+(this._x1=+a)+","+(this._y1=+l)},bezierCurveTo:function(e,t,a,l,i,o){this._+="C"+ +e+","+ +t+","+ +a+","+ +l+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(e,t,a,i,n){e=+e,t=+t,a=+a,i=+i,n=+n
var r=this._x1,c=this._y1,h=a-e,s=i-t,d=r-e,u=c-t,f=d*d+u*u
if(n<0)throw new Error("negative radius: "+n)
if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t)
else if(f>o)if(Math.abs(u*h-s*d)>o&&n){var v=a-r,p=i-c,m=h*h+s*s,y=v*v+p*p,g=Math.sqrt(m),b=Math.sqrt(f),z=n*Math.tan((l-Math.acos((m+f-y)/(2*g*b)))/2),M=z/b,A=z/g
Math.abs(M-1)>o&&(this._+="L"+(e+M*d)+","+(t+M*u)),this._+="A"+n+","+n+",0,0,"+ +(u*v>d*p)+","+(this._x1=e+A*h)+","+(this._y1=t+A*s)}else this._+="L"+(this._x1=e)+","+(this._y1=t)},arc:function(e,t,a,r,c,h){e=+e,t=+t,h=!!h
var s=(a=+a)*Math.cos(r),d=a*Math.sin(r),u=e+s,f=t+d,v=1^h,p=h?r-c:c-r
if(a<0)throw new Error("negative radius: "+a)
null===this._x1?this._+="M"+u+","+f:(Math.abs(this._x1-u)>o||Math.abs(this._y1-f)>o)&&(this._+="L"+u+","+f),a&&(p<0&&(p=p%i+i),p>n?this._+="A"+a+","+a+",0,1,"+v+","+(e-s)+","+(t-d)+"A"+a+","+a+",0,1,"+v+","+(this._x1=u)+","+(this._y1=f):p>o&&(this._+="A"+a+","+a+",0,"+ +(p>=l)+","+v+","+(this._x1=e+a*Math.cos(c))+","+(this._y1=t+a*Math.sin(c))))},rect:function(e,t,a,l){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +a+"v"+ +l+"h"+-a+"Z"},toString:function(){return this._}}
const h=c
function s(e){return function(){return e}}var d=Math.abs,u=Math.atan2,f=Math.cos,v=Math.max,p=Math.min,m=Math.sin,y=Math.sqrt,g=1e-12,b=Math.PI,z=b/2,M=2*b
function A(e){return e>=1?z:e<=-1?-z:Math.asin(e)}function w(e){return e.innerRadius}function x(e){return e.outerRadius}function H(e){return e.startAngle}function V(e){return e.endAngle}function _(e){return e&&e.padAngle}function B(e,t,a,l,i,o,n){var r=e-a,c=t-l,h=(n?o:-o)/y(r*r+c*c),s=h*c,d=-h*r,u=e+s,f=t+d,p=a+s,m=l+d,g=(u+p)/2,b=(f+m)/2,z=p-u,M=m-f,A=z*z+M*M,w=i-o,x=u*m-p*f,H=(M<0?-1:1)*y(v(0,w*w*A-x*x)),V=(x*M-z*H)/A,_=(-x*z-M*H)/A,B=(x*M+z*H)/A,L=(-x*z+M*H)/A,C=V-g,E=_-b,k=B-g,D=L-b
return C*C+E*E>k*k+D*D&&(V=B,_=L),{cx:V,cy:_,x01:-s,y01:-d,x11:V*(i/w-1),y11:_*(i/w-1)}}function L(){var e=w,t=x,a=s(0),l=null,i=H,o=V,n=_,r=null
function c(){var c,s,v,w=+e.apply(this,arguments),x=+t.apply(this,arguments),H=i.apply(this,arguments)-z,V=o.apply(this,arguments)-z,_=d(V-H),L=V>H
if(r||(r=c=h()),xg)if(_>M-g)r.moveTo(x*f(H),x*m(H)),r.arc(0,0,x,H,V,!L),w>g&&(r.moveTo(w*f(V),w*m(V)),r.arc(0,0,w,V,H,L))
else{var C,E,k=H,D=V,S=H,F=V,O=_,T=_,P=n.apply(this,arguments)/2,N=P>g&&(l?+l.apply(this,arguments):y(w*w+x*x)),U=p(d(x-w)/2,+a.apply(this,arguments)),R=U,j=U
if(N>g){var I=A(N/w*m(P)),G=A(N/x*m(P));(O-=2*I)>g?(S+=I*=L?1:-1,F-=I):(O=0,S=F=(H+V)/2),(T-=2*G)>g?(k+=G*=L?1:-1,D-=G):(T=0,k=D=(H+V)/2)}var $=x*f(k),q=x*m(k),Z=w*f(F),Y=w*m(F)
if(U>g){var K,W=x*f(D),X=x*m(D),J=w*f(S),Q=w*m(S)
if(_1?0:v<-1?b:Math.acos(v))/2),oe=y(K[0]*K[0]+K[1]*K[1])
R=p(U,(w-oe)/(ie-1)),j=p(U,(x-oe)/(ie+1))}}T>g?j>g?(C=B(J,Q,$,q,x,j,L),E=B(W,X,Z,Y,x,j,L),r.moveTo(C.cx+C.x01,C.cy+C.y01),jg&&O>g?R>g?(C=B(Z,Y,W,X,w,-R,L),E=B($,q,J,Q,w,-R,L),r.lineTo(C.cx+C.x01,C.cy+C.y01),R=d;--u)r.point(y[u],g[u])
r.lineEnd(),r.areaEnd()}m&&(y[s]=+e(f,s,c),g[s]=+t(f,s,c),r.point(l?+l(f,s,c):y[s],a?+a(f,s,c):g[s]))}if(v)return r=null,v+""||null}function d(){return O().defined(i).curve(n).context(o)}return e="function"==typeof e?e:void 0===e?S:s(+e),t="function"==typeof t?t:s(void 0===t?0:+t),a="function"==typeof a?a:void 0===a?F:s(+a),c.x=function(t){return arguments.length?(e="function"==typeof t?t:s(+t),l=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:s(+t),c):e},c.x1=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:s(+e),c):l},c.y=function(e){return arguments.length?(t="function"==typeof e?e:s(+e),a=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:s(+e),c):t},c.y1=function(e){return arguments.length?(a=null==e?null:"function"==typeof e?e:s(+e),c):a},c.lineX0=c.lineY0=function(){return d().x(e).y(t)},c.lineY1=function(){return d().x(e).y(a)},c.lineX1=function(){return d().x(l).y(t)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:s(!!e),c):i},c.curve=function(e){return arguments.length?(n=e,null!=o&&(r=n(o)),c):n},c.context=function(e){return arguments.length?(null==e?o=r=null:r=n(o=e),c):o},c}function P(e,t){return te?1:t>=e?0:NaN}function N(e){return e}function U(){var e=N,t=P,a=null,l=s(0),i=s(M),o=s(0)
function n(n){var r,c,h,s,d,u=(n=E(n)).length,f=0,v=new Array(u),p=new Array(u),m=+l.apply(this,arguments),y=Math.min(M,Math.max(-M,i.apply(this,arguments)-m)),g=Math.min(Math.abs(y)/u,o.apply(this,arguments)),b=g*(y<0?-1:1)
for(r=0;r0&&(f+=d)
for(null!=t?v.sort((function(e,a){return t(p[e],p[a])})):null!=a&&v.sort((function(e,t){return a(n[e],n[t])})),r=0,h=f?(y-u*b)/f:0;r0?d*h:0)+b,p[c]={data:n[c],index:r,value:d,startAngle:m,endAngle:s,padAngle:g}
return p}return n.value=function(t){return arguments.length?(e="function"==typeof t?t:s(+t),n):e},n.sortValues=function(e){return arguments.length?(t=e,a=null,n):t},n.sort=function(e){return arguments.length?(a=e,t=null,n):a},n.startAngle=function(e){return arguments.length?(l="function"==typeof e?e:s(+e),n):l},n.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:s(+e),n):i},n.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:s(+e),n):o},n}k.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t)
break
case 1:this._point=2
default:this._context.lineTo(e,t)}}}
var R=I(D)
function j(e){this._curve=e}function I(e){function t(t){return new j(e(t))}return t._curve=e,t}function G(e){var t=e.curve
return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(I(e)):t()._curve},e}function $(){return G(O().curve(R))}function q(){var e=T().curve(R),t=e.curve,a=e.lineX0,l=e.lineX1,i=e.lineY0,o=e.lineY1
return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return G(a())},delete e.lineX0,e.lineEndAngle=function(){return G(l())},delete e.lineX1,e.lineInnerRadius=function(){return G(i())},delete e.lineY0,e.lineOuterRadius=function(){return G(o())},delete e.lineY1,e.curve=function(e){return arguments.length?t(I(e)):t()._curve},e}function Z(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}function Y(e){return e.source}function K(e){return e.target}function W(e){var t=Y,a=K,l=S,i=F,o=null
function n(){var n,r=C.call(arguments),c=t.apply(this,r),s=a.apply(this,r)
if(o||(o=n=h()),e(o,+l.apply(this,(r[0]=c,r)),+i.apply(this,r),+l.apply(this,(r[0]=s,r)),+i.apply(this,r)),n)return o=null,n+""||null}return n.source=function(e){return arguments.length?(t=e,n):t},n.target=function(e){return arguments.length?(a=e,n):a},n.x=function(e){return arguments.length?(l="function"==typeof e?e:s(+e),n):l},n.y=function(e){return arguments.length?(i="function"==typeof e?e:s(+e),n):i},n.context=function(e){return arguments.length?(o=null==e?null:e,n):o},n}function X(e,t,a,l,i){e.moveTo(t,a),e.bezierCurveTo(t=(t+l)/2,a,t,i,l,i)}function J(e,t,a,l,i){e.moveTo(t,a),e.bezierCurveTo(t,a=(a+i)/2,l,a,l,i)}function Q(e,t,a,l,i){var o=Z(t,a),n=Z(t,a=(a+i)/2),r=Z(l,a),c=Z(l,i)
e.moveTo(o[0],o[1]),e.bezierCurveTo(n[0],n[1],r[0],r[1],c[0],c[1])}function ee(){return W(X)}function te(){return W(J)}function ae(){var e=W(Q)
return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}j.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}}
const le={draw:function(e,t){var a=Math.sqrt(t/b)
e.moveTo(a,0),e.arc(0,0,a,0,M)}},ie={draw:function(e,t){var a=Math.sqrt(t/5)/2
e.moveTo(-3*a,-a),e.lineTo(-a,-a),e.lineTo(-a,-3*a),e.lineTo(a,-3*a),e.lineTo(a,-a),e.lineTo(3*a,-a),e.lineTo(3*a,a),e.lineTo(a,a),e.lineTo(a,3*a),e.lineTo(-a,3*a),e.lineTo(-a,a),e.lineTo(-3*a,a),e.closePath()}}
var oe=Math.sqrt(1/3),ne=2*oe
const re={draw:function(e,t){var a=Math.sqrt(t/ne),l=a*oe
e.moveTo(0,-a),e.lineTo(l,0),e.lineTo(0,a),e.lineTo(-l,0),e.closePath()}}
var ce=Math.sin(b/10)/Math.sin(7*b/10),he=Math.sin(M/10)*ce,se=-Math.cos(M/10)*ce
const de={draw:function(e,t){var a=Math.sqrt(.8908130915292852*t),l=he*a,i=se*a
e.moveTo(0,-a),e.lineTo(l,i)
for(var o=1;o<5;++o){var n=M*o/5,r=Math.cos(n),c=Math.sin(n)
e.lineTo(c*a,-r*a),e.lineTo(r*l-c*i,c*l+r*i)}e.closePath()}},ue={draw:function(e,t){var a=Math.sqrt(t),l=-a/2
e.rect(l,l,a,a)}}
var fe=Math.sqrt(3)
const ve={draw:function(e,t){var a=-Math.sqrt(t/(3*fe))
e.moveTo(0,2*a),e.lineTo(-fe*a,-a),e.lineTo(fe*a,-a),e.closePath()}}
var pe=-.5,me=Math.sqrt(3)/2,ye=1/Math.sqrt(12),ge=3*(ye/2+1)
const be={draw:function(e,t){var a=Math.sqrt(t/ge),l=a/2,i=a*ye,o=l,n=a*ye+a,r=-o,c=n
e.moveTo(l,i),e.lineTo(o,n),e.lineTo(r,c),e.lineTo(pe*l-me*i,me*l+pe*i),e.lineTo(pe*o-me*n,me*o+pe*n),e.lineTo(pe*r-me*c,me*r+pe*c),e.lineTo(pe*l+me*i,pe*i-me*l),e.lineTo(pe*o+me*n,pe*n-me*o),e.lineTo(pe*r+me*c,pe*c-me*r),e.closePath()}}
var ze=[le,ie,re,ue,de,ve,be]
function Me(e,t){var a=null
function l(){var l
if(a||(a=l=h()),e.apply(this,arguments).draw(a,+t.apply(this,arguments)),l)return a=null,l+""||null}return e="function"==typeof e?e:s(e||le),t="function"==typeof t?t:s(void 0===t?64:+t),l.type=function(t){return arguments.length?(e="function"==typeof t?t:s(t),l):e},l.size=function(e){return arguments.length?(t="function"==typeof e?e:s(+e),l):t},l.context=function(e){return arguments.length?(a=null==e?null:e,l):a},l}function Ae(){}function we(e,t,a){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+a)/6)}function xe(e){this._context=e}function He(e){return new xe(e)}function Ve(e){this._context=e}function _e(e){return new Ve(e)}function Be(e){this._context=e}function Le(e){return new Be(e)}xe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:we(this,this._x1,this._y1)
case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t)
break
case 1:this._point=2
break
case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6)
default:we(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Ve.prototype={areaStart:Ae,areaEnd:Ae,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath()
break
case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath()
break
case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t
break
case 1:this._point=2,this._x3=e,this._y3=t
break
case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6)
break
default:we(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Be.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1
break
case 1:this._point=2
break
case 2:this._point=3
var a=(this._x0+4*this._x1+e)/6,l=(this._y0+4*this._y1+t)/6
this._line?this._context.lineTo(a,l):this._context.moveTo(a,l)
break
case 3:this._point=4
default:we(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}
class Ce{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t)
break
case 1:this._point=2
default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}function Ee(e){return new Ce(e,!0)}function ke(e){return new Ce(e,!1)}function De(e,t){this._basis=new xe(e),this._beta=t}De.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,a=e.length-1
if(a>0)for(var l,i=e[0],o=t[0],n=e[a]-i,r=t[a]-o,c=-1;++c<=a;)l=c/a,this._basis.point(this._beta*e[c]+(1-this._beta)*(i+l*n),this._beta*t[c]+(1-this._beta)*(o+l*r))
this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}}
const Se=function e(t){function a(e){return 1===t?new xe(e):new De(e,t)}return a.beta=function(t){return e(+t)},a}(.85)
function Fe(e,t,a){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-a),e._x2,e._y2)}function Oe(e,t){this._context=e,this._k=(1-t)/6}Oe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2)
break
case 3:Fe(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t)
break
case 1:this._point=2,this._x1=e,this._y1=t
break
case 2:this._point=3
default:Fe(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}}
const Te=function e(t){function a(e){return new Oe(e,t)}return a.tension=function(t){return e(+t)},a}(0)
function Pe(e,t){this._context=e,this._k=(1-t)/6}Pe.prototype={areaStart:Ae,areaEnd:Ae,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath()
break
case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath()
break
case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t
break
case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t)
break
case 2:this._point=3,this._x5=e,this._y5=t
break
default:Fe(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}}
const Ne=function e(t){function a(e){return new Pe(e,t)}return a.tension=function(t){return e(+t)},a}(0)
function Ue(e,t){this._context=e,this._k=(1-t)/6}Ue.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1
break
case 1:this._point=2
break
case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2)
break
case 3:this._point=4
default:Fe(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}}
const Re=function e(t){function a(e){return new Ue(e,t)}return a.tension=function(t){return e(+t)},a}(0)
function je(e,t,a){var l=e._x1,i=e._y1,o=e._x2,n=e._y2
if(e._l01_a>g){var r=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a)
l=(l*r-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*r-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>g){var h=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,s=3*e._l23_a*(e._l23_a+e._l12_a)
o=(o*h+e._x1*e._l23_2a-t*e._l12_2a)/s,n=(n*h+e._y1*e._l23_2a-a*e._l12_2a)/s}e._context.bezierCurveTo(l,i,o,n,e._x2,e._y2)}function Ie(e,t){this._context=e,this._alpha=t}Ie.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2)
break
case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var a=this._x2-e,l=this._y2-t
this._l23_a=Math.sqrt(this._l23_2a=Math.pow(a*a+l*l,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t)
break
case 1:this._point=2
break
case 2:this._point=3
default:je(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}}
const Ge=function e(t){function a(e){return t?new Ie(e,t):new Oe(e,0)}return a.alpha=function(t){return e(+t)},a}(.5)
function $e(e,t){this._context=e,this._alpha=t}$e.prototype={areaStart:Ae,areaEnd:Ae,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath()
break
case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath()
break
case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var a=this._x2-e,l=this._y2-t
this._l23_a=Math.sqrt(this._l23_2a=Math.pow(a*a+l*l,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t
break
case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t)
break
case 2:this._point=3,this._x5=e,this._y5=t
break
default:je(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}}
const qe=function e(t){function a(e){return t?new $e(e,t):new Pe(e,0)}return a.alpha=function(t){return e(+t)},a}(.5)
function Ze(e,t){this._context=e,this._alpha=t}Ze.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var a=this._x2-e,l=this._y2-t
this._l23_a=Math.sqrt(this._l23_2a=Math.pow(a*a+l*l,this._alpha))}switch(this._point){case 0:this._point=1
break
case 1:this._point=2
break
case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2)
break
case 3:this._point=4
default:je(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}}
const Ye=function e(t){function a(e){return t?new Ze(e,t):new Ue(e,0)}return a.alpha=function(t){return e(+t)},a}(.5)
function Ke(e){this._context=e}function We(e){return new Ke(e)}function Xe(e){return e<0?-1:1}function Je(e,t,a){var l=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(l||i<0&&-0),n=(a-e._y1)/(i||l<0&&-0),r=(o*i+n*l)/(l+i)
return(Xe(o)+Xe(n))*Math.min(Math.abs(o),Math.abs(n),.5*Math.abs(r))||0}function Qe(e,t){var a=e._x1-e._x0
return a?(3*(e._y1-e._y0)/a-t)/2:t}function et(e,t,a){var l=e._x0,i=e._y0,o=e._x1,n=e._y1,r=(o-l)/3
e._context.bezierCurveTo(l+r,i+r*t,o-r,n-r*a,o,n)}function tt(e){this._context=e}function at(e){this._context=new lt(e)}function lt(e){this._context=e}function it(e){return new tt(e)}function ot(e){return new at(e)}function nt(e){this._context=e}function rt(e){var t,a,l=e.length-1,i=new Array(l),o=new Array(l),n=new Array(l)
for(i[0]=0,o[0]=2,n[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(n[t]-i[t+1])/o[t]
for(o[l-1]=(e[l]+i[l-1])/2,t=0;t1)for(var a,l,i,o=1,n=e[t[0]],r=n.length;o=0;)a[t]=t
return a}function pt(e,t){return e[t]}function mt(e){const t=[]
return t.key=e,t}function yt(){var e=s([]),t=vt,a=ft,l=pt
function i(i){var o,n,r=Array.from(e.apply(this,arguments),mt),c=r.length,h=-1
for(const e of i)for(o=0,++h;o0){for(var a,l,i,o=0,n=e[0].length;o0)for(var a,l,i,o,n,r,c=0,h=e[t[0]].length;c0?(l[0]=o,l[1]=o+=i):i<0?(l[1]=n,l[0]=n+=i):(l[0]=0,l[1]=i)}function zt(e,t){if((a=e.length)>0){for(var a,l=0,i=e[t[0]],o=i.length;l0&&(l=(a=e[t[0]]).length)>0){for(var a,l,i,o=0,n=1;no&&(o=t,l=a)
return l}function xt(e){var t=e.map(Ht)
return vt(e).sort((function(e,a){return t[e]-t[a]}))}function Ht(e){for(var t,a=0,l=-1,i=e.length;++l=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t)
break
case 1:this._point=2
default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t)
else{var a=this._x*(1-this._t)+e*this._t
this._context.lineTo(a,this._y),this._context.lineTo(a,t)}}this._x=e,this._y=t}}},2350:function(e){e.exports=function(){"use strict"
var e=6e4,t=36e5,a="millisecond",l="second",i="minute",o="hour",n="day",r="week",c="month",h="quarter",s="year",d="date",u="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],a=e%100
return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"}},m=function(e,t,a){var l=String(e)
return!l||l.length>=t?e:""+Array(t+1-l.length).join(a)+e},y={s:m,z:function(e){var t=-e.utcOffset(),a=Math.abs(t),l=Math.floor(a/60),i=a%60
return(t<=0?"+":"-")+m(l,2,"0")+":"+m(i,2,"0")},m:function e(t,a){if(t.date()1)return e(n[0])}else{var r=t.name
b[r]=t,i=r}return!l&&i&&(g=i),i||!l&&g},A=function(e,t){if(z(e))return e.clone()
var a="object"==typeof t?t:{}
return a.date=e,a.args=arguments,new x(a)},w=y
w.l=M,w.i=z,w.w=function(e,t){return A(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})}
var x=function(){function p(e){this.$L=M(e.locale,null,!0),this.parse(e)}var m=p.prototype
return m.parse=function(e){this.$d=function(e){var t=e.date,a=e.utc
if(null===t)return new Date(NaN)
if(w.u(t))return new Date
if(t instanceof Date)return new Date(t)
if("string"==typeof t&&!/Z$/i.test(t)){var l=t.match(f)
if(l){var i=l[2]-1||0,o=(l[7]||"0").substring(0,3)
return a?new Date(Date.UTC(l[1],i,l[3]||1,l[4]||0,l[5]||0,l[6]||0,o)):new Date(l[1],i,l[3]||1,l[4]||0,l[5]||0,l[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},m.init=function(){var e=this.$d
this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return w},m.isValid=function(){return!(this.$d.toString()===u)},m.isSame=function(e,t){var a=A(e)
return this.startOf(t)<=a&&a<=this.endOf(t)},m.isAfter=function(e,t){return A(e)0,m<=p.r||!p.r){m<=1&&v>0&&(p=u[v-1])
var y=d[p.l]
r&&(m=r(""+m)),h="string"==typeof y?y.replace("%d",m):y(m,l,p.l,s)
break}}if(l)return h
var g=s?d.future:d.past
return"function"==typeof g?g(h):g.replace("%s",h)},l.to=function(e,t){return o(e,t,this,!0)},l.from=function(e,t){return o(e,t,this)}
var n=function(e){return e.$u?a.utc():a()}
l.toNow=function(e){return this.to(n(this),e)},l.fromNow=function(e){return this.from(n(this),e)}}}()},3924:e=>{"use strict"
var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e)
return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===a}(e)}(e)},a="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103
function l(e,t){return!1!==t.clone&&t.isMergeableObject(e)?r((a=e,Array.isArray(a)?[]:{}),e,t):e
var a}function i(e,t,a){return e.concat(t).map((function(e){return l(e,a)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function n(e,t){try{return t in e}catch(e){return!1}}function r(e,a,c){(c=c||{}).arrayMerge=c.arrayMerge||i,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=l
var h=Array.isArray(a)
return h===Array.isArray(e)?h?c.arrayMerge(e,a,c):function(e,t,a){var i={}
return a.isMergeableObject(e)&&o(e).forEach((function(t){i[t]=l(e[t],a)})),o(t).forEach((function(o){(function(e,t){return n(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(n(e,o)&&a.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return r
var a=t.customMerge(e)
return"function"==typeof a?a:r}(o,a)(e[o],t[o],a):i[o]=l(t[o],a))})),i}(e,a,c):l(a,c)}r.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array")
return e.reduce((function(e,a){return r(e,a,t)}),{})}
var c=r
e.exports=c},3109:(e,t,a)=>{"use strict"
a.r(t),a.d(t,{default:()=>S})
var l=a(4927),i=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],o=i.join(","),n="undefined"==typeof Element,r=n?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,c=!n&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},h=function(e,t,a){var l=Array.prototype.slice.apply(e.querySelectorAll(o))
return t&&r.call(e,o)&&l.unshift(e),l.filter(a)},s=function e(t,a,l){for(var i=[],n=Array.from(t);n.length;){var c=n.shift()
if("SLOT"===c.tagName){var h=c.assignedElements(),s=e(h.length?h:c.children,!0,l)
l.flatten?i.push.apply(i,s):i.push({scope:c,candidates:s})}else{r.call(c,o)&&l.filter(c)&&(a||!t.includes(c))&&i.push(c)
var d=c.shadowRoot||"function"==typeof l.getShadowRoot&&l.getShadowRoot(c),u=!l.shadowRootFilter||l.shadowRootFilter(c)
if(d&&u){var f=e(!0===d?c.children:d.children,!0,l)
l.flatten?i.push.apply(i,f):i.push({scope:c,candidates:f})}else n.unshift.apply(n,c.children)}}return i},d=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},u=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},f=function(e){return"INPUT"===e.tagName},v=function(e){var t=e.getBoundingClientRect(),a=t.width,l=t.height
return 0===a&&0===l},p=function(e,t){return!(t.disabled||function(e){return f(e)&&"hidden"===e.type}(t)||function(e,t){var a=t.displayCheck,l=t.getShadowRoot
if("hidden"===getComputedStyle(e).visibility)return!0
var i=r.call(e,"details>summary:first-of-type")?e.parentElement:e
if(r.call(i,"details:not([open]) *"))return!0
var o=c(e).host,n=(null==o?void 0:o.ownerDocument.contains(o))||e.ownerDocument.contains(e)
if(a&&"full"!==a){if("non-zero-area"===a)return v(e)}else{if("function"==typeof l){for(var h=e;e;){var s=e.parentElement,d=c(e)
if(s&&!s.shadowRoot&&!0===l(s))return v(e)
e=e.assignedSlot?e.assignedSlot:s||d===e.ownerDocument?s:d.host}e=h}if(n)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var a=0;a=0)},g=function e(t){var a=[],l=[]
return t.forEach((function(t,i){var o=!!t.scope,n=o?t.scope:t,r=d(n,o),c=o?e(t.candidates):n
0===r?o?a.push.apply(a,c):a.push(n):l.push({documentOrder:i,tabIndex:r,item:t,isScope:o,content:c})})),l.sort(u).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(a)},b=function(e,t){var a
return a=(t=t||{}).getShadowRoot?s([e],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:y}):h(e,t.includeContainer,m.bind(null,t)),g(a)},z=function(e,t){if(t=t||{},!e)throw new Error("No node provided")
return!1!==r.call(e,o)&&m(t,e)},M=i.concat("iframe").join(","),A=function(e,t){if(t=t||{},!e)throw new Error("No node provided")
return!1!==r.call(e,M)&&p(t,e)}
function w(e,t){var a=Object.keys(e)
if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e)
t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function x(e){for(var t=1;t0){var t=V[V.length-1]
t!==e&&t.pause()}var a=V.indexOf(e);-1===a||V.splice(a,1),V.push(e)},deactivateTrap:function(e){var t=V.indexOf(e);-1!==t&&V.splice(t,1),V.length>0&&V[V.length-1].unpause()}}),B=function(e){return setTimeout(e,0)},L=function(e,t){var a=-1
return e.every((function(e,l){return!t(e)||(a=l,!1)})),a},C=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),l=1;l1?a-1:0),n=1;n=0)e=l.activeElement
else{var t=o.tabbableGroups[0]
e=t&&t.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element")
return e},u=function(){if(o.containerGroups=o.containers.map((function(e){var t,a,l=b(e,i.tabbableOptions),o=(t=e,(a=(a=i.tabbableOptions)||{}).getShadowRoot?s([t],a.includeContainer,{filter:p.bind(null,a),flatten:!0,getShadowRoot:a.getShadowRoot}):h(t,a.includeContainer,p.bind(null,a)))
return{container:e,tabbableNodes:l,focusableNodes:o,firstTabbableNode:l.length>0?l[0]:null,lastTabbableNode:l.length>0?l[l.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=o.findIndex((function(t){return t===e}))
if(!(a<0))return t?o.slice(a+1).find((function(e){return z(e,i.tabbableOptions)})):o.slice(0,a).reverse().find((function(e){return z(e,i.tabbableOptions)}))}}})),o.tabbableGroups=o.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),o.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},f=function e(t){!1!==t&&t!==l.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),o.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(d()))},v=function(e){var t=c("setReturnFocus",e)
return t||!1!==t&&e},m=function(e){var t=E(e)
r(t)>=0||(C(i.clickOutsideDeactivates,e)?a.deactivate({returnFocus:i.returnFocusOnDeactivate&&!A(t,i.tabbableOptions)}):C(i.allowOutsideClick,e)||e.preventDefault())},y=function(e){var t=E(e),a=r(t)>=0
a||t instanceof Document?a&&(o.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),f(o.mostRecentlyFocusedNode||d()))},g=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==C(i.escapeDeactivates,e))return e.preventDefault(),void a.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=E(e)
u()
var a=null
if(o.tabbableGroups.length>0){var l=r(t),n=l>=0?o.containerGroups[l]:void 0
if(l<0)a=e.shiftKey?o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:o.tabbableGroups[0].firstTabbableNode
else if(e.shiftKey){var h=L(o.tabbableGroups,(function(e){var a=e.firstTabbableNode
return t===a}))
if(h<0&&(n.container===t||A(t,i.tabbableOptions)&&!z(t,i.tabbableOptions)&&!n.nextTabbableNode(t,!1))&&(h=l),h>=0){var s=0===h?o.tabbableGroups.length-1:h-1
a=o.tabbableGroups[s].lastTabbableNode}}else{var d=L(o.tabbableGroups,(function(e){var a=e.lastTabbableNode
return t===a}))
if(d<0&&(n.container===t||A(t,i.tabbableOptions)&&!z(t,i.tabbableOptions)&&!n.nextTabbableNode(t))&&(d=l),d>=0){var v=d===o.tabbableGroups.length-1?0:d+1
a=o.tabbableGroups[v].firstTabbableNode}}}else a=c("fallbackFocus")
a&&(e.preventDefault(),f(a))}(e)},M=function(e){var t=E(e)
r(t)>=0||C(i.clickOutsideDeactivates,e)||C(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(o.active)return _.activateTrap(a),o.delayInitialFocusTimer=i.delayInitialFocus?B((function(){f(d())})):f(d()),l.addEventListener("focusin",y,!0),l.addEventListener("mousedown",m,{capture:!0,passive:!1}),l.addEventListener("touchstart",m,{capture:!0,passive:!1}),l.addEventListener("click",M,{capture:!0,passive:!1}),l.addEventListener("keydown",g,{capture:!0,passive:!1}),a},H=function(){if(o.active)return l.removeEventListener("focusin",y,!0),l.removeEventListener("mousedown",m,!0),l.removeEventListener("touchstart",m,!0),l.removeEventListener("click",M,!0),l.removeEventListener("keydown",g,!0),a}
return(a={get active(){return o.active},get paused(){return o.paused},activate:function(e){if(o.active)return this
var t=n(e,"onActivate"),a=n(e,"onPostActivate"),i=n(e,"checkCanFocusTrap")
i||u(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=l.activeElement,t&&t()
var r=function(){i&&u(),w(),a&&a()}
return i?(i(o.containers.concat()).then(r,r),this):(r(),this)},deactivate:function(e){if(!o.active)return this
var t=x({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e)
clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,H(),o.active=!1,o.paused=!1,_.deactivateTrap(a)
var l=n(t,"onDeactivate"),r=n(t,"onPostDeactivate"),c=n(t,"checkCanReturnFocus"),h=n(t,"returnFocus","returnFocusOnDeactivate")
l&&l()
var s=function(){B((function(){h&&f(v(o.nodeFocusedBeforeActivation)),r&&r()}))}
return h&&c?(c(v(o.nodeFocusedBeforeActivation)).then(s,s),this):(s(),this)},pause:function(){return o.paused||!o.active||(o.paused=!0,H()),this},unpause:function(){return o.paused&&o.active?(o.paused=!1,u(),w(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean)
return o.containers=t.map((function(e){return"string"==typeof e?l.querySelector(e):e})),o.active&&u(),this}}).updateContainerElements(e),a}
let D
try{D=(0,l.capabilities)("3.22")}catch{D=(0,l.capabilities)("3.13")}var S=(0,l.setModifierManager)((()=>({capabilities:D,createModifier:()=>({focusTrapOptions:void 0,isActive:!0,isPaused:!1,shouldSelfFocus:!1,focusTrap:void 0}),installModifier(e,t,a){let{named:{isActive:l,isPaused:i,shouldSelfFocus:o,focusTrapOptions:n,additionalElements:r,_createFocusTrap:c}}=a
e.focusTrapOptions={...n}||{},void 0!==l&&(e.isActive=l),void 0!==i&&(e.isPaused=i),e.focusTrapOptions&&void 0===e.focusTrapOptions.initialFocus&&o&&(e.focusTrapOptions.initialFocus=t)
let h=k
c&&(h=c),!1!==e.focusTrapOptions.returnFocusOnDeactivate&&(e.focusTrapOptions.returnFocusOnDeactivate=!0),e.focusTrap=h(void 0!==r?[t,...r]:t,e.focusTrapOptions),e.isActive&&e.focusTrap.activate(),e.isPaused&&e.focusTrap.pause()},updateModifier(e,t){let{named:a}=t
const l=a.focusTrapOptions||{}
if(e.isActive&&!a.isActive){const{returnFocusOnDeactivate:t}=l,a=void 0===t
e.focusTrap.deactivate({returnFocus:a})}else!e.isActive&&a.isActive&&e.focusTrap.activate()
e.isPaused&&!a.isPaused?e.focusTrap.unpause():!e.isPaused&&a.isPaused&&e.focusTrap.pause(),e.focusTrapOptions=l,void 0!==a.isActive&&(e.isActive=a.isActive),void 0!==a.isPaused&&(e.isPaused=a.isPaused)},destroyModifier(e){let{focusTrap:t}=e
t.deactivate()}})),class{})},3720:(e,t,a)=>{"use strict"
function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t,a,l){a&&Object.defineProperty(e,t,{enumerable:a.enumerable,configurable:a.configurable,writable:a.writable,value:a.initializer?a.initializer.call(l):void 0})}function o(e,t,a,l,i){var o={}
return Object.keys(l).forEach((function(e){o[e]=l[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=a.slice().reverse().reduce((function(a,l){return l(e,t,a)||a}),o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}a.d(t,{_:()=>l,a:()=>o,b:()=>i})},5487:(e,t,a)=>{"use strict"
a.d(t,{Bq:()=>i,sd:()=>o,zA:()=>l})
const l={A:"a",B:"b",C:"c",D:"d",E:"e",F:"f",G:"g",H:"h",I:"i",J:"j",K:"k",L:"l",M:"m",N:"n",O:"o",P:"p",Q:"q",R:"r",S:"s",T:"t",U:"u",V:"v",W:"w",X:"x",Y:"y",Z:"z","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=","<":",",">":".","?":"/",":":";",'"':"'","~":"`","{":"[","}":"]","|":"\\"},i={"å":"a",b:"b","ç":"c","∂":"d","ƒ":"f","©":"g","˙":"h","∆":"j","˚":"k","¬":"l","µ":"m","ø":"o","π":"p","œ":"q","®":"r","ß":"s","†":"t","√":"v","∑":"w","≈":"x","¥":"y","Ω":"z","¡":"1","™":"2","£":"3","¢":"4","∞":"5","§":"6","¶":"7","•":"8","ª":"9","º":"0","–":"-","≠":"=","≤":",","≥":".","÷":"/","…":";","æ":"'","“":"[","‘":"]","«":"\\"},o={"Å":"a","ı":"b","Î":"d","Ï":"f","˝":"g","Ó":"h","ˆ":"i","Ô":"j","":"k","Ò":"l","Â":"m","˜":"n","Ø":"o","Œ":"q","‰":"r","Í":"s","ˇ":"t","¨":"u","◊":"v","„":"w","˛":"x","Á":"y","¸":"z","⁄":"1","€":"2","‹":"3","›":"4","fi":"5","fl":"6","‡":"7","°":"8","·":"9","‚":"0","—":"-","±":"=","¯":",","˘":".","¿":"/","Ú":";","Æ":"'","`":"`","”":"[","’":"]","»":"\\"}},3481:(e,t,a)=>{"use strict"
a.r(t),a.d(t,{default:()=>r})
var l=a(6354),i=a(3353),o=a(4005),n=a(9026),r=(a(3800),a(2956),a(5487),a(6826),a(1866),(0,l.helper)((function(e){let[t,a]=e
return function(e){(0,i.assert)("ember-keyboard: You must pass a function as the second argument to the `if-key` helper","function"==typeof a),(0,i.assert)("ember-keyboard: The `if-key` helper expects to be invoked with a KeyboardEvent",e instanceof KeyboardEvent),(0,o.Z)((0,n.Z)(e.type,t),e)&&a(e)}})))},6415:(e,t,a)=>{"use strict"
a.r(t),a.d(t,{default:()=>d})
var l,i,o=a(3720),n=a(6354),r=a.n(n),c=a(3353),h=a(8574),s=a(9026)
let d=(l=class extends(r()){constructor(){super(...arguments),(0,o.b)(this,"keyboard",i,this),(0,o._)(this,"keyCombo",void 0),(0,o._)(this,"callback",void 0),(0,o._)(this,"keyboardActivated",!0),(0,o._)(this,"keyboardPriority",0),(0,o._)(this,"eventName","keydown"),(0,o._)(this,"keyboardHandlers",void 0)}compute(e,t){let[a,l]=e,{event:i="keydown",activated:o=!0,priority:n=0}=t;(0,c.assert)("ember-keyboard: You must pass a function as the second argument to the `on-key` helper","function"==typeof l),this.keyCombo=a,this.callback=l,this.eventName=i,this.keyboardActivated=o,this.keyboardPriority=n,this.keyboardHandlers={},this.keyboardHandlers[(0,s.Z)(i,a)]=l,this.keyboard.register(this)}willDestroy(){this.keyboard.unregister(this),super.willDestroy(...arguments)}},i=(0,o.a)(l.prototype,"keyboard",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l)},4146:(e,t,a)=>{"use strict"
a.r(t),a.d(t,{default:()=>v})
var l=a(3720),i=a(2509),o=a(8574),n=a(7219),r=a(9341),c=a(9026),h=a(4005)
a(3800),a(2956),a(3353),a(5487),a(6826),a(1866)
const s=["input","select","textarea"]
let d
var u,f
u=class extends i.default{constructor(e,t){super(e,t),(0,l.b)(this,"keyboard",f,this),(0,l._)(this,"element",void 0),(0,l._)(this,"keyboardPriority",0),(0,l._)(this,"activatedParamValue",!0),(0,l._)(this,"eventName","keydown"),(0,l._)(this,"onlyWhenFocused",!0),(0,l._)(this,"listenerName",void 0),(0,l._)(this,"removeEventListeners",(()=>{this.onlyWhenFocused&&(this.element.removeEventListener("click",this.onFocus,!0),this.element.removeEventListener("focus",this.onFocus,!0),this.element.removeEventListener("focusout",this.onFocusOut,!0))})),this.keyboard.register(this),(0,r.registerDestructor)(this,(()=>{this.removeEventListeners(),this.keyboard.unregister(this)}))}modify(e,t,a){this.element=e,this.removeEventListeners(),this.setupProperties(t,a),this.onlyWhenFocused&&this.addEventListeners()}setupProperties(e,t){let[a,l]=e,{activated:i,event:o,priority:n,onlyWhenFocused:r}=t
this.keyCombo=a,this.callback=l,this.eventName=o||"keydown",this.activatedParamValue="activated"in t?!!i:void 0,this.keyboardPriority=n?parseInt(n,10):0,this.listenerName=(0,c.Z)(this.eventName,this.keyCombo),this.onlyWhenFocused=void 0!==r?r:s.includes(this.element.tagName.toLowerCase())}addEventListeners(){this.element.addEventListener("click",this.onFocus,!0),this.element.addEventListener("focus",this.onFocus,!0),this.element.addEventListener("focusout",this.onFocusOut,!0)}onFocus(){this.isFocused=!0}onFocusOut(){this.isFocused=!1}get keyboardActivated(){return!1!==this.activatedParamValue&&(!this.onlyWhenFocused||this.isFocused)}get keyboardFirstResponder(){return!!this.onlyWhenFocused&&this.isFocused}canHandleKeyboardEvent(e){return(0,h.Z)(this.listenerName,e)}handleKeyboardEvent(e,t){(0,h.Z)(this.listenerName,e)&&(this.callback?this.callback(e,t):this.element.click())}},f=(0,l.a)(u.prototype,"keyboard",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,l.a)(u.prototype,"onFocus",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"onFocus"),u.prototype),(0,l.a)(u.prototype,"onFocusOut",[n.action],Object.getOwnPropertyDescriptor(u.prototype,"onFocusOut"),u.prototype),d=u
var v=d},9690:(e,t,a)=>{"use strict"
a.r(t),a.d(t,{default:()=>f})
var l,i=a(3720),o=a(8574),n=a.n(o),r=a(1292),c=a(7219),h=a(8773),s=a(9026),d=a(4005)
function u(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null
if(e.handleKeyboardEvent){if(e.canHandleKeyboardEvent&&!e.canHandleKeyboardEvent(t))return
e.handleKeyboardEvent(t,a)}else{if(!e.keyboardHandlers)throw new Error("A responder registered with the ember-keyboard service must implement either `keyboardHandlers` (property returning a dictionary of listenerNames to handler functions), or `handleKeyboardEvent(event)`)")
Object.keys(e.keyboardHandlers).forEach((l=>{(0,d.Z)(l,t)&&(a?e.keyboardHandlers[l](t,a):e.keyboardHandlers[l](t))}))}}a(3800),a(2956),a(3353),a(5487),a(6826),a(1866)
let f=(l=class extends(n()){get activeResponders(){let{registeredResponders:e}=this
return Array.from(e).filter((e=>e.keyboardActivated))}get sortedResponders(){return this.activeResponders.sort(((e,t)=>function(e,t,a){return function(e,t,a,l){return function(e,t){let a=e-t
return(a>0)-(a<0)}(l?l((0,c.get)(e,a)):(0,c.get)(e,a),l?l((0,c.get)(t,a)):(0,c.get)(t,a))}(t,e,a,arguments.length>3&&void 0!==arguments[3]?arguments[3]:null)}(e,t,"keyboardPriority")))}get firstResponders(){return this.sortedResponders.filter((e=>e.keyboardFirstResponder))}get normalResponders(){return this.sortedResponders.filter((e=>!e.keyboardFirstResponder))}constructor(){if(super(...arguments),(0,i._)(this,"registeredResponders",new Set),"undefined"!=typeof FastBoot)return
let e=((0,r.getOwner)(this).resolveRegistration("config:environment")||{}).emberKeyboard||{}
e.disableOnInputFields&&(this._disableOnInput=!0),this._listeners=e.listeners||["keyUp","keyDown","keyPress"],this._listeners=this._listeners.map((e=>e.toLowerCase())),this._listeners.forEach((e=>{document.addEventListener(e,this._respond)}))}willDestroy(){super.willDestroy(...arguments),"undefined"==typeof FastBoot&&this._listeners.forEach((e=>{document.removeEventListener(e,this._respond)}))}_respond(e){if(this._disableOnInput&&e.target){var t
const a=null!==(t=e.composedPath()[0])&&void 0!==t?t:e.target,l=a.tagName
if(a.getAttribute&&null!=a.getAttribute("contenteditable")||"TEXTAREA"===l||"INPUT"===l)return}(0,h.run)((()=>{let{firstResponders:t,normalResponders:a}=this
!function(e,t){let{firstResponders:a,normalResponders:l}=t,i=!1,o=!1
const n={stopImmediatePropagation(){i=!0},stopPropagation(){o=!0}}
for(const c of a)if(u(c,e,n),i)break
if(o)return
i=!1
let r=Number.POSITIVE_INFINITY
for(const c of l){const t=Number(c.keyboardPriority)
if(!i||t!==r){if(t{"use strict"
a.d(t,{Z:()=>i})
var l=a(1866)
function i(e){if(!(0,l.isNone)(e))switch(e){case 0:return"left"
case 1:return"middle"
case 2:return"right"}}},4005:(e,t,a)=>{"use strict"
a.d(t,{Z:()=>c})
var l=a(3800),i=a(2956),o=a(5487),n=a(6826)
a(3353),a(1866)
const r="_all"
function c(e,t){let a,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,i.Z)()
if(e instanceof l.Z)a=e
else{if("string"!=typeof e)throw new Error("Expected a `string` or `KeyCombo` as `keyComboOrKeyComboString` argument to `isKey`")
a=l.Z.parse(e,c)}return a.type===t.type&&(!!function(e){return e.keyOrCode===r&&!1===e.altKey&&!1===e.ctrlKey&&!1===e.metaKey&&!1===e.shiftKey}(a)||!(!function(e,t){return e.type===t.type&&e.altKey===t.altKey&&e.ctrlKey===t.ctrlKey&&e.metaKey===t.metaKey&&e.shiftKey===t.shiftKey}(a,t)||!function(e,t){return t instanceof KeyboardEvent&&(e.keyOrCode===r||e.keyOrCode===t.code||e.keyOrCode===t.key)}(a,t)&&!function(e,t){return t instanceof MouseEvent&&(e.keyOrCode===r||e.keyOrCode===(0,n.Z)(t.button))}(a,t))||function(e,t,a){return s([],e)&&s(["shift"],t)?t.key===e.keyOrCode:s(["shift"],e)&&s(["shift"],t)?(l=t.key,(o.zA[l]||l)===e.keyOrCode):"Macintosh"===a&&s(["alt"],e)&&s(["alt"],t)?function(e){return o.Bq[e]||e}(t.key)===e.keyOrCode:!("Macintosh"!==a||!s(["shift","alt"],e)||!s(["shift","alt"],t))&&function(e){return o.sd[e]||e}(t.key)===e.keyOrCode
var l}(a,t,c))}const h=["alt","ctrl","meta","shift","cmd"].filter((e=>"cmd"!=e))
function s(e,t){for(let a of h){if(e.includes(a)&&!t[`${a}Key`])return!1
if(!e.includes(a)&&t[`${a}Key`])return!1}return!0}},3800:(e,t,a)=>{"use strict"
a.d(t,{Z:()=>s})
var l=a(3720),i=a(2956)
a(3353)
const o=/^alt$/i,n=/^shift$/i,r=/^ctrl$/i,c=/^meta$/i,h=/^cmd$/i
class s{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,i.Z)();(0,l._)(this,"type",void 0),(0,l._)(this,"altKey",!1),(0,l._)(this,"ctrlKey",!1),(0,l._)(this,"shiftKey",!1),(0,l._)(this,"metaKey",!1),(0,l._)(this,"keyOrCode",void 0),(0,l._)(this,"platform",void 0),this.platform=e}static parse(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,i.Z)(),a=new s(t),[l,...d]=e.split(":")
return d=d.join(":"),a.type=l,"+"===d?(a.keyOrCode=d,a):(d.split("+").forEach((e=>{o.test(e)?a.altKey=!0:r.test(e)?a.ctrlKey=!0:c.test(e)?a.metaKey=!0:n.test(e)?a.shiftKey=!0:h.test(e)?t.indexOf("Mac")>-1?a.metaKey=!0:a.ctrlKey=!0:a.keyOrCode=e})),a)}createMatchingKeyboardEvent(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
return new KeyboardEvent(this.type,Object.assign({key:this.keyOrCode,code:this.keyOrCode,altKey:this.altKey,ctrlKey:this.ctrlKey,metaKey:this.metaKey,shiftKey:this.shiftKey},e))}}},9026:(e,t,a)=>{"use strict"
function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=t
"string"==typeof t&&(a=t.split("+")),a.indexOf("cmd")>-1&&(a[a.indexOf("cmd")]=function(e){if("undefined"==typeof FastBoot)return void 0===e&&(e=navigator.platform),e.indexOf("Mac")>-1?"meta":"ctrl"}())
let l=function(e){return e.sort().join("+")}(a||[])
return""===l&&(l="_all"),`${e}:${l}`}a.d(t,{Z:()=>l})},2956:(e,t,a)=>{"use strict"
a.d(t,{Z:()=>o})
var l=a(3353)
let i
function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent
if((0,l.runInDebug)((()=>{i=null})),!i){let t="Unknown OS";-1!=e.indexOf("Win")&&(t="Windows"),-1!=e.indexOf("Mac")&&(t="Macintosh"),-1!=e.indexOf("Linux")&&(t="Linux"),-1!=e.indexOf("Android")&&(t="Android"),-1!=e.indexOf("like Mac")&&(t="iOS"),i=t}return i}},2509:(e,t,a)=>{"use strict"
a.r(t),a.d(t,{default:()=>c,modifier:()=>s})
var l=a(1292),i=a(4927),o=a(9341)
function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class r{constructor(e){this.owner=e,n(this,"capabilities",(0,i.capabilities)("3.22"))}createModifier(e,t){return{instance:new e(this.owner,t),element:null}}installModifier(e,t,a){const l=function(e,t){const a=e
return a.element=t,a}(e,t)
l.instance.modify(t,a.positional,a.named)}updateModifier(e,t){e.instance.modify(e.element,t.positional,t.named)}destroyModifier(e){let{instance:t}=e;(0,o.destroy)(t)}}class c{constructor(e,t){(0,l.setOwner)(this,e)}modify(e,t,a){}}(0,i.setModifierManager)((e=>new r(e)),c)
const h=new class{constructor(){n(this,"capabilities",(0,i.capabilities)("3.22"))}createModifier(e){return{element:null,instance:e}}installModifier(e,t,a){const l=function(e,t){const a=e
return a.element=t,a}(e,t),{positional:i,named:o}=a,n=e.instance(t,i,o)
"function"==typeof n&&(l.teardown=n)}updateModifier(e,t){"function"==typeof e.teardown&&e.teardown()
const a=e.instance(e.element,t.positional,t.named)
"function"==typeof a&&(e.teardown=a)}destroyModifier(e){"function"==typeof e.teardown&&e.teardown()}}
function s(e){return(0,i.setModifierManager)((()=>h),e)}},3276:e=>{function t(e,t,a,l){var i,o=null==(i=l)||"number"==typeof i||"boolean"==typeof i?l:a(l),n=t.get(o)
return void 0===n&&(n=e.call(this,l),t.set(o,n)),n}function a(e,t,a){var l=Array.prototype.slice.call(arguments,3),i=a(l),o=t.get(i)
return void 0===o&&(o=e.apply(this,l),t.set(i,o)),o}function l(e,t,a,l,i){return a.bind(t,e,l,i)}function i(e,i){return l(e,this,1===e.length?t:a,i.cache.create(),i.serializer)}function o(){return JSON.stringify(arguments)}function n(){this.cache=Object.create(null)}n.prototype.has=function(e){return e in this.cache},n.prototype.get=function(e){return this.cache[e]},n.prototype.set=function(e,t){this.cache[e]=t}
var r={create:function(){return new n}}
e.exports=function(e,t){var a=t&&t.cache?t.cache:r,l=t&&t.serializer?t.serializer:o
return(t&&t.strategy?t.strategy:i)(e,{cache:a,serializer:l})},e.exports.strategies={variadic:function(e,t){return l(e,this,a,t.cache.create(),t.serializer)},monadic:function(e,a){return l(e,this,t,a.cache.create(),a.serializer)}}},2349:e=>{function t(e){return e&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function a(e){return e}function l(e,l){const i=(l=l||{}).delimiter||".",o=l.maxDepth,n=l.transformKey||a,r={}
return function e(a,c,h){h=h||1,Object.keys(a).forEach((function(s){const d=a[s],u=l.safe&&Array.isArray(d),f=Object.prototype.toString.call(d),v=t(d),p="[object Object]"===f||"[object Array]"===f,m=c?c+i+n(s):n(s)
if(!u&&!v&&p&&Object.keys(d).length&&(!l.maxDepth||h0&&(l=s(a.shift()),d=s(a[0]))}u[l]=e(i[t],o)})),h}},5011:(e,t,a)=>{"use strict"
a.r(t),a.d(t,{SKELETON_TYPE:()=>i,SyntaxError:()=>L,TYPE:()=>l,createLiteralElement:()=>y,createNumberElement:()=>g,isArgumentElement:()=>r,isDateElement:()=>h,isDateTimeSkeleton:()=>m,isLiteralElement:()=>n,isNumberElement:()=>c,isNumberSkeleton:()=>p,isPluralElement:()=>u,isPoundElement:()=>f,isSelectElement:()=>d,isTagElement:()=>v,isTimeElement:()=>s,parse:()=>D,pegParse:()=>C})
var l,i,o=a(2985)
function n(e){return e.type===l.literal}function r(e){return e.type===l.argument}function c(e){return e.type===l.number}function h(e){return e.type===l.date}function s(e){return e.type===l.time}function d(e){return e.type===l.select}function u(e){return e.type===l.plural}function f(e){return e.type===l.pound}function v(e){return e.type===l.tag}function p(e){return!(!e||"object"!=typeof e||e.type!==i.number)}function m(e){return!(!e||"object"!=typeof e||e.type!==i.dateTime)}function y(e){return{type:l.literal,value:e}}function g(e,t){return{type:l.number,value:e,style:t}}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(l||(l={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(i||(i={}))
var b=/(?:[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,z=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,M=/^(@+)?(\+|#+)?$/g,A=/(\*)(0+)|(#+)(0+)|(0+)/g,w=/^(0+)$/
function x(e){var t={}
return e.replace(M,(function(e,a,l){return"string"!=typeof l?(t.minimumSignificantDigits=a.length,t.maximumSignificantDigits=a.length):"+"===l?t.minimumSignificantDigits=a.length:"#"===a[0]?t.maximumSignificantDigits=a.length:(t.minimumSignificantDigits=a.length,t.maximumSignificantDigits=a.length+("string"==typeof l?l.length:0)),""})),t}function H(e){switch(e){case"sign-auto":return{signDisplay:"auto"}
case"sign-accounting":case"()":return{currencySign:"accounting"}
case"sign-always":case"+!":return{signDisplay:"always"}
case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"}
case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"}
case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"}
case"sign-never":case"+_":return{signDisplay:"never"}}}function V(e){var t
if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var a=e.slice(0,2)
if("+!"===a?(t.signDisplay="always",e=e.slice(2)):"+?"===a&&(t.signDisplay="exceptZero",e=e.slice(2)),!w.test(e))throw new Error("Malformed concise eng/scientific notation")
t.minimumIntegerDigits=e.length}return t}function _(e){return H(e)||{}}function B(e){for(var t={},a=0,l=e;a1)throw new RangeError("integer-width stems only accept a single optional option")
i.options[0].replace(A,(function(e,a,l,i,o,n){if(a)t.minimumIntegerDigits=l.length
else{if(i&&o)throw new Error("We currently do not support maximum integer digits")
if(n)throw new Error("We currently do not support exact integer digits")}return""}))
continue}if(w.test(i.stem))t.minimumIntegerDigits=i.stem.length
else if(z.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option")
i.stem.replace(z,(function(e,a,l,i,o,n){return"*"===l?t.minimumFractionDigits=a.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&n?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+n.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),""})),i.options.length&&(t=(0,o.pi)((0,o.pi)({},t),x(i.options[0])))}else if(M.test(i.stem))t=(0,o.pi)((0,o.pi)({},t),x(i.stem))
else{var n=H(i.stem)
n&&(t=(0,o.pi)((0,o.pi)({},t),n))
var r=V(i.stem)
r&&(t=(0,o.pi)((0,o.pi)({},t),r))}}return t}var L=function(e){function t(a,l,i,o){var n=e.call(this)||this
return n.message=a,n.expected=l,n.found=i,n.location=o,n.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(n,t),n}return(0,o.ZT)(t,e),t.buildMessage=function(e,t){function a(e){return e.charCodeAt(0).toString(16).toUpperCase()}function l(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+a(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+a(e)}))}function i(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+a(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+a(e)}))}function o(e){switch(e.type){case"literal":return'"'+l(e.text)+'"'
case"class":var t=e.parts.map((function(e){return Array.isArray(e)?i(e[0])+"-"+i(e[1]):i(e)}))
return"["+(e.inverted?"^":"")+t+"]"
case"any":return"any character"
case"end":return"end of input"
case"other":return e.description}}return"Expected "+function(e){var t,a,l=e.map(o)
if(l.sort(),l.length>0){for(t=1,a=1;t",x=xt("/>",!1),H=function(e){return(0,o.pi)({type:l.literal,value:e.join("")},ia())},V=">",_=xt(">",!1),C=function(e){return e},E="",k=xt("",!1),D=Vt("argumentElement"),S="{",F=xt("{",!1),O="}",T=xt("}",!1),P=function(e){return(0,o.pi)({type:l.argument,value:e},ia())},N=Vt("numberSkeletonId"),U=/^['\/{}]/,R=Ht(["'","/","{","}"],!1,!1),j={type:"any"},I=Vt("numberSkeletonTokenOption"),G="/",$=xt("/",!1),q=function(e){return e},Z=Vt("numberSkeletonToken"),Y=function(e,t){return{stem:e,options:t}},K=function(e){return(0,o.pi)({type:i.number,tokens:e,parsedOptions:ha?B(e):{}},ia())},W="::",X=xt("::",!1),J=function(e){return e},Q=function(){return aa.push("numberArgStyle"),!0},ee=function(e){return aa.pop(),e.replace(/\s*$/,"")},te=",",ae=xt(",",!1),le="number",ie=xt("number",!1),oe=function(e,t,a){return(0,o.pi)({type:"number"===t?l.number:"date"===t?l.date:l.time,style:a&&a[2],value:e},ia())},ne="'",re=xt("'",!1),ce=/^[^']/,he=Ht(["'"],!0,!1),se=/^[^a-zA-Z'{}]/,de=Ht([["a","z"],["A","Z"],"'","{","}"],!0,!1),ue=/^[a-zA-Z]/,fe=Ht([["a","z"],["A","Z"]],!1,!1),ve=function(e){return(0,o.pi)({type:i.dateTime,pattern:e,parsedOptions:ha?(t=e,a={},t.replace(b,(function(e){var t=e.length
switch(e[0]){case"G":a.era=4===t?"long":5===t?"narrow":"short"
break
case"y":a.year=2===t?"2-digit":"numeric"
break
case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead")
case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported")
case"M":case"L":a.month=["numeric","2-digit","short","long","narrow"][t-1]
break
case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported")
case"d":a.day=["numeric","2-digit"][t-1]
break
case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead")
case"E":a.weekday=4===t?"short":5===t?"narrow":"short"
break
case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported")
a.weekday=["short","long","narrow","short"][t-4]
break
case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported")
a.weekday=["short","long","narrow","short"][t-4]
break
case"a":a.hour12=!0
break
case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead")
case"h":a.hourCycle="h12",a.hour=["numeric","2-digit"][t-1]
break
case"H":a.hourCycle="h23",a.hour=["numeric","2-digit"][t-1]
break
case"K":a.hourCycle="h11",a.hour=["numeric","2-digit"][t-1]
break
case"k":a.hourCycle="h24",a.hour=["numeric","2-digit"][t-1]
break
case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead")
case"m":a.minute=["numeric","2-digit"][t-1]
break
case"s":a.second=["numeric","2-digit"][t-1]
break
case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead")
case"z":a.timeZoneName=t<4?"short":"long"
break
case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),a):{}},ia())
var t,a},pe=function(){return aa.push("dateOrTimeArgStyle"),!0},me="date",ye=xt("date",!1),ge="time",be=xt("time",!1),ze="plural",Me=xt("plural",!1),Ae="selectordinal",we=xt("selectordinal",!1),xe="offset:",He=xt("offset:",!1),Ve=function(e,t,a,i){return(0,o.pi)({type:l.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:a?a[2]:0,options:i.reduce((function(e,t){var a=t.id,l=t.value,i=t.location
return a in e&&wt('Duplicate option "'+a+'" in plural element: "'+Mt()+'"',At()),e[a]={value:l,location:i},e}),{})},ia())},_e="select",Be=xt("select",!1),Le=function(e,t){return(0,o.pi)({type:l.select,value:e,options:t.reduce((function(e,t){var a=t.id,l=t.value,i=t.location
return a in e&&wt('Duplicate option "'+a+'" in select element: "'+Mt()+'"',At()),e[a]={value:l,location:i},e}),{})},ia())},Ce="=",Ee=xt("=",!1),ke=function(e){return aa.push("select"),!0},De=function(e,t){return aa.pop(),(0,o.pi)({id:e,value:t},ia())},Se=function(e){return aa.push("plural"),!0},Fe=function(e,t){return aa.pop(),(0,o.pi)({id:e,value:t},ia())},Oe=Vt("whitespace"),Te=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Pe=Ht([["\t","\r"]," ","
"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),Ne=Vt("syntax pattern"),Ue=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,Re=Ht([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←",""],["─","❵"],["➔","⯿"],["⸀",""],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),je=Vt("optional whitespace"),Ie=Vt("number"),Ge="-",$e=xt("-",!1),qe=function(e,t){return t?e?-t:t:0},Ze=(Vt("apostrophe"),Vt("double apostrophes")),Ye="''",Ke=xt("''",!1),We=function(){return"'"},Xe=function(e,t){return e+t.replace("''","'")},Je=function(e){return!("<"===e||"{"===e||la()&&"#"===e||aa.length>1&&"}"===e)},Qe="\n",et=xt("\n",!1),tt=function(e){return"<"===e||">"===e||"{"===e||"}"===e||la()&&"#"===e},at=Vt("argNameOrNumber"),lt=Vt("validTag"),it=Vt("argNumber"),ot="0",nt=xt("0",!1),rt=function(){return 0},ct=/^[1-9]/,ht=Ht([["1","9"]],!1,!1),st=/^[0-9]/,dt=Ht([["0","9"]],!1,!1),ut=function(e){return parseInt(e.join(""),10)},ft=Vt("argName"),vt=Vt("tagName"),pt=0,mt=0,yt=[{line:1,column:1}],gt=0,bt=[],zt=0
if(void 0!==t.startRule){if(!(t.startRule in r))throw new Error("Can't start parsing from rule \""+t.startRule+'".')
c=r[t.startRule]}function Mt(){return e.substring(mt,pt)}function At(){return Bt(mt,pt)}function wt(e,t){throw function(e,t){return new L(e,[],"",t)}(e,t=void 0!==t?t:Bt(mt,pt))}function xt(e,t){return{type:"literal",text:e,ignoreCase:t}}function Ht(e,t,a){return{type:"class",parts:e,inverted:t,ignoreCase:a}}function Vt(e){return{type:"other",description:e}}function _t(t){var a,l=yt[t]
if(l)return l
for(a=t-1;!yt[a];)a--
for(l={line:(l=yt[a]).line,column:l.column};agt&&(gt=pt,bt=[]),bt.push(e))}function Ct(){return Et()}function Et(){var e,t
for(e=[],t=kt();t!==n;)e.push(t),t=kt()
return e}function kt(){var t,a
return t=pt,mt=pt,(h()?void 0:n)!==n?(a=function(){var e,t,a,l
return zt++,(e=Ft())===n&&(e=pt,(t=Ot())!==n&&(a=Et())!==n&&(l=Tt())!==n?(mt=e,e=t=A(t,a,l)):(pt=e,e=n)),zt--,e===n&&(t=n,0===zt&&Lt(M)),e}(),a!==n?(mt=t,t=s(a)):(pt=t,t=n)):(pt=t,t=n),t===n&&(t=function(){var e,t
return e=pt,(t=Dt())!==n&&(mt=e,t=m(t)),t}())===n&&(t=function(){var t,a,l,i
return zt++,t=pt,123===e.charCodeAt(pt)?(a=S,pt++):(a=n,0===zt&&Lt(F)),a!==n&&Zt()!==n&&(l=Jt())!==n&&Zt()!==n?(125===e.charCodeAt(pt)?(i=O,pt++):(i=n,0===zt&&Lt(T)),i!==n?(mt=t,t=a=P(l)):(pt=t,t=n)):(pt=t,t=n),zt--,t===n&&(a=n,0===zt&&Lt(D)),t}())===n&&(t=function(){var t
return t=function(){var t,a,l,i,o,r,c,h,s
return t=pt,123===e.charCodeAt(pt)?(a=S,pt++):(a=n,0===zt&&Lt(F)),a!==n&&Zt()!==n&&(l=Jt())!==n&&Zt()!==n?(44===e.charCodeAt(pt)?(i=te,pt++):(i=n,0===zt&&Lt(ae)),i!==n&&Zt()!==n?(e.substr(pt,6)===le?(o=le,pt+=6):(o=n,0===zt&&Lt(ie)),o!==n&&Zt()!==n?(r=pt,44===e.charCodeAt(pt)?(c=te,pt++):(c=n,0===zt&&Lt(ae)),c!==n&&(h=Zt())!==n?(s=function(){var t,a,l
return t=pt,e.substr(pt,2)===W?(a=W,pt+=2):(a=n,0===zt&&Lt(X)),a!==n?(l=function(){var e,t,a
if(e=pt,t=[],(a=Ut())!==n)for(;a!==n;)t.push(a),a=Ut()
else t=n
return t!==n&&(mt=e,t=K(t)),t}(),l!==n?(mt=t,t=a=J(l)):(pt=t,t=n)):(pt=t,t=n),t===n&&(t=pt,mt=pt,(a=(a=Q())?void 0:n)!==n&&(l=Dt())!==n?(mt=t,t=a=ee(l)):(pt=t,t=n)),t}(),s!==n?r=c=[c,h,s]:(pt=r,r=n)):(pt=r,r=n),r===n&&(r=null),r!==n&&(c=Zt())!==n?(125===e.charCodeAt(pt)?(h=O,pt++):(h=n,0===zt&&Lt(T)),h!==n?(mt=t,t=a=oe(l,o,r)):(pt=t,t=n)):(pt=t,t=n)):(pt=t,t=n)):(pt=t,t=n)):(pt=t,t=n),t}(),t===n&&(t=function(){var t,a,l,i,o,r,c,h,s
return t=pt,123===e.charCodeAt(pt)?(a=S,pt++):(a=n,0===zt&&Lt(F)),a!==n&&Zt()!==n&&(l=Jt())!==n&&Zt()!==n?(44===e.charCodeAt(pt)?(i=te,pt++):(i=n,0===zt&&Lt(ae)),i!==n&&Zt()!==n?(e.substr(pt,4)===me?(o=me,pt+=4):(o=n,0===zt&&Lt(ye)),o===n&&(e.substr(pt,4)===ge?(o=ge,pt+=4):(o=n,0===zt&&Lt(be))),o!==n&&Zt()!==n?(r=pt,44===e.charCodeAt(pt)?(c=te,pt++):(c=n,0===zt&&Lt(ae)),c!==n&&(h=Zt())!==n?(s=function(){var t,a,l
return t=pt,e.substr(pt,2)===W?(a=W,pt+=2):(a=n,0===zt&&Lt(X)),a!==n?(l=function(){var t,a,l,i
if(t=pt,a=pt,l=[],(i=Rt())===n&&(i=jt()),i!==n)for(;i!==n;)l.push(i),(i=Rt())===n&&(i=jt())
else l=n
return(a=l!==n?e.substring(a,pt):l)!==n&&(mt=t,a=ve(a)),a}(),l!==n?(mt=t,t=a=J(l)):(pt=t,t=n)):(pt=t,t=n),t===n&&(t=pt,mt=pt,(a=(a=pe())?void 0:n)!==n&&(l=Dt())!==n?(mt=t,t=a=ee(l)):(pt=t,t=n)),t}(),s!==n?r=c=[c,h,s]:(pt=r,r=n)):(pt=r,r=n),r===n&&(r=null),r!==n&&(c=Zt())!==n?(125===e.charCodeAt(pt)?(h=O,pt++):(h=n,0===zt&&Lt(T)),h!==n?(mt=t,t=a=oe(l,o,r)):(pt=t,t=n)):(pt=t,t=n)):(pt=t,t=n)):(pt=t,t=n)):(pt=t,t=n),t}()),t}(),t===n&&(t=function(){var t,a,l,i,o,r,c,h,s,d,u
if(t=pt,123===e.charCodeAt(pt)?(a=S,pt++):(a=n,0===zt&&Lt(F)),a!==n)if(Zt()!==n)if((l=Jt())!==n)if(Zt()!==n)if(44===e.charCodeAt(pt)?(i=te,pt++):(i=n,0===zt&&Lt(ae)),i!==n)if(Zt()!==n)if(e.substr(pt,6)===ze?(o=ze,pt+=6):(o=n,0===zt&&Lt(Me)),o===n&&(e.substr(pt,13)===Ae?(o=Ae,pt+=13):(o=n,0===zt&&Lt(we))),o!==n)if(Zt()!==n)if(44===e.charCodeAt(pt)?(r=te,pt++):(r=n,0===zt&&Lt(ae)),r!==n)if(Zt()!==n)if(c=pt,e.substr(pt,7)===xe?(h=xe,pt+=7):(h=n,0===zt&&Lt(He)),h!==n&&(s=Zt())!==n&&(d=Yt())!==n?c=h=[h,s,d]:(pt=c,c=n),c===n&&(c=null),c!==n)if((h=Zt())!==n){if(s=[],(d=Gt())!==n)for(;d!==n;)s.push(d),d=Gt()
else s=n
s!==n&&(d=Zt())!==n?(125===e.charCodeAt(pt)?(u=O,pt++):(u=n,0===zt&&Lt(T)),u!==n?(mt=t,t=a=Ve(l,o,c,s)):(pt=t,t=n)):(pt=t,t=n)}else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
return t}())===n&&(t=function(){var t,a,l,i,o,r,c,h,s
if(t=pt,123===e.charCodeAt(pt)?(a=S,pt++):(a=n,0===zt&&Lt(F)),a!==n)if(Zt()!==n)if((l=Jt())!==n)if(Zt()!==n)if(44===e.charCodeAt(pt)?(i=te,pt++):(i=n,0===zt&&Lt(ae)),i!==n)if(Zt()!==n)if(e.substr(pt,6)===_e?(o=_e,pt+=6):(o=n,0===zt&&Lt(Be)),o!==n)if(Zt()!==n)if(44===e.charCodeAt(pt)?(r=te,pt++):(r=n,0===zt&&Lt(ae)),r!==n)if(Zt()!==n){if(c=[],(h=It())!==n)for(;h!==n;)c.push(h),h=It()
else c=n
c!==n&&(h=Zt())!==n?(125===e.charCodeAt(pt)?(s=O,pt++):(s=n,0===zt&&Lt(T)),s!==n?(mt=t,t=a=Le(l,c)):(pt=t,t=n)):(pt=t,t=n)}else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
else pt=t,t=n
return t}())===n&&(t=function(){var t,a
return t=pt,35===e.charCodeAt(pt)?(a=y,pt++):(a=n,0===zt&&Lt(g)),a!==n&&(mt=t,a=z()),a}())),t}function Dt(){var t,a,l,i
if(t=pt,mt=pt,(a=(a=d())?void 0:n)!==n){if(l=[],(i=Kt())===n&&(i=Wt())===n&&(i=Xt())===n&&(60===e.charCodeAt(pt)?(i=u,pt++):(i=n,0===zt&&Lt(f))),i!==n)for(;i!==n;)l.push(i),(i=Kt())===n&&(i=Wt())===n&&(i=Xt())===n&&(60===e.charCodeAt(pt)?(i=u,pt++):(i=n,0===zt&&Lt(f)))
else l=n
l!==n?(mt=t,t=a=v(l)):(pt=t,t=n)}else pt=t,t=n
if(t===n){if(t=pt,a=[],(l=Kt())===n&&(l=Wt())===n&&(l=Xt())===n&&(l=St()),l!==n)for(;l!==n;)a.push(l),(l=Kt())===n&&(l=Wt())===n&&(l=Xt())===n&&(l=St())
else a=n
a!==n&&(mt=t,a=v(a)),t=a}return t}function St(){var t,a,l
return t=pt,a=pt,zt++,(l=Ot())===n&&(l=Tt())===n&&(l=Ft()),zt--,l===n?a=void 0:(pt=a,a=n),a!==n?(60===e.charCodeAt(pt)?(l=u,pt++):(l=n,0===zt&&Lt(f)),l!==n?(mt=t,t=a=p()):(pt=t,t=n)):(pt=t,t=n),t}function Ft(){var t,a,l,i,o,r
return t=pt,a=pt,60===e.charCodeAt(pt)?(l=u,pt++):(l=n,0===zt&&Lt(f)),l!==n&&(i=Qt())!==n&&(o=Zt())!==n?(e.substr(pt,2)===w?(r=w,pt+=2):(r=n,0===zt&&Lt(x)),r!==n?a=l=[l,i,o,r]:(pt=a,a=n)):(pt=a,a=n),a!==n&&(mt=t,a=H(a)),a}function Ot(){var t,a,l,i
return t=pt,60===e.charCodeAt(pt)?(a=u,pt++):(a=n,0===zt&&Lt(f)),a!==n&&(l=Qt())!==n?(62===e.charCodeAt(pt)?(i=V,pt++):(i=n,0===zt&&Lt(_)),i!==n?(mt=t,t=a=C(l)):(pt=t,t=n)):(pt=t,t=n),t}function Tt(){var t,a,l,i
return t=pt,e.substr(pt,2)===E?(a=E,pt+=2):(a=n,0===zt&&Lt(k)),a!==n&&(l=Qt())!==n?(62===e.charCodeAt(pt)?(i=V,pt++):(i=n,0===zt&&Lt(_)),i!==n?(mt=t,t=a=C(l)):(pt=t,t=n)):(pt=t,t=n),t}function Pt(){var t,a,l,i,o
if(zt++,t=pt,a=[],l=pt,i=pt,zt++,(o=$t())===n&&(U.test(e.charAt(pt))?(o=e.charAt(pt),pt++):(o=n,0===zt&&Lt(R))),zt--,o===n?i=void 0:(pt=i,i=n),i!==n?(e.length>pt?(o=e.charAt(pt),pt++):(o=n,0===zt&&Lt(j)),o!==n?l=i=[i,o]:(pt=l,l=n)):(pt=l,l=n),l!==n)for(;l!==n;)a.push(l),l=pt,i=pt,zt++,(o=$t())===n&&(U.test(e.charAt(pt))?(o=e.charAt(pt),pt++):(o=n,0===zt&&Lt(R))),zt--,o===n?i=void 0:(pt=i,i=n),i!==n?(e.length>pt?(o=e.charAt(pt),pt++):(o=n,0===zt&&Lt(j)),o!==n?l=i=[i,o]:(pt=l,l=n)):(pt=l,l=n)
else a=n
return t=a!==n?e.substring(t,pt):a,zt--,t===n&&(a=n,0===zt&&Lt(N)),t}function Nt(){var t,a,l
return zt++,t=pt,47===e.charCodeAt(pt)?(a=G,pt++):(a=n,0===zt&&Lt($)),a!==n&&(l=Pt())!==n?(mt=t,t=a=q(l)):(pt=t,t=n),zt--,t===n&&(a=n,0===zt&&Lt(I)),t}function Ut(){var e,t,a,l
if(zt++,e=pt,Zt()!==n)if((t=Pt())!==n){for(a=[],l=Nt();l!==n;)a.push(l),l=Nt()
a!==n?(mt=e,e=Y(t,a)):(pt=e,e=n)}else pt=e,e=n
else pt=e,e=n
return zt--,e===n&&0===zt&&Lt(Z),e}function Rt(){var t,a,l,i
if(t=pt,39===e.charCodeAt(pt)?(a=ne,pt++):(a=n,0===zt&&Lt(re)),a!==n){if(l=[],(i=Kt())===n&&(ce.test(e.charAt(pt))?(i=e.charAt(pt),pt++):(i=n,0===zt&&Lt(he))),i!==n)for(;i!==n;)l.push(i),(i=Kt())===n&&(ce.test(e.charAt(pt))?(i=e.charAt(pt),pt++):(i=n,0===zt&&Lt(he)))
else l=n
l!==n?(39===e.charCodeAt(pt)?(i=ne,pt++):(i=n,0===zt&&Lt(re)),i!==n?t=a=[a,l,i]:(pt=t,t=n)):(pt=t,t=n)}else pt=t,t=n
if(t===n)if(t=[],(a=Kt())===n&&(se.test(e.charAt(pt))?(a=e.charAt(pt),pt++):(a=n,0===zt&&Lt(de))),a!==n)for(;a!==n;)t.push(a),(a=Kt())===n&&(se.test(e.charAt(pt))?(a=e.charAt(pt),pt++):(a=n,0===zt&&Lt(de)))
else t=n
return t}function jt(){var t,a
if(t=[],ue.test(e.charAt(pt))?(a=e.charAt(pt),pt++):(a=n,0===zt&&Lt(fe)),a!==n)for(;a!==n;)t.push(a),ue.test(e.charAt(pt))?(a=e.charAt(pt),pt++):(a=n,0===zt&&Lt(fe))
else t=n
return t}function It(){var t,a,l,i,o
return t=pt,Zt()!==n&&(a=ta())!==n&&Zt()!==n?(123===e.charCodeAt(pt)?(l=S,pt++):(l=n,0===zt&&Lt(F)),l!==n?(mt=pt,(ke(a)?void 0:n)!==n&&(i=Et())!==n?(125===e.charCodeAt(pt)?(o=O,pt++):(o=n,0===zt&&Lt(T)),o!==n?(mt=t,t=De(a,i)):(pt=t,t=n)):(pt=t,t=n)):(pt=t,t=n)):(pt=t,t=n),t}function Gt(){var t,a,l,i,o
return t=pt,Zt()!==n?(a=function(){var t,a,l,i
return t=pt,a=pt,61===e.charCodeAt(pt)?(l=Ce,pt++):(l=n,0===zt&&Lt(Ee)),l!==n&&(i=Yt())!==n?a=l=[l,i]:(pt=a,a=n),(t=a!==n?e.substring(t,pt):a)===n&&(t=ta()),t}(),a!==n&&Zt()!==n?(123===e.charCodeAt(pt)?(l=S,pt++):(l=n,0===zt&&Lt(F)),l!==n?(mt=pt,(Se(a)?void 0:n)!==n&&(i=Et())!==n?(125===e.charCodeAt(pt)?(o=O,pt++):(o=n,0===zt&&Lt(T)),o!==n?(mt=t,t=Fe(a,i)):(pt=t,t=n)):(pt=t,t=n)):(pt=t,t=n)):(pt=t,t=n)):(pt=t,t=n),t}function $t(){var t
return zt++,Te.test(e.charAt(pt))?(t=e.charAt(pt),pt++):(t=n,0===zt&&Lt(Pe)),zt--,t===n&&0===zt&&Lt(Oe),t}function qt(){var t
return zt++,Ue.test(e.charAt(pt))?(t=e.charAt(pt),pt++):(t=n,0===zt&&Lt(Re)),zt--,t===n&&0===zt&&Lt(Ne),t}function Zt(){var t,a,l
for(zt++,t=pt,a=[],l=$t();l!==n;)a.push(l),l=$t()
return t=a!==n?e.substring(t,pt):a,zt--,t===n&&(a=n,0===zt&&Lt(je)),t}function Yt(){var t,a,l
return zt++,t=pt,45===e.charCodeAt(pt)?(a=Ge,pt++):(a=n,0===zt&&Lt($e)),a===n&&(a=null),a!==n&&(l=ea())!==n?(mt=t,t=a=qe(a,l)):(pt=t,t=n),zt--,t===n&&(a=n,0===zt&&Lt(Ie)),t}function Kt(){var t,a
return zt++,t=pt,e.substr(pt,2)===Ye?(a=Ye,pt+=2):(a=n,0===zt&&Lt(Ke)),a!==n&&(mt=t,a=We()),zt--,(t=a)===n&&(a=n,0===zt&&Lt(Ze)),t}function Wt(){var t,a,l,i,o,r
if(t=pt,39===e.charCodeAt(pt)?(a=ne,pt++):(a=n,0===zt&&Lt(re)),a!==n)if(l=function(){var t,a,l,i
return t=pt,a=pt,e.length>pt?(l=e.charAt(pt),pt++):(l=n,0===zt&&Lt(j)),l!==n?(mt=pt,(i=(i=tt(l))?void 0:n)!==n?a=l=[l,i]:(pt=a,a=n)):(pt=a,a=n),a!==n?e.substring(t,pt):a}(),l!==n){for(i=pt,o=[],e.substr(pt,2)===Ye?(r=Ye,pt+=2):(r=n,0===zt&&Lt(Ke)),r===n&&(ce.test(e.charAt(pt))?(r=e.charAt(pt),pt++):(r=n,0===zt&&Lt(he)));r!==n;)o.push(r),e.substr(pt,2)===Ye?(r=Ye,pt+=2):(r=n,0===zt&&Lt(Ke)),r===n&&(ce.test(e.charAt(pt))?(r=e.charAt(pt),pt++):(r=n,0===zt&&Lt(he)));(i=o!==n?e.substring(i,pt):o)!==n?(39===e.charCodeAt(pt)?(o=ne,pt++):(o=n,0===zt&&Lt(re)),o===n&&(o=null),o!==n?(mt=t,t=a=Xe(l,i)):(pt=t,t=n)):(pt=t,t=n)}else pt=t,t=n
else pt=t,t=n
return t}function Xt(){var t,a,l,i
return t=pt,a=pt,e.length>pt?(l=e.charAt(pt),pt++):(l=n,0===zt&&Lt(j)),l!==n?(mt=pt,(i=(i=Je(l))?void 0:n)!==n?a=l=[l,i]:(pt=a,a=n)):(pt=a,a=n),a===n&&(10===e.charCodeAt(pt)?(a=Qe,pt++):(a=n,0===zt&&Lt(et))),a!==n?e.substring(t,pt):a}function Jt(){var t,a
return zt++,t=pt,(a=ea())===n&&(a=ta()),t=a!==n?e.substring(t,pt):a,zt--,t===n&&(a=n,0===zt&&Lt(at)),t}function Qt(){var t,a
return zt++,t=pt,(a=ea())===n&&(a=function(){var t,a,l,i,o
if(zt++,t=pt,a=[],45===e.charCodeAt(pt)?(l=Ge,pt++):(l=n,0===zt&&Lt($e)),l===n&&(l=pt,i=pt,zt++,(o=$t())===n&&(o=qt()),zt--,o===n?i=void 0:(pt=i,i=n),i!==n?(e.length>pt?(o=e.charAt(pt),pt++):(o=n,0===zt&&Lt(j)),o!==n?l=i=[i,o]:(pt=l,l=n)):(pt=l,l=n)),l!==n)for(;l!==n;)a.push(l),45===e.charCodeAt(pt)?(l=Ge,pt++):(l=n,0===zt&&Lt($e)),l===n&&(l=pt,i=pt,zt++,(o=$t())===n&&(o=qt()),zt--,o===n?i=void 0:(pt=i,i=n),i!==n?(e.length>pt?(o=e.charAt(pt),pt++):(o=n,0===zt&&Lt(j)),o!==n?l=i=[i,o]:(pt=l,l=n)):(pt=l,l=n))
else a=n
return t=a!==n?e.substring(t,pt):a,zt--,t===n&&(a=n,0===zt&&Lt(vt)),t}()),t=a!==n?e.substring(t,pt):a,zt--,t===n&&(a=n,0===zt&&Lt(lt)),t}function ea(){var t,a,l,i,o
if(zt++,t=pt,48===e.charCodeAt(pt)?(a=ot,pt++):(a=n,0===zt&&Lt(nt)),a!==n&&(mt=t,a=rt()),(t=a)===n){if(t=pt,a=pt,ct.test(e.charAt(pt))?(l=e.charAt(pt),pt++):(l=n,0===zt&&Lt(ht)),l!==n){for(i=[],st.test(e.charAt(pt))?(o=e.charAt(pt),pt++):(o=n,0===zt&&Lt(dt));o!==n;)i.push(o),st.test(e.charAt(pt))?(o=e.charAt(pt),pt++):(o=n,0===zt&&Lt(dt))
i!==n?a=l=[l,i]:(pt=a,a=n)}else pt=a,a=n
a!==n&&(mt=t,a=ut(a)),t=a}return zt--,t===n&&(a=n,0===zt&&Lt(it)),t}function ta(){var t,a,l,i,o
if(zt++,t=pt,a=[],l=pt,i=pt,zt++,(o=$t())===n&&(o=qt()),zt--,o===n?i=void 0:(pt=i,i=n),i!==n?(e.length>pt?(o=e.charAt(pt),pt++):(o=n,0===zt&&Lt(j)),o!==n?l=i=[i,o]:(pt=l,l=n)):(pt=l,l=n),l!==n)for(;l!==n;)a.push(l),l=pt,i=pt,zt++,(o=$t())===n&&(o=qt()),zt--,o===n?i=void 0:(pt=i,i=n),i!==n?(e.length>pt?(o=e.charAt(pt),pt++):(o=n,0===zt&&Lt(j)),o!==n?l=i=[i,o]:(pt=l,l=n)):(pt=l,l=n)
else a=n
return t=a!==n?e.substring(t,pt):a,zt--,t===n&&(a=n,0===zt&&Lt(ft)),t}var aa=["root"]
function la(){return"plural"===aa[aa.length-1]}function ia(){return t&&t.captureLocation?{location:At()}:{}}var oa,na,ra,ca=t&&t.ignoreTag,ha=t&&t.shouldParseSkeleton
if((a=c())!==n&&pt===e.length)return a
throw a!==n&&pt{"use strict"
a.r(t),a.d(t,{ErrorCode:()=>fe,FormatError:()=>ye,IntlMessageFormat:()=>xe,InvalidValueError:()=>ge,InvalidValueTypeError:()=>be,MissingValueError:()=>ze,PART_TYPE:()=>me,default:()=>He,formatToParts:()=>Ae,isFormatXMLElementFn:()=>Me})
var l,i,o,n=a(2985)
function r(e){return e.type===i.literal}function c(e){return e.type===i.argument}function h(e){return e.type===i.number}function s(e){return e.type===i.date}function d(e){return e.type===i.time}function u(e){return e.type===i.select}function f(e){return e.type===i.plural}function v(e){return e.type===i.pound}function p(e){return e.type===i.tag}function m(e){return!(!e||"object"!=typeof e||e.type!==o.number)}function y(e){return!(!e||"object"!=typeof e||e.type!==o.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(l||(l={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(i||(i={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(o||(o={}))
var g=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,b=/(?:[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 z(e){var t={}
return e.replace(b,(function(e){var a=e.length
switch(e[0]){case"G":t.era=4===a?"long":5===a?"narrow":"short"
break
case"y":t.year=2===a?"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":t.month=["numeric","2-digit","short","long","narrow"][a-1]
break
case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported")
case"d":t.day=["numeric","2-digit"][a-1]
break
case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead")
case"E":t.weekday=4===a?"short":5===a?"narrow":"short"
break
case"e":if(a<4)throw new RangeError("`e..eee` (weekday) patterns are not supported")
t.weekday=["short","long","narrow","short"][a-4]
break
case"c":if(a<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported")
t.weekday=["short","long","narrow","short"][a-4]
break
case"a":t.hour12=!0
break
case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead")
case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][a-1]
break
case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][a-1]
break
case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][a-1]
break
case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][a-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":t.minute=["numeric","2-digit"][a-1]
break
case"s":t.second=["numeric","2-digit"][a-1]
break
case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead")
case"z":t.timeZoneName=a<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""})),t}var M=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,A=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,w=/^(@+)?(\+|#+)?[rs]?$/g,x=/(\*)(0+)|(#+)(0+)|(0+)/g,H=/^(0+)$/
function V(e){var t={}
return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(w,(function(e,a,l){return"string"!=typeof l?(t.minimumSignificantDigits=a.length,t.maximumSignificantDigits=a.length):"+"===l?t.minimumSignificantDigits=a.length:"#"===a[0]?t.maximumSignificantDigits=a.length:(t.minimumSignificantDigits=a.length,t.maximumSignificantDigits=a.length+("string"==typeof l?l.length:0)),""})),t}function _(e){switch(e){case"sign-auto":return{signDisplay:"auto"}
case"sign-accounting":case"()":return{currencySign:"accounting"}
case"sign-always":case"+!":return{signDisplay:"always"}
case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"}
case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"}
case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"}
case"sign-never":case"+_":return{signDisplay:"never"}}}function B(e){var t
if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var a=e.slice(0,2)
if("+!"===a?(t.signDisplay="always",e=e.slice(2)):"+?"===a&&(t.signDisplay="exceptZero",e=e.slice(2)),!H.test(e))throw new Error("Malformed concise eng/scientific notation")
t.minimumIntegerDigits=e.length}return t}function L(e){return _(e)||{}}function C(e){for(var t={},a=0,l=e;a1)throw new RangeError("integer-width stems only accept a single optional option")
i.options[0].replace(x,(function(e,a,l,i,o,n){if(a)t.minimumIntegerDigits=l.length
else{if(i&&o)throw new Error("We currently do not support maximum integer digits")
if(n)throw new Error("We currently do not support exact integer digits")}return""}))
continue}if(H.test(i.stem))t.minimumIntegerDigits=i.stem.length
else if(A.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option")
i.stem.replace(A,(function(e,a,l,i,o,n){return"*"===l?t.minimumFractionDigits=a.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&n?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+n.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),""}))
var o=i.options[0]
"w"===o?t=(0,n.pi)((0,n.pi)({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=(0,n.pi)((0,n.pi)({},t),V(o)))}else if(w.test(i.stem))t=(0,n.pi)((0,n.pi)({},t),V(i.stem))
else{var r=_(i.stem)
r&&(t=(0,n.pi)((0,n.pi)({},t),r))
var c=B(i.stem)
c&&(t=(0,n.pi)((0,n.pi)({},t),c))}}return t}var E,k={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]}
function D(e){var t=e.hourCycle
if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k"
case"h23":return"H"
case"h12":return"h"
case"h11":return"K"
default:throw new Error("Invalid hourCycle")}var a,l=e.language
return"root"!==l&&(a=e.maximize().region),(k[a||""]||k[l||""]||k["".concat(l,"-001")]||k["001"])[0]}var S=new RegExp("^".concat(g.source,"*")),F=new RegExp("".concat(g.source,"*$"))
function O(e,t){return{start:e,end:t}}var T=!!String.prototype.startsWith,P=!!String.fromCodePoint,N=!!Object.fromEntries,U=!!String.prototype.codePointAt,R=!!String.prototype.trimStart,j=!!String.prototype.trimEnd,I=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},G=!0
try{G="a"===(null===(E=J("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===E?void 0:E[0])}catch(e){G=!1}var $,q=T?function(e,t,a){return e.startsWith(t,a)}:function(e,t,a){return e.slice(a,a+t.length)===t},Z=P?String.fromCodePoint:function(){for(var e=[],t=0;to;){if((a=e[o++])>1114111)throw RangeError(a+" is not a valid code point")
l+=a<65536?String.fromCharCode(a):String.fromCharCode(55296+((a-=65536)>>10),a%1024+56320)}return l},Y=N?Object.fromEntries:function(e){for(var t={},a=0,l=e;a=a)){var l,i=e.charCodeAt(t)
return i<55296||i>56319||t+1===a||(l=e.charCodeAt(t+1))<56320||l>57343?i:l-56320+(i-55296<<10)+65536}},W=R?function(e){return e.trimStart()}:function(e){return e.replace(S,"")},X=j?function(e){return e.trimEnd()}:function(e){return e.replace(F,"")}
function J(e,t){return new RegExp(e,t)}if(G){var Q=J("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu")
$=function(e,t){var a
return Q.lastIndex=t,null!==(a=Q.exec(e)[1])&&void 0!==a?a:""}}else $=function(e,t){for(var a=[];;){var l=K(e,t)
if(void 0===l||ae(l)||le(l))break
a.push(l),t+=l>=65536?2:1}return Z.apply(void 0,a)}
var ee=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once")
return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,a){for(var o=[];!this.isEOF();){var n=this.char()
if(123===n){if((r=this.parseArgument(e,a)).err)return r
o.push(r.val)}else{if(125===n&&e>0)break
if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(a)break
return this.error(l.UNMATCHED_CLOSING_TAG,O(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&te(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r
o.push(r.val)}else{var r
if((r=this.parseLiteral(e,t)).err)return r
o.push(r.val)}}else{var c=this.clonePosition()
this.bump(),o.push({type:i.pound,location:O(c,this.clonePosition())})}}}return{val:o,err:null}},e.prototype.parseTag=function(e,t){var a=this.clonePosition()
this.bump()
var o=this.parseTagName()
if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:i.literal,value:"<".concat(o,"/>"),location:O(a,this.clonePosition())},err:null}
if(this.bumpIf(">")){var n=this.parseMessage(e+1,t,!0)
if(n.err)return n
var r=n.val,c=this.clonePosition()
if(this.bumpIf("")){if(this.isEOF()||!te(this.char()))return this.error(l.INVALID_TAG,O(c,this.clonePosition()))
var h=this.clonePosition()
return o!==this.parseTagName()?this.error(l.UNMATCHED_CLOSING_TAG,O(h,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:i.tag,value:o,children:r,location:O(a,this.clonePosition())},err:null}:this.error(l.INVALID_TAG,O(c,this.clonePosition())))}return this.error(l.UNCLOSED_TAG,O(a,this.clonePosition()))}return this.error(l.INVALID_TAG,O(a,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset()
for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump()
return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var a=this.clonePosition(),l="";;){var o=this.tryParseQuote(t)
if(o)l+=o
else{var n=this.tryParseUnquoted(e,t)
if(n)l+=n
else{var r=this.tryParseLeftAngleBracket()
if(!r)break
l+=r}}}var c=O(a,this.clonePosition())
return{val:{type:i.literal,value:l,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(te(e=this.peek()||0)||47===e)?null:(this.bump(),"<")
var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null
switch(this.peek()){case 39:return this.bump(),this.bump(),"'"
case 123:case 60:case 62:case 125:break
case 35:if("plural"===e||"selectordinal"===e)break
return null
default:return null}this.bump()
var t=[this.char()]
for(this.bump();!this.isEOF();){var a=this.char()
if(39===a){if(39!==this.peek()){this.bump()
break}t.push(39),this.bump()}else t.push(a)
this.bump()}return Z.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null
var a=this.char()
return 60===a||123===a||35===a&&("plural"===t||"selectordinal"===t)||125===a&&e>0?null:(this.bump(),Z(a))},e.prototype.parseArgument=function(e,t){var a=this.clonePosition()
if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,O(a,this.clonePosition()))
if(125===this.char())return this.bump(),this.error(l.EMPTY_ARGUMENT,O(a,this.clonePosition()))
var o=this.parseIdentifierIfPossible().value
if(!o)return this.error(l.MALFORMED_ARGUMENT,O(a,this.clonePosition()))
if(this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,O(a,this.clonePosition()))
switch(this.char()){case 125:return this.bump(),{val:{type:i.argument,value:o,location:O(a,this.clonePosition())},err:null}
case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,O(a,this.clonePosition())):this.parseArgumentOptions(e,t,o,a)
default:return this.error(l.MALFORMED_ARGUMENT,O(a,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),a=$(this.message,t),l=t+a.length
return this.bumpTo(l),{value:a,location:O(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,a,r){var c,h=this.clonePosition(),s=this.parseIdentifierIfPossible().value,d=this.clonePosition()
switch(s){case"":return this.error(l.EXPECT_ARGUMENT_TYPE,O(h,d))
case"number":case"date":case"time":this.bumpSpace()
var u=null
if(this.bumpIf(",")){this.bumpSpace()
var f=this.clonePosition()
if((A=this.parseSimpleArgStyleIfPossible()).err)return A
if(0===(y=X(A.val)).length)return this.error(l.EXPECT_ARGUMENT_STYLE,O(this.clonePosition(),this.clonePosition()))
u={style:y,styleLocation:O(f,this.clonePosition())}}if((w=this.tryParseArgumentClose(r)).err)return w
var v=O(r,this.clonePosition())
if(u&&q(null==u?void 0:u.style,"::",0)){var p=W(u.style.slice(2))
if("number"===s)return(A=this.parseNumberSkeletonFromString(p,u.styleLocation)).err?A:{val:{type:i.number,value:a,location:v,style:A.val},err:null}
if(0===p.length)return this.error(l.EXPECT_DATE_TIME_SKELETON,v)
var m=p
this.locale&&(m=function(e,t){for(var a="",l=0;l>1),c=D(t)
for("H"!=c&&"k"!=c||(r=0);r-- >0;)a+="a"
for(;n-- >0;)a=c+a}else a+="J"===i?"H":i}return a}(p,this.locale))
var y={type:o.dateTime,pattern:m,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?z(m):{}}
return{val:{type:"date"===s?i.date:i.time,value:a,location:v,style:y},err:null}}return{val:{type:"number"===s?i.number:"date"===s?i.date:i.time,value:a,location:v,style:null!==(c=null==u?void 0:u.style)&&void 0!==c?c:null},err:null}
case"plural":case"selectordinal":case"select":var g=this.clonePosition()
if(this.bumpSpace(),!this.bumpIf(","))return this.error(l.EXPECT_SELECT_ARGUMENT_OPTIONS,O(g,(0,n.pi)({},g)))
this.bumpSpace()
var b=this.parseIdentifierIfPossible(),M=0
if("select"!==s&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(l.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O(this.clonePosition(),this.clonePosition()))
var A
if(this.bumpSpace(),(A=this.tryParseDecimalInteger(l.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,l.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return A
this.bumpSpace(),b=this.parseIdentifierIfPossible(),M=A.val}var w,x=this.tryParsePluralOrSelectOptions(e,s,t,b)
if(x.err)return x
if((w=this.tryParseArgumentClose(r)).err)return w
var H=O(r,this.clonePosition())
return"select"===s?{val:{type:i.select,value:a,options:Y(x.val),location:H},err:null}:{val:{type:i.plural,value:a,options:Y(x.val),offset:M,pluralType:"plural"===s?"cardinal":"ordinal",location:H},err:null}
default:return this.error(l.INVALID_ARGUMENT_TYPE,O(h,d))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,O(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump()
var a=this.clonePosition()
if(!this.bumpUntil("'"))return this.error(l.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,O(a,this.clonePosition()))
this.bump()
break
case 123:e+=1,this.bump()
break
case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null}
e-=1
break
default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var a=[]
try{a=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty")
for(var t=[],a=0,l=e.split(M).filter((function(e){return e.length>0}));a=48&&n<=57))break
i=!0,o=10*o+(n-48),this.bump()}var r=O(l,this.clonePosition())
return i?I(o*=a)?{val:o,err:null}:this.error(t,r):this.error(e,r)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset
if(e>=this.message.length)throw Error("out of bound")
var t=K(this.message,e)
if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"))
return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char()
10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(q(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(a),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()))
for(e=Math.min(e,this.message.length);;){var t=this.offset()
if(t===e)break
if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"))
if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ae(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null
var e=this.char(),t=this.offset(),a=this.message.charCodeAt(t+(e>=65536?2:1))
return null!=a?a:null},e}()
function te(e){return e>=97&&e<=122||e>=65&&e<=90}function ae(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function le(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ie(e){e.forEach((function(e){if(delete e.location,u(e)||f(e))for(var t in e.options)delete e.options[t].location,ie(e.options[t].value)
else h(e)&&m(e.style)||(s(e)||d(e))&&y(e.style)?delete e.style.location:p(e)&&ie(e.children)}))}function oe(e,t){void 0===t&&(t={}),t=(0,n.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t)
var a=new ee(e,t).parse()
if(a.err){var i=SyntaxError(l[a.err.kind])
throw i.location=a.err.location,i.originalMessage=a.err.message,i}return(null==t?void 0:t.captureLocation)||ie(a.val),a.val}function ne(e,t){var a=t&&t.cache?t.cache:ve,l=t&&t.serializer?t.serializer:de
return(t&&t.strategy?t.strategy:se)(e,{cache:a,serializer:l})}function re(e,t,a,l){var i,o=null==(i=l)||"number"==typeof i||"boolean"==typeof i?l:a(l),n=t.get(o)
return void 0===n&&(n=e.call(this,l),t.set(o,n)),n}function ce(e,t,a){var l=Array.prototype.slice.call(arguments,3),i=a(l),o=t.get(i)
return void 0===o&&(o=e.apply(this,l),t.set(i,o)),o}function he(e,t,a,l,i){return a.bind(t,e,l,i)}function se(e,t){return he(e,this,1===e.length?re:ce,t.cache.create(),t.serializer)}var de=function(){return JSON.stringify(arguments)}
function ue(){this.cache=Object.create(null)}ue.prototype.get=function(e){return this.cache[e]},ue.prototype.set=function(e,t){this.cache[e]=t}
var fe,ve={create:function(){return new ue}},pe={variadic:function(e,t){return he(e,this,ce,t.cache.create(),t.serializer)},monadic:function(e,t){return he(e,this,re,t.cache.create(),t.serializer)}}
!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(fe||(fe={}))
var me,ye=function(e){function t(t,a,l){var i=e.call(this,t)||this
return i.code=a,i.originalMessage=l,i}return(0,n.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ge=function(e){function t(t,a,l,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(a,'". Options are "').concat(Object.keys(l).join('", "'),'"'),fe.INVALID_VALUE,i)||this}return(0,n.ZT)(t,e),t}(ye),be=function(e){function t(t,a,l){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(a),fe.INVALID_VALUE,l)||this}return(0,n.ZT)(t,e),t}(ye),ze=function(e){function t(t,a){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(a,'"'),fe.MISSING_VALUE,a)||this}return(0,n.ZT)(t,e),t}(ye)
function Me(e){return"function"==typeof e}function Ae(e,t,a,l,i,o,n){if(1===e.length&&r(e[0]))return[{type:me.literal,value:e[0].value}]
for(var g=[],b=0,z=e;b0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=oe,e.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"}}},e}()
const He=xe},5709:(e,t,a)=>{var l=a(9958),i=a(2451)
function o(e){this.Container=e||Array,this.items=new Map,this.clear(),Object.defineProperty(this.items,"constructor",{value:o,enumerable:!1})}o.prototype.clear=function(){this.size=0,this.dimension=0,this.items.clear()},o.prototype.set=function(e,t){var a,l=this.items.get(e)
return l||(this.dimension++,l=new this.Container,this.items.set(e,l)),this.Container===Set?(a=l.size,l.add(t),a1?t:this,this.items.forEach((function(e,t){a=t,e.forEach(l)}))},o.prototype.forEachAssociation=function(e,t){t=arguments.length>1?t:this,this.items.forEach(e,t)},o.prototype.keys=function(){return this.items.keys()},o.prototype.values=function(){var e,t,a,i,o=this.items.values(),n=!1
return this.Container===Set?new l((function a(){if(!n){if((t=o.next()).done)return{done:!0}
n=!0,e=t.value.values()}return(t=e.next()).done?(n=!1,a()):{done:!1,value:t.value}})):new l((function l(){if(!n){if((t=o.next()).done)return{done:!0}
n=!0,e=t.value,a=0,i=e.length}return a>=i?(n=!1,l()):{done:!1,value:e[a++]}}))},o.prototype.entries=function(){var e,t,a,i,o,n=this.items.entries(),r=!1
return this.Container===Set?new l((function l(){if(!r){if((t=n.next()).done)return{done:!0}
r=!0,a=t.value[0],e=t.value[1].values()}return(t=e.next()).done?(r=!1,l()):{done:!1,value:[a,t.value]}})):new l((function l(){if(!r){if((t=n.next()).done)return{done:!0}
r=!0,a=t.value[0],e=t.value[1],i=0,o=e.length}return i>=o?(r=!1,l()):{done:!1,value:[a,e[i++]]}}))},o.prototype.containers=function(){return this.items.values()},o.prototype.associations=function(){return this.items.entries()},"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=o.prototype.entries),o.prototype.inspect=function(){return this.items},"undefined"!=typeof Symbol&&(o.prototype[Symbol.for("nodejs.util.inspect.custom")]=o.prototype.inspect),o.prototype.toJSON=function(){return this.items},o.from=function(e,t){var a=new o(t)
return i(e,(function(e,t){a.set(t,e)})),a},e.exports=o},2519:(e,t)=>{t.intersection=function(){if(arguments.length<2)throw new Error("mnemonist/Set.intersection: needs at least two arguments.")
var e,t,a=new Set,l=1/0,i=null,o=arguments.length
for(t=0;tt.size)return!1
for(;!(a=l.next()).done;)if(!t.has(a.value))return!1
return!0},t.isSuperset=function(e,a){return t.isSubset(a,e)},t.add=function(e,t){for(var a,l=t.values();!(a=l.next()).done;)e.add(a.value)},t.subtract=function(e,t){for(var a,l=t.values();!(a=l.next()).done;)e.delete(a.value)},t.intersect=function(e,t){for(var a,l=e.values();!(a=l.next()).done;)t.has(a.value)||e.delete(a.value)},t.disjunct=function(e,t){for(var a,l=e.values(),i=[];!(a=l.next()).done;)t.has(a.value)&&i.push(a.value)
for(l=t.values();!(a=l.next()).done;)e.has(a.value)||e.add(a.value)
for(var o=0,n=i.length;ot.size&&(a=e,e=t,t=a),0===e.size)return 0
if(e===t)return e.size
for(var l,i=e.values(),o=0;!(l=i.next()).done;)t.has(l.value)&&o++
return o},t.unionSize=function(e,a){var l=t.intersectionSize(e,a)
return e.size+a.size-l},t.jaccard=function(e,a){var l=t.intersectionSize(e,a)
return 0===l?0:l/(e.size+a.size-l)},t.overlap=function(e,a){var l=t.intersectionSize(e,a)
return 0===l?0:l/Math.min(e.size,a.size)}},4977:e=>{function t(e,t){if(!e)throw new Error(t||"AssertionError")}t.notEqual=function(e,a,l){t(e!=a,l)},t.notOk=function(e,a){t(!e,a)},t.equal=function(e,a,l){t(e==a,l)},t.ok=t,e.exports=t},4208:e=>{e.exports=function(e){!function(e){if(!e)throw new Error("Eventify cannot use falsy object as events subject")
for(var t=["on","fire","off"],a=0;a1&&(l=Array.prototype.splice.call(arguments,1))
for(var o=0;o{e.exports=function(e){if("uniqueLinkId"in(e=e||{})&&(console.warn("ngraph.graph: Starting from version 0.14 `uniqueLinkId` is deprecated.\nUse `multigraph` option instead\n","\n","Note: there is also change in default behavior: From now on each graph\nis considered to be not a multigraph by default (each edge is unique)."),e.multigraph=e.uniqueLinkId),void 0===e.multigraph&&(e.multigraph=!1),"function"!=typeof Map)throw new Error("ngraph.graph requires `Map` to be defined. Please polyfill it before using ngraph")
var t,a=new Map,h=[],s={},d=0,u=e.multigraph?function(e,t,a){var l=c(e,t),i=s.hasOwnProperty(l)
if(i||_(e,t)){i||(s[l]=0)
var o="@"+ ++s[l]
l=c(e+o,t+o)}return new r(e,t,a,l)}:function(e,t,a){return new r(e,t,a,c(e,t))},f=[],v=B,p=B,m=B,y=B,g={addNode:M,addLink:function(e,t,a){m()
var l=A(e)||M(e),i=A(t)||M(t),o=u(e,t,a)
return h.push(o),n(l,o),e!==t&&n(i,o),v(o,"add"),y(),o},removeLink:V,removeNode:w,getNode:A,getNodeCount:x,getLinkCount:H,getLinksCount:H,getNodesCount:x,getLinks:function(e){var t=A(e)
return t?t.links:null},forEachNode:E,forEachLinkedNode:function(e,t,l){var i=A(e)
if(i&&i.links&&"function"==typeof t)return l?function(e,t,l){for(var i=0;i=0&&a.links.splice(t,1),l&&(t=i(e,l.links))>=0&&l.links.splice(t,1),v(e,"remove"),y(),!0}function _(e,t){var a,l=A(e)
if(!l||!l.links)return null
for(a=0;a0&&(g.fire("changed",f),f.length=0)}function E(e){if("function"!=typeof e)throw new Error("Function is expected to iterate over graph nodes. You passed "+e)
for(var t=a.values(),l=t.next();!l.done;){if(e(l.value))return!0
l=t.next()}}}
var l=a(4208)
function i(e,t){if(!t)return-1
if(t.indexOf)return t.indexOf(e)
var a,l=t.length
for(a=0;a{var l=a(1317),i=l.ARRAY_BUFFER_SUPPORT,o=l.SYMBOL_SUPPORT
e.exports=function(e,t){var a,l,n,r,c
if(!e)throw new Error("obliterator/forEach: invalid iterable.")
if("function"!=typeof t)throw new Error("obliterator/forEach: expecting a callback.")
if(Array.isArray(e)||i&&ArrayBuffer.isView(e)||"string"==typeof e||"[object Arguments]"===e.toString())for(n=0,r=e.length;n{function t(e){if("function"!=typeof e)throw new Error("obliterator/iterator: expecting a function!")
this.next=e}"undefined"!=typeof Symbol&&(t.prototype[Symbol.iterator]=function(){return this}),t.of=function(){var e=arguments,a=e.length,l=0
return new t((function(){return l>=a?{done:!0}:{done:!1,value:e[l++]}}))},t.empty=function(){return new t((function(){return{done:!0}}))},t.fromSequence=function(e){var a=0,l=e.length
return new t((function(){return a>=l?{done:!0}:{done:!1,value:e[a++]}}))},t.is=function(e){return e instanceof t||"object"==typeof e&&null!==e&&"function"==typeof e.next},e.exports=t},1317:(e,t)=>{t.ARRAY_BUFFER_SUPPORT="undefined"!=typeof ArrayBuffer,t.SYMBOL_SUPPORT="undefined"!=typeof Symbol},89:e=>{"use strict"
var t=/(\x2D?(?:\d+\.?\d*|\d*\.?\d+)(?:e[-+]?\d+)?)\s*([A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{1031F}\u{1032D}-\u{10340}\u{10342}-\u{10349}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{103A0}-\u{103C3}\u{103C8}-\u{103CF}\u{10400}-\u{1049D}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{10570}-\u{1057A}\u{1057C}-\u{1058A}\u{1058C}-\u{10592}\u{10594}\u{10595}\u{10597}-\u{105A1}\u{105A3}-\u{105B1}\u{105B3}-\u{105B9}\u{105BB}\u{105BC}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{10780}-\u{10785}\u{10787}-\u{107B0}\u{107B2}-\u{107BA}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10860}-\u{10876}\u{10880}-\u{1089E}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{10900}-\u{10915}\u{10920}-\u{10939}\u{10980}-\u{109B7}\u{109BE}\u{109BF}\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A60}-\u{10A7C}\u{10A80}-\u{10A9C}\u{10AC0}-\u{10AC7}\u{10AC9}-\u{10AE4}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B60}-\u{10B72}\u{10B80}-\u{10B91}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10D00}-\u{10D23}\u{10E80}-\u{10EA9}\u{10EB0}\u{10EB1}\u{10F00}-\u{10F1C}\u{10F27}\u{10F30}-\u{10F45}\u{10F70}-\u{10F81}\u{10FB0}-\u{10FC4}\u{10FE0}-\u{10FF6}\u{11003}-\u{11037}\u{11071}\u{11072}\u{11075}\u{11083}-\u{110AF}\u{110D0}-\u{110E8}\u{11103}-\u{11126}\u{11144}\u{11147}\u{11150}-\u{11172}\u{11176}\u{11183}-\u{111B2}\u{111C1}-\u{111C4}\u{111DA}\u{111DC}\u{11200}-\u{11211}\u{11213}-\u{1122B}\u{1123F}\u{11240}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A8}\u{112B0}-\u{112DE}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}\u{11350}\u{1135D}-\u{11361}\u{11400}-\u{11434}\u{11447}-\u{1144A}\u{1145F}-\u{11461}\u{11480}-\u{114AF}\u{114C4}\u{114C5}\u{114C7}\u{11580}-\u{115AE}\u{115D8}-\u{115DB}\u{11600}-\u{1162F}\u{11644}\u{11680}-\u{116AA}\u{116B8}\u{11700}-\u{1171A}\u{11740}-\u{11746}\u{11800}-\u{1182B}\u{118A0}-\u{118DF}\u{118FF}-\u{11906}\u{11909}\u{1190C}-\u{11913}\u{11915}\u{11916}\u{11918}-\u{1192F}\u{1193F}\u{11941}\u{119A0}-\u{119A7}\u{119AA}-\u{119D0}\u{119E1}\u{119E3}\u{11A00}\u{11A0B}-\u{11A32}\u{11A3A}\u{11A50}\u{11A5C}-\u{11A89}\u{11A9D}\u{11AB0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2E}\u{11C40}\u{11C72}-\u{11C8F}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D89}\u{11D98}\u{11EE0}-\u{11EF2}\u{11F02}\u{11F04}-\u{11F10}\u{11F12}-\u{11F33}\u{11FB0}\u{12000}-\u{12399}\u{12480}-\u{12543}\u{12F90}-\u{12FF0}\u{13000}-\u{1342F}\u{13441}-\u{13446}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A70}-\u{16ABE}\u{16AD0}-\u{16AED}\u{16B00}-\u{16B2F}\u{16B40}-\u{16B43}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E7F}\u{16F00}-\u{16F4A}\u{16F50}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18CD5}\u{18D00}-\u{18D08}\u{1AFF0}-\u{1AFF3}\u{1AFF5}-\u{1AFFB}\u{1AFFD}\u{1AFFE}\u{1B000}-\u{1B122}\u{1B132}\u{1B150}-\u{1B152}\u{1B155}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6C0}\u{1D6C2}-\u{1D6DA}\u{1D6DC}-\u{1D6FA}\u{1D6FC}-\u{1D714}\u{1D716}-\u{1D734}\u{1D736}-\u{1D74E}\u{1D750}-\u{1D76E}\u{1D770}-\u{1D788}\u{1D78A}-\u{1D7A8}\u{1D7AA}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1DF00}-\u{1DF1E}\u{1DF25}-\u{1DF2A}\u{1E030}-\u{1E06D}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E14E}\u{1E290}-\u{1E2AD}\u{1E2C0}-\u{1E2EB}\u{1E4D0}-\u{1E4EB}\u{1E7E0}-\u{1E7E6}\u{1E7E8}-\u{1E7EB}\u{1E7ED}\u{1E7EE}\u{1E7F0}-\u{1E7FE}\u{1E800}-\u{1E8C4}\u{1E900}-\u{1E943}\u{1E94B}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B739}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2F800}-\u{2FA1D}\u{30000}-\u{3134A}\u{31350}-\u{323AF}]*)/giu
function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ms"
var i=null
return e=(e+"").replace(/(\d)[,_](\d)/g,"$1$2"),e.replace(t,(function(e,t,a){(a=l(a))&&(i=(i||0)+parseFloat(t,10)*a)})),i&&i/(l(a)||1)}function l(e){return a[e]||a[e.toLowerCase().replace(/s$/,"")]}e.exports=a,e.exports.default=a,a.nanosecond=a.ns=1e-6,a["µs"]=a["μs"]=a.us=a.microsecond=.001,a.millisecond=a.ms=a[""]=1,a.second=a.sec=a.s=1e3*a.ms,a.minute=a.min=a.m=60*a.s,a.hour=a.hr=a.h=60*a.m,a.day=a.d=24*a.h,a.week=a.wk=a.w=7*a.d,a.month=a.b=30.4375*a.d,a.year=a.yr=a.y=365.25*a.d},3507:e=>{"use strict"
e.exports=e=>{if("number"!=typeof e)throw new TypeError("Expected a number")
const t=e>0?Math.floor:Math.ceil
return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(1e3*e)%1e3,nanoseconds:t(1e6*e)%1e3}}},9837:(e,t,a)=>{"use strict"
const l=a(3507)
e.exports=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
if(!Number.isFinite(e))throw new TypeError("Expected a finite number")
t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0)
const a=[],i=(e,l,i,o)=>{if(!(0!==a.length&&t.colonNotation||0!==e||t.colonNotation&&"m"===i))return
let n,r
if(o=(o||e||"0").toString(),t.colonNotation){n=a.length>0?":":"",r=""
const e=o.includes(".")?o.split(".")[0].length:o.length,t=a.length>0?2:1
o="0".repeat(Math.max(0,t-e))+o}else n="",r=t.verbose?" "+(c=l,1===e?c:`${c}s`):i
var c
a.push(n+o+r)},o=l(e)
if(i(Math.trunc(o.days/365),"year","y"),i(o.days%365,"day","d"),i(o.hours,"hour","h"),i(o.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(i(o.seconds,"second","s"),t.formatSubMilliseconds)i(o.milliseconds,"millisecond","ms"),i(o.microseconds,"microsecond","µs"),i(o.nanoseconds,"nanosecond","ns")
else{const e=o.milliseconds+o.microseconds/1e3+o.nanoseconds/1e6,a="number"==typeof t.millisecondsDecimalDigits?t.millisecondsDecimalDigits:0,l=e>=1?Math.round(e):Math.ceil(e),n=a?e.toFixed(a):l
i(Number.parseFloat(n,10),"millisecond","ms",n)}else{const a=((e,t)=>{const a=Math.floor(e*10**t+1e-7)
return(Math.round(a)/10**t).toFixed(t)})(e/1e3%60,"number"==typeof t.secondsDecimalDigits?t.secondsDecimalDigits:1),l=t.keepDecimalsOnWholeSeconds?a:a.replace(/\.0+$/,"")
i(Number.parseFloat(l,10),"second","s",l)}if(0===a.length)return"0"+(t.verbose?" milliseconds":"ms")
if(t.compact)return a[0]
if("number"==typeof t.unitCount){const e=t.colonNotation?"":" "
return a.slice(0,Math.max(t.unitCount,1)).join(e)}return t.colonNotation?a.join(""):a.join(" ")}},9640:(e,t,a)=>{"use strict"
function l(e){if(null==e)return window
if("[object Window]"!==e.toString()){var t=e.ownerDocument
return t&&t.defaultView||window}return e}function i(e){return e instanceof l(e).Element||e instanceof Element}function o(e){return e instanceof l(e).HTMLElement||e instanceof HTMLElement}function n(e){return"undefined"!=typeof ShadowRoot&&(e instanceof l(e).ShadowRoot||e instanceof ShadowRoot)}a.r(t),a.d(t,{animateFill:()=>dt,createSingleton:()=>ct,default:()=>bt,delegate:()=>st,followCursor:()=>pt,hideAll:()=>nt,inlinePositioning:()=>mt,roundArrow:()=>fe,sticky:()=>yt})
var r=Math.max,c=Math.min,h=Math.round
function s(){var e=navigator.userAgentData
return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function d(){return!/^((?!chrome|android).)*safari/i.test(s())}function u(e,t,a){void 0===t&&(t=!1),void 0===a&&(a=!1)
var n=e.getBoundingClientRect(),r=1,c=1
t&&o(e)&&(r=e.offsetWidth>0&&h(n.width)/e.offsetWidth||1,c=e.offsetHeight>0&&h(n.height)/e.offsetHeight||1)
var s=(i(e)?l(e):window).visualViewport,u=!d()&&a,f=(n.left+(u&&s?s.offsetLeft:0))/r,v=(n.top+(u&&s?s.offsetTop:0))/c,p=n.width/r,m=n.height/c
return{width:p,height:m,top:v,right:f+p,bottom:v+m,left:f,x:f,y:v}}function f(e){var t=l(e)
return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function v(e){return e?(e.nodeName||"").toLowerCase():null}function p(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function m(e){return u(p(e)).left+f(e).scrollLeft}function y(e){return l(e).getComputedStyle(e)}function g(e){var t=y(e),a=t.overflow,l=t.overflowX,i=t.overflowY
return/auto|scroll|overlay|hidden/.test(a+i+l)}function b(e,t,a){void 0===a&&(a=!1)
var i,n,r=o(t),c=o(t)&&function(e){var t=e.getBoundingClientRect(),a=h(t.width)/e.offsetWidth||1,l=h(t.height)/e.offsetHeight||1
return 1!==a||1!==l}(t),s=p(t),d=u(e,c,a),y={scrollLeft:0,scrollTop:0},b={x:0,y:0}
return(r||!r&&!a)&&(("body"!==v(t)||g(s))&&(y=(i=t)!==l(i)&&o(i)?{scrollLeft:(n=i).scrollLeft,scrollTop:n.scrollTop}:f(i)),o(t)?((b=u(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):s&&(b.x=m(s))),{x:d.left+y.scrollLeft-b.x,y:d.top+y.scrollTop-b.y,width:d.width,height:d.height}}function z(e){var t=u(e),a=e.offsetWidth,l=e.offsetHeight
return Math.abs(t.width-a)<=1&&(a=t.width),Math.abs(t.height-l)<=1&&(l=t.height),{x:e.offsetLeft,y:e.offsetTop,width:a,height:l}}function M(e){return"html"===v(e)?e:e.assignedSlot||e.parentNode||(n(e)?e.host:null)||p(e)}function A(e){return["html","body","#document"].indexOf(v(e))>=0?e.ownerDocument.body:o(e)&&g(e)?e:A(M(e))}function w(e,t){var a
void 0===t&&(t=[])
var i=A(e),o=i===(null==(a=e.ownerDocument)?void 0:a.body),n=l(i),r=o?[n].concat(n.visualViewport||[],g(i)?i:[]):i,c=t.concat(r)
return o?c:c.concat(w(M(r)))}function x(e){return["table","td","th"].indexOf(v(e))>=0}function H(e){return o(e)&&"fixed"!==y(e).position?e.offsetParent:null}function V(e){for(var t=l(e),a=H(e);a&&x(a)&&"static"===y(a).position;)a=H(a)
return a&&("html"===v(a)||"body"===v(a)&&"static"===y(a).position)?t:a||function(e){var t=/firefox/i.test(s())
if(/Trident/i.test(s())&&o(e)&&"fixed"===y(e).position)return null
var a=M(e)
for(n(a)&&(a=a.host);o(a)&&["html","body"].indexOf(v(a))<0;){var l=y(a)
if("none"!==l.transform||"none"!==l.perspective||"paint"===l.contain||-1!==["transform","perspective"].indexOf(l.willChange)||t&&"filter"===l.willChange||t&&l.filter&&"none"!==l.filter)return a
a=a.parentNode}return null}(e)||t}var _="top",B="bottom",L="right",C="left",E="auto",k=[_,B,L,C],D="start",S="end",F="clippingParents",O="viewport",T="popper",P="reference",N=k.reduce((function(e,t){return e.concat([t+"-"+D,t+"-"+S])}),[]),U=[].concat(k,[E]).reduce((function(e,t){return e.concat([t,t+"-"+D,t+"-"+S])}),[]),R=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]
function j(e){var t=new Map,a=new Set,l=[]
function i(e){a.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!a.has(e)){var l=t.get(e)
l&&i(l)}})),l.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){a.has(e.name)||i(e)})),l}var I={placement:"bottom",modifiers:[],strategy:"absolute"}
function G(){for(var e=arguments.length,t=new Array(e),a=0;a=0?"x":"y"}function K(e){var t,a=e.reference,l=e.element,i=e.placement,o=i?q(i):null,n=i?Z(i):null,r=a.x+a.width/2-l.width/2,c=a.y+a.height/2-l.height/2
switch(o){case _:t={x:r,y:a.y-l.height}
break
case B:t={x:r,y:a.y+a.height}
break
case L:t={x:a.x+a.width,y:c}
break
case C:t={x:a.x-l.width,y:c}
break
default:t={x:a.x,y:a.y}}var h=o?Y(o):null
if(null!=h){var s="y"===h?"height":"width"
switch(n){case D:t[h]=t[h]-(a[s]/2-l[s]/2)
break
case S:t[h]=t[h]+(a[s]/2-l[s]/2)}}return t}var W={top:"auto",right:"auto",bottom:"auto",left:"auto"}
function X(e){var t,a=e.popper,i=e.popperRect,o=e.placement,n=e.variation,r=e.offsets,c=e.position,s=e.gpuAcceleration,d=e.adaptive,u=e.roundOffsets,f=e.isFixed,v=r.x,m=void 0===v?0:v,g=r.y,b=void 0===g?0:g,z="function"==typeof u?u({x:m,y:b}):{x:m,y:b}
m=z.x,b=z.y
var M=r.hasOwnProperty("x"),A=r.hasOwnProperty("y"),w=C,x=_,H=window
if(d){var E=V(a),k="clientHeight",D="clientWidth"
E===l(a)&&"static"!==y(E=p(a)).position&&"absolute"===c&&(k="scrollHeight",D="scrollWidth"),(o===_||(o===C||o===L)&&n===S)&&(x=B,b-=(f&&E===H&&H.visualViewport?H.visualViewport.height:E[k])-i.height,b*=s?1:-1),o!==C&&(o!==_&&o!==B||n!==S)||(w=L,m-=(f&&E===H&&H.visualViewport?H.visualViewport.width:E[D])-i.width,m*=s?1:-1)}var F,O=Object.assign({position:c},d&&W),T=!0===u?function(e){var t=e.x,a=e.y,l=window.devicePixelRatio||1
return{x:h(t*l)/l||0,y:h(a*l)/l||0}}({x:m,y:b}):{x:m,y:b}
return m=T.x,b=T.y,s?Object.assign({},O,((F={})[x]=A?"0":"",F[w]=M?"0":"",F.transform=(H.devicePixelRatio||1)<=1?"translate("+m+"px, "+b+"px)":"translate3d("+m+"px, "+b+"px, 0)",F)):Object.assign({},O,((t={})[x]=A?b+"px":"",t[w]=M?m+"px":"",t.transform="",t))}const J={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state
Object.keys(t.elements).forEach((function(e){var a=t.styles[e]||{},l=t.attributes[e]||{},i=t.elements[e]
o(i)&&v(i)&&(Object.assign(i.style,a),Object.keys(l).forEach((function(e){var t=l[e]
!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,a={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}}
return Object.assign(t.elements.popper.style,a.popper),t.styles=a,t.elements.arrow&&Object.assign(t.elements.arrow.style,a.arrow),function(){Object.keys(t.elements).forEach((function(e){var l=t.elements[e],i=t.attributes[e]||{},n=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:a[e]).reduce((function(e,t){return e[t]="",e}),{})
o(l)&&v(l)&&(Object.assign(l.style,n),Object.keys(i).forEach((function(e){l.removeAttribute(e)})))}))}},requires:["computeStyles"]}
var Q={left:"right",right:"left",bottom:"top",top:"bottom"}
function ee(e){return e.replace(/left|right|bottom|top/g,(function(e){return Q[e]}))}var te={start:"end",end:"start"}
function ae(e){return e.replace(/start|end/g,(function(e){return te[e]}))}function le(e,t){var a=t.getRootNode&&t.getRootNode()
if(e.contains(t))return!0
if(a&&n(a)){var l=t
do{if(l&&e.isSameNode(l))return!0
l=l.parentNode||l.host}while(l)}return!1}function ie(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oe(e,t,a){return t===O?ie(function(e,t){var a=l(e),i=p(e),o=a.visualViewport,n=i.clientWidth,r=i.clientHeight,c=0,h=0
if(o){n=o.width,r=o.height
var s=d();(s||!s&&"fixed"===t)&&(c=o.offsetLeft,h=o.offsetTop)}return{width:n,height:r,x:c+m(e),y:h}}(e,a)):i(t)?function(e,t){var a=u(e,!1,"fixed"===t)
return a.top=a.top+e.clientTop,a.left=a.left+e.clientLeft,a.bottom=a.top+e.clientHeight,a.right=a.left+e.clientWidth,a.width=e.clientWidth,a.height=e.clientHeight,a.x=a.left,a.y=a.top,a}(t,a):ie(function(e){var t,a=p(e),l=f(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=r(a.scrollWidth,a.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),n=r(a.scrollHeight,a.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),c=-l.scrollLeft+m(e),h=-l.scrollTop
return"rtl"===y(i||a).direction&&(c+=r(a.clientWidth,i?i.clientWidth:0)-o),{width:o,height:n,x:c,y:h}}(p(e)))}function ne(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function re(e,t){return t.reduce((function(t,a){return t[a]=e,t}),{})}function ce(e,t){void 0===t&&(t={})
var a=t,l=a.placement,n=void 0===l?e.placement:l,h=a.strategy,s=void 0===h?e.strategy:h,d=a.boundary,f=void 0===d?F:d,m=a.rootBoundary,g=void 0===m?O:m,b=a.elementContext,z=void 0===b?T:b,A=a.altBoundary,x=void 0!==A&&A,H=a.padding,C=void 0===H?0:H,E=ne("number"!=typeof C?C:re(C,k)),D=z===T?P:T,S=e.rects.popper,N=e.elements[x?D:z],U=function(e,t,a,l){var n="clippingParents"===t?function(e){var t=w(M(e)),a=["absolute","fixed"].indexOf(y(e).position)>=0&&o(e)?V(e):e
return i(a)?t.filter((function(e){return i(e)&&le(e,a)&&"body"!==v(e)})):[]}(e):[].concat(t),h=[].concat(n,[a]),s=h[0],d=h.reduce((function(t,a){var i=oe(e,a,l)
return t.top=r(i.top,t.top),t.right=c(i.right,t.right),t.bottom=c(i.bottom,t.bottom),t.left=r(i.left,t.left),t}),oe(e,s,l))
return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}(i(N)?N:N.contextElement||p(e.elements.popper),f,g,s),R=u(e.elements.reference),j=K({reference:R,element:S,strategy:"absolute",placement:n}),I=ie(Object.assign({},S,j)),G=z===T?I:R,$={top:U.top-G.top+E.top,bottom:G.bottom-U.bottom+E.bottom,left:U.left-G.left+E.left,right:G.right-U.right+E.right},q=e.modifiersData.offset
if(z===T&&q){var Z=q[n]
Object.keys($).forEach((function(e){var t=[L,B].indexOf(e)>=0?1:-1,a=[_,B].indexOf(e)>=0?"y":"x"
$[e]+=Z[a]*t}))}return $}function he(e,t,a){return r(e,c(t,a))}function se(e,t,a){return void 0===a&&(a={x:0,y:0}),{top:e.top-t.height-a.y,right:e.right-t.width+a.x,bottom:e.bottom-t.height+a.y,left:e.left-t.width-a.x}}function de(e){return[_,L,B,C].some((function(t){return e[t]>=0}))}var ue=function(e){void 0===e&&(e={})
var t=e,a=t.defaultModifiers,l=void 0===a?[]:a,o=t.defaultOptions,n=void 0===o?I:o
return function(e,t,a){void 0===a&&(a=n)
var o,r,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},I,n),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},h=[],s=!1,d={state:c,setOptions:function(a){var o="function"==typeof a?a(c.options):a
u(),c.options=Object.assign({},n,c.options,o),c.scrollParents={reference:i(e)?w(e):e.contextElement?w(e.contextElement):[],popper:w(t)}
var r,s,f=function(e){var t=j(e)
return R.reduce((function(e,a){return e.concat(t.filter((function(e){return e.phase===a})))}),[])}((r=[].concat(l,c.options.modifiers),s=r.reduce((function(e,t){var a=e[t.name]
return e[t.name]=a?Object.assign({},a,t,{options:Object.assign({},a.options,t.options),data:Object.assign({},a.data,t.data)}):t,e}),{}),Object.keys(s).map((function(e){return s[e]}))))
return c.orderedModifiers=f.filter((function(e){return e.enabled})),c.orderedModifiers.forEach((function(e){var t=e.name,a=e.options,l=void 0===a?{}:a,i=e.effect
if("function"==typeof i){var o=i({state:c,name:t,instance:d,options:l})
h.push(o||function(){})}})),d.update()},forceUpdate:function(){if(!s){var e=c.elements,t=e.reference,a=e.popper
if(G(t,a)){c.rects={reference:b(t,V(a),"fixed"===c.options.strategy),popper:z(a)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}))
for(var l=0;l=0?-1:1,o="function"==typeof a?a(Object.assign({},t,{placement:e})):a,n=o[0],r=o[1]
return n=n||0,r=(r||0)*i,[C,L].indexOf(l)>=0?{x:r,y:n}:{x:n,y:r}}(a,t.rects,o),e}),{}),r=n[t.placement],c=r.x,h=r.y
null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=h),t.modifiersData[l]=n}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,a=e.options,l=e.name
if(!t.modifiersData[l]._skip){for(var i=a.mainAxis,o=void 0===i||i,n=a.altAxis,r=void 0===n||n,c=a.fallbackPlacements,h=a.padding,s=a.boundary,d=a.rootBoundary,u=a.altBoundary,f=a.flipVariations,v=void 0===f||f,p=a.allowedAutoPlacements,m=t.options.placement,y=q(m),g=c||(y!==m&&v?function(e){if(q(e)===E)return[]
var t=ee(e)
return[ae(e),t,ae(t)]}(m):[ee(m)]),b=[m].concat(g).reduce((function(e,a){return e.concat(q(a)===E?function(e,t){void 0===t&&(t={})
var a=t,l=a.placement,i=a.boundary,o=a.rootBoundary,n=a.padding,r=a.flipVariations,c=a.allowedAutoPlacements,h=void 0===c?U:c,s=Z(l),d=s?r?N:N.filter((function(e){return Z(e)===s})):k,u=d.filter((function(e){return h.indexOf(e)>=0}))
0===u.length&&(u=d)
var f=u.reduce((function(t,a){return t[a]=ce(e,{placement:a,boundary:i,rootBoundary:o,padding:n})[q(a)],t}),{})
return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:a,boundary:s,rootBoundary:d,padding:h,flipVariations:v,allowedAutoPlacements:p}):a)}),[]),z=t.rects.reference,M=t.rects.popper,A=new Map,w=!0,x=b[0],H=0;H=0,T=O?"width":"height",P=ce(t,{placement:V,boundary:s,rootBoundary:d,altBoundary:u,padding:h}),R=O?F?L:C:F?B:_
z[T]>M[T]&&(R=ee(R))
var j=ee(R),I=[]
if(o&&I.push(P[S]<=0),r&&I.push(P[R]<=0,P[j]<=0),I.every((function(e){return e}))){x=V,w=!1
break}A.set(V,I)}if(w)for(var G=function(e){var t=b.find((function(t){var a=A.get(t)
if(a)return a.slice(0,e).every((function(e){return e}))}))
if(t)return x=t,"break"},$=v?3:1;$>0&&"break"!==G($);$--);t.placement!==x&&(t.modifiersData[l]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,a=e.options,l=e.name,i=a.mainAxis,o=void 0===i||i,n=a.altAxis,h=void 0!==n&&n,s=a.boundary,d=a.rootBoundary,u=a.altBoundary,f=a.padding,v=a.tether,p=void 0===v||v,m=a.tetherOffset,y=void 0===m?0:m,g=ce(t,{boundary:s,rootBoundary:d,padding:f,altBoundary:u}),b=q(t.placement),M=Z(t.placement),A=!M,w=Y(b),x="x"===w?"y":"x",H=t.modifiersData.popperOffsets,E=t.rects.reference,k=t.rects.popper,S="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,F="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0}
if(H){if(o){var P,N="y"===w?_:C,U="y"===w?B:L,R="y"===w?"height":"width",j=H[w],I=j+g[N],G=j-g[U],$=p?-k[R]/2:0,K=M===D?E[R]:k[R],W=M===D?-k[R]:-E[R],X=t.elements.arrow,J=p&&X?z(X):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[N],te=Q[U],ae=he(0,E[R],J[R]),le=A?E[R]/2-$-ae-ee-F.mainAxis:K-ae-ee-F.mainAxis,ie=A?-E[R]/2+$+ae+te+F.mainAxis:W+ae+te+F.mainAxis,oe=t.elements.arrow&&V(t.elements.arrow),ne=oe?"y"===w?oe.clientTop||0:oe.clientLeft||0:0,re=null!=(P=null==O?void 0:O[w])?P:0,se=j+ie-re,de=he(p?c(I,j+le-re-ne):I,j,p?r(G,se):G)
H[w]=de,T[w]=de-j}if(h){var ue,fe="x"===w?_:C,ve="x"===w?B:L,pe=H[x],me="y"===x?"height":"width",ye=pe+g[fe],ge=pe-g[ve],be=-1!==[_,C].indexOf(b),ze=null!=(ue=null==O?void 0:O[x])?ue:0,Me=be?ye:pe-E[me]-k[me]-ze+F.altAxis,Ae=be?pe+E[me]+k[me]-ze-F.altAxis:ge,we=p&&be?function(e,t,a){var l=he(e,t,a)
return l>a?a:l}(Me,pe,Ae):he(p?Me:ye,pe,p?Ae:ge)
H[x]=we,T[x]=we-pe}t.modifiersData[l]=T}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,a=e.state,l=e.name,i=e.options,o=a.elements.arrow,n=a.modifiersData.popperOffsets,r=q(a.placement),c=Y(r),h=[C,L].indexOf(r)>=0?"height":"width"
if(o&&n){var s=function(e,t){return ne("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:re(e,k))}(i.padding,a),d=z(o),u="y"===c?_:C,f="y"===c?B:L,v=a.rects.reference[h]+a.rects.reference[c]-n[c]-a.rects.popper[h],p=n[c]-a.rects.reference[c],m=V(o),y=m?"y"===c?m.clientHeight||0:m.clientWidth||0:0,g=v/2-p/2,b=s[u],M=y-d[h]-s[f],A=y/2-d[h]/2+g,w=he(b,A,M),x=c
a.modifiersData[l]=((t={})[x]=w,t.centerOffset=w-A,t)}},effect:function(e){var t=e.state,a=e.options.element,l=void 0===a?"[data-popper-arrow]":a
null!=l&&("string"!=typeof l||(l=t.elements.popper.querySelector(l)))&&le(t.elements.popper,l)&&(t.elements.arrow=l)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,a=e.name,l=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,n=ce(t,{elementContext:"reference"}),r=ce(t,{altBoundary:!0}),c=se(n,l),h=se(r,i,o),s=de(c),d=de(h)
t.modifiersData[a]={referenceClippingOffsets:c,popperEscapeOffsets:h,isReferenceHidden:s,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":d})}}]}),fe='',ve="tippy-box",pe="tippy-content",me="tippy-backdrop",ye="tippy-arrow",ge="tippy-svg-arrow",be={passive:!0,capture:!0},ze=function(){return document.body}
function Me(e,t,a){if(Array.isArray(e)){var l=e[t]
return null==l?Array.isArray(a)?a[t]:a:l}return e}function Ae(e,t){var a={}.toString.call(e)
return 0===a.indexOf("[object")&&a.indexOf(t+"]")>-1}function we(e,t){return"function"==typeof e?e.apply(void 0,t):e}function xe(e,t){return 0===t?e:function(l){clearTimeout(a),a=setTimeout((function(){e(l)}),t)}
var a}function He(e,t){var a=Object.assign({},e)
return t.forEach((function(e){delete a[e]})),a}function Ve(e){return[].concat(e)}function _e(e,t){-1===e.indexOf(t)&&e.push(t)}function Be(e){return e.split("-")[0]}function Le(e){return[].slice.call(e)}function Ce(e){return Object.keys(e).reduce((function(t,a){return void 0!==e[a]&&(t[a]=e[a]),t}),{})}function Ee(){return document.createElement("div")}function ke(e){return["Element","Fragment"].some((function(t){return Ae(e,t)}))}function De(e){return Ae(e,"MouseEvent")}function Se(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Fe(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Oe(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Te(e){var t,a=Ve(e)[0]
return null!=a&&null!=(t=a.ownerDocument)&&t.body?a.ownerDocument:document}function Pe(e,t,a){var l=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[l](t,a)}))}function Ne(e,t){for(var a=t;a;){var l
if(e.contains(a))return!0
a=null==a.getRootNode||null==(l=a.getRootNode())?void 0:l.host}return!1}var Ue={isTouch:!1},Re=0
function je(){Ue.isTouch||(Ue.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ie))}function Ie(){var e=performance.now()
e-Re<20&&(Ue.isTouch=!1,document.removeEventListener("mousemove",Ie)),Re=e}function Ge(){var e=document.activeElement
if(Se(e)){var t=e._tippy
e.blur&&!t.state.isVisible&&e.blur()}}var $e=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),qe=Object.assign({appendTo:ze,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Ze=Object.keys(qe)
function Ye(e){var t=(e.plugins||[]).reduce((function(t,a){var l,i=a.name,o=a.defaultValue
return i&&(t[i]=void 0!==e[i]?e[i]:null!=(l=qe[i])?l:o),t}),{})
return Object.assign({},e,t)}function Ke(e,t){var a=Object.assign({},t,{content:we(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Ye(Object.assign({},qe,{plugins:t}))):Ze).reduce((function(t,a){var l=(e.getAttribute("data-tippy-"+a)||"").trim()
if(!l)return t
if("content"===a)t[a]=l
else try{t[a]=JSON.parse(l)}catch(e){t[a]=l}return t}),{})}(e,t.plugins))
return a.aria=Object.assign({},qe.aria,a.aria),a.aria={expanded:"auto"===a.aria.expanded?t.interactive:a.aria.expanded,content:"auto"===a.aria.content?t.interactive?null:"describedby":a.aria.content},a}var We=function(){return"innerHTML"}
function Xe(e,t){e[We()]=t}function Je(e){var t=Ee()
return!0===e?t.className=ye:(t.className=ge,ke(e)?t.appendChild(e):Xe(t,e)),t}function Qe(e,t){ke(t.content)?(Xe(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Xe(e,t.content):e.textContent=t.content)}function et(e){var t=e.firstElementChild,a=Le(t.children)
return{box:t,content:a.find((function(e){return e.classList.contains(pe)})),arrow:a.find((function(e){return e.classList.contains(ye)||e.classList.contains(ge)})),backdrop:a.find((function(e){return e.classList.contains(me)}))}}function tt(e){var t=Ee(),a=Ee()
a.className=ve,a.setAttribute("data-state","hidden"),a.setAttribute("tabindex","-1")
var l=Ee()
function i(a,l){var i=et(t),o=i.box,n=i.content,r=i.arrow
l.theme?o.setAttribute("data-theme",l.theme):o.removeAttribute("data-theme"),"string"==typeof l.animation?o.setAttribute("data-animation",l.animation):o.removeAttribute("data-animation"),l.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof l.maxWidth?l.maxWidth+"px":l.maxWidth,l.role?o.setAttribute("role",l.role):o.removeAttribute("role"),a.content===l.content&&a.allowHTML===l.allowHTML||Qe(n,e.props),l.arrow?r?a.arrow!==l.arrow&&(o.removeChild(r),o.appendChild(Je(l.arrow))):o.appendChild(Je(l.arrow)):r&&o.removeChild(r)}return l.className=pe,l.setAttribute("data-state","hidden"),Qe(l,e.props),t.appendChild(a),a.appendChild(l),i(e.props,e.props),{popper:t,onUpdate:i}}tt.$$tippy=!0
var at=1,lt=[],it=[]
function ot(e,t){void 0===t&&(t={})
var a=qe.plugins.concat(t.plugins||[])
document.addEventListener("touchstart",je,be),window.addEventListener("blur",Ge)
var l,i=Object.assign({},t,{plugins:a}),o=(l=e,ke(l)?[l]:function(e){return Ae(e,"NodeList")}(l)?Le(l):Array.isArray(l)?l:Le(document.querySelectorAll(l))).reduce((function(e,t){var a=t&&function(e,t){var a,l,i,o,n,r,c,h,s=Ke(e,Object.assign({},qe,Ye(Ce(t)))),d=!1,u=!1,f=!1,v=!1,p=[],m=xe(Z,s.interactiveDebounce),y=at++,g=(h=s.plugins).filter((function(e,t){return h.indexOf(e)===t})),b={id:y,reference:e,popper:Ee(),popperInstance:null,props:s,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(a),clearTimeout(l),cancelAnimationFrame(i)},setProps:function(t){if(!b.state.isDestroyed){D("onBeforeUpdate",[b,t]),$()
var a=b.props,l=Ke(e,Object.assign({},a,Ce(t),{ignoreAttributes:!0}))
b.props=l,G(),a.interactiveDebounce!==l.interactiveDebounce&&(O(),m=xe(Z,l.interactiveDebounce)),a.triggerTarget&&!l.triggerTarget?Ve(a.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):l.triggerTarget&&e.removeAttribute("aria-expanded"),F(),k(),A&&A(a,l),b.popperInstance&&(X(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),D("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,a=!b.state.isEnabled,l=Ue.isTouch&&!b.props.touch,i=Me(b.props.duration,0,qe.duration)
if(!(e||t||a||l||B().hasAttribute("disabled")||(D("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,_()&&(M.style.visibility="visible"),k(),U(),b.state.isMounted||(M.style.transition="none"),_()){var o=C()
Fe([o.box,o.content],0)}var n,c,h
r=function(){var e
if(b.state.isVisible&&!v){if(v=!0,M.offsetHeight,M.style.transition=b.props.moveTransition,_()&&b.props.animation){var t=C(),a=t.box,l=t.content
Fe([a,l],i),Oe([a,l],"visible")}S(),F(),_e(it,b),null==(e=b.popperInstance)||e.forceUpdate(),D("onMount",[b]),b.props.animation&&_()&&function(e,t){j(e,(function(){b.state.isShown=!0,D("onShown",[b])}))}(i)}},c=b.props.appendTo,h=B(),(n=b.props.interactive&&c===ze||"parent"===c?h.parentNode:we(c,[h])).contains(M)||n.appendChild(M),b.state.isMounted=!0,X()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,a=!b.state.isEnabled,l=Me(b.props.duration,1,qe.duration)
if(!(e||t||a)&&(D("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,v=!1,d=!1,_()&&(M.style.visibility="hidden"),O(),R(),k(!0),_()){var i=C(),o=i.box,n=i.content
b.props.animation&&(Fe([o,n],l),Oe([o,n],"hidden"))}S(),F(),b.props.animation?_()&&function(e,t){j(e,(function(){!b.state.isVisible&&M.parentNode&&M.parentNode.contains(M)&&t()}))}(l,b.unmount):b.unmount()}},hideWithInteractivity:function(e){L().addEventListener("mousemove",m),_e(lt,m),m(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(J(),Q().forEach((function(e){e._tippy.unmount()})),M.parentNode&&M.parentNode.removeChild(M),it=it.filter((function(e){return e!==b})),b.state.isMounted=!1,D("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),$(),delete e._tippy,b.state.isDestroyed=!0,D("onDestroy",[b]))}}
if(!s.render)return b
var z=s.render(b),M=z.popper,A=z.onUpdate
M.setAttribute("data-tippy-root",""),M.id="tippy-"+b.id,b.popper=M,e._tippy=b,M._tippy=b
var w=g.map((function(e){return e.fn(b)})),x=e.hasAttribute("aria-expanded")
return G(),F(),k(),D("onCreate",[b]),s.showOnCreate&&ee(),M.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),M.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&L().addEventListener("mousemove",m)})),b
function H(){var e=b.props.touch
return Array.isArray(e)?e:[e,0]}function V(){return"hold"===H()[0]}function _(){var e
return!(null==(e=b.props.render)||!e.$$tippy)}function B(){return c||e}function L(){var e=B().parentNode
return e?Te(e):document}function C(){return et(M)}function E(e){return b.state.isMounted&&!b.state.isVisible||Ue.isTouch||o&&"focus"===o.type?0:Me(b.props.delay,e?0:1,qe.delay)}function k(e){void 0===e&&(e=!1),M.style.pointerEvents=b.props.interactive&&!e?"":"none",M.style.zIndex=""+b.props.zIndex}function D(e,t,a){var l
void 0===a&&(a=!0),w.forEach((function(a){a[e]&&a[e].apply(a,t)})),a&&(l=b.props)[e].apply(l,t)}function S(){var t=b.props.aria
if(t.content){var a="aria-"+t.content,l=M.id
Ve(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(a)
if(b.state.isVisible)e.setAttribute(a,t?t+" "+l:l)
else{var i=t&&t.replace(l,"").trim()
i?e.setAttribute(a,i):e.removeAttribute(a)}}))}}function F(){!x&&b.props.aria.expanded&&Ve(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===B()?"true":"false"):e.removeAttribute("aria-expanded")}))}function O(){L().removeEventListener("mousemove",m),lt=lt.filter((function(e){return e!==m}))}function T(t){if(!Ue.isTouch||!f&&"mousedown"!==t.type){var a=t.composedPath&&t.composedPath()[0]||t.target
if(!b.props.interactive||!Ne(M,a)){if(Ve(b.props.triggerTarget||e).some((function(e){return Ne(e,a)}))){if(Ue.isTouch)return
if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[b,t])
!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),u=!0,setTimeout((function(){u=!1})),b.state.isMounted||R())}}}function P(){f=!0}function N(){f=!1}function U(){var e=L()
e.addEventListener("mousedown",T,!0),e.addEventListener("touchend",T,be),e.addEventListener("touchstart",N,be),e.addEventListener("touchmove",P,be)}function R(){var e=L()
e.removeEventListener("mousedown",T,!0),e.removeEventListener("touchend",T,be),e.removeEventListener("touchstart",N,be),e.removeEventListener("touchmove",P,be)}function j(e,t){var a=C().box
function l(e){e.target===a&&(Pe(a,"remove",l),t())}if(0===e)return t()
Pe(a,"remove",n),Pe(a,"add",l),n=l}function I(t,a,l){void 0===l&&(l=!1),Ve(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,a,l),p.push({node:e,eventType:t,handler:a,options:l})}))}function G(){var e
V()&&(I("touchstart",q,{passive:!0}),I("touchend",Y,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(I(e,q),e){case"mouseenter":I("mouseleave",Y)
break
case"focus":I($e?"focusout":"blur",K)
break
case"focusin":I("focusout",K)}}))}function $(){p.forEach((function(e){var t=e.node,a=e.eventType,l=e.handler,i=e.options
t.removeEventListener(a,l,i)})),p=[]}function q(e){var t,a=!1
if(b.state.isEnabled&&!W(e)&&!u){var l="focus"===(null==(t=o)?void 0:t.type)
o=e,c=e.currentTarget,F(),!b.state.isVisible&&De(e)&<.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||d)&&!1!==b.props.hideOnClick&&b.state.isVisible?a=!0:ee(e),"click"===e.type&&(d=!a),a&&!l&&te(e)}}function Z(e){var t=e.target,a=B().contains(t)||M.contains(t)
if("mousemove"!==e.type||!a){var l=Q().concat(M).map((function(e){var t,a=null==(t=e._tippy.popperInstance)?void 0:t.state
return a?{popperRect:e.getBoundingClientRect(),popperState:a,props:s}:null})).filter(Boolean);(function(e,t){var a=t.clientX,l=t.clientY
return e.every((function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,n=Be(i.placement),r=i.modifiersData.offset
if(!r)return!0
var c="bottom"===n?r.top.y:0,h="top"===n?r.bottom.y:0,s="right"===n?r.left.x:0,d="left"===n?r.right.x:0,u=t.top-l+c>o,f=l-t.bottom-h>o,v=t.left-a+s>o,p=a-t.right-d>o
return u||f||v||p}))})(l,e)&&(O(),te(e))}}function Y(e){W(e)||b.props.trigger.indexOf("click")>=0&&d||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function K(e){b.props.trigger.indexOf("focusin")<0&&e.target!==B()||b.props.interactive&&e.relatedTarget&&M.contains(e.relatedTarget)||te(e)}function W(e){return!!Ue.isTouch&&V()!==e.type.indexOf("touch")>=0}function X(){J()
var t=b.props,a=t.popperOptions,l=t.placement,i=t.offset,o=t.getReferenceClientRect,n=t.moveTransition,c=_()?et(M).arrow:null,h=o?{getBoundingClientRect:o,contextElement:o.contextElement||B()}:e,s=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!n}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state
if(_()){var a=C().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?a.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?a.setAttribute("data-"+e,""):a.removeAttribute("data-"+e)})),t.attributes.popper={}}}}]
_()&&c&&s.push({name:"arrow",options:{element:c,padding:3}}),s.push.apply(s,(null==a?void 0:a.modifiers)||[]),b.popperInstance=ue(h,M,Object.assign({},a,{placement:l,onFirstUpdate:r,modifiers:s}))}function J(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return Le(M.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&D("onTrigger",[b,e]),U()
var t=E(!0),l=H(),i=l[0],o=l[1]
Ue.isTouch&&"hold"===i&&o&&(t=o),t?a=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),D("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=E(!1)
t?l=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else R()}}(t,i)
return a&&e.push(a),e}),[])
return ke(e)?o[0]:o}ot.defaultProps=qe,ot.setDefaultProps=function(e){Object.keys(e).forEach((function(t){qe[t]=e[t]}))},ot.currentInput=Ue
var nt=function(e){var t=void 0===e?{}:e,a=t.exclude,l=t.duration
it.forEach((function(e){var t=!1
if(a&&(t=Se(a)?e.reference===a:e.popper===a.popper),!t){var i=e.props.duration
e.setProps({duration:l}),e.hide(),e.state.isDestroyed||e.setProps({duration:i})}}))},rt=Object.assign({},J,{effect:function(e){var t=e.state,a={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}}
Object.assign(t.elements.popper.style,a.popper),t.styles=a,t.elements.arrow&&Object.assign(t.elements.arrow.style,a.arrow)}}),ct=function(e,t){var a
void 0===t&&(t={})
var l,i=e,o=[],n=[],r=t.overrides,c=[],h=!1
function s(){n=i.map((function(e){return Ve(e.props.triggerTarget||e.reference)})).reduce((function(e,t){return e.concat(t)}),[])}function d(){o=i.map((function(e){return e.reference}))}function u(e){i.forEach((function(t){e?t.enable():t.disable()}))}function f(e){return i.map((function(t){var a=t.setProps
return t.setProps=function(i){a(i),t.reference===l&&e.setProps(i)},function(){t.setProps=a}}))}function v(e,t){var a=n.indexOf(t)
if(t!==l){l=t
var c=(r||[]).concat("content").reduce((function(e,t){return e[t]=i[a].props[t],e}),{})
e.setProps(Object.assign({},c,{getReferenceClientRect:"function"==typeof c.getReferenceClientRect?c.getReferenceClientRect:function(){var e
return null==(e=o[a])?void 0:e.getBoundingClientRect()}}))}}u(!1),d(),s()
var p={fn:function(){return{onDestroy:function(){u(!0)},onHidden:function(){l=null},onClickOutside:function(e){e.props.showOnCreate&&!h&&(h=!0,l=null)},onShow:function(e){e.props.showOnCreate&&!h&&(h=!0,v(e,o[0]))},onTrigger:function(e,t){v(e,t.currentTarget)}}}},m=ot(Ee(),Object.assign({},He(t,["overrides"]),{plugins:[p].concat(t.plugins||[]),triggerTarget:n,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(a=t.popperOptions)?void 0:a.modifiers)||[],[rt])})})),y=m.show
m.show=function(e){if(y(),!l&&null==e)return v(m,o[0])
if(!l||null!=e){if("number"==typeof e)return o[e]&&v(m,o[e])
if(i.indexOf(e)>=0){var t=e.reference
return v(m,t)}return o.indexOf(e)>=0?v(m,e):void 0}},m.showNext=function(){var e=o[0]
if(!l)return m.show(0)
var t=o.indexOf(l)
m.show(o[t+1]||e)},m.showPrevious=function(){var e=o[o.length-1]
if(!l)return m.show(e)
var t=o.indexOf(l),a=o[t-1]||e
m.show(a)}
var g=m.setProps
return m.setProps=function(e){r=e.overrides||r,g(e)},m.setInstances=function(e){u(!0),c.forEach((function(e){return e()})),i=e,u(!1),d(),s(),c=f(m),m.setProps({triggerTarget:n})},c=f(m),m},ht={mouseover:"mouseenter",focusin:"focus",click:"click"}
function st(e,t){var a=[],l=[],i=!1,o=t.target,n=He(t,["target"]),r=Object.assign({},n,{trigger:"manual",touch:!1}),c=Object.assign({touch:qe.touch},n,{showOnCreate:!0}),h=ot(e,r)
function s(e){if(e.target&&!i){var a=e.target.closest(o)
if(a){var n=a.getAttribute("data-tippy-trigger")||t.trigger||qe.trigger
if(!a._tippy&&!("touchstart"===e.type&&"boolean"==typeof c.touch||"touchstart"!==e.type&&n.indexOf(ht[e.type])<0)){var r=ot(a,c)
r&&(l=l.concat(r))}}}}function d(e,t,l,i){void 0===i&&(i=!1),e.addEventListener(t,l,i),a.push({node:e,eventType:t,handler:l,options:i})}return Ve(h).forEach((function(e){var t=e.destroy,o=e.enable,n=e.disable
e.destroy=function(e){void 0===e&&(e=!0),e&&l.forEach((function(e){e.destroy()})),l=[],a.forEach((function(e){var t=e.node,a=e.eventType,l=e.handler,i=e.options
t.removeEventListener(a,l,i)})),a=[],t()},e.enable=function(){o(),l.forEach((function(e){return e.enable()})),i=!1},e.disable=function(){n(),l.forEach((function(e){return e.disable()})),i=!0},function(e){var t=e.reference
d(t,"touchstart",s,be),d(t,"mouseover",s),d(t,"focusin",s),d(t,"click",s)}(e)})),h}var dt={name:"animateFill",defaultValue:!1,fn:function(e){var t
if(null==(t=e.props.render)||!t.$$tippy)return{}
var a=et(e.popper),l=a.box,i=a.content,o=e.props.animateFill?function(){var e=Ee()
return e.className=me,Oe([e],"hidden"),e}():null
return{onCreate:function(){o&&(l.insertBefore(o,l.firstElementChild),l.setAttribute("data-animatefill",""),l.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(o){var e=l.style.transitionDuration,t=Number(e.replace("ms",""))
i.style.transitionDelay=Math.round(t/10)+"ms",o.style.transitionDuration=e,Oe([o],"visible")}},onShow:function(){o&&(o.style.transitionDuration="0ms")},onHide:function(){o&&Oe([o],"hidden")}}}},ut={clientX:0,clientY:0},ft=[]
function vt(e){var t=e.clientX,a=e.clientY
ut={clientX:t,clientY:a}}var pt={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,a=Te(e.props.triggerTarget||t),l=!1,i=!1,o=!0,n=e.props
function r(){return"initial"===e.props.followCursor&&e.state.isVisible}function c(){a.addEventListener("mousemove",d)}function h(){a.removeEventListener("mousemove",d)}function s(){l=!0,e.setProps({getReferenceClientRect:null}),l=!1}function d(a){var l=!a.target||t.contains(a.target),i=e.props.followCursor,o=a.clientX,n=a.clientY,r=t.getBoundingClientRect(),c=o-r.left,h=n-r.top
!l&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),a=o,l=n
"initial"===i&&(a=e.left+c,l=e.top+h)
var r="horizontal"===i?e.top:l,s="vertical"===i?e.right:a,d="horizontal"===i?e.bottom:l,u="vertical"===i?e.left:a
return{width:s-u,height:d-r,top:r,right:s,bottom:d,left:u}}})}function u(){e.props.followCursor&&(ft.push({instance:e,doc:a}),function(e){e.addEventListener("mousemove",vt)}(a))}function f(){0===(ft=ft.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===a})).length&&function(e){e.removeEventListener("mousemove",vt)}(a)}return{onCreate:u,onDestroy:f,onBeforeUpdate:function(){n=e.props},onAfterUpdate:function(t,a){var o=a.followCursor
l||void 0!==o&&n.followCursor!==o&&(f(),o?(u(),!e.state.isMounted||i||r()||c()):(h(),s()))},onMount:function(){e.props.followCursor&&!i&&(o&&(d(ut),o=!1),r()||c())},onTrigger:function(e,t){De(t)&&(ut={clientX:t.clientX,clientY:t.clientY}),i="focus"===t.type},onHidden:function(){e.props.followCursor&&(s(),h(),o=!0)}}}},mt={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,a=e.reference,l=-1,i=!1,o=[],n={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(i){var n=i.state
e.props.inlinePositioning&&(-1!==o.indexOf(n.placement)&&(o=[]),t!==n.placement&&-1===o.indexOf(n.placement)&&(o.push(n.placement),e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,a,l){if(a.length<2||null===e)return t
if(2===a.length&&l>=0&&a[0].left>a[1].right)return a[l]||t
switch(e){case"top":case"bottom":var i=a[0],o=a[a.length-1],n="top"===e,r=i.top,c=o.bottom,h=n?i.left:o.left,s=n?i.right:o.right
return{top:r,bottom:c,left:h,right:s,width:s-h,height:c-r}
case"left":case"right":var d=Math.min.apply(Math,a.map((function(e){return e.left}))),u=Math.max.apply(Math,a.map((function(e){return e.right}))),f=a.filter((function(t){return"left"===e?t.left===d:t.right===u})),v=f[0].top,p=f[f.length-1].bottom
return{top:v,bottom:p,left:d,right:u,width:u-d,height:p-v}
default:return t}}(Be(e),a.getBoundingClientRect(),Le(a.getClientRects()),l)}(n.placement)}})),t=n.placement)}}
function r(){var t
i||(t=function(e,t){var a
return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(a=e.popperOptions)?void 0:a.modifiers)||[]).filter((function(e){return e.name!==t.name})),[t])})}}(e.props,n),i=!0,e.setProps(t),i=!1)}return{onCreate:r,onAfterUpdate:r,onTrigger:function(t,a){if(De(a)){var i=Le(e.reference.getClientRects()),o=i.find((function(e){return e.left-2<=a.clientX&&e.right+2>=a.clientX&&e.top-2<=a.clientY&&e.bottom+2>=a.clientY})),n=i.indexOf(o)
l=n>-1?n:l}},onHidden:function(){l=-1}}}},yt={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,a=e.popper
function l(t){return!0===e.props.sticky||e.props.sticky===t}var i=null,o=null
function n(){var r=l("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,c=l("popper")?a.getBoundingClientRect():null;(r&>(i,r)||c&>(o,c))&&e.popperInstance&&e.popperInstance.update(),i=r,o=c,e.state.isMounted&&requestAnimationFrame(n)}return{onMount:function(){e.props.sticky&&n()}}}}
function gt(e,t){return!e||!t||e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left}ot.setDefaultProps({render:tt})
const bt=ot},2985:(e,t,a)=>{"use strict"
a.d(t,{ZT:()=>i,ev:()=>n,pi:()=>o})
var l=function(e,t){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},l(e,t)}
function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null")
function a(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(a.prototype=t.prototype,new a)}var o=function(){return o=Object.assign||function(e){for(var t,a=1,l=arguments.length;a{"use strict"
function l(e){return null!==e&&"object"==typeof e&&!(e instanceof Date||e instanceof RegExp)&&!Array.isArray(e)}a.r(t),a.d(t,{BufferedChangeset:()=>Ee,CHANGESET:()=>D,Change:()=>o,Changeset:()=>Se,Err:()=>c,ValidatedChangeset:()=>De,buildOldValues:()=>W,changeset:()=>ke,getChangeValue:()=>r,getDeep:()=>y,getKeyValues:()=>d,isChange:()=>n,isChangeset:()=>S,isObject:()=>l,isPromise:()=>f,keyInObject:()=>O,lookupValidator:()=>g,mergeDeep:()=>ie,mergeNested:()=>Y,normalizeObject:()=>H,objectWithout:()=>he,propertyIsUnsafe:()=>te,pureAssign:()=>_,setDeep:()=>q,take:()=>se})
var i=Symbol("__value__"),o=function(e){this[i]=e},n=function(e){return l(e)&&i in e}
function r(e){if(n(e))return e[i]}var c=function(e,t){this.value=e,this.validation=t},h=function(e,t){var a="function"==typeof Symbol&&e[Symbol.iterator]
if(!a)return e
var l,i,o=a.call(e),n=[]
try{for(;(void 0===t||t-- >0)&&!(l=o.next()).done;)n.push(l.value)}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}return n},s=function(){for(var e=[],t=0;t0&&i[i.length-1])||6!==o[0]&&2!==o[0])){n=0
continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(l=o.next()).done;)n.push(l.value)}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}return n},z=function(){function e(){this.listeners=[]}return e.prototype.addListener=function(e){var t=this
return this.listeners.push(e),function(){return t.removeListener(e)}},e.prototype.removeListener=function(e){for(var t=0;t=e.length&&(e=void 0),{value:e&&e[l++],done:!e}}}
throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},x=function(){return x=Object.assign||function(e){for(var t,a=1,l=arguments.length;a=e.length&&(e=void 0),{value:e&&e[l++],done:!e}}}
throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},L=function(e,t){var a="function"==typeof Symbol&&e[Symbol.iterator]
if(!a)return e
var l,i,o=a.call(e),n=[]
try{for(;(void 0===t||t-- >0)&&!(l=o.next()).done;)n.push(l.value)}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}return n},C=function(){for(var e=[],t=0;t0)&&!(l=o.next()).done;)n.push(l.value)}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}return n}
function O(e,t){var a=F(t.split(".")),l=a[0],i=a.slice(1)
if(!l||!(l in e))return!1
if(!i.length)return l in e
var o=e[l]
return null!==o&&"object"==typeof o&&O(e[l],i.join("."))}var T=function(e){var t="function"==typeof Symbol&&Symbol.iterator,a=t&&e[t],l=0
if(a)return a.call(e)
if(e&&"number"==typeof e.length)return{next:function(){return e&&l>=e.length&&(e=void 0),{value:e&&e[l++],done:!e}}}
throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},P=function(e,t){var a="function"==typeof Symbol&&e[Symbol.iterator]
if(!a)return e
var l,i,o=a.call(e),n=[]
try{for(;(void 0===t||t-- >0)&&!(l=o.next()).done;)n.push(l.value)}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}return n}
function N(e){return!!e&&Object.keys(e).every((function(e){return Number.isInteger(parseInt(e,10))}))}function U(e){return e.reduce((function(e,t,a){return e[a]=t,e}),{})}function R(e){var t,a,l=[]
try{for(var i=T(Object.entries(e)),o=i.next();!o.done;o=i.next()){var n=P(o.value,2),r=n[0],c=n[1]
l[parseInt(r,10)]=c}}catch(e){t={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(t)throw t.error}}return l}var j=function(){return j=Object.assign||function(e){for(var t,a=1,l=arguments.length;a0)&&!(l=o.next()).done;)n.push(l.value)}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}return n}
function G(e,t){var a=I(t.slice(-1),1)[0],l=Object.keys(e).filter((function(e){return e!==a})).reduce((function(t,a){return t[a]=e[a],t}),Object.create(null))
return j({},l)}function $(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e}function q(e,t,a,i){void 0===i&&(i={safeSet:void 0,safeGet:void 0})
var c=function(e){return e.split(".")}(t).filter($),h=e
if(i.safeSet=i.safeSet||function(e,t,a){return e[t]=a},i.safeGet=i.safeGet||function(e,t){return e?e[t]:e},1===c.length)return i.safeSet(e,t,a),e
for(var s=0;s=e.length&&(e=void 0),{value:e&&e[l++],done:!e}}}
throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}
function W(e,t,a){var l,i,o=Object.create(null)
try{for(var n=K(t),r=n.next();!r.done;r=n.next()){var c=r.value
o[c.key]=a(e,c.key)}}catch(e){l={error:e}}finally{try{r&&!r.done&&(i=n.return)&&i.call(n)}finally{if(l)throw l.error}}return o}var X=function(e,t){var a="function"==typeof Symbol&&e[Symbol.iterator]
if(!a)return e
var l,i,o=a.call(e),n=[]
try{for(;(void 0===t||t-- >0)&&!(l=o.next()).done;)n.push(l.value)}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}return n},J=function(){for(var e=[],t=0;t0)for(l in i){var o=i[l]
a.safeSet(e,l,o)}}}else{if(!ee(e,l)||!function(e){return!!e&&"object"==typeof e}(h=t[l])||function(e){var t=Object.prototype.toString.call(e)
return"[object RegExp]"===t||"[object Date]"===t}(h)||n(t[l])){var c=t[l]
return c&&n(c)?a.safeSet(e,l,r(c)):a.safeSet(e,l,H(c))}a.safeSet(e,l,ie(a.safeGet(e,l),a.safeGet(t,l),a))}var h})),e}function ie(e,t,a){void 0===a&&(a={safeGet:void 0,safeSet:void 0,propertyIsUnsafe:void 0,getKeys:void 0}),a.getKeys=a.getKeys||Q,a.propertyIsUnsafe=a.propertyIsUnsafe||te,a.safeGet=a.safeGet||function(e,t){return e[t]},a.safeSet=a.safeSet||function(e,t,a){return e[t]=a}
var l=Array.isArray(t),i=Array.isArray(e)
if(l===i)return l||null==e?t:le(e,t,a)
var o=N(t)
return i&&o?R(le(U(e),t,a)):t}var oe=function(){return oe=Object.assign||function(e){for(var t,a=1,l=arguments.length;a0&&i[i.length-1])||6!==o[0]&&2!==o[0])){n=0
continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(l=o.next()).done;)n.push(l.value)}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}return n},pe=function(){for(var e=[],t=0;t0)||l.find((function(t){return e.match(t)}))){var i=this[ye],o=this.safeGet(i,e)
if(a.skipValidate)return this._setProperty({key:e,value:t,oldValue:o}),void this._handleValidation(!0,{key:e,value:t})
this._setProperty({key:e,value:t,oldValue:o}),this._validateKey(e,t)}},Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return"changeset:"+_(this[ye],{}).toString()},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"changeset:"+_(this[ye],{}).toString()},e.prototype.prepare=function(e){var t=e(this._bareChanges)
if(Le("Callback to `changeset.prepare` must return an object",this.isObject(t)),this.isObject(t)){var a=me(t).reduce((function(e,a){return e[a]=new o(t[a]),e}),{})
this[be]=a}return this},e.prototype.execute=function(){var e
if(this.isValid&&this.isDirty){var t=this[ye],a=this[be]
e=W(t,this.changes,this.getDeep),this[ye]=this.mergeDeep(t,a)}return this.trigger("execute"),this[be]={},this[ge]=e,this},e.prototype.unexecute=function(){return this[ge]&&(this[ye]=this.mergeDeep(this[ye],this[ge],{safeGet:this.safeGet,safeSet:this.safeSet})),this},e.prototype.save=function(e){return ue(this,void 0,void 0,(function(){var t,a,l,i
return fe(this,(function(o){switch(o.label){case 0:t=this[ye],a=Promise.resolve(this),this.execute(),"function"==typeof t.save?a=t.save(e):"function"==typeof this.safeGet(t,"save")&&(l=this.maybeUnwrapProxy(t).save())&&(a=l),o.label=1
case 1:return o.trys.push([1,3,,4]),[4,a]
case 2:return i=o.sent(),this.rollback(),[2,i]
case 3:throw o.sent()
case 4:return[2]}}))}))},e.prototype.merge=function(e){var t=this[ye]
if(Le("Cannot merge with a non-changeset",S(e)),Le("Cannot merge with a changeset of different content",e[ye]===t),this.isPristine&&e.isPristine)return this
var a=this[be],l=e[be],i=this[ze],o=e[ze],n=new De(t,this[Ae]),r=he(me(l),i),c=he(me(o),a),h=Y(r,o),s=Y(c,l)
return n[ze]=h,n[be]=s,n._notifyVirtualProperties(),n},e.prototype.rollback=function(){var e=this._rollbackKeys()
return this[be]={},this[ze]={},this[Me]={},this._notifyVirtualProperties(e),this.trigger("afterRollback"),this},e.prototype.rollbackInvalid=function(e){var t=this,a=me(this[ze])
return e?(this._notifyVirtualProperties([e]),this[ze]=this._deleteKey(ze,e),this[Me]=this[ze],a.indexOf(e)>-1&&(this[be]=this._deleteKey(be,e))):(this._notifyVirtualProperties(),this[ze]={},this[Me]=this[ze],a.forEach((function(e){t[be]=t._deleteKey(be,e)}))),this},e.prototype.rollbackProperty=function(e){return this[be]=this._deleteKey(be,e),this[ze]=this._deleteKey(ze,e),this[Me]=this[ze],this},e.prototype.validate=function(){for(var e=[],t=0;t0?e:me(k(this.validationMap)),t=e.map((function(e){var t=a[e],l=t instanceof ce?t.unwrap():t
return a._validateKey(e,l)})),[2,Promise.all(t)]):[2,Promise.resolve(null)]}))}))},e.prototype.addError=function(e,t){var a,l=this
if(function(e){return l.isObject(e)&&!Array.isArray(e)}(t))Le("Error must have value.",t.hasOwnProperty("value")||void 0!==t.value),Le("Error must have validation.",t.hasOwnProperty("validation")),a=new c(t.value,t.validation)
else{var i=this[e]
a=new c(i,t)}var o=this[ze]
return this[ze]=this.setDeep(o,e,a,{safeSet:this.safeSet}),this[Me]=this[ze],t},e.prototype.pushErrors=function(e){for(var t=[],a=1;a0},e.prototype._validateKey=function(e,t){var a=this,l=this[ye],i=this.getDeep(l,e),o=this._validate(e,t,i)
if(this.trigger("beforeValidation",e),f(o)){this._setIsValidating(e,o)
var n=this[xe],r=Object.entries(n)
return Promise.all(r).then((function(){return o.then((function(l){return delete n[e],a._handleValidation(l,{key:e,value:t})})).then((function(t){return a.trigger(He,e),t}))}))}var c=this._handleValidation(o,{key:e,value:t})
return this.trigger(He,e),c},e.prototype._handleValidation=function(e,t){var a=t.key,l=t.value,i=!0===e||Array.isArray(e)&&1===e.length&&!0===e[0]
return this[ze]=this._deleteKey(Me,a),i?l:this.addError(a,{value:l,validation:e})},e.prototype._validate=function(e,t,a){var l=this[Ae],i=this[ye]
if("function"==typeof l){var o=l({key:e,newValue:t,oldValue:a,changes:this.change,content:i})
return void 0===o||o}return!0},e.prototype._setProperty=function(e){var t,a,l=e.key,i=e.value,n=e.oldValue,r=this[be]
if(a=n,((t=i)instanceof Date&&a instanceof Date?t.getTime()===a.getTime():t===a)&&void 0!==n)O(r,l)&&(this[be]=this._deleteKey(be,l))
else{var c=this.setDeep(r,l,new o(i),{safeSet:this.safeSet})
this[be]=c}},e.prototype._setIsValidating=function(e,t){var a=this[xe]
this.setDeep(a,e,t)},e.prototype._notifyVirtualProperties=function(e){return e||(e=this._rollbackKeys()),e},e.prototype._rollbackKeys=function(){var e=this[be],t=this[ze]
return pe(new Set(pe(me(e),me(t))))},e.prototype._deleteKey=function(e,t){void 0===t&&(t="")
var a=this[e],l=t.split(".")
if(1===l.length&&a.hasOwnProperty(t))delete a[t]
else if(a[l[0]])for(var i=ve(l),o=i[0],r=i.slice(1),c=a,h=a[o],s=o;this.isObject(h)&&s;){var d=h;(n(d)||void 0!==d.value||d.validation)&&delete c[s],c=h,(s=r.shift())&&(h=h[s])}return a},e.prototype.get=function(e){var t=ve(e.split(".")),a=t[0],i=t.slice(1),o=this[be],c=this[ye]
if(Object.prototype.hasOwnProperty.call(o,a)){var h=this.getDeep(o,e)
if(!this.isObject(h)&&void 0!==h)return h}if(Object.prototype.hasOwnProperty.call(o,a)&&V(o)){var s=o[a],d=H(s)
if(this.isObject(d)){var u=this.maybeUnwrapProxy(this.getDeep(d,i.join(".")))
if(void 0===u&&function(e,t,a){var l,i
if(n(e))return!1
var o=t.split("."),r=e
try{for(var c=w(o),h=c.next();!h.done;h=c.next()){var s=h.value
if(!r)return!1
if(o[o.length-1]!==s&&n(a(r,s)))return!0
r=a(r,s)}}catch(e){l={error:e}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(l)throw l.error}}return!1}(o,e,this.safeGet)&&!function(e,t,a){var l,i,o=t.split("."),c=e
try{for(var h=w(o),s=h.next();!s.done;s=h.next()){var d=s.value
if(!c||!Object.prototype.hasOwnProperty.call(c,d))return!1
c=a(c,d),n(c)&&(c=r(c))}}catch(e){l={error:e}}finally{try{s&&!s.done&&(i=h.return)&&i.call(h)}finally{if(l)throw l.error}}return!0}(o,e,this.safeGet)&&this.getDeep(c,e))return
if(this.isObject(u)){if(n(u))return r(u)
var f=this.safeGet(c,a)||{},v=this.getDeep(f,i.join(".")),p=function(e,t){var a=e
if(-1===t.indexOf("."))return a[t]
for(var l="string"==typeof t?t.split("."):t,i=0;i{var l=a(4977),i=a(5689)
e.exports=function e(t){if(!(this instanceof e))return new e(t)
var a=(t||"").replace(/^\//,""),o=i()
return n._trie=o,n.on=function(e,t){if(l.equal(typeof e,"string"),l.equal(typeof t,"function"),e=e||"/",t._wayfarer&&t._trie)o.mount(e,t._trie.trie)
else{var a=o.create(e)
a.cb=t,a.route=e}return n},n.emit=n,n.match=r,n._wayfarer=!0,n
function n(e){var t=r(e),a=new Array(arguments.length)
a[0]=t.params
for(var l=1;l{var l=a(4977)
function i(){if(!(this instanceof i))return new i
this.trie={nodes:{}}}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=i,i.prototype.create=function(e){l.equal(typeof e,"string","route should be a string")
var t=e.replace(/^\//,"").split("/")
return function e(a,l){var i=o(t,a)&&t[a]
if(!1===i)return l
var n=null
return/^:|^\*/.test(i)?(o(l.nodes,"$$")?n=l.nodes.$$:(n={nodes:{}},l.nodes.$$=n),"*"===i[0]&&(l.wildcard=!0),l.name=i.replace(/^:|^\*/,"")):o(l.nodes,i)?n=l.nodes[i]:(n={nodes:{}},l.nodes[i]=n),e(a+1,n)}(0,this.trie)},i.prototype.match=function(e){l.equal(typeof e,"string","route should be a string")
var t=e.replace(/^\//,"").split("/"),a={},i=function e(l,i){if(void 0!==i){var n=t[l]
if(void 0===n)return i
if(o(i.nodes,n))return e(l+1,i.nodes[n])
if(i.name){try{a[i.name]=decodeURIComponent(n)}catch(t){return e(l,void 0)}return e(l+1,i.nodes.$$)}if(i.wildcard){try{a.wildcard=decodeURIComponent(t.slice(l).join("/"))}catch(t){return e(l,void 0)}return i.nodes.$$}return e(l+1)}}(0,this.trie)
if(i)return(i=Object.assign({},i)).params=a,i},i.prototype.mount=function(e,t){l.equal(typeof e,"string","route should be a string"),l.equal(typeof t,"object","trie should be a object")
var a=e.replace(/^\//,"").split("/"),i=null,o=null
if(1===a.length)o=a[0],i=this.create(o)
else{var n=a.join("/")
o=a[0],i=this.create(n)}Object.assign(i.nodes,t.nodes),t.name&&(i.name=t.name),i.nodes[""]&&(Object.keys(i.nodes[""]).forEach((function(e){"nodes"!==e&&(i[e]=i.nodes[""][e])})),Object.assign(i.nodes,i.nodes[""].nodes),delete i.nodes[""].nodes)}},2959:(e,t,a)=>{"use strict"
a.r(t)},8531:(e,t,a)=>{"use strict"
a.r(t),a.d(t,{CSSResult:()=>r,ReactiveElement:()=>z,adoptStyles:()=>s,css:()=>h,defaultConverter:()=>y,getCompatibleStyle:()=>d,notEqual:()=>g,supportsAdoptingStyleSheets:()=>i,unsafeCSS:()=>c})
const l=window,i=l.ShadowRoot&&(void 0===l.ShadyCSS||l.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),n=new WeakMap
class r{constructor(e,t,a){if(this._$cssResult$=!0,a!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.")
this.cssText=e,this.t=t}get styleSheet(){let e=this.o
const t=this.t
if(i&&void 0===e){const a=void 0!==t&&1===t.length
a&&(e=n.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),a&&n.set(t,e))}return e}toString(){return this.cssText}}const c=e=>new r("string"==typeof e?e:e+"",void 0,o),h=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),l=1;lt+(e=>{if(!0===e._$cssResult$)return e.cssText
if("number"==typeof e)return e
throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+e[l+1]),e[0])
return new r(i,e,o)},s=(e,t)=>{i?e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):t.forEach((t=>{const a=document.createElement("style"),i=l.litNonce
void 0!==i&&a.setAttribute("nonce",i),a.textContent=t.cssText,e.appendChild(a)}))},d=i?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t=""
for(const a of e.cssRules)t+=a.cssText
return c(t)})(e):e
var u
const f=window,v=f.trustedTypes,p=v?v.emptyScript:"",m=f.reactiveElementPolyfillSupport,y={toAttribute(e,t){switch(t){case Boolean:e=e?p:null
break
case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let a=e
switch(t){case Boolean:a=null!==e
break
case Number:a=null===e?null:Number(e)
break
case Object:case Array:try{a=JSON.parse(e)}catch(e){a=null}}return a}},g=(e,t)=>t!==e&&(t==t||e==e),b={attribute:!0,type:String,converter:y,reflect:!1,hasChanged:g}
class z extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(e){var t
this.finalize(),(null!==(t=this.h)&&void 0!==t?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize()
const e=[]
return this.elementProperties.forEach(((t,a)=>{const l=this._$Ep(a,t)
void 0!==l&&(this._$Ev.set(l,a),e.push(l))})),e}static createProperty(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b
if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const a="symbol"==typeof e?Symbol():"__"+e,l=this.getPropertyDescriptor(e,a,t)
void 0!==l&&Object.defineProperty(this.prototype,e,l)}}static getPropertyDescriptor(e,t,a){return{get(){return this[t]},set(l){const i=this[e]
this[t]=l,this.requestUpdate(e,i,a)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||b}static finalize(){if(this.hasOwnProperty("finalized"))return!1
this.finalized=!0
const e=Object.getPrototypeOf(this)
if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)]
for(const a of t)this.createProperty(a,e[a])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[]
if(Array.isArray(e)){const a=new Set(e.flat(1/0).reverse())
for(const e of a)t.unshift(d(e))}else void 0!==e&&t.push(d(e))
return t}static _$Ep(e,t){const a=t.attribute
return!1===a?void 0:"string"==typeof a?a:"string"==typeof e?e.toLowerCase():void 0}u(){var e
this._$E_=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(e=this.constructor.h)||void 0===e||e.forEach((e=>e(this)))}addController(e){var t,a;(null!==(t=this._$ES)&&void 0!==t?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(a=e.hostConnected)||void 0===a||a.call(e))}removeController(e){var t
null===(t=this._$ES)||void 0===t||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])}))}createRenderRoot(){var e
const t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions)
return s(t,this.constructor.elementStyles),t}connectedCallback(){var e
void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t
return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}enableUpdating(e){}disconnectedCallback(){var e
null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t
return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}attributeChangedCallback(e,t,a){this._$AK(e,a)}_$EO(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b
var l
const i=this.constructor._$Ep(e,a)
if(void 0!==i&&!0===a.reflect){const o=(void 0!==(null===(l=a.converter)||void 0===l?void 0:l.toAttribute)?a.converter:y).toAttribute(t,a.type)
this._$El=e,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._$El=null}}_$AK(e,t){var a
const l=this.constructor,i=l._$Ev.get(e)
if(void 0!==i&&this._$El!==i){const e=l.getPropertyOptions(i),o="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null===(a=e.converter)||void 0===a?void 0:a.fromAttribute)?e.converter:y
this._$El=i,this[i]=o.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,a){let l=!0
void 0!==e&&(((a=a||this.constructor.getPropertyOptions(e)).hasChanged||g)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===a.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,a))):l=!1),!this.isUpdatePending&&l&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0
try{await this._$E_}catch(e){Promise.reject(e)}const e=this.scheduleUpdate()
return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e
if(!this.isUpdatePending)return
this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((e,t)=>this[t]=e)),this._$Ei=void 0)
let t=!1
const a=this._$AL
try{t=this.shouldUpdate(a),t?(this.willUpdate(a),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t
return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(a)):this._$Ek()}catch(e){throw t=!1,this._$Ek(),e}t&&this._$AE(a)}willUpdate(e){}_$AE(e){var t
null===(t=this._$ES)||void 0===t||t.forEach((e=>{var t
return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach(((e,t)=>this._$EO(t,this[t],e))),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}}z.finalized=!0,z.elementProperties=new Map,z.elementStyles=[],z.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:z}),(null!==(u=f.reactiveElementVersions)&&void 0!==u?u:f.reactiveElementVersions=[]).push("1.6.1")}}])