/*! For license information please see app-4645da0.js.LICENSE.txt */
(self.webpackChunkopenreplay=self.webpackChunkopenreplay||[]).push([[288],{20439:(e,t,n)=>{"use strict";n.d(t,{z1:()=>S,cM:()=>y,bK:()=>x,uy:()=>b});var r=n(62456),o=n(76250),i=2,a=.16,s=.05,l=.05,c=.15,u=5,d=4,f=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function h(e){var t=e.r,n=e.g,o=e.b,i=(0,r.wE)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function p(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.Ob)(t,n,o,!1))}function m(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-i*t:Math.round(e.h)+i*t:n?Math.round(e.h)+i*t:Math.round(e.h)-i*t)<0?r+=360:r>=360&&(r-=360),r}function v(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-a*t:t===d?e.s+a:e.s+s*t)>1&&(r=1),n&&t===u&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function g(e,t,n){var r;return(r=n?e.v+l*t:e.v-c*t)>1&&(r=1),Number(r.toFixed(2))}function y(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.RO)(e),i=u;i>0;i-=1){var a=h(r),s=p((0,o.RO)({h:m(a,i,!0),s:v(a,i,!0),v:g(a,i,!0)}));n.push(s)}n.push(p(r));for(var l=1;l<=d;l+=1){var c=h(r),y=p((0,o.RO)({h:m(c,l),s:v(c,l),v:g(c,l)}));n.push(y)}return"dark"===t.theme?f.map((function(e){var r,i,a,s=e.index,l=e.opacity;return p((r=(0,o.RO)(t.backgroundColor||"#141414"),a=100*l/100,{r:((i=(0,o.RO)(n[s])).r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b}))})):n}var b={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},w={},E={};Object.keys(b).forEach((function(e){w[e]=y(b[e]),w[e].primary=w[e][5],E[e]=y(b[e],{theme:"dark",backgroundColor:"#141414"}),E[e].primary=E[e][5]})),w.red,w.volcano;var x=w.gold,S=(w.orange,w.yellow,w.lime,w.green,w.cyan,w.blue);w.geekblue,w.purple,w.magenta,w.grey,w.grey},21880:(e,t,n)=>{"use strict";n.d(t,{Mo:()=>ut,an:()=>N,Q7:()=>P,Ki:()=>q,zA:()=>U,RC:()=>ct,hV:()=>se,IV:()=>st});var r=n(64467),o=n(5544),i=n(60436),a=n(89379);const s=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)};var l=n(85089),c=n(96540),u=n.t(c,2),d=(n(28104),n(43210),n(23029)),f=n(92901),h="%";function p(e){return e.join(h)}const m=function(){function e(t){(0,d.A)(this,e),(0,r.A)(this,"instanceId",void 0),(0,r.A)(this,"cache",new Map),this.instanceId=t}return(0,f.A)(e,[{key:"get",value:function(e){return this.opGet(p(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(p(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}();var v="data-token-hash",g="data-css-hash",y="__cssinjs_instance__";const b=c.createContext({hashPriority:"low",cache:function(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(g,"]"))||[],n=document.head.firstChild;Array.from(t).forEach((function(t){t[y]=t[y]||e,t[y]===e&&document.head.insertBefore(t,n)}));var r={};Array.from(document.querySelectorAll("style[".concat(g,"]"))).forEach((function(t){var n,o=t.getAttribute(g);r[o]?t[y]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0}))}return new m(e)}(),defaultCache:!0});var w=n(82284),E=n(20998),x=n(9417),S=n(85501),_=n(29426);const O=(0,f.A)((function e(){(0,d.A)(this,e)}));var C="CALC_UNIT",A=new RegExp(C,"g");function k(e){return"number"==typeof e?"".concat(e).concat(C):e}var M=function(e){(0,S.A)(n,e);var t=(0,_.A)(n);function n(e,o){var i;(0,d.A)(this,n),i=t.call(this),(0,r.A)((0,x.A)(i),"result",""),(0,r.A)((0,x.A)(i),"unitlessCssVar",void 0),(0,r.A)((0,x.A)(i),"lowPriority",void 0);var a=(0,w.A)(e);return i.unitlessCssVar=o,e instanceof n?i.result="(".concat(e.result,")"):"number"===a?i.result=k(e):"string"===a&&(i.result=e),i}return(0,f.A)(n,[{key:"add",value:function(e){return e instanceof n?this.result="".concat(this.result," + ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," + ").concat(k(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result="".concat(this.result," - ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," - ").concat(k(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," * ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," / ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,r=!0;return"boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some((function(e){return t.result.includes(e)}))&&(r=!1),this.result=this.result.replace(A,r?"px":""),void 0!==this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),n}(O),T=function(e){(0,S.A)(n,e);var t=(0,_.A)(n);function n(e){var o;return(0,d.A)(this,n),o=t.call(this),(0,r.A)((0,x.A)(o),"result",0),e instanceof n?o.result=e.result:"number"==typeof e&&(o.result=e),o}return(0,f.A)(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(O);const P=function(e,t){var n="css"===e?M:T;return function(e){return new n(e,t)}};var I=function(){function e(){(0,d.A)(this,e),(0,r.A)(this,"cache",void 0),(0,r.A)(this,"keys",void 0),(0,r.A)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,f.A)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t;o=o?null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):void 0})),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce((function(e,t){var n=(0,o.A)(e,2)[1];return r.internalGet(t)[1]<n?[t,r.internalGet(t)[1]]:e}),[this.keys[0],this.cacheCallTimes]),a=(0,o.A)(i,1)[0];this.delete(a)}this.keys.push(t)}var s=this.cache;t.forEach((function(e,o){if(o===t.length-1)s.set(e,{value:[n,r.cacheCallTimes++]});else{var i=s.get(e);i?i.map||(i.map=new Map):s.set(e,{map:new Map}),s=s.get(e).map}}))}},{key:"deleteByPath",value:function(e,t){var n,r=e.get(t[0]);if(1===t.length)return r.map?e.set(t[0],{map:r.map}):e.delete(t[0]),null===(n=r.value)||void 0===n?void 0:n[0];var o=this.deleteByPath(r.map,t.slice(1));return r.map&&0!==r.map.size||r.value||e.delete(t[0]),o}},{key:"delete",value:function(e){if(this.has(e))return this.keys=this.keys.filter((function(t){return!function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,e)})),this.deleteByPath(this.cache,e)}}]),e}();(0,r.A)(I,"MAX_CACHE_SIZE",20),(0,r.A)(I,"MAX_CACHE_OFFSET",5);var j=n(68210),z=0,D=function(){function e(t){(0,d.A)(this,e),(0,r.A)(this,"derivatives",void 0),(0,r.A)(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=z,0===t.length&&(0,j.$e)(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),z+=1}return(0,f.A)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,n){return n(e,t)}),void 0)}}]),e}(),R=new I;function N(e){var t=Array.isArray(e)?e:[e];return R.has(t)||R.set(t,new D(t)),R.get(t)}var $=new WeakMap,F={},L=new WeakMap;function B(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=L.get(e)||"";return n||(Object.keys(e).forEach((function(r){var o=e[r];n+=r,o instanceof D?n+=o.id:o&&"object"===(0,w.A)(o)?n+=B(o,t):n+=o})),t&&(n=s(n)),L.set(e,n)),n}function H(e,t){return s("".concat(t,"_").concat(B(e,!0)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var V=(0,E.A)();function U(e){return"number"==typeof e?"".concat(e,"px"):e}function W(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var i=(0,a.A)((0,a.A)({},o),{},(0,r.A)((0,r.A)({},v,t),g,n)),s=Object.keys(i).map((function(e){var t=i[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"<style ".concat(s,">").concat(e,"</style>")}var q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},K=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var t=(0,o.A)(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")})).join(""),"}"):""},G=function(e,t,n){var r={},i={};return Object.entries(e).forEach((function(e){var t,a,s=(0,o.A)(e,2),l=s[0],c=s[1];if(null!=n&&null!==(t=n.preserve)&&void 0!==t&&t[l])i[l]=c;else if(!("string"!=typeof c&&"number"!=typeof c||null!=n&&null!==(a=n.ignore)&&void 0!==a&&a[l])){var u,d=q(l,null==n?void 0:n.prefix);r[d]="number"!=typeof c||null!=n&&null!==(u=n.unitless)&&void 0!==u&&u[l]?String(c):"".concat(c,"px"),i[l]="var(".concat(d,")")}})),[i,K(r,t,{scope:null==n?void 0:n.scope})]},X=n(30981),Y=(0,a.A)({},u).useInsertionEffect;const Z=Y?function(e,t,n){return Y((function(){return e(),t()}),n)}:function(e,t,n){c.useMemo(e,n),(0,X.A)((function(){return t(!0)}),n)},J=void 0!==(0,a.A)({},u).useInsertionEffect?function(e){var t=[],n=!1;return c.useEffect((function(){return n=!1,function(){n=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){n||t.push(e)}}:function(){return function(e){e()}},Q=function(){return!1};function ee(e,t,n,r,a){var s=c.useContext(b).cache,l=p([e].concat((0,i.A)(t))),u=J([l]),d=(Q(),function(e){s.opUpdate(l,(function(t){var r=t||[void 0,void 0],i=(0,o.A)(r,2),a=i[0],s=[void 0===a?0:a,i[1]||n()];return e?e(s):s}))});c.useMemo((function(){d()}),[l]);var f=s.opGet(l)[1];return Z((function(){null==a||a(f)}),(function(e){return d((function(t){var n=(0,o.A)(t,2),r=n[0],i=n[1];return e&&0===r&&(null==a||a(f)),[r+1,i]})),function(){s.opUpdate(l,(function(t){var n=t||[],i=(0,o.A)(n,2),a=i[0],c=void 0===a?0:a,d=i[1];return 0==c-1?(u((function(){!e&&s.opGet(l)||null==r||r(d,!1)})),null):[c-1,d]}))}}),[l]),f}var te={},ne="css",re=new Map,oe=0;var ie=function(e,t,n,r){var o=n.getDerivativeToken(e),i=(0,a.A)((0,a.A)({},o),t);return r&&(i=r(i)),i},ae="token";function se(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,c.useContext)(b),u=r.cache.instanceId,d=r.container,f=n.salt,h=void 0===f?"":f,p=n.override,m=void 0===p?te:p,w=n.formatToken,E=n.getComputedToken,x=n.cssVar,S=function(e,n){for(var r=$,o=0;o<n.length;o+=1){var a=n[o];r.has(a)||r.set(a,new WeakMap),r=r.get(a)}return r.has(F)||r.set(F,Object.assign.apply(Object,[{}].concat((0,i.A)(t)))),r.get(F)}(0,t),_=B(S),O=B(m),C=x?B(x):"",A=ee(ae,[h,e.id,_,O,C],(function(){var t,n=E?E(S,m,e):ie(S,m,e,w),r=(0,a.A)({},n),i="";if(x){var l=G(n,x.key,{prefix:x.prefix,ignore:x.ignore,unitless:x.unitless,preserve:x.preserve}),c=(0,o.A)(l,2);n=c[0],i=c[1]}var u=H(n,h);n._tokenKey=u,r._tokenKey=H(r,h);var d=null!==(t=null==x?void 0:x.key)&&void 0!==t?t:u;n._themeKey=d,function(e){re.set(e,(re.get(e)||0)+1)}(d);var f="".concat(ne,"-").concat(s(u));return n._hashId=f,[n,f,r,i,(null==x?void 0:x.key)||""]}),(function(e){!function(e,t){re.set(e,(re.get(e)||0)-1);var n=Array.from(re.keys()),r=n.filter((function(e){return(re.get(e)||0)<=0}));n.length-r.length>oe&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(v,'="').concat(e,'"]')).forEach((function(e){var n;e[y]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),re.delete(e)}))}(e[0]._themeKey,u)}),(function(e){var t=(0,o.A)(e,4),n=t[0],r=t[3];if(x&&r){var i=(0,l.BD)(r,s("css-variables-".concat(n._themeKey)),{mark:g,prepend:"queue",attachTo:d,priority:-999});i[y]=u,i.setAttribute(v,n._themeKey)}}));return A}var le=n(58168);const ce={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ue="comm",de="rule",fe="decl",he="@import",pe="@keyframes",me="@layer",ve=Math.abs,ge=String.fromCharCode;function ye(e){return e.trim()}function be(e,t,n){return e.replace(t,n)}function we(e,t,n){return e.indexOf(t,n)}function Ee(e,t){return 0|e.charCodeAt(t)}function xe(e,t,n){return e.slice(t,n)}function Se(e){return e.length}function _e(e,t){return t.push(e),e}function Oe(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Ce(e,t,n,r){switch(e.type){case me:if(e.children.length)break;case he:case fe:return e.return=e.return||e.value;case ue:return"";case pe:return e.return=e.value+"{"+Oe(e.children,r)+"}";case de:if(!Se(e.value=e.props.join(",")))return""}return Se(n=Oe(e.children,r))?e.return=e.value+"{"+n+"}":""}Object.assign;var Ae=1,ke=1,Me=0,Te=0,Pe=0,Ie="";function je(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Ae,column:ke,length:a,return:"",siblings:s}}function ze(){return Pe=Te>0?Ee(Ie,--Te):0,ke--,10===Pe&&(ke=1,Ae--),Pe}function De(){return Pe=Te<Me?Ee(Ie,Te++):0,ke++,10===Pe&&(ke=1,Ae++),Pe}function Re(){return Ee(Ie,Te)}function Ne(){return Te}function $e(e,t){return xe(Ie,e,t)}function Fe(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Le(e){return ye($e(Te-1,Ve(91===e?e+2:40===e?e+1:e)))}function Be(e){for(;(Pe=Re())&&Pe<33;)De();return Fe(e)>2||Fe(Pe)>3?"":" "}function He(e,t){for(;--t&&De()&&!(Pe<48||Pe>102||Pe>57&&Pe<65||Pe>70&&Pe<97););return $e(e,Ne()+(t<6&&32==Re()&&32==De()))}function Ve(e){for(;De();)switch(Pe){case e:return Te;case 34:case 39:34!==e&&39!==e&&Ve(Pe);break;case 40:41===e&&Ve(e);break;case 92:De()}return Te}function Ue(e,t){for(;De()&&e+Pe!==57&&(e+Pe!==84||47!==Re()););return"/*"+$e(t,Te-1)+"*"+ge(47===e?e:De())}function We(e){for(;!Fe(Re());)De();return $e(e,Te)}function qe(e){return function(e){return Ie="",e}(Ke("",null,null,null,[""],e=function(e){return Ae=ke=1,Me=Se(Ie=e),Te=0,[]}(e),0,[0],e))}function Ke(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,f=0,h=0,p=0,m=1,v=1,g=1,y=0,b="",w=o,E=i,x=r,S=b;v;)switch(p=y,y=De()){case 40:if(108!=p&&58==Ee(S,d-1)){-1!=we(S+=be(Le(y),"&","&\f"),"&\f",ve(c?s[c-1]:0))&&(g=-1);break}case 34:case 39:case 91:S+=Le(y);break;case 9:case 10:case 13:case 32:S+=Be(p);break;case 92:S+=He(Ne()-1,7);continue;case 47:switch(Re()){case 42:case 47:_e(Xe(Ue(De(),Ne()),t,n,l),l);break;default:S+="/"}break;case 123*m:s[c++]=Se(S)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+u:-1==g&&(S=be(S,/\f/g,"")),h>0&&Se(S)-d&&_e(h>32?Ye(S+";",r,n,d-1,l):Ye(be(S," ","")+";",r,n,d-2,l),l);break;case 59:S+=";";default:if(_e(x=Ge(S,t,n,c,u,o,s,b,w=[],E=[],d,i),i),123===y)if(0===u)Ke(S,t,x,x,w,i,d,s,E);else switch(99===f&&110===Ee(S,3)?100:f){case 100:case 108:case 109:case 115:Ke(e,x,x,r&&_e(Ge(e,x,x,0,0,o,s,b,o,w=[],d,E),E),o,E,d,s,r?w:E);break;default:Ke(S,x,x,x,[""],E,0,s,E)}}c=u=h=0,m=g=1,b=S="",d=a;break;case 58:d=1+Se(S),h=p;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==ze())continue;switch(S+=ge(y),y*m){case 38:g=u>0?1:(S+="\f",-1);break;case 44:s[c++]=(Se(S)-1)*g,g=1;break;case 64:45===Re()&&(S+=Le(De())),f=Re(),u=d=Se(b=S+=We(Ne())),y++;break;case 45:45===p&&2==Se(S)&&(m=0)}}return i}function Ge(e,t,n,r,o,i,a,s,l,c,u,d){for(var f=o-1,h=0===o?i:[""],p=function(e){return e.length}(h),m=0,v=0,g=0;m<r;++m)for(var y=0,b=xe(e,f+1,f=ve(v=a[m])),w=e;y<p;++y)(w=ye(v>0?h[y]+" "+b:be(b,/&\f/g,h[y])))&&(l[g++]=w);return je(e,t,n,0===o?de:s,l,c,u,d)}function Xe(e,t,n,r){return je(e,t,n,ue,ge(Pe),xe(e,2,-2),0,r)}function Ye(e,t,n,r,o){return je(e,t,n,fe,xe(e,0,r),xe(e,r+1,-1),r,o)}var Ze,Je="data-ant-cssinjs-cache-path",Qe="_FILE_STYLE__",et=!0;var tt="_multi_value_";function nt(e){return Oe(qe(e),Ce).replace(/\{%%%\:[^;];}/g,";")}var rt=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},s=r.root,l=r.injectHash,c=r.parentSelectors,u=n.hashId,d=n.layer,f=(n.path,n.hashPriority),h=n.transformers,p=void 0===h?[]:h,m=(n.linters,""),v={};function g(t){var r=t.getName(u);if(!v[r]){var i=e(t.style,n,{root:!1,parentSelectors:c}),a=(0,o.A)(i,1)[0];v[r]="@keyframes ".concat(t.getName(u)).concat(a)}}var y=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(t)?t:[t]);return y.forEach((function(t){var r="string"!=typeof t||s?t:{};if("string"==typeof r)m+="".concat(r,"\n");else if(r._keyframe)g(r);else{var d=p.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r);Object.keys(d).forEach((function(t){var r=d[t];if("object"!==(0,w.A)(r)||!r||"animationName"===t&&r._keyframe||function(e){return"object"===(0,w.A)(e)&&e&&("_skip_check_"in e||tt in e)}(r)){var h;function C(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;ce[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(g(t),r=t.getName(u)),m+="".concat(n,":").concat(r,";")}var p=null!==(h=null==r?void 0:r.value)&&void 0!==h?h:r;"object"===(0,w.A)(r)&&null!=r&&r[tt]&&Array.isArray(p)?p.forEach((function(e){C(t,e)})):C(t,p)}else{var y=!1,b=t.trim(),E=!1;(s||l)&&u?b.startsWith("@")?y=!0:b=function(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",a=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(a).concat(o).concat(r.slice(a.length))].concat((0,i.A)(n.slice(1))).join(" ")})).join(",")}(t,u,f):!s||u||"&"!==b&&""!==b||(b="",E=!0);var x=e(r,n,{root:E,injectHash:y,parentSelectors:[].concat((0,i.A)(c),[b])}),S=(0,o.A)(x,2),_=S[0],O=S[1];v=(0,a.A)((0,a.A)({},v),O),m+="".concat(b).concat(_)}}))}})),s?d&&(m="@layer ".concat(d.name," {").concat(m,"}"),d.dependencies&&(v["@layer ".concat(d.name)]=d.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(d.name,";")})).join("\n"))):m="{".concat(m,"}"),[m,v]};function ot(e,t){return s("".concat(e.join("%")).concat(t))}function it(){return null}var at="style";function st(e,t){var n=e.token,s=e.path,u=e.hashId,d=e.layer,f=e.nonce,h=e.clientOnly,p=e.order,m=void 0===p?0:p,w=c.useContext(b),x=w.autoClear,S=(w.mock,w.defaultCache),_=w.hashPriority,O=w.container,C=w.ssrInline,A=w.transformers,k=w.linters,M=w.cache,T=w.layer,P=n._tokenKey,I=[P];T&&I.push("layer"),I.push.apply(I,(0,i.A)(s));var j=V,z=ee(at,I,(function(){var e=I.join("|");if(function(e){return function(){if(!Ze&&(Ze={},(0,E.A)())){var e=document.createElement("div");e.className=Je,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=e.split(":"),n=(0,o.A)(t,2),r=n[0],i=n[1];Ze[r]=i}));var n,r=document.querySelector("style[".concat(Je,"]"));r&&(et=!1,null===(n=r.parentNode)||void 0===n||n.removeChild(r)),document.body.removeChild(e)}}(),!!Ze[e]}(e)){var n=function(e){var t=Ze[e],n=null;if(t&&(0,E.A)())if(et)n=Qe;else{var r=document.querySelector("style[".concat(g,'="').concat(Ze[e],'"]'));r?n=r.innerHTML:delete Ze[e]}return[n,t]}(e),r=(0,o.A)(n,2),i=r[0],a=r[1];if(i)return[i,P,a,{},h,m]}var l=t(),c=rt(l,{hashId:u,hashPriority:_,layer:T?d:void 0,path:s.join("-"),transformers:A,linters:k}),f=(0,o.A)(c,2),p=f[0],v=f[1],y=nt(p),b=ot(I,y);return[y,P,b,v,h,m]}),(function(e,t){var n=(0,o.A)(e,3)[2];(t||x)&&V&&(0,l.m6)(n,{mark:g})}),(function(e){var t=(0,o.A)(e,4),n=t[0],r=(t[1],t[2]),i=t[3];if(j&&n!==Qe){var s={mark:g,prepend:!T&&"queue",attachTo:O,priority:m},c="function"==typeof f?f():f;c&&(s.csp={nonce:c});var u=[],d=[];Object.keys(i).forEach((function(e){e.startsWith("@layer")?u.push(e):d.push(e)})),u.forEach((function(e){(0,l.BD)(nt(i[e]),"_layer-".concat(e),(0,a.A)((0,a.A)({},s),{},{prepend:!0}))}));var h=(0,l.BD)(n,r,s);h[y]=M.instanceId,h.setAttribute(v,P),d.forEach((function(e){(0,l.BD)(nt(i[e]),"_effect-".concat(e),s)}))}})),D=(0,o.A)(z,3),R=D[0],N=D[1],$=D[2];return function(e){var t;return t=C&&!j&&S?c.createElement("style",(0,le.A)({},(0,r.A)((0,r.A)({},v,N),g,$),{dangerouslySetInnerHTML:{__html:R}})):c.createElement(it,null),c.createElement(c.Fragment,null,t,e)}}var lt="cssVar";const ct=function(e,t){var n=e.key,r=e.prefix,a=e.unitless,s=e.ignore,u=e.token,d=e.scope,f=void 0===d?"":d,h=(0,c.useContext)(b),p=h.cache.instanceId,m=h.container,w=u._tokenKey,E=[].concat((0,i.A)(e.path),[n,f,w]);return ee(lt,E,(function(){var e=t(),i=G(e,n,{prefix:r,unitless:a,ignore:s,scope:f}),l=(0,o.A)(i,2),c=l[0],u=l[1];return[c,u,ot(E,u),n]}),(function(e){var t=(0,o.A)(e,3)[2];V&&(0,l.m6)(t,{mark:g})}),(function(e){var t=(0,o.A)(e,3),r=t[1],i=t[2];if(r){var a=(0,l.BD)(r,i,{mark:g,prepend:"queue",attachTo:m,priority:-999});a[y]=p,a.setAttribute(v,n)}}))};(0,r.A)((0,r.A)((0,r.A)({},at,(function(e,t,n){var r=(0,o.A)(e,6),i=r[0],a=r[1],s=r[2],l=r[3],c=r[4],u=r[5],d=(n||{}).plain;if(c)return null;var f=i,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return f=W(i,a,s,h,d),l&&Object.keys(l).forEach((function(e){if(!t[e]){t[e]=!0;var n=W(nt(l[e]),a,"_effect-".concat(e),h,d);e.startsWith("@layer")?f=n+f:f+=n}})),[u,s,f]})),ae,(function(e,t,n){var r=(0,o.A)(e,5),i=r[2],a=r[3],s=r[4],l=(n||{}).plain;if(!a)return null;var c=i._tokenKey;return[-999,c,W(a,s,c,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]})),lt,(function(e,t,n){var r=(0,o.A)(e,4),i=r[1],a=r[2],s=r[3],l=(n||{}).plain;return i?[-999,a,W(i,s,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]:null}));const ut=function(){function e(t,n){(0,d.A)(this,e),(0,r.A)(this,"name",void 0),(0,r.A)(this,"style",void 0),(0,r.A)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,f.A)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function dt(e){return e.notSplit=!0,e}dt(["borderTop","borderBottom"]),dt(["borderTop"]),dt(["borderBottom"]),dt(["borderLeft","borderRight"]),dt(["borderLeft"]),dt(["borderRight"])},72680:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"}},94619:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"}},57518:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"}},98535:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"}},63187:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"}},805:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"}},28838:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"}},62257:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"}},17095:(e,t,n)=>{"use strict";n.d(t,{A:()=>M});var r=n(58168),o=n(5544),i=n(64467),a=n(80045),s=n(96540),l=n(46942),c=n.n(l),u=n(20439);const d=(0,s.createContext)({});var f=n(89379),h=n(82284),p=n(85089),m=n(72633),v=n(68210);function g(e){return"object"===(0,h.A)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,h.A)(e.icon)||"function"==typeof e.icon)}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,o=e[n];return"class"===n?(t.className=o,delete t.class):(delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o),t}),{})}function b(e,t,n){return n?s.createElement(e.tag,(0,f.A)((0,f.A)({key:t},y(e.attrs)),n),(e.children||[]).map((function(n,r){return b(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):s.createElement(e.tag,(0,f.A)({key:t},y(e.attrs)),(e.children||[]).map((function(n,r){return b(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function w(e){return(0,u.cM)(e)[0]}function E(e){return e?Array.isArray(e)?e:[e]:[]}var x=["icon","className","onClick","style","primaryColor","secondaryColor"],S={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},_=function(e){var t,n,r,o,i,l,c,u=e.icon,h=e.className,y=e.onClick,E=e.style,_=e.primaryColor,O=e.secondaryColor,C=(0,a.A)(e,x),A=s.useRef(),k=S;if(_&&(k={primaryColor:_,secondaryColor:O||w(_)}),t=A,n=(0,s.useContext)(d),r=n.csp,o=n.prefixCls,i="\n.anticon {\n  display: inline-flex;\n  alignItems: center;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n  line-height: 1;\n}\n\n.anticon svg {\n  display: inline-block;\n}\n\n.anticon::before {\n  display: none;\n}\n\n.anticon .anticon-icon {\n  display: block;\n}\n\n.anticon[tabindex] {\n  cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n  display: inline-block;\n  -webkit-animation: loadingCircle 1s infinite linear;\n  animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n\n@keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n",o&&(i=i.replace(/anticon/g,o)),(0,s.useEffect)((function(){var e=t.current,n=(0,m.j)(e);(0,p.BD)(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})}),[]),l=g(u),c="icon should be icon definiton, but got ".concat(u),(0,v.Ay)(l,"[@ant-design/icons] ".concat(c)),!g(u))return null;var M=u;return M&&"function"==typeof M.icon&&(M=(0,f.A)((0,f.A)({},M),{},{icon:M.icon(k.primaryColor,k.secondaryColor)})),b(M.icon,"svg-".concat(M.name),(0,f.A)((0,f.A)({className:h,onClick:y,style:E,"data-icon":M.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},C),{},{ref:A}))};_.displayName="IconReact",_.getTwoToneColors=function(){return(0,f.A)({},S)},_.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;S.primaryColor=t,S.secondaryColor=n||w(t),S.calculated=!!n};const O=_;function C(e){var t=E(e),n=(0,o.A)(t,2),r=n[0],i=n[1];return O.setTwoToneColors({primaryColor:r,secondaryColor:i})}var A=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];C(u.z1.primary);var k=s.forwardRef((function(e,t){var n=e.className,l=e.icon,u=e.spin,f=e.rotate,h=e.tabIndex,p=e.onClick,m=e.twoToneColor,v=(0,a.A)(e,A),g=s.useContext(d),y=g.prefixCls,b=void 0===y?"anticon":y,w=g.rootClassName,x=c()(w,b,(0,i.A)((0,i.A)({},"".concat(b,"-").concat(l.name),!!l.name),"".concat(b,"-spin"),!!u||"loading"===l.name),n),S=h;void 0===S&&p&&(S=-1);var _=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,C=E(m),k=(0,o.A)(C,2),M=k[0],T=k[1];return s.createElement("span",(0,r.A)({role:"img","aria-label":l.name},v,{ref:t,tabIndex:S,onClick:p,className:x}),s.createElement(O,{icon:l,primaryColor:M,secondaryColor:T,style:_}))}));k.displayName="AntdIcon",k.getTwoToneColor=function(){var e=O.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},k.setTwoToneColor=C;const M=k},51802:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),o=n(96540);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};var a=n(17095),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(s)},40562:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),o=n(96540);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"};var a=n(17095),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(s)},8065:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),o=n(96540),i=n(72680),a=n(17095),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i.A}))};const l=o.forwardRef(s)},24959:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),o=n(96540);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"};var a=n(17095),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(s)},62456:(e,t,n)=>{"use strict";n.d(t,{H:()=>d,K6:()=>i,Me:()=>c,Ob:()=>u,YL:()=>s,_:()=>o,g8:()=>h,n6:()=>f,oS:()=>p,wE:()=>l});var r=n(89244);function o(e,t,n){return{r:255*(0,r.Cg)(e,255),g:255*(0,r.Cg)(t,255),b:255*(0,r.Cg)(n,255)}}function i(e,t,n){e=(0,r.Cg)(e,255),t=(0,r.Cg)(t,255),n=(0,r.Cg)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,s=0,l=(o+i)/2;if(o===i)s=0,a=0;else{var c=o-i;switch(s=l>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-n)/c+(t<n?6:0);break;case t:a=(n-e)/c+2;break;case n:a=(e-t)/c+4}a/=6}return{h:a,s,l}}function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function s(e,t,n){var o,i,s;if(e=(0,r.Cg)(e,360),t=(0,r.Cg)(t,100),n=(0,r.Cg)(n,100),0===t)i=n,s=n,o=n;else{var l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;o=a(c,l,e+1/3),i=a(c,l,e),s=a(c,l,e-1/3)}return{r:255*o,g:255*i,b:255*s}}function l(e,t,n){e=(0,r.Cg)(e,255),t=(0,r.Cg)(t,255),n=(0,r.Cg)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,s=o,l=o-i,c=0===o?0:l/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4}a/=6}return{h:a,s:c,v:s}}function c(e,t,n){e=6*(0,r.Cg)(e,360),t=(0,r.Cg)(t,100),n=(0,r.Cg)(n,100);var o=Math.floor(e),i=e-o,a=n*(1-t),s=n*(1-i*t),l=n*(1-(1-i)*t),c=o%6;return{r:255*[n,s,a,a,l,n][c],g:255*[l,n,n,s,a,a][c],b:255*[a,a,l,n,n,s][c]}}function u(e,t,n,o){var i=[(0,r.wl)(Math.round(e).toString(16)),(0,r.wl)(Math.round(t).toString(16)),(0,r.wl)(Math.round(n).toString(16))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function d(e,t,n,o,i){var a,s=[(0,r.wl)(Math.round(e).toString(16)),(0,r.wl)(Math.round(t).toString(16)),(0,r.wl)(Math.round(n).toString(16)),(0,r.wl)((a=o,Math.round(255*parseFloat(a)).toString(16)))];return i&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}function f(e){return h(e)/255}function h(e){return parseInt(e,16)}function p(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}},42434:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},76250:(e,t,n)=>{"use strict";n.d(t,{RO:()=>a});var r=n(62456),o=n(42434),i=n(89244);function a(e){var t={r:0,g:0,b:0},n=1,a=null,s=null,l=null,c=!1,f=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.D[e])e=o.D[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=u.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=u.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=u.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=u.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=u.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=u.hex8.exec(e))?{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),a:(0,r.n6)(n[4]),format:t?"name":"hex8"}:(n=u.hex6.exec(e))?{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),format:t?"name":"hex"}:(n=u.hex4.exec(e))?{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),a:(0,r.n6)(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=u.hex3.exec(e))&&{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r._)(e.r,e.g,e.b),c=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(a=(0,i.Px)(e.s),s=(0,i.Px)(e.v),t=(0,r.Me)(e.h,a,s),c=!0,f="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(a=(0,i.Px)(e.s),l=(0,i.Px)(e.l),t=(0,r.YL)(e.h,a,l),c=!0,f="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.TV)(n),{ok:c,format:e.format||f,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var s="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),c="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),u={CSS_UNIT:new RegExp(s),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+c),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+c),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+c),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},24978:(e,t,n)=>{"use strict";n.d(t,{q:()=>s});var r=n(62456),o=n(42434),i=n(76250),a=n(89244),s=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.oS)(t)),this.originalInput=t;var a=(0,i.RO)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.TV)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.wE)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.wE)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.K6)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.K6)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.Ob)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.H)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.Cg)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.Cg)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.Ob)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.D);t<n.length;t++){var i=n[t],a=i[0];if(e===i[1])return a}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!=e?e:this.format;var n=!1,r=this.a<1&&this.a>=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.J$)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.J$)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.J$)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.J$)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a<t;a++)o.push(new e({h:(r+a*i)%360,s:n.s,l:n.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}()},89244:(e,t,n)=>{"use strict";function r(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function s(e){return 1===e.length?"0"+e:String(e)}n.d(t,{Cg:()=>r,J$:()=>o,Px:()=>a,TV:()=>i,wl:()=>s})},84300:(e,t,n)=>{"use strict";n.d(t,{A:()=>re});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function h(e){return e.length}function p(e,t){return t.push(e),e}var m=1,v=1,g=0,y=0,b=0,w="";function E(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:m,column:v,length:a,return:""}}function x(e,t){return a(E("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return b=y>0?u(w,--y):0,v--,10===b&&(v=1,m--),b}function _(){return b=y<g?u(w,y++):0,v++,10===b&&(v=1,m++),b}function O(){return u(w,y)}function C(){return y}function A(e,t){return d(w,e,t)}function k(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function M(e){return m=v=1,g=f(w=e),y=0,[]}function T(e){return w="",e}function P(e){return s(A(y-1,z(91===e?e+2:40===e?e+1:e)))}function I(e){for(;(b=O())&&b<33;)_();return k(e)>2||k(b)>3?"":" "}function j(e,t){for(;--t&&_()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return A(e,C()+(t<6&&32==O()&&32==_()))}function z(e){for(;_();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&z(b);break;case 40:41===e&&z(e);break;case 92:_()}return y}function D(e,t){for(;_()&&e+b!==57&&(e+b!==84||47!==O()););return"/*"+A(t,y-1)+"*"+i(47===e?e:_())}function R(e){for(;!k(O());)_();return A(e,y)}var N="-ms-",$="-moz-",F="-webkit-",L="comm",B="rule",H="decl",V="@keyframes";function U(e,t){for(var n="",r=h(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function W(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case H:return e.return=e.return||e.value;case L:return"";case V:return e.return=e.value+"{"+U(e.children,r)+"}";case B:e.value=e.props.join(",")}return f(n=U(e.children,r))?e.return=e.value+"{"+n+"}":""}function q(e){return T(K("",null,null,null,[""],e=M(e),0,[0],e))}function K(e,t,n,r,o,a,s,d,h){for(var m=0,v=0,g=s,y=0,b=0,w=0,E=1,x=1,A=1,k=0,M="",T=o,z=a,N=r,$=M;x;)switch(w=k,k=_()){case 40:if(108!=w&&58==u($,g-1)){-1!=c($+=l(P(k),"&","&\f"),"&\f")&&(A=-1);break}case 34:case 39:case 91:$+=P(k);break;case 9:case 10:case 13:case 32:$+=I(w);break;case 92:$+=j(C()-1,7);continue;case 47:switch(O()){case 42:case 47:p(X(D(_(),C()),t,n),h);break;default:$+="/"}break;case 123*E:d[m++]=f($)*A;case 125*E:case 59:case 0:switch(k){case 0:case 125:x=0;case 59+v:-1==A&&($=l($,/\f/g,"")),b>0&&f($)-g&&p(b>32?Y($+";",r,n,g-1):Y(l($," ","")+";",r,n,g-2),h);break;case 59:$+=";";default:if(p(N=G($,t,n,m,v,o,d,M,T=[],z=[],g),a),123===k)if(0===v)K($,t,N,N,T,a,g,d,z);else switch(99===y&&110===u($,3)?100:y){case 100:case 108:case 109:case 115:K(e,N,N,r&&p(G(e,N,N,0,0,o,d,M,o,T=[],g),z),o,z,g,d,r?T:z);break;default:K($,N,N,N,[""],z,0,d,z)}}m=v=b=0,E=A=1,M=$="",g=s;break;case 58:g=1+f($),b=w;default:if(E<1)if(123==k)--E;else if(125==k&&0==E++&&125==S())continue;switch($+=i(k),k*E){case 38:A=v>0?1:($+="\f",-1);break;case 44:d[m++]=(f($)-1)*A,A=1;break;case 64:45===O()&&($+=P(_())),y=O(),v=g=f(M=$+=R(C())),k++;break;case 45:45===w&&2==f($)&&(E=0)}}return a}function G(e,t,n,r,i,a,c,u,f,p,m){for(var v=i-1,g=0===i?a:[""],y=h(g),b=0,w=0,x=0;b<r;++b)for(var S=0,_=d(e,v+1,v=o(w=c[b])),O=e;S<y;++S)(O=s(w>0?g[S]+" "+_:l(_,/&\f/g,g[S])))&&(f[x++]=O);return E(e,t,n,0===i?B:u,f,p,m)}function X(e,t,n){return E(e,t,n,L,i(b),d(e,2,-2),0)}function Y(e,t,n,r){return E(e,t,n,H,d(e,0,r),d(e,r+1,-1),r)}var Z=function(e,t,n){for(var r=0,o=0;r=o,o=O(),38===r&&12===o&&(t[n]=1),!k(o);)_();return A(e,y)},J=new WeakMap,Q=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var o=[],a=function(e,t){return T(function(e,t){var n=-1,r=44;do{switch(k(r)){case 0:38===r&&12===O()&&(t[n]=1),e[n]+=Z(y-1,t,n);break;case 2:e[n]+=P(r);break;case 4:if(44===r){e[++n]=58===O()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=_());return e}(M(e),t))}(t,o),s=n.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)e.props[c]=o[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function te(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return F+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return F+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return F+e+$+e+N+e+e;case 6828:case 4268:return F+e+N+e+e;case 6165:return F+e+N+"flex-"+e+e;case 5187:return F+e+l(e,/(\w+).+(:[^]+)/,F+"box-$1$2"+N+"flex-$1$2")+e;case 5443:return F+e+N+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return F+e+N+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return F+e+N+l(e,"shrink","negative")+e;case 5292:return F+e+N+l(e,"basis","preferred-size")+e;case 6060:return F+"box-"+l(e,"-grow","")+F+e+N+l(e,"grow","positive")+e;case 4554:return F+l(e,/([^-])(transform)/g,"$1"+F+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,F+"$1"),/(image-set)/,F+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,F+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,F+"box-pack:$3"+N+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,F+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+$+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+F)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+F+(45===u(e,14)?"inline-":"")+"box$3$1"+F+"$2$3$1"+N+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return F+e+N+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+N+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+N+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+N+e+e}return e}var ne=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case H:e.return=te(e.value,e.length);break;case V:return U([x(e,{value:l(e.value,"@","@"+F)})],r);case B:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return U([x(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return U([x(e,{props:[l(t,/:(plac\w+)/,":"+F+"input-$1")]}),x(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),x(e,{props:[l(t,/:(plac\w+)/,N+"input-$1")]})],r)}return""}))}}],re=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,a=e.stylisPlugins||ne,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;l.push(e)}));var c,u,d,f,p=[W,(f=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],m=(u=[Q,ee].concat(a,p),d=h(u),function(e,t,n,r){for(var o="",i=0;i<d;i++)o+=u[i](e,t,n,r)||"";return o});i=function(e,t,n,r){c=n,U(q(e?e+"{"+t.styles+"}":t.styles),m),r&&(v.inserted[t.name]=!0)};var v={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return v.sheet.hydrate(l),v}},53440:(e,t,n)=>{"use strict";n.d(t,{AH:()=>M,Y:()=>k,i7:()=>T});var r=n(96540),o=n.t(r,2),i=n(84300),a=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},s={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function l(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var c=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,d=function(e){return 45===e.charCodeAt(1)},f=function(e){return null!=e&&"boolean"!=typeof e},h=l((function(e){return d(e)?e:e.replace(c,"-$&").toLowerCase()})),p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(u,(function(e,t,n){return v={name:t,styles:n,next:v},t}))}return 1===s[e]||d(e)||"number"!=typeof t||0===t?t:t+"px"};function m(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return v={name:n.name,styles:n.styles,next:v},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)v={name:r.name,styles:r.styles,next:v},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=m(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":f(a)&&(r+=h(i)+":"+p(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=m(e,t,a);switch(i){case"animation":case"animationName":r+=h(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)f(a[l])&&(r+=h(i)+":"+p(i,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=v,i=n(e);return v=o,m(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var v,g=/label:\s*([^\s;\n{]+)\s*(;|$)/g,y=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";v=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=m(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=m(n,t,e[a]),r&&(o+=i[a]);g.lastIndex=0;for(var s,l="";null!==(s=g.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:v}},b=!!o.useInsertionEffect&&o.useInsertionEffect,w=b||function(e){return e()},E=(b||r.useLayoutEffect,{}.hasOwnProperty),x=r.createContext("undefined"!=typeof HTMLElement?(0,i.A)({key:"css"}):null);x.Provider;var S=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(x);return e(t,o,n)}))},_=r.createContext({}),O="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",C=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return a(t,n,r),w((function(){return function(e,t,n){a(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},A=S((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[O],a=[o],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=y(a,void 0,r.useContext(_));s+=t.key+"-"+l.name;var c={};for(var u in e)E.call(e,u)&&"css"!==u&&u!==O&&(c[u]=e[u]);return c.ref=n,c.className=s,r.createElement(r.Fragment,null,r.createElement(C,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,c))})),k=(n(4146),function(e,t){var n=arguments;if(null==t||!E.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=A,i[1]=function(e,t){var n={};for(var r in t)E.call(t,r)&&(n[r]=t[r]);return n[O]=e,n}(e,t);for(var a=2;a<o;a++)i[a]=n[a];return r.createElement.apply(null,i)});function M(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return y(t)}var T=function(){var e=M.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},60700:(e,t,n)=>{"use strict";n.d(t,{s3:()=>U,XF:()=>z,kp:()=>Y,s9:()=>ee,we:()=>M,iQ:()=>te,Mk:()=>q,Bi:()=>b,bv:()=>P,It:()=>K});var r=n(86306),o=n(86635),i=n(96540),a=n.t(i,2),s=n(40961),l=new WeakMap,c=new WeakMap,u={},d=0,f=function(e){return e&&(e.host||f(e.parentNode))},h=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),function(e,t,n,r){var o=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=f(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);u[n]||(u[n]=new WeakMap);var i=u[n],a=[],s=new Set,h=new Set(o),p=function(e){e&&!s.has(e)&&(s.add(e),p(e.parentNode))};o.forEach(p);var m=function(e){e&&!h.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(s.has(e))m(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,u=(l.get(e)||0)+1,d=(i.get(e)||0)+1;l.set(e,u),i.set(e,d),a.push(e),1===u&&o&&c.set(e,!0),1===d&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}}))};return m(t),s.clear(),d++,function(){a.forEach((function(e){var t=l.get(e)-1,o=i.get(e)-1;l.set(e,t),i.set(e,o),t||(c.has(e)||e.removeAttribute(r),c.delete(e)),o||e.removeAttribute(n)})),--d||(l=new WeakMap,l=new WeakMap,c=new WeakMap,u={})}}(r,o,n,"aria-hidden")):function(){return null}},p="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;let m=!1,v=0;const g=()=>"floating-ui-"+v++,y=a["useId".toString()],b=null!=y?y:function(){const[e,t]=i.useState((()=>m?g():void 0));return p((()=>{null==e&&t(g())}),[]),i.useEffect((()=>{m||(m=!0)}),[]),e},w=i.createContext(null),E=i.createContext(null),x=()=>{var e,t;return null!=(e=null==(t=i.useContext(w))?void 0:t.id)?e:null},S=()=>i.useContext(E);function _(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}function O(e){var t;return null!=(t=_(e).defaultView)?t:window}function C(e){return!!e&&e instanceof O(e).Element}function A(e){return!!e&&e instanceof O(e).HTMLElement}const k=a["useInsertionEffect".toString()];function M(e){let{open:t=!1,onOpenChange:n,whileElementsMounted:o,placement:a,middleware:s,strategy:l,nodeId:c}=void 0===e?{}:e;const[u,d]=i.useState(null),f=S(),h=i.useRef(null),m=i.useRef({}),v=i.useState((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){e.set(t,(e.get(t)||[]).filter((e=>e!==n)))}}}()))[0],g=(0,r.we)({placement:a,middleware:s,strategy:l,whileElementsMounted:o}),y=function(e){const t=i.useRef((()=>{}));return k?k((()=>{t.current=e})):t.current=e,i.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}(n),b=i.useMemo((()=>({...g.refs,domReference:h})),[g.refs]),w=i.useMemo((()=>({...g,refs:b,dataRef:m,nodeId:c,events:v,open:t,onOpenChange:y,_:{domReference:u}})),[g,c,v,t,y,b,u]);p((()=>{const e=null==f?void 0:f.nodesRef.current.find((e=>e.id===c));e&&(e.context=w)}));const{reference:E}=g,x=i.useCallback((e=>{(C(e)||null===e)&&(w.refs.domReference.current=e,d(e)),E(e)}),[E,w.refs]);return i.useMemo((()=>({...g,context:w,refs:b,reference:x})),[g,b,w,x])}function T(e,t,n){const r=new Map;return{..."floating"===n&&{tabIndex:-1},...e,...t.map((e=>e?e[n]:null)).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,o]=t;var i;0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof o&&(null==(i=r.get(n))||i.push(o),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];null==(e=r.get(n))||e.forEach((e=>e(...o)))})):e[n]=o})),e):e),{})}}const P=function(e){void 0===e&&(e=[]);const t=e,n=i.useCallback((t=>T(t,e,"reference")),t),r=i.useCallback((t=>T(t,e,"floating")),t),o=i.useCallback((t=>T(t,e,"item")),t);return i.useMemo((()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:o})),[n,r,o])};function I(e,t){var n;let r=null!=(n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})))?n:[],o=r;for(;o.length;){var i;o=null!=(i=e.filter((e=>{var t;return null==(t=o)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})))?i:[],r=r.concat(o)}return r}const j="floating-ui-root",z=e=>{let{children:t,id:n=j,root:r=null}=e;const o=function(e){let{id:t=j,enabled:n=!0}=void 0===e?{}:e;const[r,o]=i.useState(null);return p((()=>{if(!n)return;const e=document.getElementById(t);if(e)o(e);else{const e=document.createElement("div");e.id=t,o(e),document.body.contains(e)||document.body.appendChild(e)}}),[t,n]),r}({id:n,enabled:!r});return r?(0,s.createPortal)(t,r):o?(0,s.createPortal)(t,o):null};function D(){return D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D.apply(this,arguments)}function R(e){return"composedPath"in e?e.composedPath()[0]:e.target}const N="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function $(e){return A(e)&&e.matches(N)}function F(e){e.preventDefault(),e.stopPropagation()}function L(e){const t=(0,i.useRef)(e);return p((()=>{t.current=e})),t}function B(e,t){void 0===t&&(t=!1),requestAnimationFrame((()=>{null==e||e.focus({preventScroll:t})}))}const H="select:not([disabled]),a[href],button:not([disabled]),[tabindex],iframe,object,embed,area[href],audio[controls],video[controls],"+N,V=i.forwardRef((function(e,t){return i.createElement("span",D({},e,{ref:t,tabIndex:0,style:{position:"fixed",opacity:"0",pointerEvents:"none",outline:"0"}}))}));function U(e){let{context:{refs:t,nodeId:n,onOpenChange:r,dataRef:o,events:a},children:s,order:l=["content"],endGuard:c=!0,initialFocus:u=0,returnFocus:d=!0,modal:f=!0}=e;const p=L(l),m=S(),v=i.useCallback((()=>p.current.map((e=>{return"reference"===e?t.domReference.current:t.floating.current&&"floating"===e?t.floating.current:"content"===e?Array.from(null!=(n=null==(r=t.floating.current)?void 0:r.querySelectorAll(H))?n:[]):null;var n,r})).flat().filter((e=>{return e===t.floating.current||e===t.domReference.current||(A(e)?"-"!==(null!=(n=e.getAttribute("tabindex"))?n:"0")[0].trim():void 0);var n}))),[p,t]);i.useEffect((()=>{if(!f)return;const e=0===v().filter((e=>e!==t.floating.current&&e!==t.domReference.current)).length;function n(n){if("Tab"===n.key){e&&F(n);const r=v(),o=R(n);"reference"===p.current[0]&&o===t.domReference.current&&(F(n),n.shiftKey?B(r[r.length-1]):B(r[1])),"floating"===p.current[1]&&o===t.floating.current&&n.shiftKey&&(F(n),B(r[0]))}}const r=_(t.floating.current);return r.addEventListener("keydown",n),()=>{r.removeEventListener("keydown",n)}}),[f,v,p,t]),i.useEffect((()=>{let e=!1;function o(o){var i,a;const s=o.relatedTarget,l=!(null!=(i=t.floating.current)&&i.contains(s)),c=C(t.domReference.current)&&!t.domReference.current.contains(s),u=m&&I(m.nodesRef.current,n).length>0,d=m&&o.currentTarget===t.domReference.current&&(null==(a=function(e,t){var n;let r=[],o=null==(n=e.find((e=>e.id===t)))?void 0:n.parentId;for(;o;){const t=e.find((e=>e.id===o));o=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r}(m.nodesRef.current,n))?void 0:a.some((e=>{var t,n;return null==(t=e.context)||null==(n=t.refs.floating.current)?void 0:n.contains(s)})));!l||!c||u||d||e||r(!1)}function i(){e=!0,setTimeout((()=>{e=!1}))}const a=t.floating.current,s=t.domReference.current;if(a&&A(s)){let e;return f||(a.addEventListener("focusout",o),s.addEventListener("focusout",o),s.addEventListener("pointerdown",i)),f&&(e=p.current.includes("reference")?h([s,a]):h(a)),()=>{f||(a.removeEventListener("focusout",o),s.removeEventListener("focusout",o),s.removeEventListener("pointerdown",i)),null==e||e()}}}),[n,m,f,r,p,o,v,t]),i.useEffect((()=>{const e=t.floating.current,n=_(e);let r=d,o=!1,i=function(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(r=n.shadowRoot)?void 0:r.activeElement);){var n,r;t=t.shadowRoot.activeElement}return t}(n);if(i===n.body&&t.domReference.current&&(i=t.domReference.current),"number"==typeof u){var s;const t=null!=(s=v()[u])?s:e;B(t,t===e)}else if(A(u.current)){var l;const t=null!=(l=u.current)?l:e;B(t,t===e)}function c(e){void 0===e&&(e=!1),"object"==typeof e?(r=!0,o=e.preventScroll):r=e}return a.on("dismiss",c),()=>{a.off("dismiss",c),r&&A(i)&&B(i,o)}}),[v,u,d,t,a]);const g=()=>{var e;return"combobox"===(null==(e=t.domReference.current)?void 0:e.getAttribute("role"))&&$(t.domReference.current)};return i.createElement(i.Fragment,null,f&&i.createElement(V,{onFocus:e=>{if(g())return;F(e);const t=v();"reference"===l[0]?B(t[0]):B(t[t.length-1])}}),i.cloneElement(s,l.includes("floating")?{tabIndex:0}:{}),f&&c&&i.createElement(V,{onFocus:e=>{g()||(F(e),B(v()[0]))}}))}function W(e,t,n){return n&&"mouse"!==n?0:"number"==typeof e?e:null==e?void 0:e[t]}const q=function(e,t){let{enabled:n=!0,delay:r=0,handleClose:o=null,mouseOnly:a=!1,restMs:s=0,move:l=!0}=void 0===t?{}:t;const{open:c,onOpenChange:u,dataRef:d,events:f,refs:h,_:m}=e,v=S(),g=x(),y=L(o),b=L(r),w=function(e){const t=(0,i.useRef)();return p((()=>{t.current=e}),[e]),t.current}(c),E=i.useRef(),O=i.useRef(),A=i.useRef(),k=i.useRef(),M=i.useRef(!0),T=i.useRef(!1),P=i.useCallback((()=>{var e;const t=null==(e=d.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[d]);i.useEffect((()=>{if(n)return f.on("dismiss",e),()=>{f.off("dismiss",e)};function e(){clearTimeout(O.current),clearTimeout(k.current),M.current=!0}}),[n,f,h]),i.useEffect((()=>{if(!n||!y.current)return;function e(){P()&&u(!1)}const t=_(h.floating.current).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[h,u,n,y,d,P]);const I=i.useCallback((function(e){void 0===e&&(e=!0);const t=W(b.current,"close",E.current);t&&!A.current?(clearTimeout(O.current),O.current=setTimeout((()=>u(!1)),t)):e&&(clearTimeout(O.current),u(!1))}),[b,u]),j=i.useCallback((()=>{A.current&&(_(h.floating.current).removeEventListener("pointermove",A.current),A.current=void 0)}),[h]),z=i.useCallback((()=>{_(h.floating.current).body.style.pointerEvents="",T.current=!1}),[h]);return i.useEffect((()=>{if(!n)return;function t(){return!!d.current.openEvent&&["click","mousedown"].includes(d.current.openEvent.type)}function r(e){if(clearTimeout(O.current),M.current=!1,a&&"mouse"!==E.current||s>0&&0===W(b.current,"open"))return;d.current.openEvent=e;const t=W(b.current,"open",E.current);t?O.current=setTimeout((()=>{u(!0)}),t):u(!0)}function o(n){if(t())return;const r=_(h.floating.current);if(clearTimeout(k.current),y.current)return clearTimeout(O.current),A.current&&r.removeEventListener("pointermove",A.current),A.current=y.current({...e,tree:v,x:n.clientX,y:n.clientY,onClose(){z(),j(),I()}}),void r.addEventListener("pointermove",A.current);I()}function i(n){t()||null==y.current||y.current({...e,tree:v,x:n.clientX,y:n.clientY,leave:!0,onClose(){z(),j(),I()}})(n)}const f=h.floating.current,p=h.domReference.current;return C(p)?(c&&p.addEventListener("mouseleave",i),null==f||f.addEventListener("mouseleave",i),l&&p.addEventListener("mousemove",r,{once:!0}),p.addEventListener("mouseenter",r),p.addEventListener("mouseleave",o),()=>{c&&p.removeEventListener("mouseleave",i),null==f||f.removeEventListener("mouseleave",i),l&&p.removeEventListener("mousemove",r),p.removeEventListener("mouseenter",r),p.removeEventListener("mouseleave",o)}):void 0}),[m.domReference,n,e,a,s,l,I,j,z,u,c,v,h,b,y,d]),p((()=>{if(n&&c&&y.current&&y.current.__options.blockPointerEvents&&P()){_(h.floating.current).body.style.pointerEvents="none",T.current=!0;const n=h.domReference.current,r=h.floating.current;if(C(n)&&r){var e,t;const o=null==v||null==(e=v.nodesRef.current.find((e=>e.id===g)))||null==(t=e.context)?void 0:t.refs.floating.current;return o&&(o.style.pointerEvents=""),n.style.pointerEvents="auto",r.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents=""}}}}),[n,c,g,h,v,y,d,P]),p((()=>{w&&!c&&(E.current=void 0,j(),z())})),i.useEffect((()=>()=>{j(),clearTimeout(O.current),clearTimeout(k.current),T.current&&z()}),[n,j,z]),i.useMemo((()=>{if(!n)return{};function e(e){E.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(){c||0===s||(clearTimeout(k.current),k.current=setTimeout((()=>{M.current||u(!0)}),s))}},floating:{onMouseEnter(){clearTimeout(O.current)},onMouseLeave(){I(!1)}}}}),[n,s,c,u,I])},K=function(e,t){let{open:n}=e,{enabled:r=!0,role:o="dialog"}=void 0===t?{}:t;const a=b(),s=b();return i.useMemo((()=>{const e={id:a,role:o};return r?"tooltip"===o?{reference:{"aria-describedby":n?a:void 0},floating:e}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":"alertdialog"===o?"dialog":o,"aria-controls":n?a:void 0,..."listbox"===o&&{role:"combobox"},..."menu"===o&&{id:s}},floating:{...e,..."menu"===o&&{"aria-labelledby":s}}}:{}}),[r,o,n,a,s])};function G(e){return A(e.target)&&"BUTTON"===e.target.tagName}function X(e){return $(e)}const Y=function(e,t){let{open:n,onOpenChange:r,dataRef:o,refs:a}=e,{enabled:s=!0,event:l="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:d=!0}=void 0===t?{}:t;const f=i.useRef();return i.useMemo((()=>s?{reference:{onPointerDown(e){f.current=e.pointerType},onMouseDown(e){0===e.button&&("mouse"===f.current&&u||"click"!==l&&(n?!c||o.current.openEvent&&"mousedown"!==o.current.openEvent.type||r(!1):r(!0),o.current.openEvent=e.nativeEvent))},onClick(e){"mousedown"===l&&f.current?f.current=void 0:"mouse"===f.current&&u||(n?!c||o.current.openEvent&&"click"!==o.current.openEvent.type||r(!1):r(!0),o.current.openEvent=e.nativeEvent)},onKeyDown(e){f.current=void 0,d&&(G(e)||(" "!==e.key||X(a.domReference.current)||e.preventDefault(),"Enter"===e.key&&(n?c&&r(!1):r(!0))))},onKeyUp(e){d&&(G(e)||X(a.domReference.current)||" "===e.key&&(n?c&&r(!1):r(!0)))}}}:{}),[s,o,l,u,d,a,c,n,r])};function Z(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}const J={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Q={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},ee=function(e,t){let{open:n,onOpenChange:r,refs:a,events:s,nodeId:l}=e,{enabled:c=!0,escapeKey:u=!0,outsidePress:d=!0,outsidePressEvent:f="pointerdown",referencePress:h=!1,referencePressEvent:p="pointerdown",ancestorScroll:m=!1,bubbles:v=!0}=void 0===t?{}:t;const g=S(),y=null!=x(),b=i.useRef(!1);return i.useEffect((()=>{if(!n||!c)return;function e(e){if("Escape"===e.key){if(!v&&g&&I(g.nodesRef.current,l).length>0)return;s.emit("dismiss",{preventScroll:!1}),r(!1)}}function t(e){const t=b.current;if(b.current=!1,t)return;const n=R(e);if(C(n)&&a.floating.current){var o;const t=null!=(o=a.floating.current.ownerDocument.defaultView)?o:window,r=n.scrollWidth>n.clientWidth,i=n.scrollHeight>n.clientHeight;let s=i&&e.offsetX>n.clientWidth;if(i&&"rtl"===t.getComputedStyle(n).direction&&(s=e.offsetX<=n.offsetWidth-n.clientWidth),s||r&&e.offsetY>n.clientHeight)return}const i=g&&I(g.nodesRef.current,l).some((t=>{var n;return Z(e,null==(n=t.context)?void 0:n.refs.floating.current)}));Z(e,a.floating.current)||Z(e,a.domReference.current)||i||!v&&g&&I(g.nodesRef.current,l).length>0||(s.emit("dismiss",!!y&&{preventScroll:!0}),r(!1))}function i(){r(!1)}const h=_(a.floating.current);u&&h.addEventListener("keydown",e),d&&h.addEventListener(f,t);let p=[];return m&&(C(a.domReference.current)&&(p=(0,o.v9)(a.domReference.current)),C(a.floating.current)&&(p=p.concat((0,o.v9)(a.floating.current))),!C(a.reference.current)&&a.reference.current&&a.reference.current.contextElement&&(p=p.concat((0,o.v9)(a.reference.current.contextElement)))),p=p.filter((e=>{var t;return e!==(null==(t=h.defaultView)?void 0:t.visualViewport)})),p.forEach((e=>{e.addEventListener("scroll",i,{passive:!0})})),()=>{u&&h.removeEventListener("keydown",e),d&&h.removeEventListener(f,t),p.forEach((e=>{e.removeEventListener("scroll",i)}))}}),[u,d,f,s,g,l,n,r,m,c,v,a,y]),i.useEffect((()=>{b.current=!1}),[d,f]),i.useMemo((()=>c?{reference:{[J[p]]:()=>{h&&(s.emit("dismiss"),r(!1))}},floating:{[Q[f]]:()=>{b.current=!0}}}:{}),[c,s,h,f,p,r])},te=function(e,t){let{open:n,onOpenChange:r,dataRef:o,refs:a,events:s}=e,{enabled:l=!0,keyboardOnly:c=!0}=void 0===t?{}:t;const u=i.useRef(""),d=i.useRef(!1),f=i.useRef();return i.useEffect((()=>{var e;if(!l)return;const t=null!=(e=_(a.floating.current).defaultView)?e:window;function r(){!n&&A(a.domReference.current)&&a.domReference.current.blur()}return t.addEventListener("blur",r),()=>{t.removeEventListener("blur",r)}}),[a,n,l]),i.useEffect((()=>{if(l)return s.on("dismiss",e),()=>{s.off("dismiss",e)};function e(){d.current=!0}}),[s,l]),i.useEffect((()=>()=>{clearTimeout(f.current)}),[]),i.useMemo((()=>l?{reference:{onPointerDown(e){let{pointerType:t}=e;u.current=t,d.current=!(!t||!c)},onPointerLeave(){d.current=!1},onFocus(e){var t,n,i;d.current||"focus"===e.type&&"mousedown"===(null==(t=o.current.openEvent)?void 0:t.type)&&null!=(n=a.domReference.current)&&n.contains(null==(i=o.current.openEvent)?void 0:i.target)||(o.current.openEvent=e.nativeEvent,r(!0))},onBlur(e){const t=e.relatedTarget;f.current=setTimeout((()=>{var e,n;null!=(e=a.floating.current)&&e.contains(t)||null!=(n=a.domReference.current)&&n.contains(t)||(d.current=!1,r(!1))}))}}}:{}),[l,c,a,o,r])}},86306:(e,t,n)=>{"use strict";n.d(t,{UE:()=>a,we:()=>u});var r=n(18491),o=n(96540),i=n(40961);const a=e=>{const{element:t,padding:n}=e;return{name:"arrow",options:e,fn(e){return o=t,Object.prototype.hasOwnProperty.call(o,"current")?null!=t.current?(0,r.UE)({element:t.current,padding:n}).fn(e):{}:t?(0,r.UE)({element:t,padding:n}).fn(e):{};var o}}};var s="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function l(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;0!=r--;)if(!l(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||l(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function c(e){const t=o.useRef(e);return s((()=>{t.current=e})),t}function u(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:a=[],platform:u,whileElementsMounted:d,open:f}=e,[h,p]=o.useState({x:null,y:null,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,v]=o.useState(a);l(m,a)||v(a);const g=o.useRef(null),y=o.useRef(null),b=o.useRef(h),w=c(d),E=c(u),[x,S]=o.useState(null),[_,O]=o.useState(null),C=o.useCallback((e=>{g.current!==e&&(g.current=e,S(e))}),[]),A=o.useCallback((e=>{y.current!==e&&(y.current=e,O(e))}),[]),k=o.useCallback((()=>{if(!g.current||!y.current)return;const e={placement:t,strategy:n,middleware:m};E.current&&(e.platform=E.current),(0,r.rD)(g.current,y.current,e).then((e=>{const t={...e,isPositioned:!0};M.current&&!l(b.current,t)&&(b.current=t,i.flushSync((()=>{p(t)})))}))}),[m,t,n,E]);s((()=>{!1===f&&b.current.isPositioned&&(b.current.isPositioned=!1,p((e=>({...e,isPositioned:!1}))))}),[f]);const M=o.useRef(!1);s((()=>(M.current=!0,()=>{M.current=!1})),[]),s((()=>{if(x&&_){if(w.current)return w.current(x,_,k);k()}}),[x,_,k,w]);const T=o.useMemo((()=>({reference:g,floating:y,setReference:C,setFloating:A})),[C,A]),P=o.useMemo((()=>({reference:x,floating:_})),[x,_]);return o.useMemo((()=>({...h,update:k,refs:T,elements:P,reference:C,floating:A})),[h,k,T,P,C,A])}},16095:e=>{"use strict";const t={generateIdentifier:function(){return Math.random().toString(36).substring(2,12)}};t.localCName=t.generateIdentifier(),t.splitLines=function(e){return e.trim().split("\n").map((e=>e.trim()))},t.splitSections=function(e){return e.split("\nm=").map(((e,t)=>(t>0?"m="+e:e).trim()+"\r\n"))},t.getDescription=function(e){const n=t.splitSections(e);return n&&n[0]},t.getMediaSections=function(e){const n=t.splitSections(e);return n.shift(),n},t.matchPrefix=function(e,n){return t.splitLines(e).filter((e=>0===e.indexOf(n)))},t.parseCandidate=function(e){let t;t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" ");const n={foundation:t[0],component:{1:"rtp",2:"rtcp"}[t[1]]||t[1],protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],address:t[4],port:parseInt(t[5],10),type:t[7]};for(let e=8;e<t.length;e+=2)switch(t[e]){case"raddr":n.relatedAddress=t[e+1];break;case"rport":n.relatedPort=parseInt(t[e+1],10);break;case"tcptype":n.tcpType=t[e+1];break;case"ufrag":n.ufrag=t[e+1],n.usernameFragment=t[e+1];break;default:void 0===n[t[e]]&&(n[t[e]]=t[e+1])}return n},t.writeCandidate=function(e){const t=[];t.push(e.foundation);const n=e.component;"rtp"===n?t.push(1):"rtcp"===n?t.push(2):t.push(n),t.push(e.protocol.toUpperCase()),t.push(e.priority),t.push(e.address||e.ip),t.push(e.port);const r=e.type;return t.push("typ"),t.push(r),"host"!==r&&e.relatedAddress&&e.relatedPort&&(t.push("raddr"),t.push(e.relatedAddress),t.push("rport"),t.push(e.relatedPort)),e.tcpType&&"tcp"===e.protocol.toLowerCase()&&(t.push("tcptype"),t.push(e.tcpType)),(e.usernameFragment||e.ufrag)&&(t.push("ufrag"),t.push(e.usernameFragment||e.ufrag)),"candidate:"+t.join(" ")},t.parseIceOptions=function(e){return e.substring(14).split(" ")},t.parseRtpMap=function(e){let t=e.substring(9).split(" ");const n={payloadType:parseInt(t.shift(),10)};return t=t[0].split("/"),n.name=t[0],n.clockRate=parseInt(t[1],10),n.channels=3===t.length?parseInt(t[2],10):1,n.numChannels=n.channels,n},t.writeRtpMap=function(e){let t=e.payloadType;void 0!==e.preferredPayloadType&&(t=e.preferredPayloadType);const n=e.channels||e.numChannels||1;return"a=rtpmap:"+t+" "+e.name+"/"+e.clockRate+(1!==n?"/"+n:"")+"\r\n"},t.parseExtmap=function(e){const t=e.substring(9).split(" ");return{id:parseInt(t[0],10),direction:t[0].indexOf("/")>0?t[0].split("/")[1]:"sendrecv",uri:t[1],attributes:t.slice(2).join(" ")}},t.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+(e.attributes?" "+e.attributes:"")+"\r\n"},t.parseFmtp=function(e){const t={};let n;const r=e.substring(e.indexOf(" ")+1).split(";");for(let e=0;e<r.length;e++)n=r[e].trim().split("="),t[n[0].trim()]=n[1];return t},t.writeFmtp=function(e){let t="",n=e.payloadType;if(void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.parameters&&Object.keys(e.parameters).length){const r=[];Object.keys(e.parameters).forEach((t=>{void 0!==e.parameters[t]?r.push(t+"="+e.parameters[t]):r.push(t)})),t+="a=fmtp:"+n+" "+r.join(";")+"\r\n"}return t},t.parseRtcpFb=function(e){const t=e.substring(e.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},t.writeRtcpFb=function(e){let t="",n=e.payloadType;return void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.rtcpFeedback&&e.rtcpFeedback.length&&e.rtcpFeedback.forEach((e=>{t+="a=rtcp-fb:"+n+" "+e.type+(e.parameter&&e.parameter.length?" "+e.parameter:"")+"\r\n"})),t},t.parseSsrcMedia=function(e){const t=e.indexOf(" "),n={ssrc:parseInt(e.substring(7,t),10)},r=e.indexOf(":",t);return r>-1?(n.attribute=e.substring(t+1,r),n.value=e.substring(r+1)):n.attribute=e.substring(t+1),n},t.parseSsrcGroup=function(e){const t=e.substring(13).split(" ");return{semantics:t.shift(),ssrcs:t.map((e=>parseInt(e,10)))}},t.getMid=function(e){const n=t.matchPrefix(e,"a=mid:")[0];if(n)return n.substring(6)},t.parseFingerprint=function(e){const t=e.substring(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1].toUpperCase()}},t.getDtlsParameters=function(e,n){return{role:"auto",fingerprints:t.matchPrefix(e+n,"a=fingerprint:").map(t.parseFingerprint)}},t.writeDtlsParameters=function(e,t){let n="a=setup:"+t+"\r\n";return e.fingerprints.forEach((e=>{n+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"})),n},t.parseCryptoLine=function(e){const t=e.substring(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},t.writeCryptoLine=function(e){return"a=crypto:"+e.tag+" "+e.cryptoSuite+" "+("object"==typeof e.keyParams?t.writeCryptoKeyParams(e.keyParams):e.keyParams)+(e.sessionParams?" "+e.sessionParams.join(" "):"")+"\r\n"},t.parseCryptoKeyParams=function(e){if(0!==e.indexOf("inline:"))return null;const t=e.substring(7).split("|");return{keyMethod:"inline",keySalt:t[0],lifeTime:t[1],mkiValue:t[2]?t[2].split(":")[0]:void 0,mkiLength:t[2]?t[2].split(":")[1]:void 0}},t.writeCryptoKeyParams=function(e){return e.keyMethod+":"+e.keySalt+(e.lifeTime?"|"+e.lifeTime:"")+(e.mkiValue&&e.mkiLength?"|"+e.mkiValue+":"+e.mkiLength:"")},t.getCryptoParameters=function(e,n){return t.matchPrefix(e+n,"a=crypto:").map(t.parseCryptoLine)},t.getIceParameters=function(e,n){const r=t.matchPrefix(e+n,"a=ice-ufrag:")[0],o=t.matchPrefix(e+n,"a=ice-pwd:")[0];return r&&o?{usernameFragment:r.substring(12),password:o.substring(10)}:null},t.writeIceParameters=function(e){let t="a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n";return e.iceLite&&(t+="a=ice-lite\r\n"),t},t.parseRtpParameters=function(e){const n={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},r=t.splitLines(e)[0].split(" ");n.profile=r[2];for(let o=3;o<r.length;o++){const i=r[o],a=t.matchPrefix(e,"a=rtpmap:"+i+" ")[0];if(a){const r=t.parseRtpMap(a),o=t.matchPrefix(e,"a=fmtp:"+i+" ");switch(r.parameters=o.length?t.parseFmtp(o[0]):{},r.rtcpFeedback=t.matchPrefix(e,"a=rtcp-fb:"+i+" ").map(t.parseRtcpFb),n.codecs.push(r),r.name.toUpperCase()){case"RED":case"ULPFEC":n.fecMechanisms.push(r.name.toUpperCase())}}}t.matchPrefix(e,"a=extmap:").forEach((e=>{n.headerExtensions.push(t.parseExtmap(e))}));const o=t.matchPrefix(e,"a=rtcp-fb:* ").map(t.parseRtcpFb);return n.codecs.forEach((e=>{o.forEach((t=>{e.rtcpFeedback.find((e=>e.type===t.type&&e.parameter===t.parameter))||e.rtcpFeedback.push(t)}))})),n},t.writeRtpDescription=function(e,n){let r="";r+="m="+e+" ",r+=n.codecs.length>0?"9":"0",r+=" "+(n.profile||"UDP/TLS/RTP/SAVPF")+" ",r+=n.codecs.map((e=>void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType)).join(" ")+"\r\n",r+="c=IN IP4 0.0.0.0\r\n",r+="a=rtcp:9 IN IP4 0.0.0.0\r\n",n.codecs.forEach((e=>{r+=t.writeRtpMap(e),r+=t.writeFmtp(e),r+=t.writeRtcpFb(e)}));let o=0;return n.codecs.forEach((e=>{e.maxptime>o&&(o=e.maxptime)})),o>0&&(r+="a=maxptime:"+o+"\r\n"),n.headerExtensions&&n.headerExtensions.forEach((e=>{r+=t.writeExtmap(e)})),r},t.parseRtpEncodingParameters=function(e){const n=[],r=t.parseRtpParameters(e),o=-1!==r.fecMechanisms.indexOf("RED"),i=-1!==r.fecMechanisms.indexOf("ULPFEC"),a=t.matchPrefix(e,"a=ssrc:").map((e=>t.parseSsrcMedia(e))).filter((e=>"cname"===e.attribute)),s=a.length>0&&a[0].ssrc;let l;const c=t.matchPrefix(e,"a=ssrc-group:FID").map((e=>e.substring(17).split(" ").map((e=>parseInt(e,10)))));c.length>0&&c[0].length>1&&c[0][0]===s&&(l=c[0][1]),r.codecs.forEach((e=>{if("RTX"===e.name.toUpperCase()&&e.parameters.apt){let t={ssrc:s,codecPayloadType:parseInt(e.parameters.apt,10)};s&&l&&(t.rtx={ssrc:l}),n.push(t),o&&(t=JSON.parse(JSON.stringify(t)),t.fec={ssrc:s,mechanism:i?"red+ulpfec":"red"},n.push(t))}})),0===n.length&&s&&n.push({ssrc:s});let u=t.matchPrefix(e,"b=");return u.length&&(u=0===u[0].indexOf("b=TIAS:")?parseInt(u[0].substring(7),10):0===u[0].indexOf("b=AS:")?1e3*parseInt(u[0].substring(5),10)*.95-16e3:void 0,n.forEach((e=>{e.maxBitrate=u}))),n},t.parseRtcpParameters=function(e){const n={},r=t.matchPrefix(e,"a=ssrc:").map((e=>t.parseSsrcMedia(e))).filter((e=>"cname"===e.attribute))[0];r&&(n.cname=r.value,n.ssrc=r.ssrc);const o=t.matchPrefix(e,"a=rtcp-rsize");n.reducedSize=o.length>0,n.compound=0===o.length;const i=t.matchPrefix(e,"a=rtcp-mux");return n.mux=i.length>0,n},t.writeRtcpParameters=function(e){let t="";return e.reducedSize&&(t+="a=rtcp-rsize\r\n"),e.mux&&(t+="a=rtcp-mux\r\n"),void 0!==e.ssrc&&e.cname&&(t+="a=ssrc:"+e.ssrc+" cname:"+e.cname+"\r\n"),t},t.parseMsid=function(e){let n;const r=t.matchPrefix(e,"a=msid:");if(1===r.length)return n=r[0].substring(7).split(" "),{stream:n[0],track:n[1]};const o=t.matchPrefix(e,"a=ssrc:").map((e=>t.parseSsrcMedia(e))).filter((e=>"msid"===e.attribute));return o.length>0?(n=o[0].value.split(" "),{stream:n[0],track:n[1]}):void 0},t.parseSctpDescription=function(e){const n=t.parseMLine(e),r=t.matchPrefix(e,"a=max-message-size:");let o;r.length>0&&(o=parseInt(r[0].substring(19),10)),isNaN(o)&&(o=65536);const i=t.matchPrefix(e,"a=sctp-port:");if(i.length>0)return{port:parseInt(i[0].substring(12),10),protocol:n.fmt,maxMessageSize:o};const a=t.matchPrefix(e,"a=sctpmap:");if(a.length>0){const e=a[0].substring(10).split(" ");return{port:parseInt(e[0],10),protocol:e[1],maxMessageSize:o}}},t.writeSctpDescription=function(e,t){let n=[];return n="DTLS/SCTP"!==e.protocol?["m="+e.kind+" 9 "+e.protocol+" "+t.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+t.port+"\r\n"]:["m="+e.kind+" 9 "+e.protocol+" "+t.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+t.port+" "+t.protocol+" 65535\r\n"],void 0!==t.maxMessageSize&&n.push("a=max-message-size:"+t.maxMessageSize+"\r\n"),n.join("")},t.generateSessionId=function(){return Math.random().toString().substr(2,22)},t.writeSessionBoilerplate=function(e,n,r){let o;const i=void 0!==n?n:2;return o=e||t.generateSessionId(),"v=0\r\no="+(r||"thisisadapterortc")+" "+o+" "+i+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},t.getDirection=function(e,n){const r=t.splitLines(e);for(let e=0;e<r.length;e++)switch(r[e]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return r[e].substring(2)}return n?t.getDirection(n):"sendrecv"},t.getKind=function(e){return t.splitLines(e)[0].split(" ")[0].substring(2)},t.isRejected=function(e){return"0"===e.split(" ",2)[1]},t.parseMLine=function(e){const n=t.splitLines(e)[0].substring(2).split(" ");return{kind:n[0],port:parseInt(n[1],10),protocol:n[2],fmt:n.slice(3).join(" ")}},t.parseOLine=function(e){const n=t.matchPrefix(e,"o=")[0].substring(2).split(" ");return{username:n[0],sessionId:n[1],sessionVersion:parseInt(n[2],10),netType:n[3],addressType:n[4],address:n[5]}},t.isValidSDP=function(e){if("string"!=typeof e||0===e.length)return!1;const n=t.splitLines(e);for(let e=0;e<n.length;e++)if(n[e].length<2||"="!==n[e].charAt(1))return!1;return!0},e.exports=t},45062:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(5544),o=n(96540),i=n(40961),a=n(20998),s=(n(68210),n(8719));const l=o.createContext(null);var c=n(60436),u=n(30981),d=[],f=n(85089),h=n(82987),p="rc-util-locker-".concat(Date.now()),m=0;var v=!1,g=function(e){return!1!==e&&((0,a.A)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)};const y=o.forwardRef((function(e,t){var n=e.open,y=e.autoLock,b=e.getContainer,w=(e.debug,e.autoDestroy),E=void 0===w||w,x=e.children,S=o.useState(n),_=(0,r.A)(S,2),O=_[0],C=_[1],A=O||n;o.useEffect((function(){(E||n)&&C(n)}),[n,E]);var k=o.useState((function(){return g(b)})),M=(0,r.A)(k,2),T=M[0],P=M[1];o.useEffect((function(){var e=g(b);P(null!=e?e:null)}));var I=function(e,t){var n=o.useState((function(){return(0,a.A)()?document.createElement("div"):null})),i=(0,r.A)(n,1)[0],s=o.useRef(!1),f=o.useContext(l),h=o.useState(d),p=(0,r.A)(h,2),m=p[0],v=p[1],g=f||(s.current?void 0:function(e){v((function(t){return[e].concat((0,c.A)(t))}))});function y(){i.parentElement||document.body.appendChild(i),s.current=!0}function b(){var e;null===(e=i.parentElement)||void 0===e||e.removeChild(i),s.current=!1}return(0,u.A)((function(){return e?f?f(y):y():b(),b}),[e]),(0,u.A)((function(){m.length&&(m.forEach((function(e){return e()})),v(d))}),[m]),[i,g]}(A&&!T),j=(0,r.A)(I,2),z=j[0],D=j[1],R=null!=T?T:z;!function(e){var t=!!e,n=o.useState((function(){return m+=1,"".concat(p,"_").concat(m)})),i=(0,r.A)(n,1)[0];(0,u.A)((function(){if(t){var e=(0,h.V)(document.body).width,n=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,f.BD)("\nhtml body {\n  overflow-y: hidden;\n  ".concat(n?"width: calc(100% - ".concat(e,"px);"):"","\n}"),i)}else(0,f.m6)(i);return function(){(0,f.m6)(i)}}),[t,i])}(y&&n&&(0,a.A)()&&(R===z||R===document.body));var N=null;x&&(0,s.f3)(x)&&t&&(N=x.ref);var $=(0,s.xK)(N,t);if(!A||!(0,a.A)()||void 0===T)return null;var F=!1===R||v,L=x;return t&&(L=o.cloneElement(x,{ref:$})),o.createElement(l.Provider,{value:D},F?L:(0,i.createPortal)(L,R))}))},62427:(e,t,n)=>{"use strict";n.d(t,{A:()=>H});var r=n(89379),o=n(5544),i=n(80045),a=n(45062),s=n(46942),l=n.n(s),c=n(18462),u=n(66588),d=n(72633),f=n(26956),h=n(56855),p=n(30981),m=n(68430),v=n(96540),g=n(58168),y=n(57557),b=n(8719);function w(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},a=i.className,s=i.content,c=o.x,u=void 0===c?0:c,d=o.y,f=void 0===d?0:d,h=v.useRef();if(!n||!n.points)return null;var p={position:"absolute"};if(!1!==n.autoArrow){var m=n.points[0],g=n.points[1],y=m[0],b=m[1],w=g[0],E=g[1];y!==w&&["t","b"].includes(y)?"t"===y?p.top=0:p.bottom=0:p.top=f,b!==E&&["l","r"].includes(b)?"l"===b?p.left=0:p.right=0:p.left=u}return v.createElement("div",{ref:h,className:l()("".concat(t,"-arrow"),a),style:p},s)}function E(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?v.createElement(y.Ay,(0,g.A)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return v.createElement("div",{style:{zIndex:r},className:l()("".concat(t,"-mask"),n)})})):null}const x=v.memo((function(e){return e.children}),(function(e,t){return t.cache})),S=v.forwardRef((function(e,t){var n=e.popup,i=e.className,a=e.prefixCls,s=e.style,u=e.target,d=e.onVisibleChanged,f=e.open,h=e.keepDom,m=e.fresh,S=e.onClick,_=e.mask,O=e.arrow,C=e.arrowPos,A=e.align,k=e.motion,M=e.maskMotion,T=e.forceRender,P=e.getPopupContainer,I=e.autoDestroy,j=e.portal,z=e.zIndex,D=e.onMouseEnter,R=e.onMouseLeave,N=e.onPointerEnter,$=e.ready,F=e.offsetX,L=e.offsetY,B=e.offsetR,H=e.offsetB,V=e.onAlign,U=e.onPrepare,W=e.stretch,q=e.targetWidth,K=e.targetHeight,G="function"==typeof n?n():n,X=f||h,Y=(null==P?void 0:P.length)>0,Z=v.useState(!P||!Y),J=(0,o.A)(Z,2),Q=J[0],ee=J[1];if((0,p.A)((function(){!Q&&Y&&u&&ee(!0)}),[Q,Y,u]),!Q)return null;var te="auto",ne={left:"-1000vw",top:"-1000vh",right:te,bottom:te};if($||!f){var re,oe=A.points,ie=A.dynamicInset||(null===(re=A._experimental)||void 0===re?void 0:re.dynamicInset),ae=ie&&"r"===oe[0][1],se=ie&&"b"===oe[0][0];ae?(ne.right=B,ne.left=te):(ne.left=F,ne.right=te),se?(ne.bottom=H,ne.top=te):(ne.top=L,ne.bottom=te)}var le={};return W&&(W.includes("height")&&K?le.height=K:W.includes("minHeight")&&K&&(le.minHeight=K),W.includes("width")&&q?le.width=q:W.includes("minWidth")&&q&&(le.minWidth=q)),f||(le.pointerEvents="none"),v.createElement(j,{open:T||X,getContainer:P&&function(){return P(u)},autoDestroy:I},v.createElement(E,{prefixCls:a,open:f,zIndex:z,mask:_,motion:M}),v.createElement(c.A,{onResize:V,disabled:!f},(function(e){return v.createElement(y.Ay,(0,g.A)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:T,leavedClassName:"".concat(a,"-hidden")},k,{onAppearPrepare:U,onEnterPrepare:U,visible:f,onVisibleChanged:function(e){var t;null==k||null===(t=k.onVisibleChanged)||void 0===t||t.call(k,e),d(e)}}),(function(n,o){var c=n.className,u=n.style,d=l()(a,c,i);return v.createElement("div",{ref:(0,b.K4)(e,t,o),className:d,style:(0,r.A)((0,r.A)((0,r.A)((0,r.A)({"--arrow-x":"".concat(C.x||0,"px"),"--arrow-y":"".concat(C.y||0,"px")},ne),le),u),{},{boxSizing:"border-box",zIndex:z},s),onMouseEnter:D,onMouseLeave:R,onPointerEnter:N,onClick:S},O&&v.createElement(w,{prefixCls:a,arrow:O,arrowPos:C,align:A}),v.createElement(x,{cache:!f&&!m},G))}))})))})),_=v.forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=(0,b.f3)(n),i=v.useCallback((function(e){(0,b.Xf)(t,r?r(e):e)}),[r]),a=(0,b.xK)(i,n.ref);return o?v.cloneElement(n,{ref:a}):n})),O=v.createContext(null);function C(e){return e?Array.isArray(e)?e:[e]:[]}var A=n(42467);function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function M(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function T(e){return e.ownerDocument.defaultView}function P(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=T(n).getComputedStyle(n);[o.overflowX,o.overflowY,o.overflow].some((function(e){return r.includes(e)}))&&t.push(n),n=n.parentElement}return t}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function j(e){return I(parseFloat(e),0)}function z(e,t){var n=(0,r.A)({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=T(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,l=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,f=e.offsetWidth,h=e.clientWidth,p=j(i),m=j(a),v=j(s),g=j(l),y=I(Math.round(c.width/f*1e3)/1e3),b=I(Math.round(c.height/u*1e3)/1e3),w=(f-h-v-g)*y,E=(u-d-p-m)*b,x=p*b,S=m*b,_=v*y,O=g*y,C=0,A=0;if("clip"===r){var k=j(o);C=k*y,A=k*b}var M=c.x+_-C,P=c.y+x-A,z=M+c.width+2*C-_-O-w,D=P+c.height+2*A-x-S-E;n.left=Math.max(n.left,M),n.top=Math.max(n.top,P),n.right=Math.min(n.right,z),n.bottom=Math.min(n.bottom,D)}})),n}function D(e){var t="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function R(e,t){var n=t||[],r=(0,o.A)(n,2),i=r[0],a=r[1];return[D(e.width,i),D(e.height,a)]}function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function $(e,t){var n,r=t[0],o=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:n}}function F(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}var L=n(60436);n(68210);var B=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.A;return v.forwardRef((function(t,n){var a=t.prefixCls,s=void 0===a?"rc-trigger-popup":a,g=t.children,y=t.action,b=void 0===y?"hover":y,w=t.showAction,E=t.hideAction,x=t.popupVisible,j=t.defaultPopupVisible,D=t.onPopupVisibleChange,H=t.afterPopupVisibleChange,V=t.mouseEnterDelay,U=t.mouseLeaveDelay,W=void 0===U?.1:U,q=t.focusDelay,K=t.blurDelay,G=t.mask,X=t.maskClosable,Y=void 0===X||X,Z=t.getPopupContainer,J=t.forceRender,Q=t.autoDestroy,ee=t.destroyPopupOnHide,te=t.popup,ne=t.popupClassName,re=t.popupStyle,oe=t.popupPlacement,ie=t.builtinPlacements,ae=void 0===ie?{}:ie,se=t.popupAlign,le=t.zIndex,ce=t.stretch,ue=t.getPopupClassNameFromAlign,de=t.fresh,fe=t.alignPoint,he=t.onPopupClick,pe=t.onPopupAlign,me=t.arrow,ve=t.popupMotion,ge=t.maskMotion,ye=t.popupTransitionName,be=t.popupAnimation,we=t.maskTransitionName,Ee=t.maskAnimation,xe=t.className,Se=t.getTriggerDOMNode,_e=(0,i.A)(t,B),Oe=Q||ee||!1,Ce=v.useState(!1),Ae=(0,o.A)(Ce,2),ke=Ae[0],Me=Ae[1];(0,p.A)((function(){Me((0,m.A)())}),[]);var Te=v.useRef({}),Pe=v.useContext(O),Ie=v.useMemo((function(){return{registerSubPopup:function(e,t){Te.current[e]=t,null==Pe||Pe.registerSubPopup(e,t)}}}),[Pe]),je=(0,h.A)(),ze=v.useState(null),De=(0,o.A)(ze,2),Re=De[0],Ne=De[1],$e=(0,f.A)((function(e){(0,u.f)(e)&&Re!==e&&Ne(e),null==Pe||Pe.registerSubPopup(je,e)})),Fe=v.useState(null),Le=(0,o.A)(Fe,2),Be=Le[0],He=Le[1],Ve=v.useRef(null),Ue=(0,f.A)((function(e){(0,u.f)(e)&&Be!==e&&(He(e),Ve.current=e)})),We=v.Children.only(g),qe=(null==We?void 0:We.props)||{},Ke={},Ge=(0,f.A)((function(e){var t,n,r=Be;return(null==r?void 0:r.contains(e))||(null===(t=(0,d.j)(r))||void 0===t?void 0:t.host)===e||e===r||(null==Re?void 0:Re.contains(e))||(null===(n=(0,d.j)(Re))||void 0===n?void 0:n.host)===e||e===Re||Object.values(Te.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),Xe=M(s,ve,be,ye),Ye=M(s,ge,Ee,we),Ze=v.useState(j||!1),Je=(0,o.A)(Ze,2),Qe=Je[0],et=Je[1],tt=null!=x?x:Qe,nt=(0,f.A)((function(e){void 0===x&&et(e)}));(0,p.A)((function(){et(x||!1)}),[x]);var rt=v.useRef(tt);rt.current=tt;var ot=v.useRef([]);ot.current=[];var it=(0,f.A)((function(e){var t;nt(e),(null!==(t=ot.current[ot.current.length-1])&&void 0!==t?t:tt)!==e&&(ot.current.push(e),null==D||D(e))})),at=v.useRef(),st=function(){clearTimeout(at.current)},lt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;st(),0===t?it(e):at.current=setTimeout((function(){it(e)}),1e3*t)};v.useEffect((function(){return st}),[]);var ct=v.useState(!1),ut=(0,o.A)(ct,2),dt=ut[0],ft=ut[1];(0,p.A)((function(e){e&&!tt||ft(!0)}),[tt]);var ht=v.useState(null),pt=(0,o.A)(ht,2),mt=pt[0],vt=pt[1],gt=v.useState([0,0]),yt=(0,o.A)(gt,2),bt=yt[0],wt=yt[1],Et=function(e){wt([e.clientX,e.clientY])},xt=function(e,t,n,i,a,s,l){var c=v.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[i]||{}}),d=(0,o.A)(c,2),h=d[0],m=d[1],g=v.useRef(0),y=v.useMemo((function(){return t?P(t):[]}),[t]),b=v.useRef({});e||(b.current={});var w=(0,f.A)((function(){if(t&&n&&e){var c,d,f,h=t,p=h.ownerDocument,v=T(h).getComputedStyle(h),g=v.width,w=v.height,E=v.position,x=h.style.left,S=h.style.top,_=h.style.right,O=h.style.bottom,C=h.style.overflow,k=(0,r.A)((0,r.A)({},a[i]),s),M=p.createElement("div");if(null===(c=h.parentElement)||void 0===c||c.appendChild(M),M.style.left="".concat(h.offsetLeft,"px"),M.style.top="".concat(h.offsetTop,"px"),M.style.position=E,M.style.height="".concat(h.offsetHeight,"px"),M.style.width="".concat(h.offsetWidth,"px"),h.style.left="0",h.style.top="0",h.style.right="auto",h.style.bottom="auto",h.style.overflow="hidden",Array.isArray(n))f={x:n[0],y:n[1],width:0,height:0};else{var P=n.getBoundingClientRect();f={x:P.x,y:P.y,width:P.width,height:P.height}}var j=h.getBoundingClientRect(),D=p.documentElement,L=D.clientWidth,B=D.clientHeight,H=D.scrollWidth,V=D.scrollHeight,U=D.scrollTop,W=D.scrollLeft,q=j.height,K=j.width,G=f.height,X=f.width,Y={left:0,top:0,right:L,bottom:B},Z={left:-W,top:-U,right:H-W,bottom:V-U},J=k.htmlRegion,Q="visible",ee="visibleFirst";"scroll"!==J&&J!==ee&&(J=Q);var te=J===ee,ne=z(Z,y),re=z(Y,y),oe=J===Q?re:ne,ie=te?re:oe;h.style.left="auto",h.style.top="auto",h.style.right="0",h.style.bottom="0";var ae=h.getBoundingClientRect();h.style.left=x,h.style.top=S,h.style.right=_,h.style.bottom=O,h.style.overflow=C,null===(d=h.parentElement)||void 0===d||d.removeChild(M);var se=I(Math.round(K/parseFloat(g)*1e3)/1e3),le=I(Math.round(q/parseFloat(w)*1e3)/1e3);if(0===se||0===le||(0,u.f)(n)&&!(0,A.A)(n))return;var ce=k.offset,ue=k.targetOffset,de=R(j,ce),fe=(0,o.A)(de,2),he=fe[0],pe=fe[1],me=R(f,ue),ve=(0,o.A)(me,2),ge=ve[0],ye=ve[1];f.x-=ge,f.y-=ye;var be=k.points||[],we=(0,o.A)(be,2),Ee=we[0],xe=N(we[1]),Se=N(Ee),_e=$(f,xe),Oe=$(j,Se),Ce=(0,r.A)({},k),Ae=_e.x-Oe.x+he,ke=_e.y-Oe.y+pe;function Et(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:oe,r=j.x+e,o=j.y+t,i=r+K,a=o+q,s=Math.max(r,n.left),l=Math.max(o,n.top),c=Math.min(i,n.right),u=Math.min(a,n.bottom);return Math.max(0,(c-s)*(u-l))}var Me,Te,Pe,Ie,je=Et(Ae,ke),ze=Et(Ae,ke,re),De=$(f,["t","l"]),Re=$(j,["t","l"]),Ne=$(f,["b","r"]),$e=$(j,["b","r"]),Fe=k.overflow||{},Le=Fe.adjustX,Be=Fe.adjustY,He=Fe.shiftX,Ve=Fe.shiftY,Ue=function(e){return"boolean"==typeof e?e:e>=0};function xt(){Me=j.y+ke,Te=Me+q,Pe=j.x+Ae,Ie=Pe+K}xt();var We=Ue(Be),qe=Se[0]===xe[0];if(We&&"t"===Se[0]&&(Te>ie.bottom||b.current.bt)){var Ke=ke;qe?Ke-=q-G:Ke=De.y-$e.y-pe;var Ge=Et(Ae,Ke),Xe=Et(Ae,Ke,re);Ge>je||Ge===je&&(!te||Xe>=ze)?(b.current.bt=!0,ke=Ke,pe=-pe,Ce.points=[F(Se,0),F(xe,0)]):b.current.bt=!1}if(We&&"b"===Se[0]&&(Me<ie.top||b.current.tb)){var Ye=ke;qe?Ye+=q-G:Ye=Ne.y-Re.y-pe;var Ze=Et(Ae,Ye),Je=Et(Ae,Ye,re);Ze>je||Ze===je&&(!te||Je>=ze)?(b.current.tb=!0,ke=Ye,pe=-pe,Ce.points=[F(Se,0),F(xe,0)]):b.current.tb=!1}var Qe=Ue(Le),et=Se[1]===xe[1];if(Qe&&"l"===Se[1]&&(Ie>ie.right||b.current.rl)){var tt=Ae;et?tt-=K-X:tt=De.x-$e.x-he;var nt=Et(tt,ke),rt=Et(tt,ke,re);nt>je||nt===je&&(!te||rt>=ze)?(b.current.rl=!0,Ae=tt,he=-he,Ce.points=[F(Se,1),F(xe,1)]):b.current.rl=!1}if(Qe&&"r"===Se[1]&&(Pe<ie.left||b.current.lr)){var ot=Ae;et?ot+=K-X:ot=Ne.x-Re.x-he;var it=Et(ot,ke),at=Et(ot,ke,re);it>je||it===je&&(!te||at>=ze)?(b.current.lr=!0,Ae=ot,he=-he,Ce.points=[F(Se,1),F(xe,1)]):b.current.lr=!1}xt();var st=!0===He?0:He;"number"==typeof st&&(Pe<re.left&&(Ae-=Pe-re.left-he,f.x+X<re.left+st&&(Ae+=f.x-re.left+X-st)),Ie>re.right&&(Ae-=Ie-re.right-he,f.x>re.right-st&&(Ae+=f.x-re.right+st)));var lt=!0===Ve?0:Ve;"number"==typeof lt&&(Me<re.top&&(ke-=Me-re.top-pe,f.y+G<re.top+lt&&(ke+=f.y-re.top+G-lt)),Te>re.bottom&&(ke-=Te-re.bottom-pe,f.y>re.bottom-lt&&(ke+=f.y-re.bottom+lt)));var ct=j.x+Ae,ut=ct+K,dt=j.y+ke,ft=dt+q,ht=f.x,pt=ht+X,mt=f.y,vt=mt+G,gt=(Math.max(ct,ht)+Math.min(ut,pt))/2-ct,yt=(Math.max(dt,mt)+Math.min(ft,vt))/2-dt;null==l||l(t,Ce);var bt=ae.right-j.x-(Ae+j.width),wt=ae.bottom-j.y-(ke+j.height);m({ready:!0,offsetX:Ae/se,offsetY:ke/le,offsetR:bt/se,offsetB:wt/le,arrowX:gt/se,arrowY:yt/le,scaleX:se,scaleY:le,align:Ce})}})),E=function(){m((function(e){return(0,r.A)((0,r.A)({},e),{},{ready:!1})}))};return(0,p.A)(E,[i]),(0,p.A)((function(){e||E()}),[e]),[h.ready,h.offsetX,h.offsetY,h.offsetR,h.offsetB,h.arrowX,h.arrowY,h.scaleX,h.scaleY,h.align,function(){g.current+=1;var e=g.current;Promise.resolve().then((function(){g.current===e&&w()}))}]}(tt,Re,fe?bt:Be,oe,ae,se,pe),St=(0,o.A)(xt,11),_t=St[0],Ot=St[1],Ct=St[2],At=St[3],kt=St[4],Mt=St[5],Tt=St[6],Pt=St[7],It=St[8],jt=St[9],zt=St[10],Dt=function(e,t,n,r){return v.useMemo((function(){var o=C(null!=n?n:t),i=C(null!=r?r:t),a=new Set(o),s=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[a,s]}),[e,t,n,r])}(ke,b,w,E),Rt=(0,o.A)(Dt,2),Nt=Rt[0],$t=Rt[1],Ft=Nt.has("click"),Lt=$t.has("click")||$t.has("contextMenu"),Bt=(0,f.A)((function(){dt||zt()}));!function(e,t,n,r,o){(0,p.A)((function(){if(e&&t&&n){var o=n,i=P(t),a=P(o),s=T(o),l=new Set([s].concat((0,L.A)(i),(0,L.A)(a)));function c(){r(),rt.current&&fe&&Lt&&lt(!1)}return l.forEach((function(e){e.addEventListener("scroll",c,{passive:!0})})),s.addEventListener("resize",c,{passive:!0}),r(),function(){l.forEach((function(e){e.removeEventListener("scroll",c),s.removeEventListener("resize",c)}))}}}),[e,t,n])}(tt,Be,Re,Bt),(0,p.A)((function(){Bt()}),[bt,oe]),(0,p.A)((function(){!tt||null!=ae&&ae[oe]||Bt()}),[JSON.stringify(se)]);var Ht=v.useMemo((function(){var e=function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a<i.length;a+=1){var s,l=i[a];if(k(null===(s=e[l])||void 0===s?void 0:s.points,o,r))return"".concat(t,"-placement-").concat(l)}return""}(ae,s,jt,fe);return l()(e,null==ue?void 0:ue(jt))}),[jt,ue,ae,s,fe]);v.useImperativeHandle(n,(function(){return{nativeElement:Ve.current,forceAlign:Bt}}));var Vt=v.useState(0),Ut=(0,o.A)(Vt,2),Wt=Ut[0],qt=Ut[1],Kt=v.useState(0),Gt=(0,o.A)(Kt,2),Xt=Gt[0],Yt=Gt[1],Zt=function(){if(ce&&Be){var e=Be.getBoundingClientRect();qt(e.width),Yt(e.height)}};function Jt(e,t,n,r){Ke[e]=function(o){var i;null==r||r(o),lt(t,n);for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];null===(i=qe[e])||void 0===i||i.call.apply(i,[qe,o].concat(s))}}(0,p.A)((function(){mt&&(zt(),mt(),vt(null))}),[mt]),(Ft||Lt)&&(Ke.onClick=function(e){var t;rt.current&&Lt?lt(!1):!rt.current&&Ft&&(Et(e),lt(!0));for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null===(t=qe.onClick)||void 0===t||t.call.apply(t,[qe,e].concat(r))}),function(e,t,n,r,o,i,a,s){var l=v.useRef(e);l.current=e,v.useEffect((function(){if(t&&r&&(!o||i)){var e=function(e){var t=e.target;l.current&&!a(t)&&s(!1)},c=T(r);c.addEventListener("mousedown",e,!0),c.addEventListener("contextmenu",e,!0);var u=(0,d.j)(n);return u&&(u.addEventListener("mousedown",e,!0),u.addEventListener("contextmenu",e,!0)),function(){c.removeEventListener("mousedown",e,!0),c.removeEventListener("contextmenu",e,!0),u&&(u.removeEventListener("mousedown",e,!0),u.removeEventListener("contextmenu",e,!0))}}}),[t,n,r,o,i])}(tt,Lt,Be,Re,G,Y,Ge,lt);var Qt,en,tn=Nt.has("hover"),nn=$t.has("hover");tn&&(Jt("onMouseEnter",!0,V,(function(e){Et(e)})),Jt("onPointerEnter",!0,V,(function(e){Et(e)})),Qt=function(e){(tt||dt)&&null!=Re&&Re.contains(e.target)&&lt(!0,V)},fe&&(Ke.onMouseMove=function(e){var t;null===(t=qe.onMouseMove)||void 0===t||t.call(qe,e)})),nn&&(Jt("onMouseLeave",!1,W),Jt("onPointerLeave",!1,W),en=function(){lt(!1,W)}),Nt.has("focus")&&Jt("onFocus",!0,q),$t.has("focus")&&Jt("onBlur",!1,K),Nt.has("contextMenu")&&(Ke.onContextMenu=function(e){var t;rt.current&&$t.has("contextMenu")?lt(!1):(Et(e),lt(!0)),e.preventDefault();for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null===(t=qe.onContextMenu)||void 0===t||t.call.apply(t,[qe,e].concat(r))}),xe&&(Ke.className=l()(qe.className,xe));var rn=(0,r.A)((0,r.A)({},qe),Ke),on={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach((function(e){_e[e]&&(on[e]=function(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null===(t=rn[e])||void 0===t||t.call.apply(t,[rn].concat(r)),_e[e].apply(_e,r)})}));var an=v.cloneElement(We,(0,r.A)((0,r.A)({},rn),on)),sn={x:Mt,y:Tt},ln=me?(0,r.A)({},!0!==me?me:{}):null;return v.createElement(v.Fragment,null,v.createElement(c.A,{disabled:!tt,ref:Ue,onResize:function(){Zt(),Bt()}},v.createElement(_,{getTriggerDOMNode:Se},an)),v.createElement(O.Provider,{value:Ie},v.createElement(S,{portal:e,ref:$e,prefixCls:s,popup:te,className:l()(ne,Ht),style:re,target:Be,onMouseEnter:Qt,onMouseLeave:en,onPointerEnter:Qt,zIndex:le,open:tt,keepDom:dt,fresh:de,onClick:he,mask:G,motion:Xe,maskMotion:Ye,onVisibleChanged:function(e){ft(!1),zt(),null==H||H(e)},onPrepare:function(){return new Promise((function(e){Zt(),vt((function(){return e}))}))},forceRender:J,autoDestroy:Oe,getPopupContainer:Z,align:jt,arrow:ln,arrowPos:sn,ready:_t,offsetX:Ot,offsetY:Ct,offsetR:At,offsetB:kt,onAlign:Bt,stretch:ce,targetWidth:Wt/Pt,targetHeight:Xt/It})))}))}(a.A)},23283:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540),o=n(94241),i=n(76327);const a=e=>e?r.createElement(i.K6,null,r.createElement(o.XB,{override:!0,status:!0},e)):null},53425:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,U:()=>s});var r=n(96540),o=n(80516),i=n(54864),a=n(62279);function s(e){return t=>r.createElement(i.Ay,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}const l=(e,t,n,i)=>s((s=>{const{prefixCls:l,style:c}=s,u=r.useRef(null),[d,f]=r.useState(0),[h,p]=r.useState(0),[m,v]=(0,o.A)(!1,{value:s.open}),{getPrefixCls:g}=r.useContext(a.QO),y=g(t||"select",l);r.useEffect((()=>{if(v(!0),"undefined"!=typeof ResizeObserver){const e=new ResizeObserver((e=>{const t=e[0].target;f(t.offsetHeight+8),p(t.offsetWidth)})),t=setInterval((()=>{var r;const o=n?`.${n(y)}`:`.${y}-dropdown`,i=null===(r=u.current)||void 0===r?void 0:r.querySelector(o);i&&(clearInterval(t),e.observe(i))}),10);return()=>{clearInterval(t),e.disconnect()}}}),[]);let b=Object.assign(Object.assign({},s),{style:Object.assign(Object.assign({},c),{margin:0}),open:m,visible:m,getPopupContainer:()=>u.current});i&&(b=i(b));const w={paddingBottom:d,position:"relative",minWidth:h};return r.createElement("div",{ref:u,style:w},r.createElement(e,Object.assign({},b)))}))},54121:(e,t,n)=>{"use strict";n.d(t,{ZZ:()=>l,nP:()=>s});var r=n(28831),o=n(13950);const i=o.s.map((e=>`${e}-inverse`)),a=["success","processing","error","default","warning"];function s(e){return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?o.s.includes(e):[].concat((0,r.A)(i),(0,r.A)(o.s)).includes(e)}function l(e){return a.includes(e)}},51679:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];n&&Object.keys(n).forEach((t=>{const r=n[t];void 0!==r&&(e[t]=r)}))}return e}},96311:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(96540),o=n(25578);const i=e=>{let t;return"object"==typeof e&&(null==e?void 0:e.clearIcon)?t=e:e&&(t={clearIcon:r.createElement(o.A,null)}),t}},27755:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r=e=>e?"function"==typeof e?e():e:null},70064:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,d:()=>a});var r=n(96540),o=n(91937),i=n(85010);function a(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function s(e){const{closable:t,closeIcon:n}=e||{};return r.useMemo((()=>{if(!t&&(!1===t||!1===n||null===n))return!1;if(void 0===t&&void 0===n)return null;let e={closeIcon:"boolean"!=typeof n&&null!==n?n:void 0};return t&&"object"==typeof t&&(e=Object.assign(Object.assign({},e),t)),e}),[t,n])}function l(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((t=>{t&&Object.keys(t).forEach((n=>{void 0!==t[n]&&(e[n]=t[n])}))})),e}const c={};function u(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c;const a=s(e),u=s(t),d=r.useMemo((()=>Object.assign({closeIcon:r.createElement(o.A,null)},n)),[n]),f=r.useMemo((()=>!1!==a&&(a?l(d,u,a):!1!==u&&(u?l(d,u):!!d.closable&&d))),[a,u,d]);return r.useMemo((()=>{if(!1===f)return[!1,null];const{closeIconRender:e}=d,{closeIcon:t}=f;let n=t;if(null!=n){e&&(n=e(t));const o=(0,i.A)(f,!0);Object.keys(o).length&&(n=r.isValidElement(n)?r.cloneElement(n,o):r.createElement("span",Object.assign({},o),n))}return[!0,n]}),[f,d])}},47447:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540);function o(){const[,e]=r.useReducer((e=>e+1),0);return e}},60275:(e,t,n)=>{"use strict";n.d(t,{YK:()=>u,jH:()=>s});var r=n(96540),o=n(365),i=n(72616);const a=100,s=1e3,l={Modal:a,Drawer:a,Popover:a,Popconfirm:a,Tooltip:a,Tour:a},c={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function u(e,t){const[,n]=(0,o.Ay)(),a=r.useContext(i.A);if(void 0!==t)return[t,t];let u=null!=a?a:0;return e in l?(u+=(a?0:n.zIndexPopupBase)+l[e],u=Math.min(u,n.zIndexPopupBase+s)):u+=c[e],[void 0===a?t:u,u]}},23723:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,b:()=>s});const r=()=>({height:0,opacity:0}),o=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},i=e=>({height:e?e.offsetHeight:0}),a=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,s=(e,t,n)=>void 0!==n?n:`${e}-${t}`,l=function(){return{motionName:`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ant"}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:o,onEnterActive:o,onLeaveStart:i,onLeaveActive:r,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500}}},13257:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(95201);const o={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},i={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},a=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function s(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:s,offset:l,borderRadius:c,visibleFirst:u}=e,d=t/2,f={};return Object.keys(o).forEach((e=>{const h=s&&i[e]||o[e],p=Object.assign(Object.assign({},h),{offset:[0,0],dynamicInset:!0});switch(f[e]=p,a.has(e)&&(p.autoArrow=!1),e){case"top":case"topLeft":case"topRight":p.offset[1]=-d-l;break;case"bottom":case"bottomLeft":case"bottomRight":p.offset[1]=d+l;break;case"left":case"leftTop":case"leftBottom":p.offset[0]=-d-l;break;case"right":case"rightTop":case"rightBottom":p.offset[0]=d+l}const m=(0,r.Ke)({contentRadius:c,limitVerticalRadius:!0});if(s)switch(e){case"topLeft":case"bottomLeft":p.offset[0]=-m.arrowOffsetHorizontal-d;break;case"topRight":case"bottomRight":p.offset[0]=m.arrowOffsetHorizontal+d;break;case"leftTop":case"rightTop":p.offset[1]=-m.arrowOffsetHorizontal-d;break;case"leftBottom":case"rightBottom":p.offset[1]=m.arrowOffsetHorizontal+d}p.overflow=function(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};const o=r&&"object"==typeof r?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.arrowOffsetHorizontal+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=2*t.arrowOffsetVertical+n,i.shiftX=!0,i.adjustX=!0}const a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,m,t,n),u&&(p.htmlRegion="visibleFirst")})),f}},40682:(e,t,n)=>{"use strict";n.d(t,{Ob:()=>a,fx:()=>i,zv:()=>o});var r=n(96540);function o(e){return e&&r.isValidElement(e)&&e.type===r.Fragment}const i=(e,t,n)=>r.isValidElement(e)?r.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t;function a(e,t){return i(e,e,t)}},24945:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,ye:()=>i});var r=n(96540),o=n(365);const i=["xxl","xl","lg","md","sm","xs"],a=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),s=e=>{const t=e,n=[].concat(i).reverse();return n.forEach(((e,r)=>{const o=e.toUpperCase(),i=`screen${o}Min`,a=`screen${o}`;if(!(t[i]<=t[a]))throw new Error(`${i}<=${a} fails : !(${t[i]}<=${t[a]})`);if(r<n.length-1){const e=`screen${o}Max`;if(!(t[a]<=t[e]))throw new Error(`${a}<=${e} fails : !(${t[a]}<=${t[e]})`);const i=`screen${n[r+1].toUpperCase()}Min`;if(!(t[e]<=t[i]))throw new Error(`${e}<=${i} fails : !(${t[e]}<=${t[i]})`)}})),e};function l(){const[,e]=(0,o.Ay)(),t=a(s(e));return r.useMemo((()=>{const e=new Map;let n=-1,r={};return{matchHandlers:{},dispatch:t=>(r=t,e.forEach((e=>e(r))),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},unregister(){Object.keys(t).forEach((e=>{const n=t[e],r=this.matchHandlers[n];null==r||r.mql.removeListener(null==r?void 0:r.listener)})),e.clear()},register(){Object.keys(t).forEach((e=>{const n=t[e],o=t=>{let{matches:n}=t;this.dispatch(Object.assign(Object.assign({},r),{[e]:n}))},i=window.matchMedia(n);i.addListener(o),this.matchHandlers[n]={mql:i,listener:o},o(i)}))},responsiveMap:t}}),[e])}},58182:(e,t,n)=>{"use strict";n.d(t,{L:()=>i,v:()=>a});var r=n(46942),o=n.n(r);function i(e,t,n){return o()({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:n})}const a=(e,t)=>t||e},18877:(e,t,n)=>{"use strict";n.d(t,{_n:()=>i,rJ:()=>a});var r=n(96540);function o(){}n(80397);const i=r.createContext({}),a=()=>{const e=()=>{};return e.deprecated=o,e}},57:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(96540),o=n(46942),i=n.n(o),a=n(90116),s=n(85700),l=n(62279),c=n(40682),u=n(69028);const d=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},f=(0,u.Ay)("Wave",(e=>[d(e)]));var h=n(23925),p=n(98656),m=n(365),v=n(4424),g=n(93853),y=n(27183);function b(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function w(e){return Number.isNaN(e)?0:e}const E=e=>{const{className:t,target:n,component:o}=e,a=r.useRef(null),[l,c]=r.useState(null),[u,d]=r.useState([]),[f,h]=r.useState(0),[m,E]=r.useState(0),[x,S]=r.useState(0),[_,O]=r.useState(0),[C,A]=r.useState(!1),k={left:f,top:m,width:x,height:_,borderRadius:u.map((e=>`${e}px`)).join(" ")};function M(){const e=getComputedStyle(n);c(function(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return b(t)?t:b(n)?n:b(r)?r:null}(n));const t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;h(t?n.offsetLeft:w(-parseFloat(r))),E(t?n.offsetTop:w(-parseFloat(o))),S(n.offsetWidth),O(n.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:s,borderBottomRightRadius:l}=e;d([i,a,l,s].map((e=>w(parseFloat(e)))))}if(l&&(k["--wave-color"]=l),r.useEffect((()=>{if(n){const e=(0,p.A)((()=>{M(),A(!0)}));let t;return"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(M),t.observe(n)),()=>{p.A.cancel(e),null==t||t.disconnect()}}}),[]),!C)return null;const T=("Checkbox"===o||"Radio"===o)&&(null==n?void 0:n.classList.contains(v.D));return r.createElement(g.Ay,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=a.current)||void 0===n?void 0:n.parentElement;(0,y.v)(e).then((()=>{null==e||e.remove()}))}return!1}},((e,n)=>{let{className:o}=e;return r.createElement("div",{ref:(0,s.K4)(a,n),className:i()(t,o,{"wave-quick":T}),style:k})}))},x=(e,t)=>{var n;const{component:o}=t;if("Checkbox"===o&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;const i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",null==e||e.insertBefore(i,null==e?void 0:e.firstChild),(0,y.X)(r.createElement(E,Object.assign({},t,{target:e})),i)},S=(e,t,n)=>{const{wave:o}=r.useContext(l.QO),[,i,a]=(0,m.Ay)(),s=(0,h._q)((r=>{const s=e.current;if((null==o?void 0:o.disabled)||!s)return;const l=s.querySelector(`.${v.D}`)||s,{showEffect:c}=o||{};(c||x)(l,{className:t,token:i,component:n,event:r,hashId:a})})),c=r.useRef();return e=>{p.A.cancel(c.current),c.current=(0,p.A)((()=>{s(e)}))}},_=e=>{const{children:t,disabled:n,component:o}=e,{getPrefixCls:u}=(0,r.useContext)(l.QO),d=(0,r.useRef)(null),h=u("wave"),[,p]=f(h),m=S(d,i()(h,p),o);if(r.useEffect((()=>{const e=d.current;if(!e||1!==e.nodeType||n)return;const t=t=>{!(0,a.A)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||m(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[n]),!r.isValidElement(t))return null!=t?t:null;const v=(0,s.f3)(t)?(0,s.K4)(t.ref,d):d;return(0,c.Ob)(t,{ref:v})}},4424:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});const r=`${n(54864).yH}-wave-target`},72616:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(96540).createContext(void 0)},77796:(e,t,n)=>{"use strict";n.d(t,{A:()=>$});var r=n(96540),o=n(78377),i=n(25578),a=n(91937),s=n(43019),l=n(98846),c=n(46942),u=n.n(c),d=n(93853),f=n(85700),h=n(85010),p=n(40682),m=n(62279),v=n(21880),g=n(25905),y=n(69028);const b=(e,t,n,r,o)=>({background:e,border:`${(0,v.zA)(r.lineWidth)} ${r.lineType} ${t}`,[`${o}-icon`]:{color:n}}),w=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:o,fontSize:i,fontSizeLG:a,lineHeight:s,borderRadiusLG:l,motionEaseInOutCirc:c,withDescriptionIconSize:u,colorText:d,colorTextHeading:f,withDescriptionPadding:h,defaultPadding:p}=e;return{[t]:Object.assign(Object.assign({},(0,g.dF)(e)),{position:"relative",display:"flex",alignItems:"center",padding:p,wordWrap:"break-word",borderRadius:l,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:i,lineHeight:s},"&-message":{color:f},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${c}, opacity ${n} ${c},\n        padding-top ${n} ${c}, padding-bottom ${n} ${c},\n        margin-bottom ${n} ${c}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:h,[`${t}-icon`]:{marginInlineEnd:o,fontSize:u,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:f,fontSize:a},[`${t}-description`]:{display:"block",color:d}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},E=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:o,colorWarning:i,colorWarningBorder:a,colorWarningBg:s,colorError:l,colorErrorBorder:c,colorErrorBg:u,colorInfo:d,colorInfoBorder:f,colorInfoBg:h}=e;return{[t]:{"&-success":b(o,r,n,e,t),"&-info":b(h,f,d,e,t),"&-warning":b(s,a,i,e,t),"&-error":Object.assign(Object.assign({},b(u,c,l,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},x=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:o,fontSizeIcon:i,colorIcon:a,colorIconHover:s}=e;return{[t]:{"&-action":{marginInlineStart:o},[`${t}-close-icon`]:{marginInlineStart:o,padding:0,overflow:"hidden",fontSize:i,lineHeight:(0,v.zA)(i),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:a,transition:`color ${r}`,"&:hover":{color:s}}},"&-close-text":{color:a,transition:`color ${r}`,"&:hover":{color:s}}}}},S=(0,y.OF)("Alert",(e=>[w(e),E(e),x(e)]),(e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`})));var _=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const O={success:o.A,info:l.A,error:i.A,warning:s.A},C=e=>{const{icon:t,prefixCls:n,type:o}=e,i=O[o]||null;return t?(0,p.fx)(t,r.createElement("span",{className:`${n}-icon`},t),(()=>({className:u()(`${n}-icon`,{[t.props.className]:t.props.className})}))):r.createElement(i,{className:`${n}-icon`})},A=e=>{const{isClosable:t,prefixCls:n,closeIcon:o,handleClose:i,ariaProps:s}=e,l=!0===o||void 0===o?r.createElement(a.A,null):o;return t?r.createElement("button",Object.assign({type:"button",onClick:i,className:`${n}-close-icon`,tabIndex:0},s),l):null},k=r.forwardRef(((e,t)=>{const{description:n,prefixCls:o,message:i,banner:a,className:s,rootClassName:l,style:c,onMouseEnter:p,onMouseLeave:v,onClick:g,afterClose:y,showIcon:b,closable:w,closeText:E,closeIcon:x,action:O,id:k}=e,M=_(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[T,P]=r.useState(!1),I=r.useRef(null);r.useImperativeHandle(t,(()=>({nativeElement:I.current})));const{getPrefixCls:j,direction:z,alert:D}=r.useContext(m.QO),R=j("alert",o),[N,$,F]=S(R),L=t=>{var n;P(!0),null===(n=e.onClose)||void 0===n||n.call(e,t)},B=r.useMemo((()=>void 0!==e.type?e.type:a?"warning":"info"),[e.type,a]),H=r.useMemo((()=>!("object"!=typeof w||!w.closeIcon)||!!E||("boolean"==typeof w?w:!1!==x&&null!=x||!!(null==D?void 0:D.closable))),[E,x,w,null==D?void 0:D.closable]),V=!(!a||void 0!==b)||b,U=u()(R,`${R}-${B}`,{[`${R}-with-description`]:!!n,[`${R}-no-icon`]:!V,[`${R}-banner`]:!!a,[`${R}-rtl`]:"rtl"===z},null==D?void 0:D.className,s,l,F,$),W=(0,h.A)(M,{aria:!0,data:!0}),q=r.useMemo((()=>{var e,t;return"object"==typeof w&&w.closeIcon?w.closeIcon:E||(void 0!==x?x:"object"==typeof(null==D?void 0:D.closable)&&(null===(e=null==D?void 0:D.closable)||void 0===e?void 0:e.closeIcon)?null===(t=null==D?void 0:D.closable)||void 0===t?void 0:t.closeIcon:null==D?void 0:D.closeIcon)}),[x,w,E,null==D?void 0:D.closeIcon]),K=r.useMemo((()=>{const e=null!=w?w:null==D?void 0:D.closable;if("object"==typeof e){const{closeIcon:t}=e;return _(e,["closeIcon"])}return{}}),[w,null==D?void 0:D.closable]);return N(r.createElement(d.Ay,{visible:!T,motionName:`${R}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:y},((t,o)=>{let{className:a,style:s}=t;return r.createElement("div",Object.assign({id:k,ref:(0,f.K4)(I,o),"data-show":!T,className:u()(U,a),style:Object.assign(Object.assign(Object.assign({},null==D?void 0:D.style),c),s),onMouseEnter:p,onMouseLeave:v,onClick:g,role:"alert"},W),V?r.createElement(C,{description:n,icon:e.icon,prefixCls:R,type:B}):null,r.createElement("div",{className:`${R}-content`},i?r.createElement("div",{className:`${R}-message`},i):null,n?r.createElement("div",{className:`${R}-description`},n):null),O?r.createElement("div",{className:`${R}-action`},O):null,r.createElement(A,{isClosable:H,prefixCls:R,closeIcon:q,handleClose:L,ariaProps:K}))})))})),M=k;var T=n(56476),P=n(55195);function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}function j(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(j=function(){return!!e})()}var z=n(95861);function D(e,t){return D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},D(e,t)}const R=function(e){function t(){var e,n,r,o;return(0,T.A)(this,t),n=this,o=arguments,r=I(r=t),(e=function(e,t){if(t&&("object"==(0,z.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(n,j()?Reflect.construct(r,o||[],I(n).constructor):r.apply(n,o))).state={error:void 0,info:{componentStack:""}},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&D(e,t)}(t,e),(0,P.A)(t,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){const{message:e,description:t,id:n,children:o}=this.props,{error:i,info:a}=this.state,s=a&&a.componentStack?a.componentStack:null,l=void 0===e?(i||"").toString():e,c=void 0===t?s:t;return i?r.createElement(M,{id:n,type:"error",message:l,description:r.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},c)}):o}}])}(r.Component),N=M;N.ErrorBoundary=R;const $=N},52120:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r=n(96540),o=n(46942),i=n.n(o),a=n(93853),s=n(54121),l=n(40682),c=n(62279),u=n(21880),d=n(25905),f=n(31108),h=n(80336),p=n(69028);const m=new u.Mo("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),v=new u.Mo("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),g=new u.Mo("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),y=new u.Mo("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),b=new u.Mo("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),w=new u.Mo("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),E=e=>{const{fontHeight:t,lineWidth:n,marginXS:r,colorBorderBg:o}=e,i=t,a=n,s=e.colorBgContainer,l=e.colorError,c=e.colorErrorHover;return(0,h.h1)(e,{badgeFontHeight:i,badgeShadowSize:a,badgeTextColor:s,badgeColor:l,badgeColorHover:c,badgeShadowColor:o,badgeProcessingDuration:"1.2s",badgeRibbonOffset:r,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},x=e=>{const{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:o}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*n)-2*o,indicatorHeightSM:t,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}},S=(0,p.OF)("Badge",(e=>(e=>{const{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:o,motionDurationSlow:i,textFontSize:a,textFontSizeSM:s,statusSize:l,dotSize:c,textFontWeight:h,indicatorHeight:p,indicatorHeightSM:E,marginXS:x,calc:S}=e,_=`${r}-scroll-number`,O=(0,f.A)(e,((e,n)=>{let{darkColor:r}=n;return{[`&${t} ${t}-color-${e}`]:{background:r,[`&:not(${t}-count)`]:{color:r},"a:hover &":{background:r}}}}));return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.dF)(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:p,height:p,color:e.badgeTextColor,fontWeight:h,fontSize:a,lineHeight:(0,u.zA)(p),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:S(p).div(2).equal(),boxShadow:`0 0 0 ${(0,u.zA)(o)} ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:E,height:E,fontSize:s,lineHeight:(0,u.zA)(E),borderRadius:S(E).div(2).equal()},[`${t}-multiple-words`]:{padding:`0 ${(0,u.zA)(e.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:c,minWidth:c,height:c,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${(0,u.zA)(o)} ${e.badgeShadowColor}`},[`${t}-dot${_}`]:{transition:`background ${i}`},[`${t}-count, ${t}-dot, ${_}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:w,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:l,height:l,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:o,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:m,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:x,color:e.colorText,fontSize:e.fontSize}}}),O),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:v,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:g,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:y,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:b,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${_}-custom-component, ${t}-count`]:{transform:"none"},[`${_}-custom-component, ${_}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${_}`]:{overflow:"hidden",[`${_}-only`]:{position:"relative",display:"inline-block",height:p,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${_}-only-unit`]:{height:p,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${_}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${_}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}})(E(e))),x),_=(0,p.OF)(["Badge","Ribbon"],(e=>(e=>{const{antCls:t,badgeFontHeight:n,marginXS:r,badgeRibbonOffset:o,calc:i}=e,a=`${t}-ribbon`,s=`${t}-ribbon-wrapper`,l=(0,f.A)(e,((e,t)=>{let{darkColor:n}=t;return{[`&${a}-color-${e}`]:{background:n,color:n}}}));return{[`${s}`]:{position:"relative"},[`${a}`]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,d.dF)(e)),{position:"absolute",top:r,padding:`0 ${(0,u.zA)(e.paddingXS)}`,color:e.colorPrimary,lineHeight:(0,u.zA)(n),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${a}-text`]:{color:e.colorTextLightSolid},[`${a}-corner`]:{position:"absolute",top:"100%",width:o,height:o,color:"currentcolor",border:`${(0,u.zA)(i(o).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),l),{[`&${a}-placement-end`]:{insetInlineEnd:i(o).mul(-1).equal(),borderEndEndRadius:0,[`${a}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${a}-placement-start`]:{insetInlineStart:i(o).mul(-1).equal(),borderEndStartRadius:0,[`${a}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}})(E(e))),x);function O(e){let t,{prefixCls:n,value:o,current:a,offset:s=0}=e;return s&&(t={position:"absolute",top:`${s}00%`,left:0}),r.createElement("span",{style:t,className:i()(`${n}-only-unit`,{current:a})},o)}function C(e,t,n){let r=e,o=0;for(;(r+10)%10!==t;)r+=n,o+=n;return o}function A(e){const{prefixCls:t,count:n,value:o}=e,i=Number(o),a=Math.abs(n),[s,l]=r.useState(i),[c,u]=r.useState(a),d=()=>{l(i),u(a)};let f,h;if(r.useEffect((()=>{const e=setTimeout((()=>{d()}),1e3);return()=>{clearTimeout(e)}}),[i]),s===i||Number.isNaN(i)||Number.isNaN(s))f=[r.createElement(O,Object.assign({},e,{key:i,current:!0}))],h={transition:"none"};else{f=[];const t=i+10,n=[];for(let e=i;e<=t;e+=1)n.push(e);const o=n.findIndex((e=>e%10===s));f=n.map(((t,n)=>{const i=t%10;return r.createElement(O,Object.assign({},e,{key:t,value:i,offset:n-o,current:n===o}))})),h={transform:`translateY(${-C(s,i,c<a?1:-1)}00%)`}}return r.createElement("span",{className:`${t}-only`,style:h,onTransitionEnd:d},f)}const k=r.forwardRef(((e,t)=>{const{prefixCls:n,count:o,className:a,motionClassName:s,style:u,title:d,show:f,component:h="sup",children:p}=e,m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:v}=r.useContext(c.QO),g=v("scroll-number",n),y=Object.assign(Object.assign({},m),{"data-show":f,style:u,className:i()(g,a,s),title:d});let b=o;if(o&&Number(o)%1==0){const e=String(o).split("");b=r.createElement("bdi",null,e.map(((t,n)=>r.createElement(A,{prefixCls:g,count:Number(o),value:t,key:e.length-n}))))}return u&&u.borderColor&&(y.style=Object.assign(Object.assign({},u),{boxShadow:`0 0 0 1px ${u.borderColor} inset`})),p?(0,l.Ob)(p,(e=>({className:i()(`${g}-custom-component`,null==e?void 0:e.className,s)}))):r.createElement(h,Object.assign({},y,{ref:t}),b)})),M=k;const T=r.forwardRef(((e,t)=>{var n,o,u,d,f;const{prefixCls:h,scrollNumberPrefixCls:p,children:m,status:v,text:g,color:y,count:b=null,overflowCount:w=99,dot:E=!1,size:x="default",title:_,offset:O,style:C,className:A,rootClassName:k,classNames:T,styles:P,showZero:I=!1}=e,j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:z,direction:D,badge:R}=r.useContext(c.QO),N=z("badge",h),[$,F,L]=S(N),B=b>w?`${w}+`:b,H="0"===B||0===B,V=(null!=v||null!=y)&&(null===b||H&&!I),U=E&&!H,W=U?"":B,q=(0,r.useMemo)((()=>(null==W||""===W||H&&!I)&&!U),[W,H,I,U]),K=(0,r.useRef)(b);q||(K.current=b);const G=K.current,X=(0,r.useRef)(W);q||(X.current=W);const Y=X.current,Z=(0,r.useRef)(U);q||(Z.current=U);const J=(0,r.useMemo)((()=>{if(!O)return Object.assign(Object.assign({},null==R?void 0:R.style),C);const e={marginTop:O[1]};return"rtl"===D?e.left=parseInt(O[0],10):e.right=-parseInt(O[0],10),Object.assign(Object.assign(Object.assign({},e),null==R?void 0:R.style),C)}),[D,O,C,null==R?void 0:R.style]),Q=null!=_?_:"string"==typeof G||"number"==typeof G?G:void 0,ee=q||!g?null:r.createElement("span",{className:`${N}-status-text`},g),te=G&&"object"==typeof G?(0,l.Ob)(G,(e=>({style:Object.assign(Object.assign({},J),e.style)}))):void 0,ne=(0,s.nP)(y,!1),re=i()(null==T?void 0:T.indicator,null===(n=null==R?void 0:R.classNames)||void 0===n?void 0:n.indicator,{[`${N}-status-dot`]:V,[`${N}-status-${v}`]:!!v,[`${N}-color-${y}`]:ne}),oe={};y&&!ne&&(oe.color=y,oe.background=y);const ie=i()(N,{[`${N}-status`]:V,[`${N}-not-a-wrapper`]:!m,[`${N}-rtl`]:"rtl"===D},A,k,null==R?void 0:R.className,null===(o=null==R?void 0:R.classNames)||void 0===o?void 0:o.root,null==T?void 0:T.root,F,L);if(!m&&V){const e=J.color;return $(r.createElement("span",Object.assign({},j,{className:ie,style:Object.assign(Object.assign(Object.assign({},null==P?void 0:P.root),null===(u=null==R?void 0:R.styles)||void 0===u?void 0:u.root),J)}),r.createElement("span",{className:re,style:Object.assign(Object.assign(Object.assign({},null==P?void 0:P.indicator),null===(d=null==R?void 0:R.styles)||void 0===d?void 0:d.indicator),oe)}),g&&r.createElement("span",{style:{color:e},className:`${N}-status-text`},g)))}return $(r.createElement("span",Object.assign({ref:t},j,{className:ie,style:Object.assign(Object.assign({},null===(f=null==R?void 0:R.styles)||void 0===f?void 0:f.root),null==P?void 0:P.root)}),m,r.createElement(a.Ay,{visible:!q,motionName:`${N}-zoom`,motionAppear:!1,motionDeadline:1e3},(e=>{let{className:t}=e;var n,o;const a=z("scroll-number",p),s=Z.current,l=i()(null==T?void 0:T.indicator,null===(n=null==R?void 0:R.classNames)||void 0===n?void 0:n.indicator,{[`${N}-dot`]:s,[`${N}-count`]:!s,[`${N}-count-sm`]:"small"===x,[`${N}-multiple-words`]:!s&&Y&&Y.toString().length>1,[`${N}-status-${v}`]:!!v,[`${N}-color-${y}`]:ne});let c=Object.assign(Object.assign(Object.assign({},null==P?void 0:P.indicator),null===(o=null==R?void 0:R.styles)||void 0===o?void 0:o.indicator),J);return y&&!ne&&(c=c||{},c.background=y),r.createElement(M,{prefixCls:a,show:!q,motionClassName:t,className:l,count:Y,title:Q,style:c,key:"scrollNumber"},te)})),ee))})),P=T;P.Ribbon=e=>{const{className:t,prefixCls:n,style:o,color:a,children:l,text:u,placement:d="end",rootClassName:f}=e,{getPrefixCls:h,direction:p}=r.useContext(c.QO),m=h("ribbon",n),v=`${m}-wrapper`,[g,y,b]=_(m,v),w=(0,s.nP)(a,!1),E=i()(m,`${m}-placement-${d}`,{[`${m}-rtl`]:"rtl"===p,[`${m}-color-${a}`]:w},t),x={},S={};return a&&!w&&(x.background=a,S.color=a),g(r.createElement("div",{className:i()(v,f,y,b)},l,r.createElement("div",{className:i()(E,y),style:Object.assign(Object.assign({},x),o)},r.createElement("span",{className:`${m}-text`},u),r.createElement("div",{className:`${m}-corner`,style:S}))))};const I=P},39449:(e,t,n)=>{"use strict";n.d(t,{Ap:()=>a,DU:()=>s,Ve:()=>c,uR:()=>u});var r=n(96540),o=n(40682);const i=/^[\u4e00-\u9fa5]{2}$/,a=i.test.bind(i);function s(e){return"danger"===e?{danger:!0}:{type:e}}function l(e){return"string"==typeof e}function c(e){return"text"===e||"link"===e}function u(e,t){let n=!1;const i=[];return r.Children.forEach(e,(e=>{const t=typeof e,r="string"===t||"number"===t;if(n&&r){const t=i.length-1,n=i[t];i[t]=`${n}${e}`}else i.push(e);n=r})),r.Children.map(i,(e=>function(e,t){if(null==e)return;const n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&l(e.type)&&a(e.props.children)?(0,o.Ob)(e,{children:e.props.children.split("").join(n)}):l(e)?a(e)?r.createElement("span",null,e.split("").join(n)):r.createElement("span",null,e):(0,o.zv)(e)?r.createElement("span",null,e):e}(e,t)))}},68777:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>ae});var r=n(96540),o=n(46942),i=n.n(o),a=n(87196),s=n(85700),l=n(57),c=n(62279),u=n(98119),d=n(829),f=n(76327),h=n(365);const p=r.createContext(void 0);var m=n(39449);const v=(0,r.forwardRef)(((e,t)=>{const{className:n,style:o,children:a,prefixCls:s}=e,l=i()(`${s}-icon`,n);return r.createElement("span",{ref:t,className:l,style:o},a)})),g=v;var y=n(58373),b=n(93853);const w=(0,r.forwardRef)(((e,t)=>{const{prefixCls:n,className:o,style:a,iconClassName:s}=e,l=i()(`${n}-loading-icon`,o);return r.createElement(g,{prefixCls:n,className:l,style:a,ref:t},r.createElement(y.A,{className:s}))})),E=()=>({width:0,opacity:0,transform:"scale(0)"}),x=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),S=e=>{const{prefixCls:t,loading:n,existIcon:o,className:i,style:a}=e,s=!!n;return o?r.createElement(w,{prefixCls:t,className:i,style:a}):r.createElement(b.Ay,{visible:s,motionName:`${t}-loading-icon-motion`,motionLeave:s,removeOnLeave:!0,onAppearStart:E,onAppearActive:x,onEnterStart:E,onEnterActive:x,onLeaveStart:x,onLeaveActive:E},((e,n)=>{let{className:o,style:s}=e;return r.createElement(w,{prefixCls:t,className:i,style:Object.assign(Object.assign({},a),s),ref:n,iconClassName:o})}))};var _=n(21880),O=n(25905),C=n(80336),A=n(69028);const k=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),M=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n          &:focus,\n          &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},k(`${t}-primary`,o),k(`${t}-danger`,i)]}};var T=n(94925);const P=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return(0,C.h1)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},I=e=>{var t,n,r,o,i,a;const s=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,l=null!==(n=e.contentFontSizeSM)&&void 0!==n?n:e.fontSize,c=null!==(r=e.contentFontSizeLG)&&void 0!==r?r:e.fontSizeLG,u=null!==(o=e.contentLineHeight)&&void 0!==o?o:(0,T.k)(s),d=null!==(i=e.contentLineHeightSM)&&void 0!==i?i:(0,T.k)(l),f=null!==(a=e.contentLineHeightLG)&&void 0!==a?a:(0,T.k)(c);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-s*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*f)/2-e.lineWidth,0)}},j=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,_.zA)(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,O.K8)(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},z=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),D=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),R=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),N=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),$=(e,t,n,r,o,i,a,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},z(e,Object.assign({background:t},a),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),F=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},N(e))}),L=e=>Object.assign({},F(e)),B=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),H=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},L(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),z(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),$(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},z(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),$(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),F(e))}),V=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},L(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),z(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),$(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},z(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),$(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),F(e))}),U=e=>Object.assign(Object.assign({},H(e)),{borderStyle:"dashed"}),W=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},z(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),B(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},z(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),B(e))}),q=e=>Object.assign(Object.assign(Object.assign({},z(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),B(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},B(e)),z(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),K=e=>{const{componentCls:t}=e;return{[`${t}-default`]:H(e),[`${t}-primary`]:V(e),[`${t}-dashed`]:U(e),[`${t}-link`]:W(e),[`${t}-text`]:q(e),[`${t}-ghost`]:$(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},G=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:o,lineHeight:i,borderRadius:a,buttonPaddingHorizontal:s,iconCls:l,buttonPaddingVertical:c}=e,u=`${n}-icon-only`;return[{[`${t}`]:{fontSize:o,lineHeight:i,height:r,padding:`${(0,_.zA)(c)} ${(0,_.zA)(s)}`,borderRadius:a,[`&${u}`]:{width:r,paddingInline:0,[`&${n}-compact-item`]:{flex:"none"},[`&${n}-round`]:{width:"auto"},[l]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:D(e)},{[`${n}${n}-round${t}`]:R(e)}]},X=e=>{const t=(0,C.h1)(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return G(t,e.componentCls)},Y=e=>{const t=(0,C.h1)(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return G(t,`${e.componentCls}-sm`)},Z=e=>{const t=(0,C.h1)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return G(t,`${e.componentCls}-lg`)},J=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},Q=(0,A.OF)("Button",(e=>{const t=P(e);return[j(t),X(t),Y(t),Z(t),J(t),K(t),M(t)]}),I,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});var ee=n(55974);function te(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function ne(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},te(e,t)),(n=e.componentCls,r=t,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var n,r}const re=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${(0,_.zA)(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${(0,_.zA)(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},oe=(0,A.bf)(["Button","compact"],(e=>{const t=P(e);return[(0,ee.G)(t),ne(t),re(t)]}),I);const ie=r.forwardRef(((e,t)=>{var n,o,h;const{loading:v=!1,prefixCls:y,type:b,danger:w=!1,shape:E="default",size:x,styles:_,disabled:O,className:C,rootClassName:A,children:k,icon:M,iconPosition:T="start",ghost:P=!1,block:I=!1,htmlType:j="button",classNames:z,style:D={},autoInsertSpace:R}=e,N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),$=b||"default",{getPrefixCls:F,direction:L,button:B}=(0,r.useContext)(c.QO),H=null===(n=null!=R?R:null==B?void 0:B.autoInsertSpace)||void 0===n||n,V=F("btn",y),[U,W,q]=Q(V),K=(0,r.useContext)(u.A),G=null!=O?O:K,X=(0,r.useContext)(p),Y=(0,r.useMemo)((()=>function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return t=Number.isNaN(t)||"number"!=typeof t?0:t,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}(v)),[v]),[Z,J]=(0,r.useState)(Y.loading),[ee,te]=(0,r.useState)(!1),ne=(0,r.createRef)(),re=(0,s.K4)(t,ne),ie=1===r.Children.count(k)&&!M&&!(0,m.Ve)($);(0,r.useEffect)((()=>{let e=null;return Y.delay>0?e=setTimeout((()=>{e=null,J(!0)}),Y.delay):J(Y.loading),function(){e&&(clearTimeout(e),e=null)}}),[Y]),(0,r.useEffect)((()=>{if(!re||!re.current||!H)return;const e=re.current.textContent;ie&&(0,m.Ap)(e)?ee||te(!0):ee&&te(!1)}),[re]);const ae=t=>{const{onClick:n}=e;Z||G?t.preventDefault():null==n||n(t)},{compactSize:se,compactItemClassnames:le}=(0,f.RQ)(V,L),ce=(0,d.A)((e=>{var t,n;return null!==(n=null!==(t=null!=x?x:se)&&void 0!==t?t:X)&&void 0!==n?n:e})),ue=ce&&{large:"lg",small:"sm",middle:void 0}[ce]||"",de=Z?"loading":M,fe=(0,a.A)(N,["navigate"]),he=i()(V,W,q,{[`${V}-${E}`]:"default"!==E&&E,[`${V}-${$}`]:$,[`${V}-${ue}`]:ue,[`${V}-icon-only`]:!k&&0!==k&&!!de,[`${V}-background-ghost`]:P&&!(0,m.Ve)($),[`${V}-loading`]:Z,[`${V}-two-chinese-chars`]:ee&&H&&!Z,[`${V}-block`]:I,[`${V}-dangerous`]:w,[`${V}-rtl`]:"rtl"===L,[`${V}-icon-end`]:"end"===T},le,C,A,null==B?void 0:B.className),pe=Object.assign(Object.assign({},null==B?void 0:B.style),D),me=i()(null==z?void 0:z.icon,null===(o=null==B?void 0:B.classNames)||void 0===o?void 0:o.icon),ve=Object.assign(Object.assign({},(null==_?void 0:_.icon)||{}),(null===(h=null==B?void 0:B.styles)||void 0===h?void 0:h.icon)||{}),ge=M&&!Z?r.createElement(g,{prefixCls:V,className:me,style:ve},M):r.createElement(S,{existIcon:!!M,prefixCls:V,loading:Z}),ye=k||0===k?(0,m.uR)(k,ie&&H):null;if(void 0!==fe.href)return U(r.createElement("a",Object.assign({},fe,{className:i()(he,{[`${V}-disabled`]:G}),href:G?void 0:fe.href,style:pe,onClick:ae,ref:re,tabIndex:G?-1:0}),ge,ye));let be=r.createElement("button",Object.assign({},N,{type:j,className:he,style:pe,onClick:ae,disabled:G,ref:re}),ge,ye,!!le&&r.createElement(oe,{key:"compact",prefixCls:V}));return(0,m.Ve)($)||(be=r.createElement(l.A,{component:"Button",disabled:Z},be)),U(be)}));ie.Group=e=>{const{getPrefixCls:t,direction:n}=r.useContext(c.QO),{prefixCls:o,size:a,className:s}=e,l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","size","className"]),u=t("btn-group",o),[,,d]=(0,h.Ay)();let f="";switch(a){case"large":f="lg";break;case"small":f="sm"}const m=i()(u,{[`${u}-${f}`]:f,[`${u}-rtl`]:"rtl"===n},s,d);return r.createElement(p.Provider,{value:a},r.createElement("div",Object.assign({},l,{className:m})))},ie.__ANT_BUTTON=!0;const ae=ie},98119:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,X:()=>i});var r=n(96540);const o=r.createContext(!1),i=e=>{let{children:t,disabled:n}=e;const i=r.useContext(o);return r.createElement(o.Provider,{value:null!=n?n:i},t)},a=o},48224:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,c:()=>i});var r=n(96540);const o=r.createContext(void 0),i=e=>{let{children:t,size:n}=e;const i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)},a=o},62279:(e,t,n)=>{"use strict";n.d(t,{QO:()=>i,pM:()=>o});var r=n(96540);const o="anticon",i=r.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:o}),{Consumer:a}=i},35128:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540),o=n(62279),i=n(17308);const a=e=>{const{componentName:t}=e,{getPrefixCls:n}=(0,r.useContext)(o.QO),a=n("empty");switch(t){case"Table":case"List":return r.createElement(i.A,{image:i.A.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return r.createElement(i.A,{image:i.A.PRESENTED_IMAGE_SIMPLE,className:`${a}-small`});default:return r.createElement(i.A,null)}}},20934:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(365);const o=e=>{const[,,,,t]=(0,r.Ay)();return t?`${e}-css-var`:""}},829:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(96540),o=n(48224);const i=e=>{const t=r.useContext(o.A);return r.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])}},54864:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>ee,yH:()=>U,cr:()=>Z});var r=n(96540),o=n.t(r,2),i=n(21880),a=n(14432),s=n(56831),l=n(12985),c=n(18877),u=n(69407),d=n(21815),f=n(60685);const h=e=>{const{locale:t={},children:n,_ANT_MARK__:o}=e;r.useEffect((()=>(0,d.L)(t&&t.Modal)),[t]);const i=r.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return r.createElement(f.A.Provider,{value:i},n)};var p=n(83480),m=n(89864),v=n(50723),g=n(62279),y=n(20439),b=n(24978),w=n(39313),E=n(82985),x="data-rc-order",S="data-rc-priority",_="rc-util-key",O=new Map;function C(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):_}function A(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function k(e){return Array.from((O.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,w.A)())return null;var n=t.csp,r=t.prepend,o=t.priority,i=void 0===o?0:o,a=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),s="prependQueue"===a,l=document.createElement("style");l.setAttribute(x,a),s&&i&&l.setAttribute(S,"".concat(i)),null!=n&&n.nonce&&(l.nonce=null==n?void 0:n.nonce),l.innerHTML=e;var c=A(t),u=c.firstChild;if(r){if(s){var d=(t.styles||k(c)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(x)))return!1;var t=Number(e.getAttribute(S)||0);return i>=t}));if(d.length)return c.insertBefore(l,d[d.length-1].nextSibling),l}c.insertBefore(l,u)}else c.appendChild(l);return l}function T(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=A(n),o=k(r),i=(0,E.A)((0,E.A)({},n),{},{styles:o});!function(e,t){var n=O.get(e);if(!n||!function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}(document,n)){var r=M("",t),o=r.parentNode;O.set(e,o),e.removeChild(r)}}(r,i);var a,s,l,c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=A(t);return(t.styles||k(n)).find((function(n){return n.getAttribute(C(t))===e}))}(t,i);if(c)return null!==(a=i.csp)&&void 0!==a&&a.nonce&&c.nonce!==(null===(s=i.csp)||void 0===s?void 0:s.nonce)&&(c.nonce=null===(l=i.csp)||void 0===l?void 0:l.nonce),c.innerHTML!==e&&(c.innerHTML=e),c;var u=M(e,i);return u.setAttribute(C(i),t),u}const P=`-ant-${Date.now()}-${Math.random()}`;var I=n(98119),j=n(48224);var z=n(98129);const D=Object.assign({},o),{useId:R}=D,N=void 0===R?()=>"":R;var $=n(93853),F=n(365);function L(e){const{children:t}=e,[,n]=(0,F.Ay)(),{motion:o}=n,i=r.useRef(!1);return i.current=i.current||!1===o,i.current?r.createElement($.Kq,{motion:o},t):t}const B=()=>null;var H=n(62366);const V=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],U="ant";let W,q,K,G;function X(){return W||U}function Y(){return q||g.pM}const Z=()=>({getPrefixCls:(e,t)=>t||(e?`${X()}-${e}`:X()),getIconPrefixCls:Y,getRootPrefixCls:()=>W||X(),getTheme:()=>K,holderRender:G}),J=e=>{const{children:t,csp:n,autoInsertSpaceInButton:o,alert:d,anchor:f,form:y,locale:b,componentSize:w,direction:E,space:x,virtual:S,dropdownMatchSelectWidth:_,popupMatchSelectWidth:O,popupOverflow:C,legacyLocale:A,parentContext:k,iconPrefixCls:M,theme:T,componentDisabled:P,segmented:D,statistic:R,spin:$,calendar:F,carousel:U,cascader:W,collapse:q,typography:K,checkbox:G,descriptions:X,divider:Y,drawer:Z,skeleton:J,steps:Q,image:ee,layout:te,list:ne,mentions:re,modal:oe,progress:ie,result:ae,slider:se,breadcrumb:le,menu:ce,pagination:ue,input:de,textArea:fe,empty:he,badge:pe,radio:me,rate:ve,switch:ge,transfer:ye,avatar:be,message:we,tag:Ee,table:xe,card:Se,tabs:_e,timeline:Oe,timePicker:Ce,upload:Ae,notification:ke,tree:Me,colorPicker:Te,datePicker:Pe,rangePicker:Ie,flex:je,wave:ze,dropdown:De,warning:Re,tour:Ne,floatButtonGroup:$e}=e,Fe=r.useCallback(((t,n)=>{const{prefixCls:r}=e;if(n)return n;const o=r||k.getPrefixCls("");return t?`${o}-${t}`:o}),[k.getPrefixCls,e.prefixCls]),Le=M||k.iconPrefixCls||g.pM,Be=n||k.csp;(0,H.A)(Le,Be);const He=function(e,t,n){var r;(0,c.rJ)("ConfigProvider");const o=e||{},i=!1!==o.inherit&&t?t:Object.assign(Object.assign({},m.sb),{hashed:null!==(r=null==t?void 0:t.hashed)&&void 0!==r?r:m.sb.hashed,cssVar:null==t?void 0:t.cssVar}),a=N();return(0,s.A)((()=>{var r,s;if(!e)return t;const l=Object.assign({},i.components);Object.keys(e.components||{}).forEach((t=>{l[t]=Object.assign(Object.assign({},l[t]),e.components[t])}));const c=`css-var-${a.replace(/:/g,"")}`,u=(null!==(r=o.cssVar)&&void 0!==r?r:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==n?void 0:n.prefixCls},"object"==typeof i.cssVar?i.cssVar:{}),"object"==typeof o.cssVar?o.cssVar:{}),{key:"object"==typeof o.cssVar&&(null===(s=o.cssVar)||void 0===s?void 0:s.key)||c});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:l,cssVar:u})}),[o,i],((e,t)=>e.some(((e,n)=>{const r=t[n];return!(0,z.A)(e,r,!0)}))))}(T,k.theme,{prefixCls:Fe("")}),Ve={csp:Be,autoInsertSpaceInButton:o,alert:d,anchor:f,locale:b||A,direction:E,space:x,virtual:S,popupMatchSelectWidth:null!=O?O:_,popupOverflow:C,getPrefixCls:Fe,iconPrefixCls:Le,theme:He,segmented:D,statistic:R,spin:$,calendar:F,carousel:U,cascader:W,collapse:q,typography:K,checkbox:G,descriptions:X,divider:Y,drawer:Z,skeleton:J,steps:Q,image:ee,input:de,textArea:fe,layout:te,list:ne,mentions:re,modal:oe,progress:ie,result:ae,slider:se,breadcrumb:le,menu:ce,pagination:ue,empty:he,badge:pe,radio:me,rate:ve,switch:ge,transfer:ye,avatar:be,message:we,tag:Ee,table:xe,card:Se,tabs:_e,timeline:Oe,timePicker:Ce,upload:Ae,notification:ke,tree:Me,colorPicker:Te,datePicker:Pe,rangePicker:Ie,flex:je,wave:ze,dropdown:De,warning:Re,tour:Ne,floatButtonGroup:$e},Ue=Object.assign({},k);Object.keys(Ve).forEach((e=>{void 0!==Ve[e]&&(Ue[e]=Ve[e])})),V.forEach((t=>{const n=e[t];n&&(Ue[t]=n)})),void 0!==o&&(Ue.button=Object.assign({autoInsertSpace:o},Ue.button));const We=(0,s.A)((()=>Ue),Ue,((e,t)=>{const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((n=>e[n]!==t[n]))})),qe=r.useMemo((()=>({prefixCls:Le,csp:Be})),[Le,Be]);let Ke=r.createElement(r.Fragment,null,r.createElement(B,{dropdownMatchSelectWidth:_}),t);const Ge=r.useMemo((()=>{var e,t,n,r;return(0,l.h)((null===(e=p.A.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=We.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=We.form)||void 0===r?void 0:r.validateMessages)||{},(null==y?void 0:y.validateMessages)||{})}),[We,null==y?void 0:y.validateMessages]);Object.keys(Ge).length>0&&(Ke=r.createElement(u.A.Provider,{value:Ge},Ke)),b&&(Ke=r.createElement(h,{locale:b,_ANT_MARK__:"internalMark"},Ke)),(Le||Be)&&(Ke=r.createElement(a.A.Provider,{value:qe},Ke)),w&&(Ke=r.createElement(j.c,{size:w},Ke)),Ke=r.createElement(L,null,Ke);const Xe=r.useMemo((()=>{const e=He||{},{algorithm:t,token:n,components:r,cssVar:o}=e,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["algorithm","token","components","cssVar"]),s=t&&(!Array.isArray(t)||t.length>0)?(0,i.an)(t):m.zQ,l={};Object.entries(r||{}).forEach((e=>{let[t,n]=e;const r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=s:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,i.an)(r.algorithm)),delete r.algorithm),l[t]=r}));const c=Object.assign(Object.assign({},v.A),n);return Object.assign(Object.assign({},a),{theme:s,token:c,components:l,override:Object.assign({override:c},l),cssVar:o})}),[He]);return T&&(Ke=r.createElement(m.vG.Provider,{value:Xe},Ke)),We.warning&&(Ke=r.createElement(c._n.Provider,{value:We.warning},Ke)),void 0!==P&&(Ke=r.createElement(I.X,{disabled:P},Ke)),r.createElement(g.QO.Provider,{value:We},Ke)},Q=e=>{const t=r.useContext(g.QO),n=r.useContext(f.A);return r.createElement(J,Object.assign({parentContext:t,legacyLocale:n},e))};Q.ConfigContext=g.QO,Q.SizeContext=j.A,Q.config=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;void 0!==t&&(W=t),void 0!==n&&(q=n),"holderRender"in e&&(G=o),r&&(function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(r)?function(e,t){const n=function(e,t){const n={},r=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},o=(e,t)=>{const o=new b.q(e),i=(0,y.cM)(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");const e=new b.q(t.primaryColor),i=(0,y.cM)(e.toRgbString());i.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=r(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=r(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=r(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=r(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=r(e,(e=>e.setAlpha(.12*e.getAlpha())));const a=new b.q(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,(e=>e.setAlpha(.3*e.getAlpha()))),n["primary-color-active-deprecated-d-02"]=r(a,(e=>e.darken(2)))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`\n  :root {\n    ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n  }\n  `.trim()}(e,t);(0,w.A)()&&T(n,`${P}-dynamic-theme`)}(X(),r):K=r)},Q.useConfig=function(){return{componentDisabled:(0,r.useContext)(I.A),componentSize:(0,r.useContext)(j.A)}},Object.defineProperty(Q,"SizeContext",{get:()=>j.A});const ee=Q},59093:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(65341);const o={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:Object.assign({},r.A)}},36552:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(96540),o=n(46942),i=n.n(o),a=n(62279),s=n(21880),l=n(25905),c=n(69028),u=n(80336);const d=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:i,orientationMargin:a,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,l.dF)(e)),{borderBlockStart:`${(0,s.zA)(o)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,s.zA)(o)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,s.zA)(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,s.zA)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,s.zA)(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${a} * 100%)`},"&::after":{width:`calc(100% - ${a} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${a} * 100%)`},"&::after":{width:`calc(${a} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${(0,s.zA)(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},f=(0,c.OF)("Divider",(e=>{const t=(0,u.h1)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[d(t)]}),(e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS})),{unitless:{orientationMargin:!0}});const h=e=>{const{getPrefixCls:t,direction:n,divider:o}=r.useContext(a.QO),{prefixCls:s,type:l="horizontal",orientation:c="center",orientationMargin:u,className:d,rootClassName:h,children:p,dashed:m,plain:v,style:g}=e,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),b=t("divider",s),[w,E,x]=f(b),S=!!p,_="left"===c&&null!=u,O="right"===c&&null!=u,C=i()(b,null==o?void 0:o.className,E,x,`${b}-${l}`,{[`${b}-with-text`]:S,[`${b}-with-text-${c}`]:S,[`${b}-dashed`]:!!m,[`${b}-plain`]:!!v,[`${b}-rtl`]:"rtl"===n,[`${b}-no-default-orientation-margin-left`]:_,[`${b}-no-default-orientation-margin-right`]:O},d,h),A=r.useMemo((()=>"number"==typeof u?u:/^\d+$/.test(u)?Number(u):u),[u]),k=Object.assign(Object.assign({},_&&{marginLeft:A}),O&&{marginRight:A});return w(r.createElement("div",Object.assign({className:C,style:Object.assign(Object.assign({},null==o?void 0:o.style),g)},y,{role:"separator"}),p&&"vertical"!==l&&r.createElement("span",{className:`${b}-inner-text`,style:k},p)))}},16143:(e,t,n)=>{"use strict";n.d(t,{A:()=>J});var r=n(96540),o=n(46942),i=n.n(o),a=n(89379),s=n(5544),l=n(45062),c=n(30981),u=r.createContext(null),d=r.createContext({});const f=u;var h=n(64467),p=n(58168),m=n(57557),v=n(16928),g=n(72065),y=n(80045),b=n(8719),w=["prefixCls","className","containerRef"];const E=function(e){var t=e.prefixCls,n=e.className,o=e.containerRef,a=(0,y.A)(e,w),s=r.useContext(d).panel,l=(0,b.xK)(s,o);return r.createElement("div",(0,p.A)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,g.A)(e,{aria:!0}),{"aria-modal":"true"},a))};var x=n(68210);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,x.Ay)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var _={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function O(e,t){var n,o,l,c=e.prefixCls,u=e.open,d=e.placement,y=e.inline,b=e.push,w=e.forceRender,x=e.autoFocus,O=e.keyboard,C=e.classNames,A=e.rootClassName,k=e.rootStyle,M=e.zIndex,T=e.className,P=e.id,I=e.style,j=e.motion,z=e.width,D=e.height,R=e.children,N=e.mask,$=e.maskClosable,F=e.maskMotion,L=e.maskClassName,B=e.maskStyle,H=e.afterOpenChange,V=e.onClose,U=e.onMouseEnter,W=e.onMouseOver,q=e.onMouseLeave,K=e.onClick,G=e.onKeyDown,X=e.onKeyUp,Y=e.styles,Z=e.drawerRender,J=r.useRef(),Q=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,(function(){return J.current})),r.useEffect((function(){var e;u&&x&&(null===(e=J.current)||void 0===e||e.focus({preventScroll:!0}))}),[u]);var te=r.useState(!1),ne=(0,s.A)(te,2),re=ne[0],oe=ne[1],ie=r.useContext(f),ae=null!==(n=null!==(o=null===(l="boolean"==typeof b?b?{}:{distance:0}:b||{})||void 0===l?void 0:l.distance)&&void 0!==o?o:null==ie?void 0:ie.pushDistance)&&void 0!==n?n:180,se=r.useMemo((function(){return{pushDistance:ae,push:function(){oe(!0)},pull:function(){oe(!1)}}}),[ae]);r.useEffect((function(){var e,t;u?null==ie||null===(e=ie.push)||void 0===e||e.call(ie):null==ie||null===(t=ie.pull)||void 0===t||t.call(ie)}),[u]),r.useEffect((function(){return function(){var e;null==ie||null===(e=ie.pull)||void 0===e||e.call(ie)}}),[]);var le=N&&r.createElement(m.Ay,(0,p.A)({key:"mask"},F,{visible:u}),(function(e,t){var n=e.className,o=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==C?void 0:C.mask,L),style:(0,a.A)((0,a.A)((0,a.A)({},o),B),null==Y?void 0:Y.mask),onClick:$&&u?V:void 0,ref:t})})),ce="function"==typeof j?j(d):j,ue={};if(re&&ae)switch(d){case"top":ue.transform="translateY(".concat(ae,"px)");break;case"bottom":ue.transform="translateY(".concat(-ae,"px)");break;case"left":ue.transform="translateX(".concat(ae,"px)");break;default:ue.transform="translateX(".concat(-ae,"px)")}"left"===d||"right"===d?ue.width=S(z):ue.height=S(D);var de={onMouseEnter:U,onMouseOver:W,onMouseLeave:q,onClick:K,onKeyDown:G,onKeyUp:X},fe=r.createElement(m.Ay,(0,p.A)({key:"panel"},ce,{visible:u,forceRender:w,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),(function(t,n){var o=t.className,s=t.style,l=r.createElement(E,(0,p.A)({id:P,containerRef:n,prefixCls:c,className:i()(T,null==C?void 0:C.content),style:(0,a.A)((0,a.A)({},I),null==Y?void 0:Y.content)},(0,g.A)(e,{aria:!0}),de),R);return r.createElement("div",(0,p.A)({className:i()("".concat(c,"-content-wrapper"),null==C?void 0:C.wrapper,o),style:(0,a.A)((0,a.A)((0,a.A)({},ue),s),null==Y?void 0:Y.wrapper)},(0,g.A)(e,{data:!0})),Z?Z(l):l)})),he=(0,a.A)({},k);return M&&(he.zIndex=M),r.createElement(f.Provider,{value:se},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(d),A,(0,h.A)((0,h.A)({},"".concat(c,"-open"),u),"".concat(c,"-inline"),y)),style:he,tabIndex:-1,ref:J,onKeyDown:function(e){var t=e.keyCode,n=e.shiftKey;switch(t){case v.A.TAB:var r;if(t===v.A.TAB)if(n||document.activeElement!==ee.current){if(n&&document.activeElement===Q.current){var o;null===(o=ee.current)||void 0===o||o.focus({preventScroll:!0})}}else null===(r=Q.current)||void 0===r||r.focus({preventScroll:!0});break;case v.A.ESC:V&&O&&(e.stopPropagation(),V(e))}}},le,r.createElement("div",{tabIndex:0,ref:Q,style:_,"aria-hidden":"true","data-sentinel":"start"}),fe,r.createElement("div",{tabIndex:0,ref:ee,style:_,"aria-hidden":"true","data-sentinel":"end"})))}const C=r.forwardRef(O),A=function(e){var t=e.open,n=void 0!==t&&t,o=e.prefixCls,i=void 0===o?"rc-drawer":o,u=e.placement,f=void 0===u?"right":u,h=e.autoFocus,p=void 0===h||h,m=e.keyboard,v=void 0===m||m,g=e.width,y=void 0===g?378:g,b=e.mask,w=void 0===b||b,E=e.maskClosable,x=void 0===E||E,S=e.getContainer,_=e.forceRender,O=e.afterOpenChange,A=e.destroyOnClose,k=e.onMouseEnter,M=e.onMouseOver,T=e.onMouseLeave,P=e.onClick,I=e.onKeyDown,j=e.onKeyUp,z=e.panelRef,D=r.useState(!1),R=(0,s.A)(D,2),N=R[0],$=R[1],F=r.useState(!1),L=(0,s.A)(F,2),B=L[0],H=L[1];(0,c.A)((function(){H(!0)}),[]);var V=!!B&&n,U=r.useRef(),W=r.useRef();(0,c.A)((function(){V&&(W.current=document.activeElement)}),[V]);var q=r.useMemo((function(){return{panel:z}}),[z]);if(!_&&!N&&!V&&A)return null;var K={onMouseEnter:k,onMouseOver:M,onMouseLeave:T,onClick:P,onKeyDown:I,onKeyUp:j},G=(0,a.A)((0,a.A)({},e),{},{open:V,prefixCls:i,placement:f,autoFocus:p,keyboard:v,width:y,mask:w,maskClosable:x,inline:!1===S,afterOpenChange:function(e){var t,n;$(e),null==O||O(e),e||!W.current||null!==(t=U.current)&&void 0!==t&&t.contains(W.current)||null===(n=W.current)||void 0===n||n.focus({preventScroll:!0})},ref:U},K);return r.createElement(d.Provider,{value:q},r.createElement(l.A,{open:V||_||N,autoDestroy:!1,getContainer:S,autoLock:w&&(V||N)},r.createElement(C,G)))};var k=n(60275),M=n(23723),T=n(72616),P=n(62279),I=n(94241),j=n(76327),z=n(28557),D=n(70064),R=n(39572);const N=e=>{var t,n;const{prefixCls:o,title:a,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:f,footerStyle:h,children:p,classNames:m,styles:v}=e,{drawer:g}=r.useContext(P.QO),y=r.useCallback((e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${o}-close`},e)),[u]),[b,w]=(0,D.A)((0,D.d)(e),(0,D.d)(g),{closable:!0,closeIconRender:y}),E=r.useMemo((()=>{var e,t;return a||b?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==g?void 0:g.styles)||void 0===e?void 0:e.header),d),null==v?void 0:v.header),className:i()(`${o}-header`,{[`${o}-header-close-only`]:b&&!a&&!l},null===(t=null==g?void 0:g.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:`${o}-header-title`},w,a&&r.createElement("div",{className:`${o}-title`},a)),l&&r.createElement("div",{className:`${o}-extra`},l)):null}),[b,w,l,d,o,a]),x=r.useMemo((()=>{var e,t;if(!s)return null;const n=`${o}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==g?void 0:g.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==g?void 0:g.styles)||void 0===t?void 0:t.footer),h),null==v?void 0:v.footer)},s)}),[s,h,o]);return r.createElement(r.Fragment,null,E,r.createElement("div",{className:i()(`${o}-body`,null==m?void 0:m.body,null===(t=null==g?void 0:g.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==g?void 0:g.styles)||void 0===n?void 0:n.body),f),null==v?void 0:v.body)},c?r.createElement(R.A,{active:!0,title:!1,paragraph:{rows:5},className:`${o}-body-skeleton`}):p),x)};var $=n(21880),F=n(25905),L=n(69028),B=n(80336);const H=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},V=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),U=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},V({opacity:e},{opacity:1})),W=(e,t)=>[U(.7,t),V({transform:H(e)},{transform:"none"})],q=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:U(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce(((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:W(t,n)})),{})}}},K=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:o,colorBgElevated:i,motionDurationSlow:a,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:f,lineWidth:h,lineType:p,colorSplit:m,marginXS:v,colorIcon:g,colorIconHover:y,colorBgTextHover:b,colorBgTextActive:w,colorText:E,fontWeightStrong:x,footerPaddingBlock:S,footerPaddingInline:_,calc:O}=e,C=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:E,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:o,pointerEvents:"auto"},[C]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${a}`,"&-hidden":{display:"none"}},[`&-left > ${C}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${C}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${C}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${C}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,$.zA)(c)} ${(0,$.zA)(u)}`,fontSize:d,lineHeight:f,borderBottom:`${(0,$.zA)(h)} ${p} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:O(d).add(l).equal(),height:O(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:v,color:g,fontWeight:x,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:b,textDecoration:"none"},"&:active":{backgroundColor:w}},(0,F.K8)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,$.zA)(S)} ${(0,$.zA)(_)}`,borderTop:`${(0,$.zA)(h)} ${p} ${m}`},"&-rtl":{direction:"rtl"}}}},G=(0,L.OF)("Drawer",(e=>{const t=(0,B.h1)(e,{});return[K(t),q(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})));var X=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Y={distance:180},Z=e=>{const{rootClassName:t,width:n,height:o,size:a="default",mask:s=!0,push:l=Y,open:c,afterOpenChange:u,onClose:d,prefixCls:f,getContainer:h,style:p,className:m,visible:v,afterVisibleChange:g,maskStyle:y,drawerStyle:b,contentWrapperStyle:w}=e,E=X(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:x,getPrefixCls:S,direction:_,drawer:O}=r.useContext(P.QO),C=S("drawer",f),[D,R,$]=G(C),F=void 0===h&&x?()=>x(document.body):h,L=i()({"no-mask":!s,[`${C}-rtl`]:"rtl"===_},t,R,$),B=r.useMemo((()=>null!=n?n:"large"===a?736:378),[n,a]),H=r.useMemo((()=>null!=o?o:"large"===a?736:378),[o,a]),V={motionName:(0,M.b)(C,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},U=(0,z.f)(),[W,q]=(0,k.YK)("Drawer",E.zIndex),{classNames:K={},styles:Z={}}=E,{classNames:J={},styles:Q={}}=O||{};return D(r.createElement(j.K6,null,r.createElement(I.XB,{status:!0,override:!0},r.createElement(T.A.Provider,{value:q},r.createElement(A,Object.assign({prefixCls:C,onClose:d,maskMotion:V,motion:e=>({motionName:(0,M.b)(C,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},E,{classNames:{mask:i()(K.mask,J.mask),content:i()(K.content,J.content),wrapper:i()(K.wrapper,J.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Z.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},Z.content),b),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},Z.wrapper),w),Q.wrapper)},open:null!=c?c:v,mask:s,push:l,width:B,height:H,style:Object.assign(Object.assign({},null==O?void 0:O.style),p),className:i()(null==O?void 0:O.className,m),rootClassName:L,getContainer:F,afterOpenChange:null!=u?u:g,panelRef:U,zIndex:W}),r.createElement(N,Object.assign({prefixCls:C},E,{onClose:d})))))))};Z._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,style:n,className:o,placement:a="right"}=e,s=X(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(P.QO),c=l("drawer",t),[u,d,f]=G(c),h=i()(c,`${c}-pure`,`${c}-${a}`,d,f,o);return u(r.createElement("div",{className:h,style:n},r.createElement(N,Object.assign({prefixCls:c},s))))};const J=Z},34267:(e,t,n)=>{"use strict";n.d(t,{A:()=>U});var r=n(96540),o=n(64179),i=n(46942),a=n.n(i),s=n(3497),l=n(23925),c=n(80516),u=n(87196),d=n(60275),f=n(13257),h=n(53425),p=n(40682),m=n(18877),v=n(72616),g=n(62279),y=n(20934),b=n(87206),w=n(96476),E=n(365),x=n(21880),S=n(25905),_=n(75942),O=n(24211),C=n(99077),A=n(95201),k=n(20791),M=n(69028),T=n(80336);const P=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:o}=e,i=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:r,"&:hover":{color:o,backgroundColor:r}}}}}},I=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:o,sizePopupArrow:i,antCls:a,iconCls:s,motionDurationMid:l,paddingBlock:c,fontSize:u,dropdownEdgeChildPadding:d,colorTextDisabled:f,fontSizeIcon:h,controlPaddingHorizontal:p,colorBgElevated:m}=e;return[{[t]:Object.assign(Object.assign({},(0,S.dF)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(o).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${a}-btn`]:{[`& > ${s}-down, & > ${a}-btn-icon > ${s}-down`]:{fontSize:h}},[`${t}-wrap`]:{position:"relative",[`${a}-btn > ${s}-down`]:{fontSize:h},[`${s}-down::before`]:{transition:`transform ${l}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n        &-hidden,\n        &-menu-hidden,\n        &-menu-submenu-hidden\n      ":{display:"none"},[`&${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomLeft,\n          &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomLeft,\n          &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottom,\n          &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottom,\n          &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomRight,\n          &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:_.ox},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topLeft,\n          &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topLeft,\n          &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-top,\n          &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-top,\n          &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topRight,\n          &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topRight`]:{animationName:_.nP},[`&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomLeft,\n          &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottom,\n          &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:_.vR},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topLeft,\n          &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-top,\n          &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topRight`]:{animationName:_.YU}})},(0,A.Ay)(e,m,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:{[n]:Object.assign(Object.assign({padding:d,listStyleType:"none",backgroundColor:m,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,S.K8)(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${(0,x.zA)(c)} ${(0,x.zA)(p)}`,color:e.colorTextDescription,transition:`all ${l}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${l}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${(0,x.zA)(c)} ${(0,x.zA)(p)}`,color:e.colorText,fontWeight:"normal",fontSize:u,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${l}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,S.K8)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:"not-allowed","&:hover":{color:f,backgroundColor:m,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,x.zA)(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:h,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${(0,x.zA)(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(p).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:m,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[(0,_._j)(e,"slide-up"),(0,_._j)(e,"slide-down"),(0,O.Mh)(e,"move-up"),(0,O.Mh)(e,"move-down"),(0,C.aB)(e,"zoom-big")]]},j=(0,M.OF)("Dropdown",(e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:o}=e,i=(0,T.h1)(e,{menuCls:`${o}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[I(i),P(i)]}),(e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},(0,A.Ke)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,k.n)(e))),{resetStyle:!1}),z=e=>{const{menu:t,arrow:n,prefixCls:i,children:h,trigger:x,disabled:S,dropdownRender:_,getPopupContainer:O,overlayClassName:C,rootClassName:A,overlayStyle:k,open:M,onOpenChange:T,visible:P,onVisibleChange:I,mouseEnterDelay:z=.15,mouseLeaveDelay:D=.1,autoAdjustOverflow:R=!0,placement:N="",overlay:$,transitionName:F}=e,{getPopupContainer:L,getPrefixCls:B,direction:H,dropdown:V}=r.useContext(g.QO);(0,m.rJ)("Dropdown");const U=r.useMemo((()=>{const e=B();return void 0!==F?F:N.includes("top")?`${e}-slide-down`:`${e}-slide-up`}),[B,N,F]),W=r.useMemo((()=>N?N.includes("Center")?N.slice(0,N.indexOf("Center")):N:"rtl"===H?"bottomRight":"bottomLeft"),[N,H]),q=B("dropdown",i),K=(0,y.A)(q),[G,X,Y]=j(q,K),[,Z]=(0,E.Ay)(),J=r.Children.only(h),Q=(0,p.Ob)(J,{className:a()(`${q}-trigger`,{[`${q}-rtl`]:"rtl"===H},J.props.className),disabled:S}),ee=S?[]:x;let te;ee&&ee.includes("contextMenu")&&(te=!0);const[ne,re]=(0,c.A)(!1,{value:null!=M?M:P}),oe=(0,l._q)((e=>{null==T||T(e,{source:"trigger"}),null==I||I(e),re(e)})),ie=a()(C,A,X,Y,K,null==V?void 0:V.className,{[`${q}-rtl`]:"rtl"===H}),ae=(0,f.A)({arrowPointAtCenter:"object"==typeof n&&n.pointAtCenter,autoAdjustOverflow:R,offset:Z.marginXXS,arrowWidth:n?Z.sizePopupArrow:0,borderRadius:Z.borderRadius}),se=r.useCallback((()=>{(null==t?void 0:t.selectable)&&(null==t?void 0:t.multiple)||(null==T||T(!1,{source:"menu"}),re(!1))}),[null==t?void 0:t.selectable,null==t?void 0:t.multiple]),[le,ce]=(0,d.YK)("Dropdown",null==k?void 0:k.zIndex);let ue=r.createElement(s.A,Object.assign({alignPoint:te},(0,u.A)(e,["rootClassName"]),{mouseEnterDelay:z,mouseLeaveDelay:D,visible:ne,builtinPlacements:ae,arrow:!!n,overlayClassName:ie,prefixCls:q,getPopupContainer:O||L,transitionName:U,trigger:ee,overlay:()=>{let e;return e=(null==t?void 0:t.items)?r.createElement(b.A,Object.assign({},t)):"function"==typeof $?$():$,_&&(e=_(e)),e=r.Children.only("string"==typeof e?r.createElement("span",null,e):e),r.createElement(w.A,{prefixCls:`${q}-menu`,rootClassName:a()(Y,K),expandIcon:r.createElement("span",{className:`${q}-menu-submenu-arrow`},r.createElement(o.A,{className:`${q}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:se,validator:e=>{let{mode:t}=e}},e)},placement:W,onVisibleChange:oe,overlayStyle:Object.assign(Object.assign(Object.assign({},null==V?void 0:V.style),k),{zIndex:le})}),Q);return le&&(ue=r.createElement(v.A.Provider,{value:ce},ue)),G(ue)},D=(0,h.A)(z,"dropdown",(e=>e),(function(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}));z._InternalPanelDoNotUseOrYouWillBeFired=e=>r.createElement(D,Object.assign({},e),r.createElement("span",null));const R=z;var N=n(64351),$=n(68777),F=n(42702),L=n(76327);const B=e=>{const{getPopupContainer:t,getPrefixCls:n,direction:o}=r.useContext(g.QO),{prefixCls:i,type:s="default",danger:l,disabled:c,loading:u,onClick:d,htmlType:f,children:h,className:p,menu:m,arrow:v,autoFocus:y,overlay:b,trigger:w,align:E,open:x,onOpenChange:S,placement:_,getPopupContainer:O,href:C,icon:A=r.createElement(N.A,null),title:k,buttonsRender:M=(e=>e),mouseEnterDelay:T,mouseLeaveDelay:P,overlayClassName:I,overlayStyle:j,destroyPopupOnHide:z,dropdownRender:D}=e,B=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),H=n("dropdown",i),V=`${H}-button`,U={menu:m,arrow:v,autoFocus:y,align:E,disabled:c,trigger:c?[]:w,onOpenChange:S,getPopupContainer:O||t,mouseEnterDelay:T,mouseLeaveDelay:P,overlayClassName:I,overlayStyle:j,destroyPopupOnHide:z,dropdownRender:D},{compactSize:W,compactItemClassnames:q}=(0,L.RQ)(H,o),K=a()(V,q,p);"overlay"in e&&(U.overlay=b),"open"in e&&(U.open=x),U.placement="placement"in e?_:"rtl"===o?"bottomLeft":"bottomRight";const G=r.createElement($.Ay,{type:s,danger:l,disabled:c,loading:u,onClick:d,htmlType:f,href:C,title:k},h),X=r.createElement($.Ay,{type:s,danger:l,icon:A}),[Y,Z]=M([G,X]);return r.createElement(F.A.Compact,Object.assign({className:K,size:W,block:!0},B),Y,r.createElement(R,Object.assign({},U),Z))};B.__ANT_BUTTON=!0;const H=B,V=R;V.Button=H;const U=V},17308:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(96540),o=n(46942),i=n.n(o),a=n(62279),s=n(19155),l=n(24978),c=n(365);const u=()=>{const[,e]=(0,c.Ay)(),t=new l.q(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return r.createElement("svg",{style:t,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("g",{transform:"translate(24 31.67)"},r.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),r.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),r.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),r.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),r.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),r.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),r.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},r.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),r.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},d=()=>{const[,e]=(0,c.Ay)(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:o,colorBgContainer:i}=e,{borderColor:a,shadowColor:s,contentColor:u}=(0,r.useMemo)((()=>({borderColor:new l.q(t).onBackground(i).toHexShortString(),shadowColor:new l.q(n).onBackground(i).toHexShortString(),contentColor:new l.q(o).onBackground(i).toHexShortString()})),[t,n,o,i]);return r.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},r.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},r.createElement("ellipse",{fill:s,cx:"32",cy:"33",rx:"32",ry:"7"}),r.createElement("g",{fillRule:"nonzero",stroke:a},r.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),r.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:u}))))};var f=n(69028),h=n(80336);const p=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},m=(0,f.OF)("Empty",(e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,o=(0,h.h1)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[p(o)]}));const v=r.createElement(u,null),g=r.createElement(d,null),y=e=>{var{className:t,rootClassName:n,prefixCls:o,image:l=v,description:c,children:u,imageStyle:d,style:f}=e,h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:p,direction:y,empty:b}=r.useContext(a.QO),w=p("empty",o),[E,x,S]=m(w),[_]=(0,s.A)("Empty"),O=void 0!==c?c:null==_?void 0:_.description,C="string"==typeof O?O:"empty";let A=null;return A="string"==typeof l?r.createElement("img",{alt:C,src:l}):l,E(r.createElement("div",Object.assign({className:i()(x,S,w,null==b?void 0:b.className,{[`${w}-normal`]:l===g,[`${w}-rtl`]:"rtl"===y},t,n),style:Object.assign(Object.assign({},null==b?void 0:b.style),f)},h),r.createElement("div",{className:`${w}-image`,style:d},A),O&&r.createElement("div",{className:`${w}-description`},O),u&&r.createElement("div",{className:`${w}-footer`},u)))};y.PRESENTED_IMAGE_DEFAULT=v,y.PRESENTED_IMAGE_SIMPLE=g;const b=y},94241:(e,t,n)=>{"use strict";n.d(t,{$W:()=>u,Op:()=>l,Pp:()=>f,XB:()=>d,cK:()=>a,hb:()=>c,jC:()=>s});var r=n(96540),o=n(19908),i=n(87196);const a=r.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),s=r.createContext(null),l=e=>{const t=(0,i.A)(e,["prefixCls"]);return r.createElement(o.Op,Object.assign({},t))},c=r.createContext({prefixCls:""}),u=r.createContext({}),d=e=>{let{children:t,status:n,override:o}=e;const i=(0,r.useContext)(u),a=(0,r.useMemo)((()=>{const e=Object.assign({},i);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,o,i]);return r.createElement(u.Provider,{value:a},t)},f=(0,r.createContext)(void 0)},90124:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540),o=n(94241);const i=["outlined","borderless","filled"],a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;const n=(0,r.useContext)(o.Pp);let a;return a=void 0!==e?e:!1===t?"borderless":null!=n?n:"outlined",[a,i.includes(a)]}},69407:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(96540).createContext)(void 0)},36121:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(96540).createContext)({})},26606:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(96540),o=n(46942),i=n.n(o),a=n(62279),s=n(36121),l=n(25006);function c(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const u=["xs","sm","md","lg","xl","xxl"],d=r.forwardRef(((e,t)=>{const{getPrefixCls:n,direction:o}=r.useContext(a.QO),{gutter:d,wrap:f}=r.useContext(s.A),{prefixCls:h,span:p,order:m,offset:v,push:g,pull:y,className:b,children:w,flex:E,style:x}=e,S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),_=n("col",h),[O,C,A]=(0,l.xV)(_),k={};let M={};u.forEach((t=>{let n={};const r=e[t];"number"==typeof r?n.span=r:"object"==typeof r&&(n=r||{}),delete S[t],M=Object.assign(Object.assign({},M),{[`${_}-${t}-${n.span}`]:void 0!==n.span,[`${_}-${t}-order-${n.order}`]:n.order||0===n.order,[`${_}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${_}-${t}-push-${n.push}`]:n.push||0===n.push,[`${_}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${_}-rtl`]:"rtl"===o}),n.flex&&(M[`${_}-${t}-flex`]=!0,k[`--${_}-${t}-flex`]=c(n.flex))}));const T=i()(_,{[`${_}-${p}`]:void 0!==p,[`${_}-order-${m}`]:m,[`${_}-offset-${v}`]:v,[`${_}-push-${g}`]:g,[`${_}-pull-${y}`]:y},b,M,C,A),P={};if(d&&d[0]>0){const e=d[0]/2;P.paddingLeft=e,P.paddingRight=e}return E&&(P.flex=c(E),!1!==f||P.minWidth||(P.minWidth=0)),O(r.createElement("div",Object.assign({},S,{style:Object.assign(Object.assign(Object.assign({},P),x),k),className:T,ref:t}),w))}))},78551:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(96540),o=n(49886),i=n(47447),a=n(24945);const s=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=(0,r.useRef)({}),n=(0,i.A)(),s=(0,a.Ay)();return(0,o.A)((()=>{const r=s.subscribe((r=>{t.current=r,e&&n()}));return()=>s.unsubscribe(r)}),[]),t.current}},74948:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(96540),o=n(46942),i=n.n(o),a=n(24945),s=n(62279),l=n(36121),c=n(25006);function u(e,t){const[n,o]=r.useState("string"==typeof e?e:"");return r.useEffect((()=>{(()=>{if("string"==typeof e&&o(e),"object"==typeof e)for(let n=0;n<a.ye.length;n++){const r=a.ye[n];if(!t[r])continue;const i=e[r];if(void 0!==i)return void o(i)}})()}),[JSON.stringify(e),t]),n}const d=r.forwardRef(((e,t)=>{const{prefixCls:n,justify:o,align:d,className:f,style:h,children:p,gutter:m=0,wrap:v}=e,g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:y,direction:b}=r.useContext(s.QO),[w,E]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[x,S]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),_=u(d,x),O=u(o,x),C=r.useRef(m),A=(0,a.Ay)();r.useEffect((()=>{const e=A.subscribe((e=>{S(e);const t=C.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&E(e)}));return()=>A.unsubscribe(e)}),[]);const k=y("row",n),[M,T,P]=(0,c.L3)(k),I=(()=>{const e=[void 0,void 0];return(Array.isArray(m)?m:[m,void 0]).forEach(((t,n)=>{if("object"==typeof t)for(let r=0;r<a.ye.length;r++){const o=a.ye[r];if(w[o]&&void 0!==t[o]){e[n]=t[o];break}}else e[n]=t})),e})(),j=i()(k,{[`${k}-no-wrap`]:!1===v,[`${k}-${O}`]:O,[`${k}-${_}`]:_,[`${k}-rtl`]:"rtl"===b},f,T,P),z={},D=null!=I[0]&&I[0]>0?I[0]/-2:void 0;D&&(z.marginLeft=D,z.marginRight=D);const[R,N]=I;z.rowGap=N;const $=r.useMemo((()=>({gutter:[R,N],wrap:v})),[R,N,v]);return M(r.createElement(l.A.Provider,{value:$},r.createElement("div",Object.assign({},g,{className:j,style:Object.assign(Object.assign({},z),h),ref:t}),p)))}))},25006:(e,t,n)=>{"use strict";n.d(t,{L3:()=>l,xV:()=>c});var r=n(21880),o=n(69028),i=n(80336);const a=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},s=(e,t)=>((e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:o}=e,i={};for(let e=o;e>=0;e--)0===e?(i[`${r}${t}-${e}`]={display:"none"},i[`${r}-push-${e}`]={insetInlineStart:"auto"},i[`${r}-pull-${e}`]={insetInlineEnd:"auto"},i[`${r}${t}-push-${e}`]={insetInlineStart:"auto"},i[`${r}${t}-pull-${e}`]={insetInlineEnd:"auto"},i[`${r}${t}-offset-${e}`]={marginInlineStart:0},i[`${r}${t}-order-${e}`]={order:0}):(i[`${r}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/o*100}%`,maxWidth:e/o*100+"%"}],i[`${r}${t}-push-${e}`]={insetInlineStart:e/o*100+"%"},i[`${r}${t}-pull-${e}`]={insetInlineEnd:e/o*100+"%"},i[`${r}${t}-offset-${e}`]={marginInlineStart:e/o*100+"%"},i[`${r}${t}-order-${e}`]={order:e});return i[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i})(e,t),l=(0,o.OF)("Grid",(e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}}),(()=>({}))),c=(0,o.OF)("Grid",(e=>{const t=(0,i.h1)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[a(t),s(t,""),s(t,"-xs"),Object.keys(n).map((e=>((e,t,n)=>({[`@media (min-width: ${(0,r.zA)(t)})`]:Object.assign({},s(e,n))}))(t,n[e],e))).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})]}),(()=>({})))},18017:(e,t,n)=>{"use strict";n.d(t,{A:()=>E,F:()=>w});var r=n(96540),o=n(46942),i=n.n(o),a=n(48491),s=n(85700),l=n(96311),c=n(23283),u=n(58182),d=n(62279),f=n(98119),h=n(20934),p=n(829),m=n(94241),v=n(90124),g=n(76327),y=n(55254),b=n(81594);function w(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const t=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}const E=(0,r.forwardRef)(((e,t)=>{var n;const{prefixCls:o,bordered:w=!0,status:E,size:x,disabled:S,onBlur:_,onFocus:O,suffix:C,allowClear:A,addonAfter:k,addonBefore:M,className:T,style:P,styles:I,rootClassName:j,onChange:z,classNames:D,variant:R}=e,N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:$,direction:F,input:L}=r.useContext(d.QO),B=$("input",o),H=(0,r.useRef)(null),V=(0,h.A)(B),[U,W,q]=(0,b.Ay)(B,V),{compactSize:K,compactItemClassnames:G}=(0,g.RQ)(B,F),X=(0,p.A)((e=>{var t;return null!==(t=null!=x?x:K)&&void 0!==t?t:e})),Y=r.useContext(f.A),Z=null!=S?S:Y,{status:J,hasFeedback:Q,feedbackIcon:ee}=(0,r.useContext)(m.$W),te=(0,u.v)(J,E),ne=function(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}(e)||!!Q;(0,r.useRef)(ne);const re=(0,y.A)(H,!0),oe=(Q||C)&&r.createElement(r.Fragment,null,C,Q&&ee),ie=(0,l.A)(null!=A?A:null==L?void 0:L.allowClear),[ae,se]=(0,v.A)(R,w);return U(r.createElement(a.A,Object.assign({ref:(0,s.K4)(t,H),prefixCls:B,autoComplete:null==L?void 0:L.autoComplete},N,{disabled:Z,onBlur:e=>{re(),null==_||_(e)},onFocus:e=>{re(),null==O||O(e)},style:Object.assign(Object.assign({},null==L?void 0:L.style),P),styles:Object.assign(Object.assign({},null==L?void 0:L.styles),I),suffix:oe,allowClear:ie,className:i()(T,j,q,V,G,null==L?void 0:L.className),onChange:e=>{re(),null==z||z(e)},addonBefore:(0,c.A)(M),addonAfter:(0,c.A)(k),classNames:Object.assign(Object.assign(Object.assign({},D),null==L?void 0:L.classNames),{input:i()({[`${B}-sm`]:"small"===X,[`${B}-lg`]:"large"===X,[`${B}-rtl`]:"rtl"===F},null==D?void 0:D.input,null===(n=null==L?void 0:L.classNames)||void 0===n?void 0:n.input,W),variant:i()({[`${B}-${ae}`]:se},(0,u.L)(B,te)),affixWrapper:i()({[`${B}-affix-wrapper-sm`]:"small"===X,[`${B}-affix-wrapper-lg`]:"large"===X,[`${B}-affix-wrapper-rtl`]:"rtl"===F},W),wrapper:i()({[`${B}-group-rtl`]:"rtl"===F},W),groupWrapper:i()({[`${B}-group-wrapper-sm`]:"small"===X,[`${B}-group-wrapper-lg`]:"large"===X,[`${B}-group-wrapper-rtl`]:"rtl"===F,[`${B}-group-wrapper-${ae}`]:se},(0,u.L)(`${B}-group-wrapper`,te,Q),W)})})))}))},98638:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var r,o=n(96540),i=n(46942),a=n.n(i),s=n(58168),l=n(64467),c=n(89379),u=n(60436),d=n(5544),f=n(80045),h=n(48491),p=n(22489),m=n(11980),v=n(12533),g=n(82284),y=n(18462),b=n(30981),w=n(25371),E=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],x={};var S=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"];const _=o.forwardRef((function(e,t){var n=e,i=n.prefixCls,u=(n.onPressEnter,n.defaultValue),h=n.value,p=n.autoSize,m=n.onResize,_=n.className,O=n.style,C=n.disabled,A=n.onChange,k=(n.onInternalAutoSize,(0,f.A)(n,S)),M=(0,v.A)(u,{value:h,postState:function(e){return null!=e?e:""}}),T=(0,d.A)(M,2),P=T[0],I=T[1],j=o.useRef();o.useImperativeHandle(t,(function(){return{textArea:j.current}}));var z=o.useMemo((function(){return p&&"object"===(0,g.A)(p)?[p.minRows,p.maxRows]:[]}),[p]),D=(0,d.A)(z,2),R=D[0],N=D[1],$=!!p,F=o.useState(2),L=(0,d.A)(F,2),B=L[0],H=L[1],V=o.useState(),U=(0,d.A)(V,2),W=U[0],q=U[1],K=function(){H(0)};(0,b.A)((function(){$&&K()}),[h,R,N,$]),(0,b.A)((function(){if(0===B)H(1);else if(1===B){var e=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&x[n])return x[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s={sizingStyle:E.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(x[n]=s),s}(e,t),a=i.paddingSize,s=i.borderSize,l=i.boxSizing,c=i.sizingStyle;r.setAttribute("style","".concat(c,";").concat("\n  min-height:0 !important;\n  max-height:none !important;\n  height:0 !important;\n  visibility:hidden !important;\n  overflow:hidden !important;\n  position:absolute !important;\n  z-index:-1000 !important;\n  top:0 !important;\n  right:0 !important;\n  pointer-events: none !important;\n")),r.value=e.value||e.placeholder||"";var u,d=void 0,f=void 0,h=r.scrollHeight;if("border-box"===l?h+=s:"content-box"===l&&(h-=a),null!==n||null!==o){r.value=" ";var p=r.scrollHeight-a;null!==n&&(d=p*n,"border-box"===l&&(d=d+a+s),h=Math.max(d,h)),null!==o&&(f=p*o,"border-box"===l&&(f=f+a+s),u=h>f?"":"hidden",h=Math.min(f,h))}var m={height:h,overflowY:u,resize:"none"};return d&&(m.minHeight=d),f&&(m.maxHeight=f),m}(j.current,!1,R,N);H(2),q(e)}else!function(){try{if(document.activeElement===j.current){var e=j.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;j.current.setSelectionRange(t,n),j.current.scrollTop=r}}catch(e){}}()}),[B]);var G=o.useRef(),X=function(){w.A.cancel(G.current)};o.useEffect((function(){return X}),[]);var Y=$?W:null,Z=(0,c.A)((0,c.A)({},O),Y);return 0!==B&&1!==B||(Z.overflowY="hidden",Z.overflowX="hidden"),o.createElement(y.A,{onResize:function(e){2===B&&(null==m||m(e),p&&(X(),G.current=(0,w.A)((function(){K()}))))},disabled:!(p||m)},o.createElement("textarea",(0,s.A)({},k,{ref:j,style:Z,className:a()(i,_,(0,l.A)({},"".concat(i,"-disabled"),C)),disabled:C,value:P,onChange:function(e){I(e.target.value),null==A||A(e)}})))}));var O=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","readOnly"];const C=o.forwardRef((function(e,t){var n,r=e.defaultValue,i=e.value,g=e.onFocus,y=e.onBlur,b=e.onChange,w=e.allowClear,E=e.maxLength,x=e.onCompositionStart,S=e.onCompositionEnd,C=e.suffix,A=e.prefixCls,k=void 0===A?"rc-textarea":A,M=e.showCount,T=e.count,P=e.className,I=e.style,j=e.disabled,z=e.hidden,D=e.classNames,R=e.styles,N=e.onResize,$=e.readOnly,F=(0,f.A)(e,O),L=(0,v.A)(r,{value:i,defaultValue:r}),B=(0,d.A)(L,2),H=B[0],V=B[1],U=null==H?"":String(H),W=o.useState(!1),q=(0,d.A)(W,2),K=q[0],G=q[1],X=o.useRef(!1),Y=o.useState(null),Z=(0,d.A)(Y,2),J=Z[0],Q=Z[1],ee=(0,o.useRef)(null),te=(0,o.useRef)(null),ne=function(){var e;return null===(e=te.current)||void 0===e?void 0:e.textArea},re=function(){ne().focus()};(0,o.useImperativeHandle)(t,(function(){var e;return{resizableTextArea:te.current,focus:re,blur:function(){ne().blur()},nativeElement:(null===(e=ee.current)||void 0===e?void 0:e.nativeElement)||ne()}})),(0,o.useEffect)((function(){G((function(e){return!j&&e}))}),[j]);var oe=o.useState(null),ie=(0,d.A)(oe,2),ae=ie[0],se=ie[1];o.useEffect((function(){var e;ae&&(e=ne()).setSelectionRange.apply(e,(0,u.A)(ae))}),[ae]);var le,ce=(0,p.A)(T,M),ue=null!==(n=ce.max)&&void 0!==n?n:E,de=Number(ue)>0,fe=ce.strategy(U),he=!!ue&&fe>ue,pe=function(e,t){var n=t;!X.current&&ce.exceedFormatter&&ce.max&&ce.strategy(t)>ce.max&&t!==(n=ce.exceedFormatter(t,{max:ce.max}))&&se([ne().selectionStart||0,ne().selectionEnd||0]),V(n),(0,m.gS)(e.currentTarget,e,b,n)},me=C;ce.show&&(le=ce.showFormatter?ce.showFormatter({value:U,count:fe,maxLength:ue}):"".concat(fe).concat(de?" / ".concat(ue):""),me=o.createElement(o.Fragment,null,me,o.createElement("span",{className:a()("".concat(k,"-data-count"),null==D?void 0:D.count),style:null==R?void 0:R.count},le)));var ve=!F.autoSize&&!M&&!w;return o.createElement(h.a,{ref:ee,value:U,allowClear:w,handleReset:function(e){V(""),re(),(0,m.gS)(ne(),e,b)},suffix:me,prefixCls:k,classNames:(0,c.A)((0,c.A)({},D),{},{affixWrapper:a()(null==D?void 0:D.affixWrapper,(0,l.A)((0,l.A)({},"".concat(k,"-show-count"),M),"".concat(k,"-textarea-allow-clear"),w))}),disabled:j,focused:K,className:a()(P,he&&"".concat(k,"-out-of-range")),style:(0,c.A)((0,c.A)({},I),J&&!ve?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof le?le:void 0}},hidden:z,readOnly:$},o.createElement(_,(0,s.A)({},F,{maxLength:E,onKeyDown:function(e){var t=F.onPressEnter,n=F.onKeyDown;"Enter"===e.key&&t&&t(e),null==n||n(e)},onChange:function(e){pe(e,e.target.value)},onFocus:function(e){G(!0),null==g||g(e)},onBlur:function(e){G(!1),null==y||y(e)},onCompositionStart:function(e){X.current=!0,null==x||x(e)},onCompositionEnd:function(e){X.current=!1,pe(e,e.currentTarget.value),null==S||S(e)},className:a()(null==D?void 0:D.textarea),style:(0,c.A)((0,c.A)({},null==R?void 0:R.textarea),{},{resize:null==I?void 0:I.resize}),disabled:j,prefixCls:k,onResize:function(e){var t;null==N||N(e),null!==(t=ne())&&void 0!==t&&t.style.height&&Q(!0)},ref:te,readOnly:$})))}));var A=n(96311),k=n(58182),M=n(62279),T=n(98119),P=n(20934),I=n(829),j=n(94241),z=n(90124),D=n(18017),R=n(81594);const N=(0,o.forwardRef)(((e,t)=>{var n,r;const{prefixCls:i,bordered:s=!0,size:l,disabled:c,status:u,allowClear:d,classNames:f,rootClassName:h,className:p,style:m,styles:v,variant:g}=e,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:b,direction:w,textArea:E}=o.useContext(M.QO),x=(0,I.A)(l),S=o.useContext(T.A),_=null!=c?c:S,{status:O,hasFeedback:N,feedbackIcon:$}=o.useContext(j.$W),F=(0,k.v)(O,u),L=o.useRef(null);o.useImperativeHandle(t,(()=>{var e;return{resizableTextArea:null===(e=L.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;(0,D.F)(null===(n=null===(t=L.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=L.current)||void 0===e?void 0:e.blur()}}}));const B=b("input",i),H=(0,P.A)(B),[V,U,W]=(0,R.Ay)(B,H),[q,K]=(0,z.A)(g,s),G=(0,A.A)(null!=d?d:null==E?void 0:E.allowClear);return V(o.createElement(C,Object.assign({autoComplete:null==E?void 0:E.autoComplete},y,{style:Object.assign(Object.assign({},null==E?void 0:E.style),m),styles:Object.assign(Object.assign({},null==E?void 0:E.styles),v),disabled:_,allowClear:G,className:a()(W,H,p,h,null==E?void 0:E.className),classNames:Object.assign(Object.assign(Object.assign({},f),null==E?void 0:E.classNames),{textarea:a()({[`${B}-sm`]:"small"===x,[`${B}-lg`]:"large"===x},U,null==f?void 0:f.textarea,null===(n=null==E?void 0:E.classNames)||void 0===n?void 0:n.textarea),variant:a()({[`${B}-${q}`]:K},(0,k.L)(B,F)),affixWrapper:a()(`${B}-textarea-affix-wrapper`,{[`${B}-affix-wrapper-rtl`]:"rtl"===w,[`${B}-affix-wrapper-sm`]:"small"===x,[`${B}-affix-wrapper-lg`]:"large"===x,[`${B}-textarea-show-count`]:e.showCount||(null===(r=e.count)||void 0===r?void 0:r.show)},U)}),prefixCls:B,suffix:N&&o.createElement("span",{className:`${B}-textarea-suffix`},$),ref:L})))}))},55254:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540);function o(e,t){const n=(0,r.useRef)([]),o=()=>{n.current.push(setTimeout((()=>{var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))})))};return(0,r.useEffect)((()=>(t&&o(),()=>n.current.forEach((e=>{e&&clearTimeout(e)})))),[]),o}},81594:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>x,BZ:()=>f,XM:()=>p,j_:()=>u,wj:()=>h});var r=n(21880),o=n(25905),i=n(55974),a=n(69028),s=n(80336),l=n(44335),c=n(89222);const u=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),d=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:o,paddingInlineLG:i}=e;return{padding:`${(0,r.zA)(t)} ${(0,r.zA)(i)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:o}},f=e=>({padding:`${(0,r.zA)(e.paddingBlockSM)} ${(0,r.zA)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),h=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,r.zA)(e.paddingBlock)} ${(0,r.zA)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},u(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},d(e)),"&-sm":Object.assign({},f(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),p=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},d(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},f(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,r.zA)(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${(0,r.zA)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,r.zA)(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${(0,r.zA)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${(0,r.zA)(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,o.t6)()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`\n        & > ${t}-affix-wrapper,\n        & > ${t}-number-affix-wrapper,\n        & > ${n}-picker-range\n      `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,\n      & > ${n}-select-auto-complete ${t},\n      & > ${n}-cascader-picker ${t},\n      & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n      & > ${n}-select:first-child > ${n}-select-selector,\n      & > ${n}-select-auto-complete:first-child ${t},\n      & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n      & > ${n}-select:last-child > ${n}-select-selector,\n      & > ${n}-cascader-picker:last-child ${t},\n      & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},m=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:i}=e,a=i(n).sub(i(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,o.dF)(e)),h(e)),(0,c.Eb)(e)),(0,c.sA)(e)),(0,c.lB)(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},v=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,r.zA)(e.inputAffixPadding)}`}}}},g=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e,l=`${t}-affix-wrapper`;return{[l]:Object.assign(Object.assign(Object.assign(Object.assign({},h(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),v(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}})}},y=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},(0,o.dF)(e)),p(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},(0,c.nm)(e)),(0,c.Vy)(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},b=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,\n        > ${t},\n        ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},w=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`\n        &-allow-clear > ${t},\n        &-affix-wrapper${r}-has-feedback ${t}\n      `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},E=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},x=(0,a.OF)("Input",(e=>{const t=(0,s.h1)(e,(0,l.C)(e));return[m(t),w(t),g(t),y(t),b(t),E(t),(0,i.G)(t)]}),l.b,{resetFont:!1})},44335:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,b:()=>i});var r=n(80336);function o(e){return(0,r.h1)(e,{inputAffixPadding:e.paddingXXS})}const i=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:s,lineHeightLG:l,paddingSM:c,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:f,colorPrimaryHover:h,colorPrimary:p,controlOutlineWidth:m,controlOutline:v,colorErrorOutline:g,colorWarningOutline:y,colorBgContainer:b}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((i-n*r)/2*10)/10-o,0),paddingBlockLG:Math.ceil((a-s*l)/2*10)/10-o,paddingInline:c-o,paddingInlineSM:u-o,paddingInlineLG:d-o,addonBg:f,activeBorderColor:p,hoverBorderColor:h,activeShadow:`0 0 0 ${m}px ${v}`,errorActiveShadow:`0 0 0 ${m}px ${g}`,warningActiveShadow:`0 0 0 ${m}px ${y}`,hoverBg:b,activeBg:b,inputFontSize:n,inputFontSizeLG:s,inputFontSizeSM:n}}},89222:(e,t,n)=>{"use strict";n.d(t,{Eb:()=>c,Vy:()=>g,eT:()=>a,lB:()=>f,nI:()=>s,nm:()=>d,sA:()=>m});var r=n(21880),o=n(80336);const i=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),a=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,o.h1)(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),s=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),l=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},s(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),c=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},s(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),l(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),l(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),u=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),d=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,r.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},u(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),u(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},a(e))}})}),f=(e,t)=>({"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled}},t)}),h=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null==t?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),p=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},h(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),m=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},h(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),p(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),p(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),v=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),g=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,r.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,r.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},v(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),v(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,r.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,r.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,r.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,r.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,r.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,r.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})})},96320:(e,t,n)=>{"use strict";n.d(t,{P:()=>g,A:()=>b});var r=n(96540),o=n(18814);const i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};var a=n(58994),s=function(e,t){return r.createElement(a.A,(0,o.A)({},e,{ref:t,icon:i}))};const l=r.forwardRef(s);var c=n(84488),u=n(64179),d=n(46942),f=n.n(d),h=n(87196);var p=n(62279),m=n(64129);const v={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},g=r.createContext({}),y=(()=>{let e=0;return function(){return e+=1,`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:""}${e}`}})(),b=r.forwardRef(((e,t)=>{const{prefixCls:n,className:o,trigger:i,children:a,defaultCollapsed:s=!1,theme:d="dark",style:b={},collapsible:w=!1,reverseArrow:E=!1,width:x=200,collapsedWidth:S=80,zeroWidthTriggerStyle:_,breakpoint:O,onCollapse:C,onBreakpoint:A}=e,k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:M}=(0,r.useContext)(m.M),[T,P]=(0,r.useState)("collapsed"in e?e.collapsed:s),[I,j]=(0,r.useState)(!1);(0,r.useEffect)((()=>{"collapsed"in e&&P(e.collapsed)}),[e.collapsed]);const z=(t,n)=>{"collapsed"in e||P(t),null==C||C(t,n)},D=(0,r.useRef)();D.current=e=>{j(e.matches),null==A||A(e.matches),T!==e.matches&&z(e.matches,"responsive")},(0,r.useEffect)((()=>{function e(e){return D.current(e)}let t;if("undefined"!=typeof window){const{matchMedia:n}=window;if(n&&O&&O in v){t=n(`screen and (max-width: ${v[O]})`);try{t.addEventListener("change",e)}catch(n){t.addListener(e)}e(t)}}return()=>{try{null==t||t.removeEventListener("change",e)}catch(n){null==t||t.removeListener(e)}}}),[O]),(0,r.useEffect)((()=>{const e=y("ant-sider-");return M.addSider(e),()=>M.removeSider(e)}),[]);const R=()=>{z(!T,"clickTrigger")},{getPrefixCls:N}=(0,r.useContext)(p.QO),$=r.useMemo((()=>({siderCollapsed:T})),[T]);return r.createElement(g.Provider,{value:$},(()=>{const e=N("layout-sider",n),s=(0,h.A)(k,["collapsed"]),p=T?S:x,m=(A=p,!isNaN(parseFloat(A))&&isFinite(A)?`${p}px`:String(p)),v=0===parseFloat(String(S||0))?r.createElement("span",{onClick:R,className:f()(`${e}-zero-width-trigger`,`${e}-zero-width-trigger-${E?"right":"left"}`),style:_},i||r.createElement(l,null)):null,g={expanded:E?r.createElement(u.A,null):r.createElement(c.A,null),collapsed:E?r.createElement(c.A,null):r.createElement(u.A,null)}[T?"collapsed":"expanded"],y=null!==i?v||r.createElement("div",{className:`${e}-trigger`,onClick:R,style:{width:m}},i||g):null,O=Object.assign(Object.assign({},b),{flex:`0 0 ${m}`,maxWidth:m,minWidth:m,width:m}),C=f()(e,`${e}-${d}`,{[`${e}-collapsed`]:!!T,[`${e}-has-trigger`]:w&&null!==i&&!v,[`${e}-below`]:!!I,[`${e}-zero-width`]:0===parseFloat(m)},o);var A;return r.createElement("aside",Object.assign({className:C},s,{style:O,ref:t}),r.createElement("div",{className:`${e}-children`},a),w||I&&v?y:null)})())}))},64129:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});const r=n(96540).createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},49:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(28831),o=n(96540),i=n(46942),a=n.n(i),s=n(87196),l=n(62279),c=n(64129),u=n(1507),d=n(96320),f=n(21880),h=n(69028);const p=e=>{const{componentCls:t,bodyBg:n,lightSiderBg:r,lightTriggerBg:o,lightTriggerColor:i}=e;return{[`${t}-sider-light`]:{background:r,[`${t}-sider-trigger`]:{color:i,background:o},[`${t}-sider-zero-width-trigger`]:{color:i,background:o,border:`1px solid ${n}`,borderInlineStart:0}}}},m=e=>{const{antCls:t,componentCls:n,colorText:r,triggerColor:o,footerBg:i,triggerBg:a,headerHeight:s,headerPadding:l,headerColor:c,footerPadding:u,triggerHeight:d,zeroTriggerHeight:h,zeroTriggerWidth:m,motionDurationMid:v,motionDurationSlow:g,fontSize:y,borderRadius:b,bodyBg:w,headerBg:E,siderBg:x}=e;return{[n]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:w,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-sider`]:{position:"relative",minWidth:0,background:x,transition:`all ${v}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:d},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:d,color:o,lineHeight:(0,f.zA)(d),textAlign:"center",background:a,cursor:"pointer",transition:`all ${v}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:e.calc(m).mul(-1).equal(),zIndex:1,width:m,height:h,color:o,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:x,borderStartStartRadius:0,borderStartEndRadius:b,borderEndEndRadius:b,borderEndStartRadius:0,cursor:"pointer",transition:`background ${g} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${g}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(m).mul(-1).equal(),borderStartStartRadius:b,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:b}}}}},p(e)),{"&-rtl":{direction:"rtl"}}),[`${n}-header`]:{height:s,padding:l,color:c,lineHeight:(0,f.zA)(s),background:E,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:u,color:r,fontSize:y,background:i},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},v=(0,h.OF)("Layout",(e=>[m(e)]),(e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:o,controlHeightSM:i,marginXXS:a,colorTextLightSolid:s,colorBgContainer:l}=e,c=1.25*r;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:2*n,headerPadding:`0 ${c}px`,headerColor:o,footerPadding:`${i}px ${c}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+2*a,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:o}}),{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function y(e){let{suffixCls:t,tagName:n,displayName:r}=e;return e=>o.forwardRef(((r,i)=>o.createElement(e,Object.assign({ref:i,suffixCls:t,tagName:n},r))))}const b=o.forwardRef(((e,t)=>{const{prefixCls:n,suffixCls:r,className:i,tagName:s}=e,c=g(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:u}=o.useContext(l.QO),d=u("layout",n),[f,h,p]=v(d),m=r?`${d}-${r}`:d;return f(o.createElement(s,Object.assign({className:a()(n||m,i,h,p),ref:t},c)))})),w=o.forwardRef(((e,t)=>{const{direction:n}=o.useContext(l.QO),[i,f]=o.useState([]),{prefixCls:h,className:p,rootClassName:m,children:y,hasSider:b,tagName:w,style:E}=e,x=g(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),S=(0,s.A)(x,["suffixCls"]),{getPrefixCls:_,layout:O}=o.useContext(l.QO),C=_("layout",h),A=function(e,t,n){return"boolean"==typeof n?n:!!e.length||(0,u.A)(t).some((e=>e.type===d.A))}(i,y,b),[k,M,T]=v(C),P=a()(C,{[`${C}-has-sider`]:A,[`${C}-rtl`]:"rtl"===n},null==O?void 0:O.className,p,m,M,T),I=o.useMemo((()=>({siderHook:{addSider:e=>{f((t=>[].concat((0,r.A)(t),[e])))},removeSider:e=>{f((t=>t.filter((t=>t!==e))))}}})),[]);return k(o.createElement(c.M.Provider,{value:I},o.createElement(w,Object.assign({ref:t,className:P,style:Object.assign(Object.assign({},null==O?void 0:O.style),E)},S),y)))})),E=y({tagName:"div",displayName:"Layout"})(w),x=y({suffixCls:"header",tagName:"header",displayName:"Header"})(b),S=y({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(b),_=y({suffixCls:"content",tagName:"main",displayName:"Content"})(b),O=E;O.Header=x,O.Footer=S,O.Content=_,O.Sider=d.A,O._InternalSiderContext=d.P;const C=O},42652:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r=n(28831),o=n(96540),i=n(46942),a=n.n(i),s=n(51679),l=n(24945),c=n(62279),u=n(35128),d=n(829),f=n(74948),h=n(78551),p=n(35548),m=n(34716);const v=o.createContext({});v.Consumer;var g=n(40682),y=n(26606),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const w=o.forwardRef(((e,t)=>{const{prefixCls:n,children:r,actions:i,extra:s,styles:l,className:u,classNames:d,colStyle:f}=e,h=b(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:p,itemLayout:m}=(0,o.useContext)(v),{getPrefixCls:w,list:E}=(0,o.useContext)(c.QO),x=e=>{var t,n;return a()(null===(n=null===(t=null==E?void 0:E.item)||void 0===t?void 0:t.classNames)||void 0===n?void 0:n[e],null==d?void 0:d[e])},S=e=>{var t,n;return Object.assign(Object.assign({},null===(n=null===(t=null==E?void 0:E.item)||void 0===t?void 0:t.styles)||void 0===n?void 0:n[e]),null==l?void 0:l[e])},_=w("list",n),O=i&&i.length>0&&o.createElement("ul",{className:a()(`${_}-item-action`,x("actions")),key:"actions",style:S("actions")},i.map(((e,t)=>o.createElement("li",{key:`${_}-item-action-${t}`},e,t!==i.length-1&&o.createElement("em",{className:`${_}-item-action-split`}))))),C=p?"div":"li",A=o.createElement(C,Object.assign({},h,p?{}:{ref:t},{className:a()(`${_}-item`,{[`${_}-item-no-flex`]:!("vertical"===m?s:!(()=>{let e;return o.Children.forEach(r,(t=>{"string"==typeof t&&(e=!0)})),e&&o.Children.count(r)>1})())},u)}),"vertical"===m&&s?[o.createElement("div",{className:`${_}-item-main`,key:"content"},r,O),o.createElement("div",{className:a()(`${_}-item-extra`,x("extra")),key:"extra",style:S("extra")},s)]:[r,O,(0,g.Ob)(s,{key:"extra"})]);return p?o.createElement(y.A,{ref:t,flex:1,style:f},A):A})),E=w;E.Meta=e=>{var{prefixCls:t,className:n,avatar:r,title:i,description:s}=e,l=b(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:u}=(0,o.useContext)(c.QO),d=u("list",t),f=a()(`${d}-item-meta`,n),h=o.createElement("div",{className:`${d}-item-meta-content`},i&&o.createElement("h4",{className:`${d}-item-meta-title`},i),s&&o.createElement("div",{className:`${d}-item-meta-description`},s));return o.createElement("div",Object.assign({},l,{className:f}),r&&o.createElement("div",{className:`${d}-item-meta-avatar`},r),(i||s)&&h)};const x=E;var S=n(21880),_=n(25905),O=n(69028),C=n(80336);const A=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:o,itemPaddingSM:i,itemPaddingLG:a,marginLG:s,borderRadiusLG:l}=e;return{[`${t}`]:{border:`${(0,S.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:l,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${(0,S.zA)(o)} ${(0,S.zA)(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:i}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}}}},k=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:o,marginSM:i,margin:a}=e;return{[`@media screen and (max-width:${r}px)`]:{[`${t}`]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:o}}}},[`@media screen and (max-width: ${n}px)`]:{[`${t}`]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${(0,S.zA)(a)}`}}}}}},M=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:o,paddingSM:i,marginLG:a,padding:s,itemPadding:l,colorPrimary:c,itemPaddingSM:u,itemPaddingLG:d,paddingXS:f,margin:h,colorText:p,colorTextDescription:m,motionDurationSlow:v,lineWidth:g,headerBg:y,footerBg:b,emptyTextPadding:w,metaMarginBottom:E,avatarMarginRight:x,titleMarginBottom:O,descriptionFontSize:C}=e,A={};return["start","center","end"].forEach((e=>{A[`&-align-${e}`]={textAlign:e}})),{[`${t}`]:Object.assign(Object.assign({},(0,_.dF)(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:y},[`${t}-footer`]:{background:b},[`${t}-header, ${t}-footer`]:{paddingBlock:i},[`${t}-pagination`]:Object.assign(Object.assign({marginBlockStart:a},A),{[`${n}-pagination-options`]:{textAlign:"start"}}),[`${t}-spin`]:{minHeight:o,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:l,color:p,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:x},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:p},[`${t}-item-meta-title`]:{margin:`0 0 ${(0,S.zA)(e.marginXXS)} 0`,color:p,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:p,transition:`all ${v}`,"&:hover":{color:c}}},[`${t}-item-meta-description`]:{color:m,fontSize:C,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${(0,S.zA)(f)}`,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:g,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${(0,S.zA)(s)} 0`,color:m,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:w,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:h,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:a},[`${t}-item-meta`]:{marginBlockEnd:E,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:O,color:p,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:`0 ${(0,S.zA)(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${(0,S.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${(0,S.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${(0,S.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${(0,S.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:d},[`${t}-sm ${t}-item`]:{padding:u},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},T=(0,O.OF)("List",(e=>{const t=(0,C.h1)(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[M(t),A(t),k(t)]}),(e=>({contentWidth:220,itemPadding:`${(0,S.zA)(e.paddingContentVertical)} 0`,itemPaddingSM:`${(0,S.zA)(e.paddingContentVerticalSM)} ${(0,S.zA)(e.paddingContentHorizontal)}`,itemPaddingLG:`${(0,S.zA)(e.paddingContentVerticalLG)} ${(0,S.zA)(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize})));function P(e){var t,{pagination:n=!1,prefixCls:i,bordered:g=!1,split:y=!0,className:b,rootClassName:w,style:E,children:x,itemLayout:S,loadMore:_,grid:O,dataSource:C=[],size:A,header:k,footer:M,loading:P=!1,rowKey:I,renderItem:j,locale:z}=e,D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]);const R=n&&"object"==typeof n?n:{},[N,$]=o.useState(R.defaultCurrent||1),[F,L]=o.useState(R.defaultPageSize||10),{getPrefixCls:B,renderEmpty:H,direction:V,list:U}=o.useContext(c.QO),W=e=>(t,r)=>{var o;$(t),L(r),n&&n[e]&&(null===(o=null==n?void 0:n[e])||void 0===o||o.call(n,t,r))},q=W("onChange"),K=W("onShowSizeChange"),G=B("list",i),[X,Y,Z]=T(G);let J=P;"boolean"==typeof J&&(J={spinning:J});const Q=J&&J.spinning;let ee="";switch((0,d.A)(A)){case"large":ee="lg";break;case"small":ee="sm"}const te=a()(G,{[`${G}-vertical`]:"vertical"===S,[`${G}-${ee}`]:ee,[`${G}-split`]:y,[`${G}-bordered`]:g,[`${G}-loading`]:Q,[`${G}-grid`]:!!O,[`${G}-something-after-last-item`]:!!(_||n||M),[`${G}-rtl`]:"rtl"===V},null==U?void 0:U.className,b,w,Y,Z),ne=(0,s.A)({current:1,total:0},{total:C.length,current:N,pageSize:F},n||{}),re=Math.ceil(ne.total/ne.pageSize);ne.current>re&&(ne.current=re);const oe=n?o.createElement("div",{className:a()(`${G}-pagination`,`${G}-pagination-align-${null!==(t=null==ne?void 0:ne.align)&&void 0!==t?t:"end"}`)},o.createElement(p.A,Object.assign({},ne,{onChange:q,onShowSizeChange:K}))):null;let ie=(0,r.A)(C);n&&C.length>(ne.current-1)*ne.pageSize&&(ie=(0,r.A)(C).splice((ne.current-1)*ne.pageSize,ne.pageSize));const ae=Object.keys(O||{}).some((e=>["xs","sm","md","lg","xl","xxl"].includes(e))),se=(0,h.A)(ae),le=o.useMemo((()=>{for(let e=0;e<l.ye.length;e+=1){const t=l.ye[e];if(se[t])return t}}),[se]),ce=o.useMemo((()=>{if(!O)return;const e=le&&O[le]?O[le]:O.column;return e?{width:100/e+"%",maxWidth:100/e+"%"}:void 0}),[JSON.stringify(O),le]);let ue=Q&&o.createElement("div",{style:{minHeight:53}});if(ie.length>0){const e=ie.map(((e,t)=>((e,t)=>{if(!j)return null;let n;return n="function"==typeof I?I(e):I?e[I]:e.key,n||(n=`list-item-${t}`),o.createElement(o.Fragment,{key:n},j(e,t))})(e,t)));ue=O?o.createElement(f.A,{gutter:O.gutter},o.Children.map(e,(e=>o.createElement("div",{key:null==e?void 0:e.key,style:ce},e)))):o.createElement("ul",{className:`${G}-items`},e)}else x||Q||(ue=o.createElement("div",{className:`${G}-empty-text`},z&&z.emptyText||(null==H?void 0:H("List"))||o.createElement(u.A,{componentName:"List"})));const de=ne.position||"bottom",fe=o.useMemo((()=>({grid:O,itemLayout:S})),[JSON.stringify(O),S]);return X(o.createElement(v.Provider,{value:fe},o.createElement("div",Object.assign({style:Object.assign(Object.assign({},null==U?void 0:U.style),E),className:te},D),("top"===de||"both"===de)&&oe,k&&o.createElement("div",{className:`${G}-header`},k),o.createElement(m.A,Object.assign({},J),ue,x),M&&o.createElement("div",{className:`${G}-footer`},M),_||("bottom"===de||"both"===de)&&oe)))}P.Item=x;const I=P},60685:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(96540).createContext)(void 0)},83480:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(96069),o=n(59093);const i=o.A;var a=n(65341);const s="${label} is not a valid ${type}",l={locale:"en",Pagination:r.A,DatePicker:o.A,TimePicker:a.A,Calendar:i,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty"}}},19155:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540),o=n(60685),i=n(83480);const a=(e,t)=>{const n=r.useContext(o.A);return[r.useMemo((()=>{var r;const o=t||i.A[e],a=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),a||{})}),[e,t,n]),r.useMemo((()=>{const e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?i.A.locale:e}),[n])]}},96476:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,h:()=>l});var r=n(96540),o=n(23925),i=n(76327);const a=r.createContext(null),s=r.forwardRef(((e,t)=>{const{children:n}=e,s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["children"]),l=r.useContext(a),c=r.useMemo((()=>Object.assign(Object.assign({},l),s)),[l,s.prefixCls,s.mode,s.selectable,s.rootClassName]),u=(0,o.H3)(n),d=(0,o.xK)(t,u?n.ref:null);return r.createElement(a.Provider,{value:c},r.createElement(i.K6,null,u?r.cloneElement(n,{ref:d}):n))})),l=a},87206:(e,t,n)=>{"use strict";n.d(t,{A:()=>K});var r=n(96540),o=n(48810),i=n(96320),a=n(64351),s=n(46942),l=n.n(s),c=n(23925),u=n(87196),d=n(23723),f=n(40682),h=n(62279),p=n(20934);const m=e=>{const{prefixCls:t,className:n,dashed:i}=e,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","className","dashed"]),{getPrefixCls:s}=r.useContext(h.QO),c=s("menu",t),u=l()({[`${c}-item-divider-dashed`]:!!i},n);return r.createElement(o.cG,Object.assign({className:u},a))},v=(0,r.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var g=n(1507),y=n(37977);const b=e=>{var t;const{className:n,children:a,icon:s,title:c,danger:d}=e,{prefixCls:h,firstLevel:p,direction:m,disableMenuItemTitleTooltip:b,inlineCollapsed:w}=r.useContext(v),{siderCollapsed:E}=r.useContext(i.P);let x=c;void 0===c?x=p?a:"":!1===c&&(x="");const S={title:x};E||w||(S.title=null,S.open=!1);const _=(0,g.A)(a).length;let O=r.createElement(o.q7,Object.assign({},(0,u.A)(e,["title","icon","danger"]),{className:l()({[`${h}-item-danger`]:d,[`${h}-item-only-child`]:1===(s?_+1:_)},n),title:"string"==typeof c?c:void 0}),(0,f.Ob)(s,{className:l()(r.isValidElement(s)?null===(t=s.props)||void 0===t?void 0:t.className:"",`${h}-item-icon`)}),(e=>{const t=r.createElement("span",{className:`${h}-title-content`},a);return(!s||r.isValidElement(a)&&"span"===a.type)&&a&&e&&p&&"string"==typeof a?r.createElement("div",{className:`${h}-inline-collapsed-noicon`},a.charAt(0)):t})(w));return b||(O=r.createElement(y.A,Object.assign({},S,{placement:"rtl"===m?"left":"right",overlayClassName:`${h}-inline-collapsed-tooltip`}),O)),O};var w=n(96476),E=n(21880),x=n(24978),S=n(25905),_=n(60977),O=n(75942),C=n(99077),A=n(69028),k=n(80336);const M=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:o,lineWidth:i,lineType:a,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${(0,E.zA)(i)} ${a} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover,\n        > ${t}-item-active,\n        > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},T=e=>{let{componentCls:t,menuArrowOffset:n,calc:r}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,\n    ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,E.zA)(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,E.zA)(n)})`}}}}},P=e=>Object.assign({},(0,S.jk)(e)),I=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:o,groupTitleColor:i,itemBg:a,subMenuItemBg:s,itemSelectedBg:l,activeBarHeight:c,activeBarWidth:u,activeBarBorderWidth:d,motionDurationSlow:f,motionEaseInOut:h,motionEaseOut:p,itemPaddingInline:m,motionDurationMid:v,itemHoverColor:g,lineType:y,colorSplit:b,itemDisabledColor:w,dangerItemColor:x,dangerItemHoverColor:S,dangerItemSelectedColor:_,dangerItemActiveBg:O,dangerItemSelectedBg:C,popupBg:A,itemHoverBg:k,itemActiveBg:M,menuSubMenuBg:T,horizontalItemSelectedColor:I,horizontalItemSelectedBg:j,horizontalItemBorderRadius:z,horizontalItemHoverBg:D}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:a,[`&${n}-root:focus-visible`]:Object.assign({},P(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:o}},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},P(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${w} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:g}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:M}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:M}}},[`${n}-item-danger`]:{color:x,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:S}},[`&${n}-item:active`]:{background:O}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:o,[`&${n}-item-danger`]:{color:_},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:l,[`&${n}-item-danger`]:{backgroundColor:C}},[`&${n}-submenu > ${n}`]:{backgroundColor:T},[`&${n}-popup > ${n}`]:{backgroundColor:A},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:A},[`&${n}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:d,marginTop:e.calc(d).mul(-1).equal(),marginBottom:0,borderRadius:z,"&::after":{position:"absolute",insetInline:m,bottom:0,borderBottom:`${(0,E.zA)(c)} solid transparent`,transition:`border-color ${f} ${h}`,content:'""'},"&:hover, &-active, &-open":{background:D,"&::after":{borderBottomWidth:c,borderBottomColor:I}},"&-selected":{color:I,backgroundColor:j,"&:hover":{backgroundColor:j},"&::after":{borderBottomWidth:c,borderBottomColor:I}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${(0,E.zA)(d)} ${y} ${b}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,E.zA)(u)} solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${v} ${p}`,`opacity ${v} ${p}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:_}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${v} ${h}`,`opacity ${v} ${h}`].join(",")}}}}}},j=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:i,marginXS:a,itemMarginBlock:s,itemWidth:l}=e,c=e.calc(i).add(o).add(a).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:(0,E.zA)(n),paddingInline:o,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:l},[`> ${t}-item,\n            > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:(0,E.zA)(n)},[`${t}-item-group-list ${t}-submenu-title,\n            ${t}-submenu-title`]:{paddingInlineEnd:c}}},z=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:o,dropdownWidth:i,controlHeightLG:a,motionDurationMid:s,motionEaseOut:l,paddingXL:c,itemMarginInline:u,fontSizeLG:d,motionDurationSlow:f,paddingXS:h,boxShadowSecondary:p,collapsedWidth:m,collapsedIconSize:v}=e,g={height:r,lineHeight:(0,E.zA)(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},j(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},j(e)),{boxShadow:p})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${(0,E.zA)(e.calc(a).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${f}`,`background ${f}`,`padding ${s} ${l}`,`padding-inline calc(50% - ${(0,E.zA)(e.calc(d).div(2).equal())} - ${(0,E.zA)(u)})`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:g,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:g}},{[`${t}-inline-collapsed`]:{width:m,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item,\n          > ${t}-item-group > ${t}-item-group-list > ${t}-item,\n          > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,\n          > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,E.zA)(e.calc(d).div(2).equal())} - ${(0,E.zA)(u)})`,textOverflow:"clip",[`\n            ${t}-submenu-arrow,\n            ${t}-submenu-expand-icon\n          `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:v,lineHeight:(0,E.zA)(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},S.L9),{paddingInline:h})}}]},D=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:i,iconCls:a,iconSize:s,iconMarginInlineEnd:l}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding ${n} ${o}`].join(","),[`${t}-item-icon, ${a}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${i}`,`margin ${n} ${o}`,`color ${n}`].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:[`opacity ${n} ${o}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},(0,S.Nk)()),[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},R=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,E.zA)(e.calc(a).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,E.zA)(a)})`}}}}},N=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:i,motionEaseInOut:a,paddingXS:s,padding:l,colorSplit:c,lineWidth:u,zIndexPopup:d,borderRadiusLG:f,subMenuItemBorderRadius:h,menuArrowSize:p,menuArrowOffset:m,lineType:v,groupTitleLineHeight:g,groupTitleFontSize:y}=e;return[{"":{[`${n}`]:Object.assign(Object.assign({},(0,S.t6)()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.dF)(e)),(0,S.t6)()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${(0,E.zA)(s)} ${(0,E.zA)(l)}`,fontSize:y,lineHeight:g,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${o} ${a}`,`padding ${o} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${o}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:v,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),D(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${(0,E.zA)(e.calc(r).mul(2).equal())} ${(0,E.zA)(l)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:d,borderRadius:f,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:f},D(e)),R(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:h},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${a}`}})},"\n          &-placement-leftTop,\n          &-placement-bottomRight,\n          ":{transformOrigin:"100% 0"},"\n          &-placement-leftBottom,\n          &-placement-topRight,\n          ":{transformOrigin:"100% 100%"},"\n          &-placement-rightBottom,\n          &-placement-topLeft,\n          ":{transformOrigin:"0 100%"},"\n          &-placement-bottomLeft,\n          &-placement-rightTop,\n          ":{transformOrigin:"0 0"},"\n          &-placement-leftTop,\n          &-placement-leftBottom\n          ":{paddingInlineEnd:e.paddingXS},"\n          &-placement-rightTop,\n          &-placement-rightBottom\n          ":{paddingInlineStart:e.paddingXS},"\n          &-placement-topRight,\n          &-placement-topLeft\n          ":{paddingBottom:e.paddingXS},"\n          &-placement-bottomRight,\n          &-placement-bottomLeft\n          ":{paddingTop:e.paddingXS}}}),R(e)),{[`&-inline-collapsed ${n}-submenu-arrow,\n        &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,E.zA)(m)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,E.zA)(e.calc(m).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${(0,E.zA)(e.calc(p).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,E.zA)(e.calc(m).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,E.zA)(m)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},$=e=>{var t,n,r;const{colorPrimary:o,colorError:i,colorTextDisabled:a,colorErrorBg:s,colorText:l,colorTextDescription:c,colorBgContainer:u,colorFillAlter:d,colorFillContent:f,lineWidth:h,lineWidthBold:p,controlItemBgActive:m,colorBgTextHover:v,controlHeightLG:g,lineHeight:y,colorBgElevated:b,marginXXS:w,padding:E,fontSize:S,controlHeightSM:_,fontSizeLG:O,colorTextLightSolid:C,colorErrorHover:A}=e,k=null!==(t=e.activeBarWidth)&&void 0!==t?t:0,M=null!==(n=e.activeBarBorderWidth)&&void 0!==n?n:h,T=null!==(r=e.itemMarginInline)&&void 0!==r?r:e.marginXXS,P=new x.q(C).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:l,itemColor:l,colorItemTextHover:l,itemHoverColor:l,colorItemTextHoverHorizontal:o,horizontalItemHoverColor:o,colorGroupTitle:c,groupTitleColor:c,colorItemTextSelected:o,itemSelectedColor:o,colorItemTextSelectedHorizontal:o,horizontalItemSelectedColor:o,colorItemBg:u,itemBg:u,colorItemBgHover:v,itemHoverBg:v,colorItemBgActive:f,itemActiveBg:m,colorSubItemBg:d,subMenuItemBg:d,colorItemBgSelected:m,itemSelectedBg:m,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:k,colorActiveBarHeight:p,activeBarHeight:p,colorActiveBarBorderSize:h,activeBarBorderWidth:M,colorItemTextDisabled:a,itemDisabledColor:a,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:T,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:g,groupTitleLineHeight:y,collapsedWidth:2*g,popupBg:b,itemMarginBlock:w,itemPaddingInline:E,horizontalLineHeight:1.15*g+"px",iconSize:S,iconMarginInlineEnd:_-S,collapsedIconSize:O,groupTitleFontSize:S,darkItemDisabledColor:new x.q(C).setAlpha(.25).toRgbString(),darkItemColor:P,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:C,darkItemSelectedBg:o,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:P,darkItemHoverColor:C,darkDangerItemHoverColor:A,darkDangerItemSelectedColor:C,darkDangerItemActiveBg:i,itemWidth:k?`calc(100% + ${M}px)`:`calc(100% - ${2*T}px)`}},F=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(0,A.OF)("Menu",(e=>{const{colorBgElevated:t,controlHeightLG:n,fontSize:r,darkItemColor:o,darkDangerItemColor:i,darkItemBg:a,darkSubMenuItemBg:s,darkItemSelectedColor:l,darkItemSelectedBg:c,darkDangerItemSelectedBg:u,darkItemHoverBg:d,darkGroupTitleColor:f,darkItemHoverColor:h,darkItemDisabledColor:p,darkDangerItemHoverColor:m,darkDangerItemSelectedColor:v,darkDangerItemActiveBg:g,popupBg:y,darkPopupBg:b}=e,w=e.calc(r).div(7).mul(5).equal(),E=(0,k.h1)(e,{menuArrowSize:w,menuHorizontalHeight:e.calc(n).mul(1.15).equal(),menuArrowOffset:e.calc(w).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:y}),x=(0,k.h1)(E,{itemColor:o,itemHoverColor:h,groupTitleColor:f,itemSelectedColor:l,itemBg:a,popupBg:b,subMenuItemBg:s,itemActiveBg:"transparent",itemSelectedBg:c,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:d,itemDisabledColor:p,dangerItemColor:i,dangerItemHoverColor:m,dangerItemSelectedColor:v,dangerItemActiveBg:g,dangerItemSelectedBg:u,menuSubMenuBg:s,horizontalItemSelectedColor:l,horizontalItemSelectedBg:c});return[N(E),M(E),z(E),I(E,"light"),I(x,"dark"),T(E),(0,_.A)(E),(0,O._j)(E,"slide-up"),(0,O._j)(E,"slide-down"),(0,C.aB)(E,"zoom-big")]}),$,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)};var L=n(60275);const B=e=>{var t;const{popupClassName:n,icon:i,title:a,theme:s}=e,c=r.useContext(v),{prefixCls:d,inlineCollapsed:h,theme:p}=c,m=(0,o.Wj)();let g;if(i){const e=r.isValidElement(a)&&"span"===a.type;g=r.createElement(r.Fragment,null,(0,f.Ob)(i,{className:l()(r.isValidElement(i)?null===(t=i.props)||void 0===t?void 0:t.className:"",`${d}-item-icon`)}),e?a:r.createElement("span",{className:`${d}-title-content`},a))}else g=h&&!m.length&&a&&"string"==typeof a?r.createElement("div",{className:`${d}-inline-collapsed-noicon`},a.charAt(0)):r.createElement("span",{className:`${d}-title-content`},a);const y=r.useMemo((()=>Object.assign(Object.assign({},c),{firstLevel:!1})),[c]),[b]=(0,L.YK)("Menu");return r.createElement(v.Provider,{value:y},r.createElement(o.g8,Object.assign({},(0,u.A)(e,["icon"]),{title:g,popupClassName:l()(d,n,`${d}-${s||p}`),popupStyle:{zIndex:b}})))};function H(e){return null===e||!1===e}const V={item:b,submenu:B,divider:m},U=(0,r.forwardRef)(((e,t)=>{var n;const i=r.useContext(w.h),s=i||{},{getPrefixCls:m,getPopupContainer:g,direction:y,menu:b}=r.useContext(h.QO),E=m(),{prefixCls:x,className:S,style:_,theme:O="light",expandIcon:C,_internalDisableMenuItemTitleTooltip:A,inlineCollapsed:k,siderCollapsed:M,rootClassName:T,mode:P,selectable:I,onClick:j,overflowedIndicatorPopupClassName:z}=e,D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),R=(0,u.A)(D,["collapsedWidth"]);null===(n=s.validator)||void 0===n||n.call(s,{mode:P});const N=(0,c._q)((function(){var e;null==j||j.apply(void 0,arguments),null===(e=s.onClick)||void 0===e||e.call(s)})),$=s.mode||P,L=null!=I?I:s.selectable,B=r.useMemo((()=>void 0!==M?M:k),[k,M]),U={horizontal:{motionName:`${E}-slide-up`},inline:(0,d.A)(E),other:{motionName:`${E}-zoom-big`}},W=m("menu",x||s.prefixCls),q=(0,p.A)(W),[K,G,X]=F(W,q,!i),Y=l()(`${W}-${O}`,null==b?void 0:b.className,S),Z=r.useMemo((()=>{var e,t;if("function"==typeof C||H(C))return C||null;if("function"==typeof s.expandIcon||H(s.expandIcon))return s.expandIcon||null;if("function"==typeof(null==b?void 0:b.expandIcon)||H(null==b?void 0:b.expandIcon))return(null==b?void 0:b.expandIcon)||null;const n=null!==(e=null!=C?C:null==s?void 0:s.expandIcon)&&void 0!==e?e:null==b?void 0:b.expandIcon;return(0,f.Ob)(n,{className:l()(`${W}-submenu-expand-icon`,r.isValidElement(n)?null===(t=n.props)||void 0===t?void 0:t.className:void 0)})}),[C,null==s?void 0:s.expandIcon,null==b?void 0:b.expandIcon,W]),J=r.useMemo((()=>({prefixCls:W,inlineCollapsed:B||!1,direction:y,firstLevel:!0,theme:O,mode:$,disableMenuItemTitleTooltip:A})),[W,B,y,A,O]);return K(r.createElement(w.h.Provider,{value:null},r.createElement(v.Provider,{value:J},r.createElement(o.Ay,Object.assign({getPopupContainer:g,overflowedIndicator:r.createElement(a.A,null),overflowedIndicatorPopupClassName:l()(W,`${W}-${O}`,z),mode:$,selectable:L,onClick:N},R,{inlineCollapsed:B,style:Object.assign(Object.assign({},null==b?void 0:b.style),_),className:Y,prefixCls:W,direction:y,defaultMotions:U,expandIcon:Z,ref:t,rootClassName:l()(T,G,s.rootClassName,X,q),_internalComponents:V})))))})),W=U,q=(0,r.forwardRef)(((e,t)=>{const n=(0,r.useRef)(null),o=r.useContext(i.P);return(0,r.useImperativeHandle)(t,(()=>({menu:n.current,focus:e=>{var t;null===(t=n.current)||void 0===t||t.focus(e)}}))),r.createElement(W,Object.assign({ref:n},e,o))}));q.Item=b,q.SubMenu=B,q.Divider=m,q.ItemGroup=o.te;const K=q},56426:(e,t,n)=>{"use strict";n.d(t,{A:()=>tt});var r=n(28831),o=n(96540),i=n(27183),a=n(62279),s=n(54864),l=n(78377),c=n(25578),u=n(43019),d=n(98846),f=n(46942),h=n.n(f),p=n(60275),m=n(23723),v=n(19155),g=n(365),y=n(98788),b=n(68777),w=n(39449);function E(e){return!(!e||!e.then)}const x=e=>{const{type:t,children:n,prefixCls:r,buttonProps:i,close:a,autoFocus:s,emitEvent:l,isSilent:c,quitOnNullishReturnValue:u,actionFn:d}=e,f=o.useRef(!1),h=o.useRef(null),[p,m]=(0,y.A)(!1),v=function(){null==a||a.apply(void 0,arguments)};return o.useEffect((()=>{let e=null;return s&&(e=setTimeout((()=>{var e;null===(e=h.current)||void 0===e||e.focus()}))),()=>{e&&clearTimeout(e)}}),[]),o.createElement(b.Ay,Object.assign({},(0,w.DU)(t),{onClick:e=>{if(f.current)return;if(f.current=!0,!d)return void v();let t;if(l){if(t=d(e),u&&!E(t))return f.current=!1,void v(e)}else if(d.length)t=d(a),f.current=!1;else if(t=d(),!E(t))return void v();(e=>{E(e)&&(m(!0),e.then((function(){m(!1,!0),v.apply(void 0,arguments),f.current=!1}),(e=>{if(m(!1,!0),f.current=!1,!(null==c?void 0:c()))return Promise.reject(e)})))})(t)},loading:p,prefixCls:r},i,{ref:h}),n)},S=o.createContext({}),{Provider:_}=S,O=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:a,close:s,onCancel:l,onConfirm:c}=(0,o.useContext)(S);return i?o.createElement(x,{isSilent:r,actionFn:l,close:function(){null==s||s.apply(void 0,arguments),null==c||c(!1)},autoFocus:"cancel"===e,buttonProps:t,prefixCls:`${a}-btn`},n):null},C=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:a,okType:s,onConfirm:l,onOk:c}=(0,o.useContext)(S);return o.createElement(x,{isSilent:n,type:s||"primary",actionFn:c,close:function(){null==t||t.apply(void 0,arguments),null==l||l(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${i}-btn`},a)};var A=n(91937),k=n(58168),M=n(5544),T=n(45062),P=o.createContext({}),I=n(89379),j=n(54808),z=n(56855),D=n(16928),R=n(72065);function N(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function $(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}var F=n(57557),L=n(82284),B=n(8719);const H=o.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate}));var V={width:0,height:0,overflow:"hidden",outline:"none"},U={outline:"none"},W=o.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,i=e.style,a=e.title,s=e.ariaId,l=e.footer,c=e.closable,u=e.closeIcon,d=e.onClose,f=e.children,p=e.bodyStyle,m=e.bodyProps,v=e.modalRender,g=e.onMouseDown,y=e.onMouseUp,b=e.holderRef,w=e.visible,E=e.forceRender,x=e.width,S=e.height,_=e.classNames,O=e.styles,C=o.useContext(P).panel,A=(0,B.xK)(b,C),M=(0,o.useRef)(),T=(0,o.useRef)(),j=(0,o.useRef)();o.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=j.current)||void 0===e||e.focus({preventScroll:!0})},changeActive:function(e){var t=document.activeElement;e&&t===T.current?M.current.focus({preventScroll:!0}):e||t!==M.current||T.current.focus({preventScroll:!0})}}}));var z={};void 0!==x&&(z.width=x),void 0!==S&&(z.height=S);var D=l?o.createElement("div",{className:h()("".concat(n,"-footer"),null==_?void 0:_.footer),style:(0,I.A)({},null==O?void 0:O.footer)},l):null,N=a?o.createElement("div",{className:h()("".concat(n,"-header"),null==_?void 0:_.header),style:(0,I.A)({},null==O?void 0:O.header)},o.createElement("div",{className:"".concat(n,"-title"),id:s},a)):null,$=(0,o.useMemo)((function(){return"object"===(0,L.A)(c)&&null!==c?c:c?{closeIcon:null!=u?u:o.createElement("span",{className:"".concat(n,"-close-x")})}:{}}),[c,u,n]),F=(0,R.A)($,!0),W="object"===(0,L.A)(c)&&c.disabled,q=c?o.createElement("button",(0,k.A)({type:"button",onClick:d,"aria-label":"Close"},F,{className:"".concat(n,"-close"),disabled:W}),$.closeIcon):null,K=o.createElement("div",{className:h()("".concat(n,"-content"),null==_?void 0:_.content),style:null==O?void 0:O.content},q,N,o.createElement("div",(0,k.A)({className:h()("".concat(n,"-body"),null==_?void 0:_.body),style:(0,I.A)((0,I.A)({},p),null==O?void 0:O.body)},m),f),D);return o.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":a?s:null,"aria-modal":"true",ref:A,style:(0,I.A)((0,I.A)({},i),z),className:h()(n,r),onMouseDown:g,onMouseUp:y},o.createElement("div",{tabIndex:0,ref:M,style:V,"aria-hidden":"true"}),o.createElement("div",{ref:j,tabIndex:-1,style:U},o.createElement(H,{shouldUpdate:w||E},v?v(K):K)),o.createElement("div",{tabIndex:0,ref:T,style:V,"aria-hidden":"true"}))}));const q=W;var K=o.forwardRef((function(e,t){var n=e.prefixCls,r=e.title,i=e.style,a=e.className,s=e.visible,l=e.forceRender,c=e.destroyOnClose,u=e.motionName,d=e.ariaId,f=e.onVisibleChanged,p=e.mousePosition,m=(0,o.useRef)(),v=o.useState(),g=(0,M.A)(v,2),y=g[0],b=g[1],w={};function E(){var e,t,n,r,o,i=(n={left:(t=(e=m.current).getBoundingClientRect()).left,top:t.top},o=(r=e.ownerDocument).defaultView||r.parentWindow,n.left+=$(o),n.top+=$(o,!0),n);b(p&&(p.x||p.y)?"".concat(p.x-i.left,"px ").concat(p.y-i.top,"px"):"")}return y&&(w.transformOrigin=y),o.createElement(F.Ay,{visible:s,onVisibleChanged:f,onAppearPrepare:E,onEnterPrepare:E,forceRender:l,motionName:u,removeOnLeave:c,ref:m},(function(s,l){var c=s.className,u=s.style;return o.createElement(q,(0,k.A)({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:l,style:(0,I.A)((0,I.A)((0,I.A)({},u),i),w),className:h()(a,c)}))}))}));K.displayName="Content";const G=K,X=function(e){var t=e.prefixCls,n=e.style,r=e.visible,i=e.maskProps,a=e.motionName,s=e.className;return o.createElement(F.Ay,{key:"mask",visible:r,motionName:a,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,r){var a=e.className,l=e.style;return o.createElement("div",(0,k.A)({ref:r,style:(0,I.A)((0,I.A)({},l),n),className:h()("".concat(t,"-mask"),a,s)},i))}))};n(68210);const Y=function(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,r=e.zIndex,i=e.visible,a=void 0!==i&&i,s=e.keyboard,l=void 0===s||s,c=e.focusTriggerAfterClose,u=void 0===c||c,d=e.wrapStyle,f=e.wrapClassName,p=e.wrapProps,m=e.onClose,v=e.afterOpenChange,g=e.afterClose,y=e.transitionName,b=e.animation,w=e.closable,E=void 0===w||w,x=e.mask,S=void 0===x||x,_=e.maskTransitionName,O=e.maskAnimation,C=e.maskClosable,A=void 0===C||C,T=e.maskStyle,P=e.maskProps,$=e.rootClassName,F=e.classNames,L=e.styles,B=(0,o.useRef)(),H=(0,o.useRef)(),V=(0,o.useRef)(),U=o.useState(a),W=(0,M.A)(U,2),q=W[0],K=W[1],Y=(0,z.A)();function Z(e){null==m||m(e)}var J=(0,o.useRef)(!1),Q=(0,o.useRef)(),ee=null;A&&(ee=function(e){J.current?J.current=!1:H.current===e.target&&Z(e)}),(0,o.useEffect)((function(){a&&(K(!0),(0,j.A)(H.current,document.activeElement)||(B.current=document.activeElement))}),[a]),(0,o.useEffect)((function(){return function(){clearTimeout(Q.current)}}),[]);var te=(0,I.A)((0,I.A)((0,I.A)({zIndex:r},d),null==L?void 0:L.wrapper),{},{display:q?null:"none"});return o.createElement("div",(0,k.A)({className:h()("".concat(n,"-root"),$)},(0,R.A)(e,{data:!0})),o.createElement(X,{prefixCls:n,visible:S&&a,motionName:N(n,_,O),style:(0,I.A)((0,I.A)({zIndex:r},T),null==L?void 0:L.mask),maskProps:P,className:null==F?void 0:F.mask}),o.createElement("div",(0,k.A)({tabIndex:-1,onKeyDown:function(e){if(l&&e.keyCode===D.A.ESC)return e.stopPropagation(),void Z(e);a&&e.keyCode===D.A.TAB&&V.current.changeActive(!e.shiftKey)},className:h()("".concat(n,"-wrap"),f,null==F?void 0:F.wrapper),ref:H,onClick:ee,style:te},p),o.createElement(G,(0,k.A)({},e,{onMouseDown:function(){clearTimeout(Q.current),J.current=!0},onMouseUp:function(){Q.current=setTimeout((function(){J.current=!1}))},ref:V,closable:E,ariaId:Y,prefixCls:n,visible:a&&q,onClose:Z,onVisibleChanged:function(e){if(e)(0,j.A)(H.current,document.activeElement)||null===(t=V.current)||void 0===t||t.focus();else{if(K(!1),S&&B.current&&u){try{B.current.focus({preventScroll:!0})}catch(e){}B.current=null}q&&(null==g||g())}var t;null==v||v(e)},motionName:N(n,y,b)}))))};var Z=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,i=e.destroyOnClose,a=void 0!==i&&i,s=e.afterClose,l=e.panelRef,c=o.useState(t),u=(0,M.A)(c,2),d=u[0],f=u[1],h=o.useMemo((function(){return{panel:l}}),[l]);return o.useEffect((function(){t&&f(!0)}),[t]),r||!a||d?o.createElement(P.Provider,{value:h},o.createElement(T.A,{open:t||r||d,autoDestroy:!1,getContainer:n,autoLock:t||d},o.createElement(Y,(0,k.A)({},e,{destroyOnClose:a,afterClose:function(){null==s||s(),f(!1)}})))):null};Z.displayName="Dialog";const J=Z;var Q=n(70064),ee=n(39313),te=n(72616),ne=n(20934),re=n(94241),oe=n(39572),ie=n(76327),ae=n(28557),se=n(98119);const le=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,o.useContext)(S);return o.createElement(b.Ay,Object.assign({onClick:n},e),t)},ce=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=(0,o.useContext)(S);return o.createElement(b.Ay,Object.assign({},(0,w.DU)(n),{loading:e,onClick:i},t),r)};var ue=n(21815);function de(e,t){return o.createElement("span",{className:`${e}-close-x`},t||o.createElement(A.A,{className:`${e}-close-icon`}))}const fe=e=>{const{okText:t,okType:n="primary",cancelText:i,confirmLoading:a,onOk:s,onCancel:l,okButtonProps:c,cancelButtonProps:u,footer:d}=e,[f]=(0,v.A)("Modal",(0,ue.l)()),h={confirmLoading:a,okButtonProps:c,cancelButtonProps:u,okTextLocale:t||(null==f?void 0:f.okText),cancelTextLocale:i||(null==f?void 0:f.cancelText),okType:n,onOk:s,onCancel:l},p=o.useMemo((()=>h),(0,r.A)(Object.values(h)));let m;return"function"==typeof d||void 0===d?(m=o.createElement(o.Fragment,null,o.createElement(le,null),o.createElement(ce,null)),"function"==typeof d&&(m=d(m,{OkBtn:ce,CancelBtn:le})),m=o.createElement(_,{value:p},m)):m=d,o.createElement(se.X,{disabled:!1},m)};var he=n(21880),pe=n(25905),me=n(14980);const ve=new he.Mo("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),ge=new he.Mo("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),ye=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[(0,me.b)(r,ve,ge,e.motionDurationMid,t),{[`\n        ${o}${r}-enter,\n        ${o}${r}-appear\n      `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]};var be=n(99077),we=n(80336),Ee=n(69028);function xe(e){return{position:e,inset:0}}const Se=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},xe("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},xe("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:ye(e)}]},_e=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,he.zA)(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,pe.dF)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,he.zA)(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${(0,he.zA)(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},(0,pe.K8)(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${(0,he.zA)(e.borderRadiusLG)} ${(0,he.zA)(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${(0,he.zA)(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,\n          ${t}-body,\n          ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},Oe=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},Ce=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return(0,we.h1)(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},Ae=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${(0,he.zA)(e.paddingMD)} ${(0,he.zA)(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${(0,he.zA)(e.padding)} ${(0,he.zA)(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${(0,he.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${(0,he.zA)(e.paddingXS)} ${(0,he.zA)(e.padding)}`:0,footerBorderTop:e.wireframe?`${(0,he.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${(0,he.zA)(e.borderRadiusLG)} ${(0,he.zA)(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${(0,he.zA)(2*e.padding)} ${(0,he.zA)(2*e.padding)} ${(0,he.zA)(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),ke=(0,Ee.OF)("Modal",(e=>{const t=Ce(e);return[_e(t),Oe(t),Se(t),(0,be.aB)(t,"zoom")]}),Ae,{unitless:{titleLineHeight:!0}});let Me;(0,ee.A)()&&window.document.documentElement&&document.documentElement.addEventListener("click",(e=>{Me={x:e.pageX,y:e.pageY},setTimeout((()=>{Me=null}),100)}),!0);const Te=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:i,modal:s}=o.useContext(a.QO),l=t=>{const{onCancel:n}=e;null==n||n(t)},{prefixCls:c,className:u,rootClassName:d,open:f,wrapClassName:v,centered:g,getContainer:y,focusTriggerAfterClose:b=!0,style:w,visible:E,width:x=520,footer:S,classNames:_,styles:O,children:C,loading:k}=e,M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),T=r("modal",c),P=r(),I=(0,ne.A)(T),[j,z,D]=ke(T,I),R=h()(v,{[`${T}-centered`]:!!g,[`${T}-wrap-rtl`]:"rtl"===i}),N=null===S||k?null:o.createElement(fe,Object.assign({},e,{onOk:t=>{const{onOk:n}=e;null==n||n(t)},onCancel:l})),[$,F]=(0,Q.A)((0,Q.d)(e),(0,Q.d)(s),{closable:!0,closeIcon:o.createElement(A.A,{className:`${T}-close-icon`}),closeIconRender:e=>de(T,e)}),L=(0,ae.f)(`.${T}-content`),[B,H]=(0,p.YK)("Modal",M.zIndex);return j(o.createElement(ie.K6,null,o.createElement(re.XB,{status:!0,override:!0},o.createElement(te.A.Provider,{value:H},o.createElement(J,Object.assign({width:x},M,{zIndex:B,getContainer:void 0===y?n:y,prefixCls:T,rootClassName:h()(z,d,D,I),footer:N,visible:null!=f?f:E,mousePosition:null!==(t=M.mousePosition)&&void 0!==t?t:Me,onClose:l,closable:$,closeIcon:F,focusTriggerAfterClose:b,transitionName:(0,m.b)(P,"zoom",e.transitionName),maskTransitionName:(0,m.b)(P,"fade",e.maskTransitionName),className:h()(z,u,null==s?void 0:s.className),style:Object.assign(Object.assign({},null==s?void 0:s.style),w),classNames:Object.assign(Object.assign(Object.assign({},null==s?void 0:s.classNames),_),{wrapper:h()(R,null==_?void 0:_.wrapper)}),styles:Object.assign(Object.assign({},null==s?void 0:s.styles),O),panelRef:L}),k?o.createElement(oe.A,{active:!0,title:!1,paragraph:{rows:4},className:`${T}-body-skeleton`}):C)))))},Pe=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:a,modalTitleHeight:s,fontHeight:l,confirmBodyPadding:c}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${u}-body-wrapper`]:Object.assign({},(0,pe.t6)()),[`&${t} ${t}-body`]:{padding:c},[`${u}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:o,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(l).sub(o).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(o).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${u}-paragraph`]:{maxWidth:`calc(100% - ${(0,he.zA)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${u}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${u}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls},\n        ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},Ie=(0,Ee.bf)(["Modal","confirm"],(e=>{const t=Ce(e);return[Pe(t)]}),Ae,{order:-1e3});function je(e){const{prefixCls:t,icon:n,okText:i,cancelText:a,confirmPrefixCls:s,type:f,okCancel:p,footer:m,locale:g}=e,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let b=n;if(!n&&null!==n)switch(f){case"info":b=o.createElement(d.A,null);break;case"success":b=o.createElement(l.A,null);break;case"error":b=o.createElement(c.A,null);break;default:b=o.createElement(u.A,null)}const w=null!=p?p:"confirm"===f,E=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[x]=(0,v.A)("Modal"),S=g||x,A=i||(w?null==S?void 0:S.okText:null==S?void 0:S.justOkText),k=a||(null==S?void 0:S.cancelText),M=Object.assign({autoFocusButton:E,cancelTextLocale:k,okTextLocale:A,mergedOkCancel:w},y),T=o.useMemo((()=>M),(0,r.A)(Object.values(M))),P=o.createElement(o.Fragment,null,o.createElement(O,null),o.createElement(C,null)),I=void 0!==e.title&&null!==e.title,j=`${s}-body`;return o.createElement("div",{className:`${s}-body-wrapper`},o.createElement("div",{className:h()(j,{[`${j}-has-title`]:I})},b,o.createElement("div",{className:`${s}-paragraph`},I&&o.createElement("span",{className:`${s}-title`},e.title),o.createElement("div",{className:`${s}-content`},e.content))),void 0===m||"function"==typeof m?o.createElement(_,{value:T},o.createElement("div",{className:`${s}-btns`},"function"==typeof m?m(P,{OkBtn:C,CancelBtn:O}):P)):m,o.createElement(Ie,{prefixCls:t}))}const ze=e=>{const{close:t,zIndex:n,afterClose:r,open:i,keyboard:a,centered:s,getContainer:l,maskStyle:c,direction:u,prefixCls:d,wrapClassName:f,rootPrefixCls:v,bodyStyle:y,closable:b=!1,closeIcon:w,modalRender:E,focusTriggerAfterClose:x,onConfirm:S,styles:_}=e,O=`${d}-confirm`,C=e.width||416,A=e.style||{},k=void 0===e.mask||e.mask,M=void 0!==e.maskClosable&&e.maskClosable,T=h()(O,`${O}-${e.type}`,{[`${O}-rtl`]:"rtl"===u},e.className),[,P]=(0,g.Ay)(),I=o.useMemo((()=>void 0!==n?n:P.zIndexPopupBase+p.jH),[n,P]);return o.createElement(Te,{prefixCls:d,className:T,wrapClassName:h()({[`${O}-centered`]:!!e.centered},f),onCancel:()=>{null==t||t({triggerCancel:!0}),null==S||S(!1)},open:i,title:"",footer:null,transitionName:(0,m.b)(v||"","zoom",e.transitionName),maskTransitionName:(0,m.b)(v||"","fade",e.maskTransitionName),mask:k,maskClosable:M,style:A,styles:Object.assign({body:y,mask:c},_),width:C,zIndex:I,afterClose:r,keyboard:a,centered:s,getContainer:l,closable:b,closeIcon:w,modalRender:E,focusTriggerAfterClose:x},o.createElement(je,Object.assign({},e,{confirmPrefixCls:O})))},De=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:i}=e;return o.createElement(s.Ay,{prefixCls:t,iconPrefixCls:n,direction:r,theme:i},o.createElement(ze,Object.assign({},e)))},Re=[];let Ne="";function $e(){return Ne}const Fe=e=>{var t,n;const{prefixCls:r,getContainer:i,direction:s}=e,l=(0,ue.l)(),c=(0,o.useContext)(a.QO),u=$e()||c.getPrefixCls(),d=r||`${u}-modal`;let f=i;return!1===f&&(f=void 0),o.createElement(De,Object.assign({},e,{rootPrefixCls:u,prefixCls:d,iconPrefixCls:c.iconPrefixCls,theme:c.theme,direction:null!=s?s:c.direction,locale:null!==(n=null===(t=c.locale)||void 0===t?void 0:t.Modal)&&void 0!==n?n:l,getContainer:f}))};function Le(e){const t=(0,s.cr)(),n=document.createDocumentFragment();let a,l=Object.assign(Object.assign({},e),{close:d,open:!0});function c(){for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];const s=o.some((e=>e&&e.triggerCancel));e.onCancel&&s&&e.onCancel.apply(e,[()=>{}].concat((0,r.A)(o.slice(1))));for(let e=0;e<Re.length;e++)if(Re[e]===d){Re.splice(e,1);break}(0,i.v)(n)}function u(e){clearTimeout(a),a=setTimeout((()=>{const r=t.getPrefixCls(void 0,$e()),a=t.getIconPrefixCls(),l=t.getTheme(),c=o.createElement(Fe,Object.assign({},e));(0,i.X)(o.createElement(s.Ay,{prefixCls:r,iconPrefixCls:a,theme:l},t.holderRender?t.holderRender(c):c),n)}))}function d(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];l=Object.assign(Object.assign({},l),{open:!1,afterClose:()=>{"function"==typeof e.afterClose&&e.afterClose(),c.apply(this,n)}}),l.visible&&delete l.visible,u(l)}return u(l),Re.push(d),{destroy:d,update:function(e){l="function"==typeof e?e(l):Object.assign(Object.assign({},l),e),u(l)}}}function Be(e){return Object.assign(Object.assign({},e),{type:"warning"})}function He(e){return Object.assign(Object.assign({},e),{type:"info"})}function Ve(e){return Object.assign(Object.assign({},e),{type:"success"})}function Ue(e){return Object.assign(Object.assign({},e),{type:"error"})}function We(e){return Object.assign(Object.assign({},e),{type:"confirm"})}var qe=n(53425);const Ke=(0,qe.U)((e=>{const{prefixCls:t,className:n,closeIcon:r,closable:i,type:s,title:l,children:c,footer:u}=e,d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:f}=o.useContext(a.QO),p=f(),m=t||f("modal"),v=(0,ne.A)(p),[g,y,b]=ke(m,v),w=`${m}-confirm`;let E={};return E=s?{closable:null!=i&&i,title:"",footer:"",children:o.createElement(je,Object.assign({},e,{prefixCls:m,confirmPrefixCls:w,rootPrefixCls:p,content:c}))}:{closable:null==i||i,title:l,footer:null!==u&&o.createElement(fe,Object.assign({},e)),children:c},g(o.createElement(q,Object.assign({prefixCls:m,className:h()(y,`${m}-pure-panel`,s&&w,s&&`${w}-${s}`,n,b,v)},d,{closeIcon:de(m,r),closable:i},E)))}));var Ge=n(83480);const Xe=(e,t)=>{var n,{afterClose:i,config:s}=e,l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["afterClose","config"]);const[c,u]=o.useState(!0),[d,f]=o.useState(s),{direction:h,getPrefixCls:p}=o.useContext(a.QO),m=p("modal"),g=p(),y=function(){u(!1);for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const o=t.some((e=>e&&e.triggerCancel));d.onCancel&&o&&d.onCancel.apply(d,[()=>{}].concat((0,r.A)(t.slice(1))))};o.useImperativeHandle(t,(()=>({destroy:y,update:e=>{f((t=>Object.assign(Object.assign({},t),e)))}})));const b=null!==(n=d.okCancel)&&void 0!==n?n:"confirm"===d.type,[w]=(0,v.A)("Modal",Ge.A.Modal);return o.createElement(De,Object.assign({prefixCls:m,rootPrefixCls:g},d,{close:y,open:c,afterClose:()=>{var e;i(),null===(e=d.afterClose)||void 0===e||e.call(d)},okText:d.okText||(b?null==w?void 0:w.okText:null==w?void 0:w.justOkText),direction:d.direction||h,cancelText:d.cancelText||(null==w?void 0:w.cancelText)},l))},Ye=o.forwardRef(Xe);let Ze=0;const Je=o.memo(o.forwardRef(((e,t)=>{const[n,i]=function(){const[e,t]=o.useState([]);return[e,o.useCallback((e=>(t((t=>[].concat((0,r.A)(t),[e]))),()=>{t((t=>t.filter((t=>t!==e))))})),[])]}();return o.useImperativeHandle(t,(()=>({patchElement:i})),[]),o.createElement(o.Fragment,null,n)})));function Qe(e){return Le(Be(e))}const et=Te;et.useModal=function(){const e=o.useRef(null),[t,n]=o.useState([]);o.useEffect((()=>{t.length&&((0,r.A)(t).forEach((e=>{e()})),n([]))}),[t]);const i=o.useCallback((t=>function(i){var a;Ze+=1;const s=o.createRef();let l;const c=new Promise((e=>{l=e}));let u,d=!1;const f=o.createElement(Ye,{key:`modal-${Ze}`,config:t(i),ref:s,afterClose:()=>{null==u||u()},isSilent:()=>d,onConfirm:e=>{l(e)}});u=null===(a=e.current)||void 0===a?void 0:a.patchElement(f),u&&Re.push(u);const h={destroy:()=>{function e(){var e;null===(e=s.current)||void 0===e||e.destroy()}s.current?e():n((t=>[].concat((0,r.A)(t),[e])))},update:e=>{function t(){var t;null===(t=s.current)||void 0===t||t.update(e)}s.current?t():n((e=>[].concat((0,r.A)(e),[t])))},then:e=>(d=!0,c.then(e))};return h}),[]);return[o.useMemo((()=>({info:i(He),success:i(Ve),error:i(Ue),warning:i(Be),confirm:i(We)})),[]),o.createElement(Je,{key:"modal-holder",ref:e})]},et.info=function(e){return Le(He(e))},et.success=function(e){return Le(Ve(e))},et.error=function(e){return Le(Ue(e))},et.warning=Qe,et.warn=Qe,et.confirm=function(e){return Le(We(e))},et.destroyAll=function(){for(;Re.length;){const e=Re.pop();e&&e()}},et.config=function(e){let{rootPrefixCls:t}=e;Ne=t},et._InternalPanelDoNotUseOrYouWillBeFired=Ke;const tt=et},21815:(e,t,n)=>{"use strict";n.d(t,{L:()=>s,l:()=>l});var r=n(83480);let o=Object.assign({},r.A.Modal),i=[];const a=()=>i.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),r.A.Modal);function s(e){if(e){const t=Object.assign({},e);return i.push(t),o=a(),()=>{i=i.filter((e=>e!==t)),o=a()}}o=Object.assign({},r.A.Modal)}function l(){return o}},35548:(e,t,n)=>{"use strict";n.d(t,{A:()=>ae});var r=n(96540),o=n(18814);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};var a=n(58994),s=function(e,t){return r.createElement(a.A,(0,o.A)({},e,{ref:t,icon:i}))};const l=r.forwardRef(s),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};var u=function(e,t){return r.createElement(a.A,(0,o.A)({},e,{ref:t,icon:c}))};const d=r.forwardRef(u);var f=n(84488),h=n(64179),p=n(46942),m=n.n(p),v=n(64467),g=n(58168),y=n(89379),b=n(5544),w=n(12533),E=n(16928),x=n(72065);n(68210);const S={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"};var _=["10","20","50","100"];const O=function(e){var t=e.pageSizeOptions,n=void 0===t?_:t,o=e.locale,i=e.changeSize,a=e.pageSize,s=e.goButton,l=e.quickGo,c=e.rootPrefixCls,u=e.selectComponentClass,d=e.selectPrefixCls,f=e.disabled,h=e.buildOptionText,p=r.useState(""),m=(0,b.A)(p,2),v=m[0],g=m[1],y=function(){return!v||Number.isNaN(v)?void 0:Number(v)},w="function"==typeof h?h:function(e){return"".concat(e," ").concat(o.items_per_page)},x=function(e){""!==v&&(e.keyCode!==E.A.ENTER&&"click"!==e.type||(g(""),null==l||l(y())))},S="".concat(c,"-options");if(!i&&!l)return null;var O=null,C=null,A=null;if(i&&u){var k=(n.some((function(e){return e.toString()===a.toString()}))?n:n.concat([a.toString()]).sort((function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))}))).map((function(e,t){return r.createElement(u.Option,{key:t,value:e.toString()},w(e))}));O=r.createElement(u,{disabled:f,prefixCls:d,showSearch:!1,className:"".concat(S,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(a||n[0]).toString(),onChange:function(e){null==i||i(Number(e))},getPopupContainer:function(e){return e.parentNode},"aria-label":o.page_size,defaultOpen:!1},k)}return l&&(s&&(A="boolean"==typeof s?r.createElement("button",{type:"button",onClick:x,onKeyUp:x,disabled:f,className:"".concat(S,"-quick-jumper-button")},o.jump_to_confirm):r.createElement("span",{onClick:x,onKeyUp:x},s)),C=r.createElement("div",{className:"".concat(S,"-quick-jumper")},o.jump_to,r.createElement("input",{disabled:f,type:"text",value:v,onChange:function(e){g(e.target.value)},onKeyUp:x,onBlur:function(e){s||""===v||(g(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(c,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(c,"-item"))>=0)||null==l||l(y()))},"aria-label":o.page}),o.page,A)),r.createElement("li",{className:S},O,C)},C=function(e){var t,n=e.rootPrefixCls,o=e.page,i=e.active,a=e.className,s=e.showTitle,l=e.onClick,c=e.onKeyPress,u=e.itemRender,d="".concat(n,"-item"),f=m()(d,"".concat(d,"-").concat(o),(t={},(0,v.A)(t,"".concat(d,"-active"),i),(0,v.A)(t,"".concat(d,"-disabled"),!o),t),a),h=u(o,"page",r.createElement("a",{rel:"nofollow"},o));return h?r.createElement("li",{title:s?String(o):null,className:f,onClick:function(){l(o)},onKeyDown:function(e){c(e,l,o)},tabIndex:0},h):null};var A=function(e,t,n){return n};function k(){}function M(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function T(e,t,n){var r=void 0===e?t:e;return Math.floor((n-1)/r)+1}const P=function(e){var t,n=e.prefixCls,o=void 0===n?"rc-pagination":n,i=e.selectPrefixCls,a=void 0===i?"rc-select":i,s=e.className,l=e.selectComponentClass,c=e.current,u=e.defaultCurrent,d=void 0===u?1:u,f=e.total,h=void 0===f?0:f,p=e.pageSize,_=e.defaultPageSize,P=void 0===_?10:_,I=e.onChange,j=void 0===I?k:I,z=e.hideOnSinglePage,D=e.showPrevNextJumpers,R=void 0===D||D,N=e.showQuickJumper,$=e.showLessItems,F=e.showTitle,L=void 0===F||F,B=e.onShowSizeChange,H=void 0===B?k:B,V=e.locale,U=void 0===V?S:V,W=e.style,q=e.totalBoundaryShowSizeChanger,K=void 0===q?50:q,G=e.disabled,X=e.simple,Y=e.showTotal,Z=e.showSizeChanger,J=e.pageSizeOptions,Q=e.itemRender,ee=void 0===Q?A:Q,te=e.jumpPrevIcon,ne=e.jumpNextIcon,re=e.prevIcon,oe=e.nextIcon,ie=r.useRef(null),ae=(0,w.A)(10,{value:p,defaultValue:P}),se=(0,b.A)(ae,2),le=se[0],ce=se[1],ue=(0,w.A)(1,{value:c,defaultValue:d,postState:function(e){return Math.max(1,Math.min(e,T(void 0,le,h)))}}),de=(0,b.A)(ue,2),fe=de[0],he=de[1],pe=r.useState(fe),me=(0,b.A)(pe,2),ve=me[0],ge=me[1];(0,r.useEffect)((function(){ge(fe)}),[fe]);var ye=Math.max(1,fe-($?3:5)),be=Math.min(T(void 0,le,h),fe+($?3:5));function we(t,n){var i=t||r.createElement("button",{type:"button","aria-label":n,className:"".concat(o,"-item-link")});return"function"==typeof t&&(i=r.createElement(t,(0,y.A)({},e))),i}function Ee(e){var t=e.target.value,n=T(void 0,le,h);return""===t?t:Number.isNaN(Number(t))?ve:t>=n?n:Number(t)}var xe=h>le&&N;function Se(e){var t=Ee(e);switch(t!==ve&&ge(t),e.keyCode){case E.A.ENTER:_e(t);break;case E.A.UP:_e(t-1);break;case E.A.DOWN:_e(t+1)}}function _e(e){if(function(e){return M(e)&&e!==fe&&M(h)&&h>0}(e)&&!G){var t=T(void 0,le,h),n=e;return e>t?n=t:e<1&&(n=1),n!==ve&&ge(n),he(n),null==j||j(n,le),n}return fe}var Oe=fe>1,Ce=fe<T(void 0,le,h),Ae=null!=Z?Z:h>K;function ke(){Oe&&_e(fe-1)}function Me(){Ce&&_e(fe+1)}function Te(){_e(ye)}function Pe(){_e(be)}function Ie(e,t){if("Enter"===e.key||e.charCode===E.A.ENTER||e.keyCode===E.A.ENTER){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];t.apply(void 0,r)}}function je(e){"click"!==e.type&&e.keyCode!==E.A.ENTER||_e(ve)}var ze=null,De=(0,x.A)(e,{aria:!0,data:!0}),Re=Y&&r.createElement("li",{className:"".concat(o,"-total-text")},Y(h,[0===h?0:(fe-1)*le+1,fe*le>h?h:fe*le])),Ne=null,$e=T(void 0,le,h);if(z&&h<=le)return null;var Fe=[],Le={rootPrefixCls:o,onClick:_e,onKeyPress:Ie,showTitle:L,itemRender:ee,page:-1},Be=fe-1>0?fe-1:0,He=fe+1<$e?fe+1:$e,Ve=N&&N.goButton,Ue=Ve,We=null;X&&(Ve&&(Ue="boolean"==typeof Ve?r.createElement("button",{type:"button",onClick:je,onKeyUp:je},U.jump_to_confirm):r.createElement("span",{onClick:je,onKeyUp:je},Ve),Ue=r.createElement("li",{title:L?"".concat(U.jump_to).concat(fe,"/").concat($e):null,className:"".concat(o,"-simple-pager")},Ue)),We=r.createElement("li",{title:L?"".concat(fe,"/").concat($e):null,className:"".concat(o,"-simple-pager")},r.createElement("input",{type:"text",value:ve,disabled:G,onKeyDown:function(e){e.keyCode!==E.A.UP&&e.keyCode!==E.A.DOWN||e.preventDefault()},onKeyUp:Se,onChange:Se,onBlur:function(e){_e(Ee(e))},size:3}),r.createElement("span",{className:"".concat(o,"-slash")},"/"),$e));var qe=$?1:2;if($e<=3+2*qe){$e||Fe.push(r.createElement(C,(0,g.A)({},Le,{key:"noPager",page:1,className:"".concat(o,"-item-disabled")})));for(var Ke=1;Ke<=$e;Ke+=1)Fe.push(r.createElement(C,(0,g.A)({},Le,{key:Ke,page:Ke,active:fe===Ke})))}else{var Ge=$?U.prev_3:U.prev_5,Xe=$?U.next_3:U.next_5,Ye=ee(ye,"jump-prev",we(te,"prev page")),Ze=ee(be,"jump-next",we(ne,"next page"));R&&(ze=Ye?r.createElement("li",{title:L?Ge:null,key:"prev",onClick:Te,tabIndex:0,onKeyDown:function(e){Ie(e,Te)},className:m()("".concat(o,"-jump-prev"),(0,v.A)({},"".concat(o,"-jump-prev-custom-icon"),!!te))},Ye):null,Ne=Ze?r.createElement("li",{title:L?Xe:null,key:"next",onClick:Pe,tabIndex:0,onKeyDown:function(e){Ie(e,Pe)},className:m()("".concat(o,"-jump-next"),(0,v.A)({},"".concat(o,"-jump-next-custom-icon"),!!ne))},Ze):null);var Je=Math.max(1,fe-qe),Qe=Math.min(fe+qe,$e);fe-1<=qe&&(Qe=1+2*qe),$e-fe<=qe&&(Je=$e-2*qe);for(var et=Je;et<=Qe;et+=1)Fe.push(r.createElement(C,(0,g.A)({},Le,{key:et,page:et,active:fe===et})));if(fe-1>=2*qe&&3!==fe&&(Fe[0]=r.cloneElement(Fe[0],{className:m()("".concat(o,"-item-after-jump-prev"),Fe[0].props.className)}),Fe.unshift(ze)),$e-fe>=2*qe&&fe!==$e-2){var tt=Fe[Fe.length-1];Fe[Fe.length-1]=r.cloneElement(tt,{className:m()("".concat(o,"-item-before-jump-next"),tt.props.className)}),Fe.push(Ne)}1!==Je&&Fe.unshift(r.createElement(C,(0,g.A)({},Le,{key:1,page:1}))),Qe!==$e&&Fe.push(r.createElement(C,(0,g.A)({},Le,{key:$e,page:$e})))}var nt=function(e){var t=ee(e,"prev",we(re,"prev page"));return r.isValidElement(t)?r.cloneElement(t,{disabled:!Oe}):t}(Be);if(nt){var rt=!Oe||!$e;nt=r.createElement("li",{title:L?U.prev_page:null,onClick:ke,tabIndex:rt?null:0,onKeyDown:function(e){Ie(e,ke)},className:m()("".concat(o,"-prev"),(0,v.A)({},"".concat(o,"-disabled"),rt)),"aria-disabled":rt},nt)}var ot,it,at=function(e){var t=ee(e,"next",we(oe,"next page"));return r.isValidElement(t)?r.cloneElement(t,{disabled:!Ce}):t}(He);at&&(X?(ot=!Ce,it=Oe?0:null):it=(ot=!Ce||!$e)?null:0,at=r.createElement("li",{title:L?U.next_page:null,onClick:Me,tabIndex:it,onKeyDown:function(e){Ie(e,Me)},className:m()("".concat(o,"-next"),(0,v.A)({},"".concat(o,"-disabled"),ot)),"aria-disabled":ot},at));var st=m()(o,s,(t={},(0,v.A)(t,"".concat(o,"-simple"),X),(0,v.A)(t,"".concat(o,"-disabled"),G),t));return r.createElement("ul",(0,g.A)({className:st,style:W,ref:ie},De),Re,nt,X?We:Fe,at,r.createElement(O,{locale:U,rootPrefixCls:o,disabled:G,selectComponentClass:l,selectPrefixCls:a,changeSize:Ae?function(e){var t=T(e,le,h),n=fe>t&&0!==t?t:fe;ce(e),ge(n),null==H||H(fe,e),he(n),null==j||j(n,e)}:null,pageSize:le,pageSizeOptions:J,quickGo:xe?_e:null,goButton:Ue}))};var I=n(96069),j=n(62279),z=n(829),D=n(78551),R=n(19155),N=n(365),$=n(98461);const F=e=>r.createElement($.A,Object.assign({},e,{showSearch:!0,size:"small"})),L=e=>r.createElement($.A,Object.assign({},e,{showSearch:!0,size:"middle"}));F.Option=$.A.Option,L.Option=$.A.Option;var B=n(21880),H=n(81594),V=n(44335),U=n(89222),W=n(25905),q=n(80336),K=n(69028);const G=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},X=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:(0,B.zA)(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,B.zA)(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,B.zA)(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[`\n    &${t}-mini ${t}-prev ${t}-item-link,\n    &${t}-mini ${t}-next ${t}-item-link\n    `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:(0,B.zA)(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,B.zA)(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,B.zA)(e.itemSizeSM),input:Object.assign(Object.assign({},(0,H.BZ)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},Y=e=>{const{componentCls:t}=e;return{[`\n    &${t}-simple ${t}-prev,\n    &${t}-simple ${t}-next\n    `]:{height:e.itemSizeSM,lineHeight:(0,B.zA)(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:(0,B.zA)(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${(0,B.zA)(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${(0,B.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${(0,B.zA)(e.inputOutlineOffset)} 0 ${(0,B.zA)(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},Z=e=>{const{componentCls:t,antCls:n}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[`\n    ${t}-prev,\n    ${t}-jump-prev,\n    ${t}-jump-next\n    `]:{marginInlineEnd:e.marginXS},[`\n    ${t}-prev,\n    ${t}-next,\n    ${t}-jump-prev,\n    ${t}-jump-next\n    `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:`${(0,B.zA)(e.itemSize)}`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,B.zA)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto",[`${n}-select-arrow:not(:last-child)`]:{opacity:1}},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,B.zA)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,H.wj)(e)),(0,U.nI)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},(0,U.eT)(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},J=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,B.zA)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${(0,B.zA)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,B.zA)(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},Q=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,W.dF)(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:(0,B.zA)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),J(e)),Z(e)),Y(e)),X(e)),G(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},ee=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,W.K8)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,W.jk)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,W.jk)(e))}}}},te=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},(0,V.b)(e)),ne=e=>(0,q.h1)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,V.C)(e)),re=(0,K.OF)("Pagination",(e=>{const t=ne(e);return[Q(t),ee(t)]}),te),oe=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${(0,B.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},ie=(0,K.bf)(["Pagination","bordered"],(e=>{const t=ne(e);return[oe(t)]}),te);const ae=e=>{const{prefixCls:t,selectPrefixCls:n,className:o,rootClassName:i,style:a,size:s,locale:c,selectComponentClass:u,responsive:p,showSizeChanger:v}=e,g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:y}=(0,D.A)(p),[,b]=(0,N.Ay)(),{getPrefixCls:w,direction:E,pagination:x={}}=r.useContext(j.QO),S=w("pagination",t),[_,O,C]=re(S),A=null!=v?v:x.showSizeChanger,k=r.useMemo((()=>{const e=r.createElement("span",{className:`${S}-item-ellipsis`},"•••");return{prevIcon:r.createElement("button",{className:`${S}-item-link`,type:"button",tabIndex:-1},"rtl"===E?r.createElement(h.A,null):r.createElement(f.A,null)),nextIcon:r.createElement("button",{className:`${S}-item-link`,type:"button",tabIndex:-1},"rtl"===E?r.createElement(f.A,null):r.createElement(h.A,null)),jumpPrevIcon:r.createElement("a",{className:`${S}-item-link`},r.createElement("div",{className:`${S}-item-container`},"rtl"===E?r.createElement(d,{className:`${S}-item-link-icon`}):r.createElement(l,{className:`${S}-item-link-icon`}),e)),jumpNextIcon:r.createElement("a",{className:`${S}-item-link`},r.createElement("div",{className:`${S}-item-container`},"rtl"===E?r.createElement(l,{className:`${S}-item-link-icon`}):r.createElement(d,{className:`${S}-item-link-icon`}),e))}}),[E,S]),[M]=(0,R.A)("Pagination",I.A),T=Object.assign(Object.assign({},M),c),$=(0,z.A)(s),B="small"===$||!(!y||$||!p),H=w("select",n),V=m()({[`${S}-mini`]:B,[`${S}-rtl`]:"rtl"===E,[`${S}-bordered`]:b.wireframe},null==x?void 0:x.className,o,i,O,C),U=Object.assign(Object.assign({},null==x?void 0:x.style),a);return _(r.createElement(r.Fragment,null,b.wireframe&&r.createElement(ie,{prefixCls:S}),r.createElement(P,Object.assign({},k,g,{style:U,prefixCls:S,selectPrefixCls:H,className:V,selectComponentClass:u||(B?F:L),locale:T,showSizeChanger:A}))))}},35381:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d,xn:()=>u});var r=n(96540),o=n(46942),i=n.n(o),a=n(80427),s=n(27755),l=n(62279),c=n(92563);const u=e=>{const{hashId:t,prefixCls:n,className:o,style:l,placement:c="top",title:u,content:d,children:f}=e;return r.createElement("div",{className:i()(t,n,`${n}-pure`,`${n}-placement-${c}`,o),style:l},r.createElement("div",{className:`${n}-arrow`}),r.createElement(a.z,Object.assign({},e,{className:t,prefixCls:n}),f||((e,t,n)=>t||n?r.createElement(r.Fragment,null,t&&r.createElement("div",{className:`${e}-title`},(0,s.b)(t)),r.createElement("div",{className:`${e}-inner-content`},(0,s.b)(n))):null)(n,u,d)))},d=e=>{const{prefixCls:t,className:n}=e,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","className"]),{getPrefixCls:a}=r.useContext(l.QO),s=a("popover",t),[d,f,h]=(0,c.A)(s);return d(r.createElement(u,Object.assign({},o,{prefixCls:s,hashId:f,className:i()(n,h)})))}},28073:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(96540),o=n(46942),i=n.n(o),a=n(80516),s=n(4067),l=n(27755),c=n(23723),u=n(40682),d=n(62279),f=n(37977),h=n(35381),p=n(92563);const m=e=>{let{title:t,content:n,prefixCls:o}=e;return r.createElement(r.Fragment,null,t&&r.createElement("div",{className:`${o}-title`},(0,l.b)(t)),r.createElement("div",{className:`${o}-inner-content`},(0,l.b)(n)))},v=r.forwardRef(((e,t)=>{var n,o;const{prefixCls:l,title:h,content:v,overlayClassName:g,placement:y="top",trigger:b="hover",children:w,mouseEnterDelay:E=.1,mouseLeaveDelay:x=.1,onOpenChange:S,overlayStyle:_={}}=e,O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:C}=r.useContext(d.QO),A=C("popover",l),[k,M,T]=(0,p.A)(A),P=C(),I=i()(g,M,T),[j,z]=(0,a.A)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),D=(e,t)=>{z(e,!0),null==S||S(e,t)};return k(r.createElement(f.A,Object.assign({placement:y,trigger:b,mouseEnterDelay:E,mouseLeaveDelay:x,overlayStyle:_},O,{prefixCls:A,overlayClassName:I,ref:t,open:j,onOpenChange:e=>{D(e)},overlay:h||v?r.createElement(m,{prefixCls:A,title:h,content:v}):null,transitionName:(0,c.b)(P,"zoom-big",O.transitionName),"data-popover-inject":!0}),(0,u.Ob)(w,{onKeyDown:e=>{var t,n;r.isValidElement(w)&&(null===(n=null==w?void 0:(t=w.props).onKeyDown)||void 0===n||n.call(t,e)),(e=>{e.keyCode===s.A.ESC&&D(!1,e)})(e)}})))}));v._InternalPanelDoNotUseOrYouWillBeFired=h.Ay;const g=v},92563:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(25905),o=n(99077),i=n(95201),a=n(20791),s=n(13950),l=n(69028),c=n(80336);const u=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:o,fontWeightStrong:a,innerPadding:s,boxShadowSecondary:l,colorTextHeading:c,borderRadiusLG:u,zIndexPopup:d,titleMarginBottom:f,colorBgElevated:h,popoverBg:p,titleBorderBottom:m,innerContentPadding:v,titlePadding:g}=e;return[{[t]:Object.assign(Object.assign({},(0,r.dF)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:d,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":h,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:p,backgroundClip:"padding-box",borderRadius:u,boxShadow:l,padding:s},[`${t}-title`]:{minWidth:o,marginBottom:f,color:c,fontWeight:a,borderBottom:m,padding:g},[`${t}-inner-content`]:{color:n,padding:v}})},(0,i.Ay)(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},d=e=>{const{componentCls:t}=e;return{[t]:s.s.map((n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}}))}},f=(0,l.OF)("Popover",(e=>{const{colorBgElevated:t,colorText:n}=e,r=(0,c.h1)(e,{popoverBg:t,popoverColor:n});return[u(r),d(r),(0,o.aB)(r,"zoom-big")]}),(e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:o,wireframe:s,zIndexPopupBase:l,borderRadiusLG:c,marginXS:u,lineType:d,colorSplit:f,paddingSM:h}=e,p=n-r,m=p/2,v=p/2-t,g=o;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:l+30},(0,a.n)(e)),(0,i.Ke)({contentRadius:c,limitVerticalRadius:!0})),{innerPadding:s?0:12,titleMarginBottom:s?0:u,titlePadding:s?`${m}px ${g}px ${v}px`:0,titleBorderBottom:s?`${t}px ${d} ${f}`:"none",innerContentPadding:s?`${h}px ${g}px`:0})}),{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},81392:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(96540),o=n(46942),i=n.n(o),a=n(58168),s=n(5544),l=n(80045),c=n(64467),u=n(89379),d=n(82284),f=n(12533),h=n(8719),p=n(19853),m=n(57557),v=n(30981),g=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},y=function(e){return void 0!==e?"".concat(e,"px"):void 0};function b(e){var t=e.prefixCls,n=e.containerRef,o=e.value,a=e.getValueIndex,l=e.motionName,c=e.onMotionStart,d=e.onMotionEnd,f=e.direction,p=r.useRef(null),b=r.useState(o),w=(0,s.A)(b,2),E=w[0],x=w[1],S=function(e){var r,o=a(e),i=null===(r=n.current)||void 0===r?void 0:r.querySelectorAll(".".concat(t,"-item"))[o];return(null==i?void 0:i.offsetParent)&&i},_=r.useState(null),O=(0,s.A)(_,2),C=O[0],A=O[1],k=r.useState(null),M=(0,s.A)(k,2),T=M[0],P=M[1];(0,v.A)((function(){if(E!==o){var e=S(E),t=S(o),n=g(e),r=g(t);x(o),A(n),P(r),e&&t?c():d()}}),[o]);var I=r.useMemo((function(){return y("rtl"===f?-(null==C?void 0:C.right):null==C?void 0:C.left)}),[f,C]),j=r.useMemo((function(){return y("rtl"===f?-(null==T?void 0:T.right):null==T?void 0:T.left)}),[f,T]);return C&&T?r.createElement(m.Ay,{visible:!0,motionName:l,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){A(null),P(null),d()}},(function(e,n){var o=e.className,a=e.style,s=(0,u.A)((0,u.A)({},a),{},{"--thumb-start-left":I,"--thumb-start-width":y(null==C?void 0:C.width),"--thumb-active-left":j,"--thumb-active-width":y(null==T?void 0:T.width)}),l={ref:(0,h.K4)(p,n),style:s,className:i()("".concat(t,"-thumb"),o)};return r.createElement("div",l)})):null}var w=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"];var E=function(e){var t=e.prefixCls,n=e.className,o=e.disabled,a=e.checked,s=e.label,l=e.title,u=e.value,d=e.onChange;return r.createElement("label",{className:i()(n,(0,c.A)({},"".concat(t,"-item-disabled"),o))},r.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:o,checked:a,onChange:function(e){o||d(e,u)}}),r.createElement("div",{className:"".concat(t,"-item-label"),title:l},s))};const x=r.forwardRef((function(e,t){var n,o,m=e.prefixCls,v=void 0===m?"rc-segmented":m,g=e.direction,y=e.options,x=void 0===y?[]:y,S=e.disabled,_=e.defaultValue,O=e.value,C=e.onChange,A=e.className,k=void 0===A?"":A,M=e.motionName,T=void 0===M?"thumb-motion":M,P=(0,l.A)(e,w),I=r.useRef(null),j=r.useMemo((function(){return(0,h.K4)(I,t)}),[I,t]),z=r.useMemo((function(){return function(e){return e.map((function(e){if("object"===(0,d.A)(e)&&null!==e){var t=function(e){return void 0!==e.title?e.title:"object"!==(0,d.A)(e.label)?null===(t=e.label)||void 0===t?void 0:t.toString():void 0;var t}(e);return(0,u.A)((0,u.A)({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}}))}(x)}),[x]),D=(0,f.A)(null===(n=z[0])||void 0===n?void 0:n.value,{value:O,defaultValue:_}),R=(0,s.A)(D,2),N=R[0],$=R[1],F=r.useState(!1),L=(0,s.A)(F,2),B=L[0],H=L[1],V=function(e,t){S||($(t),null==C||C(t))},U=(0,p.A)(P,["children"]);return r.createElement("div",(0,a.A)({},U,{className:i()(v,(o={},(0,c.A)(o,"".concat(v,"-rtl"),"rtl"===g),(0,c.A)(o,"".concat(v,"-disabled"),S),o),k),ref:j}),r.createElement("div",{className:"".concat(v,"-group")},r.createElement(b,{prefixCls:v,value:N,containerRef:I,motionName:"".concat(v,"-").concat(T),direction:g,getValueIndex:function(e){return z.findIndex((function(t){return t.value===e}))},onMotionStart:function(){H(!0)},onMotionEnd:function(){H(!1)}}),z.map((function(e){return r.createElement(E,(0,a.A)({},e,{key:e.value,prefixCls:v,className:i()(e.className,"".concat(v,"-item"),(0,c.A)({},"".concat(v,"-item-selected"),e.value===N&&!B)),checked:e.value===N,onChange:V,disabled:!!S||!!e.disabled}))}))))}));var S=n(62279),_=n(829),O=n(21880),C=n(25905),A=n(69028),k=n(80336);function M(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function T(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}const P=Object.assign({overflow:"hidden"},C.L9),I=e=>{const{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),r=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,C.dF)(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},T(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:(0,O.zA)(n),padding:`0 ${(0,O.zA)(e.segmentedPaddingHorizontal)}`},P),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},T(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${(0,O.zA)(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:r,lineHeight:(0,O.zA)(r),padding:`0 ${(0,O.zA)(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:o,lineHeight:(0,O.zA)(o),padding:`0 ${(0,O.zA)(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),M(`&-disabled ${t}-item`,e)),M(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},j=(0,A.OF)("Segmented",(e=>{const{lineWidth:t,calc:n}=e,r=(0,k.h1)(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()});return[I(r)]}),(e=>{const{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:o,colorFill:i,lineWidthBold:a,colorBgLayout:s}=e;return{trackPadding:a,trackBg:s,itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:o,itemActiveBg:i,itemSelectedColor:n}}));var z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const D=r.forwardRef(((e,t)=>{const{prefixCls:n,className:o,rootClassName:a,block:s,options:l=[],size:c="middle",style:u}=e,d=z(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:f,direction:h,segmented:p}=r.useContext(S.QO),m=f("segmented",n),[v,g,y]=j(m),b=(0,_.A)(c),w=r.useMemo((()=>l.map((e=>{if(function(e){return"object"==typeof e&&!!(null==e?void 0:e.icon)}(e)){const{icon:t,label:n}=e,o=z(e,["icon","label"]);return Object.assign(Object.assign({},o),{label:r.createElement(r.Fragment,null,r.createElement("span",{className:`${m}-item-icon`},t),n&&r.createElement("span",null,n))})}return e}))),[l,m]),E=i()(o,a,null==p?void 0:p.className,{[`${m}-block`]:s,[`${m}-sm`]:"small"===b,[`${m}-lg`]:"large"===b},g,y),O=Object.assign(Object.assign({},null==p?void 0:p.style),u);return v(r.createElement(x,Object.assign({},d,{className:E,style:O,options:w,ref:t,prefixCls:m,direction:h})))})),R=D},98461:(e,t,n)=>{"use strict";n.d(t,{A:()=>Ut});var r=n(96540),o=n(46942),i=n.n(o),a=n(58168),s=n(60436),l=n(64467),c=n(89379),u=n(5544),d=n(80045),f=n(82284),h=n(12533),p=n(68210),m=n(30981),v=n(68430),g=n(16928),y=n(8719);const b=function(e){var t=e.className,n=e.customizeIcon,o=e.customizeIconProps,a=e.children,s=e.onMouseDown,l=e.onClick,c="function"==typeof n?n(o):n;return r.createElement("span",{className:t,onMouseDown:function(e){e.preventDefault(),null==s||s(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==c?c:r.createElement("span",{className:i()(t.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},a))};var w=r.createContext(null);function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=r.useRef(null),n=r.useRef(null);return r.useEffect((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},function(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}]}var x=n(72065),S=n(99591),_=function(e,t){var n,o=e.prefixCls,a=e.id,s=e.inputElement,l=e.disabled,u=e.tabIndex,d=e.autoFocus,f=e.autoComplete,h=e.editable,m=e.activeDescendantId,v=e.value,g=e.maxLength,b=e.onKeyDown,w=e.onMouseDown,E=e.onChange,x=e.onPaste,S=e.onCompositionStart,_=e.onCompositionEnd,O=e.open,C=e.attrs,A=s||r.createElement("input",null),k=A,M=k.ref,T=k.props,P=T.onKeyDown,I=T.onChange,j=T.onMouseDown,z=T.onCompositionStart,D=T.onCompositionEnd,R=T.style;return(0,p.$e)(!("maxLength"in A.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),r.cloneElement(A,(0,c.A)((0,c.A)((0,c.A)({type:"search"},T),{},{id:a,ref:(0,y.K4)(t,M),disabled:l,tabIndex:u,autoComplete:f||"off",autoFocus:d,className:i()("".concat(o,"-selection-search-input"),null===(n=A)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.className),role:"combobox","aria-expanded":O||!1,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":O?m:void 0},C),{},{value:h?v:"",maxLength:g,readOnly:!h,unselectable:h?null:"on",style:(0,c.A)((0,c.A)({},R),{},{opacity:h?null:0}),onKeyDown:function(e){b(e),P&&P(e)},onMouseDown:function(e){w(e),j&&j(e)},onChange:function(e){E(e),I&&I(e)},onCompositionStart:function(e){S(e),z&&z(e)},onCompositionEnd:function(e){_(e),D&&D(e)},onPaste:x}))};const O=r.forwardRef(_);function C(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}var A="undefined"!=typeof window&&window.document&&window.document.documentElement;function k(e){return["string","number"].includes((0,f.A)(e))}function M(e){var t=void 0;return e&&(k(e.title)?t=e.title.toString():k(e.label)&&(t=e.label.toString())),t}function T(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var P=function(e){e.preventDefault(),e.stopPropagation()};const I=function(e){var t,n,o=e.id,a=e.prefixCls,s=e.values,c=e.open,d=e.searchValue,f=e.autoClearSearchValue,h=e.inputRef,p=e.placeholder,m=e.disabled,v=e.mode,g=e.showSearch,y=e.autoFocus,w=e.autoComplete,E=e.activeDescendantId,_=e.tabIndex,C=e.removeIcon,k=e.maxTagCount,I=e.maxTagTextLength,j=e.maxTagPlaceholder,z=void 0===j?function(e){return"+ ".concat(e.length," ...")}:j,D=e.tagRender,R=e.onToggleOpen,N=e.onRemove,$=e.onInputChange,F=e.onInputPaste,L=e.onInputKeyDown,B=e.onInputMouseDown,H=e.onInputCompositionStart,V=e.onInputCompositionEnd,U=r.useRef(null),W=(0,r.useState)(0),q=(0,u.A)(W,2),K=q[0],G=q[1],X=(0,r.useState)(!1),Y=(0,u.A)(X,2),Z=Y[0],J=Y[1],Q="".concat(a,"-selection"),ee=c||"multiple"===v&&!1===f||"tags"===v?d:"",te="tags"===v||"multiple"===v&&!1===f||g&&(c||Z);t=function(){G(U.current.scrollWidth)},n=[ee],A?r.useLayoutEffect(t,n):r.useEffect(t,n);var ne=function(e,t,n,o,a){return r.createElement("span",{title:M(e),className:i()("".concat(Q,"-item"),(0,l.A)({},"".concat(Q,"-item-disabled"),n))},r.createElement("span",{className:"".concat(Q,"-item-content")},t),o&&r.createElement(b,{className:"".concat(Q,"-item-remove"),onMouseDown:P,onClick:a,customizeIcon:C},"×"))},re=function(e,t,n,o,i,a){return r.createElement("span",{onMouseDown:function(e){P(e),R(!c)}},D({label:t,value:e,disabled:n,closable:o,onClose:i,isMaxTag:!!a}))},oe=r.createElement("div",{className:"".concat(Q,"-search"),style:{width:K},onFocus:function(){J(!0)},onBlur:function(){J(!1)}},r.createElement(O,{ref:h,open:c,prefixCls:a,id:o,inputElement:null,disabled:m,autoFocus:y,autoComplete:w,editable:te,activeDescendantId:E,value:ee,onKeyDown:L,onMouseDown:B,onChange:$,onPaste:F,onCompositionStart:H,onCompositionEnd:V,tabIndex:_,attrs:(0,x.A)(e,!0)}),r.createElement("span",{ref:U,className:"".concat(Q,"-search-mirror"),"aria-hidden":!0},ee," ")),ie=r.createElement(S.A,{prefixCls:"".concat(Q,"-overflow"),data:s,renderItem:function(e){var t=e.disabled,n=e.label,r=e.value,o=!m&&!t,i=n;if("number"==typeof I&&("string"==typeof n||"number"==typeof n)){var a=String(i);a.length>I&&(i="".concat(a.slice(0,I),"..."))}var s=function(t){t&&t.stopPropagation(),N(e)};return"function"==typeof D?re(r,i,t,o,s):ne(e,i,t,o,s)},renderRest:function(e){var t="function"==typeof z?z(e):z;return"function"==typeof D?re(void 0,t,!1,!1,void 0,!0):ne({title:t},t,!1)},suffix:oe,itemKey:T,maxCount:k});return r.createElement(r.Fragment,null,ie,!s.length&&!ee&&r.createElement("span",{className:"".concat(Q,"-placeholder")},p))},j=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,i=e.inputRef,a=e.disabled,s=e.autoFocus,l=e.autoComplete,c=e.activeDescendantId,d=e.mode,f=e.open,h=e.values,p=e.placeholder,m=e.tabIndex,v=e.showSearch,g=e.searchValue,y=e.activeValue,b=e.maxLength,w=e.onInputKeyDown,E=e.onInputMouseDown,S=e.onInputChange,_=e.onInputPaste,C=e.onInputCompositionStart,A=e.onInputCompositionEnd,k=e.title,T=r.useState(!1),P=(0,u.A)(T,2),I=P[0],j=P[1],z="combobox"===d,D=z||v,R=h[0],N=g||"";z&&y&&!I&&(N=y),r.useEffect((function(){z&&j(!1)}),[z,y]);var $=!("combobox"!==d&&!f&&!v||!N),F=void 0===k?M(R):k,L=r.useMemo((function(){return R?null:r.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:$?{visibility:"hidden"}:void 0},p)}),[R,$,p,n]);return r.createElement(r.Fragment,null,r.createElement("span",{className:"".concat(n,"-selection-search")},r.createElement(O,{ref:i,prefixCls:n,id:o,open:f,inputElement:t,disabled:a,autoFocus:s,autoComplete:l,editable:D,activeDescendantId:c,value:N,onKeyDown:w,onMouseDown:E,onChange:function(e){j(!0),S(e)},onPaste:_,onCompositionStart:C,onCompositionEnd:A,tabIndex:m,attrs:(0,x.A)(e,!0),maxLength:z?b:void 0})),!z&&R?r.createElement("span",{className:"".concat(n,"-selection-item"),title:F,style:$?{visibility:"hidden"}:void 0},R.label):null,L)};var z=function(e,t){var n=(0,r.useRef)(null),o=(0,r.useRef)(!1),i=e.prefixCls,s=e.open,l=e.mode,c=e.showSearch,d=e.tokenWithEnter,f=e.disabled,h=e.autoClearSearchValue,p=e.onSearch,m=e.onSearchSubmit,v=e.onToggleOpen,y=e.onInputKeyDown,b=e.domRef;r.useImperativeHandle(t,(function(){return{focus:function(e){n.current.focus(e)},blur:function(){n.current.blur()}}}));var w=E(0),x=(0,u.A)(w,2),S=x[0],_=x[1],O=(0,r.useRef)(null),C=function(e){!1!==p(e,!0,o.current)&&v(!0)},A={inputRef:n,onInputKeyDown:function(e){var t,n=e.which;n!==g.A.UP&&n!==g.A.DOWN||e.preventDefault(),y&&y(e),n!==g.A.ENTER||"tags"!==l||o.current||s||null==m||m(e.target.value),t=n,[g.A.ESC,g.A.SHIFT,g.A.BACKSPACE,g.A.TAB,g.A.WIN_KEY,g.A.ALT,g.A.META,g.A.WIN_KEY_RIGHT,g.A.CTRL,g.A.SEMICOLON,g.A.EQUALS,g.A.CAPS_LOCK,g.A.CONTEXT_MENU,g.A.F1,g.A.F2,g.A.F3,g.A.F4,g.A.F5,g.A.F6,g.A.F7,g.A.F8,g.A.F9,g.A.F10,g.A.F11,g.A.F12].includes(t)||v(!0)},onInputMouseDown:function(){_(!0)},onInputChange:function(e){var t=e.target.value;if(d&&O.current&&/[\r\n]/.test(O.current)){var n=O.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,O.current)}O.current=null,C(t)},onInputPaste:function(e){var t=e.clipboardData,n=null==t?void 0:t.getData("text");O.current=n||""},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==l&&C(e.target.value)}},k="multiple"===l||"tags"===l?r.createElement(I,(0,a.A)({},e,A)):r.createElement(j,(0,a.A)({},e,A));return r.createElement("div",{ref:b,className:"".concat(i,"-selector"),onClick:function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){n.current.focus()})):n.current.focus())},onMouseDown:function(e){var t=S();e.target===n.current||t||"combobox"===l&&f||e.preventDefault(),("combobox"===l||c&&t)&&s||(s&&!1!==h&&p("",!0,!1),v())}},k)};const D=r.forwardRef(z);var R=n(45062),N=n(18462),$=n(66588),F=n(72633),L=n(26956),B=n(56855),H=n(57557);function V(e){var t=e.prefixCls,n=e.align,o=e.arrow,a=e.arrowPos,s=o||{},l=s.className,c=s.content,u=a.x,d=void 0===u?0:u,f=a.y,h=void 0===f?0:f,p=r.useRef();if(!n||!n.points)return null;var m={position:"absolute"};if(!1!==n.autoArrow){var v=n.points[0],g=n.points[1],y=v[0],b=v[1],w=g[0],E=g[1];y!==w&&["t","b"].includes(y)?"t"===y?m.top=0:m.bottom=0:m.top=h,b!==E&&["l","r"].includes(b)?"l"===b?m.left=0:m.right=0:m.left=d}return r.createElement("div",{ref:p,className:i()("".concat(t,"-arrow"),l),style:m},c)}function U(e){var t=e.prefixCls,n=e.open,o=e.zIndex,s=e.mask,l=e.motion;return s?r.createElement(H.Ay,(0,a.A)({},l,{motionAppear:!0,visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return r.createElement("div",{style:{zIndex:o},className:i()("".concat(t,"-mask"),n)})})):null}const W=r.memo((function(e){return e.children}),(function(e,t){return t.cache}));var q=r.forwardRef((function(e,t){var n=e.popup,o=e.className,s=e.prefixCls,l=e.style,d=e.target,f=e.onVisibleChanged,h=e.open,p=e.keepDom,v=e.fresh,g=e.onClick,b=e.mask,w=e.arrow,E=e.arrowPos,x=e.align,S=e.motion,_=e.maskMotion,O=e.forceRender,C=e.getPopupContainer,A=e.autoDestroy,k=e.portal,M=e.zIndex,T=e.onMouseEnter,P=e.onMouseLeave,I=e.onPointerEnter,j=e.ready,z=e.offsetX,D=e.offsetY,R=e.offsetR,$=e.offsetB,F=e.onAlign,L=e.onPrepare,B=e.stretch,q=e.targetWidth,K=e.targetHeight,G="function"==typeof n?n():n,X=h||p,Y=(null==C?void 0:C.length)>0,Z=r.useState(!C||!Y),J=(0,u.A)(Z,2),Q=J[0],ee=J[1];if((0,m.A)((function(){!Q&&Y&&d&&ee(!0)}),[Q,Y,d]),!Q)return null;var te="auto",ne={left:"-1000vw",top:"-1000vh",right:te,bottom:te};if(j||!h){var re,oe=x.points,ie=x.dynamicInset||(null===(re=x._experimental)||void 0===re?void 0:re.dynamicInset),ae=ie&&"r"===oe[0][1],se=ie&&"b"===oe[0][0];ae?(ne.right=R,ne.left=te):(ne.left=z,ne.right=te),se?(ne.bottom=$,ne.top=te):(ne.top=D,ne.bottom=te)}var le={};return B&&(B.includes("height")&&K?le.height=K:B.includes("minHeight")&&K&&(le.minHeight=K),B.includes("width")&&q?le.width=q:B.includes("minWidth")&&q&&(le.minWidth=q)),h||(le.pointerEvents="none"),r.createElement(k,{open:O||X,getContainer:C&&function(){return C(d)},autoDestroy:A},r.createElement(U,{prefixCls:s,open:h,zIndex:M,mask:b,motion:_}),r.createElement(N.A,{onResize:F,disabled:!h},(function(e){return r.createElement(H.Ay,(0,a.A)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:O,leavedClassName:"".concat(s,"-hidden")},S,{onAppearPrepare:L,onEnterPrepare:L,visible:h,onVisibleChanged:function(e){var t;null==S||null===(t=S.onVisibleChanged)||void 0===t||t.call(S,e),f(e)}}),(function(n,a){var u=n.className,d=n.style,f=i()(s,u,o);return r.createElement("div",{ref:(0,y.K4)(e,t,a),className:f,style:(0,c.A)((0,c.A)((0,c.A)((0,c.A)({"--arrow-x":"".concat(E.x||0,"px"),"--arrow-y":"".concat(E.y||0,"px")},ne),le),d),{},{boxSizing:"border-box",zIndex:M},l),onMouseEnter:T,onMouseLeave:P,onPointerEnter:I,onClick:g},w&&r.createElement(V,{prefixCls:s,arrow:w,arrowPos:E,align:x}),r.createElement(W,{cache:!h&&!v},G))}))})))}));const K=q,G=r.forwardRef((function(e,t){var n=e.children,o=e.getTriggerDOMNode,i=(0,y.f3)(n),a=r.useCallback((function(e){(0,y.Xf)(t,o?o(e):e)}),[o]),s=(0,y.xK)(a,n.ref);return i?r.cloneElement(n,{ref:s}):n})),X=r.createContext(null);function Y(e){return e?Array.isArray(e)?e:[e]:[]}var Z=n(42467);function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function Q(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function ee(e){return e.ownerDocument.defaultView}function te(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=ee(n).getComputedStyle(n);[o.overflowX,o.overflowY,o.overflow].some((function(e){return r.includes(e)}))&&t.push(n),n=n.parentElement}return t}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function re(e){return ne(parseFloat(e),0)}function oe(e,t){var n=(0,c.A)({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=ee(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,l=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,f=e.offsetWidth,h=e.clientWidth,p=re(i),m=re(a),v=re(s),g=re(l),y=ne(Math.round(c.width/f*1e3)/1e3),b=ne(Math.round(c.height/u*1e3)/1e3),w=(f-h-v-g)*y,E=(u-d-p-m)*b,x=p*b,S=m*b,_=v*y,O=g*y,C=0,A=0;if("clip"===r){var k=re(o);C=k*y,A=k*b}var M=c.x+_-C,T=c.y+x-A,P=M+c.width+2*C-_-O-w,I=T+c.height+2*A-x-S-E;n.left=Math.max(n.left,M),n.top=Math.max(n.top,T),n.right=Math.min(n.right,P),n.bottom=Math.min(n.bottom,I)}})),n}function ie(e){var t="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function ae(e,t){var n=t||[],r=(0,u.A)(n,2),o=r[0],i=r[1];return[ie(e.width,o),ie(e.height,i)]}function se(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function le(e,t){var n,r=t[0],o=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:n}}function ce(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}var ue=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const de=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:R.A,t=r.forwardRef((function(t,n){var o=t.prefixCls,a=void 0===o?"rc-trigger-popup":o,l=t.children,f=t.action,h=void 0===f?"hover":f,p=t.showAction,g=t.hideAction,y=t.popupVisible,b=t.defaultPopupVisible,w=t.onPopupVisibleChange,E=t.afterPopupVisibleChange,x=t.mouseEnterDelay,S=t.mouseLeaveDelay,_=void 0===S?.1:S,O=t.focusDelay,C=t.blurDelay,A=t.mask,k=t.maskClosable,M=void 0===k||k,T=t.getPopupContainer,P=t.forceRender,I=t.autoDestroy,j=t.destroyPopupOnHide,z=t.popup,D=t.popupClassName,R=t.popupStyle,H=t.popupPlacement,V=t.builtinPlacements,U=void 0===V?{}:V,W=t.popupAlign,q=t.zIndex,re=t.stretch,ie=t.getPopupClassNameFromAlign,de=t.fresh,fe=t.alignPoint,he=t.onPopupClick,pe=t.onPopupAlign,me=t.arrow,ve=t.popupMotion,ge=t.maskMotion,ye=t.popupTransitionName,be=t.popupAnimation,we=t.maskTransitionName,Ee=t.maskAnimation,xe=t.className,Se=t.getTriggerDOMNode,_e=(0,d.A)(t,ue),Oe=I||j||!1,Ce=r.useState(!1),Ae=(0,u.A)(Ce,2),ke=Ae[0],Me=Ae[1];(0,m.A)((function(){Me((0,v.A)())}),[]);var Te=r.useRef({}),Pe=r.useContext(X),Ie=r.useMemo((function(){return{registerSubPopup:function(e,t){Te.current[e]=t,null==Pe||Pe.registerSubPopup(e,t)}}}),[Pe]),je=(0,B.A)(),ze=r.useState(null),De=(0,u.A)(ze,2),Re=De[0],Ne=De[1],$e=r.useRef(null),Fe=(0,L.A)((function(e){$e.current=e,(0,$.f)(e)&&Re!==e&&Ne(e),null==Pe||Pe.registerSubPopup(je,e)})),Le=r.useState(null),Be=(0,u.A)(Le,2),He=Be[0],Ve=Be[1],Ue=r.useRef(null),We=(0,L.A)((function(e){(0,$.f)(e)&&He!==e&&(Ve(e),Ue.current=e)})),qe=r.Children.only(l),Ke=(null==qe?void 0:qe.props)||{},Ge={},Xe=(0,L.A)((function(e){var t,n,r=He;return(null==r?void 0:r.contains(e))||(null===(t=(0,F.j)(r))||void 0===t?void 0:t.host)===e||e===r||(null==Re?void 0:Re.contains(e))||(null===(n=(0,F.j)(Re))||void 0===n?void 0:n.host)===e||e===Re||Object.values(Te.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),Ye=Q(a,ve,be,ye),Ze=Q(a,ge,Ee,we),Je=r.useState(b||!1),Qe=(0,u.A)(Je,2),et=Qe[0],tt=Qe[1],nt=null!=y?y:et,rt=(0,L.A)((function(e){void 0===y&&tt(e)}));(0,m.A)((function(){tt(y||!1)}),[y]);var ot=r.useRef(nt);ot.current=nt;var it=r.useRef([]);it.current=[];var at=(0,L.A)((function(e){var t;rt(e),(null!==(t=it.current[it.current.length-1])&&void 0!==t?t:nt)!==e&&(it.current.push(e),null==w||w(e))})),st=r.useRef(),lt=function(){clearTimeout(st.current)},ct=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;lt(),0===t?at(e):st.current=setTimeout((function(){at(e)}),1e3*t)};r.useEffect((function(){return lt}),[]);var ut=r.useState(!1),dt=(0,u.A)(ut,2),ft=dt[0],ht=dt[1];(0,m.A)((function(e){e&&!nt||ht(!0)}),[nt]);var pt=r.useState(null),mt=(0,u.A)(pt,2),vt=mt[0],gt=mt[1],yt=r.useState([0,0]),bt=(0,u.A)(yt,2),wt=bt[0],Et=bt[1],xt=function(e){Et([e.clientX,e.clientY])},St=function(e,t,n,o,i,a,s){var l=r.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[o]||{}}),d=(0,u.A)(l,2),f=d[0],h=d[1],p=r.useRef(0),v=r.useMemo((function(){return t?te(t):[]}),[t]),g=r.useRef({});e||(g.current={});var y=(0,L.A)((function(){if(t&&n&&e){var r,l,d,f=t,p=f.ownerDocument,m=ee(f).getComputedStyle(f),y=m.width,b=m.height,w=m.position,E=f.style.left,x=f.style.top,S=f.style.right,_=f.style.bottom,O=f.style.overflow,C=(0,c.A)((0,c.A)({},i[o]),a),A=p.createElement("div");if(null===(r=f.parentElement)||void 0===r||r.appendChild(A),A.style.left="".concat(f.offsetLeft,"px"),A.style.top="".concat(f.offsetTop,"px"),A.style.position=w,A.style.height="".concat(f.offsetHeight,"px"),A.style.width="".concat(f.offsetWidth,"px"),f.style.left="0",f.style.top="0",f.style.right="auto",f.style.bottom="auto",f.style.overflow="hidden",Array.isArray(n))d={x:n[0],y:n[1],width:0,height:0};else{var k=n.getBoundingClientRect();d={x:k.x,y:k.y,width:k.width,height:k.height}}var M=f.getBoundingClientRect(),T=p.documentElement,P=T.clientWidth,I=T.clientHeight,j=T.scrollWidth,z=T.scrollHeight,D=T.scrollTop,R=T.scrollLeft,N=M.height,F=M.width,L=d.height,B=d.width,H={left:0,top:0,right:P,bottom:I},V={left:-R,top:-D,right:j-R,bottom:z-D},U=C.htmlRegion,W="visible",q="visibleFirst";"scroll"!==U&&U!==q&&(U=W);var K=U===q,G=oe(V,v),X=oe(H,v),Y=U===W?X:G,J=K?X:Y;f.style.left="auto",f.style.top="auto",f.style.right="0",f.style.bottom="0";var Q=f.getBoundingClientRect();f.style.left=E,f.style.top=x,f.style.right=S,f.style.bottom=_,f.style.overflow=O,null===(l=f.parentElement)||void 0===l||l.removeChild(A);var te=ne(Math.round(F/parseFloat(y)*1e3)/1e3),re=ne(Math.round(N/parseFloat(b)*1e3)/1e3);if(0===te||0===re||(0,$.f)(n)&&!(0,Z.A)(n))return;var ie=C.offset,ue=C.targetOffset,de=ae(M,ie),fe=(0,u.A)(de,2),he=fe[0],pe=fe[1],me=ae(d,ue),ve=(0,u.A)(me,2),ge=ve[0],ye=ve[1];d.x-=ge,d.y-=ye;var be=C.points||[],we=(0,u.A)(be,2),Ee=we[0],xe=se(we[1]),Se=se(Ee),_e=le(d,xe),Oe=le(M,Se),Ce=(0,c.A)({},C),Ae=_e.x-Oe.x+he,ke=_e.y-Oe.y+pe;function Et(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Y,r=M.x+e,o=M.y+t,i=r+F,a=o+N,s=Math.max(r,n.left),l=Math.max(o,n.top),c=Math.min(i,n.right),u=Math.min(a,n.bottom);return Math.max(0,(c-s)*(u-l))}var Me,Te,Pe,Ie,je=Et(Ae,ke),ze=Et(Ae,ke,X),De=le(d,["t","l"]),Re=le(M,["t","l"]),Ne=le(d,["b","r"]),$e=le(M,["b","r"]),Fe=C.overflow||{},Le=Fe.adjustX,Be=Fe.adjustY,He=Fe.shiftX,Ve=Fe.shiftY,Ue=function(e){return"boolean"==typeof e?e:e>=0};function xt(){Me=M.y+ke,Te=Me+N,Pe=M.x+Ae,Ie=Pe+F}xt();var We=Ue(Be),qe=Se[0]===xe[0];if(We&&"t"===Se[0]&&(Te>J.bottom||g.current.bt)){var Ke=ke;qe?Ke-=N-L:Ke=De.y-$e.y-pe;var Ge=Et(Ae,Ke),Xe=Et(Ae,Ke,X);Ge>je||Ge===je&&(!K||Xe>=ze)?(g.current.bt=!0,ke=Ke,pe=-pe,Ce.points=[ce(Se,0),ce(xe,0)]):g.current.bt=!1}if(We&&"b"===Se[0]&&(Me<J.top||g.current.tb)){var Ye=ke;qe?Ye+=N-L:Ye=Ne.y-Re.y-pe;var Ze=Et(Ae,Ye),Je=Et(Ae,Ye,X);Ze>je||Ze===je&&(!K||Je>=ze)?(g.current.tb=!0,ke=Ye,pe=-pe,Ce.points=[ce(Se,0),ce(xe,0)]):g.current.tb=!1}var Qe=Ue(Le),et=Se[1]===xe[1];if(Qe&&"l"===Se[1]&&(Ie>J.right||g.current.rl)){var tt=Ae;et?tt-=F-B:tt=De.x-$e.x-he;var nt=Et(tt,ke),rt=Et(tt,ke,X);nt>je||nt===je&&(!K||rt>=ze)?(g.current.rl=!0,Ae=tt,he=-he,Ce.points=[ce(Se,1),ce(xe,1)]):g.current.rl=!1}if(Qe&&"r"===Se[1]&&(Pe<J.left||g.current.lr)){var ot=Ae;et?ot+=F-B:ot=Ne.x-Re.x-he;var it=Et(ot,ke),at=Et(ot,ke,X);it>je||it===je&&(!K||at>=ze)?(g.current.lr=!0,Ae=ot,he=-he,Ce.points=[ce(Se,1),ce(xe,1)]):g.current.lr=!1}xt();var st=!0===He?0:He;"number"==typeof st&&(Pe<X.left&&(Ae-=Pe-X.left-he,d.x+B<X.left+st&&(Ae+=d.x-X.left+B-st)),Ie>X.right&&(Ae-=Ie-X.right-he,d.x>X.right-st&&(Ae+=d.x-X.right+st)));var lt=!0===Ve?0:Ve;"number"==typeof lt&&(Me<X.top&&(ke-=Me-X.top-pe,d.y+L<X.top+lt&&(ke+=d.y-X.top+L-lt)),Te>X.bottom&&(ke-=Te-X.bottom-pe,d.y>X.bottom-lt&&(ke+=d.y-X.bottom+lt)));var ct=M.x+Ae,ut=ct+F,dt=M.y+ke,ft=dt+N,ht=d.x,pt=ht+B,mt=d.y,vt=mt+L,gt=(Math.max(ct,ht)+Math.min(ut,pt))/2-ct,yt=(Math.max(dt,mt)+Math.min(ft,vt))/2-dt;null==s||s(t,Ce);var bt=Q.right-M.x-(Ae+M.width),wt=Q.bottom-M.y-(ke+M.height);1===te&&(Ae=Math.round(Ae),bt=Math.round(bt)),1===re&&(ke=Math.round(ke),wt=Math.round(wt)),h({ready:!0,offsetX:Ae/te,offsetY:ke/re,offsetR:bt/te,offsetB:wt/re,arrowX:gt/te,arrowY:yt/re,scaleX:te,scaleY:re,align:Ce})}})),b=function(){h((function(e){return(0,c.A)((0,c.A)({},e),{},{ready:!1})}))};return(0,m.A)(b,[o]),(0,m.A)((function(){e||b()}),[e]),[f.ready,f.offsetX,f.offsetY,f.offsetR,f.offsetB,f.arrowX,f.arrowY,f.scaleX,f.scaleY,f.align,function(){p.current+=1;var e=p.current;Promise.resolve().then((function(){p.current===e&&y()}))}]}(nt,Re,fe?wt:He,H,U,W,pe),_t=(0,u.A)(St,11),Ot=_t[0],Ct=_t[1],At=_t[2],kt=_t[3],Mt=_t[4],Tt=_t[5],Pt=_t[6],It=_t[7],jt=_t[8],zt=_t[9],Dt=_t[10],Rt=function(e,t,n,o){return r.useMemo((function(){var r=Y(null!=n?n:t),i=Y(null!=o?o:t),a=new Set(r),s=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[a,s]}),[e,t,n,o])}(ke,h,p,g),Nt=(0,u.A)(Rt,2),$t=Nt[0],Ft=Nt[1],Lt=$t.has("click"),Bt=Ft.has("click")||Ft.has("contextMenu"),Ht=(0,L.A)((function(){ft||Dt()}));!function(e,t,n,r,o){(0,m.A)((function(){if(e&&t&&n){var o=n,i=te(t),a=te(o),l=ee(o),c=new Set([l].concat((0,s.A)(i),(0,s.A)(a)));function u(){r(),ot.current&&fe&&Bt&&ct(!1)}return c.forEach((function(e){e.addEventListener("scroll",u,{passive:!0})})),l.addEventListener("resize",u,{passive:!0}),r(),function(){c.forEach((function(e){e.removeEventListener("scroll",u),l.removeEventListener("resize",u)}))}}}),[e,t,n])}(nt,He,Re,Ht),(0,m.A)((function(){Ht()}),[wt,H]),(0,m.A)((function(){!nt||null!=U&&U[H]||Ht()}),[JSON.stringify(W)]);var Vt=r.useMemo((function(){var e=function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a<i.length;a+=1){var s,l=i[a];if(J(null===(s=e[l])||void 0===s?void 0:s.points,o,r))return"".concat(t,"-placement-").concat(l)}return""}(U,a,zt,fe);return i()(e,null==ie?void 0:ie(zt))}),[zt,ie,U,a,fe]);r.useImperativeHandle(n,(function(){return{nativeElement:Ue.current,popupElement:$e.current,forceAlign:Ht}}));var Ut=r.useState(0),Wt=(0,u.A)(Ut,2),qt=Wt[0],Kt=Wt[1],Gt=r.useState(0),Xt=(0,u.A)(Gt,2),Yt=Xt[0],Zt=Xt[1],Jt=function(){if(re&&He){var e=He.getBoundingClientRect();Kt(e.width),Zt(e.height)}};function Qt(e,t,n,r){Ge[e]=function(o){var i;null==r||r(o),ct(t,n);for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];null===(i=Ke[e])||void 0===i||i.call.apply(i,[Ke,o].concat(s))}}(0,m.A)((function(){vt&&(Dt(),vt(),gt(null))}),[vt]),(Lt||Bt)&&(Ge.onClick=function(e){var t;ot.current&&Bt?ct(!1):!ot.current&&Lt&&(xt(e),ct(!0));for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null===(t=Ke.onClick)||void 0===t||t.call.apply(t,[Ke,e].concat(r))}),function(e,t,n,o,i,a,s,l){var c=r.useRef(e);c.current=e,r.useEffect((function(){if(t&&o&&(!i||a)){var e=function(e){var t=e.target;c.current&&!s(t)&&l(!1)},r=ee(o);r.addEventListener("mousedown",e,!0),r.addEventListener("contextmenu",e,!0);var u=(0,F.j)(n);return u&&(u.addEventListener("mousedown",e,!0),u.addEventListener("contextmenu",e,!0)),function(){r.removeEventListener("mousedown",e,!0),r.removeEventListener("contextmenu",e,!0),u&&(u.removeEventListener("mousedown",e,!0),u.removeEventListener("contextmenu",e,!0))}}}),[t,n,o,i,a])}(nt,Bt,He,Re,A,M,Xe,ct);var en,tn,nn=$t.has("hover"),rn=Ft.has("hover");nn&&(Qt("onMouseEnter",!0,x,(function(e){xt(e)})),Qt("onPointerEnter",!0,x,(function(e){xt(e)})),en=function(e){(nt||ft)&&null!=Re&&Re.contains(e.target)&&ct(!0,x)},fe&&(Ge.onMouseMove=function(e){var t;null===(t=Ke.onMouseMove)||void 0===t||t.call(Ke,e)})),rn&&(Qt("onMouseLeave",!1,_),Qt("onPointerLeave",!1,_),tn=function(){ct(!1,_)}),$t.has("focus")&&Qt("onFocus",!0,O),Ft.has("focus")&&Qt("onBlur",!1,C),$t.has("contextMenu")&&(Ge.onContextMenu=function(e){var t;ot.current&&Ft.has("contextMenu")?ct(!1):(xt(e),ct(!0)),e.preventDefault();for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null===(t=Ke.onContextMenu)||void 0===t||t.call.apply(t,[Ke,e].concat(r))}),xe&&(Ge.className=i()(Ke.className,xe));var on=(0,c.A)((0,c.A)({},Ke),Ge),an={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach((function(e){_e[e]&&(an[e]=function(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null===(t=on[e])||void 0===t||t.call.apply(t,[on].concat(r)),_e[e].apply(_e,r)})}));var sn=r.cloneElement(qe,(0,c.A)((0,c.A)({},on),an)),ln={x:Tt,y:Pt},cn=me?(0,c.A)({},!0!==me?me:{}):null;return r.createElement(r.Fragment,null,r.createElement(N.A,{disabled:!nt,ref:We,onResize:function(){Jt(),Ht()}},r.createElement(G,{getTriggerDOMNode:Se},sn)),r.createElement(X.Provider,{value:Ie},r.createElement(K,{portal:e,ref:Fe,prefixCls:a,popup:z,className:i()(D,Vt),style:R,target:He,onMouseEnter:en,onMouseLeave:tn,onPointerEnter:en,zIndex:q,open:nt,keepDom:ft,fresh:de,onClick:he,mask:A,motion:Ye,maskMotion:Ze,onVisibleChanged:function(e){ht(!1),Dt(),null==E||E(e)},onPrepare:function(){return new Promise((function(e){Jt(),gt((function(){return e}))}))},forceRender:P,autoDestroy:Oe,getPopupContainer:T,align:zt,arrow:cn,arrowPos:ln,ready:Ot,offsetX:Ct,offsetY:At,offsetR:kt,offsetB:Mt,onAlign:Ht,stretch:re,targetWidth:qt/It,targetHeight:Yt/jt})))}));return t}(R.A);var fe=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],he=function(e,t){var n=e.prefixCls,o=(e.disabled,e.visible),s=e.children,u=e.popupElement,f=e.animation,h=e.transitionName,p=e.dropdownStyle,m=e.dropdownClassName,v=e.direction,g=void 0===v?"ltr":v,y=e.placement,b=e.builtinPlacements,w=e.dropdownMatchSelectWidth,E=e.dropdownRender,x=e.dropdownAlign,S=e.getPopupContainer,_=e.empty,O=e.getTriggerDOMNode,C=e.onPopupVisibleChange,A=e.onPopupMouseEnter,k=(0,d.A)(e,fe),M="".concat(n,"-dropdown"),T=u;E&&(T=E(u));var P=r.useMemo((function(){return b||function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}}(w)}),[b,w]),I=f?"".concat(M,"-").concat(f):h,j="number"==typeof w,z=r.useMemo((function(){return j?null:!1===w?"minWidth":"width"}),[w,j]),D=p;j&&(D=(0,c.A)((0,c.A)({},D),{},{width:w}));var R=r.useRef(null);return r.useImperativeHandle(t,(function(){return{getPopupElement:function(){var e;return null===(e=R.current)||void 0===e?void 0:e.popupElement}}})),r.createElement(de,(0,a.A)({},k,{showAction:C?["click"]:[],hideAction:C?["click"]:[],popupPlacement:y||("rtl"===g?"bottomRight":"bottomLeft"),builtinPlacements:P,prefixCls:M,popupTransitionName:I,popup:r.createElement("div",{onMouseEnter:A},T),ref:R,stretch:z,popupAlign:x,popupVisible:o,getPopupContainer:S,popupClassName:i()(m,(0,l.A)({},"".concat(M,"-empty"),_)),popupStyle:D,getTriggerDOMNode:O,onPopupVisibleChange:C}),s)};const pe=r.forwardRef(he);var me=n(87695);function ve(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!=r?r:void 0!==n?n:"rc-index-key-".concat(t)}function ge(e){return void 0!==e&&!Number.isNaN(e)}function ye(e,t){var n=e||{},r=n.label||(t?"children":"label");return{label:r,value:n.value||"value",options:n.options||"options",groupLabel:n.groupLabel||r}}function be(e){var t=(0,c.A)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,p.Ay)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}const we=r.createContext(null);function Ee(e){var t=e.visible,n=e.values;return t?r.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,50).map((function(e){var t=e.label,n=e.value;return["number","string"].includes((0,f.A)(t))?t:n})).join(", ")),n.length>50?", ...":null):null}var xe=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Se=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],_e=function(e){return"tags"===e||"multiple"===e},Oe=r.forwardRef((function(e,t){var n,o=e.id,p=e.prefixCls,x=e.className,S=e.showSearch,_=e.tagRender,O=e.direction,C=e.omitDomProps,A=e.displayValues,k=e.onDisplayValuesChange,M=e.emptyOptions,T=e.notFoundContent,P=void 0===T?"Not Found":T,I=e.onClear,j=e.mode,z=e.disabled,R=e.loading,N=e.getInputElement,$=e.getRawInputElement,F=e.open,L=e.defaultOpen,B=e.onDropdownVisibleChange,H=e.activeValue,V=e.onActiveValueChange,U=e.activeDescendantId,W=e.searchValue,q=e.autoClearSearchValue,K=e.onSearch,G=e.onSearchSplit,X=e.tokenSeparators,Y=e.allowClear,Z=e.suffixIcon,J=e.clearIcon,Q=e.OptionList,ee=e.animation,te=e.transitionName,ne=e.dropdownStyle,re=e.dropdownClassName,oe=e.dropdownMatchSelectWidth,ie=e.dropdownRender,ae=e.dropdownAlign,se=e.placement,le=e.builtinPlacements,ce=e.getPopupContainer,ue=e.showAction,de=void 0===ue?[]:ue,fe=e.onFocus,he=e.onBlur,ve=e.onKeyUp,ye=e.onKeyDown,be=e.onMouseDown,Oe=(0,d.A)(e,xe),Ce=_e(j),Ae=(void 0!==S?S:Ce)||"combobox"===j,ke=(0,c.A)({},Oe);Se.forEach((function(e){delete ke[e]})),null==C||C.forEach((function(e){delete ke[e]}));var Me=r.useState(!1),Te=(0,u.A)(Me,2),Pe=Te[0],Ie=Te[1];r.useEffect((function(){Ie((0,v.A)())}),[]);var je=r.useRef(null),ze=r.useRef(null),De=r.useRef(null),Re=r.useRef(null),Ne=r.useRef(null),$e=r.useRef(!1),Fe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=r.useState(!1),n=(0,u.A)(t,2),o=n[0],i=n[1],a=r.useRef(null),s=function(){window.clearTimeout(a.current)};return r.useEffect((function(){return s}),[]),[o,function(t,n){s(),a.current=window.setTimeout((function(){i(t),n&&n()}),e)},s]}(),Le=(0,u.A)(Fe,3),Be=Le[0],He=Le[1],Ve=Le[2];r.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=Re.current)||void 0===e?void 0:e.focus,blur:null===(t=Re.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=Ne.current)||void 0===t?void 0:t.scrollTo(e)},nativeElement:je.current||ze.current}}));var Ue=r.useMemo((function(){var e;if("combobox"!==j)return W;var t=null===(e=A[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""}),[W,j,A]),We="combobox"===j&&"function"==typeof N&&N()||null,qe="function"==typeof $&&$(),Ke=(0,y.xK)(ze,null==qe||null===(n=qe.props)||void 0===n?void 0:n.ref),Ge=r.useState(!1),Xe=(0,u.A)(Ge,2),Ye=Xe[0],Ze=Xe[1];(0,m.A)((function(){Ze(!0)}),[]);var Je=(0,h.A)(!1,{defaultValue:L,value:F}),Qe=(0,u.A)(Je,2),et=Qe[0],tt=Qe[1],nt=!!Ye&&et,rt=!P&&M;(z||rt&&nt&&"combobox"===j)&&(nt=!1);var ot=!rt&&nt,it=r.useCallback((function(e){var t=void 0!==e?e:!nt;z||(tt(t),nt!==t&&(null==B||B(t)))}),[z,nt,tt,B]),at=r.useMemo((function(){return(X||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[X]),st=r.useContext(we)||{},lt=st.maxCount,ct=st.rawValues,ut=function(e,t,n){if(!(Ce&&ge(lt)&&(null==ct?void 0:ct.size)>=lt)){var r=!0,o=e;null==V||V(null);var i=function(e,t,n){if(!t||!t.length)return null;var r=!1,o=function e(t,n){var o=(0,me.A)(n),i=o[0],a=o.slice(1);if(!i)return[t];var l=t.split(i);return r=r||l.length>1,l.reduce((function(t,n){return[].concat((0,s.A)(t),(0,s.A)(e(n,a)))}),[]).filter(Boolean)}(e,t);return r?void 0!==n?o.slice(0,n):o:null}(e,X,ge(lt)?lt-ct.size:void 0),a=n?null:i;return"combobox"!==j&&a&&(o="",null==G||G(a),it(!1),r=!1),K&&Ue!==o&&K(o,{source:t?"typing":"effect"}),r}};r.useEffect((function(){nt||Ce||"combobox"===j||ut("",!1,!1)}),[nt]),r.useEffect((function(){et&&z&&tt(!1),z&&!$e.current&&He(!1)}),[z]);var dt=E(),ft=(0,u.A)(dt,2),ht=ft[0],pt=ft[1],mt=r.useRef(!1),vt=[];r.useEffect((function(){return function(){vt.forEach((function(e){return clearTimeout(e)})),vt.splice(0,vt.length)}}),[]);var gt,yt=r.useState({}),bt=(0,u.A)(yt,2)[1];qe&&(gt=function(e){it(e)}),function(e,t,n,o){var i=r.useRef(null);i.current={open:t,triggerOpen:n,customizedTrigger:o},r.useEffect((function(){function e(e){var t,n;if(null===(t=i.current)||void 0===t||!t.customizedTrigger){var r=e.target;r.shadowRoot&&e.composed&&(r=e.composedPath()[0]||r),i.current.open&&[je.current,null===(n=De.current)||void 0===n?void 0:n.getPopupElement()].filter((function(e){return e})).every((function(e){return!e.contains(r)&&e!==r}))&&i.current.triggerOpen(!1)}}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}}),[])}(0,ot,it,!!qe);var wt,Et=r.useMemo((function(){return(0,c.A)((0,c.A)({},e),{},{notFoundContent:P,open:nt,triggerOpen:ot,id:o,showSearch:Ae,multiple:Ce,toggleOpen:it})}),[e,P,ot,nt,o,Ae,Ce,it]),xt=!!Z||R;xt&&(wt=r.createElement(b,{className:i()("".concat(p,"-arrow"),(0,l.A)({},"".concat(p,"-arrow-loading"),R)),customizeIcon:Z,customizeIconProps:{loading:R,searchValue:Ue,open:nt,focused:Be,showSearch:Ae}}));var St,_t=function(e,t,n,o,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,c=r.useMemo((function(){return"object"===(0,f.A)(o)?o.clearIcon:i||void 0}),[o,i]);return{allowClear:r.useMemo((function(){return!(a||!o||!n.length&&!s||"combobox"===l&&""===s)}),[o,a,n.length,s,l]),clearIcon:r.createElement(b,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:c},"×")}}(p,(function(){var e;null==I||I(),null===(e=Re.current)||void 0===e||e.focus(),k([],{type:"clear",values:A}),ut("",!1,!1)}),A,Y,J,z,Ue,j),Ot=_t.allowClear,Ct=_t.clearIcon,At=r.createElement(Q,{ref:Ne}),kt=i()(p,x,(0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)((0,l.A)({},"".concat(p,"-focused"),Be),"".concat(p,"-multiple"),Ce),"".concat(p,"-single"),!Ce),"".concat(p,"-allow-clear"),Y),"".concat(p,"-show-arrow"),xt),"".concat(p,"-disabled"),z),"".concat(p,"-loading"),R),"".concat(p,"-open"),nt),"".concat(p,"-customize-input"),We),"".concat(p,"-show-search"),Ae)),Mt=r.createElement(pe,{ref:De,disabled:z,prefixCls:p,visible:ot,popupElement:At,animation:ee,transitionName:te,dropdownStyle:ne,dropdownClassName:re,direction:O,dropdownMatchSelectWidth:oe,dropdownRender:ie,dropdownAlign:ae,placement:se,builtinPlacements:le,getPopupContainer:ce,empty:M,getTriggerDOMNode:function(e){return ze.current||e},onPopupVisibleChange:gt,onPopupMouseEnter:function(){bt({})}},qe?r.cloneElement(qe,{ref:Ke}):r.createElement(D,(0,a.A)({},e,{domRef:ze,prefixCls:p,inputElement:We,ref:Re,id:o,showSearch:Ae,autoClearSearchValue:q,mode:j,activeDescendantId:U,tagRender:_,values:A,open:nt,onToggleOpen:it,activeValue:H,searchValue:Ue,onSearch:ut,onSearchSubmit:function(e){e&&e.trim()&&K(e,{source:"submit"})},onRemove:function(e){var t=A.filter((function(t){return t!==e}));k(t,{type:"remove",values:[e]})},tokenWithEnter:at})));return St=qe?Mt:r.createElement("div",(0,a.A)({className:kt},ke,{ref:je,onMouseDown:function(e){var t,n=e.target,r=null===(t=De.current)||void 0===t?void 0:t.getPopupElement();if(r&&r.contains(n)){var o=setTimeout((function(){var e,t=vt.indexOf(o);-1!==t&&vt.splice(t,1),Ve(),Pe||r.contains(document.activeElement)||null===(e=Re.current)||void 0===e||e.focus()}));vt.push(o)}for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];null==be||be.apply(void 0,[e].concat(a))},onKeyDown:function(e){var t,n=ht(),r=e.which;if(r===g.A.ENTER&&("combobox"!==j&&e.preventDefault(),nt||it(!0)),pt(!!Ue),r===g.A.BACKSPACE&&!n&&Ce&&!Ue&&A.length){for(var o=(0,s.A)(A),i=null,a=o.length-1;a>=0;a-=1){var l=o[a];if(!l.disabled){o.splice(a,1),i=l;break}}i&&k(o,{type:"remove",values:[i]})}for(var c=arguments.length,u=new Array(c>1?c-1:0),d=1;d<c;d++)u[d-1]=arguments[d];nt&&(null===(t=Ne.current)||void 0===t||t.onKeyDown.apply(t,[e].concat(u))),null==ye||ye.apply(void 0,[e].concat(u))},onKeyUp:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o;nt&&(null===(o=Ne.current)||void 0===o||o.onKeyUp.apply(o,[e].concat(n))),null==ve||ve.apply(void 0,[e].concat(n))},onFocus:function(){He(!0),z||(fe&&!mt.current&&fe.apply(void 0,arguments),de.includes("focus")&&it(!0)),mt.current=!0},onBlur:function(){$e.current=!0,He(!1,(function(){mt.current=!1,$e.current=!1,it(!1)})),z||(Ue&&("tags"===j?K(Ue,{source:"submit"}):"multiple"===j&&K("",{source:"blur"})),he&&he.apply(void 0,arguments))}}),r.createElement(Ee,{visible:Be&&!nt,values:A}),Mt,wt,Ot&&Ct),r.createElement(w.Provider,{value:Et},St)}));const Ce=Oe;var Ae=function(){return null};Ae.isSelectOptGroup=!0;const ke=Ae;var Me=function(){return null};Me.isSelectOption=!0;const Te=Me;var Pe=n(28104),Ie=n(19853),je=n(71213),ze=["disabled","title","children","style","className"];function De(e){return"string"==typeof e||"number"==typeof e}var Re=function(e,t){var n=r.useContext(w),o=n.prefixCls,c=n.id,f=n.open,h=n.multiple,p=n.mode,m=n.searchValue,v=n.toggleOpen,y=n.notFoundContent,E=n.onPopupScroll,S=r.useContext(we),_=S.maxCount,O=S.flattenOptions,C=S.onActiveValue,A=S.defaultActiveFirstOption,k=S.onSelect,M=S.menuItemSelectedIcon,T=S.rawValues,P=S.fieldNames,I=S.virtual,j=S.direction,z=S.listHeight,D=S.listItemHeight,R=S.optionRender,N="".concat(o,"-item"),$=(0,Pe.A)((function(){return O}),[f,O],(function(e,t){return t[0]&&e[1]!==t[1]})),F=r.useRef(null),L=r.useMemo((function(){return h&&ge(_)&&(null==T?void 0:T.size)>=_}),[h,_,null==T?void 0:T.size]),B=function(e){e.preventDefault()},H=function(e){var t;null===(t=F.current)||void 0===t||t.scrollTo("number"==typeof e?{index:e}:e)},V=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=$.length,r=0;r<n;r+=1){var o=(e+r*t+n)%n,i=$[o]||{},a=i.group,s=i.data;if(!(a||null!=s&&s.disabled||L))return o}return-1},U=r.useState((function(){return V(0)})),W=(0,u.A)(U,2),q=W[0],K=W[1],G=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];K(e);var n={source:t?"keyboard":"mouse"},r=$[e];r?C(r.value,e,n):C(null,-1,n)};(0,r.useEffect)((function(){G(!1!==A?V(0):-1)}),[$.length,m]);var X=r.useCallback((function(e){return T.has(e)&&"combobox"!==p}),[p,(0,s.A)(T).toString(),T.size]);(0,r.useEffect)((function(){var e,t=setTimeout((function(){if(!h&&f&&1===T.size){var e=Array.from(T)[0],t=$.findIndex((function(t){return t.data.value===e}));-1!==t&&(G(t),H(t))}}));return f&&(null===(e=F.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}}),[f,m]);var Y=function(e){void 0!==e&&k(e,{selected:!T.has(e)}),h||v(!1)};if(r.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case g.A.N:case g.A.P:case g.A.UP:case g.A.DOWN:var r=0;if(t===g.A.UP?r=-1:t===g.A.DOWN?r=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===g.A.N?r=1:t===g.A.P&&(r=-1)),0!==r){var o=V(q+r,r);H(o),G(o,!0)}break;case g.A.ENTER:var i,a=$[q];!a||null!=a&&null!==(i=a.data)&&void 0!==i&&i.disabled||L?Y(void 0):Y(a.value),f&&e.preventDefault();break;case g.A.ESC:v(!1),f&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){H(e)}}})),0===$.length)return r.createElement("div",{role:"listbox",id:"".concat(c,"_list"),className:"".concat(N,"-empty"),onMouseDown:B},y);var Z=Object.keys(P).map((function(e){return P[e]})),J=function(e){return e.label};function Q(e,t){return{role:e.group?"presentation":"option",id:"".concat(c,"_list_").concat(t)}}var ee=function(e){var t=$[e];if(!t)return null;var n=t.data||{},o=n.value,i=t.group,s=(0,x.A)(n,!0),l=J(t);return t?r.createElement("div",(0,a.A)({"aria-label":"string"!=typeof l||i?null:l},s,{key:e},Q(t,e),{"aria-selected":X(o)}),o):null},te={role:"listbox",id:"".concat(c,"_list")};return r.createElement(r.Fragment,null,I&&r.createElement("div",(0,a.A)({},te,{style:{height:0,width:0,overflow:"hidden"}}),ee(q-1),ee(q),ee(q+1)),r.createElement(je.A,{itemKey:"key",ref:F,data:$,height:z,itemHeight:D,fullHeight:!1,onMouseDown:B,onScroll:E,virtual:I,direction:j,innerProps:I?null:te},(function(e,t){var n=e.group,o=e.groupOption,s=e.data,c=e.label,u=e.value,f=s.key;if(n){var h,p=null!==(h=s.title)&&void 0!==h?h:De(c)?c.toString():void 0;return r.createElement("div",{className:i()(N,"".concat(N,"-group"),s.className),title:p},void 0!==c?c:f)}var m=s.disabled,v=s.title,g=(s.children,s.style),y=s.className,w=(0,d.A)(s,ze),E=(0,Ie.A)(w,Z),S=X(u),_=m||!S&&L,O="".concat(N,"-option"),C=i()(N,O,y,(0,l.A)((0,l.A)((0,l.A)((0,l.A)({},"".concat(O,"-grouped"),o),"".concat(O,"-active"),q===t&&!_),"".concat(O,"-disabled"),_),"".concat(O,"-selected"),S)),A=J(e),k=!M||"function"==typeof M||S,T="number"==typeof A?A:A||u,P=De(T)?T.toString():void 0;return void 0!==v&&(P=v),r.createElement("div",(0,a.A)({},(0,x.A)(E),I?{}:Q(e,t),{"aria-selected":S,className:C,title:P,onMouseMove:function(){q===t||_||G(t)},onClick:function(){_||Y(u)},style:g}),r.createElement("div",{className:"".concat(O,"-content")},"function"==typeof R?R(e,{index:t}):T),r.isValidElement(M)||S,k&&r.createElement(b,{className:"".concat(N,"-option-state"),customizeIcon:M,customizeIconProps:{value:u,disabled:_,isSelected:S}},S?"✓":null))})))};const Ne=r.forwardRef(Re);function $e(e,t){return C(e).join("").toUpperCase().includes(t)}var Fe=n(20998),Le=0,Be=(0,Fe.A)();var He=n(82546),Ve=["children","value"],Ue=["children"];function We(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,He.A)(e).map((function(e,n){if(!r.isValidElement(e)||!e.type)return null;var o=e,i=o.type.isSelectOptGroup,a=o.key,s=o.props,l=s.children,u=(0,d.A)(s,Ue);return t||!i?function(e){var t=e,n=t.key,r=t.props,o=r.children,i=r.value,a=(0,d.A)(r,Ve);return(0,c.A)({key:n,value:void 0!==i?i:n,children:o},a)}(e):(0,c.A)((0,c.A)({key:"__RC_SELECT_GRP__".concat(null===a?n:a,"__"),label:a},u),{},{options:We(l)})})).filter((function(e){return e}))}const qe=function(e,t,n,o,i){return r.useMemo((function(){var r=e;!e&&(r=We(t));var a=new Map,s=new Map,l=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(t){for(var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c<t.length;c+=1){var u=t[c];!u[n.options]||r?(a.set(u[n.value],u),l(s,u,n.label),l(s,u,o),l(s,u,i)):e(u[n.options],!0)}}(r),{options:r,valueOptions:a,labelOptions:s}}),[e,t,n,o,i])};function Ke(e){var t=r.useRef();t.current=e;var n=r.useCallback((function(){return t.current.apply(t,arguments)}),[]);return n}var Ge=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],Xe=["inputValue"],Ye=r.forwardRef((function(e,t){var n=e.id,o=e.mode,i=e.prefixCls,p=void 0===i?"rc-select":i,m=e.backfill,v=e.fieldNames,g=e.inputValue,y=e.searchValue,b=e.onSearch,w=e.autoClearSearchValue,E=void 0===w||w,x=e.onSelect,S=e.onDeselect,_=e.dropdownMatchSelectWidth,O=void 0===_||_,A=e.filterOption,k=e.filterSort,M=e.optionFilterProp,T=e.optionLabelProp,P=e.options,I=e.optionRender,j=e.children,z=e.defaultActiveFirstOption,D=e.menuItemSelectedIcon,R=e.virtual,N=e.direction,$=e.listHeight,F=void 0===$?200:$,L=e.listItemHeight,B=void 0===L?20:L,H=e.labelRender,V=e.value,U=e.defaultValue,W=e.labelInValue,q=e.onChange,K=e.maxCount,G=(0,d.A)(e,Ge),X=function(e){var t=r.useState(),n=(0,u.A)(t,2),o=n[0],i=n[1];return r.useEffect((function(){var e;i("rc_select_".concat((Be?(e=Le,Le+=1):e="TEST_OR_SSR",e)))}),[]),e||o}(n),Y=_e(o),Z=!(P||!j),J=r.useMemo((function(){return(void 0!==A||"combobox"!==o)&&A}),[A,o]),Q=r.useMemo((function(){return ye(v,Z)}),[JSON.stringify(v),Z]),ee=(0,h.A)("",{value:void 0!==y?y:g,postState:function(e){return e||""}}),te=(0,u.A)(ee,2),ne=te[0],re=te[1],oe=qe(P,j,Q,M,T),ie=oe.valueOptions,ae=oe.labelOptions,se=oe.options,le=r.useCallback((function(e){return C(e).map((function(e){var t,n,r,o,i,a;!function(e){return!e||"object"!==(0,f.A)(e)}(e)?(r=e.key,n=e.label,t=null!==(a=e.value)&&void 0!==a?a:r):t=e;var s,l=ie.get(t);return l&&(void 0===n&&(n=null==l?void 0:l[T||Q.label]),void 0===r&&(r=null!==(s=null==l?void 0:l.key)&&void 0!==s?s:t),o=null==l?void 0:l.disabled,i=null==l?void 0:l.title),{label:n,value:t,key:r,disabled:o,title:i}}))}),[Q,T,ie]),ce=(0,h.A)(U,{value:V}),ue=(0,u.A)(ce,2),de=ue[0],fe=ue[1],he=r.useMemo((function(){var e,t=le(Y&&null===de?[]:de);return"combobox"===o&&function(e){return!e&&0!==e}(null===(e=t[0])||void 0===e?void 0:e.value)?[]:t}),[de,le,o,Y]),pe=function(e,t){var n=r.useRef({values:new Map,options:new Map});return[r.useMemo((function(){var r=n.current,o=r.values,i=r.options,a=e.map((function(e){var t;return void 0===e.label?(0,c.A)((0,c.A)({},e),{},{label:null===(t=o.get(e.value))||void 0===t?void 0:t.label}):e})),s=new Map,l=new Map;return a.forEach((function(e){s.set(e.value,e),l.set(e.value,t.get(e.value)||i.get(e.value))})),n.current.values=s,n.current.options=l,a}),[e,t]),r.useCallback((function(e){return t.get(e)||n.current.options.get(e)}),[t])]}(he,ie),me=(0,u.A)(pe,2),ge=me[0],Ee=me[1],xe=r.useMemo((function(){if(!o&&1===ge.length){var e=ge[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return ge.map((function(e){var t;return(0,c.A)((0,c.A)({},e),{},{label:null!==(t="function"==typeof H?H(e):e.label)&&void 0!==t?t:e.value})}))}),[o,ge,H]),Se=r.useMemo((function(){return new Set(ge.map((function(e){return e.value})))}),[ge]);r.useEffect((function(){if("combobox"===o){var e,t=null===(e=ge[0])||void 0===e?void 0:e.value;re(function(e){return null!=e}(t)?String(t):"")}}),[ge]);var Oe=Ke((function(e,t){var n=null!=t?t:e;return(0,l.A)((0,l.A)({},Q.value,e),Q.label,n)})),Ae=function(e,t,n,o,i){return r.useMemo((function(){if(!n||!1===o)return e;var r=t.options,a=t.label,s=t.value,u=[],d="function"==typeof o,f=n.toUpperCase(),h=d?o:function(e,t){return i?$e(t[i],f):t[r]?$e(t["children"!==a?a:"label"],f):$e(t[s],f)},p=d?function(e){return be(e)}:function(e){return e};return e.forEach((function(e){if(e[r])if(h(n,p(e)))u.push(e);else{var t=e[r].filter((function(e){return h(n,p(e))}));t.length&&u.push((0,c.A)((0,c.A)({},e),{},(0,l.A)({},r,t)))}else h(n,p(e))&&u.push(e)})),u}),[e,o,i,n,t])}(r.useMemo((function(){if("tags"!==o)return se;var e=(0,s.A)(se);return(0,s.A)(ge).sort((function(e,t){return e.value<t.value?-1:1})).forEach((function(t){var n=t.value;(function(e){return ie.has(e)})(n)||e.push(Oe(n,t.label))})),e}),[Oe,se,ie,ge,o]),Q,ne,J,M),ke=r.useMemo((function(){return"tags"!==o||!ne||Ae.some((function(e){return e[M||"value"]===ne}))||Ae.some((function(e){return e[Q.value]===ne}))?Ae:[Oe(ne)].concat((0,s.A)(Ae))}),[Oe,M,o,Ae,ne,Q]),Me=r.useMemo((function(){return k?(0,s.A)(ke).sort((function(e,t){return k(e,t)})):ke}),[ke,k]),Te=r.useMemo((function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],i=ye(n,!1),a=i.label,s=i.value,l=i.options,c=i.groupLabel;return function e(t,n){Array.isArray(t)&&t.forEach((function(t){if(n||!(l in t)){var i=t[s];o.push({key:ve(t,o.length),groupOption:n,data:t,label:t[a],value:i})}else{var u=t[c];void 0===u&&r&&(u=t.label),o.push({key:ve(t,o.length),group:!0,data:t,label:u}),e(t[l],!0)}}))}(e,!1),o}(Me,{fieldNames:Q,childrenAsData:Z})}),[Me,Q,Z]),Pe=function(e){var t=le(e);if(fe(t),q&&(t.length!==ge.length||t.some((function(e,t){var n;return(null===(n=ge[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)})))){var n=W?t:t.map((function(e){return e.value})),r=t.map((function(e){return be(Ee(e.value))}));q(Y?n:n[0],Y?r:r[0])}},Ie=r.useState(null),je=(0,u.A)(Ie,2),ze=je[0],De=je[1],Re=r.useState(0),Fe=(0,u.A)(Re,2),He=Fe[0],Ve=Fe[1],Ue=void 0!==z?z:"combobox"!==o,We=r.useCallback((function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).source,r=void 0===n?"keyboard":n;Ve(t),m&&"combobox"===o&&null!==e&&"keyboard"===r&&De(String(e))}),[m,o]),Ye=function(e,t,n){var r=function(){var t,n=Ee(e);return[W?{label:null==n?void 0:n[Q.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,be(n)]};if(t&&x){var o=r(),i=(0,u.A)(o,2),a=i[0],s=i[1];x(a,s)}else if(!t&&S&&"clear"!==n){var l=r(),c=(0,u.A)(l,2),d=c[0],f=c[1];S(d,f)}},Ze=Ke((function(e,t){var n,r=!Y||t.selected;n=r?Y?[].concat((0,s.A)(ge),[e]):[e]:ge.filter((function(t){return t.value!==e})),Pe(n),Ye(e,r),"combobox"===o?De(""):_e&&!E||(re(""),De(""))})),Je=r.useMemo((function(){var e=!1!==R&&!1!==O;return(0,c.A)((0,c.A)({},oe),{},{flattenOptions:Te,onActiveValue:We,defaultActiveFirstOption:Ue,onSelect:Ze,menuItemSelectedIcon:D,rawValues:Se,fieldNames:Q,virtual:e,direction:N,listHeight:F,listItemHeight:B,childrenAsData:Z,maxCount:K,optionRender:I})}),[K,oe,Te,We,Ue,Ze,D,Se,Q,R,O,N,F,B,Z,I]);return r.createElement(we.Provider,{value:Je},r.createElement(Ce,(0,a.A)({},G,{id:X,prefixCls:p,ref:t,omitDomProps:Xe,mode:o,displayValues:xe,onDisplayValuesChange:function(e,t){Pe(e);var n=t.type,r=t.values;"remove"!==n&&"clear"!==n||r.forEach((function(e){Ye(e.value,!1,n)}))},direction:N,searchValue:ne,onSearch:function(e,t){if(re(e),De(null),"submit"!==t.source)"blur"!==t.source&&("combobox"===o&&Pe(e),null==b||b(e));else{var n=(e||"").trim();if(n){var r=Array.from(new Set([].concat((0,s.A)(Se),[n])));Pe(r),Ye(n,!0),re("")}}},autoClearSearchValue:E,onSearchSplit:function(e){var t=e;"tags"!==o&&(t=e.map((function(e){var t=ae.get(e);return null==t?void 0:t.value})).filter((function(e){return void 0!==e})));var n=Array.from(new Set([].concat((0,s.A)(Se),(0,s.A)(t))));Pe(n),n.forEach((function(e){Ye(e,!0)}))},dropdownMatchSelectWidth:O,OptionList:Ne,emptyOptions:!Te.length,activeValue:ze,activeDescendantId:"".concat(X,"_list_").concat(He)})))})),Ze=Ye;Ze.Option=Te,Ze.OptGroup=ke;const Je=Ze;var Qe=n(87196),et=n(60275),tt=n(23723),nt=n(53425),rt=n(58182),ot=n(62279),it=n(35128),at=n(98119),st=n(20934),lt=n(829),ct=n(94241),ut=n(90124),dt=n(76327),ft=n(365);const ht=function(e,t){return e||(e=>{const t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}})(t)};var pt=n(25905),mt=n(55974),vt=n(69028),gt=n(80336),yt=n(75942),bt=n(24211);const wt=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},Et=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},(0,pt.dF)(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`\n          ${o}${s}bottomLeft,\n          ${i}${s}bottomLeft\n        `]:{animationName:yt.ox},[`\n          ${o}${s}topLeft,\n          ${i}${s}topLeft,\n          ${o}${s}topRight,\n          ${i}${s}topRight\n        `]:{animationName:yt.nP},[`${a}${s}bottomLeft`]:{animationName:yt.vR},[`\n          ${a}${s}topLeft,\n          ${a}${s}topRight\n        `]:{animationName:yt.YU},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},wt(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},pt.L9),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},wt(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},(0,yt._j)(e,"slide-up"),(0,yt._j)(e,"slide-down"),(0,bt.Mh)(e,"move-up"),(0,bt.Mh)(e,"move-down")]};var xt=n(36784),St=n(21880);function _t(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},(0,pt.dF)(e,!0)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[`\n          ${n}-selection-item,\n          ${n}-selection-placeholder\n        `]:{padding:0,lineHeight:(0,St.zA)(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`\n        &${n}-show-arrow ${n}-selection-item,\n        &${n}-show-arrow ${n}-selection-placeholder\n      `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${(0,St.zA)(r)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:(0,St.zA)(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,St.zA)(r)}`,"&:after":{display:"none"}}}}}}}function Ot(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[_t(e),_t((0,gt.h1)(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${(0,St.zA)(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`\n            &${t}-show-arrow ${t}-selection-item,\n            &${t}-show-arrow ${t}-selection-placeholder\n          `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},_t((0,gt.h1)(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const Ct=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${(0,St.zA)(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${(0,St.zA)(o)} ${t.activeShadowColor}`,outline:0}}}},At=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},Ct(e,t))}),kt=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Ct(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),At(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),At(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,St.zA)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),Mt=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${(0,St.zA)(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},Tt=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},Mt(e,t))}),Pt=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Mt(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),Tt(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),Tt(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${(0,St.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),It=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${(0,St.zA)(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),jt=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},kt(e)),Pt(e)),It(e))}),zt=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Dt=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Rt=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},(0,pt.dF)(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},zt(e)),Dt(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},pt.L9),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},pt.L9),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},(0,pt.Nk)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1},[`${n}-arrow:not(:last-child)`]:{opacity:0}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},Nt=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},Rt(e),Ot(e),(0,xt.Ay)(e),Et(e),{[`${t}-rtl`]:{direction:"rtl"}},(0,mt.G)(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},$t=(0,vt.OF)("Select",((e,t)=>{let{rootPrefixCls:n}=t;const r=(0,gt.h1)(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Nt(r),jt(r)]}),(e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:o,controlHeightSM:i,controlHeightLG:a,paddingXXS:s,controlPaddingHorizontal:l,zIndexPopupBase:c,colorText:u,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:h,colorBgContainer:p,colorFillSecondary:m,colorBgContainerDisabled:v,colorTextDisabled:g}=e,y=2*s,b=2*r,w=Math.min(o-y,o-b),E=Math.min(i-y,i-b),x=Math.min(a-y,a-b);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:c+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:h,optionPadding:`${(o-t*n)/2}px ${l}px`,optionFontSize:t,optionLineHeight:n,optionHeight:o,selectorBg:p,clearBg:p,singleItemHeightLG:a,multipleItemBg:m,multipleItemBorderColor:"transparent",multipleItemHeight:w,multipleItemHeightSM:E,multipleItemHeightLG:x,multipleSelectorBgDisabled:v,multipleItemColorDisabled:g,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize)}}),{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var Ft=n(26017);const Lt="SECRET_COMBOBOX_MODE_DO_NOT_USE",Bt=(e,t)=>{var n;const{prefixCls:o,bordered:a,className:s,rootClassName:l,getPopupContainer:c,popupClassName:u,dropdownClassName:d,listHeight:f=256,placement:h,listItemHeight:p,size:m,disabled:v,notFoundContent:g,status:y,builtinPlacements:b,dropdownMatchSelectWidth:w,popupMatchSelectWidth:E,direction:x,style:S,allowClear:_,variant:O,dropdownStyle:C,transitionName:A,tagRender:k,maxCount:M}=e,T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:P,getPrefixCls:I,renderEmpty:j,direction:z,virtual:D,popupMatchSelectWidth:R,popupOverflow:N,select:$}=r.useContext(ot.QO),[,F]=(0,ft.Ay)(),L=null!=p?p:null==F?void 0:F.controlHeight,B=I("select",o),H=I(),V=null!=x?x:z,{compactSize:U,compactItemClassnames:W}=(0,dt.RQ)(B,V),[q,K]=(0,ut.A)(O,a),G=(0,st.A)(B),[X,Y,Z]=$t(B,G),J=r.useMemo((()=>{const{mode:t}=e;if("combobox"!==t)return t===Lt?"combobox":t}),[e.mode]),Q="multiple"===J||"tags"===J,ee=function(e,t){return void 0!==t?t:null!==e}(e.suffixIcon,e.showArrow),te=null!==(n=null!=E?E:w)&&void 0!==n?n:R,{status:ne,hasFeedback:re,isFormItemInput:oe,feedbackIcon:ie}=r.useContext(ct.$W),ae=(0,rt.v)(ne,y);let se;se=void 0!==g?g:"combobox"===J?null:(null==j?void 0:j("Select"))||r.createElement(it.A,{componentName:"Select"});const{suffixIcon:le,itemIcon:ce,removeIcon:ue,clearIcon:de}=(0,Ft.A)(Object.assign(Object.assign({},T),{multiple:Q,hasFeedback:re,feedbackIcon:ie,showSuffixIcon:ee,prefixCls:B,componentName:"Select"})),fe=!0===_?{clearIcon:de}:_,he=(0,Qe.A)(T,["suffixIcon","itemIcon"]),pe=i()(u||d,{[`${B}-dropdown-${V}`]:"rtl"===V},l,Z,G,Y),me=(0,lt.A)((e=>{var t;return null!==(t=null!=m?m:U)&&void 0!==t?t:e})),ve=r.useContext(at.A),ge=null!=v?v:ve,ye=i()({[`${B}-lg`]:"large"===me,[`${B}-sm`]:"small"===me,[`${B}-rtl`]:"rtl"===V,[`${B}-${q}`]:K,[`${B}-in-form-item`]:oe},(0,rt.L)(B,ae,re),W,null==$?void 0:$.className,s,l,Z,G,Y),be=r.useMemo((()=>void 0!==h?h:"rtl"===V?"bottomRight":"bottomLeft"),[h,V]),[we]=(0,et.YK)("SelectLike",null==C?void 0:C.zIndex);return X(r.createElement(Je,Object.assign({ref:t,virtual:D,showSearch:null==$?void 0:$.showSearch},he,{style:Object.assign(Object.assign({},null==$?void 0:$.style),S),dropdownMatchSelectWidth:te,transitionName:(0,tt.b)(H,"slide-up",A),builtinPlacements:ht(b,N),listHeight:f,listItemHeight:L,mode:J,prefixCls:B,placement:be,direction:V,suffixIcon:le,menuItemSelectedIcon:ce,removeIcon:ue,allowClear:fe,notFoundContent:se,className:ye,getPopupContainer:c||P,dropdownClassName:pe,disabled:ge,dropdownStyle:Object.assign(Object.assign({},C),{zIndex:we}),maxCount:Q?M:void 0,tagRender:Q?k:void 0})))},Ht=r.forwardRef(Bt),Vt=(0,nt.A)(Ht);Ht.SECRET_COMBOBOX_MODE_DO_NOT_USE=Lt,Ht.Option=Te,Ht.OptGroup=ke,Ht._InternalPanelDoNotUseOrYouWillBeFired=Vt;const Ut=Ht},36784:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,Q3:()=>s,_8:()=>a});var r=n(21880),o=n(25905),i=n(80336);const a=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:o,INTERNAL_FIXED_ITEM_MARGIN:i}=e,a=e.max(e.calc(n).sub(o).equal(),0);return{basePadding:a,containerPadding:e.max(e.calc(a).sub(i).equal(),0),itemHeight:(0,r.zA)(t),itemLineHeight:(0,r.zA)(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},s=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:i,paddingXS:a,multipleItemColorDisabled:s,multipleItemBorderColorDisabled:l,colorIcon:c,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:d}=e,f=`${t}-selection-overflow`;return{[f]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:r,cursor:"default",transition:`font-size ${i}, line-height ${i}, height ${i}`,marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),[`${t}-disabled&`]:{color:s,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(a).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,o.Nk)()),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},l=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:o}=e,i=`${n}-selection-overflow`,l=e.multipleSelectItemHeight,c=(e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()})(e),u=t?`${n}-${t}`:"",d=a(e);return{[`${n}-multiple${u}`]:Object.assign(Object.assign({},s(e)),{[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:d.basePadding,paddingBlock:d.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,r.zA)(o)} 0`,lineHeight:(0,r.zA)(l),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:d.itemHeight,lineHeight:(0,r.zA)(d.itemLineHeight)},[`${i}-item + ${i}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${i}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c).equal(),"\n          &-input,\n          &-mirror\n        ":{height:l,fontFamily:e.fontFamily,lineHeight:(0,r.zA)(l),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function c(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`\n        &${n}-show-arrow ${n}-selector,\n        &${n}-allow-clear ${n}-selector\n      `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[l(e,t),o]}const u=e=>{const{componentCls:t}=e,n=(0,i.h1)(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=(0,i.h1)(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[c(e),c(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},c(r,"lg")]}},26017:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(96540),o=n(33931),i=n(25578),a=n(91937),s=n(82217),l=n(58373),c=n(8834);function u(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:u,removeIcon:d,loading:f,multiple:h,hasFeedback:p,prefixCls:m,showSuffixIcon:v,feedbackIcon:g,showArrow:y,componentName:b}=e;const w=null!=n?n:r.createElement(i.A,null),E=e=>null!==t||p||y?r.createElement(r.Fragment,null,!1!==v&&e,p&&g):null;let x=null;if(void 0!==t)x=E(t);else if(f)x=E(r.createElement(l.A,{spin:!0}));else{const e=`${m}-suffix`;x=t=>{let{open:n,showSearch:o}=t;return E(n&&o?r.createElement(c.A,{className:e}):r.createElement(s.A,{className:e}))}}let S=null;S=void 0!==u?u:h?r.createElement(o.A,null):null;let _=null;return _=void 0!==d?d:r.createElement(a.A,null),{clearIcon:w,suffixIcon:x,itemIcon:S,removeIcon:_}}},39572:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var r=n(96540),o=n(46942),i=n.n(o),a=n(62279),s=n(87196);const l=e=>{const{prefixCls:t,className:n,style:o,size:a,shape:s}=e,l=i()({[`${t}-lg`]:"large"===a,[`${t}-sm`]:"small"===a}),c=i()({[`${t}-circle`]:"circle"===s,[`${t}-square`]:"square"===s,[`${t}-round`]:"round"===s}),u=r.useMemo((()=>"number"==typeof a?{width:a,height:a,lineHeight:`${a}px`}:{}),[a]);return r.createElement("span",{className:i()(t,l,c,n),style:Object.assign(Object.assign({},u),o)})};var c=n(21880),u=n(69028),d=n(80336);const f=new c.Mo("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),h=e=>({height:e,lineHeight:(0,c.zA)(e)}),p=e=>Object.assign({width:e},h(e)),m=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:f,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),v=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},h(e)),g=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},p(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},p(o)),[`${t}${t}-sm`]:Object.assign({},p(i))}},y=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:s}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},v(t,s)),[`${r}-lg`]:Object.assign({},v(o,s)),[`${r}-sm`]:Object.assign({},v(i,s))}},b=e=>Object.assign({width:e},h(e)),w=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:i}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},b(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},b(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},E=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},x=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},h(e)),S=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},x(r,s))},E(e,r,n)),{[`${n}-lg`]:Object.assign({},x(o,s))}),E(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},x(i,s))}),E(e,i,`${n}-sm`))},_=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:s,controlHeight:l,controlHeightLG:c,controlHeightSM:u,gradientFromColor:d,padding:f,marginSM:h,borderRadius:v,titleHeight:b,blockRadius:E,paragraphLiHeight:x,controlHeightXS:_,paragraphMarginTop:O}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},p(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},p(c)),[`${n}-sm`]:Object.assign({},p(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:b,background:d,borderRadius:E,[`+ ${o}`]:{marginBlockStart:u}},[`${o}`]:{padding:0,"> li":{width:"100%",height:x,listStyle:"none",background:d,borderRadius:E,"+ li":{marginBlockStart:_}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:v}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:h,[`+ ${o}`]:{marginBlockStart:O}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},S(e)),g(e)),y(e)),w(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[`\n        ${r},\n        ${o} > li,\n        ${n},\n        ${i},\n        ${a},\n        ${s}\n      `]:Object.assign({},m(e))}}},O=(0,u.OF)("Skeleton",(e=>{const{componentCls:t,calc:n}=e,r=(0,d.h1)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[_(r)]}),(e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}}),{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});var C=n(18814);const A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};var k=n(58994),M=function(e,t){return r.createElement(k.A,(0,C.A)({},e,{ref:t,icon:A}))};const T=r.forwardRef(M);var P=n(28831);const I=(e,t)=>{const{width:n,rows:r=2}=t;return Array.isArray(n)?n[e]:r-1===e?n:void 0},j=e=>{const{prefixCls:t,className:n,style:o,rows:a}=e,s=(0,P.A)(Array(a)).map(((t,n)=>r.createElement("li",{key:n,style:{width:I(n,e)}})));return r.createElement("ul",{className:i()(t,n),style:o},s)},z=e=>{let{prefixCls:t,className:n,width:o,style:a}=e;return r.createElement("h3",{className:i()(t,n),style:Object.assign({width:o},a)})};function D(e){return e&&"object"==typeof e?e:{}}const R=e=>{const{prefixCls:t,loading:n,className:o,rootClassName:s,style:c,children:u,avatar:d=!1,title:f=!0,paragraph:h=!0,active:p,round:m}=e,{getPrefixCls:v,direction:g,skeleton:y}=r.useContext(a.QO),b=v("skeleton",t),[w,E,x]=O(b);if(n||!("loading"in e)){const e=!!d,t=!!f,n=!!h;let a,u;if(e){const e=Object.assign(Object.assign({prefixCls:`${b}-avatar`},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(t,n)),D(d));a=r.createElement("div",{className:`${b}-header`},r.createElement(l,Object.assign({},e)))}if(t||n){let o,i;if(t){const t=Object.assign(Object.assign({prefixCls:`${b}-title`},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(e,n)),D(f));o=r.createElement(z,Object.assign({},t))}if(n){const n=Object.assign(Object.assign({prefixCls:`${b}-paragraph`},function(e,t){const n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(e,t)),D(h));i=r.createElement(j,Object.assign({},n))}u=r.createElement("div",{className:`${b}-content`},o,i)}const v=i()(b,{[`${b}-with-avatar`]:e,[`${b}-active`]:p,[`${b}-rtl`]:"rtl"===g,[`${b}-round`]:m},null==y?void 0:y.className,o,s,E,x);return w(r.createElement("div",{className:v,style:Object.assign(Object.assign({},null==y?void 0:y.style),c)},a,u))}return null!=u?u:null};R.Button=e=>{const{prefixCls:t,className:n,rootClassName:o,active:c,block:u=!1,size:d="default"}=e,{getPrefixCls:f}=r.useContext(a.QO),h=f("skeleton",t),[p,m,v]=O(h),g=(0,s.A)(e,["prefixCls"]),y=i()(h,`${h}-element`,{[`${h}-active`]:c,[`${h}-block`]:u},n,o,m,v);return p(r.createElement("div",{className:y},r.createElement(l,Object.assign({prefixCls:`${h}-button`,size:d},g))))},R.Avatar=e=>{const{prefixCls:t,className:n,rootClassName:o,active:c,shape:u="circle",size:d="default"}=e,{getPrefixCls:f}=r.useContext(a.QO),h=f("skeleton",t),[p,m,v]=O(h),g=(0,s.A)(e,["prefixCls","className"]),y=i()(h,`${h}-element`,{[`${h}-active`]:c},n,o,m,v);return p(r.createElement("div",{className:y},r.createElement(l,Object.assign({prefixCls:`${h}-avatar`,shape:u,size:d},g))))},R.Input=e=>{const{prefixCls:t,className:n,rootClassName:o,active:c,block:u,size:d="default"}=e,{getPrefixCls:f}=r.useContext(a.QO),h=f("skeleton",t),[p,m,v]=O(h),g=(0,s.A)(e,["prefixCls"]),y=i()(h,`${h}-element`,{[`${h}-active`]:c,[`${h}-block`]:u},n,o,m,v);return p(r.createElement("div",{className:y},r.createElement(l,Object.assign({prefixCls:`${h}-input`,size:d},g))))},R.Image=e=>{const{prefixCls:t,className:n,rootClassName:o,style:s,active:l}=e,{getPrefixCls:c}=r.useContext(a.QO),u=c("skeleton",t),[d,f,h]=O(u),p=i()(u,`${u}-element`,{[`${u}-active`]:l},n,o,f,h);return d(r.createElement("div",{className:p},r.createElement("div",{className:i()(`${u}-image`,n),style:s},r.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${u}-image-svg`},r.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${u}-image-path`})))))},R.Node=e=>{const{prefixCls:t,className:n,rootClassName:o,style:s,active:l,children:c}=e,{getPrefixCls:u}=r.useContext(a.QO),d=u("skeleton",t),[f,h,p]=O(d),m=i()(d,`${d}-element`,{[`${d}-active`]:l},h,n,o,p),v=null!=c?c:r.createElement(T,null);return f(r.createElement("div",{className:m},r.createElement("div",{className:i()(`${d}-image`,n),style:s},v)))};const N=R},76327:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>m,K6:()=>h,RQ:()=>f});var r=n(96540),o=n(46942),i=n.n(o),a=n(1507),s=n(62279),l=n(829),c=n(85447),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const d=r.createContext(null),f=(e,t)=>{const n=r.useContext(d),o=r.useMemo((()=>{if(!n)return"";const{compactDirection:r,isFirstItem:o,isLastItem:a}=n,s="vertical"===r?"-vertical-":"-";return i()(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:o,[`${e}-compact${s}last-item`]:a,[`${e}-compact${s}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:o}},h=e=>{let{children:t}=e;return r.createElement(d.Provider,{value:null},t)},p=e=>{var{children:t}=e,n=u(e,["children"]);return r.createElement(d.Provider,{value:n},t)},m=e=>{const{getPrefixCls:t,direction:n}=r.useContext(s.QO),{size:o,direction:f,block:h,prefixCls:m,className:v,rootClassName:g,children:y}=e,b=u(e,["size","direction","block","prefixCls","className","rootClassName","children"]),w=(0,l.A)((e=>null!=o?o:e)),E=t("space-compact",m),[x,S]=(0,c.A)(E),_=i()(E,S,{[`${E}-rtl`]:"rtl"===n,[`${E}-block`]:h,[`${E}-vertical`]:"vertical"===f},v,g),O=r.useContext(d),C=(0,a.A)(y),A=r.useMemo((()=>C.map(((e,t)=>{const n=e&&e.key||`${E}-item-${t}`;return r.createElement(p,{key:n,compactSize:w,compactDirection:f,isFirstItem:0===t&&(!O||(null==O?void 0:O.isFirstItem)),isLastItem:t===C.length-1&&(!O||(null==O?void 0:O.isLastItem))},e)}))),[o,C,O]);return 0===C.length?null:x(r.createElement("div",Object.assign({className:_},b),A))}},42702:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(96540),o=n(46942),i=n.n(o),a=n(1507);function s(e){return["small","middle","large"].includes(e)}function l(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}var c=n(62279),u=n(76327);const d=r.createContext({latestIndex:0}),f=d.Provider,h=e=>{let{className:t,index:n,children:o,split:i,style:a}=e;const{latestIndex:s}=r.useContext(d);return null==o?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:a},o),n<s&&i&&r.createElement("span",{className:`${t}-split`},i))};var p=n(85447);const m=r.forwardRef(((e,t)=>{var n,o,u;const{getPrefixCls:d,space:m,direction:v}=r.useContext(c.QO),{size:g=(null!==(n=null==m?void 0:m.size)&&void 0!==n?n:"small"),align:y,className:b,rootClassName:w,children:E,direction:x="horizontal",prefixCls:S,split:_,style:O,wrap:C=!1,classNames:A,styles:k}=e,M=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[T,P]=Array.isArray(g)?g:[g,g],I=s(P),j=s(T),z=l(P),D=l(T),R=(0,a.A)(E,{keepEmpty:!0}),N=void 0===y&&"horizontal"===x?"center":y,$=d("space",S),[F,L,B]=(0,p.A)($),H=i()($,null==m?void 0:m.className,L,`${$}-${x}`,{[`${$}-rtl`]:"rtl"===v,[`${$}-align-${N}`]:N,[`${$}-gap-row-${P}`]:I,[`${$}-gap-col-${T}`]:j},b,w,B),V=i()(`${$}-item`,null!==(o=null==A?void 0:A.item)&&void 0!==o?o:null===(u=null==m?void 0:m.classNames)||void 0===u?void 0:u.item);let U=0;const W=R.map(((e,t)=>{var n,o;null!=e&&(U=t);const i=e&&e.key||`${V}-${t}`;return r.createElement(h,{className:V,key:i,index:t,split:_,style:null!==(n=null==k?void 0:k.item)&&void 0!==n?n:null===(o=null==m?void 0:m.styles)||void 0===o?void 0:o.item},e)})),q=r.useMemo((()=>({latestIndex:U})),[U]);if(0===R.length)return null;const K={};return C&&(K.flexWrap="wrap"),!j&&D&&(K.columnGap=T),!I&&z&&(K.rowGap=P),F(r.createElement("div",Object.assign({ref:t,className:H,style:Object.assign(Object.assign(Object.assign({},K),null==m?void 0:m.style),O)},M),r.createElement(f,{value:q},W)))})),v=m;v.Compact=u.Ay;const g=v},85447:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(69028),o=n(80336);const i=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},a=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},s=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},l=(0,r.OF)("Space",(e=>{const t=(0,o.h1)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[a(t),s(t),i(t)]}),(()=>({})),{resetStyle:!1})},34716:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r=n(96540),o=n(46942),i=n.n(o);var a=n(62279),s=n(40682),l=n(49886);function c(e){let{percent:t,prefixCls:n}=e;const o=`${n}-dot`,a=`${o}-holder`,s=`${a}-hidden`,[c,u]=r.useState(!1);(0,l.A)((()=>{0!==t&&u(!0)}),[0!==t]);const d=Math.max(Math.min(t,100),0),f=80*Math.PI,h=(e,t)=>r.createElement("circle",{className:i()(e,`${o}-circle`),r:40,cx:"50",cy:"50",strokeWidth:20,style:t});return c?r.createElement("span",{className:i()(a,`${o}-progress`,d<=0&&s)},r.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":d},h(`${o}-circle-bg`),h("",{strokeDasharray:`${f*d/100} ${f*(100-d)/100}`,strokeDashoffset:""+f/4}))):null}function u(e){const{prefixCls:t,percent:n=0}=e,o=`${t}-dot`,a=`${o}-holder`,s=`${a}-hidden`;return r.createElement(r.Fragment,null,r.createElement("span",{className:i()(a,n>0&&s)},r.createElement("span",{className:i()(o,`${t}-dot-spin`)},[1,2,3,4].map((e=>r.createElement("i",{className:`${t}-dot-item`,key:e}))))),r.createElement(c,{prefixCls:t,percent:n}))}function d(e){const{prefixCls:t,indicator:n,percent:o}=e,a=`${t}-dot`;return n&&r.isValidElement(n)?(0,s.Ob)(n,{className:i()(n.props.className,a),percent:o}):r.createElement(u,{prefixCls:t,percent:o})}var f=n(21880),h=n(25905),p=n(69028),m=n(80336);const v=new f.Mo("antSpinMove",{to:{opacity:1}}),g=new f.Mo("antRotate",{to:{transform:"rotate(405deg)"}}),y=e=>{const{componentCls:t,calc:n}=e;return{[`${t}`]:Object.assign(Object.assign({},(0,h.dF)(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-progress`]:{position:"absolute",top:0,insetInlineStart:0},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:0,insetInlineStart:0},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:v,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:g,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map((t=>`${t} ${e.motionDurationSlow} ease`)).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{fontSize:e.dotSizeSM},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{fontSize:e.dotSizeLG},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},b=(0,p.OF)("Spin",(e=>{const t=(0,m.h1)(e,{spinDotDefault:e.colorTextDescription});return[y(t)]}),(e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}})),w=[[30,.05],[70,.03],[96,.01]];let E;const x=e=>{const{prefixCls:t,spinning:n=!0,delay:o=0,className:s,rootClassName:l,size:c="default",tip:u,wrapperClassName:f,style:h,children:p,fullscreen:m=!1,indicator:v,percent:g}=e,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:x}=r.useContext(a.QO),S=x("spin",t),[_,O,C]=b(S),[A,k]=r.useState((()=>n&&!function(e,t){return!!e&&!!t&&!isNaN(Number(t))}(n,o))),M=function(e,t){const[n,o]=r.useState(0),i=r.useRef(),a="auto"===t;return r.useEffect((()=>(a&&e&&(o(0),i.current=setInterval((()=>{o((e=>{const t=100-e;for(let n=0;n<w.length;n+=1){const[r,o]=w[n];if(e<=r)return e+t*o}return e}))}),200)),()=>{clearInterval(i.current)})),[a,e]),a?n:t}(A,g);r.useEffect((()=>{if(n){const e=function(e,t,n){var r=(n||{}).atBegin;return function(e,t,n){var r,o=n||{},i=o.noTrailing,a=void 0!==i&&i,s=o.noLeading,l=void 0!==s&&s,c=o.debounceMode,u=void 0===c?void 0:c,d=!1,f=0;function h(){r&&clearTimeout(r)}function p(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var s=this,c=Date.now()-f;function p(){f=Date.now(),t.apply(s,o)}function m(){r=void 0}d||(l||!u||r||p(),h(),void 0===u&&c>e?l?(f=Date.now(),a||(r=setTimeout(u?m:p,e))):p():!0!==a&&(r=setTimeout(u?m:p,void 0===u?e-c:e)))}return p.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;h(),d=!n},p}(e,t,{debounceMode:!1!==(void 0!==r&&r)})}(o,(()=>{k(!0)}));return e(),()=>{var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}}k(!1)}),[o,n]);const T=r.useMemo((()=>void 0!==p&&!m),[p,m]),{direction:P,spin:I}=r.useContext(a.QO),j=i()(S,null==I?void 0:I.className,{[`${S}-sm`]:"small"===c,[`${S}-lg`]:"large"===c,[`${S}-spinning`]:A,[`${S}-show-text`]:!!u,[`${S}-rtl`]:"rtl"===P},s,!m&&l,O,C),z=i()(`${S}-container`,{[`${S}-blur`]:A}),D=Object.assign(Object.assign({},null==I?void 0:I.style),h),R=r.createElement("div",Object.assign({},y,{style:D,className:j,"aria-live":"polite","aria-busy":A}),r.createElement(d,{prefixCls:S,indicator:null!=v?v:E,percent:M}),u&&(T||m)?r.createElement("div",{className:`${S}-text`},u):null);return _(T?r.createElement("div",Object.assign({},y,{className:i()(`${S}-nested-loading`,f,O,C)}),A&&r.createElement("div",{key:"loading"},R),r.createElement("div",{className:z,key:"container"},p)):m?r.createElement("div",{className:i()(`${S}-fullscreen`,{[`${S}-fullscreen-show`]:A},l,O,C)},R):R)};x.setDefaultIndicator=e=>{E=e};const S=x},55974:(e,t,n)=>{"use strict";function r(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",s=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${a}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function o(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0};const{componentCls:n}=e,i=`${n}-compact`;return{[i]:Object.assign(Object.assign({},r(e,i,t)),o(n,i,t))}}n.d(t,{G:()=>i})},25905:(e,t,n)=>{"use strict";n.d(t,{K8:()=>d,L9:()=>o,Nk:()=>a,av:()=>l,dF:()=>i,jk:()=>u,t6:()=>s,vj:()=>c});var r=n(21880);const o={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},a=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),s=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),l=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n  &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),c=(e,t,n,r)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return!1!==r&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},s),a),{[o]:a})}},u=e=>({outline:`${(0,r.zA)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),d=e=>({"&:focus-visible":Object.assign({},u(e))})},60977:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n        opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n        opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},14980:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});const r=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,n,i){const a=arguments.length>4&&void 0!==arguments[4]&&arguments[4]?"&":"";return{[`\n      ${a}${e}-enter,\n      ${a}${e}-appear\n    `]:Object.assign(Object.assign({},r(i)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[`\n      ${a}${e}-enter${e}-enter-active,\n      ${a}${e}-appear${e}-appear-active\n    `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}}},24211:(e,t,n)=>{"use strict";n.d(t,{Mh:()=>f});var r=n(21880),o=n(14980);const i=new r.Mo("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new r.Mo("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),s=new r.Mo("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new r.Mo("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new r.Mo("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=new r.Mo("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),d={"move-up":{inKeyframes:new r.Mo("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new r.Mo("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:i,outKeyframes:a},"move-left":{inKeyframes:s,outKeyframes:l},"move-right":{inKeyframes:c,outKeyframes:u}},f=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=d[t];return[(0,o.b)(r,i,a,e.motionDurationMid),{[`\n        ${r}-enter,\n        ${r}-appear\n      `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},75942:(e,t,n)=>{"use strict";n.d(t,{YU:()=>l,_j:()=>p,nP:()=>s,ox:()=>i,vR:()=>a});var r=n(21880),o=n(14980);const i=new r.Mo("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new r.Mo("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),s=new r.Mo("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),l=new r.Mo("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c=new r.Mo("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),u=new r.Mo("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),d=new r.Mo("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),f=new r.Mo("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),h={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:s,outKeyframes:l},"slide-left":{inKeyframes:c,outKeyframes:u},"slide-right":{inKeyframes:d,outKeyframes:f}},p=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=h[t];return[(0,o.b)(r,i,a,e.motionDurationMid),{[`\n      ${r}-enter,\n      ${r}-appear\n    `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},99077:(e,t,n)=>{"use strict";n.d(t,{aB:()=>y,nF:()=>i});var r=n(21880),o=n(14980);const i=new r.Mo("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a=new r.Mo("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),s=new r.Mo("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),l=new r.Mo("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),c=new r.Mo("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new r.Mo("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),d=new r.Mo("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),f=new r.Mo("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),h=new r.Mo("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),p=new r.Mo("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),m=new r.Mo("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),v=new r.Mo("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),g={zoom:{inKeyframes:i,outKeyframes:a},"zoom-big":{inKeyframes:s,outKeyframes:l},"zoom-big-fast":{inKeyframes:s,outKeyframes:l},"zoom-left":{inKeyframes:d,outKeyframes:f},"zoom-right":{inKeyframes:h,outKeyframes:p},"zoom-up":{inKeyframes:c,outKeyframes:u},"zoom-down":{inKeyframes:m,outKeyframes:v}},y=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=g[t];return[(0,o.b)(r,i,a,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n        ${r}-enter,\n        ${r}-appear\n      `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},58766:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});const r=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},95201:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,Ke:()=>i,Zs:()=>o});var r=n(20791);const o=8;function i(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?o:r}}function a(e,t){return e?t:{}}function s(e,t,n){const{componentCls:o,boxShadowPopoverArrow:i,arrowOffsetVertical:s,arrowOffsetHorizontal:l}=e,{arrowDistance:c=0,arrowPlacement:u={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[o]:Object.assign(Object.assign(Object.assign(Object.assign({[`${o}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.j)(e,t,i)),{"&:before":{background:t}})]},a(!!u.top,{[[`&-placement-top > ${o}-arrow`,`&-placement-topLeft > ${o}-arrow`,`&-placement-topRight > ${o}-arrow`].join(",")]:{bottom:c,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${o}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${o}-arrow`]:{left:{_skip_check_:!0,value:l}},[`&-placement-topRight > ${o}-arrow`]:{right:{_skip_check_:!0,value:l}}})),a(!!u.bottom,{[[`&-placement-bottom > ${o}-arrow`,`&-placement-bottomLeft > ${o}-arrow`,`&-placement-bottomRight > ${o}-arrow`].join(",")]:{top:c,transform:"translateY(-100%)"},[`&-placement-bottom > ${o}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft > ${o}-arrow`]:{left:{_skip_check_:!0,value:l}},[`&-placement-bottomRight > ${o}-arrow`]:{right:{_skip_check_:!0,value:l}}})),a(!!u.left,{[[`&-placement-left > ${o}-arrow`,`&-placement-leftTop > ${o}-arrow`,`&-placement-leftBottom > ${o}-arrow`].join(",")]:{right:{_skip_check_:!0,value:c},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${o}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${o}-arrow`]:{top:s},[`&-placement-leftBottom > ${o}-arrow`]:{bottom:s}})),a(!!u.right,{[[`&-placement-right > ${o}-arrow`,`&-placement-rightTop > ${o}-arrow`,`&-placement-rightBottom > ${o}-arrow`].join(",")]:{left:{_skip_check_:!0,value:c},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${o}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${o}-arrow`]:{top:s},[`&-placement-rightBottom > ${o}-arrow`]:{bottom:s}}))}}},20791:(e,t,n)=>{"use strict";n.d(t,{j:()=>i,n:()=>o});var r=n(21880);function o(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,o=t/2,i=o,a=1*r/Math.sqrt(2),s=o-r*(1-1/Math.sqrt(2)),l=o-n*(1/Math.sqrt(2)),c=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),u=2*o-l,d=c,f=2*o-a,h=s,p=2*o-0,m=i,v=o*Math.sqrt(2)+r*(Math.sqrt(2)-2),g=r*(Math.sqrt(2)-1);return{arrowShadowWidth:v,arrowPath:`path('M 0 ${i} A ${r} ${r} 0 0 0 ${a} ${s} L ${l} ${c} A ${n} ${n} 0 0 1 ${u} ${d} L ${f} ${h} A ${r} ${r} 0 0 0 ${p} ${m} Z')`,arrowPolygon:`polygon(${g}px 100%, 50% ${g}px, ${2*o-g}px 100%, ${g}px 100%)`}}const i=(e,t,n)=>{const{sizePopupArrow:o,arrowPolygon:i,arrowPath:a,arrowShadowWidth:s,borderRadiusXS:l,calc:c}=e;return{pointerEvents:"none",width:o,height:o,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:o,height:c(o).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:s,height:s,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,r.zA)(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}}},12609:(e,t,n)=>{"use strict";n.d(t,{A:()=>z});var r=n(96540),o=n(58373),i=n(46942),a=n.n(i),s=n(58168),l=n(64467),c=n(5544),u=n(80045),d=n(12533),f=n(16928),h=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],p=r.forwardRef((function(e,t){var n,o=e.prefixCls,i=void 0===o?"rc-switch":o,p=e.className,m=e.checked,v=e.defaultChecked,g=e.disabled,y=e.loadingIcon,b=e.checkedChildren,w=e.unCheckedChildren,E=e.onClick,x=e.onChange,S=e.onKeyDown,_=(0,u.A)(e,h),O=(0,d.A)(!1,{value:m,defaultValue:v}),C=(0,c.A)(O,2),A=C[0],k=C[1];function M(e,t){var n=A;return g||(k(n=e),null==x||x(n,t)),n}var T=a()(i,p,(n={},(0,l.A)(n,"".concat(i,"-checked"),A),(0,l.A)(n,"".concat(i,"-disabled"),g),n));return r.createElement("button",(0,s.A)({},_,{type:"button",role:"switch","aria-checked":A,disabled:g,className:T,ref:t,onKeyDown:function(e){e.which===f.A.LEFT?M(!1,e):e.which===f.A.RIGHT&&M(!0,e),null==S||S(e)},onClick:function(e){var t=M(!A,e);null==E||E(t,e)}}),y,r.createElement("span",{className:"".concat(i,"-inner")},r.createElement("span",{className:"".concat(i,"-inner-checked")},b),r.createElement("span",{className:"".concat(i,"-inner-unchecked")},w)))}));p.displayName="Switch";const m=p;var v=n(80516),g=n(57),y=n(62279),b=n(98119),w=n(829),E=n(21880),x=n(24978),S=n(25905),_=n(69028),O=n(80336);const C=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:o,innerMinMarginSM:i,innerMaxMarginSM:a,handleSizeSM:s,calc:l}=e,c=`${t}-inner`,u=(0,E.zA)(l(s).add(l(r).mul(2)).equal()),d=(0,E.zA)(l(a).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:o,height:n,lineHeight:(0,E.zA)(n),[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${c}-checked, ${c}-unchecked`]:{minHeight:n},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${c}-unchecked`]:{marginTop:l(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:l(l(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${(0,E.zA)(l(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:l(e.marginXXS).div(2).equal(),marginInlineEnd:l(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:l(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:l(e.marginXXS).div(2).equal()}}}}}}},A=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},k=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:o,handleSize:i,calc:a}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:n,insetInlineStart:n,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:a(i).div(2).equal(),boxShadow:o,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${(0,E.zA)(a(i).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},M=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:o,innerMaxMargin:i,handleSize:a,calc:s}=e,l=`${t}-inner`,c=(0,E.zA)(s(a).add(s(r).mul(2)).equal()),u=(0,E.zA)(s(i).mul(2).equal());return{[t]:{[l]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${l}-checked, ${l}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${c} - ${u})`,marginInlineEnd:`calc(100% - ${c} + ${u})`},[`${l}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${l}`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${c} + ${u})`,marginInlineEnd:`calc(-100% + ${c} - ${u})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:s(r).mul(2).equal(),marginInlineEnd:s(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:s(r).mul(-1).mul(2).equal(),marginInlineEnd:s(r).mul(2).equal()}}}}}},T=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.dF)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:`${(0,E.zA)(n)}`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),(0,S.K8)(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},P=(0,_.OF)("Switch",(e=>{const t=(0,O.h1)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[T(t),M(t),k(t),A(t),C(t)]}),(e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:o}=e,i=t*n,a=r/2,s=i-4,l=a-4;return{trackHeight:i,trackHeightSM:a,trackMinWidth:2*s+8,trackMinWidthSM:2*l+4,trackPadding:2,handleBg:o,handleSize:s,handleSizeSM:l,handleShadow:`0 2px 4px 0 ${new x.q("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:s/2,innerMaxMargin:s+2+4,innerMinMarginSM:l/2,innerMaxMarginSM:l+2+4}}));const I=r.forwardRef(((e,t)=>{const{prefixCls:n,size:i,disabled:s,loading:l,className:c,rootClassName:u,style:d,checked:f,value:h,defaultChecked:p,defaultValue:E,onChange:x}=e,S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[_,O]=(0,v.A)(!1,{value:null!=f?f:h,defaultValue:null!=p?p:E}),{getPrefixCls:C,direction:A,switch:k}=r.useContext(y.QO),M=r.useContext(b.A),T=(null!=s?s:M)||l,I=C("switch",n),j=r.createElement("div",{className:`${I}-handle`},l&&r.createElement(o.A,{className:`${I}-loading-icon`})),[z,D,R]=P(I),N=(0,w.A)(i),$=a()(null==k?void 0:k.className,{[`${I}-small`]:"small"===N,[`${I}-loading`]:l,[`${I}-rtl`]:"rtl"===A},c,u,D,R),F=Object.assign(Object.assign({},null==k?void 0:k.style),d);return z(r.createElement(g.A,{component:"Switch"},r.createElement(m,Object.assign({},S,{checked:_,onChange:function(){O(arguments.length<=0?void 0:arguments[0]),null==x||x.apply(void 0,arguments)},prefixCls:I,className:$,style:F,disabled:T,ref:t,loadingIcon:j}))))})),j=I;j.__ANT_SWITCH=!0;const z=j},56914:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var r=n(96540),o=n(46942),i=n.n(o),a=n(87196),s=n(54121),l=n(70064),c=n(40682),u=n(57),d=n(62279),f=n(21880),h=n(24978),p=n(25905),m=n(80336),v=n(69028);const g=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,o=e.fontSizeSM;return(0,m.h1)(e,{tagFontSize:o,tagLineHeight:(0,f.zA)(r(e.lineHeightSM).mul(o).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},y=e=>({defaultBg:new h.q(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),b=(0,v.OF)("Tag",(e=>(e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o,calc:i}=e,a=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[o]:Object.assign(Object.assign({},(0,p.dF)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,f.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}})(g(e))),y);const w=r.forwardRef(((e,t)=>{const{prefixCls:n,style:o,className:a,checked:s,onChange:l,onClick:c}=e,u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:h}=r.useContext(d.QO),p=f("tag",n),[m,v,g]=b(p),y=i()(p,`${p}-checkable`,{[`${p}-checkable-checked`]:s},null==h?void 0:h.className,a,v,g);return m(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},o),null==h?void 0:h.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))})),E=w;var x=n(31108);const S=(0,v.bf)(["Tag","preset"],(e=>(e=>(0,x.A)(e,((t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:i,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})))(g(e))),y),_=(e,t,n)=>{const r="string"!=typeof(o=n)?o:o.charAt(0).toUpperCase()+o.slice(1);var o;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},O=(0,v.bf)(["Tag","status"],(e=>{const t=g(e);return[_(t,"success","Success"),_(t,"processing","Info"),_(t,"error","Error"),_(t,"warning","Warning")]}),y);const C=r.forwardRef(((e,t)=>{const{prefixCls:n,className:o,rootClassName:f,style:h,children:p,icon:m,color:v,onClose:g,bordered:y=!0,visible:w}=e,E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:x,direction:_,tag:C}=r.useContext(d.QO),[A,k]=r.useState(!0),M=(0,a.A)(E,["closeIcon","closable"]);r.useEffect((()=>{void 0!==w&&k(w)}),[w]);const T=(0,s.nP)(v),P=(0,s.ZZ)(v),I=T||P,j=Object.assign(Object.assign({backgroundColor:v&&!I?v:void 0},null==C?void 0:C.style),h),z=x("tag",n),[D,R,N]=b(z),$=i()(z,null==C?void 0:C.className,{[`${z}-${v}`]:I,[`${z}-has-color`]:v&&!I,[`${z}-hidden`]:!A,[`${z}-rtl`]:"rtl"===_,[`${z}-borderless`]:!y},o,f,R,N),F=e=>{e.stopPropagation(),null==g||g(e),e.defaultPrevented||k(!1)},[,L]=(0,l.A)((0,l.d)(e),(0,l.d)(C),{closable:!1,closeIconRender:e=>{const t=r.createElement("span",{className:`${z}-close-icon`,onClick:F},e);return(0,c.fx)(e,t,(e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),F(t)},className:i()(null==e?void 0:e.className,`${z}-close-icon`)})))}}),B="function"==typeof E.onClick||p&&"a"===p.type,H=m||null,V=H?r.createElement(r.Fragment,null,H,p&&r.createElement("span",null,p)):p,U=r.createElement("span",Object.assign({},M,{ref:t,className:$,style:j}),V,L,T&&r.createElement(S,{key:"preset",prefixCls:z}),P&&r.createElement(O,{key:"status",prefixCls:z}));return D(B?r.createElement(u.A,{component:"Tag"},U):U)})),A=C;A.CheckableTag=E;const k=A},89864:(e,t,n)=>{"use strict";n.d(t,{vG:()=>m,sb:()=>p,zQ:()=>h});var r=n(96540),o=n(21880),i=n(20439),a=n(50723),s=n(24978);var l=n(94925);const c=(e,t)=>new s.q(e).setAlpha(t).toRgbString(),u=(e,t)=>new s.q(e).darken(t).toHexString(),d=e=>{const t=(0,i.cM)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},f=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:c(r,.88),colorTextSecondary:c(r,.65),colorTextTertiary:c(r,.45),colorTextQuaternary:c(r,.25),colorFill:c(r,.15),colorFillSecondary:c(r,.06),colorFillTertiary:c(r,.04),colorFillQuaternary:c(r,.02),colorBgLayout:u(n,4),colorBgContainer:u(n,0),colorBgElevated:u(n,0),colorBgSpotlight:c(r,.85),colorBgBlur:"transparent",colorBorder:u(n,15),colorBorderSecondary:u(n,6)}},h=(0,o.an)((function(e){const t=Object.keys(a.r).map((t=>{const n=(0,i.cM)(e[t]);return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),function(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:l,colorPrimary:c,colorBgBase:u,colorTextBase:d}=e,f=n(c),h=n(o),p=n(i),m=n(a),v=n(l),g=r(u,d),y=n(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},g),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:h[1],colorSuccessBgHover:h[2],colorSuccessBorder:h[3],colorSuccessBorderHover:h[4],colorSuccessHover:h[4],colorSuccess:h[6],colorSuccessActive:h[7],colorSuccessTextHover:h[8],colorSuccessText:h[9],colorSuccessTextActive:h[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorLinkHover:y[4],colorLink:y[6],colorLinkActive:y[7],colorBgMask:new s.q("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}(e,{generateColorPalettes:d,generateNeutralColorPalettes:f})),(e=>{const t=(0,l.A)(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight)),o=n[1],i=n[0],a=n[2],s=r[1],c=r[0],u=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(s*o),fontHeightLG:Math.round(u*a),fontHeightSM:Math.round(c*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}})(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),(e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}})(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},(e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}})(r))}(e))})),p={token:a.A,override:{override:a.A},hashed:!0},m=r.createContext(p)},13950:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});const r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},50723:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,r:()=>r});const r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},o=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0})},94925:(e,t,n)=>{"use strict";function r(e){return(e+8)/e}function o(e){const t=new Array(10).fill(null).map(((t,n)=>{const r=n-1,o=e*Math.pow(2.71828,r/5),i=n>1?Math.floor(o):Math.ceil(o);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:r(e)})))}n.d(t,{A:()=>o,k:()=>r})},365:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>y,Xe:()=>m,Is:()=>p});var r=n(96540),o=n(21880);const i="5.18.3";var a=n(89864),s=n(50723),l=n(24978);function c(e){return e>=0&&e<=255}const u=function(e,t){const{r:n,g:r,b:o,a:i}=new l.q(e).toRgb();if(i<1)return e;const{r:a,g:s,b:u}=new l.q(t).toRgb();for(let e=.01;e<=1;e+=.01){const t=Math.round((n-a*(1-e))/e),i=Math.round((r-s*(1-e))/e),d=Math.round((o-u*(1-e))/e);if(c(t)&&c(i)&&c(d))return new l.q({r:t,g:i,b:d,a:Math.round(100*e)/100}).toRgbString()}return new l.q({r:n,g:r,b:o,a:1}).toRgbString()};var d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function f(e){const{override:t}=e,n=d(e,["override"]),r=Object.assign({},t);Object.keys(s.A).forEach((e=>{delete r[e]}));const o=Object.assign(Object.assign({},n),r);if(!1===o.motion){const e="0s";o.motionDurationFast=e,o.motionDurationMid=e,o.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:u(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:u(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:u(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:4*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:u(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:"\n      0 6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 9px 28px 8px rgba(0, 0, 0, 0.05)\n    ",boxShadowSecondary:"\n      0 6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 9px 28px 8px rgba(0, 0, 0, 0.05)\n    ",boxShadowTertiary:"\n      0 1px 2px 0 rgba(0, 0, 0, 0.03),\n      0 1px 6px -1px rgba(0, 0, 0, 0.02),\n      0 2px 4px 0 rgba(0, 0, 0, 0.02)\n    ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n      0 1px 2px -2px ${new l.q("rgba(0, 0, 0, 0.16)").toRgbString()},\n      0 3px 6px 0 ${new l.q("rgba(0, 0, 0, 0.12)").toRgbString()},\n      0 5px 12px 4px ${new l.q("rgba(0, 0, 0, 0.09)").toRgbString()}\n    `,boxShadowDrawerRight:"\n      -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n      -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n      -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n    ",boxShadowDrawerLeft:"\n      6px 0 16px 0 rgba(0, 0, 0, 0.08),\n      3px 0 6px -4px rgba(0, 0, 0, 0.12),\n      9px 0 28px 8px rgba(0, 0, 0, 0.05)\n    ",boxShadowDrawerUp:"\n      0 6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 9px 28px 8px rgba(0, 0, 0, 0.05)\n    ",boxShadowDrawerDown:"\n      0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n      0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n      0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n    ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const p={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0},m={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},v={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},g=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,i=h(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=f(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=h(n,["theme"]);let i=o;r&&(i=g(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i})),a};function y(){const{token:e,hashed:t,theme:n,override:l,cssVar:c}=r.useContext(a.vG),u=`${i}-${t||""}`,d=n||a.zQ,[h,y,b]=(0,o.hV)(d,[s.A,e],{salt:u,override:l,getComputedToken:g,formatToken:f,cssVar:c&&{prefix:c.prefix,key:c.key,unitless:p,ignore:m,preserve:v}});return[d,b,t?y:"",h,c]}},69028:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g,OF:()=>b,bf:()=>y});var r=n(96540),o=n(21880),i=n(56476),a=n(55195);const s=new(function(){return(0,a.A)((function e(){(0,i.A)(this,e),this.map=new Map,this.objectIDMap=new WeakMap,this.nextID=0,this.lastAccessBeat=new Map,this.accessBeat=0}),[{key:"set",value:function(e,t){this.clear();const n=this.getCompositeKey(e);this.map.set(n,t),this.lastAccessBeat.set(n,Date.now())}},{key:"get",value:function(e){const t=this.getCompositeKey(e),n=this.map.get(t);return this.lastAccessBeat.set(t,Date.now()),this.accessBeat+=1,n}},{key:"getCompositeKey",value:function(e){return e.map((e=>e&&"object"==typeof e?`obj_${this.getObjectID(e)}`:`${typeof e}_${e}`)).join("|")}},{key:"getObjectID",value:function(e){if(this.objectIDMap.has(e))return this.objectIDMap.get(e);const t=this.nextID;return this.objectIDMap.set(e,t),this.nextID+=1,t}},{key:"clear",value:function(){if(this.accessBeat>1e4){const e=Date.now();this.lastAccessBeat.forEach(((t,n)=>{e-t>6e5&&(this.map.delete(n),this.lastAccessBeat.delete(n))})),this.accessBeat=0}}}])}()),l=function(e,t){return r.useMemo((()=>{const n=s.get(t);if(n)return n;const r=e();return s.set(t,r),r}),t)};n(23925);var c=n(62279),u=n(25905),d=n(365),f=n(80336),h=n(62366);const p=(e,t,n)=>{var r;return"function"==typeof n?n((0,f.h1)(t,null!==(r=t[e])&&void 0!==r?r:{})):null!=n?n:{}},m=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(null==r?void 0:r.deprecatedTokens){const{deprecatedTokens:e}=r;e.forEach((e=>{let[t,n]=e;var r;((null==o?void 0:o[t])||(null==o?void 0:o[n]))&&(null!==(r=o[n])&&void 0!==r||(o[n]=null==o?void 0:o[t]))}))}const i=Object.assign(Object.assign({},n),o);return Object.keys(i).forEach((e=>{i[e]===t[e]&&delete i[e]})),i},v=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function g(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const a=Array.isArray(e)?e:[e,e],[s]=a,g=a.join("-");return function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[y,b,w,E,x]=(0,d.Ay)(),{getPrefixCls:S,iconPrefixCls:_,csp:O}=(0,r.useContext)(c.QO),C=S(),A=x?"css":"js",k=l((()=>{const e=new Set;return x&&Object.keys(i.unitless||{}).forEach((t=>{e.add((0,o.Ki)(t,x.prefix)),e.add((0,o.Ki)(t,v(s,x.prefix)))})),(0,o.Q7)(A,e)}),[A,s,x&&x.prefix]),{max:M,min:T}=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return`max(${t.map((e=>(0,o.zA)(e))).join(",")})`},min:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return`min(${t.map((e=>(0,o.zA)(e))).join(",")})`}}}(A),P={theme:y,token:E,hashId:w,nonce:()=>null==O?void 0:O.nonce,clientOnly:i.clientOnly,layer:{name:"antd"},order:i.order||-999};return(0,o.IV)(Object.assign(Object.assign({},P),{clientOnly:!1,path:["Shared",C]}),(()=>[{"&":(0,u.av)(E)}])),(0,h.A)(_,O),[(0,o.IV)(Object.assign(Object.assign({},P),{path:[g,e,_]}),(()=>{if(!1===i.injectStyle)return[];const{token:r,flush:l}=(0,f.Ay)(E),c=p(s,b,n),d=`.${e}`,h=m(s,b,c,{deprecatedTokens:i.deprecatedTokens});x&&Object.keys(c).forEach((e=>{c[e]=`var(${(0,o.Ki)(e,v(s,x.prefix))})`}));const g=(0,f.h1)(r,{componentCls:d,prefixCls:e,iconCls:`.${_}`,antCls:`.${C}`,calc:k,max:M,min:T},x?c:h),y=t(g,{hashId:w,prefixCls:e,rootPrefixCls:C,iconPrefixCls:_});return l(s,h),[!1===i.resetStyle?null:(0,u.vj)(g,e,a,i.resetFont),y]})),w]}}const y=(e,t,n,r)=>{const o=g(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return e=>{let{prefixCls:t,rootCls:n=t}=e;return o(t,n),null}},b=(e,t,n,i)=>{const a=Array.isArray(e)?e[0]:e;function s(e){return`${a}${e.slice(0,1).toUpperCase()}${e.slice(1)}`}const l=i&&i.unitless||{},c=Object.assign(Object.assign({},d.Is),{[s("zIndexPopup")]:!0});Object.keys(l).forEach((e=>{c[s(e)]=l[e]}));const u=Object.assign(Object.assign({},i),{unitless:c,prefixToken:s}),f=g(e,t,n,u),h=((e,t,n)=>{const{unitless:i,injectStyle:a=!0,prefixToken:s}=n,l=r=>{let{rootCls:a,cssVar:l}=r;const[,c]=(0,d.Ay)();return(0,o.RC)({path:[e],prefix:l.prefix,key:null==l?void 0:l.key,unitless:i,ignore:d.Xe,token:c,scope:a},(()=>{const r=p(e,c,t),o=m(e,c,r,{deprecatedTokens:null==n?void 0:n.deprecatedTokens});return Object.keys(r).forEach((e=>{o[s(e)]=o[e],delete o[e]})),o})),null};return t=>{const[,,,,n]=(0,d.Ay)();return[o=>a&&n?r.createElement(r.Fragment,null,r.createElement(l,{rootCls:t,cssVar:n,component:e}),o):o,null==n?void 0:n.key]}})(a,n,u);return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[,n]=f(e,t),[r,o]=h(t);return[r,n,o]}}},31108:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(13950);function o(e,t){return r.s.reduce(((n,r)=>{const o=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:s}))}),{})}},80336:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,h1:()=>i});const r="undefined"!=typeof CSSINJS_STATISTIC;let o=!0;function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!r)return Object.assign.apply(Object,[{}].concat(t));o=!1;const i={};return t.forEach((e=>{Object.keys(e).forEach((t=>{Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:()=>e[t]})}))})),o=!0,i}const a={};function s(){}const l=e=>{let t,n=e,i=s;return r&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(o&&t.add(n),e[n])}),i=(e,n)=>{var r;a[e]={global:Array.from(t),component:Object.assign(Object.assign({},null===(r=a[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:i}}},62366:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(21880),o=n(25905),i=n(365);const a=(e,t)=>{const[n,a]=(0,i.Ay)();return(0,r.IV)({theme:n,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},(()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,o.Nk)()),{[`.${e} .${e}-icon`]:{display:"block"}})}]))}},65341:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},37977:(e,t,n)=>{"use strict";n.d(t,{A:()=>P});var r=n(96540),o=n(46942),i=n.n(o),a=n(80427),s=n(80516),l=n(60275),c=n(23723),u=n(13257),d=n(40682),f=n(18877),h=n(72616),p=n(62279),m=n(76327),v=n(365),g=n(21880),y=n(25905),b=n(99077),w=n(95201),E=n(20791),x=n(31108),S=n(80336),_=n(69028);const O=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:l,paddingSM:c,paddingXS:u}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.dF)(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:"1em",minHeight:s,padding:`${(0,g.zA)(e.calc(c).div(2).equal())} ${(0,g.zA)(u)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:l,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(i,w.Zs)}},[`${t}-content`]:{position:"relative"}}),(0,x.A)(e,((e,n)=>{let{darkColor:r}=n;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{"--antd-arrow-background-color":r}}}}))),{"&-rtl":{direction:"rtl"}})},(0,w.Ay)(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},C=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},(0,w.Ke)({contentRadius:e.borderRadius,limitVerticalRadius:!0})),(0,E.n)((0,S.h1)(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),A=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,_.OF)("Tooltip",(e=>{const{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r}=e,o=(0,S.h1)(e,{tooltipMaxWidth:250,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:r});return[O(o),(0,b.aB)(e,"zoom-big-fast")]}),C,{resetStyle:!1,injectStyle:t})(e)};var k=n(54121);function M(e,t){const n=(0,k.nP)(t),r=i()({[`${e}-${t}`]:t&&n}),o={},a={};return t&&!n&&(o.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:a}}const T=r.forwardRef(((e,t)=>{var n,o;const{prefixCls:g,openClassName:y,getTooltipContainer:b,overlayClassName:w,color:E,overlayInnerStyle:x,children:S,afterOpenChange:_,afterVisibleChange:O,destroyTooltipOnHide:C,arrow:k=!0,title:T,overlay:P,builtinPlacements:I,arrowPointAtCenter:j=!1,autoAdjustOverflow:z=!0}=e,D=!!k,[,R]=(0,v.Ay)(),{getPopupContainer:N,getPrefixCls:$,direction:F}=r.useContext(p.QO),L=(0,f.rJ)("Tooltip"),B=r.useRef(null),H=()=>{var e;null===(e=B.current)||void 0===e||e.forceAlign()};r.useImperativeHandle(t,(()=>{var e;return{forceAlign:H,forcePopupAlign:()=>{L.deprecated(!1,"forcePopupAlign","forceAlign"),H()},nativeElement:null===(e=B.current)||void 0===e?void 0:e.nativeElement}}));const[V,U]=(0,s.A)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),W=!T&&!P&&0!==T,q=r.useMemo((()=>{var e,t;let n=j;return"object"==typeof k&&(n=null!==(t=null!==(e=k.pointAtCenter)&&void 0!==e?e:k.arrowPointAtCenter)&&void 0!==t?t:j),I||(0,u.A)({arrowPointAtCenter:n,autoAdjustOverflow:z,arrowWidth:D?R.sizePopupArrow:0,borderRadius:R.borderRadius,offset:R.marginXXS,visibleFirst:!0})}),[j,k,I,R]),K=r.useMemo((()=>0===T?T:P||T||""),[P,T]),G=r.createElement(m.K6,null,"function"==typeof K?K():K),{getPopupContainer:X,placement:Y="top",mouseEnterDelay:Z=.1,mouseLeaveDelay:J=.1,overlayStyle:Q,rootClassName:ee}=e,te=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ne=$("tooltip",g),re=$(),oe=e["data-popover-inject"];let ie=V;"open"in e||"visible"in e||!W||(ie=!1);const ae=r.isValidElement(S)&&!(0,d.zv)(S)?S:r.createElement("span",null,S),se=ae.props,le=se.className&&"string"!=typeof se.className?se.className:i()(se.className,y||`${ne}-open`),[ce,ue,de]=A(ne,!oe),fe=M(ne,E),he=fe.arrowStyle,pe=Object.assign(Object.assign({},x),fe.overlayStyle),me=i()(w,{[`${ne}-rtl`]:"rtl"===F},fe.className,ee,ue,de),[ve,ge]=(0,l.YK)("Tooltip",te.zIndex),ye=r.createElement(a.A,Object.assign({},te,{zIndex:ve,showArrow:D,placement:Y,mouseEnterDelay:Z,mouseLeaveDelay:J,prefixCls:ne,overlayClassName:me,overlayStyle:Object.assign(Object.assign({},he),Q),getTooltipContainer:X||b||N,ref:B,builtinPlacements:q,overlay:G,visible:ie,onVisibleChange:t=>{var n,r;U(!W&&t),W||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},afterVisibleChange:null!=_?_:O,overlayInnerStyle:pe,arrowContent:r.createElement("span",{className:`${ne}-arrow-content`}),motion:{motionName:(0,c.b)(re,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!C}),ie?(0,d.Ob)(ae,{className:le}):ae);return ce(r.createElement(h.A.Provider,{value:ge},ye))}));T._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,className:n,placement:o="top",title:s,color:l,overlayInnerStyle:c}=e,{getPrefixCls:u}=r.useContext(p.QO),d=u("tooltip",t),[f,h,m]=A(d),v=M(d,l),g=v.arrowStyle,y=Object.assign(Object.assign({},c),v.overlayStyle),b=i()(h,m,d,`${d}-pure`,`${d}-placement-${o}`,n,v.className);return f(r.createElement("div",{className:b,style:g},r.createElement("div",{className:`${d}-arrow`}),r.createElement(a.z,Object.assign({},e,{className:h,prefixCls:d,overlayInnerStyle:y}),s)))};const P=T},86663:(e,t,n)=>{"use strict";n.d(t,{A:()=>be});var r=n(96540),o=n(18814),i=n(63187),a=n(58994),s=function(e,t){return r.createElement(a.A,(0,o.A)({},e,{ref:t,icon:i.A}))};const l=r.forwardRef(s);var c=n(46942),u=n.n(c),d=n(18462),f=n(1507),h=n(49886),p=n(80516),m=n(87196),v=n(85700),g=n(39313),y=function(e){if((0,g.A)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1};function b(e,t){return Array.isArray(e)||void 0===t?y(e):function(e,t){if(!y(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r}(e,t)}var w=n(4067);const E={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-flex"},x=r.forwardRef(((e,t)=>{const{style:n,noStyle:o,disabled:i,tabIndex:a=0}=e,s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["style","noStyle","disabled","tabIndex"]);let l={};return o||(l=Object.assign({},E)),i&&(l.pointerEvents="none"),l=Object.assign(Object.assign({},l),n),r.createElement("div",Object.assign({role:"button",tabIndex:a,ref:t},s,{onKeyDown:e=>{const{keyCode:t}=e;t===w.A.ENTER&&e.preventDefault()},onKeyUp:t=>{const{keyCode:n}=t,{onClick:r}=e;n===w.A.ENTER&&r&&r()},style:l}))}));var S=n(62279),_=n(19155),O=n(37977),C=n(805),A=function(e,t){return r.createElement(a.A,(0,o.A)({},e,{ref:t,icon:C.A}))};const k=r.forwardRef(A);var M=n(40682),T=n(98638),P=n(58766),I=n(69028),j=n(20439),z=n(21880);const D=e=>{const t={};return[1,2,3,4,5].forEach((n=>{t[`\n      h${n}&,\n      div&-h${n},\n      div&-h${n} > textarea,\n      h${n}\n    `]=((e,t,n,r)=>{const{titleMarginBottom:o,fontWeightStrong:i}=r;return{marginBottom:o,color:n,fontWeight:i,fontSize:e,lineHeight:t}})(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)})),t},R=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,P.Y)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},N=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:j.bK[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),$=e=>{const{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(r).mul(-1).equal(),marginBottom:`calc(1em - ${(0,z.zA)(r)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},F=e=>({[`${e.componentCls}-copy-success`]:{"\n    &,\n    &:hover,\n    &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),L=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n        div&,\n        p\n      ":{marginBottom:"1em"}},D(e)),{[`\n      & + h1${t},\n      & + h2${t},\n      & + h3${t},\n      & + h4${t},\n      & + h5${t}\n      `]:{marginTop:n},"\n      div,\n      ul,\n      li,\n      p,\n      h1,\n      h2,\n      h3,\n      h4,\n      h5":{"\n        + h1,\n        + h2,\n        + h3,\n        + h4,\n        + h5\n        ":{marginTop:n}}}),N(e)),R(e)),{[`\n        ${t}-expand,\n        ${t}-collapse,\n        ${t}-edit,\n        ${t}-copy\n      `]:Object.assign(Object.assign({},(0,P.Y)(e)),{marginInlineStart:e.marginXXS})}),$(e)),F(e)),{"\n  a&-ellipsis,\n  span&-ellipsis\n  ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),{"&-rtl":{direction:"rtl"}})}},B=(0,I.OF)("Typography",(e=>[L(e)]),(()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}))),H=e=>{const{prefixCls:t,"aria-label":n,className:o,style:i,direction:a,maxLength:s,autoSize:l=!0,value:c,onSave:d,onCancel:f,onEnd:h,component:p,enterIcon:m=r.createElement(k,null)}=e,v=r.useRef(null),g=r.useRef(!1),y=r.useRef(),[b,E]=r.useState(c);r.useEffect((()=>{E(c)}),[c]),r.useEffect((()=>{if(v.current&&v.current.resizableTextArea){const{textArea:e}=v.current.resizableTextArea;e.focus();const{length:t}=e.value;e.setSelectionRange(t,t)}}),[]);const x=()=>{d(b.trim())},S=p?`${t}-${p}`:"",[_,O,C]=B(t),A=u()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===a},o,S,O,C);return _(r.createElement("div",{className:A,style:i},r.createElement(T.A,{ref:v,maxLength:s,value:b,onChange:e=>{let{target:t}=e;E(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;g.current||(y.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:r,metaKey:o,shiftKey:i}=e;y.current!==t||g.current||n||r||o||i||(t===w.A.ENTER?(x(),null==h||h()):t===w.A.ESC&&f())},onCompositionStart:()=>{g.current=!0},onCompositionEnd:()=>{g.current=!1},onBlur:()=>{x()},"aria-label":n,rows:1,autoSize:l}),null!==m?(0,M.Ob)(m,{className:`${t}-edit-content-confirm`}):null))};var V=n(17965),U=n.n(V),W=n(23925);const q=e=>{let{copyConfig:t,children:n}=e;const[o,i]=r.useState(!1),[a,s]=r.useState(!1),l=r.useRef(null),c=()=>{l.current&&clearTimeout(l.current)},u={};return t.format&&(u.format=t.format),r.useEffect((()=>c),[]),{copied:o,copyLoading:a,onClick:(0,W._q)((e=>{return r=void 0,o=void 0,d=function*(){var r;null==e||e.preventDefault(),null==e||e.stopPropagation(),s(!0);try{const o="function"==typeof t.text?yield t.text():t.text;U()(o||String(n)||"",u),s(!1),i(!0),c(),l.current=setTimeout((()=>{i(!1)}),3e3),null===(r=t.onCopy)||void 0===r||r.call(t,e)}catch(e){throw s(!1),e}},new((a=void 0)||(a=Promise))((function(e,t){function n(e){try{s(d.next(e))}catch(e){t(e)}}function i(e){try{s(d.throw(e))}catch(e){t(e)}}function s(t){var r;t.done?e(t.value):(r=t.value,r instanceof a?r:new a((function(e){e(r)}))).then(n,i)}s((d=d.apply(r,o||[])).next())}));var r,o,a,d}))}};function K(e,t){return r.useMemo((()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]}),[e])}const G=r.forwardRef(((e,t)=>{const{prefixCls:n,component:o="article",className:i,rootClassName:a,setContentRef:s,children:l,direction:c,style:d}=e,f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:h,direction:p,typography:m}=r.useContext(S.QO),g=null!=c?c:p;let y=t;s&&(y=(0,v.K4)(t,s));const b=h("typography",n),[w,E,x]=B(b),_=u()(b,null==m?void 0:m.className,{[`${b}-rtl`]:"rtl"===g},i,a,E,x),O=Object.assign(Object.assign({},null==m?void 0:m.style),d);return w(r.createElement(o,Object.assign({className:_,style:O,ref:y},f),l))})),X=G;var Y=n(33931),Z=n(57518),J=function(e,t){return r.createElement(a.A,(0,o.A)({},e,{ref:t,icon:Z.A}))};const Q=r.forwardRef(J);var ee=n(58373);function te(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}function ne(e,t,n){return!0===e||void 0===e?t:e||n&&t}const re=e=>{const{prefixCls:t,copied:n,locale:o,iconOnly:i,tooltips:a,icon:s,loading:l,tabIndex:c,onCopy:d}=e,f=te(a),h=te(s),{copied:p,copy:m}=null!=o?o:{},v=n?ne(f[1],p):ne(f[0],m),g="string"==typeof v?v:n?p:m;return r.createElement(O.A,{key:"copy",title:v},r.createElement(x,{className:u()(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:i}),onClick:d,"aria-label":g,tabIndex:c},n?ne(h[1],r.createElement(Y.A,null),!0):ne(h[0],l?r.createElement(ee.A,null):r.createElement(Q,null),!0)))};var oe=n(28831);const ie=r.forwardRef(((e,t)=>{let{style:n,children:o}=e;const i=r.useRef(null);return r.useImperativeHandle(t,(()=>({isExceed:()=>{const e=i.current;return e.scrollHeight>e.clientHeight},getHeight:()=>i.current.clientHeight}))),r.createElement("span",{"aria-hidden":!0,ref:i,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},o)}));function ae(e){const t=typeof e;return"string"===t||"number"===t}function se(e,t){let n=0;const r=[];for(let o=0;o<e.length;o+=1){if(n===t)return r;const i=e[o],a=n+(ae(i)?String(i).length:1);if(a>t){const e=t-n;return r.push(String(i).slice(0,e)),r}r.push(i),n=a}return e}const le={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function ce(e){const{enableMeasure:t,width:n,text:o,children:i,rows:a,expanded:s,miscDeps:l,onEllipsis:c}=e,u=r.useMemo((()=>(0,f.A)(o)),[o]),d=r.useMemo((()=>function(e){let t=0;return e.forEach((e=>{ae(e)?t+=String(e).length:t+=1})),t}(u)),[o]),p=r.useMemo((()=>i(u,!1)),[o]),[m,v]=r.useState(null),g=r.useRef(null),y=r.useRef(null),b=r.useRef(null),w=r.useRef(null),[E,x]=r.useState(!1),[S,_]=r.useState(0),[O,C]=r.useState(0);(0,h.A)((()=>{_(t&&n&&d?1:0)}),[n,o,a,t,u]),(0,h.A)((()=>{var e,t,n,r;if(1===S){const o=!!(null===(e=y.current)||void 0===e?void 0:e.isExceed());_(o?2:3),v(o?[0,d]:null),x(o);const i=(null===(t=y.current)||void 0===t?void 0:t.getHeight())||0,s=(1===a?0:(null===(n=b.current)||void 0===n?void 0:n.getHeight())||0)+((null===(r=w.current)||void 0===r?void 0:r.getHeight())||0),l=Math.max(i,s);C(l+1),c(o)}}),[S]);const A=m?Math.ceil((m[0]+m[1])/2):0;(0,h.A)((()=>{var e;const[t,n]=m||[0,0];if(t!==n){const r=((null===(e=g.current)||void 0===e?void 0:e.getHeight())||0)>O;let o=A;n-t==1&&(o=r?t:n),v(r?[t,o]:[o,n])}}),[m,A]);const k=r.useMemo((()=>{if(2!==S||!m||m[0]!==m[1]){const e=i(u,!1);return 3!==S&&0!==S?r.createElement("span",{style:Object.assign(Object.assign({},le),{WebkitLineClamp:a})},e):e}return i(s?u:se(u,m[0]),E)}),[s,S,m,u].concat((0,oe.A)(l))),M={width:n,margin:0,padding:0};return r.createElement(r.Fragment,null,k,1===S&&r.createElement(r.Fragment,null,r.createElement(ie,{style:Object.assign(Object.assign(Object.assign({},M),le),{WebkitLineClamp:a}),ref:y},p),r.createElement(ie,{style:Object.assign(Object.assign(Object.assign({},M),le),{WebkitLineClamp:a-1}),ref:b},p),r.createElement(ie,{style:Object.assign(Object.assign(Object.assign({},M),le),{WebkitLineClamp:1}),ref:w},i([],!0))),2===S&&m&&m[0]!==m[1]&&r.createElement(ie,{style:Object.assign(Object.assign({},M),{top:400}),ref:g},i(se(u,A),!0)))}const ue=e=>{let{enableEllipsis:t,isEllipsis:n,children:o,tooltipProps:i}=e;return(null==i?void 0:i.title)&&t?r.createElement(O.A,Object.assign({open:!!n&&void 0},i),o):o};const de=r.forwardRef(((e,t)=>{var n,o,i;const{prefixCls:a,className:s,style:c,type:g,disabled:y,children:w,ellipsis:E,editable:C,copyable:A,component:k,title:M}=e,T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:P,direction:I}=r.useContext(S.QO),[j]=(0,_.A)("Text"),z=r.useRef(null),D=r.useRef(null),R=P("typography",a),N=(0,m.A)(T,["mark","code","delete","underline","strong","keyboard","italic"]),[$,F]=K(C),[L,B]=(0,p.A)(!1,{value:F.editing}),{triggerType:V=["icon"]}=F,U=e=>{var t;e&&(null===(t=F.onStart)||void 0===t||t.call(F)),B(e)},W=(e=>{const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e})),t.current})(L);((e,t)=>{const n=r.useRef(!1);r.useEffect((()=>{n.current?e():n.current=!0}),t)})((()=>{var e;!L&&W&&(null===(e=D.current)||void 0===e||e.focus())}),[L]);const G=e=>{null==e||e.preventDefault(),U(!0)},[Y,Z]=K(A),{copied:J,copyLoading:Q,onClick:ee}=q({copyConfig:Z,children:w}),[te,ne]=r.useState(!1),[oe,ie]=r.useState(!1),[ae,se]=r.useState(!1),[le,de]=r.useState(!1),[fe,he]=r.useState(!0),[pe,me]=K(E,{expandable:!1,symbol:e=>e?null==j?void 0:j.collapse:null==j?void 0:j.expand}),[ve,ge]=(0,p.A)(me.defaultExpanded||!1,{value:me.expanded}),ye=pe&&(!ve||"collapsible"===me.expandable),{rows:be=1}=me,we=r.useMemo((()=>ye&&(void 0!==me.suffix||me.onEllipsis||me.expandable||$||Y)),[ye,me,$,Y]);(0,h.A)((()=>{pe&&!we&&(ne(b("webkitLineClamp")),ie(b("textOverflow")))}),[we,pe]);const[Ee,xe]=r.useState(ye),Se=r.useMemo((()=>!we&&(1===be?oe:te)),[we,oe,te]);(0,h.A)((()=>{xe(Se&&ye)}),[Se,ye]);const _e=ye&&(Ee?le:ae),Oe=ye&&1===be&&Ee,Ce=ye&&be>1&&Ee,[Ae,ke]=r.useState(0),Me=e=>{var t;se(e),ae!==e&&(null===(t=me.onEllipsis)||void 0===t||t.call(me,e))};r.useEffect((()=>{const e=z.current;if(pe&&Ee&&e){const t=Ce?e.offsetHeight<e.scrollHeight:e.offsetWidth<e.scrollWidth;le!==t&&de(t)}}),[pe,Ee,w,Ce,fe,Ae]),r.useEffect((()=>{const e=z.current;if("undefined"==typeof IntersectionObserver||!e||!Ee||!ye)return;const t=new IntersectionObserver((()=>{he(!!e.offsetParent)}));return t.observe(e),()=>{t.disconnect()}}),[Ee,ye]);let Te={};Te=!0===me.tooltip?{title:null!==(n=F.text)&&void 0!==n?n:w}:r.isValidElement(me.tooltip)?{title:me.tooltip}:"object"==typeof me.tooltip?Object.assign({title:null!==(o=F.text)&&void 0!==o?o:w},me.tooltip):{title:me.tooltip};const Pe=r.useMemo((()=>{const e=e=>["string","number"].includes(typeof e);if(pe&&!Ee)return e(F.text)?F.text:e(w)?w:e(M)?M:e(Te.title)?Te.title:void 0}),[pe,Ee,M,Te.title,_e]);if(L)return r.createElement(H,{value:null!==(i=F.text)&&void 0!==i?i:"string"==typeof w?w:"",onSave:e=>{var t;null===(t=F.onChange)||void 0===t||t.call(F,e),U(!1)},onCancel:()=>{var e;null===(e=F.onCancel)||void 0===e||e.call(F),U(!1)},onEnd:F.onEnd,prefixCls:R,className:s,style:c,direction:I,component:k,maxLength:F.maxLength,autoSize:F.autoSize,enterIcon:F.enterIcon});const Ie=()=>{const{expandable:e,symbol:t}=me;return e?ve&&"collapsible"!==e?null:r.createElement("a",{key:"expand",className:`${R}-${ve?"collapse":"expand"}`,onClick:e=>((e,t)=>{var n;ge(t.expanded),null===(n=me.onExpand)||void 0===n||n.call(me,e,t)})(e,{expanded:!ve}),"aria-label":ve?j.collapse:null==j?void 0:j.expand},"function"==typeof t?t(ve):t):null},je=()=>{if(!$)return;const{icon:e,tooltip:t,tabIndex:n}=F,o=(0,f.A)(t)[0]||(null==j?void 0:j.edit),i="string"==typeof o?o:"";return V.includes("icon")?r.createElement(O.A,{key:"edit",title:!1===t?"":o},r.createElement(x,{ref:D,className:`${R}-edit`,onClick:G,"aria-label":i,tabIndex:n},e||r.createElement(l,{role:"button"}))):null},ze=e=>[e&&Ie(),je(),Y?r.createElement(re,Object.assign({key:"copy"},Z,{prefixCls:R,copied:J,locale:j,onCopy:ee,loading:Q,iconOnly:null==w})):null];return r.createElement(d.A,{onResize:e=>{let{offsetWidth:t}=e;ke(t)},disabled:!ye},(n=>r.createElement(ue,{tooltipProps:Te,enableEllipsis:ye,isEllipsis:_e},r.createElement(X,Object.assign({className:u()({[`${R}-${g}`]:g,[`${R}-disabled`]:y,[`${R}-ellipsis`]:pe,[`${R}-ellipsis-single-line`]:Oe,[`${R}-ellipsis-multiple-line`]:Ce},s),prefixCls:a,style:Object.assign(Object.assign({},c),{WebkitLineClamp:Ce?be:void 0}),component:k,ref:(0,v.K4)(n,z,t),direction:I,onClick:V.includes("text")?G:void 0,"aria-label":null==Pe?void 0:Pe.toString(),title:M},N),r.createElement(ce,{enableMeasure:ye&&!Ee,text:w,rows:be,width:Ae,onEllipsis:Me,expanded:ve,miscDeps:[J,ve,Q,$,Y]},((t,n)=>function(e,t){let{mark:n,code:o,underline:i,delete:a,strong:s,keyboard:l,italic:c}=e,u=t;function d(e,t){t&&(u=r.createElement(e,{},u))}return d("strong",s),d("u",i),d("del",a),d("code",o),d("mark",n),d("kbd",l),d("i",c),u}(e,r.createElement(r.Fragment,null,t.length>0&&n&&!ve&&Pe?r.createElement("span",{key:"show-content","aria-hidden":!0},t):t,(e=>[e&&!ve&&r.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),me.suffix,ze(e)])(n)))))))))}));const fe=r.forwardRef(((e,t)=>{var{ellipsis:n,rel:o}=e,i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["ellipsis","rel"]);const a=Object.assign(Object.assign({},i),{rel:void 0===o&&"_blank"===i.target?"noopener noreferrer":o});return delete a.navigate,r.createElement(de,Object.assign({},a,{ref:t,ellipsis:!!n,component:"a"}))})),he=r.forwardRef(((e,t)=>r.createElement(de,Object.assign({ref:t},e,{component:"div"}))));const pe=(e,t)=>{var{ellipsis:n}=e,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["ellipsis"]);const i=r.useMemo((()=>n&&"object"==typeof n?(0,m.A)(n,["expandable","rows"]):n),[n]);return r.createElement(de,Object.assign({ref:t},o,{ellipsis:i,component:"span"}))},me=r.forwardRef(pe);const ve=[1,2,3,4,5],ge=r.forwardRef(((e,t)=>{const{level:n=1}=e,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["level"]);let i;return i=ve.includes(n)?`h${n}`:"h1",r.createElement(de,Object.assign({ref:t},o,{component:i}))})),ye=X;ye.Text=me,ye.Link=fe,ye.Title=ge,ye.Paragraph=he;const be=ye},28557:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});var r=n(96540),o=n(23925);function i(){}const a=r.createContext({add:i,remove:i});function s(e){const t=r.useContext(a),n=r.useRef();return(0,o._q)((r=>{if(r){const o=e?r.querySelector(e):r;t.add(o),n.current=o}else t.remove(n.current)}))}},58994:(e,t,n)=>{"use strict";n.d(t,{A:()=>W});var r=n(18814);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t,n){return r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==a(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var r}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=n(96540),u=n(46942),d=n.n(u),f=n(20439),h=n(14432);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v="data-rc-order",g="data-rc-priority",y="rc-util-key",b=new Map;function w(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):y}function E(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function x(e){return Array.from((b.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"==typeof window||!window.document||!window.document.createElement)return null;var n=t.csp,r=t.prepend,o=t.priority,i=void 0===o?0:o,a=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),s="prependQueue"===a,l=document.createElement("style");l.setAttribute(v,a),s&&i&&l.setAttribute(g,"".concat(i)),null!=n&&n.nonce&&(l.nonce=null==n?void 0:n.nonce),l.innerHTML=e;var c=E(t),u=c.firstChild;if(r){if(s){var d=(t.styles||x(c)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(v)))return!1;var t=Number(e.getAttribute(g)||0);return i>=t}));if(d.length)return c.insertBefore(l,d[d.length-1].nextSibling),l}c.insertBefore(l,u)}else c.appendChild(l);return l}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=E(n),o=x(r),i=m(m({},n),{},{styles:o});!function(e,t){var n=b.get(e);if(!n||!function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}(document,n)){var r=S("",t),o=r.parentNode;b.set(e,o),e.removeChild(r)}}(r,i);var a,s,l,c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E(t);return(t.styles||x(n)).find((function(n){return n.getAttribute(w(t))===e}))}(t,i);if(c)return null!==(a=i.csp)&&void 0!==a&&a.nonce&&c.nonce!==(null===(s=i.csp)||void 0===s?void 0:s.nonce)&&(c.nonce=null===(l=i.csp)||void 0===l?void 0:l.nonce),c.innerHTML!==e&&(c.innerHTML=e),c;var u=S(e,i);return u.setAttribute(w(i),t),u}function O(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}var C={},A=[];function k(e,t){}function M(e,t){}function T(e,t,n){t||C[n]||(e(!1,n),C[n]=!0)}function P(e,t){T(k,e,t)}P.preMessage=function(e){A.push(e)},P.resetWarned=function(){C={}},P.noteOnce=function(e,t){T(M,e,t)};const I=P;function j(e){return"object"===a(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===a(e.icon)||"function"==typeof e.icon)}function z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,o=e[n];return"class"===n?(t.className=o,delete t.class):(delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o),t}),{})}function D(e,t,n){return n?c.createElement(e.tag,m(m({key:t},z(e.attrs)),n),(e.children||[]).map((function(n,r){return D(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):c.createElement(e.tag,m({key:t},z(e.attrs)),(e.children||[]).map((function(n,r){return D(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function R(e){return(0,f.cM)(e)[0]}function N(e){return e?Array.isArray(e)?e:[e]:[]}var $=["icon","className","onClick","style","primaryColor","secondaryColor"],F={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},L=function(e){var t,n,r,o,i,a,s,u=e.icon,d=e.className,f=e.onClick,p=e.style,v=e.primaryColor,g=e.secondaryColor,y=l(e,$),b=c.useRef(),w=F;if(v&&(w={primaryColor:v,secondaryColor:g||R(v)}),t=b,n=(0,c.useContext)(h.A),r=n.csp,o=n.prefixCls,i="\n.anticon {\n  display: inline-flex;\n  align-items: center;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n  line-height: 1;\n}\n\n.anticon svg {\n  display: inline-block;\n}\n\n.anticon::before {\n  display: none;\n}\n\n.anticon .anticon-icon {\n  display: block;\n}\n\n.anticon[tabindex] {\n  cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n  display: inline-block;\n  -webkit-animation: loadingCircle 1s infinite linear;\n  animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n\n@keyframes loadingCircle {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n",o&&(i=i.replace(/anticon/g,o)),(0,c.useEffect)((function(){var e,n=function(e){return O(e)instanceof ShadowRoot}(e=t.current)?O(e):null;_(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})}),[]),a=j(u),s="icon should be icon definiton, but got ".concat(u),I(a,"[@ant-design/icons] ".concat(s)),!j(u))return null;var E=u;return E&&"function"==typeof E.icon&&(E=m(m({},E),{},{icon:E.icon(w.primaryColor,w.secondaryColor)})),D(E.icon,"svg-".concat(E.name),m(m({className:d,onClick:f,style:p,"data-icon":E.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},y),{},{ref:b}))};L.displayName="IconReact",L.getTwoToneColors=function(){return m({},F)},L.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;F.primaryColor=t,F.secondaryColor=n||R(t),F.calculated=!!n};const B=L;function H(e){var t=i(N(e),2),n=t[0],r=t[1];return B.setTwoToneColors({primaryColor:n,secondaryColor:r})}var V=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];H(f.z1.primary);var U=c.forwardRef((function(e,t){var n=e.className,o=e.icon,a=e.spin,u=e.rotate,f=e.tabIndex,p=e.onClick,m=e.twoToneColor,v=l(e,V),g=c.useContext(h.A),y=g.prefixCls,b=void 0===y?"anticon":y,w=g.rootClassName,E=d()(w,b,s(s({},"".concat(b,"-").concat(o.name),!!o.name),"".concat(b,"-spin"),!!a||"loading"===o.name),n),x=f;void 0===x&&p&&(x=-1);var S=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,_=i(N(m),2),O=_[0],C=_[1];return c.createElement("span",(0,r.A)({role:"img","aria-label":o.name},v,{ref:t,tabIndex:x,onClick:p,className:E}),c.createElement(B,{icon:o,primaryColor:O,secondaryColor:C,style:S}))}));U.displayName="AntdIcon",U.getTwoToneColor=function(){var e=B.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},U.setTwoToneColor=H;const W=U},14432:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(96540).createContext)({})},78377:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(18814),o=n(96540);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var a=n(58994),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(s)},33931:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(18814),o=n(96540);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};var a=n(58994),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(s)},25578:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(18814),o=n(96540);const i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};var a=n(58994),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(s)},91937:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(18814),o=n(96540),i=n(94619),a=n(58994),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i.A}))};const l=o.forwardRef(s)},82217:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(18814),o=n(96540),i=n(98535),a=n(58994),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i.A}))};const l=o.forwardRef(s)},64351:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(18814),o=n(96540);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};var a=n(58994),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(s)},43019:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(18814),o=n(96540);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};var a=n(58994),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(s)},98846:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(18814),o=n(96540);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};var a=n(58994),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(s)},84488:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(18814),o=n(96540),i=n(28838),a=n(58994),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i.A}))};const l=o.forwardRef(s)},58373:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(18814),o=n(96540);const i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};var a=n(58994),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(s)},64179:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(18814),o=n(96540),i=n(62257),a=n(58994),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i.A}))};const l=o.forwardRef(s)},8834:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(18814),o=n(96540);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};var a=n(58994),s=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(s)},93853:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}function i(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,{aF:()=>Se,Kq:()=>y,Ay:()=>_e});var u=n(46942),d=n.n(u),f=n(2491),h=n(85700),p=n(96540);function m(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var v=["children"],g=p.createContext({});function y(e){var t=e.children,n=m(e,v);return p.createElement(g.Provider,{value:n},t)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function E(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function x(e,t){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},x(e,t)}function S(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(e,t)}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(O=function(){return!!e})()}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e){var t=O();return function(){var n,o=_(e);if(t){var i=_(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return C(e)}(this,n)}}const k=function(e){S(n,e);var t=A(n);function n(){return b(this,n),t.apply(this,arguments)}return E(n,[{key:"render",value:function(){return this.props.children}}]),n}(p.Component);var M=n(23925),T=n(98788),P=n(13553),I=n(78201),j="none",z="appear",D="enter",R="leave",N="none",$="prepare",F="start",L="active",B="end",H="prepared",V=n(39313);function U(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var W,q,K,G=(W=(0,V.A)(),q="undefined"!=typeof window?window:{},K={animationend:U("Animation","AnimationEnd"),transitionend:U("Transition","TransitionEnd")},W&&("AnimationEvent"in q||delete K.animationend.animation,"TransitionEvent"in q||delete K.transitionend.transition),K),X={};if((0,V.A)()){var Y=document.createElement("div");X=Y.style}var Z={};function J(e){if(Z[e])return Z[e];var t=G[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in X)return Z[e]=t[i],Z[e]}return""}var Q=J("animationend"),ee=J("transitionend"),te=!(!Q||!ee),ne=Q||"animationend",re=ee||"transitionend";function oe(e,t){return e?"object"===r(e)?e[t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:"".concat(e,"-").concat(t):null}const ie=(0,V.A)()?p.useLayoutEffect:p.useEffect;var ae=n(98656),se=[$,F,L,B],le=[$,H],ce=!1;function ue(e){return e===L||e===B}function de(e,t,n,r){var o,a,l,u,d=r.motionEnter,f=void 0===d||d,h=r.motionAppear,m=void 0===h||h,v=r.motionLeave,g=void 0===v||v,y=r.motionDeadline,b=r.motionLeaveImmediately,w=r.onAppearPrepare,E=r.onEnterPrepare,x=r.onLeavePrepare,S=r.onAppearStart,_=r.onEnterStart,O=r.onLeaveStart,C=r.onAppearActive,A=r.onEnterActive,k=r.onLeaveActive,V=r.onAppearEnd,U=r.onEnterEnd,W=r.onLeaveEnd,q=r.onVisibleChanged,K=c((0,T.A)(),2),G=K[0],X=K[1],Y=c((o=j,a=p.useReducer((function(e){return e+1}),0),l=(0,P.A)(a,2)[1],u=p.useRef(o),[(0,I.A)((function(){return u.current})),(0,I.A)((function(e){u.current="function"==typeof e?e(u.current):e,l()}))]),2),Z=Y[0],J=Y[1],Q=c((0,T.A)(null),2),ee=Q[0],te=Q[1],oe=Z(),de=(0,p.useRef)(!1),fe=(0,p.useRef)(null);function he(){return n()}var pe=(0,p.useRef)(!1);function me(){J(j),te(null,!0)}var ve=(0,M._q)((function(e){var t=Z();if(t!==j){var n=he();if(!e||e.deadline||e.target===n){var r,o=pe.current;t===z&&o?r=null==V?void 0:V(n,e):t===D&&o?r=null==U?void 0:U(n,e):t===R&&o&&(r=null==W?void 0:W(n,e)),o&&!1!==r&&me()}}})),ge=c(function(e){var t=(0,p.useRef)();function n(t){t&&(t.removeEventListener(re,e),t.removeEventListener(ne,e))}return p.useEffect((function(){return function(){n(t.current)}}),[]),[function(r){t.current&&t.current!==r&&n(t.current),r&&r!==t.current&&(r.addEventListener(re,e),r.addEventListener(ne,e),t.current=r)},n]}(ve),1)[0],ye=function(e){switch(e){case z:return i(i(i({},$,w),F,S),L,C);case D:return i(i(i({},$,E),F,_),L,A);case R:return i(i(i({},$,x),F,O),L,k);default:return{}}},be=p.useMemo((function(){return ye(oe)}),[oe]),we=c(function(e,t,n){var r=c((0,T.A)(N),2),o=r[0],i=r[1],a=function(){var e=p.useRef(null);function t(){ae.A.cancel(e.current)}return p.useEffect((function(){return function(){t()}}),[]),[function n(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,ae.A)((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),s=c(a,2),l=s[0],u=s[1],d=t?le:se;return ie((function(){if(o!==N&&o!==B){var e=d.indexOf(o),t=d[e+1],r=n(o);r===ce?i(t,!0):t&&l((function(e){function n(){e.isCanceled()||i(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,o]),p.useEffect((function(){return function(){u()}}),[]),[function(){i($,!0)},o]}(oe,!e,(function(e){if(e===$){var t=be[$];return t?t(he()):ce}var n;return xe in be&&te((null===(n=be[xe])||void 0===n?void 0:n.call(be,he(),null))||null),xe===L&&oe!==j&&(ge(he()),y>0&&(clearTimeout(fe.current),fe.current=setTimeout((function(){ve({deadline:!0})}),y))),xe===H&&me(),true})),2),Ee=we[0],xe=we[1],Se=ue(xe);pe.current=Se,ie((function(){X(t);var n,r=de.current;de.current=!0,!r&&t&&m&&(n=z),r&&t&&f&&(n=D),(r&&!t&&g||!r&&b&&!t&&g)&&(n=R);var o=ye(n);n&&(e||o[$])?(J(n),Ee()):J(j)}),[t]),(0,p.useEffect)((function(){(oe===z&&!m||oe===D&&!f||oe===R&&!g)&&J(j)}),[m,f,g]),(0,p.useEffect)((function(){return function(){de.current=!1,clearTimeout(fe.current)}}),[]);var _e=p.useRef(!1);(0,p.useEffect)((function(){G&&(_e.current=!0),void 0!==G&&oe===j&&((_e.current||G)&&(null==q||q(G)),_e.current=!0)}),[G,oe]);var Oe=ee;return be[$]&&xe===F&&(Oe=s({transition:"none"},Oe)),[oe,xe,Oe,null!=G?G:t]}const fe=function(e){var t=e;"object"===r(e)&&(t=e.transitionSupport);var n=p.forwardRef((function(e,n){var r=e.visible,o=void 0===r||r,a=e.removeOnLeave,l=void 0===a||a,u=e.forceRender,m=e.children,v=e.motionName,y=e.leavedClassName,b=e.eventProps,w=function(e,n){return!(!e.motionName||!t||!1===n)}(e,p.useContext(g).motion),E=(0,p.useRef)(),x=(0,p.useRef)(),S=c(de(w,o,(function(){try{return E.current instanceof HTMLElement?E.current:(0,f.Ay)(x.current)}catch(e){return null}}),e),4),_=S[0],O=S[1],C=S[2],A=S[3],M=p.useRef(A);A&&(M.current=!0);var T,P=p.useCallback((function(e){E.current=e,(0,h.Xf)(n,e)}),[n]),I=s(s({},b),{},{visible:o});if(m)if(_===j)T=A?m(s({},I),P):!l&&M.current&&y?m(s(s({},I),{},{className:y}),P):u||!l&&!y?m(s(s({},I),{},{style:{display:"none"}}),P):null;else{var z;O===$?z="prepare":ue(O)?z="active":O===F&&(z="start");var D=oe(v,"".concat(_,"-").concat(z));T=m(s(s({},I),{},{className:d()(oe(v,_),i(i({},D,D&&z),v,"string"==typeof v)),style:C}),P)}else T=null;return p.isValidElement(T)&&(0,h.f3)(T)&&(T.ref||(T=p.cloneElement(T,{ref:P}))),p.createElement(k,{ref:x},T)}));return n.displayName="CSSMotion",n}(te);function he(){return he=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},he.apply(this,arguments)}var pe="add",me="keep",ve="remove",ge="removed";function ye(e){var t;return s(s({},t=e&&"object"===r(e)&&"key"in e?e:{key:e}),{},{key:String(t.key)})}function be(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(ye)}var we=["component","children","onVisibleChanged","onAllRemoved"],Ee=["status"],xe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const Se=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fe,n=function(e){S(r,e);var n=A(r);function r(){var e;b(this,r);for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return i(C(e=n.call.apply(n,[this].concat(o))),"state",{keyEntities:[]}),i(C(e),"removeKey",(function(t){var n=e.state.keyEntities.map((function(e){return e.key!==t?e:s(s({},e),{},{status:ge})}));return e.setState({keyEntities:n}),n.filter((function(e){return e.status!==ge})).length})),e}return E(r,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,r=this.props,o=r.component,i=r.children,a=r.onVisibleChanged,l=r.onAllRemoved,c=m(r,we),u=o||p.Fragment,d={};return xe.forEach((function(e){d[e]=c[e],delete c[e]})),delete c.keys,p.createElement(u,c,n.map((function(n,r){var o=n.status,c=m(n,Ee),u=o===pe||o===me;return p.createElement(t,he({},d,{key:c.key,visible:u,eventProps:c,onVisibleChanged:function(t){null==a||a(t,{key:c.key}),t||0===e.removeKey(c.key)&&l&&l()}}),(function(e,t){return i(s(s({},e),{},{index:r}),t)}))})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities,o=be(n),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=be(e),a=be(t);i.forEach((function(e){for(var t=!1,i=r;i<o;i+=1){var l=a[i];if(l.key===e.key){r<i&&(n=n.concat(a.slice(r,i).map((function(e){return s(s({},e),{},{status:pe})}))),r=i),n.push(s(s({},l),{},{status:me})),r+=1,t=!0;break}}t||n.push(s(s({},e),{},{status:ve}))})),r<o&&(n=n.concat(a.slice(r).map((function(e){return s(s({},e),{},{status:pe})}))));var l={};return n.forEach((function(e){var t=e.key;l[t]=(l[t]||0)+1})),Object.keys(l).filter((function(e){return l[e]>1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==ve}))).forEach((function(t){t.key===e&&(t.status=me)}))})),n}(r,o);return{keyEntities:i.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==ge||e.status!==ve}))}}}]),r}(p.Component);return i(n,"defaultProps",{component:"div"}),n}(te),_e=fe},1507:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(96540),o=n(78492);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):(0,o.isFragment)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},39313:(e,t,n)=>{"use strict";function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,{A:()=>r})},2491:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,rb:()=>s});var r=n(27129),o=n(96540),i=n(40961);function a(e){return e instanceof HTMLElement||e instanceof SVGElement}function s(e){return e&&"object"===(0,r.A)(e)&&a(e.nativeElement)?e.nativeElement:a(e)?e:null}function l(e){var t;return s(e)||(e instanceof o.Component?null===(t=i.findDOMNode)||void 0===t?void 0:t.call(i,e):null)}},90116:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},4067:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const o=r},27183:(e,t,n)=>{"use strict";n.d(t,{X:()=>g,v:()=>E});var r=n(27129);function o(){o=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),s=new I(r||[]);return a(i,"_invoke",{value:k(e,n,s)}),i}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",m="suspendedYield",v="executing",g="completed",y={};function b(){}function w(){}function E(){}var x={};d(x,l,(function(){return this}));var S=Object.getPrototypeOf,_=S&&S(S(j([])));_&&_!==n&&i.call(_,l)&&(x=_);var O=E.prototype=b.prototype=Object.create(x);function C(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function n(o,a,s,l){var c=h(e[o],e,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==(0,r.A)(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var o;a(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function k(t,n,r){var o=p;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=M(s,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var c=h(t,n,r);if("normal"===c.type){if(o=r.done?g:m,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=g,r.method="throw",r.arg=c.arg)}}}function M(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,M(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=h(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function j(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(i.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError((0,r.A)(t)+" is not iterable")}return w.prototype=E,a(O,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:w,configurable:!0}),w.displayName=d(E,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,d(e,u,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},C(A.prototype),d(A.prototype,c,(function(){return this})),t.AsyncIterator=A,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new A(f(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(O),d(O,u,"Generator"),d(O,l,(function(){return this})),d(O,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=j,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:j(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function i(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function s(e){i(a,r,o,s,l,"next",e)}function l(e){i(a,r,o,s,l,"throw",e)}s(void 0)}))}}var s,l=n(82985),c=n(40961),u=n.t(c,2),d=(0,l.A)({},u),f=d.version,h=d.render,p=d.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(s=d.createRoot)}catch(e){}function m(e){var t=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,r.A)(t)&&(t.usingClientEntryPoint=e)}var v="__rc_react_root__";function g(e,t){s?function(e,t){m(!0);var n=t[v]||s(t);m(!1),n.render(e),t[v]=n}(e,t):function(e,t){h(e,t)}(e,t)}function y(e){return b.apply(this,arguments)}function b(){return(b=a(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[v])||void 0===e||e.unmount(),delete t[v]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){p(e)}function E(e){return x.apply(this,arguments)}function x(){return(x=a(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s){e.next=2;break}return e.abrupt("return",y(t));case 2:w(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},78201:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540);function o(e){var t=r.useRef();t.current=e;var n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return n}},49886:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,o:()=>a});var r=n(96540),o=(0,n(39313).A)()?r.useLayoutEffect:r.useEffect,i=function(e,t){var n=r.useRef(!0);o((function(){return e(n.current)}),t),o((function(){return n.current=!1,function(){n.current=!0}}),[])},a=function(e,t){i((function(t){if(!t)return e()}),t)};const s=i},56831:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540);function o(e,t,n){var o=r.useRef({});return"value"in o.current&&!n(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},80516:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(13553),o=n(78201),i=n(49886),a=n(98788);function s(e){return void 0!==e}function l(e,t){var n=t||{},l=n.defaultValue,c=n.value,u=n.onChange,d=n.postState,f=(0,a.A)((function(){return s(c)?c:s(l)?"function"==typeof l?l():l:"function"==typeof e?e():e})),h=(0,r.A)(f,2),p=h[0],m=h[1],v=void 0!==c?c:p,g=d?d(v):v,y=(0,o.A)(u),b=(0,a.A)([v]),w=(0,r.A)(b,2),E=w[0],x=w[1];return(0,i.o)((function(){var e=E[0];p!==e&&y(p,e)}),[E]),(0,i.o)((function(){s(c)||m(c)}),[c]),[g,(0,o.A)((function(e,t){m(e,t),x([v],t)}))]}},98788:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(13553),o=n(96540);function i(e){var t=o.useRef(!1),n=o.useState(e),i=(0,r.A)(n,2),a=i[0],s=i[1];return o.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,n){n&&t.current||s(e)}]}},23925:(e,t,n)=>{"use strict";n.d(t,{H3:()=>o.H3,_q:()=>r.A,xK:()=>o.xK});var r=n(78201),o=(n(80516),n(85700));n(12985),n(80397)},98129:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(27129),o=n(80397);const i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=i.has(t);if((0,o.Ay)(!l,"Warning: There may be circular references"),l)return!1;if(t===a)return!0;if(n&&s>1)return!1;i.add(t);var c=s+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u<t.length;u++)if(!e(t[u],a[u],c))return!1;return!0}if(t&&a&&"object"===(0,r.A)(t)&&"object"===(0,r.A)(a)){var d=Object.keys(t);return d.length===Object.keys(a).length&&d.every((function(n){return e(t[n],a[n],c)}))}return!1}(e,t)}},87196:(e,t,n)=>{"use strict";function r(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}n.d(t,{A:()=>r})},85010:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(82985),o="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n    alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n    charSet checked classID className colSpan cols content contentEditable contextMenu\n    controls coords crossOrigin data dateTime default defer dir disabled download draggable\n    encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n    headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n    is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n    mediaGroup method min minLength multiple muted name noValidate nonce open\n    optimum pattern placeholder poster preload radioGroup readOnly rel required\n    reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n    shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n    summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n    onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n    onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n    onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n    onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n    onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n    onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),i="aria-",a="data-";function s(e,t){return 0===e.indexOf(t)}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,r.A)({},n);var l={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||s(n,i))||t.data&&s(n,a)||t.attr&&o.includes(n))&&(l[n]=e[n])})),l}},98656:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function s(e){a.delete(e)}var l=function(e){var t=i+=1;return function n(o){if(0===o)s(t),e();else{var i=r((function(){n(o-1)}));a.set(t,i)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};l.cancel=function(e){var t=a.get(e);return s(e),o(t)};const c=l},85700:(e,t,n)=>{"use strict";n.d(t,{H3:()=>d,K4:()=>l,Xf:()=>s,f3:()=>u,xK:()=>c});var r=n(27129),o=n(96540),i=n(78492),a=n(56831),s=function(e,t){"function"==typeof e?e(t):"object"===(0,r.A)(e)&&e&&"current"in e&&(e.current=t)},l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(Boolean);return r.length<=1?r[0]:function(e){t.forEach((function(t){s(t,e)}))}},c=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,a.A)((function(){return l.apply(void 0,t)}),t,(function(e,t){return e.length!==t.length||e.every((function(e,n){return e!==t[n]}))}))},u=function(e){var t,n,r=(0,i.isMemo)(e)?e.type.type:e.type;return!!("function"!=typeof r||null!==(t=r.prototype)&&void 0!==t&&t.render||r.$$typeof===i.ForwardRef)&&!!("function"!=typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render||e.$$typeof===i.ForwardRef)};var d=function(e){return function(e){return(0,o.isValidElement)(e)&&!(0,i.isFragment)(e)}(e)&&u(e)};Number(o.version.split(".")[0])},12985:(e,t,n)=>{"use strict";n.d(t,{h:()=>v});var r=n(27129),o=n(82985),i=n(73500);function a(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}var s=n(51937);function l(e){return function(e){if(Array.isArray(e))return(0,i.A)(e)}(e)||a(e)||(0,s.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var c=n(29144),u=n(27565);function d(e,t){for(var n=e,r=0;r<t.length;r+=1){if(null==n)return;n=n[t[r]]}return n}function f(e,t,n,r){if(!t.length)return n;var i,d,h=(i=t,(0,c.A)(i)||a(i)||(0,s.A)(i)||(0,u.A)()),p=h[0],m=h.slice(1);return d=e||"number"!=typeof p?Array.isArray(e)?l(e):(0,o.A)({},e):[],r&&void 0===n&&1===m.length?delete d[p][m[0]]:d[p]=f(d[p],m,n,r),d}function h(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!d(e,t.slice(0,-1))?e:f(e,t,n,r)}function p(e){return Array.isArray(e)?[]:{}}var m="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=p(t[0]);return t.forEach((function(e){!function t(n,i){var a,s=new Set(i),c=d(e,n),u=Array.isArray(c);if(u||(a=c,"object"===(0,r.A)(a)&&null!==a&&Object.getPrototypeOf(a)===Object.prototype)){if(!s.has(c)){s.add(c);var f=d(o,n);u?o=h(o,n,[]):f&&"object"===(0,r.A)(f)||(o=h(o,n,p(c))),m(c).forEach((function(e){t([].concat(l(n),[e]),s)}))}}else o=h(o,n,c)}([])})),o}},80397:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c});var r={},o=[];function i(e,t){}function a(e,t){}function s(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function l(e,t){s(i,e,t)}l.preMessage=function(e){o.push(e)},l.resetWarned=function(){r={}},l.noteOnce=function(e,t){s(a,e,t)};const c=l},56800:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy");Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case d:case f:return e;default:switch(e=e&&e.$$typeof){case c:case l:case u:case p:case h:case s:return e;default:return t}}case r:return t}}}Symbol.for("react.module.reference"),t.ForwardRef=u,t.isFragment=function(e){return m(e)===o},t.isMemo=function(e){return m(e)===h}},78492:(e,t,n)=>{"use strict";e.exports=n(56800)},17965:(e,t,n)=>{"use strict";var r=n(16426),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,s,l,c,u=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}},38351:function(e,t,n){var r;!function(o){"use strict";var i,a=1e9,s={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},l=!0,c="[DecimalError] ",u=c+"Invalid argument: ",d=c+"Exponent out of range: ",f=Math.floor,h=Math.pow,p=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,m=1e7,v=7,g=9007199254740991,y=f(g/v),b={};function w(e,t){var n,r,o,i,a,s,c,u,d=e.constructor,f=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),l?T(t,f):t;if(c=e.d,u=t.d,a=e.e,o=t.e,c=c.slice(),i=a-o){for(i<0?(r=c,i=-i,s=u.length):(r=u,o=a,s=c.length),i>(s=(a=Math.ceil(f/v))>s?a+1:s+1)&&(i=s,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((s=c.length)-(i=u.length)<0&&(i=s,r=u,u=c,c=r),n=0;i;)n=(c[--i]=c[i]+u[i]+n)/m|0,c[i]%=m;for(n&&(c.unshift(n),++o),s=c.length;0==c[--s];)c.pop();return t.d=c,t.e=o,l?T(t,f):t}function E(e,t,n){if(e!==~~e||e<t||e>n)throw Error(u+e)}function x(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;t<o;t++)r=e[t]+"",(n=v-r.length)&&(i+=A(n)),i+=r;a=e[t],(n=v-(r=a+"").length)&&(i+=A(n))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}b.absoluteValue=b.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},b.comparedTo=b.cmp=function(e){var t,n,r,o,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e>e.e^i.s<0?1:-1;for(t=0,n=(r=i.d.length)<(o=e.d.length)?r:o;t<n;++t)if(i.d[t]!==e.d[t])return i.d[t]>e.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},b.decimalPlaces=b.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*v;if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},b.dividedBy=b.div=function(e){return S(this,new this.constructor(e))},b.dividedToIntegerBy=b.idiv=function(e){var t=this.constructor;return T(S(this,new t(e),0,1),t.precision)},b.equals=b.eq=function(e){return!this.cmp(e)},b.exponent=function(){return O(this)},b.greaterThan=b.gt=function(e){return this.cmp(e)>0},b.greaterThanOrEqualTo=b.gte=function(e){return this.cmp(e)>=0},b.isInteger=b.isint=function(){return this.e>this.d.length-2},b.isNegative=b.isneg=function(){return this.s<0},b.isPositive=b.ispos=function(){return this.s>0},b.isZero=function(){return 0===this.s},b.lessThan=b.lt=function(e){return this.cmp(e)<0},b.lessThanOrEqualTo=b.lte=function(e){return this.cmp(e)<1},b.logarithm=b.log=function(e){var t,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(c+"NaN");if(n.s<1)throw Error(c+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(l=!1,t=S(k(n,a),k(e,a),a),l=!0,T(t,o))},b.minus=b.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?P(t,e):w(t,(e.s=-e.s,e))},b.modulo=b.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(c+"NaN");return n.s?(l=!1,t=S(n,e,0,1).times(e),l=!0,n.minus(t)):T(new r(n),o)},b.naturalExponential=b.exp=function(){return _(this)},b.naturalLogarithm=b.ln=function(){return k(this)},b.negated=b.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},b.plus=b.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?w(t,e):P(t,(e.s=-e.s,e))},b.precision=b.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(u+e);if(t=O(o)+1,n=(r=o.d.length-1)*v+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},b.squareRoot=b.sqrt=function(){var e,t,n,r,o,i,a,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(c+"NaN")}for(e=O(s),l=!1,0==(o=Math.sqrt(+s))||o==1/0?(((t=x(s.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=f((e+1)/2)-(e<0||e%2),r=new u(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new u(o.toString()),o=a=(n=u.precision)+3;;)if(r=(i=r).plus(S(s,i,a+2)).times(.5),x(i.d).slice(0,a)===(t=x(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(T(i,n+1,0),i.times(i).eq(s)){r=i;break}}else if("9999"!=t)break;a+=4}return l=!0,T(r,n)},b.times=b.mul=function(e){var t,n,r,o,i,a,s,c,u,d=this,f=d.constructor,h=d.d,p=(e=new f(e)).d;if(!d.s||!e.s)return new f(0);for(e.s*=d.s,n=d.e+e.e,(c=h.length)<(u=p.length)&&(i=h,h=p,p=i,a=c,c=u,u=a),i=[],r=a=c+u;r--;)i.push(0);for(r=u;--r>=0;){for(t=0,o=c+r;o>r;)s=i[o]+p[r]*h[o-r-1]+t,i[o--]=s%m|0,t=s/m|0;i[o]=(i[o]+t)%m|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,l?T(e,f.precision):e},b.toDecimalPlaces=b.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(E(e,0,a),void 0===t?t=r.rounding:E(t,0,8),T(n,e+O(n)+1,t))},b.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=I(r,!0):(E(e,0,a),void 0===t?t=o.rounding:E(t,0,8),n=I(r=T(new o(r),e+1,t),!0,e+1)),n},b.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?I(o):(E(e,0,a),void 0===t?t=i.rounding:E(t,0,8),n=I((r=T(new i(o),e+O(o)+1,t)).abs(),!1,e+O(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},b.toInteger=b.toint=function(){var e=this,t=e.constructor;return T(new t(e),O(e)+1,t.rounding)},b.toNumber=function(){return+this},b.toPower=b.pow=function(e){var t,n,r,o,a,s,u=this,d=u.constructor,h=+(e=new d(e));if(!e.s)return new d(i);if(!(u=new d(u)).s){if(e.s<1)throw Error(c+"Infinity");return u}if(u.eq(i))return u;if(r=d.precision,e.eq(i))return T(u,r);if(s=(t=e.e)>=(n=e.d.length-1),a=u.s,s){if((n=h<0?-h:h)<=g){for(o=new d(i),t=Math.ceil(r/v+4),l=!1;n%2&&j((o=o.times(u)).d,t),0!==(n=f(n/2));)j((u=u.times(u)).d,t);return l=!0,e.s<0?new d(i).div(o):T(o,r)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,u.s=1,l=!1,o=e.times(k(u,r+12)),l=!0,(o=_(o)).s=a,o},b.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?r=I(o,(n=O(o))<=i.toExpNeg||n>=i.toExpPos):(E(e,1,a),void 0===t?t=i.rounding:E(t,0,8),r=I(o=T(new i(o),e,t),e<=(n=O(o))||n<=i.toExpNeg,e)),r},b.toSignificantDigits=b.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(E(e,1,a),void 0===t?t=n.rounding:E(t,0,8)),T(new n(this),e,t)},b.toString=b.valueOf=b.val=b.toJSON=function(){var e=this,t=O(e),n=e.constructor;return I(e,t<=n.toExpNeg||t>=n.toExpPos)};var S=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%m|0,r=n/m|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;o<n;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]<t[n]?1:0,e[n]=r*m+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,o,i,a){var s,l,u,d,f,h,p,g,y,b,w,E,x,S,_,C,A,k,M=r.constructor,P=r.s==o.s?1:-1,I=r.d,j=o.d;if(!r.s)return new M(r);if(!o.s)throw Error(c+"Division by zero");for(l=r.e-o.e,A=j.length,_=I.length,g=(p=new M(P)).d=[],u=0;j[u]==(I[u]||0);)++u;if(j[u]>(I[u]||0)&&--l,(E=null==i?i=M.precision:a?i+(O(r)-O(o))+1:i)<0)return new M(0);if(E=E/v+2|0,u=0,1==A)for(d=0,j=j[0],E++;(u<_||d)&&E--;u++)x=d*m+(I[u]||0),g[u]=x/j|0,d=x%j|0;else{for((d=m/(j[0]+1)|0)>1&&(j=e(j,d),I=e(I,d),A=j.length,_=I.length),S=A,b=(y=I.slice(0,A)).length;b<A;)y[b++]=0;(k=j.slice()).unshift(0),C=j[0],j[1]>=m/2&&++C;do{d=0,(s=t(j,y,A,b))<0?(w=y[0],A!=b&&(w=w*m+(y[1]||0)),(d=w/C|0)>1?(d>=m&&(d=m-1),1==(s=t(f=e(j,d),y,h=f.length,b=y.length))&&(d--,n(f,A<h?k:j,h))):(0==d&&(s=d=1),f=j.slice()),(h=f.length)<b&&f.unshift(0),n(y,f,b),-1==s&&(s=t(j,y,A,b=y.length))<1&&(d++,n(y,A<b?k:j,b)),b=y.length):0===s&&(d++,y=[0]),g[u++]=d,s&&y[0]?y[b++]=I[S]||0:(y=[I[S]],b=1)}while((S++<_||void 0!==y[0])&&E--)}return g[0]||g.shift(),p.e=l,T(p,a?i+O(p)+1:i)}}();function _(e,t){var n,r,o,a,s,c=0,u=0,f=e.constructor,p=f.precision;if(O(e)>16)throw Error(d+O(e));if(!e.s)return new f(i);for(null==t?(l=!1,s=p):s=t,a=new f(.03125);e.abs().gte(.1);)e=e.times(a),u+=5;for(s+=Math.log(h(2,u))/Math.LN10*2+5|0,n=r=o=new f(i),f.precision=s;;){if(r=T(r.times(e),s),n=n.times(++c),x((a=o.plus(S(r,n,s))).d).slice(0,s)===x(o.d).slice(0,s)){for(;u--;)o=T(o.times(o),s);return f.precision=p,null==t?(l=!0,T(o,p)):o}o=a}}function O(e){for(var t=e.e*v,n=e.d[0];n>=10;n/=10)t++;return t}function C(e,t,n){if(t>e.LN10.sd())throw l=!0,n&&(e.precision=n),Error(c+"LN10 precision limit exceeded");return T(new e(e.LN10),t)}function A(e){for(var t="";e--;)t+="0";return t}function k(e,t){var n,r,o,a,s,u,d,f,h,p=1,m=e,v=m.d,g=m.constructor,y=g.precision;if(m.s<1)throw Error(c+(m.s?"NaN":"-Infinity"));if(m.eq(i))return new g(0);if(null==t?(l=!1,f=y):f=t,m.eq(10))return null==t&&(l=!0),C(g,f);if(f+=10,g.precision=f,r=(n=x(v)).charAt(0),a=O(m),!(Math.abs(a)<15e14))return d=C(g,f+2,y).times(a+""),m=k(new g(r+"."+n.slice(1)),f-10).plus(d),g.precision=y,null==t?(l=!0,T(m,y)):m;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=x((m=m.times(e)).d)).charAt(0),p++;for(a=O(m),r>1?(m=new g("0."+n),a++):m=new g(r+"."+n.slice(1)),u=s=m=S(m.minus(i),m.plus(i),f),h=T(m.times(m),f),o=3;;){if(s=T(s.times(h),f),x((d=u.plus(S(s,new g(o),f))).d).slice(0,f)===x(u.d).slice(0,f))return u=u.times(2),0!==a&&(u=u.plus(C(g,f+2,y).times(a+""))),u=S(u,new g(p),f),g.precision=y,null==t?(l=!0,T(u,y)):u;u=d,o+=2}}function M(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=f(n/v),e.d=[],r=(n+1)%v,n<0&&(r+=v),r<o){for(r&&e.d.push(+t.slice(0,r)),o-=v;r<o;)e.d.push(+t.slice(r,r+=v));t=t.slice(r),r=v-t.length}else r-=o;for(;r--;)t+="0";if(e.d.push(+t),l&&(e.e>y||e.e<-y))throw Error(d+n)}else e.s=0,e.e=0,e.d=[0];return e}function T(e,t,n){var r,o,i,a,s,c,u,p,g=e.d;for(a=1,i=g[0];i>=10;i/=10)a++;if((r=t-a)<0)r+=v,o=t,u=g[p=0];else{if((p=Math.ceil((r+1)/v))>=(i=g.length))return e;for(u=i=g[p],a=1;i>=10;i/=10)a++;o=(r%=v)-v+a}if(void 0!==n&&(s=u/(i=h(10,a-o-1))%10|0,c=t<0||void 0!==g[p+1]||u%i,c=n<4?(s||c)&&(0==n||n==(e.s<0?3:2)):s>5||5==s&&(4==n||c||6==n&&(r>0?o>0?u/h(10,a-o):0:g[p-1])%10&1||n==(e.s<0?8:7))),t<1||!g[0])return c?(i=O(e),g.length=1,t=t-i-1,g[0]=h(10,(v-t%v)%v),e.e=f(-t/v)||0):(g.length=1,g[0]=e.e=e.s=0),e;if(0==r?(g.length=p,i=1,p--):(g.length=p+1,i=h(10,v-r),g[p]=o>0?(u/h(10,a-o)%h(10,o)|0)*i:0),c)for(;;){if(0==p){(g[0]+=i)==m&&(g[0]=1,++e.e);break}if(g[p]+=i,g[p]!=m)break;g[p--]=0,i=1}for(r=g.length;0===g[--r];)g.pop();if(l&&(e.e>y||e.e<-y))throw Error(d+O(e));return e}function P(e,t){var n,r,o,i,a,s,c,u,d,f,h=e.constructor,p=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),l?T(t,p):t;if(c=e.d,f=t.d,r=t.e,u=e.e,c=c.slice(),a=u-r){for((d=a<0)?(n=c,a=-a,s=f.length):(n=f,r=u,s=c.length),a>(o=Math.max(Math.ceil(p/v),s)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((d=(o=c.length)<(s=f.length))&&(s=o),o=0;o<s;o++)if(c[o]!=f[o]){d=c[o]<f[o];break}a=0}for(d&&(n=c,c=f,f=n,t.s=-t.s),s=c.length,o=f.length-s;o>0;--o)c[s++]=0;for(o=f.length;o>a;){if(c[--o]<f[o]){for(i=o;i&&0===c[--i];)c[i]=m-1;--c[i],c[o]+=m}c[o]-=f[o]}for(;0===c[--s];)c.pop();for(;0===c[0];c.shift())--r;return c[0]?(t.d=c,t.e=r,l?T(t,p):t):new h(0)}function I(e,t,n){var r,o=O(e),i=x(e.d),a=i.length;return t?(n&&(r=n-a)>0?i=i.charAt(0)+"."+i.slice(1)+A(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+A(-o-1)+i,n&&(r=n-a)>0&&(i+=A(r))):o>=a?(i+=A(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+A(r))):((r=o+1)<a&&(i=i.slice(0,r)+"."+i.slice(r)),n&&(r=n-a)>0&&(o+1===a&&(i+="."),i+=A(r))),e.s<0?"-"+i:i}function j(e,t){if(e.length>t)return e.length=t,!0}function z(e){if(!e||"object"!=typeof e)throw Error(c+"Object expected");var t,n,r,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if(void 0!==(r=e[n=o[t]])){if(!(f(r)===r&&r>=o[t+1]&&r<=o[t+2]))throw Error(u+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(u+n+": "+r);this[n]=new this(r)}return this}(s=function e(t){var n,r,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(u+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):M(t,e.toString())}if("string"!=typeof e)throw Error(u+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!p.test(e))throw Error(u+e);M(t,e)}if(i.prototype=b,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=z,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<o.length;)t.hasOwnProperty(r=o[n++])||(t[r]=this[r]);return i.config(t),i}(s)).default=s.Decimal=s,i=new s(1),void 0===(r=function(){return s}.call(t,n,t,e))||(e.exports=r)}()},14263:function(e,t,n){var r,o,i;!function(a,s){"use strict";o=[n(40343)],void 0===(i="function"==typeof(r=function(e){var t=/(^|@)\S+:\d+/,n=/^\s*at .*(\S+:\d+|\(native\))/m,r=/^(eval@)?(\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return t.stack.split("\n").filter((function(e){return!!e.match(n)}),this).map((function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),r=n.match(/ (\(.+\)$)/);n=r?n.replace(r[0],""):n;var o=this.extractLocation(r?r[1]:n),i=r&&n||void 0,a=["eval","<anonymous>"].indexOf(o[0])>-1?void 0:o[0];return new e({functionName:i,fileName:a,lineNumber:o[1],columnNumber:o[2],source:t})}),this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter((function(e){return!e.match(r)}),this).map((function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),o=r&&r[1]?r[1]:void 0,i=this.extractLocation(t.replace(n,""));return new e({functionName:o,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),o=[],i=2,a=r.length;i<a;i+=2){var s=n.exec(r[i]);s&&o.push(new e({fileName:s[2],lineNumber:s[1],source:r[i]}))}return o},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split("\n"),o=[],i=0,a=r.length;i<a;i+=2){var s=n.exec(r[i]);s&&o.push(new e({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:r[i]}))}return o},parseOpera11:function(n){return n.stack.split("\n").filter((function(e){return!!e.match(t)&&!e.match(/^Error created at/)}),this).map((function(t){var n,r=t.split("@"),o=this.extractLocation(r.pop()),i=r.shift()||"",a=i.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;i.match(/\(([^)]*)\)/)&&(n=i.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:s,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})}),this)}}})?r.apply(t,o):r)||(e.exports=i)}()},30228:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new o(r,i||e,a),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,o,i,a){var s=n?n+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,o),!0;case 5:return u.fn.call(u.context,t,r,o,i),!0;case 6:return u.fn.call(u.context,t,r,o,i,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var f,h=u.length;for(c=0;c<h;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,r);break;case 4:u[c].fn.call(u[c].context,t,r,o);break;default:if(!l)for(f=1,l=new Array(d-1);f<d;f++)l[f-1]=arguments[f];u[c].fn.apply(u[c].context,l)}}return!0},s.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var s=this._events[i];if(s.fn)s.fn!==t||o&&!s.once||r&&s.context!==r||a(this,i);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||o&&!s[l].once||r&&s[l].context!==r)&&c.push(s[l]);c.length?this._events[i]=1===c.length?c[0]:c:a(this,i)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},69861:(e,t,n)=>{"use strict";n.d(t,{Wt:()=>ce,ZI:()=>se});var r={},o=Uint8Array,i=Uint16Array,a=Int32Array,s=new o([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),l=new o([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),c=new o([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),u=function(e,t){for(var n=new i(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var o=new a(n[30]);for(r=1;r<30;++r)for(var s=n[r];s<n[r+1];++s)o[s]=s-n[r]<<5|r;return{b:n,r:o}},d=u(s,2),f=d.b,h=d.r;f[28]=258,h[258]=28;for(var p=u(l,0),m=p.b,v=p.r,g=new i(32768),y=0;y<32768;++y){var b=(43690&y)>>1|(21845&y)<<1;b=(61680&(b=(52428&b)>>2|(13107&b)<<2))>>4|(3855&b)<<4,g[y]=((65280&b)>>8|(255&b)<<8)>>1}var w=function(e,t,n){for(var r=e.length,o=0,a=new i(t);o<r;++o)e[o]&&++a[e[o]-1];var s,l=new i(t);for(o=1;o<t;++o)l[o]=l[o-1]+a[o-1]<<1;if(n){s=new i(1<<t);var c=15-t;for(o=0;o<r;++o)if(e[o])for(var u=o<<4|e[o],d=t-e[o],f=l[e[o]-1]++<<d,h=f|(1<<d)-1;f<=h;++f)s[g[f]>>c]=u}else for(s=new i(r),o=0;o<r;++o)e[o]&&(s[o]=g[l[e[o]-1]++]>>15-e[o]);return s},E=new o(288);for(y=0;y<144;++y)E[y]=8;for(y=144;y<256;++y)E[y]=9;for(y=256;y<280;++y)E[y]=7;for(y=280;y<288;++y)E[y]=8;var x=new o(32);for(y=0;y<32;++y)x[y]=5;var S=w(E,9,0),_=w(E,9,1),O=w(x,5,0),C=w(x,5,1),A=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},k=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(7&t)&n},M=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(7&t)},T=function(e){return(e+7)/8|0},P=function(e,t,n){return(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length),new o(e.subarray(t,n))},I=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],j=function(e,t,n){var r=new Error(t||I[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,j),!n)throw r;return r},z=function(e,t,n,r){var i=e.length,a=r?r.length:0;if(!i||t.f&&!t.l)return n||new o(0);var u=!n,d=u||2!=t.i,h=t.i;u&&(n=new o(3*i));var p=function(e){var t=n.length;if(e>t){var r=new o(Math.max(2*t,e));r.set(n),n=r}},v=t.f||0,g=t.p||0,y=t.b||0,b=t.l,E=t.d,x=t.m,S=t.n,O=8*i;do{if(!b){v=k(e,g,1);var I=k(e,g+1,3);if(g+=3,!I){var z=e[(W=T(g)+4)-4]|e[W-3]<<8,D=W+z;if(D>i){h&&j(0);break}d&&p(y+z),n.set(e.subarray(W,D),y),t.b=y+=z,t.p=g=8*D,t.f=v;continue}if(1==I)b=_,E=C,x=9,S=5;else if(2==I){var R=k(e,g,31)+257,N=k(e,g+10,15)+4,$=R+k(e,g+5,31)+1;g+=14;for(var F=new o($),L=new o(19),B=0;B<N;++B)L[c[B]]=k(e,g+3*B,7);g+=3*N;var H=A(L),V=(1<<H)-1,U=w(L,H,1);for(B=0;B<$;){var W,q=U[k(e,g,V)];if(g+=15&q,(W=q>>4)<16)F[B++]=W;else{var K=0,G=0;for(16==W?(G=3+k(e,g,3),g+=2,K=F[B-1]):17==W?(G=3+k(e,g,7),g+=3):18==W&&(G=11+k(e,g,127),g+=7);G--;)F[B++]=K}}var X=F.subarray(0,R),Y=F.subarray(R);x=A(X),S=A(Y),b=w(X,x,1),E=w(Y,S,1)}else j(1);if(g>O){h&&j(0);break}}d&&p(y+131072);for(var Z=(1<<x)-1,J=(1<<S)-1,Q=g;;Q=g){var ee=(K=b[M(e,g)&Z])>>4;if((g+=15&K)>O){h&&j(0);break}if(K||j(2),ee<256)n[y++]=ee;else{if(256==ee){Q=g,b=null;break}var te=ee-254;if(ee>264){var ne=s[B=ee-257];te=k(e,g,(1<<ne)-1)+f[B],g+=ne}var re=E[M(e,g)&J],oe=re>>4;if(re||j(3),g+=15&re,Y=m[oe],oe>3&&(ne=l[oe],Y+=M(e,g)&(1<<ne)-1,g+=ne),g>O){h&&j(0);break}d&&p(y+131072);var ie=y+te;if(y<Y){var ae=a-Y,se=Math.min(Y,ie);for(ae+y<0&&j(3);y<se;++y)n[y]=r[ae+y]}for(;y<ie;++y)n[y]=n[y-Y]}}t.l=b,t.p=Q,t.b=y,t.f=v,b&&(v=1,t.m=x,t.d=E,t.n=S)}while(!v);return y!=n.length&&u?P(n,0,y):n.subarray(0,y)},D=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},R=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},N=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var a=n.length,s=n.slice();if(!a)return{t:U,l:0};if(1==a){var l=new o(n[0].s+1);return l[n[0].s]=1,{t:l,l:1}}n.sort((function(e,t){return e.f-t.f})),n.push({s:-1,f:25001});var c=n[0],u=n[1],d=0,f=1,h=2;for(n[0]={s:-1,f:c.f+u.f,l:c,r:u};f!=a-1;)c=n[n[d].f<n[h].f?d++:h++],u=n[d!=f&&n[d].f<n[h].f?d++:h++],n[f++]={s:-1,f:c.f+u.f,l:c,r:u};var p=s[0].s;for(r=1;r<a;++r)s[r].s>p&&(p=s[r].s);var m=new i(p+1),v=$(n[f-1],m,0);if(v>t){r=0;var g=0,y=v-t,b=1<<y;for(s.sort((function(e,t){return m[t.s]-m[e.s]||e.f-t.f}));r<a;++r){var w=s[r].s;if(!(m[w]>t))break;g+=b-(1<<v-m[w]),m[w]=t}for(g>>=y;g>0;){var E=s[r].s;m[E]<t?g-=1<<t-m[E]++-1:++r}for(;r>=0&&g;--r){var x=s[r].s;m[x]==t&&(--m[x],++g)}v=t}return{t:new o(m),l:v}},$=function(e,t,n){return-1==e.s?Math.max($(e.l,t,n+1),$(e.r,t,n+1)):t[e.s]=n},F=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new i(++t),r=0,o=e[0],a=1,s=function(e){n[r++]=e},l=1;l<=t;++l)if(e[l]==o&&l!=t)++a;else{if(!o&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(o),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(o);a=1,o=e[l]}return{c:n.subarray(0,r),n:t}},L=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},B=function(e,t,n){var r=n.length,o=T(t+2);e[o]=255&r,e[o+1]=r>>8,e[o+2]=255^e[o],e[o+3]=255^e[o+1];for(var i=0;i<r;++i)e[o+i+4]=n[i];return 8*(o+4+r)},H=function(e,t,n,r,o,a,u,d,f,h,p){D(t,p++,n),++o[256];for(var m=N(o,15),v=m.t,g=m.l,y=N(a,15),b=y.t,_=y.l,C=F(v),A=C.c,k=C.n,M=F(b),T=M.c,P=M.n,I=new i(19),j=0;j<A.length;++j)++I[31&A[j]];for(j=0;j<T.length;++j)++I[31&T[j]];for(var z=N(I,7),$=z.t,H=z.l,V=19;V>4&&!$[c[V-1]];--V);var U,W,q,K,G=h+5<<3,X=L(o,E)+L(a,x)+u,Y=L(o,v)+L(a,b)+u+14+3*V+L(I,$)+2*I[16]+3*I[17]+7*I[18];if(f>=0&&G<=X&&G<=Y)return B(t,p,e.subarray(f,f+h));if(D(t,p,1+(Y<X)),p+=2,Y<X){U=w(v,g,0),W=v,q=w(b,_,0),K=b;var Z=w($,H,0);for(D(t,p,k-257),D(t,p+5,P-1),D(t,p+10,V-4),p+=14,j=0;j<V;++j)D(t,p+3*j,$[c[j]]);p+=3*V;for(var J=[A,T],Q=0;Q<2;++Q){var ee=J[Q];for(j=0;j<ee.length;++j){var te=31&ee[j];D(t,p,Z[te]),p+=$[te],te>15&&(D(t,p,ee[j]>>5&127),p+=ee[j]>>12)}}}else U=S,W=E,q=O,K=x;for(j=0;j<d;++j){var ne=r[j];if(ne>255){R(t,p,U[257+(te=ne>>18&31)]),p+=W[te+257],te>7&&(D(t,p,ne>>23&31),p+=s[te]);var re=31&ne;R(t,p,q[re]),p+=K[re],re>3&&(R(t,p,ne>>5&8191),p+=l[re])}else R(t,p,U[ne]),p+=W[ne]}return R(t,p,U[256]),p+W[256]},V=new a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),U=new o(0),W=function(e,t,n,r,c,u){var d=u.z||e.length,f=new o(r+d+5*(1+Math.ceil(d/7e3))+c),p=f.subarray(r,f.length-c),m=u.l,g=7&(u.r||0);if(t){g&&(p[0]=u.r>>3);for(var y=V[t-1],b=y>>13,w=8191&y,E=(1<<n)-1,x=u.p||new i(32768),S=u.h||new i(E+1),_=Math.ceil(n/3),O=2*_,C=function(t){return(e[t]^e[t+1]<<_^e[t+2]<<O)&E},A=new a(25e3),k=new i(288),M=new i(32),I=0,j=0,z=u.i||0,D=0,R=u.w||0,N=0;z+2<d;++z){var $=C(z),F=32767&z,L=S[$];if(x[F]=L,S[$]=F,R<=z){var U=d-z;if((I>7e3||D>24576)&&(U>423||!m)){g=H(e,p,0,A,k,M,j,D,N,z-N,g),D=I=j=0,N=z;for(var W=0;W<286;++W)k[W]=0;for(W=0;W<30;++W)M[W]=0}var q=2,K=0,G=w,X=F-L&32767;if(U>2&&$==C(z-X))for(var Y=Math.min(b,U)-1,Z=Math.min(32767,z),J=Math.min(258,U);X<=Z&&--G&&F!=L;){if(e[z+q]==e[z+q-X]){for(var Q=0;Q<J&&e[z+Q]==e[z+Q-X];++Q);if(Q>q){if(q=Q,K=X,Q>Y)break;var ee=Math.min(X,Q-2),te=0;for(W=0;W<ee;++W){var ne=z-X+W&32767,re=ne-x[ne]&32767;re>te&&(te=re,L=ne)}}}X+=(F=L)-(L=x[F])&32767}if(K){A[D++]=268435456|h[q]<<18|v[K];var oe=31&h[q],ie=31&v[K];j+=s[oe]+l[ie],++k[257+oe],++M[ie],R=z+q,++I}else A[D++]=e[z],++k[e[z]]}}for(z=Math.max(z,R);z<d;++z)A[D++]=e[z],++k[e[z]];g=H(e,p,m,A,k,M,j,D,N,z-N,g),m||(u.r=7&g|p[g/8|0]<<3,g-=7,u.h=S,u.p=x,u.i=z,u.w=R)}else{for(z=u.w||0;z<d+m;z+=65535){var ae=z+65535;ae>=d&&(p[g/8|0]=m,ae=d),g=B(p,g+1,e.subarray(z,ae))}u.i=d}return P(f,0,r+T(g)+c)},q=function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var n=t,r=9;--r;)n=(1&n&&-306674912)^n>>>1;e[t]=n}return e}(),K=function(){var e=-1;return{p:function(t){for(var n=e,r=0;r<t.length;++r)n=q[255&n^t[r]]^n>>>8;e=n},d:function(){return~e}}},G=function(e,t,n,r,i){if(!i&&(i={l:1},t.dictionary)){var a=t.dictionary.subarray(-32768),s=new o(a.length+e.length);s.set(a),s.set(e,a.length),e=s,i.w=a.length}return W(e,null==t.level?6:t.level,null==t.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,n,r,i)},X=function(e,t,n){for(var r=e(),o=e.toString(),i=o.slice(o.indexOf("[")+1,o.lastIndexOf("]")).replace(/\s+/g,"").split(","),a=0;a<r.length;++a){var s=r[a],l=i[a];if("function"==typeof s){t+=";"+l+"=";var c=s.toString();if(s.prototype)if(-1!=c.indexOf("[native code]")){var u=c.indexOf(" ",8)+1;t+=c.slice(u,c.indexOf("(",u))}else for(var d in t+=c,s.prototype)t+=";"+l+".prototype."+d+"="+s.prototype[d].toString();else t+=c}else n[l]=s}return t},Y=[],Z=function(){return[o,i,a,s,l,c,h,v,S,E,O,x,g,V,U,w,D,R,N,$,F,L,B,H,T,P,W,G,ae,Q]},J=function(){return[ne,ie,te,K,q]},Q=function(e){return postMessage(e,[e.buffer])},ee=function(e,t,n,o,i,a){var s=function(e,t,n,o){if(!Y[n]){for(var i="",a={},s=e.length-1,l=0;l<s;++l)i=X(e[l],i,a);Y[n]={c:X(e[s],i,a),e:a}}var c=function(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}({},Y[n].e);return function(e,t,n,o,i){var a=new Worker(r[t]||(r[t]=URL.createObjectURL(new Blob([e+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return a.onmessage=function(e){var t=e.data,n=t.$e$;if(n){var r=new Error(n[0]);r.code=n[1],r.stack=n[2],i(r,null)}else i(null,t)},a.postMessage(n,o),a}(Y[n].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+t.toString()+"}",n,c,function(e){var t=[];for(var n in e)e[n].buffer&&t.push((e[n]=new e[n].constructor(e[n])).buffer);return t}(c),o)}(n,o,i,(function(e,t){s.terminate(),a(e,t)}));return s.postMessage([e,t],t.consume?[e.buffer]:[]),function(){s.terminate()}},te=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},ne=function(e,t){var n=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:9==t.level?2:0,e[9]=3,0!=t.mtime&&te(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),n){e[3]=8;for(var r=0;r<=n.length;++r)e[r+10]=n.charCodeAt(r)}},re=function(e){31==e[0]&&139==e[1]&&8==e[2]||j(6,"invalid gzip data");var t=e[3],n=10;4&t&&(n+=2+(e[10]|e[11]<<8));for(var r=(t>>3&1)+(t>>4&1);r>0;r-=!e[n++]);return n+(2&t)},oe=function(e){var t=e.length;return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0},ie=function(e){return 10+(e.filename?e.filename.length+1:0)};function ae(e,t){return G(e,t||{},0,0)}function se(e,t,n){return n||(n=t,t={}),"function"!=typeof n&&j(7),ee(e,t,[Z,J,function(){return[le]}],(function(e){return Q(le(e.data[0],e.data[1]))}),2,n)}function le(e,t){t||(t={});var n=K(),r=e.length;n.p(e);var o=G(e,t,ie(t),8),i=o.length;return ne(o,t),te(o,i-8,n.d()),te(o,i-4,r),o}function ce(e,t){var n=re(e);return n+8>e.length&&j(6,"invalid gzip data"),z(e.subarray(n,-8),{i:2},t&&t.out||new o(oe(e)),t&&t.dictionary)}var ue="undefined"!=typeof TextDecoder&&new TextDecoder;try{ue.decode(U,{stream:!0})}catch(e){}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout},17929:(e,t,n)=>{"use strict";n.d(t,{zR:()=>S,TM:()=>M,yJ:()=>m,sC:()=>P,AO:()=>p,Fu:()=>v});var r=n(58168);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&o(e),l=t&&o(t),c=s||l;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var u=a[a.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,f=a.length;f>=0;f--){var h=a[f];"."===h?i(a,f):".."===h?(i(a,f),d++):d&&(i(a,f),d--)}if(!c)for(;d--;d)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var p=a.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}const l=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=s(t),o=s(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var c=n(11561);function u(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function h(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=(0,r.A)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function g(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var y=!("undefined"==typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}var w="popstate",E="hashchange";function x(){try{return window.history.state||{}}catch(e){return{}}}function S(e){void 0===e&&(e={}),y||(0,c.A)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,s=a.forceRefresh,l=void 0!==s&&s,d=a.getUserConfirmation,v=void 0===d?b:d,S=a.keyLength,_=void 0===S?6:S,O=e.basename?h(u(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return O&&(i=f(i,O)),m(i,r,n)}function A(){return Math.random().toString(36).substr(2,_)}var k=g();function M(e){(0,r.A)(B,e),B.length=n.length,k.notifyListeners(B.location,B.action)}function T(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||j(C(e.state))}function P(){j(C(x()))}var I=!1;function j(e){I?(I=!1,M()):k.confirmTransitionTo(e,"POP",v,(function(t){t?M({action:"POP",location:e}):function(e){var t=B.location,n=D.indexOf(t.key);-1===n&&(n=0);var r=D.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(I=!0,N(o))}(e)}))}var z=C(x()),D=[z.key];function R(e){return O+p(e)}function N(e){n.go(e)}var $=0;function F(e){1===($+=e)&&1===e?(window.addEventListener(w,T),i&&window.addEventListener(E,P)):0===$&&(window.removeEventListener(w,T),i&&window.removeEventListener(E,P))}var L=!1,B={length:n.length,action:"POP",location:z,createHref:R,push:function(e,t){var r="PUSH",i=m(e,t,A(),B.location);k.confirmTransitionTo(i,r,v,(function(e){if(e){var t=R(i),a=i.key,s=i.state;if(o)if(n.pushState({key:a,state:s},null,t),l)window.location.href=t;else{var c=D.indexOf(B.location.key),u=D.slice(0,c+1);u.push(i.key),D=u,M({action:r,location:i})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",i=m(e,t,A(),B.location);k.confirmTransitionTo(i,r,v,(function(e){if(e){var t=R(i),a=i.key,s=i.state;if(o)if(n.replaceState({key:a,state:s},null,t),l)window.location.replace(t);else{var c=D.indexOf(B.location.key);-1!==c&&(D[c]=i.key),M({action:r,location:i})}else window.location.replace(t)}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return L||(F(1),L=!0),function(){return L&&(L=!1,F(-1)),t()}},listen:function(e){var t=k.appendListener(e);return F(1),function(){F(-1),t()}}};return B}var _="hashchange",O={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+d(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:d,decodePath:u},slash:{encodePath:u,decodePath:u}};function C(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function A(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function k(e){window.location.replace(C(window.location.href)+"#"+e)}function M(e){void 0===e&&(e={}),y||(0,c.A)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?b:o,a=n.hashType,s=void 0===a?"slash":a,l=e.basename?h(u(e.basename)):"",d=O[s],v=d.encodePath,w=d.decodePath;function E(){var e=w(A());return l&&(e=f(e,l)),m(e)}var x=g();function S(e){(0,r.A)(L,e),L.length=t.length,x.notifyListeners(L.location,L.action)}var M=!1,T=null;function P(){var e,t,n=A(),r=v(n);if(n!==r)k(r);else{var o=E(),a=L.location;if(!M&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(T===p(o))return;T=null,function(e){if(M)M=!1,S();else{x.confirmTransitionTo(e,"POP",i,(function(t){t?S({action:"POP",location:e}):function(e){var t=L.location,n=D.lastIndexOf(p(t));-1===n&&(n=0);var r=D.lastIndexOf(p(e));-1===r&&(r=0);var o=n-r;o&&(M=!0,R(o))}(e)}))}}(o)}}var I=A(),j=v(I);I!==j&&k(j);var z=E(),D=[p(z)];function R(e){t.go(e)}var N=0;function $(e){1===(N+=e)&&1===e?window.addEventListener(_,P):0===N&&window.removeEventListener(_,P)}var F=!1,L={length:t.length,action:"POP",location:z,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=C(window.location.href)),n+"#"+v(l+p(e))},push:function(e,t){var n="PUSH",r=m(e,void 0,void 0,L.location);x.confirmTransitionTo(r,n,i,(function(e){if(e){var t=p(r),o=v(l+t);if(A()!==o){T=t,function(e){window.location.hash=e}(o);var i=D.lastIndexOf(p(L.location)),a=D.slice(0,i+1);a.push(t),D=a,S({action:n,location:r})}else S()}}))},replace:function(e,t){var n="REPLACE",r=m(e,void 0,void 0,L.location);x.confirmTransitionTo(r,n,i,(function(e){if(e){var t=p(r),o=v(l+t);A()!==o&&(T=t,k(o));var i=D.indexOf(p(L.location));-1!==i&&(D[i]=t),S({action:n,location:r})}}))},go:R,goBack:function(){R(-1)},goForward:function(){R(1)},block:function(e){void 0===e&&(e=!1);var t=x.setPrompt(e);return F||($(1),F=!0),function(){return F&&(F=!1,$(-1)),t()}},listen:function(e){var t=x.appendListener(e);return $(1),function(){$(-1),t()}}};return L}function T(e,t,n){return Math.min(Math.max(e,t),n)}function P(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,s=void 0===a?0:a,l=t.keyLength,c=void 0===l?6:l,u=g();function d(e){(0,r.A)(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function f(){return Math.random().toString(36).substr(2,c)}var h=T(s,0,i.length-1),v=i.map((function(e){return m(e,void 0,"string"==typeof e?f():e.key||f())})),y=p;function b(e){var t=T(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:v.length,action:"POP",location:v[h],index:h,entries:v,createHref:y,push:function(e,t){var r="PUSH",o=m(e,t,f(),w.location);u.confirmTransitionTo(o,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=m(e,t,f(),w.location);u.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,d({action:r,location:o}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},4146:(e,t,n)=>{"use strict";var r=n(44363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||m&&m[g]||s&&s[g])){var y=f(n,g);try{c(t,g,y)}catch(e){}}}}return t}},10777:(e,t,n)=>{"use strict";n.d(t,{gO:()=>D});const r=(()=>{let e=0;return()=>(e+=1,`u${`0000${(Math.random()*36**4|0).toString(36)}`.slice(-4)}${e}`)})();function o(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}function i(e,t){const n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace("px","")):0}function a(e,t={}){return{width:t.width||function(e){const t=i(e,"border-left-width"),n=i(e,"border-right-width");return e.clientWidth+t+n}(e),height:t.height||function(e){const t=i(e,"border-top-width"),n=i(e,"border-bottom-width");return e.clientHeight+t+n}(e)}}const s=16384;function l(e){return new Promise(((t,n)=>{const r=new Image;r.decode=()=>t(r),r.onload=()=>t(r),r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e}))}const c=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return null!==n&&(n.constructor.name===t.name||c(n,t))};function u(e,t,n){const i=window.getComputedStyle(e,n),a=i.getPropertyValue("content");if(""===a||"none"===a)return;const s=r();try{t.className=`${t.className} ${s}`}catch(e){return}const l=document.createElement("style");l.appendChild(function(e,t,n){const r=`.${e}:${t}`,i=n.cssText?function(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}(n):function(e){return o(e).map((t=>`${t}: ${e.getPropertyValue(t)}${e.getPropertyPriority(t)?" !important":""};`)).join(" ")}(n);return document.createTextNode(`${r}{${i}}`)}(s,n,i)),t.appendChild(l)}const d="application/font-woff",f="image/jpeg",h={woff:d,woff2:d,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:f,jpeg:f,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function p(e){const t=function(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}(e).toLowerCase();return h[t]||""}function m(e){return-1!==e.search(/^(data:)/)}function v(e,t){return`data:${t};base64,${e}`}async function g(e,t,n){const r=await fetch(e,t);if(404===r.status)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise(((e,t)=>{const i=new FileReader;i.onerror=t,i.onloadend=()=>{try{e(n({res:r,result:i.result}))}catch(e){t(e)}},i.readAsDataURL(o)}))}const y={};async function b(e,t,n){const r=function(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}(e,t,n.includeQueryParams);if(null!=y[r])return y[r];let o;n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime());try{const r=await g(e,n.fetchRequestInit,(({res:e,result:n})=>(t||(t=e.headers.get("Content-Type")||""),function(e){return e.split(/,/)[1]}(n))));o=v(r,t)}catch(t){o=n.imagePlaceholder||"";let r=`Failed to fetch resource: ${e}`;t&&(r="string"==typeof t?t:t.message),r&&console.warn(r)}return y[r]=o,o}const w=e=>null!=e.tagName&&"SLOT"===e.tagName.toUpperCase();async function E(e,t,n){return n||!t.filter||t.filter(e)?Promise.resolve(e).then((e=>async function(e,t){return c(e,HTMLCanvasElement)?async function(e){const t=e.toDataURL();return"data:,"===t?e.cloneNode(!1):l(t)}(e):c(e,HTMLVideoElement)?async function(e,t){if(e.currentSrc){const t=document.createElement("canvas"),n=t.getContext("2d");return t.width=e.clientWidth,t.height=e.clientHeight,null==n||n.drawImage(e,0,0,t.width,t.height),l(t.toDataURL())}const n=e.poster,r=p(n);return l(await b(n,r,t))}(e,t):c(e,HTMLIFrameElement)?async function(e){var t;try{if(null===(t=null==e?void 0:e.contentDocument)||void 0===t?void 0:t.body)return await E(e.contentDocument.body,{},!0)}catch(e){}return e.cloneNode(!1)}(e):e.cloneNode(!1)}(e,t))).then((n=>async function(e,t,n){var r,i;let a=[];return a=w(e)&&e.assignedNodes?o(e.assignedNodes()):c(e,HTMLIFrameElement)&&(null===(r=e.contentDocument)||void 0===r?void 0:r.body)?o(e.contentDocument.body.childNodes):o((null!==(i=e.shadowRoot)&&void 0!==i?i:e).childNodes),0===a.length||c(e,HTMLVideoElement)||await a.reduce(((e,r)=>e.then((()=>E(r,n))).then((e=>{e&&t.appendChild(e)}))),Promise.resolve()),t}(e,n,t))).then((t=>function(e,t){return c(t,Element)&&(function(e,t){const n=t.style;if(!n)return;const r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):o(r).forEach((o=>{let i=r.getPropertyValue(o);if("font-size"===o&&i.endsWith("px")){const e=Math.floor(parseFloat(i.substring(0,i.length-2)))-.1;i=`${e}px`}c(e,HTMLIFrameElement)&&"display"===o&&"inline"===i&&(i="block"),"d"===o&&t.getAttribute("d")&&(i=`path(${t.getAttribute("d")})`),n.setProperty(o,i,r.getPropertyPriority(o))}))}(e,t),function(e,t){u(e,t,":before"),u(e,t,":after")}(e,t),function(e,t){c(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),c(e,HTMLInputElement)&&t.setAttribute("value",e.value)}(e,t),function(e,t){if(c(e,HTMLSelectElement)){const n=t,r=Array.from(n.children).find((t=>e.value===t.getAttribute("value")));r&&r.setAttribute("selected","")}}(e,t)),t}(e,t))).then((e=>async function(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(0===n.length)return e;const r={};for(let o=0;o<n.length;o++){const i=n[o].getAttribute("xlink:href");if(i){const n=e.querySelector(i),o=document.querySelector(i);n||!o||r[i]||(r[i]=await E(o,t,!0))}}const o=Object.values(r);if(o.length){const t="http://www.w3.org/1999/xhtml",n=document.createElementNS(t,"svg");n.setAttribute("xmlns",t),n.style.position="absolute",n.style.width="0",n.style.height="0",n.style.overflow="hidden",n.style.display="none";const r=document.createElementNS(t,"defs");n.appendChild(r);for(let e=0;e<o.length;e++)r.appendChild(o[e]);e.appendChild(n)}return e}(e,t))):null}const x=/url\((['"]?)([^'"]+?)\1\)/g,S=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,_=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function O(e){return-1!==e.search(x)}async function C(e,t,n){if(!O(e))return e;const r=function(e,{preferredFontFormat:t}){return t?e.replace(_,(e=>{for(;;){const[n,,r]=S.exec(e)||[];if(!r)return"";if(r===t)return`src: ${n};`}})):e}(e,n),o=function(e){const t=[];return e.replace(x,((e,n,r)=>(t.push(r),e))),t.filter((e=>!m(e)))}(r);return o.reduce(((e,r)=>e.then((e=>async function(e,t,n,r,o){try{const i=n?function(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}(t,n):t,a=p(t);let s;return s=o?v(await o(i),a):await b(i,a,r),e.replace(function(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}(t),`$1${s}$3`)}catch(e){}return e}(e,r,t,n)))),Promise.resolve(r))}async function A(e,t,n){var r;const o=null===(r=t.style)||void 0===r?void 0:r.getPropertyValue(e);if(o){const r=await C(o,null,n);return t.style.setProperty(e,r,t.style.getPropertyPriority(e)),!0}return!1}async function k(e,t){c(e,Element)&&(await async function(e,t){await A("background",e,t)||await A("background-image",e,t),await A("mask",e,t)||await A("mask-image",e,t)}(e,t),await async function(e,t){const n=c(e,HTMLImageElement);if((!n||m(e.src))&&(!c(e,SVGImageElement)||m(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await b(r,p(r),t);await new Promise(((t,r)=>{e.onload=t,e.onerror=r;const i=e;i.decode&&(i.decode=t),"lazy"===i.loading&&(i.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o}))}(e,t),await async function(e,t){const n=o(e.childNodes).map((e=>k(e,t)));await Promise.all(n).then((()=>e))}(e,t))}const M={};async function T(e){let t=M[e];if(null!=t)return t;const n=await fetch(e);return t={url:e,cssText:await n.text()},M[e]=t,t}async function P(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,o=(n.match(/url\([^)]+\)/g)||[]).map((async o=>{let i=o.replace(r,"$1");return i.startsWith("https://")||(i=new URL(i,e.url).href),g(i,t.fetchRequestInit,(({result:e})=>(n=n.replace(o,`url(${e})`),[o,e])))}));return Promise.all(o).then((()=>n))}function I(e){if(null==e)return[];const t=[];let n=e.replace(/(\/\*[\s\S]*?\*\/)/gi,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const e=r.exec(n);if(null===e)break;t.push(e[0])}n=n.replace(r,"");const o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,i=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");for(;;){let e=o.exec(n);if(null===e){if(e=i.exec(n),null===e)break;o.lastIndex=i.lastIndex}else i.lastIndex=o.lastIndex;t.push(e[0])}return t}async function j(e,t){const n=null!=t.fontEmbedCSS?t.fontEmbedCSS:t.skipFonts?null:await async function(e,t){const n=await async function(e,t){if(null==e.ownerDocument)throw new Error("Provided element is not within a Document");const n=o(e.ownerDocument.styleSheets),r=await async function(e,t){const n=[],r=[];return e.forEach((n=>{if("cssRules"in n)try{o(n.cssRules||[]).forEach(((e,o)=>{if(e.type===CSSRule.IMPORT_RULE){let i=o+1;const a=T(e.href).then((e=>P(e,t))).then((e=>I(e).forEach((e=>{try{n.insertRule(e,e.startsWith("@import")?i+=1:n.cssRules.length)}catch(t){console.error("Error inserting rule from remote css",{rule:e,error:t})}})))).catch((e=>{console.error("Error loading remote css",e.toString())}));r.push(a)}}))}catch(o){const i=e.find((e=>null==e.href))||document.styleSheets[0];null!=n.href&&r.push(T(n.href).then((e=>P(e,t))).then((e=>I(e).forEach((e=>{i.insertRule(e,n.cssRules.length)})))).catch((e=>{console.error("Error loading remote stylesheet",e)}))),console.error("Error inlining remote css file",o)}})),Promise.all(r).then((()=>(e.forEach((e=>{if("cssRules"in e)try{o(e.cssRules||[]).forEach((e=>{n.push(e)}))}catch(t){console.error(`Error while reading CSS rules from ${e.href}`,t)}})),n)))}(n,t);return function(e){return e.filter((e=>e.type===CSSRule.FONT_FACE_RULE)).filter((e=>O(e.style.getPropertyValue("src"))))}(r)}(e,t);return(await Promise.all(n.map((e=>{const n=e.parentStyleSheet?e.parentStyleSheet.href:null;return C(e.cssText,n,t)})))).join("\n")}(e,t);if(n){const t=document.createElement("style"),r=document.createTextNode(n);t.appendChild(r),e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}}async function z(e,t={}){const{width:n,height:r}=a(e,t),o=await E(e,t,!0);return await j(o,t),await k(o,t),function(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;null!=r&&Object.keys(r).forEach((e=>{n[e]=r[e]}))}(o,t),await async function(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),i=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),o.appendChild(i),i.appendChild(e),async function(e){return Promise.resolve().then((()=>(new XMLSerializer).serializeToString(e))).then(encodeURIComponent).then((e=>`data:image/svg+xml;charset=utf-8,${e}`))}(o)}(o,n,r)}async function D(e,t={}){return(await async function(e,t={}){const{width:n,height:r}=a(e,t),o=await z(e,t),i=await l(o),c=document.createElement("canvas"),u=c.getContext("2d"),d=t.pixelRatio||function(){let e,t;try{t=process}catch(e){}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}(),f=t.canvasWidth||n,h=t.canvasHeight||r;return c.width=f*d,c.height=h*d,t.skipAutoScale||function(e){(e.width>s||e.height>s)&&(e.width>s&&e.height>s?e.width>e.height?(e.height*=s/e.width,e.width=s):(e.width*=s/e.height,e.height=s):e.width>s?(e.height*=s/e.width,e.width=s):(e.width*=s/e.height,e.height=s))}(c),c.style.width=`${f}`,c.style.height=`${h}`,t.backgroundColor&&(u.fillStyle=t.backgroundColor,u.fillRect(0,0,c.width,c.height)),u.drawImage(i,0,0,c.width,c.height),c}(e,t)).toDataURL("image/jpeg",t.quality||1)}},49568:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Collection:()=>O,Iterable:()=>kr,List:()=>cn,Map:()=>$t,OrderedMap:()=>Sn,OrderedSet:()=>ur,PairSorting:()=>mr,Range:()=>Kn,Record:()=>vr,Repeat:()=>Sr,Seq:()=>Z,Set:()=>Ln,Stack:()=>Mn,default:()=>Mr,fromJS:()=>_r,get:()=>lt,getIn:()=>Gn,has:()=>st,hasIn:()=>Yn,hash:()=>ge,is:()=>he,isAssociative:()=>_,isCollection:()=>b,isImmutable:()=>j,isIndexed:()=>S,isKeyed:()=>E,isList:()=>ln,isMap:()=>ue,isOrdered:()=>D,isOrderedMap:()=>de,isOrderedSet:()=>Rn,isPlainObject:()=>ot,isRecord:()=>I,isSeq:()=>T,isSet:()=>Dn,isStack:()=>kn,isValueObject:()=>fe,merge:()=>_t,mergeDeep:()=>Ct,mergeDeepWith:()=>At,mergeWith:()=>Ot,remove:()=>ut,removeIn:()=>vt,set:()=>dt,setIn:()=>pt,update:()=>yt,updateIn:()=>ft,version:()=>Ar});var r="delete",o=5,i=1<<o,a=i-1,s={};function l(e){e&&(e.value=!0)}function c(){}function u(e){return void 0===e.size&&(e.size=e.__iterate(f)),e.size}function d(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?u(e)+t:t}function f(){return!0}function h(e,t,n){return(0===e&&!g(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function p(e,t){return v(e,t,0)}function m(e,t){return v(e,t,t)}function v(e,t,n){return void 0===e?n:g(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function g(e){return e<0||0===e&&1/e==-1/0}var y="@@__IMMUTABLE_ITERABLE__@@";function b(e){return Boolean(e&&e[y])}var w="@@__IMMUTABLE_KEYED__@@";function E(e){return Boolean(e&&e[w])}var x="@@__IMMUTABLE_INDEXED__@@";function S(e){return Boolean(e&&e[x])}function _(e){return E(e)||S(e)}var O=function(e){return b(e)?e:Z(e)},C=function(e){function t(e){return E(e)?e:J(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(O),A=function(e){function t(e){return S(e)?e:Q(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(O),k=function(e){function t(e){return b(e)&&!_(e)?e:ee(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(O);O.Keyed=C,O.Indexed=A,O.Set=k;var M="@@__IMMUTABLE_SEQ__@@";function T(e){return Boolean(e&&e[M])}var P="@@__IMMUTABLE_RECORD__@@";function I(e){return Boolean(e&&e[P])}function j(e){return b(e)||I(e)}var z="@@__IMMUTABLE_ORDERED__@@";function D(e){return Boolean(e&&e[z])}var R=0,N=1,$=2,F="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",B=F||L,H=function(e){this.next=e};function V(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function U(){return{value:void 0,done:!0}}function W(e){return!!Array.isArray(e)||!!G(e)}function q(e){return e&&"function"==typeof e.next}function K(e){var t=G(e);return t&&t.call(e)}function G(e){var t=e&&(F&&e[F]||e[L]);if("function"==typeof t)return t}H.prototype.toString=function(){return"[Iterator]"},H.KEYS=R,H.VALUES=N,H.ENTRIES=$,H.prototype.inspect=H.prototype.toSource=function(){return this.toString()},H.prototype[B]=function(){return this};var X=Object.prototype.hasOwnProperty;function Y(e){return!(!Array.isArray(e)&&"string"!=typeof e)||e&&"object"==typeof e&&Number.isInteger(e.length)&&e.length>=0&&(0===e.length?1===Object.keys(e).length:e.hasOwnProperty(e.length-1))}var Z=function(e){function t(e){return null==e?ie():j(e)?e.toSeq():function(e){var t,n,r=le(e);if(r)return(n=G(t=e))&&n===t.entries?r.fromEntrySeq():function(e){var t=G(e);return t&&t===e.keys}(e)?r.toSetSeq():r;if("object"==typeof e)return new ne(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var r=n.length,o=0;o!==r;){var i=n[t?r-++o:o++];if(!1===e(i[1],i[0],this))break}return o}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var r=n.length,o=0;return new H((function(){if(o===r)return{value:void 0,done:!0};var i=n[t?r-++o:o++];return V(e,i[0],i[1])}))}return this.__iteratorUncached(e,t)},t}(O),J=function(e){function t(e){return null==e?ie().toKeyedSeq():b(e)?E(e)?e.toSeq():e.fromEntrySeq():I(e)?e.toSeq():ae(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(Z),Q=function(e){function t(e){return null==e?ie():b(e)?E(e)?e.entrySeq():e.toIndexedSeq():I(e)?e.toSeq().entrySeq():se(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}(Z),ee=function(e){function t(e){return(b(e)&&!_(e)?e:Q(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}(Z);Z.isSeq=T,Z.Keyed=J,Z.Set=ee,Z.Indexed=Q,Z.prototype[M]=!0;var te=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[d(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length,o=0;o!==r;){var i=t?r-++o:o++;if(!1===e(n[i],i,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._array,r=n.length,o=0;return new H((function(){if(o===r)return{value:void 0,done:!0};var i=t?r-++o:o++;return V(e,i,n[i])}))},t}(Q),ne=function(e){function t(e){var t=Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return X.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length,i=0;i!==o;){var a=r[t?o-++i:i++];if(!1===e(n[a],a,this))break}return i},t.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length,i=0;return new H((function(){if(i===o)return{value:void 0,done:!0};var a=r[t?o-++i:i++];return V(e,a,n[a])}))},t}(J);ne.prototype[z]=!0;var re,oe=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=K(this._collection),r=0;if(q(n))for(var o;!(o=n.next()).done&&!1!==e(o.value,r++,this););return r},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=K(this._collection);if(!q(n))return new H(U);var r=0;return new H((function(){var t=n.next();return t.done?t:V(e,r++,t.value)}))},t}(Q);function ie(){return re||(re=new te([]))}function ae(e){var t=le(e);if(t)return t.fromEntrySeq();if("object"==typeof e)return new ne(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function se(e){var t=le(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function le(e){return Y(e)?new te(e):W(e)?new oe(e):void 0}var ce="@@__IMMUTABLE_MAP__@@";function ue(e){return Boolean(e&&e[ce])}function de(e){return ue(e)&&D(e)}function fe(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function he(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!(fe(e)&&fe(t)&&e.equals(t))}var pe="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function me(e){return e>>>1&1073741824|3221225471&e}var ve=Object.prototype.valueOf;function ge(e){if(null==e)return ye(e);if("function"==typeof e.hashCode)return me(e.hashCode(e));var t,n,r,o=(t=e).valueOf!==ve&&"function"==typeof t.valueOf?t.valueOf(t):t;if(null==o)return ye(o);switch(typeof o){case"boolean":return o?1108378657:1108378656;case"number":return function(e){if(e!=e||e===1/0)return 0;var t=0|e;for(t!==e&&(t^=4294967295*e);e>4294967295;)t^=e/=4294967295;return me(t)}(o);case"string":return o.length>ke?(void 0===(r=Pe[n=o])&&(r=be(n),Te===Me&&(Te=0,Pe={}),Te++,Pe[n]=r),r):be(o);case"object":case"function":return function(e){var t;if(_e&&void 0!==(t=Se.get(e)))return t;if(void 0!==(t=e[Ae]))return t;if(!Ee){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Ae]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}if(t=xe(),_e)Se.set(e,t);else{if(void 0!==we&&!1===we(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ee)Object.defineProperty(e,Ae,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Ae]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Ae]=t}}return t}(o);case"symbol":return function(e){var t=Oe[e];return void 0!==t||(t=xe(),Oe[e]=t),t}(o);default:if("function"==typeof o.toString)return be(o.toString());throw new Error("Value type "+typeof o+" cannot be hashed.")}}function ye(e){return null===e?1108378658:1108378659}function be(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return me(t)}var we=Object.isExtensible,Ee=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function xe(){var e=++Ce;return 1073741824&Ce&&(Ce=0),e}var Se,_e="function"==typeof WeakMap;_e&&(Se=new WeakMap);var Oe=Object.create(null),Ce=0,Ae="__immutablehash__";"function"==typeof Symbol&&(Ae=Symbol(Ae));var ke=16,Me=255,Te=0,Pe={},Ie=function(e){function t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this._iter.get(e,t)},t.prototype.has=function(e){return this._iter.has(e)},t.prototype.valueSeq=function(){return this._iter.valueSeq()},t.prototype.reverse=function(){var e=this,t=$e(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=Ne(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,r){return e(t,r,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(J);Ie.prototype[z]=!0;var je=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,r=0;return t&&u(this),this._iter.__iterate((function(o){return e(o,t?n.size-++r:r++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,r=this._iter.__iterator(N,t),o=0;return t&&u(this),new H((function(){var i=r.next();return i.done?i:V(e,t?n.size-++o:o++,i.value,i)}))},t}(Q),ze=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.has=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t);return new H((function(){var t=n.next();return t.done?t:V(e,t.value,t.value,t)}))},t}(ee),De=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.entrySeq=function(){return this._iter.toSeq()},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){Ge(t);var r=b(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(N,t);return new H((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Ge(r);var o=b(r);return V(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}}))},t}(J);function Re(e){var t=Ye(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=Ze,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(t===$){var r=e.__iterator(t,n);return new H((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===N?R:N,n)},t}function Ne(e,t,n){var r=Ye(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,s);return i===s?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate((function(e,o,a){return!1!==r(t.call(n,e,o,a),o,i)}),o)},r.__iteratorUncached=function(r,o){var i=e.__iterator($,o);return new H((function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return V(r,s,t.call(n,a[1],s,e),o)}))},r}function $e(e,t){var n=this,r=Ye(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=Re(e);return t.reverse=function(){return e.flip()},t}),r.get=function(n,r){return e.get(t?n:-1-n,r)},r.has=function(n){return e.has(t?n:-1-n)},r.includes=function(t){return e.includes(t)},r.cacheResult=Ze,r.__iterate=function(n,r){var o=this,i=0;return r&&u(e),e.__iterate((function(e,a){return n(e,t?a:r?o.size-++i:i++,o)}),!r)},r.__iterator=function(r,o){var i=0;o&&u(e);var a=e.__iterator($,!o);return new H((function(){var e=a.next();if(e.done)return e;var s=e.value;return V(r,t?s[0]:o?n.size-++i:i++,s[1],e)}))},r}function Fe(e,t,n,r){var o=Ye(e);return r&&(o.has=function(r){var o=e.get(r,s);return o!==s&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,s);return i!==s&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate((function(e,i,l){if(t.call(n,e,i,l))return s++,o(e,r?i:s-1,a)}),i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator($,i),s=0;return new H((function(){for(;;){var i=a.next();if(i.done)return i;var l=i.value,c=l[0],u=l[1];if(t.call(n,u,c,e))return V(o,r?c:s++,u,i)}}))},o}function Le(e,t,n,r){var o=e.size;if(h(t,n,o))return e;var i=p(t,o),a=m(n,o);if(i!=i||a!=a)return Le(e.toSeq().cacheResult(),t,n,r);var s,l=a-i;l==l&&(s=l<0?0:l);var c=Ye(e);return c.size=0===s?s:e.size&&s||void 0,!r&&T(e)&&s>=0&&(c.get=function(t,n){return(t=d(this,t))>=0&&t<s?e.get(t+i,n):n}),c.__iterateUncached=function(t,n){var o=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,l=!0,c=0;return e.__iterate((function(e,n){if(!l||!(l=a++<i))return c++,!1!==t(e,r?n:c-1,o)&&c!==s})),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);if(0===s)return new H(U);var o=e.__iterator(t,n),a=0,l=0;return new H((function(){for(;a++<i;)o.next();if(++l>s)return{value:void 0,done:!0};var e=o.next();return r||t===N||e.done?e:V(t,l-1,t===R?void 0:e.value[1],e)}))},c}function Be(e,t,n,r){var o=Ye(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,l=0;return e.__iterate((function(e,i,c){if(!s||!(s=t.call(n,e,i,c)))return l++,o(e,r?i:l-1,a)})),l},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator($,i),l=!0,c=0;return new H((function(){var e,i,u;do{if((e=s.next()).done)return r||o===N?e:V(o,c++,o===R?void 0:e.value[1],e);var d=e.value;i=d[0],u=d[1],l&&(l=t.call(n,u,i,a))}while(l);return o===$?e:V(o,i,u,e)}))},o}function He(e,t,n){var r=Ye(e);return r.__iterateUncached=function(o,i){if(i)return this.cacheResult().__iterate(o,i);var a=0,s=!1;return function e(l,c){l.__iterate((function(i,l){return(!t||c<t)&&b(i)?e(i,c+1):(a++,!1===o(i,n?l:a-1,r)&&(s=!0)),!s}),i)}(e,0),a},r.__iteratorUncached=function(r,o){if(o)return this.cacheResult().__iterator(r,o);var i=e.__iterator(r,o),a=[],s=0;return new H((function(){for(;i;){var e=i.next();if(!1===e.done){var l=e.value;if(r===$&&(l=l[1]),t&&!(a.length<t)||!b(l))return n?e:V(r,s++,l,e);a.push(i),i=l.__iterator(r,o)}else i=a.pop()}return{value:void 0,done:!0}}))},r}function Ve(e,t,n){t||(t=Je);var r=E(e),o=0,i=e.toSeq().map((function(t,r){return[r,t,o++,n?n(t,r,e):t]})).valueSeq().toArray();return i.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?J(i):S(e)?Q(i):ee(i)}function Ue(e,t,n){if(t||(t=Je),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return We(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return We(t,e,n)?n:e}))}function We(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function qe(e,t,n,r){var o=Ye(e),i=new te(n).map((function(e){return e.size}));return o.size=r?i.max():i.min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(N,t),o=0;!(n=r.next()).done&&!1!==e(n.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=n.map((function(e){return e=O(e),K(o?e.reverse():e)})),a=0,s=!1;return new H((function(){var n;return s||(n=i.map((function(e){return e.next()})),s=r?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:V(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},o}function Ke(e,t){return e===t?e:T(e)?t:e.constructor(t)}function Ge(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Xe(e){return E(e)?C:S(e)?A:k}function Ye(e){return Object.create((E(e)?J:S(e)?Q:ee).prototype)}function Ze(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Z.prototype.cacheResult.call(this)}function Je(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e<t?-1:0}function Qe(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o<n;o++)r[o]=e[o+t];return r}function et(e,t){if(!e)throw new Error(t)}function tt(e){et(e!==1/0,"Cannot perform this action with an infinite size.")}function nt(e){if(Y(e)&&"string"!=typeof e)return e;if(D(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}je.prototype.cacheResult=Ie.prototype.cacheResult=ze.prototype.cacheResult=De.prototype.cacheResult=Ze;var rt=Object.prototype.toString;function ot(e){if(!e||"object"!=typeof e||"[object Object]"!==rt.call(e))return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t,r=Object.getPrototypeOf(t);null!==r;)n=r,r=Object.getPrototypeOf(n);return n===t}function it(e){return"object"==typeof e&&(j(e)||Array.isArray(e)||ot(e))}function at(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function st(e,t){return j(e)?e.has(t):it(e)&&X.call(e,t)}function lt(e,t,n){return j(e)?e.get(t,n):st(e,t)?"function"==typeof e.get?e.get(t):e[t]:n}function ct(e){if(Array.isArray(e))return Qe(e);var t={};for(var n in e)X.call(e,n)&&(t[n]=e[n]);return t}function ut(e,t){if(!it(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(j(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!X.call(e,t))return e;var n=ct(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}function dt(e,t,n){if(!it(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(j(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(X.call(e,t)&&n===e[t])return e;var r=ct(e);return r[t]=n,r}function ft(e,t,n,r){r||(r=n,n=void 0);var o=ht(j(e),e,nt(t),0,n,r);return o===s?n:o}function ht(e,t,n,r,o,i){var a=t===s;if(r===n.length){var l=a?o:t,c=i(l);return c===l?t:c}if(!a&&!it(t))throw new TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,r).map(at)+"]: "+t);var u=n[r],d=a?s:lt(t,u,s),f=ht(d===s?e:j(d),d,n,r+1,o,i);return f===d?t:f===s?ut(t,u):dt(a?e?Yt():{}:t,u,f)}function pt(e,t,n){return ft(e,t,s,(function(){return n}))}function mt(e,t){return pt(this,e,t)}function vt(e,t){return ft(e,t,(function(){return s}))}function gt(e){return vt(this,e)}function yt(e,t,n,r){return ft(e,[t],n,r)}function bt(e,t,n){return 1===arguments.length?e(this):yt(this,e,t,n)}function wt(e,t,n){return ft(this,e,t,n)}function Et(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return St(this,e)}function xt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"!=typeof e)throw new TypeError("Invalid merger function: "+e);return St(this,t,e)}function St(e,t,n){for(var r=[],o=0;o<t.length;o++){var i=C(t[o]);0!==i.size&&r.push(i)}return 0===r.length?e:0!==e.toSeq().size||e.__ownerID||1!==r.length?e.withMutations((function(e){for(var t=n?function(t,r){yt(e,r,s,(function(e){return e===s?t:n(e,t,r)}))}:function(t,n){e.set(n,t)},o=0;o<r.length;o++)r[o].forEach(t)})):e.constructor(r[0])}function _t(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Mt(e,t)}function Ot(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return Mt(t,n,e)}function Ct(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return kt(e,t)}function At(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return kt(t,n,e)}function kt(e,t,n){return Mt(e,t,function(e){return function t(n,r,o){return it(n)&&it(r)&&(i=r,a=Z(n),s=Z(i),S(a)===S(s)&&E(a)===E(s))?Mt(n,[r],t):e?e(n,r,o):r;var i,a,s}}(n))}function Mt(e,t,n){if(!it(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(j(e))return"function"==typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var r=Array.isArray(e),o=e,i=r?A:C,a=r?function(t){o===e&&(o=ct(o)),o.push(t)}:function(t,r){var i=X.call(o,r),a=i&&n?n(o[r],t,r):t;i&&a===o[r]||(o===e&&(o=ct(o)),o[r]=a)},s=0;s<t.length;s++)i(t[s]).forEach(a);return o}function Tt(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return kt(this,e)}function Pt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return kt(this,t,e)}function It(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return ft(this,e,Yt(),(function(e){return Mt(e,t)}))}function jt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return ft(this,e,Yt(),(function(e){return kt(e,t)}))}function zt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function Dt(){return this.__ownerID?this:this.__ensureOwner(new c)}function Rt(){return this.__ensureOwner()}function Nt(){return this.__altered}var $t=function(e){function t(t){return null==t?Yt():ue(t)&&!D(t)?t:Yt().withMutations((function(n){var r=e(t);tt(r.size),r.forEach((function(e,t){return n.set(t,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return Yt().withMutations((function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}}))},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return Zt(this,e,t)},t.prototype.remove=function(e){return Zt(this,e,s)},t.prototype.deleteAll=function(e){var t=O(e);return 0===t.size?this:this.withMutations((function(e){t.forEach((function(t){return e.remove(t)}))}))},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Yt()},t.prototype.sort=function(e){return Sn(Ve(this,e))},t.prototype.sortBy=function(e,t){return Sn(Ve(this,t,e))},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(r){r.forEach((function(o,i){r.set(i,e.call(t,o,i,n))}))}))},t.prototype.__iterator=function(e,t){return new qt(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Xt(this.size,this._root,e,this.__hash):0===this.size?Yt():(this.__ownerID=e,this.__altered=!1,this)},t}(C);$t.isMap=ue;var Ft=$t.prototype;Ft[ce]=!0,Ft[r]=Ft.remove,Ft.removeAll=Ft.deleteAll,Ft.setIn=mt,Ft.removeIn=Ft.deleteIn=gt,Ft.update=bt,Ft.updateIn=wt,Ft.merge=Ft.concat=Et,Ft.mergeWith=xt,Ft.mergeDeep=Tt,Ft.mergeDeepWith=Pt,Ft.mergeIn=It,Ft.mergeDeepIn=jt,Ft.withMutations=zt,Ft.wasAltered=Nt,Ft.asImmutable=Rt,Ft["@@transducer/init"]=Ft.asMutable=Dt,Ft["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},Ft["@@transducer/result"]=function(e){return e.asImmutable()};var Lt=function(e,t){this.ownerID=e,this.entries=t};Lt.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(he(n,o[i][0]))return o[i][1];return r},Lt.prototype.update=function(e,t,n,r,o,i,a){for(var u=o===s,d=this.entries,f=0,h=d.length;f<h&&!he(r,d[f][0]);f++);var p=f<h;if(p?d[f][1]===o:u)return this;if(l(a),(u||!p)&&l(i),!u||1!==d.length){if(!p&&!u&&d.length>=rn)return function(e,t,n,r){e||(e=new c);for(var o=new Ut(e,ge(n),[n,r]),i=0;i<t.length;i++){var a=t[i];o=o.update(e,0,void 0,a[0],a[1])}return o}(e,d,r,o);var m=e&&e===this.ownerID,v=m?d:Qe(d);return p?u?f===h-1?v.pop():v[f]=v.pop():v[f]=[r,o]:v.push([r,o]),m?(this.entries=v,this):new Lt(e,v)}};var Bt=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Bt.prototype.get=function(e,t,n,r){void 0===t&&(t=ge(n));var i=1<<((0===e?t:t>>>e)&a),s=this.bitmap;return s&i?this.nodes[tn(s&i-1)].get(e+o,t,n,r):r},Bt.prototype.update=function(e,t,n,r,l,c,u){void 0===n&&(n=ge(r));var d=(0===t?n:n>>>t)&a,f=1<<d,h=this.bitmap,p=!!(h&f);if(!p&&l===s)return this;var m=tn(h&f-1),v=this.nodes,g=p?v[m]:void 0,y=Jt(g,e,t+o,n,r,l,c,u);if(y===g)return this;if(!p&&y&&v.length>=on)return function(e,t,n,r,o){for(var a=0,s=new Array(i),l=0;0!==n;l++,n>>>=1)s[l]=1&n?t[a++]:void 0;return s[r]=o,new Ht(e,a+1,s)}(e,v,h,d,y);if(p&&!y&&2===v.length&&Qt(v[1^m]))return v[1^m];if(p&&y&&1===v.length&&Qt(y))return y;var b=e&&e===this.ownerID,w=p?y?h:h^f:h|f,E=p?y?nn(v,m,y,b):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;a<r;a++)a===t&&(i=1),o[a]=e[a+i];return o}(v,m,b):function(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s<o;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}(v,m,y,b);return b?(this.bitmap=w,this.nodes=E,this):new Bt(e,w,E)};var Ht=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};Ht.prototype.get=function(e,t,n,r){void 0===t&&(t=ge(n));var i=(0===e?t:t>>>e)&a,s=this.nodes[i];return s?s.get(e+o,t,n,r):r},Ht.prototype.update=function(e,t,n,r,i,l,c){void 0===n&&(n=ge(r));var u=(0===t?n:n>>>t)&a,d=i===s,f=this.nodes,h=f[u];if(d&&!h)return this;var p=Jt(h,e,t+o,n,r,i,l,c);if(p===h)return this;var m=this.count;if(h){if(!p&&--m<an)return function(e,t,n,r){for(var o=0,i=0,a=new Array(n),s=0,l=1,c=t.length;s<c;s++,l<<=1){var u=t[s];void 0!==u&&s!==r&&(o|=l,a[i++]=u)}return new Bt(e,o,a)}(e,f,m,u)}else m++;var v=e&&e===this.ownerID,g=nn(f,u,p,v);return v?(this.count=m,this.nodes=g,this):new Ht(e,m,g)};var Vt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};Vt.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i<a;i++)if(he(n,o[i][0]))return o[i][1];return r},Vt.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ge(r));var c=o===s;if(n!==this.keyHash)return c?this:(l(a),l(i),en(this,e,t,n,[r,o]));for(var u=this.entries,d=0,f=u.length;d<f&&!he(r,u[d][0]);d++);var h=d<f;if(h?u[d][1]===o:c)return this;if(l(a),(c||!h)&&l(i),c&&2===f)return new Ut(e,this.keyHash,u[1^d]);var p=e&&e===this.ownerID,m=p?u:Qe(u);return h?c?d===f-1?m.pop():m[d]=m.pop():m[d]=[r,o]:m.push([r,o]),p?(this.entries=m,this):new Vt(e,this.keyHash,m)};var Ut=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};Ut.prototype.get=function(e,t,n,r){return he(n,this.entry[0])?this.entry[1]:r},Ut.prototype.update=function(e,t,n,r,o,i,a){var c=o===s,u=he(r,this.entry[0]);return(u?o===this.entry[1]:c)?this:(l(a),c?void l(i):u?e&&e===this.ownerID?(this.entry[1]=o,this):new Ut(e,this.keyHash,[r,o]):(l(i),en(this,e,t,ge(r),[r,o])))},Lt.prototype.iterate=Vt.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;r<=o;r++)if(!1===e(n[t?o-r:r]))return!1},Bt.prototype.iterate=Ht.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;r<=o;r++){var i=n[t?o-r:r];if(i&&!1===i.iterate(e,t))return!1}},Ut.prototype.iterate=function(e,t){return e(this.entry)};var Wt,qt=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Gt(e._root)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n=t.node,r=t.index++,o=void 0;if(n.entry){if(0===r)return Kt(e,n.entry)}else if(n.entries){if(r<=(o=n.entries.length-1))return Kt(e,n.entries[this._reverse?o-r:r])}else if(r<=(o=n.nodes.length-1)){var i=n.nodes[this._reverse?o-r:r];if(i){if(i.entry)return Kt(e,i.entry);t=this._stack=Gt(i,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(H);function Kt(e,t){return V(e,t[0],t[1])}function Gt(e,t){return{node:e,index:0,__prev:t}}function Xt(e,t,n,r){var o=Object.create(Ft);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Yt(){return Wt||(Wt=Xt(0))}function Zt(e,t,n){var r,o;if(e._root){var i={value:!1},a={value:!1};if(r=Jt(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===s?-1:1:0)}else{if(n===s)return e;o=1,r=new Lt(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?Xt(o,r):Yt()}function Jt(e,t,n,r,o,i,a,c){return e?e.update(t,n,r,o,i,a,c):i===s?e:(l(c),l(a),new Ut(t,r,[o,i]))}function Qt(e){return e.constructor===Ut||e.constructor===Vt}function en(e,t,n,r,i){if(e.keyHash===r)return new Vt(t,r,[e.entry,i]);var s,l=(0===n?e.keyHash:e.keyHash>>>n)&a,c=(0===n?r:r>>>n)&a,u=l===c?[en(e,t,n+o,r,i)]:(s=new Ut(t,r,i),l<c?[e,s]:[s,e]);return new Bt(t,1<<l|1<<c,u)}function tn(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,127&(e+=e>>8)+(e>>16)}function nn(e,t,n,r){var o=r?e:Qe(e);return o[t]=n,o}var rn=i/4,on=i/2,an=i/4,sn="@@__IMMUTABLE_LIST__@@";function ln(e){return Boolean(e&&e[sn])}var cn=function(e){function t(t){var n=vn();if(null==t)return n;if(ln(t))return t;var r=e(t),a=r.size;return 0===a?n:(tt(a),a>0&&a<i?mn(0,a,o,null,new dn(r.toArray())):n.withMutations((function(e){e.setSize(a),r.forEach((function(t,n){return e.set(n,t)}))})))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=d(this,e))>=0&&e<this.size){var n=bn(this,e+=this._origin);return n&&n.array[e&a]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=d(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?wn(e,t).set(0,n):wn(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,o=e._root,i={value:!1};return t>=En(e._capacity)?r=gn(r,e.__ownerID,0,t,n,i):o=gn(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):mn(e._origin,e._capacity,e._level,o,r):e}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=o,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):vn()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){wn(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return wn(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){wn(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return wn(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],r=0;r<arguments.length;r++){var o=t[r],i=e("string"!=typeof o&&W(o)?o:[o]);0!==i.size&&n.push(i)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return wn(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(r){for(var o=0;o<n.size;o++)r.set(o,e.call(t,r.get(o),o,n))}))},t.prototype.slice=function(e,t){var n=this.size;return h(e,t,n)?this:wn(this,p(e,n),m(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=pn(this,t);return new H((function(){var o=r();return o===hn?{value:void 0,done:!0}:V(e,t?--n:n++,o)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,o=pn(this,t);(n=o())!==hn&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?mn(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?vn():(this.__ownerID=e,this.__altered=!1,this)},t}(A);cn.isList=ln;var un=cn.prototype;un[sn]=!0,un[r]=un.remove,un.merge=un.concat,un.setIn=mt,un.deleteIn=un.removeIn=gt,un.update=bt,un.updateIn=wt,un.mergeIn=It,un.mergeDeepIn=jt,un.withMutations=zt,un.wasAltered=Nt,un.asImmutable=Rt,un["@@transducer/init"]=un.asMutable=Dt,un["@@transducer/step"]=function(e,t){return e.push(t)},un["@@transducer/result"]=function(e){return e.asImmutable()};var dn=function(e,t){this.array=e,this.ownerID=t};dn.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&a;if(r>=this.array.length)return new dn([],e);var i,s=0===r;if(t>0){var l=this.array[r];if((i=l&&l.removeBefore(e,t-o,n))===l&&s)return this}if(s&&!i)return this;var c=yn(this,e);if(!s)for(var u=0;u<r;u++)c.array[u]=void 0;return i&&(c.array[r]=i),c},dn.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&a;if(i>=this.array.length)return this;if(t>0){var s=this.array[i];if((r=s&&s.removeAfter(e,t-o,n))===s&&i===this.array.length-1)return this}var l=yn(this,e);return l.array.splice(i+1),r&&(l.array[i]=r),l};var fn,hn={};function pn(e,t){var n=e._origin,r=e._capacity,a=En(r),s=e._tail;return function e(l,c,u){return 0===c?function(e,o){var l=o===a?s&&s.array:e&&e.array,c=o>n?0:n-o,u=r-o;return u>i&&(u=i),function(){if(c===u)return hn;var e=t?--u:c++;return l&&l[e]}}(l,u):function(a,s,l){var c,u=a&&a.array,d=l>n?0:n-l>>s,f=1+(r-l>>s);return f>i&&(f=i),function(){for(;;){if(c){var n=c();if(n!==hn)return n;c=null}if(d===f)return hn;var r=t?--f:d++;c=e(u&&u[r],s-o,l+(r<<s))}}}(l,c,u)}(e._root,e._level,0)}function mn(e,t,n,r,o,i,a){var s=Object.create(un);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function vn(){return fn||(fn=mn(0,0,o))}function gn(e,t,n,r,i,s){var c,u=r>>>n&a,d=e&&u<e.array.length;if(!d&&void 0===i)return e;if(n>0){var f=e&&e.array[u],h=gn(f,t,n-o,r,i,s);return h===f?e:((c=yn(e,t)).array[u]=h,c)}return d&&e.array[u]===i?e:(s&&l(s),c=yn(e,t),void 0===i&&u===c.array.length-1?c.array.pop():c.array[u]=i,c)}function yn(e,t){return t&&e&&t===e.ownerID?e:new dn(e?e.array.slice():[],t)}function bn(e,t){if(t>=En(e._capacity))return e._tail;if(t<1<<e._level+o){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&a],r-=o;return n}}function wn(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new c,i=e._origin,s=e._capacity,l=i+t,u=void 0===n?s:n<0?s+n:i+n;if(l===i&&u===s)return e;if(l>=u)return e.clear();for(var d=e._level,f=e._root,h=0;l+h<0;)f=new dn(f&&f.array.length?[void 0,f]:[],r),h+=1<<(d+=o);h&&(l+=h,i+=h,u+=h,s+=h);for(var p=En(s),m=En(u);m>=1<<d+o;)f=new dn(f&&f.array.length?[f]:[],r),d+=o;var v=e._tail,g=m<p?bn(e,u-1):m>p?new dn([],r):v;if(v&&m>p&&l<s&&v.array.length){for(var y=f=yn(f,r),b=d;b>o;b-=o){var w=p>>>b&a;y=y.array[w]=yn(y.array[w],r)}y.array[p>>>o&a]=v}if(u<s&&(g=g&&g.removeAfter(r,0,u)),l>=m)l-=m,u-=m,d=o,f=null,g=g&&g.removeBefore(r,0,l);else if(l>i||m<p){for(h=0;f;){var E=l>>>d&a;if(E!==m>>>d&a)break;E&&(h+=(1<<d)*E),d-=o,f=f.array[E]}f&&l>i&&(f=f.removeBefore(r,d,l-h)),f&&m<p&&(f=f.removeAfter(r,d,m-h)),h&&(l-=h,u-=h)}return e.__ownerID?(e.size=u-l,e._origin=l,e._capacity=u,e._level=d,e._root=f,e._tail=g,e.__hash=void 0,e.__altered=!0,e):mn(l,u,d,f,g)}function En(e){return e<i?0:e-1>>>o<<o}var xn,Sn=function(e){function t(e){return null==e?On():de(e)?e:On().withMutations((function(t){var n=C(e);tt(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},t.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):On()},t.prototype.set=function(e,t){return Cn(this,e,t)},t.prototype.remove=function(e){return Cn(this,e,s)},t.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?_n(t,n,e,this.__hash):0===this.size?On():(this.__ownerID=e,this.__altered=!1,this._map=t,this._list=n,this)},t}($t);function _n(e,t,n,r){var o=Object.create(Sn.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function On(){return xn||(xn=_n(Yt(),vn()))}function Cn(e,t,n){var r,o,a=e._map,l=e._list,c=a.get(t),u=void 0!==c;if(n===s){if(!u)return e;l.size>=i&&l.size>=2*a.size?(r=(o=l.filter((function(e,t){return void 0!==e&&c!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=a.remove(t),o=c===l.size-1?l.pop():l.set(c,void 0))}else if(u){if(n===l.get(c)[1])return e;r=a,o=l.set(c,[t,n])}else r=a.set(t,l.size),o=l.set(l.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e.__altered=!0,e):_n(r,o)}Sn.isOrderedMap=de,Sn.prototype[z]=!0,Sn.prototype[r]=Sn.prototype.remove;var An="@@__IMMUTABLE_STACK__@@";function kn(e){return Boolean(e&&e[An])}var Mn=function(e){function t(e){return null==e?jn():kn(e)?e:jn().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var n=this._head;for(e=d(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:e[r],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):In(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&kn(t))return t;tt(t.size);var n=this.size,r=this._head;return t.__iterate((function(e){n++,r={value:e,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):In(n,r)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):jn()},t.prototype.slice=function(t,n){if(h(t,n,this.size))return this;var r=p(t,this.size);if(m(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var o=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):In(o,i)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?In(this.size,this._head,e,this.__hash):0===this.size?jn():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new te(this.toArray()).__iterate((function(t,r){return e(t,r,n)}),t);for(var r=0,o=this._head;o&&!1!==e(o.value,r++,this);)o=o.next;return r},t.prototype.__iterator=function(e,t){if(t)return new te(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new H((function(){if(r){var t=r.value;return r=r.next,V(e,n++,t)}return{value:void 0,done:!0}}))},t}(A);Mn.isStack=kn;var Tn,Pn=Mn.prototype;function In(e,t,n,r){var o=Object.create(Pn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function jn(){return Tn||(Tn=In(0))}Pn[An]=!0,Pn.shift=Pn.pop,Pn.unshift=Pn.push,Pn.unshiftAll=Pn.pushAll,Pn.withMutations=zt,Pn.wasAltered=Nt,Pn.asImmutable=Rt,Pn["@@transducer/init"]=Pn.asMutable=Dt,Pn["@@transducer/step"]=function(e,t){return e.unshift(t)},Pn["@@transducer/result"]=function(e){return e.asImmutable()};var zn="@@__IMMUTABLE_SET__@@";function Dn(e){return Boolean(e&&e[zn])}function Rn(e){return Dn(e)&&D(e)}function Nn(e,t){if(e===t)return!0;if(!b(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||E(e)!==E(t)||S(e)!==S(t)||D(e)!==D(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!_(e);if(D(e)){var r=e.entries();return t.every((function(e,t){var o=r.next().value;return o&&he(o[1],e)&&(n||he(o[0],t))}))&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var a=!0,l=t.__iterate((function(t,r){if(n?!e.has(t):o?!he(t,e.get(r,s)):!he(e.get(r,s),t))return a=!1,!1}));return a&&e.size===l}function $n(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function Fn(e){if(!e||"object"!=typeof e)return e;if(!b(e)){if(!it(e))return e;e=Z(e)}if(E(e)){var t={};return e.__iterate((function(e,n){t[n]=Fn(e)})),t}var n=[];return e.__iterate((function(e){n.push(Fn(e))})),n}var Ln=function(e){function t(t){return null==t?Wn():Dn(t)&&!D(t)?t:Wn().withMutations((function(n){var r=e(t);tt(r.size),r.forEach((function(e){return n.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(C(e).keySeq())},t.intersect=function(e){return(e=O(e).toArray()).length?Hn.intersect.apply(t(e.pop()),e):Wn()},t.union=function(e){return(e=O(e).toArray()).length?Hn.union.apply(t(e.pop()),e):Wn()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return Vn(this,this._map.set(e,e))},t.prototype.remove=function(e){return Vn(this,this._map.remove(e))},t.prototype.clear=function(){return Vn(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,r=!1,o=Vn(this,this._map.mapEntries((function(o){var i=o[1],a=e.call(t,i,i,n);return a!==i&&(r=!0),[a,a]}),t));return r?o:this},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var r=0;r<t.length;r++)"string"==typeof t[r]?n.add(t[r]):e(t[r]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var r=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var r=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return ur(Ve(this,e))},t.prototype.sortBy=function(e,t){return ur(Ve(this,t,e))},t.prototype.wasAltered=function(){return this._map.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){return this._map.__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):0===this.size?this.__empty():(this.__ownerID=e,this._map=t,this)},t}(k);Ln.isSet=Dn;var Bn,Hn=Ln.prototype;function Vn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Un(e,t){var n=Object.create(Hn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Wn(){return Bn||(Bn=Un(Yt()))}Hn[zn]=!0,Hn[r]=Hn.remove,Hn.merge=Hn.concat=Hn.union,Hn.withMutations=zt,Hn.asImmutable=Rt,Hn["@@transducer/init"]=Hn.asMutable=Dt,Hn["@@transducer/step"]=function(e,t){return e.add(t)},Hn["@@transducer/result"]=function(e){return e.asImmutable()},Hn.__empty=Wn,Hn.__make=Un;var qn,Kn=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(et(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<e&&(r=-r),this._start=e,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-e)/r-1)+1),0===this.size){if(qn)return qn;qn=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},t.prototype.get=function(e,t){return this.has(e)?this._start+d(this,e)*this._step:t},t.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},t.prototype.slice=function(e,n){return h(e,n,this.size)?this:(e=p(e,this.size),(n=m(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,r=this._step,o=t?this._start+(n-1)*r:this._start,i=0;i!==n&&!1!==e(o,t?n-++i:i++,this);)o+=t?-r:r;return i},t.prototype.__iterator=function(e,t){var n=this.size,r=this._step,o=t?this._start+(n-1)*r:this._start,i=0;return new H((function(){if(i===n)return{value:void 0,done:!0};var a=o;return o+=t?-r:r,V(e,t?n-++i:i++,a)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:Nn(this,e)},t}(Q);function Gn(e,t,n){for(var r=nt(t),o=0;o!==r.length;)if((e=lt(e,r[o++],s))===s)return n;return e}function Xn(e,t){return Gn(this,e,t)}function Yn(e,t){return Gn(e,t,s)!==s}function Zn(){tt(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}O.isIterable=b,O.isKeyed=E,O.isIndexed=S,O.isAssociative=_,O.isOrdered=D,O.Iterator=H,$n(O,{toArray:function(){tt(this.size);var e=new Array(this.size||0),t=E(this),n=0;return this.__iterate((function(r,o){e[n++]=t?[o,r]:r})),e},toIndexedSeq:function(){return new je(this)},toJS:function(){return Fn(this)},toKeyedSeq:function(){return new Ie(this,!0)},toMap:function(){return $t(this.toKeyedSeq())},toObject:Zn,toOrderedMap:function(){return Sn(this.toKeyedSeq())},toOrderedSet:function(){return ur(E(this)?this.valueSeq():this)},toSet:function(){return Ln(E(this)?this.valueSeq():this)},toSetSeq:function(){return new ze(this)},toSeq:function(){return S(this)?this.toIndexedSeq():E(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Mn(E(this)?this.valueSeq():this)},toList:function(){return cn(E(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return Ke(this,function(e,t){var n=E(e),r=[e].concat(t).map((function(e){return b(e)?n&&(e=C(e)):e=n?ae(e):se(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&E(o)||S(e)&&S(o))return o}var i=new te(r);return n?i=i.toKeyedSeq():S(e)||(i=i.toSetSeq()),(i=i.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),i}(this,e))},includes:function(e){return this.some((function(t){return he(t,e)}))},entries:function(){return this.__iterator($)},every:function(e,t){tt(this.size);var n=!0;return this.__iterate((function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1})),n},filter:function(e,t){return Ke(this,Fe(this,e,t,!0))},partition:function(e,t){return function(e,t,n){var r=E(e),o=[[],[]];e.__iterate((function(i,a){o[t.call(n,i,a,e)?1:0].push(r?[a,i]:i)}));var i=Xe(e);return o.map((function(t){return Ke(e,i(t))}))}(this,e,t)},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return tt(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){tt(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(R)},map:function(e,t){return Ke(this,Ne(this,e,t))},reduce:function(e,t,n){return nr(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return nr(this,e,t,n,arguments.length<2,!0)},reverse:function(){return Ke(this,$e(this,!0))},slice:function(e,t){return Ke(this,Le(this,e,t,!0))},some:function(e,t){tt(this.size);var n=!1;return this.__iterate((function(r,o,i){if(e.call(t,r,o,i))return n=!0,!1})),n},sort:function(e){return Ke(this,Ve(this,e))},values:function(){return this.__iterator(N)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return u(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=$t().asMutable();return e.__iterate((function(o,i){r.update(t.call(n,o,i,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return Nn(this,e)},entrySeq:function(){var e=this;if(e._cache)return new te(e._cache);var t=e.toSeq().map(or).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(ir(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,o,i){if(e.call(t,n,o,i))return r=[o,n],!1})),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(f,null,e)},flatMap:function(e,t){return Ke(this,function(e,t,n){var r=Xe(e);return e.toSeq().map((function(o,i){return r(t.call(n,o,i,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return Ke(this,He(this,e,!0))},fromEntrySeq:function(){return new De(this)},get:function(e,t){return this.find((function(t,n){return he(n,e)}),void 0,t)},getIn:Xn,groupBy:function(e,t){return function(e,t,n){var r=E(e),o=(D(e)?Sn():$t()).asMutable();e.__iterate((function(i,a){o.update(t.call(n,i,a,e),(function(e){return(e=e||[]).push(r?[a,i]:i),e}))}));var i=Xe(e);return o.map((function(t){return Ke(e,i(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,s)!==s},hasIn:function(e){return Yn(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:O(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:O(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return he(t,e)}))},keySeq:function(){return this.toSeq().map(rr).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Ue(this,e)},maxBy:function(e,t){return Ue(this,t,e)},min:function(e){return Ue(this,e?ar(e):lr)},minBy:function(e,t){return Ue(this,t?ar(t):lr,e)},rest:function(){return this.slice(1)},skip:function(e){return 0===e?this:this.slice(Math.max(0,e))},skipLast:function(e){return 0===e?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,t){return Ke(this,Be(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(ir(e),t)},sortBy:function(e,t){return Ke(this,Ve(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return this.slice(-Math.max(0,e))},takeWhile:function(e,t){return Ke(this,function(e,t,n){var r=Ye(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate((function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)})),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator($,o),s=!0;return new H((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var o=e.value,l=o[0],c=o[1];return t.call(n,c,l,i)?r===$?e:V(r,l,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(ir(e),t)},update:function(e){return e(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=D(e),n=E(e),r=t?1:0;return function(e,t){return t=pe(t,3432918353),t=pe(t<<15|t>>>-15,461845907),t=pe(t<<13|t>>>-13,5),t=pe((t=t+3864292196^e)^t>>>16,2246822507),t=me((t=pe(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+cr(ge(e),ge(t))|0}:function(e,t){r=r+cr(ge(e),ge(t))|0}:t?function(e){r=31*r+ge(e)|0}:function(e){r=r+ge(e)|0}),r)}(this))}});var Jn=O.prototype;Jn[y]=!0,Jn[B]=Jn.values,Jn.toJSON=Jn.toArray,Jn.__toStringMapper=at,Jn.inspect=Jn.toSource=function(){return this.toString()},Jn.chain=Jn.flatMap,Jn.contains=Jn.includes,$n(C,{flip:function(){return Ke(this,Re(this))},mapEntries:function(e,t){var n=this,r=0;return Ke(this,this.toSeq().map((function(o,i){return e.call(t,[i,o],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Ke(this,this.toSeq().flip().map((function(r,o){return e.call(t,r,o,n)})).flip())}});var Qn=C.prototype;Qn[w]=!0,Qn[B]=Jn.entries,Qn.toJSON=Zn,Qn.__toStringMapper=function(e,t){return at(t)+": "+at(e)},$n(A,{toKeyedSeq:function(){return new Ie(this,!1)},filter:function(e,t){return Ke(this,Fe(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return Ke(this,$e(this,!1))},slice:function(e,t){return Ke(this,Le(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(t||0,0),0===n||2===n&&!t)return this;e=p(e,e<0?this.count():this.size);var r=this.slice(0,e);return Ke(this,1===n?r:r.concat(Qe(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(e){return this.get(0,e)},flatten:function(e){return Ke(this,He(this,e,!1))},get:function(e,t){return(e=d(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=d(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Ke(this,function(e,t){var n=Ye(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate((function(e){return(!i||!1!==n(t,i++,o))&&!1!==n(e,i++,o)}),r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(N,r),a=0;return new H((function(){return(!o||a%2)&&(o=i.next()).done?o:a%2?V(n,a++,t):V(n,a++,o.value,o)}))},n}(this,e))},interleave:function(){var e=[this].concat(Qe(arguments)),t=qe(this.toSeq(),Q.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Ke(this,n)},keySeq:function(){return Kn(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return Ke(this,Be(this,e,t,!1))},zip:function(){return Ke(this,qe(this,sr,[this].concat(Qe(arguments))))},zipAll:function(){return Ke(this,qe(this,sr,[this].concat(Qe(arguments)),!0))},zipWith:function(e){var t=Qe(arguments);return t[0]=this,Ke(this,qe(this,e,t))}});var er=A.prototype;er[x]=!0,er[z]=!0,$n(k,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}});var tr=k.prototype;function nr(e,t,n,r,o,i){return tt(e.size),e.__iterate((function(e,i,a){o?(o=!1,n=e):n=t.call(r,n,e,i,a)}),i),n}function rr(e,t){return t}function or(e,t){return[t,e]}function ir(e){return function(){return!e.apply(this,arguments)}}function ar(e){return function(){return-e.apply(this,arguments)}}function sr(){return Qe(arguments)}function lr(e,t){return e<t?1:e>t?-1:0}function cr(e,t){return e^t+2654435769+(e<<6)+(e>>2)}tr.has=Jn.includes,tr.contains=tr.includes,tr.keys=tr.values,$n(J,Qn),$n(Q,er),$n(ee,tr);var ur=function(e){function t(e){return null==e?pr():Rn(e)?e:pr().withMutations((function(t){var n=k(e);tt(n.size),n.forEach((function(e){return t.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(C(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(Ln);ur.isOrderedSet=Rn;var dr,fr=ur.prototype;function hr(e,t){var n=Object.create(fr);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function pr(){return dr||(dr=hr(On()))}fr[z]=!0,fr.zip=er.zip,fr.zipWith=er.zipWith,fr.zipAll=er.zipAll,fr.__empty=pr,fr.__make=hr;var mr={LeftThenRight:-1,RightThenLeft:1},vr=function(e,t){var n;!function(e){if(I(e))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(j(e))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===e||"object"!=typeof e)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(e);var r=function(i){var a=this;if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var s=Object.keys(e),l=o._indices={};o._name=t,o._keys=s,o._defaultValues=e;for(var c=0;c<s.length;c++){var u=s[c];l[u]=c,o[u]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+br(this)+' with property "'+u+'" since that property name is part of the Record API.'):Er(o,u)}}return this.__ownerID=void 0,this._values=cn().withMutations((function(e){e.setSize(a._keys.length),C(i).forEach((function(t,n){e.set(a._indices[n],t===a._defaultValues[n]?void 0:t)}))})),this},o=r.prototype=Object.create(gr);return o.constructor=r,t&&(r.displayName=t),r};vr.prototype.toString=function(){for(var e,t=br(this)+" { ",n=this._keys,r=0,o=n.length;r!==o;r++)t+=(r?", ":"")+(e=n[r])+": "+at(this.get(e));return t+" }"},vr.prototype.equals=function(e){return this===e||I(e)&&wr(this).equals(wr(e))},vr.prototype.hashCode=function(){return wr(this).hashCode()},vr.prototype.has=function(e){return this._indices.hasOwnProperty(e)},vr.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._indices[e],r=this._values.get(n);return void 0===r?this._defaultValues[e]:r},vr.prototype.set=function(e,t){if(this.has(e)){var n=this._values.set(this._indices[e],t===this._defaultValues[e]?void 0:t);if(n!==this._values&&!this.__ownerID)return yr(this,n)}return this},vr.prototype.remove=function(e){return this.set(e)},vr.prototype.clear=function(){var e=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:yr(this,e)},vr.prototype.wasAltered=function(){return this._values.wasAltered()},vr.prototype.toSeq=function(){return wr(this)},vr.prototype.toJS=function(){return Fn(this)},vr.prototype.entries=function(){return this.__iterator($)},vr.prototype.__iterator=function(e,t){return wr(this).__iterator(e,t)},vr.prototype.__iterate=function(e,t){return wr(this).__iterate(e,t)},vr.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._values.__ensureOwner(e);return e?yr(this,t,e):(this.__ownerID=e,this._values=t,this)},vr.isRecord=I,vr.getDescriptiveName=br;var gr=vr.prototype;function yr(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._values=t,r.__ownerID=n,r}function br(e){return e.constructor.displayName||e.constructor.name||"Record"}function wr(e){return ae(e._keys.map((function(t){return[t,e.get(t)]})))}function Er(e,t){try{Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){et(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}catch(e){}}gr[P]=!0,gr[r]=gr.remove,gr.deleteIn=gr.removeIn=gt,gr.getIn=Xn,gr.hasIn=Jn.hasIn,gr.merge=Et,gr.mergeWith=xt,gr.mergeIn=It,gr.mergeDeep=Tt,gr.mergeDeepWith=Pt,gr.mergeDeepIn=jt,gr.setIn=mt,gr.update=bt,gr.updateIn=wt,gr.withMutations=zt,gr.asMutable=Dt,gr.asImmutable=Rt,gr[B]=gr.entries,gr.toJSON=gr.toObject=Jn.toObject,gr.inspect=gr.toSource=function(){return this.toString()};var xr,Sr=function(e){function t(e,n){if(!(this instanceof t))return new t(e,n);if(this._value=e,this.size=void 0===n?1/0:Math.max(0,n),0===this.size){if(xr)return xr;xr=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},t.prototype.get=function(e,t){return this.has(e)?this._value:t},t.prototype.includes=function(e){return he(this._value,e)},t.prototype.slice=function(e,n){var r=this.size;return h(e,n,r)?this:new t(this._value,m(n,r)-p(e,r))},t.prototype.reverse=function(){return this},t.prototype.indexOf=function(e){return he(this._value,e)?0:-1},t.prototype.lastIndexOf=function(e){return he(this._value,e)?this.size:-1},t.prototype.__iterate=function(e,t){for(var n=this.size,r=0;r!==n&&!1!==e(this._value,t?n-++r:r++,this););return r},t.prototype.__iterator=function(e,t){var n=this,r=this.size,o=0;return new H((function(){return o===r?{value:void 0,done:!0}:V(e,t?r-++o:o++,n._value)}))},t.prototype.equals=function(e){return e instanceof t?he(this._value,e._value):Nn(e)},t}(Q);function _r(e,t){return Or([],t||Cr,e,"",t&&t.length>2?[]:void 0,{"":e})}function Or(e,t,n,r,o,i){if("string"!=typeof n&&!j(n)&&(Y(n)||W(n)||ot(n))){if(~e.indexOf(n))throw new TypeError("Cannot convert circular structure to Immutable");e.push(n),o&&""!==r&&o.push(r);var a=t.call(i,r,Z(n).map((function(r,i){return Or(e,t,r,i,o,n)})),o&&o.slice());return e.pop(),o&&o.pop(),a}return n}function Cr(e,t){return S(t)?t.toList():E(t)?t.toMap():t.toSet()}var Ar="4.3.5",kr=O;const Mr={version:Ar,Collection:O,Iterable:O,Seq:Z,Map:$t,OrderedMap:Sn,List:cn,Stack:Mn,Set:Ln,OrderedSet:ur,PairSorting:mr,Record:vr,Range:Kn,Repeat:Sr,is:he,fromJS:_r,hash:ge,isImmutable:j,isCollection:b,isKeyed:E,isIndexed:S,isAssociative:_,isOrdered:D,isValueObject:fe,isPlainObject:ot,isSeq:T,isList:ln,isMap:ue,isOrderedMap:de,isStack:kn,isSet:Dn,isOrderedSet:Rn,isRecord:I,get:lt,getIn:Gn,has:st,hasIn:Yn,merge:_t,mergeDeep:Ct,mergeWith:Ot,mergeDeepWith:At,remove:ut,removeIn:vt,set:dt,setIn:pt,update:yt,updateIn:ft}},55580:(e,t,n)=>{var r=n(56110)(n(9325),"DataView");e.exports=r},21549:(e,t,n)=>{var r=n(22032),o=n(63862),i=n(66721),a=n(12749),s=n(35749);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},80079:(e,t,n)=>{var r=n(63702),o=n(70080),i=n(24739),a=n(48655),s=n(31175);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},68223:(e,t,n)=>{var r=n(56110)(n(9325),"Map");e.exports=r},53661:(e,t,n)=>{var r=n(63040),o=n(17670),i=n(90289),a=n(4509),s=n(72949);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},32804:(e,t,n)=>{var r=n(56110)(n(9325),"Promise");e.exports=r},76545:(e,t,n)=>{var r=n(56110)(n(9325),"Set");e.exports=r},38859:(e,t,n)=>{var r=n(53661),o=n(31380),i=n(51459);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},37217:(e,t,n)=>{var r=n(80079),o=n(51420),i=n(90938),a=n(63605),s=n(29817),l=n(80945);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},51873:(e,t,n)=>{var r=n(9325).Symbol;e.exports=r},37828:(e,t,n)=>{var r=n(9325).Uint8Array;e.exports=r},28303:(e,t,n)=>{var r=n(56110)(n(9325),"WeakMap");e.exports=r},91033:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},17277:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}},79770:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},15325:(e,t,n)=>{var r=n(96131);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},29905:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},70695:(e,t,n)=>{var r=n(78096),o=n(72428),i=n(56449),a=n(3656),s=n(30361),l=n(37167),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),f=!n&&!u&&!d&&l(e),h=n||u||d||f,p=h?r(e.length,String):[],m=p.length;for(var v in e)!t&&!c.call(e,v)||h&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||p.push(v);return p}},34932:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},14528:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},14248:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},61074:e=>{e.exports=function(e){return e.split("")}},26025:(e,t,n)=>{var r=n(75288);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},43360:(e,t,n)=>{var r=n(93243);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},80909:(e,t,n)=>{var r=n(30641),o=n(38329)(r);e.exports=o},23777:(e,t,n)=>{var r=n(80909);e.exports=function(e,t){var n=!0;return r(e,(function(e,r,o){return n=!!t(e,r,o)})),n}},93599:(e,t,n)=>{var r=n(44394);e.exports=function(e,t,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],s=t(a);if(null!=s&&(void 0===l?s==s&&!r(s):n(s,l)))var l=s,c=a}return c}},2523:e=>{e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},83120:(e,t,n)=>{var r=n(14528),o=n(45891);e.exports=function e(t,n,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l<c;){var u=t[l];n>0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},86649:(e,t,n)=>{var r=n(83221)();e.exports=r},30641:(e,t,n)=>{var r=n(86649),o=n(95950);e.exports=function(e,t){return e&&r(e,t,o)}},47422:(e,t,n)=>{var r=n(31769),o=n(77797);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},82199:(e,t,n)=>{var r=n(14528),o=n(56449);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},72552:(e,t,n)=>{var r=n(51873),o=n(659),i=n(59350),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},3335:e=>{e.exports=function(e,t){return e>t}},28077:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},96131:(e,t,n)=>{var r=n(2523),o=n(85463),i=n(76959);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},27534:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},60270:(e,t,n)=>{var r=n(87068),o=n(40346);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},87068:(e,t,n)=>{var r=n(37217),o=n(25911),i=n(21986),a=n(50689),s=n(5861),l=n(56449),c=n(3656),u=n(37167),d="[object Arguments]",f="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,g){var y=l(e),b=l(t),w=y?f:s(e),E=b?f:s(t),x=(w=w==d?h:w)==h,S=(E=E==d?h:E)==h,_=w==E;if(_&&c(e)){if(!c(t))return!1;y=!0,x=!1}if(_&&!x)return g||(g=new r),y||u(e)?o(e,t,n,m,v,g):i(e,t,w,n,m,v,g);if(!(1&n)){var O=x&&p.call(e,"__wrapped__"),C=S&&p.call(t,"__wrapped__");if(O||C){var A=O?e.value():e,k=C?t.value():t;return g||(g=new r),v(A,k,n,m,g)}}return!!_&&(g||(g=new r),a(e,t,n,m,v,g))}},41799:(e,t,n)=>{var r=n(37217),o=n(60270);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=n[a])[0],d=e[u],f=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var h=new r;if(i)var p=i(d,f,u,e,t,h);if(!(void 0===p?o(f,d,3,i,h):p))return!1}}return!0}},85463:e=>{e.exports=function(e){return e!=e}},45083:(e,t,n)=>{var r=n(1882),o=n(87296),i=n(23805),a=n(47473),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:s).test(a(e))}},4901:(e,t,n)=>{var r=n(72552),o=n(30294),i=n(40346),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},15389:(e,t,n)=>{var r=n(93663),o=n(87978),i=n(83488),a=n(56449),s=n(50583);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},88984:(e,t,n)=>{var r=n(55527),o=n(3650),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},56176:e=>{e.exports=function(e,t){return e<t}},5128:(e,t,n)=>{var r=n(80909),o=n(64894);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},93663:(e,t,n)=>{var r=n(41799),o=n(10776),i=n(67197);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},87978:(e,t,n)=>{var r=n(60270),o=n(58156),i=n(80631),a=n(28586),s=n(30756),l=n(67197),c=n(77797);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},46155:(e,t,n)=>{var r=n(34932),o=n(47422),i=n(15389),a=n(5128),s=n(73937),l=n(27301),c=n(43714),u=n(83488),d=n(56449);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return d(e)?function(t){return o(t,1===e.length?e[0]:e)}:e})):[u];var f=-1;t=r(t,l(i));var h=a(e,(function(e,n,o){return{criteria:r(t,(function(t){return t(e)})),index:++f,value:e}}));return s(h,(function(e,t){return c(e,t,n)}))}},47237:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},17255:(e,t,n)=>{var r=n(47422);e.exports=function(e){return function(t){return r(t,e)}}},86151:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,i){for(var a=-1,s=n(t((r-e)/(o||1)),0),l=Array(s);s--;)l[i?s:++a]=e,e+=o;return l}},69302:(e,t,n)=>{var r=n(83488),o=n(56757),i=n(32865);e.exports=function(e,t){return i(o(e,t,r),e+"")}},19570:(e,t,n)=>{var r=n(37334),o=n(93243),i=n(83488),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},25160:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},90916:(e,t,n)=>{var r=n(80909);e.exports=function(e,t){var n;return r(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}},73937:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},78096:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},77556:(e,t,n)=>{var r=n(51873),o=n(34932),i=n(56449),a=n(44394),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},54128:(e,t,n)=>{var r=n(31800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},27301:e=>{e.exports=function(e){return function(t){return e(t)}}},55765:(e,t,n)=>{var r=n(38859),o=n(15325),i=n(29905),a=n(19219),s=n(44517),l=n(84247);e.exports=function(e,t,n){var c=-1,u=o,d=e.length,f=!0,h=[],p=h;if(n)f=!1,u=i;else if(d>=200){var m=t?null:s(e);if(m)return l(m);f=!1,u=a,p=new r}else p=t?[]:h;e:for(;++c<d;){var v=e[c],g=t?t(v):v;if(v=n||0!==v?v:0,f&&g==g){for(var y=p.length;y--;)if(p[y]===g)continue e;t&&p.push(g),h.push(v)}else u(p,g,n)||(p!==h&&p.push(g),h.push(v))}return h}},19219:e=>{e.exports=function(e,t){return e.has(t)}},31769:(e,t,n)=>{var r=n(56449),o=n(28586),i=n(61802),a=n(13222);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},28754:(e,t,n)=>{var r=n(25160);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},53730:(e,t,n)=>{var r=n(44394);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e==e,a=r(e),s=void 0!==t,l=null===t,c=t==t,u=r(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||o&&s&&c||!n&&c||!i)return 1;if(!o&&!a&&!u&&e<t||u&&n&&i&&!o&&!a||l&&n&&i||!s&&i||!c)return-1}return 0}},43714:(e,t,n)=>{var r=n(53730);e.exports=function(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++o<s;){var c=r(i[o],a[o]);if(c)return o>=l?c:c*("desc"==n[o]?-1:1)}return e.index-t.index}},55481:(e,t,n)=>{var r=n(9325)["__core-js_shared__"];e.exports=r},38329:(e,t,n)=>{var r=n(64894);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},83221:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},12507:(e,t,n)=>{var r=n(28754),o=n(49698),i=n(63912),a=n(13222);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},62006:(e,t,n)=>{var r=n(15389),o=n(64894),i=n(95950);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!o(t)){var l=r(n,3);t=i(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,a);return c>-1?s[l?t[c]:c]:void 0}}},85508:(e,t,n)=>{var r=n(86151),o=n(36800),i=n(17400);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t<n?1:-1:i(a),r(t,n,a,e)}}},44517:(e,t,n)=>{var r=n(76545),o=n(63950),i=n(84247),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},93243:(e,t,n)=>{var r=n(56110),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},25911:(e,t,n)=>{var r=n(38859),o=n(14248),i=n(19219);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var f=l.get(e),h=l.get(t);if(f&&h)return f==t&&h==e;var p=-1,m=!0,v=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++p<u;){var g=e[p],y=t[p];if(a)var b=c?a(y,g,p,t,e,l):a(g,y,p,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!o(t,(function(e,t){if(!i(v,t)&&(g===e||s(g,e,n,a,l)))return v.push(t)}))){m=!1;break}}else if(g!==y&&!s(g,y,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},21986:(e,t,n)=>{var r=n(51873),o=n(37828),i=n(75288),a=n(25911),s=n(20317),l=n(84247),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var p=1&r;if(h||(h=l),e.size!=t.size&&!p)return!1;var m=f.get(e);if(m)return m==t;r|=2,f.set(e,t);var v=a(h(e),h(t),r,c,d,f);return f.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},50689:(e,t,n)=>{var r=n(50002),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var f=c[d];if(!(l?f in t:o.call(t,f)))return!1}var h=s.get(e),p=s.get(t);if(h&&p)return h==t&&p==e;var m=!0;s.set(e,t),s.set(t,e);for(var v=l;++d<u;){var g=e[f=c[d]],y=t[f];if(i)var b=l?i(y,g,f,t,e,s):i(g,y,f,e,t,s);if(!(void 0===b?g===y||a(g,y,n,i,s):b)){m=!1;break}v||(v="constructor"==f)}if(m&&!v){var w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(m=!1)}return s.delete(e),s.delete(t),m}},34840:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},50002:(e,t,n)=>{var r=n(82199),o=n(4664),i=n(95950);e.exports=function(e){return r(e,i,o)}},12651:(e,t,n)=>{var r=n(74218);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},10776:(e,t,n)=>{var r=n(30756),o=n(95950);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},56110:(e,t,n)=>{var r=n(45083),o=n(10392);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},28879:(e,t,n)=>{var r=n(74335)(Object.getPrototypeOf,Object);e.exports=r},659:(e,t,n)=>{var r=n(51873),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},4664:(e,t,n)=>{var r=n(79770),o=n(63345),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},5861:(e,t,n)=>{var r=n(55580),o=n(68223),i=n(32804),a=n(76545),s=n(28303),l=n(72552),c=n(47473),u="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",m=c(r),v=c(o),g=c(i),y=c(a),b=c(s),w=l;(r&&w(new r(new ArrayBuffer(1)))!=p||o&&w(new o)!=u||i&&w(i.resolve())!=d||a&&w(new a)!=f||s&&w(new s)!=h)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return p;case v:return u;case g:return d;case y:return f;case b:return h}return t}),e.exports=w},10392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},49326:(e,t,n)=>{var r=n(31769),o=n(72428),i=n(56449),a=n(30361),s=n(30294),l=n(77797);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var f=l(t[c]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(f,u)&&(i(e)||o(e))}},49698:e=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},22032:(e,t,n)=>{var r=n(81042);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},63862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721:(e,t,n)=>{var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},12749:(e,t,n)=>{var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},35749:(e,t,n)=>{var r=n(81042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},45891:(e,t,n)=>{var r=n(51873),o=n(72428),i=n(56449),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},30361:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},36800:(e,t,n)=>{var r=n(75288),o=n(64894),i=n(30361),a=n(23805);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},28586:(e,t,n)=>{var r=n(56449),o=n(44394),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},74218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296:(e,t,n)=>{var r,o=n(55481),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},55527:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},30756:(e,t,n)=>{var r=n(23805);e.exports=function(e){return e==e&&!r(e)}},63702:e=>{e.exports=function(){this.__data__=[],this.size=0}},70080:(e,t,n)=>{var r=n(26025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},24739:(e,t,n)=>{var r=n(26025);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},48655:(e,t,n)=>{var r=n(26025);e.exports=function(e){return r(this.__data__,e)>-1}},31175:(e,t,n)=>{var r=n(26025);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},63040:(e,t,n)=>{var r=n(21549),o=n(80079),i=n(68223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},17670:(e,t,n)=>{var r=n(12651);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},90289:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).get(e)}},4509:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).has(e)}},72949:(e,t,n)=>{var r=n(12651);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},20317:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},67197:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},62224:(e,t,n)=>{var r=n(50104);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},81042:(e,t,n)=>{var r=n(56110)(Object,"create");e.exports=r},3650:(e,t,n)=>{var r=n(74335)(Object.keys,Object);e.exports=r},86009:(e,t,n)=>{e=n.nmd(e);var r=n(34840),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},59350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},56757:(e,t,n)=>{var r=n(91033),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(l),r(e,this,c)}}},9325:(e,t,n)=>{var r=n(34840),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},31380:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459:e=>{e.exports=function(e){return this.__data__.has(e)}},84247:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},32865:(e,t,n)=>{var r=n(19570),o=n(51811)(r);e.exports=o},51811:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},51420:(e,t,n)=>{var r=n(80079);e.exports=function(){this.__data__=new r,this.size=0}},90938:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},63605:e=>{e.exports=function(e){return this.__data__.get(e)}},29817:e=>{e.exports=function(e){return this.__data__.has(e)}},80945:(e,t,n)=>{var r=n(80079),o=n(68223),i=n(53661);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},76959:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},63912:(e,t,n)=>{var r=n(61074),o=n(49698),i=n(42054);e.exports=function(e){return o(e)?i(e):r(e)}},61802:(e,t,n)=>{var r=n(62224),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},77797:(e,t,n)=>{var r=n(44394);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},47473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},31800:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},42054:e=>{var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+o+")?",c="[\\ufe0e\\ufe0f]?",u=c+l+"(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*",d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(f)||[]}},37334:e=>{e.exports=function(e){return function(){return e}}},38221:(e,t,n)=>{var r=n(23805),o=n(10124),i=n(99374),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,f,h,p=0,m=!1,v=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=c;return l=c=void 0,p=t,d=e.apply(r,n)}function b(e){var n=e-h;return void 0===h||n>=t||n<0||v&&e-p>=u}function w(){var e=o();if(b(e))return E(e);f=setTimeout(w,function(e){var n=t-(e-h);return v?s(n,u-(e-p)):n}(e))}function E(e){return f=void 0,g&&l?y(e):(l=c=void 0,d)}function x(){var e=o(),n=b(e);if(l=arguments,c=this,h=e,n){if(void 0===f)return function(e){return p=e,f=setTimeout(w,t),m?y(e):d}(h);if(v)return clearTimeout(f),f=setTimeout(w,t),y(h)}return void 0===f&&(f=setTimeout(w,t)),d}return t=i(t)||0,r(n)&&(m=!!n.leading,u=(v="maxWait"in n)?a(i(n.maxWait)||0,t):u,g="trailing"in n?!!n.trailing:g),x.cancel=function(){void 0!==f&&clearTimeout(f),p=0,l=h=c=f=void 0},x.flush=function(){return void 0===f?d:E(o())},x}},75288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},19747:(e,t,n)=>{var r=n(17277),o=n(23777),i=n(15389),a=n(56449),s=n(36800);e.exports=function(e,t,n){var l=a(e)?r:o;return n&&s(e,t,n)&&(t=void 0),l(e,i(t,3))}},7309:(e,t,n)=>{var r=n(62006)(n(24713));e.exports=r},24713:(e,t,n)=>{var r=n(2523),o=n(15389),i=n(61489),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var l=null==n?0:i(n);return l<0&&(l=a(s+l,0)),r(e,o(t,3),l)}},47307:(e,t,n)=>{var r=n(83120),o=n(55378);e.exports=function(e,t){return r(o(e,t),1)}},58156:(e,t,n)=>{var r=n(47422);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},80631:(e,t,n)=>{var r=n(28077),o=n(49326);e.exports=function(e,t){return null!=e&&o(e,t,r)}},83488:e=>{e.exports=function(e){return e}},72428:(e,t,n)=>{var r=n(27534),o=n(40346),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},56449:e=>{var t=Array.isArray;e.exports=t},64894:(e,t,n)=>{var r=n(1882),o=n(30294);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},53812:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==r(e)}},3656:(e,t,n)=>{e=n.nmd(e);var r=n(9325),o=n(89935),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},2404:(e,t,n)=>{var r=n(60270);e.exports=function(e,t){return r(e,t)}},1882:(e,t,n)=>{var r=n(72552),o=n(23805);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},11741:(e,t,n)=>{var r=n(98023);e.exports=function(e){return r(e)&&e!=+e}},69843:e=>{e.exports=function(e){return null==e}},98023:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},23805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},11331:(e,t,n)=>{var r=n(72552),o=n(28879),i=n(40346),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},85015:(e,t,n)=>{var r=n(72552),o=n(56449),i=n(40346);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},44394:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},37167:(e,t,n)=>{var r=n(4901),o=n(27301),i=n(86009),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},95950:(e,t,n)=>{var r=n(70695),o=n(88984),i=n(64894);e.exports=function(e){return i(e)?r(e):o(e)}},68090:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},55378:(e,t,n)=>{var r=n(34932),o=n(15389),i=n(5128),a=n(56449);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},73916:(e,t,n)=>{var r=n(43360),o=n(30641),i=n(15389);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},94506:(e,t,n)=>{var r=n(93599),o=n(3335),i=n(83488);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},50104:(e,t,n)=>{var r=n(53661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},31684:(e,t,n)=>{var r=n(93599),o=n(56176),i=n(83488);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},63950:e=>{e.exports=function(){}},10124:(e,t,n)=>{var r=n(9325);e.exports=function(){return r.Date.now()}},50583:(e,t,n)=>{var r=n(47237),o=n(17255),i=n(28586),a=n(77797);e.exports=function(e){return i(e)?r(a(e)):o(e)}},23181:(e,t,n)=>{var r=n(85508)();e.exports=r},42426:(e,t,n)=>{var r=n(14248),o=n(15389),i=n(90916),a=n(56449),s=n(36800);e.exports=function(e,t,n){var l=a(e)?r:i;return n&&s(e,t,n)&&(t=void 0),l(e,o(t,3))}},33031:(e,t,n)=>{var r=n(83120),o=n(46155),i=n(69302),a=n(36800),s=i((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=s},63345:e=>{e.exports=function(){return[]}},89935:e=>{e.exports=function(){return!1}},7350:(e,t,n)=>{var r=n(38221),o=n(23805);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},17400:(e,t,n)=>{var r=n(99374),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},61489:(e,t,n)=>{var r=n(17400);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},99374:(e,t,n)=>{var r=n(54128),o=n(23805),i=n(44394),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},13222:(e,t,n)=>{var r=n(77556);e.exports=function(e){return null==e?"":r(e)}},50014:(e,t,n)=>{var r=n(15389),o=n(55765);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},55808:(e,t,n)=>{var r=n(12507)("toUpperCase");e.exports=r},9407:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(96540);const o=(...e)=>e.filter(((e,t,n)=>Boolean(e)&&n.indexOf(e)===t)).join(" ");var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const a=(0,r.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:a,className:s="",children:l,iconNode:c,...u},d)=>(0,r.createElement)("svg",{ref:d,...i,width:t,height:t,stroke:e,strokeWidth:a?24*Number(n)/Number(t):n,className:o("lucide",s),...u},[...c.map((([e,t])=>(0,r.createElement)(e,t))),...Array.isArray(l)?l:[l]]))),s=(e,t)=>{const n=(0,r.forwardRef)((({className:n,...i},s)=>{return(0,r.createElement)(a,{ref:s,iconNode:t,className:o(`lucide-${l=e,l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,n),...i});var l}));return n.displayName=`${e}`,n}},48635:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(9407).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},88007:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(9407).A)("CircleDot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]])},3213:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(9407).A)("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]])},85731:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(9407).A)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},59557:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(9407).A)("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]])},28202:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(9407).A)("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]])},46110:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(9407).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},76316:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(9407).A)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},93443:(e,t,n)=>{"use strict";n.d(t,{PA:()=>b,q3:()=>x});var r=n(27813),o=n(96540);if(!o.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!r.Gn)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var i=n(40961);function a(e){return(0,r.yl)(e)}var s=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach((function(r,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))})),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),l=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:s)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),c=!1;function u(){return c}var d=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function f(e){return"observer".concat(e)}var h=function(){};function p(){return new h}function m(e,t){if(void 0===t&&(t="observed"),u())return e();var n=d(o.useState(p),1)[0],i=d(o.useState(),2)[1],s=function(){return i([])},c=o.useRef(null);c.current||(c.current={reaction:null,mounted:!1,changedBeforeMount:!1});var h,m,v=c.current;if(v.reaction||(v.reaction=new r.qT(f(t),(function(){v.mounted?s():v.changedBeforeMount=!0})),l.register(n,v,v)),o.useDebugValue(v.reaction,a),o.useEffect((function(){return l.unregister(v),v.mounted=!0,v.reaction?v.changedBeforeMount&&(v.changedBeforeMount=!1,s()):(v.reaction=new r.qT(f(t),(function(){s()})),s()),function(){v.reaction.dispose(),v.reaction=null,v.mounted=!1,v.changedBeforeMount=!1}}),[]),v.reaction.track((function(){try{h=e()}catch(e){m=e}})),m)throw m;return h}var v="function"==typeof Symbol&&Symbol.for,g=v?Symbol.for("react.forward_ref"):"function"==typeof o.forwardRef&&(0,o.forwardRef)((function(e){return null})).$$typeof,y=v?Symbol.for("react.memo"):"function"==typeof o.memo&&(0,o.memo)((function(e){return null})).$$typeof;function b(e,t){var n;if(y&&e.$$typeof===y)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(u())return e;var r=null!==(n=null==t?void 0:t.forwardRef)&&void 0!==n&&n,i=e,a=e.displayName||e.name;if(g&&e.$$typeof===g&&(r=!0,"function"!=typeof(i=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var s,l,c=function(e,t){return m((function(){return i(e,t)}),a)};return""!==a&&(c.displayName=a),e.contextTypes&&(c.contextTypes=e.contextTypes),r&&(c=(0,o.forwardRef)(c)),c=(0,o.memo)(c),s=e,l=c,Object.keys(s).forEach((function(e){E[e]||Object.defineProperty(l,e,Object.getOwnPropertyDescriptor(s,e))})),c}var w,E={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function x(e,t){return void 0===t&&(t="observed"),m(e,t)}(w=i.unstable_batchedUpdates)||(w=function(e){e()}),(0,r.jK)({reactionScheduler:w}),l.finalizeAllImmediately},27813:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}n.d(t,{EW:()=>Ne,Gn:()=>yn,HO:()=>ln,XI:()=>Dt,h5:()=>Nt,jK:()=>Kt,l_:()=>wn,qT:()=>xt,sH:()=>je,yl:()=>Xt});var o={};function i(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:o}var a=Object.assign,s=Object.getOwnPropertyDescriptor,l=Object.defineProperty,c=Object.prototype,u=[];Object.freeze(u);var d={};Object.freeze(d);var f="undefined"!=typeof Proxy,h=Object.toString();function p(){f||r("Proxy not available")}function m(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var v=function(){};function g(e){return"function"==typeof e}function y(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function b(e){return null!==e&&"object"==typeof e}function w(e){if(!b(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===h}function E(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function x(e,t,n){l(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function S(e,t,n){l(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function _(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return b(e)&&!0===e[n]}}function O(e){return e instanceof Map}function C(e){return e instanceof Set}var A=void 0!==Object.getOwnPropertySymbols,k="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:A?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function M(e){return null===e?null:"object"==typeof e?""+e:e}function T(e,t){return c.hasOwnProperty.call(e,t)}var P=Object.getOwnPropertyDescriptors||function(e){var t={};return k(e).forEach((function(n){t[n]=s(e,n)})),t};function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key))?o:String(o)),r)}var o}function j(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z.apply(this,arguments)}function D(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,R(e,t)}function R(e,t){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},R(e,t)}function N(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function F(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return $(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var L=Symbol("mobx-stored-annotations");function B(e){return Object.assign((function(t,n){if(V(n))return e.decorate_20223_(t,n);H(t,n,e)}),e)}function H(e,t,n){T(e,L)||x(e,L,z({},e[L])),function(e){return e.annotationType_===Z}(n)||(e[L][t]=n)}function V(e){return"object"==typeof e&&"string"==typeof e.kind}var U=Symbol("mobx administration"),W=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Ye.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return wt(this)},t.reportChanged=function(){yt(),Et(this),bt()},t.toString=function(){return this.name_},e}(),q=_("Atom",W);function K(e,t,n){void 0===t&&(t=v),void 0===n&&(n=v);var r=new W(e);return t!==v&&Vt(Lt,r,t,undefined),n!==v&&Ht(r,n),r}var G={identity:function(e,t){return e===t},structural:function(e,t){return mr(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return mr(e,t,1)}};function X(e,t,n){return on(e)?e:Array.isArray(e)?je.array(e,{name:n}):w(e)?je.object(e,void 0,{name:n}):O(e)?je.map(e,{name:n}):C(e)?je.set(e,{name:n}):"function"!=typeof e||$t(e)||rn(e)?e:E(e)?tn(e):Rt(n,e)}function Y(e){return e}var Z="override";function J(e,t){return{annotationType_:e,options_:t,make_:Q,extend_:ee,decorate_20223_:te}}function Q(e,t,n,r){var o;if(null!=(o=this.options_)&&o.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if($t(n.value))return 1;var i=ne(e,this,t,n,!1);return l(r,t,i),2}function ee(e,t,n,r){var o=ne(e,this,t,n);return e.defineProperty_(t,o,r)}function te(e,t){var n=t.kind,o=t.name,i=t.addInitializer,a=this;if("field"!=n){var s,l,c,u,d,f;if("method"==n)return $t(e)||(l=e,e=Ve(null!=(c=null==(u=a.options_)?void 0:u.name)?c:o.toString(),l,null!=(d=null==(f=a.options_)?void 0:f.autoAction)&&d)),null!=(s=this.options_)&&s.bound&&i((function(){var e=this,t=e[o].bind(e);t.isMobxAction=!0,e[o]=t})),e;r("Cannot apply '"+a.annotationType_+"' to '"+String(o)+"' (kind: "+n+"):\n'"+a.annotationType_+"' can only be used on properties with a function value.")}else i((function(){H(this,o,a)}))}function ne(e,t,n,r,o){var i,a,s,l,c,u,d,f;void 0===o&&(o=pt.safeDescriptors),f=r,t.annotationType_,f.value;var h,p=r.value;return null!=(i=t.options_)&&i.bound&&(p=p.bind(null!=(h=e.proxy_)?h:e.target_)),{value:Ve(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),p,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(u=t.options_)&&u.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function re(e,t){return{annotationType_:e,options_:t,make_:oe,extend_:ie,decorate_20223_:ae}}function oe(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!T(e.target_,t)||!rn(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(rn(n.value))return 1;var i=se(e,this,0,n,!1,!1);return l(r,t,i),2}function ie(e,t,n,r){var o,i=se(e,this,0,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function ae(e,t){var n,r=t.name,o=t.addInitializer;return rn(e)||(e=tn(e)),null!=(n=this.options_)&&n.bound&&o((function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t})),e}function se(e,t,n,r,o,i){var a;void 0===i&&(i=pt.safeDescriptors),a=r,t.annotationType_,a.value;var s,l=r.value;return rn(l)||(l=tn(l)),o&&((l=l.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:l,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function le(e,t){return{annotationType_:e,options_:t,make_:ce,extend_:ue,decorate_20223_:de}}function ce(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ue(e,t,n,r){return o=n,this.annotationType_,o.get,e.defineComputedProperty_(t,z({},this.options_,{get:n.get,set:n.set}),r);var o}function de(e,t){var n=this,r=t.name;return(0,t.addInitializer)((function(){var t=Gn(this)[U],o=z({},n.options_,{get:e,context:this});o.name||(o.name="ObservableObject."+r.toString()),t.values_.set(r,new Je(o))})),function(){return this[U].getObservablePropValue_(r)}}function fe(e,t){return{annotationType_:e,options_:t,make_:he,extend_:pe,decorate_20223_:me}}function he(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function pe(e,t,n,r){var o,i;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:X,r)}function me(e,t){var n=this,r=t.kind,o=t.name,i=new WeakSet;function a(e,t){var r,a,s=Gn(e)[U],l=new Ge(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:X,"ObservableObject."+o.toString(),!1);s.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||a(this,e.get.call(this)),this[U].getObservablePropValue_(o)},set:function(e){return i.has(this)||a(this,e),this[U].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||a(this,e),e}}}var ve="true",ge=ye();function ye(e){return{annotationType_:ve,options_:e,make_:be,extend_:we,decorate_20223_:Ee}}function be(e,t,n,r){var o,i,a,s;if(n.get)return Ne.make_(e,t,n,r);if(n.set){var c=Ve(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!pt.safeDescriptors||e.isPlainObject_,set:c})?0:2:(l(r,t,{configurable:!0,set:c}),2)}if(r!==e.target_&&"function"==typeof n.value)return E(n.value)?(null!=(s=this.options_)&&s.autoBind?tn.bound:tn).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?Rt.bound:Rt).make_(e,t,n,r);var u,d=!1===(null==(o=this.options_)?void 0:o.deep)?je.ref:je;return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_)),d.make_(e,t,n,r)}function we(e,t,n,r){var o,i,a;return n.get?Ne.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!pt.safeDescriptors||e.isPlainObject_,set:Ve(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(i=this.options_)?void 0:i.deep)?je.ref:je).extend_(e,t,n,r))}function Ee(e,t){r("'"+this.annotationType_+"' cannot be used as a decorator")}var xe={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Se(e){return e||xe}Object.freeze(xe);var _e=fe("observable"),Oe=fe("observable.ref",{enhancer:Y}),Ce=fe("observable.shallow",{enhancer:function(e,t,n){return null==e||Zn(e)||zn(e)||Bn(e)||Un(e)?e:Array.isArray(e)?je.array(e,{name:n,deep:!1}):w(e)?je.object(e,void 0,{name:n,deep:!1}):O(e)?je.map(e,{name:n,deep:!1}):C(e)?je.set(e,{name:n,deep:!1}):void 0}}),Ae=fe("observable.struct",{enhancer:function(e,t){return mr(e,t)?t:e}}),ke=B(_e);function Me(e){return!0===e.deep?X:!1===e.deep?Y:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:X;var t,n,r}function Te(e,t,n){return V(t)?_e.decorate_20223_(e,t):y(t)?void H(e,t,_e):on(e)?e:w(e)?je.object(e,t,n):Array.isArray(e)?je.array(e,t):O(e)?je.map(e,t):C(e)?je.set(e,t):"object"==typeof e&&null!==e?e:je.box(e,t)}a(Te,ke);var Pe,Ie,je=a(Te,{box:function(e,t){var n=Se(t);return new Ge(e,Me(n),n.name,!0,n.equals)},array:function(e,t){var n=Se(t);return(!1===pt.useProxies||!1===n.proxy?cr:On)(e,Me(n),n.name)},map:function(e,t){var n=Se(t);return new Ln(e,Me(n),n.name)},set:function(e,t){var n=Se(t);return new Vn(e,Me(n),n.name)},object:function(e,t,n){return hr((function(){return Gt(!1===pt.useProxies||!1===(null==n?void 0:n.proxy)?Gn({},n):function(e,t){var n,r;return p(),null!=(r=(n=(e=Gn(e,t))[U]).proxy_)?r:n.proxy_=new Proxy(e,dn)}({},n),e,t)}))},ref:B(Oe),shallow:B(Ce),deep:ke,struct:B(Ae)}),ze="computed",De=le(ze),Re=le("computed.struct",{equals:G.structural}),Ne=function(e,t){if(V(t))return De.decorate_20223_(e,t);if(y(t))return H(e,t,De);if(w(e))return B(le(ze,e));var n=w(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Je(n)};Object.assign(Ne,De),Ne.struct=B(Re);var $e,Fe=0,Le=1,Be=null!=(Pe=null==(Ie=s((function(){}),"name"))?void 0:Ie.configurable)&&Pe,He={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ve(e,t,n,r){function o(){return Ue(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,o.toString=function(){return t.toString()},Be&&(He.value=e,l(o,"name",He)),o}function Ue(e,t,n,o,i){var a=function(e,t,n,r){var o=pt.trackingDerivation,i=!t||!o;yt();var a=pt.allowStateChanges;i&&(at(),a=We(!0));var s={runAsAction_:i,prevDerivation_:o,prevAllowStateChanges_:a,prevAllowStateReads_:lt(!0),notifySpy_:!1,startTime_:0,actionId_:Le++,parentActionId_:Fe};return Fe=s.actionId_,s}(0,t);try{return n.apply(o,i)}catch(e){throw a.error_=e,e}finally{!function(e){Fe!==e.actionId_&&r(30),Fe=e.parentActionId_,void 0!==e.error_&&(pt.suppressReactionErrors=!0),qe(e.prevAllowStateChanges_),ct(e.prevAllowStateReads_),bt(),e.runAsAction_&&st(e.prevDerivation_),pt.suppressReactionErrors=!1}(a)}}function We(e){var t=pt.allowStateChanges;return pt.allowStateChanges=e,t}function qe(e){pt.allowStateChanges=e}$e=Symbol.toPrimitive;var Ke,Ge=function(e){function t(t,n,r,o,i){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=G.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=i,a.value_=n(t,void 0,r),a}D(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==pt.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(fn(this)){var t=pn(this,{object:this,type:xn,newValue:e});if(!t)return pt.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?pt.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),mn(this)&&gn(this,{type:xn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return hn(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:xn,newValue:this.value_,oldValue:void 0}),vn(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return M(this.get())},n[$e]=function(){return this.valueOf()},t}(W),Xe=_("ObservableValue",Ge);Ke=Symbol.toPrimitive;var Ye,Ze,Je=function(){function e(e){this.dependenciesState_=Ye.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Ye.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new et(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Ze.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Ve("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?G.structural:G.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){e.lowestObserverState_===Ye.UP_TO_DATE_&&(e.lowestObserverState_=Ye.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ye.UP_TO_DATE_&&(e.dependenciesState_=Ye.POSSIBLY_STALE_,e.onBecomeStale_())})))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing_&&r(32,this.name_,this.derivation),0!==pt.inBatch||0!==this.observers_.size||this.keepAlive_){if(wt(this),nt(this)){var e=pt.trackingContext;this.keepAlive_&&!e&&(pt.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==Ye.STALE_&&(e.lowestObserverState_=Ye.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Ye.POSSIBLY_STALE_?t.dependenciesState_=Ye.STALE_:t.dependenciesState_===Ye.UP_TO_DATE_&&(e.lowestObserverState_=Ye.UP_TO_DATE_)})))}(this),pt.trackingContext=e}}else nt(this)&&(this.warnAboutUntrackedRead_(),yt(),this.value_=this.computeValue_(!1),bt());var t=this.value_;if(tt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter_&&r(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Ye.NOT_TRACKING_,n=this.computeValue_(!0),r=t||tt(e)||tt(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=We(!1);if(e)t=rt(this,this.derivation,this.scope_);else if(!0===pt.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new et(e)}return qe(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(ot(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){var n,r,o,i,a;void 0===t&&(t=d);var s,l=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var c=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Ft}(t),u=!1;s=new xt(l,(function(){u||(u=!0,c((function(){u=!1,s.isDisposed_||s.track(f)})))}),t.onError,t.requiresObservable)}else s=new xt(l,(function(){this.track(f)}),t.onError,t.requiresObservable);function f(){e(s)}return null!=(o=t)&&null!=(i=o.signal)&&i.aborted||s.schedule_(),s.getDisposer_(null==(a=t)?void 0:a.signal)}((function(){var i=n.get();if(!r||t){var a=at();e({observableKind:"computed",debugObjectName:n.name_,type:xn,object:n,newValue:i,oldValue:o}),st(a)}r=!1,o=i}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return M(this.get())},t[Ke]=function(){return this.valueOf()},e}(),Qe=_("ComputedValue",Je);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(Ye||(Ye={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Ze||(Ze={}));var et=function(e){this.cause=void 0,this.cause=e};function tt(e){return e instanceof et}function nt(e){switch(e.dependenciesState_){case Ye.UP_TO_DATE_:return!1;case Ye.NOT_TRACKING_:case Ye.STALE_:return!0;case Ye.POSSIBLY_STALE_:for(var t=lt(!0),n=at(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(Qe(a)){if(pt.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return st(n),ct(t),!0}if(e.dependenciesState_===Ye.STALE_)return st(n),ct(t),!0}}return ut(e),st(n),ct(t),!1}}function rt(e,t,n){var r=lt(!0);ut(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++pt.runId;var o,i=pt.trackingDerivation;if(pt.trackingDerivation=e,pt.inBatch++,!0===pt.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new et(e)}return pt.inBatch--,pt.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Ye.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue_&&(s.diffValue_=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var l=t[i];0===l.diffValue_&&vt(l,e),l.diffValue_=0}for(;o--;){var c=n[o];1===c.diffValue_&&(c.diffValue_=0,mt(c,e))}r!==Ye.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),ct(r),o}function ot(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)vt(t[n],e);e.dependenciesState_=Ye.NOT_TRACKING_}function it(e){var t=at();try{return e()}finally{st(t)}}function at(){var e=pt.trackingDerivation;return pt.trackingDerivation=null,e}function st(e){pt.trackingDerivation=e}function lt(e){var t=pt.allowStateReads;return pt.allowStateReads=e,t}function ct(e){pt.allowStateReads=e}function ut(e){if(e.dependenciesState_!==Ye.UP_TO_DATE_){e.dependenciesState_=Ye.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Ye.UP_TO_DATE_}}var dt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},ft=!0,ht=!1,pt=function(){var e=i();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ft=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new dt).version&&(ft=!1),ft?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new dt):(setTimeout((function(){ht||r(35)}),1),new dt)}();function mt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function vt(e,t){e.observers_.delete(t),0===e.observers_.size&&gt(e)}function gt(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,pt.pendingUnobservations.push(e))}function yt(){pt.inBatch++}function bt(){if(0==--pt.inBatch){Ot();for(var e=pt.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation_=!1,0===n.observers_.size&&(n.isBeingObserved_&&(n.isBeingObserved_=!1,n.onBUO()),n instanceof Je&&n.suspend_())}pt.pendingUnobservations=[]}}function wt(e){var t=pt.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved_&&pt.trackingContext&&(e.isBeingObserved_=!0,e.onBO())),e.isBeingObserved_):(0===e.observers_.size&&pt.inBatch>0&&gt(e),!1)}function Et(e){e.lowestObserverState_!==Ye.STALE_&&(e.lowestObserverState_=Ye.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ye.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Ye.STALE_})))}var xt=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Ye.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=Ze.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,pt.pendingReactions.push(this),Ot())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){yt(),this.isScheduled_=!1;var e=pt.trackingContext;if(pt.trackingContext=this,nt(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}pt.trackingContext=e,bt()}},t.track=function(e){if(!this.isDisposed_){yt(),this.isRunning_=!0;var t=pt.trackingContext;pt.trackingContext=this;var n=rt(this,e,void 0);pt.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&ot(this),tt(n)&&this.reportExceptionInDerivation_(n.cause),bt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(pt.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";pt.suppressReactionErrors||console.error(n,e),pt.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(yt(),ot(this),bt()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[U]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},e}(),St=100,_t=function(e){return e()};function Ot(){pt.inBatch>0||pt.isRunningReactions||_t(Ct)}function Ct(){pt.isRunningReactions=!0;for(var e=pt.pendingReactions,t=0;e.length>0;){++t===St&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}pt.isRunningReactions=!1}var At=_("Reaction",xt),kt="action",Mt="autoAction",Tt=J(kt),Pt=J("action.bound",{bound:!0}),It=J(Mt,{autoAction:!0}),jt=J("autoAction.bound",{autoAction:!0,bound:!0});function zt(e){return function(t,n){return g(t)?Ve(t.name||"<unnamed action>",t,e):g(n)?Ve(t,n,e):V(n)?(e?It:Tt).decorate_20223_(t,n):y(n)?H(t,n,e?It:Tt):y(t)?B(J(e?Mt:kt,{name:t,autoAction:e})):void 0}}var Dt=zt(!1);Object.assign(Dt,Tt);var Rt=zt(!0);function Nt(e){return Ue(e.name,!1,e,this,void 0)}function $t(e){return g(e)&&!0===e.isMobxAction}Object.assign(Rt,It),Dt.bound=B(Pt),Rt.bound=B(jt);var Ft=function(e){return e()};var Lt="onBO",Bt="onBUO";function Ht(e,t,n){return Vt(Bt,e,t,n)}function Vt(e,t,n,r){var o="function"==typeof r?ur(t,n):ur(t),i=g(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var Ut="never",Wt="always",qt="observed";function Kt(e){!0===e.isolateGlobalState&&function(){if((pt.pendingReactions.length||pt.inBatch||pt.isRunningReactions)&&r(36),ht=!0,ft){var e=i();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),pt=new dt}}();var t,n,o=e.useProxies,a=e.enforceActions;if(void 0!==o&&(pt.useProxies=o===Wt||o!==Ut&&"undefined"!=typeof Proxy),"ifavailable"===o&&(pt.verifyProxies=!0),void 0!==a){var s=a===Wt?Wt:a===qt;pt.enforceActions=s,pt.allowStateChanges=!0!==s&&s!==Wt}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(pt[t]=!!e[t])})),pt.allowStateReads=!pt.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=_t,_t=function(e){return t((function(){return n(e)}))})}function Gt(e,t,n,r){var o=P(t);return hr((function(){var t=Gn(e,r)[U];k(o).forEach((function(e){t.extend_(e,o[e],!n||!(e in n)||n[e])}))})),e}function Xt(e,t){return Yt(ur(e,t))}function Yt(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Yt)),n}var Zt=0;function Jt(){this.message="FLOW_CANCELLED"}Jt.prototype=Object.create(Error.prototype);var Qt=re("flow"),en=re("flow.bound",{bound:!0}),tn=Object.assign((function(e,t){if(V(t))return Qt.decorate_20223_(e,t);if(y(t))return H(e,t,Qt);var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++Zt,i=Dt(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function l(e){var t;a=void 0;try{t=Dt(r+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(e){return n(e)}u(t)}function c(e){var t;a=void 0;try{t=Dt(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(e){return n(e)}u(t)}function u(e){if(!g(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,c);e.then(u,n)}e=n,l(void 0)}));return s.cancel=Dt(r+" - runid: "+o+" - cancel",(function(){try{a&&nn(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(v,v),nn(n),e(new Jt)}catch(t){e(t)}})),s};return o.isMobXFlow=!0,o}),Qt);function nn(e){g(e.cancel)&&e.cancel()}function rn(e){return!0===(null==e?void 0:e.isMobXFlow)}function on(e){return function(e,t){return!!e&&(void 0!==t?!!Zn(e)&&e[U].values_.has(t):Zn(e)||!!e[U]||q(e)||At(e)||Qe(e))}(e)}function an(e,t,n){return e.set(t,n),n}function sn(e,t){if(null==e||"object"!=typeof e||e instanceof Date||!on(e))return e;if(Xe(e)||Qe(e))return sn(e.get(),t);if(t.has(e))return t.get(e);if(zn(e)){var n=an(t,e,new Array(e.length));return e.forEach((function(e,r){n[r]=sn(e,t)})),n}if(Un(e)){var o=an(t,e,new Set);return e.forEach((function(e){o.add(sn(e,t))})),o}if(Bn(e)){var i=an(t,e,new Map);return e.forEach((function(e,n){i.set(n,sn(e,t))})),i}var a=an(t,e,{});return function(e){if(Zn(e))return e[U].ownKeys_();r(38)}(e).forEach((function(n){c.propertyIsEnumerable.call(e,n)&&(a[n]=sn(e[n],t))})),a}function ln(e,t){return sn(e,new Map)}function cn(e,t){void 0===t&&(t=void 0),yt();try{return e.apply(t)}finally{bt()}}function un(e){return e[U]}tn.bound=B(en);var dn={has:function(e,t){return un(e).has_(t)},get:function(e,t){return un(e).get_(t)},set:function(e,t,n){var r;return!!y(t)&&(null==(r=un(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!y(t)&&(null==(n=un(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=un(e).defineProperty_(t,n))||r},ownKeys:function(e){return un(e).ownKeys_()},preventExtensions:function(e){r(13)}};function fn(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function hn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),m((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function pn(e,t){var n=at();try{for(var o=[].concat(e.interceptors_||[]),i=0,a=o.length;i<a&&((t=o[i](t))&&!t.type&&r(14),t);i++);return t}finally{st(n)}}function mn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function vn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),m((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function gn(e,t){var n=at(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);st(n)}}function yn(e,t,n){return hr((function(){var r=Gn(e,n)[U];null!=t||(t=function(e){return T(e,L)||x(e,L,z({},e[L])),e[L]}(e)),k(t).forEach((function(e){return r.make_(e,t[e])}))})),e}var bn=Symbol("mobx-keys");function wn(e,t,n){return w(e)?Gt(e,e,t,n):(hr((function(){var r=Gn(e,n)[U];if(!e[bn]){var o=Object.getPrototypeOf(e),i=new Set([].concat(k(e),k(o)));i.delete("constructor"),i.delete(U),x(o,bn,i)}e[bn].forEach((function(e){return r.make_(e,!t||!(e in t)||t[e])}))})),e)}var En="splice",xn="update",Sn={get:function(e,t){var n=e[U];return t===U?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?T(Cn,t)?Cn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[U];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){r(15)}},_n=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new W(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return hn(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),vn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),o=0;o<e-t;o++)n[o]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&r(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&lr(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=u),fn(this)){var i=pn(this,{object:this.proxy_,type:En,index:e,removedCount:t,added:n});if(!i)return u;t=i.removedCount,n=i.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(o,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var o=this.values_.slice(e,e+t),i=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=mn(this),i=o||r?{observableKind:"array",object:this.proxy_,type:xn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&gn(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=mn(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:En,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),o&&gn(this,i)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&r(17,e,n.length),e<n.length){this.atom_;var o=n[e];if(fn(this)){var i=pn(this,{type:xn,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,o))!==o&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,o))}else{for(var a=new Array(e+1-n.length),s=0;s<a.length-1;s++)a[s]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}();function On(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),p(),hr((function(){var o=new _n(n,t,r,!1);S(o.values_,U,o);var i=new Proxy(o.values_,Sn);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i}))}var Cn={clear:function(){return this.splice(0)},replace:function(e){var t=this[U];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[U];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[U].spliceWithArray_(e,t,n)},push:function(){for(var e=this[U],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[U].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[U],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return pt.trackingDerivation&&r(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){pt.trackingDerivation&&r(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[U],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function An(e,t){"function"==typeof Array.prototype[e]&&(Cn[e]=t(e))}function kn(e){return function(){var t=this[U];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function Mn(e){return function(t,n){var r=this,o=this[U];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,r)}))}}function Tn(e){return function(){var t=this,n=this[U];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(e,n,r,t)},r[e].apply(r,arguments)}}An("at",kn),An("concat",kn),An("flat",kn),An("includes",kn),An("indexOf",kn),An("join",kn),An("lastIndexOf",kn),An("slice",kn),An("toString",kn),An("toLocaleString",kn),An("toSorted",kn),An("toSpliced",kn),An("with",kn),An("every",Mn),An("filter",Mn),An("find",Mn),An("findIndex",Mn),An("findLast",Mn),An("findLastIndex",Mn),An("flatMap",Mn),An("forEach",Mn),An("map",Mn),An("some",Mn),An("toReversed",Mn),An("reduce",Tn),An("reduceRight",Tn);var Pn,In,jn=_("ObservableArrayAdministration",_n);function zn(e){return b(e)&&jn(e[U])}var Dn={},Rn="add",Nn="delete";Pn=Symbol.iterator,In=Symbol.toStringTag;var $n,Fn,Ln=function(){function e(e,t,n){var o=this;void 0===t&&(t=X),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[U]=Dn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,g(Map)||r(18),hr((function(){o.keysAtom_=K("ObservableMap.keys()"),o.data_=new Map,o.hasMap_=new Map,e&&o.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!pt.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new Ge(this.has_(e),Y,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Ht(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(fn(this)){var r=pn(this,{type:n?xn:Rn,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,fn(this)&&!pn(this,{type:Nn,object:this,name:e}))return!1;if(this.has_(e)){var n=mn(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:Nn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return cn((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&gn(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==pt.UNCHANGED){var r=mn(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:xn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&gn(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,cn((function(){var r,o=new Ge(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=mn(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:Rn,object:this,name:e,newValue:t}:null;r&&gn(this,o)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return yr({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return yr({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[Pn]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=F(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return Bn(e)&&(e=new Map(e)),cn((function(){w(e)?function(e){var t=Object.keys(e);if(!A)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return c.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):O(e)?(e.constructor!==Map&&r(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&r(20,e)})),this},t.clear=function(){var e=this;cn((function(){it((function(){for(var t,n=F(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return cn((function(){for(var n,o=function(e){if(O(e)||Bn(e))return e;if(Array.isArray(e))return new Map(e);if(w(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return r(21,e)}(e),i=new Map,a=!1,s=F(t.data_.keys());!(n=s()).done;){var l=n.value;if(!o.has(l))if(t.delete(l))a=!0;else{var c=t.data_.get(l);i.set(l,c)}}for(var u,d=F(o.entries());!(u=d()).done;){var f=u.value,h=f[0],p=f[1],m=t.data_.has(h);if(t.set(h,p),t.data_.has(h)){var v=t.data_.get(h);i.set(h,v),m||(a=!0)}}if(!a)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),y=i.keys(),b=g.next(),E=y.next();!b.done;){if(b.value!==E.value){t.keysAtom_.reportChanged();break}b=g.next(),E=y.next()}t.data_=i})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return vn(this,e)},t.intercept_=function(e){return hn(this,e)},j(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:In,get:function(){return"Map"}}]),e}(),Bn=_("ObservableMap",Ln),Hn={};$n=Symbol.iterator,Fn=Symbol.toStringTag;var Vn=function(){function e(e,t,n){var o=this;void 0===t&&(t=X),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[U]=Hn,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,g(Set)||r(22),this.enhancer_=function(e,r){return t(e,r,n)},hr((function(){o.atom_=K(o.name_),e&&o.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;cn((function(){it((function(){for(var t,n=F(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=F(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(this.atom_,fn(this)&&!pn(this,{type:Rn,object:this,newValue:e}))return this;if(!this.has(e)){cn((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=mn(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Rn,object:this,newValue:e}:null;n&&gn(this,r)}return this},t.delete=function(e){var t=this;if(fn(this)&&!pn(this,{type:Nn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=mn(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Nn,object:this,oldValue:e}:null;return cn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&gn(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return yr({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return yr({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.replace=function(e){var t=this;return Un(e)&&(e=new Set(e)),cn((function(){Array.isArray(e)||C(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&r("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return vn(this,e)},t.intercept_=function(e){return hn(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[$n]=function(){return this.values()},j(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Fn,get:function(){return"Set"}}]),e}(),Un=_("ObservableSet",Vn),Wn=Object.create(null),qn="remove",Kn=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=ge),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new W("ObservableObject.keys"),this.isPlainObject_=w(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof Je)return n.set(t),!0;if(fn(this)){var r=pn(this,{type:xn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==pt.UNCHANGED){var o=mn(this),i=o?{type:xn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),o&&gn(this,i)}return!0},t.get_=function(e){return pt.trackingDerivation&&!T(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),T(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!pt.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new Ge(e in this.target_,Y,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var n;if(null!=(n=this.target_[L])&&n[e])return;r(1,t.annotationType_,this.name_+"."+e.toString())}for(var o=this.target_;o&&o!==c;){var i=s(o,e);if(i){var a=t.make_(this,e,i,o);if(0===a)return;if(1===a)break}o=Object.getPrototypeOf(o)}Jn(this,0,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var o=n.extend_(this,e,t,r);return o&&Jn(this,0,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{yt();var r=this.delete_(e);if(!r)return r;if(fn(this)){var o=pn(this,{object:this.proxy_||this.target_,name:e,type:Rn,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=z({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else l(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{bt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{yt();var o=this.delete_(e);if(!o)return o;if(fn(this)){var i=pn(this,{object:this.proxy_||this.target_,name:e,type:Rn,newValue:t});if(!i)return null;t=i.newValue}var a=Yn(e),s={configurable:!pt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else l(this.target_,e,s);var c=new Ge(t,n,"ObservableObject.key",!1);this.values_.set(e,c),this.notifyPropertyAddition_(e,c.value_)}finally{bt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{yt();var r=this.delete_(e);if(!r)return r;if(fn(this)&&!pn(this,{object:this.proxy_||this.target_,name:e,type:Rn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Yn(e),i={configurable:!pt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else l(this.target_,e,i);this.values_.set(e,new Je(t)),this.notifyPropertyAddition_(e,void 0)}finally{bt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!T(this.target_,e))return!0;if(fn(this)&&!pn(this,{object:this.proxy_||this.target_,name:e,type:qn}))return null;try{var n,r;yt();var o,i=mn(this),a=this.values_.get(e),l=void 0;if(!a&&i&&(l=null==(o=s(this.target_,e))?void 0:o.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(a&&(this.values_.delete(e),a instanceof Ge&&(l=a.value_),Et(a)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(e in this.target_),i){var c={type:qn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:l,name:e};i&&gn(this,c)}}finally{bt()}return!0},t.observe_=function(e,t){return vn(this,e)},t.intercept_=function(e){return hn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r,o=mn(this);if(o){var i=o?{type:Rn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;o&&gn(this,i)}null==(n=this.pendingKeys_)||null==(r=n.get(e))||r.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),k(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function Gn(e,t){var n;if(T(e,U))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new Kn(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:ye(e):void 0}(t));return x(e,U,o),e}var Xn=_("ObservableObjectAdministration",Kn);function Yn(e){return Wn[e]||(Wn[e]={get:function(){return this[U].getObservablePropValue_(e)},set:function(t){return this[U].setObservablePropValue_(e,t)}})}function Zn(e){return!!b(e)&&Xn(e[U])}function Jn(e,t,n){var r;null==(r=e.target_[L])||delete r[n]}var Qn,er,tr=ar(0),nr=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),rr=0,or=function(){};Qn=or,er=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Qn.prototype,er):void 0!==Qn.prototype.__proto__?Qn.prototype.__proto__=er:Qn.prototype=er;var ir=function(e,t,n){function r(t,n,r,o){var i;return void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,hr((function(){var e=new _n(r,n,o,!0);e.proxy_=N(i),S(N(i),U,e),t&&t.length&&i.spliceWithArray(0,0,t),nr&&Object.defineProperty(N(i),"0",tr)})),i}D(r,e);var o=r.prototype;return o.concat=function(){this[U].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return zn(e)?e.slice():e})))},o[n]=function(){var e=this,t=0;return yr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},j(r,[{key:"length",get:function(){return this[U].getArrayLength_()},set:function(e){this[U].setArrayLength_(e)}},{key:t,get:function(){return"Array"}}]),r}(or,Symbol.toStringTag,Symbol.iterator);function ar(e){return{enumerable:!1,configurable:!0,get:function(){return this[U].get_(e)},set:function(t){this[U].set_(e,t)}}}function sr(e){l(ir.prototype,""+e,ar(e))}function lr(e){if(e>rr){for(var t=rr;t<e+100;t++)sr(t);rr=e}}function cr(e,t,n){return new ir(e,t,n)}function ur(e,t){if("object"==typeof e&&null!==e){if(zn(e))return void 0!==t&&r(23),e[U].atom_;if(Un(e))return e.atom_;if(Bn(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||r(25,t,fr(e)),n}if(Zn(e)){if(!t)return r(26);var o=e[U].values_.get(t);return o||r(27,t,fr(e)),o}if(q(e)||Qe(e)||At(e))return e}else if(g(e)&&At(e[U]))return e[U];r(28)}function dr(e,t){return e||r(29),void 0!==t?dr(ur(e,t)):q(e)||Qe(e)||At(e)||Bn(e)||Un(e)?e:e[U]?e[U]:void r(24,e)}function fr(e,t){var n;if(void 0!==t)n=ur(e,t);else{if($t(e))return e.name;n=Zn(e)||Bn(e)||Un(e)?dr(e):ur(e)}return n.name_}function hr(e){var t=at(),n=We(!0);yt();try{return e()}finally{bt(),qe(n),st(t)}}Object.entries(Cn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&x(ir.prototype,t,n)})),lr(1e3);var pr=c.toString;function mr(e,t,n){return void 0===n&&(n=-1),vr(e,t,n)}function vr(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"object"!=typeof t)return!1;var a=pr.call(e);if(a!==pr.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=gr(e),t=gr(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,c=t.constructor;if(l!==c&&!(g(l)&&l instanceof l&&g(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var u=(r=r||[]).length;u--;)if(r[u]===e)return o[u]===t;if(r.push(e),o.push(t),s){if((u=e.length)!==t.length)return!1;for(;u--;)if(!vr(e[u],t[u],n-1,r,o))return!1}else{var d,f=Object.keys(e);if(u=f.length,Object.keys(t).length!==u)return!1;for(;u--;)if(!T(t,d=f[u])||!vr(e[d],t[d],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function gr(e){return zn(e)?e.slice():O(e)||Bn(e)||C(e)||Un(e)?Array.from(e.entries()):e}function yr(e){return e[Symbol.iterator]=br,e}function br(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===i()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:fr},$mobx:U})},57022:()=>{!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[a]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(Prism)},75624:()=>{Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}},71983:(e,t,n)=>{var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},o.util.type(t)){case"Object":if(i=o.util.objId(t),n[i])return n[i];for(var a in r={},n[i]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return i=o.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach((function(t,o){r[o]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||o.languages)[e],a={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);n.hasOwnProperty(s)||(a[s]=i[s])}var c=r[e];return r[e]=a,o.languages.DFS(o.languages,(function(t,n){n===c&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,r,i){i=i||{};var a=o.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],c=o.util.type(l);"Object"!==c||i[a(l)]?"Array"!==c||i[a(l)]||(i[a(l)]=!0,e(l,n,s,i)):(i[a(l)]=!0,e(l,n,null,i))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var i,a=0;i=r.elements[a++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(t,n,r){var i=o.util.getLanguage(t),a=o.languages[i];o.util.setLanguage(t,i);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&o.util.setLanguage(s,i);var l={element:t,language:i,grammar:a,code:t.textContent};function c(e){l.highlightedCode=e,o.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,o.hooks.run("after-highlight",l),o.hooks.run("complete",l),r&&r.call(l.element)}if(o.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return o.hooks.run("complete",l),void(r&&r.call(l.element));if(o.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(o.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(o.highlight(l.code,l.grammar,l.language));else c(o.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(o.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),i.stringify(o.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new l;return c(o,o.head,e),s(e,o,t,o.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function s(e,t,n,r,l,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var h=n[f];h=Array.isArray(h)?h:[h];for(var p=0;p<h.length;++p){if(d&&d.cause==f+","+p)return;var m=h[p],v=m.inside,g=!!m.lookbehind,y=!!m.greedy,b=m.alias;if(y&&!m.pattern.global){var w=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,w+"g")}for(var E=m.pattern||m,x=r.next,S=l;x!==t.tail&&!(d&&S>=d.reach);S+=x.value.length,x=x.next){var _=x.value;if(t.length>e.length)return;if(!(_ instanceof i)){var O,C=1;if(y){if(!(O=a(E,S,e,g))||O.index>=e.length)break;var A=O.index,k=O.index+O[0].length,M=S;for(M+=x.value.length;A>=M;)M+=(x=x.next).value.length;if(S=M-=x.value.length,x.value instanceof i)continue;for(var T=x;T!==t.tail&&(M<k||"string"==typeof T.value);T=T.next)C++,M+=T.value.length;C--,_=e.slice(S,M),O.index-=S}else if(!(O=a(E,0,_,g)))continue;A=O.index;var P=O[0],I=_.slice(0,A),j=_.slice(A+P.length),z=S+_.length;d&&z>d.reach&&(d.reach=z);var D=x.prev;if(I&&(D=c(t,D,I),S+=I.length),u(t,D,C),x=c(t,D,new i(f,v?o.tokenize(P,v):P,b,P)),j&&c(t,x,j),C>1){var R={cause:f+","+p,reach:z};s(e,t,n,x.prev,S,R),d&&R.reach>d.reach&&(d.reach=R.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function u(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}if(e.Prism=o,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),o.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(o.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,a=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),a&&e.close()}),!1),o):o;var d=o.util.currentScript();function f(){o.manual||o.highlightAll()}if(d&&(o.filename=d.src,d.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var h=document.readyState;"loading"===h||"interactive"===h&&d&&d.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},91113:()=>{!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(Prism)},25723:()=>{Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript},65903:()=>{!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},s=function(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===a(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:a(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var l=a(o);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(l+=a(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=a(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&s(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)}))}(Prism)},69913:()=>{!function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(Prism)},64312:()=>{Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},54793:()=>{Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=Prism.languages.swift}))},59587:()=>{!function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism)},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3497:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(58168),o=n(64467),i=n(5544),a=n(80045),s=n(62427),l=n(46942),c=n.n(l),u=n(8719),d=n(96540),f=n(16928),h=n(25371),p=f.A.ESC,m=f.A.TAB;const v=(0,d.forwardRef)((function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,i=(0,d.useMemo)((function(){return"function"==typeof n?n():n}),[n]),a=(0,u.K4)(t,null==i?void 0:i.ref);return d.createElement(d.Fragment,null,r&&d.createElement("div",{className:"".concat(o,"-arrow")}),d.cloneElement(i,{ref:(0,u.f3)(i)?a:void 0}))}));var g={adjustX:1,adjustY:1},y=[0,0];const b={topLeft:{points:["bl","tl"],overflow:g,offset:[0,-4],targetOffset:y},top:{points:["bc","tc"],overflow:g,offset:[0,-4],targetOffset:y},topRight:{points:["br","tr"],overflow:g,offset:[0,-4],targetOffset:y},bottomLeft:{points:["tl","bl"],overflow:g,offset:[0,4],targetOffset:y},bottom:{points:["tc","bc"],overflow:g,offset:[0,4],targetOffset:y},bottomRight:{points:["tr","br"],overflow:g,offset:[0,4],targetOffset:y}};var w=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function E(e,t){var n,l=e.arrow,f=void 0!==l&&l,g=e.prefixCls,y=void 0===g?"rc-dropdown":g,E=e.transitionName,x=e.animation,S=e.align,_=e.placement,O=void 0===_?"bottomLeft":_,C=e.placements,A=void 0===C?b:C,k=e.getPopupContainer,M=e.showAction,T=e.hideAction,P=e.overlayClassName,I=e.overlayStyle,j=e.visible,z=e.trigger,D=void 0===z?["hover"]:z,R=e.autoFocus,N=e.overlay,$=e.children,F=e.onVisibleChange,L=(0,a.A)(e,w),B=d.useState(),H=(0,i.A)(B,2),V=H[0],U=H[1],W="visible"in e?j:V,q=d.useRef(null),K=d.useRef(null),G=d.useRef(null);d.useImperativeHandle(t,(function(){return q.current}));var X=function(e){U(e),null==F||F(e)};!function(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,i=e.overlayRef,a=d.useRef(!1),s=function(){var e,o;t&&(null===(e=n.current)||void 0===e||null===(o=e.focus)||void 0===o||o.call(e),null==r||r(!1))},l=function(){var e;return!(null===(e=i.current)||void 0===e||!e.focus||(i.current.focus(),a.current=!0,0))},c=function(e){switch(e.keyCode){case p:s();break;case m:var t=!1;a.current||(t=l()),t?e.preventDefault():s()}};d.useEffect((function(){return t?(window.addEventListener("keydown",c),o&&(0,h.A)(l,3),function(){window.removeEventListener("keydown",c),a.current=!1}):function(){a.current=!1}}),[t])}({visible:W,triggerRef:G,onVisibleChange:X,autoFocus:R,overlayRef:K});var Y,Z,J,Q=function(){return d.createElement(v,{ref:K,overlay:N,prefixCls:y,arrow:f})},ee=d.cloneElement($,{className:c()(null===(n=$.props)||void 0===n?void 0:n.className,W&&(Y=e.openClassName,void 0!==Y?Y:"".concat(y,"-open"))),ref:(0,u.f3)($)?(0,u.K4)(G,$.ref):void 0}),te=T;return te||-1===D.indexOf("contextMenu")||(te=["click"]),d.createElement(s.A,(0,r.A)({builtinPlacements:A},L,{prefixCls:y,ref:q,popupClassName:c()(P,(0,o.A)({},"".concat(y,"-show-arrow"),f)),popupStyle:I,action:D,showAction:M,hideAction:te,popupPlacement:O,popupAlign:S,popupTransitionName:E,popupAnimation:x,popupVisible:W,stretch:(Z=e.minOverlayWidthMatchTrigger,J=e.alignPoint,("minOverlayWidthMatchTrigger"in e?Z:!J)?"minWidth":""),popup:"function"==typeof N?Q:Q(),onPopupVisibleChange:X,onPopupClick:function(t){var n=e.onOverlayClick;U(!1),n&&n(t)},getPopupContainer:k}),ee)}const x=d.forwardRef(E)},19908:(e,t,n)=>{"use strict";n.d(t,{D0:()=>we,_z:()=>x,Op:()=>Te,B8:()=>Ee,EF:()=>S,Ay:()=>Ne,mN:()=>ke,FH:()=>De});var r=n(96540),o=n(58168),i=n(80045),a=n(82284);function s(){s=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},l=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new I(r||[]);return o(a,"_invoke",{value:k(e,n,s)}),a}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",m="suspendedYield",v="executing",g="completed",y={};function b(){}function w(){}function E(){}var x={};d(x,l,(function(){return this}));var S=Object.getPrototypeOf,_=S&&S(S(j([])));_&&_!==n&&r.call(_,l)&&(x=_);var O=E.prototype=b.prototype=Object.create(x);function C(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function n(o,i,s,l){var c=h(e[o],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==(0,a.A)(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function k(t,n,r){var o=p;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=M(s,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var c=h(t,n,r);if("normal"===c.type){if(o=r.done?g:m,c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=g,r.method="throw",r.arg=c.arg)}}}function M(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,M(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=h(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function j(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError((0,a.A)(t)+" is not iterable")}return w.prototype=E,o(O,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=d(E,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,d(e,u,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},C(A.prototype),d(A.prototype,c,(function(){return this})),t.AsyncIterator=A,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new A(f(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(O),d(O,u,"Generator"),d(O,l,(function(){return this})),d(O,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=j,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(P),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:j(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}var l=n(10467),c=n(89379),u=n(60436),d=n(23029),f=n(92901),h=n(9417),p=n(85501),m=n(29426),v=n(64467),g=n(82546),y=n(43210),b=n(68210),w="RC_FORM_INTERNAL_HOOKS",E=function(){(0,b.Ay)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")};const x=r.createContext({getFieldValue:E,getFieldsValue:E,getFieldError:E,getFieldWarning:E,getFieldsError:E,isFieldsTouched:E,isFieldTouched:E,isFieldValidating:E,isFieldsValidating:E,resetFields:E,setFields:E,setFieldValue:E,setFieldsValue:E,validateFields:E,submit:E,getInternalHooks:function(){return E(),{dispatch:E,initEntityValue:E,registerField:E,useSubscribe:E,setInitialValues:E,destroyForm:E,setCallbacks:E,registerWatch:E,getFields:E,setValidateMessages:E,setPreserve:E,getInitialValue:E}}}),S=r.createContext(null);function _(e){return null==e?[]:Array.isArray(e)?e:[e]}function O(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var C=O(),A=n(73437),k=/%[sdj%]/g;function M(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function T(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i=n.length;return"function"==typeof e?e.apply(null,n):"string"==typeof e?e.replace(k,(function(e){if("%%"===e)return"%";if(o>=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(e){return"[Circular]"}break;default:return e}})):e}function P(e,t){return null==e||!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e)}function I(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var s=r;r+=1,s<o?t(e[s],i):n([])}}([])}"undefined"!=typeof process&&process.env;var j=function(e){(0,p.A)(n,e);var t=(0,m.A)(n);function n(e,r){var o;return(0,d.A)(this,n),o=t.call(this,"Async Validation Error"),(0,v.A)((0,h.A)(o),"errors",void 0),(0,v.A)((0,h.A)(o),"fields",void 0),o.errors=e,o.fields=r,o}return(0,f.A)(n)}((0,A.A)(Error));function z(e,t){return function(n){var r,o;return r=e.fullFields?function(e,t){for(var n=e,r=0;r<t.length;r++){if(null==n)return n;n=n[t[r]]}return n}(t,e.fullFields):t[n.field||e.fullField],(o=n)&&void 0!==o.message?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:"function"==typeof n?n():n,fieldValue:r,field:n.field||e.fullField}}}function D(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"===(0,a.A)(r)&&"object"===(0,a.A)(e[n])?e[n]=(0,c.A)((0,c.A)({},e[n]),r):e[n]=r}return e}var R="enum";const N=function(e,t,n,r,o,i){!e.required||n.hasOwnProperty(e.field)&&!P(t,i||e.type)||r.push(T(o.messages.required,e.fullField))};var $,F=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,L=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,B={integer:function(e){return B.number(e)&&parseInt(e,10)===e},float:function(e){return B.number(e)&&!B.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(0,a.A)(e)&&!B.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(F)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if($)return $;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],i="(?:".concat(o.join("|"),")").concat("(?:%[0-9a-zA-Z]{1,})?"),a=new RegExp("(?:^".concat(n,"$)|(?:^").concat(i,"$)")),s=new RegExp("^".concat(n,"$")),l=new RegExp("^".concat(i,"$")),c=function(e){return e&&e.exact?a:new RegExp("(?:".concat(t(e)).concat(n).concat(t(e),")|(?:").concat(t(e)).concat(i).concat(t(e),")"),"g")};c.v4=function(e){return e&&e.exact?s:new RegExp("".concat(t(e)).concat(n).concat(t(e)),"g")},c.v6=function(e){return e&&e.exact?l:new RegExp("".concat(t(e)).concat(i).concat(t(e)),"g")};var u=c.v4().source,d=c.v6().source,f="(?:".concat("(?:(?:[a-z]+:)?//)","|www\\.)").concat("(?:\\S+(?::\\S*)?@)?","(?:localhost|").concat(u,"|").concat(d,"|").concat("(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)").concat("(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*").concat("(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",")").concat("(?::\\d{2,5})?").concat('(?:[/?#][^\\s"]*)?');return $=new RegExp("(?:^".concat(f,"$)"),"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(L)}};const H=N,V=function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(T(o.messages.whitespace,e.fullField))},U=function(e,t,n,r,o){if(e.required&&void 0===t)N(e,t,n,r,o);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?B[i](t)||r.push(T(o.messages.types[i],e.fullField,e.type)):i&&(0,a.A)(t)!==e.type&&r.push(T(o.messages.types[i],e.fullField,e.type))}},W=function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,s="number"==typeof e.max,l=t,c=null,u="number"==typeof t,d="string"==typeof t,f=Array.isArray(t);if(u?c="number":d?c="string":f&&(c="array"),!c)return!1;f&&(l=t.length),d&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?l!==e.len&&r.push(T(o.messages[c].len,e.fullField,e.len)):a&&!s&&l<e.min?r.push(T(o.messages[c].min,e.fullField,e.min)):s&&!a&&l>e.max?r.push(T(o.messages[c].max,e.fullField,e.max)):a&&s&&(l<e.min||l>e.max)&&r.push(T(o.messages[c].range,e.fullField,e.min,e.max))},q=function(e,t,n,r,o){e[R]=Array.isArray(e[R])?e[R]:[],-1===e[R].indexOf(t)&&r.push(T(o.messages[R],e.fullField,e[R].join(", ")))},K=function(e,t,n,r,o){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(T(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(T(o.messages.pattern.mismatch,e.fullField,t,e.pattern))))},G=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(P(t,i)&&!e.required)return n();H(e,t,r,a,o,i),P(t,i)||U(e,t,r,a,o)}n(a)},X={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(P(t,"string")&&!e.required)return n();H(e,t,r,i,o,"string"),P(t,"string")||(U(e,t,r,i,o),W(e,t,r,i,o),K(e,t,r,i,o),!0===e.whitespace&&V(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(P(t)&&!e.required)return n();H(e,t,r,i,o),void 0!==t&&U(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),P(t)&&!e.required)return n();H(e,t,r,i,o),void 0!==t&&(U(e,t,r,i,o),W(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(P(t)&&!e.required)return n();H(e,t,r,i,o),void 0!==t&&U(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(P(t)&&!e.required)return n();H(e,t,r,i,o),P(t)||U(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(P(t)&&!e.required)return n();H(e,t,r,i,o),void 0!==t&&(U(e,t,r,i,o),W(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(P(t)&&!e.required)return n();H(e,t,r,i,o),void 0!==t&&(U(e,t,r,i,o),W(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();H(e,t,r,i,o,"array"),null!=t&&(U(e,t,r,i,o),W(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(P(t)&&!e.required)return n();H(e,t,r,i,o),void 0!==t&&U(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(P(t)&&!e.required)return n();H(e,t,r,i,o),void 0!==t&&q(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(P(t,"string")&&!e.required)return n();H(e,t,r,i,o),P(t,"string")||K(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(P(t,"date")&&!e.required)return n();var a;H(e,t,r,i,o),P(t,"date")||(a=t instanceof Date?t:new Date(t),U(e,a,r,i,o),a&&W(e,a.getTime(),r,i,o))}n(i)},url:G,hex:G,email:G,required:function(e,t,n,r,o){var i=[],s=Array.isArray(t)?"array":(0,a.A)(t);H(e,t,r,i,o,s),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(P(t)&&!e.required)return n();H(e,t,r,i,o)}n(i)}};var Y=function(){function e(t){(0,d.A)(this,e),(0,v.A)(this,"rules",null),(0,v.A)(this,"_messages",C),this.define(t)}return(0,f.A)(e,[{key:"define",value:function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(0,a.A)(e)||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))}},{key:"messages",value:function(e){return e&&(this._messages=D(O(),e)),this._messages}},{key:"validate",value:function(t){var n=this,r=t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"==typeof o&&(i=o,o={}),!this.rules||0===Object.keys(this.rules).length)return i&&i(null,r),Promise.resolve(r);if(o.messages){var s=this.messages();s===C&&(s=O()),D(s,o.messages),o.messages=s}else o.messages=this.messages();var l={};(o.keys||Object.keys(this.rules)).forEach((function(e){var o=n.rules[e],i=r[e];o.forEach((function(o){var s=o;"function"==typeof s.transform&&(r===t&&(r=(0,c.A)({},r)),null!=(i=r[e]=s.transform(i))&&(s.type=s.type||(Array.isArray(i)?"array":(0,a.A)(i)))),(s="function"==typeof s?{validator:s}:(0,c.A)({},s)).validator=n.getValidationMethod(s),s.validator&&(s.field=e,s.fullField=s.fullField||e,s.type=n.getType(s),l[e]=l[e]||[],l[e].push({rule:s,value:i,source:r,field:e}))}))}));var d={};return function(e,t,n,r,o){if(t.first){var i=new Promise((function(t,i){var a=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,(0,u.A)(e[n]||[]))})),t}(e);I(a,n,(function(e){return r(e),e.length?i(new j(e,M(e))):t(o)}))}));return i.catch((function(e){return e})),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,d=[],f=new Promise((function(t,i){var f=function(e){if(d.push.apply(d,e),++c===l)return r(d),d.length?i(new j(d,M(d))):t(o)};s.length||(r(d),t(o)),s.forEach((function(t){var r=e[t];-1!==a.indexOf(t)?I(r,n,f):function(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,(0,u.A)(e||[])),++o===i&&n(r)}e.forEach((function(e){t(e,a)}))}(r,n,f)}))}));return f.catch((function(e){return e})),f}(l,o,(function(t,n){var i,s=t.rule,l=!("object"!==s.type&&"array"!==s.type||"object"!==(0,a.A)(s.fields)&&"object"!==(0,a.A)(s.defaultField));function f(e,t){return(0,c.A)((0,c.A)({},t),{},{fullField:"".concat(s.fullField,".").concat(e),fullFields:s.fullFields?[].concat((0,u.A)(s.fullFields),[e]):[e]})}function h(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=Array.isArray(i)?i:[i];!o.suppressWarning&&a.length&&e.warning("async-validator:",a),a.length&&void 0!==s.message&&(a=[].concat(s.message));var h=a.map(z(s,r));if(o.first&&h.length)return d[s.field]=1,n(h);if(l){if(s.required&&!t.value)return void 0!==s.message?h=[].concat(s.message).map(z(s,r)):o.error&&(h=[o.error(s,T(o.messages.required,s.field))]),n(h);var p={};s.defaultField&&Object.keys(t.value).map((function(e){p[e]=s.defaultField})),p=(0,c.A)((0,c.A)({},p),t.rule.fields);var m={};Object.keys(p).forEach((function(e){var t=p[e],n=Array.isArray(t)?t:[t];m[e]=n.map(f.bind(null,e))}));var v=new e(m);v.messages(o.messages),t.rule.options&&(t.rule.options.messages=o.messages,t.rule.options.error=o.error),v.validate(t.value,t.rule.options||o,(function(e){var t=[];h&&h.length&&t.push.apply(t,(0,u.A)(h)),e&&e.length&&t.push.apply(t,(0,u.A)(e)),n(t.length?t:null)}))}else n(h)}if(l=l&&(s.required||!s.required&&t.value),s.field=t.field,s.asyncValidator)i=s.asyncValidator(s,t.value,h,t.source,o);else if(s.validator){try{i=s.validator(s,t.value,h,t.source,o)}catch(e){var p,m;null===(p=(m=console).error)||void 0===p||p.call(m,e),o.suppressValidatorError||setTimeout((function(){throw e}),0),h(e.message)}!0===i?h():!1===i?h("function"==typeof s.message?s.message(s.fullField||s.field):s.message||"".concat(s.fullField||s.field," fails")):i instanceof Array?h(i):i instanceof Error&&h(i.message)}i&&i.then&&i.then((function(){return h()}),(function(e){return h(e)}))}),(function(e){!function(e){for(var t,n,o=[],a={},s=0;s<e.length;s++)t=e[s],n=void 0,Array.isArray(t)?o=(n=o).concat.apply(n,(0,u.A)(t)):o.push(t);o.length?(a=M(o),i(o,a)):i(null,r)}(e)}),r)}},{key:"getType",value:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!X.hasOwnProperty(e.type))throw new Error(T("Unknown rule type %s",e.type));return e.type||"string"}},{key:"getValidationMethod",value:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?X.required:X[this.getType(e)]||void 0}}]),e}();(0,v.A)(Y,"register",(function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");X[e]=t})),(0,v.A)(Y,"warning",(function(){})),(0,v.A)(Y,"messages",C),(0,v.A)(Y,"validators",X);const Z=Y;var J="'${name}' is not a valid ${type}",Q={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:J,method:J,array:J,object:J,number:J,date:J,boolean:J,integer:J,float:J,regexp:J,email:J,url:J,hex:J},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},ee=n(20488),te=Z;function ne(e,t){return e.replace(/\$\{\w+\}/g,(function(e){var n=e.slice(2,-1);return t[n]}))}var re="CODE_LOGIC_ERROR";function oe(e,t,n,r,o){return ie.apply(this,arguments)}function ie(){return ie=(0,l.A)(s().mark((function e(t,n,o,i,a){var l,d,f,h,p,m,g,y,b;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete(l=(0,c.A)({},o)).ruleIndex,te.warning=function(){},l.validator&&(d=l.validator,l.validator=function(){try{return d.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(re)}}),f=null,l&&"array"===l.type&&l.defaultField&&(f=l.defaultField,delete l.defaultField),h=new te((0,v.A)({},t,[l])),p=(0,ee.h)(Q,i.validateMessages),h.messages(p),m=[],e.prev=10,e.next=13,Promise.resolve(h.validate((0,v.A)({},t,n),(0,c.A)({},i)));case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(10),e.t0.errors&&(m=e.t0.errors.map((function(e,t){var n=e.message,o=n===re?p.default:n;return r.isValidElement(o)?r.cloneElement(o,{key:"error_".concat(t)}):o})));case 18:if(m.length||!f){e.next=23;break}return e.next=21,Promise.all(n.map((function(e,n){return oe("".concat(t,".").concat(n),e,f,i,a)})));case 21:return g=e.sent,e.abrupt("return",g.reduce((function(e,t){return[].concat((0,u.A)(e),(0,u.A)(t))}),[]));case 23:return y=(0,c.A)((0,c.A)({},o),{},{name:t,enum:(o.enum||[]).join(", ")},a),b=m.map((function(e){return"string"==typeof e?ne(e,y):e})),e.abrupt("return",b);case 26:case"end":return e.stop()}}),e,null,[[10,15]])}))),ie.apply(this,arguments)}function ae(e,t,n,r,o,i){var a,u=e.join("."),d=n.map((function(e,t){var n=e.validator,r=(0,c.A)((0,c.A)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Promise.resolve().then((function(){(0,b.Ay)(!o,"Your validator function has already return a promise. `callback` will be ignored."),o||r.apply(void 0,t)}))}));o=i&&"function"==typeof i.then&&"function"==typeof i.catch,(0,b.Ay)(o,"`callback` is deprecated. Please return a promise instead."),o&&i.then((function(){r()})).catch((function(e){r(e||" ")}))}),r})).sort((function(e,t){var n=e.warningOnly,r=e.ruleIndex,o=t.warningOnly,i=t.ruleIndex;return!!n==!!o?r-i:n?1:-1}));if(!0===o)a=new Promise(function(){var e=(0,l.A)(s().mark((function e(n,o){var a,l,c;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=0;case 1:if(!(a<d.length)){e.next=12;break}return l=d[a],e.next=5,oe(u,t,l,r,i);case 5:if(!(c=e.sent).length){e.next=9;break}return o([{errors:c,rule:l}]),e.abrupt("return");case 9:a+=1,e.next=1;break;case 12:n([]);case 13:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}());else{var f=d.map((function(e){return oe(u,t,e,r,i).then((function(t){return{errors:t,rule:e}}))}));a=(o?function(e){return le.apply(this,arguments)}(f):function(e){return se.apply(this,arguments)}(f)).then((function(e){return Promise.reject(e)}))}return a.catch((function(e){return e})),a}function se(){return(se=(0,l.A)(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then((function(e){var t;return(t=[]).concat.apply(t,(0,u.A)(e))})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(){return(le=(0,l.A)(s().mark((function e(t){var n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=0,e.abrupt("return",new Promise((function(e){t.forEach((function(r){r.then((function(r){r.errors.length&&e([r]),(n+=1)===t.length&&e([])}))}))})));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ce=n(16300);function ue(e){return _(e)}function de(e,t){var n={};return t.forEach((function(t){var r=(0,ce.A)(e,t);n=(0,ee.A)(n,t,r)})),n}function fe(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e&&e.some((function(e){return he(t,e,n)}))}function he(e,t){return!(!e||!t)&&!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&e.length!==t.length)&&t.every((function(t,n){return e[n]===t}))}function pe(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,a.A)(t.target)&&e in t.target?t.target[e]:t}function me(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,u.A)(e.slice(0,n)),[o],(0,u.A)(e.slice(n,t)),(0,u.A)(e.slice(t+1,r))):i<0?[].concat((0,u.A)(e.slice(0,t)),(0,u.A)(e.slice(t+1,n+1)),[o],(0,u.A)(e.slice(n+1,r))):e}var ve=["name"],ge=[];function ye(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var be=function(e){(0,p.A)(n,e);var t=(0,m.A)(n);function n(e){var o;return(0,d.A)(this,n),o=t.call(this,e),(0,v.A)((0,h.A)(o),"state",{resetCount:0}),(0,v.A)((0,h.A)(o),"cancelRegisterFunc",null),(0,v.A)((0,h.A)(o),"mounted",!1),(0,v.A)((0,h.A)(o),"touched",!1),(0,v.A)((0,h.A)(o),"dirty",!1),(0,v.A)((0,h.A)(o),"validatePromise",void 0),(0,v.A)((0,h.A)(o),"prevValidating",void 0),(0,v.A)((0,h.A)(o),"errors",ge),(0,v.A)((0,h.A)(o),"warnings",ge),(0,v.A)((0,h.A)(o),"cancelRegister",(function(){var e=o.props,t=e.preserve,n=e.isListField,r=e.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(n,t,ue(r)),o.cancelRegisterFunc=null})),(0,v.A)((0,h.A)(o),"getNamePath",(function(){var e=o.props,t=e.name,n=e.fieldContext.prefixName,r=void 0===n?[]:n;return void 0!==t?[].concat((0,u.A)(r),(0,u.A)(t)):[]})),(0,v.A)((0,h.A)(o),"getRules",(function(){var e=o.props,t=e.rules,n=void 0===t?[]:t,r=e.fieldContext;return n.map((function(e){return"function"==typeof e?e(r):e}))})),(0,v.A)((0,h.A)(o),"refresh",(function(){o.mounted&&o.setState((function(e){return{resetCount:e.resetCount+1}}))})),(0,v.A)((0,h.A)(o),"metaCache",null),(0,v.A)((0,h.A)(o),"triggerMetaEvent",(function(e){var t=o.props.onMetaChange;if(t){var n=(0,c.A)((0,c.A)({},o.getMeta()),{},{destroy:e});(0,y.A)(o.metaCache,n)||t(n),o.metaCache=n}else o.metaCache=null})),(0,v.A)((0,h.A)(o),"onStoreChange",(function(e,t,n){var r=o.props,i=r.shouldUpdate,a=r.dependencies,s=void 0===a?[]:a,l=r.onReset,c=n.store,u=o.getNamePath(),d=o.getValue(e),f=o.getValue(c),h=t&&fe(t,u);switch("valueUpdate"!==n.type||"external"!==n.source||(0,y.A)(d,f)||(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=ge,o.warnings=ge,o.triggerMetaEvent()),n.type){case"reset":if(!t||h)return o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=ge,o.warnings=ge,o.triggerMetaEvent(),null==l||l(),void o.refresh();break;case"remove":if(i)return void o.reRender();break;case"setField":var p=n.data;if(h)return"touched"in p&&(o.touched=p.touched),"validating"in p&&!("originRCField"in p)&&(o.validatePromise=p.validating?Promise.resolve([]):null),"errors"in p&&(o.errors=p.errors||ge),"warnings"in p&&(o.warnings=p.warnings||ge),o.dirty=!0,o.triggerMetaEvent(),void o.reRender();if("value"in p&&fe(t,u,!0))return void o.reRender();if(i&&!u.length&&ye(i,e,c,d,f,n))return void o.reRender();break;case"dependenciesUpdate":if(s.map(ue).some((function(e){return fe(n.relatedFields,e)})))return void o.reRender();break;default:if(h||(!s.length||u.length||i)&&ye(i,e,c,d,f,n))return void o.reRender()}!0===i&&o.reRender()})),(0,v.A)((0,h.A)(o),"validateRules",(function(e){var t=o.getNamePath(),n=o.getValue(),r=e||{},i=r.triggerName,a=r.validateOnly,c=void 0!==a&&a,d=Promise.resolve().then((0,l.A)(s().mark((function r(){var a,l,c,f,h,p,m;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o.mounted){r.next=2;break}return r.abrupt("return",[]);case 2:if(a=o.props,l=a.validateFirst,c=void 0!==l&&l,f=a.messageVariables,h=a.validateDebounce,p=o.getRules(),i&&(p=p.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||_(t).includes(i)}))),!h||!i){r.next=10;break}return r.next=8,new Promise((function(e){setTimeout(e,h)}));case 8:if(o.validatePromise===d){r.next=10;break}return r.abrupt("return",[]);case 10:return(m=ae(t,n,p,e,c,f)).catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ge;if(o.validatePromise===d){var t;o.validatePromise=null;var n=[],r=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,o=e.errors,i=void 0===o?ge:o;t?r.push.apply(r,(0,u.A)(i)):n.push.apply(n,(0,u.A)(i))})),o.errors=n,o.warnings=r,o.triggerMetaEvent(),o.reRender()}})),r.abrupt("return",m);case 13:case"end":return r.stop()}}),r)}))));return c||(o.validatePromise=d,o.dirty=!0,o.errors=ge,o.warnings=ge,o.triggerMetaEvent(),o.reRender()),d})),(0,v.A)((0,h.A)(o),"isFieldValidating",(function(){return!!o.validatePromise})),(0,v.A)((0,h.A)(o),"isFieldTouched",(function(){return o.touched})),(0,v.A)((0,h.A)(o),"isFieldDirty",(function(){return!(!o.dirty&&void 0===o.props.initialValue)||void 0!==(0,o.props.fieldContext.getInternalHooks(w).getInitialValue)(o.getNamePath())})),(0,v.A)((0,h.A)(o),"getErrors",(function(){return o.errors})),(0,v.A)((0,h.A)(o),"getWarnings",(function(){return o.warnings})),(0,v.A)((0,h.A)(o),"isListField",(function(){return o.props.isListField})),(0,v.A)((0,h.A)(o),"isList",(function(){return o.props.isList})),(0,v.A)((0,h.A)(o),"isPreserve",(function(){return o.props.preserve})),(0,v.A)((0,h.A)(o),"getMeta",(function(){return o.prevValidating=o.isFieldValidating(),{touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:null===o.validatePromise}})),(0,v.A)((0,h.A)(o),"getOnlyChild",(function(e){if("function"==typeof e){var t=o.getMeta();return(0,c.A)((0,c.A)({},o.getOnlyChild(e(o.getControlled(),t,o.props.fieldContext))),{},{isFunction:!0})}var n=(0,g.A)(e);return 1===n.length&&r.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}})),(0,v.A)((0,h.A)(o),"getValue",(function(e){var t=o.props.fieldContext.getFieldsValue,n=o.getNamePath();return(0,ce.A)(e||t(!0),n)})),(0,v.A)((0,h.A)(o),"getControlled",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.props,n=t.name,r=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,s=t.normalize,l=t.valuePropName,u=t.getValueProps,d=t.fieldContext,f=void 0!==i?i:d.validateTrigger,h=o.getNamePath(),p=d.getInternalHooks,m=d.getFieldsValue,g=p(w).dispatch,y=o.getValue(),b=u||function(e){return(0,v.A)({},l,e)},E=e[r],x=void 0!==n?b(y):{},S=(0,c.A)((0,c.A)({},e),x);return S[r]=function(){var e;o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e=a?a.apply(void 0,n):pe.apply(void 0,[l].concat(n)),s&&(e=s(e,y,m(!0))),g({type:"updateValue",namePath:h,value:e}),E&&E.apply(void 0,n)},_(f||[]).forEach((function(e){var t=S[e];S[e]=function(){t&&t.apply(void 0,arguments);var n=o.props.rules;n&&n.length&&g({type:"validateField",namePath:h,triggerName:e})}})),S})),e.fieldContext&&(0,(0,e.fieldContext.getInternalHooks)(w).initEntityValue)((0,h.A)(o)),o}return(0,f.A)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.shouldUpdate,n=e.fieldContext;if(this.mounted=!0,n){var r=(0,n.getInternalHooks)(w).registerField;this.cancelRegisterFunc=r(this)}!0===t&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var e,t=this.state.resetCount,n=this.props.children,o=this.getOnlyChild(n),i=o.child;return o.isFunction?e=i:r.isValidElement(i)?e=r.cloneElement(i,this.getControlled(i.props)):((0,b.Ay)(!i,"`children` of Field is not validate ReactElement."),e=i),r.createElement(r.Fragment,{key:t},e)}}]),n}(r.Component);(0,v.A)(be,"contextType",x),(0,v.A)(be,"defaultProps",{trigger:"onChange",valuePropName:"value"});const we=function(e){var t=e.name,n=(0,i.A)(e,ve),a=r.useContext(x),s=r.useContext(S),l=void 0!==t?ue(t):void 0,c="keep";return n.isListField||(c="_".concat((l||[]).join("_"))),r.createElement(be,(0,o.A)({key:c,name:l,isListField:!!s},n,{fieldContext:a}))},Ee=function(e){var t=e.name,n=e.initialValue,o=e.children,i=e.rules,a=e.validateTrigger,s=e.isListField,l=r.useContext(x),d=r.useContext(S),f=r.useRef({keys:[],id:0}).current,h=r.useMemo((function(){var e=ue(l.prefixName)||[];return[].concat((0,u.A)(e),(0,u.A)(ue(t)))}),[l.prefixName,t]),p=r.useMemo((function(){return(0,c.A)((0,c.A)({},l),{},{prefixName:h})}),[l,h]),m=r.useMemo((function(){return{getKey:function(e){var t=h.length,n=e[t];return[f.keys[n],e.slice(t+1)]}}}),[h]);return"function"!=typeof o?((0,b.Ay)(!1,"Form.List only accepts function as children."),null):r.createElement(S.Provider,{value:m},r.createElement(x.Provider,{value:p},r.createElement(we,{name:[],shouldUpdate:function(e,t,n){return"internal"!==n.source&&e!==t},rules:i,validateTrigger:a,initialValue:n,isList:!0,isListField:null!=s?s:!!d},(function(e,t){var n=e.value,r=void 0===n?[]:n,i=e.onChange,a=l.getFieldValue,s=function(){return a(h||[])||[]},c={add:function(e,t){var n=s();t>=0&&t<=n.length?(f.keys=[].concat((0,u.A)(f.keys.slice(0,t)),[f.id],(0,u.A)(f.keys.slice(t))),i([].concat((0,u.A)(n.slice(0,t)),[e],(0,u.A)(n.slice(t))))):(f.keys=[].concat((0,u.A)(f.keys),[f.id]),i([].concat((0,u.A)(n),[e]))),f.id+=1},remove:function(e){var t=s(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(f.keys=f.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=s();e<0||e>=n.length||t<0||t>=n.length||(f.keys=me(f.keys,e,t),i(me(n,e,t)))}}},d=r||[];return Array.isArray(d)||(d=[]),o(d.map((function(e,t){var n=f.keys[t];return void 0===n&&(f.keys[t]=f.id,n=f.keys[t],f.id+=1),{name:t,key:n,isListField:!0}})),c,t)}))))};var xe=n(5544),Se="__@field_split__";function _e(e){return e.map((function(e){return"".concat((0,a.A)(e),":").concat(e)})).join(Se)}const Oe=function(){function e(){(0,d.A)(this,e),(0,v.A)(this,"kvs",new Map)}return(0,f.A)(e,[{key:"set",value:function(e,t){this.kvs.set(_e(e),t)}},{key:"get",value:function(e){return this.kvs.get(_e(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(_e(e))}},{key:"map",value:function(e){return(0,u.A)(this.kvs.entries()).map((function(t){var n=(0,xe.A)(t,2),r=n[0],o=n[1],i=r.split(Se);return e({key:i.map((function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,xe.A)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o})),value:o})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null})),e}}]),e}();var Ce=["name"],Ae=(0,f.A)((function e(t){var n=this;(0,d.A)(this,e),(0,v.A)(this,"formHooked",!1),(0,v.A)(this,"forceRootUpdate",void 0),(0,v.A)(this,"subscribable",!0),(0,v.A)(this,"store",{}),(0,v.A)(this,"fieldEntities",[]),(0,v.A)(this,"initialValues",{}),(0,v.A)(this,"callbacks",{}),(0,v.A)(this,"validateMessages",null),(0,v.A)(this,"preserve",null),(0,v.A)(this,"lastValidatePromise",null),(0,v.A)(this,"getForm",(function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}})),(0,v.A)(this,"getInternalHooks",(function(e){return e===w?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):((0,b.Ay)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)})),(0,v.A)(this,"useSubscribe",(function(e){n.subscribable=e})),(0,v.A)(this,"prevWithoutPreserves",null),(0,v.A)(this,"setInitialValues",(function(e,t){if(n.initialValues=e||{},t){var r,o=(0,ee.h)(e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map((function(t){var n=t.key;o=(0,ee.A)(o,n,(0,ce.A)(e,n))})),n.prevWithoutPreserves=null,n.updateStore(o)}})),(0,v.A)(this,"destroyForm",(function(e){if(e)n.updateStore({});else{var t=new Oe;n.getFieldEntities(!0).forEach((function(e){n.isMergedPreserve(e.isPreserve())||t.set(e.getNamePath(),!0)})),n.prevWithoutPreserves=t}})),(0,v.A)(this,"getInitialValue",(function(e){var t=(0,ce.A)(n.initialValues,e);return e.length?(0,ee.h)(t):t})),(0,v.A)(this,"setCallbacks",(function(e){n.callbacks=e})),(0,v.A)(this,"setValidateMessages",(function(e){n.validateMessages=e})),(0,v.A)(this,"setPreserve",(function(e){n.preserve=e})),(0,v.A)(this,"watchList",[]),(0,v.A)(this,"registerWatch",(function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter((function(t){return t!==e}))}})),(0,v.A)(this,"notifyWatch",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),r=n.getFieldsValue(!0);n.watchList.forEach((function(n){n(t,r,e)}))}})),(0,v.A)(this,"timeoutId",null),(0,v.A)(this,"warningUnhooked",(function(){})),(0,v.A)(this,"updateStore",(function(e){n.store=e})),(0,v.A)(this,"getFieldEntities",(function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities})),(0,v.A)(this,"getFieldsMap",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new Oe;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t})),(0,v.A)(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=ue(e);return t.get(n)||{INVALIDATE_NAME_PATH:ue(e)}}))})),(0,v.A)(this,"getFieldsValue",(function(e,t){var r,o,i;if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===(0,a.A)(e)&&(i=e.strict,o=e.filter),!0===r&&!o)return n.store;var s=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),l=[];return s.forEach((function(e){var t,n,a,s,c="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=(s=e).isList)&&void 0!==a&&a.call(s))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;if(o){var u="getMeta"in e?e.getMeta():null;o(u)&&l.push(c)}else l.push(c)})),de(n.store,l.map(ue))})),(0,v.A)(this,"getFieldValue",(function(e){n.warningUnhooked();var t=ue(e);return(0,ce.A)(n.store,t)})),(0,v.A)(this,"getFieldsError",(function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:ue(e[n]),errors:[],warnings:[]}}))})),(0,v.A)(this,"getFieldError",(function(e){n.warningUnhooked();var t=ue(e);return n.getFieldsError([t])[0].errors})),(0,v.A)(this,"getFieldWarning",(function(e){n.warningUnhooked();var t=ue(e);return n.getFieldsError([t])[0].warnings})),(0,v.A)(this,"isFieldsTouched",(function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o,i=t[0],a=t[1],s=!1;0===t.length?o=null:1===t.length?Array.isArray(i)?(o=i.map(ue),s=!1):(o=null,s=i):(o=i.map(ue),s=a);var l=n.getFieldEntities(!0),c=function(e){return e.isFieldTouched()};if(!o)return s?l.every((function(e){return c(e)||e.isList()})):l.some(c);var d=new Oe;o.forEach((function(e){d.set(e,[])})),l.forEach((function(e){var t=e.getNamePath();o.forEach((function(n){n.every((function(e,n){return t[n]===e}))&&d.update(n,(function(t){return[].concat((0,u.A)(t),[e])}))}))}));var f=function(e){return e.some(c)},h=d.map((function(e){return e.value}));return s?h.every(f):h.some(f)})),(0,v.A)(this,"isFieldTouched",(function(e){return n.warningUnhooked(),n.isFieldsTouched([e])})),(0,v.A)(this,"isFieldsValidating",(function(e){n.warningUnhooked();var t=n.getFieldEntities();if(!e)return t.some((function(e){return e.isFieldValidating()}));var r=e.map(ue);return t.some((function(e){var t=e.getNamePath();return fe(r,t)&&e.isFieldValidating()}))})),(0,v.A)(this,"isFieldValidating",(function(e){return n.warningUnhooked(),n.isFieldsValidating([e])})),(0,v.A)(this,"resetWithFieldInitialValue",(function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=new Oe,o=n.getFieldEntities(!0);o.forEach((function(e){var t=e.props.initialValue,n=e.getNamePath();if(void 0!==t){var o=r.get(n)||new Set;o.add({entity:e,value:t}),r.set(n,o)}})),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach((function(t){var n,o=r.get(t);o&&(n=e).push.apply(n,(0,u.A)((0,u.A)(o).map((function(e){return e.entity}))))}))):e=o,e.forEach((function(e){if(void 0!==e.props.initialValue){var o=e.getNamePath();if(void 0!==n.getInitialValue(o))(0,b.Ay)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=r.get(o);if(i&&i.size>1)(0,b.Ay)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);e.isListField()||t.skipExist&&void 0!==a||n.updateStore((0,ee.A)(n.store,o,(0,u.A)(i)[0].value))}}}}))})),(0,v.A)(this,"resetFields",(function(e){n.warningUnhooked();var t=n.store;if(!e)return n.updateStore((0,ee.h)(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();var r=e.map(ue);r.forEach((function(e){var t=n.getInitialValue(e);n.updateStore((0,ee.A)(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)})),(0,v.A)(this,"setFields",(function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach((function(e){var o=e.name,a=(0,i.A)(e,Ce),s=ue(o);r.push(s),"value"in a&&n.updateStore((0,ee.A)(n.store,s,a.value)),n.notifyObservers(t,[s],{type:"setField",data:e})})),n.notifyWatch(r)})),(0,v.A)(this,"getFields",(function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,c.A)((0,c.A)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o}))})),(0,v.A)(this,"initEntityValue",(function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,ce.A)(n.store,r)&&n.updateStore((0,ee.A)(n.store,r,t))}})),(0,v.A)(this,"isMergedPreserve",(function(e){var t=void 0!==e?e:n.preserve;return null==t||t})),(0,v.A)(this,"registerField",(function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every((function(e){return!he(e.getNamePath(),t)}))){var s=n.store;n.updateStore((0,ee.A)(s,t,a,!0)),n.notifyObservers(s,[t],{type:"remove"}),n.triggerDependenciesUpdate(s,t)}}n.notifyWatch([t])}})),(0,v.A)(this,"dispatch",(function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}})),(0,v.A)(this,"notifyObservers",(function(e,t,r){if(n.subscribable){var o=(0,c.A)((0,c.A)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()})),(0,v.A)(this,"triggerDependenciesUpdate",(function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,u.A)(r))}),r})),(0,v.A)(this,"updateValue",(function(e,t){var r=ue(e),o=n.store;n.updateStore((0,ee.A)(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(de(n.store,[r]),n.getFieldsValue()),n.triggerOnFieldsChange([r].concat((0,u.A)(i)))})),(0,v.A)(this,"setFieldsValue",(function(e){n.warningUnhooked();var t=n.store;if(e){var r=(0,ee.h)(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()})),(0,v.A)(this,"setFieldValue",(function(e,t){n.setFields([{name:e,value:t}])})),(0,v.A)(this,"getDependencyChildrenFields",(function(e){var t=new Set,r=[],o=new Oe;return n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=ue(t);o.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))})),function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r})),(0,v.A)(this,"triggerOnFieldsChange",(function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new Oe;t.forEach((function(e){var t=e.name,n=e.errors;i.set(t,n)})),o.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}var a=o.filter((function(t){var n=t.name;return fe(e,n)}));a.length&&r(a,o)}})),(0,v.A)(this,"validateFields",(function(e,t){var r,o;n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(r=e,o=t):o=e;var i=!!r,a=i?r.map(ue):[],s=[],l=String(Date.now()),d=new Set,f=o||{},h=f.recursive,p=f.dirty;n.getFieldEntities(!0).forEach((function(e){if(i||a.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!p||e.isFieldDirty())){var t=e.getNamePath();if(d.add(t.join(l)),!i||fe(a,t,h)){var r=e.validateRules((0,c.A)({validateMessages:(0,c.A)((0,c.A)({},Q),n.validateMessages)},o));s.push(r.then((function(){return{name:t,errors:[],warnings:[]}})).catch((function(e){var n,r=[],o=[];return null===(n=e.forEach)||void 0===n||n.call(e,(function(e){var t=e.rule.warningOnly,n=e.errors;t?o.push.apply(o,(0,u.A)(n)):r.push.apply(r,(0,u.A)(n))})),r.length?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}})))}}}));var m=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}(s);n.lastValidatePromise=m,m.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var v=m.then((function(){return n.lastValidatePromise===m?Promise.resolve(n.getFieldsValue(a)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(a),errorFields:t,outOfDate:n.lastValidatePromise!==m})}));v.catch((function(e){return e}));var g=a.filter((function(e){return d.has(e.join(l))}));return n.triggerOnFieldsChange(g),v})),(0,v.A)(this,"submit",(function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))})),this.forceRootUpdate=t}));const ke=function(e){var t=r.useRef(),n=r.useState({}),o=(0,xe.A)(n,2)[1];if(!t.current)if(e)t.current=e;else{var i=new Ae((function(){o({})}));t.current=i.getForm()}return[t.current]};var Me=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Te=function(e){var t=e.validateMessages,n=e.onFormChange,o=e.onFormFinish,i=e.children,a=r.useContext(Me),s=r.useRef({});return r.createElement(Me.Provider,{value:(0,c.A)((0,c.A)({},a),{},{validateMessages:(0,c.A)((0,c.A)({},a.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:s.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){o&&o(e,{values:t,forms:s.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(s.current=(0,c.A)((0,c.A)({},s.current),{},(0,v.A)({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=(0,c.A)({},s.current);delete t[e],s.current=t,a.unregisterForm(e)}})},i)};const Pe=Me;var Ie=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];const je=function(e,t){var n=e.name,s=e.initialValues,l=e.fields,d=e.form,f=e.preserve,h=e.children,p=e.component,m=void 0===p?"form":p,v=e.validateMessages,g=e.validateTrigger,y=void 0===g?"onChange":g,b=e.onValuesChange,E=e.onFieldsChange,_=e.onFinish,O=e.onFinishFailed,C=e.clearOnDestroy,A=(0,i.A)(e,Ie),k=r.useRef(null),M=r.useContext(Pe),T=ke(d),P=(0,xe.A)(T,1)[0],I=P.getInternalHooks(w),j=I.useSubscribe,z=I.setInitialValues,D=I.setCallbacks,R=I.setValidateMessages,N=I.setPreserve,$=I.destroyForm;r.useImperativeHandle(t,(function(){return(0,c.A)((0,c.A)({},P),{},{nativeElement:k.current})})),r.useEffect((function(){return M.registerForm(n,P),function(){M.unregisterForm(n)}}),[M,P,n]),R((0,c.A)((0,c.A)({},M.validateMessages),v)),D({onValuesChange:b,onFieldsChange:function(e){if(M.triggerFormChange(n,e),E){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];E.apply(void 0,[e].concat(r))}},onFinish:function(e){M.triggerFormFinish(n,e),_&&_(e)},onFinishFailed:O}),N(f);var F,L=r.useRef(null);z(s,!L.current),L.current||(L.current=!0),r.useEffect((function(){return function(){return $(C)}}),[]);var B="function"==typeof h;F=B?h(P.getFieldsValue(!0),P):h,j(!B);var H=r.useRef();r.useEffect((function(){(function(e,t){if(e===t)return!0;if(!e&&t||e&&!t)return!1;if(!e||!t||"object"!==(0,a.A)(e)||"object"!==(0,a.A)(t))return!1;var n=Object.keys(e),r=Object.keys(t),o=new Set([].concat(n,r));return(0,u.A)(o).every((function(n){var r=e[n],o=t[n];return"function"==typeof r&&"function"==typeof o||r===o}))})(H.current||[],l||[])||P.setFields(l||[]),H.current=l}),[l,P]);var V=r.useMemo((function(){return(0,c.A)((0,c.A)({},P),{},{validateTrigger:y})}),[P,y]),U=r.createElement(S.Provider,{value:null},r.createElement(x.Provider,{value:V},F));return!1===m?U:r.createElement(m,(0,o.A)({},A,{ref:k,onSubmit:function(e){e.preventDefault(),e.stopPropagation(),P.submit()},onReset:function(e){var t;e.preventDefault(),P.resetFields(),null===(t=A.onReset)||void 0===t||t.call(A,e)}}),U)};function ze(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}const De=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[0],i=t[1],a=void 0===i?{}:i,s=function(e){return e&&!!e._init}(a)?{form:a}:a,l=s.form,c=(0,r.useState)(),u=(0,xe.A)(c,2),d=u[0],f=u[1],h=(0,r.useMemo)((function(){return ze(d)}),[d]),p=(0,r.useRef)(h);p.current=h;var m=(0,r.useContext)(x),v=l||m,g=v&&v._init,y=ue(o),b=(0,r.useRef)(y);return b.current=y,(0,r.useEffect)((function(){if(g){var e=v.getFieldsValue,t=(0,v.getInternalHooks)(w).registerWatch,n=function(e,t){var n=s.preserve?t:e;return"function"==typeof o?o(n):(0,ce.A)(n,b.current)},r=t((function(e,t){var r=n(e,t),o=ze(r);p.current!==o&&(p.current=o,f(r))})),i=n(e(),e(!0));return d!==i&&f(i),r}}),[g]),d};var Re=r.forwardRef(je);Re.FormProvider=Te,Re.Field=we,Re.List=Ee,Re.useForm=ke,Re.useWatch=De;const Ne=Re},22489:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(80045),o=n(89379),i=n(82284),a=n(96540),s=["show"];function l(e,t){return a.useMemo((function(){var n={};t&&(n.show="object"===(0,i.A)(t)&&t.formatter?t.formatter:!!t);var a=n=(0,o.A)((0,o.A)({},n),e),l=a.show,c=(0,r.A)(a,s);return(0,o.A)((0,o.A)({},c),{},{show:!!l,showFormatter:"function"==typeof l?l:void 0,strategy:c.strategy||function(e){return e.length}})}),[e,t])}},48491:(e,t,n)=>{"use strict";n.d(t,{a:()=>d,A:()=>b});var r=n(89379),o=n(58168),i=n(64467),a=n(82284),s=n(46942),l=n.n(s),c=n(96540),u=n(11980);const d=c.forwardRef((function(e,t){var n,s,d=e.inputElement,f=e.children,h=e.prefixCls,p=e.prefix,m=e.suffix,v=e.addonBefore,g=e.addonAfter,y=e.className,b=e.style,w=e.disabled,E=e.readOnly,x=e.focused,S=e.triggerFocus,_=e.allowClear,O=e.value,C=e.handleReset,A=e.hidden,k=e.classes,M=e.classNames,T=e.dataAttrs,P=e.styles,I=e.components,j=null!=f?f:d,z=(null==I?void 0:I.affixWrapper)||"span",D=(null==I?void 0:I.groupWrapper)||"span",R=(null==I?void 0:I.wrapper)||"span",N=(null==I?void 0:I.groupAddon)||"span",$=(0,c.useRef)(null),F=(0,u.OL)(e),L=(0,c.cloneElement)(j,{value:O,className:l()(j.props.className,!F&&(null==M?void 0:M.variant))||null}),B=(0,c.useRef)(null);if(c.useImperativeHandle(t,(function(){return{nativeElement:B.current||$.current}})),F){var H,V=null;if(_){var U,W=!w&&!E&&O,q="".concat(h,"-clear-icon"),K="object"===(0,a.A)(_)&&null!=_&&_.clearIcon?_.clearIcon:"✖";V=c.createElement("span",{onClick:C,onMouseDown:function(e){return e.preventDefault()},className:l()(q,(U={},(0,i.A)(U,"".concat(q,"-hidden"),!W),(0,i.A)(U,"".concat(q,"-has-suffix"),!!m),U)),role:"button",tabIndex:-1},K)}var G="".concat(h,"-affix-wrapper"),X=l()(G,(H={},(0,i.A)(H,"".concat(h,"-disabled"),w),(0,i.A)(H,"".concat(G,"-disabled"),w),(0,i.A)(H,"".concat(G,"-focused"),x),(0,i.A)(H,"".concat(G,"-readonly"),E),(0,i.A)(H,"".concat(G,"-input-with-clear-btn"),m&&_&&O),H),null==k?void 0:k.affixWrapper,null==M?void 0:M.affixWrapper,null==M?void 0:M.variant),Y=(m||_)&&c.createElement("span",{className:l()("".concat(h,"-suffix"),null==M?void 0:M.suffix),style:null==P?void 0:P.suffix},V,m);L=c.createElement(z,(0,o.A)({className:X,style:null==P?void 0:P.affixWrapper,onClick:function(e){var t;null!==(t=$.current)&&void 0!==t&&t.contains(e.target)&&(null==S||S())}},null==T?void 0:T.affixWrapper,{ref:$}),p&&c.createElement("span",{className:l()("".concat(h,"-prefix"),null==M?void 0:M.prefix),style:null==P?void 0:P.prefix},p),L,Y)}if((0,u.bk)(e)){var Z="".concat(h,"-group"),J="".concat(Z,"-addon"),Q="".concat(Z,"-wrapper"),ee=l()("".concat(h,"-wrapper"),Z,null==k?void 0:k.wrapper,null==M?void 0:M.wrapper),te=l()(Q,(0,i.A)({},"".concat(Q,"-disabled"),w),null==k?void 0:k.group,null==M?void 0:M.groupWrapper);L=c.createElement(D,{className:te,ref:B},c.createElement(R,{className:ee},v&&c.createElement(N,{className:J},v),L,g&&c.createElement(N,{className:J},g)))}return c.cloneElement(L,{className:l()(null===(n=L.props)||void 0===n?void 0:n.className,y)||null,style:(0,r.A)((0,r.A)({},null===(s=L.props)||void 0===s?void 0:s.style),b),hidden:A})}));var f=n(60436),h=n(5544),p=n(80045),m=n(12533),v=n(19853),g=n(22489),y=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"];const b=(0,c.forwardRef)((function(e,t){var n=e.autoComplete,a=e.onChange,s=e.onFocus,b=e.onBlur,w=e.onPressEnter,E=e.onKeyDown,x=e.prefixCls,S=void 0===x?"rc-input":x,_=e.disabled,O=e.htmlSize,C=e.className,A=e.maxLength,k=e.suffix,M=e.showCount,T=e.count,P=e.type,I=void 0===P?"text":P,j=e.classes,z=e.classNames,D=e.styles,R=e.onCompositionStart,N=e.onCompositionEnd,$=(0,p.A)(e,y),F=(0,c.useState)(!1),L=(0,h.A)(F,2),B=L[0],H=L[1],V=(0,c.useRef)(!1),U=(0,c.useRef)(null),W=(0,c.useRef)(null),q=function(e){U.current&&(0,u.F4)(U.current,e)},K=(0,m.A)(e.defaultValue,{value:e.value}),G=(0,h.A)(K,2),X=G[0],Y=G[1],Z=null==X?"":String(X),J=(0,c.useState)(null),Q=(0,h.A)(J,2),ee=Q[0],te=Q[1],ne=(0,g.A)(T,M),re=ne.max||A,oe=ne.strategy(Z),ie=!!re&&oe>re;(0,c.useImperativeHandle)(t,(function(){var e;return{focus:q,blur:function(){var e;null===(e=U.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=U.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=U.current)||void 0===e||e.select()},input:U.current,nativeElement:(null===(e=W.current)||void 0===e?void 0:e.nativeElement)||U.current}})),(0,c.useEffect)((function(){H((function(e){return(!e||!_)&&e}))}),[_]);var ae=function(e,t,n){var r,o,i=t;if(!V.current&&ne.exceedFormatter&&ne.max&&ne.strategy(t)>ne.max)t!==(i=ne.exceedFormatter(t,{max:ne.max}))&&te([(null===(r=U.current)||void 0===r?void 0:r.selectionStart)||0,(null===(o=U.current)||void 0===o?void 0:o.selectionEnd)||0]);else if("compositionEnd"===n.source)return;Y(i),U.current&&(0,u.gS)(U.current,e,a,i)};(0,c.useEffect)((function(){var e;ee&&(null===(e=U.current)||void 0===e||e.setSelectionRange.apply(e,(0,f.A)(ee)))}),[ee]);var se,le=ie&&"".concat(S,"-out-of-range");return c.createElement(d,(0,o.A)({},$,{prefixCls:S,className:l()(C,le),handleReset:function(e){Y(""),q(),U.current&&(0,u.gS)(U.current,e,a)},value:Z,focused:B,triggerFocus:q,suffix:function(){var e=Number(re)>0;if(k||ne.show){var t=ne.showFormatter?ne.showFormatter({value:Z,count:oe,maxLength:re}):"".concat(oe).concat(e?" / ".concat(re):"");return c.createElement(c.Fragment,null,ne.show&&c.createElement("span",{className:l()("".concat(S,"-show-count-suffix"),(0,i.A)({},"".concat(S,"-show-count-has-suffix"),!!k),null==z?void 0:z.count),style:(0,r.A)({},null==D?void 0:D.count)},t),k)}return null}(),disabled:_,classes:j,classNames:z,styles:D}),(se=(0,v.A)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames"]),c.createElement("input",(0,o.A)({autoComplete:n},se,{onChange:function(e){ae(e,e.target.value,{source:"change"})},onFocus:function(e){H(!0),null==s||s(e)},onBlur:function(e){H(!1),null==b||b(e)},onKeyDown:function(e){w&&"Enter"===e.key&&w(e),null==E||E(e)},className:l()(S,(0,i.A)({},"".concat(S,"-disabled"),_),null==z?void 0:z.input),style:null==D?void 0:D.input,ref:U,size:O,type:I,onCompositionStart:function(e){V.current=!0,null==R||R(e)},onCompositionEnd:function(e){V.current=!1,ae(e,e.currentTarget.value,{source:"compositionEnd"}),null==N||N(e)}}))))}))},11980:(e,t,n)=>{"use strict";function r(e){return!(!e.addonBefore&&!e.addonAfter)}function o(e){return!!(e.prefix||e.suffix||e.allowClear)}function i(e,t,n){var r=t.cloneNode(!0),o=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,"number"==typeof t.selectionStart&&"number"==typeof t.selectionEnd&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function a(e,t,n,r){if(n){var o=t;"click"!==t.type?"file"===e.type||void 0===r?n(o):n(o=i(t,e,r)):n(o=i(t,e,""))}}function s(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}n.d(t,{F4:()=>s,OL:()=>o,bk:()=>r,gS:()=>a})},48810:(e,t,n)=>{"use strict";n.d(t,{cG:()=>Ne,q7:()=>ve,te:()=>Le,Dr:()=>ve,g8:()=>De,Ay:()=>Ke,Wj:()=>k});var r=n(58168),o=n(64467),i=n(89379),a=n(60436),s=n(5544),l=n(80045),c=n(46942),u=n.n(c),d=n(99591),f=n(12533),h=n(43210),p=n(68210),m=n(96540),v=n(40961),g=m.createContext(null);function y(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function b(e){return y(m.useContext(g),e)}var w=n(28104),E=["children","locked"],x=m.createContext(null);function S(e){var t=e.children,n=e.locked,r=(0,l.A)(e,E),o=m.useContext(x),a=(0,w.A)((function(){return e=o,t=r,n=(0,i.A)({},e),Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n;var e,t,n}),[o,r],(function(e,t){return!(n||e[0]===t[0]&&(0,h.A)(e[1],t[1],!0))}));return m.createElement(x.Provider,{value:a},t)}var _=[],O=m.createContext(null);function C(){return m.useContext(O)}var A=m.createContext(_);function k(e){var t=m.useContext(A);return m.useMemo((function(){return void 0!==e?[].concat((0,a.A)(t),[e]):t}),[t,e])}var M=m.createContext(null);const T=m.createContext({});var P=n(42467);function I(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,P.A)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null;return o&&!Number.isNaN(i)?a=i:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||t&&a<0)}return!1}var j=n(16928),z=n(25371),D=j.A.LEFT,R=j.A.RIGHT,N=j.A.UP,$=j.A.DOWN,F=j.A.ENTER,L=j.A.ESC,B=j.A.HOME,H=j.A.END,V=[N,$,D,R];function U(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,a.A)(e.querySelectorAll("*")).filter((function(e){return I(e,t)}));return I(e,t)&&n.unshift(e),n}(e,!0).filter((function(e){return t.has(e)}))}function W(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=U(e,t),i=o.length,a=o.findIndex((function(e){return n===e}));return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}var q=function(e,t){var n=new Set,r=new Map,o=new Map;return e.forEach((function(e){var i=document.querySelector("[data-menu-id='".concat(y(t,e),"']"));i&&(n.add(i),o.set(i,e),r.set(e,i))})),{elements:n,key2element:r,element2key:o}};var K="__RC_UTIL_PATH_SPLIT__",G=function(e){return e.join(K)},X="rc-menu-more";function Y(e){var t=m.useRef(e);t.current=e;var n=m.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return e?n:void 0}var Z=Math.random().toFixed(5).toString().slice(2),J=0,Q=n(23029),ee=n(92901),te=n(85501),ne=n(29426),re=n(19853),oe=n(8719);function ie(e,t,n,r){var o=m.useContext(x),i=o.activeKey,a=o.onActive,s=o.onInactive,l={active:i===e};return t||(l.onMouseEnter=function(t){null==n||n({key:e,domEvent:t}),a(e)},l.onMouseLeave=function(t){null==r||r({key:e,domEvent:t}),s(e)}),l}function ae(e){var t=m.useContext(x),n=t.mode,r=t.rtl,o=t.inlineIndent;return"inline"!==n?null:r?{paddingRight:e*o}:{paddingLeft:e*o}}function se(e){var t,n=e.icon,r=e.props,o=e.children;return null===n||!1===n?null:("function"==typeof n?t=m.createElement(n,(0,i.A)({},r)):"boolean"!=typeof n&&(t=n),t||o||null)}var le=["item"];function ce(e){var t=e.item,n=(0,l.A)(e,le);return Object.defineProperty(n,"item",{get:function(){return(0,p.Ay)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}var ue=["title","attribute","elementRef"],de=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],fe=["active"],he=function(e){(0,te.A)(n,e);var t=(0,ne.A)(n);function n(){return(0,Q.A)(this,n),t.apply(this,arguments)}return(0,ee.A)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,o=e.elementRef,i=(0,l.A)(e,ue),a=(0,re.A)(i,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,p.Ay)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),m.createElement(d.A.Item,(0,r.A)({},n,{title:"string"==typeof t?t:void 0},a,{ref:o}))}}]),n}(m.Component),pe=m.forwardRef((function(e,t){var n,s=e.style,c=e.className,d=e.eventKey,f=(e.warnKey,e.disabled),h=e.itemIcon,p=e.children,v=e.role,g=e.onMouseEnter,y=e.onMouseLeave,w=e.onClick,E=e.onKeyDown,S=e.onFocus,_=(0,l.A)(e,de),O=b(d),C=m.useContext(x),A=C.prefixCls,M=C.onItemClick,P=C.disabled,I=C.overflowDisabled,z=C.itemIcon,D=C.selectedKeys,R=C.onActive,N=m.useContext(T)._internalRenderMenuItem,$="".concat(A,"-item"),F=m.useRef(),L=m.useRef(),B=P||f,H=(0,oe.xK)(t,L),V=k(d),U=function(e){return{key:d,keyPath:(0,a.A)(V).reverse(),item:F.current,domEvent:e}},W=h||z,q=ie(d,B,g,y),K=q.active,G=(0,l.A)(q,fe),X=D.includes(d),Y=ae(V.length),Z={};"option"===e.role&&(Z["aria-selected"]=X);var J=m.createElement(he,(0,r.A)({ref:F,elementRef:H,role:null===v?"none":v||"menuitem",tabIndex:f?null:-1,"data-menu-id":I&&O?null:O},_,G,Z,{component:"li","aria-disabled":f,style:(0,i.A)((0,i.A)({},Y),s),className:u()($,(n={},(0,o.A)(n,"".concat($,"-active"),K),(0,o.A)(n,"".concat($,"-selected"),X),(0,o.A)(n,"".concat($,"-disabled"),B),n),c),onClick:function(e){if(!B){var t=U(e);null==w||w(ce(t)),M(t)}},onKeyDown:function(e){if(null==E||E(e),e.which===j.A.ENTER){var t=U(e);null==w||w(ce(t)),M(t)}},onFocus:function(e){R(d),null==S||S(e)}}),p,m.createElement(se,{props:(0,i.A)((0,i.A)({},e),{},{isSelected:X}),icon:W}));return N&&(J=N(J,e,{selected:X})),J}));function me(e,t){var n=e.eventKey,o=C(),i=k(n);return m.useEffect((function(){if(o)return o.registerPath(n,i),function(){o.unregisterPath(n,i)}}),[i]),o?null:m.createElement(pe,(0,r.A)({},e,{ref:t}))}const ve=m.forwardRef(me);var ge=["className","children"],ye=function(e,t){var n=e.className,o=e.children,i=(0,l.A)(e,ge),a=m.useContext(x),s=a.prefixCls,c=a.mode,d=a.rtl;return m.createElement("ul",(0,r.A)({className:u()(s,d&&"".concat(s,"-rtl"),"".concat(s,"-sub"),"".concat(s,"-").concat("inline"===c?"inline":"vertical"),n),role:"menu"},i,{"data-menu-list":!0,ref:t}),o)},be=m.forwardRef(ye);be.displayName="SubMenuList";const we=be;var Ee=n(82546);function xe(e,t){return(0,Ee.A)(e).map((function(e,n){if(m.isValidElement(e)){var r,o,i=e.key,s=null!==(r=null===(o=e.props)||void 0===o?void 0:o.eventKey)&&void 0!==r?r:i;null==s&&(s="tmp_key-".concat([].concat((0,a.A)(t),[n]).join("-")));var l={key:s,eventKey:s};return m.cloneElement(e,l)}return e}))}var Se=n(62427),_e={adjustX:1,adjustY:1},Oe={topLeft:{points:["bl","tl"],overflow:_e},topRight:{points:["br","tr"],overflow:_e},bottomLeft:{points:["tl","bl"],overflow:_e},bottomRight:{points:["tr","br"],overflow:_e},leftTop:{points:["tr","tl"],overflow:_e},leftBottom:{points:["br","bl"],overflow:_e},rightTop:{points:["tl","tr"],overflow:_e},rightBottom:{points:["bl","br"],overflow:_e}},Ce={topLeft:{points:["bl","tl"],overflow:_e},topRight:{points:["br","tr"],overflow:_e},bottomLeft:{points:["tl","bl"],overflow:_e},bottomRight:{points:["tr","br"],overflow:_e},rightTop:{points:["tr","tl"],overflow:_e},rightBottom:{points:["br","bl"],overflow:_e},leftTop:{points:["tl","tr"],overflow:_e},leftBottom:{points:["bl","br"],overflow:_e}};function Ae(e,t,n){return t||(n?n[e]||n.other:void 0)}var ke={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Me(e){var t=e.prefixCls,n=e.visible,r=e.children,a=e.popup,l=e.popupStyle,c=e.popupClassName,d=e.popupOffset,f=e.disabled,h=e.mode,p=e.onVisibleChange,v=m.useContext(x),g=v.getPopupContainer,y=v.rtl,b=v.subMenuOpenDelay,w=v.subMenuCloseDelay,E=v.builtinPlacements,S=v.triggerSubMenuAction,_=v.forceSubMenuRender,O=v.rootClassName,C=v.motion,A=v.defaultMotions,k=m.useState(!1),M=(0,s.A)(k,2),T=M[0],P=M[1],I=y?(0,i.A)((0,i.A)({},Ce),E):(0,i.A)((0,i.A)({},Oe),E),j=ke[h],D=Ae(h,C,A),R=m.useRef(D);"inline"!==h&&(R.current=D);var N=(0,i.A)((0,i.A)({},R.current),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),$=m.useRef();return m.useEffect((function(){return $.current=(0,z.A)((function(){P(n)})),function(){z.A.cancel($.current)}}),[n]),m.createElement(Se.A,{prefixCls:t,popupClassName:u()("".concat(t,"-popup"),(0,o.A)({},"".concat(t,"-rtl"),y),c,O),stretch:"horizontal"===h?"minWidth":null,getPopupContainer:g,builtinPlacements:I,popupPlacement:j,popupVisible:T,popup:a,popupStyle:l,popupAlign:d&&{offset:d},action:f?[]:[S],mouseEnterDelay:b,mouseLeaveDelay:w,onPopupVisibleChange:p,forceRender:_,popupMotion:N,fresh:!0},r)}var Te=n(57557);function Pe(e){var t=e.id,n=e.open,o=e.keyPath,a=e.children,l="inline",c=m.useContext(x),u=c.prefixCls,d=c.forceSubMenuRender,f=c.motion,h=c.defaultMotions,p=c.mode,v=m.useRef(!1);v.current=p===l;var g=m.useState(!v.current),y=(0,s.A)(g,2),b=y[0],w=y[1],E=!!v.current&&n;m.useEffect((function(){v.current&&w(!1)}),[p]);var _=(0,i.A)({},Ae(l,f,h));o.length>1&&(_.motionAppear=!1);var O=_.onVisibleChanged;return _.onVisibleChanged=function(e){return v.current||e||w(!0),null==O?void 0:O(e)},b?null:m.createElement(S,{mode:l,locked:!v.current},m.createElement(Te.Ay,(0,r.A)({visible:E},_,{forceRender:d,removeOnLeave:!1,leavedClassName:"".concat(u,"-hidden")}),(function(e){var n=e.className,r=e.style;return m.createElement(we,{id:t,className:n,style:r},a)})))}var Ie=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],je=["active"],ze=m.forwardRef((function(e,t){var n,a=e.style,c=e.className,f=e.title,h=e.eventKey,p=(e.warnKey,e.disabled),v=e.internalPopupClose,g=e.children,y=e.itemIcon,w=e.expandIcon,E=e.popupClassName,_=e.popupOffset,O=e.popupStyle,C=e.onClick,A=e.onMouseEnter,P=e.onMouseLeave,I=e.onTitleClick,j=e.onTitleMouseEnter,z=e.onTitleMouseLeave,D=(0,l.A)(e,Ie),R=b(h),N=m.useContext(x),$=N.prefixCls,F=N.mode,L=N.openKeys,B=N.disabled,H=N.overflowDisabled,V=N.activeKey,U=N.selectedKeys,W=N.itemIcon,q=N.expandIcon,K=N.onItemClick,G=N.onOpenChange,X=N.onActive,Z=m.useContext(T)._internalRenderSubMenuItem,J=m.useContext(M).isSubPathKey,Q=k(),ee="".concat($,"-submenu"),te=B||p,ne=m.useRef(),re=m.useRef(),oe=null!=y?y:W,le=null!=w?w:q,ue=L.includes(h),de=!H&&ue,fe=J(U,h),he=ie(h,te,j,z),pe=he.active,me=(0,l.A)(he,je),ve=m.useState(!1),ge=(0,s.A)(ve,2),ye=ge[0],be=ge[1],Ee=function(e){te||be(e)},xe=m.useMemo((function(){return pe||"inline"!==F&&(ye||J([V],h))}),[F,pe,V,ye,h,J]),Se=ae(Q.length),_e=Y((function(e){null==C||C(ce(e)),K(e)})),Oe=R&&"".concat(R,"-popup"),Ce=m.createElement("div",(0,r.A)({role:"menuitem",style:Se,className:"".concat(ee,"-title"),tabIndex:te?null:-1,ref:ne,title:"string"==typeof f?f:null,"data-menu-id":H&&R?null:R,"aria-expanded":de,"aria-haspopup":!0,"aria-controls":Oe,"aria-disabled":te,onClick:function(e){te||(null==I||I({key:h,domEvent:e}),"inline"===F&&G(h,!ue))},onFocus:function(){X(h)}},me),f,m.createElement(se,{icon:"horizontal"!==F?le:void 0,props:(0,i.A)((0,i.A)({},e),{},{isOpen:de,isSubMenu:!0})},m.createElement("i",{className:"".concat(ee,"-arrow")}))),Ae=m.useRef(F);if("inline"!==F&&Q.length>1?Ae.current="vertical":Ae.current=F,!H){var ke=Ae.current;Ce=m.createElement(Me,{mode:ke,prefixCls:ee,visible:!v&&de&&"inline"!==F,popupClassName:E,popupOffset:_,popupStyle:O,popup:m.createElement(S,{mode:"horizontal"===ke?"vertical":ke},m.createElement(we,{id:Oe,ref:re},g)),disabled:te,onVisibleChange:function(e){"inline"!==F&&G(h,e)}},Ce)}var Te=m.createElement(d.A.Item,(0,r.A)({ref:t,role:"none"},D,{component:"li",style:a,className:u()(ee,"".concat(ee,"-").concat(F),c,(n={},(0,o.A)(n,"".concat(ee,"-open"),de),(0,o.A)(n,"".concat(ee,"-active"),xe),(0,o.A)(n,"".concat(ee,"-selected"),fe),(0,o.A)(n,"".concat(ee,"-disabled"),te),n)),onMouseEnter:function(e){Ee(!0),null==A||A({key:h,domEvent:e})},onMouseLeave:function(e){Ee(!1),null==P||P({key:h,domEvent:e})}}),Ce,!H&&m.createElement(Pe,{id:Oe,open:de,keyPath:Q},g));return Z&&(Te=Z(Te,e,{selected:fe,active:xe,open:de,disabled:te})),m.createElement(S,{onItemClick:_e,mode:"horizontal"===F?"vertical":F,itemIcon:oe,expandIcon:le},Te)}));const De=m.forwardRef((function(e,t){var n,o=e.eventKey,i=e.children,a=k(o),s=xe(i,a),l=C();return m.useEffect((function(){if(l)return l.registerPath(o,a),function(){l.unregisterPath(o,a)}}),[a]),n=l?s:m.createElement(ze,(0,r.A)({ref:t},e),s),m.createElement(A.Provider,{value:a},n)}));var Re=n(82284);function Ne(e){var t=e.className,n=e.style,r=m.useContext(x).prefixCls;return C()?null:m.createElement("li",{role:"separator",className:u()("".concat(r,"-item-divider"),t),style:n})}var $e=["className","title","eventKey","children"],Fe=m.forwardRef((function(e,t){var n=e.className,o=e.title,i=(e.eventKey,e.children),a=(0,l.A)(e,$e),s=m.useContext(x).prefixCls,c="".concat(s,"-item-group");return m.createElement("li",(0,r.A)({ref:t,role:"presentation"},a,{onClick:function(e){return e.stopPropagation()},className:u()(c,n)}),m.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:"string"==typeof o?o:void 0},o),m.createElement("ul",{role:"group",className:"".concat(c,"-list")},i))}));const Le=m.forwardRef((function(e,t){var n=e.eventKey,o=xe(e.children,k(n));return C()?o:m.createElement(Fe,(0,r.A)({ref:t},(0,re.A)(e,["warnKey"])),o)}));var Be=["label","children","key","type"];function He(e,t){var n=t.item,o=t.group,i=t.submenu,a=t.divider;return(e||[]).map((function(e,s){if(e&&"object"===(0,Re.A)(e)){var c=e,u=c.label,d=c.children,f=c.key,h=c.type,p=(0,l.A)(c,Be),v=null!=f?f:"tmp-".concat(s);return d||"group"===h?"group"===h?m.createElement(o,(0,r.A)({key:v},p,{title:u}),He(d,t)):m.createElement(i,(0,r.A)({key:v},p,{title:u}),He(d,t)):"divider"===h?m.createElement(a,(0,r.A)({key:v},p)):m.createElement(n,(0,r.A)({key:v},p),u)}return null})).filter((function(e){return e}))}function Ve(e,t,n,r){var o=e,a=(0,i.A)({divider:Ne,item:ve,group:Le,submenu:De},r);return t&&(o=He(t,a)),xe(o,n)}var Ue=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],We=[],qe=m.forwardRef((function(e,t){var n,c,p=e,y=p.prefixCls,b=void 0===y?"rc-menu":y,w=p.rootClassName,E=p.style,x=p.className,_=p.tabIndex,C=void 0===_?0:_,A=p.items,k=p.children,P=p.direction,I=p.id,j=p.mode,Q=void 0===j?"vertical":j,ee=p.inlineCollapsed,te=p.disabled,ne=p.disabledOverflow,re=p.subMenuOpenDelay,oe=void 0===re?.1:re,ie=p.subMenuCloseDelay,ae=void 0===ie?.1:ie,se=p.forceSubMenuRender,le=p.defaultOpenKeys,ue=p.openKeys,de=p.activeKey,fe=p.defaultActiveFirst,he=p.selectable,pe=void 0===he||he,me=p.multiple,ge=void 0!==me&&me,ye=p.defaultSelectedKeys,be=p.selectedKeys,we=p.onSelect,Ee=p.onDeselect,xe=p.inlineIndent,Se=void 0===xe?24:xe,_e=p.motion,Oe=p.defaultMotions,Ce=p.triggerSubMenuAction,Ae=void 0===Ce?"hover":Ce,ke=p.builtinPlacements,Me=p.itemIcon,Te=p.expandIcon,Pe=p.overflowedIndicator,Ie=void 0===Pe?"...":Pe,je=p.overflowedIndicatorPopupClassName,ze=p.getPopupContainer,Re=p.onClick,Ne=p.onOpenChange,$e=p.onKeyDown,Fe=(p.openAnimation,p.openTransitionName,p._internalRenderMenuItem),Le=p._internalRenderSubMenuItem,Be=p._internalComponents,He=(0,l.A)(p,Ue),qe=m.useMemo((function(){return[Ve(k,A,We,Be),Ve(k,A,We,{})]}),[k,A,Be]),Ke=(0,s.A)(qe,2),Ge=Ke[0],Xe=Ke[1],Ye=m.useState(!1),Ze=(0,s.A)(Ye,2),Je=Ze[0],Qe=Ze[1],et=m.useRef(),tt=function(e){var t=(0,f.A)(e,{value:e}),n=(0,s.A)(t,2),r=n[0],o=n[1];return m.useEffect((function(){J+=1;var e="".concat(Z,"-").concat(J);o("rc-menu-uuid-".concat(e))}),[]),r}(I),nt="rtl"===P,rt=(0,f.A)(le,{value:ue,postState:function(e){return e||We}}),ot=(0,s.A)(rt,2),it=ot[0],at=ot[1],st=function(e){function t(){at(e),null==Ne||Ne(e)}arguments.length>1&&void 0!==arguments[1]&&arguments[1]?(0,v.flushSync)(t):t()},lt=m.useState(it),ct=(0,s.A)(lt,2),ut=ct[0],dt=ct[1],ft=m.useRef(!1),ht=m.useMemo((function(){return"inline"!==Q&&"vertical"!==Q||!ee?[Q,!1]:["vertical",ee]}),[Q,ee]),pt=(0,s.A)(ht,2),mt=pt[0],vt=pt[1],gt="inline"===mt,yt=m.useState(mt),bt=(0,s.A)(yt,2),wt=bt[0],Et=bt[1],xt=m.useState(vt),St=(0,s.A)(xt,2),_t=St[0],Ot=St[1];m.useEffect((function(){Et(mt),Ot(vt),ft.current&&(gt?at(ut):st(We))}),[mt,vt]);var Ct=m.useState(0),At=(0,s.A)(Ct,2),kt=At[0],Mt=At[1],Tt=kt>=Ge.length-1||"horizontal"!==wt||ne;m.useEffect((function(){gt&&dt(it)}),[it]),m.useEffect((function(){return ft.current=!0,function(){ft.current=!1}}),[]);var Pt=function(){var e=m.useState({}),t=(0,s.A)(e,2)[1],n=(0,m.useRef)(new Map),r=(0,m.useRef)(new Map),o=m.useState([]),i=(0,s.A)(o,2),l=i[0],c=i[1],u=(0,m.useRef)(0),d=(0,m.useRef)(!1),f=(0,m.useCallback)((function(e,o){var i=G(o);r.current.set(i,e),n.current.set(e,i),u.current+=1;var a,s=u.current;a=function(){s===u.current&&(d.current||t({}))},Promise.resolve().then(a)}),[]),h=(0,m.useCallback)((function(e,t){var o=G(t);r.current.delete(o),n.current.delete(e)}),[]),p=(0,m.useCallback)((function(e){c(e)}),[]),v=(0,m.useCallback)((function(e,t){var r=(n.current.get(e)||"").split(K);return t&&l.includes(r[0])&&r.unshift(X),r}),[l]),g=(0,m.useCallback)((function(e,t){return e.filter((function(e){return void 0!==e})).some((function(e){return v(e,!0).includes(t)}))}),[v]),y=(0,m.useCallback)((function(e){var t="".concat(n.current.get(e)).concat(K),o=new Set;return(0,a.A)(r.current.keys()).forEach((function(e){e.startsWith(t)&&o.add(r.current.get(e))})),o}),[]);return m.useEffect((function(){return function(){d.current=!0}}),[]),{registerPath:f,unregisterPath:h,refreshOverflowKeys:p,isSubPathKey:g,getKeyPath:v,getKeys:function(){var e=(0,a.A)(n.current.keys());return l.length&&e.push(X),e},getSubPathKeys:y}}(),It=Pt.registerPath,jt=Pt.unregisterPath,zt=Pt.refreshOverflowKeys,Dt=Pt.isSubPathKey,Rt=Pt.getKeyPath,Nt=Pt.getKeys,$t=Pt.getSubPathKeys,Ft=m.useMemo((function(){return{registerPath:It,unregisterPath:jt}}),[It,jt]),Lt=m.useMemo((function(){return{isSubPathKey:Dt}}),[Dt]);m.useEffect((function(){zt(Tt?We:Ge.slice(kt+1).map((function(e){return e.key})))}),[kt,Tt]);var Bt=(0,f.A)(de||fe&&(null===(n=Ge[0])||void 0===n?void 0:n.key),{value:de}),Ht=(0,s.A)(Bt,2),Vt=Ht[0],Ut=Ht[1],Wt=Y((function(e){Ut(e)})),qt=Y((function(){Ut(void 0)}));(0,m.useImperativeHandle)(t,(function(){return{list:et.current,focus:function(e){var t,n,r=Nt(),o=q(r,tt),i=o.elements,a=o.key2element,s=o.element2key,l=U(et.current,i),c=null!=Vt?Vt:l[0]?s.get(l[0]):null===(t=Ge.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key,u=a.get(c);c&&u&&(null==u||null===(n=u.focus)||void 0===n||n.call(u,e))}}}));var Kt=(0,f.A)(ye||[],{value:be,postState:function(e){return Array.isArray(e)?e:null==e?We:[e]}}),Gt=(0,s.A)(Kt,2),Xt=Gt[0],Yt=Gt[1],Zt=Y((function(e){null==Re||Re(ce(e)),function(e){if(pe){var t,n=e.key,r=Xt.includes(n);t=ge?r?Xt.filter((function(e){return e!==n})):[].concat((0,a.A)(Xt),[n]):[n],Yt(t);var o=(0,i.A)((0,i.A)({},e),{},{selectedKeys:t});r?null==Ee||Ee(o):null==we||we(o)}!ge&&it.length&&"inline"!==wt&&st(We)}(e)})),Jt=Y((function(e,t){var n=it.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==wt){var r=$t(e);n=n.filter((function(e){return!r.has(e)}))}(0,h.A)(it,n,!0)||st(n,!0)})),Qt=function(e,t,n,r,i,a,s,l,c,u){var d=m.useRef(),f=m.useRef();f.current=t;var h=function(){z.A.cancel(d.current)};return m.useEffect((function(){return function(){h()}}),[]),function(p){var m=p.which;if([].concat(V,[F,L,B,H]).includes(m)){var v=a(),g=q(v,r),y=g,b=y.elements,w=y.key2element,E=y.element2key,x=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(w.get(t),b),S=E.get(x),_=function(e,t,n,r){var i,a,s,l,c="prev",u="next",d="children",f="parent";if("inline"===e&&r===F)return{inlineTrigger:!0};var h=(i={},(0,o.A)(i,N,c),(0,o.A)(i,$,u),i),p=(a={},(0,o.A)(a,D,n?u:c),(0,o.A)(a,R,n?c:u),(0,o.A)(a,$,d),(0,o.A)(a,F,d),a),m=(s={},(0,o.A)(s,N,c),(0,o.A)(s,$,u),(0,o.A)(s,F,d),(0,o.A)(s,L,f),(0,o.A)(s,D,n?d:f),(0,o.A)(s,R,n?f:d),s);switch(null===(l={inline:h,horizontal:p,vertical:m,inlineSub:h,horizontalSub:m,verticalSub:m}["".concat(e).concat(t?"":"Sub")])||void 0===l?void 0:l[r]){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}(e,1===s(S,!0).length,n,m);if(!_&&m!==B&&m!==H)return;(V.includes(m)||[B,H].includes(m))&&p.preventDefault();var O=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=E.get(e);l(r),h(),d.current=(0,z.A)((function(){f.current===r&&t.focus()}))}};if([B,H].includes(m)||_.sibling||!x){var C,A,k=U(C=x&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(x):i.current,b);A=m===B?k[0]:m===H?k[k.length-1]:W(C,b,x,_.offset),O(A)}else if(_.inlineTrigger)c(S);else if(_.offset>0)c(S,!0),h(),d.current=(0,z.A)((function(){g=q(v,r);var e=x.getAttribute("aria-controls"),t=W(document.getElementById(e),g.elements);O(t)}),5);else if(_.offset<0){var M=s(S,!0),T=M[M.length-2],P=w.get(T);c(T,!1),O(P)}}null==u||u(p)}}(wt,Vt,nt,tt,et,Nt,Rt,Ut,(function(e,t){var n=null!=t?t:!it.includes(e);Jt(e,n)}),$e);m.useEffect((function(){Qe(!0)}),[]);var en=m.useMemo((function(){return{_internalRenderMenuItem:Fe,_internalRenderSubMenuItem:Le}}),[Fe,Le]),tn="horizontal"!==wt||ne?Ge:Ge.map((function(e,t){return m.createElement(S,{key:e.key,overflowDisabled:t>kt},e)})),nn=m.createElement(d.A,(0,r.A)({id:I,ref:et,prefixCls:"".concat(b,"-overflow"),component:"ul",itemComponent:ve,className:u()(b,"".concat(b,"-root"),"".concat(b,"-").concat(wt),x,(c={},(0,o.A)(c,"".concat(b,"-inline-collapsed"),_t),(0,o.A)(c,"".concat(b,"-rtl"),nt),c),w),dir:P,style:E,role:"menu",tabIndex:C,data:tn,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?Ge.slice(-t):null;return m.createElement(De,{eventKey:X,title:Ie,disabled:Tt,internalPopupClose:0===t,popupClassName:je},n)},maxCount:"horizontal"!==wt||ne?d.A.INVALIDATE:d.A.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){Mt(e)},onKeyDown:Qt},He));return m.createElement(T.Provider,{value:en},m.createElement(g.Provider,{value:tt},m.createElement(S,{prefixCls:b,rootClassName:w,mode:wt,openKeys:it,rtl:nt,disabled:te,motion:Je?_e:null,defaultMotions:Je?Oe:null,activeKey:Vt,onActive:Wt,onInactive:qt,selectedKeys:Xt,inlineIndent:Se,subMenuOpenDelay:oe,subMenuCloseDelay:ae,forceSubMenuRender:se,builtinPlacements:ke,triggerSubMenuAction:Ae,getPopupContainer:ze,itemIcon:Me,expandIcon:Te,onItemClick:Zt,onOpenChange:Jt},m.createElement(M.Provider,{value:Lt},nn),m.createElement("div",{style:{display:"none"},"aria-hidden":!0},m.createElement(O.Provider,{value:Ft},Xe)))))}));qe.Item=ve,qe.SubMenu=De,qe.ItemGroup=Le,qe.Divider=Ne;const Ke=qe},57557:(e,t,n)=>{"use strict";n.d(t,{aF:()=>ue,Ay:()=>de});var r=n(64467),o=n(89379),i=n(5544),a=n(82284),s=n(46942),l=n.n(s),c=n(66588),u=n(8719),d=n(96540),f=d.createContext({}),h=n(23029),p=n(92901),m=n(85501),v=n(29426);const g=function(e){(0,m.A)(n,e);var t=(0,v.A)(n);function n(){return(0,h.A)(this,n),t.apply(this,arguments)}return(0,p.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(d.Component);var y=n(1233),b="none",w="appear",E="enter",x="leave",S="none",_="prepare",O="start",C="active",A="end",k="prepared",M=n(20998);function T(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var P,I,j,z=(P=(0,M.A)(),I="undefined"!=typeof window?window:{},j={animationend:T("Animation","AnimationEnd"),transitionend:T("Transition","TransitionEnd")},P&&("AnimationEvent"in I||delete j.animationend.animation,"TransitionEvent"in I||delete j.transitionend.transition),j),D={};if((0,M.A)()){var R=document.createElement("div");D=R.style}var N={};function $(e){if(N[e])return N[e];var t=z[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in D)return N[e]=t[i],N[e]}return""}var F=$("animationend"),L=$("transitionend"),B=!(!F||!L),H=F||"animationend",V=L||"transitionend";function U(e,t){return e?"object"===(0,a.A)(e)?e[t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:"".concat(e,"-").concat(t):null}const W=(0,M.A)()?d.useLayoutEffect:d.useEffect;var q=n(25371),K=[_,O,C,A],G=[_,k],X=!1;function Y(e){return e===C||e===A}const Z=function(e){var t=e;"object"===(0,a.A)(e)&&(t=e.transitionSupport);var n=d.forwardRef((function(e,n){var a=e.visible,s=void 0===a||a,h=e.removeOnLeave,p=void 0===h||h,m=e.forceRender,v=e.children,M=e.motionName,T=e.leavedClassName,P=e.eventProps,I=function(e,n){return!(!e.motionName||!t||!1===n)}(e,d.useContext(f).motion),j=(0,d.useRef)(),z=(0,d.useRef)(),D=function(e,t,n,a){var s=a.motionEnter,l=void 0===s||s,c=a.motionAppear,u=void 0===c||c,f=a.motionLeave,h=void 0===f||f,p=a.motionDeadline,m=a.motionLeaveImmediately,v=a.onAppearPrepare,g=a.onEnterPrepare,M=a.onLeavePrepare,T=a.onAppearStart,P=a.onEnterStart,I=a.onLeaveStart,j=a.onAppearActive,z=a.onEnterActive,D=a.onLeaveActive,R=a.onAppearEnd,N=a.onEnterEnd,$=a.onLeaveEnd,F=a.onVisibleChanged,L=(0,y.A)(),B=(0,i.A)(L,2),U=B[0],Z=B[1],J=(0,y.A)(b),Q=(0,i.A)(J,2),ee=Q[0],te=Q[1],ne=(0,y.A)(null),re=(0,i.A)(ne,2),oe=re[0],ie=re[1],ae=(0,d.useRef)(!1),se=(0,d.useRef)(null);function le(){return n()}var ce=(0,d.useRef)(!1);function ue(){te(b,!0),ie(null,!0)}function de(e){var t=le();if(!e||e.deadline||e.target===t){var n,r=ce.current;ee===w&&r?n=null==R?void 0:R(t,e):ee===E&&r?n=null==N?void 0:N(t,e):ee===x&&r&&(n=null==$?void 0:$(t,e)),ee!==b&&r&&!1!==n&&ue()}}var fe=function(e){var t=(0,d.useRef)(),n=(0,d.useRef)(e);n.current=e;var r=d.useCallback((function(e){n.current(e)}),[]);function o(e){e&&(e.removeEventListener(V,r),e.removeEventListener(H,r))}return d.useEffect((function(){return function(){o(t.current)}}),[]),[function(e){t.current&&t.current!==e&&o(t.current),e&&e!==t.current&&(e.addEventListener(V,r),e.addEventListener(H,r),t.current=e)},o]}(de),he=(0,i.A)(fe,1)[0],pe=function(e){var t,n,o;switch(e){case w:return t={},(0,r.A)(t,_,v),(0,r.A)(t,O,T),(0,r.A)(t,C,j),t;case E:return n={},(0,r.A)(n,_,g),(0,r.A)(n,O,P),(0,r.A)(n,C,z),n;case x:return o={},(0,r.A)(o,_,M),(0,r.A)(o,O,I),(0,r.A)(o,C,D),o;default:return{}}},me=d.useMemo((function(){return pe(ee)}),[ee]),ve=function(e,t,n){var r=(0,y.A)(S),o=(0,i.A)(r,2),a=o[0],s=o[1],l=function(){var e=d.useRef(null);function t(){q.A.cancel(e.current)}return d.useEffect((function(){return function(){t()}}),[]),[function n(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,q.A)((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),c=(0,i.A)(l,2),u=c[0],f=c[1],h=t?G:K;return W((function(){if(a!==S&&a!==A){var e=h.indexOf(a),t=h[e+1],r=n(a);r===X?s(t,!0):t&&u((function(e){function n(){e.isCanceled()||s(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,a]),d.useEffect((function(){return function(){f()}}),[]),[function(){s(_,!0)},a]}(ee,!e,(function(e){if(e===_){var t=me[_];return t?t(le()):X}var n;return be in me&&ie((null===(n=me[be])||void 0===n?void 0:n.call(me,le(),null))||null),be===C&&(he(le()),p>0&&(clearTimeout(se.current),se.current=setTimeout((function(){de({deadline:!0})}),p))),be===k&&ue(),true})),ge=(0,i.A)(ve,2),ye=ge[0],be=ge[1],we=Y(be);ce.current=we,W((function(){Z(t);var n,r=ae.current;ae.current=!0,!r&&t&&u&&(n=w),r&&t&&l&&(n=E),(r&&!t&&h||!r&&m&&!t&&h)&&(n=x);var o=pe(n);n&&(e||o[_])?(te(n),ye()):te(b)}),[t]),(0,d.useEffect)((function(){(ee===w&&!u||ee===E&&!l||ee===x&&!h)&&te(b)}),[u,l,h]),(0,d.useEffect)((function(){return function(){ae.current=!1,clearTimeout(se.current)}}),[]);var Ee=d.useRef(!1);(0,d.useEffect)((function(){U&&(Ee.current=!0),void 0!==U&&ee===b&&((Ee.current||U)&&(null==F||F(U)),Ee.current=!0)}),[U,ee]);var xe=oe;return me[_]&&be===O&&(xe=(0,o.A)({transition:"none"},xe)),[ee,be,xe,null!=U?U:t]}(I,s,(function(){try{return j.current instanceof HTMLElement?j.current:(0,c.A)(z.current)}catch(e){return null}}),e),R=(0,i.A)(D,4),N=R[0],$=R[1],F=R[2],L=R[3],B=d.useRef(L);L&&(B.current=!0);var Z,J=d.useCallback((function(e){j.current=e,(0,u.Xf)(n,e)}),[n]),Q=(0,o.A)((0,o.A)({},P),{},{visible:s});if(v)if(N===b)Z=L?v((0,o.A)({},Q),J):!p&&B.current&&T?v((0,o.A)((0,o.A)({},Q),{},{className:T}),J):m||!p&&!T?v((0,o.A)((0,o.A)({},Q),{},{style:{display:"none"}}),J):null;else{var ee,te;$===_?te="prepare":Y($)?te="active":$===O&&(te="start");var ne=U(M,"".concat(N,"-").concat(te));Z=v((0,o.A)((0,o.A)({},Q),{},{className:l()(U(M,N),(ee={},(0,r.A)(ee,ne,ne&&te),(0,r.A)(ee,M,"string"==typeof M),ee)),style:F}),J)}else Z=null;return d.isValidElement(Z)&&(0,u.f3)(Z)&&(Z.ref||(Z=d.cloneElement(Z,{ref:J}))),d.createElement(g,{ref:z},Z)}));return n.displayName="CSSMotion",n}(B);var J=n(58168),Q=n(80045),ee=n(9417),te="add",ne="keep",re="remove",oe="removed";function ie(e){var t;return t=e&&"object"===(0,a.A)(e)&&"key"in e?e:{key:e},(0,o.A)((0,o.A)({},t),{},{key:String(t.key)})}function ae(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(ie)}var se=["component","children","onVisibleChanged","onAllRemoved"],le=["status"],ce=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const ue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z,n=function(e){(0,m.A)(i,e);var n=(0,v.A)(i);function i(){var e;(0,h.A)(this,i);for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];return e=n.call.apply(n,[this].concat(a)),(0,r.A)((0,ee.A)(e),"state",{keyEntities:[]}),(0,r.A)((0,ee.A)(e),"removeKey",(function(t){var n=e.state.keyEntities.map((function(e){return e.key!==t?e:(0,o.A)((0,o.A)({},e),{},{status:oe})}));return e.setState({keyEntities:n}),n.filter((function(e){return e.status!==oe})).length})),e}return(0,p.A)(i,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,r=this.props,i=r.component,a=r.children,s=r.onVisibleChanged,l=r.onAllRemoved,c=(0,Q.A)(r,se),u=i||d.Fragment,f={};return ce.forEach((function(e){f[e]=c[e],delete c[e]})),delete c.keys,d.createElement(u,c,n.map((function(n,r){var i=n.status,c=(0,Q.A)(n,le),u=i===te||i===ne;return d.createElement(t,(0,J.A)({},f,{key:c.key,visible:u,eventProps:c,onVisibleChanged:function(t){null==s||s(t,{key:c.key}),t||0===e.removeKey(c.key)&&l&&l()}}),(function(e,t){return a((0,o.A)((0,o.A)({},e),{},{index:r}),t)}))})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities,i=ae(n),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=ae(e),s=ae(t);a.forEach((function(e){for(var t=!1,a=r;a<i;a+=1){var l=s[a];if(l.key===e.key){r<a&&(n=n.concat(s.slice(r,a).map((function(e){return(0,o.A)((0,o.A)({},e),{},{status:te})}))),r=a),n.push((0,o.A)((0,o.A)({},l),{},{status:ne})),r+=1,t=!0;break}}t||n.push((0,o.A)((0,o.A)({},e),{},{status:re}))})),r<i&&(n=n.concat(s.slice(r).map((function(e){return(0,o.A)((0,o.A)({},e),{},{status:te})}))));var l={};return n.forEach((function(e){var t=e.key;l[t]=(l[t]||0)+1})),Object.keys(l).filter((function(e){return l[e]>1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==re}))).forEach((function(t){t.key===e&&(t.status=ne)}))})),n}(r,i);return{keyEntities:a.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==oe||e.status!==re}))}}}]),i}(d.Component);return(0,r.A)(n,"defaultProps",{component:"div"}),n}(B),de=Z},99591:(e,t,n)=>{"use strict";n.d(t,{A:()=>z});var r=n(58168),o=n(89379),i=n(5544),a=n(80045),s=n(96540),l=n(46942),c=n.n(l),u=n(18462),d=n(30981),f=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],h=void 0;function p(e,t){var n=e.prefixCls,i=e.invalidate,l=e.item,d=e.renderItem,p=e.responsive,m=e.responsiveDisabled,v=e.registerSize,g=e.itemKey,y=e.className,b=e.style,w=e.children,E=e.display,x=e.order,S=e.component,_=void 0===S?"div":S,O=(0,a.A)(e,f),C=p&&!E;function A(e){v(g,e)}s.useEffect((function(){return function(){A(null)}}),[]);var k,M=d&&l!==h?d(l):w;i||(k={opacity:C?0:1,height:C?0:h,overflowY:C?"hidden":h,order:p?x:h,pointerEvents:C?"none":h,position:C?"absolute":h});var T={};C&&(T["aria-hidden"]=!0);var P=s.createElement(_,(0,r.A)({className:c()(!i&&n,y),style:(0,o.A)((0,o.A)({},k),b)},T,O,{ref:t}),M);return p&&(P=s.createElement(u.A,{onResize:function(e){A(e.offsetWidth)},disabled:m},P)),P}var m=s.forwardRef(p);m.displayName="Item";const v=m;var g=n(26956),y=n(40961),b=n(25371);function w(e,t){var n=s.useState(t),r=(0,i.A)(n,2),o=r[0],a=r[1];return[o,(0,g.A)((function(t){e((function(){a(t)}))}))]}var E=s.createContext(null),x=["component"],S=["className"],_=["className"],O=function(e,t){var n=s.useContext(E);if(!n){var o=e.component,i=void 0===o?"div":o,l=(0,a.A)(e,x);return s.createElement(i,(0,r.A)({},l,{ref:t}))}var u=n.className,d=(0,a.A)(n,S),f=e.className,h=(0,a.A)(e,_);return s.createElement(E.Provider,{value:null},s.createElement(v,(0,r.A)({ref:t,className:c()(u,f)},d,h)))},C=s.forwardRef(O);C.displayName="RawItem";const A=C;var k=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],M="responsive",T="invalidate";function P(e){return"+ ".concat(e.length," ...")}function I(e,t){var n,l=e.prefixCls,f=void 0===l?"rc-overflow":l,h=e.data,p=void 0===h?[]:h,m=e.renderItem,g=e.renderRawItem,x=e.itemKey,S=e.itemWidth,_=void 0===S?10:S,O=e.ssr,C=e.style,A=e.className,I=e.maxCount,j=e.renderRest,z=e.renderRawRest,D=e.suffix,R=e.component,N=void 0===R?"div":R,$=e.itemComponent,F=e.onVisibleChange,L=(0,a.A)(e,k),B="full"===O,H=(n=s.useRef(null),function(e){n.current||(n.current=[],function(e){if("undefined"==typeof MessageChannel)(0,b.A)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}((function(){(0,y.unstable_batchedUpdates)((function(){n.current.forEach((function(e){e()})),n.current=null}))}))),n.current.push(e)}),V=w(H,null),U=(0,i.A)(V,2),W=U[0],q=U[1],K=W||0,G=w(H,new Map),X=(0,i.A)(G,2),Y=X[0],Z=X[1],J=w(H,0),Q=(0,i.A)(J,2),ee=Q[0],te=Q[1],ne=w(H,0),re=(0,i.A)(ne,2),oe=re[0],ie=re[1],ae=w(H,0),se=(0,i.A)(ae,2),le=se[0],ce=se[1],ue=(0,s.useState)(null),de=(0,i.A)(ue,2),fe=de[0],he=de[1],pe=(0,s.useState)(null),me=(0,i.A)(pe,2),ve=me[0],ge=me[1],ye=s.useMemo((function(){return null===ve&&B?Number.MAX_SAFE_INTEGER:ve||0}),[ve,W]),be=(0,s.useState)(!1),we=(0,i.A)(be,2),Ee=we[0],xe=we[1],Se="".concat(f,"-item"),_e=Math.max(ee,oe),Oe=I===M,Ce=p.length&&Oe,Ae=I===T,ke=Ce||"number"==typeof I&&p.length>I,Me=(0,s.useMemo)((function(){var e=p;return Ce?e=null===W&&B?p:p.slice(0,Math.min(p.length,K/_)):"number"==typeof I&&(e=p.slice(0,I)),e}),[p,_,W,I,Ce]),Te=(0,s.useMemo)((function(){return Ce?p.slice(ye+1):p.slice(Me.length)}),[p,Me,Ce,ye]),Pe=(0,s.useCallback)((function(e,t){var n;return"function"==typeof x?x(e):null!==(n=x&&(null==e?void 0:e[x]))&&void 0!==n?n:t}),[x]),Ie=(0,s.useCallback)(m||function(e){return e},[m]);function je(e,t,n){(ve!==e||void 0!==t&&t!==fe)&&(ge(e),n||(xe(e<p.length-1),null==F||F(e)),void 0!==t&&he(t))}function ze(e,t){Z((function(n){var r=new Map(n);return null===t?r.delete(e):r.set(e,t),r}))}function De(e){return Y.get(Pe(Me[e],e))}(0,d.A)((function(){if(K&&"number"==typeof _e&&Me){var e=le,t=Me.length,n=t-1;if(!t)return void je(0,null);for(var r=0;r<t;r+=1){var o=De(r);if(B&&(o=o||0),void 0===o){je(r-1,void 0,!0);break}if(e+=o,0===n&&e<=K||r===n-1&&e+De(n)<=K){je(n,null);break}if(e+_e>K){je(r-1,e-o-le+oe);break}}D&&De(0)+le>K&&he(null)}}),[K,Y,oe,le,Pe,Me]);var Re=Ee&&!!Te.length,Ne={};null!==fe&&Ce&&(Ne={position:"absolute",left:fe,top:0});var $e,Fe={prefixCls:Se,responsive:Ce,component:$,invalidate:Ae},Le=g?function(e,t){var n=Pe(e,t);return s.createElement(E.Provider,{key:n,value:(0,o.A)((0,o.A)({},Fe),{},{order:t,item:e,itemKey:n,registerSize:ze,display:t<=ye})},g(e,t))}:function(e,t){var n=Pe(e,t);return s.createElement(v,(0,r.A)({},Fe,{order:t,key:n,item:e,renderItem:Ie,itemKey:n,registerSize:ze,display:t<=ye}))},Be={order:Re?ye:Number.MAX_SAFE_INTEGER,className:"".concat(Se,"-rest"),registerSize:function(e,t){ie(t),te(oe)},display:Re};if(z)z&&($e=s.createElement(E.Provider,{value:(0,o.A)((0,o.A)({},Fe),Be)},z(Te)));else{var He=j||P;$e=s.createElement(v,(0,r.A)({},Fe,Be),"function"==typeof He?He(Te):He)}var Ve=s.createElement(N,(0,r.A)({className:c()(!Ae&&f,A),style:C,ref:t},L),Me.map(Le),ke?$e:null,D&&s.createElement(v,(0,r.A)({},Fe,{responsive:Oe,responsiveDisabled:!Ce,order:ye,className:"".concat(Se,"-suffix"),registerSize:function(e,t){ce(t)},display:!0,style:Ne}),D));return Oe&&(Ve=s.createElement(u.A,{onResize:function(e,t){q(t.clientWidth)},disabled:!Ce},Ve)),Ve}var j=s.forwardRef(I);j.displayName="Overflow",j.Item=A,j.RESPONSIVE=M,j.INVALIDATE=T;const z=j},96069:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},18462:(e,t,n)=>{"use strict";n.d(t,{A:()=>V});var r=n(58168),o=n(96540),i=n(82546),a=(n(68210),n(89379)),s=n(82284),l=n(66588),c=n(8719),u=o.createContext(null),d=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),f="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,h=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),p="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(h):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},m=["top","right","bottom","left","width","height","size","weight"],v="undefined"!=typeof MutationObserver,g=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&s()}function a(){p(i)}function s(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(a,t);o=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){f&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),v?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){f&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;m.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),y=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},b=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||h},w=O(0,0,0,0);function E(e){return parseFloat(e)||0}function x(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+E(e["border-"+n+"-width"])}),0)}var S="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof b(e).SVGGraphicsElement}:function(e){return e instanceof b(e).SVGElement&&"function"==typeof e.getBBox};function _(e){return f?S(e)?function(e){var t=e.getBBox();return O(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return w;var r=b(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=E(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,s=E(r.width),l=E(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==t&&(s-=x(r,"left","right")+i),Math.round(l+a)!==n&&(l-=x(r,"top","bottom")+a)),!function(e){return e===b(e).document.documentElement}(e)){var c=Math.round(s+i)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return O(o.left,o.top,s,l)}(e):w}function O(e,t,n,r){return{x:e,y:t,width:n,height:r}}var C=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=O(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=_(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),A=function(e,t){var n,r,o,i,a,s,l,c=(r=(n=t).x,o=n.y,i=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),y(l,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),l);y(this,{target:e,contentRect:c})},k=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new d,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof b(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new C(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof b(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new A(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),M="undefined"!=typeof WeakMap?new WeakMap:new d,T=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=g.getInstance(),r=new k(t,n,this);M.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){T.prototype[e]=function(){var t;return(t=M.get(this))[e].apply(t,arguments)}}));const P=void 0!==h.ResizeObserver?h.ResizeObserver:T;var I=new Map,j=new P((function(e){e.forEach((function(e){var t,n=e.target;null===(t=I.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))})),z=n(23029),D=n(92901),R=n(85501),N=n(29426),$=function(e){(0,R.A)(n,e);var t=(0,N.A)(n);function n(){return(0,z.A)(this,n),t.apply(this,arguments)}return(0,D.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component);function F(e,t){var n=e.children,r=e.disabled,i=o.useRef(null),d=o.useRef(null),f=o.useContext(u),h="function"==typeof n,p=h?n(i):n,m=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),v=!h&&o.isValidElement(p)&&(0,c.f3)(p),g=v?p.ref:null,y=(0,c.xK)(g,i),b=function(){var e;return(0,l.A)(i.current)||(i.current&&"object"===(0,s.A)(i.current)?(0,l.A)(null===(e=i.current)||void 0===e?void 0:e.nativeElement):null)||(0,l.A)(d.current)};o.useImperativeHandle(t,(function(){return b()}));var w=o.useRef(e);w.current=e;var E=o.useCallback((function(e){var t=w.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,s=o.height,l=e.offsetWidth,c=e.offsetHeight,u=Math.floor(i),d=Math.floor(s);if(m.current.width!==u||m.current.height!==d||m.current.offsetWidth!==l||m.current.offsetHeight!==c){var h={width:u,height:d,offsetWidth:l,offsetHeight:c};m.current=h;var p=l===Math.round(i)?i:l,v=c===Math.round(s)?s:c,g=(0,a.A)((0,a.A)({},h),{},{offsetWidth:p,offsetHeight:v});null==f||f(g,e,r),n&&Promise.resolve().then((function(){n(g,e)}))}}),[]);return o.useEffect((function(){var e,t,n=b();return n&&!r&&(e=n,t=E,I.has(e)||(I.set(e,new Set),j.observe(e)),I.get(e).add(t)),function(){return function(e,t){I.has(e)&&(I.get(e).delete(t),I.get(e).size||(j.unobserve(e),I.delete(e)))}(n,E)}}),[i.current,r]),o.createElement($,{ref:d},v?o.cloneElement(p,{ref:y}):p)}const L=o.forwardRef(F);function B(e,t){var n=e.children;return("function"==typeof n?[n]:(0,i.A)(n)).map((function(n,i){var a=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return o.createElement(L,(0,r.A)({},e,{key:a,ref:0===i?t:void 0}),n)}))}var H=o.forwardRef(B);H.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(u),s=o.useCallback((function(e,t,o){r.current+=1;var s=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then((function(){s===r.current&&(null==n||n(i.current),i.current=[])})),null==a||a(e,t,o)}),[n,a]);return o.createElement(u.Provider,{value:s},t)};const V=H},80427:(e,t,n)=>{"use strict";n.d(t,{z:()=>a,A:()=>g});var r=n(46942),o=n.n(r),i=n(96540);function a(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,s=e.className,l=e.style;return i.createElement("div",{className:o()("".concat(n,"-content"),s),style:l},i.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:a},"function"==typeof t?t():t))}var s=n(58168),l=n(89379),c=n(80045),u=n(62427),d={shiftX:64,adjustY:1},f={adjustX:1,shiftY:!0},h=[0,0],p={left:{points:["cr","cl"],overflow:f,offset:[-4,0],targetOffset:h},right:{points:["cl","cr"],overflow:f,offset:[4,0],targetOffset:h},top:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:h},bottom:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:h},topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:h},leftTop:{points:["tr","tl"],overflow:f,offset:[-4,0],targetOffset:h},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:h},rightTop:{points:["tl","tr"],overflow:f,offset:[4,0],targetOffset:h},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:h},rightBottom:{points:["bl","br"],overflow:f,offset:[4,0],targetOffset:h},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:h},leftBottom:{points:["br","bl"],overflow:f,offset:[-4,0],targetOffset:h}},m=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],v=function(e,t){var n=e.overlayClassName,r=e.trigger,o=void 0===r?["hover"]:r,d=e.mouseEnterDelay,f=void 0===d?0:d,h=e.mouseLeaveDelay,v=void 0===h?.1:h,g=e.overlayStyle,y=e.prefixCls,b=void 0===y?"rc-tooltip":y,w=e.children,E=e.onVisibleChange,x=e.afterVisibleChange,S=e.transitionName,_=e.animation,O=e.motion,C=e.placement,A=void 0===C?"right":C,k=e.align,M=void 0===k?{}:k,T=e.destroyTooltipOnHide,P=void 0!==T&&T,I=e.defaultVisible,j=e.getTooltipContainer,z=e.overlayInnerStyle,D=(e.arrowContent,e.overlay),R=e.id,N=e.showArrow,$=void 0===N||N,F=(0,c.A)(e,m),L=(0,i.useRef)(null);(0,i.useImperativeHandle)(t,(function(){return L.current}));var B=(0,l.A)({},F);return"visible"in e&&(B.popupVisible=e.visible),i.createElement(u.A,(0,s.A)({popupClassName:n,prefixCls:b,popup:function(){return i.createElement(a,{key:"content",prefixCls:b,id:R,overlayInnerStyle:z},D)},action:o,builtinPlacements:p,popupPlacement:A,ref:L,popupAlign:M,getPopupContainer:j,onPopupVisibleChange:E,afterPopupVisibleChange:x,popupTransitionName:S,popupAnimation:_,popupMotion:O,defaultPopupVisible:I,autoDestroy:P,mouseLeaveDelay:v,popupStyle:g,mouseEnterDelay:f,arrow:$},B),w)};const g=(0,i.forwardRef)(v)},82546:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(96540),o=n(66351);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):(0,o.isFragment)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},20998:(e,t,n)=>{"use strict";function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,{A:()=>r})},54808:(e,t,n)=>{"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{A:()=>r})},85089:(e,t,n)=>{"use strict";n.d(t,{BD:()=>v,m6:()=>m});var r=n(89379),o=n(20998),i=n(54808),a="data-rc-order",s="data-rc-priority",l="rc-util-key",c=new Map;function u(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):l}function d(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function f(e){return Array.from((c.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.A)())return null;var n=t.csp,r=t.prepend,i=t.priority,l=void 0===i?0:i,c=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),u="prependQueue"===c,h=document.createElement("style");h.setAttribute(a,c),u&&l&&h.setAttribute(s,"".concat(l)),null!=n&&n.nonce&&(h.nonce=null==n?void 0:n.nonce),h.innerHTML=e;var p=d(t),m=p.firstChild;if(r){if(u){var v=(t.styles||f(p)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(s)||0);return l>=t}));if(v.length)return p.insertBefore(h,v[v.length-1].nextSibling),h}p.insertBefore(h,m)}else p.appendChild(h);return h}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(t);return(t.styles||f(n)).find((function(n){return n.getAttribute(u(t))===e}))}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=p(e,t);n&&d(t).removeChild(n)}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=d(n),a=f(o),s=(0,r.A)((0,r.A)({},n),{},{styles:a});!function(e,t){var n=c.get(e);if(!n||!(0,i.A)(document,n)){var r=h("",t),o=r.parentNode;c.set(e,o),e.removeChild(r)}}(o,s);var l,m,v,g=p(t,s);if(g)return null!==(l=s.csp)&&void 0!==l&&l.nonce&&g.nonce!==(null===(m=s.csp)||void 0===m?void 0:m.nonce)&&(g.nonce=null===(v=s.csp)||void 0===v?void 0:v.nonce),g.innerHTML!==e&&(g.innerHTML=e),g;var y=h(e,s);return y.setAttribute(u(s),t),y}},66588:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,f:()=>i});var r=n(96540),o=n(40961);function i(e){return e instanceof HTMLElement||e instanceof SVGElement}function a(e){return i(e)?e:e instanceof r.Component?o.findDOMNode(e):null}},42467:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},72633:(e,t,n)=>{"use strict";function r(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return function(e){return r(e)instanceof ShadowRoot}(e)?r(e):null}n.d(t,{j:()=>o})},16928:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const o=r},82987:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,V:()=>s});var r,o=n(85089);function i(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r,i,a=n.style;if(a.position="absolute",a.left="0",a.top="0",a.width="100px",a.height="100px",a.overflow="scroll",e){var s=getComputedStyle(e);a.scrollbarColor=s.scrollbarColor,a.scrollbarWidth=s.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(l.width,10),u=parseInt(l.height,10);try{var d=c?"width: ".concat(l.width,";"):"",f=u?"height: ".concat(l.height,";"):"";(0,o.BD)("\n#".concat(t,"::-webkit-scrollbar {\n").concat(d,"\n").concat(f,"\n}"),t)}catch(e){console.error(e),r=c,i=u}}document.body.appendChild(n);var h=e&&r&&!isNaN(r)?r:n.offsetWidth-n.clientWidth,p=e&&i&&!isNaN(i)?i:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),(0,o.m6)(t),{width:h,height:p}}function a(e){return"undefined"==typeof document?0:((e||void 0===r)&&(r=i()),r.width)}function s(e){return"undefined"!=typeof document&&e&&e instanceof Element?i(e):{width:0,height:0}}},26956:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540);function o(e){var t=r.useRef();t.current=e;var n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))}),[]);return n}},56855:(e,t,n)=>{"use strict";var r;n.d(t,{A:()=>c});var o=n(5544),i=n(89379),a=n(96540),s=0,l=(0,i.A)({},r||(r=n.t(a,2))).useId;const c=l?function(e){var t=l();return e||t}:function(e){var t=a.useState("ssr-id"),n=(0,o.A)(t,2),r=n[0],i=n[1];return a.useEffect((function(){var e=s;s+=1,i("rc_unique_".concat(e))}),[]),e||r}},30981:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,o:()=>a});var r=n(96540),o=(0,n(20998).A)()?r.useLayoutEffect:r.useEffect,i=function(e,t){var n=r.useRef(!0);o((function(){return e(n.current)}),t),o((function(){return n.current=!1,function(){n.current=!0}}),[])},a=function(e,t){i((function(t){if(!t)return e()}),t)};const s=i},28104:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540);function o(e,t,n){var o=r.useRef({});return"value"in o.current&&!n(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},12533:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(5544),o=n(26956),i=n(30981),a=n(1233);function s(e){return void 0!==e}function l(e,t){var n=t||{},l=n.defaultValue,c=n.value,u=n.onChange,d=n.postState,f=(0,a.A)((function(){return s(c)?c:s(l)?"function"==typeof l?l():l:"function"==typeof e?e():e})),h=(0,r.A)(f,2),p=h[0],m=h[1],v=void 0!==c?c:p,g=d?d(v):v,y=(0,o.A)(u),b=(0,a.A)([v]),w=(0,r.A)(b,2),E=w[0],x=w[1];return(0,i.o)((function(){var e=E[0];p!==e&&y(p,e)}),[E]),(0,i.o)((function(){s(c)||m(c)}),[c]),[g,(0,o.A)((function(e,t){m(e,t),x([v],t)}))]}},1233:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5544),o=n(96540);function i(e){var t=o.useRef(!1),n=o.useState(e),i=(0,r.A)(n,2),a=i[0],s=i[1];return o.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,n){n&&t.current||s(e)}]}},81470:(e,t,n)=>{"use strict";n.d(t,{_q:()=>r.A,vz:()=>o.A});var r=n(26956),o=n(12533);n(8719),n(20488),n(68210)},43210:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82284),o=n(68210);const i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=i.has(t);if((0,o.Ay)(!l,"Warning: There may be circular references"),l)return!1;if(t===a)return!0;if(n&&s>1)return!1;i.add(t);var c=s+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u<t.length;u++)if(!e(t[u],a[u],c))return!1;return!0}if(t&&a&&"object"===(0,r.A)(t)&&"object"===(0,r.A)(a)){var d=Object.keys(t);return d.length===Object.keys(a).length&&d.every((function(n){return e(t[n],a[n],c)}))}return!1}(e,t)}},68430:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}},19853:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(89379);function o(e,t){var n=(0,r.A)({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},72065:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(89379),o="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n    alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n    charSet checked classID className colSpan cols content contentEditable contextMenu\n    controls coords crossOrigin data dateTime default defer dir disabled download draggable\n    encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n    headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n    is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n    mediaGroup method min minLength multiple muted name noValidate nonce open\n    optimum pattern placeholder poster preload radioGroup readOnly rel required\n    reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n    shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n    summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n    onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n    onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n    onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n    onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n    onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n    onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),i="aria-",a="data-";function s(e,t){return 0===e.indexOf(t)}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,r.A)({},n);var l={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||s(n,i))||t.data&&s(n,a)||t.attr&&o.includes(n))&&(l[n]=e[n])})),l}},25371:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function s(e){a.delete(e)}var l=function(e){var t=i+=1;return function n(o){if(0===o)s(t),e();else{var i=r((function(){n(o-1)}));a.set(t,i)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};l.cancel=function(e){var t=a.get(e);return s(e),o(t)};const c=l},8719:(e,t,n)=>{"use strict";n.d(t,{K4:()=>s,Xf:()=>a,f3:()=>c,xK:()=>l});var r=n(82284),o=(n(96540),n(66351)),i=n(28104);function a(e,t){"function"==typeof e?e(t):"object"===(0,r.A)(e)&&e&&"current"in e&&(e.current=t)}function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter((function(e){return e}));return r.length<=1?r[0]:function(e){t.forEach((function(t){a(t,e)}))}}function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.A)((function(){return s.apply(void 0,t)}),t,(function(e,t){return e.length!==t.length||e.every((function(e,n){return e!==t[n]}))}))}function c(e){var t,n,r=(0,o.isMemo)(e)?e.type.type:e.type;return!!("function"!=typeof r||null!==(t=r.prototype)&&void 0!==t&&t.render||r.$$typeof===o.ForwardRef)&&!!("function"!=typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render||e.$$typeof===o.ForwardRef)}},16300:(e,t,n)=>{"use strict";function r(e,t){for(var n=e,r=0;r<t.length;r+=1){if(null==n)return;n=n[t[r]]}return n}n.d(t,{A:()=>r})},20488:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,h:()=>f});var r=n(82284),o=n(89379),i=n(60436),a=n(87695),s=n(16300);function l(e,t,n,r){if(!t.length)return n;var s,c=(0,a.A)(t),u=c[0],d=c.slice(1);return s=e||"number"!=typeof u?Array.isArray(e)?(0,i.A)(e):(0,o.A)({},e):[],r&&void 0===n&&1===d.length?delete s[u][d[0]]:s[u]=l(s[u],d,n,r),s}function c(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!(0,s.A)(e,t.slice(0,-1))?e:l(e,t,n,r)}function u(e){return Array.isArray(e)?[]:{}}var d="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=u(t[0]);return t.forEach((function(e){!function t(n,a){var l,f=new Set(a),h=(0,s.A)(e,n),p=Array.isArray(h);if(p||(l=h,"object"===(0,r.A)(l)&&null!==l&&Object.getPrototypeOf(l)===Object.prototype)){if(!f.has(h)){f.add(h);var m=(0,s.A)(o,n);p?o=c(o,n,[]):m&&"object"===(0,r.A)(m)||(o=c(o,n,u(h))),d(h).forEach((function(e){t([].concat((0,i.A)(n),[e]),f)}))}}else o=c(o,n,h)}([])})),o}},68210:(e,t,n)=>{"use strict";n.d(t,{$e:()=>i,Ay:()=>u,g9:()=>c});var r={},o=[];function i(e,t){}function a(e,t){}function s(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function l(e,t){s(i,e,t)}function c(e,t){s(a,e,t)}l.preMessage=function(e){o.push(e)},l.resetWarned=function(){r={}},l.noteOnce=c;const u=l},57787:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy");Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case d:case f:return e;default:switch(e=e&&e.$$typeof){case c:case l:case u:case p:case h:case s:return e;default:return t}}case r:return t}}}Symbol.for("react.module.reference"),t.ForwardRef=u,t.isFragment=function(e){return m(e)===o},t.isMemo=function(e){return m(e)===h}},66351:(e,t,n)=>{"use strict";e.exports=n(57787)},71213:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(58168),o=n(89379),i=n(82284),a=n(5544),s=n(64467),l=n(80045),c=n(96540),u=n(40961),d=n(46942),f=n.n(d),h=n(18462),p=c.forwardRef((function(e,t){var n=e.height,i=e.offsetY,a=e.offsetX,l=e.children,u=e.prefixCls,d=e.onInnerResize,p=e.innerProps,m=e.rtl,v=e.extra,g={},y={display:"flex",flexDirection:"column"};return void 0!==i&&(g={height:n,position:"relative",overflow:"hidden"},y=(0,o.A)((0,o.A)({},y),{},(0,s.A)((0,s.A)((0,s.A)((0,s.A)((0,s.A)({transform:"translateY(".concat(i,"px)")},m?"marginRight":"marginLeft",-a),"position","absolute"),"left",0),"right",0),"top",0))),c.createElement("div",{style:g},c.createElement(h.A,{onResize:function(e){e.offsetHeight&&d&&d()}},c.createElement("div",(0,r.A)({style:y,className:f()((0,s.A)({},"".concat(u,"-holder-inner"),u)),ref:t},p),l,v)))}));p.displayName="Filler";const m=p;var v=n(25371);function g(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}const y=c.forwardRef((function(e,t){var n=e.prefixCls,r=e.rtl,i=e.scrollOffset,l=e.scrollRange,u=e.onStartMove,d=e.onStopMove,h=e.onScroll,p=e.horizontal,m=e.spinSize,y=e.containerSize,b=e.style,w=e.thumbStyle,E=c.useState(!1),x=(0,a.A)(E,2),S=x[0],_=x[1],O=c.useState(null),C=(0,a.A)(O,2),A=C[0],k=C[1],M=c.useState(null),T=(0,a.A)(M,2),P=T[0],I=T[1],j=!r,z=c.useRef(),D=c.useRef(),R=c.useState(!1),N=(0,a.A)(R,2),$=N[0],F=N[1],L=c.useRef(),B=function(){clearTimeout(L.current),F(!0),L.current=setTimeout((function(){F(!1)}),3e3)},H=l-y||0,V=y-m||0,U=c.useMemo((function(){return 0===i||0===H?0:i/H*V}),[i,H,V]),W=c.useRef({top:U,dragging:S,pageY:A,startTop:P});W.current={top:U,dragging:S,pageY:A,startTop:P};var q=function(e){_(!0),k(g(e,p)),I(W.current.top),u(),e.stopPropagation(),e.preventDefault()};c.useEffect((function(){var e=function(e){e.preventDefault()},t=z.current,n=D.current;return t.addEventListener("touchstart",e),n.addEventListener("touchstart",q),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",q)}}),[]);var K=c.useRef();K.current=H;var G=c.useRef();G.current=V,c.useEffect((function(){if(S){var e,t=function(t){var n=W.current,r=n.dragging,o=n.pageY,i=n.startTop;if(v.A.cancel(e),r){var a=g(t,p)-o,s=i;!j&&p?s-=a:s+=a;var l=K.current,c=G.current,u=c?s/c:0,d=Math.ceil(u*l);d=Math.max(d,0),d=Math.min(d,l),e=(0,v.A)((function(){h(d,p)}))}},n=function(){_(!1),d()};return window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",n),window.addEventListener("touchend",n),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),v.A.cancel(e)}}}),[S]),c.useEffect((function(){B()}),[i]),c.useImperativeHandle(t,(function(){return{delayHidden:B}}));var X="".concat(n,"-scrollbar"),Y={position:"absolute",visibility:$?null:"hidden"},Z={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return p?(Y.height=8,Y.left=0,Y.right=0,Y.bottom=0,Z.height="100%",Z.width=m,j?Z.left=U:Z.right=U):(Y.width=8,Y.top=0,Y.bottom=0,j?Y.right=0:Y.left=0,Z.width="100%",Z.height=m,Z.top=U),c.createElement("div",{ref:z,className:f()(X,(0,s.A)((0,s.A)((0,s.A)({},"".concat(X,"-horizontal"),p),"".concat(X,"-vertical"),!p),"".concat(X,"-visible"),$)),style:(0,o.A)((0,o.A)({},Y),b),onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:B},c.createElement("div",{ref:D,className:f()("".concat(X,"-thumb"),(0,s.A)({},"".concat(X,"-thumb-moving"),S)),style:(0,o.A)((0,o.A)({},Z),w),onMouseDown:q}))}));function b(e){var t=e.children,n=e.setRef,r=c.useCallback((function(e){n(e)}),[]);return c.cloneElement(t,{ref:r})}var w=n(66588),E=n(23029),x=n(92901);const S=function(){function e(){(0,E.A)(this,e),(0,s.A)(this,"maps",void 0),(0,s.A)(this,"id",0),this.maps=Object.create(null)}return(0,x.A)(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}();var _=n(30981),O=n(81470);const C="object"===("undefined"==typeof navigator?"undefined":(0,i.A)(navigator))&&/Firefox/i.test(navigator.userAgent),A=function(e,t){var n=(0,c.useRef)(!1),r=(0,c.useRef)(null),o=(0,c.useRef)({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e<0&&o.current.top||e>0&&o.current.bottom;return t&&i?(clearTimeout(r.current),n.current=!1):i&&!n.current||(clearTimeout(r.current),n.current=!0,r.current=setTimeout((function(){n.current=!1}),50)),!n.current&&i}};var k=14/15,M=20;function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=e/(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)*e;return isNaN(t)&&(t=0),t=Math.max(t,M),Math.floor(t)}var P=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],I=[],j={overflowY:"auto",overflowAnchor:"none"};function z(e,t){var n=e.prefixCls,d=void 0===n?"rc-virtual-list":n,p=e.className,g=e.height,E=e.itemHeight,x=e.fullHeight,M=void 0===x||x,z=e.style,D=e.data,R=e.children,N=e.itemKey,$=e.virtual,F=e.direction,L=e.scrollWidth,B=e.component,H=void 0===B?"div":B,V=e.onScroll,U=e.onVirtualScroll,W=e.onVisibleChange,q=e.innerProps,K=e.extraRender,G=e.styles,X=(0,l.A)(e,P),Y=!(!1===$||!g||!E),Z=Y&&D&&(E*D.length>g||!!L),J="rtl"===F,Q=f()(d,(0,s.A)({},"".concat(d,"-rtl"),J),p),ee=D||I,te=(0,c.useRef)(),ne=(0,c.useRef)(),re=(0,c.useState)(0),oe=(0,a.A)(re,2),ie=oe[0],ae=oe[1],se=(0,c.useState)(0),le=(0,a.A)(se,2),ce=le[0],ue=le[1],de=(0,c.useState)(!1),fe=(0,a.A)(de,2),he=fe[0],pe=fe[1],me=function(){pe(!0)},ve=function(){pe(!1)},ge=c.useCallback((function(e){return"function"==typeof N?N(e):null==e?void 0:e[N]}),[N]),ye={getKey:ge};function be(e){ae((function(t){var n=function(e){var t=e;return Number.isNaN(Ue.current)||(t=Math.min(t,Ue.current)),t=Math.max(t,0)}("function"==typeof e?e(t):e);return te.current.scrollTop=n,n}))}var we=(0,c.useRef)({start:0,end:ee.length}),Ee=(0,c.useRef)(),xe=function(e,t,n){var r=c.useState(e),o=(0,a.A)(r,2),i=o[0],s=o[1],l=c.useState(null),u=(0,a.A)(l,2),d=u[0],f=u[1];return c.useEffect((function(){var r=function(e,t,n){var r,o,i=e.length,a=t.length;if(0===i&&0===a)return null;i<a?(r=e,o=t):(r=t,o=e);var s={__EMPTY_ITEM__:!0};function l(e){return void 0!==e?n(e):s}for(var c=null,u=1!==Math.abs(i-a),d=0;d<o.length;d+=1){var f=l(r[d]);if(f!==l(o[d])){c=d,u=u||f!==l(o[d+1]);break}}return null===c?null:{index:c,multiple:u}}(i||[],e||[],t);void 0!==(null==r?void 0:r.index)&&(null==n||n(r.index),f(e[r.index])),s(e)}),[e]),[d]}(ee,ge),Se=(0,a.A)(xe,1)[0];Ee.current=Se;var _e=function(e,t,n){var r=c.useState(0),o=(0,a.A)(r,2),i=o[0],s=o[1],l=(0,c.useRef)(new Map),u=(0,c.useRef)(new S),d=(0,c.useRef)();function f(){v.A.cancel(d.current)}function h(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];f();var t=function(){l.current.forEach((function(e,t){if(e&&e.offsetParent){var n=(0,w.A)(e),r=n.offsetHeight;u.current.get(t)!==r&&u.current.set(t,n.offsetHeight)}})),s((function(e){return e+1}))};e?t():d.current=(0,v.A)(t)}return(0,c.useEffect)((function(){return f}),[]),[function(t,n){var r=e(t);l.current.get(r);n?(l.current.set(r,n),h()):l.current.delete(r)},h,u.current,i]}(ge),Oe=(0,a.A)(_e,4),Ce=Oe[0],Ae=Oe[1],ke=Oe[2],Me=Oe[3],Te=c.useMemo((function(){if(!Y)return{scrollHeight:void 0,start:0,end:ee.length-1,offset:void 0};var e;if(!Z)return{scrollHeight:(null===(e=ne.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:ee.length-1,offset:void 0};for(var t,n,r,o=0,i=ee.length,a=0;a<i;a+=1){var s=ee[a],l=ge(s),c=ke.get(l),u=o+(void 0===c?E:c);u>=ie&&void 0===t&&(t=a,n=o),u>ie+g&&void 0===r&&(r=a),o=u}return void 0===t&&(t=0,n=0,r=Math.ceil(g/E)),void 0===r&&(r=ee.length-1),{scrollHeight:o,start:t,end:r=Math.min(r+1,ee.length-1),offset:n}}),[Z,Y,ie,ee,Me,g]),Pe=Te.scrollHeight,Ie=Te.start,je=Te.end,ze=Te.offset;we.current.start=Ie,we.current.end=je;var De=c.useState({width:0,height:g}),Re=(0,a.A)(De,2),Ne=Re[0],$e=Re[1],Fe=(0,c.useRef)(),Le=(0,c.useRef)(),Be=c.useMemo((function(){return T(Ne.width,L)}),[Ne.width,L]),He=c.useMemo((function(){return T(Ne.height,Pe)}),[Ne.height,Pe]),Ve=Pe-g,Ue=(0,c.useRef)(Ve);Ue.current=Ve;var We=ie<=0,qe=ie>=Ve,Ke=A(We,qe),Ge=function(){return{x:J?-ce:ce,y:ie}},Xe=(0,c.useRef)(Ge()),Ye=(0,O._q)((function(){if(U){var e=Ge();Xe.current.x===e.x&&Xe.current.y===e.y||(U(e),Xe.current=e)}}));function Ze(e,t){var n=e;t?((0,u.flushSync)((function(){ue(n)})),Ye()):be(n)}var Je=function(e){var t=e,n=L-Ne.width;return t=Math.max(t,0),Math.min(t,n)},Qe=(0,O._q)((function(e,t){t?((0,u.flushSync)((function(){ue((function(t){return Je(t+(J?-e:e))}))})),Ye()):be((function(t){return t+e}))})),et=function(e,t,n,r,o){var i=(0,c.useRef)(0),a=(0,c.useRef)(null),s=(0,c.useRef)(null),l=(0,c.useRef)(!1),u=A(t,n),d=(0,c.useRef)(null),f=(0,c.useRef)(null);return[function(t){if(e){v.A.cancel(f.current),f.current=(0,v.A)((function(){d.current=null}),2);var n=t.deltaX,c=t.deltaY,h=t.shiftKey,p=n,m=c;("sx"===d.current||!d.current&&h&&c&&!n)&&(p=c,m=0,d.current="sx");var g=Math.abs(p),y=Math.abs(m);null===d.current&&(d.current=r&&g>y?"x":"y"),"y"===d.current?function(e,t){v.A.cancel(a.current),i.current+=t,s.current=t,u(t)||(C||e.preventDefault(),a.current=(0,v.A)((function(){var e=l.current?10:1;o(i.current*e),i.current=0})))}(t,m):function(e,t){o(t,!0),C||e.preventDefault()}(t,p)}},function(t){e&&(l.current=t.detail===s.current)}]}(Y,We,qe,!!L,Qe),tt=(0,a.A)(et,2),nt=tt[0],rt=tt[1];!function(e,t,n){var r,o=(0,c.useRef)(!1),i=(0,c.useRef)(0),a=(0,c.useRef)(null),s=(0,c.useRef)(null),l=function(e){if(o.current){var t=Math.ceil(e.touches[0].pageY),r=i.current-t;i.current=t,n(r)&&e.preventDefault(),clearInterval(s.current),s.current=setInterval((function(){(!n(r*=k,!0)||Math.abs(r)<=.1)&&clearInterval(s.current)}),16)}},u=function(){o.current=!1,r()},d=function(e){r(),1!==e.touches.length||o.current||(o.current=!0,i.current=Math.ceil(e.touches[0].pageY),a.current=e.target,a.current.addEventListener("touchmove",l),a.current.addEventListener("touchend",u))};r=function(){a.current&&(a.current.removeEventListener("touchmove",l),a.current.removeEventListener("touchend",u))},(0,_.A)((function(){return e&&t.current.addEventListener("touchstart",d),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",d),r(),clearInterval(s.current)}}),[e])}(Y,te,(function(e,t){return!Ke(e,t)&&(nt({preventDefault:function(){},deltaY:e}),!0)})),(0,_.A)((function(){function e(e){Y&&e.preventDefault()}var t=te.current;return t.addEventListener("wheel",nt),t.addEventListener("DOMMouseScroll",rt),t.addEventListener("MozMousePixelScroll",e),function(){t.removeEventListener("wheel",nt),t.removeEventListener("DOMMouseScroll",rt),t.removeEventListener("MozMousePixelScroll",e)}}),[Y]),(0,_.A)((function(){L&&ue((function(e){return Je(e)}))}),[Ne.width,L]);var ot=function(){var e,t;null===(e=Fe.current)||void 0===e||e.delayHidden(),null===(t=Le.current)||void 0===t||t.delayHidden()},it=function(e,t,n,r,s,l,u,d){var f=c.useRef(),h=c.useState(null),p=(0,a.A)(h,2),m=p[0],g=p[1];return(0,_.A)((function(){if(m&&m.times<10){if(!e.current)return void g((function(e){return(0,o.A)({},e)}));l();var i=m.targetAlign,a=m.originAlign,c=m.index,d=m.offset,f=e.current.clientHeight,h=!1,p=i,v=null;if(f){for(var y=i||a,b=0,w=0,E=0,x=Math.min(t.length-1,c),S=0;S<=x;S+=1){var _=s(t[S]);w=b;var O=n.get(_);b=E=w+(void 0===O?r:O)}for(var C="top"===y?d:f-d,A=x;A>=0;A-=1){var k=s(t[A]),M=n.get(k);if(void 0===M){h=!0;break}if((C-=M)<=0)break}switch(y){case"top":v=w-d;break;case"bottom":v=E-f+d;break;default:var T=e.current.scrollTop;w<T?p="top":E>T+f&&(p="bottom")}null!==v&&u(v),v!==m.lastTop&&(h=!0)}h&&g((0,o.A)((0,o.A)({},m),{},{times:m.times+1,targetAlign:p,lastTop:v}))}}),[m,e.current]),function(e){if(null!=e){if(v.A.cancel(f.current),"number"==typeof e)u(e);else if(e&&"object"===(0,i.A)(e)){var n,r=e.align;n="index"in e?e.index:t.findIndex((function(t){return s(t)===e.key}));var o=e.offset;g({times:0,index:n,offset:void 0===o?0:o,originAlign:r})}}else d()}}(te,ee,ke,E,ge,(function(){return Ae(!0)}),be,ot);c.useImperativeHandle(t,(function(){return{getScrollInfo:Ge,scrollTo:function(e){var t;(t=e)&&"object"===(0,i.A)(t)&&("left"in t||"top"in t)?(void 0!==e.left&&ue(Je(e.left)),it(e.top)):it(e)}}})),(0,_.A)((function(){if(W){var e=ee.slice(Ie,je+1);W(e,ee)}}),[Ie,je,ee]);var at=function(e,t,n,r){var o=c.useMemo((function(){return[new Map,[]]}),[e,n.id,r]),i=(0,a.A)(o,2),s=i[0],l=i[1];return function(o){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,a=s.get(o),c=s.get(i);if(void 0===a||void 0===c)for(var u=e.length,d=l.length;d<u;d+=1){var f,h=e[d],p=t(h);s.set(p,d);var m=null!==(f=n.get(p))&&void 0!==f?f:r;if(l[d]=(l[d-1]||0)+m,p===o&&(a=d),p===i&&(c=d),void 0!==a&&void 0!==c)break}return{top:l[a-1]||0,bottom:l[c]}}}(ee,ge,ke,E),st=null==K?void 0:K({start:Ie,end:je,virtual:Z,offsetX:ce,offsetY:ze,rtl:J,getSize:at}),lt=function(e,t,n,r,o,i,a){var s=a.getKey;return e.slice(t,n+1).map((function(e,n){var a=i(e,t+n,{style:{width:r}}),l=s(e);return c.createElement(b,{key:l,setRef:function(t){return o(e,t)}},a)}))}(ee,Ie,je,L,Ce,R,ye),ct=null;g&&(ct=(0,o.A)((0,s.A)({},M?"height":"maxHeight",g),j),Y&&(ct.overflowY="hidden",L&&(ct.overflowX="hidden"),he&&(ct.pointerEvents="none")));var ut={};return J&&(ut.dir="rtl"),c.createElement("div",(0,r.A)({style:(0,o.A)((0,o.A)({},z),{},{position:"relative"}),className:Q},ut,X),c.createElement(h.A,{onResize:function(e){$e({width:e.width||e.offsetWidth,height:e.height||e.offsetHeight})}},c.createElement(H,{className:"".concat(d,"-holder"),style:ct,ref:te,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==ie&&be(t),null==V||V(e),Ye()},onMouseEnter:ot},c.createElement(m,{prefixCls:d,height:Pe,offsetX:ce,offsetY:ze,scrollWidth:L,onInnerResize:Ae,ref:ne,innerProps:q,rtl:J,extra:st},lt))),Z&&Pe>g&&c.createElement(y,{ref:Fe,prefixCls:d,scrollOffset:ie,scrollRange:Pe,rtl:J,onScroll:Ze,onStartMove:me,onStopMove:ve,spinSize:He,containerSize:Ne.height,style:null==G?void 0:G.verticalScrollBar,thumbStyle:null==G?void 0:G.verticalScrollBarThumb}),Z&&L>Ne.width&&c.createElement(y,{ref:Le,prefixCls:d,scrollOffset:ce,scrollRange:L,rtl:J,onScroll:Ze,onStartMove:me,onStopMove:ve,spinSize:Be,containerSize:Ne.width,horizontal:!0,style:null==G?void 0:G.horizontalScrollBar,thumbStyle:null==G?void 0:G.horizontalScrollBarThumb}))}var D=c.forwardRef(z);D.displayName="List";const R=D},79181:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=i?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=e[s]}return o.default=e,n&&n.set(e,o),o}(n(96540)),i=["dispose","reject","resolve"];function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.default=function(e){return function(t){var n,r,a=t.dispose,c=t.reject,u=t.resolve,d=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,i),f=(n=(0,o.useState)(!0),r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(n,r)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=f[0],p=f[1];return o.default.createElement(e,s({cancel:function(e){p(!1),c(e)},dismiss:function(){p(!1),a()},proceed:function(e){p(!1),u(e)},show:h},d))}}},97256:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.createConfirmationCreater=void 0;var r=n(60464);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,r=arguments.length>2?arguments[2]:void 0;return function(a){var s,l=new Promise((function(n,l){try{s=e.mount(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({reject:l,resolve:n,dispose:c},a),r)}catch(e){throw console.error(e),e}}));function c(){setTimeout((function(){e.unmount(s)}),n)}return l.then((function(e){return c(),e}),(function(e){return c(),Promise.reject(e)}))}}};t.createConfirmationCreater=a;var s=a((0,r.createDomTreeMounter)());t.default=s},92885:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"r",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"iB",{enumerable:!0,get:function(){return a.createConfirmationCreater}}),Object.defineProperty(t,"OE",{enumerable:!0,get:function(){return s.createMountPoint}}),Object.defineProperty(t,"St",{enumerable:!0,get:function(){return s.createReactTreeMounter}});var o,i=(o=n(79181))&&o.__esModule?o:{default:o},a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(n(97256)),s=(n(60464),n(30895));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}},60464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDomTreeMounter=function(e){var t={},n={};return{mount:function(r,a,s){var l=Math.floor(Math.random()*(1<<30)).toString(16),c=(s||e||document.body).appendChild(document.createElement("div"));return t[l]=c,(0,i.createRoot)(c).render(o.default.createElement(r,a)),n.mounted&&n.mounted(),l},unmount:function(e){var n=t[e];delete t[e],n&&n.parentNode&&n.parentNode.removeChild(n)},options:{}}};var r,o=(r=n(96540))&&r.__esModule?r:{default:r},i=n(5338)},30895:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.createMountPoint=function(e){return function(){var t,n=(2,function(e){if(Array.isArray(e))return e}(t=(0,o.useState)({}))||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),2!==i.length);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t)||function(e,t){if(e){if("string"==typeof e)return u(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,2):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=n[0],a=n[1];(0,o.useEffect)((function(){return e.options.setMountedCallback((function(e){a(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}))}),[]);var d=o.default.createElement(o.default.Fragment,null,Object.keys(r).map((function(e){var t=r[e],n=t.Component,i=t.props;return o.default.createElement(n,s({key:e},i))})));return e.options.mountNode&&(d=(0,i.createPortal)(d,e.options.mountNode)),d}},t.createReactTreeMounter=function(e){var t={},n={};return{mount:function(e,r){var o=Math.floor(Math.random()*(1<<30)).toString(16);return t[o]={Component:e,props:r},n.mounted&&n.mounted(t),o},unmount:function(e){delete t[e],n.mounted&&n.mounted(t)},options:{setMountedCallback:function(e){n.mounted=e},mountNode:e}}};var o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=i?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=e[s]}return o.default=e,n&&n.set(e,o),o}(n(96540)),i=n(40961);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},22551:(e,t,n)=>{"use strict";var r=n(96540),o=n(69982);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},p={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(p,e)||!d.call(h,e)&&(f.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),A=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),I=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var j=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var z=Symbol.iterator;function D(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=z&&e[z]||e["@@iterator"])?e:null}var R,N=Object.assign;function $(e){if(void 0===R)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return"\n"+R+e}var F=!1;function L(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?$(e):""}function B(e){switch(e.tag){case 5:return $(e.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return L(e.type,!1);case 11:return L(e.type.render,!1);case 1:return L(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case O:return"Profiler";case _:return"StrictMode";case M:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case A:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case k:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case I:t=e._payload,e=e._init;try{return H(e(t))}catch(e){}}return null}function V(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===_?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function U(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var n=t.checked;return N({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=U(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function J(e,t){Z(e,t);var n=U(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,U(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Q(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+U(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return N({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:U(n)}}function ie(e,t){var n=U(t.value),r=U(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ge=N({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function Ee(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,_e=null;function Oe(e){if(e=wo(e)){if("function"!=typeof xe)throw Error(i(280));var t=e.stateNode;t&&(t=xo(t),xe(e.stateNode,e.type,t))}}function Ce(e){Se?_e?_e.push(e):_e=[e]:Se=e}function Ae(){if(Se){var e=Se,t=_e;if(_e=Se=null,Oe(e),t)for(e=0;e<t.length;e++)Oe(t[e])}}function ke(e,t){return e(t)}function Me(){}var Te=!1;function Pe(e,t,n){if(Te)return e(t,n);Te=!0;try{return ke(e,t,n)}finally{Te=!1,(null!==Se||null!==_e)&&(Me(),Ae())}}function Ie(e,t){var n=e.stateNode;if(null===n)return null;var r=xo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var je=!1;if(u)try{var ze={};Object.defineProperty(ze,"passive",{get:function(){je=!0}}),window.addEventListener("test",ze,ze),window.removeEventListener("test",ze,ze)}catch(ue){je=!1}function De(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Re=!1,Ne=null,$e=!1,Fe=null,Le={onError:function(e){Re=!0,Ne=e}};function Be(e,t,n,r,o,i,a,s,l){Re=!1,Ne=null,De.apply(Le,arguments)}function He(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ve(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ue(e){if(He(e)!==e)throw Error(i(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Ue(o),e;if(a===r)return Ue(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ke=o.unstable_scheduleCallback,Ge=o.unstable_cancelCallback,Xe=o.unstable_shouldYield,Ye=o.unstable_requestPaint,Ze=o.unstable_now,Je=o.unstable_getCurrentPriorityLevel,Qe=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null,at=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2,ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!=(i&=a)&&(r=dt(i))}else 0!=(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&!(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Et,xt,St,_t,Ot,Ct=!1,At=[],kt=null,Mt=null,Tt=null,Pt=new Map,It=new Map,jt=[],zt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Dt(e,t){switch(e){case"focusin":case"focusout":kt=null;break;case"dragenter":case"dragleave":Mt=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function Rt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&null!==(t=wo(t))&&xt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Nt(e){var t=bo(e.target);if(null!==t){var n=He(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ve(n)))return e.blockedOn=t,void Ot(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function $t(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wo(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Ft(e,t,n){$t(e)&&n.delete(t)}function Lt(){Ct=!1,null!==kt&&$t(kt)&&(kt=null),null!==Mt&&$t(Mt)&&(Mt=null),null!==Tt&&$t(Tt)&&(Tt=null),Pt.forEach(Ft),It.forEach(Ft)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Lt)))}function Ht(e){function t(t){return Bt(t,e)}if(0<At.length){Bt(At[0],e);for(var n=1;n<At.length;n++){var r=At[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==kt&&Bt(kt,e),null!==Mt&&Bt(Mt,e),null!==Tt&&Bt(Tt,e),Pt.forEach(t),It.forEach(t),n=0;n<jt.length;n++)(r=jt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<jt.length&&null===(n=jt[0]).blockedOn;)Nt(n),null===n.blockedOn&&jt.shift()}var Vt=w.ReactCurrentBatchConfig,Ut=!0;function Wt(e,t,n,r){var o=bt,i=Vt.transition;Vt.transition=null;try{bt=1,Kt(e,t,n,r)}finally{bt=o,Vt.transition=i}}function qt(e,t,n,r){var o=bt,i=Vt.transition;Vt.transition=null;try{bt=4,Kt(e,t,n,r)}finally{bt=o,Vt.transition=i}}function Kt(e,t,n,r){if(Ut){var o=Xt(e,t,n,r);if(null===o)Ur(e,t,r,Gt,n),Dt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return kt=Rt(kt,e,t,n,r,o),!0;case"dragenter":return Mt=Rt(Mt,e,t,n,r,o),!0;case"mouseover":return Tt=Rt(Tt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Pt.set(i,Rt(Pt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,It.set(i,Rt(It.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Dt(e,r),4&t&&-1<zt.indexOf(e)){for(;null!==o;){var i=wo(o);if(null!==i&&Et(i),null===(i=Xt(e,t,n,r))&&Ur(e,t,r,Gt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Ur(e,t,r,null,n)}}var Gt=null;function Xt(e,t,n,r){if(Gt=null,null!==(e=bo(e=Ee(r))))if(null===(t=He(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ve(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Qe:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Jt=null,Qt=null;function en(){if(Qt)return Qt;var e,t,n=Jt,r=n.length,o="value"in Zt?Zt.value:Zt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Qt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return N(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=N({},cn,{view:0,detail:0}),fn=on(dn),hn=N({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:On,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=on(hn),mn=on(N({},hn,{dataTransfer:0})),vn=on(N({},dn,{relatedTarget:0})),gn=on(N({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=N({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),wn=on(N({},cn,{data:0})),En={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function On(){return _n}var Cn=N({},dn,{key:function(e){if(e.key){var t=En[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:On,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),An=on(Cn),kn=on(N({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Mn=on(N({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:On})),Tn=on(N({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=N({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),In=on(Pn),jn=[9,13,27,32],zn=u&&"CompositionEvent"in window,Dn=null;u&&"documentMode"in document&&(Dn=document.documentMode);var Rn=u&&"TextEvent"in window&&!Dn,Nn=u&&(!zn||Dn&&8<Dn&&11>=Dn),$n=String.fromCharCode(32),Fn=!1;function Ln(e,t){switch(e){case"keyup":return-1!==jn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1,Vn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Un(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function Wn(e,t,n,r){Ce(r),0<(t=qr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Kn=null;function Gn(e){$r(e,0)}function Xn(e){if(K(Eo(e)))return e}function Yn(e,t){if("change"===e)return t}var Zn=!1;if(u){var Jn;if(u){var Qn="oninput"in document;if(!Qn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Qn="function"==typeof er.oninput}Jn=Qn}else Jn=!1;Zn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Kn=qn=null)}function nr(e){if("value"===e.propertyName&&Xn(Kn)){var t=[];Wn(t,Kn,e,Ee(e)),Pe(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Kn)}function ir(e,t){if("click"===e)return Xn(t)}function ar(e,t){if("input"===e||"change"===e)return Xn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==G(r)||(r="selectionStart"in(r=vr)&&hr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=qr(gr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function Er(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:Er("Animation","AnimationEnd"),animationiteration:Er("Animation","AnimationIteration"),animationstart:Er("Animation","AnimationStart"),transitionend:Er("Transition","TransitionEnd")},Sr={},_r={};function Or(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in _r)return Sr[e]=n[t];return e}u&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Cr=Or("animationend"),Ar=Or("animationiteration"),kr=Or("animationstart"),Mr=Or("transitionend"),Tr=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ir(e,t){Tr.set(e,t),l(t,[e])}for(var jr=0;jr<Pr.length;jr++){var zr=Pr[jr];Ir(zr.toLowerCase(),"on"+(zr[0].toUpperCase()+zr.slice(1)))}Ir(Cr,"onAnimationEnd"),Ir(Ar,"onAnimationIteration"),Ir(kr,"onAnimationStart"),Ir("dblclick","onDoubleClick"),Ir("focusin","onFocus"),Ir("focusout","onBlur"),Ir(Mr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Rr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dr));function Nr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,l,c){if(Be.apply(this,arguments),Re){if(!Re)throw Error(i(198));var u=Ne;Re=!1,Ne=null,$e||($e=!0,Fe=u)}}(r,t,void 0,e),e.currentTarget=null}function $r(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Nr(o,s,c),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Nr(o,s,c),i=l}}}if($e)throw e=Fe,$e=!1,Fe=null,e}function Fr(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Vr(t,e,2,!1),n.add(r))}function Lr(e,t,n){var r=0;t&&(r|=4),Vr(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[Br]){e[Br]=!0,a.forEach((function(t){"selectionchange"!==t&&(Rr.has(t)||Lr(t,!1,e),Lr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Br]||(t[Br]=!0,Lr("selectionchange",!1,t))}}function Vr(e,t,n,r){switch(Yt(t)){case 1:var o=Wt;break;case 4:o=qt;break;default:o=Kt}n=o.bind(null,t,n,e),o=void 0,!je||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ur(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=bo(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}Pe((function(){var r=i,o=Ee(n),a=[];e:{var s=Tr.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=An;break;case"focusin":c="focus",l=vn;break;case"focusout":c="blur",l=vn;break;case"beforeblur":case"afterblur":l=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Mn;break;case Cr:case Ar:case kr:l=gn;break;case Mr:l=Tn;break;case"scroll":l=fn;break;case"wheel":l=In;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=kn}var u=!!(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var h,p=r;null!==p;){var m=(h=p).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==f&&null!=(m=Ie(p,f))&&u.push(Wr(p,m,h))),d)break;p=p.return}0<u.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===we||!(c=n.relatedTarget||n.fromElement)||!bo(c)&&!c[mo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?bo(c):null)&&(c!==(d=He(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=pn,m="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=kn,m="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==l?s:Eo(l),h=null==c?s:Eo(c),(s=new u(m,p+"leave",l,n,o)).target=d,s.relatedTarget=h,m=null,bo(o)===r&&((u=new u(f,p+"enter",c,n,o)).target=h,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(f=c,p=0,h=u=l;h;h=Kr(h))p++;for(h=0,m=f;m;m=Kr(m))h++;for(;0<p-h;)u=Kr(u),p--;for(;0<h-p;)f=Kr(f),h--;for(;p--;){if(u===f||null!==f&&u===f.alternate)break e;u=Kr(u),f=Kr(f)}u=null}else u=null;null!==l&&Gr(a,s,l,u,!1),null!==c&&null!==d&&Gr(a,d,c,u,!0)}if("select"===(l=(s=r?Eo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var v=Yn;else if(Un(s))if(Zn)v=ar;else{v=or;var g=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(v=ir);switch(v&&(v=v(e,r))?Wn(a,v,n,o):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&ee(s,"number",s.value)),g=r?Eo(r):window,e){case"focusin":(Un(g)||"true"===g.contentEditable)&&(vr=g,gr=r,yr=null);break;case"focusout":yr=gr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(a,n,o)}var y;if(zn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Hn?Ln(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Nn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Hn&&(y=en()):(Jt="value"in(Zt=o)?Zt.value:Zt.textContent,Hn=!0)),0<(g=qr(r,b)).length&&(b=new wn(b,e,null,n,o),a.push({event:b,listeners:g}),(y||null!==(y=Bn(n)))&&(b.data=y))),(y=Rn?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(Fn=!0,$n);case"textInput":return(e=t.data)===$n&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!zn&&Ln(e,t)?(e=en(),Qt=Jt=Zt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Nn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=qr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y)}$r(a,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ie(e,n))&&r.unshift(Wr(e,i,o)),null!=(i=Ie(e,t))&&r.push(Wr(e,i,o))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Ie(n,i))&&a.unshift(Wr(n,l,s)):o||null!=(l=Ie(n,i))&&a.push(Wr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Xr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Xr,"\n").replace(Yr,"")}function Jr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(i(425))}function Qr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Ht(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ht(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),ho="__reactFiber$"+fo,po="__reactProps$"+fo,mo="__reactContainer$"+fo,vo="__reactEvents$"+fo,go="__reactListeners$"+fo,yo="__reactHandles$"+fo;function bo(e){var t=e[ho];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[ho]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[ho])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function wo(e){return!(e=e[ho]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Eo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function xo(e){return e[po]||null}var So=[],_o=-1;function Oo(e){return{current:e}}function Co(e){0>_o||(e.current=So[_o],So[_o]=null,_o--)}function Ao(e,t){_o++,So[_o]=e.current,e.current=t}var ko={},Mo=Oo(ko),To=Oo(!1),Po=ko;function Io(e,t){var n=e.type.contextTypes;if(!n)return ko;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function jo(e){return null!=e.childContextTypes}function zo(){Co(To),Co(Mo)}function Do(e,t,n){if(Mo.current!==ko)throw Error(i(168));Ao(Mo,t),Ao(To,n)}function Ro(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,V(e)||"Unknown",o));return N({},n,r)}function No(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ko,Po=Mo.current,Ao(Mo,e),Ao(To,To.current),!0}function $o(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Ro(e,t,Po),r.__reactInternalMemoizedMergedChildContext=e,Co(To),Co(Mo),Ao(Mo,e)):Co(To),Ao(To,n)}var Fo=null,Lo=!1,Bo=!1;function Ho(e){null===Fo?Fo=[e]:Fo.push(e)}function Vo(){if(!Bo&&null!==Fo){Bo=!0;var e=0,t=bt;try{var n=Fo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fo=null,Lo=!1}catch(t){throw null!==Fo&&(Fo=Fo.slice(e+1)),Ke(Qe,Vo),t}finally{bt=t,Bo=!1}}return null}var Uo=[],Wo=0,qo=null,Ko=0,Go=[],Xo=0,Yo=null,Zo=1,Jo="";function Qo(e,t){Uo[Wo++]=Ko,Uo[Wo++]=qo,qo=e,Ko=t}function ei(e,t,n){Go[Xo++]=Zo,Go[Xo++]=Jo,Go[Xo++]=Yo,Yo=e;var r=Zo;e=Jo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Zo=1<<32-at(t)+o|n<<o|r,Jo=i+e}else Zo=1<<i|n<<o|r,Jo=e}function ti(e){null!==e.return&&(Qo(e,1),ei(e,1,0))}function ni(e){for(;e===qo;)qo=Uo[--Wo],Uo[Wo]=null,Ko=Uo[--Wo],Uo[Wo]=null;for(;e===Yo;)Yo=Go[--Xo],Go[Xo]=null,Jo=Go[--Xo],Go[Xo]=null,Zo=Go[--Xo],Go[Xo]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Ic(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Yo?{id:Zo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ic(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ci(e){return!(!(1&e.mode)||128&e.flags)}function ui(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(ci(e))throw Error(i(418));t=co(n.nextSibling);var r=ri;t&&li(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ci(e))throw hi(),Error(i(418));for(;t;)si(e,t),t=co(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?co(e.stateNode.nextSibling):null;return!0}function hi(){for(var e=oi;e;)e=co(e.nextSibling)}function pi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var vi=w.ReactCurrentBatchConfig;function gi(e,t){if(e&&e.defaultProps){for(var n in t=N({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yi=Oo(null),bi=null,wi=null,Ei=null;function xi(){Ei=wi=bi=null}function Si(e){var t=yi.current;Co(yi),e._currentValue=t}function _i(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Oi(e,t){bi=e,Ei=wi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(ws=!0),e.firstContext=null)}function Ci(e){var t=e._currentValue;if(Ei!==e)if(e={context:e,memoizedValue:t,next:null},null===wi){if(null===bi)throw Error(i(308));wi=e,bi.dependencies={lanes:0,firstContext:e}}else wi=wi.next=e;return t}var Ai=null;function ki(e){null===Ai?Ai=[e]:Ai.push(e)}function Mi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,ki(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ti(e,r)}function Ti(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Pi=!1;function Ii(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ji(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function zi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Di(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ml){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ti(e,n)}return null===(o=r.interleaved)?(t.next=t,ki(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ti(e,n)}function Ri(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Ni(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function $i(e,t,n,r){var o=e.updateQueue;Pi=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?i=c:a.next=c,a=l;var u=e.alternate;null!==u&&(s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l)}if(null!==i){var d=o.baseState;for(a=0,u=c=l=null,s=i;;){var f=s.lane,h=s.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,m=s;switch(f=t,h=n,m.tag){case 1:if("function"==typeof(p=m.payload)){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(f="function"==typeof(p=m.payload)?p.call(h,d,f):p))break e;d=N({},d,f);break e;case 2:Pi=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=h,l=d):u=u.next=h,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Nl|=a,e.lanes=a,e.memoizedState=d}}function Fi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var Li=(new r.Component).refs;function Bi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:N({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Hi={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=zi(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Di(e,i,o))&&(rc(t,e,o,r),Ri(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),o=nc(e),i=zi(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Di(e,i,o))&&(rc(t,e,o,r),Ri(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),o=zi(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Di(e,o,r))&&(rc(t,e,r,n),Ri(t,e,r))}};function Vi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&lr(n,r)&&lr(o,i))}function Ui(e,t,n){var r=!1,o=ko,i=t.contextType;return"object"==typeof i&&null!==i?i=Ci(i):(o=jo(t)?Po:Mo.current,i=(r=null!=(r=t.contextTypes))?Io(e,o):ko),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Hi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Wi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Hi.enqueueReplaceState(t,t.state,null)}function qi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Li,Ii(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ci(i):(i=jo(t)?Po:Mo.current,o.context=Io(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Bi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Hi.enqueueReplaceState(o,o.state,null),$i(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Ki(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Li&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Gi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xi(e){return(0,e._init)(e._payload)}function Yi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=zc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=$c(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===I&&Xi(i)===t.type)?((r=o(t,n.props)).ref=Ki(e,t,n),r.return=e,r):((r=Dc(n.type,n.key,n.props,null,e.mode,r)).ref=Ki(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Fc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Rc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=$c(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case E:return(n=Dc(t.type,t.key,t.props,null,e.mode,n)).ref=Ki(e,null,t),n.return=e,n;case x:return(t=Fc(t,e.mode,n)).return=e,t;case I:return f(e,(0,t._init)(t._payload),n)}if(te(t)||D(t))return(t=Rc(t,e.mode,n,null)).return=e,t;Gi(e,t)}return null}function h(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case E:return n.key===o?c(e,t,n,r):null;case x:return n.key===o?u(e,t,n,r):null;case I:return h(e,t,(o=n._init)(n._payload),r)}if(te(n)||D(n))return null!==o?null:d(e,t,n,r,null);Gi(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case E:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case I:return p(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||D(r))return d(t,e=e.get(n)||null,r,o,null);Gi(t,r)}return null}function m(o,i,s,l){for(var c=null,u=null,d=i,m=i=0,v=null;null!==d&&m<s.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=h(o,d,s[m],l);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(o,d),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g,d=v}if(m===s.length)return n(o,d),ii&&Qo(o,m),c;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(i=a(d,i,m),null===u?c=d:u.sibling=d,u=d);return ii&&Qo(o,m),c}for(d=r(o,d);m<s.length;m++)null!==(v=p(d,o,m,s[m],l))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v);return e&&d.forEach((function(e){return t(o,e)})),ii&&Qo(o,m),c}function v(o,s,l,c){var u=D(l);if("function"!=typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,m=s,v=s=0,g=null,y=l.next();null!==m&&!y.done;v++,y=l.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=h(o,m,y.value,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(o,m),s=a(b,s,v),null===d?u=b:d.sibling=b,d=b,m=g}if(y.done)return n(o,m),ii&&Qo(o,v),u;if(null===m){for(;!y.done;v++,y=l.next())null!==(y=f(o,y.value,c))&&(s=a(y,s,v),null===d?u=y:d.sibling=y,d=y);return ii&&Qo(o,v),u}for(m=r(o,m);!y.done;v++,y=l.next())null!==(y=p(m,o,v,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=a(y,s,v),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),ii&&Qo(o,v),u}return function e(r,i,a,l){if("object"==typeof a&&null!==a&&a.type===S&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case E:e:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===S){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===I&&Xi(c)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=Ki(r,u,a),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===S?((i=Rc(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Dc(a.type,a.key,a.props,null,r.mode,l)).ref=Ki(r,i,a),l.return=r,r=l)}return s(r);case x:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Fc(a,r.mode,l)).return=r,r=i}return s(r);case I:return e(r,i,(u=a._init)(a._payload),l)}if(te(a))return m(r,i,a,l);if(D(a))return v(r,i,a,l);Gi(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=$c(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var Zi=Yi(!0),Ji=Yi(!1),Qi={},ea=Oo(Qi),ta=Oo(Qi),na=Oo(Qi);function ra(e){if(e===Qi)throw Error(i(174));return e}function oa(e,t){switch(Ao(na,t),Ao(ta,e),Ao(ea,Qi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Co(ea),Ao(ea,t)}function ia(){Co(ea),Co(ta),Co(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=le(t,e.type);t!==n&&(Ao(ta,e),Ao(ea,n))}function sa(e){ta.current===e&&(Co(ea),Co(ta))}var la=Oo(0);function ca(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ua=[];function da(){for(var e=0;e<ua.length;e++)ua[e]._workInProgressVersionPrimary=null;ua.length=0}var fa=w.ReactCurrentDispatcher,ha=w.ReactCurrentBatchConfig,pa=0,ma=null,va=null,ga=null,ya=!1,ba=!1,wa=0,Ea=0;function xa(){throw Error(i(321))}function Sa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function _a(e,t,n,r,o,a){if(pa=a,ma=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ss:ls,e=n(r,o),ba){a=0;do{if(ba=!1,wa=0,25<=a)throw Error(i(301));a+=1,ga=va=null,t.updateQueue=null,fa.current=cs,e=n(r,o)}while(ba)}if(fa.current=as,t=null!==va&&null!==va.next,pa=0,ga=va=ma=null,ya=!1,t)throw Error(i(300));return e}function Oa(){var e=0!==wa;return wa=0,e}function Ca(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ga?ma.memoizedState=ga=e:ga=ga.next=e,ga}function Aa(){if(null===va){var e=ma.alternate;e=null!==e?e.memoizedState:null}else e=va.next;var t=null===ga?ma.memoizedState:ga.next;if(null!==t)ga=t,va=e;else{if(null===e)throw Error(i(310));e={memoizedState:(va=e).memoizedState,baseState:va.baseState,baseQueue:va.baseQueue,queue:va.queue,next:null},null===ga?ma.memoizedState=ga=e:ga=ga.next=e}return ga}function ka(e,t){return"function"==typeof t?t(e):t}function Ma(e){var t=Aa(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=va,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((pa&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=f,s=r):c=c.next=f,ma.lanes|=d,Nl|=d}u=u.next}while(null!==u&&u!==a);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(ws=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,ma.lanes|=a,Nl|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ta(e){var t=Aa(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(ws=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Pa(){}function Ia(e,t){var n=ma,r=Aa(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,ws=!0),r=r.queue,Ua(Da.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ga&&1&ga.memoizedState.tag){if(n.flags|=2048,Fa(9,za.bind(null,n,r,o,t),void 0,null),null===Tl)throw Error(i(349));30&pa||ja(n,t,o)}return o}function ja(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function za(e,t,n,r){t.value=n,t.getSnapshot=r,Ra(t)&&Na(e)}function Da(e,t,n){return n((function(){Ra(t)&&Na(e)}))}function Ra(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Na(e){var t=Ti(e,1);null!==t&&rc(t,e,1,-1)}function $a(e){var t=Ca();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,ma,e),[t.memoizedState,e]}function Fa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function La(){return Aa().memoizedState}function Ba(e,t,n,r){var o=Ca();ma.flags|=e,o.memoizedState=Fa(1|t,n,void 0,void 0===r?null:r)}function Ha(e,t,n,r){var o=Aa();r=void 0===r?null:r;var i=void 0;if(null!==va){var a=va.memoizedState;if(i=a.destroy,null!==r&&Sa(r,a.deps))return void(o.memoizedState=Fa(t,n,i,r))}ma.flags|=e,o.memoizedState=Fa(1|t,n,i,r)}function Va(e,t){return Ba(8390656,8,e,t)}function Ua(e,t){return Ha(2048,8,e,t)}function Wa(e,t){return Ha(4,2,e,t)}function qa(e,t){return Ha(4,4,e,t)}function Ka(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ga(e,t,n){return n=null!=n?n.concat([e]):null,Ha(4,4,Ka.bind(null,t,e),n)}function Xa(){}function Ya(e,t){var n=Aa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Za(e,t){var n=Aa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ja(e,t,n){return 21&pa?(sr(n,t)||(n=mt(),ma.lanes|=n,Nl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ws=!0),e.memoizedState=n)}function Qa(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ha.transition;ha.transition={};try{e(!1),t()}finally{bt=n,ha.transition=r}}function es(){return Aa().memoizedState}function ts(e,t,n){var r=nc(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e)?os(t,n):null!==(n=Mi(e,t,n,r))&&(rc(n,e,r,tc()),is(n,t,r))}function ns(e,t,n){var r=nc(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(o.next=o,ki(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Mi(e,t,o,r))&&(rc(n,e,r,o=tc()),is(n,t,r))}}function rs(e){var t=e.alternate;return e===ma||null!==t&&t===ma}function os(e,t){ba=ya=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function is(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var as={readContext:Ci,useCallback:xa,useContext:xa,useEffect:xa,useImperativeHandle:xa,useInsertionEffect:xa,useLayoutEffect:xa,useMemo:xa,useReducer:xa,useRef:xa,useState:xa,useDebugValue:xa,useDeferredValue:xa,useTransition:xa,useMutableSource:xa,useSyncExternalStore:xa,useId:xa,unstable_isNewReconciler:!1},ss={readContext:Ci,useCallback:function(e,t){return Ca().memoizedState=[e,void 0===t?null:t],e},useContext:Ci,useEffect:Va,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ba(4194308,4,Ka.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ba(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ba(4,2,e,t)},useMemo:function(e,t){var n=Ca();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ca();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,ma,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ca().memoizedState=e},useState:$a,useDebugValue:Xa,useDeferredValue:function(e){return Ca().memoizedState=e},useTransition:function(){var e=$a(!1),t=e[0];return e=Qa.bind(null,e[1]),Ca().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ma,o=Ca();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Tl)throw Error(i(349));30&pa||ja(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Va(Da.bind(null,r,a,e),[e]),r.flags|=2048,Fa(9,za.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ca(),t=Tl.identifierPrefix;if(ii){var n=Jo;t=":"+t+"R"+(n=(Zo&~(1<<32-at(Zo)-1)).toString(32)+n),0<(n=wa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Ea++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:Ci,useCallback:Ya,useContext:Ci,useEffect:Ua,useImperativeHandle:Ga,useInsertionEffect:Wa,useLayoutEffect:qa,useMemo:Za,useReducer:Ma,useRef:La,useState:function(){return Ma(ka)},useDebugValue:Xa,useDeferredValue:function(e){return Ja(Aa(),va.memoizedState,e)},useTransition:function(){return[Ma(ka)[0],Aa().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Ia,useId:es,unstable_isNewReconciler:!1},cs={readContext:Ci,useCallback:Ya,useContext:Ci,useEffect:Ua,useImperativeHandle:Ga,useInsertionEffect:Wa,useLayoutEffect:qa,useMemo:Za,useReducer:Ta,useRef:La,useState:function(){return Ta(ka)},useDebugValue:Xa,useDeferredValue:function(e){var t=Aa();return null===va?t.memoizedState=e:Ja(t,va.memoizedState,e)},useTransition:function(){return[Ta(ka)[0],Aa().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Ia,useId:es,unstable_isNewReconciler:!1};function us(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var hs="function"==typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=zi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wl||(Wl=!0,ql=r),fs(0,t)},n}function ms(e,t,n){(n=zi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fs(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===Kl?Kl=new Set([this]):Kl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Cc.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=zi(-1,1)).tag=2,Di(n,t,1))),n.lanes|=1),e)}var bs=w.ReactCurrentOwner,ws=!1;function Es(e,t,n,r){t.child=null===e?Ji(t,null,n,r):Zi(t,e.child,n,r)}function xs(e,t,n,r,o){n=n.render;var i=t.ref;return Oi(t,o),r=_a(e,t,n,r,i,o),n=Oa(),null===e||ws?(ii&&n&&ti(t),t.flags|=1,Es(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ws(e,t,o))}function Ss(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||jc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Dc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,_s(e,t,i,r,o))}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return Ws(e,t,o)}return t.flags|=1,(e=zc(i,r)).ref=t.ref,e.return=t,t.child=e}function _s(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(ws=!1,t.pendingProps=r=i,!(e.lanes&o))return t.lanes=e.lanes,Ws(e,t,o);131072&e.flags&&(ws=!0)}}return As(e,t,n,r,o)}function Os(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ao(zl,jl),jl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Ao(zl,jl),jl|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ao(zl,jl),jl|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ao(zl,jl),jl|=r;return Es(e,t,o,n),t.child}function Cs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function As(e,t,n,r,o){var i=jo(n)?Po:Mo.current;return i=Io(t,i),Oi(t,o),n=_a(e,t,n,r,i,o),r=Oa(),null===e||ws?(ii&&r&&ti(t),t.flags|=1,Es(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ws(e,t,o))}function ks(e,t,n,r,o){if(jo(n)){var i=!0;No(t)}else i=!1;if(Oi(t,o),null===t.stateNode)Us(e,t),Ui(t,n,r),qi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;c="object"==typeof c&&null!==c?Ci(c):Io(t,c=jo(n)?Po:Mo.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&Wi(t,a,r,c),Pi=!1;var f=t.memoizedState;a.state=f,$i(t,r,a,o),l=t.memoizedState,s!==r||f!==l||To.current||Pi?("function"==typeof u&&(Bi(t,n,u,r),l=t.memoizedState),(s=Pi||Vi(t,n,s,r,f,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ji(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:gi(t.type,s),a.props=c,d=t.pendingProps,f=a.context,l="object"==typeof(l=n.contextType)&&null!==l?Ci(l):Io(t,l=jo(n)?Po:Mo.current);var h=n.getDerivedStateFromProps;(u="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||f!==l)&&Wi(t,a,r,l),Pi=!1,f=t.memoizedState,a.state=f,$i(t,r,a,o);var p=t.memoizedState;s!==d||f!==p||To.current||Pi?("function"==typeof h&&(Bi(t,n,h,r),p=t.memoizedState),(c=Pi||Vi(t,n,c,r,f,p,l)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ms(e,t,n,r,i,o)}function Ms(e,t,n,r,o,i){Cs(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&$o(t,n,!1),Ws(e,t,i);r=t.stateNode,bs.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Zi(t,e.child,null,i),t.child=Zi(t,null,s,i)):Es(e,t,s,i),t.memoizedState=r.state,o&&$o(t,n,!0),t.child}function Ts(e){var t=e.stateNode;t.pendingContext?Do(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Do(0,t.context,!1),oa(e,t.containerInfo)}function Ps(e,t,n,r,o){return pi(),mi(o),t.flags|=256,Es(e,t,n,r),t.child}var Is,js,zs,Ds,Rs={dehydrated:null,treeContext:null,retryLane:0};function Ns(e){return{baseLanes:e,cachePool:null,transitions:null}}function $s(e,t,n){var r,o=t.pendingProps,a=la.current,s=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ao(la,1&a),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},1&o||null===s?s=Nc(l,o,0,null):(s.childLanes=0,s.pendingProps=l),e=Rc(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ns(n),t.memoizedState=Rs,e):Fs(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Ls(e,t,s,r=ds(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Nc({mode:"visible",children:r.children},o,0,null),(a=Rc(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,1&t.mode&&Zi(t,e.child,null,s),t.child.memoizedState=Ns(s),t.memoizedState=Rs,a);if(!(1&t.mode))return Ls(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Ls(e,t,s,r=ds(a=Error(i(419)),r,void 0))}if(l=!!(s&e.childLanes),ws||l){if(null!==(r=Tl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=o&(r.suspendedLanes|s)?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ti(e,o),rc(r,e,o,-1))}return vc(),Ls(e,t,s,r=ds(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=kc.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=co(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Go[Xo++]=Zo,Go[Xo++]=Jo,Go[Xo++]=Yo,Zo=e.id,Jo=e.overflow,Yo=t),(t=Fs(t,r.children)).flags|=4096,t)}(e,t,l,o,r,a,n);if(s){s=o.fallback,l=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 1&l||t.child===a?(o=zc(a,c)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null),null!==r?s=zc(r,s):(s=Rc(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Ns(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Rs,o}return e=(s=e.child).sibling,o=zc(s,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Fs(e,t){return(t=Nc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ls(e,t,n,r){return null!==r&&mi(r),Zi(t,e.child,null,n),(e=Fs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),_i(e.return,t,n)}function Hs(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Vs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Es(e,t,r.children,n),2&(r=la.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bs(e,n,t);else if(19===e.tag)Bs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ao(la,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ca(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Hs(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ca(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Hs(t,!0,n,null,i);break;case"together":Hs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Us(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ws(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Nl|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=zc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=zc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function qs(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ks(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gs(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ks(t),null;case 1:case 17:return jo(t.type)&&zo(),Ks(t),null;case 3:return r=t.stateNode,ia(),Co(To),Co(Mo),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ai&&(sc(ai),ai=null))),js(e,t),Ks(t),null;case 5:sa(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)zs(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ks(t),null}if(e=ra(ea.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[ho]=t,r[po]=a,e=!!(1&t.mode),n){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(o=0;o<Dr.length;o++)Fr(Dr[o],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":Y(r,a),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Fr("invalid",r);break;case"textarea":oe(r,a),Fr("invalid",r)}for(var l in ye(n,a),o=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,c,e),o=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,c,e),o=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Fr("scroll",r)}switch(n){case"input":q(r),Q(r,a,!0);break;case"textarea":q(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Qr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ho]=t,e[po]=r,Is(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Fr("cancel",e),Fr("close",e),o=r;break;case"iframe":case"object":case"embed":Fr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Dr.length;o++)Fr(Dr[o],e);o=r;break;case"source":Fr("error",e),o=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),o=r;break;case"details":Fr("toggle",e),o=r;break;case"input":Y(e,r),o=X(e,r),Fr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=N({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Fr("invalid",e)}for(a in ye(n,o),c=o)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?ve(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"==typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"==typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Fr("scroll",e):null!=u&&b(e,a,u,l))}switch(n){case"input":q(e),Q(e,r,!1);break;case"textarea":q(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+U(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Qr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ks(t),null;case 6:if(e&&null!=t.stateNode)Ds(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[ho]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Jr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,!!(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ho]=t,t.stateNode=r}return Ks(t),null;case 13:if(Co(la),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&1&t.mode&&!(128&t.flags))hi(),pi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[ho]=t}else pi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ks(t),a=!1}else null!==ai&&(sc(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&la.current?0===Dl&&(Dl=3):vc())),null!==t.updateQueue&&(t.flags|=4),Ks(t),null);case 4:return ia(),js(e,t),null===e&&Hr(t.stateNode.containerInfo),Ks(t),null;case 10:return Si(t.type._context),Ks(t),null;case 19:if(Co(la),null===(a=t.memoizedState))return Ks(t),null;if(r=!!(128&t.flags),null===(l=a.rendering))if(r)qs(a,!1);else{if(0!==Dl||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ca(e))){for(t.flags|=128,qs(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ao(la,1&la.current|2),t.child}e=e.sibling}null!==a.tail&&Ze()>Vl&&(t.flags|=128,r=!0,qs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ca(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),qs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return Ks(t),null}else 2*Ze()-a.renderingStartTime>Vl&&1073741824!==n&&(t.flags|=128,r=!0,qs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ze(),t.sibling=null,n=la.current,Ao(la,r?1&n|2:1&n),t):(Ks(t),null);case 22:case 23:return fc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&jl)&&(Ks(t),6&t.subtreeFlags&&(t.flags|=8192)):Ks(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Xs(e,t){switch(ni(t),t.tag){case 1:return jo(t.type)&&zo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),Co(To),Co(Mo),da(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(Co(la),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));pi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Co(la),null;case 4:return ia(),null;case 10:return Si(t.type._context),null;case 22:case 23:return fc(),null;default:return null}}Is=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},js=function(){},zs=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=X(e,o),r=X(e,r),a=[];break;case"select":o=N({},o,{value:void 0}),r=N({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Qr)}for(u in ye(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Fr("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Ds=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Zs=!1,Js="function"==typeof WeakSet?WeakSet:Set,Qs=null;function el(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Oc(e,t,n)}else n.current=null}function tl(e,t,n){try{n()}catch(n){Oc(e,t,n)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&tl(t,n,i)}o=o.next}while(o!==r)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[ho],delete t[po],delete t[vo],delete t[go],delete t[yo]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Qr));else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}var dl=null,fl=!1;function hl(e,t,n){for(n=n.child;null!==n;)pl(e,t,n),n=n.sibling}function pl(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Zs||el(n,t);case 6:var r=dl,o=fl;dl=null,hl(e,t,n),fl=o,null!==(dl=r)&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),Ht(e)):lo(dl,n.stateNode));break;case 4:r=dl,o=fl,dl=n.stateNode.containerInfo,fl=!0,hl(e,t,n),dl=r,fl=o;break;case 0:case 11:case 14:case 15:if(!Zs&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&tl(n,t,a),o=o.next}while(o!==r)}hl(e,t,n);break;case 1:if(!Zs&&(el(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Oc(n,t,e)}hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:1&n.mode?(Zs=(r=Zs)||null!==n.memoizedState,hl(e,t,n),Zs=r):hl(e,t,n);break;default:hl(e,t,n)}}function ml(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Js),t.forEach((function(t){var r=Mc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,fl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,fl=!0;break e}l=l.return}if(null===dl)throw Error(i(160));pl(a,s,o),dl=null,fl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(e){Oc(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vl(t,e),yl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(t){Oc(e,e.return,t)}try{rl(5,e,e.return)}catch(t){Oc(e,e.return,t)}}break;case 1:vl(t,e),yl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(vl(t,e),yl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(t){Oc(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&Z(o,a),be(l,s);var u=be(l,a);for(s=0;s<c.length;s+=2){var d=c[s],f=c[s+1];"style"===d?ve(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,u)}switch(l){case"input":J(o,a);break;case"textarea":ie(o,a);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?ne(o,!!a.multiple,p,!1):h!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[po]=a}catch(t){Oc(e,e.return,t)}}break;case 6:if(vl(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Oc(e,e.return,t)}}break;case 3:if(vl(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(t){Oc(e,e.return,t)}break;case 4:default:vl(t,e),yl(e);break;case 13:vl(t,e),yl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Hl=Ze())),4&r&&ml(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Zs=(u=Zs)||d,vl(t,e),Zs=u):vl(t,e),yl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Qs=e,d=e.child;null!==d;){for(f=Qs=d;null!==Qs;){switch(p=(h=Qs).child,h.tag){case 0:case 11:case 14:case 15:rl(4,h,h.return);break;case 1:el(h,h.return);var m=h.stateNode;if("function"==typeof m.componentWillUnmount){r=h,n=h.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Oc(r,n,e)}}break;case 5:el(h,h.return);break;case 22:if(null!==h.memoizedState){xl(f);continue}}null!==p?(p.return=h,Qs=p):xl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,u?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=f.stateNode,s=null!=(c=f.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(t){Oc(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(t){Oc(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vl(t,e),yl(e),4&r&&ml(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),ul(e,ll(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;cl(e,ll(e),a);break;default:throw Error(i(161))}}catch(t){Oc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Qs=e,wl(e,t,n)}function wl(e,t,n){for(var r=!!(1&e.mode);null!==Qs;){var o=Qs,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Ys;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Zs;s=Ys;var c=Zs;if(Ys=a,(Zs=l)&&!c)for(Qs=o;null!==Qs;)l=(a=Qs).child,22===a.tag&&null!==a.memoizedState?Sl(o):null!==l?(l.return=a,Qs=l):Sl(o);for(;null!==i;)Qs=i,wl(i,t,n),i=i.sibling;Qs=o,Ys=s,Zs=c}El(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Qs=i):El(e)}}function El(e){for(;null!==Qs;){var t=Qs;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Zs||ol(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Zs)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:gi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Fi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Fi(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ht(f)}}}break;default:throw Error(i(163))}Zs||512&t.flags&&il(t)}catch(e){Oc(t,t.return,e)}}if(t===e){Qs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Qs=n;break}Qs=t.return}}function xl(e){for(;null!==Qs;){var t=Qs;if(t===e){Qs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Qs=n;break}Qs=t.return}}function Sl(e){for(;null!==Qs;){var t=Qs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(e){Oc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Oc(t,o,e)}}var i=t.return;try{il(t)}catch(e){Oc(t,i,e)}break;case 5:var a=t.return;try{il(t)}catch(e){Oc(t,a,e)}}}catch(e){Oc(t,t.return,e)}if(t===e){Qs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Qs=s;break}Qs=t.return}}var _l,Ol=Math.ceil,Cl=w.ReactCurrentDispatcher,Al=w.ReactCurrentOwner,kl=w.ReactCurrentBatchConfig,Ml=0,Tl=null,Pl=null,Il=0,jl=0,zl=Oo(0),Dl=0,Rl=null,Nl=0,$l=0,Fl=0,Ll=null,Bl=null,Hl=0,Vl=1/0,Ul=null,Wl=!1,ql=null,Kl=null,Gl=!1,Xl=null,Yl=0,Zl=0,Jl=null,Ql=-1,ec=0;function tc(){return 6&Ml?Ze():-1!==Ql?Ql:Ql=Ze()}function nc(e){return 1&e.mode?2&Ml&&0!==Il?Il&-Il:null!==vi.transition?(0===ec&&(ec=mt()),ec):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function rc(e,t,n,r){if(50<Zl)throw Zl=0,Jl=null,Error(i(185));gt(e,n,r),2&Ml&&e===Tl||(e===Tl&&(!(2&Ml)&&($l|=n),4===Dl&&lc(e,Il)),oc(e,r),1===n&&0===Ml&&!(1&t.mode)&&(Vl=Ze()+500,Lo&&Vo()))}function oc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?s&n&&!(s&r)||(o[a]=ht(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ft(e,e===Tl?Il:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Lo=!0,Ho(e)}(cc.bind(null,e)):Ho(cc.bind(null,e)),ao((function(){!(6&Ml)&&Vo()})),n=null;else{switch(wt(r)){case 1:n=Qe;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Tc(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Ql=-1,ec=0,6&Ml)throw Error(i(327));var n=e.callbackNode;if(Sc()&&e.callbackNode!==n)return null;var r=ft(e,e===Tl?Il:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=gc(e,r);else{t=r;var o=Ml;Ml|=2;var a=mc();for(Tl===e&&Il===t||(Ul=null,Vl=Ze()+500,hc(e,t));;)try{bc();break}catch(t){pc(e,t)}xi(),Cl.current=a,Ml=o,null!==Pl?t=0:(Tl=null,Il=0,t=Dl)}if(0!==t){if(2===t&&0!==(o=pt(e))&&(r=o,t=ac(e,o)),1===t)throw n=Rl,hc(e,0),lc(e,r),oc(e,Ze()),n;if(6===t)lc(e,r);else{if(o=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=gc(e,r),2===t&&(a=pt(e),0!==a&&(r=a,t=ac(e,a))),1!==t)))throw n=Rl,hc(e,0),lc(e,r),oc(e,Ze()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:xc(e,Bl,Ul);break;case 3:if(lc(e,r),(130023424&r)===r&&10<(t=Hl+500-Ze())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(xc.bind(null,e,Bl,Ul),t);break}xc(e,Bl,Ul);break;case 4:if(lc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ol(r/1960))-r)){e.timeoutHandle=ro(xc.bind(null,e,Bl,Ul),r);break}xc(e,Bl,Ul);break;default:throw Error(i(329))}}}return oc(e,Ze()),e.callbackNode===n?ic.bind(null,e):null}function ac(e,t){var n=Ll;return e.current.memoizedState.isDehydrated&&(hc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Bl,Bl=n,null!==t&&sc(t)),e}function sc(e){null===Bl?Bl=e:Bl.push.apply(Bl,e)}function lc(e,t){for(t&=~Fl,t&=~$l,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(6&Ml)throw Error(i(327));Sc();var t=ft(e,0);if(!(1&t))return oc(e,Ze()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=ac(e,r))}if(1===n)throw n=Rl,hc(e,0),lc(e,t),oc(e,Ze()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e,Bl,Ul),oc(e,Ze()),null}function uc(e,t){var n=Ml;Ml|=1;try{return e(t)}finally{0===(Ml=n)&&(Vl=Ze()+500,Lo&&Vo())}}function dc(e){null!==Xl&&0===Xl.tag&&!(6&Ml)&&Sc();var t=Ml;Ml|=1;var n=kl.transition,r=bt;try{if(kl.transition=null,bt=1,e)return e()}finally{bt=r,kl.transition=n,!(6&(Ml=t))&&Vo()}}function fc(){jl=zl.current,Co(zl)}function hc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Pl)for(n=Pl.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&zo();break;case 3:ia(),Co(To),Co(Mo),da();break;case 5:sa(r);break;case 4:ia();break;case 13:case 19:Co(la);break;case 10:Si(r.type._context);break;case 22:case 23:fc()}n=n.return}if(Tl=e,Pl=e=zc(e.current,null),Il=jl=t,Dl=0,Rl=null,Fl=$l=Nl=0,Bl=Ll=null,null!==Ai){for(t=0;t<Ai.length;t++)if(null!==(r=(n=Ai[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Ai=null}return e}function pc(e,t){for(;;){var n=Pl;try{if(xi(),fa.current=as,ya){for(var r=ma.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ya=!1}if(pa=0,ga=va=ma=null,ba=!1,wa=0,Al.current=null,null===n||null===n.return){Dl=1,Rl=t,Pl=null;break}e:{var a=e,s=n.return,l=n,c=t;if(t=Il,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=gs(s);if(null!==p){p.flags&=-257,ys(p,s,l,0,t),1&p.mode&&vs(a,u,t),c=u;var m=(t=p).updateQueue;if(null===m){var v=new Set;v.add(c),t.updateQueue=v}else m.add(c);break e}if(!(1&t)){vs(a,u,t),vc();break e}c=Error(i(426))}else if(ii&&1&l.mode){var g=gs(s);if(null!==g){!(65536&g.flags)&&(g.flags|=256),ys(g,s,l,0,t),mi(us(c,l));break e}}a=c=us(c,l),4!==Dl&&(Dl=2),null===Ll?Ll=[a]:Ll.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Ni(a,ps(0,c,t));break e;case 1:l=c;var y=a.type,b=a.stateNode;if(!(128&a.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Kl&&Kl.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Ni(a,ms(a,l,t));break e}}a=a.return}while(null!==a)}Ec(n)}catch(e){t=e,Pl===n&&null!==n&&(Pl=n=n.return);continue}break}}function mc(){var e=Cl.current;return Cl.current=as,null===e?as:e}function vc(){0!==Dl&&3!==Dl&&2!==Dl||(Dl=4),null===Tl||!(268435455&Nl)&&!(268435455&$l)||lc(Tl,Il)}function gc(e,t){var n=Ml;Ml|=2;var r=mc();for(Tl===e&&Il===t||(Ul=null,hc(e,t));;)try{yc();break}catch(t){pc(e,t)}if(xi(),Ml=n,Cl.current=r,null!==Pl)throw Error(i(261));return Tl=null,Il=0,Dl}function yc(){for(;null!==Pl;)wc(Pl)}function bc(){for(;null!==Pl&&!Xe();)wc(Pl)}function wc(e){var t=_l(e.alternate,e,jl);e.memoizedProps=e.pendingProps,null===t?Ec(e):Pl=t,Al.current=null}function Ec(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Xs(n,t)))return n.flags&=32767,void(Pl=n);if(null===e)return Dl=6,void(Pl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Gs(n,t,jl)))return void(Pl=n);if(null!==(t=t.sibling))return void(Pl=t);Pl=t=e}while(null!==t);0===Dl&&(Dl=5)}function xc(e,t,n){var r=bt,o=kl.transition;try{kl.transition=null,bt=1,function(e,t,n,r){do{Sc()}while(null!==Xl);if(6&Ml)throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Tl&&(Pl=Tl=null,Il=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Gl||(Gl=!0,Tc(tt,(function(){return Sc(),null}))),a=!!(15990&n.flags),15990&n.subtreeFlags||a){a=kl.transition,kl.transition=null;var s=bt;bt=1;var l=Ml;Ml|=4,Al.current=null,function(e,t){if(eo=Ut,hr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==a||0!==r&&3!==f.nodeType||(c=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++u===o&&(l=s),h===a&&++d===r&&(c=s),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Ut=!1,Qs=t;null!==Qs;)if(e=(t=Qs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Qs=e;else for(;null!==Qs;){t=Qs;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:gi(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(e){Oc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Qs=e;break}Qs=t.return}m=nl,nl=!1}(e,n),gl(n,e),pr(to),Ut=!!eo,to=eo=null,e.current=n,bl(n,e,o),Ye(),Ml=l,bt=s,kl.transition=a}else e.current=n;if(Gl&&(Gl=!1,Xl=e,Yl=o),0===(a=e.pendingLanes)&&(Kl=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),oc(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(Wl)throw Wl=!1,e=ql,ql=null,e;!!(1&Yl)&&0!==e.tag&&Sc(),1&(a=e.pendingLanes)?e===Jl?Zl++:(Zl=0,Jl=e):Zl=0,Vo()}(e,t,n,r)}finally{kl.transition=o,bt=r}return null}function Sc(){if(null!==Xl){var e=wt(Yl),t=kl.transition,n=bt;try{if(kl.transition=null,bt=16>e?16:e,null===Xl)var r=!1;else{if(e=Xl,Xl=null,Yl=0,6&Ml)throw Error(i(331));var o=Ml;for(Ml|=4,Qs=e.current;null!==Qs;){var a=Qs,s=a.child;if(16&Qs.flags){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Qs=u;null!==Qs;){var d=Qs;switch(d.tag){case 0:case 11:case 15:rl(8,d,a)}var f=d.child;if(null!==f)f.return=d,Qs=f;else for(;null!==Qs;){var h=(d=Qs).sibling,p=d.return;if(al(d),d===u){Qs=null;break}if(null!==h){h.return=p,Qs=h;break}Qs=p}}}var m=a.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Qs=a}}if(2064&a.subtreeFlags&&null!==s)s.return=a,Qs=s;else e:for(;null!==Qs;){if(2048&(a=Qs).flags)switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Qs=y;break e}Qs=a.return}}var b=e.current;for(Qs=b;null!==Qs;){var w=(s=Qs).child;if(2064&s.subtreeFlags&&null!==w)w.return=s,Qs=w;else e:for(s=b;null!==Qs;){if(2048&(l=Qs).flags)try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(e){Oc(l,l.return,e)}if(l===s){Qs=null;break e}var E=l.sibling;if(null!==E){E.return=l.return,Qs=E;break e}Qs=l.return}}if(Ml=o,Vo(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{bt=n,kl.transition=t}}return!1}function _c(e,t,n){e=Di(e,t=ps(0,t=us(n,t),1),1),t=tc(),null!==e&&(gt(e,1,t),oc(e,t))}function Oc(e,t,n){if(3===e.tag)_c(e,e,n);else for(;null!==t;){if(3===t.tag){_c(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Kl||!Kl.has(r))){t=Di(t,e=ms(t,e=us(n,e),1),1),e=tc(),null!==t&&(gt(t,1,e),oc(t,e));break}}t=t.return}}function Cc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,Tl===e&&(Il&n)===n&&(4===Dl||3===Dl&&(130023424&Il)===Il&&500>Ze()-Hl?hc(e,0):Fl|=n),oc(e,t)}function Ac(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=tc();null!==(e=Ti(e,t))&&(gt(e,t,n),oc(e,n))}function kc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ac(e,n)}function Mc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Ac(e,n)}function Tc(e,t){return Ke(e,t)}function Pc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ic(e,t,n,r){return new Pc(e,t,n,r)}function jc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function zc(e,t){var n=e.alternate;return null===n?((n=Ic(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Dc(e,t,n,r,o,a){var s=2;if(r=e,"function"==typeof e)jc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Rc(n.children,o,a,t);case _:s=8,o|=8;break;case O:return(e=Ic(12,n,t,2|o)).elementType=O,e.lanes=a,e;case M:return(e=Ic(13,n,t,o)).elementType=M,e.lanes=a,e;case T:return(e=Ic(19,n,t,o)).elementType=T,e.lanes=a,e;case j:return Nc(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:s=10;break e;case A:s=9;break e;case k:s=11;break e;case P:s=14;break e;case I:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Ic(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Rc(e,t,n,r){return(e=Ic(7,e,r,t)).lanes=n,e}function Nc(e,t,n,r){return(e=Ic(22,e,r,t)).elementType=j,e.lanes=n,e.stateNode={isHidden:!1},e}function $c(e,t,n){return(e=Ic(6,e,null,t)).lanes=n,e}function Fc(e,t,n){return(t=Ic(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Lc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bc(e,t,n,r,o,i,a,s,l){return e=new Lc(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Ic(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ii(i),e}function Hc(e){if(!e)return ko;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(jo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(jo(n))return Ro(e,n,t)}return t}function Vc(e,t,n,r,o,i,a,s,l){return(e=Bc(n,r,!0,e,0,i,0,s,l)).context=Hc(null),n=e.current,(i=zi(r=tc(),o=nc(n))).callback=null!=t?t:null,Di(n,i,o),e.current.lanes=o,gt(e,o,r),oc(e,r),e}function Uc(e,t,n,r){var o=t.current,i=tc(),a=nc(o);return n=Hc(n),null===t.context?t.context=n:t.pendingContext=n,(t=zi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Di(o,t,a))&&(rc(e,o,a,i),Ri(e,o,a)),a}function Wc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Kc(e,t){qc(e,t),(e=e.alternate)&&qc(e,t)}_l=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||To.current)ws=!0;else{if(!(e.lanes&n||128&t.flags))return ws=!1,function(e,t,n){switch(t.tag){case 3:Ts(t),pi();break;case 5:aa(t);break;case 1:jo(t.type)&&No(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Ao(yi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ao(la,1&la.current),t.flags|=128,null):n&t.child.childLanes?$s(e,t,n):(Ao(la,1&la.current),null!==(e=Ws(e,t,n))?e.sibling:null);Ao(la,1&la.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return Vs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ao(la,la.current),r)break;return null;case 22:case 23:return t.lanes=0,Os(e,t,n)}return Ws(e,t,n)}(e,t,n);ws=!!(131072&e.flags)}else ws=!1,ii&&1048576&t.flags&&ei(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Us(e,t),e=t.pendingProps;var o=Io(t,Mo.current);Oi(t,n),o=_a(null,t,r,e,o,n);var a=Oa();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,jo(r)?(a=!0,No(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ii(t),o.updater=Hi,t.stateNode=o,o._reactInternals=t,qi(t,r,e,n),t=Ms(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),Es(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Us(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return jc(e)?1:0;if(null!=e){if((e=e.$$typeof)===k)return 11;if(e===P)return 14}return 2}(r),e=gi(r,e),o){case 0:t=As(null,t,r,e,n);break e;case 1:t=ks(null,t,r,e,n);break e;case 11:t=xs(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,gi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,As(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 1:return r=t.type,o=t.pendingProps,ks(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 3:e:{if(Ts(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,ji(e,t),$i(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ps(e,t,r,n,o=us(Error(i(423)),t));break e}if(r!==o){t=Ps(e,t,r,n,o=us(Error(i(424)),t));break e}for(oi=co(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Ji(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(pi(),r===o){t=Ws(e,t,n);break e}Es(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),Cs(e,t),Es(e,t,s,n),t.child;case 6:return null===e&&ui(t),null;case 13:return $s(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Zi(t,null,r,n):Es(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,xs(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 7:return Es(e,t,t.pendingProps,n),t.child;case 8:case 12:return Es(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Ao(yi,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!To.current){t=Ws(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=zi(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),_i(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),_i(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}Es(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Oi(t,n),r=r(o=Ci(o)),t.flags|=1,Es(e,t,r,n),t.child;case 14:return o=gi(r=t.type,t.pendingProps),Ss(e,t,r,o=gi(r.type,o),n);case 15:return _s(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gi(r,o),Us(e,t),t.tag=1,jo(r)?(e=!0,No(t)):e=!1,Oi(t,n),Ui(t,r,o),qi(t,r,o,n),Ms(null,t,r,!0,e,n);case 19:return Vs(e,t,n);case 22:return Os(e,t,n)}throw Error(i(156,t.tag))};var Gc="function"==typeof reportError?reportError:function(e){console.error(e)};function Xc(e){this._internalRoot=e}function Yc(e){this._internalRoot=e}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Jc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Qc(){}function eu(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var s=o;o=function(){var e=Wc(a);s.call(e)}}Uc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Wc(a);i.call(e)}}var a=Vc(t,r,e,0,null,!1,0,"",Qc);return e._reactRootContainer=a,e[mo]=a.current,Hr(8===e.nodeType?e.parentNode:e),dc(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=Wc(l);s.call(e)}}var l=Bc(e,0,!1,null,0,!1,0,"",Qc);return e._reactRootContainer=l,e[mo]=l.current,Hr(8===e.nodeType?e.parentNode:e),dc((function(){Uc(t,l,n,r)})),l}(n,t,e,o,r);return Wc(a)}Yc.prototype.render=Xc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Uc(e,t,null,null)},Yc.prototype.unmount=Xc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){Uc(null,e,null,null)})),t[mo]=null}},Yc.prototype.unstable_scheduleHydration=function(e){if(e){var t=_t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<jt.length&&0!==t&&t<jt[n].priority;n++);jt.splice(n,0,e),0===n&&Nt(e)}},Et=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),oc(t,Ze()),!(6&Ml)&&(Vl=Ze()+500,Vo()))}break;case 13:dc((function(){var t=Ti(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Kc(e,1)}},xt=function(e){if(13===e.tag){var t=Ti(e,134217728);null!==t&&rc(t,e,134217728,tc()),Kc(e,134217728)}},St=function(e){if(13===e.tag){var t=nc(e),n=Ti(e,t);null!==n&&rc(n,e,t,tc()),Kc(e,t)}},_t=function(){return bt},Ot=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},xe=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=xo(r);if(!o)throw Error(i(90));K(r),J(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},ke=uc,Me=dc;var tu={usingClientEntryPoint:!1,Events:[wo,Eo,xo,Ce,Ae,uc]},nu={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ou.isDisabled&&ou.supportsFiber)try{ot=ou.inject(ru),it=ou}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Zc(e))throw Error(i(299));var n=!1,r="",o=Gc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Bc(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Xc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Jc(t))throw Error(i(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Zc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Gc;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Vc(t,null,e,1,null!=n?n:null,o,0,a,s),e[mo]=t.current,Hr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Yc(t)},t.render=function(e,t,n){if(!Jc(t))throw Error(i(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Jc(e))throw Error(i(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Jc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},5338:(e,t,n)=>{"use strict";var r=n(40961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},40961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(22551)},73413:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(96540),o=n(5556),i=n.n(o);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=function(e){var t,n;function o(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(s(t)),t.handleErrored=t.handleErrored.bind(s(t)),t.handleChange=t.handleChange.bind(s(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(s(t)),t}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=o.prototype;return i.getValue=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this.props.grecaptcha.getResponse(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},i.execute=function(){var e=this.props.grecaptcha;if(e&&void 0!==this._widgetId)return e.execute(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var e=this;return new Promise((function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()}))},i.reset=function(){this.props.grecaptcha&&void 0!==this._widgetId&&this.props.grecaptcha.reset(this._widgetId)},i.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},i.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},i.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){if(this.props.grecaptcha&&this.props.grecaptcha.render&&void 0===this._widgetId){var e=document.createElement("div");this._widgetId=this.props.grecaptcha.render(e,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge}),this.captcha.appendChild(e)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.componentWillUnmount=function(){void 0!==this._widgetId&&(this.delayOfCaptchaIframeRemoving(),this.reset())},i.delayOfCaptchaIframeRemoving=function(){var e=document.createElement("div");for(document.body.appendChild(e),e.style.display="none";this.captcha.firstChild;)e.appendChild(this.captcha.firstChild);setTimeout((function(){document.body.removeChild(e)}),5e3)},i.handleRecaptchaRef=function(e){this.captcha=e},i.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl"]));return r.createElement("div",a({},t,{ref:this.handleRecaptchaRef}))},o}(r.Component);l.displayName="ReCAPTCHA",l.propTypes={sitekey:i().string.isRequired,onChange:i().func,grecaptcha:i().object,theme:i().oneOf(["dark","light"]),type:i().oneOf(["image","audio"]),tabindex:i().number,onExpired:i().func,onErrored:i().func,size:i().oneOf(["compact","normal","invisible"]),stoken:i().string,hl:i().string,badge:i().oneOf(["bottomright","bottomleft","inline"])},l.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var c=n(4146),u=n.n(c);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}var f={},h=0,p="onloadcallback";const m=(v=function(){return"https://"+(("undefined"!=typeof window&&window.recaptchaOptions||{}).useRecaptchaNet?"recaptcha.net":"www.google.com")+"/recaptcha/api.js?onload="+p+"&render=explicit"},g=(g={callbackName:p,globalName:"grecaptcha"})||{},function(e){var t=e.displayName||e.name||"Component",n=function(t){var n,o;function i(e,n){var r;return(r=t.call(this,e,n)||this).state={},r.__scriptURL="",r}o=t,(n=i).prototype=Object.create(o.prototype),n.prototype.constructor=n,n.__proto__=o;var a=i.prototype;return a.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+h++),this.__scriptLoaderID},a.setupScriptURL=function(){return this.__scriptURL=v(),this.__scriptURL},a.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,(function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)}))},a.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=f[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[g.callbackName]},a.componentDidMount=function(){var e=this,t=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),r=g,o=r.globalName,i=r.callbackName,a=r.scriptId;if(o&&void 0!==window[o]&&(f[t]={loaded:!0,observers:{}}),f[t]){var s=f[t];return s&&(s.loaded||s.errored)?void this.asyncScriptLoaderHandleLoad(s):void(s.observers[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var l={};l[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)},f[t]={loaded:!1,observers:l};var c=document.createElement("script");for(var u in c.src=t,c.async=!0,g.attributes)c.setAttribute(u,g.attributes[u]);a&&(c.id=a);var d=function(e){if(f[t]){var n=f[t].observers;for(var r in n)e(n[r])&&delete n[r]}};i&&"undefined"!=typeof window&&(window[i]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),c.onload=function(){var e=f[t];e&&(e.loaded=!0,d((function(t){return!i&&(t(e),!0)})))},c.onerror=function(){var e=f[t];e&&(e.errored=!0,d((function(t){return t(e),!0})))},document.body.appendChild(c)},a.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===g.removeOnUnmount)for(var t=document.getElementsByTagName("script"),n=0;n<t.length;n+=1)t[n].src.indexOf(e)>-1&&t[n].parentNode&&t[n].parentNode.removeChild(t[n]);var r=f[e];r&&(delete r.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===g.removeOnUnmount&&delete f[e])},a.render=function(){var t=g.globalName,n=this.props,o=(n.asyncScriptOnLoad,n.forwardedRef),i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(i[t]=void 0!==window[t]?window[t]:void 0),i.ref=o,(0,r.createElement)(e,i)},i}(r.Component),o=(0,r.forwardRef)((function(e,t){return(0,r.createElement)(n,d({},e,{forwardedRef:t}))}));return o.displayName="AsyncScriptLoader("+t+")",o.propTypes={asyncScriptOnLoad:i().func},u()(o,e)})(l);var v,g;const y=m},22799:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case v:case m:case l:return e;default:return t}}case o:return t}}}function x(e){return E(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return x(e)||E(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===f},t.isFragment=function(e){return E(e)===i},t.isLazy=function(e){return E(e)===v},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===o},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===a},t.isSuspense=function(e){return E(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=E},44363:(e,t,n)=>{"use strict";e.exports=n(22799)},54625:(e,t,n)=>{"use strict";n.d(t,{Kd:()=>u,N_:()=>v,k2:()=>b});var r=n(56347),o=n(77387),i=n(96540),a=n(17929),s=n(58168),l=n(98587),c=n(11561),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,a.zR)(t.props),t}return(0,o.A)(t,e),t.prototype.render=function(){return i.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(i.Component);i.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,a.yJ)(e,null,null,t):e},h=function(e){return e},p=i.forwardRef;void 0===p&&(p=h);var m=p((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,a=(0,l.A)(e,["innerRef","navigate","onClick"]),c=a.target,u=(0,s.A)({},a,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=h!==p&&t||n,i.createElement("a",u)})),v=p((function(e,t){var n=e.component,o=void 0===n?m:n,u=e.replace,v=e.to,g=e.innerRef,y=(0,l.A)(e,["component","replace","to","innerRef"]);return i.createElement(r.XZ.Consumer,null,(function(e){e||(0,c.A)(!1);var n=e.history,r=f(d(v,e.location),e.location),l=r?n.createHref(r):"",m=(0,s.A)({},y,{href:l,navigate:function(){var t=d(v,e.location),r=(0,a.AO)(e.location)===(0,a.AO)(f(t));(u||r?n.replace:n.push)(t)}});return h!==p?m.ref=t||g:m.innerRef=g,i.createElement(o,m)}))})),g=function(e){return e},y=i.forwardRef;void 0===y&&(y=g);var b=y((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,a=e.activeClassName,u=void 0===a?"active":a,h=e.activeStyle,p=e.className,m=e.exact,b=e.isActive,w=e.location,E=e.sensitive,x=e.strict,S=e.style,_=e.to,O=e.innerRef,C=(0,l.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i.createElement(r.XZ.Consumer,null,(function(e){e||(0,c.A)(!1);var n=w||e.location,a=f(d(_,n),n),l=a.pathname,A=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),k=A?(0,r.B6)(n.pathname,{path:A,exact:m,sensitive:E,strict:x}):null,M=!!(b?b(k,n):k),T="function"==typeof p?p(M):p,P="function"==typeof S?S(M):S;M&&(T=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(T,u),P=(0,s.A)({},P,h));var I=(0,s.A)({"aria-current":M&&o||null,className:T,style:P,to:a},C);return g!==y?I.ref=t||O:I.innerRef=O,i.createElement(v,I)}))}))},56347:(e,t,n)=>{"use strict";n.d(t,{B6:()=>I,Ix:()=>E,W6:()=>N,XG:()=>S,XZ:()=>w,dO:()=>z,g:()=>F,qh:()=>j,rd:()=>k,y:()=>D,zy:()=>$});var r=n(77387),o=n(96540),i=n(5556),a=n.n(i),s=n(17929),l=n(11561),c=n(58168),u=n(8505),d=n.n(u),f=(n(44363),n(98587)),h=n(4146),p=n.n(h),m=1073741823,v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},g=o.createContext||function(e,t){var n,i,s,l="__create-react-context-"+((v[s="__global_unique_id__"]=(v[s]||0)+1)+"__"),c=function(e){function n(){for(var t,n,r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(t=e.call.apply(e,[this].concat(i))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.A)(n,e);var o=n.prototype;return o.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof t?t(r,o):m,0!=(n|=0)&&this.emitter.set(e.value,n))}var i,a},o.render=function(){return this.props.children},n}(o.Component);c.childContextTypes=((n={})[l]=a().object.isRequired,n);var u=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){e.observedBits&n&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var o=n.prototype;return o.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?m:t},o.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?m:e},o.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},o.getValue=function(){return this.context[l]?this.context[l].get():e},o.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return u.contextTypes=((i={})[l]=a().object,i),{Provider:c,Consumer:u}},y=function(e){var t=g();return t.displayName=e,t},b=y("Router-History"),w=y("Router"),E=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o.createElement(w.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(b.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.Component);o.Component;var x=function(e){function t(){return e.apply(this,arguments)||this}(0,r.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(o.Component);function S(e){var t=e.message,n=e.when,r=void 0===n||n;return o.createElement(w.Consumer,null,(function(e){if(e||(0,l.A)(!1),!r||e.staticContext)return null;var n=e.history.block;return o.createElement(x,{onMount:function(e){e.release=n(t)},onUpdate:function(e,r){r.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var _={},O=1e4,C=0;function A(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(_[e])return _[e];var t=d().compile(e);return C<O&&(_[e]=t,C++),t}(e)(t,{pretty:!0})}function k(e){var t=e.computedMatch,n=e.to,r=e.push,i=void 0!==r&&r;return o.createElement(w.Consumer,null,(function(e){e||(0,l.A)(!1);var r=e.history,a=e.staticContext,u=i?r.push:r.replace,d=(0,s.yJ)(t?"string"==typeof n?A(n,t.params):(0,c.A)({},n,{pathname:A(n.pathname,t.params)}):n);return a?(u(d),null):o.createElement(x,{onMount:function(){u(d)},onUpdate:function(e,t){var n=(0,s.yJ)(t.to);(0,s.Fu)(n,(0,c.A)({},d,{key:n.key}))||u(d)},to:n})}))}var M={},T=1e4,P=0;function I(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,s=void 0!==a&&a,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=M[n]||(M[n]={});if(r[e])return r[e];var o=[],i={regexp:d()(e,o,t),keys:o};return P<T&&(r[e]=i,P++),i}(n,{end:i,strict:s,sensitive:c}),o=r.regexp,a=r.keys,l=o.exec(e);if(!l)return null;var u=l[0],f=l.slice(1),h=e===u;return i&&!h?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:h,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var j=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return o.createElement(w.Consumer,null,(function(t){t||(0,l.A)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?I(n.pathname,e.props):t.match,i=(0,c.A)({},t,{location:n,match:r}),a=e.props,s=a.children,u=a.component,d=a.render;return Array.isArray(s)&&function(e){return 0===o.Children.count(e)}(s)&&(s=null),o.createElement(w.Provider,{value:i},i.match?s?"function"==typeof s?s(i):s:u?o.createElement(u,i):d?d(i):null:"function"==typeof s?s(i):null)}))},t}(o.Component);o.Component;var z=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return o.createElement(w.Consumer,null,(function(t){t||(0,l.A)(!1);var n,r,i=e.props.location||t.location;return o.Children.forEach(e.props.children,(function(e){if(null==r&&o.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?I(i.pathname,(0,c.A)({},e.props,{path:a})):t.match}})),r?o.cloneElement(n,{location:i,computedMatch:r}):null}))},t}(o.Component);function D(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,f.A)(t,["wrappedComponentRef"]);return o.createElement(w.Consumer,null,(function(t){return t||(0,l.A)(!1),o.createElement(e,(0,c.A)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,p()(n,e)}var R=o.useContext;function N(){return R(b)}function $(){return R(w).location}function F(){var e=R(w).match;return e?e.params:{}}},9375:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},8505:(e,t,n)=>{var r=n(9375);e.exports=function e(t,n,o){return r(n)||(o=n||o,n=[]),o=o||{},t instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(t,n):r(t)?function(t,n,r){for(var o=[],i=0;i<t.length;i++)o.push(e(t[i],n,r).source);return u(new RegExp("(?:"+o.join("|")+")",d(r)),n)}(t,n,o):function(e,t,n){return f(i(e,n),t,n)}(t,n,o)},e.exports.parse=i,e.exports.compile=function(e,t){return s(i(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,s="",u=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],f=n[1],h=n.index;if(s+=e.slice(a,h),a=h+d.length,f)s+=f[1];else{var p=e[a],m=n[2],v=n[3],g=n[4],y=n[5],b=n[6],w=n[7];s&&(r.push(s),s="");var E=null!=m&&null!=p&&p!==m,x="+"===b||"*"===b,S="?"===b||"*"===b,_=n[2]||u,O=g||y;r.push({name:v||i++,prefix:m||"",delimiter:_,optional:S,repeat:x,partial:E,asterisk:!!w,pattern:O?c(O):w?".*":"[^"+l(_)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",d(t)));return function(t,o){for(var i="",s=t||{},l=(o||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,f=s[u.name];if(null==f){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var h=0;h<f.length;h++){if(d=l(f[h]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===h?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');i+=u.prefix+d}}else i+=u}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)a+=l(c);else{var f=l(c.prefix),h="(?:"+c.pattern+")";t.push(c),c.repeat&&(h+="(?:"+f+h+")*"),a+=h=c.optional?c.partial?f+"("+h+")?":"(?:"+f+"("+h+"))?":f+"("+h+")"}}var p=l(n.delimiter||"/"),m=a.slice(-p.length)===p;return o||(a=(m?a.slice(0,-p.length):a)+"(?:"+p+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+p+"|$)",u(new RegExp("^"+a,d(n)),t)}},28581:(e,t,n)=>{"use strict";n.d(t,{A:()=>A,B:()=>D,C:()=>z,D:()=>j,E:()=>g,F:()=>Te,G:()=>E,H:()=>y,I:()=>O,J:()=>m,K:()=>I,M:()=>W,a:()=>le,b:()=>Z,c:()=>Me,d:()=>he,e:()=>se,f:()=>ve,g:()=>me,h:()=>ce,i:()=>Q,j:()=>ye,k:()=>X,l:()=>de,m:()=>V,n:()=>q,o:()=>Y,p:()=>xe,q:()=>Se,r:()=>R,s:()=>P,t:()=>_e,u:()=>G,v:()=>Ce,w:()=>Ae,x:()=>ke,y:()=>J,z:()=>C});var r=n(89379),o=n(58168),i=n(53440),a=n(5544),s=n(80045),l=n(82284),c=n(64467),u=n(96540),d=n(40961),f=n(18491),h=n(27003),p=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],m=function(){};function v(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function g(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(v(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var y=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,l.A)(e)&&null!==e?[e]:[];var t},b=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=(0,s.A)(e,p);return(0,r.A)({},t)},w=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function E(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function x(e){return E(e)?window.pageYOffset:e.scrollTop}function S(e,t){E(e)?window.scrollTo(0,t):e.scrollTop=t}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:m,o=x(e),i=t-o,a=0;!function t(){var s,l=i*((s=(s=a+=10)/n-1)*s*s+1)+o;S(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function O(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?S(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&S(e,Math.max(t.offsetTop-o,0))}function C(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function A(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var k=!1,M={get passive(){return k=!0}},T="undefined"!=typeof window?window:{};T.addEventListener&&T.removeEventListener&&(T.addEventListener("p",m,M),T.removeEventListener("p",m,!1));var P=k;function I(e){return null!=e}function j(e,t,n){return e?t:n}function z(e){return e}function D(e){return e}var R=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.entries(e).filter((function(e){var t=(0,a.A)(e,1)[0];return!n.includes(t)})).reduce((function(e,t){var n=(0,a.A)(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})},N=["children","innerProps"],$=["children","innerProps"];var F,L,B,H=function(e){return"auto"===e?"bottom":e},V=function(e,t){var n,o=e.placement,i=e.theme,a=i.borderRadius,s=i.spacing,l=i.colors;return(0,r.A)((n={label:"menu"},(0,c.A)(n,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),(0,c.A)(n,"position","absolute"),(0,c.A)(n,"width","100%"),(0,c.A)(n,"zIndex",1),n),t?{}:{backgroundColor:l.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},U=(0,u.createContext)(null),W=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,l=e.menuShouldScrollIntoView,c=e.theme,d=((0,u.useContext)(U)||{}).setPortalPlacement,f=(0,u.useRef)(null),p=(0,u.useState)(o),m=(0,a.A)(p,2),v=m[0],g=m[1],y=(0,u.useState)(null),b=(0,a.A)(y,2),w=b[0],O=b[1],C=c.spacing.controlHeight;return(0,h.A)((function(){var e=f.current;if(e){var t="fixed"===s,r=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,f=n.getBoundingClientRect(),h=f.bottom,p=f.height,m=f.top,v=n.offsetParent.getBoundingClientRect().top,g=a||E(u=l)?window.innerHeight:u.clientHeight,y=x(l),b=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),O=v-w,C=g-m,A=O+y,k=d-y-m,M=h-g+y+b,T=y+m-w,P=160;switch(o){case"auto":case"bottom":if(C>=p)return{placement:"bottom",maxHeight:t};if(k>=p&&!a)return i&&_(l,M,P),{placement:"bottom",maxHeight:t};if(!a&&k>=r||a&&C>=r)return i&&_(l,M,P),{placement:"bottom",maxHeight:a?C-b:k-b};if("auto"===o||a){var I=t,j=a?O:A;return j>=r&&(I=Math.min(j-b-s,t)),{placement:"top",maxHeight:I}}if("bottom"===o)return i&&S(l,M),{placement:"bottom",maxHeight:t};break;case"top":if(O>=p)return{placement:"top",maxHeight:t};if(A>=p&&!a)return i&&_(l,T,P),{placement:"top",maxHeight:t};if(!a&&A>=r||a&&O>=r){var z=t;return(!a&&A>=r||a&&O>=r)&&(z=a?O-w:A-w),i&&_(l,T,P),{placement:"top",maxHeight:z}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}({maxHeight:o,menuEl:e,minHeight:n,placement:i,shouldScroll:l&&!t,isFixedPosition:t,controlHeight:C});g(r.maxHeight),O(r.placement),null==d||d(r.placement)}}),[o,i,s,l,n,d,C]),t({ref:f,placerProps:(0,r.A)((0,r.A)({},e),{},{placement:w||H(i),maxHeight:v})})},q=function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return(0,r.A)({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},K=function(e,t){var n=e.theme,o=n.spacing.baseUnit,i=n.colors;return(0,r.A)({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},G=K,X=K,Y=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},Z=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},J=function(e,t){var n=e.theme.spacing,o=e.isMulti,i=e.hasValue,a=e.selectProps.controlShouldRenderValue;return(0,r.A)({alignItems:"center",display:o&&i&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})},Q=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},ee=["size"],te=["innerProps","isRtl","size"],ne={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},re=function(e){var t=e.size,n=(0,s.A)(e,ee);return(0,i.Y)("svg",(0,o.A)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ne},n))},oe=function(e){return(0,i.Y)(re,(0,o.A)({size:20},e),(0,i.Y)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},ie=function(e){return(0,i.Y)(re,(0,o.A)({size:20},e),(0,i.Y)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},ae=function(e,t){var n=e.isFocused,o=e.theme,i=o.spacing.baseUnit,a=o.colors;return(0,r.A)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*i,":hover":{color:n?a.neutral80:a.neutral40}})},se=ae,le=ae,ce=function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing.baseUnit,a=o.colors;return(0,r.A)({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:2*i,marginTop:2*i})},ue=(0,i.i7)(F||(L=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],B||(B=L.slice(0)),F=Object.freeze(Object.defineProperties(L,{raw:{value:Object.freeze(B)}})))),de=function(e,t){var n=e.isFocused,o=e.size,i=e.theme,a=i.colors,s=i.spacing.baseUnit;return(0,r.A)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*s})},fe=function(e){var t=e.delay,n=e.offset;return(0,i.Y)("span",{css:(0,i.AH)({animation:"".concat(ue," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},he=function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.theme,a=i.colors,s=i.borderRadius,l=i.spacing;return(0,r.A)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:o?a.primary:a.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:o?a.primary:a.neutral30}})},pe=["data"],me=function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},ve=function(e,t){var n=e.theme,o=n.colors,i=n.spacing;return(0,r.A)({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},ge=["innerRef","isDisabled","isHidden","inputClassName"],ye=function(e,t){var n=e.isDisabled,o=e.value,i=e.theme,a=i.spacing,s=i.colors;return(0,r.A)((0,r.A)({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},we),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:s.neutral80})},be={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},we={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,r.A)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},be)},Ee=function(e){return(0,r.A)({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},be)},xe=function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,a=n.colors;return(0,r.A)({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:o.baseUnit/2})},Se=function(e,t){var n=e.theme,o=n.borderRadius,i=n.colors,a=e.cropWithEllipsis;return(0,r.A)({overflow:"hidden",textOverflow:a||void 0===a?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},_e=function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,a=n.colors,s=e.isFocused;return(0,r.A)({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:s?a.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},Oe=function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",n,t)},Ce=function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.isSelected,a=e.theme,s=a.spacing,l=a.colors;return(0,r.A)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?l.primary:o?l.primary25:"transparent",color:n?l.neutral20:i?l.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?l.primary:l.primary50}})},Ae=function(e,t){var n=e.theme,o=n.spacing,i=n.colors;return(0,r.A)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},ke=function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing,a=o.colors;return(0,r.A)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},Me={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({},w(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||(0,i.Y)(oe,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,a=e.innerRef,s=e.innerProps,l=e.menuIsOpen;return(0,i.Y)("div",(0,o.A)({ref:a},w(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":l}),s,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({},w(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||(0,i.Y)(ie,null))},DownChevron:ie,CrossIcon:oe,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,a=e.getClassNames,s=e.Heading,l=e.headingProps,c=e.innerProps,u=e.label,d=e.theme,f=e.selectProps;return(0,i.Y)("div",(0,o.A)({},w(e,"group",{group:!0}),c),(0,i.Y)(s,(0,o.A)({},l,{selectProps:f,theme:d,getStyles:r,getClassNames:a,cx:n}),u),(0,i.Y)("div",null,t))},GroupHeading:function(e){var t=b(e);t.data;var n=(0,s.A)(t,pe);return(0,i.Y)("div",(0,o.A)({},w(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({},w(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return(0,i.Y)("span",(0,o.A)({},t,w(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=b(e),a=r.innerRef,l=r.isDisabled,c=r.isHidden,u=r.inputClassName,d=(0,s.A)(r,ge);return(0,i.Y)("div",(0,o.A)({},w(e,"input",{"input-container":!0}),{"data-value":n||""}),(0,i.Y)("input",(0,o.A)({className:t({input:!0},u),ref:a,style:Ee(c),disabled:l},d)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,a=e.size,l=void 0===a?4:a,c=(0,s.A)(e,te);return(0,i.Y)("div",(0,o.A)({},w((0,r.A)((0,r.A)({},c),{},{innerProps:t,isRtl:n,size:l}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),(0,i.Y)(fe,{delay:0,offset:n}),(0,i.Y)(fe,{delay:160,offset:!0}),(0,i.Y)(fe,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return(0,i.Y)("div",(0,o.A)({},w(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,a=e.isMulti;return(0,i.Y)("div",(0,o.A)({},w(e,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,s=e.controlElement,l=e.innerProps,c=e.menuPlacement,p=e.menuPosition,m=(0,u.useRef)(null),v=(0,u.useRef)(null),g=(0,u.useState)(H(c)),y=(0,a.A)(g,2),b=y[0],E=y[1],x=(0,u.useMemo)((function(){return{setPortalPlacement:E}}),[]),S=(0,u.useState)(null),_=(0,a.A)(S,2),O=_[0],C=_[1],A=(0,u.useCallback)((function(){if(s){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(s),t="fixed"===p?0:window.pageYOffset,n=e[b]+t;n===(null==O?void 0:O.offset)&&e.left===(null==O?void 0:O.rect.left)&&e.width===(null==O?void 0:O.rect.width)||C({offset:n,rect:e})}}),[s,p,b,null==O?void 0:O.offset,null==O?void 0:O.rect.left,null==O?void 0:O.rect.width]);(0,h.A)((function(){A()}),[A]);var k=(0,u.useCallback)((function(){"function"==typeof v.current&&(v.current(),v.current=null),s&&m.current&&(v.current=(0,f.ll)(s,m.current,A,{elementResize:"ResizeObserver"in window}))}),[s,A]);(0,h.A)((function(){k()}),[k]);var M=(0,u.useCallback)((function(e){m.current=e,k()}),[k]);if(!t&&"fixed"!==p||!O)return null;var T=(0,i.Y)("div",(0,o.A)({ref:M},w((0,r.A)((0,r.A)({},e),{},{offset:O.offset,position:p,rect:O.rect}),"menuPortal",{"menu-portal":!0}),l),n);return(0,i.Y)(U.Provider,{value:x},t?(0,d.createPortal)(T,t):T)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,a=e.innerProps,l=(0,s.A)(e,$);return(0,i.Y)("div",(0,o.A)({},w((0,r.A)((0,r.A)({},l),{},{children:n,innerProps:a}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),a),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,a=e.innerProps,l=(0,s.A)(e,N);return(0,i.Y)("div",(0,o.A)({},w((0,r.A)((0,r.A)({},l),{},{children:n,innerProps:a}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),a),n)},MultiValue:function(e){var t=e.children,n=e.components,o=e.data,a=e.innerProps,s=e.isDisabled,l=e.removeProps,c=e.selectProps,u=n.Container,d=n.Label,f=n.Remove;return(0,i.Y)(u,{data:o,innerProps:(0,r.A)((0,r.A)({},w(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),a),selectProps:c},(0,i.Y)(d,{data:o,innerProps:(0,r.A)({},w(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:c},t),(0,i.Y)(f,{data:o,innerProps:(0,r.A)((0,r.A)({},w(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},l),selectProps:c}))},MultiValueContainer:Oe,MultiValueLabel:Oe,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({role:"button"},n),t||(0,i.Y)(oe,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,a=e.isSelected,s=e.innerRef,l=e.innerProps;return(0,i.Y)("div",(0,o.A)({},w(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":a}),{ref:s,"aria-disabled":n},l),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({},w(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,a=e.isRtl;return(0,i.Y)("div",(0,o.A)({},w(e,"container",{"--is-disabled":r,"--is-rtl":a}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return(0,i.Y)("div",(0,o.A)({},w(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,a=e.hasValue;return(0,i.Y)("div",(0,o.A)({},w(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":a}),n),t)}},Te=function(e){return(0,r.A)((0,r.A)({},Me),e.components)}},42029:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>pe});var r=n(89379),o=n(5544),i=n(80045),a=n(96540),s=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"],l=n(58168),c=n(23029),u=n(92901),d=n(85501),f=n(29426),h=n(60436),p=n(28581),m=n(53440),v=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function g(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||v(r)&&v(o)))return!1;var r,o;return!0}for(var y={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},b=function(e){return(0,m.Y)("span",(0,l.A)({css:y},e))},w={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",f="".concat(l?" selected":"").concat(d);return"".concat(i).concat(f,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},E=function(e){var t=e.ariaSelection,n=e.focusedOption,o=e.focusedValue,i=e.focusableOptions,s=e.isFocused,l=e.selectValue,c=e.selectProps,u=e.id,d=e.isAppleDevice,f=c.ariaLiveMessages,h=c.getOptionLabel,p=c.inputValue,v=c.isMulti,g=c.isOptionDisabled,y=c.isSearchable,E=c.menuIsOpen,x=c.options,S=c.screenReaderStatus,_=c.tabSelectsValue,O=c.isLoading,C=c["aria-label"],A=c["aria-live"],k=(0,a.useMemo)((function(){return(0,r.A)((0,r.A)({},w),f||{})}),[f]),M=(0,a.useMemo)((function(){var e,n="";if(t&&k.onChange){var o=t.option,i=t.options,a=t.removedValue,s=t.removedValues,c=t.value,u=a||o||(e=c,Array.isArray(e)?null:e),d=u?h(u):"",f=i||s||void 0,p=f?f.map(h):[],m=(0,r.A)({isDisabled:u&&g(u,l),label:d,labels:p},t);n=k.onChange(m)}return n}),[t,k,g,l,h]),T=(0,a.useMemo)((function(){var e="",t=n||o,r=!!(n&&l&&l.includes(n));if(t&&k.onFocus){var a={focused:t,label:h(t),isDisabled:g(t,l),isSelected:r,options:i,context:t===n?"menu":"value",selectValue:l,isAppleDevice:d};e=k.onFocus(a)}return e}),[n,o,h,g,k,i,l,d]),P=(0,a.useMemo)((function(){var e="";if(E&&x.length&&!O&&k.onFilter){var t=S({count:i.length});e=k.onFilter({inputValue:p,resultsMessage:t})}return e}),[i,p,E,k,x,S,O]),I="initial-input-focus"===(null==t?void 0:t.action),j=(0,a.useMemo)((function(){var e="";if(k.guidance){var t=o?"value":E?"menu":"input";e=k.guidance({"aria-label":C,context:t,isDisabled:n&&g(n,l),isMulti:v,isSearchable:y,tabSelectsValue:_,isInitialFocus:I})}return e}),[C,n,o,v,g,y,E,k,l,_,I]),z=(0,m.Y)(a.Fragment,null,(0,m.Y)("span",{id:"aria-selection"},M),(0,m.Y)("span",{id:"aria-focused"},T),(0,m.Y)("span",{id:"aria-results"},P),(0,m.Y)("span",{id:"aria-guidance"},j));return(0,m.Y)(a.Fragment,null,(0,m.Y)(b,{id:u},I&&z),(0,m.Y)(b,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!I&&z))},x=[{base:"A",letters:"AⒶＡÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷＢḂḄḆɃƂƁ"},{base:"C",letters:"CⒸＣĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹＤḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"ǱǄ"},{base:"Dz",letters:"ǲǅ"},{base:"E",letters:"EⒺＥÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻＦḞƑꝻ"},{base:"G",letters:"GⒼＧǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽＨĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾＩÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿＪĴɈ"},{base:"K",letters:"KⓀＫḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁＬĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"Ǉ"},{base:"Lj",letters:"ǈ"},{base:"M",letters:"MⓂＭḾṀṂⱮƜ"},{base:"N",letters:"NⓃＮǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"Ǌ"},{base:"Nj",letters:"ǋ"},{base:"O",letters:"OⓄＯÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅＰṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆＱꝖꝘɊ"},{base:"R",letters:"RⓇＲŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈＳẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉＴṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊＵÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋＶṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌＷẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍＸẊẌ"},{base:"Y",letters:"YⓎＹỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏＺŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐａẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑｂḃḅḇƀƃɓ"},{base:"c",letters:"cⓒｃćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓｄḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"ǳǆ"},{base:"e",letters:"eⓔｅèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕｆḟƒꝼ"},{base:"g",letters:"gⓖｇǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗｈĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘｉìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙｊĵǰɉ"},{base:"k",letters:"kⓚｋḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛｌŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"ǉ"},{base:"m",letters:"mⓜｍḿṁṃɱɯ"},{base:"n",letters:"nⓝｎǹńñṅňṇņṋṉƞɲŉꞑꞥ"},{base:"nj",letters:"ǌ"},{base:"o",letters:"oⓞｏòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟｐṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠｑɋꝗꝙ"},{base:"r",letters:"rⓡｒŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢｓßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣｔṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤｕùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥｖṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦｗẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧｘẋẍ"},{base:"y",letters:"yⓨｙỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩｚźẑżžẓẕƶȥɀⱬꝣ"}],S=new RegExp("["+x.map((function(e){return e.letters})).join("")+"]","g"),_={},O=0;O<x.length;O++)for(var C=x[O],A=0;A<C.letters.length;A++)_[C.letters[A]]=C.base;var k=function(e){return e.replace(S,(function(e){return _[e]}))},M=function(e,t){void 0===t&&(t=g);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(k),T=function(e){return e.replace(/^\s+|\s+$/g,"")},P=function(e){return"".concat(e.label," ").concat(e.value)},I=["innerRef"];function j(e){var t=e.innerRef,n=(0,i.A)(e,I),r=(0,p.r)(n,"onExited","in","enter","exit","appear");return(0,m.Y)("input",(0,l.A)({ref:t},r,{css:(0,m.AH)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var z=["boxSizing","height","overflow","paddingRight","position"],D={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function R(e){e.preventDefault()}function N(e){e.stopPropagation()}function $(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function F(){return"ontouchstart"in window||navigator.maxTouchPoints}var L=!("undefined"==typeof window||!window.document||!window.document.createElement),B=0,H={capture:!1,passive:!1},V=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},U={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function W(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,s=(0,a.useRef)(!1),l=(0,a.useRef)(!1),c=(0,a.useRef)(0),u=(0,a.useRef)(null),d=(0,a.useCallback)((function(e,t){if(null!==u.current){var a=u.current,c=a.scrollTop,d=a.scrollHeight,f=a.clientHeight,h=u.current,p=t>0,m=d-f-c,v=!1;m>t&&s.current&&(r&&r(e),s.current=!1),p&&l.current&&(i&&i(e),l.current=!1),p&&t>m?(n&&!s.current&&n(e),h.scrollTop=d,v=!0,s.current=!0):!p&&-t>c&&(o&&!l.current&&o(e),h.scrollTop=0,v=!0,l.current=!0),v&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,i]),f=(0,a.useCallback)((function(e){d(e,e.deltaY)}),[d]),h=(0,a.useCallback)((function(e){c.current=e.changedTouches[0].clientY}),[]),m=(0,a.useCallback)((function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)}),[d]),v=(0,a.useCallback)((function(e){if(e){var t=!!p.s&&{passive:!1};e.addEventListener("wheel",f,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",m,t)}}),[m,h,f]),g=(0,a.useCallback)((function(e){e&&(e.removeEventListener("wheel",f,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",m,!1))}),[m,h,f]);return(0,a.useEffect)((function(){if(t){var e=u.current;return v(e),function(){g(e)}}}),[t,v,g]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,a.useRef)({}),i=(0,a.useRef)(null),s=(0,a.useCallback)((function(e){if(L){var t=document.body,n=t&&t.style;if(r&&z.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&B<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(D).forEach((function(e){var t=D[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&F()&&(t.addEventListener("touchmove",R,H),e&&(e.addEventListener("touchstart",$,H),e.addEventListener("touchmove",N,H))),B+=1}}),[r]),l=(0,a.useCallback)((function(e){if(L){var t=document.body,n=t&&t.style;B=Math.max(B-1,0),r&&B<1&&z.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&F()&&(t.removeEventListener("touchmove",R,H),e&&(e.removeEventListener("touchstart",$,H),e.removeEventListener("touchmove",N,H)))}}),[r]);return(0,a.useEffect)((function(){if(t){var e=i.current;return s(e),function(){l(e)}}}),[t,s,l]),function(e){i.current=e}}({isEnabled:n});return(0,m.Y)(a.Fragment,null,n&&(0,m.Y)("div",{onClick:V,css:U}),t((function(e){o(e),i(e)})))}var q={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},K=function(e){var t=e.name,n=e.onFocus;return(0,m.Y)("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:q,value:"",onChange:function(){}})};function G(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function X(){return G(/^Mac/i)}var Y={clearIndicator:p.a,container:p.b,control:p.d,dropdownIndicator:p.e,group:p.g,groupHeading:p.f,indicatorsContainer:p.i,indicatorSeparator:p.h,input:p.j,loadingIndicator:p.l,loadingMessage:p.k,menu:p.m,menuList:p.n,menuPortal:p.o,multiValue:p.p,multiValueLabel:p.q,multiValueRemove:p.t,noOptionsMessage:p.u,option:p.v,placeholder:p.w,singleValue:p.x,valueContainer:p.y},Z={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},J={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,p.z)(),captureMenuScroll:!(0,p.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,r.A)({ignoreCase:!0,ignoreAccents:!0,stringify:P,trim:!0,matchFrom:"any"},undefined),o=n.ignoreCase,i=n.ignoreAccents,a=n.stringify,s=n.trim,l=n.matchFrom,c=s?T(t):t,u=s?T(a(e)):a(e);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=M(c),u=k(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,p.A)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Q(e,t,n,r){return{type:"option",data:t,isDisabled:se(e,t,n),isSelected:le(e,t,n),label:ie(e,t),value:ae(e,t),index:r}}function ee(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return Q(e,n,t,r)})).filter((function(t){return re(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Q(e,n,t,r);return re(e,i)?i:void 0})).filter(p.K)}function te(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,(0,h.A)(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function ne(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,(0,h.A)(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function re(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,s=t.value;return(!ue(e)||!i)&&ce(e,{label:a,value:s,data:o},r)}var oe=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},ie=function(e,t){return e.getOptionLabel(t)},ae=function(e,t){return e.getOptionValue(t)};function se(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function le(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=ae(e,t);return n.some((function(t){return ae(e,t)===r}))}function ce(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ue=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},de=1,fe=function(e){(0,d.A)(n,e);var t=(0,f.A)(n);function n(e){var o;if((0,c.A)(this,n),(o=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.isAppleDevice=X()||G(/^iPhone/i)||G(/^iPad/i)||X()&&navigator.maxTouchPoints>1,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,r=n.onChange,i=n.name;t.name=i,o.ariaOnChange(e,t),r(e,t)},o.setValue=function(e,t,n){var r=o.props,i=r.closeMenuOnSelect,a=r.isMulti,s=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(o.setState({inputIsHiddenAfterUpdate:!a}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,r=t.isMulti,i=t.name,a=o.state.selectValue,s=r&&o.isOptionSelected(e,a),l=o.isOptionDisabled(e,a);if(s){var c=o.getOptionValue(e);o.setValue((0,p.B)(a.filter((function(e){return o.getOptionValue(e)!==c}))),"deselect-option",e)}else{if(l)return void o.ariaOnChange((0,p.C)(e),{action:"select-option",option:e,name:i});r?o.setValue((0,p.B)([].concat((0,h.A)(a),[e])),"select-option",e):o.setValue((0,p.C)(e),"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,r=o.getOptionValue(e),i=n.filter((function(e){return o.getOptionValue(e)!==r})),a=(0,p.D)(t,i,i[0]||null);o.onChange(a,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange((0,p.D)(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],r=t.slice(0,t.length-1),i=(0,p.D)(e,r,r[0]||null);o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return oe(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return ne(ee(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return p.E.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return ie(o.props,e)},o.getOptionValue=function(e){return ae(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=Y[e](t,n);r.boxSizing="border-box";var i=o.props.styles[e];return i?i(r,t):r},o.getClassNames=function(e,t){var n,r;return null===(n=(r=o.props.classNames)[e])||void 0===n?void 0:n.call(r,t)},o.getElementId=function(e){return"".concat(o.state.instancePrefix,"-").concat(e)},o.getComponents=function(){return(0,p.F)(o.props)},o.buildCategorizedOptions=function(){return ee(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return te(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:(0,r.A)({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,r=t.menuIsOpen;o.focusInput(),r?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout((function(){return o.focusInput()})))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,p.G)(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-o.initialTouchX),i=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=r>5||i>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){if(!o.blockOptionHover&&o.state.focusedOption!==e){var t=o.getFocusableOptions().indexOf(e);o.setState({focusedOption:e,focusedOptionId:t>-1?o.getFocusedOptionId(e):null})}},o.shouldHideSelectedOptions=function(){return ue(o.props)},o.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),o.focus()},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,f=t.openMenuOnFocus,h=o.state,p=h.focusedOption,m=h.focusedValue,v=h.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;o.focusValue("previous");break;case"ArrowRight":if(!n||a)return;o.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)o.removeValue(m);else{if(!r)return;n?o.popValue():s&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!c||!d||!p||f&&o.isOptionSelected(p,v))return;o.selectOption(p);break;case"Enter":if(229===e.keyCode)break;if(c){if(!p)return;if(o.isComposing)return;o.selectOption(p);break}return;case"Escape":c?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:a}),o.onMenuClose()):s&&i&&o.clearValue();break;case" ":if(a)return;if(!c){o.openMenu("first");break}if(!p)return;o.selectOption(p);break;case"ArrowUp":c?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":c?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!c)return;o.focusOption("pageup");break;case"PageDown":if(!c)return;o.focusOption("pagedown");break;case"Home":if(!c)return;o.focusOption("first");break;case"End":if(!c)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++de),o.state.selectValue=(0,p.H)(e.value),e.menuIsOpen&&o.state.selectValue.length){var i=o.getFocusableOptionsWithIds(),a=o.buildFocusableOptions(),s=a.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=i,o.state.focusedOption=a[s],o.state.focusedOptionId=oe(i,a[s])}return o}return(0,u.A)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&(0,p.I)(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,p.I)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Z):(0,r.A)((0,r.A)({},Z),this.props.theme):Z}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return se(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return le(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ce(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,i=e.inputValue,s=e.tabIndex,c=e.form,u=e.menuIsOpen,d=e.required,f=this.getComponents().Input,h=this.state,m=h.inputIsHidden,v=h.ariaSelection,g=this.commonProps,y=o||this.getElementId("input"),b=(0,r.A)((0,r.A)((0,r.A)({"aria-autocomplete":"list","aria-expanded":u,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":d,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},u&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==v?void 0:v.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?a.createElement(f,(0,l.A)({},g,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:t,isHidden:m,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:c,type:"text",value:i},b)):a.createElement(j,(0,l.A)({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:p.J,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:c,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,s=t.SingleValue,c=t.Placeholder,u=this.commonProps,d=this.props,f=d.controlShouldRenderValue,h=d.isDisabled,p=d.isMulti,m=d.inputValue,v=d.placeholder,g=this.state,y=g.selectValue,b=g.focusedValue,w=g.isFocused;if(!this.hasValue()||!f)return m?null:a.createElement(c,(0,l.A)({},u,{key:"placeholder",isDisabled:h,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),v);if(p)return y.map((function(t,s){var c=t===b,d="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return a.createElement(n,(0,l.A)({},u,{components:{Container:r,Label:o,Remove:i},isFocused:c,isDisabled:h,key:d,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var E=y[0];return a.createElement(s,(0,l.A)({},u,{data:E,isDisabled:h}),this.formatOptionLabel(E,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return a.createElement(e,(0,l.A)({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;return e&&o?a.createElement(e,(0,l.A)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return a.createElement(n,(0,l.A)({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return a.createElement(e,(0,l.A)({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,s=t.MenuPortal,c=t.LoadingMessage,u=t.NoOptionsMessage,d=t.Option,f=this.commonProps,h=this.state.focusedOption,m=this.props,v=m.captureMenuScroll,g=m.inputValue,y=m.isLoading,b=m.loadingMessage,w=m.minMenuHeight,E=m.maxMenuHeight,x=m.menuIsOpen,S=m.menuPlacement,_=m.menuPosition,O=m.menuPortalTarget,C=m.menuShouldBlockScroll,A=m.menuShouldScrollIntoView,k=m.noOptionsMessage,M=m.onMenuScrollToTop,T=m.onMenuScrollToBottom;if(!x)return null;var P,I=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,s=t.isSelected,c=t.label,u=t.value,p=h===o,m=i?void 0:function(){return e.onOptionHover(o)},v=i?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),y={id:g,onClick:v,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:s};return a.createElement(d,(0,l.A)({},f,{innerProps:y,data:o,isDisabled:i,isSelected:s,key:g,label:c,type:r,value:u,isFocused:p,innerRef:p?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())P=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,i=t.options,s=t.index,c="".concat(e.getElementId("group"),"-").concat(s),u="".concat(c,"-heading");return a.createElement(n,(0,l.A)({},f,{key:c,data:o,options:i,Heading:r,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return I(e,"".concat(s,"-").concat(e.index))})))}if("option"===t.type)return I(t,"".concat(t.index))}));else if(y){var j=b({inputValue:g});if(null===j)return null;P=a.createElement(c,f,j)}else{var z=k({inputValue:g});if(null===z)return null;P=a.createElement(u,f,z)}var D={minMenuHeight:w,maxMenuHeight:E,menuPlacement:S,menuPosition:_,menuShouldScrollIntoView:A},R=a.createElement(p.M,(0,l.A)({},f,D),(function(t){var n=t.ref,r=t.placerProps,s=r.placement,c=r.maxHeight;return a.createElement(o,(0,l.A)({},f,D,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:y,placement:s}),a.createElement(W,{captureEnabled:v,onTopArrive:M,onBottomArrive:T,lockEnabled:C},(function(t){return a.createElement(i,(0,l.A)({},f,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":f.isMulti,id:e.getElementId("listbox")},isLoading:y,maxHeight:c,focusedOption:h}),P)})))}));return O||"fixed"===_?a.createElement(s,(0,l.A)({},f,{appendTo:O,controlElement:this.controlRef,menuPlacement:S,menuPosition:_}),R):R}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!r)return a.createElement(K,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var c=l.map((function(t){return e.getOptionValue(t)})).join(n);return a.createElement("input",{name:i,type:"hidden",value:c})}var u=l.length>0?l.map((function(t,n){return a.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):a.createElement("input",{name:i,type:"hidden",value:""});return a.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return a.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,s=t.selectValue,c=this.getFocusableOptions();return a.createElement(E,(0,l.A)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:s,focusableOptions:c,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,s=i.className,c=i.id,u=i.isDisabled,d=i.menuIsOpen,f=this.state.isFocused,h=this.commonProps=this.getCommonProps();return a.createElement(r,(0,l.A)({},h,{className:s,innerProps:{id:c,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:f}),this.renderLiveRegion(),a.createElement(t,(0,l.A)({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:f,menuIsOpen:d}),a.createElement(o,(0,l.A)({},h,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),a.createElement(n,(0,l.A)({},h,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,s=t.isFocused,l=t.prevWasFocused,c=t.instancePrefix,u=e.options,d=e.value,f=e.menuIsOpen,h=e.inputValue,m=e.isMulti,v=(0,p.H)(d),g={};if(n&&(d!==n.value||u!==n.options||f!==n.menuIsOpen||h!==n.inputValue)){var y=f?function(e,t){return te(ee(e,t))}(e,v):[],b=f?ne(ee(e,v),"".concat(c,"-option")):[],w=o?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,v):null,E=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,y);g={selectValue:v,focusedOption:E,focusedOptionId:oe(b,E),focusableOptionsWithIds:b,focusedValue:w,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},S=a,_=s&&l;return s&&!_&&(S={value:(0,p.D)(m,v,v[0]||null),options:v,action:"initial-input-focus"},_=!l),"initial-input-focus"===(null==a?void 0:a.action)&&(S=null),(0,r.A)((0,r.A)((0,r.A)({},g),x),{},{prevProps:e,ariaSelection:S,prevWasFocused:_})}}]),n}(a.Component);fe.defaultProps=J,n(84300),n(40961),n(27003);var he=(0,a.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,l=e.defaultMenuIsOpen,c=void 0!==l&&l,u=e.defaultValue,d=void 0===u?null:u,f=e.inputValue,h=e.menuIsOpen,p=e.onChange,m=e.onInputChange,v=e.onMenuClose,g=e.onMenuOpen,y=e.value,b=(0,i.A)(e,s),w=(0,a.useState)(void 0!==f?f:n),E=(0,o.A)(w,2),x=E[0],S=E[1],_=(0,a.useState)(void 0!==h?h:c),O=(0,o.A)(_,2),C=O[0],A=O[1],k=(0,a.useState)(void 0!==y?y:d),M=(0,o.A)(k,2),T=M[0],P=M[1],I=(0,a.useCallback)((function(e,t){"function"==typeof p&&p(e,t),P(e)}),[p]),j=(0,a.useCallback)((function(e,t){var n;"function"==typeof m&&(n=m(e,t)),S(void 0!==n?n:e)}),[m]),z=(0,a.useCallback)((function(){"function"==typeof g&&g(),A(!0)}),[g]),D=(0,a.useCallback)((function(){"function"==typeof v&&v(),A(!1)}),[v]),R=void 0!==f?f:x,N=void 0!==h?h:C,$=void 0!==y?y:T;return(0,r.A)((0,r.A)({},b),{},{inputValue:R,menuIsOpen:N,onChange:I,onInputChange:j,onMenuClose:D,onMenuOpen:z,value:$})}(e);return a.createElement(fe,(0,l.A)({ref:t},n))})),pe=he},69475:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>nt});var r=n(96540),o=n(5556),i=n.n(o),a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty;function c(e,t){return function(n,r,o){return e(n,r,o)&&t(n,r,o)}}function u(e){return function(t,n,r){if(!t||!n||"object"!=typeof t||"object"!=typeof n)return e(t,n,r);var o=r.cache,i=o.get(t),a=o.get(n);if(i&&a)return i===n&&a===t;o.set(t,n),o.set(n,t);var s=e(t,n,r);return o.delete(t),o.delete(n),s}}function d(e){return a(e).concat(s(e))}var f=Object.hasOwn||function(e,t){return l.call(e,t)};function h(e,t){return e||t?e===t:e===t||e!=e&&t!=t}var p="_owner",m=Object.getOwnPropertyDescriptor,v=Object.keys;function g(e,t,n){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function y(e,t){return h(e.getTime(),t.getTime())}function b(e,t,n){if(e.size!==t.size)return!1;for(var r,o,i={},a=e.entries(),s=0;(r=a.next())&&!r.done;){for(var l=t.entries(),c=!1,u=0;(o=l.next())&&!o.done;){var d=r.value,f=d[0],h=d[1],p=o.value,m=p[0],v=p[1];c||i[u]||!(c=n.equals(f,m,s,u,e,t,n)&&n.equals(h,v,f,m,e,t,n))||(i[u]=!0),u++}if(!c)return!1;s++}return!0}function w(e,t,n){var r,o=v(e),i=o.length;if(v(t).length!==i)return!1;for(;i-- >0;){if((r=o[i])===p&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!f(t,r)||!n.equals(e[r],t[r],r,r,e,t,n))return!1}return!0}function E(e,t,n){var r,o,i,a=d(e),s=a.length;if(d(t).length!==s)return!1;for(;s-- >0;){if((r=a[s])===p&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!f(t,r))return!1;if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;if(o=m(e,r),i=m(t,r),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable))return!1}return!0}function x(e,t){return h(e.valueOf(),t.valueOf())}function S(e,t){return e.source===t.source&&e.flags===t.flags}function _(e,t,n){if(e.size!==t.size)return!1;for(var r,o,i={},a=e.values();(r=a.next())&&!r.done;){for(var s=t.values(),l=!1,c=0;(o=s.next())&&!o.done;)l||i[c]||!(l=n.equals(r.value,o.value,r.value,o.value,e,t,n))||(i[c]=!0),c++;if(!l)return!1}return!0}function O(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}var C=Array.isArray,A="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,k=Object.assign,M=Object.prototype.toString.call.bind(Object.prototype.toString),T=P();function P(e){void 0===e&&(e={});var t,n=e.circular,r=void 0!==n&&n,o=e.createInternalComparator,i=e.createState,a=e.strict,s=void 0!==a&&a,l=function(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,o={areArraysEqual:r?E:g,areDatesEqual:y,areMapsEqual:r?c(b,E):b,areObjectsEqual:r?E:w,arePrimitiveWrappersEqual:x,areRegExpsEqual:S,areSetsEqual:r?c(_,E):_,areTypedArraysEqual:r?E:O};if(n&&(o=k({},o,n(o))),t){var i=u(o.areArraysEqual),a=u(o.areMapsEqual),s=u(o.areObjectsEqual),l=u(o.areSetsEqual);o=k({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:s,areSetsEqual:l})}return o}(e),d=function(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areMapsEqual,o=e.areObjectsEqual,i=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,s=e.areSetsEqual,l=e.areTypedArraysEqual;return function(e,c,u){if(e===c)return!0;if(null==e||null==c||"object"!=typeof e||"object"!=typeof c)return e!=e&&c!=c;var d=e.constructor;if(d!==c.constructor)return!1;if(d===Object)return o(e,c,u);if(C(e))return t(e,c,u);if(null!=A&&A(e))return l(e,c,u);if(d===Date)return n(e,c,u);if(d===RegExp)return a(e,c,u);if(d===Map)return r(e,c,u);if(d===Set)return s(e,c,u);var f=M(e);return"[object Date]"===f?n(e,c,u):"[object RegExp]"===f?a(e,c,u):"[object Map]"===f?r(e,c,u):"[object Set]"===f?s(e,c,u):"[object Object]"===f?"function"!=typeof e.then&&"function"!=typeof c.then&&o(e,c,u):"[object Arguments]"===f?o(e,c,u):("[object Boolean]"===f||"[object Number]"===f||"[object String]"===f)&&i(e,c,u)}}(l);return function(e){var t=e.circular,n=e.comparator,r=e.createState,o=e.equals,i=e.strict;if(r)return function(e,a){var s=r(),l=s.cache,c=void 0===l?t?new WeakMap:void 0:l,u=s.meta;return n(e,a,{cache:c,equals:o,meta:u,strict:i})};if(t)return function(e,t){return n(e,t,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(e,t){return n(e,t,a)}}({circular:r,comparator:d,createState:i,equals:o?o(d):(t=d,function(e,n,r,o,i,a,s){return t(e,n,s)}),strict:s})}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1;requestAnimationFrame((function r(o){n<0&&(n=o),o-n>t?(e(o),n=-1):function(e){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(e)}(r)}))}function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function D(){var e=function(){return null},t=!1,n=function n(r){if(!t){if(Array.isArray(r)){if(!r.length)return;var o=function(e){if(Array.isArray(e))return e}(s=r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,t){if(e){if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(e,t):void 0}}(s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o.slice(1);return"number"==typeof i?void I(n.bind(null,a),i):(n(i),void I(n.bind(null,a)))}"object"===j(r)&&e(r),"function"==typeof r&&r()}var s};return{stop:function(){t=!0},start:function(e){t=!1,n(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){F(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function F(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==R(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==R(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===R(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}P({strict:!0}),P({circular:!0}),P({circular:!0,strict:!0}),P({createInternalComparator:function(){return h}}),P({strict:!0,createInternalComparator:function(){return h}}),P({circular:!0,createInternalComparator:function(){return h}}),P({circular:!0,createInternalComparator:function(){return h},strict:!0});var L=function(e){return e},B=function(e,t){return Object.keys(t).reduce((function(n,r){return $($({},n),{},F({},r,e(r,t[r])))}),{})},H=function(e,t,n){return e.map((function(e){return"".concat((r=e,r.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())})))," ").concat(t,"ms ").concat(n);var r})).join(",")};function V(e,t){if(e){if("string"==typeof e)return U(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?U(e,t):void 0}}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var W=1e-4,q=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},K=function(e,t){return e.map((function(e,n){return e*Math.pow(t,n)})).reduce((function(e,t){return e+t}))},G=function(e,t){return function(n){var r=q(e,t);return K(r,n)}},X=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o,i=t[0],a=t[1],s=t[2],l=t[3];if(1===t.length)switch(t[0]){case"linear":i=0,a=0,s=1,l=1;break;case"ease":i=.25,a=.1,s=.25,l=1;break;case"ease-in":i=.42,a=0,s=1,l=1;break;case"ease-out":i=.42,a=0,s=.58,l=1;break;case"ease-in-out":i=0,a=0,s=.58,l=1;break;default:var c=t[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var u=(r=c[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),o=4,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(r,o)||V(r,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());i=u[0],a=u[1],s=u[2],l=u[3]}}[i,s,a,l].every((function(e){return"number"==typeof e&&e>=0&&e<=1}));var d,f,h=G(i,s),p=G(a,l),m=(d=i,f=s,function(e){var t=q(d,f),n=[].concat(function(e){return function(e){if(Array.isArray(e))return U(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||V(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.map((function(e,t){return e*t})).slice(1)),[0]);return K(n,e)}),v=function(e){for(var t,n=e>1?1:e,r=n,o=0;o<8;++o){var i=h(r)-n,a=m(r);if(Math.abs(i-n)<W||a<W)return p(r);r=(t=r-i/a)>1?1:t<0?0:t}return p(r)};return v.isStepper=!1,v};function Y(e){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y(e)}function Z(e){return function(e){if(Array.isArray(e))return ne(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||te(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){ee(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ee(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==Y(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Y(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function te(e,t){if(e){if("string"==typeof e)return ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ne(e,t):void 0}}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var re=function(e,t,n){return e+(t-e)*n},oe=function(e){return e.from!==e.to},ie=function e(t,n,r){var o=B((function(e,n){if(oe(n)){var r=(a=t(n.from,n.to,n.velocity),s=2,function(e){if(Array.isArray(e))return e}(a)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(a,s)||te(a,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],i=r[1];return Q(Q({},n),{},{from:o,velocity:i})}var a,s;return n}),n);return r<1?B((function(e,t){return oe(t)?Q(Q({},t),{},{velocity:re(t.velocity,o[e].velocity,r),from:re(t.from,o[e].from,r)}):t}),n):e(t,o,r-1)};function ae(e){return ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(e)}var se=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function le(e){return function(e){if(Array.isArray(e))return ce(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ce(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fe(e,t,n){return(t=pe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pe(r.key),r)}}function pe(e){var t=function(e,t){if("object"!==ae(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==ae(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ae(t)?t:String(t)}function me(e,t){return me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},me(e,t)}function ve(e,t){if(t&&("object"===ae(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ge(e)}function ge(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ye(e){return ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ye(e)}var be=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&me(e,t)}(s,e);var t,n,o,i,a=(o=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ye(o);if(i){var n=ye(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ve(this,e)});function s(e,t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var r=(n=a.call(this,e,t)).props,o=r.isActive,i=r.attributeName,l=r.from,c=r.to,u=r.steps,d=r.children,f=r.duration;if(n.handleStyleChange=n.handleStyleChange.bind(ge(n)),n.changeStyle=n.changeStyle.bind(ge(n)),!o||f<=0)return n.state={style:{}},"function"==typeof d&&(n.state={style:c}),ve(n);if(u&&u.length)n.state={style:u[0].style};else if(l){if("function"==typeof d)return n.state={style:l},ve(n);n.state={style:i?fe({},i,l):l}}else n.state={style:{}};return n}return t=s,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,n=e.canBegin;this.mounted=!0,t&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isActive,r=t.canBegin,o=t.attributeName,i=t.shouldReAnimate,a=t.to,s=t.from,l=this.state.style;if(r)if(n){if(!(T(e.to,a)&&e.canBegin&&e.isActive)){var c=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var u=c||i?s:e.to;if(this.state&&l){var d={style:o?fe({},o,u):u};(o&&l[o]!==u||!o&&l!==u)&&this.setState(d)}this.runAnimation(de(de({},this.props),{},{from:u,begin:0}))}}else{var f={style:o?fe({},o,a):a};this.state&&l&&(o&&l[o]!==a||!o&&l!==a)&&this.setState(f)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,n=e.from,r=e.to,o=e.duration,i=e.easing,a=e.begin,s=e.onAnimationEnd,l=e.onAnimationStart,c=function(e,t,n,r,o){var i,a,s,l,c=(i=e,a=t,[Object.keys(i),Object.keys(a)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))),u=c.reduce((function(n,r){return Q(Q({},n),{},ee({},r,[e[r],t[r]]))}),{}),d=c.reduce((function(n,r){return Q(Q({},n),{},ee({},r,{from:e[r],velocity:0,to:t[r]}))}),{}),f=-1,h=function(){return null};return h=n.isStepper?function(r){s||(s=r);var i=(r-s)/n.dt;d=ie(n,d,i),o(Q(Q(Q({},e),t),B((function(e,t){return t.from}),d))),s=r,Object.values(d).filter(oe).length&&(f=requestAnimationFrame(h))}:function(i){l||(l=i);var a=(i-l)/r,s=B((function(e,t){return re.apply(void 0,Z(t).concat([n(a)]))}),u);if(o(Q(Q(Q({},e),t),s)),a<1)f=requestAnimationFrame(h);else{var c=B((function(e,t){return re.apply(void 0,Z(t).concat([n(1)]))}),u);o(Q(Q(Q({},e),t),c))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(f)}}}(n,r,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if("string"==typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return X(r);case"spring":return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,r=e.damping,o=void 0===r?8:r,i=e.dt,a=void 0===i?17:i,s=function(e,t,r){var i=r+(-(e-t)*n-r*o)*a/1e3,s=r*a/1e3+e;return Math.abs(s-t)<W&&Math.abs(i)<W?[t,0]:[s,i]};return s.isStepper=!0,s.dt=a,s}();default:if("cubic-bezier"===r.split("(")[0])return X(r)}return"function"==typeof r?r:null}(i),o,this.changeStyle);this.manager.start([l,a,function(){t.stopJSAnimation=c()},o,s])}},{key:"runStepAnimation",value:function(e){var t=this,n=e.steps,r=e.begin,o=e.onAnimationStart,i=n[0],a=i.style,s=i.duration,l=void 0===s?0:s;return this.manager.start([o].concat(le(n.reduce((function(e,r,o){if(0===o)return e;var i=r.duration,a=r.easing,s=void 0===a?"ease":a,l=r.style,c=r.properties,u=r.onAnimationEnd,d=o>0?n[o-1]:r,f=c||Object.keys(l);if("function"==typeof s||"spring"===s)return[].concat(le(e),[t.runJSAnimation.bind(t,{from:d.style,to:l,duration:i,easing:s}),i]);var h=H(f,i,s),p=de(de(de({},d.style),l),{},{transition:h});return[].concat(le(e),[p,i,u]).filter(L)}),[a,Math.max(l,r)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=D());var t=e.begin,n=e.duration,r=e.attributeName,o=e.to,i=e.easing,a=e.onAnimationStart,s=e.onAnimationEnd,l=e.steps,c=e.children,u=this.manager;if(this.unSubscribe=u.subscribe(this.handleStyleChange),"function"!=typeof i&&"function"!=typeof c&&"spring"!==i)if(l.length>1)this.runStepAnimation(e);else{var d=r?fe({},r,o):o,f=H(Object.keys(d),n,i);u.start([a,t,de(de({},d),{},{transition:f}),n,s])}else this.runJSAnimation(e)}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.begin,e.duration),o=(e.attributeName,e.easing,e.isActive),i=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,se)),a=r.Children.count(t),s=this.state.style;if("function"==typeof t)return t(s);if(!o||0===a||n<=0)return t;var l=function(e){var t=e.props,n=t.style,o=void 0===n?{}:n,a=t.className;return(0,r.cloneElement)(e,de(de({},i),{},{style:de(de({},o),s),className:a}))};return 1===a?l(r.Children.only(t)):r.createElement("div",null,r.Children.map(t,(function(e){return l(e)})))}}])&&he(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(r.PureComponent);be.displayName="Animate",be.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},be.propTypes={from:i().oneOfType([i().object,i().string]),to:i().oneOfType([i().object,i().string]),attributeName:i().string,duration:i().number,begin:i().number,easing:i().oneOfType([i().string,i().func]),steps:i().arrayOf(i().shape({duration:i().number.isRequired,style:i().object.isRequired,easing:i().oneOfType([i().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),i().func]),properties:i().arrayOf("string"),onAnimationEnd:i().func})),children:i().oneOfType([i().node,i().func]),isActive:i().bool,canBegin:i().bool,onAnimationEnd:i().func,shouldReAnimate:i().bool,onAnimationStart:i().func,onAnimationReStart:i().func};const we=be;var Ee=n(98587),xe=n(58168),Se=n(9417),_e=n(77387);const Oe=r.createContext(null);function Ce(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function Ae(e,t,n){return null!=n[t]?n[t]:e.props[t]}function ke(e,t,n){var o=Ce(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,o);return Object.keys(i).forEach((function(a){var s=i[a];if((0,r.isValidElement)(s)){var l=a in t,c=a in o,u=t[a],d=(0,r.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,r.isValidElement)(u)&&(i[a]=(0,r.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:Ae(s,"exit",e),enter:Ae(s,"enter",e)})):i[a]=(0,r.cloneElement)(s,{in:!1}):i[a]=(0,r.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:Ae(s,"exit",e),enter:Ae(s,"enter",e)})}})),i}var Me=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Te=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind((0,Se.A)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,_e.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,o,i=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,o=a,Ce(n.children,(function(e){return(0,r.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:Ae(e,"appear",n),enter:Ae(e,"enter",n),exit:Ae(e,"exit",n)})}))):ke(e,i,a),firstRender:!1}},n.handleExited=function(e,t){var n=Ce(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,xe.A)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=(0,Ee.A)(e,["component","childFactory"]),i=this.state.contextValue,a=Me(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?r.createElement(Oe.Provider,{value:i},a):r.createElement(Oe.Provider,{value:i},r.createElement(t,o,a))},t}(r.Component);Te.propTypes={},Te.defaultProps={component:"div",childFactory:function(e){return e}};const Pe=Te;var Ie=n(40961);var je="unmounted",ze="exited",De="entering",Re="entered",Ne="exiting",$e=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=ze,r.appearStatus=De):o=Re:o=t.unmountOnExit||t.mountOnEnter?je:ze,r.state={status:o},r.nextCallback=null,r}(0,_e.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===je?{status:ze}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==De&&n!==Re&&(t=De):n!==De&&n!==Re||(t=Ne)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===De){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Ie.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ze&&this.setState({status:je})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Ie.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;e||n?(this.props.onEnter(i,a),this.safeSetState({status:De},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:Re},(function(){t.props.onEntered(i,a)}))}))}))):this.safeSetState({status:Re},(function(){t.props.onEntered(i)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Ie.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:Ne},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:ze},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:ze},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Ie.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===je)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,Ee.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.createElement(Oe.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},t}(r.Component);function Fe(){}$e.contextType=Oe,$e.propTypes={},$e.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Fe,onEntering:Fe,onEntered:Fe,onExit:Fe,onExiting:Fe,onExited:Fe},$e.UNMOUNTED=je,$e.EXITED=ze,$e.ENTERING=De,$e.ENTERED=Re,$e.EXITING=Ne;const Le=$e;var Be=["children","appearOptions","enterOptions","leaveOptions"];function He(e){return He="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},He(e)}function Ve(){return Ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ve.apply(this,arguments)}function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function We(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(n),!0).forEach((function(t){Ye(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ze(r.key),r)}}function Ke(e,t){return Ke=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ke(e,t)}function Ge(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xe(e)}function Ye(e,t,n){return(t=Ze(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(e){var t=function(e,t){if("object"!==He(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==He(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===He(t)?t:String(t)}var Je=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,n=e.duration;return t&&t.length?t.reduce((function(e,t){return e+(Number.isFinite(t.duration)&&t.duration>0?t.duration:0)}),0):Number.isFinite(n)?n:0},Qe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ke(e,t)}(s,e);var t,n,o,i,a=(o=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Xe(o);if(i){var n=Xe(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===He(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ge(e)}(this,e)});function s(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),Ye(Ge(e=a.call(this)),"handleEnter",(function(t,n){var r=e.props,o=r.appearOptions,i=r.enterOptions;e.handleStyleActive(n?o:i)})),Ye(Ge(e),"handleExit",(function(){var t=e.props.leaveOptions;e.handleStyleActive(t)})),e.state={isActive:!1},e}return t=s,(n=[{key:"handleStyleActive",value:function(e){if(e){var t=e.onAnimationEnd?function(){e.onAnimationEnd()}:null;this.setState(We(We({},e),{},{onAnimationEnd:t,isActive:!0}))}}},{key:"parseTimeout",value:function(){var e=this.props,t=e.appearOptions,n=e.enterOptions,r=e.leaveOptions;return Je(t)+Je(n)+Je(r)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,o=(t.appearOptions,t.enterOptions,t.leaveOptions,function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,Be));return r.createElement(Le,Ve({},o,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return r.createElement(we,e.state,r.Children.only(n))}))}}])&&qe(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(r.Component);Qe.propTypes={appearOptions:i().object,enterOptions:i().object,leaveOptions:i().object,children:i().element};const et=Qe;function tt(e){var t=e.component,n=e.children,o=e.appear,i=e.enter,a=e.leave;return r.createElement(Pe,{component:t},r.Children.map(n,(function(e,t){return r.createElement(et,{appearOptions:o,enterOptions:i,leaveOptions:a,key:"child-".concat(t)},e)})))}tt.propTypes={appear:i().object,enter:i().object,leave:i().object,children:i().oneOfType([i().array,i().element]),component:i().any},tt.defaultProps={component:"span"};const nt=we},85138:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(96540)),o=s(n(85133)),i=s(n(80387)),a=n(78865);function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){},c=function(e){return e.id,e.className,e.onChange,e.onFocus,e.onBlur,e.onReady,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["id","className","onChange","onFocus","onBlur","onReady"])};t.default=function(e){var t,n,s,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=t=function(t){function n(e,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,t.call(this,e,r));o.handleRef=function(e){o._ref=e},o._element=null;var i=c(o.props);return o._options=i,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),n.prototype.componentDidMount=function(){var t=this;this.context.addElementsLoadListener((function(n){if(t._ref){var r=n.create(e,t._options);t._element=r,t._setupEventListeners(r),r.mount(t._ref),t.context.registerElement(r,u.impliedTokenType,u.impliedSourceType,u.impliedPaymentMethodType)}}))},n.prototype.componentDidUpdate=function(){var e=c(this.props);0===Object.keys(e).length||(0,i.default)(e,this._options)||(this._options=e,this._element&&this._element.update(e))},n.prototype.componentWillUnmount=function(){if(this._element){var e=this._element;e.destroy(),this.context.unregisterElement(e)}},n.prototype._setupEventListeners=function(e){var t=this;e.on("ready",(function(){t.props.onReady(t._element)})),e.on("change",(function(e){t.props.onChange(e)})),e.on("blur",(function(){var e;return(e=t.props).onBlur.apply(e,arguments)})),e.on("focus",(function(){var e;return(e=t.props).onFocus.apply(e,arguments)}))},n.prototype.render=function(){return r.default.createElement("div",{id:this.props.id,className:this.props.className,ref:this.handleRef})},n}(r.default.Component),t.propTypes={id:o.default.string,className:o.default.string,onChange:o.default.func,onBlur:o.default.func,onFocus:o.default.func,onReady:o.default.func},t.defaultProps={id:void 0,className:void 0,onChange:l,onBlur:l,onFocus:l,onReady:l},t.contextTypes=a.elementContextTypes,t.displayName=(s=e).charAt(0).toUpperCase()+s.slice(1)+"Element",n}},78865:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementContextTypes=t.injectContextTypes=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=s(n(96540)),i=s(n(85133)),a=n(88145);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=t.injectContextTypes={getRegisteredElements:i.default.func.isRequired,elements:i.default.object},d=t.elementContextTypes={addElementsLoadListener:i.default.func.isRequired,registerElement:i.default.func.isRequired,unregisterElement:i.default.func.isRequired},f=function(e){function t(n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,o));i._elements=null,i.handleRegisterElement=function(e,t,n,o){i.setState((function(i){return{registeredElements:[].concat(c(i.registeredElements),[r({element:e},t?{impliedTokenType:t}:{},n?{impliedSourceType:n}:{},o?{impliedPaymentMethodType:o}:{})])}}))},i.handleUnregisterElement=function(e){i.setState((function(t){return{registeredElements:t.registeredElements.filter((function(t){return t.element!==e}))}}))};var a=i.props,s=(a.children,l(a,["children"]));return"sync"===i.context.tag&&(i._elements=i.context.stripe.elements(s)),i.state={registeredElements:[]},i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getChildContext=function(){var e=this;return{addElementsLoadListener:function(t){if("sync"===e.context.tag){if(!e._elements)throw new Error("Expected elements to be instantiated but it was not.");t(e._elements)}else e.context.addStripeLoadListener((function(n){if(e._elements)t(e._elements);else{var r=e.props,o=(r.children,l(r,["children"]));e._elements=n.elements(o),t(e._elements)}}))},registerElement:this.handleRegisterElement,unregisterElement:this.handleUnregisterElement,getRegisteredElements:function(){return e.state.registeredElements},elements:this._elements}},t.prototype.render=function(){return o.default.Children.only(this.props.children)},t}(o.default.Component);f.childContextTypes=r({},u,d),f.contextTypes=a.providerContextTypes,f.defaultProps={children:null},t.default=f},97127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=l(n(96540)),i=l(n(85133)),a=l(n(49479)),s=n(78865);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(){},u=function(e){return e.id,e.className,e.onBlur,e.onClick,e.onFocus,e.onReady,e.paymentRequest,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["id","className","onBlur","onClick","onFocus","onReady","paymentRequest"])},d=function(e){function t(n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,r));o.handleRef=function(e){o._ref=e};var i=u(n);return o._options=i,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){var e=this;this.context.addElementsLoadListener((function(t){e._element=t.create("paymentRequestButton",r({paymentRequest:e.props.paymentRequest},e._options)),e._element.on("ready",(function(){e.props.onReady(e._element)})),e._element.on("focus",(function(){var t;return(t=e.props).onFocus.apply(t,arguments)})),e._element.on("click",(function(){var t;return(t=e.props).onClick.apply(t,arguments)})),e._element.on("blur",(function(){var t;return(t=e.props).onBlur.apply(t,arguments)})),e._element.mount(e._ref)}))},t.prototype.componentDidUpdate=function(e){this.props.paymentRequest!==e.paymentRequest&&console.warn("Unsupported prop change: paymentRequest is not a customizable property.");var t=u(this.props);0===Object.keys(t).length||(0,a.default)(t,this._options)||(this._options=t,this._element.update(t))},t.prototype.componentWillUnmount=function(){this._element.destroy()},t.prototype.render=function(){return o.default.createElement("div",{id:this.props.id,className:this.props.className,ref:this.handleRef})},t}(o.default.Component);d.propTypes={id:i.default.string,className:i.default.string,onBlur:i.default.func,onClick:i.default.func,onFocus:i.default.func,onReady:i.default.func,paymentRequest:i.default.shape({canMakePayment:i.default.func.isRequired,on:i.default.func.isRequired,show:i.default.func.isRequired}).isRequired},d.defaultProps={id:void 0,className:void 0,onBlur:c,onClick:c,onFocus:c,onReady:c},d.contextTypes=s.elementContextTypes,t.default=d},88145:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.providerContextTypes=void 0;var r=i(n(96540)),o=i(n(85133));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.providerContextTypes={tag:o.default.string.isRequired,stripe:o.default.object,addStripeLoadListener:o.default.func},s=function(e){if(e&&e.elements&&e.createSource&&e.createToken&&e.createPaymentMethod&&e.handleCardPayment)return e;throw new Error("Please pass a valid Stripe object to StripeProvider. You can obtain a Stripe object by calling 'Stripe(...)' with your publishable key.")},l=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));if(r.props.apiKey&&r.props.stripe)throw new Error("Please pass either 'apiKey' or 'stripe' to StripeProvider, not both.");if(r.props.apiKey){if(!window.Stripe)throw new Error("Please load Stripe.js (https://js.stripe.com/v3/) on this page to use react-stripe-elements. If Stripe.js isn't available yet (it's loading asynchronously, or you're using server-side rendering), see https://github.com/stripe/react-stripe-elements#advanced-integrations");var o=r.props,i=o.apiKey,a=(o.children,function(e,t){window.Stripe.__cachedInstances=window.Stripe.__cachedInstances||{};var n="key="+e+" options="+JSON.stringify(t),r=window.Stripe.__cachedInstances[n]||window.Stripe(e,t);return window.Stripe.__cachedInstances[n]=r,r}(i,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(o,["apiKey","children"])));r._meta={tag:"sync",stripe:a},r._register()}else if(r.props.stripe){var l=s(r.props.stripe);r._meta={tag:"sync",stripe:l},r._register()}else{if(null!==r.props.stripe)throw new Error("Please pass either 'apiKey' or 'stripe' to StripeProvider. If you're using 'stripe' but don't have a Stripe instance yet, pass 'null' explicitly.");r._meta={tag:"async",stripe:null}}return r._didWarn=!1,r._didWakeUpListeners=!1,r._listeners=[],r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getChildContext=function(){var e=this;return"sync"===this._meta.tag?{tag:"sync",stripe:this._meta.stripe}:{tag:"async",addStripeLoadListener:function(t){e._meta.stripe?t(e._meta.stripe):e._listeners.push(t)}}},t.prototype.componentDidUpdate=function(e){var t=this.props.apiKey&&e.apiKey&&this.props.apiKey!==e.apiKey,n=this.props.stripe&&e.stripe&&this.props.stripe!==e.stripe;if(!this._didWarn&&(t||n)&&window.console&&window.console.error)return this._didWarn=!0,void console.error("StripeProvider does not support changing the apiKey parameter.");if(!this._didWakeUpListeners&&this.props.stripe){this._didWakeUpListeners=!0;var r=s(this.props.stripe);this._meta.stripe=r,this._register(),this._listeners.forEach((function(e){e(r)}))}},t.prototype._register=function(){var e=this._meta.stripe;e&&e._registerWrapper&&e._registerWrapper({name:"react-stripe-elements",version:"6.1.2"})},t.prototype.render=function(){return r.default.Children.only(this.props.children)},t}(r.default.Component);l.propTypes={apiKey:o.default.string,stripe:o.default.object,children:o.default.node},l.childContextTypes=a,l.defaultProps={apiKey:void 0,stripe:void 0,children:null},t.default=l},14125:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=(r=n(96540))&&r.__esModule?r:{default:r},s=n(78865),l=n(88145);t.default=function(e){var t,n,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).withRef,c=void 0!==r&&r;return n=t=function(t){function n(e,r){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),!r||!r.getRegisteredElements)throw new Error("It looks like you are trying to inject Stripe context outside of an Elements context.\nPlease be sure the component that calls createSource or createToken is within an <Elements> component.");var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,t.call(this,e,r));return o.parseElementOrData=function(e){return e&&"object"===(void 0===e?"undefined":i(e))&&e._frame&&"object"===i(e._frame)&&e._frame.id&&"string"==typeof e._frame.id&&"string"==typeof e._componentName?{type:"element",element:e}:{type:"data",data:e}},o.findElement=function(e,t){var n=o.context.getRegisteredElements().filter((function(t){return t[e]})),r="auto"===t?n:n.filter((function(n){return n[e]===t}));if(1===r.length)return r[0].element;if(r.length>1)throw new Error("You did not specify the type of Source, Token, or PaymentMethod to create.\n        We could not infer which Element you want to use for this operation.");return null},o.requireElement=function(e,t){var n=o.findElement(e,t);if(n)return n;throw new Error("You did not specify the type of Source, Token, or PaymentMethod to create.\n        We could not infer which Element you want to use for this operation.")},o.wrappedCreateToken=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t&&"object"===(void 0===t?"undefined":i(t))){var r=t,a=r.type,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(r,["type"]),l="string"==typeof a?a:"auto",c=o.requireElement("impliedTokenType",l);return e.createToken(c,s)}if("string"==typeof t){var u=t;return e.createToken(u,n)}throw new Error("Invalid options passed to createToken. Expected an object, got "+(void 0===t?"undefined":i(t))+".")}},o.wrappedCreateSource=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t&&"object"===(void 0===t?"undefined":i(t))){if("string"!=typeof t.type)throw new Error("Invalid Source type passed to createSource. Expected string, got "+i(t.type)+".");var n=o.findElement("impliedSourceType",t.type);return n?e.createSource(n,t):e.createSource(t)}throw new Error("Invalid options passed to createSource. Expected an object, got "+(void 0===t?"undefined":i(t))+".")}},o.wrappedCreatePaymentMethod=function(e){return function(t,n,r){if(t&&"object"===(void 0===t?"undefined":i(t)))return e.createPaymentMethod(t);if(!t||"string"!=typeof t)throw new Error("Invalid PaymentMethod type passed to createPaymentMethod. Expected a string, got "+(void 0===t?"undefined":i(t))+".");var a=o.parseElementOrData(n);if("element"===a.type){var s=a.element;return r?e.createPaymentMethod(t,s,r):e.createPaymentMethod(t,s)}var l=a.data,c=o.findElement("impliedPaymentMethodType",t);if(c)return l?e.createPaymentMethod(t,c,l):e.createPaymentMethod(t,c);if(l&&"object"===(void 0===l?"undefined":i(l)))return e.createPaymentMethod(t,l);throw l?new Error("Invalid data passed to createPaymentMethod. Expected an object, got "+(void 0===l?"undefined":i(l))+"."):new Error("Could not find an Element that can be used to create a PaymentMethod of type: "+t+".")}},o.wrappedHandleCardX=function(e,t){return function(n,r,a){if(!n||"string"!=typeof n)throw new Error("Invalid PaymentIntent client secret passed to handleCardPayment. Expected string, got "+(void 0===n?"undefined":i(n))+".");var s=o.parseElementOrData(r);if("element"===s.type){var l=s.element;return a?e[t](n,l,a):e[t](n,l)}var c=s.data,u=o.findElement("impliedPaymentMethodType","card");return u?c?e[t](n,u,c):e[t](n,u):c?e[t](n,c):e[t](n)}},"sync"===o.context.tag?o.state={stripe:o.stripeProps(o.context.stripe)}:o.state={stripe:null},o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),n.prototype.componentDidMount=function(){var e=this;"async"===this.context.tag&&this.context.addStripeLoadListener((function(t){e.setState({stripe:e.stripeProps(t)})}))},n.prototype.getWrappedInstance=function(){if(!c)throw new Error("To access the wrapped instance, the `{withRef: true}` option must be set when calling `injectStripe()`");return this.wrappedInstance},n.prototype.stripeProps=function(e){return o({},e,{createToken:this.wrappedCreateToken(e),createSource:this.wrappedCreateSource(e),createPaymentMethod:this.wrappedCreatePaymentMethod(e),handleCardPayment:this.wrappedHandleCardX(e,"handleCardPayment"),handleCardSetup:this.wrappedHandleCardX(e,"handleCardSetup")})},n.prototype.render=function(){var t=this;return a.default.createElement(e,o({},this.props,{stripe:this.state.stripe,elements:this.context.elements,ref:c?function(e){t.wrappedInstance=e}:null}))},n}(a.default.Component),t.contextTypes=o({},l.providerContextTypes,s.injectContextTypes),t.displayName="InjectStripe("+(e.displayName||e.name||"Component")+")",n}},49973:(e,t,n)=>{"use strict";t.hA=t.S8=t.lc=t.li=void 0;var r=l(n(88145)),o=l(n(14125)),i=l(n(78865)),a=l(n(85138)),s=l(n(97127));function l(e){return e&&e.__esModule?e:{default:e}}var c=(0,a.default)("card",{impliedTokenType:"card",impliedSourceType:"card",impliedPaymentMethodType:"card"});(0,a.default)("cardNumber",{impliedTokenType:"card",impliedSourceType:"card",impliedPaymentMethodType:"card"}),(0,a.default)("cardExpiry"),(0,a.default)("cardCvc"),(0,a.default)("iban",{impliedTokenType:"bank_account",impliedSourceType:"sepa_debit"}),(0,a.default)("idealBank",{impliedSourceType:"ideal"}),(0,a.default)("fpxBank"),(0,a.default)("auBankAccount");t.li=r.default,t.lc=o.default,t.S8=i.default,t.hA=c,s.default},80387:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r="[object Object]";t.default=function e(t,o){if("object"!==(void 0===t?"undefined":n(t))||"object"!==(void 0===o?"undefined":n(o)))return t===o;if(null===t||null===o)return t===o;var i=Array.isArray(t);if(i!==Array.isArray(o))return!1;var a=Object.prototype.toString.call(t)===r;if(a!==(Object.prototype.toString.call(o)===r))return!1;if(!a&&!i)return!1;var s=Object.keys(t),l=Object.keys(o);if(s.length!==l.length)return!1;for(var c={},u=0;u<s.length;u+=1)c[s[u]]=!0;for(var d=0;d<l.length;d+=1)c[l[d]]=!0;var f=Object.keys(c);if(f.length!==s.length)return!1;var h=t,p=o;return f.every((function(t){return e(h[t],p[t])}))}},49479:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((function(n){return t.hasOwnProperty(n)&&t[n]===e[n]}))}},46177:(e,t,n)=>{"use strict";var r=n(10442);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},85133:(e,t,n)=>{e.exports=n(46177)()},10442:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},21020:(e,t,n)=>{"use strict";var r=n(96540),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},15287:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||p}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var w=b.prototype=new y;w.constructor=b,m(w,g.prototype),w.isPureReactComponent=!0;var E=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,o)&&!_.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var A=/\/+/g;function k(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function M(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+k(l,0):i,E(a)?(o="",null!=e&&(o=e.replace(A,"$&/")+"/"),M(a,t,o,"",(function(e){return e}))):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(A,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",E(e))for(var c=0;c<e.length;c++){var u=i+k(s=e[c],c);l+=M(s,t,o,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=M(s=s.value,t,o,u=i+k(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function T(e,t,n){if(null==e)return e;var r=[],o=0;return M(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},j={transition:null},z={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:j,ReactCurrentOwner:S};t.Children={map:T,forEach:function(e,t,n){T(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=S.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)x.call(t,c)&&!_.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=O,t.createFactory=function(e){var t=O.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=j.transition;j.transition={};try{e()}finally{j.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,n){return I.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,n){return I.current.useReducer(e,t,n)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return I.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return I.current.useTransition()},t.version="18.2.0"},96540:(e,t,n)=>{"use strict";e.exports=n(15287)},74848:(e,t,n)=>{"use strict";e.exports=n(21020)},91222:(e,t,n)=>{"use strict";n.d(t,{y:()=>H});var r=n(96540),o=n(34164),i=n(69475),a=n(2404),s=n.n(a),l=n(69843),c=n.n(l),u=n(86069),d=n(51738),f=n(72050),h=n(5614),p=n(59744),m=n(94501),v=n(59938),g=n(63036),y=n(98940),b=n(11561),w=n(15079),E=["x","y"];function x(e){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x(e)}function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=x(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=x(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==x(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e,t){var n=e.x,r=e.y,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,E),i="".concat(n),a=parseInt(i,10),s="".concat(r),l=parseInt(s,10),c="".concat(t.height||o.height),u=parseInt(c,10),d="".concat(t.width||o.width),f=parseInt(d,10);return O(O(O(O(O({},t),o),a?{x:a}:{}),l?{y:l}:{}),{},{height:u,width:f,name:t.name,radius:t.radius})}function A(e){return r.createElement(w.yp,S({shapeType:"rectangle",propTransformer:C,activeClassName:"recharts-active-bar"},e))}var k,M=["value","background"];function T(e){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(e)}function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P.apply(this,arguments)}function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){L(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,B(r.key),r)}}function D(e,t,n){return t=N(t),function(e,t){if(t&&("object"===T(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return $(e)}(e,R()?Reflect.construct(t,n||[],N(e).constructor):t.apply(e,n))}function R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(R=function(){return!!e})()}function N(e){return N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},N(e)}function $(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e,t){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},F(e,t)}function L(e,t,n){return(t=B(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B(e){var t=function(e,t){if("object"!=T(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=T(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==T(t)?t:String(t)}var H=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return L($(e=D(this,t,[].concat(r))),"state",{isAnimationFinished:!1}),L($(e),"id",(0,p.NF)("recharts-bar-")),L($(e),"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()})),L($(e),"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()})),e}var n,a,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&F(e,t)}(t,e),n=t,l=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}}],(a=[{key:"renderRectanglesStatically",value:function(e){var t=this,n=this.props,o=n.shape,i=n.dataKey,a=n.activeIndex,s=n.activeBar,l=(0,m.J9)(this.props,!1);return e&&e.map((function(e,n){var c=n===a,d=c?s:o,f=j(j(j({},l),e),{},{isActive:c,option:d,index:n,dataKey:i,onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd});return r.createElement(u.W,P({className:"recharts-bar-rectangle"},(0,y.XC)(t.props,e,n),{key:"rectangle-".concat(null==e?void 0:e.x,"-").concat(null==e?void 0:e.y,"-").concat(null==e?void 0:e.value)}),r.createElement(A,f))}))}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,n=t.data,o=t.layout,a=t.isAnimationActive,s=t.animationBegin,l=t.animationDuration,c=t.animationEasing,d=t.animationId,f=this.state.prevData;return r.createElement(i.Ay,{begin:s,duration:l,isActive:a,easing:c,from:{t:0},to:{t:1},key:"bar-".concat(d),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(t){var i=t.t,a=n.map((function(e,t){var n=f&&f[t];if(n){var r=(0,p.Dj)(n.x,e.x),a=(0,p.Dj)(n.y,e.y),s=(0,p.Dj)(n.width,e.width),l=(0,p.Dj)(n.height,e.height);return j(j({},e),{},{x:r(i),y:a(i),width:s(i),height:l(i)})}if("horizontal"===o){var c=(0,p.Dj)(0,e.height)(i);return j(j({},e),{},{y:e.y+e.height-c,height:c})}var u=(0,p.Dj)(0,e.width)(i);return j(j({},e),{},{width:u})}));return r.createElement(u.W,null,e.renderRectanglesStatically(a))}))}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,n=e.isAnimationActive,r=this.state.prevData;return!(n&&t&&t.length)||r&&s()(r,t)?this.renderRectanglesStatically(t):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var e=this,t=this.props,n=t.data,o=t.dataKey,i=t.activeIndex,a=(0,m.J9)(this.props.background,!1);return n.map((function(t,n){t.value;var s=t.background,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,M);if(!s)return null;var c=j(j(j(j(j({},l),{},{fill:"#eee"},s),a),(0,y.XC)(e.props,t,n)),{},{onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd,dataKey:o,index:n,key:"background-bar-".concat(n),className:"recharts-bar-background-rectangle"});return r.createElement(A,P({option:e.props.background,isActive:n===i},c))}))}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,o=n.data,i=n.xAxis,a=n.yAxis,s=n.layout,l=n.children,c=(0,m.aS)(l,d.u);if(!c)return null;var f="vertical"===s?o[0].height/2:o[0].width/2,h=function(e,t){var n=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:n,errorVal:(0,g.kr)(e,t)}},p={clipPath:e?"url(#clipPath-".concat(t,")"):null};return r.createElement(u.W,p,c.map((function(e){return r.cloneElement(e,{key:"error-bar-".concat(t,"-").concat(e.props.dataKey),data:o,xAxis:i,yAxis:a,layout:s,offset:f,dataPointFormatter:h})})))}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.data,i=e.className,a=e.xAxis,s=e.yAxis,l=e.left,d=e.top,f=e.width,p=e.height,m=e.isAnimationActive,v=e.background,g=e.id;if(t||!n||!n.length)return null;var y=this.state.isAnimationFinished,b=(0,o.A)("recharts-bar",i),w=a&&a.allowDataOverflow,E=s&&s.allowDataOverflow,x=w||E,S=c()(g)?this.id:g;return r.createElement(u.W,{className:b},w||E?r.createElement("defs",null,r.createElement("clipPath",{id:"clipPath-".concat(S)},r.createElement("rect",{x:w?l:l-f/2,y:E?d:d-p/2,width:w?f:2*f,height:E?p:2*p}))):null,r.createElement(u.W,{className:"recharts-bar-rectangles",clipPath:x?"url(#clipPath-".concat(S,")"):null},v?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(x,S),(!m||y)&&h.Z.renderCallByParent(this.props,n))}}])&&z(n.prototype,a),l&&z(n,l),Object.defineProperty(n,"prototype",{writable:!1}),t}(r.PureComponent);k=H,L(H,"displayName","Bar"),L(H,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!v.m.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),L(H,"getComposedData",(function(e){var t=e.props,n=e.item,r=e.barPosition,o=e.bandSize,i=e.xAxis,a=e.yAxis,s=e.xAxisTicks,l=e.yAxisTicks,c=e.stackedData,u=e.dataStartIndex,d=e.displayedData,h=e.offset,v=(0,g.xi)(r,n);if(!v)return null;var y=t.layout,w=n.props,E=w.dataKey,x=w.children,S=w.minPointSize,_="horizontal"===y?a:i,O=c?_.scale.domain():null,C=(0,g.DW)({numericAxis:_}),A=(0,m.aS)(x,f.f),M=d.map((function(e,t){var r,d,f,h,m,w;c?r=(0,g._f)(c[u+t],O):(r=(0,g.kr)(e,E),Array.isArray(r)||(r=[C,r]));var x=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n,r){if("number"==typeof e)return e;var o="number"==typeof n;return o?e(n,r):(o||(0,b.A)(!1),t)}}(S,k.defaultProps.minPointSize)(r[1],t);if("horizontal"===y){var _,M=[a.scale(r[0]),a.scale(r[1])],T=M[0],P=M[1];d=(0,g.y2)({axis:i,ticks:s,bandSize:o,offset:v.offset,entry:e,index:t}),f=null!==(_=null!=P?P:T)&&void 0!==_?_:void 0,h=v.size;var I=T-P;if(m=Number.isNaN(I)?0:I,w={x:d,y:a.y,width:h,height:a.height},Math.abs(x)>0&&Math.abs(m)<Math.abs(x)){var z=(0,p.sA)(m||x)*(Math.abs(x)-Math.abs(m));f-=z,m+=z}}else{var D=[i.scale(r[0]),i.scale(r[1])],R=D[0],N=D[1];d=R,f=(0,g.y2)({axis:a,ticks:l,bandSize:o,offset:v.offset,entry:e,index:t}),h=N-R,m=v.size,w={x:i.x,y:f,width:i.width,height:m},Math.abs(x)>0&&Math.abs(h)<Math.abs(x)&&(h+=(0,p.sA)(h||x)*(Math.abs(x)-Math.abs(h)))}return j(j(j({},e),{},{x:d,y:f,width:h,height:m,value:c?r:r[1],payload:e,background:w},A&&A[t]&&A[t].props),{},{tooltipPayload:[(0,g.zb)(n,e)],tooltipPosition:{x:d+h/2,y:f+m/2}})}));return j({data:M,layout:y},h)}))},99582:(e,t,n)=>{"use strict";n.d(t,{u:()=>I});var r=n(96540),o=n(1882),i=n.n(o),a=n(58156),s=n.n(a),l=n(34164),c=n(23521),u=n(86069),d=n(81174),f=n(91706),h=n(59744),p=n(98940),m=n(94501),v=n(92896),g=["viewBox"],y=["viewBox"],b=["ticks"];function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E.apply(this,arguments)}function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,P(r.key),r)}}function C(e,t,n){return t=k(t),function(e,t){if(t&&("object"===w(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,A()?Reflect.construct(t,n||[],k(e).constructor):t.apply(e,n))}function A(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(A=function(){return!!e})()}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function M(e,t){return M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},M(e,t)}function T(e,t,n){return(t=P(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P(e){var t=function(e,t){if("object"!=w(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=w(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==w(t)?t:String(t)}var I=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=C(this,t,[e])).state={fontSize:"",letterSpacing:""},n}var n,o,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&M(e,t)}(t,e),n=t,a=[{key:"renderTickItem",value:function(e,t,n){return r.isValidElement(e)?r.cloneElement(e,t):i()(e)?e(t):r.createElement(d.E,E({},t,{className:"recharts-cartesian-axis-tick-value"}),n)}}],(o=[{key:"shouldComponentUpdate",value:function(e,t){var n=e.viewBox,r=_(e,g),o=this.props,i=o.viewBox,a=_(o,y);return!(0,c.b)(n,i)||!(0,c.b)(r,a)||!(0,c.b)(t,this.state)}},{key:"componentDidMount",value:function(){var e=this.layerReference;if(e){var t=e.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];t&&this.setState({fontSize:window.getComputedStyle(t).fontSize,letterSpacing:window.getComputedStyle(t).letterSpacing})}}},{key:"getTickLineCoord",value:function(e){var t,n,r,o,i,a,s=this.props,l=s.x,c=s.y,u=s.width,d=s.height,f=s.orientation,p=s.tickSize,m=s.mirror,v=s.tickMargin,g=m?-1:1,y=e.tickSize||p,b=(0,h.Et)(e.tickCoord)?e.tickCoord:e.coordinate;switch(f){case"top":t=n=e.coordinate,a=(r=(o=c+ +!m*d)-g*y)-g*v,i=b;break;case"left":r=o=e.coordinate,i=(t=(n=l+ +!m*u)-g*y)-g*v,a=b;break;case"right":r=o=e.coordinate,i=(t=(n=l+ +m*u)+g*y)+g*v,a=b;break;default:t=n=e.coordinate,a=(r=(o=c+ +m*d)+g*y)+g*v,i=b}return{line:{x1:t,y1:r,x2:n,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,n=t.orientation,r=t.mirror;switch(n){case"left":e=r?"start":"end";break;case"right":e=r?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,n=e.mirror,r="end";switch(t){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,n=e.y,o=e.width,i=e.height,a=e.orientation,c=e.mirror,u=e.axisLine,d=S(S(S({},(0,m.J9)(this.props,!1)),(0,m.J9)(u,!1)),{},{fill:"none"});if("top"===a||"bottom"===a){var f=+("top"===a&&!c||"bottom"===a&&c);d=S(S({},d),{},{x1:t,y1:n+f*i,x2:t+o,y2:n+f*i})}else{var h=+("left"===a&&!c||"right"===a&&c);d=S(S({},d),{},{x1:t+h*o,y1:n,x2:t+h*o,y2:n+i})}return r.createElement("line",E({},d,{className:(0,l.A)("recharts-cartesian-axis-line",s()(u,"className"))}))}},{key:"renderTicks",value:function(e,n,o){var a=this,c=this.props,d=c.tickLine,f=c.stroke,h=c.tick,g=c.tickFormatter,y=c.unit,b=(0,v.f)(S(S({},this.props),{},{ticks:e}),n,o),w=this.getTickTextAnchor(),x=this.getTickVerticalAnchor(),_=(0,m.J9)(this.props,!1),O=(0,m.J9)(h,!1),C=S(S({},_),{},{fill:"none"},(0,m.J9)(d,!1)),A=b.map((function(e,n){var o=a.getTickLineCoord(e),c=o.line,m=o.tick,v=S(S(S(S({textAnchor:w,verticalAnchor:x},_),{},{stroke:"none",fill:f},O),m),{},{index:n,payload:e,visibleTicksCount:b.length,tickFormatter:g});return r.createElement(u.W,E({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e.value,"-").concat(e.coordinate,"-").concat(e.tickCoord)},(0,p.XC)(a.props,e,n)),d&&r.createElement("line",E({},C,c,{className:(0,l.A)("recharts-cartesian-axis-tick-line",s()(d,"className"))})),h&&t.renderTickItem(h,v,"".concat(i()(g)?g(e.value,n):e.value).concat(y||"")))}));return r.createElement("g",{className:"recharts-cartesian-axis-ticks"},A)}},{key:"render",value:function(){var e=this,t=this.props,n=t.axisLine,o=t.width,a=t.height,s=t.ticksGenerator,c=t.className;if(t.hide)return null;var d=this.props,h=d.ticks,p=_(d,b),m=h;return i()(s)&&(m=h&&h.length>0?s(this.props):s(p)),o<=0||a<=0||!m||!m.length?null:r.createElement(u.W,{className:(0,l.A)("recharts-cartesian-axis",c),ref:function(t){e.layerReference=t}},n&&this.renderAxisLine(),this.renderTicks(m,this.state.fontSize,this.state.letterSpacing),f.J.renderCallByParent(this.props))}}])&&O(n.prototype,o),a&&O(n,a),Object.defineProperty(n,"prototype",{writable:!1}),t}(r.Component);T(I,"displayName","CartesianAxis"),T(I,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"})},69107:(e,t,n)=>{"use strict";n.d(t,{d:()=>M});var r=n(96540),o=n(1882),i=n.n(o),a=n(6634),s=n(59744),l=n(94501),c=n(63036),u=n(92896),d=n(99582),f=n(47429),h=["x1","y1","x2","y2","key"],p=["offset"];function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=m(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=m(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==m(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}function b(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var w=function(e){var t=e.fill;if(!t||"none"===t)return null;var n=e.fillOpacity,o=e.x,i=e.y,a=e.width,s=e.height;return r.createElement("rect",{x:o,y:i,width:a,height:s,stroke:"none",fill:t,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function E(e,t){var n;if(r.isValidElement(e))n=r.cloneElement(e,t);else if(i()(e))n=e(t);else{var o=t.x1,a=t.y1,s=t.x2,c=t.y2,u=t.key,d=b(t,h),f=(0,l.J9)(d,!1),m=(f.offset,b(f,p));n=r.createElement("line",y({},m,{x1:o,y1:a,x2:s,y2:c,fill:"none",key:u}))}return n}function x(e){var t=e.x,n=e.width,o=e.horizontal,i=void 0===o||o,a=e.horizontalPoints;if(!i||!a||!a.length)return null;var s=a.map((function(r,o){var a=g(g({},e),{},{x1:t,y1:r,x2:t+n,y2:r,key:"line-".concat(o),index:o});return E(i,a)}));return r.createElement("g",{className:"recharts-cartesian-grid-horizontal"},s)}function S(e){var t=e.y,n=e.height,o=e.vertical,i=void 0===o||o,a=e.verticalPoints;if(!i||!a||!a.length)return null;var s=a.map((function(r,o){var a=g(g({},e),{},{x1:r,y1:t,x2:r,y2:t+n,key:"line-".concat(o),index:o});return E(i,a)}));return r.createElement("g",{className:"recharts-cartesian-grid-vertical"},s)}function _(e){var t=e.horizontalFill,n=e.fillOpacity,o=e.x,i=e.y,a=e.width,s=e.height,l=e.horizontalPoints,c=e.horizontal;if(void 0!==c&&!c||!t||!t.length)return null;var u=l.map((function(e){return Math.round(e+i-i)})).sort((function(e,t){return e-t}));i!==u[0]&&u.unshift(0);var d=u.map((function(e,l){var c=u[l+1]?u[l+1]-e:i+s-e;if(c<=0)return null;var d=l%t.length;return r.createElement("rect",{key:"react-".concat(l),y:e,x:o,height:c,width:a,stroke:"none",fill:t[d],fillOpacity:n,className:"recharts-cartesian-grid-bg"})}));return r.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},d)}function O(e){var t=e.vertical,n=void 0===t||t,o=e.verticalFill,i=e.fillOpacity,a=e.x,s=e.y,l=e.width,c=e.height,u=e.verticalPoints;if(!n||!o||!o.length)return null;var d=u.map((function(e){return Math.round(e+a-a)})).sort((function(e,t){return e-t}));a!==d[0]&&d.unshift(0);var f=d.map((function(e,t){var n=d[t+1]?d[t+1]-e:a+l-e;if(n<=0)return null;var u=t%o.length;return r.createElement("rect",{key:"react-".concat(t),x:e,y:s,width:n,height:c,stroke:"none",fill:o[u],fillOpacity:i,className:"recharts-cartesian-grid-bg"})}));return r.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var C=function(e,t){var n=e.xAxis,r=e.width,o=e.height,i=e.offset;return(0,c.PW)((0,u.f)(g(g(g({},d.u.defaultProps),n),{},{ticks:(0,c.Rh)(n,!0),viewBox:{x:0,y:0,width:r,height:o}})),i.left,i.left+i.width,t)},A=function(e,t){var n=e.yAxis,r=e.width,o=e.height,i=e.offset;return(0,c.PW)((0,u.f)(g(g(g({},d.u.defaultProps),n),{},{ticks:(0,c.Rh)(n,!0),viewBox:{x:0,y:0,width:r,height:o}})),i.top,i.top+i.height,t)},k={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function M(e){var t,n,o,l,c,u,d=(0,f.yi)(),h=(0,f.rY)(),p=(0,f.hj)(),v=g(g({},e),{},{stroke:null!==(t=e.stroke)&&void 0!==t?t:k.stroke,fill:null!==(n=e.fill)&&void 0!==n?n:k.fill,horizontal:null!==(o=e.horizontal)&&void 0!==o?o:k.horizontal,horizontalFill:null!==(l=e.horizontalFill)&&void 0!==l?l:k.horizontalFill,vertical:null!==(c=e.vertical)&&void 0!==c?c:k.vertical,verticalFill:null!==(u=e.verticalFill)&&void 0!==u?u:k.verticalFill,x:(0,s.Et)(e.x)?e.x:p.left,y:(0,s.Et)(e.y)?e.y:p.top,width:(0,s.Et)(e.width)?e.width:p.width,height:(0,s.Et)(e.height)?e.height:p.height}),b=v.x,E=v.y,M=v.width,T=v.height,P=v.syncWithTicks,I=v.horizontalValues,j=v.verticalValues,z=(0,f.pj)(),D=(0,f.$G)();if(!(0,s.Et)(M)||M<=0||!(0,s.Et)(T)||T<=0||!(0,s.Et)(b)||b!==+b||!(0,s.Et)(E)||E!==+E)return null;var R=v.verticalCoordinatesGenerator||C,N=v.horizontalCoordinatesGenerator||A,$=v.horizontalPoints,F=v.verticalPoints;if((!$||!$.length)&&i()(N)){var L=I&&I.length,B=N({yAxis:D?g(g({},D),{},{ticks:L?I:D.ticks}):void 0,width:d,height:h,offset:p},!!L||P);(0,a.R)(Array.isArray(B),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(m(B),"]")),Array.isArray(B)&&($=B)}if((!F||!F.length)&&i()(R)){var H=j&&j.length,V=R({xAxis:z?g(g({},z),{},{ticks:H?j:z.ticks}):void 0,width:d,height:h,offset:p},!!H||P);(0,a.R)(Array.isArray(V),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(m(V),"]")),Array.isArray(V)&&(F=V)}return r.createElement("g",{className:"recharts-cartesian-grid"},r.createElement(w,{fill:v.fill,fillOpacity:v.fillOpacity,x:v.x,y:v.y,width:v.width,height:v.height}),r.createElement(x,y({},v,{offset:p,horizontalPoints:$,xAxis:z,yAxis:D})),r.createElement(S,y({},v,{offset:p,verticalPoints:F,xAxis:z,yAxis:D})),r.createElement(_,y({},v,{horizontalPoints:$})),r.createElement(O,y({},v,{verticalPoints:F})))}M.displayName="CartesianGrid"},51738:(e,t,n)=>{"use strict";n.d(t,{u:()=>u});var r=n(96540),o=n(11561),i=n(86069),a=n(94501),s=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e){var t=e.offset,n=e.layout,u=e.width,d=e.dataKey,f=e.data,h=e.dataPointFormatter,p=e.xAxis,m=e.yAxis,v=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,s),g=(0,a.J9)(v,!1);"x"===e.direction&&"number"!==p.type&&(0,o.A)(!1);var y=f.map((function(e){var o=h(e,d),a=o.x,s=o.y,f=o.value,v=o.errorVal;if(!v)return null;var y,b,w,E,x=[];if(Array.isArray(v)){var S=(E=2,function(e){if(Array.isArray(e))return e}(w=v)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(w,E)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(w,E)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());y=S[0],b=S[1]}else y=b=v;if("vertical"===n){var _=p.scale,O=s+t,C=O+u,A=O-u,k=_(f-y),M=_(f+b);x.push({x1:M,y1:C,x2:M,y2:A}),x.push({x1:k,y1:O,x2:M,y2:O}),x.push({x1:k,y1:C,x2:k,y2:A})}else if("horizontal"===n){var T=m.scale,P=a+t,I=P-u,j=P+u,z=T(f-y),D=T(f+b);x.push({x1:I,y1:D,x2:j,y2:D}),x.push({x1:P,y1:z,x2:P,y2:D}),x.push({x1:I,y1:z,x2:j,y2:z})}return r.createElement(i.W,l({className:"recharts-errorBar",key:"bar-".concat(x.map((function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)})))},g),x.map((function(e){return r.createElement("line",l({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))})))}));return r.createElement(i.W,{className:"recharts-errorBars"},y)}u.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},u.displayName="ErrorBar"},57158:(e,t,n)=>{"use strict";n.d(t,{e:()=>_});var r=n(96540),o=n(1882),i=n.n(o),a=n(42426),s=n.n(a),l=n(34164),c=n(86069),u=n(91706),d=n(86347),f=n(59744),h=n(15894),p=n(6634),m=n(94501),v=n(47429);function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==g(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E.apply(this,arguments)}var x=function(e,t){return r.isValidElement(e)?r.cloneElement(e,t):i()(e)?e(t):r.createElement("line",E({},t,{className:"recharts-reference-line-line"}))},S=function(e,t,n,r,o,i,a,l,c){var u=o.x,f=o.y,h=o.width,p=o.height;if(n){var m=c.y,v=e.y.apply(m,{position:i});if((0,d.R)(c,"discard")&&!e.y.isInRange(v))return null;var g=[{x:u+h,y:v},{x:u,y:v}];return"left"===l?g.reverse():g}if(t){var y=c.x,b=e.x.apply(y,{position:i});if((0,d.R)(c,"discard")&&!e.x.isInRange(b))return null;var w=[{x:b,y:f+p},{x:b,y:f}];return"top"===a?w.reverse():w}if(r){var E=c.segment.map((function(t){return e.apply(t,{position:i})}));return(0,d.R)(c,"discard")&&s()(E,(function(t){return!e.isInRange(t)}))?null:E}return null};function _(e){var t=e.x,n=e.y,o=e.segment,i=e.xAxisId,a=e.yAxisId,s=e.shape,g=e.className,y=e.alwaysShow,E=(0,v.Yp)(),_=(0,v.AF)(i),O=(0,v.Nk)(a),C=(0,v.sk)();if(!E||!C)return null;(0,p.R)(void 0===y,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var A=(0,h.P2)({x:_.scale,y:O.scale}),k=(0,f.vh)(t),M=(0,f.vh)(n),T=o&&2===o.length,P=S(A,k,M,T,C,e.position,_.orientation,O.orientation,e);if(!P)return null;var I,j,z=(j=2,function(e){if(Array.isArray(e))return e}(I=P)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(I,j)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}(I,j)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),D=z[0],R=D.x,N=D.y,$=z[1],F=$.x,L=$.y,B=b(b({clipPath:(0,d.R)(e,"hidden")?"url(#".concat(E,")"):void 0},(0,m.J9)(e,!0)),{},{x1:R,y1:N,x2:F,y2:L});return r.createElement(c.W,{className:(0,l.A)("recharts-reference-line",g)},x(s,B),u.J.renderCallByParent(e,(0,h.vh)({x1:R,y1:N,x2:F,y2:L})))}_.displayName="ReferenceLine",_.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"}},77984:(e,t,n)=>{"use strict";n.d(t,{W:()=>c});var r=n(96540),o=n(34164),i=n(47429),a=n(99582),s=n(63036);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}var c=function(e){var t=e.xAxisId,n=(0,i.yi)(),c=(0,i.rY)(),u=(0,i.AF)(t);return null==u?null:r.createElement(a.u,l({},u,{className:(0,o.A)("recharts-".concat(u.axisType," ").concat(u.axisType),u.className),viewBox:{x:0,y:0,width:n,height:c},ticksGenerator:function(e){return(0,s.Rh)(e,!0)}}))};c.displayName="XAxis",c.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0}},23495:(e,t,n)=>{"use strict";n.d(t,{h:()=>c});var r=n(96540),o=n(34164),i=n(47429),a=n(99582),s=n(63036);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}var c=function(e){var t=e.yAxisId,n=(0,i.yi)(),c=(0,i.rY)(),u=(0,i.Nk)(t);return null==u?null:r.createElement(a.u,l({},u,{className:(0,o.A)("recharts-".concat(u.axisType," ").concat(u.axisType),u.className),viewBox:{x:0,y:0,width:n,height:c},ticksGenerator:function(e){return(0,s.Rh)(e,!0)}}))};c.displayName="YAxis",c.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1}},92896:(e,t,n)=>{"use strict";n.d(t,{f:()=>p});var r=n(1882),o=n.n(r),i=n(59744),a=n(81636),s=n(59938),l=n(15894);function c(e,t,n){if(t<1)return[];if(1===t&&void 0===n)return e;for(var r=[],o=0;o<e.length;o+=t){if(void 0!==n&&!0!==n(e[o]))return;r.push(e[o])}return r}function u(e,t,n,r,o){if(e*t<e*r||e*t>e*o)return!1;var i=n();return e*(t-e*i/2-r)>=0&&e*(t+e*i/2-o)<=0}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=d(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==d(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){var r=e.tick,d=e.ticks,f=e.viewBox,p=e.minTickGap,m=e.orientation,v=e.interval,g=e.tickFormatter,y=e.unit,b=e.angle;if(!d||!d.length||!r)return[];if((0,i.Et)(v)||s.m.isSsr)return function(e,t){return c(e,t+1)}(d,"number"==typeof v&&(0,i.Et)(v)?v:0);var w=[],E="top"===m||"bottom"===m?"width":"height",x=y&&"width"===E?(0,a.Pu)(y,{fontSize:t,letterSpacing:n}):{width:0,height:0},S=function(e,r){var i=o()(g)?g(e.value,r):e.value;return"width"===E?function(e,t,n){var r={width:e.width+t.width,height:e.height+t.height};return(0,l.bx)(r,n)}((0,a.Pu)(i,{fontSize:t,letterSpacing:n}),x,b):(0,a.Pu)(i,{fontSize:t,letterSpacing:n})[E]},_=d.length>=2?(0,i.sA)(d[1].coordinate-d[0].coordinate):1,O=function(e,t,n){var r="width"===n,o=e.x,i=e.y,a=e.width,s=e.height;return 1===t?{start:r?o:i,end:r?o+a:i+s}:{start:r?o+a:i+s,end:r?o:i}}(f,_,E);return"equidistantPreserveStart"===v?function(e,t,n,r,o){for(var i,a=(r||[]).slice(),s=t.start,l=t.end,d=0,f=1,h=s,p=function(){var t=null==r?void 0:r[d];if(void 0===t)return{v:c(r,f)};var i,a=d,p=function(){return void 0===i&&(i=n(t,a)),i},m=t.coordinate,v=0===d||u(e,m,p,h,l);v||(d=0,h=s,f+=1),v&&(h=m+e*(p()/2+o),d+=f)};f<=a.length;)if(i=p())return i.v;return[]}(_,O,S,d,p):(w="preserveStart"===v||"preserveStartEnd"===v?function(e,t,n,r,o,i){var a=(r||[]).slice(),s=a.length,l=t.start,c=t.end;if(i){var d=r[s-1],f=n(d,s-1),p=e*(d.coordinate+e*f/2-c);a[s-1]=d=h(h({},d),{},{tickCoord:p>0?d.coordinate-p*e:d.coordinate}),u(e,d.tickCoord,(function(){return f}),l,c)&&(c=d.tickCoord-e*(f/2+o),a[s-1]=h(h({},d),{},{isShow:!0}))}for(var m=i?s-1:s,v=function(t){var r,i=a[t],s=function(){return void 0===r&&(r=n(i,t)),r};if(0===t){var d=e*(i.coordinate-e*s()/2-l);a[t]=i=h(h({},i),{},{tickCoord:d<0?i.coordinate-d*e:i.coordinate})}else a[t]=i=h(h({},i),{},{tickCoord:i.coordinate});u(e,i.tickCoord,s,l,c)&&(l=i.tickCoord+e*(s()/2+o),a[t]=h(h({},i),{},{isShow:!0}))},g=0;g<m;g++)v(g);return a}(_,O,S,d,p,"preserveStartEnd"===v):function(e,t,n,r,o){for(var i=(r||[]).slice(),a=i.length,s=t.start,l=t.end,c=function(t){var r,c=i[t],d=function(){return void 0===r&&(r=n(c,t)),r};if(t===a-1){var f=e*(c.coordinate+e*d()/2-l);i[t]=c=h(h({},c),{},{tickCoord:f>0?c.coordinate-f*e:c.coordinate})}else i[t]=c=h(h({},c),{},{tickCoord:c.coordinate});u(e,c.tickCoord,d,s,l)&&(l=c.tickCoord-e*(d()/2+o),i[t]=h(h({},c),{},{isShow:!0}))},d=a-1;d>=0;d--)c(d);return i}(_,O,S,d,p),w.filter((function(e){return e.isShow})))}},88224:(e,t,n)=>{"use strict";n.d(t,{E:()=>l});var r=n(28327),o=n(91222),i=n(77984),a=n(23495),s=n(15894),l=(0,r.gu)({chartName:"BarChart",GraphicalChild:o.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:i.W},{axisType:"yAxis",AxisComp:a.h}],formatAxisMap:s.pr})},28327:(e,t,n)=>{"use strict";n.d(t,{gu:()=>yt});var r=n(96540),o=n(69843),i=n.n(o),a=n(1882),s=n.n(a),l=n(23181),c=n.n(l),u=n(58156),d=n.n(u),f=n(33031),h=n.n(f),p=n(7350),m=n.n(p),v=n(34164),g=n(11561),y=n(49303),b=n(86069),w=n(78687),E=n(97018),x=n(66613),S=n(34723),_=n(94501),O=n(39072),C=n(81174),A=n(63036),k=n(59744);function M(e){return M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M(e)}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){I(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function I(e,t,n){var r;return r=function(e,t){if("object"!=M(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=M(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==M(r)?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=["Webkit","Moz","O","ms"];function z(e){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(e)}function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D.apply(this,arguments)}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){U(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,W(r.key),r)}}function F(e,t,n){return t=B(t),function(e,t){if(t&&("object"===z(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return H(e)}(e,L()?Reflect.construct(t,n||[],B(e).constructor):t.apply(e,n))}function L(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(L=function(){return!!e})()}function B(e){return B=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},B(e)}function H(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(e,t){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},V(e,t)}function U(e,t,n){return(t=W(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(e){var t=function(e,t){if("object"!=z(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=z(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==z(t)?t:String(t)}var q=function(e){return e.changedTouches&&!!e.changedTouches.length},K=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),U(H(n=F(this,t,[e])),"handleDrag",(function(e){n.leaveTimer&&(clearTimeout(n.leaveTimer),n.leaveTimer=null),n.state.isTravellerMoving?n.handleTravellerMove(e):n.state.isSlideMoving&&n.handleSlideDrag(e)})),U(H(n),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleDrag(e.changedTouches[0])})),U(H(n),"handleDragEnd",(function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var e=n.props,t=e.endIndex,r=e.onDragEnd,o=e.startIndex;null==r||r({endIndex:t,startIndex:o})})),n.detachDragEndListener()})),U(H(n),"handleLeaveWrapper",(function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))})),U(H(n),"handleEnterSlideOrTraveller",(function(){n.setState({isTextActive:!0})})),U(H(n),"handleLeaveSlideOrTraveller",(function(){n.setState({isTextActive:!1})})),U(H(n),"handleSlideDragStart",(function(e){var t=q(e)?e.changedTouches[0]:e;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX}),n.attachDragEndListener()})),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(H(n),"startX"),endX:n.handleTravellerDragStart.bind(H(n),"endX")},n.state={},n}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&V(e,t)}(t,e),n=t,i=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,n=e.y,o=e.width,i=e.height,a=e.stroke,s=Math.floor(n+i/2)-1;return r.createElement(r.Fragment,null,r.createElement("rect",{x:t,y:n,width:o,height:i,fill:a,stroke:"none"}),r.createElement("line",{x1:t+1,y1:s,x2:t+o-1,y2:s,fill:"none",stroke:"#fff"}),r.createElement("line",{x1:t+1,y1:s+2,x2:t+o-1,y2:s+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,n){return r.isValidElement(e)?r.cloneElement(e,n):s()(e)?e(n):t.renderDefaultTraveller(n)}},{key:"getDerivedStateFromProps",value:function(e,t){var n=e.data,r=e.width,o=e.x,i=e.travellerWidth,a=e.updateId,s=e.startIndex,l=e.endIndex;if(n!==t.prevData||a!==t.prevUpdateId)return N({prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r},n&&n.length?function(e){var t=e.data,n=e.startIndex,r=e.endIndex,o=e.x,i=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var s=t.length,l=(0,O.z)().domain(c()(0,s)).range([o,o+i-a]),u=l.domain().map((function(e){return l(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:l(n),endX:l(r),scale:l,scaleValues:u}}({data:n,width:r,x:o,travellerWidth:i,startIndex:s,endIndex:l}):{scale:null,scaleValues:null});if(t.scale&&(r!==t.prevWidth||o!==t.prevX||i!==t.prevTravellerWidth)){t.scale.range([o,o+r-i]);var u=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:u}}return null}},{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var o=Math.floor((n+r)/2);e[o]>t?r=o:n=o}return t>=e[r]?r:n}}],(o=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var n=e.startX,r=e.endX,o=this.state.scaleValues,i=this.props,a=i.gap,s=i.data.length-1,l=Math.min(n,r),c=Math.max(n,r),u=t.getIndexInRange(o,l),d=t.getIndexInRange(o,c);return{startIndex:u-u%a,endIndex:d===s?s:d-d%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,o=t.dataKey,i=(0,A.kr)(n[e],o,e);return s()(r)?r(i,e):i}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,o=t.endX,i=this.props,a=i.x,s=i.width,l=i.travellerWidth,c=i.startIndex,u=i.endIndex,d=i.onChange,f=e.pageX-n;f>0?f=Math.min(f,a+s-l-o,a+s-l-r):f<0&&(f=Math.max(f,a-r,a-o));var h=this.getIndex({startX:r+f,endX:o+f});h.startIndex===c&&h.endIndex===u||!d||d(h),this.setState({startX:r+f,endX:o+f,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=q(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,n=t.brushMoveStartX,r=t.movingTravellerId,o=t.endX,i=t.startX,a=this.state[r],s=this.props,l=s.x,c=s.width,u=s.travellerWidth,d=s.onChange,f=s.gap,h=s.data,p={startX:this.state.startX,endX:this.state.endX},m=e.pageX-n;m>0?m=Math.min(m,l+c-u-a):m<0&&(m=Math.max(m,l-a)),p[r]=a+m;var v=this.getIndex(p),g=v.startIndex,y=v.endIndex;this.setState(U(U({},r,a+m),"brushMoveStartX",e.pageX),(function(){var e;d&&(e=h.length-1,("startX"===r&&(o>i?g%f==0:y%f==0)||o<i&&y===e||"endX"===r&&(o>i?y%f==0:g%f==0)||o>i&&y===e)&&d(v))}))}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var n=this,r=this.state,o=r.scaleValues,i=r.startX,a=r.endX,s=this.state[t],l=o.indexOf(s);if(-1!==l){var c=l+e;if(!(-1===c||c>=o.length)){var u=o[c];"startX"===t&&u>=a||"endX"===t&&u<=i||this.setState(U({},t,u),(function(){n.props.onChange(n.getIndex({startX:n.state.startX,endX:n.state.endX}))}))}}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,n=e.y,o=e.width,i=e.height,a=e.fill,s=e.stroke;return r.createElement("rect",{stroke:s,fill:a,x:t,y:n,width:o,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,n=e.y,o=e.width,i=e.height,a=e.data,s=e.children,l=e.padding,c=r.Children.only(s);return c?r.cloneElement(c,{x:t,y:n,width:o,height:i,margin:l,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(e,n){var o,i,a=this,s=this.props,l=s.y,c=s.travellerWidth,u=s.height,d=s.traveller,f=s.ariaLabel,h=s.data,p=s.startIndex,m=s.endIndex,v=Math.max(e,this.props.x),g=N(N({},(0,_.J9)(this.props,!1)),{},{x:v,y:l,width:c,height:u}),y=f||"Min value: ".concat(null===(o=h[p])||void 0===o?void 0:o.name,", Max value: ").concat(null===(i=h[m])||void 0===i?void 0:i.name);return r.createElement(b.W,{tabIndex:0,role:"slider","aria-label":y,"aria-valuenow":e,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[n],onTouchStart:this.travellerDragStartHandlers[n],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),a.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,n))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(d,g))}},{key:"renderSlide",value:function(e,t){var n=this.props,o=n.y,i=n.height,a=n.stroke,s=n.travellerWidth,l=Math.min(e,t)+s,c=Math.max(Math.abs(t-e)-s,0);return r.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:l,y:o,width:c,height:i})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,n=e.endIndex,o=e.y,i=e.height,a=e.travellerWidth,s=e.stroke,l=this.state,c=l.startX,u=l.endX,d={pointerEvents:"none",fill:s};return r.createElement(b.W,{className:"recharts-brush-texts"},r.createElement(C.E,D({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,u)-5,y:o+i/2},d),this.getTextOfTick(t)),r.createElement(C.E,D({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,u)+a+5,y:o+i/2},d),this.getTextOfTick(n)))}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.className,o=e.children,i=e.x,a=e.y,s=e.width,l=e.height,c=e.alwaysShowText,u=this.state,d=u.startX,f=u.endX,h=u.isTextActive,p=u.isSlideMoving,m=u.isTravellerMoving,g=u.isTravellerFocused;if(!t||!t.length||!(0,k.Et)(i)||!(0,k.Et)(a)||!(0,k.Et)(s)||!(0,k.Et)(l)||s<=0||l<=0)return null;var y,w,E,x,S=(0,v.A)("recharts-brush",n),_=1===r.Children.count(o),O=(w="none",E=(y="userSelect").replace(/(\w)/,(function(e){return e.toUpperCase()})),(x=j.reduce((function(e,t){return P(P({},e),{},I({},t+E,w))}),{}))[y]=w,x);return r.createElement(b.W,{className:S,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:O},this.renderBackground(),_&&this.renderPanorama(),this.renderSlide(d,f),this.renderTravellerLayer(d,"startX"),this.renderTravellerLayer(f,"endX"),(h||p||m||g||c)&&this.renderText())}}])&&$(n.prototype,o),i&&$(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(r.PureComponent);U(K,"displayName","Brush"),U(K,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var G=n(81636),X=n(12532),Y=n(91706),Z=n(86347),J=n(15894),Q=n(6634);function ee(e){return ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(e)}function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},te.apply(this,arguments)}function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=ee(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=ee(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==ee(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(e){var t=e.x,n=e.y,o=e.r,i=e.alwaysShow,a=e.clipPathId,s=(0,k.vh)(t),l=(0,k.vh)(n);if((0,Q.R)(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!s||!l)return null;var c=function(e){var t=e.x,n=e.y,r=e.xAxis,o=e.yAxis,i=(0,J.P2)({x:r.scale,y:o.scale}),a=i.apply({x:t,y:n},{bandAware:!0});return(0,Z.R)(e,"discard")&&!i.isInRange(a)?null:a}(e);if(!c)return null;var u=c.x,d=c.y,f=e.shape,h=e.className,p=re(re({clipPath:(0,Z.R)(e,"hidden")?"url(#".concat(a,")"):void 0},(0,_.J9)(e,!0)),{},{cx:u,cy:d});return r.createElement(b.W,{className:(0,v.A)("recharts-reference-dot",h)},oe.renderDot(f,p),Y.J.renderCallByParent(e,{x:u-o,y:d-o,width:2*o,height:2*o}))}oe.displayName="ReferenceDot",oe.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},oe.renderDot=function(e,t){return r.isValidElement(e)?r.cloneElement(e,t):s()(e)?e(t):r.createElement(x.c,te({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))};var ie=n(57158);function ae(e){return ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(e)}function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},se.apply(this,arguments)}function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=ae(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=ae(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==ae(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ue(e){var t=e.x1,n=e.x2,o=e.y1,i=e.y2,a=e.className,s=e.alwaysShow,l=e.clipPathId;(0,Q.R)(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var c=(0,k.vh)(t),u=(0,k.vh)(n),d=(0,k.vh)(o),f=(0,k.vh)(i),h=e.shape;if(!(c||u||d||f||h))return null;var p=function(e,t,n,r,o){var i=o.x1,a=o.x2,s=o.y1,l=o.y2,c=o.xAxis,u=o.yAxis;if(!c||!u)return null;var d=(0,J.P2)({x:c.scale,y:u.scale}),f={x:e?d.x.apply(i,{position:"start"}):d.x.rangeMin,y:n?d.y.apply(s,{position:"start"}):d.y.rangeMin},h={x:t?d.x.apply(a,{position:"end"}):d.x.rangeMax,y:r?d.y.apply(l,{position:"end"}):d.y.rangeMax};return!(0,Z.R)(o,"discard")||d.isInRange(f)&&d.isInRange(h)?(0,J.sl)(f,h):null}(c,u,d,f,e);if(!p&&!h)return null;var m=(0,Z.R)(e,"hidden")?"url(#".concat(l,")"):void 0;return r.createElement(b.W,{className:(0,v.A)("recharts-reference-area",a)},ue.renderRect(h,ce(ce({clipPath:m},(0,_.J9)(e,!0)),p)),Y.J.renderCallByParent(e,p))}function de(e){return function(e){if(Array.isArray(e))return fe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return fe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fe(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}ue.displayName="ReferenceArea",ue.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},ue.renderRect=function(e,t){return r.isValidElement(e)?r.cloneElement(e,t):s()(e)?e(t):r.createElement(S.M,se({},t,{className:"recharts-reference-area-rect"}))};var he=function(e,t,n,r,o){var i=(0,_.aS)(e,ie.e),a=(0,_.aS)(e,oe),s=[].concat(de(i),de(a)),l=(0,_.aS)(e,ue),c="".concat(r,"Id"),u=r[0],d=t;if(s.length&&(d=s.reduce((function(e,t){if(t.props[c]===n&&(0,Z.R)(t.props,"extendDomain")&&(0,k.Et)(t.props[u])){var r=t.props[u];return[Math.min(e[0],r),Math.max(e[1],r)]}return e}),d)),l.length){var f="".concat(u,"1"),h="".concat(u,"2");d=l.reduce((function(e,t){if(t.props[c]===n&&(0,Z.R)(t.props,"extendDomain")&&(0,k.Et)(t.props[f])&&(0,k.Et)(t.props[h])){var r=t.props[f],o=t.props[h];return[Math.min(e[0],r,o),Math.max(e[1],r,o)]}return e}),d)}return o&&o.length&&(d=o.reduce((function(e,t){return(0,k.Et)(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),d)),d},pe=n(14040),me=n(23521),ve=n(30228),ge=new(n.n(ve)()),ye="recharts.syncMouseEvents",be=n(98940);function we(e){return we="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},we(e)}function Ee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Se(r.key),r)}}function xe(e,t,n){return(t=Se(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Se(e){var t=function(e,t){if("object"!=we(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=we(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==we(t)?t:String(t)}var _e=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),xe(this,"activeIndex",0),xe(this,"coordinateList",[]),xe(this,"layout","horizontal")}var t,n;return t=e,(n=[{key:"setDetails",value:function(e){var t,n=e.coordinateList,r=void 0===n?null:n,o=e.container,i=void 0===o?null:o,a=e.layout,s=void 0===a?null:a,l=e.offset,c=void 0===l?null:l,u=e.mouseHandlerCallback,d=void 0===u?null:u;this.coordinateList=null!==(t=null!=r?r:this.coordinateList)&&void 0!==t?t:[],this.container=null!=i?i:this.container,this.layout=null!=s?s:this.layout,this.offset=null!=c?c:this.offset,this.mouseHandlerCallback=null!=d?d:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(e){if(0!==this.coordinateList.length)switch(e.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){var e,t;if("horizontal"===this.layout&&0!==this.coordinateList.length){var n=this.container.getBoundingClientRect(),r=n.x,o=n.y,i=n.height,a=this.coordinateList[this.activeIndex].coordinate,s=(null===(e=window)||void 0===e?void 0:e.scrollX)||0,l=(null===(t=window)||void 0===t?void 0:t.scrollY)||0,c=r+a+s,u=o+this.offset.top+i/2+l;this.mouseHandlerCallback({pageX:c,pageY:u})}}}])&&Ee(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Oe=n(15079),Ce=n(29705);function Ae(e){return Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(e)}var ke=["x","y","top","left","width","height","className"];function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Me.apply(this,arguments)}function Te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Pe=function(e,t,n,r,o,i){return"M".concat(e,",").concat(o,"v").concat(r,"M").concat(i,",").concat(t,"h").concat(n)},Ie=function(e){var t=e.x,n=void 0===t?0:t,o=e.y,i=void 0===o?0:o,a=e.top,s=void 0===a?0:a,l=e.left,c=void 0===l?0:l,u=e.width,d=void 0===u?0:u,f=e.height,h=void 0===f?0:f,p=e.className,m=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=Ae(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=Ae(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==Ae(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({x:n,y:i,top:s,left:c,width:d,height:h},function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,ke));return(0,k.Et)(n)&&(0,k.Et)(i)&&(0,k.Et)(d)&&(0,k.Et)(h)&&(0,k.Et)(s)&&(0,k.Et)(c)?r.createElement("path",Me({},(0,_.J9)(m,!0),{className:(0,v.A)("recharts-cross",p),d:Pe(n,i,d,h,s,c)})):null};function je(e){var t=e.cx,n=e.cy,r=e.radius,o=e.startAngle,i=e.endAngle;return{points:[(0,pe.IZ)(t,n,r,o),(0,pe.IZ)(t,n,r,i)],cx:t,cy:n,radius:r,startAngle:o,endAngle:i}}var ze=n(58522);function De(e,t,n){var r,o,i,a;if("horizontal"===e)i=r=t.x,o=n.top,a=n.top+n.height;else if("vertical"===e)a=o=t.y,r=n.left,i=n.left+n.width;else if(null!=t.cx&&null!=t.cy){if("centric"!==e)return je(t);var s=t.cx,l=t.cy,c=t.innerRadius,u=t.outerRadius,d=t.angle,f=(0,pe.IZ)(s,l,c,d),h=(0,pe.IZ)(s,l,u,d);r=f.x,o=f.y,i=h.x,a=h.y}return[{x:r,y:o},{x:i,y:a}]}function Re(e){return Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Re(e)}function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=Re(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=Re(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==Re(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fe(e){var t,n=e.element,o=e.tooltipEventType,i=e.isActive,a=e.activeCoordinate,s=e.activePayload,l=e.offset,c=e.activeTooltipIndex,u=e.tooltipAxisBandSize,d=e.layout,f=e.chartName;if(!n||!n.props.cursor||!i||!a||"ScatterChart"!==f&&"axis"!==o)return null;var h=Ce.I;if("ScatterChart"===f)t=a,h=Ie;else if("BarChart"===f)t=function(e,t,n,r){var o=r/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?t.x-o:n.left+.5,y:"horizontal"===e?n.top+.5:t.y-o,width:"horizontal"===e?r:n.width-1,height:"horizontal"===e?n.height-1:r}}(d,a,l,u),h=S.M;else if("radial"===d){var p=je(a),m=p.cx,g=p.cy,y=p.radius;t={cx:m,cy:g,startAngle:p.startAngle,endAngle:p.endAngle,innerRadius:y,outerRadius:y},h=ze.h}else t={points:De(d,a,l)},h=Ce.I;var b=$e($e($e($e({stroke:"#ccc",pointerEvents:"none"},l),t),(0,_.J9)(n.props.cursor,!1)),{},{payload:s,payloadIndex:c,className:(0,v.A)("recharts-tooltip-cursor",n.props.cursor.className)});return(0,r.isValidElement)(n.props.cursor)?(0,r.cloneElement)(n.props.cursor,b):(0,r.createElement)(h,b)}var Le=n(47429),Be=["item"],He=["children","className","width","height","style","compact","title","desc"];function Ve(e){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ve(e)}function Ue(){return Ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ue.apply(this,arguments)}function We(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||et(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qe(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ke(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,it(r.key),r)}}function Ge(e,t,n){return t=Ye(t),function(e,t){if(t&&("object"===Ve(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ze(e)}(e,Xe()?Reflect.construct(t,n||[],Ye(e).constructor):t.apply(e,n))}function Xe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Xe=function(){return!!e})()}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ye(e)}function Ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Je(e,t){return Je=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Je(e,t)}function Qe(e){return function(e){if(Array.isArray(e))return tt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||et(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function et(e,t){if(e){if("string"==typeof e)return tt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tt(e,t):void 0}}function tt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(n),!0).forEach((function(t){ot(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ot(e,t,n){return(t=it(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function it(e){var t=function(e,t){if("object"!=Ve(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=Ve(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ve(t)?t:String(t)}var at={xAxis:["bottom","top"],yAxis:["left","right"]},st={width:"100%",height:"100%"},lt={x:0,y:0};function ct(e){return e}var ut=function(e,t){var n=t.graphicalItems,r=t.dataStartIndex,o=t.dataEndIndex,i=(null!=n?n:[]).reduce((function(e,t){var n=t.props.data;return n&&n.length?[].concat(Qe(e),Qe(n)):e}),[]);return i.length>0?i:e&&e.length&&(0,k.Et)(r)&&(0,k.Et)(o)?e.slice(r,o+1):[]};function dt(e){return"number"===e?[0,"auto"]:void 0}var ft=function(e,t,n,r){var o=e.graphicalItems,i=e.tooltipAxis,a=ut(t,e);return n<0||!o||!o.length||n>=a.length?null:o.reduce((function(o,s){var l,c,u=null!==(l=s.props.data)&&void 0!==l?l:t;if(u&&e.dataStartIndex+e.dataEndIndex!==0&&(u=u.slice(e.dataStartIndex,e.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory){var d=void 0===u?a:u;c=(0,k.eP)(d,i.dataKey,r)}else c=u&&u[n]||a[n];return c?[].concat(Qe(o),[(0,A.zb)(s,c)]):o}),[])},ht=function(e,t,n,r){var o=r||{x:e.chartX,y:e.chartY},i=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(o,n),a=e.orderedTooltipTicks,s=e.tooltipAxis,l=e.tooltipTicks,c=(0,A.gH)(i,a,l,s);if(c>=0&&l){var u=l[c]&&l[c].value,d=ft(e,t,c,u),f=function(e,t,n,r){var o=t.find((function(e){return e&&e.index===n}));if(o){if("horizontal"===e)return{x:o.coordinate,y:r.y};if("vertical"===e)return{x:r.x,y:o.coordinate};if("centric"===e){var i=o.coordinate,a=r.radius;return rt(rt(rt({},r),(0,pe.IZ)(r.cx,r.cy,a,i)),{},{angle:i,radius:a})}var s=o.coordinate,l=r.angle;return rt(rt(rt({},r),(0,pe.IZ)(r.cx,r.cy,s,l)),{},{angle:l,radius:s})}return lt}(n,a,c,o);return{activeTooltipIndex:c,activeLabel:u,activePayload:d,activeCoordinate:f}}return null},pt=function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,o=t.AxisComp,a=t.graphicalItems,s=t.stackGroups,l=t.dataStartIndex,u=t.dataEndIndex,f=e.children,h="".concat(r,"Id"),p=(0,_.aS)(f,o),m={};return p&&p.length?m=function(e,t){var n=t.axes,r=t.graphicalItems,o=t.axisType,a=t.axisIdKey,s=t.stackGroups,l=t.dataStartIndex,u=t.dataEndIndex,d=e.layout,f=e.children,h=e.stackOffset,p=(0,A._L)(d,o);return n.reduce((function(t,n){var m,v=n.props,g=v.type,y=v.dataKey,b=v.allowDataOverflow,w=v.allowDuplicatedCategory,E=v.scale,x=v.ticks,S=v.includeHidden,_=n.props[a];if(t[_])return t;var O,C,M,T=ut(e.data,{graphicalItems:r.filter((function(e){return e.props[a]===_})),dataStartIndex:l,dataEndIndex:u}),P=T.length;(function(e,t,n){if("number"===n&&!0===t&&Array.isArray(e)){var r=null==e?void 0:e[0],o=null==e?void 0:e[1];if(r&&o&&(0,k.Et)(r)&&(0,k.Et)(o))return!0}return!1})(n.props.domain,b,g)&&(O=(0,A.AQ)(n.props.domain,null,b),!p||"number"!==g&&"auto"===E||(M=(0,A.Ay)(T,y,"category")));var I=dt(g);if(!O||0===O.length){var j,z=null!==(j=n.props.domain)&&void 0!==j?j:I;if(y){if(O=(0,A.Ay)(T,y,g),"category"===g&&p){var D=(0,k.CG)(O);w&&D?(C=O,O=c()(0,P)):w||(O=(0,A.KC)(z,O,n).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(Qe(e),[t])}),[]))}else if("category"===g)O=w?O.filter((function(e){return""!==e&&!i()(e)})):(0,A.KC)(z,O,n).reduce((function(e,t){return e.indexOf(t)>=0||""===t||i()(t)?e:[].concat(Qe(e),[t])}),[]);else if("number"===g){var R=(0,A.A1)(T,r.filter((function(e){return e.props[a]===_&&(S||!e.props.hide)})),y,o,d);R&&(O=R)}!p||"number"!==g&&"auto"===E||(M=(0,A.Ay)(T,y,"category"))}else O=p?c()(0,P):s&&s[_]&&s[_].hasStack&&"number"===g?"expand"===h?[0,1]:(0,A.Mk)(s[_].stackGroups,l,u):(0,A.vf)(T,r.filter((function(e){return e.props[a]===_&&(S||!e.props.hide)})),g,d,!0);if("number"===g)O=he(f,O,_,o,x),z&&(O=(0,A.AQ)(z,O,b));else if("category"===g&&z){var N=z;O.every((function(e){return N.indexOf(e)>=0}))&&(O=N)}}return rt(rt({},t),{},ot({},_,rt(rt({},n.props),{},{axisType:o,domain:O,categoricalDomain:M,duplicateDomain:C,originalDomain:null!==(m=n.props.domain)&&void 0!==m?m:I,isCategorical:p,layout:d})))}),{})}(e,{axes:p,graphicalItems:a,axisType:r,axisIdKey:h,stackGroups:s,dataStartIndex:l,dataEndIndex:u}):a&&a.length&&(m=function(e,t){var n=t.graphicalItems,r=t.Axis,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,f=e.children,h=ut(e.data,{graphicalItems:n,dataStartIndex:s,dataEndIndex:l}),p=h.length,m=(0,A._L)(u,o),v=-1;return n.reduce((function(e,t){var g,y=t.props[i],b=dt("number");return e[y]?e:(v++,m?g=c()(0,p):a&&a[y]&&a[y].hasStack?(g=(0,A.Mk)(a[y].stackGroups,s,l),g=he(f,g,y,o)):(g=(0,A.AQ)(b,(0,A.vf)(h,n.filter((function(e){return e.props[i]===y&&!e.props.hide})),"number",u),r.defaultProps.allowDataOverflow),g=he(f,g,y,o)),rt(rt({},e),{},ot({},y,rt(rt({axisType:o},r.defaultProps),{},{hide:!0,orientation:d()(at,"".concat(o,".").concat(v%2),null),domain:g,originalDomain:b,isCategorical:m,layout:u}))))}),{})}(e,{Axis:o,graphicalItems:a,axisType:r,axisIdKey:h,stackGroups:s,dataStartIndex:l,dataEndIndex:u})),m},mt=function(e){var t=e.children,n=e.defaultShowTooltip,r=(0,_.BU)(t,K),o=0,i=0;return e.data&&0!==e.data.length&&(i=e.data.length-1),r&&r.props&&(r.props.startIndex>=0&&(o=r.props.startIndex),r.props.endIndex>=0&&(i=r.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:Boolean(n)}},vt=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},gt=function(e,t){return"xAxis"===t?e[t].width:"yAxis"===t?e[t].height:void 0},yt=function(e){var t,n=e.chartName,o=e.GraphicalChild,a=e.defaultTooltipEventType,l=void 0===a?"axis":a,c=e.validateTooltipEventTypes,u=void 0===c?["axis"]:c,f=e.axisComponents,p=e.legendContent,O=e.formatAxisMap,C=e.defaultProps,M=function(e,t){var r=e.props,a=e.dataStartIndex,s=e.dataEndIndex,l=e.updateId;if(!(0,_.Me)({props:r}))return null;var c=r.children,u=r.layout,p=r.stackOffset,m=r.data,v=r.reverseStackOrder,y=vt(u),b=y.numericAxisName,w=y.cateAxisName,x=(0,_.aS)(c,o),S=(0,A.Mn)(m,x,"".concat(b,"Id"),"".concat(w,"Id"),p,v),C=f.reduce((function(e,t){var n="".concat(t.axisType,"Map");return rt(rt({},e),{},ot({},n,pt(r,rt(rt({},t),{},{graphicalItems:x,stackGroups:t.axisType===b&&S,dataStartIndex:a,dataEndIndex:s}))))}),{}),M=function(e,t){var n=e.props,r=e.graphicalItems,o=e.xAxisMap,i=void 0===o?{}:o,a=e.yAxisMap,s=void 0===a?{}:a,l=n.width,c=n.height,u=n.children,f=n.margin||{},h=(0,_.BU)(u,K),p=(0,_.BU)(u,E.s),m=Object.keys(s).reduce((function(e,t){var n=s[t],r=n.orientation;return n.mirror||n.hide?e:rt(rt({},e),{},ot({},r,e[r]+n.width))}),{left:f.left||0,right:f.right||0}),v=Object.keys(i).reduce((function(e,t){var n=i[t],r=n.orientation;return n.mirror||n.hide?e:rt(rt({},e),{},ot({},r,d()(e,"".concat(r))+n.height))}),{top:f.top||0,bottom:f.bottom||0}),g=rt(rt({},v),m),y=g.bottom;h&&(g.bottom+=h.props.height||K.defaultProps.height),p&&t&&(g=(0,A.s0)(g,r,n,t));var b=l-g.left-g.right,w=c-g.top-g.bottom;return rt(rt({brushBottom:y},g),{},{width:Math.max(b,0),height:Math.max(w,0)})}(rt(rt({},C),{},{props:r,graphicalItems:x}),null==t?void 0:t.legendBBox);Object.keys(C).forEach((function(e){C[e]=O(r,C[e],M,e.replace("Map",""),n)}));var T,P,I,j=(T=C["".concat(w,"Map")],P=(0,k.lX)(T),{tooltipTicks:I=(0,A.Rh)(P,!1,!0),orderedTooltipTicks:h()(I,(function(e){return e.coordinate})),tooltipAxis:P,tooltipAxisBandSize:(0,A.Hj)(P,I)}),z=function(e,t){var n=t.graphicalItems,r=t.stackGroups,o=t.offset,a=t.updateId,s=t.dataStartIndex,l=t.dataEndIndex,c=e.barSize,u=e.layout,d=e.barGap,h=e.barCategoryGap,p=e.maxBarSize,m=vt(u),v=m.numericAxisName,y=m.cateAxisName,b=function(e){return!(!e||!e.length)&&e.some((function(e){var t=(0,_.Mn)(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(n),w=[];return n.forEach((function(n,m){var E=ut(e.data,{graphicalItems:[n],dataStartIndex:s,dataEndIndex:l}),x=n.props,S=x.dataKey,O=x.maxBarSize,C=n.props["".concat(v,"Id")],k=n.props["".concat(y,"Id")],M=f.reduce((function(e,r){var o=t["".concat(r.axisType,"Map")],i=n.props["".concat(r.axisType,"Id")];o&&o[i]||"zAxis"===r.axisType||(0,g.A)(!1);var a=o[i];return rt(rt({},e),{},ot(ot({},r.axisType,a),"".concat(r.axisType,"Ticks"),(0,A.Rh)(a)))}),{}),T=M[y],P=M["".concat(y,"Ticks")],I=r&&r[C]&&r[C].hasStack&&(0,A.kA)(n,r[C].stackGroups),j=(0,_.Mn)(n.type).indexOf("Bar")>=0,z=(0,A.Hj)(T,P),D=[],R=b&&(0,A.tA)({barSize:c,stackGroups:r,totalSize:gt(M,y)});if(j){var N,$,F=i()(O)?p:O,L=null!==(N=null!==($=(0,A.Hj)(T,P,!0))&&void 0!==$?$:F)&&void 0!==N?N:0;D=(0,A.BX)({barGap:d,barCategoryGap:h,bandSize:L!==z?L:z,sizeList:R[k],maxBarSize:F}),L!==z&&(D=D.map((function(e){return rt(rt({},e),{},{position:rt(rt({},e.position),{},{offset:e.position.offset-L/2})})})))}var B=n&&n.type&&n.type.getComposedData;B&&w.push({props:rt(rt({},B(rt(rt({},M),{},{displayedData:E,props:e,dataKey:S,item:n,bandSize:z,barPosition:D,offset:o,stackedData:I,layout:u,dataStartIndex:s,dataEndIndex:l}))),{},ot(ot(ot({key:n.key||"item-".concat(m)},v,M[v]),y,M[y]),"animationId",a)),childIndex:(0,_.AW)(n,e.children),item:n})})),w}(r,rt(rt({},C),{},{dataStartIndex:a,dataEndIndex:s,updateId:l,graphicalItems:x,stackGroups:S,offset:M}));return rt(rt({formattedGraphicalItems:z,graphicalItems:x,offset:M,stackGroups:S},j),C)};return t=function(e){function t(e){var o,a,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ot(Ze(l=Ge(this,t,[e])),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),ot(Ze(l),"accessibilityManager",new _e),ot(Ze(l),"handleLegendBBoxUpdate",(function(e){if(e){var t=l.state,n=t.dataStartIndex,r=t.dataEndIndex,o=t.updateId;l.setState(rt({legendBBox:e},M({props:l.props,dataStartIndex:n,dataEndIndex:r,updateId:o},rt(rt({},l.state),{},{legendBBox:e}))))}})),ot(Ze(l),"handleReceiveSyncEvent",(function(e,t,n){if(l.props.syncId===e){if(n===l.eventEmitterSymbol&&"function"!=typeof l.props.syncMethod)return;l.applySyncEvent(t)}})),ot(Ze(l),"handleBrushChange",(function(e){var t=e.startIndex,n=e.endIndex;if(t!==l.state.dataStartIndex||n!==l.state.dataEndIndex){var r=l.state.updateId;l.setState((function(){return rt({dataStartIndex:t,dataEndIndex:n},M({props:l.props,dataStartIndex:t,dataEndIndex:n,updateId:r},l.state))})),l.triggerSyncEvent({dataStartIndex:t,dataEndIndex:n})}})),ot(Ze(l),"handleMouseEnter",(function(e){var t=l.getMouseInfo(e);if(t){var n=rt(rt({},t),{},{isTooltipActive:!0});l.setState(n),l.triggerSyncEvent(n);var r=l.props.onMouseEnter;s()(r)&&r(n,e)}})),ot(Ze(l),"triggeredAfterMouseMove",(function(e){var t=l.getMouseInfo(e),n=t?rt(rt({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};l.setState(n),l.triggerSyncEvent(n);var r=l.props.onMouseMove;s()(r)&&r(n,e)})),ot(Ze(l),"handleItemMouseEnter",(function(e){l.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))})),ot(Ze(l),"handleItemMouseLeave",(function(){l.setState((function(){return{isTooltipActive:!1}}))})),ot(Ze(l),"handleMouseMove",(function(e){e.persist(),l.throttleTriggeredAfterMouseMove(e)})),ot(Ze(l),"handleMouseLeave",(function(e){l.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};l.setState(t),l.triggerSyncEvent(t);var n=l.props.onMouseLeave;s()(n)&&n(t,e)})),ot(Ze(l),"handleOuterEvent",(function(e){var t,n=(0,_.X_)(e),r=d()(l.props,"".concat(n));n&&s()(r)&&r(null!==(t=/.*touch.*/i.test(n)?l.getMouseInfo(e.changedTouches[0]):l.getMouseInfo(e))&&void 0!==t?t:{},e)})),ot(Ze(l),"handleClick",(function(e){var t=l.getMouseInfo(e);if(t){var n=rt(rt({},t),{},{isTooltipActive:!0});l.setState(n),l.triggerSyncEvent(n);var r=l.props.onClick;s()(r)&&r(n,e)}})),ot(Ze(l),"handleMouseDown",(function(e){var t=l.props.onMouseDown;s()(t)&&t(l.getMouseInfo(e),e)})),ot(Ze(l),"handleMouseUp",(function(e){var t=l.props.onMouseUp;s()(t)&&t(l.getMouseInfo(e),e)})),ot(Ze(l),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&l.throttleTriggeredAfterMouseMove(e.changedTouches[0])})),ot(Ze(l),"handleTouchStart",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&l.handleMouseDown(e.changedTouches[0])})),ot(Ze(l),"handleTouchEnd",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&l.handleMouseUp(e.changedTouches[0])})),ot(Ze(l),"triggerSyncEvent",(function(e){void 0!==l.props.syncId&&ge.emit(ye,l.props.syncId,e,l.eventEmitterSymbol)})),ot(Ze(l),"applySyncEvent",(function(e){var t=l.props,n=t.layout,r=t.syncMethod,o=l.state.updateId,i=e.dataStartIndex,a=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)l.setState(rt({dataStartIndex:i,dataEndIndex:a},M({props:l.props,dataStartIndex:i,dataEndIndex:a,updateId:o},l.state)));else if(void 0!==e.activeTooltipIndex){var s=e.chartX,c=e.chartY,u=e.activeTooltipIndex,d=l.state,f=d.offset,h=d.tooltipTicks;if(!f)return;if("function"==typeof r)u=r(h,e);else if("value"===r){u=-1;for(var p=0;p<h.length;p++)if(h[p].value===e.activeLabel){u=p;break}}var m=rt(rt({},f),{},{x:f.left,y:f.top}),v=Math.min(s,m.x+m.width),g=Math.min(c,m.y+m.height),y=h[u]&&h[u].value,b=ft(l.state,l.props.data,u),w=h[u]?{x:"horizontal"===n?h[u].coordinate:v,y:"horizontal"===n?g:h[u].coordinate}:lt;l.setState(rt(rt({},e),{},{activeLabel:y,activeCoordinate:w,activePayload:b,activeTooltipIndex:u}))}else l.setState(e)})),ot(Ze(l),"renderCursor",(function(e){var t,o=l.state,i=o.isTooltipActive,a=o.activeCoordinate,s=o.activePayload,c=o.offset,u=o.activeTooltipIndex,d=o.tooltipAxisBandSize,f=l.getTooltipEventType(),h=null!==(t=e.props.active)&&void 0!==t?t:i,p=l.props.layout,m=e.key||"_recharts-cursor";return r.createElement(Fe,{key:m,activeCoordinate:a,activePayload:s,activeTooltipIndex:u,chartName:n,element:e,isActive:h,layout:p,offset:c,tooltipAxisBandSize:d,tooltipEventType:f})})),ot(Ze(l),"renderPolarAxis",(function(e,t,n){var o=d()(e,"type.axisType"),i=d()(l.state,"".concat(o,"Map")),a=i&&i[e.props["".concat(o,"Id")]];return(0,r.cloneElement)(e,rt(rt({},a),{},{className:(0,v.A)(o,a.className),key:e.key||"".concat(t,"-").concat(n),ticks:(0,A.Rh)(a,!0)}))})),ot(Ze(l),"renderPolarGrid",(function(e){var t=e.props,n=t.radialLines,o=t.polarAngles,i=t.polarRadius,a=l.state,s=a.radiusAxisMap,c=a.angleAxisMap,u=(0,k.lX)(s),d=(0,k.lX)(c),f=d.cx,h=d.cy,p=d.innerRadius,m=d.outerRadius;return(0,r.cloneElement)(e,{polarAngles:Array.isArray(o)?o:(0,A.Rh)(d,!0).map((function(e){return e.coordinate})),polarRadius:Array.isArray(i)?i:(0,A.Rh)(u,!0).map((function(e){return e.coordinate})),cx:f,cy:h,innerRadius:p,outerRadius:m,key:e.key||"polar-grid",radialLines:n})})),ot(Ze(l),"renderLegend",(function(){var e=l.state.formattedGraphicalItems,t=l.props,n=t.children,o=t.width,i=t.height,a=l.props.margin||{},s=o-(a.left||0)-(a.right||0),c=(0,X.g)({children:n,formattedGraphicalItems:e,legendWidth:s,legendContent:p});if(!c)return null;var u=c.item,d=qe(c,Be);return(0,r.cloneElement)(u,rt(rt({},d),{},{chartWidth:o,chartHeight:i,margin:a,onBBoxUpdate:l.handleLegendBBoxUpdate}))})),ot(Ze(l),"renderTooltip",(function(){var e,t=l.props,n=t.children,o=t.accessibilityLayer,i=(0,_.BU)(n,w.m);if(!i)return null;var a=l.state,s=a.isTooltipActive,c=a.activeCoordinate,u=a.activePayload,d=a.activeLabel,f=a.offset,h=null!==(e=i.props.active)&&void 0!==e?e:s;return(0,r.cloneElement)(i,{viewBox:rt(rt({},f),{},{x:f.left,y:f.top}),active:h,label:d,payload:h?u:[],coordinate:c,accessibilityLayer:o})})),ot(Ze(l),"renderBrush",(function(e){var t=l.props,n=t.margin,o=t.data,i=l.state,a=i.offset,s=i.dataStartIndex,c=i.dataEndIndex,u=i.updateId;return(0,r.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:(0,A.HQ)(l.handleBrushChange,e.props.onChange),data:o,x:(0,k.Et)(e.props.x)?e.props.x:a.left,y:(0,k.Et)(e.props.y)?e.props.y:a.top+a.height+a.brushBottom-(n.bottom||0),width:(0,k.Et)(e.props.width)?e.props.width:a.width,startIndex:s,endIndex:c,updateId:"brush-".concat(u)})})),ot(Ze(l),"renderReferenceElement",(function(e,t,n){if(!e)return null;var o=Ze(l).clipPathId,i=l.state,a=i.xAxisMap,s=i.yAxisMap,c=i.offset,u=e.props,d=u.xAxisId,f=u.yAxisId;return(0,r.cloneElement)(e,{key:e.key||"".concat(t,"-").concat(n),xAxis:a[d],yAxis:s[f],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:o})})),ot(Ze(l),"renderActivePoints",(function(e){var n=e.item,r=e.activePoint,o=e.basePoint,i=e.childIndex,a=e.isRange,s=[],l=n.props.key,c=n.item.props,u=c.activeDot,d=rt(rt({index:i,dataKey:c.dataKey,cx:r.x,cy:r.y,r:4,fill:(0,A.Ps)(n.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value,key:"".concat(l,"-activePoint-").concat(i)},(0,_.J9)(u,!1)),(0,be._U)(u));return s.push(t.renderActiveDot(u,d)),o?s.push(t.renderActiveDot(u,rt(rt({},d),{},{cx:o.x,cy:o.y,key:"".concat(l,"-basePoint-").concat(i)}))):a&&s.push(null),s})),ot(Ze(l),"renderGraphicChild",(function(e,t,n){var o=l.filterFormatItem(e,t,n);if(!o)return null;var a=l.getTooltipEventType(),s=l.state,c=s.isTooltipActive,u=s.tooltipAxis,d=s.activeTooltipIndex,f=s.activeLabel,h=l.props.children,p=(0,_.BU)(h,w.m),m=o.props,v=m.points,g=m.isRange,y=m.baseLine,b=o.item.props,E=b.activeDot,x=b.hide,S=b.activeBar,O=b.activeShape,C=Boolean(!x&&c&&p&&(E||S||O)),M={};"axis"!==a&&p&&"click"===p.props.trigger?M={onClick:(0,A.HQ)(l.handleItemMouseEnter,e.props.onClick)}:"axis"!==a&&(M={onMouseLeave:(0,A.HQ)(l.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:(0,A.HQ)(l.handleItemMouseEnter,e.props.onMouseEnter)});var T=(0,r.cloneElement)(e,rt(rt({},o.props),M));if(C){if(!(d>=0)){var P,I=(null!==(P=l.getItemByXY(l.state.activeCoordinate))&&void 0!==P?P:{graphicalItem:T}).graphicalItem,j=I.item,z=void 0===j?e:j,D=I.childIndex,R=rt(rt(rt({},o.props),M),{},{activeIndex:D});return[(0,r.cloneElement)(z,R),null,null]}var N,$;if(u.dataKey&&!u.allowDuplicatedCategory){var F="function"==typeof u.dataKey?function(e){return"function"==typeof u.dataKey?u.dataKey(e.payload):null}:"payload.".concat(u.dataKey.toString());N=(0,k.eP)(v,F,f),$=g&&y&&(0,k.eP)(y,F,f)}else N=null==v?void 0:v[d],$=g&&y&&y[d];if(O||S){var L=void 0!==e.props.activeIndex?e.props.activeIndex:d;return[(0,r.cloneElement)(e,rt(rt(rt({},o.props),M),{},{activeIndex:L})),null,null]}if(!i()(N))return[T].concat(Qe(l.renderActivePoints({item:o,activePoint:N,basePoint:$,childIndex:d,isRange:g})))}return g?[T,null,null]:[T,null]})),ot(Ze(l),"renderCustomized",(function(e,t,n){return(0,r.cloneElement)(e,rt(rt({key:"recharts-customized-".concat(n)},l.props),l.state))})),ot(Ze(l),"renderMap",{CartesianGrid:{handler:ct,once:!0},ReferenceArea:{handler:l.renderReferenceElement},ReferenceLine:{handler:ct},ReferenceDot:{handler:l.renderReferenceElement},XAxis:{handler:ct},YAxis:{handler:ct},Brush:{handler:l.renderBrush,once:!0},Bar:{handler:l.renderGraphicChild},Line:{handler:l.renderGraphicChild},Area:{handler:l.renderGraphicChild},Radar:{handler:l.renderGraphicChild},RadialBar:{handler:l.renderGraphicChild},Scatter:{handler:l.renderGraphicChild},Pie:{handler:l.renderGraphicChild},Funnel:{handler:l.renderGraphicChild},Tooltip:{handler:l.renderCursor,once:!0},PolarGrid:{handler:l.renderPolarGrid,once:!0},PolarAngleAxis:{handler:l.renderPolarAxis},PolarRadiusAxis:{handler:l.renderPolarAxis},Customized:{handler:l.renderCustomized}}),l.clipPathId="".concat(null!==(o=e.id)&&void 0!==o?o:(0,k.NF)("recharts"),"-clip"),l.throttleTriggeredAfterMouseMove=m()(l.triggeredAfterMouseMove,null!==(a=e.throttleDelay)&&void 0!==a?a:1e3/60),l.state={},l}var o,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Je(e,t)}(t,e),o=t,a=[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(e=this.props.margin.left)&&void 0!==e?e:0,top:null!==(t=this.props.margin.top)&&void 0!==t?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,n=e.data,r=e.height,o=e.layout,i=(0,_.BU)(t,w.m);if(i){var a=i.props.defaultIndex;if(!("number"!=typeof a||a<0||a>this.state.tooltipTicks.length)){var s=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,l=ft(this.state,n,a,s),c=this.state.tooltipTicks[a].coordinate,u=(this.state.offset.top+r)/2,d="horizontal"===o?{x:c,y:u}:{y:c,x:u},f=this.state.formattedGraphicalItems.find((function(e){return"Scatter"===e.item.type.name}));f&&(d=rt(rt({},d),f.props.points[a].tooltipPosition),l=f.props.points[a].tooltipPayload);var h={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:s,activePayload:l,activeCoordinate:d};this.setState(h),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){return this.props.accessibilityLayer?(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin&&this.accessibilityManager.setDetails({offset:{left:null!==(n=this.props.margin.left)&&void 0!==n?n:0,top:null!==(r=this.props.margin.top)&&void 0!==r?r:0}}),null):null;var n,r}},{key:"componentDidUpdate",value:function(e){(0,_.OV)([(0,_.BU)(e.children,w.m)],[(0,_.BU)(this.props.children,w.m)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=(0,_.BU)(this.props.children,w.m);if(e&&"boolean"==typeof e.props.shared){var t=e.props.shared?"axis":"item";return u.indexOf(t)>=0?t:l}return l}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t=this.container,n=t.getBoundingClientRect(),r=(0,G.A3)(n),o={chartX:Math.round(e.pageX-r.left),chartY:Math.round(e.pageY-r.top)},i=n.width/t.offsetWidth||1,a=this.inRange(o.chartX,o.chartY,i);if(!a)return null;var s=this.state,l=s.xAxisMap,c=s.yAxisMap;if("axis"!==this.getTooltipEventType()&&l&&c){var u=(0,k.lX)(l).scale,d=(0,k.lX)(c).scale,f=u&&u.invert?u.invert(o.chartX):null,h=d&&d.invert?d.invert(o.chartY):null;return rt(rt({},o),{},{xValue:f,yValue:h})}var p=ht(this.state,this.props.data,this.props.layout,a);return p?rt(rt({},o),p):null}},{key:"inRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=this.props.layout,o=e/n,i=t/n;if("horizontal"===r||"vertical"===r){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var s=this.state,l=s.angleAxisMap,c=s.radiusAxisMap;if(l&&c){var u=(0,k.lX)(l);return(0,pe.yy)({x:o,y:i},u)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),n=(0,_.BU)(e,w.m),r={};return n&&"axis"===t&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),rt(rt({},(0,be._U)(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){ge.on(ye,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){ge.removeListener(ye,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,n){for(var r=this.state.formattedGraphicalItems,o=0,i=r.length;o<i;o++){var a=r[o];if(a.item===e||a.props.key===e.key||t===(0,_.Mn)(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,n=t.left,o=t.top,i=t.height,a=t.width;return r.createElement("defs",null,r.createElement("clipPath",{id:e},r.createElement("rect",{x:n,y:o,height:i,width:a})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=We(t,2),r=n[0],o=n[1];return rt(rt({},e),{},ot({},r,o.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=We(t,2),r=n[0],o=n[1];return rt(rt({},e),{},ot({},r,o.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null===(t=this.state.xAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null===(t=this.state.yAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,n=t.formattedGraphicalItems,r=t.activeItem;if(n&&n.length)for(var o=0,i=n.length;o<i;o++){var a=n[o],s=a.props,l=a.item,c=(0,_.Mn)(l.type);if("Bar"===c){var u=(s.data||[]).find((function(t){return(0,S.J)(e,t)}));if(u)return{graphicalItem:a,payload:u}}else if("RadialBar"===c){var d=(s.data||[]).find((function(t){return(0,pe.yy)(e,t)}));if(d)return{graphicalItem:a,payload:d}}else if((0,Oe.NE)(a,r)||(0,Oe.nZ)(a,r)||(0,Oe.xQ)(a,r)){var f=(0,Oe.GG)({graphicalItem:a,activeTooltipItem:r,itemData:l.props.data}),h=void 0===l.props.activeIndex?f:l.props.activeIndex;return{graphicalItem:rt(rt({},a),{},{childIndex:h}),payload:(0,Oe.xQ)(a,r)?l.props.data[f]:a.props.data[f]}}}return null}},{key:"render",value:function(){var e=this;if(!(0,_.Me)(this))return null;var t,n,o=this.props,i=o.children,a=o.className,s=o.width,l=o.height,c=o.style,u=o.compact,d=o.title,f=o.desc,h=qe(o,He),p=(0,_.J9)(h,!1);if(u)return r.createElement(Le.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},r.createElement(y.u,Ue({},p,{width:s,height:l,title:d,desc:f}),this.renderClipPath(),(0,_.ee)(i,this.renderMap)));this.props.accessibilityLayer&&(p.tabIndex=null!==(t=this.props.tabIndex)&&void 0!==t?t:0,p.role=null!==(n=this.props.role)&&void 0!==n?n:"application",p.onKeyDown=function(t){e.accessibilityManager.keyboardEvent(t)},p.onFocus=function(){e.accessibilityManager.focus()});var m=this.parseEventsOfWrapper();return r.createElement(Le.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},r.createElement("div",Ue({className:(0,v.A)("recharts-wrapper",a),style:rt({position:"relative",cursor:"default",width:s,height:l},c)},m,{ref:function(t){e.container=t}}),r.createElement(y.u,Ue({},p,{width:s,height:l,title:d,desc:f,style:st}),this.renderClipPath(),(0,_.ee)(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],a&&Ke(o.prototype,a),Object.defineProperty(o,"prototype",{writable:!1}),t}(r.Component),ot(t,"displayName",n),ot(t,"defaultProps",rt({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},C)),ot(t,"getDerivedStateFromProps",(function(e,t){var n=e.dataKey,r=e.data,o=e.children,a=e.width,s=e.height,l=e.layout,c=e.stackOffset,u=e.margin,d=t.dataStartIndex,f=t.dataEndIndex;if(void 0===t.updateId){var h=mt(e);return rt(rt(rt({},h),{},{updateId:0},M(rt(rt({props:e},h),{},{updateId:0}),t)),{},{prevDataKey:n,prevData:r,prevWidth:a,prevHeight:s,prevLayout:l,prevStackOffset:c,prevMargin:u,prevChildren:o})}if(n!==t.prevDataKey||r!==t.prevData||a!==t.prevWidth||s!==t.prevHeight||l!==t.prevLayout||c!==t.prevStackOffset||!(0,me.b)(u,t.prevMargin)){var p=mt(e),m={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},v=rt(rt({},ht(t,r,l)),{},{updateId:t.updateId+1}),g=rt(rt(rt({},p),m),v);return rt(rt(rt({},g),M(rt({props:e},g),t)),{},{prevDataKey:n,prevData:r,prevWidth:a,prevHeight:s,prevLayout:l,prevStackOffset:c,prevMargin:u,prevChildren:o})}if(!(0,_.OV)(o,t.prevChildren)){var y,b,w,E,x=(0,_.BU)(o,K),S=x&&null!==(y=null===(b=x.props)||void 0===b?void 0:b.startIndex)&&void 0!==y?y:d,O=x&&null!==(w=null===(E=x.props)||void 0===E?void 0:E.endIndex)&&void 0!==w?w:f,C=S!==d||O!==f,A=i()(r)||C?t.updateId+1:t.updateId;return rt(rt({updateId:A},M(rt(rt({props:e},t),{},{updateId:A,dataStartIndex:S,dataEndIndex:O}),t)),{},{prevChildren:o,dataStartIndex:S,dataEndIndex:O})}return null})),ot(t,"renderActiveDot",(function(e,t){var n;return n=(0,r.isValidElement)(e)?(0,r.cloneElement)(e,t):s()(e)?e(t):r.createElement(x.c,t),r.createElement(b.W,{className:"recharts-active-dot",key:t.key},n)})),t}},72050:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});var r=function(e){return null};r.displayName="Cell"},91706:(e,t,n)=>{"use strict";n.d(t,{J:()=>C});var r=n(96540),o=n(69843),i=n.n(o),a=n(1882),s=n.n(a),l=n(23805),c=n.n(l),u=n(34164),d=n(81174),f=n(94501),h=n(59744),p=n(14040);function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}var v=["offset"];function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=m(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=m(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==m(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)}var E=function(e){var t=e.value,n=e.formatter,r=i()(e.children)?t:e.children;return s()(n)?n(r):r},x=function(e,t,n){var o,a,s=e.position,l=e.viewBox,c=e.offset,d=e.className,f=l,m=f.cx,v=f.cy,g=f.innerRadius,y=f.outerRadius,b=f.startAngle,E=f.endAngle,x=f.clockWise,S=(g+y)/2,_=function(e,t){return(0,h.sA)(t-e)*Math.min(Math.abs(t-e),360)}(b,E),O=_>=0?1:-1;"insideStart"===s?(o=b+O*c,a=x):"insideEnd"===s?(o=E-O*c,a=!x):"end"===s&&(o=E+O*c,a=x),a=_<=0?a:!a;var C=(0,p.IZ)(m,v,S,o),A=(0,p.IZ)(m,v,S,o+359*(a?1:-1)),k="M".concat(C.x,",").concat(C.y,"\n    A").concat(S,",").concat(S,",0,1,").concat(a?0:1,",\n    ").concat(A.x,",").concat(A.y),M=i()(e.id)?(0,h.NF)("recharts-radial-line-"):e.id;return r.createElement("text",w({},n,{dominantBaseline:"central",className:(0,u.A)("recharts-radial-bar-label",d)}),r.createElement("defs",null,r.createElement("path",{id:M,d:k})),r.createElement("textPath",{xlinkHref:"#".concat(M)},t))},S=function(e){var t=e.viewBox,n=e.offset,r=e.position,o=t,i=o.cx,a=o.cy,s=o.innerRadius,l=o.outerRadius,c=(o.startAngle+o.endAngle)/2;if("outside"===r){var u=(0,p.IZ)(i,a,l+n,c),d=u.x;return{x:d,y:u.y,textAnchor:d>=i?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var f=(s+l)/2,h=(0,p.IZ)(i,a,f,c);return{x:h.x,y:h.y,textAnchor:"middle",verticalAnchor:"middle"}},_=function(e){var t=e.viewBox,n=e.parentViewBox,r=e.offset,o=e.position,i=t,a=i.x,s=i.y,l=i.width,u=i.height,d=u>=0?1:-1,f=d*r,p=d>0?"end":"start",m=d>0?"start":"end",v=l>=0?1:-1,g=v*r,y=v>0?"end":"start",w=v>0?"start":"end";if("top"===o)return b(b({},{x:a+l/2,y:s-d*r,textAnchor:"middle",verticalAnchor:p}),n?{height:Math.max(s-n.y,0),width:l}:{});if("bottom"===o)return b(b({},{x:a+l/2,y:s+u+f,textAnchor:"middle",verticalAnchor:m}),n?{height:Math.max(n.y+n.height-(s+u),0),width:l}:{});if("left"===o){var E={x:a-g,y:s+u/2,textAnchor:y,verticalAnchor:"middle"};return b(b({},E),n?{width:Math.max(E.x-n.x,0),height:u}:{})}if("right"===o){var x={x:a+l+g,y:s+u/2,textAnchor:w,verticalAnchor:"middle"};return b(b({},x),n?{width:Math.max(n.x+n.width-x.x,0),height:u}:{})}var S=n?{width:l,height:u}:{};return"insideLeft"===o?b({x:a+g,y:s+u/2,textAnchor:w,verticalAnchor:"middle"},S):"insideRight"===o?b({x:a+l-g,y:s+u/2,textAnchor:y,verticalAnchor:"middle"},S):"insideTop"===o?b({x:a+l/2,y:s+f,textAnchor:"middle",verticalAnchor:m},S):"insideBottom"===o?b({x:a+l/2,y:s+u-f,textAnchor:"middle",verticalAnchor:p},S):"insideTopLeft"===o?b({x:a+g,y:s+f,textAnchor:w,verticalAnchor:m},S):"insideTopRight"===o?b({x:a+l-g,y:s+f,textAnchor:y,verticalAnchor:m},S):"insideBottomLeft"===o?b({x:a+g,y:s+u-f,textAnchor:w,verticalAnchor:p},S):"insideBottomRight"===o?b({x:a+l-g,y:s+u-f,textAnchor:y,verticalAnchor:p},S):c()(o)&&((0,h.Et)(o.x)||(0,h._3)(o.x))&&((0,h.Et)(o.y)||(0,h._3)(o.y))?b({x:a+(0,h.F4)(o.x,l),y:s+(0,h.F4)(o.y,u),textAnchor:"end",verticalAnchor:"end"},S):b({x:a+l/2,y:s+u/2,textAnchor:"middle",verticalAnchor:"middle"},S)},O=function(e){return"cx"in e&&(0,h.Et)(e.cx)};function C(e){var t,n=e.offset,o=b({offset:void 0===n?5:n},function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,v)),a=o.viewBox,l=o.position,c=o.value,h=o.children,p=o.content,m=o.className,g=void 0===m?"":m,y=o.textBreakAll;if(!a||i()(c)&&i()(h)&&!(0,r.isValidElement)(p)&&!s()(p))return null;if((0,r.isValidElement)(p))return(0,r.cloneElement)(p,o);if(s()(p)){if(t=(0,r.createElement)(p,o),(0,r.isValidElement)(t))return t}else t=E(o);var C=O(a),A=(0,f.J9)(o,!0);if(C&&("insideStart"===l||"insideEnd"===l||"end"===l))return x(o,t,A);var k=C?S(o):_(o);return r.createElement(d.E,w({className:(0,u.A)("recharts-label",g)},A,k,{breakAll:y}),t)}C.displayName="Label";var A=function(e){var t=e.cx,n=e.cy,r=e.angle,o=e.startAngle,i=e.endAngle,a=e.r,s=e.radius,l=e.innerRadius,c=e.outerRadius,u=e.x,d=e.y,f=e.top,p=e.left,m=e.width,v=e.height,g=e.clockWise,y=e.labelViewBox;if(y)return y;if((0,h.Et)(m)&&(0,h.Et)(v)){if((0,h.Et)(u)&&(0,h.Et)(d))return{x:u,y:d,width:m,height:v};if((0,h.Et)(f)&&(0,h.Et)(p))return{x:f,y:p,width:m,height:v}}return(0,h.Et)(u)&&(0,h.Et)(d)?{x:u,y:d,width:0,height:0}:(0,h.Et)(t)&&(0,h.Et)(n)?{cx:t,cy:n,startAngle:o||r||0,endAngle:i||r||0,innerRadius:l||0,outerRadius:c||s||a||0,clockWise:g}:e.viewBox?e.viewBox:{}};C.parseViewBox=A,C.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var o=e.children,i=A(e),a=(0,f.aS)(o,C).map((function(e,n){return(0,r.cloneElement)(e,{viewBox:t||i,key:"label-".concat(n)})}));if(!n)return a;var l,u=function(e,t){return e?!0===e?r.createElement(C,{key:"label-implicit",viewBox:t}):(0,h.vh)(e)?r.createElement(C,{key:"label-implicit",viewBox:t,value:e}):(0,r.isValidElement)(e)?e.type===C?(0,r.cloneElement)(e,{key:"label-implicit",viewBox:t}):r.createElement(C,{key:"label-implicit",content:e,viewBox:t}):s()(e)?r.createElement(C,{key:"label-implicit",content:e,viewBox:t}):c()(e)?r.createElement(C,w({viewBox:t},e,{key:"label-implicit"})):null:null}(e.label,t||i);return[u].concat(function(e){if(Array.isArray(e))return g(e)}(l=a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(l)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}},5614:(e,t,n)=>{"use strict";n.d(t,{Z:()=>O});var r=n(96540),o=n(69843),i=n.n(o),a=n(23805),s=n.n(a),l=n(1882),c=n.n(l),u=n(68090),d=n.n(u),f=n(91706),h=n(86069),p=n(94501),m=n(63036);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}var g=["valueAccessor"],y=["data","dataKey","clockWise","id","textBreakAll"];function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==v(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var _=function(e){return Array.isArray(e.value)?d()(e.value):e.value};function O(e){var t=e.valueAccessor,n=void 0===t?_:t,o=S(e,g),a=o.data,s=o.dataKey,l=o.clockWise,c=o.id,u=o.textBreakAll,d=S(o,y);return a&&a.length?r.createElement(h.W,{className:"recharts-label-list"},a.map((function(e,t){var o=i()(s)?n(e,t):(0,m.kr)(e&&e.payload,s),a=i()(c)?{}:{id:"".concat(c,"-").concat(t)};return r.createElement(f.J,w({},(0,p.J9)(e,!0),d,a,{parentViewBox:e.parentViewBox,value:o,textBreakAll:u,viewBox:f.J.parseViewBox(i()(l)?e:x(x({},e),{},{clockWise:l})),key:"label-".concat(t),index:t}))}))):null}O.displayName="LabelList",O.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var o,i=e.children,a=(0,p.aS)(i,O).map((function(e,n){return(0,r.cloneElement)(e,{data:t,key:"labelList-".concat(n)})}));return n?[function(e,t){return e?!0===e?r.createElement(O,{key:"labelList-implicit",data:t}):r.isValidElement(e)||c()(e)?r.createElement(O,{key:"labelList-implicit",data:t,content:e}):s()(e)?r.createElement(O,w({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t)].concat(function(e){if(Array.isArray(e))return b(e)}(o=a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):a}},97018:(e,t,n)=>{"use strict";n.d(t,{s:()=>$});var r=n(96540),o=n(1882),i=n.n(o),a=n(34164),s=n(6634),l=n(49303),c=n(90706),u=n(98940);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,w(r.key),r)}}function m(e,t,n){return t=g(t),function(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,v()?Reflect.construct(t,n||[],g(e).constructor):t.apply(e,n))}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function b(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){var t=function(e,t){if("object"!=d(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:String(t)}var E=32,x=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),m(this,t,arguments)}var n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(t,e),n=t,o=[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,n=16,o=E/6,i=E/3,a=e.inactive?t:e.color;if("plainline"===e.type)return r.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:n,x2:E,y2:n,className:"recharts-legend-icon"});if("line"===e.type)return r.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(n,"h").concat(i,"\n            A").concat(o,",").concat(o,",0,1,1,").concat(2*i,",").concat(n,"\n            H").concat(E,"M").concat(2*i,",").concat(n,"\n            A").concat(o,",").concat(o,",0,1,1,").concat(i,",").concat(n),className:"recharts-legend-icon"});if("rect"===e.type)return r.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(E,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(r.isValidElement(e.legendIcon)){var s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e);return delete s.legendIcon,r.cloneElement(e.legendIcon,s)}return r.createElement(c.i,{fill:a,cx:n,cy:n,size:E,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,n=t.payload,o=t.iconSize,c=t.layout,d=t.formatter,h=t.inactiveColor,p={x:0,y:0,width:E,height:E},m={display:"horizontal"===c?"inline-block":"block",marginRight:10},v={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map((function(t,n){var c=t.formatter||d,g=(0,a.A)(b(b({"recharts-legend-item":!0},"legend-item-".concat(n),!0),"inactive",t.inactive));if("none"===t.type)return null;var y=i()(t.value)?null:t.value;(0,s.R)(!i()(t.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var w=t.inactive?h:t.color;return r.createElement("li",f({className:g,style:m,key:"legend-item-".concat(n)},(0,u.XC)(e.props,t,n)),r.createElement(l.u,{width:o,height:o,viewBox:p,style:v},e.renderIcon(t)),r.createElement("span",{className:"recharts-legend-item-text",style:{color:w}},c?c(y,t,n):y))}))}},{key:"render",value:function(){var e=this.props,t=e.payload,n=e.layout,o=e.align;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===n?o:"left"};return r.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}],o&&p(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),t}(r.PureComponent);b(x,"displayName","Legend"),b(x,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var S=n(59744),_=n(79799);function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}var C=["ref"];function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){D(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,R(r.key),r)}}function T(e,t,n){return t=I(t),function(e,t){if(t&&("object"===O(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return j(e)}(e,P()?Reflect.construct(t,n||[],I(e).constructor):t.apply(e,n))}function P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(P=function(){return!!e})()}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z(e,t){return z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},z(e,t)}function D(e,t,n){return(t=R(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e){var t=function(e,t){if("object"!=O(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==O(t)?t:String(t)}function N(e){return e.value}var $=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return D(j(e=T(this,t,[].concat(r))),"lastBoundingBox",{width:-1,height:-1}),e}var n,o,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&z(e,t)}(t,e),n=t,i=[{key:"getWithHeight",value:function(e,t){var n=e.props.layout;return"vertical"===n&&(0,S.Et)(e.props.height)?{height:e.props.height}:"horizontal"===n?{width:e.props.width||t}:null}}],(o=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();t?(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height,e&&e(t)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?k({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,o=r.layout,i=r.align,a=r.verticalAlign,s=r.margin,l=r.chartWidth,c=r.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===i&&"vertical"===o?{left:((l||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right:s&&s.right||0}:{left:s&&s.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(n="middle"===a?{top:((c||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:s&&s.bottom||0}:{top:s&&s.top||0}),k(k({},t),n)}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,o=t.width,i=t.height,a=t.wrapperStyle,s=t.payloadUniqBy,l=t.payload,c=k(k({position:"absolute",width:o||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return r.createElement("div",{className:"recharts-legend-wrapper",style:c,ref:function(t){e.wrapperNode=t}},function(e,t){if(r.isValidElement(e))return r.cloneElement(e,t);if("function"==typeof e)return r.createElement(e,t);t.ref;var n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,C);return r.createElement(x,n)}(n,k(k({},this.props),{},{payload:(0,_.s)(l,s,N)})))}}])&&M(n.prototype,o),i&&M(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}(r.PureComponent);D($,"displayName","Legend"),D($,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"})},44653:(e,t,n)=>{"use strict";n.d(t,{u:()=>m});var r=n(34164),o=n(96540),i=n(7350),a=n.n(i),s=n(44363),l=n(59744),c=n(6634),u=n(94501);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=d(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==d(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m=(0,o.forwardRef)((function(e,t){var n=e.aspect,i=e.initialDimension,d=void 0===i?{width:-1,height:-1}:i,f=e.width,m=void 0===f?"100%":f,v=e.height,g=void 0===v?"100%":v,y=e.minWidth,b=void 0===y?0:y,w=e.minHeight,E=e.maxHeight,x=e.children,S=e.debounce,_=void 0===S?0:S,O=e.id,C=e.className,A=e.onResize,k=e.style,M=void 0===k?{}:k,T=(0,o.useRef)(null),P=(0,o.useRef)();P.current=A,(0,o.useImperativeHandle)(t,(function(){return Object.defineProperty(T.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),T.current},configurable:!0})}));var I,j,z=(I=(0,o.useState)({containerWidth:d.width,containerHeight:d.height}),j=2,function(e){if(Array.isArray(e))return e}(I)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(I,j)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(I,j)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),D=z[0],R=z[1],N=(0,o.useCallback)((function(e,t){R((function(n){var r=Math.round(e),o=Math.round(t);return n.containerWidth===r&&n.containerHeight===o?n:{containerWidth:r,containerHeight:o}}))}),[]);(0,o.useEffect)((function(){var e=function(e){var t,n=e[0].contentRect,r=n.width,o=n.height;N(r,o),null===(t=P.current)||void 0===t||t.call(P,r,o)};_>0&&(e=a()(e,_,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),n=T.current.getBoundingClientRect(),r=n.width,o=n.height;return N(r,o),t.observe(T.current),function(){t.disconnect()}}),[N,_]);var $=(0,o.useMemo)((function(){var e=D.containerWidth,t=D.containerHeight;if(e<0||t<0)return null;(0,c.R)((0,l._3)(m)||(0,l._3)(g),"The width(%s) and height(%s) are both fixed numbers,\n       maybe you don't need to use a ResponsiveContainer.",m,g),(0,c.R)(!n||n>0,"The aspect(%s) must be greater than zero.",n);var r=(0,l._3)(m)?e:m,i=(0,l._3)(g)?t:g;n&&n>0&&(r?i=r/n:i&&(r=i*n),E&&i>E&&(i=E)),(0,c.R)(r>0||i>0,"The width(%s) and height(%s) of chart should be greater than 0,\n       please check the style of container, or the props width(%s) and height(%s),\n       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n       height and width.",r,i,m,g,b,w,n);var a=!Array.isArray(x)&&(0,s.isElement)(x)&&(0,u.Mn)(x.type).endsWith("Chart");return o.Children.map(x,(function(e){return(0,s.isElement)(e)?(0,o.cloneElement)(e,h({width:r,height:i},a?{style:h({height:"100%",width:"100%",maxHeight:i,maxWidth:r},e.props.style)}:{})):e}))}),[n,x,g,E,w,b,D,m]);return o.createElement("div",{id:O?"".concat(O):void 0,className:(0,r.A)("recharts-responsive-container",C),style:h(h({},M),{},{width:m,height:g,minWidth:b,minHeight:w,maxHeight:E}),ref:T},$)}))},81174:(e,t,n)=>{"use strict";n.d(t,{E:()=>N});var r=n(96540),o=n(69843),i=n.n(o),a=n(34164),s=n(59744),l=n(59938),c=n(94501),u=n(81636);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,m(r.key),r)}}function m(e){var t=function(e,t){if("object"!=d(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:String(t)}var v=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,g=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,y=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,b=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,w={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},E=Object.keys(w),x="NaN",S=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),""===n||y.test(n)||(this.num=NaN,this.unit=""),E.includes(n)&&(this.num=function(e,t){return e*w[t]}(t,n),this.unit="px")}var t,n,r;return t=e,r=[{key:"parse",value:function(t){var n,r=f(null!==(n=b.exec(t))&&void 0!==n?n:[],3),o=r[1],i=r[2];return new e(parseFloat(o),null!=i?i:"")}}],(n=[{key:"add",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&p(t.prototype,n),r&&p(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function _(e){if(e.includes(x))return x;for(var t=e;t.includes("*")||t.includes("/");){var n,r=f(null!==(n=v.exec(t))&&void 0!==n?n:[],4),o=r[1],i=r[2],a=r[3],s=S.parse(null!=o?o:""),l=S.parse(null!=a?a:""),c="*"===i?s.multiply(l):s.divide(l);if(c.isNaN())return x;t=t.replace(v,c.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var u,d=f(null!==(u=g.exec(t))&&void 0!==u?u:[],4),h=d[1],p=d[2],m=d[3],y=S.parse(null!=h?h:""),b=S.parse(null!=m?m:""),w="+"===p?y.add(b):y.subtract(b);if(w.isNaN())return x;t=t.replace(g,w.toString())}return t}var O=/\(([^()]*)\)/;function C(e){var t=function(e){try{return function(e){var t=e.replace(/\s+/g,"");return t=function(e){for(var t=e;t.includes("(");){var n=f(O.exec(t),2)[1];t=t.replace(O,_(n))}return t}(t),_(t)}(e)}catch(e){return x}}(e.slice(5,-1));return t===x?"":t}var A=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],k=["dx","dy","angle","className","breakAll"];function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},M.apply(this,arguments)}function T(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var j=/[ \f\n\r\t\v\u2028\u2029]+/,z=function(e){var t=e.children,n=e.breakAll,r=e.style;try{var o=[];return i()(t)||(o=n?t.toString().split(""):t.toString().split(j)),{wordsWithComputedWidth:o.map((function(e){return{word:e,width:(0,u.Pu)(e,r).width}})),spaceWidth:n?0:(0,u.Pu)(" ",r).width}}catch(e){return null}},D=function(e){return[{words:i()(e)?[]:e.toString().split(j)}]},R="#808080",N=function(e){var t=e.x,n=void 0===t?0:t,o=e.y,i=void 0===o?0:o,u=e.lineHeight,d=void 0===u?"1em":u,f=e.capHeight,h=void 0===f?"0.71em":f,p=e.scaleToFit,m=void 0!==p&&p,v=e.textAnchor,g=void 0===v?"start":v,y=e.verticalAnchor,b=void 0===y?"end":y,w=e.fill,E=void 0===w?R:w,x=T(e,A),S=(0,r.useMemo)((function(){return function(e){var t=e.width,n=e.scaleToFit,r=e.children,o=e.style,i=e.breakAll,a=e.maxLines;if((t||n)&&!l.m.isSsr){var c=z({breakAll:i,children:r,style:o});return c?function(e,t,n,r,o){var i=e.maxLines,a=e.children,l=e.style,c=e.breakAll,u=(0,s.Et)(i),d=a,f=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var i=t.word,a=t.width,s=e[e.length-1];if(s&&(null==r||o||s.width+a+n<Number(r)))s.words.push(i),s.width+=a+n;else{var l={words:[i],width:a};e.push(l)}return e}),[])},h=f(t);if(!u)return h;for(var p,m=function(e){var t=d.slice(0,e),n=z({breakAll:c,style:l,children:t+"…"}).wordsWithComputedWidth,o=f(n),a=o.length>i||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(o).width>Number(r);return[a,o]},v=0,g=d.length-1,y=0;v<=g&&y<=d.length-1;){var b=Math.floor((v+g)/2),w=P(m(b-1),2),E=w[0],x=w[1],S=P(m(b),1)[0];if(E||S||(v=b+1),E&&S&&(g=b-1),!E&&S){p=x;break}y++}return p||h}({breakAll:i,children:r,maxLines:a,style:o},c.wordsWithComputedWidth,c.spaceWidth,t,n):D(r)}return D(r)}({breakAll:x.breakAll,children:x.children,maxLines:x.maxLines,scaleToFit:m,style:x.style,width:x.width})}),[x.breakAll,x.children,x.maxLines,m,x.style,x.width]),_=x.dx,O=x.dy,I=x.angle,j=x.className,N=x.breakAll,$=T(x,k);if(!(0,s.vh)(n)||!(0,s.vh)(i))return null;var F,L=n+((0,s.Et)(_)?_:0),B=i+((0,s.Et)(O)?O:0);switch(b){case"start":F=C("calc(".concat(h,")"));break;case"middle":F=C("calc(".concat((S.length-1)/2," * -").concat(d," + (").concat(h," / 2))"));break;default:F=C("calc(".concat(S.length-1," * -").concat(d,")"))}var H=[];if(m){var V=S[0].width,U=x.width;H.push("scale(".concat(((0,s.Et)(U)?U/V:1)/V,")"))}return I&&H.push("rotate(".concat(I,", ").concat(L,", ").concat(B,")")),H.length&&($.transform=H.join(" ")),r.createElement("text",M({},(0,c.J9)($,!0),{x:L,y:B,className:(0,a.A)("recharts-text",j),textAnchor:g,fill:E.includes("url")?R:E}),S.map((function(e,t){var n=e.words.join(N?"":" ");return r.createElement("tspan",{x:L,dy:0===t?F:d,key:n},n)})))}},78687:(e,t,n)=>{"use strict";n.d(t,{m:()=>G});var r=n(96540),o=n(33031),i=n.n(o),a=n(69843),s=n.n(a),l=n(34164),c=n(59744);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==u(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e){return Array.isArray(e)&&(0,c.vh)(e[0])&&(0,c.vh)(e[1])?e.join(" ~ "):e}var v=function(e){var t=e.separator,n=void 0===t?" : ":t,o=e.contentStyle,a=void 0===o?{}:o,u=e.itemStyle,h=void 0===u?{}:u,v=e.labelStyle,g=void 0===v?{}:v,y=e.payload,b=e.formatter,w=e.itemSorter,E=e.wrapperClassName,x=e.labelClassName,S=e.label,_=e.labelFormatter,O=e.accessibilityLayer,C=void 0!==O&&O,A=p({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},a),k=p({margin:0},g),M=!s()(S),T=M?S:"",P=(0,l.A)("recharts-default-tooltip",E),I=(0,l.A)("recharts-tooltip-label",x);M&&_&&null!=y&&(T=_(S,y));var j=C?{role:"status","aria-live":"assertive"}:{};return r.createElement("div",d({className:P,style:A},j),r.createElement("p",{className:I,style:k},r.isValidElement(T)?T:"".concat(T)),function(){if(y&&y.length){var e=(w?i()(y,w):y).map((function(e,t){if("none"===e.type)return null;var o=p({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},h),i=e.formatter||b||m,a=e.value,s=e.name,l=a,u=s;if(i&&null!=l&&null!=u){var d=i(a,s,e,t,y);if(Array.isArray(d)){var v=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(d,2);l=v[0],u=v[1]}else l=d}return r.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(t),style:o},(0,c.vh)(u)?r.createElement("span",{className:"recharts-tooltip-item-name"},u):null,(0,c.vh)(u)?r.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,r.createElement("span",{className:"recharts-tooltip-item-value"},l),r.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return r.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function y(e,t,n){var r;return r=function(e,t){if("object"!=g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==g(r)?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b="recharts-tooltip-wrapper",w={visibility:"hidden"};function E(e){var t=e.coordinate,n=e.translateX,r=e.translateY;return(0,l.A)(b,y(y(y(y({},"".concat(b,"-right"),(0,c.Et)(n)&&t&&(0,c.Et)(t.x)&&n>=t.x),"".concat(b,"-left"),(0,c.Et)(n)&&t&&(0,c.Et)(t.x)&&n<t.x),"".concat(b,"-bottom"),(0,c.Et)(r)&&t&&(0,c.Et)(t.y)&&r>=t.y),"".concat(b,"-top"),(0,c.Et)(r)&&t&&(0,c.Et)(t.y)&&r<t.y))}function x(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.key,o=e.offsetTopLeft,i=e.position,a=e.reverseDirection,s=e.tooltipDimension,l=e.viewBox,u=e.viewBoxDimension;if(i&&(0,c.Et)(i[r]))return i[r];var d=n[r]-s-o,f=n[r]+o;return t[r]?a[r]?d:f:a[r]?d<l[r]?Math.max(f,l[r]):Math.max(d,l[r]):f+s>l[r]+u?Math.max(d,l[r]):Math.max(f,l[r])}function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){I(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,j(r.key),r)}}function A(e,t,n){return t=M(t),function(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return T(e)}(e,k()?Reflect.construct(t,n||[],M(e).constructor):t.apply(e,n))}function k(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(k=function(){return!!e})()}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P(e,t){return P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},P(e,t)}function I(e,t,n){return(t=j(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e){var t=function(e,t){if("object"!=S(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=S(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==S(t)?t:String(t)}var z=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return I(T(e=A(this,t,[].concat(r))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),I(T(e),"handleKeyDown",(function(t){var n,r,o,i;"Escape"===t.key&&e.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(n=null===(r=e.props.coordinate)||void 0===r?void 0:r.x)&&void 0!==n?n:0,y:null!==(o=null===(i=e.props.coordinate)||void 0===i?void 0:i.y)&&void 0!==o?o:0}})})),e}var n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&P(e,t)}(t,e),n=t,(o=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>1||Math.abs(e.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(e=this.props.coordinate)||void 0===e?void 0:e.x)===this.state.dismissedAtCoordinate.x&&(null===(t=this.props.coordinate)||void 0===t?void 0:t.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var e=this,t=this.props,n=t.active,o=t.allowEscapeViewBox,i=t.animationDuration,a=t.animationEasing,s=t.children,l=t.coordinate,c=t.hasPayload,u=t.isAnimationActive,d=t.offset,f=t.position,h=t.reverseDirection,p=t.useTranslate3d,m=t.viewBox,v=t.wrapperStyle,g=function(e){var t,n,r=e.allowEscapeViewBox,o=e.coordinate,i=e.offsetTopLeft,a=e.position,s=e.reverseDirection,l=e.tooltipBox,c=e.useTranslate3d,u=e.viewBox;return{cssProperties:l.height>0&&l.width>0&&o?function(e){var t=e.translateX,n=e.translateY;return{transform:e.useTranslate3d?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}({translateX:t=x({allowEscapeViewBox:r,coordinate:o,key:"x",offsetTopLeft:i,position:a,reverseDirection:s,tooltipDimension:l.width,viewBox:u,viewBoxDimension:u.width}),translateY:n=x({allowEscapeViewBox:r,coordinate:o,key:"y",offsetTopLeft:i,position:a,reverseDirection:s,tooltipDimension:l.height,viewBox:u,viewBoxDimension:u.height}),useTranslate3d:c}):w,cssClasses:E({translateX:t,translateY:n,coordinate:o})}}({allowEscapeViewBox:o,coordinate:l,offsetTopLeft:d,position:f,reverseDirection:h,tooltipBox:this.state.lastBoundingBox,useTranslate3d:p,viewBox:m}),y=g.cssClasses,b=g.cssProperties,S=O(O({transition:u&&n?"transform ".concat(i,"ms ").concat(a):void 0},b),{},{pointerEvents:"none",visibility:!this.state.dismissed&&n&&c?"visible":"hidden",position:"absolute",top:0,left:0},v);return r.createElement("div",{tabIndex:-1,className:y,style:S,ref:function(t){e.wrapperNode=t}},s)}}])&&C(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),t}(r.PureComponent),D=n(59938),R=n(79799);function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach((function(t){W(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,q(r.key),r)}}function B(e,t,n){return t=V(t),function(e,t){if(t&&("object"===N(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,H()?Reflect.construct(t,n||[],V(e).constructor):t.apply(e,n))}function H(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(H=function(){return!!e})()}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},V(e)}function U(e,t){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},U(e,t)}function W(e,t,n){return(t=q(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q(e){var t=function(e,t){if("object"!=N(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=N(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==N(t)?t:String(t)}function K(e){return e.dataKey}var G=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),B(this,t,arguments)}var n,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&U(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this,t=this.props,n=t.active,o=t.allowEscapeViewBox,i=t.animationDuration,a=t.animationEasing,s=t.content,l=t.coordinate,c=t.filterNull,u=t.isAnimationActive,d=t.offset,f=t.payload,h=t.payloadUniqBy,p=t.position,m=t.reverseDirection,g=t.useTranslate3d,y=t.viewBox,b=t.wrapperStyle,w=null!=f?f:[];c&&w.length&&(w=(0,R.s)(f.filter((function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)})),h,K));var E=w.length>0;return r.createElement(z,{allowEscapeViewBox:o,animationDuration:i,animationEasing:a,isAnimationActive:u,active:n,coordinate:l,hasPayload:E,offset:d,position:p,reverseDirection:m,useTranslate3d:g,viewBox:y,wrapperStyle:b},function(e,t){return r.isValidElement(e)?r.cloneElement(e,t):"function"==typeof e?r.createElement(e,t):r.createElement(v,t)}(s,F(F({},this.props),{},{payload:w})))}}])&&L(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),t}(r.PureComponent);W(G,"displayName","Tooltip"),W(G,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!D.m.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}})},86069:(e,t,n)=>{"use strict";n.d(t,{W:()=>l});var r=n(96540),o=n(34164),i=n(94501),a=["children","className"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}var l=r.forwardRef((function(e,t){var n=e.children,l=e.className,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),u=(0,o.A)("recharts-layer",l);return r.createElement("g",s({className:u},(0,i.J9)(c,!0),{ref:t}),n)}))},49303:(e,t,n)=>{"use strict";n.d(t,{u:()=>l});var r=n(96540),o=n(34164),i=n(94501),a=["children","width","height","viewBox","className","style","title","desc"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e){var t=e.children,n=e.width,l=e.height,c=e.viewBox,u=e.className,d=e.style,f=e.title,h=e.desc,p=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),m=c||{width:n,height:l,x:0,y:0},v=(0,o.A)("recharts-surface",u);return r.createElement("svg",s({},(0,i.J9)(p,!0,"svg"),{className:v,width:n,height:l,style:d,viewBox:"".concat(m.x," ").concat(m.y," ").concat(m.width," ").concat(m.height)}),r.createElement("title",null,f),r.createElement("desc",null,h),t)}},47429:(e,t,n)=>{"use strict";n.d(t,{DR:()=>b,pj:()=>x,rY:()=>k,yi:()=>A,Yp:()=>w,hj:()=>C,sk:()=>O,AF:()=>E,Nk:()=>_,$G:()=>S});var r=n(96540),o=n(11561),i=n(7309),a=n.n(i),s=n(19747),l=n.n(s),c=n(50104),u=n.n(c)()((function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}}),(function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")})),d=n(59744),f=(0,r.createContext)(void 0),h=(0,r.createContext)(void 0),p=(0,r.createContext)(void 0),m=(0,r.createContext)({}),v=(0,r.createContext)(void 0),g=(0,r.createContext)(0),y=(0,r.createContext)(0),b=function(e){var t=e.state,n=t.xAxisMap,o=t.yAxisMap,i=t.offset,a=e.clipPathId,s=e.children,l=e.width,c=e.height,d=u(i);return r.createElement(f.Provider,{value:n},r.createElement(h.Provider,{value:o},r.createElement(m.Provider,{value:i},r.createElement(p.Provider,{value:d},r.createElement(v.Provider,{value:a},r.createElement(g.Provider,{value:c},r.createElement(y.Provider,{value:l},s)))))))},w=function(){return(0,r.useContext)(v)},E=function(e){var t=(0,r.useContext)(f);null==t&&(0,o.A)(!1);var n=t[e];return null==n&&(0,o.A)(!1),n},x=function(){var e=(0,r.useContext)(f);return(0,d.lX)(e)},S=function(){var e=(0,r.useContext)(h);return a()(e,(function(e){return l()(e.domain,Number.isFinite)}))||(0,d.lX)(e)},_=function(e){var t=(0,r.useContext)(h);null==t&&(0,o.A)(!1);var n=t[e];return null==n&&(0,o.A)(!1),n},O=function(){return(0,r.useContext)(p)},C=function(){return(0,r.useContext)(m)},A=function(){return(0,r.useContext)(y)},k=function(){return(0,r.useContext)(g)}},29705:(e,t,n)=>{"use strict";n.d(t,{I:()=>q});var r=n(96540);function o(){}function i(e,t,n){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+n)/6)}function a(e){this._context=e}function s(e){this._context=e}function l(e){this._context=e}a.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:i(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:i(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},s.prototype={areaStart:o,areaEnd:o,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:i(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},l.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 n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:i(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};class c{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 u(e){this._context=e}function d(e){this._context=e}function f(e){return new d(e)}function h(e){return e<0?-1:1}function p(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),s=(i*o+a*r)/(r+o);return(h(i)+h(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(s))||0}function m(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function v(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,s=(i-r)/3;e._context.bezierCurveTo(r+s,o+s*t,i-s,a-s*n,i,a)}function g(e){this._context=e}function y(e){this._context=new b(e)}function b(e){this._context=e}function w(e){this._context=e}function E(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)o[t]=1,i[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=o[t]/i[t-1],i[t]-=n,a[t]-=n*a[t-1];for(o[r-1]=a[r-1]/i[r-1],t=r-2;t>=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function x(e,t){this._context=e,this._t=t}u.prototype={areaStart:o,areaEnd:o,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},d.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)}}},g.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:v(this,this._t0,m(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){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,v(this,m(this,n=p(this,e,t)),n);break;default:v(this,this._t0,n=p(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(y.prototype=Object.create(g.prototype)).point=function(e,t){g.prototype.point.call(this,t,e)},b.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,i){this._context.bezierCurveTo(t,e,r,n,i,o)}},w.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=E(e),o=E(t),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},x.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=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 n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var S=n(45917),_=n(48946),O=n(11509);function C(e){return e[0]}function A(e){return e[1]}function k(e,t){var n=(0,_.A)(!0),r=null,o=f,i=null,a=(0,O.i)(s);function s(s){var l,c,u,d=(s=(0,S.A)(s)).length,f=!1;for(null==r&&(i=o(u=a())),l=0;l<=d;++l)!(l<d&&n(c=s[l],l,s))===f&&((f=!f)?i.lineStart():i.lineEnd()),f&&i.point(+e(c,l,s),+t(c,l,s));if(u)return i=null,u+""||null}return e="function"==typeof e?e:void 0===e?C:(0,_.A)(e),t="function"==typeof t?t:void 0===t?A:(0,_.A)(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,_.A)(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,_.A)(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:(0,_.A)(!!e),s):n},s.curve=function(e){return arguments.length?(o=e,null!=r&&(i=o(r)),s):o},s.context=function(e){return arguments.length?(null==e?r=i=null:i=o(r=e),s):r},s}function M(e,t,n){var r=null,o=(0,_.A)(!0),i=null,a=f,s=null,l=(0,O.i)(c);function c(c){var u,d,f,h,p,m=(c=(0,S.A)(c)).length,v=!1,g=new Array(m),y=new Array(m);for(null==i&&(s=a(p=l())),u=0;u<=m;++u){if(!(u<m&&o(h=c[u],u,c))===v)if(v=!v)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(g[f],y[f]);s.lineEnd(),s.areaEnd()}v&&(g[u]=+e(h,u,c),y[u]=+t(h,u,c),s.point(r?+r(h,u,c):g[u],n?+n(h,u,c):y[u]))}if(p)return s=null,p+""||null}function u(){return k().defined(o).curve(a).context(i)}return e="function"==typeof e?e:void 0===e?C:(0,_.A)(+e),t="function"==typeof t?t:void 0===t?(0,_.A)(0):(0,_.A)(+t),n="function"==typeof n?n:void 0===n?A:(0,_.A)(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,_.A)(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,_.A)(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:(0,_.A)(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,_.A)(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:(0,_.A)(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:(0,_.A)(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(o="function"==typeof e?e:(0,_.A)(!!e),c):o},c.curve=function(e){return arguments.length?(a=e,null!=i&&(s=a(i)),c):a},c.context=function(e){return arguments.length?(null==e?i=s=null:s=a(i=e),c):i},c}var T=n(55808),P=n.n(T),I=n(1882),j=n.n(I),z=n(34164),D=n(98940),R=n(94501),N=n(59744);function $(e){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$(e)}function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F.apply(this,arguments)}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=$(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=$(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==$(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var H={curveBasisClosed:function(e){return new s(e)},curveBasisOpen:function(e){return new l(e)},curveBasis:function(e){return new a(e)},curveBumpX:function(e){return new c(e,!0)},curveBumpY:function(e){return new c(e,!1)},curveLinearClosed:function(e){return new u(e)},curveLinear:f,curveMonotoneX:function(e){return new g(e)},curveMonotoneY:function(e){return new y(e)},curveNatural:function(e){return new w(e)},curveStep:function(e){return new x(e,.5)},curveStepAfter:function(e){return new x(e,1)},curveStepBefore:function(e){return new x(e,0)}},V=function(e){return e.x===+e.x&&e.y===+e.y},U=function(e){return e.x},W=function(e){return e.y},q=function(e){var t=e.className,n=e.points,o=e.path,i=e.pathRef;if(!(n&&n.length||o))return null;var a=n&&n.length?function(e){var t,n=e.type,r=void 0===n?"linear":n,o=e.points,i=void 0===o?[]:o,a=e.baseLine,s=e.layout,l=e.connectNulls,c=void 0!==l&&l,u=function(e,t){if(j()(e))return e;var n="curve".concat(P()(e));return"curveMonotone"!==n&&"curveBump"!==n||!t?H[n]||f:H["".concat(n).concat("vertical"===t?"Y":"X")]}(r,s),d=c?i.filter((function(e){return V(e)})):i;if(Array.isArray(a)){var h=c?a.filter((function(e){return V(e)})):a,p=d.map((function(e,t){return B(B({},e),{},{base:h[t]})}));return(t="vertical"===s?M().y(W).x1(U).x0((function(e){return e.base.x})):M().x(U).y1(W).y0((function(e){return e.base.y}))).defined(V).curve(u),t(p)}return(t="vertical"===s&&(0,N.Et)(a)?M().y(W).x1(U).x0(a):(0,N.Et)(a)?M().x(U).y1(W).y0(a):k().x(U).y(W)).defined(V).curve(u),t(d)}(e):o;return r.createElement("path",F({},(0,R.J9)(e,!1),(0,D._U)(e),{className:(0,z.A)("recharts-curve",t),d:a,ref:i}))}},66613:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(96540),o=n(34164),i=n(98940),a=n(94501);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}var l=function(e){var t=e.cx,n=e.cy,l=e.r,c=e.className,u=(0,o.A)("recharts-dot",c);return t===+t&&n===+n&&l===+l?r.createElement("circle",s({},(0,a.J9)(e,!1),(0,i._U)(e),{className:u,cx:t,cy:n,r:l})):null}},34723:(e,t,n)=>{"use strict";n.d(t,{J:()=>h,M:()=>m});var r=n(96540),o=n(34164),i=n(69475),a=n(94501);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==s(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e,t,n,r,o){var i,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),s=r>=0?1:-1,l=n>=0?1:-1,c=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&o instanceof Array){for(var u=[0,0,0,0],d=0;d<4;d++)u[d]=o[d]>a?a:o[d];i="M".concat(e,",").concat(t+s*u[0]),u[0]>0&&(i+="A ".concat(u[0],",").concat(u[0],",0,0,").concat(c,",").concat(e+l*u[0],",").concat(t)),i+="L ".concat(e+n-l*u[1],",").concat(t),u[1]>0&&(i+="A ".concat(u[1],",").concat(u[1],",0,0,").concat(c,",\n        ").concat(e+n,",").concat(t+s*u[1])),i+="L ".concat(e+n,",").concat(t+r-s*u[2]),u[2]>0&&(i+="A ".concat(u[2],",").concat(u[2],",0,0,").concat(c,",\n        ").concat(e+n-l*u[2],",").concat(t+r)),i+="L ".concat(e+l*u[3],",").concat(t+r),u[3]>0&&(i+="A ".concat(u[3],",").concat(u[3],",0,0,").concat(c,",\n        ").concat(e,",").concat(t+r-s*u[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var f=Math.min(a,o);i="M ".concat(e,",").concat(t+s*f,"\n            A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+l*f,",").concat(t,"\n            L ").concat(e+n-l*f,",").concat(t,"\n            A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n,",").concat(t+s*f,"\n            L ").concat(e+n,",").concat(t+r-s*f,"\n            A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n-l*f,",").concat(t+r,"\n            L ").concat(e+l*f,",").concat(t+r,"\n            A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e,",").concat(t+r-s*f," Z")}else i="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return i},h=function(e,t){if(!e||!t)return!1;var n=e.x,r=e.y,o=t.x,i=t.y,a=t.width,s=t.height;if(Math.abs(a)>0&&Math.abs(s)>0){var l=Math.min(o,o+a),c=Math.max(o,o+a),u=Math.min(i,i+s),d=Math.max(i,i+s);return n>=l&&n<=c&&r>=u&&r<=d}return!1},p={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},m=function(e){var t,n,s=d(d({},p),e),u=(0,r.useRef)(),h=(t=(0,r.useState)(-1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=h[0],v=h[1];(0,r.useEffect)((function(){if(u.current&&u.current.getTotalLength)try{var e=u.current.getTotalLength();e&&v(e)}catch(e){}}),[]);var g=s.x,y=s.y,b=s.width,w=s.height,E=s.radius,x=s.className,S=s.animationEasing,_=s.animationDuration,O=s.animationBegin,C=s.isAnimationActive,A=s.isUpdateAnimationActive;if(g!==+g||y!==+y||b!==+b||w!==+w||0===b||0===w)return null;var k=(0,o.A)("recharts-rectangle",x);return A?r.createElement(i.Ay,{canBegin:m>0,from:{width:b,height:w,x:g,y},to:{width:b,height:w,x:g,y},duration:_,animationEasing:S,isActive:A},(function(e){var t=e.width,n=e.height,o=e.x,c=e.y;return r.createElement(i.Ay,{canBegin:m>0,from:"0px ".concat(-1===m?1:m,"px"),to:"".concat(m,"px 0px"),attributeName:"strokeDasharray",begin:O,duration:_,isActive:C,easing:S},r.createElement("path",l({},(0,a.J9)(s,!0),{className:k,d:f(o,c,t,n,E),ref:u})))})):r.createElement("path",l({},(0,a.J9)(s,!0),{className:k,d:f(g,y,b,w,E)}))}},58522:(e,t,n)=>{"use strict";n.d(t,{h:()=>m});var r=n(96540),o=n(34164),i=n(94501),a=n(14040),s=n(59744);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==l(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e){var t=e.cx,n=e.cy,r=e.radius,o=e.angle,i=e.sign,s=e.isExternal,l=e.cornerRadius,c=e.cornerIsExternal,u=l*(s?1:-1)+r,d=Math.asin(l/u)/a.Kg,f=c?o:o+i*d,h=c?o-i*d:o;return{center:(0,a.IZ)(t,n,u,f),circleTangency:(0,a.IZ)(t,n,r,f),lineTangency:(0,a.IZ)(t,n,u*Math.cos(d*a.Kg),h),theta:d}},h=function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.startAngle,l=function(e,t){return(0,s.sA)(t-e)*Math.min(Math.abs(t-e),359.999)}(i,e.endAngle),c=i+l,u=(0,a.IZ)(t,n,o,i),d=(0,a.IZ)(t,n,o,c),f="M ".concat(u.x,",").concat(u.y,"\n    A ").concat(o,",").concat(o,",0,\n    ").concat(+(Math.abs(l)>180),",").concat(+(i>c),",\n    ").concat(d.x,",").concat(d.y,"\n  ");if(r>0){var h=(0,a.IZ)(t,n,r,i),p=(0,a.IZ)(t,n,r,c);f+="L ".concat(p.x,",").concat(p.y,"\n            A ").concat(r,",").concat(r,",0,\n            ").concat(+(Math.abs(l)>180),",").concat(+(i<=c),",\n            ").concat(h.x,",").concat(h.y," Z")}else f+="L ".concat(t,",").concat(n," Z");return f},p={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},m=function(e){var t=d(d({},p),e),n=t.cx,a=t.cy,l=t.innerRadius,u=t.outerRadius,m=t.cornerRadius,v=t.forceCornerRadius,g=t.cornerIsExternal,y=t.startAngle,b=t.endAngle,w=t.className;if(u<l||y===b)return null;var E,x=(0,o.A)("recharts-sector",w),S=u-l,_=(0,s.F4)(m,S,0,!0);return E=_>0&&Math.abs(y-b)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.cornerRadius,a=e.forceCornerRadius,l=e.cornerIsExternal,c=e.startAngle,u=e.endAngle,d=(0,s.sA)(u-c),p=f({cx:t,cy:n,radius:o,angle:c,sign:d,cornerRadius:i,cornerIsExternal:l}),m=p.circleTangency,v=p.lineTangency,g=p.theta,y=f({cx:t,cy:n,radius:o,angle:u,sign:-d,cornerRadius:i,cornerIsExternal:l}),b=y.circleTangency,w=y.lineTangency,E=y.theta,x=l?Math.abs(c-u):Math.abs(c-u)-g-E;if(x<0)return a?"M ".concat(v.x,",").concat(v.y,"\n        a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n        a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n      "):h({cx:t,cy:n,innerRadius:r,outerRadius:o,startAngle:c,endAngle:u});var S="M ".concat(v.x,",").concat(v.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(d<0),",").concat(m.x,",").concat(m.y,"\n    A").concat(o,",").concat(o,",0,").concat(+(x>180),",").concat(+(d<0),",").concat(b.x,",").concat(b.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(d<0),",").concat(w.x,",").concat(w.y,"\n  ");if(r>0){var _=f({cx:t,cy:n,radius:r,angle:c,sign:d,isExternal:!0,cornerRadius:i,cornerIsExternal:l}),O=_.circleTangency,C=_.lineTangency,A=_.theta,k=f({cx:t,cy:n,radius:r,angle:u,sign:-d,isExternal:!0,cornerRadius:i,cornerIsExternal:l}),M=k.circleTangency,T=k.lineTangency,P=k.theta,I=l?Math.abs(c-u):Math.abs(c-u)-A-P;if(I<0&&0===i)return"".concat(S,"L").concat(t,",").concat(n,"Z");S+="L".concat(T.x,",").concat(T.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(d<0),",").concat(M.x,",").concat(M.y,"\n      A").concat(r,",").concat(r,",0,").concat(+(I>180),",").concat(+(d>0),",").concat(O.x,",").concat(O.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(d<0),",").concat(C.x,",").concat(C.y,"Z")}else S+="L".concat(t,",").concat(n,"Z");return S}({cx:n,cy:a,innerRadius:l,outerRadius:u,cornerRadius:Math.min(_,S/2),forceCornerRadius:v,cornerIsExternal:g,startAngle:y,endAngle:b}):h({cx:n,cy:a,innerRadius:l,outerRadius:u,startAngle:y,endAngle:b}),r.createElement("path",c({},(0,i.J9)(t,!0),{className:x,d:E,role:"img"}))}},90706:(e,t,n)=>{"use strict";n.d(t,{i:()=>F});var r=n(96540),o=n(55808),i=n.n(o);Math.abs,Math.atan2;const a=Math.cos,s=(Math.max,Math.min,Math.sin),l=Math.sqrt,c=Math.PI,u=2*c,d={draw(e,t){const n=l(t/c);e.moveTo(n,0),e.arc(0,0,n,0,u)}},f={draw(e,t){const n=l(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},h=l(1/3),p=2*h,m={draw(e,t){const n=l(t/p),r=n*h;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},v={draw(e,t){const n=l(t),r=-n/2;e.rect(r,r,n,n)}},g=s(c/10)/s(7*c/10),y=s(u/10)*g,b=-a(u/10)*g,w={draw(e,t){const n=l(.8908130915292852*t),r=y*n,o=b*n;e.moveTo(0,-n),e.lineTo(r,o);for(let t=1;t<5;++t){const i=u*t/5,l=a(i),c=s(i);e.lineTo(c*n,-l*n),e.lineTo(l*r-c*o,c*r+l*o)}e.closePath()}},E=l(3),x={draw(e,t){const n=-l(t/(3*E));e.moveTo(0,2*n),e.lineTo(-E*n,-n),e.lineTo(E*n,-n),e.closePath()}},S=-.5,_=l(3)/2,O=1/l(12),C=3*(O/2+1),A={draw(e,t){const n=l(t/C),r=n/2,o=n*O,i=r,a=n*O+n,s=-i,c=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(s,c),e.lineTo(S*r-_*o,_*r+S*o),e.lineTo(S*i-_*a,_*i+S*a),e.lineTo(S*s-_*c,_*s+S*c),e.lineTo(S*r+_*o,S*o-_*r),e.lineTo(S*i+_*a,S*a-_*i),e.lineTo(S*s+_*c,S*c-_*s),e.closePath()}};var k=n(48946),M=n(11509);l(3),l(3);var T=n(34164),P=n(94501);function I(e){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(e)}var j=["type","size","sizeType"];function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z.apply(this,arguments)}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=I(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=I(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==I(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var N={symbolCircle:d,symbolCross:f,symbolDiamond:m,symbolSquare:v,symbolStar:w,symbolTriangle:x,symbolWye:A},$=Math.PI/180,F=function(e){var t,n,o=e.type,a=void 0===o?"circle":o,s=e.size,l=void 0===s?64:s,c=e.sizeType,u=void 0===c?"area":c,f=R(R({},function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,j)),{},{type:a,size:l,sizeType:u}),h=f.className,p=f.cx,m=f.cy,v=(0,P.J9)(f,!0);return p===+p&&m===+m&&l===+l?r.createElement("path",z({},v,{className:(0,T.A)("recharts-symbols",h),transform:"translate(".concat(p,", ").concat(m,")"),d:(t=function(e){var t="symbol".concat(i()(e));return N[t]||d}(a),n=function(e,t){let n=null,r=(0,M.i)(o);function o(){let o;if(n||(n=o=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),o)return n=null,o+""||null}return e="function"==typeof e?e:(0,k.A)(e||d),t="function"==typeof t?t:(0,k.A)(void 0===t?64:+t),o.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,k.A)(t),o):e},o.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,k.A)(+e),o):t},o.context=function(e){return arguments.length?(n=null==e?null:e,o):n},o}().type(t).size(function(e,t,n){if("area"===t)return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var r=18*$;return 1.25*e*e*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(l,u,a)),n())})):null};F.registerSymbol=function(e,t){N["symbol".concat(i()(e))]=t}},15079:(e,t,n)=>{"use strict";n.d(t,{yp:()=>j,GG:()=>L,NE:()=>z,nZ:()=>D,xQ:()=>R});var r=n(96540),o=n(1882),i=n.n(o),a=n(11331),s=n.n(a),l=n(53812),c=n.n(l),u=n(2404),d=n.n(u),f=n(34723),h=n(34164),p=n(69475),m=n(94501);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(this,arguments)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==v(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=function(e,t,n,r,o){var i,a=n-r;return i="M ".concat(e,",").concat(t),i+="L ".concat(e+n,",").concat(t),i+="L ".concat(e+n-a/2,",").concat(t+o),(i+="L ".concat(e+n-a/2-r,",").concat(t+o))+"L ".concat(e,",").concat(t," Z")},x={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},S=function(e){var t,n,o=w(w({},x),e),i=(0,r.useRef)(),a=(t=(0,r.useState)(-1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=a[0],l=a[1];(0,r.useEffect)((function(){if(i.current&&i.current.getTotalLength)try{var e=i.current.getTotalLength();e&&l(e)}catch(e){}}),[]);var c=o.x,u=o.y,d=o.upperWidth,f=o.lowerWidth,v=o.height,b=o.className,S=o.animationEasing,_=o.animationDuration,O=o.animationBegin,C=o.isUpdateAnimationActive;if(c!==+c||u!==+u||d!==+d||f!==+f||v!==+v||0===d&&0===f||0===v)return null;var A=(0,h.A)("recharts-trapezoid",b);return C?r.createElement(p.Ay,{canBegin:s>0,from:{upperWidth:0,lowerWidth:0,height:v,x:c,y:u},to:{upperWidth:d,lowerWidth:f,height:v,x:c,y:u},duration:_,animationEasing:S,isActive:C},(function(e){var t=e.upperWidth,n=e.lowerWidth,a=e.height,l=e.x,c=e.y;return r.createElement(p.Ay,{canBegin:s>0,from:"0px ".concat(-1===s?1:s,"px"),to:"".concat(s,"px 0px"),attributeName:"strokeDasharray",begin:O,duration:_,easing:S},r.createElement("path",g({},(0,m.J9)(o,!0),{className:A,d:E(l,c,t,n,a),ref:i})))})):r.createElement("g",null,r.createElement("path",g({},(0,m.J9)(o,!0),{className:A,d:E(c,u,d,f,v)})))},_=n(58522),O=n(86069),C=n(90706),A=["option","shapeType","propTransformer","activeClassName","isActive"];function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){var r,o,i,a;r=e,o=t,i=n[t],a=function(e,t){if("object"!=k(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=k(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==k(a)?a:String(a))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function P(e,t){return T(T({},t),e)}function I(e){var t=e.shapeType,n=e.elementProps;switch(t){case"rectangle":return r.createElement(f.M,n);case"trapezoid":return r.createElement(S,n);case"sector":return r.createElement(_.h,n);case"symbols":if(function(e,t){return"symbols"===e}(t))return r.createElement(C.i,n);break;default:return null}}function j(e){var t,n=e.option,o=e.shapeType,a=e.propTransformer,l=void 0===a?P:a,u=e.activeClassName,d=void 0===u?"recharts-active-shape":u,f=e.isActive,h=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,A);if((0,r.isValidElement)(n))t=(0,r.cloneElement)(n,T(T({},h),function(e){return(0,r.isValidElement)(e)?e.props:e}(n)));else if(i()(n))t=n(h);else if(s()(n)&&!c()(n)){var p=l(n,h);t=r.createElement(I,{shapeType:o,elementProps:p})}else{var m=h;t=r.createElement(I,{shapeType:o,elementProps:m})}return f?r.createElement(O.W,{className:d},t):t}function z(e,t){return null!=t&&"trapezoids"in e.props}function D(e,t){return null!=t&&"sectors"in e.props}function R(e,t){return null!=t&&"points"in e.props}function N(e,t){var n,r,o=e.x===(null==t||null===(n=t.labelViewBox)||void 0===n?void 0:n.x)||e.x===t.x,i=e.y===(null==t||null===(r=t.labelViewBox)||void 0===r?void 0:r.y)||e.y===t.y;return o&&i}function $(e,t){var n=e.endAngle===t.endAngle,r=e.startAngle===t.startAngle;return n&&r}function F(e,t){var n=e.x===t.x,r=e.y===t.y,o=e.z===t.z;return n&&r&&o}function L(e){var t=e.activeTooltipItem,n=e.graphicalItem,r=e.itemData,o=function(e,t){var n;return z(e,t)?n="trapezoids":D(e,t)?n="sectors":R(e,t)&&(n="points"),n}(n,t),i=function(e,t){var n,r;return z(e,t)?null===(n=t.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:D(e,t)?null===(r=t.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:R(e,t)?t.payload:{}}(n,t),a=r.filter((function(e,r){var a=d()(i,e),s=n.props[o].filter((function(e){var r=function(e,t){var n;return z(e,t)?n=N:D(e,t)?n=$:R(e,t)&&(n=F),n}(n,t);return r(e,t)})),l=n.props[o].indexOf(s[s.length-1]);return a&&r===l}));return r.indexOf(a[a.length-1])}},15894:(e,t,n)=>{"use strict";n.d(t,{P2:()=>E,bx:()=>x,pr:()=>g,sl:()=>y,vh:()=>b});var r=n(73916),o=n.n(r),i=n(19747),a=n.n(i),s=n(63036),l=n(94501),c=n(59744),u=n(91222);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return(t=v(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){var t=function(e,t){if("object"!=d(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:String(t)}var g=function(e,t,n,r,o){var i=e.width,a=e.height,d=e.layout,f=e.children,h=Object.keys(t),v={left:n.left,leftMirror:n.left,right:i-n.right,rightMirror:i-n.right,top:n.top,topMirror:n.top,bottom:a-n.bottom,bottomMirror:a-n.bottom},g=!!(0,l.BU)(f,u.y);return h.reduce((function(i,a){var l,u,f,h,y,b=t[a],w=b.orientation,E=b.domain,x=b.padding,S=void 0===x?{}:x,_=b.mirror,O=b.reversed,C="".concat(w).concat(_?"Mirror":"");if("number"===b.type&&("gap"===b.padding||"no-gap"===b.padding)){var A=E[1]-E[0],k=1/0,M=b.categoricalDomain.sort();if(M.forEach((function(e,t){t>0&&(k=Math.min((e||0)-(M[t-1]||0),k))})),Number.isFinite(k)){var T=k/A,P="vertical"===b.layout?n.height:n.width;if("gap"===b.padding&&(l=T*P/2),"no-gap"===b.padding){var I=(0,c.F4)(e.barCategoryGap,T*P),j=T*P/2;l=j-I-(j-I)/P*I}}}u="xAxis"===r?[n.left+(S.left||0)+(l||0),n.left+n.width-(S.right||0)-(l||0)]:"yAxis"===r?"horizontal"===d?[n.top+n.height-(S.bottom||0),n.top+(S.top||0)]:[n.top+(S.top||0)+(l||0),n.top+n.height-(S.bottom||0)-(l||0)]:b.range,O&&(u=[u[1],u[0]]);var z=(0,s.W7)(b,o,g),D=z.scale,R=z.realScaleType;D.domain(E).range(u),(0,s.YB)(D);var N=(0,s.w7)(D,p(p({},b),{},{realScaleType:R}));"xAxis"===r?(y="top"===w&&!_||"bottom"===w&&_,f=n.left,h=v[C]-y*b.height):"yAxis"===r&&(y="left"===w&&!_||"right"===w&&_,f=v[C]-y*b.width,h=n.top);var $=p(p(p({},b),N),{},{realScaleType:R,x:f,y:h,scale:D,width:"xAxis"===r?n.width:b.width,height:"yAxis"===r?n.height:b.height});return $.bandSize=(0,s.Hj)($,N),b.hide||"xAxis"!==r?b.hide||(v[C]+=(y?-1:1)*$.width):v[C]+=(y?-1:1)*$.height,p(p({},i),{},m({},a,$))}),{})},y=function(e,t){var n=e.x,r=e.y,o=t.x,i=t.y;return{x:Math.min(n,o),y:Math.min(r,i),width:Math.abs(o-n),height:Math.abs(i-r)}},b=function(e){var t=e.x1,n=e.y1,r=e.x2,o=e.y2;return y({x:t,y:n},{x:r,y:o})},w=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=t}var t,n,r;return t=e,n=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.bandAware,r=t.position;if(void 0!==e){if(r)switch(r){case"start":default:return this.scale(e);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(e)+i}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}}],r=[{key:"create",value:function(t){return new e(t)}}],n&&f(t.prototype,n),r&&f(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();m(w,"EPS",1e-4);var E=function(e){var t=Object.keys(e).reduce((function(t,n){return p(p({},t),{},m({},n,w.create(e[n])))}),{});return p(p({},t),{},{apply:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware,i=n.position;return o()(e,(function(e,n){return t[n].apply(e,{bandAware:r,position:i})}))},isInRange:function(e){return a()(e,(function(e,n){return t[n].isInRange(e)}))}})},x=function(e){var t=e.width,n=e.height,r=((arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)%180+180)%180*Math.PI/180,o=Math.atan(n/t),i=r>o&&r<Math.PI-o?n/Math.sin(r):t/Math.cos(r);return Math.abs(i)}},63036:(e,t,n)=>{"use strict";n.d(t,{s0:()=>pi,gH:()=>ui,YB:()=>Oi,HQ:()=>xi,xi:()=>Ci,Hj:()=>Li,BX:()=>hi,tA:()=>fi,DW:()=>zi,y2:()=>ji,nb:()=>Ii,PW:()=>bi,Ay:()=>ci,vf:()=>gi,Mk:()=>Ri,Ps:()=>di,Mn:()=>Ti,kA:()=>Di,Rh:()=>wi,w7:()=>Pi,zb:()=>Hi,kr:()=>li,_L:()=>yi,KC:()=>Bi,A1:()=>vi,W7:()=>Si,AQ:()=>Fi,_f:()=>Ai});var r={};n.r(r),n.d(r,{scaleBand:()=>o.A,scaleDiverging:()=>Kr,scaleDivergingLog:()=>Gr,scaleDivergingPow:()=>Yr,scaleDivergingSqrt:()=>Zr,scaleDivergingSymlog:()=>Xr,scaleIdentity:()=>He,scaleImplicit:()=>nt.h,scaleLinear:()=>Be,scaleLog:()=>Ze,scaleOrdinal:()=>nt.A,scalePoint:()=>o.z,scalePow:()=>st,scaleQuantile:()=>gt,scaleQuantize:()=>yt,scaleRadial:()=>ut,scaleSequential:()=>Lr,scaleSequentialLog:()=>Br,scaleSequentialPow:()=>Vr,scaleSequentialQuantile:()=>Wr,scaleSequentialSqrt:()=>Ur,scaleSequentialSymlog:()=>Hr,scaleSqrt:()=>lt,scaleSymlog:()=>tt,scaleThreshold:()=>bt,scaleTime:()=>Rr,scaleUtc:()=>Nr,tickFormat:()=>Fe});var o=n(39072);const i=Math.sqrt(50),a=Math.sqrt(10),s=Math.sqrt(2);function l(e,t,n){const r=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(r)),c=r/Math.pow(10,o),u=c>=i?10:c>=a?5:c>=s?2:1;let d,f,h;return o<0?(h=Math.pow(10,-o)/u,d=Math.round(e*h),f=Math.round(t*h),d/h<e&&++d,f/h>t&&--f,h=-h):(h=Math.pow(10,o)*u,d=Math.round(e/h),f=Math.round(t/h),d*h<e&&++d,f*h>t&&--f),f<d&&.5<=n&&n<2?l(e,t,2*n):[d,f,h]}function c(e,t,n){if(!((n=+n)>0))return[];if((e=+e)==(t=+t))return[e];const r=t<e,[o,i,a]=r?l(t,e,n):l(e,t,n);if(!(i>=o))return[];const s=i-o+1,c=new Array(s);if(r)if(a<0)for(let e=0;e<s;++e)c[e]=(i-e)/-a;else for(let e=0;e<s;++e)c[e]=(i-e)*a;else if(a<0)for(let e=0;e<s;++e)c[e]=(o+e)/-a;else for(let e=0;e<s;++e)c[e]=(o+e)*a;return c}function u(e,t,n){return l(e=+e,t=+t,n=+n)[2]}function d(e,t,n){n=+n;const r=(t=+t)<(e=+e),o=r?u(t,e,n):u(e,t,n);return(r?-1:1)*(o<0?1/-o:o)}function f(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function h(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function p(e){let t,n,r;function o(e,r,o=0,i=e.length){if(o<i){if(0!==t(r,r))return i;do{const t=o+i>>>1;n(e[t],r)<0?o=t+1:i=t}while(o<i)}return o}return 2!==e.length?(t=f,n=(t,n)=>f(e(t),n),r=(t,n)=>e(t)-n):(t=e===f||e===h?e:m,n=e,r=e),{left:o,center:function(e,t,n=0,i=e.length){const a=o(e,t,n,i-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,o=0,i=e.length){if(o<i){if(0!==t(r,r))return i;do{const t=o+i>>>1;n(e[t],r)<=0?o=t+1:i=t}while(o<i)}return o}}}function m(){return 0}function v(e){return null===e?NaN:+e}const g=p(f),y=g.right,b=(g.left,p(v).center,y);function w(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function E(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function x(){}var S=.7,_=1/S,O="\\s*([+-]?\\d+)\\s*",C="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",A="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",k=/^#([0-9a-f]{3,8})$/,M=new RegExp(`^rgb\\(${O},${O},${O}\\)$`),T=new RegExp(`^rgb\\(${A},${A},${A}\\)$`),P=new RegExp(`^rgba\\(${O},${O},${O},${C}\\)$`),I=new RegExp(`^rgba\\(${A},${A},${A},${C}\\)$`),j=new RegExp(`^hsl\\(${C},${A},${A}\\)$`),z=new RegExp(`^hsla\\(${C},${A},${A},${C}\\)$`),D={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function R(){return this.rgb().formatHex()}function N(){return this.rgb().formatRgb()}function $(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=k.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?F(t):3===n?new H(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?L(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?L(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=M.exec(e))?new H(t[1],t[2],t[3],1):(t=T.exec(e))?new H(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=P.exec(e))?L(t[1],t[2],t[3],t[4]):(t=I.exec(e))?L(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=j.exec(e))?G(t[1],t[2]/100,t[3]/100,1):(t=z.exec(e))?G(t[1],t[2]/100,t[3]/100,t[4]):D.hasOwnProperty(e)?F(D[e]):"transparent"===e?new H(NaN,NaN,NaN,0):null}function F(e){return new H(e>>16&255,e>>8&255,255&e,1)}function L(e,t,n,r){return r<=0&&(e=t=n=NaN),new H(e,t,n,r)}function B(e,t,n,r){return 1===arguments.length?((o=e)instanceof x||(o=$(o)),o?new H((o=o.rgb()).r,o.g,o.b,o.opacity):new H):new H(e,t,n,null==r?1:r);var o}function H(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function V(){return`#${K(this.r)}${K(this.g)}${K(this.b)}`}function U(){const e=W(this.opacity);return`${1===e?"rgb(":"rgba("}${q(this.r)}, ${q(this.g)}, ${q(this.b)}${1===e?")":`, ${e})`}`}function W(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function q(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function K(e){return((e=q(e))<16?"0":"")+e.toString(16)}function G(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Y(e,t,n,r)}function X(e){if(e instanceof Y)return new Y(e.h,e.s,e.l,e.opacity);if(e instanceof x||(e=$(e)),!e)return new Y;if(e instanceof Y)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new Y(a,s,l,e.opacity)}function Y(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Z(e){return(e=(e||0)%360)<0?e+360:e}function J(e){return Math.max(0,Math.min(1,e||0))}function Q(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function ee(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}w(x,$,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:R,formatHex:R,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return X(this).formatHsl()},formatRgb:N,toString:N}),w(H,B,E(x,{brighter(e){return e=null==e?_:Math.pow(_,e),new H(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?S:Math.pow(S,e),new H(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new H(q(this.r),q(this.g),q(this.b),W(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:V,formatHex:V,formatHex8:function(){return`#${K(this.r)}${K(this.g)}${K(this.b)}${K(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:U,toString:U})),w(Y,(function(e,t,n,r){return 1===arguments.length?X(e):new Y(e,t,n,null==r?1:r)}),E(x,{brighter(e){return e=null==e?_:Math.pow(_,e),new Y(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?S:Math.pow(S,e),new Y(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new H(Q(e>=240?e-240:e+120,o,r),Q(e,o,r),Q(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Y(Z(this.h),J(this.s),J(this.l),W(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=W(this.opacity);return`${1===e?"hsl(":"hsla("}${Z(this.h)}, ${100*J(this.s)}%, ${100*J(this.l)}%${1===e?")":`, ${e})`}`}}));const te=e=>()=>e;function ne(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):te(isNaN(e)?t:e)}const re=function e(t){var n=function(e){return 1==(e=+e)?ne:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):te(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=B(e)).r,(t=B(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=ne(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function oe(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),s=new Array(o);for(n=0;n<o;++n)r=B(t[n]),i[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return i=e(i),a=e(a),s=e(s),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=s(e),r+""}}}function ie(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=he(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function ae(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function se(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function le(e,t){var n,r={},o={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=he(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}oe((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,s=r<t-1?e[r+2]:2*i-o;return ee((n-r/t)*t,a,o,i,s)}})),oe((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],s=e[(r+2)%t];return ee((n-r/t)*t,o,i,a,s)}}));var ce=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ue=new RegExp(ce.source,"g");function de(e,t){var n,r,o,i=ce.lastIndex=ue.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=ce.exec(e))&&(r=ue.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:se(n,r)})),i=ue.lastIndex;return i<t.length&&(o=t.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function fe(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function he(e,t){var n,r,o=typeof t;return null==t||"boolean"===o?te(t):("number"===o?se:"string"===o?(n=$(t))?(t=n,re):de:t instanceof $?re:t instanceof Date?ae:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?ie:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?le:se:fe))(e,t)}function pe(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function me(e){return+e}var ve=[0,1];function ge(e){return e}function ye(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function be(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=ye(o,r),i=n(a,i)):(r=ye(r,o),i=n(i,a)),function(e){return i(r(e))}}function we(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=ye(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=b(e,t,1,r)-1;return i[n](o[n](t))}}function Ee(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function xe(){var e,t,n,r,o,i,a=ve,s=ve,l=he,c=ge;function u(){var e,t,n,l=Math.min(a.length,s.length);return c!==ge&&(e=a[0],t=a[l-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),r=l>2?we:be,o=i=null,d}function d(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),s,l)))(e(c(t)))}return d.invert=function(n){return c(t((i||(i=r(s,a.map(e),se)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,me),u()):a.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),l=pe,u()},d.clamp=function(e){return arguments.length?(c=!!e||ge,u()):c!==ge},d.interpolate=function(e){return arguments.length?(l=e,u()):l},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}}function Se(){return xe()(ge,ge)}var _e,Oe=n(99065),Ce=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ae(e){if(!(t=Ce.exec(e)))throw new Error("invalid format: "+e);var t;return new ke({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function ke(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Me(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Te(e){return(e=Me(Math.abs(e)))?e[1]:NaN}function Pe(e,t){var n=Me(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}Ae.prototype=ke.prototype,ke.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Ie={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Pe(100*e,t),r:Pe,s:function(e,t){var n=Me(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(_e=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Me(e,Math.max(0,t+i-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function je(e){return e}var ze,De,Re,Ne=Array.prototype.map,$e=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Fe(e,t,n,r){var o,i=d(e,t,n);switch((r=Ae(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Te(t)/3)))-Te(Math.abs(e)))}(i,a))||(r.precision=o),Re(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Te(t)-Te(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(e){return Math.max(0,-Te(Math.abs(e)))}(i))||(r.precision=o-2*("%"===r.type))}return De(r)}function Le(e){var t=e.domain;return e.ticks=function(e){var n=t();return c(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Fe(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),a=0,s=i.length-1,l=i[a],c=i[s],d=10;for(c<l&&(o=l,l=c,c=o,o=a,a=s,s=o);d-- >0;){if((o=u(l,c,n))===r)return i[a]=l,i[s]=c,t(i);if(o>0)l=Math.floor(l/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;l=Math.ceil(l*o)/o,c=Math.floor(c*o)/o}r=o}return e},e}function Be(){var e=Se();return e.copy=function(){return Ee(e,Be())},Oe.C.apply(e,arguments),Le(e)}function He(e){var t;function n(e){return null==e||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,me),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return He(e).unknown(t)},e=arguments.length?Array.from(e,me):[0,1],Le(n)}function Ve(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a<i&&(n=r,r=o,o=n,n=i,i=a,a=n),e[r]=t.floor(i),e[o]=t.ceil(a),e}function Ue(e){return Math.log(e)}function We(e){return Math.exp(e)}function qe(e){return-Math.log(-e)}function Ke(e){return-Math.exp(-e)}function Ge(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Xe(e){return(t,n)=>-e(-t,n)}function Ye(e){const t=e(Ue,We),n=t.domain;let r,o,i=10;function a(){return r=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(i),o=function(e){return 10===e?Ge:e===Math.E?Math.exp:t=>Math.pow(e,t)}(i),n()[0]<0?(r=Xe(r),o=Xe(o),e(qe,Ke)):e(Ue,We),t}return t.base=function(e){return arguments.length?(i=+e,a()):i},t.domain=function(e){return arguments.length?(n(e),a()):n()},t.ticks=e=>{const t=n();let a=t[0],s=t[t.length-1];const l=s<a;l&&([a,s]=[s,a]);let u,d,f=r(a),h=r(s);const p=null==e?10:+e;let m=[];if(!(i%1)&&h-f<p){if(f=Math.floor(f),h=Math.ceil(h),a>0){for(;f<=h;++f)for(u=1;u<i;++u)if(d=f<0?u/o(-f):u*o(f),!(d<a)){if(d>s)break;m.push(d)}}else for(;f<=h;++f)for(u=i-1;u>=1;--u)if(d=f>0?u/o(-f):u*o(f),!(d<a)){if(d>s)break;m.push(d)}2*m.length<p&&(m=c(a,s,p))}else m=c(f,h,Math.min(h-f,p)).map(o);return l?m.reverse():m},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===i?"s":","),"function"!=typeof n&&(i%1||null!=(n=Ae(n)).precision||(n.trim=!0),n=De(n)),e===1/0)return n;const a=Math.max(1,i*e/t.ticks().length);return e=>{let t=e/o(Math.round(r(e)));return t*i<i-.5&&(t*=i),t<=a?n(e):""}},t.nice=()=>n(Ve(n(),{floor:e=>o(Math.floor(r(e))),ceil:e=>o(Math.ceil(r(e)))})),t}function Ze(){const e=Ye(xe()).domain([1,10]);return e.copy=()=>Ee(e,Ze()).base(e.base()),Oe.C.apply(e,arguments),e}function Je(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Qe(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function et(e){var t=1,n=e(Je(t),Qe(t));return n.constant=function(n){return arguments.length?e(Je(t=+n),Qe(t)):t},Le(n)}function tt(){var e=et(xe());return e.copy=function(){return Ee(e,tt()).constant(e.constant())},Oe.C.apply(e,arguments)}ze=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?je:(t=Ne.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,s=t[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(e.substring(o-=s,o+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?je:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Ne.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=Ae(e)).fill,n=e.align,d=e.sign,f=e.symbol,h=e.zero,p=e.width,m=e.comma,v=e.precision,g=e.trim,y=e.type;"n"===y?(m=!0,y="g"):Ie[y]||(void 0===v&&(v=12),g=!0,y="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var b="$"===f?o:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",w="$"===f?i:/[%p]/.test(y)?l:"",E=Ie[y],x=/[defgprs%]/.test(y);function S(e){var o,i,l,f=b,S=w;if("c"===y)S=E(e)+S,e="";else{var _=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:E(Math.abs(e),v),g&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),_&&0==+e&&"+"!==d&&(_=!1),f=(_?"("===d?d:c:"-"===d||"("===d?"":d)+f,S=("s"===y?$e[8+_e/3]:"")+S+(_&&"("===d?")":""),x)for(o=-1,i=e.length;++o<i;)if(48>(l=e.charCodeAt(o))||l>57){S=(46===l?a+e.slice(o+1):e.slice(o))+S,e=e.slice(0,o);break}}m&&!h&&(e=r(e,1/0));var O=f.length+e.length+S.length,C=O<p?new Array(p-O+1).join(t):"";switch(m&&h&&(e=r(C+e,C.length?p-S.length:1/0),C=""),n){case"<":e=f+e+S+C;break;case"=":e=f+C+e+S;break;case"^":e=C.slice(0,O=C.length>>1)+f+e+S+C.slice(O);break;default:e=C+f+e+S}return s(e)}return v=void 0===v?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),S.toString=function(){return e+""},S}return{format:d,formatPrefix:function(e,t){var n=d(((e=Ae(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Te(t)/3))),o=Math.pow(10,-r),i=$e[8+r/3];return function(e){return n(o*e)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),De=ze.format,Re=ze.formatPrefix;var nt=n(34598);function rt(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function ot(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function it(e){return e<0?-e*e:e*e}function at(e){var t=e(ge,ge),n=1;return t.exponent=function(t){return arguments.length?1==(n=+t)?e(ge,ge):.5===n?e(ot,it):e(rt(n),rt(1/n)):n},Le(t)}function st(){var e=at(xe());return e.copy=function(){return Ee(e,st()).exponent(e.exponent())},Oe.C.apply(e,arguments),e}function lt(){return st.apply(null,arguments).exponent(.5)}function ct(e){return Math.sign(e)*e*e}function ut(){var e,t=Se(),n=[0,1],r=!1;function o(n){var o=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(t(n));return isNaN(o)?e:r?Math.round(o):o}return o.invert=function(e){return t.invert(ct(e))},o.domain=function(e){return arguments.length?(t.domain(e),o):t.domain()},o.range=function(e){return arguments.length?(t.range((n=Array.from(e,me)).map(ct)),o):n.slice()},o.rangeRound=function(e){return o.range(e).round(!0)},o.round=function(e){return arguments.length?(r=!!e,o):r},o.clamp=function(e){return arguments.length?(t.clamp(e),o):t.clamp()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return ut(t.domain(),n).round(r).clamp(t.clamp()).unknown(e)},Oe.C.apply(o,arguments),Le(o)}function dt(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n<t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let o of e)null!=(o=t(o,++r,e))&&(n<o||void 0===n&&o>=o)&&(n=o)}return n}function ft(e,t){let n;if(void 0===t)for(const t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let o of e)null!=(o=t(o,++r,e))&&(n>o||void 0===n&&o>=o)&&(n=o)}return n}function ht(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}function pt(e,t,n=0,r=1/0,o){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(o=void 0===o?ht:function(e=f){if(e===f)return ht;if("function"!=typeof e)throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||0===r?r:(0===e(n,n))-(0===e(t,t))}}(o);r>n;){if(r-n>600){const i=r-n+1,a=t-n+1,s=Math.log(i),l=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*l*(i-l)/i)*(a-i/2<0?-1:1);pt(e,t,Math.max(n,Math.floor(t-a*l/i+c)),Math.min(r,Math.floor(t+(i-a)*l/i+c)),o)}const i=e[t];let a=n,s=r;for(mt(e,n,t),o(e[r],i)>0&&mt(e,n,r);a<s;){for(mt(e,a,s),++a,--s;o(e[a],i)<0;)++a;for(;o(e[s],i)>0;)--s}0===o(e[n],i)?mt(e,n,s):(++s,mt(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function mt(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function vt(e,t,n=v){if((r=e.length)&&!isNaN(t=+t)){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e);return a+(+n(e[i+1],i+1,e)-a)*(o-i)}}function gt(){var e,t=[],n=[],r=[];function o(){var e=0,o=Math.max(1,n.length);for(r=new Array(o-1);++e<o;)r[e-1]=vt(t,e/o);return i}function i(t){return null==t||isNaN(t=+t)?e:n[b(r,t)]}return i.invertExtent=function(e){var o=n.indexOf(e);return o<0?[NaN,NaN]:[o>0?r[o-1]:t[0],o<r.length?r[o]:t[t.length-1]]},i.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let n of e)null==n||isNaN(n=+n)||t.push(n);return t.sort(f),o()},i.range=function(e){return arguments.length?(n=Array.from(e),o()):n.slice()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.quantiles=function(){return r.slice()},i.copy=function(){return gt().domain(t).range(n).unknown(e)},Oe.C.apply(i,arguments)}function yt(){var e,t=0,n=1,r=1,o=[.5],i=[0,1];function a(t){return null!=t&&t<=t?i[b(o,t,0,r)]:e}function s(){var e=-1;for(o=new Array(r);++e<r;)o[e]=((e+1)*n-(e-r)*t)/(r+1);return a}return a.domain=function(e){return arguments.length?([t,n]=e,t=+t,n=+n,s()):[t,n]},a.range=function(e){return arguments.length?(r=(i=Array.from(e)).length-1,s()):i.slice()},a.invertExtent=function(e){var a=i.indexOf(e);return a<0?[NaN,NaN]:a<1?[t,o[0]]:a>=r?[o[r-1],n]:[o[a-1],o[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return yt().domain([t,n]).range(i).unknown(e)},Oe.C.apply(Le(a),arguments)}function bt(){var e,t=[.5],n=[0,1],r=1;function o(o){return null!=o&&o<=o?n[b(t,o,0,r)]:e}return o.domain=function(e){return arguments.length?(t=Array.from(e),r=Math.min(t.length,n.length-1),o):t.slice()},o.range=function(e){return arguments.length?(n=Array.from(e),r=Math.min(t.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return bt().domain(t).range(n).unknown(e)},Oe.C.apply(o,arguments)}const wt=1e3,Et=6e4,xt=36e5,St=864e5,_t=6048e5,Ot=31536e6,Ct=new Date,At=new Date;function kt(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=t=>(e(t=new Date(+t)),t),o.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),o.round=e=>{const t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),o.range=(n,r,i)=>{const a=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return a;let s;do{a.push(s=new Date(+n)),t(n,i),e(n)}while(s<n&&n<r);return a},o.filter=n=>kt((t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),((e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})),n&&(o.count=(t,r)=>(Ct.setTime(+t),At.setTime(+r),e(Ct),e(At),Math.floor(n(Ct,At))),o.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?t=>r(t)%e==0:t=>o.count(0,t)%e==0):o:null)),o}const Mt=kt((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));Mt.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?kt((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):Mt:null),Mt.range;const Tt=kt((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*wt)}),((e,t)=>(t-e)/wt),(e=>e.getUTCSeconds())),Pt=(Tt.range,kt((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*wt)}),((e,t)=>{e.setTime(+e+t*Et)}),((e,t)=>(t-e)/Et),(e=>e.getMinutes()))),It=(Pt.range,kt((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*Et)}),((e,t)=>(t-e)/Et),(e=>e.getUTCMinutes()))),jt=(It.range,kt((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*wt-e.getMinutes()*Et)}),((e,t)=>{e.setTime(+e+t*xt)}),((e,t)=>(t-e)/xt),(e=>e.getHours()))),zt=(jt.range,kt((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*xt)}),((e,t)=>(t-e)/xt),(e=>e.getUTCHours()))),Dt=(zt.range,kt((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Et)/St),(e=>e.getDate()-1))),Rt=(Dt.range,kt((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/St),(e=>e.getUTCDate()-1))),Nt=(Rt.range,kt((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/St),(e=>Math.floor(e/St))));function $t(e){return kt((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Et)/_t))}Nt.range;const Ft=$t(0),Lt=$t(1),Bt=$t(2),Ht=$t(3),Vt=$t(4),Ut=$t(5),Wt=$t(6);function qt(e){return kt((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/_t))}Ft.range,Lt.range,Bt.range,Ht.range,Vt.range,Ut.range,Wt.range;const Kt=qt(0),Gt=qt(1),Xt=qt(2),Yt=qt(3),Zt=qt(4),Jt=qt(5),Qt=qt(6),en=(Kt.range,Gt.range,Xt.range,Yt.range,Zt.range,Jt.range,Qt.range,kt((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()))),tn=(en.range,kt((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth()))),nn=(tn.range,kt((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear())));nn.every=e=>isFinite(e=Math.floor(e))&&e>0?kt((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n*e)})):null,nn.range;const rn=kt((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));function on(e,t,n,r,o,i){const a=[[Tt,1,wt],[Tt,5,5e3],[Tt,15,15e3],[Tt,30,3e4],[i,1,Et],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,xt],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,St],[r,2,1728e5],[n,1,_t],[t,1,2592e6],[t,3,7776e6],[e,1,Ot]];function s(t,n,r){const o=Math.abs(n-t)/r,i=p((([,,e])=>e)).right(a,o);if(i===a.length)return e.every(d(t/Ot,n/Ot,r));if(0===i)return Mt.every(Math.max(d(t,n,r),1));const[s,l]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return s.every(l)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const o=n&&"function"==typeof n.range?n:s(e,t,n),i=o?o.range(e,+t+1):[];return r?i.reverse():i},s]}rn.every=e=>isFinite(e=Math.floor(e))&&e>0?kt((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null,rn.range;const[an,sn]=on(rn,tn,Kt,Nt,zt,It),[ln,cn]=on(nn,en,Ft,Dt,jt,Pt);function un(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function dn(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function fn(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var hn,pn,mn,vn={"-":"",_:" ",0:"0"},gn=/^\s*\d+/,yn=/^%/,bn=/[\\^$*+?|[\]().{}]/g;function wn(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function En(e){return e.replace(bn,"\\$&")}function xn(e){return new RegExp("^(?:"+e.map(En).join("|")+")","i")}function Sn(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function _n(e,t,n){var r=gn.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function On(e,t,n){var r=gn.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Cn(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function An(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function kn(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Mn(e,t,n){var r=gn.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Tn(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Pn(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function In(e,t,n){var r=gn.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function jn(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function zn(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Dn(e,t,n){var r=gn.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Rn(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Nn(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function $n(e,t,n){var r=gn.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Fn(e,t,n){var r=gn.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Ln(e,t,n){var r=gn.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Bn(e,t,n){var r=yn.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Hn(e,t,n){var r=gn.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Vn(e,t,n){var r=gn.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Un(e,t){return wn(e.getDate(),t,2)}function Wn(e,t){return wn(e.getHours(),t,2)}function qn(e,t){return wn(e.getHours()%12||12,t,2)}function Kn(e,t){return wn(1+Dt.count(nn(e),e),t,3)}function Gn(e,t){return wn(e.getMilliseconds(),t,3)}function Xn(e,t){return Gn(e,t)+"000"}function Yn(e,t){return wn(e.getMonth()+1,t,2)}function Zn(e,t){return wn(e.getMinutes(),t,2)}function Jn(e,t){return wn(e.getSeconds(),t,2)}function Qn(e){var t=e.getDay();return 0===t?7:t}function er(e,t){return wn(Ft.count(nn(e)-1,e),t,2)}function tr(e){var t=e.getDay();return t>=4||0===t?Vt(e):Vt.ceil(e)}function nr(e,t){return e=tr(e),wn(Vt.count(nn(e),e)+(4===nn(e).getDay()),t,2)}function rr(e){return e.getDay()}function or(e,t){return wn(Lt.count(nn(e)-1,e),t,2)}function ir(e,t){return wn(e.getFullYear()%100,t,2)}function ar(e,t){return wn((e=tr(e)).getFullYear()%100,t,2)}function sr(e,t){return wn(e.getFullYear()%1e4,t,4)}function lr(e,t){var n=e.getDay();return wn((e=n>=4||0===n?Vt(e):Vt.ceil(e)).getFullYear()%1e4,t,4)}function cr(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+wn(t/60|0,"0",2)+wn(t%60,"0",2)}function ur(e,t){return wn(e.getUTCDate(),t,2)}function dr(e,t){return wn(e.getUTCHours(),t,2)}function fr(e,t){return wn(e.getUTCHours()%12||12,t,2)}function hr(e,t){return wn(1+Rt.count(rn(e),e),t,3)}function pr(e,t){return wn(e.getUTCMilliseconds(),t,3)}function mr(e,t){return pr(e,t)+"000"}function vr(e,t){return wn(e.getUTCMonth()+1,t,2)}function gr(e,t){return wn(e.getUTCMinutes(),t,2)}function yr(e,t){return wn(e.getUTCSeconds(),t,2)}function br(e){var t=e.getUTCDay();return 0===t?7:t}function wr(e,t){return wn(Kt.count(rn(e)-1,e),t,2)}function Er(e){var t=e.getUTCDay();return t>=4||0===t?Zt(e):Zt.ceil(e)}function xr(e,t){return e=Er(e),wn(Zt.count(rn(e),e)+(4===rn(e).getUTCDay()),t,2)}function Sr(e){return e.getUTCDay()}function _r(e,t){return wn(Gt.count(rn(e)-1,e),t,2)}function Or(e,t){return wn(e.getUTCFullYear()%100,t,2)}function Cr(e,t){return wn((e=Er(e)).getUTCFullYear()%100,t,2)}function Ar(e,t){return wn(e.getUTCFullYear()%1e4,t,4)}function kr(e,t){var n=e.getUTCDay();return wn((e=n>=4||0===n?Zt(e):Zt.ceil(e)).getUTCFullYear()%1e4,t,4)}function Mr(){return"+0000"}function Tr(){return"%"}function Pr(e){return+e}function Ir(e){return Math.floor(+e/1e3)}function jr(e){return new Date(e)}function zr(e){return e instanceof Date?+e:+new Date(+e)}function Dr(e,t,n,r,o,i,a,s,l,c){var u=Se(),d=u.invert,f=u.domain,h=c(".%L"),p=c(":%S"),m=c("%I:%M"),v=c("%I %p"),g=c("%a %d"),y=c("%b %d"),b=c("%B"),w=c("%Y");function E(e){return(l(e)<e?h:s(e)<e?p:a(e)<e?m:i(e)<e?v:r(e)<e?o(e)<e?g:y:n(e)<e?b:w)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,zr)):f().map(jr)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?E:c(t)},u.nice=function(e){var n=f();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?f(Ve(n,e)):u},u.copy=function(){return Ee(u,Dr(e,t,n,r,o,i,a,s,l,c))},u}function Rr(){return Oe.C.apply(Dr(ln,cn,nn,en,Ft,Dt,jt,Pt,Tt,pn).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Nr(){return Oe.C.apply(Dr(an,sn,rn,tn,Kt,Rt,zt,It,Tt,mn).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function $r(){var e,t,n,r,o,i=0,a=1,s=ge,l=!1;function c(t){return null==t||isNaN(t=+t)?o:s(0===n?.5:(t=(r(t)-e)*n,l?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,s=e(n,r),c):[s(0),s(1)]}}return c.domain=function(o){return arguments.length?([i,a]=o,e=r(i=+i),t=r(a=+a),n=e===t?0:1/(t-e),c):[i,a]},c.clamp=function(e){return arguments.length?(l=!!e,c):l},c.interpolator=function(e){return arguments.length?(s=e,c):s},c.range=u(he),c.rangeRound=u(pe),c.unknown=function(e){return arguments.length?(o=e,c):o},function(o){return r=o,e=o(i),t=o(a),n=e===t?0:1/(t-e),c}}function Fr(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Lr(){var e=Le($r()(ge));return e.copy=function(){return Fr(e,Lr())},Oe.K.apply(e,arguments)}function Br(){var e=Ye($r()).domain([1,10]);return e.copy=function(){return Fr(e,Br()).base(e.base())},Oe.K.apply(e,arguments)}function Hr(){var e=et($r());return e.copy=function(){return Fr(e,Hr()).constant(e.constant())},Oe.K.apply(e,arguments)}function Vr(){var e=at($r());return e.copy=function(){return Fr(e,Vr()).exponent(e.exponent())},Oe.K.apply(e,arguments)}function Ur(){return Vr.apply(null,arguments).exponent(.5)}function Wr(){var e=[],t=ge;function n(n){if(null!=n&&!isNaN(n=+n))return t((b(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(f),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map(((n,r)=>t(r/(e.length-1))))},n.quantiles=function(t){return Array.from({length:t+1},((n,r)=>function(e,t,n){if(e=Float64Array.from(function*(e,t){if(void 0===t)for(let t of e)null!=t&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)null!=(r=t(r,++n,e))&&(r=+r)>=r&&(yield r)}}(e,n)),(r=e.length)&&!isNaN(t=+t)){if(t<=0||r<2)return ft(e);if(t>=1)return dt(e);var r,o=(r-1)*t,i=Math.floor(o),a=dt(pt(e,i).subarray(0,i+1));return a+(ft(e.subarray(i+1))-a)*(o-i)}}(e,r/t)))},n.copy=function(){return Wr(t).domain(e)},Oe.K.apply(n,arguments)}function qr(){var e,t,n,r,o,i,a,s=0,l=.5,c=1,u=1,d=ge,f=!1;function h(e){return isNaN(e=+e)?a:(e=.5+((e=+i(e))-t)*(u*e<u*t?r:o),d(f?Math.max(0,Math.min(1,e)):e))}function p(e){return function(t){var n,r,o;return arguments.length?([n,r,o]=t,d=function(e,t){void 0===t&&(t=e,e=he);for(var n=0,r=t.length-1,o=t[0],i=new Array(r<0?0:r);n<r;)i[n]=e(o,o=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return i[t](e-t)}}(e,[n,r,o]),h):[d(0),d(.5),d(1)]}}return h.domain=function(a){return arguments.length?([s,l,c]=a,e=i(s=+s),t=i(l=+l),n=i(c=+c),r=e===t?0:.5/(t-e),o=t===n?0:.5/(n-t),u=t<e?-1:1,h):[s,l,c]},h.clamp=function(e){return arguments.length?(f=!!e,h):f},h.interpolator=function(e){return arguments.length?(d=e,h):d},h.range=p(he),h.rangeRound=p(pe),h.unknown=function(e){return arguments.length?(a=e,h):a},function(a){return i=a,e=a(s),t=a(l),n=a(c),r=e===t?0:.5/(t-e),o=t===n?0:.5/(n-t),u=t<e?-1:1,h}}function Kr(){var e=Le(qr()(ge));return e.copy=function(){return Fr(e,Kr())},Oe.K.apply(e,arguments)}function Gr(){var e=Ye(qr()).domain([.1,1,10]);return e.copy=function(){return Fr(e,Gr()).base(e.base())},Oe.K.apply(e,arguments)}function Xr(){var e=et(qr());return e.copy=function(){return Fr(e,Xr()).constant(e.constant())},Oe.K.apply(e,arguments)}function Yr(){var e=at(qr());return e.copy=function(){return Fr(e,Yr()).exponent(e.exponent())},Oe.K.apply(e,arguments)}function Zr(){return Yr.apply(null,arguments).exponent(.5)}function Jr(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],s=a.length;i<o;++i)for(r=a,a=e[t[i]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}hn=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=xn(o),u=Sn(o),d=xn(i),f=Sn(i),h=xn(a),p=Sn(a),m=xn(s),v=Sn(s),g=xn(l),y=Sn(l),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Un,e:Un,f:Xn,g:ar,G:lr,H:Wn,I:qn,j:Kn,L:Gn,m:Yn,M:Zn,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Pr,s:Ir,S:Jn,u:Qn,U:er,V:nr,w:rr,W:or,x:null,X:null,y:ir,Y:sr,Z:cr,"%":Tr},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:ur,e:ur,f:mr,g:Cr,G:kr,H:dr,I:fr,j:hr,L:pr,m:vr,M:gr,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Pr,s:Ir,S:yr,u:br,U:wr,V:xr,w:Sr,W:_r,x:null,X:null,y:Or,Y:Ar,Z:Mr,"%":Tr},E={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return _(e,t,n,r)},d:zn,e:zn,f:Ln,g:Tn,G:Mn,H:Rn,I:Rn,j:Dn,L:Fn,m:jn,M:Nn,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:In,Q:Hn,s:Vn,S:$n,u:On,U:Cn,V:An,w:_n,W:kn,x:function(e,t,r){return _(e,n,t,r)},X:function(e,t,n){return _(e,r,t,n)},y:Tn,Y:Mn,Z:Pn,"%":Bn};function x(e,t){return function(n){var r,o,i,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(o=vn[r=e.charAt(++s)])?r=e.charAt(++s):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function S(e,t){return function(n){var r,o,i=fn(1900,void 0,1);if(_(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=dn(fn(i.y,0,1))).getUTCDay(),r=o>4||0===o?Gt.ceil(r):Gt(r),r=Rt.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=un(fn(i.y,0,1))).getDay(),r=o>4||0===o?Lt.ceil(r):Lt(r),r=Dt.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?dn(fn(i.y,0,1)).getUTCDay():un(fn(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,dn(i)):un(i)}}function _(e,t,n,r){for(var o,i,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=E[o in vn?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=x(n,b),b.X=x(r,b),b.c=x(t,b),w.x=x(n,w),w.X=x(r,w),w.c=x(t,w),{format:function(e){var t=x(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=S(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=S(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"]}),pn=hn.format,hn.parse,mn=hn.utcFormat,hn.utcParse;var Qr=n(45917),eo=n(48946);function to(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function no(e,t){return e[t]}function ro(e){const t=[];return t.key=e,t}var oo=n(94506),io=n.n(oo),ao=n(31684),so=n.n(ao),lo=n(69843),co=n.n(lo),uo=n(1882),fo=n.n(uo),ho=n(85015),po=n.n(ho),mo=n(58156),vo=n.n(mo),go=n(47307),yo=n.n(go),bo=n(11741),wo=n.n(bo),Eo=n(55808),xo=n.n(Eo),So=n(2404),_o=n.n(So),Oo=n(33031),Co=n.n(Oo),Ao=n(38351),ko=n.n(Ao);function Mo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var To=function(e){return e},Po={"@@functional/placeholder":!0},Io=function(e){return e===Po},jo=function(e){return function t(){return 0===arguments.length||1===arguments.length&&Io(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},zo=function e(t,n){return 1===t?n:jo((function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=o.filter((function(e){return e!==Po})).length;return a>=t?n.apply(void 0,o):e(t-a,jo((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i,a=o.map((function(e){return Io(e)?t.shift():e}));return n.apply(void 0,(i=a,function(e){if(Array.isArray(e))return Mo(e)}(i)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return Mo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mo(e,t):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(t))})))}))},Do=function(e){return zo(e.length,e)},Ro=function(e,t){for(var n=[],r=e;r<t;++r)n[r-e]=r;return n},No=Do((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),$o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!t.length)return To;var r=t.reverse(),o=r[0],i=r.slice(1);return function(){return i.reduce((function(e,t){return t(e)}),o.apply(void 0,arguments))}},Fo=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},Lo=function(e){var t=null,n=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t&&o.every((function(e,n){return e===t[n]}))?n:(t=o,n=e.apply(void 0,o))}};const Bo={rangeStep:function(e,t,n){for(var r=new(ko())(e),o=0,i=[];r.lt(t)&&o<1e5;)i.push(r.toNumber()),r=r.add(n),o++;return i},getDigitCount:function(e){return 0===e?1:Math.floor(new(ko())(e).abs().log(10).toNumber())+1},interpolateNumber:Do((function(e,t,n){var r=+e;return r+n*(+t-r)})),uninterpolateNumber:Do((function(e,t,n){var r=t-+e;return(n-e)/(r||1/0)})),uninterpolateTruncation:Do((function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))}))};function Ho(e){return function(e){if(Array.isArray(e))return Wo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Uo(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||Uo(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Uo(e,t){if(e){if("string"==typeof e)return Wo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wo(e,t):void 0}}function Wo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qo(e){var t=Vo(e,2),n=t[0],r=t[1],o=n,i=r;return n>r&&(o=r,i=n),[o,i]}function Ko(e,t,n){if(e.lte(0))return new(ko())(0);var r=Bo.getDigitCount(e.toNumber()),o=new(ko())(10).pow(r),i=e.div(o),a=1!==r?.05:.1,s=new(ko())(Math.ceil(i.div(a).toNumber())).add(n).mul(a).mul(o);return t?s:new(ko())(Math.ceil(s))}function Go(e,t,n){var r=1,o=new(ko())(e);if(!o.isint()&&n){var i=Math.abs(e);i<1?(r=new(ko())(10).pow(Bo.getDigitCount(e)-1),o=new(ko())(Math.floor(o.div(r).toNumber())).mul(r)):i>1&&(o=new(ko())(Math.floor(e)))}else 0===e?o=new(ko())(Math.floor((t-1)/2)):n||(o=new(ko())(Math.floor(e)));var a=Math.floor((t-1)/2);return $o(No((function(e){return o.add(new(ko())(e-a).mul(r)).toNumber()})),Ro)(0,t)}function Xo(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new(ko())(0),tickMin:new(ko())(0),tickMax:new(ko())(0)};var i,a=Ko(new(ko())(t).sub(e).div(n-1),r,o);i=e<=0&&t>=0?new(ko())(0):(i=new(ko())(e).add(t).div(2)).sub(new(ko())(i).mod(a));var s=Math.ceil(i.sub(e).div(a).toNumber()),l=Math.ceil(new(ko())(t).sub(i).div(a).toNumber()),c=s+l+1;return c>n?Xo(e,t,n,r,o+1):(c<n&&(l=t>0?l+(n-c):l,s=t>0?s:s+(n-c)),{step:a,tickMin:i.sub(new(ko())(s).mul(a)),tickMax:i.add(new(ko())(l).mul(a))})}var Yo=Lo((function(e){var t=Vo(e,2),n=t[0],r=t[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),s=Vo(qo([n,r]),2),l=s[0],c=s[1];if(l===-1/0||c===1/0){var u=c===1/0?[l].concat(Ho(Ro(0,o-1).map((function(){return 1/0})))):[].concat(Ho(Ro(0,o-1).map((function(){return-1/0}))),[c]);return n>r?Fo(u):u}if(l===c)return Go(l,o,i);var d=Xo(l,c,a,i),f=d.step,h=d.tickMin,p=d.tickMax,m=Bo.rangeStep(h,p.add(new(ko())(.1).mul(f)),f);return n>r?Fo(m):m})),Zo=(Lo((function(e){var t=Vo(e,2),n=t[0],r=t[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),s=Vo(qo([n,r]),2),l=s[0],c=s[1];if(l===-1/0||c===1/0)return[n,r];if(l===c)return Go(l,o,i);var u=Ko(new(ko())(c).sub(l).div(a-1),i,0),d=$o(No((function(e){return new(ko())(l).add(new(ko())(e).mul(u)).toNumber()})),Ro)(0,a).filter((function(e){return e>=l&&e<=c}));return n>r?Fo(d):d})),Lo((function(e,t){var n=Vo(e,2),r=n[0],o=n[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Vo(qo([r,o]),2),s=a[0],l=a[1];if(s===-1/0||l===1/0)return[r,o];if(s===l)return[s];var c=Math.max(t,2),u=Ko(new(ko())(l).sub(s).div(c-1),i,0),d=[].concat(Ho(Bo.rangeStep(new(ko())(s),new(ko())(l).sub(new(ko())(.99).mul(u)),u)),[l]);return r>o?Fo(d):d}))),Jo=n(51738),Qo=n(59744),ei=n(94501),ti=n(12532);function ni(e){return ni="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ni(e)}function ri(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ri(Object(n),!0).forEach((function(t){ii(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ri(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ii(e,t,n){var r;return r=function(e,t){if("object"!=ni(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=ni(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==ni(r)?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ai(e){return function(e){if(Array.isArray(e))return si(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return si(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?si(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function si(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function li(e,t,n){return co()(e)||co()(t)?n:(0,Qo.vh)(t)?vo()(e,t,n):fo()(t)?t(e):n}function ci(e,t,n,r){var o=yo()(e,(function(e){return li(e,t)}));if("number"===n){var i=o.filter((function(e){return(0,Qo.Et)(e)||parseFloat(e)}));return i.length?[so()(i),io()(i)]:[1/0,-1/0]}return(r?o.filter((function(e){return!co()(e)})):o).map((function(e){return(0,Qo.vh)(e)||e instanceof Date?e:""}))}var ui=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(t=null==n?void 0:n.length)&&void 0!==t?t:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var s=o.range,l=0;l<a;l++){var c=l>0?r[l-1].coordinate:r[a-1].coordinate,u=r[l].coordinate,d=l>=a-1?r[0].coordinate:r[l+1].coordinate,f=void 0;if((0,Qo.sA)(u-c)!==(0,Qo.sA)(d-u)){var h=[];if((0,Qo.sA)(d-u)===(0,Qo.sA)(s[1]-s[0])){f=d;var p=u+s[1]-s[0];h[0]=Math.min(p,(p+c)/2),h[1]=Math.max(p,(p+c)/2)}else{f=c;var m=d+s[1]-s[0];h[0]=Math.min(u,(m+u)/2),h[1]=Math.max(u,(m+u)/2)}var v=[Math.min(u,(f+u)/2),Math.max(u,(f+u)/2)];if(e>v[0]&&e<=v[1]||e>=h[0]&&e<=h[1]){i=r[l].index;break}}else{var g=Math.min(c,d),y=Math.max(c,d);if(e>(g+u)/2&&e<=(y+u)/2){i=r[l].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b>0&&b<a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b===a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2){i=n[b].index;break}return i},di=function(e){var t,n=e.type.displayName,r=e.props,o=r.stroke,i=r.fill;switch(n){case"Line":t=o;break;case"Area":case"Radar":t=o&&"none"!==o?o:i;break;default:t=i}return t},fi=function(e){var t=e.barSize,n=e.totalSize,r=e.stackGroups,o=void 0===r?{}:r;if(!o)return{};for(var i={},a=Object.keys(o),s=0,l=a.length;s<l;s++)for(var c=o[a[s]].stackGroups,u=Object.keys(c),d=0,f=u.length;d<f;d++){var h=c[u[d]],p=h.items,m=h.cateAxisId,v=p.filter((function(e){return(0,ei.Mn)(e.type).indexOf("Bar")>=0}));if(v&&v.length){var g=v[0].props.barSize,y=v[0].props[m];i[y]||(i[y]=[]);var b=co()(g)?t:g;i[y].push({item:v[0],stackList:v.slice(1),barSize:co()(b)?void 0:(0,Qo.F4)(b,n,0)})}}return i},hi=function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,o=e.sizeList,i=void 0===o?[]:o,a=e.maxBarSize,s=i.length;if(s<1)return null;var l,c=(0,Qo.F4)(t,r,0,!0),u=[];if(i[0].barSize===+i[0].barSize){var d=!1,f=r/s,h=i.reduce((function(e,t){return e+t.barSize||0}),0);(h+=(s-1)*c)>=r&&(h-=(s-1)*c,c=0),h>=r&&f>0&&(d=!0,h=s*(f*=.9));var p={offset:((r-h)/2|0)-c,size:0};l=i.reduce((function(e,t){var n={item:t.item,position:{offset:p.offset+p.size+c,size:d?f:t.barSize}},r=[].concat(ai(e),[n]);return p=r[r.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:p})})),r}),u)}else{var m=(0,Qo.F4)(n,r,0,!0);r-2*m-(s-1)*c<=0&&(c=0);var v=(r-2*m-(s-1)*c)/s;v>1&&(v>>=0);var g=a===+a?Math.min(v,a):v;l=i.reduce((function(e,t,n){var r=[].concat(ai(e),[{item:t.item,position:{offset:m+(v+c)*n+(v-g)/2,size:g}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:r[r.length-1].position})})),r}),u)}return l},pi=function(e,t,n,r){var o=n.children,i=n.width,a=n.margin,s=i-(a.left||0)-(a.right||0),l=(0,ti.g)({children:o,legendWidth:s});if(l){var c=r||{},u=c.width,d=c.height,f=l.align,h=l.verticalAlign,p=l.layout;if(("vertical"===p||"horizontal"===p&&"middle"===h)&&"center"!==f&&(0,Qo.Et)(e[f]))return oi(oi({},e),{},ii({},f,e[f]+(u||0)));if(("horizontal"===p||"vertical"===p&&"center"===f)&&"middle"!==h&&(0,Qo.Et)(e[h]))return oi(oi({},e),{},ii({},h,e[h]+(d||0)))}return e},mi=function(e,t,n,r,o){var i=t.props.children,a=(0,ei.aS)(i,Jo.u).filter((function(e){return function(e,t,n){return!!co()(t)||("horizontal"===e?"yAxis"===t:"vertical"===e||"x"===n?"xAxis"===t:"y"!==n||"yAxis"===t)}(r,o,e.props.direction)}));if(a&&a.length){var s=a.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var r=li(t,n);if(co()(r))return e;var o=Array.isArray(r)?[so()(r),io()(r)]:[r,r],i=s.reduce((function(e,n){var r=li(t,n,0),i=o[0]-Math.abs(Array.isArray(r)?r[0]:r),a=o[1]+Math.abs(Array.isArray(r)?r[1]:r);return[Math.min(i,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(i[0],e[0]),Math.max(i[1],e[1])]}),[1/0,-1/0])}return null},vi=function(e,t,n,r,o){var i=t.map((function(t){return mi(e,t,n,o,r)})).filter((function(e){return!co()(e)}));return i&&i.length?i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null},gi=function(e,t,n,r,o){var i=t.map((function(t){var i=t.props.dataKey;return"number"===n&&i&&mi(e,t,i,r)||ci(e,i,n,o)}));if("number"===n)return i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var a={};return i.reduce((function(e,t){for(var n=0,r=t.length;n<r;n++)a[t[n]]||(a[t[n]]=!0,e.push(t[n]));return e}),[])},yi=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},bi=function(e,t,n,r){if(r)return e.map((function(e){return e.coordinate}));var o,i,a=e.map((function(e){return e.coordinate===t&&(o=!0),e.coordinate===n&&(i=!0),e.coordinate}));return o||a.push(t),i||a.push(n),a},wi=function(e,t,n){if(!e)return null;var r=e.scale,o=e.duplicateDomain,i=e.type,a=e.range,s="scaleBand"===e.realScaleType?r.bandwidth()/2:2,l=(t||n)&&"category"===i&&r.bandwidth?r.bandwidth()/s:0;return l="angleAxis"===e.axisType&&(null==a?void 0:a.length)>=2?2*(0,Qo.sA)(a[0]-a[1])*l:l,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=o?o.indexOf(e):e;return{coordinate:r(t)+l,value:e,offset:l}})).filter((function(e){return!wo()(e.coordinate)})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:r(e)+l,value:e,index:t,offset:l}})):r.ticks&&!n?r.ticks(e.tickCount).map((function(e){return{coordinate:r(e)+l,value:e,offset:l}})):r.domain().map((function(e,t){return{coordinate:r(e)+l,value:o?o[e]:e,index:t,offset:l}}))},Ei=new WeakMap,xi=function(e,t){if("function"!=typeof t)return e;Ei.has(e)||Ei.set(e,new WeakMap);var n=Ei.get(e);if(n.has(t))return n.get(t);var r=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return n.set(t,r),r},Si=function(e,t,n){var i=e.scale,a=e.type,s=e.layout,l=e.axisType;if("auto"===i)return"radial"===s&&"radiusAxis"===l?{scale:o.A(),realScaleType:"band"}:"radial"===s&&"angleAxis"===l?{scale:Be(),realScaleType:"linear"}:"category"===a&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!n)?{scale:o.z(),realScaleType:"point"}:"category"===a?{scale:o.A(),realScaleType:"band"}:{scale:Be(),realScaleType:"linear"};if(po()(i)){var c="scale".concat(xo()(i));return{scale:(r[c]||o.z)(),realScaleType:r[c]?c:"point"}}return fo()(i)?{scale:i}:{scale:o.z(),realScaleType:"point"}},_i=1e-4,Oi=function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),o=Math.min(r[0],r[1])-_i,i=Math.max(r[0],r[1])+_i,a=e(t[0]),s=e(t[n-1]);(a<o||a>i||s<o||s>i)&&e.domain([t[0],t[n-1]])}},Ci=function(e,t){if(!e)return null;for(var n=0,r=e.length;n<r;n++)if(e[n].item===t)return e[n].position;return null},Ai=function(e,t){if(!t||2!==t.length||!(0,Qo.Et)(t[0])||!(0,Qo.Et)(t[1]))return e;var n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]),o=[e[0],e[1]];return(!(0,Qo.Et)(e[0])||e[0]<n)&&(o[0]=n),(!(0,Qo.Et)(e[1])||e[1]>r)&&(o[1]=r),o[0]>r&&(o[0]=r),o[1]<n&&(o[1]=n),o},ki={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var o=0,i=0,a=0;a<t;++a){var s=wo()(e[a][n][1])?e[a][n][0]:e[a][n][1];s>=0?(e[a][n][0]=o,e[a][n][1]=o+s,o=e[a][n][1]):(e[a][n][0]=i,e[a][n][1]=i+s,i=e[a][n][1])}},expand:function(e,t){if((r=e.length)>0){for(var n,r,o,i=0,a=e[0].length;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}Jr(e,t)}},none:Jr,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],i=o.length;r<i;++r){for(var a=0,s=0;a<n;++a)s+=e[a][r][1]||0;o[r][1]+=o[r][0]=-s/2}Jr(e,t)}},wiggle:function(e,t){if((o=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;a<r;++a){for(var s=0,l=0,c=0;s<o;++s){for(var u=e[t[s]],d=u[a][1]||0,f=(d-(u[a-1][1]||0))/2,h=0;h<s;++h){var p=e[t[h]];f+=(p[a][1]||0)-(p[a-1][1]||0)}l+=d,c+=f*d}n[a-1][1]+=n[a-1][0]=i,l&&(i-=c/l)}n[a-1][1]+=n[a-1][0]=i,Jr(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var o=0,i=0;i<t;++i){var a=wo()(e[i][n][1])?e[i][n][0]:e[i][n][1];a>=0?(e[i][n][0]=o,e[i][n][1]=o+a,o=e[i][n][1]):(e[i][n][0]=0,e[i][n][1]=0)}}},Mi=function(e,t,n){var r=t.map((function(e){return e.props.dataKey})),o=ki[n],i=function(){var e=(0,eo.A)([]),t=to,n=Jr,r=no;function o(o){var i,a,s=Array.from(e.apply(this,arguments),ro),l=s.length,c=-1;for(const e of o)for(i=0,++c;i<l;++i)(s[i][c]=[0,+r(e,s[i].key,c,o)]).data=e;for(i=0,a=(0,Qr.A)(t(s));i<l;++i)s[a[i]].index=i;return n(s,a),s}return o.keys=function(t){return arguments.length?(e="function"==typeof t?t:(0,eo.A)(Array.from(t)),o):e},o.value=function(e){return arguments.length?(r="function"==typeof e?e:(0,eo.A)(+e),o):r},o.order=function(e){return arguments.length?(t=null==e?to:"function"==typeof e?e:(0,eo.A)(Array.from(e)),o):t},o.offset=function(e){return arguments.length?(n=null==e?Jr:e,o):n},o}().keys(r).value((function(e,t){return+li(e,t,0)})).order(to).offset(o);return i(e)},Ti=function(e,t,n,r,o,i){if(!e)return null;var a=(i?t.reverse():t).reduce((function(e,t){var o=t.props,i=o.stackId;if(o.hide)return e;var a=t.props[n],s=e[a]||{hasStack:!1,stackGroups:{}};if((0,Qo.vh)(i)){var l=s.stackGroups[i]||{numericAxisId:n,cateAxisId:r,items:[]};l.items.push(t),s.hasStack=!0,s.stackGroups[i]=l}else s.stackGroups[(0,Qo.NF)("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return oi(oi({},e),{},ii({},a,s))}),{});return Object.keys(a).reduce((function(t,i){var s=a[i];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce((function(t,i){var a=s.stackGroups[i];return oi(oi({},t),{},ii({},i,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:Mi(e,a.items,o)}))}),{})),oi(oi({},t),{},ii({},i,s))}),{})},Pi=function(e,t){var n=t.realScaleType,r=t.type,o=t.tickCount,i=t.originalDomain,a=t.allowDecimals,s=n||t.scale;if("auto"!==s&&"linear"!==s)return null;if(o&&"number"===r&&i&&("auto"===i[0]||"auto"===i[1])){var l=e.domain();if(!l.length)return null;var c=Yo(l,o,a);return e.domain([so()(c),io()(c)]),{niceTicks:c}}if(o&&"number"===r){var u=e.domain();return{niceTicks:Zo(u,o,a)}}return null};function Ii(e){var t=e.axis,n=e.ticks,r=e.bandSize,o=e.entry,i=e.index,a=e.dataKey;if("category"===t.type){if(!t.allowDuplicatedCategory&&t.dataKey&&!co()(o[t.dataKey])){var s=(0,Qo.eP)(n,"value",o[t.dataKey]);if(s)return s.coordinate+r/2}return n[i]?n[i].coordinate+r/2:null}var l=li(o,co()(a)?t.dataKey:a);return co()(l)?null:t.scale(l)}var ji=function(e){var t=e.axis,n=e.ticks,r=e.offset,o=e.bandSize,i=e.entry,a=e.index;if("category"===t.type)return n[a]?n[a].coordinate+r:null;var s=li(i,t.dataKey,t.domain[a]);return co()(s)?null:t.scale(s)-o/2+r},zi=function(e){var t=e.numericAxis,n=t.scale.domain();if("number"===t.type){var r=Math.min(n[0],n[1]),o=Math.max(n[0],n[1]);return r<=0&&o>=0?0:o<0?o:r}return n[0]},Di=function(e,t){var n=e.props.stackId;if((0,Qo.vh)(n)){var r=t[n];if(r){var o=r.items.indexOf(e);return o>=0?r.stackedData[o]:null}}return null},Ri=function(e,t,n){return Object.keys(e).reduce((function(r,o){var i=e[o].stackedData.reduce((function(e,r){var o=r.slice(t,n+1).reduce((function(e,t){return[so()(t.concat([e[0]]).filter(Qo.Et)),io()(t.concat([e[1]]).filter(Qo.Et))]}),[1/0,-1/0]);return[Math.min(e[0],o[0]),Math.max(e[1],o[1])]}),[1/0,-1/0]);return[Math.min(i[0],r[0]),Math.max(i[1],r[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},Ni=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,$i=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Fi=function(e,t,n){if(fo()(e))return e(t,n);if(!Array.isArray(e))return t;var r=[];if((0,Qo.Et)(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(Ni.test(e[0])){var o=+Ni.exec(e[0])[1];r[0]=t[0]-o}else fo()(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if((0,Qo.Et)(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if($i.test(e[1])){var i=+$i.exec(e[1])[1];r[1]=t[1]+i}else fo()(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},Li=function(e,t,n){if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var o=Co()(t,(function(e){return e.coordinate})),i=1/0,a=1,s=o.length;a<s;a++){var l=o[a],c=o[a-1];i=Math.min((l.coordinate||0)-(c.coordinate||0),i)}return i===1/0?0:i}return n?void 0:0},Bi=function(e,t,n){return e&&e.length?_o()(e,vo()(n,"type.defaultProps.domain"))?t:e:t},Hi=function(e,t){var n=e.props,r=n.dataKey,o=n.name,i=n.unit,a=n.formatter,s=n.tooltipType,l=n.chartType,c=n.hide;return oi(oi({},(0,ei.J9)(e,!1)),{},{dataKey:r,unit:i,formatter:a,name:o||r,color:di(e),value:li(t,r),type:s,payload:t,chartType:l,hide:c})}},81636:(e,t,n)=>{"use strict";n.d(t,{A3:()=>d,Pu:()=>u});var r=n(59938);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){var r,i,a,s;r=e,i=t,a=n[t],s=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i),(i="symbol"==o(s)?s:String(s))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={widthCache:{},cacheCount:0},l={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},c="recharts_measurement_span",u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||r.m.isSsr)return{width:0,height:0};var n,o=(n=a({},t),Object.keys(n).forEach((function(e){n[e]||delete n[e]})),n),i=JSON.stringify({text:e,copyStyle:o});if(s.widthCache[i])return s.widthCache[i];try{var u=document.getElementById(c);u||((u=document.createElement("span")).setAttribute("id",c),u.setAttribute("aria-hidden","true"),document.body.appendChild(u));var d=a(a({},l),o);Object.assign(u.style,d),u.textContent="".concat(e);var f=u.getBoundingClientRect(),h={width:f.width,height:f.height};return s.widthCache[i]=h,++s.cacheCount>2e3&&(s.cacheCount=0,s.widthCache={}),h}catch(e){return{width:0,height:0}}},d=function(e){return{top:e.top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft}}},59744:(e,t,n)=>{"use strict";n.d(t,{CG:()=>b,Dj:()=>w,Et:()=>h,F4:()=>g,NF:()=>v,_3:()=>f,eP:()=>E,jG:()=>x,lX:()=>y,sA:()=>d,vh:()=>p});var r=n(85015),o=n.n(r),i=n(11741),a=n.n(i),s=n(58156),l=n.n(s),c=n(98023),u=n.n(c),d=function(e){return 0===e?0:e>0?1:-1},f=function(e){return o()(e)&&e.indexOf("%")===e.length-1},h=function(e){return u()(e)&&!a()(e)},p=function(e){return h(e)||o()(e)},m=0,v=function(e){var t=++m;return"".concat(e||"").concat(t)},g=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!h(e)&&!o()(e))return r;if(f(e)){var s=e.indexOf("%");n=t*parseFloat(e.slice(0,s))/100}else n=+e;return a()(n)&&(n=r),i&&n>t&&(n=t),n},y=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},b=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++){if(n[e[r]])return!0;n[e[r]]=!0}return!1},w=function(e,t){return h(e)&&h(t)?function(n){return e+n*(t-e)}:function(){return t}};function E(e,t,n){return e&&e.length?e.find((function(e){return e&&("function"==typeof t?t(e):l()(e,t))===n})):null}var x=function(e){if(!e||!e.length)return null;for(var t=e.length,n=0,r=0,o=0,i=0,a=1/0,s=-1/0,l=0,c=0,u=0;u<t;u++)n+=l=e[u].cx||0,r+=c=e[u].cy||0,o+=l*c,i+=l*l,a=Math.min(a,l),s=Math.max(s,l);var d=t*i!=n*n?(t*o-n*r)/(t*i-n*n):0;return{xmin:a,xmax:s,a:d,b:(r-d*n)/t}}},59938:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});var r={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return r[e]},set:function(e,t){if("string"==typeof e)r[e]=t;else{var n=Object.keys(e);n&&n.length&&n.forEach((function(t){r[t]=e[t]}))}}}},86347:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var r=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t}},6634:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var r=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o]}},14040:(e,t,n)=>{"use strict";n.d(t,{IZ:()=>g,Kg:()=>m,Zk:()=>x,lY:()=>y,pr:()=>b,yy:()=>E});var r=n(69843),o=n.n(r),i=n(96540),a=n(1882),s=n.n(a),l=n(59744),c=n(63036);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){var r;return r=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==u(r)?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m=Math.PI/180,v=function(e){return 180*e/Math.PI},g=function(e,t,n,r){return{x:e+Math.cos(-m*r)*n,y:t+Math.sin(-m*r)*n}},y=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},b=function(e,t,n,r,i){var a=e.width,s=e.height,u=e.startAngle,d=e.endAngle,m=(0,l.F4)(e.cx,a,a/2),v=(0,l.F4)(e.cy,s,s/2),g=y(a,s,n),b=(0,l.F4)(e.innerRadius,g,0),w=(0,l.F4)(e.outerRadius,g,.8*g);return Object.keys(t).reduce((function(e,n){var a,s,l,g=t[n],y=g.domain,E=g.reversed;if(o()(g.range))"angleAxis"===r?a=[u,d]:"radiusAxis"===r&&(a=[b,w]),E&&(a=[a[1],a[0]]);else{var x=(s=a=g.range,l=2,function(e){if(Array.isArray(e))return e}(s)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(s,l)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(s,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());u=x[0],d=x[1]}var S=(0,c.W7)(g,i),_=S.realScaleType,O=S.scale;O.domain(y).range(a),(0,c.YB)(O);var C=(0,c.w7)(O,f(f({},g),{},{realScaleType:_})),A=f(f(f({},g),C),{},{range:a,radius:w,realScaleType:_,scale:O,cx:m,cy:v,innerRadius:b,outerRadius:w,startAngle:u,endAngle:d});return f(f({},e),{},h({},n,A))}),{})},w=function(e,t){var n=t.startAngle,r=t.endAngle,o=Math.floor(n/360),i=Math.floor(r/360);return e+360*Math.min(o,i)},E=function(e,t){var n=function(e,t){var n,r,o,i,a,s,l=e.x,c=e.y,u=t.cx,d=t.cy,f=(o=(n={x:l,y:c}).x,i=n.y,a=(r={x:u,y:d}).x,s=r.y,Math.sqrt(Math.pow(o-a,2)+Math.pow(i-s,2)));if(f<=0)return{radius:f};var h=(l-u)/f,p=Math.acos(h);return c>d&&(p=2*Math.PI-p),{radius:f,angle:v(p),angleInRadian:p}}({x:e.x,y:e.y},t),r=n.radius,o=n.angle,i=t.innerRadius,a=t.outerRadius;if(r<i||r>a)return!1;if(0===r)return!0;var s,l=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),o=Math.floor(n/360),i=Math.min(r,o);return{startAngle:t-360*i,endAngle:n-360*i}}(t),c=l.startAngle,u=l.endAngle,d=o;if(c<=u){for(;d>u;)d-=360;for(;d<c;)d+=360;s=d>=c&&d<=u}else{for(;d>c;)d-=360;for(;d<u;)d+=360;s=d>=u&&d<=c}return s?f(f({},t),{},{radius:r,angle:w(d,t)}):null},x=function(e){return(0,i.isValidElement)(e)||s()(e)||"boolean"==typeof e?"":e.className}},94501:(e,t,n)=>{"use strict";n.d(t,{AW:()=>F,BU:()=>k,J9:()=>z,Me:()=>M,Mn:()=>S,ON:()=>I,OV:()=>D,X_:()=>$,aS:()=>A,ee:()=>N,ux:()=>j});var r=n(58156),o=n.n(r),i=n(69843),a=n.n(i),s=n(85015),l=n.n(s),c=n(1882),u=n.n(c),d=n(23805),f=n.n(d),h=n(96540),p=n(44363),m=n(59744),v=n(23521),g=n(98940),y=["children"],b=["children"];function w(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}var x={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},S=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},_=null,O=null,C=function e(t){if(t===_&&Array.isArray(O))return O;var n=[];return h.Children.forEach(t,(function(t){a()(t)||((0,p.isFragment)(t)?n=n.concat(e(t.props.children)):n.push(t))})),O=n,_=t,n};function A(e,t){var n=[],r=[];return r=Array.isArray(t)?t.map((function(e){return S(e)})):[S(t)],C(e).forEach((function(e){var t=o()(e,"type.displayName")||o()(e,"type.name");-1!==r.indexOf(t)&&n.push(e)})),n}function k(e,t){var n=A(e,t);return n&&n[0]}var M=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!(0,m.Et)(n)||n<=0||!(0,m.Et)(r)||r<=0)},T=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],P=function(e){return e&&e.type&&l()(e.type)&&T.indexOf(e.type)>=0},I=function(e){return e&&"object"===E(e)&&"cx"in e&&"cy"in e&&"r"in e},j=function(e){var t=[];return C(e).forEach((function(e){P(e)&&t.push(e)})),t},z=function(e,t,n){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if((0,h.isValidElement)(e)&&(r=e.props),!f()(r))return null;var o={};return Object.keys(r).forEach((function(e){var i;(function(e,t,n,r){var o,i=null!==(o=null===g.VU||void 0===g.VU?void 0:g.VU[r])&&void 0!==o?o:[];return!u()(e)&&(r&&i.includes(t)||g.QQ.includes(t))||n&&g.j2.includes(t)})(null===(i=r)||void 0===i?void 0:i[e],e,t,n)&&(o[e]=r[e])})),o},D=function e(t,n){if(t===n)return!0;var r=h.Children.count(t);if(r!==h.Children.count(n))return!1;if(0===r)return!0;if(1===r)return R(Array.isArray(t)?t[0]:t,Array.isArray(n)?n[0]:n);for(var o=0;o<r;o++){var i=t[o],a=n[o];if(Array.isArray(i)||Array.isArray(a)){if(!e(i,a))return!1}else if(!R(i,a))return!1}return!0},R=function(e,t){if(a()(e)&&a()(t))return!0;if(!a()(e)&&!a()(t)){var n=e.props||{},r=n.children,o=w(n,y),i=t.props||{},s=i.children,l=w(i,b);return r&&s?(0,v.b)(o,l)&&D(r,s):!r&&!s&&(0,v.b)(o,l)}return!1},N=function(e,t){var n=[],r={};return C(e).forEach((function(e,o){if(P(e))n.push(e);else if(e){var i=S(e.type),a=t[i]||{},s=a.handler,l=a.once;if(s&&(!l||!r[i])){var c=s(e,i,o);n.push(c),r[i]=!0}}})),n},$=function(e){var t=e&&e.type;return t&&x[t]?x[t]:null},F=function(e,t){return C(t).indexOf(e)}},23521:(e,t,n)=>{"use strict";function r(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}n.d(t,{b:()=>r})},12532:(e,t,n)=>{"use strict";n.d(t,{g:()=>c});var r=n(97018),o=n(63036),i=n(94501);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){var r,o,i,s;r=e,o=t,i=n[t],s=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o),(o="symbol"==a(s)?s:String(s))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){var t,n=e.children,a=e.formattedGraphicalItems,s=e.legendWidth,c=e.legendContent,u=(0,i.BU)(n,r.s);return u?(t=u.props&&u.props.payload?u.props&&u.props.payload:"children"===c?(a||[]).reduce((function(e,t){var n=t.item,r=t.props,o=r.sectors||r.data||[];return e.concat(o.map((function(e){return{type:u.props.iconType||n.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(a||[]).map((function(e){var t=e.item,n=t.props,r=n.dataKey,i=n.name,a=n.legendType;return{inactive:n.hide,dataKey:r,type:u.props.iconType||a||"square",color:(0,o.Ps)(t),value:i||r,payload:t.props}})),l(l(l({},u.props),r.s.getWithHeight(u,s)),{},{payload:t,item:u})):null}},79799:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var r=n(50014),o=n.n(r),i=n(1882),a=n.n(i);function s(e,t,n){return!0===t?o()(e,n):a()(t)?o()(e,t):e}},98940:(e,t,n)=>{"use strict";n.d(t,{QQ:()=>s,VU:()=>c,XC:()=>f,_U:()=>d,j2:()=>u});var r=n(96540),o=n(23805),i=n.n(o);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],l=["points","pathLength"],c={svg:["viewBox","children"],polygon:l,polyline:l},u=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],d=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if((0,r.isValidElement)(e)&&(n=e.props),!i()(n))return null;var o={};return Object.keys(n).forEach((function(e){u.includes(e)&&(o[e]=t||function(t){return n[e](n,t)})})),o},f=function(e,t,n){if(!i()(e)||"object"!==a(e))return null;var r=null;return Object.keys(e).forEach((function(o){var i=e[o];u.includes(o)&&"function"==typeof i&&(r||(r={}),r[o]=function(e,t,n){return function(r){return e(t,n,r),null}}(i,t,n))})),r}},84977:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(49568))&&r.__esModule?r:{default:r},i=n(55674);t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.default.Map,n=Object.keys(e);return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t(),o=arguments[1];return r.withMutations((function(t){n.forEach((function(n){var r=(0,e[n])(t.get(n),o);(0,i.validateNextState)(r,n,o),t.set(n,r)}))}))}},e.exports=t.default},89593:(e,t,n)=>{"use strict";t.H=void 0;var r,o=(r=n(84977))&&r.__esModule?r:{default:r};t.H=o.default},48590:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&"@@redux/INIT"===e.type?"initialState argument passed to createStore":"previous state received by the reducer"},e.exports=t.default},82261:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(49568)),o=i(n(48590));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,n){var i=Object.keys(t);if(!i.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";var a=(0,o.default)(n);if(r.default.isImmutable?!r.default.isImmutable(e):!r.default.Iterable.isIterable(e))return"The "+a+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+i.join('", "')+'".';var s=e.toSeq().keySeq().toArray().filter((function(e){return!t.hasOwnProperty(e)}));return s.length>0?"Unexpected "+(1===s.length?"property":"properties")+' "'+s.join('", "')+'" found in '+a+'. Expected to find one of the known reducer property names instead: "'+i.join('", "')+'". Unexpected properties will be ignored.':null},e.exports=t.default},55674:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateNextState=t.getUnexpectedInvocationParameterMessage=t.getStateName=void 0;var r=a(n(48590)),o=a(n(82261)),i=a(n(27374));function a(e){return e&&e.__esModule?e:{default:e}}t.getStateName=r.default,t.getUnexpectedInvocationParameterMessage=o.default,t.validateNextState=i.default},27374:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(void 0===e)throw new Error('Reducer "'+t+'" returned undefined when handling "'+n.type+'" action. To ignore an action, you must explicitly return the previous state.')},e.exports=t.default},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,n))c<o&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,h=3,p=!1,m=!1,v=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function E(e){if(v=!1,w(e),!m)if(null!==r(c))m=!0,j(x);else{var t=r(u);null!==t&&z(E,t.startTime-e)}}function x(e,n){m=!1,v&&(v=!1,y(C),C=-1),p=!0;var i=h;try{for(w(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!M());){var a=f.callback;if("function"==typeof a){f.callback=null,h=f.priorityLevel;var s=a(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?f.callback=s:f===r(c)&&o(c),w(n)}else o(c);f=r(c)}if(null!==f)var l=!0;else{var d=r(u);null!==d&&z(E,d.startTime-n),l=!1}return l}finally{f=null,h=i,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,_=!1,O=null,C=-1,A=5,k=-1;function M(){return!(t.unstable_now()-k<A)}function T(){if(null!==O){var e=t.unstable_now();k=e;var n=!0;try{n=O(!0,e)}finally{n?S():(_=!1,O=null)}}else _=!1}if("function"==typeof b)S=function(){b(T)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,I=P.port2;P.port1.onmessage=T,S=function(){I.postMessage(null)}}else S=function(){g(T,0)};function j(e){O=e,_||(_=!0,S())}function z(e,n){C=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,j(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(v?(y(C),C=-1):v=!0,z(E,i-a))):(e.sortIndex=s,n(c,e),m||p||(m=!0,j(x))),e},t.unstable_shouldYield=M,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},69982:(e,t,n)=>{"use strict";e.exports=n(7463)},40343:function(e,t){var n,r,o;!function(i,a){"use strict";r=[],void 0===(o="function"==typeof(n=function(){function e(e){return e.charAt(0).toUpperCase()+e.substring(1)}function t(e){return function(){return this[e]}}var n=["isConstructor","isEval","isNative","isToplevel"],r=["columnNumber","lineNumber"],o=["fileName","functionName","source"],i=n.concat(r,o,["args"],["evalOrigin"]);function a(t){if(t)for(var n=0;n<i.length;n++)void 0!==t[i[n]]&&this["set"+e(i[n])](t[i[n]])}a.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof a)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new a(e)}},toString:function(){var e=this.getFileName()||"",t=this.getLineNumber()||"",n=this.getColumnNumber()||"",r=this.getFunctionName()||"";return this.getIsEval()?e?"[eval] ("+e+":"+t+":"+n+")":"[eval]:"+t+":"+n:r?r+" ("+e+":"+t+":"+n+")":e+":"+t+":"+n}},a.fromString=function(e){var t=e.indexOf("("),n=e.lastIndexOf(")"),r=e.substring(0,t),o=e.substring(t+1,n).split(","),i=e.substring(n+1);if(0===i.indexOf("@"))var s=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(i,""),l=s[1],c=s[2],u=s[3];return new a({functionName:r,args:o||void 0,fileName:l,lineNumber:c||void 0,columnNumber:u||void 0})};for(var s=0;s<n.length;s++)a.prototype["get"+e(n[s])]=t(n[s]),a.prototype["set"+e(n[s])]=function(e){return function(t){this[e]=Boolean(t)}}(n[s]);for(var l=0;l<r.length;l++)a.prototype["get"+e(r[l])]=t(r[l]),a.prototype["set"+e(r[l])]=function(e){return function(t){if(n=t,isNaN(parseFloat(n))||!isFinite(n))throw new TypeError(e+" must be a Number");var n;this[e]=Number(t)}}(r[l]);for(var c=0;c<o.length;c++)a.prototype["get"+e(o[c])]=t(o[c]),a.prototype["set"+e(o[c])]=function(e){return function(t){this[e]=String(t)}}(o[c]);return a})?n.apply(t,r):n)||(e.exports=o)}()},16426:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},27003:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(96540).useLayoutEffect},77154:(e,t,n)=>{"use strict";var r=n(96540),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useSyncExternalStore,a=r.useRef,s=r.useEffect,l=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l((function(){function e(e){if(!s){if(s=!0,i=e,e=r(e),void 0!==u&&f.hasValue){var t=f.value;if(u(t,e))return a=t}return a=e}if(t=a,o(i,e))return t;var n=r(e);return void 0!==u&&u(t,n)?t:(i=e,a=n)}var i,a,s=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,n,r,u]);var h=i(e,d[0],d[1]);return s((function(){f.hasValue=!0,f.value=h}),[h]),c(h),h}},78418:(e,t,n)=>{"use strict";e.exports=n(77154)},4633:(e,t,n)=>{var r=n(73738).default;function o(){"use strict";e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},c=l.iterator||"@@iterator",u=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,n){return e[t]=n}}function h(e,t,n,r){var o=t&&t.prototype instanceof w?t:w,i=Object.create(o.prototype),a=new j(r||[]);return s(i,"_invoke",{value:M(e,n,a)}),i}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=h;var m="suspendedStart",v="suspendedYield",g="executing",y="completed",b={};function w(){}function E(){}function x(){}var S={};f(S,c,(function(){return this}));var _=Object.getPrototypeOf,O=_&&_(_(z([])));O&&O!==i&&a.call(O,c)&&(S=O);var C=x.prototype=w.prototype=Object.create(S);function A(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(o,i,s,l){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==r(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var o;s(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function M(e,n,r){var o=m;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=T(s,r);if(l){if(l===b)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===m)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=p(e,n,r);if("normal"===c.type){if(o=r.done?y:v,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function T(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,T(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var i=p(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,b;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function z(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(a.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return E.prototype=x,s(C,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:E,configurable:!0}),E.displayName=f(x,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,f(e,d,"GeneratorFunction")),e.prototype=Object.create(C),e},n.awrap=function(e){return{__await:e}},A(k.prototype),f(k.prototype,u,(function(){return this})),n.AsyncIterator=k,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new k(h(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},A(C),f(C,d,"Generator"),f(C,c,(function(){return this})),f(C,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=z,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:z(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},73738:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},54756:(e,t,n)=>{var r=n(4633)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},22768:function(e){e.exports=function(){"use strict";for(var e=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e<t?t:e>n?n:e},t=e,n={},r=0,o=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];r<o.length;r+=1){var i=o[r];n["[object "+i+"]"]=i.toLowerCase()}var a=function(e){return n[Object.prototype.toString.call(e)]||"object"},s=a,l=a,c=Math.PI,u={clip_rgb:function(e){e._clipped=!1,e._unclipped=e.slice(0);for(var n=0;n<=3;n++)n<3?((e[n]<0||e[n]>255)&&(e._clipped=!0),e[n]=t(e[n],0,255)):3===n&&(e[n]=t(e[n],0,1));return e},limit:e,type:a,unpack:function(e,t){return void 0===t&&(t=null),e.length>=3?Array.prototype.slice.call(e):"object"==s(e[0])&&t?t.split("").filter((function(t){return void 0!==e[0][t]})).map((function(t){return e[0][t]})):e[0]},last:function(e){if(e.length<2)return null;var t=e.length-1;return"string"==l(e[t])?e[t].toLowerCase():null},PI:c,TWOPI:2*c,PITHIRD:c/3,DEG2RAD:c/180,RAD2DEG:180/c},d={format:{},autodetect:[]},f=u.last,h=u.clip_rgb,p=u.type,m=d,v=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this;if("object"===p(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var r=f(e),o=!1;if(!r){o=!0,m.sorted||(m.autodetect=m.autodetect.sort((function(e,t){return t.p-e.p})),m.sorted=!0);for(var i=0,a=m.autodetect;i<a.length;i+=1){var s=a[i];if(r=s.test.apply(s,e))break}}if(!m.format[r])throw new Error("unknown format: "+e);var l=m.format[r].apply(null,o?e:e.slice(0,-1));n._rgb=h(l),3===n._rgb.length&&n._rgb.push(1)};v.prototype.toString=function(){return"function"==p(this.hex)?this.hex():"["+this._rgb.join(",")+"]"};var g=v,y=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(y.Color,[null].concat(e)))};y.Color=g,y.version="2.4.2";var b=y,w=u.unpack,E=Math.max,x=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=w(e,"rgb"),r=n[0],o=n[1],i=n[2],a=1-E(r/=255,E(o/=255,i/=255)),s=a<1?1/(1-a):0;return[(1-r-a)*s,(1-o-a)*s,(1-i-a)*s,a]},S=u.unpack,_=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=S(e,"cmyk"))[0],r=e[1],o=e[2],i=e[3],a=e.length>4?e[4]:1;return 1===i?[0,0,0,a]:[n>=1?0:255*(1-n)*(1-i),r>=1?0:255*(1-r)*(1-i),o>=1?0:255*(1-o)*(1-i),a]},O=b,C=g,A=d,k=u.unpack,M=u.type,T=x;C.prototype.cmyk=function(){return T(this._rgb)},O.cmyk=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(C,[null].concat(e,["cmyk"])))},A.format.cmyk=_,A.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=k(e,"cmyk"),"array"===M(e)&&4===e.length)return"cmyk"}});var P=u.unpack,I=u.last,j=function(e){return Math.round(100*e)/100},z=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=P(e,"hsla"),r=I(e)||"lsa";return n[0]=j(n[0]||0),n[1]=j(100*n[1])+"%",n[2]=j(100*n[2])+"%","hsla"===r||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,r="hsla"):n.length=3,r+"("+n.join(",")+")"},D=u.unpack,R=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=D(e,"rgba"))[0],r=e[1],o=e[2];n/=255,r/=255,o/=255;var i,a,s=Math.min(n,r,o),l=Math.max(n,r,o),c=(l+s)/2;return l===s?(i=0,a=Number.NaN):i=c<.5?(l-s)/(l+s):(l-s)/(2-l-s),n==l?a=(r-o)/(l-s):r==l?a=2+(o-n)/(l-s):o==l&&(a=4+(n-r)/(l-s)),(a*=60)<0&&(a+=360),e.length>3&&void 0!==e[3]?[a,i,c,e[3]]:[a,i,c]},N=u.unpack,$=u.last,F=z,L=R,B=Math.round,H=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=N(e,"rgba"),r=$(e)||"rgb";return"hsl"==r.substr(0,3)?F(L(n),r):(n[0]=B(n[0]),n[1]=B(n[1]),n[2]=B(n[2]),("rgba"===r||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,r="rgba"),r+"("+n.slice(0,"rgb"===r?3:4).join(",")+")")},V=u.unpack,U=Math.round,W=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var r,o,i,a=(t=V(t,"hsl"))[0],s=t[1],l=t[2];if(0===s)r=o=i=255*l;else{var c=[0,0,0],u=[0,0,0],d=l<.5?l*(1+s):l+s-l*s,f=2*l-d,h=a/360;c[0]=h+1/3,c[1]=h,c[2]=h-1/3;for(var p=0;p<3;p++)c[p]<0&&(c[p]+=1),c[p]>1&&(c[p]-=1),6*c[p]<1?u[p]=f+6*(d-f)*c[p]:2*c[p]<1?u[p]=d:3*c[p]<2?u[p]=f+(d-f)*(2/3-c[p])*6:u[p]=f;r=(e=[U(255*u[0]),U(255*u[1]),U(255*u[2])])[0],o=e[1],i=e[2]}return t.length>3?[r,o,i,t[3]]:[r,o,i,1]},q=W,K=d,G=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,X=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,Y=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,Z=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,J=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,Q=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,ee=Math.round,te=function(e){var t;if(e=e.toLowerCase().trim(),K.format.named)try{return K.format.named(e)}catch(e){}if(t=e.match(G)){for(var n=t.slice(1,4),r=0;r<3;r++)n[r]=+n[r];return n[3]=1,n}if(t=e.match(X)){for(var o=t.slice(1,5),i=0;i<4;i++)o[i]=+o[i];return o}if(t=e.match(Y)){for(var a=t.slice(1,4),s=0;s<3;s++)a[s]=ee(2.55*a[s]);return a[3]=1,a}if(t=e.match(Z)){for(var l=t.slice(1,5),c=0;c<3;c++)l[c]=ee(2.55*l[c]);return l[3]=+l[3],l}if(t=e.match(J)){var u=t.slice(1,4);u[1]*=.01,u[2]*=.01;var d=q(u);return d[3]=1,d}if(t=e.match(Q)){var f=t.slice(1,4);f[1]*=.01,f[2]*=.01;var h=q(f);return h[3]=+t[4],h}};te.test=function(e){return G.test(e)||X.test(e)||Y.test(e)||Z.test(e)||J.test(e)||Q.test(e)};var ne=b,re=g,oe=d,ie=u.type,ae=H,se=te;re.prototype.css=function(e){return ae(this._rgb,e)},ne.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(re,[null].concat(e,["css"])))},oe.format.css=se,oe.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===ie(e)&&se.test(e))return"css"}});var le=g,ce=b,ue=u.unpack;d.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=ue(e,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},ce.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(le,[null].concat(e,["gl"])))},le.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var de=u.unpack,fe=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=de(e,"rgb"),o=r[0],i=r[1],a=r[2],s=Math.min(o,i,a),l=Math.max(o,i,a),c=l-s,u=100*c/255,d=s/(255-c)*100;return 0===c?n=Number.NaN:(o===l&&(n=(i-a)/c),i===l&&(n=2+(a-o)/c),a===l&&(n=4+(o-i)/c),(n*=60)<0&&(n+=360)),[n,u,d]},he=u.unpack,pe=Math.floor,me=function(){for(var e,t,n,r,o,i,a=[],s=arguments.length;s--;)a[s]=arguments[s];var l,c,u,d=(a=he(a,"hcg"))[0],f=a[1],h=a[2];h*=255;var p=255*f;if(0===f)l=c=u=h;else{360===d&&(d=0),d>360&&(d-=360),d<0&&(d+=360);var m=pe(d/=60),v=d-m,g=h*(1-f),y=g+p*(1-v),b=g+p*v,w=g+p;switch(m){case 0:l=(e=[w,b,g])[0],c=e[1],u=e[2];break;case 1:l=(t=[y,w,g])[0],c=t[1],u=t[2];break;case 2:l=(n=[g,w,b])[0],c=n[1],u=n[2];break;case 3:l=(r=[g,y,w])[0],c=r[1],u=r[2];break;case 4:l=(o=[b,g,w])[0],c=o[1],u=o[2];break;case 5:l=(i=[w,g,y])[0],c=i[1],u=i[2]}}return[l,c,u,a.length>3?a[3]:1]},ve=u.unpack,ge=u.type,ye=b,be=g,we=d,Ee=fe;be.prototype.hcg=function(){return Ee(this._rgb)},ye.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(be,[null].concat(e,["hcg"])))},we.format.hcg=me,we.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=ve(e,"hcg"),"array"===ge(e)&&3===e.length)return"hcg"}});var xe=u.unpack,Se=u.last,_e=Math.round,Oe=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=xe(e,"rgba"),r=n[0],o=n[1],i=n[2],a=n[3],s=Se(e)||"auto";void 0===a&&(a=1),"auto"===s&&(s=a<1?"rgba":"rgb");var l="000000"+((r=_e(r))<<16|(o=_e(o))<<8|(i=_e(i))).toString(16);l=l.substr(l.length-6);var c="0"+_e(255*a).toString(16);switch(c=c.substr(c.length-2),s.toLowerCase()){case"rgba":return"#"+l+c;case"argb":return"#"+c+l;default:return"#"+l}},Ce=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Ae=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,ke=function(e){if(e.match(Ce)){4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(Ae)){5!==e.length&&9!==e.length||(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var n=parseInt(e,16);return[n>>24&255,n>>16&255,n>>8&255,Math.round((255&n)/255*100)/100]}throw new Error("unknown hex color: "+e)},Me=b,Te=g,Pe=u.type,Ie=d,je=Oe;Te.prototype.hex=function(e){return je(this._rgb,e)},Me.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Te,[null].concat(e,["hex"])))},Ie.format.hex=ke,Ie.autodetect.push({p:4,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===Pe(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var ze=u.unpack,De=u.TWOPI,Re=Math.min,Ne=Math.sqrt,$e=Math.acos,Fe=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=ze(e,"rgb"),o=r[0],i=r[1],a=r[2],s=Re(o/=255,i/=255,a/=255),l=(o+i+a)/3,c=l>0?1-s/l:0;return 0===c?n=NaN:(n=(o-i+(o-a))/2,n/=Ne((o-i)*(o-i)+(o-a)*(i-a)),n=$e(n),a>i&&(n=De-n),n/=De),[360*n,c,l]},Le=u.unpack,Be=u.limit,He=u.TWOPI,Ve=u.PITHIRD,Ue=Math.cos,We=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,o,i=(e=Le(e,"hsi"))[0],a=e[1],s=e[2];return isNaN(i)&&(i=0),isNaN(a)&&(a=0),i>360&&(i-=360),i<0&&(i+=360),(i/=360)<1/3?r=1-((o=(1-a)/3)+(n=(1+a*Ue(He*i)/Ue(Ve-He*i))/3)):i<2/3?o=1-((n=(1-a)/3)+(r=(1+a*Ue(He*(i-=1/3))/Ue(Ve-He*i))/3)):n=1-((r=(1-a)/3)+(o=(1+a*Ue(He*(i-=2/3))/Ue(Ve-He*i))/3)),[255*(n=Be(s*n*3)),255*(r=Be(s*r*3)),255*(o=Be(s*o*3)),e.length>3?e[3]:1]},qe=u.unpack,Ke=u.type,Ge=b,Xe=g,Ye=d,Ze=Fe;Xe.prototype.hsi=function(){return Ze(this._rgb)},Ge.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(Xe,[null].concat(e,["hsi"])))},Ye.format.hsi=We,Ye.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=qe(e,"hsi"),"array"===Ke(e)&&3===e.length)return"hsi"}});var Je=u.unpack,Qe=u.type,et=b,tt=g,nt=d,rt=R;tt.prototype.hsl=function(){return rt(this._rgb)},et.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(tt,[null].concat(e,["hsl"])))},nt.format.hsl=W,nt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Je(e,"hsl"),"array"===Qe(e)&&3===e.length)return"hsl"}});var ot=u.unpack,it=Math.min,at=Math.max,st=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,o,i=(e=ot(e,"rgb"))[0],a=e[1],s=e[2],l=it(i,a,s),c=at(i,a,s),u=c-l;return o=c/255,0===c?(n=Number.NaN,r=0):(r=u/c,i===c&&(n=(a-s)/u),a===c&&(n=2+(s-i)/u),s===c&&(n=4+(i-a)/u),(n*=60)<0&&(n+=360)),[n,r,o]},lt=u.unpack,ct=Math.floor,ut=function(){for(var e,t,n,r,o,i,a=[],s=arguments.length;s--;)a[s]=arguments[s];var l,c,u,d=(a=lt(a,"hsv"))[0],f=a[1],h=a[2];if(h*=255,0===f)l=c=u=h;else{360===d&&(d=0),d>360&&(d-=360),d<0&&(d+=360);var p=ct(d/=60),m=d-p,v=h*(1-f),g=h*(1-f*m),y=h*(1-f*(1-m));switch(p){case 0:l=(e=[h,y,v])[0],c=e[1],u=e[2];break;case 1:l=(t=[g,h,v])[0],c=t[1],u=t[2];break;case 2:l=(n=[v,h,y])[0],c=n[1],u=n[2];break;case 3:l=(r=[v,g,h])[0],c=r[1],u=r[2];break;case 4:l=(o=[y,v,h])[0],c=o[1],u=o[2];break;case 5:l=(i=[h,v,g])[0],c=i[1],u=i[2]}}return[l,c,u,a.length>3?a[3]:1]},dt=u.unpack,ft=u.type,ht=b,pt=g,mt=d,vt=st;pt.prototype.hsv=function(){return vt(this._rgb)},ht.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(pt,[null].concat(e,["hsv"])))},mt.format.hsv=ut,mt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=dt(e,"hsv"),"array"===ft(e)&&3===e.length)return"hsv"}});var gt={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},yt=gt,bt=u.unpack,wt=Math.pow,Et=function(e){return(e/=255)<=.04045?e/12.92:wt((e+.055)/1.055,2.4)},xt=function(e){return e>yt.t3?wt(e,1/3):e/yt.t2+yt.t0},St=function(e,t,n){return e=Et(e),t=Et(t),n=Et(n),[xt((.4124564*e+.3575761*t+.1804375*n)/yt.Xn),xt((.2126729*e+.7151522*t+.072175*n)/yt.Yn),xt((.0193339*e+.119192*t+.9503041*n)/yt.Zn)]},_t=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=bt(e,"rgb"),r=n[0],o=n[1],i=n[2],a=St(r,o,i),s=a[0],l=a[1],c=116*l-16;return[c<0?0:c,500*(s-l),200*(l-a[2])]},Ot=gt,Ct=u.unpack,At=Math.pow,kt=function(e){return 255*(e<=.00304?12.92*e:1.055*At(e,1/2.4)-.055)},Mt=function(e){return e>Ot.t1?e*e*e:Ot.t2*(e-Ot.t0)},Tt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,o,i=(e=Ct(e,"lab"))[0],a=e[1],s=e[2];return r=(i+16)/116,n=isNaN(a)?r:r+a/500,o=isNaN(s)?r:r-s/200,r=Ot.Yn*Mt(r),n=Ot.Xn*Mt(n),o=Ot.Zn*Mt(o),[kt(3.2404542*n-1.5371385*r-.4985314*o),kt(-.969266*n+1.8760108*r+.041556*o),kt(.0556434*n-.2040259*r+1.0572252*o),e.length>3?e[3]:1]},Pt=u.unpack,It=u.type,jt=b,zt=g,Dt=d,Rt=_t;zt.prototype.lab=function(){return Rt(this._rgb)},jt.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(zt,[null].concat(e,["lab"])))},Dt.format.lab=Tt,Dt.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Pt(e,"lab"),"array"===It(e)&&3===e.length)return"lab"}});var Nt=u.unpack,$t=u.RAD2DEG,Ft=Math.sqrt,Lt=Math.atan2,Bt=Math.round,Ht=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Nt(e,"lab"),r=n[0],o=n[1],i=n[2],a=Ft(o*o+i*i),s=(Lt(i,o)*$t+360)%360;return 0===Bt(1e4*a)&&(s=Number.NaN),[r,a,s]},Vt=u.unpack,Ut=_t,Wt=Ht,qt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Vt(e,"rgb"),r=n[0],o=n[1],i=n[2],a=Ut(r,o,i),s=a[0],l=a[1],c=a[2];return Wt(s,l,c)},Kt=u.unpack,Gt=u.DEG2RAD,Xt=Math.sin,Yt=Math.cos,Zt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Kt(e,"lch"),r=n[0],o=n[1],i=n[2];return isNaN(i)&&(i=0),[r,Yt(i*=Gt)*o,Xt(i)*o]},Jt=u.unpack,Qt=Zt,en=Tt,tn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=Jt(e,"lch"))[0],r=e[1],o=e[2],i=Qt(n,r,o),a=i[0],s=i[1],l=i[2],c=en(a,s,l);return[c[0],c[1],c[2],e.length>3?e[3]:1]},nn=u.unpack,rn=tn,on=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=nn(e,"hcl").reverse();return rn.apply(void 0,n)},an=u.unpack,sn=u.type,ln=b,cn=g,un=d,dn=qt;cn.prototype.lch=function(){return dn(this._rgb)},cn.prototype.hcl=function(){return dn(this._rgb).reverse()},ln.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(cn,[null].concat(e,["lch"])))},ln.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(cn,[null].concat(e,["hcl"])))},un.format.lch=tn,un.format.hcl=on,["lch","hcl"].forEach((function(e){return un.autodetect.push({p:2,test:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(t=an(t,e),"array"===sn(t)&&3===t.length)return e}})}));var fn={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},hn=d,pn=u.type,mn=fn,vn=ke,gn=Oe;g.prototype.name=function(){for(var e=gn(this._rgb,"rgb"),t=0,n=Object.keys(mn);t<n.length;t+=1){var r=n[t];if(mn[r]===e)return r.toLowerCase()}return e},hn.format.named=function(e){if(e=e.toLowerCase(),mn[e])return vn(mn[e]);throw new Error("unknown color name: "+e)},hn.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===pn(e)&&mn[e.toLowerCase()])return"named"}});var yn=u.unpack,bn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=yn(e,"rgb");return(n[0]<<16)+(n[1]<<8)+n[2]},wn=u.type,En=b,xn=g,Sn=d,_n=u.type,On=bn;xn.prototype.num=function(){return On(this._rgb)},En.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(xn,[null].concat(e,["num"])))},Sn.format.num=function(e){if("number"==wn(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw new Error("unknown num color: "+e)},Sn.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===_n(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var Cn=b,An=g,kn=d,Mn=u.unpack,Tn=u.type,Pn=Math.round;An.prototype.rgb=function(e){return void 0===e&&(e=!0),!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(Pn)},An.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map((function(t,n){return n<3?!1===e?t:Pn(t):t}))},Cn.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(An,[null].concat(e,["rgb"])))},kn.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Mn(e,"rgba");return void 0===n[3]&&(n[3]=1),n},kn.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Mn(e,"rgba"),"array"===Tn(e)&&(3===e.length||4===e.length&&"number"==Tn(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var In=Math.log,jn=function(e){var t,n,r,o=e/100;return o<66?(t=255,n=o<6?0:-155.25485562709179-.44596950469579133*(n=o-2)+104.49216199393888*In(n),r=o<20?0:.8274096064007395*(r=o-10)-254.76935184120902+115.67994401066147*In(r)):(t=351.97690566805693+.114206453784165*(t=o-55)-40.25366309332127*In(t),n=325.4494125711974+.07943456536662342*(n=o-50)-28.0852963507957*In(n),r=255),[t,n,r,1]},zn=jn,Dn=u.unpack,Rn=Math.round,Nn=b,$n=g,Fn=d,Ln=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n,r=Dn(e,"rgb"),o=r[0],i=r[2],a=1e3,s=4e4;s-a>.4;){var l=zn(n=.5*(s+a));l[2]/l[0]>=i/o?s=n:a=n}return Rn(n)};$n.prototype.temp=$n.prototype.kelvin=$n.prototype.temperature=function(){return Ln(this._rgb)},Nn.temp=Nn.kelvin=Nn.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply($n,[null].concat(e,["temp"])))},Fn.format.temp=Fn.format.kelvin=Fn.format.temperature=jn;var Bn=u.unpack,Hn=Math.cbrt,Vn=Math.pow,Un=Math.sign,Wn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Bn(e,"rgb"),r=n[0],o=n[1],i=n[2],a=[qn(r/255),qn(o/255),qn(i/255)],s=a[0],l=a[1],c=a[2],u=Hn(.4122214708*s+.5363325363*l+.0514459929*c),d=Hn(.2119034982*s+.6806995451*l+.1073969566*c),f=Hn(.0883024619*s+.2817188376*l+.6299787005*c);return[.2104542553*u+.793617785*d-.0040720468*f,1.9779984951*u-2.428592205*d+.4505937099*f,.0259040371*u+.7827717662*d-.808675766*f]};function qn(e){var t=Math.abs(e);return t<.04045?e/12.92:(Un(e)||1)*Vn((t+.055)/1.055,2.4)}var Kn=u.unpack,Gn=Math.pow,Xn=Math.sign,Yn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=Kn(e,"lab"))[0],r=e[1],o=e[2],i=Gn(n+.3963377774*r+.2158037573*o,3),a=Gn(n-.1055613458*r-.0638541728*o,3),s=Gn(n-.0894841775*r-1.291485548*o,3);return[255*Zn(4.0767416621*i-3.3077115913*a+.2309699292*s),255*Zn(-1.2684380046*i+2.6097574011*a-.3413193965*s),255*Zn(-.0041960863*i-.7034186147*a+1.707614701*s),e.length>3?e[3]:1]};function Zn(e){var t=Math.abs(e);return t>.0031308?(Xn(e)||1)*(1.055*Gn(t,1/2.4)-.055):12.92*e}var Jn=u.unpack,Qn=u.type,er=b,tr=g,nr=d,rr=Wn;tr.prototype.oklab=function(){return rr(this._rgb)},er.oklab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(tr,[null].concat(e,["oklab"])))},nr.format.oklab=Yn,nr.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Jn(e,"oklab"),"array"===Qn(e)&&3===e.length)return"oklab"}});var or=u.unpack,ir=Wn,ar=Ht,sr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=or(e,"rgb"),r=n[0],o=n[1],i=n[2],a=ir(r,o,i),s=a[0],l=a[1],c=a[2];return ar(s,l,c)},lr=u.unpack,cr=Zt,ur=Yn,dr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=lr(e,"lch"))[0],r=e[1],o=e[2],i=cr(n,r,o),a=i[0],s=i[1],l=i[2],c=ur(a,s,l);return[c[0],c[1],c[2],e.length>3?e[3]:1]},fr=u.unpack,hr=u.type,pr=b,mr=g,vr=d,gr=sr;mr.prototype.oklch=function(){return gr(this._rgb)},pr.oklch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(mr,[null].concat(e,["oklch"])))},vr.format.oklch=dr,vr.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=fr(e,"oklch"),"array"===hr(e)&&3===e.length)return"oklch"}});var yr=g,br=u.type;yr.prototype.alpha=function(e,t){return void 0===t&&(t=!1),void 0!==e&&"number"===br(e)?t?(this._rgb[3]=e,this):new yr([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},g.prototype.clipped=function(){return this._rgb._clipped||!1};var wr=g,Er=gt;wr.prototype.darken=function(e){void 0===e&&(e=1);var t=this.lab();return t[0]-=Er.Kn*e,new wr(t,"lab").alpha(this.alpha(),!0)},wr.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},wr.prototype.darker=wr.prototype.darken,wr.prototype.brighter=wr.prototype.brighten,g.prototype.get=function(e){var t=e.split("."),n=t[0],r=t[1],o=this[n]();if(r){var i=n.indexOf(r)-("ok"===n.substr(0,2)?2:0);if(i>-1)return o[i];throw new Error("unknown channel "+r+" in mode "+n)}return o};var xr=g,Sr=u.type,_r=Math.pow;xr.prototype.luminance=function(e){if(void 0!==e&&"number"===Sr(e)){if(0===e)return new xr([0,0,0,this._rgb[3]],"rgb");if(1===e)return new xr([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),n=20,r=function(t,o){var i=t.interpolate(o,.5,"rgb"),a=i.luminance();return Math.abs(e-a)<1e-7||!n--?i:a>e?r(t,i):r(i,o)},o=(t>e?r(new xr([0,0,0]),this):r(this,new xr([255,255,255]))).rgb();return new xr(o.concat([this._rgb[3]]))}return Or.apply(void 0,this._rgb.slice(0,3))};var Or=function(e,t,n){return.2126*(e=Cr(e))+.7152*(t=Cr(t))+.0722*Cr(n)},Cr=function(e){return(e/=255)<=.03928?e/12.92:_r((e+.055)/1.055,2.4)},Ar={},kr=g,Mr=u.type,Tr=Ar,Pr=function(e,t,n){void 0===n&&(n=.5);for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var i=r[0]||"lrgb";if(Tr[i]||r.length||(i=Object.keys(Tr)[0]),!Tr[i])throw new Error("interpolation mode "+i+" is not defined");return"object"!==Mr(e)&&(e=new kr(e)),"object"!==Mr(t)&&(t=new kr(t)),Tr[i](e,t,n).alpha(e.alpha()+n*(t.alpha()-e.alpha()))},Ir=g,jr=Pr;Ir.prototype.mix=Ir.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return jr.apply(void 0,[this,e,t].concat(n))};var zr=g;zr.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,n=t[3];return e?(this._rgb=[t[0]*n,t[1]*n,t[2]*n,n],this):new zr([t[0]*n,t[1]*n,t[2]*n,n],"rgb")};var Dr=g,Rr=gt;Dr.prototype.saturate=function(e){void 0===e&&(e=1);var t=this.lch();return t[1]+=Rr.Kn*e,t[1]<0&&(t[1]=0),new Dr(t,"lch").alpha(this.alpha(),!0)},Dr.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var Nr=g,$r=u.type;Nr.prototype.set=function(e,t,n){void 0===n&&(n=!1);var r=e.split("."),o=r[0],i=r[1],a=this[o]();if(i){var s=o.indexOf(i)-("ok"===o.substr(0,2)?2:0);if(s>-1){if("string"==$r(t))switch(t.charAt(0)){case"+":case"-":a[s]+=+t;break;case"*":a[s]*=+t.substr(1);break;case"/":a[s]/=+t.substr(1);break;default:a[s]=+t}else{if("number"!==$r(t))throw new Error("unsupported value for Color.set");a[s]=t}var l=new Nr(a,o);return n?(this._rgb=l._rgb,this):l}throw new Error("unknown channel "+i+" in mode "+o)}return a};var Fr=g;Ar.rgb=function(e,t,n){var r=e._rgb,o=t._rgb;return new Fr(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"rgb")};var Lr=g,Br=Math.sqrt,Hr=Math.pow;Ar.lrgb=function(e,t,n){var r=e._rgb,o=r[0],i=r[1],a=r[2],s=t._rgb,l=s[0],c=s[1],u=s[2];return new Lr(Br(Hr(o,2)*(1-n)+Hr(l,2)*n),Br(Hr(i,2)*(1-n)+Hr(c,2)*n),Br(Hr(a,2)*(1-n)+Hr(u,2)*n),"rgb")};var Vr=g;Ar.lab=function(e,t,n){var r=e.lab(),o=t.lab();return new Vr(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"lab")};var Ur=g,Wr=function(e,t,n,r){var o,i,a,s,l,c,u,d,f,h,p,m,v;return"hsl"===r?(a=e.hsl(),s=t.hsl()):"hsv"===r?(a=e.hsv(),s=t.hsv()):"hcg"===r?(a=e.hcg(),s=t.hcg()):"hsi"===r?(a=e.hsi(),s=t.hsi()):"lch"===r||"hcl"===r?(r="hcl",a=e.hcl(),s=t.hcl()):"oklch"===r&&(a=e.oklch().reverse(),s=t.oklch().reverse()),"h"!==r.substr(0,1)&&"oklch"!==r||(l=(o=a)[0],u=o[1],f=o[2],c=(i=s)[0],d=i[1],h=i[2]),isNaN(l)||isNaN(c)?isNaN(l)?isNaN(c)?m=Number.NaN:(m=c,1!=f&&0!=f||"hsv"==r||(p=d)):(m=l,1!=h&&0!=h||"hsv"==r||(p=u)):m=l+n*(c>l&&c-l>180?c-(l+360):c<l&&l-c>180?c+360-l:c-l),void 0===p&&(p=u+n*(d-u)),v=f+n*(h-f),new Ur("oklch"===r?[v,p,m]:[m,p,v],r)},qr=Wr,Kr=function(e,t,n){return qr(e,t,n,"lch")};Ar.lch=Kr,Ar.hcl=Kr;var Gr=g;Ar.num=function(e,t,n){var r=e.num(),o=t.num();return new Gr(r+n*(o-r),"num")};var Xr=Wr;Ar.hcg=function(e,t,n){return Xr(e,t,n,"hcg")};var Yr=Wr;Ar.hsi=function(e,t,n){return Yr(e,t,n,"hsi")};var Zr=Wr;Ar.hsl=function(e,t,n){return Zr(e,t,n,"hsl")};var Jr=Wr;Ar.hsv=function(e,t,n){return Jr(e,t,n,"hsv")};var Qr=g;Ar.oklab=function(e,t,n){var r=e.oklab(),o=t.oklab();return new Qr(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"oklab")};var eo=Wr;Ar.oklch=function(e,t,n){return eo(e,t,n,"oklch")};var to=g,no=u.clip_rgb,ro=Math.pow,oo=Math.sqrt,io=Math.PI,ao=Math.cos,so=Math.sin,lo=Math.atan2,co=function(e,t){for(var n=e.length,r=[0,0,0,0],o=0;o<e.length;o++){var i=e[o],a=t[o]/n,s=i._rgb;r[0]+=ro(s[0],2)*a,r[1]+=ro(s[1],2)*a,r[2]+=ro(s[2],2)*a,r[3]+=s[3]*a}return r[0]=oo(r[0]),r[1]=oo(r[1]),r[2]=oo(r[2]),r[3]>.9999999&&(r[3]=1),new to(no(r))},uo=b,fo=u.type,ho=Math.pow,po=function(e){var t="rgb",n=uo("#ccc"),r=0,o=[0,1],i=[],a=[0,0],s=!1,l=[],c=!1,u=0,d=1,f=!1,h={},p=!0,m=1,v=function(e){if((e=e||["#fff","#000"])&&"string"===fo(e)&&uo.brewer&&uo.brewer[e.toLowerCase()]&&(e=uo.brewer[e.toLowerCase()]),"array"===fo(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t<e.length;t++)e[t]=uo(e[t]);i.length=0;for(var n=0;n<e.length;n++)i.push(n/(e.length-1))}return w(),l=e},g=function(e){return e},y=function(e){return e},b=function(e,r){var o,c;if(null==r&&(r=!1),isNaN(e)||null===e)return n;c=r?e:s&&s.length>2?function(e){if(null!=s){for(var t=s.length-1,n=0;n<t&&e>=s[n];)n++;return n-1}return 0}(e)/(s.length-2):d!==u?(e-u)/(d-u):1,c=y(c),r||(c=g(c)),1!==m&&(c=ho(c,m)),c=a[0]+c*(1-a[0]-a[1]),c=Math.min(1,Math.max(0,c));var f=Math.floor(1e4*c);if(p&&h[f])o=h[f];else{if("array"===fo(l))for(var v=0;v<i.length;v++){var b=i[v];if(c<=b){o=l[v];break}if(c>=b&&v===i.length-1){o=l[v];break}if(c>b&&c<i[v+1]){c=(c-b)/(i[v+1]-b),o=uo.interpolate(l[v],l[v+1],c,t);break}}else"function"===fo(l)&&(o=l(c));p&&(h[f]=o)}return o},w=function(){return h={}};v(e);var E=function(e){var t=uo(b(e));return c&&t[c]?t[c]():t};return E.classes=function(e){if(null!=e){if("array"===fo(e))s=e,o=[e[0],e[e.length-1]];else{var t=uo.analyze(o);s=0===e?[t.min,t.max]:uo.limits(t,"e",e)}return E}return s},E.domain=function(e){if(!arguments.length)return o;u=e[0],d=e[e.length-1],i=[];var t=l.length;if(e.length===t&&u!==d)for(var n=0,r=Array.from(e);n<r.length;n+=1){var a=r[n];i.push((a-u)/(d-u))}else{for(var s=0;s<t;s++)i.push(s/(t-1));if(e.length>2){var c=e.map((function(t,n){return n/(e.length-1)})),f=e.map((function(e){return(e-u)/(d-u)}));f.every((function(e,t){return c[t]===e}))||(y=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=f[t+1];)t++;var n=(e-f[t])/(f[t+1]-f[t]);return c[t]+n*(c[t+1]-c[t])})}}return o=[u,d],E},E.mode=function(e){return arguments.length?(t=e,w(),E):t},E.range=function(e,t){return v(e),E},E.out=function(e){return c=e,E},E.spread=function(e){return arguments.length?(r=e,E):r},E.correctLightness=function(e){return null==e&&(e=!0),f=e,w(),g=f?function(e){for(var t=b(0,!0).lab()[0],n=b(1,!0).lab()[0],r=t>n,o=b(e,!0).lab()[0],i=t+(n-t)*e,a=o-i,s=0,l=1,c=20;Math.abs(a)>.01&&c-- >0;)r&&(a*=-1),a<0?(s=e,e+=.5*(l-e)):(l=e,e+=.5*(s-e)),a=(o=b(e,!0).lab()[0])-i;return e}:function(e){return e},E},E.padding=function(e){return null!=e?("number"===fo(e)&&(e=[e,e]),a=e,E):a},E.colors=function(t,n){arguments.length<2&&(n="hex");var r=[];if(0===arguments.length)r=l.slice(0);else if(1===t)r=[E(.5)];else if(t>1){var i=o[0],a=o[1]-i;r=function(e,t,n){for(var r=[],o=e<t,i=n?o?t+1:t-1:t,a=e;o?a<i:a>i;o?a++:a--)r.push(a);return r}(0,t,!1).map((function(e){return E(i+e/(t-1)*a)}))}else{e=[];var c=[];if(s&&s.length>2)for(var u=1,d=s.length,f=1<=d;f?u<d:u>d;f?u++:u--)c.push(.5*(s[u-1]+s[u]));else c=o;r=c.map((function(e){return E(e)}))}return uo[n]&&(r=r.map((function(e){return e[n]()}))),r},E.cache=function(e){return null!=e?(p=e,E):p},E.gamma=function(e){return null!=e?(m=e,E):m},E.nodata=function(e){return null!=e?(n=uo(e),E):n},E};var mo=g,vo=po,go=b,yo=function(e,t,n){if(!yo[n])throw new Error("unknown blend mode "+n);return yo[n](e,t)},bo=function(e){return function(t,n){var r=go(n).rgb(),o=go(t).rgb();return go.rgb(e(r,o))}},wo=function(e){return function(t,n){var r=[];return r[0]=e(t[0],n[0]),r[1]=e(t[1],n[1]),r[2]=e(t[2],n[2]),r}};yo.normal=bo(wo((function(e){return e}))),yo.multiply=bo(wo((function(e,t){return e*t/255}))),yo.screen=bo(wo((function(e,t){return 255*(1-(1-e/255)*(1-t/255))}))),yo.overlay=bo(wo((function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))}))),yo.darken=bo(wo((function(e,t){return e>t?t:e}))),yo.lighten=bo(wo((function(e,t){return e>t?e:t}))),yo.dodge=bo(wo((function(e,t){return 255===e||(e=t/255*255/(1-e/255))>255?255:e}))),yo.burn=bo(wo((function(e,t){return 255*(1-(1-t/255)/(e/255))})));for(var Eo=yo,xo=u.type,So=u.clip_rgb,_o=u.TWOPI,Oo=Math.pow,Co=Math.sin,Ao=Math.cos,ko=b,Mo=g,To=Math.floor,Po=Math.random,Io=a,jo=Math.log,zo=Math.pow,Do=Math.floor,Ro=Math.abs,No=function(e,t){void 0===t&&(t=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===Io(e)&&(e=Object.values(e)),e.forEach((function(e){t&&"object"===Io(e)&&(e=e[t]),null==e||isNaN(e)||(n.values.push(e),n.sum+=e,e<n.min&&(n.min=e),e>n.max&&(n.max=e),n.count+=1)})),n.domain=[n.min,n.max],n.limits=function(e,t){return $o(n,e,t)},n},$o=function(e,t,n){void 0===t&&(t="equal"),void 0===n&&(n=7),"array"==Io(e)&&(e=No(e));var r=e.min,o=e.max,i=e.values.sort((function(e,t){return e-t}));if(1===n)return[r,o];var a=[];if("c"===t.substr(0,1)&&(a.push(r),a.push(o)),"e"===t.substr(0,1)){a.push(r);for(var s=1;s<n;s++)a.push(r+s/n*(o-r));a.push(o)}else if("l"===t.substr(0,1)){if(r<=0)throw new Error("Logarithmic scales are only possible for values > 0");var l=Math.LOG10E*jo(r),c=Math.LOG10E*jo(o);a.push(r);for(var u=1;u<n;u++)a.push(zo(10,l+u/n*(c-l)));a.push(o)}else if("q"===t.substr(0,1)){a.push(r);for(var d=1;d<n;d++){var f=(i.length-1)*d/n,h=Do(f);if(h===f)a.push(i[h]);else{var p=f-h;a.push(i[h]*(1-p)+i[h+1]*p)}}a.push(o)}else if("k"===t.substr(0,1)){var m,v=i.length,g=new Array(v),y=new Array(n),b=!0,w=0,E=null;(E=[]).push(r);for(var x=1;x<n;x++)E.push(r+x/n*(o-r));for(E.push(o);b;){for(var S=0;S<n;S++)y[S]=0;for(var _=0;_<v;_++)for(var O=i[_],C=Number.MAX_VALUE,A=void 0,k=0;k<n;k++){var M=Ro(E[k]-O);M<C&&(C=M,A=k),y[A]++,g[_]=A}for(var T=new Array(n),P=0;P<n;P++)T[P]=null;for(var I=0;I<v;I++)null===T[m=g[I]]?T[m]=i[I]:T[m]+=i[I];for(var j=0;j<n;j++)T[j]*=1/y[j];b=!1;for(var z=0;z<n;z++)if(T[z]!==E[z]){b=!0;break}E=T,++w>200&&(b=!1)}for(var D={},R=0;R<n;R++)D[R]=[];for(var N=0;N<v;N++)D[m=g[N]].push(i[N]);for(var $=[],F=0;F<n;F++)$.push(D[F][0]),$.push(D[F][D[F].length-1]);$=$.sort((function(e,t){return e-t})),a.push($[0]);for(var L=1;L<$.length;L+=2){var B=$[L];isNaN(B)||-1!==a.indexOf(B)||a.push(B)}}return a},Fo={analyze:No,limits:$o},Lo=g,Bo=g,Ho=Math.sqrt,Vo=Math.pow,Uo=Math.min,Wo=Math.max,qo=Math.atan2,Ko=Math.abs,Go=Math.cos,Xo=Math.sin,Yo=Math.exp,Zo=Math.PI,Jo=g,Qo=g,ei=b,ti=po,ni={cool:function(){return ti([ei.hsl(180,1,.9),ei.hsl(250,.7,.4)])},hot:function(){return ti(["#000","#f00","#ff0","#fff"]).mode("rgb")}},ri={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},oi=0,ii=Object.keys(ri);oi<ii.length;oi+=1){var ai=ii[oi];ri[ai.toLowerCase()]=ri[ai]}var si=ri,li=b;return li.average=function(e,t,n){void 0===t&&(t="lrgb"),void 0===n&&(n=null);var r=e.length;n||(n=Array.from(new Array(r)).map((function(){return 1})));var o=r/n.reduce((function(e,t){return e+t}));if(n.forEach((function(e,t){n[t]*=o})),e=e.map((function(e){return new to(e)})),"lrgb"===t)return co(e,n);for(var i=e.shift(),a=i.get(t),s=[],l=0,c=0,u=0;u<a.length;u++)if(a[u]=(a[u]||0)*n[0],s.push(isNaN(a[u])?0:n[0]),"h"===t.charAt(u)&&!isNaN(a[u])){var d=a[u]/180*io;l+=ao(d)*n[0],c+=so(d)*n[0]}var f=i.alpha()*n[0];e.forEach((function(e,r){var o=e.get(t);f+=e.alpha()*n[r+1];for(var i=0;i<a.length;i++)if(!isNaN(o[i]))if(s[i]+=n[r+1],"h"===t.charAt(i)){var u=o[i]/180*io;l+=ao(u)*n[r+1],c+=so(u)*n[r+1]}else a[i]+=o[i]*n[r+1]}));for(var h=0;h<a.length;h++)if("h"===t.charAt(h)){for(var p=lo(c/s[h],l/s[h])/io*180;p<0;)p+=360;for(;p>=360;)p-=360;a[h]=p}else a[h]=a[h]/s[h];return f/=r,new to(a,t).alpha(f>.99999?1:f,!0)},li.bezier=function(e){var t=function(e){var t,n,r,o,i,a,s;if(2===(e=e.map((function(e){return new mo(e)}))).length)t=e.map((function(e){return e.lab()})),i=t[0],a=t[1],o=function(e){var t=[0,1,2].map((function(t){return i[t]+e*(a[t]-i[t])}));return new mo(t,"lab")};else if(3===e.length)n=e.map((function(e){return e.lab()})),i=n[0],a=n[1],s=n[2],o=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*i[t]+2*(1-e)*e*a[t]+e*e*s[t]}));return new mo(t,"lab")};else if(4===e.length){var l;r=e.map((function(e){return e.lab()})),i=r[0],a=r[1],s=r[2],l=r[3],o=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*(1-e)*i[t]+3*(1-e)*(1-e)*e*a[t]+3*(1-e)*e*e*s[t]+e*e*e*l[t]}));return new mo(t,"lab")}}else{if(!(e.length>=5))throw new RangeError("No point in running bezier with only one color.");var c,u,d;c=e.map((function(e){return e.lab()})),d=e.length-1,u=function(e){for(var t=[1,1],n=1;n<e;n++){for(var r=[1],o=1;o<=t.length;o++)r[o]=(t[o]||0)+t[o-1];t=r}return t}(d),o=function(e){var t=1-e,n=[0,1,2].map((function(n){return c.reduce((function(r,o,i){return r+u[i]*Math.pow(t,d-i)*Math.pow(e,i)*o[n]}),0)}));return new mo(n,"lab")}}return o}(e);return t.scale=function(){return vo(t)},t},li.blend=Eo,li.cubehelix=function(e,t,n,r,o){void 0===e&&(e=300),void 0===t&&(t=-1.5),void 0===n&&(n=1),void 0===r&&(r=1),void 0===o&&(o=[0,1]);var i,a=0;"array"===xo(o)?i=o[1]-o[0]:(i=0,o=[o,o]);var s=function(s){var l=_o*((e+120)/360+t*s),c=Oo(o[0]+i*s,r),u=(0!==a?n[0]+s*a:n)*c*(1-c)/2,d=Ao(l),f=Co(l);return ko(So([255*(c+u*(-.14861*d+1.78277*f)),255*(c+u*(-.29227*d-.90649*f)),255*(c+u*(1.97294*d)),1]))};return s.start=function(t){return null==t?e:(e=t,s)},s.rotations=function(e){return null==e?t:(t=e,s)},s.gamma=function(e){return null==e?r:(r=e,s)},s.hue=function(e){return null==e?n:("array"===xo(n=e)?0==(a=n[1]-n[0])&&(n=n[1]):a=0,s)},s.lightness=function(e){return null==e?o:("array"===xo(e)?(o=e,i=e[1]-e[0]):(o=[e,e],i=0),s)},s.scale=function(){return ko.scale(s)},s.hue(n),s},li.mix=li.interpolate=Pr,li.random=function(){for(var e="#",t=0;t<6;t++)e+="0123456789abcdef".charAt(To(16*Po()));return new Mo(e,"hex")},li.scale=po,li.analyze=Fo.analyze,li.contrast=function(e,t){e=new Lo(e),t=new Lo(t);var n=e.luminance(),r=t.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},li.deltaE=function(e,t,n,r,o){void 0===n&&(n=1),void 0===r&&(r=1),void 0===o&&(o=1);var i=function(e){return 360*e/(2*Zo)},a=function(e){return 2*Zo*e/360};e=new Bo(e),t=new Bo(t);var s=Array.from(e.lab()),l=s[0],c=s[1],u=s[2],d=Array.from(t.lab()),f=d[0],h=d[1],p=d[2],m=(l+f)/2,v=(Ho(Vo(c,2)+Vo(u,2))+Ho(Vo(h,2)+Vo(p,2)))/2,g=.5*(1-Ho(Vo(v,7)/(Vo(v,7)+Vo(25,7)))),y=c*(1+g),b=h*(1+g),w=Ho(Vo(y,2)+Vo(u,2)),E=Ho(Vo(b,2)+Vo(p,2)),x=(w+E)/2,S=i(qo(u,y)),_=i(qo(p,b)),O=S>=0?S:S+360,C=_>=0?_:_+360,A=Ko(O-C)>180?(O+C+360)/2:(O+C)/2,k=1-.17*Go(a(A-30))+.24*Go(a(2*A))+.32*Go(a(3*A+6))-.2*Go(a(4*A-63)),M=C-O;M=Ko(M)<=180?M:C<=O?M+360:M-360,M=2*Ho(w*E)*Xo(a(M)/2);var T=f-l,P=E-w,I=1+.015*Vo(m-50,2)/Ho(20+Vo(m-50,2)),j=1+.045*x,z=1+.015*x*k,D=30*Yo(-Vo((A-275)/25,2)),R=-2*Ho(Vo(x,7)/(Vo(x,7)+Vo(25,7)))*Xo(2*a(D)),N=Ho(Vo(T/(n*I),2)+Vo(P/(r*j),2)+Vo(M/(o*z),2)+R*(P/(r*j))*(M/(o*z)));return Wo(0,Uo(100,N))},li.distance=function(e,t,n){void 0===n&&(n="lab"),e=new Jo(e),t=new Jo(t);var r=e.get(n),o=t.get(n),i=0;for(var a in r){var s=(r[a]||0)-(o[a]||0);i+=s*s}return Math.sqrt(i)},li.limits=Fo.limits,li.valid=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(Qo,[null].concat(e))),!0}catch(e){return!1}},li.scales=ni,li.colors=fn,li.brewer=si,li}()},46942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},43145:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>r})},96369:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},9417:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},10467:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,l,"next",e)}function l(e){r(a,o,i,s,l,"throw",e)}s(void 0)}))}}n.d(t,{A:()=>o})},23029:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},92901:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(20816);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.A)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},29426:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(53954),o=n(52176),i=n(56822);function a(e){var t=(0,o.A)();return function(){var n,o=(0,r.A)(e);if(t){var a=(0,r.A)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.A)(this,n)}}},64467:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(20816);function o(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},58168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},90991:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(53954);function o(){return o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,r.A)(e)););return e}(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},o.apply(this,arguments)}},53954:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},85501:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(63662);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.A)(e,t)}},77387:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(63662);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},52176:(e,t,n)=>{"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(r=function(){return!!e})()}n.d(t,{A:()=>r})},73893:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{A:()=>r})},76562:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},20454:(e,t,n)=>{"use strict";function r(e){if(null==e)throw new TypeError("Cannot destructure "+e)}n.d(t,{A:()=>r})},89379:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(64467);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},80045:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(98587);function o(e,t){if(null==e)return{};var n,o,i=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},98587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{A:()=>r})},56822:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82284),o=n(9417);function i(e,t){if(t&&("object"===(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.A)(e)}},63662:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},5544:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96369),o=n(27800),i=n(76562);function a(e,t){return(0,r.A)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||(0,o.A)(e,t)||(0,i.A)()}},87695:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(96369),o=n(73893),i=n(27800),a=n(76562);function s(e){return(0,r.A)(e)||(0,o.A)(e)||(0,i.A)(e)||(0,a.A)()}},60436:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(43145),o=n(73893),i=n(27800);function a(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||(0,o.A)(e)||(0,i.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},20816:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82284);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},82284:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},27800:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(43145);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},73437:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(53954),o=n(63662),i=n(52176);function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if((0,i.A)())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&(0,o.A)(a,n.prototype),a}(e,arguments,(0,r.A)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,o.A)(n,e)},a(e)}},95361:(e,t,n)=>{"use strict";n.d(t,{BN:()=>u,UE:()=>s,UU:()=>l,cY:()=>c,rD:()=>i});var r=n(97193);function o(e,t,n){let{reference:o,floating:i}=e;const a=(0,r.TV)(t),s=(0,r.Dz)(t),l=(0,r.sq)(s),c=(0,r.C0)(t),u="y"===a,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,h=o[l]/2-i[l]/2;let p;switch(c){case"top":p={x:d,y:o.y-i.height};break;case"bottom":p={x:d,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:f};break;case"left":p={x:o.x-i.width,y:f};break;default:p={x:o.x,y:o.y}}switch((0,r.Sg)(t)){case"start":p[s]-=h*(n&&u?-1:1);break;case"end":p[s]+=h*(n&&u?-1:1)}return p}const i=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:s}=n,l=a.filter(Boolean),c=await(null==s.isRTL?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=o(u,r,c),h=r,p={},m=0;for(let n=0;n<l.length;n++){const{name:a,fn:v}=l[n],{x:g,y,data:b,reset:w}=await v({x:d,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});d=null!=g?g:d,f=null!=y?y:f,p={...p,[a]:{...p[a],...b}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(u=!0===w.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):w.rects),({x:d,y:f}=o(u,h,c))),n=-1)}return{x:d,y:f,placement:h,strategy:i,middlewareData:p}};async function a(e,t){var n;void 0===t&&(t={});const{x:o,y:i,platform:a,rects:s,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=(0,r._3)(t,e),m=(0,r.nI)(p),v=l[h?"floating"===f?"reference":"floating":f],g=(0,r.B1)(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(v)))||n?v:v.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),y="floating"===f?{...s.floating,x:o,y:i}:s.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),w=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},E=(0,r.B1)(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:b,strategy:c}):y);return{top:(g.top-E.top+m.top)/w.y,bottom:(E.bottom-g.bottom+m.bottom)/w.y,left:(g.left-E.left+m.left)/w.x,right:(E.right-g.right+m.right)/w.x}}const s=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:a,platform:s,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=(0,r._3)(e,t)||{};if(null==u)return{};const f=(0,r.nI)(d),h={x:n,y:o},p=(0,r.Dz)(i),m=(0,r.sq)(p),v=await s.getDimensions(u),g="y"===p,y=g?"top":"left",b=g?"bottom":"right",w=g?"clientHeight":"clientWidth",E=a.reference[m]+a.reference[p]-h[p]-a.floating[m],x=h[p]-a.reference[p],S=await(null==s.getOffsetParent?void 0:s.getOffsetParent(u));let _=S?S[w]:0;_&&await(null==s.isElement?void 0:s.isElement(S))||(_=l.floating[w]||a.floating[m]);const O=E/2-x/2,C=_/2-v[m]/2-1,A=(0,r.jk)(f[y],C),k=(0,r.jk)(f[b],C),M=A,T=_-v[m]-k,P=_/2-v[m]/2+O,I=(0,r.qE)(M,P,T),j=!c.arrow&&null!=(0,r.Sg)(i)&&P!==I&&a.reference[m]/2-(P<M?A:k)-v[m]/2<0,z=j?P<M?P-M:P-T:0;return{[p]:h[p]+z,data:{[p]:I,centerOffset:P-I-z,...j&&{alignmentOffset:z}},reset:j}}}),l=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:s,rects:l,initialPlacement:c,platform:u,elements:d}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...y}=(0,r._3)(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const b=(0,r.C0)(i),w=(0,r.C0)(c)===c,E=await(null==u.isRTL?void 0:u.isRTL(d.floating)),x=p||(w||!g?[(0,r.bV)(c)]:(0,r.WJ)(c));p||"none"===v||x.push(...(0,r.lP)(c,g,v,E));const S=[c,...x],_=await a(t,y),O=[];let C=(null==(o=s.flip)?void 0:o.overflows)||[];if(f&&O.push(_[b]),h){const e=(0,r.w7)(i,l,E);O.push(_[e[0]],_[e[1]])}if(C=[...C,{placement:i,overflows:O}],!O.every((e=>e<=0))){var A,k;const e=((null==(A=s.flip)?void 0:A.index)||0)+1,t=S[e];if(t)return{data:{index:e,overflows:C},reset:{placement:t}};let n=null==(k=C.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:k.placement;if(!n)switch(m){case"bestFit":{var M;const e=null==(M=C.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:M[0];e&&(n=e);break}case"initialPlacement":n=c}if(i!==n)return{reset:{placement:n}}}return{}}}},c=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:a,placement:s,middlewareData:l}=t,c=await async function(e,t){const{placement:n,platform:o,elements:i}=e,a=await(null==o.isRTL?void 0:o.isRTL(i.floating)),s=(0,r.C0)(n),l=(0,r.Sg)(n),c="y"===(0,r.TV)(n),u=["left","top"].includes(s)?-1:1,d=a&&c?-1:1,f=(0,r._3)(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&"number"==typeof m&&(p="end"===l?-1*m:m),c?{x:p*d,y:h*u}:{x:h*u,y:p*d}}(t,e);return s===(null==(n=l.offset)?void 0:n.placement)&&null!=(o=l.arrow)&&o.alignmentOffset?{}:{x:i+c.x,y:a+c.y,data:{...c,placement:s}}}}},u=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=(0,r._3)(e,t),d={x:n,y:o},f=await a(t,u),h=(0,r.TV)((0,r.C0)(i)),p=(0,r.PG)(h);let m=d[p],v=d[h];if(s){const e="y"===p?"bottom":"right",t=m+f["y"===p?"top":"left"],n=m-f[e];m=(0,r.qE)(t,m,n)}if(l){const e="y"===h?"bottom":"right",t=v+f["y"===h?"top":"left"],n=v-f[e];v=(0,r.qE)(t,v,n)}const g=c.fn({...t,[p]:m,[h]:v});return{...g,data:{x:g.x-n,y:g.y-o}}}}}},18491:(e,t,n)=>{"use strict";n.d(t,{BN:()=>x,UE:()=>_,UU:()=>S,ll:()=>E,rD:()=>O});var r=n(97193),o=n(95361),i=n(86635);function a(e){const t=(0,i.L9)(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const a=(0,i.sb)(e),s=a?e.offsetWidth:n,l=a?e.offsetHeight:o,c=(0,r.LI)(n)!==s||(0,r.LI)(o)!==l;return c&&(n=s,o=l),{width:n,height:o,$:c}}function s(e){return(0,i.vq)(e)?e:e.contextElement}function l(e){const t=s(e);if(!(0,i.sb)(t))return(0,r.Jx)(1);const n=t.getBoundingClientRect(),{width:o,height:l,$:c}=a(t);let u=(c?(0,r.LI)(n.width):n.width)/o,d=(c?(0,r.LI)(n.height):n.height)/l;return u&&Number.isFinite(u)||(u=1),d&&Number.isFinite(d)||(d=1),{x:u,y:d}}const c=(0,r.Jx)(0);function u(e){const t=(0,i.zk)(e);return(0,i.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:c}function d(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect(),c=s(e);let d=(0,r.Jx)(1);t&&(o?(0,i.vq)(o)&&(d=l(o)):d=l(e));const f=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==(0,i.zk)(e))&&t}(c,n,o)?u(c):(0,r.Jx)(0);let h=(a.left+f.x)/d.x,p=(a.top+f.y)/d.y,m=a.width/d.x,v=a.height/d.y;if(c){const e=(0,i.zk)(c),t=o&&(0,i.vq)(o)?(0,i.zk)(o):o;let n=e,r=n.frameElement;for(;r&&o&&t!==n;){const e=l(r),t=r.getBoundingClientRect(),o=(0,i.L9)(r),a=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,s=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;h*=e.x,p*=e.y,m*=e.x,v*=e.y,h+=a,p+=s,n=(0,i.zk)(r),r=n.frameElement}}return(0,r.B1)({width:m,height:v,x:h,y:p})}const f=[":popover-open",":modal"];function h(e){return f.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function p(e){return d((0,i.ep)(e)).left+(0,i.CP)(e).scrollLeft}function m(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=(0,i.zk)(e),r=(0,i.ep)(e),o=n.visualViewport;let a=r.clientWidth,s=r.clientHeight,l=0,c=0;if(o){a=o.width,s=o.height;const e=(0,i.Tc)();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,c=o.offsetTop)}return{width:a,height:s,x:l,y:c}}(e,n);else if("document"===t)o=function(e){const t=(0,i.ep)(e),n=(0,i.CP)(e),o=e.ownerDocument.body,a=(0,r.T9)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=(0,r.T9)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+p(e);const c=-n.scrollTop;return"rtl"===(0,i.L9)(o).direction&&(l+=(0,r.T9)(t.clientWidth,o.clientWidth)-a),{width:a,height:s,x:l,y:c}}((0,i.ep)(e));else if((0,i.vq)(t))o=function(e,t){const n=d(e,!0,"fixed"===t),o=n.top+e.clientTop,a=n.left+e.clientLeft,s=(0,i.sb)(e)?l(e):(0,r.Jx)(1);return{width:e.clientWidth*s.x,height:e.clientHeight*s.y,x:a*s.x,y:o*s.y}}(t,n);else{const n=u(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.B1)(o)}function v(e,t){const n=(0,i.$4)(e);return!(n===t||!(0,i.vq)(n)||(0,i.eu)(n))&&("fixed"===(0,i.L9)(n).position||v(n,t))}function g(e,t,n){const o=(0,i.sb)(t),a=(0,i.ep)(t),s="fixed"===n,l=d(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const u=(0,r.Jx)(0);if(o||!o&&!s)if(("body"!==(0,i.mq)(t)||(0,i.ZU)(a))&&(c=(0,i.CP)(t)),o){const e=d(t,!0,s,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else a&&(u.x=p(a));return{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function y(e,t){return(0,i.sb)(e)&&"fixed"!==(0,i.L9)(e).position?t?t(e):e.offsetParent:null}function b(e,t){const n=(0,i.zk)(e);if(!(0,i.sb)(e)||h(e))return n;let r=y(e,t);for(;r&&(0,i.Lv)(r)&&"static"===(0,i.L9)(r).position;)r=y(r,t);return r&&("html"===(0,i.mq)(r)||"body"===(0,i.mq)(r)&&"static"===(0,i.L9)(r).position&&!(0,i.sQ)(r))?n:r||(0,i.gJ)(e)||n}const w={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:a}=e;const s="fixed"===a,c=(0,i.ep)(o),u=!!t&&h(t.floating);if(o===c||u&&s)return n;let f={scrollLeft:0,scrollTop:0},p=(0,r.Jx)(1);const m=(0,r.Jx)(0),v=(0,i.sb)(o);if((v||!v&&!s)&&(("body"!==(0,i.mq)(o)||(0,i.ZU)(c))&&(f=(0,i.CP)(o)),(0,i.sb)(o))){const e=d(o);p=l(o),m.x=e.x+o.clientLeft,m.y=e.y+o.clientTop}return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-f.scrollLeft*p.x+m.x,y:n.y*p.y-f.scrollTop*p.y+m.y}},getDocumentElement:i.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:a}=e;const s=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=(0,i.v9)(e,[],!1).filter((e=>(0,i.vq)(e)&&"body"!==(0,i.mq)(e))),o=null;const a="fixed"===(0,i.L9)(e).position;let s=a?(0,i.$4)(e):e;for(;(0,i.vq)(s)&&!(0,i.eu)(s);){const t=(0,i.L9)(s),n=(0,i.sQ)(s);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||(0,i.ZU)(s)&&!n&&v(e,s))?r=r.filter((e=>e!==s)):o=t,s=(0,i.$4)(s)}return t.set(e,r),r}(t,this._c):[].concat(n),o],l=s[0],c=s.reduce(((e,n)=>{const o=m(t,n,a);return e.top=(0,r.T9)(o.top,e.top),e.right=(0,r.jk)(o.right,e.right),e.bottom=(0,r.jk)(o.bottom,e.bottom),e.left=(0,r.T9)(o.left,e.left),e}),m(t,l,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:b,getElementRects:async function(e){const t=this.getOffsetParent||b,n=this.getDimensions;return{reference:g(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=a(e);return{width:t,height:n}},getScale:l,isElement:i.vq,isRTL:function(e){return"rtl"===(0,i.L9)(e).direction}};function E(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:a=!0,ancestorResize:l=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,h=s(e),p=a||l?[...h?(0,i.v9)(h):[],...(0,i.v9)(t)]:[];p.forEach((e=>{a&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)}));const m=h&&u?function(e,t){let n,o=null;const a=(0,i.ep)(e);function s(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function i(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),s();const{left:u,top:d,width:f,height:h}=e.getBoundingClientRect();if(l||t(),!f||!h)return;const p={rootMargin:-(0,r.RI)(d)+"px "+-(0,r.RI)(a.clientWidth-(u+f))+"px "+-(0,r.RI)(a.clientHeight-(d+h))+"px "+-(0,r.RI)(u)+"px",threshold:(0,r.T9)(0,(0,r.jk)(1,c))||1};let m=!0;function v(e){const t=e[0].intersectionRatio;if(t!==c){if(!m)return i();t?i(!1,t):n=setTimeout((()=>{i(!1,1e-7)}),100)}m=!1}try{o=new IntersectionObserver(v,{...p,root:a.ownerDocument})}catch(e){o=new IntersectionObserver(v,p)}o.observe(e)}(!0),s}(h,n):null;let v,g=-1,y=null;c&&(y=new ResizeObserver((e=>{let[r]=e;r&&r.target===h&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var e;null==(e=y)||e.observe(t)}))),n()})),h&&!f&&y.observe(h),y.observe(t));let b=f?d(e):null;return f&&function t(){const r=d(e);!b||r.x===b.x&&r.y===b.y&&r.width===b.width&&r.height===b.height||n(),b=r,v=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach((e=>{a&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)})),null==m||m(),null==(e=y)||e.disconnect(),y=null,f&&cancelAnimationFrame(v)}}const x=o.BN,S=o.UU,_=o.UE,O=(e,t,n)=>{const r=new Map,i={platform:w,...n},a={...i.platform,_c:r};return(0,o.rD)(e,t,{...i,platform:a})}},86635:(e,t,n)=>{"use strict";function r(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return e instanceof Node||e instanceof o(e).Node}function s(e){return e instanceof Element||e instanceof o(e).Element}function l(e){return e instanceof HTMLElement||e instanceof o(e).HTMLElement}function c(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function u(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=v(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function d(e){return["table","td","th"].includes(r(e))}function f(e){const t=p(),n=v(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function h(e){let t=y(e);for(;l(t)&&!m(t);){if(f(t))return t;t=y(t)}return null}function p(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function m(e){return["html","body","#document"].includes(r(e))}function v(e){return o(e).getComputedStyle(e)}function g(e){return s(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function y(e){if("html"===r(e))return e;const t=e.assignedSlot||e.parentNode||c(e)&&e.host||i(e);return c(t)?t.host:t}function b(e){const t=y(e);return m(t)?e.ownerDocument?e.ownerDocument.body:e.body:l(t)&&u(t)?t:b(t)}function w(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=b(e),a=i===(null==(r=e.ownerDocument)?void 0:r.body),s=o(i);return a?t.concat(s,s.visualViewport||[],u(i)?i:[],s.frameElement&&n?w(s.frameElement):[]):t.concat(i,w(i,[],n))}n.d(t,{$4:()=>y,CP:()=>g,L9:()=>v,Lv:()=>d,Tc:()=>p,ZU:()=>u,ep:()=>i,eu:()=>m,gJ:()=>h,mq:()=>r,sQ:()=>f,sb:()=>l,v9:()=>w,vq:()=>s,zk:()=>o})},97193:(e,t,n)=>{"use strict";n.d(t,{B1:()=>_,C0:()=>f,Dz:()=>g,Jx:()=>s,LI:()=>i,PG:()=>p,RI:()=>a,Sg:()=>h,T9:()=>o,TV:()=>v,WJ:()=>b,_3:()=>d,bV:()=>x,jk:()=>r,lP:()=>E,nI:()=>S,qE:()=>u,sq:()=>m,w7:()=>y});const r=Math.min,o=Math.max,i=Math.round,a=Math.floor,s=e=>({x:e,y:e}),l={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function u(e,t,n){return o(e,r(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(f(e))?"y":"x"}function g(e){return p(v(e))}function y(e,t,n){void 0===n&&(n=!1);const r=h(e),o=g(e),i=m(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=x(a)),[a,x(a)]}function b(e){const t=x(e);return[w(e),t,w(t)]}function w(e){return e.replace(/start|end/g,(e=>c[e]))}function E(e,t,n,r){const o=h(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(f(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(w)))),i}function x(e){return e.replace(/left|right|bottom|top/g,(e=>l[e]))}function S(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function _(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}},66005:(e,t,n)=>{"use strict";let r,o,i;function a(e,t){if(i=new Date,e.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if("html"===e.tagName.toLowerCase())return"html";const n={root:document.body,idName:e=>!0,className:e=>!0,tagName:e=>!0,attr:(e,t)=>!1,seedMinLength:1,optimizedMinLength:2,threshold:1e3,maxNumberOfTries:1e4,timeoutMs:void 0};r={...n,...t},o=function(e,t){return e.nodeType===Node.DOCUMENT_NODE?e:e===t.root?e.ownerDocument:e}(r.root,n);let a=s(e,"all",(()=>s(e,"two",(()=>s(e,"one",(()=>s(e,"none")))))));if(a){const t=x(S(a,e));return t.length>0&&(a=t[0]),c(a)}throw new Error("Selector was not found.")}function s(e,t,n){let o=null,a=[],s=e,c=0;for(;s;){const e=(new Date).getTime()-i.getTime();if(void 0!==r.timeoutMs&&e>r.timeoutMs)throw new Error(`Timeout: Can't find a unique selector after ${e}ms`);let u=b(f(s))||b(...h(s))||b(...p(s))||b(m(s))||[{name:"*",penalty:3}];const d=v(s);if("all"==t)d&&(u=u.concat(u.filter(y).map((e=>g(e,d)))));else if("two"==t)u=u.slice(0,1),d&&(u=u.concat(u.filter(y).map((e=>g(e,d)))));else if("one"==t){const[e]=u=u.slice(0,1);d&&y(e)&&(u=[g(e,d)])}else"none"==t&&(u=[{name:"*",penalty:3}],d&&(u=[g(u[0],d)]));for(let e of u)e.level=c;if(a.push(u),a.length>=r.seedMinLength&&(o=l(a,n),o))break;s=s.parentElement,c++}return o||(o=l(a,n)),!o&&n?n():o}function l(e,t){const n=x(E(e));if(n.length>r.threshold)return t?t():null;for(let e of n)if(d(e))return e;return null}function c(e){let t=e[0],n=t.name;for(let r=1;r<e.length;r++){const o=e[r].level||0;n=t.level===o-1?`${e[r].name} > ${n}`:`${e[r].name} ${n}`,t=e[r]}return n}function u(e){return e.map((e=>e.penalty)).reduce(((e,t)=>e+t),0)}function d(e){const t=c(e);switch(o.querySelectorAll(t).length){case 0:throw new Error(`Can't select any node with this selector: ${t}`);case 1:return!0;default:return!1}}function f(e){const t=e.getAttribute("id");return t&&r.idName(t)?{name:"#"+CSS.escape(t),penalty:0}:null}function h(e){const t=Array.from(e.attributes).filter((e=>r.attr(e.name,e.value)));return t.map((e=>({name:`[${CSS.escape(e.name)}="${CSS.escape(e.value)}"]`,penalty:.5})))}function p(e){return Array.from(e.classList).filter(r.className).map((e=>({name:"."+CSS.escape(e),penalty:1})))}function m(e){const t=e.tagName.toLowerCase();return r.tagName(t)?{name:t,penalty:2}:null}function v(e){const t=e.parentNode;if(!t)return null;let n=t.firstChild;if(!n)return null;let r=0;for(;n&&(n.nodeType===Node.ELEMENT_NODE&&r++,n!==e);)n=n.nextSibling;return r}function g(e,t){return{name:e.name+`:nth-child(${t})`,penalty:e.penalty+1}}function y(e){return"html"!==e.name&&!e.name.startsWith("#")}function b(...e){const t=e.filter(w);return t.length>0?t:null}function w(e){return null!=e}function*E(e,t=[]){if(e.length>0)for(let n of e[0])yield*E(e.slice(1,e.length),t.concat(n));else yield t}function x(e){return[...e].sort(((e,t)=>u(e)-u(t)))}function*S(e,t,n={counter:0,visited:new Map}){if(e.length>2&&e.length>r.optimizedMinLength)for(let o=1;o<e.length-1;o++){if(n.counter>r.maxNumberOfTries)return;n.counter+=1;const i=[...e];i.splice(o,1);const a=c(i);if(n.visited.has(a))return;d(i)&&_(i,t)&&(yield i,n.visited.set(a,!0),yield*S(i,t,n))}}function _(e,t){return o.querySelector(c(e))===t}n.d(t,{n:()=>a})},7483:(e,t,n)=>{"use strict";n.d(t,{A:()=>un});var r={};n.r(r),n.d(r,{fixNegotiationNeeded:()=>z,shimAddTrackRemoveTrack:()=>I,shimAddTrackRemoveTrackWithNative:()=>P,shimGetSendersWithDtmf:()=>M,shimGetUserMedia:()=>C,shimMediaStream:()=>A,shimOnTrack:()=>k,shimPeerConnection:()=>j,shimSenderReceiverGetStats:()=>T});var o={};n.r(o),n.d(o,{shimAddTransceiver:()=>V,shimCreateAnswer:()=>q,shimCreateOffer:()=>W,shimGetDisplayMedia:()=>R,shimGetParameters:()=>U,shimGetUserMedia:()=>D,shimOnTrack:()=>N,shimPeerConnection:()=>$,shimRTCDataChannel:()=>H,shimReceiverGetStats:()=>L,shimRemoveStream:()=>B,shimSenderGetStats:()=>F});var i={};n.r(i),n.d(i,{shimAudioContext:()=>te,shimCallbacksAPI:()=>X,shimConstraints:()=>Z,shimCreateOfferLegacy:()=>ee,shimGetUserMedia:()=>Y,shimLocalStreamsAPI:()=>K,shimRTCIceServerUrls:()=>J,shimRemoteStreamsAPI:()=>G,shimTrackEventTransceiver:()=>Q});var a={};n.r(a),n.d(a,{removeExtmapAllowMixed:()=>ce,shimAddIceCandidateNullOrEmpty:()=>ue,shimConnectionState:()=>le,shimMaxMessageSize:()=>ae,shimParameterlessSetLocalDescription:()=>de,shimRTCIceCandidate:()=>oe,shimRTCIceCandidateRelayProtocol:()=>ie,shimSendThrowTypeError:()=>se}),"undefined"!=typeof window&&(window.parcelRequire=window.parcelRequire||void 0);var s=n(79080);class l{constructor(){this.encoder=new TextEncoder,this._pieces=[],this._parts=[]}append_buffer(e){this.flush(),this._parts.push(e)}append(e){this._pieces.push(e)}flush(){if(this._pieces.length>0){const e=new Uint8Array(this._pieces);this._parts.push(e),this._pieces=[]}}toArrayBuffer(){const e=[];for(const t of this._parts)e.push(t);return function(e){let t=0;for(const n of e)t+=n.byteLength;const n=new Uint8Array(t);let r=0;for(const t of e){const e=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);n.set(e,r),r+=t.byteLength}return n}(e).buffer}}function c(e){return new d(e).unpack()}function u(e){const t=new f,n=t.pack(e);return n instanceof Promise?n.then((()=>t.getBuffer())):t.getBuffer()}class d{constructor(e){this.index=0,this.dataBuffer=e,this.dataView=new Uint8Array(this.dataBuffer),this.length=this.dataBuffer.byteLength}unpack(){const e=this.unpack_uint8();if(e<128)return e;if((224^e)<32)return(224^e)-32;let t;if((t=160^e)<=15)return this.unpack_raw(t);if((t=176^e)<=15)return this.unpack_string(t);if((t=144^e)<=15)return this.unpack_array(t);if((t=128^e)<=15)return this.unpack_map(t);switch(e){case 192:return null;case 193:case 212:case 213:case 214:case 215:return;case 194:return!1;case 195:return!0;case 202:return this.unpack_float();case 203:return this.unpack_double();case 204:return this.unpack_uint8();case 205:return this.unpack_uint16();case 206:return this.unpack_uint32();case 207:return this.unpack_uint64();case 208:return this.unpack_int8();case 209:return this.unpack_int16();case 210:return this.unpack_int32();case 211:return this.unpack_int64();case 216:return t=this.unpack_uint16(),this.unpack_string(t);case 217:return t=this.unpack_uint32(),this.unpack_string(t);case 218:return t=this.unpack_uint16(),this.unpack_raw(t);case 219:return t=this.unpack_uint32(),this.unpack_raw(t);case 220:return t=this.unpack_uint16(),this.unpack_array(t);case 221:return t=this.unpack_uint32(),this.unpack_array(t);case 222:return t=this.unpack_uint16(),this.unpack_map(t);case 223:return t=this.unpack_uint32(),this.unpack_map(t)}}unpack_uint8(){const e=255&this.dataView[this.index];return this.index++,e}unpack_uint16(){const e=this.read(2),t=256*(255&e[0])+(255&e[1]);return this.index+=2,t}unpack_uint32(){const e=this.read(4),t=256*(256*(256*e[0]+e[1])+e[2])+e[3];return this.index+=4,t}unpack_uint64(){const e=this.read(8),t=256*(256*(256*(256*(256*(256*(256*e[0]+e[1])+e[2])+e[3])+e[4])+e[5])+e[6])+e[7];return this.index+=8,t}unpack_int8(){const e=this.unpack_uint8();return e<128?e:e-256}unpack_int16(){const e=this.unpack_uint16();return e<32768?e:e-65536}unpack_int32(){const e=this.unpack_uint32();return e<2**31?e:e-2**32}unpack_int64(){const e=this.unpack_uint64();return e<2**63?e:e-2**64}unpack_raw(e){if(this.length<this.index+e)throw new Error(`BinaryPackFailure: index is out of range ${this.index} ${e} ${this.length}`);const t=this.dataBuffer.slice(this.index,this.index+e);return this.index+=e,t}unpack_string(e){const t=this.read(e);let n,r,o=0,i="";for(;o<e;)n=t[o],n<160?(r=n,o++):(192^n)<32?(r=(31&n)<<6|63&t[o+1],o+=2):(224^n)<16?(r=(15&n)<<12|(63&t[o+1])<<6|63&t[o+2],o+=3):(r=(7&n)<<18|(63&t[o+1])<<12|(63&t[o+2])<<6|63&t[o+3],o+=4),i+=String.fromCodePoint(r);return this.index+=e,i}unpack_array(e){const t=new Array(e);for(let n=0;n<e;n++)t[n]=this.unpack();return t}unpack_map(e){const t={};for(let n=0;n<e;n++)t[this.unpack()]=this.unpack();return t}unpack_float(){const e=this.unpack_uint32();return(e>>31?-1:1)*(8388607&e|8388608)*2**((e>>23&255)-127-23)}unpack_double(){const e=this.unpack_uint32(),t=(e>>20&2047)-1023;return(e>>31?-1:1)*((1048575&e|1048576)*2**(t-20)+this.unpack_uint32()*2**(t-52))}read(e){const t=this.index;if(t+e<=this.length)return this.dataView.subarray(t,t+e);throw new Error("BinaryPackFailure: read index out of range")}}class f{getBuffer(){return this._bufferBuilder.toArrayBuffer()}pack(e){if("string"==typeof e)this.pack_string(e);else if("number"==typeof e)Math.floor(e)===e?this.pack_integer(e):this.pack_double(e);else if("boolean"==typeof e)!0===e?this._bufferBuilder.append(195):!1===e&&this._bufferBuilder.append(194);else if(void 0===e)this._bufferBuilder.append(192);else{if("object"!=typeof e)throw new Error(`Type "${typeof e}" not yet supported`);if(null===e)this._bufferBuilder.append(192);else{const t=e.constructor;if(e instanceof Array){const t=this.pack_array(e);if(t instanceof Promise)return t.then((()=>this._bufferBuilder.flush()))}else if(e instanceof ArrayBuffer)this.pack_bin(new Uint8Array(e));else if("BYTES_PER_ELEMENT"in e){const t=e;this.pack_bin(new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}else if(e instanceof Date)this.pack_string(e.toString());else{if(e instanceof Blob)return e.arrayBuffer().then((e=>{this.pack_bin(new Uint8Array(e)),this._bufferBuilder.flush()}));if(t!=Object&&!t.toString().startsWith("class"))throw new Error(`Type "${t.toString()}" not yet supported`);{const t=this.pack_object(e);if(t instanceof Promise)return t.then((()=>this._bufferBuilder.flush()))}}}}this._bufferBuilder.flush()}pack_bin(e){const t=e.length;if(t<=15)this.pack_uint8(160+t);else if(t<=65535)this._bufferBuilder.append(218),this.pack_uint16(t);else{if(!(t<=4294967295))throw new Error("Invalid length");this._bufferBuilder.append(219),this.pack_uint32(t)}this._bufferBuilder.append_buffer(e)}pack_string(e){const t=this._textEncoder.encode(e),n=t.length;if(n<=15)this.pack_uint8(176+n);else if(n<=65535)this._bufferBuilder.append(216),this.pack_uint16(n);else{if(!(n<=4294967295))throw new Error("Invalid length");this._bufferBuilder.append(217),this.pack_uint32(n)}this._bufferBuilder.append_buffer(t)}pack_array(e){const t=e.length;if(t<=15)this.pack_uint8(144+t);else if(t<=65535)this._bufferBuilder.append(220),this.pack_uint16(t);else{if(!(t<=4294967295))throw new Error("Invalid length");this._bufferBuilder.append(221),this.pack_uint32(t)}const n=r=>{if(r<t){const t=this.pack(e[r]);return t instanceof Promise?t.then((()=>n(r+1))):n(r+1)}};return n(0)}pack_integer(e){if(e>=-32&&e<=127)this._bufferBuilder.append(255&e);else if(e>=0&&e<=255)this._bufferBuilder.append(204),this.pack_uint8(e);else if(e>=-128&&e<=127)this._bufferBuilder.append(208),this.pack_int8(e);else if(e>=0&&e<=65535)this._bufferBuilder.append(205),this.pack_uint16(e);else if(e>=-32768&&e<=32767)this._bufferBuilder.append(209),this.pack_int16(e);else if(e>=0&&e<=4294967295)this._bufferBuilder.append(206),this.pack_uint32(e);else if(e>=-2147483648&&e<=2147483647)this._bufferBuilder.append(210),this.pack_int32(e);else if(e>=-0x8000000000000000&&e<=0x8000000000000000)this._bufferBuilder.append(211),this.pack_int64(e);else{if(!(e>=0&&e<=0x10000000000000000))throw new Error("Invalid integer");this._bufferBuilder.append(207),this.pack_uint64(e)}}pack_double(e){let t=0;e<0&&(t=1,e=-e);const n=Math.floor(Math.log(e)/Math.LN2),r=e/2**n-1,o=Math.floor(r*2**52),i=2**32,a=t<<31|n+1023<<20|o/i&1048575,s=o%i;this._bufferBuilder.append(203),this.pack_int32(a),this.pack_int32(s)}pack_object(e){const t=Object.keys(e),n=t.length;if(n<=15)this.pack_uint8(128+n);else if(n<=65535)this._bufferBuilder.append(222),this.pack_uint16(n);else{if(!(n<=4294967295))throw new Error("Invalid length");this._bufferBuilder.append(223),this.pack_uint32(n)}const r=n=>{if(n<t.length){const o=t[n];if(e.hasOwnProperty(o)){this.pack(o);const t=this.pack(e[o]);if(t instanceof Promise)return t.then((()=>r(n+1)))}return r(n+1)}};return r(0)}pack_uint8(e){this._bufferBuilder.append(e)}pack_uint16(e){this._bufferBuilder.append(e>>8),this._bufferBuilder.append(255&e)}pack_uint32(e){const t=4294967295&e;this._bufferBuilder.append((4278190080&t)>>>24),this._bufferBuilder.append((16711680&t)>>>16),this._bufferBuilder.append((65280&t)>>>8),this._bufferBuilder.append(255&t)}pack_uint64(e){const t=e/2**32,n=e%2**32;this._bufferBuilder.append((4278190080&t)>>>24),this._bufferBuilder.append((16711680&t)>>>16),this._bufferBuilder.append((65280&t)>>>8),this._bufferBuilder.append(255&t),this._bufferBuilder.append((4278190080&n)>>>24),this._bufferBuilder.append((16711680&n)>>>16),this._bufferBuilder.append((65280&n)>>>8),this._bufferBuilder.append(255&n)}pack_int8(e){this._bufferBuilder.append(255&e)}pack_int16(e){this._bufferBuilder.append((65280&e)>>8),this._bufferBuilder.append(255&e)}pack_int32(e){this._bufferBuilder.append(e>>>24&255),this._bufferBuilder.append((16711680&e)>>>16),this._bufferBuilder.append((65280&e)>>>8),this._bufferBuilder.append(255&e)}pack_int64(e){const t=Math.floor(e/2**32),n=e%2**32;this._bufferBuilder.append((4278190080&t)>>>24),this._bufferBuilder.append((16711680&t)>>>16),this._bufferBuilder.append((65280&t)>>>8),this._bufferBuilder.append(255&t),this._bufferBuilder.append((4278190080&n)>>>24),this._bufferBuilder.append((16711680&n)>>>16),this._bufferBuilder.append((65280&n)>>>8),this._bufferBuilder.append(255&n)}constructor(){this._bufferBuilder=new l,this._textEncoder=new TextEncoder}}let h=!0,p=!0;function m(e,t,n){const r=e.match(t);return r&&r.length>=n&&parseInt(r[n],10)}function v(e,t,n){if(!e.RTCPeerConnection)return;const r=e.RTCPeerConnection.prototype,o=r.addEventListener;r.addEventListener=function(e,r){if(e!==t)return o.apply(this,arguments);const i=e=>{const t=n(e);t&&(r.handleEvent?r.handleEvent(t):r(t))};return this._eventMap=this._eventMap||{},this._eventMap[t]||(this._eventMap[t]=new Map),this._eventMap[t].set(r,i),o.apply(this,[e,i])};const i=r.removeEventListener;r.removeEventListener=function(e,n){if(e!==t||!this._eventMap||!this._eventMap[t])return i.apply(this,arguments);if(!this._eventMap[t].has(n))return i.apply(this,arguments);const r=this._eventMap[t].get(n);return this._eventMap[t].delete(n),0===this._eventMap[t].size&&delete this._eventMap[t],0===Object.keys(this._eventMap).length&&delete this._eventMap,i.apply(this,[e,r])},Object.defineProperty(r,"on"+t,{get(){return this["_on"+t]},set(e){this["_on"+t]&&(this.removeEventListener(t,this["_on"+t]),delete this["_on"+t]),e&&this.addEventListener(t,this["_on"+t]=e)},enumerable:!0,configurable:!0})}function g(e){return"boolean"!=typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(h=e,e?"adapter.js logging disabled":"adapter.js logging enabled")}function y(e){return"boolean"!=typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(p=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled"))}function b(){if("object"==typeof window){if(h)return;"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,arguments)}}function w(e,t){p&&console.warn(e+" is deprecated, please use "+t+" instead.")}function E(e){return"[object Object]"===Object.prototype.toString.call(e)}function x(e){return E(e)?Object.keys(e).reduce((function(t,n){const r=E(e[n]),o=r?x(e[n]):e[n],i=r&&!Object.keys(o).length;return void 0===o||i?t:Object.assign(t,{[n]:o})}),{}):e}function S(e,t,n){t&&!n.has(t.id)&&(n.set(t.id,t),Object.keys(t).forEach((r=>{r.endsWith("Id")?S(e,e.get(t[r]),n):r.endsWith("Ids")&&t[r].forEach((t=>{S(e,e.get(t),n)}))})))}function _(e,t,n){const r=n?"outbound-rtp":"inbound-rtp",o=new Map;if(null===t)return o;const i=[];return e.forEach((e=>{"track"===e.type&&e.trackIdentifier===t.id&&i.push(e)})),i.forEach((t=>{e.forEach((n=>{n.type===r&&n.trackId===t.id&&S(e,n,o)}))})),o}const O=b;function C(e,t){const n=e&&e.navigator;if(!n.mediaDevices)return;const r=function(e){if("object"!=typeof e||e.mandatory||e.optional)return e;const t={};return Object.keys(e).forEach((n=>{if("require"===n||"advanced"===n||"mediaSource"===n)return;const r="object"==typeof e[n]?e[n]:{ideal:e[n]};void 0!==r.exact&&"number"==typeof r.exact&&(r.min=r.max=r.exact);const o=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==r.ideal){t.optional=t.optional||[];let e={};"number"==typeof r.ideal?(e[o("min",n)]=r.ideal,t.optional.push(e),e={},e[o("max",n)]=r.ideal,t.optional.push(e)):(e[o("",n)]=r.ideal,t.optional.push(e))}void 0!==r.exact&&"number"!=typeof r.exact?(t.mandatory=t.mandatory||{},t.mandatory[o("",n)]=r.exact):["min","max"].forEach((e=>{void 0!==r[e]&&(t.mandatory=t.mandatory||{},t.mandatory[o(e,n)]=r[e])}))})),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},o=function(e,o){if(t.version>=61)return o(e);if((e=JSON.parse(JSON.stringify(e)))&&"object"==typeof e.audio){const t=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])};t((e=JSON.parse(JSON.stringify(e))).audio,"autoGainControl","googAutoGainControl"),t(e.audio,"noiseSuppression","googNoiseSuppression"),e.audio=r(e.audio)}if(e&&"object"==typeof e.video){let i=e.video.facingMode;i=i&&("object"==typeof i?i:{ideal:i});const a=t.version<66;if(i&&("user"===i.exact||"environment"===i.exact||"user"===i.ideal||"environment"===i.ideal)&&(!n.mediaDevices.getSupportedConstraints||!n.mediaDevices.getSupportedConstraints().facingMode||a)){let t;if(delete e.video.facingMode,"environment"===i.exact||"environment"===i.ideal?t=["back","rear"]:"user"!==i.exact&&"user"!==i.ideal||(t=["front"]),t)return n.mediaDevices.enumerateDevices().then((n=>{let a=(n=n.filter((e=>"videoinput"===e.kind))).find((e=>t.some((t=>e.label.toLowerCase().includes(t)))));return!a&&n.length&&t.includes("back")&&(a=n[n.length-1]),a&&(e.video.deviceId=i.exact?{exact:a.deviceId}:{ideal:a.deviceId}),e.video=r(e.video),O("chrome: "+JSON.stringify(e)),o(e)}))}e.video=r(e.video)}return O("chrome: "+JSON.stringify(e)),o(e)},i=function(e){return t.version>=64?e:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[e.name]||e.name,message:e.message,constraint:e.constraint||e.constraintName,toString(){return this.name+(this.message&&": ")+this.message}}};if(n.getUserMedia=function(e,t,r){o(e,(e=>{n.webkitGetUserMedia(e,t,(e=>{r&&r(i(e))}))}))}.bind(n),n.mediaDevices.getUserMedia){const e=n.mediaDevices.getUserMedia.bind(n.mediaDevices);n.mediaDevices.getUserMedia=function(t){return o(t,(t=>e(t).then((e=>{if(t.audio&&!e.getAudioTracks().length||t.video&&!e.getVideoTracks().length)throw e.getTracks().forEach((e=>{e.stop()})),new DOMException("","NotFoundError");return e}),(e=>Promise.reject(i(e))))))}}}function A(e){e.MediaStream=e.MediaStream||e.webkitMediaStream}function k(e){if("object"==typeof e&&e.RTCPeerConnection&&!("ontrack"in e.RTCPeerConnection.prototype)){Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get(){return this._ontrack},set(e){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=e)},enumerable:!0,configurable:!0});const t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){return this._ontrackpoly||(this._ontrackpoly=t=>{t.stream.addEventListener("addtrack",(n=>{let r;r=e.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find((e=>e.track&&e.track.id===n.track.id)):{track:n.track};const o=new Event("track");o.track=n.track,o.receiver=r,o.transceiver={receiver:r},o.streams=[t.stream],this.dispatchEvent(o)})),t.stream.getTracks().forEach((n=>{let r;r=e.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find((e=>e.track&&e.track.id===n.id)):{track:n};const o=new Event("track");o.track=n,o.receiver=r,o.transceiver={receiver:r},o.streams=[t.stream],this.dispatchEvent(o)}))},this.addEventListener("addstream",this._ontrackpoly)),t.apply(this,arguments)}}else v(e,"track",(e=>(e.transceiver||Object.defineProperty(e,"transceiver",{value:{receiver:e.receiver}}),e)))}function M(e){if("object"==typeof e&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){const t=function(e,t){return{track:t,get dtmf(){return void 0===this._dtmf&&("audio"===t.kind?this._dtmf=e.createDTMFSender(t):this._dtmf=null),this._dtmf},_pc:e}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};const n=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,r){let o=n.apply(this,arguments);return o||(o=t(this,e),this._senders.push(o)),o};const r=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){r.apply(this,arguments);const t=this._senders.indexOf(e);-1!==t&&this._senders.splice(t,1)}}const n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){this._senders=this._senders||[],n.apply(this,[e]),e.getTracks().forEach((e=>{this._senders.push(t(this,e))}))};const r=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){this._senders=this._senders||[],r.apply(this,[e]),e.getTracks().forEach((e=>{const t=this._senders.find((t=>t.track===e));t&&this._senders.splice(this._senders.indexOf(t),1)}))}}else if("object"==typeof e&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){const t=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){const e=t.apply(this,[]);return e.forEach((e=>e._pc=this)),e},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}}function T(e){if(!("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&e.RTCRtpReceiver))return;if(!("getStats"in e.RTCRtpSender.prototype)){const t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){const e=t.apply(this,[]);return e.forEach((e=>e._pc=this)),e});const n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){const e=n.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){const e=this;return this._pc.getStats().then((t=>_(t,e.track,!0)))}}if(!("getStats"in e.RTCRtpReceiver.prototype)){const t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){const e=t.apply(this,[]);return e.forEach((e=>e._pc=this)),e}),v(e,"track",(e=>(e.receiver._pc=e.srcElement,e))),e.RTCRtpReceiver.prototype.getStats=function(){const e=this;return this._pc.getStats().then((t=>_(t,e.track,!1)))}}if(!("getStats"in e.RTCRtpSender.prototype)||!("getStats"in e.RTCRtpReceiver.prototype))return;const t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof e.MediaStreamTrack){const e=arguments[0];let t,n,r;return this.getSenders().forEach((n=>{n.track===e&&(t?r=!0:t=n)})),this.getReceivers().forEach((t=>(t.track===e&&(n?r=!0:n=t),t.track===e))),r||t&&n?Promise.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):t?t.getStats():n?n.getStats():Promise.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return t.apply(this,arguments)}}function P(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map((e=>this._shimmedLocalStreams[e][0]))};const t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,n){if(!n)return t.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};const r=t.apply(this,arguments);return this._shimmedLocalStreams[n.id]?-1===this._shimmedLocalStreams[n.id].indexOf(r)&&this._shimmedLocalStreams[n.id].push(r):this._shimmedLocalStreams[n.id]=[n,r],r};const n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){this._shimmedLocalStreams=this._shimmedLocalStreams||{},e.getTracks().forEach((e=>{if(this.getSenders().find((t=>t.track===e)))throw new DOMException("Track already exists.","InvalidAccessError")}));const t=this.getSenders();n.apply(this,arguments);const r=this.getSenders().filter((e=>-1===t.indexOf(e)));this._shimmedLocalStreams[e.id]=[e].concat(r)};const r=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[e.id],r.apply(this,arguments)};const o=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},e&&Object.keys(this._shimmedLocalStreams).forEach((t=>{const n=this._shimmedLocalStreams[t].indexOf(e);-1!==n&&this._shimmedLocalStreams[t].splice(n,1),1===this._shimmedLocalStreams[t].length&&delete this._shimmedLocalStreams[t]})),o.apply(this,arguments)}}function I(e,t){if(!e.RTCPeerConnection)return;if(e.RTCPeerConnection.prototype.addTrack&&t.version>=65)return P(e);const n=e.RTCPeerConnection.prototype.getLocalStreams;e.RTCPeerConnection.prototype.getLocalStreams=function(){const e=n.apply(this);return this._reverseStreams=this._reverseStreams||{},e.map((e=>this._reverseStreams[e.id]))};const r=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(t){if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},t.getTracks().forEach((e=>{if(this.getSenders().find((t=>t.track===e)))throw new DOMException("Track already exists.","InvalidAccessError")})),!this._reverseStreams[t.id]){const n=new e.MediaStream(t.getTracks());this._streams[t.id]=n,this._reverseStreams[n.id]=t,t=n}r.apply(this,[t])};const o=e.RTCPeerConnection.prototype.removeStream;function i(e,t){let n=t.sdp;return Object.keys(e._reverseStreams||[]).forEach((t=>{const r=e._reverseStreams[t],o=e._streams[r.id];n=n.replace(new RegExp(o.id,"g"),r.id)})),new RTCSessionDescription({type:t.type,sdp:n})}e.RTCPeerConnection.prototype.removeStream=function(e){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},o.apply(this,[this._streams[e.id]||e]),delete this._reverseStreams[this._streams[e.id]?this._streams[e.id].id:e.id],delete this._streams[e.id]},e.RTCPeerConnection.prototype.addTrack=function(t,n){if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");const r=[].slice.call(arguments,1);if(1!==r.length||!r[0].getTracks().find((e=>e===t)))throw new DOMException("The adapter.js addTrack polyfill only supports a single  stream which is associated with the specified track.","NotSupportedError");if(this.getSenders().find((e=>e.track===t)))throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};const o=this._streams[n.id];if(o)o.addTrack(t),Promise.resolve().then((()=>{this.dispatchEvent(new Event("negotiationneeded"))}));else{const r=new e.MediaStream([t]);this._streams[n.id]=r,this._reverseStreams[r.id]=n,this.addStream(r)}return this.getSenders().find((e=>e.track===t))},["createOffer","createAnswer"].forEach((function(t){const n=e.RTCPeerConnection.prototype[t],r={[t](){const e=arguments;return arguments.length&&"function"==typeof arguments[0]?n.apply(this,[t=>{const n=i(this,t);e[0].apply(null,[n])},t=>{e[1]&&e[1].apply(null,t)},arguments[2]]):n.apply(this,arguments).then((e=>i(this,e)))}};e.RTCPeerConnection.prototype[t]=r[t]}));const a=e.RTCPeerConnection.prototype.setLocalDescription;e.RTCPeerConnection.prototype.setLocalDescription=function(){return arguments.length&&arguments[0].type?(arguments[0]=function(e,t){let n=t.sdp;return Object.keys(e._reverseStreams||[]).forEach((t=>{const r=e._reverseStreams[t],o=e._streams[r.id];n=n.replace(new RegExp(r.id,"g"),o.id)})),new RTCSessionDescription({type:t.type,sdp:n})}(this,arguments[0]),a.apply(this,arguments)):a.apply(this,arguments)};const s=Object.getOwnPropertyDescriptor(e.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(e.RTCPeerConnection.prototype,"localDescription",{get(){const e=s.get.apply(this);return""===e.type?e:i(this,e)}}),e.RTCPeerConnection.prototype.removeTrack=function(e){if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!e._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(e._pc!==this)throw new DOMException("Sender was not created by this connection.","InvalidAccessError");let t;this._streams=this._streams||{},Object.keys(this._streams).forEach((n=>{this._streams[n].getTracks().find((t=>e.track===t))&&(t=this._streams[n])})),t&&(1===t.getTracks().length?this.removeStream(this._reverseStreams[t.id]):t.removeTrack(e.track),this.dispatchEvent(new Event("negotiationneeded")))}}function j(e,t){!e.RTCPeerConnection&&e.webkitRTCPeerConnection&&(e.RTCPeerConnection=e.webkitRTCPeerConnection),e.RTCPeerConnection&&t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach((function(t){const n=e.RTCPeerConnection.prototype[t],r={[t](){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}};e.RTCPeerConnection.prototype[t]=r[t]}))}function z(e,t){v(e,"negotiationneeded",(e=>{const n=e.target;if(!(t.version<72||n.getConfiguration&&"plan-b"===n.getConfiguration().sdpSemantics)||"stable"===n.signalingState)return e}))}function D(e,t){const n=e&&e.navigator,r=e&&e.MediaStreamTrack;if(n.getUserMedia=function(e,t,r){w("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),n.mediaDevices.getUserMedia(e).then(t,r)},!(t.version>55&&"autoGainControl"in n.mediaDevices.getSupportedConstraints())){const e=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])},t=n.mediaDevices.getUserMedia.bind(n.mediaDevices);if(n.mediaDevices.getUserMedia=function(n){return"object"==typeof n&&"object"==typeof n.audio&&(n=JSON.parse(JSON.stringify(n)),e(n.audio,"autoGainControl","mozAutoGainControl"),e(n.audio,"noiseSuppression","mozNoiseSuppression")),t(n)},r&&r.prototype.getSettings){const t=r.prototype.getSettings;r.prototype.getSettings=function(){const n=t.apply(this,arguments);return e(n,"mozAutoGainControl","autoGainControl"),e(n,"mozNoiseSuppression","noiseSuppression"),n}}if(r&&r.prototype.applyConstraints){const t=r.prototype.applyConstraints;r.prototype.applyConstraints=function(n){return"audio"===this.kind&&"object"==typeof n&&(n=JSON.parse(JSON.stringify(n)),e(n,"autoGainControl","mozAutoGainControl"),e(n,"noiseSuppression","mozNoiseSuppression")),t.apply(this,[n])}}}}function R(e,t){e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||e.navigator.mediaDevices&&(e.navigator.mediaDevices.getDisplayMedia=function(n){if(!n||!n.video){const e=new DOMException("getDisplayMedia without video constraints is undefined");return e.name="NotFoundError",e.code=8,Promise.reject(e)}return!0===n.video?n.video={mediaSource:t}:n.video.mediaSource=t,e.navigator.mediaDevices.getUserMedia(n)})}function N(e){"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function $(e,t){if("object"!=typeof e||!e.RTCPeerConnection&&!e.mozRTCPeerConnection)return;!e.RTCPeerConnection&&e.mozRTCPeerConnection&&(e.RTCPeerConnection=e.mozRTCPeerConnection),t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach((function(t){const n=e.RTCPeerConnection.prototype[t],r={[t](){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}};e.RTCPeerConnection.prototype[t]=r[t]}));const n={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},r=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){const[e,o,i]=arguments;return r.apply(this,[e||null]).then((e=>{if(t.version<53&&!o)try{e.forEach((e=>{e.type=n[e.type]||e.type}))}catch(t){if("TypeError"!==t.name)throw t;e.forEach(((t,r)=>{e.set(r,Object.assign({},t,{type:n[t.type]||t.type}))}))}return e})).then(o,i)}}function F(e){if("object"!=typeof e||!e.RTCPeerConnection||!e.RTCRtpSender)return;if(e.RTCRtpSender&&"getStats"in e.RTCRtpSender.prototype)return;const t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){const e=t.apply(this,[]);return e.forEach((e=>e._pc=this)),e});const n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){const e=n.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):Promise.resolve(new Map)}}function L(e){if("object"!=typeof e||!e.RTCPeerConnection||!e.RTCRtpSender)return;if(e.RTCRtpSender&&"getStats"in e.RTCRtpReceiver.prototype)return;const t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){const e=t.apply(this,[]);return e.forEach((e=>e._pc=this)),e}),v(e,"track",(e=>(e.receiver._pc=e.srcElement,e))),e.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}}function B(e){e.RTCPeerConnection&&!("removeStream"in e.RTCPeerConnection.prototype)&&(e.RTCPeerConnection.prototype.removeStream=function(e){w("removeStream","removeTrack"),this.getSenders().forEach((t=>{t.track&&e.getTracks().includes(t.track)&&this.removeTrack(t)}))})}function H(e){e.DataChannel&&!e.RTCDataChannel&&(e.RTCDataChannel=e.DataChannel)}function V(e){if("object"!=typeof e||!e.RTCPeerConnection)return;const t=e.RTCPeerConnection.prototype.addTransceiver;t&&(e.RTCPeerConnection.prototype.addTransceiver=function(){this.setParametersPromises=[];let e=arguments[1]&&arguments[1].sendEncodings;void 0===e&&(e=[]),e=[...e];const n=e.length>0;n&&e.forEach((e=>{if("rid"in e&&!/^[a-z0-9]{0,16}$/i.test(e.rid))throw new TypeError("Invalid RID value provided.");if("scaleResolutionDownBy"in e&&!(parseFloat(e.scaleResolutionDownBy)>=1))throw new RangeError("scale_resolution_down_by must be >= 1.0");if("maxFramerate"in e&&!(parseFloat(e.maxFramerate)>=0))throw new RangeError("max_framerate must be >= 0.0")}));const r=t.apply(this,arguments);if(n){const{sender:t}=r,n=t.getParameters();(!("encodings"in n)||1===n.encodings.length&&0===Object.keys(n.encodings[0]).length)&&(n.encodings=e,t.sendEncodings=e,this.setParametersPromises.push(t.setParameters(n).then((()=>{delete t.sendEncodings})).catch((()=>{delete t.sendEncodings}))))}return r})}function U(e){if("object"!=typeof e||!e.RTCRtpSender)return;const t=e.RTCRtpSender.prototype.getParameters;t&&(e.RTCRtpSender.prototype.getParameters=function(){const e=t.apply(this,arguments);return"encodings"in e||(e.encodings=[].concat(this.sendEncodings||[{}])),e})}function W(e){if("object"!=typeof e||!e.RTCPeerConnection)return;const t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then((()=>t.apply(this,arguments))).finally((()=>{this.setParametersPromises=[]})):t.apply(this,arguments)}}function q(e){if("object"!=typeof e||!e.RTCPeerConnection)return;const t=e.RTCPeerConnection.prototype.createAnswer;e.RTCPeerConnection.prototype.createAnswer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then((()=>t.apply(this,arguments))).finally((()=>{this.setParametersPromises=[]})):t.apply(this,arguments)}}function K(e){if("object"==typeof e&&e.RTCPeerConnection){if("getLocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in e.RTCPeerConnection.prototype)){const t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(e){this._localStreams||(this._localStreams=[]),this._localStreams.includes(e)||this._localStreams.push(e),e.getAudioTracks().forEach((n=>t.call(this,n,e))),e.getVideoTracks().forEach((n=>t.call(this,n,e)))},e.RTCPeerConnection.prototype.addTrack=function(e,...n){return n&&n.forEach((e=>{this._localStreams?this._localStreams.includes(e)||this._localStreams.push(e):this._localStreams=[e]})),t.apply(this,arguments)}}"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){this._localStreams||(this._localStreams=[]);const t=this._localStreams.indexOf(e);if(-1===t)return;this._localStreams.splice(t,1);const n=e.getTracks();this.getSenders().forEach((e=>{n.includes(e.track)&&this.removeTrack(e)}))})}}function G(e){if("object"==typeof e&&e.RTCPeerConnection&&("getRemoteStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),!("onaddstream"in e.RTCPeerConnection.prototype))){Object.defineProperty(e.RTCPeerConnection.prototype,"onaddstream",{get(){return this._onaddstream},set(e){this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=e),this.addEventListener("track",this._onaddstreampoly=e=>{e.streams.forEach((e=>{if(this._remoteStreams||(this._remoteStreams=[]),this._remoteStreams.includes(e))return;this._remoteStreams.push(e);const t=new Event("addstream");t.stream=e,this.dispatchEvent(t)}))})}});const t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){const e=this;return this._onaddstreampoly||this.addEventListener("track",this._onaddstreampoly=function(t){t.streams.forEach((t=>{if(e._remoteStreams||(e._remoteStreams=[]),e._remoteStreams.indexOf(t)>=0)return;e._remoteStreams.push(t);const n=new Event("addstream");n.stream=t,e.dispatchEvent(n)}))}),t.apply(e,arguments)}}}function X(e){if("object"!=typeof e||!e.RTCPeerConnection)return;const t=e.RTCPeerConnection.prototype,n=t.createOffer,r=t.createAnswer,o=t.setLocalDescription,i=t.setRemoteDescription,a=t.addIceCandidate;t.createOffer=function(e,t){const r=arguments.length>=2?arguments[2]:arguments[0],o=n.apply(this,[r]);return t?(o.then(e,t),Promise.resolve()):o},t.createAnswer=function(e,t){const n=arguments.length>=2?arguments[2]:arguments[0],o=r.apply(this,[n]);return t?(o.then(e,t),Promise.resolve()):o};let s=function(e,t,n){const r=o.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r};t.setLocalDescription=s,s=function(e,t,n){const r=i.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.setRemoteDescription=s,s=function(e,t,n){const r=a.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.addIceCandidate=s}function Y(e){const t=e&&e.navigator;if(t.mediaDevices&&t.mediaDevices.getUserMedia){const e=t.mediaDevices,n=e.getUserMedia.bind(e);t.mediaDevices.getUserMedia=e=>n(Z(e))}!t.getUserMedia&&t.mediaDevices&&t.mediaDevices.getUserMedia&&(t.getUserMedia=function(e,n,r){t.mediaDevices.getUserMedia(e).then(n,r)}.bind(t))}function Z(e){return e&&void 0!==e.video?Object.assign({},e,{video:x(e.video)}):e}function J(e){if(!e.RTCPeerConnection)return;const t=e.RTCPeerConnection;e.RTCPeerConnection=function(e,n){if(e&&e.iceServers){const t=[];for(let n=0;n<e.iceServers.length;n++){let r=e.iceServers[n];void 0===r.urls&&r.url?(w("RTCIceServer.url","RTCIceServer.urls"),r=JSON.parse(JSON.stringify(r)),r.urls=r.url,delete r.url,t.push(r)):t.push(e.iceServers[n])}e.iceServers=t}return new t(e,n)},e.RTCPeerConnection.prototype=t.prototype,"generateCertificate"in t&&Object.defineProperty(e.RTCPeerConnection,"generateCertificate",{get:()=>t.generateCertificate})}function Q(e){"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function ee(e){const t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(e){if(e){void 0!==e.offerToReceiveAudio&&(e.offerToReceiveAudio=!!e.offerToReceiveAudio);const t=this.getTransceivers().find((e=>"audio"===e.receiver.track.kind));!1===e.offerToReceiveAudio&&t?"sendrecv"===t.direction?t.setDirection?t.setDirection("sendonly"):t.direction="sendonly":"recvonly"===t.direction&&(t.setDirection?t.setDirection("inactive"):t.direction="inactive"):!0!==e.offerToReceiveAudio||t||this.addTransceiver("audio",{direction:"recvonly"}),void 0!==e.offerToReceiveVideo&&(e.offerToReceiveVideo=!!e.offerToReceiveVideo);const n=this.getTransceivers().find((e=>"video"===e.receiver.track.kind));!1===e.offerToReceiveVideo&&n?"sendrecv"===n.direction?n.setDirection?n.setDirection("sendonly"):n.direction="sendonly":"recvonly"===n.direction&&(n.setDirection?n.setDirection("inactive"):n.direction="inactive"):!0!==e.offerToReceiveVideo||n||this.addTransceiver("video",{direction:"recvonly"})}return t.apply(this,arguments)}}function te(e){"object"!=typeof e||e.AudioContext||(e.AudioContext=e.webkitAudioContext)}var ne=n(16095),re=n.n(ne);function oe(e){if(!e.RTCIceCandidate||e.RTCIceCandidate&&"foundation"in e.RTCIceCandidate.prototype)return;const t=e.RTCIceCandidate;e.RTCIceCandidate=function(e){if("object"==typeof e&&e.candidate&&0===e.candidate.indexOf("a=")&&((e=JSON.parse(JSON.stringify(e))).candidate=e.candidate.substring(2)),e.candidate&&e.candidate.length){const n=new t(e),r=re().parseCandidate(e.candidate);for(const e in r)e in n||Object.defineProperty(n,e,{value:r[e]});return n.toJSON=function(){return{candidate:n.candidate,sdpMid:n.sdpMid,sdpMLineIndex:n.sdpMLineIndex,usernameFragment:n.usernameFragment}},n}return new t(e)},e.RTCIceCandidate.prototype=t.prototype,v(e,"icecandidate",(t=>(t.candidate&&Object.defineProperty(t,"candidate",{value:new e.RTCIceCandidate(t.candidate),writable:"false"}),t)))}function ie(e){!e.RTCIceCandidate||e.RTCIceCandidate&&"relayProtocol"in e.RTCIceCandidate.prototype||v(e,"icecandidate",(e=>{if(e.candidate){const t=re().parseCandidate(e.candidate.candidate);"relay"===t.type&&(e.candidate.relayProtocol={0:"tls",1:"tcp",2:"udp"}[t.priority>>24])}return e}))}function ae(e,t){if(!e.RTCPeerConnection)return;"sctp"in e.RTCPeerConnection.prototype||Object.defineProperty(e.RTCPeerConnection.prototype,"sctp",{get(){return void 0===this._sctp?null:this._sctp}});const n=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){if(this._sctp=null,"chrome"===t.browser&&t.version>=76){const{sdpSemantics:e}=this.getConfiguration();"plan-b"===e&&Object.defineProperty(this,"sctp",{get(){return void 0===this._sctp?null:this._sctp},enumerable:!0,configurable:!0})}if(function(e){if(!e||!e.sdp)return!1;const t=re().splitSections(e.sdp);return t.shift(),t.some((e=>{const t=re().parseMLine(e);return t&&"application"===t.kind&&-1!==t.protocol.indexOf("SCTP")}))}(arguments[0])){const e=function(e){const t=e.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(null===t||t.length<2)return-1;const n=parseInt(t[1],10);return n!=n?-1:n}(arguments[0]),n=function(e){let n=65536;return"firefox"===t.browser&&(n=t.version<57?-1===e?16384:2147483637:t.version<60?57===t.version?65535:65536:2147483637),n}(e),r=function(e,n){let r=65536;"firefox"===t.browser&&57===t.version&&(r=65535);const o=re().matchPrefix(e.sdp,"a=max-message-size:");return o.length>0?r=parseInt(o[0].substring(19),10):"firefox"===t.browser&&-1!==n&&(r=2147483637),r}(arguments[0],e);let o;o=0===n&&0===r?Number.POSITIVE_INFINITY:0===n||0===r?Math.max(n,r):Math.min(n,r);const i={};Object.defineProperty(i,"maxMessageSize",{get:()=>o}),this._sctp=i}return n.apply(this,arguments)}}function se(e){if(!e.RTCPeerConnection||!("createDataChannel"in e.RTCPeerConnection.prototype))return;function t(e,t){const n=e.send;e.send=function(){const r=arguments[0],o=r.length||r.size||r.byteLength;if("open"===e.readyState&&t.sctp&&o>t.sctp.maxMessageSize)throw new TypeError("Message too large (can send a maximum of "+t.sctp.maxMessageSize+" bytes)");return n.apply(e,arguments)}}const n=e.RTCPeerConnection.prototype.createDataChannel;e.RTCPeerConnection.prototype.createDataChannel=function(){const e=n.apply(this,arguments);return t(e,this),e},v(e,"datachannel",(e=>(t(e.channel,e.target),e)))}function le(e){if(!e.RTCPeerConnection||"connectionState"in e.RTCPeerConnection.prototype)return;const t=e.RTCPeerConnection.prototype;Object.defineProperty(t,"connectionState",{get(){return{completed:"connected",checking:"connecting"}[this.iceConnectionState]||this.iceConnectionState},enumerable:!0,configurable:!0}),Object.defineProperty(t,"onconnectionstatechange",{get(){return this._onconnectionstatechange||null},set(e){this._onconnectionstatechange&&(this.removeEventListener("connectionstatechange",this._onconnectionstatechange),delete this._onconnectionstatechange),e&&this.addEventListener("connectionstatechange",this._onconnectionstatechange=e)},enumerable:!0,configurable:!0}),["setLocalDescription","setRemoteDescription"].forEach((e=>{const n=t[e];t[e]=function(){return this._connectionstatechangepoly||(this._connectionstatechangepoly=e=>{const t=e.target;if(t._lastConnectionState!==t.connectionState){t._lastConnectionState=t.connectionState;const n=new Event("connectionstatechange",e);t.dispatchEvent(n)}return e},this.addEventListener("iceconnectionstatechange",this._connectionstatechangepoly)),n.apply(this,arguments)}}))}function ce(e,t){if(!e.RTCPeerConnection)return;if("chrome"===t.browser&&t.version>=71)return;if("safari"===t.browser&&t.version>=605)return;const n=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(t){if(t&&t.sdp&&-1!==t.sdp.indexOf("\na=extmap-allow-mixed")){const n=t.sdp.split("\n").filter((e=>"a=extmap-allow-mixed"!==e.trim())).join("\n");e.RTCSessionDescription&&t instanceof e.RTCSessionDescription?arguments[0]=new e.RTCSessionDescription({type:t.type,sdp:n}):t.sdp=n}return n.apply(this,arguments)}}function ue(e,t){if(!e.RTCPeerConnection||!e.RTCPeerConnection.prototype)return;const n=e.RTCPeerConnection.prototype.addIceCandidate;n&&0!==n.length&&(e.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?("chrome"===t.browser&&t.version<78||"firefox"===t.browser&&t.version<68||"safari"===t.browser)&&arguments[0]&&""===arguments[0].candidate?Promise.resolve():n.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())})}function de(e,t){if(!e.RTCPeerConnection||!e.RTCPeerConnection.prototype)return;const n=e.RTCPeerConnection.prototype.setLocalDescription;n&&0!==n.length&&(e.RTCPeerConnection.prototype.setLocalDescription=function(){let e=arguments[0]||{};if("object"!=typeof e||e.type&&e.sdp)return n.apply(this,arguments);if(e={type:e.type,sdp:e.sdp},!e.type)switch(this.signalingState){case"stable":case"have-local-offer":case"have-remote-pranswer":e.type="offer";break;default:e.type="answer"}return e.sdp||"offer"!==e.type&&"answer"!==e.type?n.apply(this,[e]):("offer"===e.type?this.createOffer:this.createAnswer).apply(this).then((e=>n.apply(this,[e])))})}const fe=function({window:e}={},t={shimChrome:!0,shimFirefox:!0,shimSafari:!0}){const n=b,s=function(e){const t={browser:null,version:null};if(void 0===e||!e.navigator||!e.navigator.userAgent)return t.browser="Not a browser.",t;const{navigator:n}=e;if(n.userAgentData&&n.userAgentData.brands){const e=n.userAgentData.brands.find((e=>"Chromium"===e.brand));if(e)return{browser:"chrome",version:parseInt(e.version,10)}}if(n.mozGetUserMedia)t.browser="firefox",t.version=m(n.userAgent,/Firefox\/(\d+)\./,1);else if(n.webkitGetUserMedia||!1===e.isSecureContext&&e.webkitRTCPeerConnection)t.browser="chrome",t.version=m(n.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else{if(!e.RTCPeerConnection||!n.userAgent.match(/AppleWebKit\/(\d+)\./))return t.browser="Not a supported browser.",t;t.browser="safari",t.version=m(n.userAgent,/AppleWebKit\/(\d+)\./,1),t.supportsUnifiedPlan=e.RTCRtpTransceiver&&"currentDirection"in e.RTCRtpTransceiver.prototype}return t}(e),l={browserDetails:s,commonShim:a,extractVersion:m,disableLog:g,disableWarnings:y,sdp:ne};switch(s.browser){case"chrome":if(!r||!j||!t.shimChrome)return n("Chrome shim is not included in this adapter release."),l;if(null===s.version)return n("Chrome shim can not determine version, not shimming."),l;n("adapter.js shimming chrome."),l.browserShim=r,ue(e,s),de(e),C(e,s),A(e),j(e,s),k(e),I(e,s),M(e),T(e),z(e,s),oe(e),ie(e),le(e),ae(e,s),se(e),ce(e,s);break;case"firefox":if(!o||!$||!t.shimFirefox)return n("Firefox shim is not included in this adapter release."),l;n("adapter.js shimming firefox."),l.browserShim=o,ue(e,s),de(e),D(e,s),$(e,s),N(e),B(e),F(e),L(e),H(e),V(e),U(e),W(e),q(e),oe(e),le(e),ae(e,s),se(e);break;case"safari":if(!i||!t.shimSafari)return n("Safari shim is not included in this adapter release."),l;n("adapter.js shimming safari."),l.browserShim=i,ue(e,s),de(e),J(e),ee(e),X(e),K(e),G(e),Q(e),Y(e),te(e),oe(e),ie(e),ae(e,s),se(e),ce(e,s);break;default:n("Unsupported browser!")}return l}({window:"undefined"==typeof window?void 0:window}),he=fe;var pe,me,ve,ge=4294967295;function ye(e,t,n){var r=Math.floor(n/4294967296),o=n;e.setUint32(t,r),e.setUint32(t+4,o)}function be(e,t){return 4294967296*e.getInt32(t)+e.getUint32(t+4)}var we=("undefined"==typeof process||"never"!==(null===(pe=null===process||void 0===process?void 0:process.env)||void 0===pe?void 0:pe.TEXT_ENCODING))&&"undefined"!=typeof TextEncoder&&"undefined"!=typeof TextDecoder;function Ee(e){for(var t=e.length,n=0,r=0;r<t;){var o=e.charCodeAt(r++);if(4294967168&o)if(4294965248&o){if(o>=55296&&o<=56319&&r<t){var i=e.charCodeAt(r);56320==(64512&i)&&(++r,o=((1023&o)<<10)+(1023&i)+65536)}n+=4294901760&o?4:3}else n+=2;else n++}return n}var xe=we?new TextEncoder:void 0,Se=we?"undefined"!=typeof process&&"force"!==(null===(me=null===process||void 0===process?void 0:process.env)||void 0===me?void 0:me.TEXT_ENCODING)?200:0:ge,_e=(null==xe?void 0:xe.encodeInto)?function(e,t,n){xe.encodeInto(e,t.subarray(n))}:function(e,t,n){t.set(xe.encode(e),n)};function Oe(e,t,n){for(var r=t,o=r+n,i=[],a="";r<o;){var s=e[r++];if(128&s)if(192==(224&s)){var l=63&e[r++];i.push((31&s)<<6|l)}else if(224==(240&s)){l=63&e[r++];var c=63&e[r++];i.push((31&s)<<12|l<<6|c)}else if(240==(248&s)){var u=(7&s)<<18|(l=63&e[r++])<<12|(c=63&e[r++])<<6|63&e[r++];u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u)}else i.push(s);else i.push(s);i.length>=4096&&(a+=String.fromCharCode.apply(String,i),i.length=0)}return i.length>0&&(a+=String.fromCharCode.apply(String,i)),a}var Ce,Ae=we?new TextDecoder:null,ke=we?"undefined"!=typeof process&&"force"!==(null===(ve=null===process||void 0===process?void 0:process.env)||void 0===ve?void 0:ve.TEXT_DECODER)?200:0:ge,Me=function(e,t){this.type=e,this.data=t},Te=(Ce=function(e,t){return Ce=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ce(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ce(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Pe=function(e){function t(n){var r=e.call(this,n)||this,o=Object.create(t.prototype);return Object.setPrototypeOf(r,o),Object.defineProperty(r,"name",{configurable:!0,enumerable:!1,value:t.name}),r}return Te(t,e),t}(Error),Ie={type:-1,encode:function(e){var t,n,r,o;return e instanceof Date?function(e){var t,n=e.sec,r=e.nsec;if(n>=0&&r>=0&&n<=17179869183){if(0===r&&n<=4294967295){var o=new Uint8Array(4);return(t=new DataView(o.buffer)).setUint32(0,n),o}var i=n/4294967296,a=4294967295&n;return o=new Uint8Array(8),(t=new DataView(o.buffer)).setUint32(0,r<<2|3&i),t.setUint32(4,a),o}return o=new Uint8Array(12),(t=new DataView(o.buffer)).setUint32(0,r),ye(t,4,n),o}((r=1e6*((t=e.getTime())-1e3*(n=Math.floor(t/1e3))),{sec:n+(o=Math.floor(r/1e9)),nsec:r-1e9*o})):null},decode:function(e){var t=function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);switch(e.byteLength){case 4:return{sec:t.getUint32(0),nsec:0};case 8:var n=t.getUint32(0);return{sec:4294967296*(3&n)+t.getUint32(4),nsec:n>>>2};case 12:return{sec:be(t,4),nsec:t.getUint32(0)};default:throw new Pe("Unrecognized data size for timestamp (expected 4, 8, or 12): ".concat(e.length))}}(e);return new Date(1e3*t.sec+t.nsec/1e6)}},je=function(){function e(){this.builtInEncoders=[],this.builtInDecoders=[],this.encoders=[],this.decoders=[],this.register(Ie)}return e.prototype.register=function(e){var t=e.type,n=e.encode,r=e.decode;if(t>=0)this.encoders[t]=n,this.decoders[t]=r;else{var o=1+t;this.builtInEncoders[o]=n,this.builtInDecoders[o]=r}},e.prototype.tryToEncode=function(e,t){for(var n=0;n<this.builtInEncoders.length;n++)if(null!=(r=this.builtInEncoders[n])&&null!=(o=r(e,t)))return new Me(-1-n,o);for(n=0;n<this.encoders.length;n++){var r,o;if(null!=(r=this.encoders[n])&&null!=(o=r(e,t)))return new Me(n,o)}return e instanceof Me?e:null},e.prototype.decode=function(e,t,n){var r=t<0?this.builtInDecoders[-1-t]:this.decoders[t];return r?r(e,t,n):new Me(t,e)},e.defaultCodec=new e,e}();function ze(e){return e instanceof Uint8Array?e:ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e instanceof ArrayBuffer?new Uint8Array(e):Uint8Array.from(e)}function De(e){return"".concat(e<0?"-":"","0x").concat(Math.abs(e).toString(16).padStart(2,"0"))}!function(){function e(e,t,n,r,o,i,a,s){void 0===e&&(e=je.defaultCodec),void 0===t&&(t=void 0),void 0===n&&(n=100),void 0===r&&(r=2048),void 0===o&&(o=!1),void 0===i&&(i=!1),void 0===a&&(a=!1),void 0===s&&(s=!1),this.extensionCodec=e,this.context=t,this.maxDepth=n,this.initialBufferSize=r,this.sortKeys=o,this.forceFloat32=i,this.ignoreUndefined=a,this.forceIntegerToFloat=s,this.pos=0,this.view=new DataView(new ArrayBuffer(this.initialBufferSize)),this.bytes=new Uint8Array(this.view.buffer)}e.prototype.reinitializeState=function(){this.pos=0},e.prototype.encodeSharedRef=function(e){return this.reinitializeState(),this.doEncode(e,1),this.bytes.subarray(0,this.pos)},e.prototype.encode=function(e){return this.reinitializeState(),this.doEncode(e,1),this.bytes.slice(0,this.pos)},e.prototype.doEncode=function(e,t){if(t>this.maxDepth)throw new Error("Too deep objects in depth ".concat(t));null==e?this.encodeNil():"boolean"==typeof e?this.encodeBoolean(e):"number"==typeof e?this.encodeNumber(e):"string"==typeof e?this.encodeString(e):this.encodeObject(e,t)},e.prototype.ensureBufferSizeToWrite=function(e){var t=this.pos+e;this.view.byteLength<t&&this.resizeBuffer(2*t)},e.prototype.resizeBuffer=function(e){var t=new ArrayBuffer(e),n=new Uint8Array(t),r=new DataView(t);n.set(this.bytes),this.view=r,this.bytes=n},e.prototype.encodeNil=function(){this.writeU8(192)},e.prototype.encodeBoolean=function(e){!1===e?this.writeU8(194):this.writeU8(195)},e.prototype.encodeNumber=function(e){Number.isSafeInteger(e)&&!this.forceIntegerToFloat?e>=0?e<128?this.writeU8(e):e<256?(this.writeU8(204),this.writeU8(e)):e<65536?(this.writeU8(205),this.writeU16(e)):e<4294967296?(this.writeU8(206),this.writeU32(e)):(this.writeU8(207),this.writeU64(e)):e>=-32?this.writeU8(224|e+32):e>=-128?(this.writeU8(208),this.writeI8(e)):e>=-32768?(this.writeU8(209),this.writeI16(e)):e>=-2147483648?(this.writeU8(210),this.writeI32(e)):(this.writeU8(211),this.writeI64(e)):this.forceFloat32?(this.writeU8(202),this.writeF32(e)):(this.writeU8(203),this.writeF64(e))},e.prototype.writeStringHeader=function(e){if(e<32)this.writeU8(160+e);else if(e<256)this.writeU8(217),this.writeU8(e);else if(e<65536)this.writeU8(218),this.writeU16(e);else{if(!(e<4294967296))throw new Error("Too long string: ".concat(e," bytes in UTF-8"));this.writeU8(219),this.writeU32(e)}},e.prototype.encodeString=function(e){if(e.length>Se){var t=Ee(e);this.ensureBufferSizeToWrite(5+t),this.writeStringHeader(t),_e(e,this.bytes,this.pos),this.pos+=t}else t=Ee(e),this.ensureBufferSizeToWrite(5+t),this.writeStringHeader(t),function(e,t,n){for(var r=e.length,o=n,i=0;i<r;){var a=e.charCodeAt(i++);if(4294967168&a){if(4294965248&a){if(a>=55296&&a<=56319&&i<r){var s=e.charCodeAt(i);56320==(64512&s)&&(++i,a=((1023&a)<<10)+(1023&s)+65536)}4294901760&a?(t[o++]=a>>18&7|240,t[o++]=a>>12&63|128,t[o++]=a>>6&63|128):(t[o++]=a>>12&15|224,t[o++]=a>>6&63|128)}else t[o++]=a>>6&31|192;t[o++]=63&a|128}else t[o++]=a}}(e,this.bytes,this.pos),this.pos+=t},e.prototype.encodeObject=function(e,t){var n=this.extensionCodec.tryToEncode(e,this.context);if(null!=n)this.encodeExtension(n);else if(Array.isArray(e))this.encodeArray(e,t);else if(ArrayBuffer.isView(e))this.encodeBinary(e);else{if("object"!=typeof e)throw new Error("Unrecognized object: ".concat(Object.prototype.toString.apply(e)));this.encodeMap(e,t)}},e.prototype.encodeBinary=function(e){var t=e.byteLength;if(t<256)this.writeU8(196),this.writeU8(t);else if(t<65536)this.writeU8(197),this.writeU16(t);else{if(!(t<4294967296))throw new Error("Too large binary: ".concat(t));this.writeU8(198),this.writeU32(t)}var n=ze(e);this.writeU8a(n)},e.prototype.encodeArray=function(e,t){var n=e.length;if(n<16)this.writeU8(144+n);else if(n<65536)this.writeU8(220),this.writeU16(n);else{if(!(n<4294967296))throw new Error("Too large array: ".concat(n));this.writeU8(221),this.writeU32(n)}for(var r=0,o=e;r<o.length;r++){var i=o[r];this.doEncode(i,t+1)}},e.prototype.countWithoutUndefined=function(e,t){for(var n=0,r=0,o=t;r<o.length;r++)void 0!==e[o[r]]&&n++;return n},e.prototype.encodeMap=function(e,t){var n=Object.keys(e);this.sortKeys&&n.sort();var r=this.ignoreUndefined?this.countWithoutUndefined(e,n):n.length;if(r<16)this.writeU8(128+r);else if(r<65536)this.writeU8(222),this.writeU16(r);else{if(!(r<4294967296))throw new Error("Too large map object: ".concat(r));this.writeU8(223),this.writeU32(r)}for(var o=0,i=n;o<i.length;o++){var a=i[o],s=e[a];this.ignoreUndefined&&void 0===s||(this.encodeString(a),this.doEncode(s,t+1))}},e.prototype.encodeExtension=function(e){var t=e.data.length;if(1===t)this.writeU8(212);else if(2===t)this.writeU8(213);else if(4===t)this.writeU8(214);else if(8===t)this.writeU8(215);else if(16===t)this.writeU8(216);else if(t<256)this.writeU8(199),this.writeU8(t);else if(t<65536)this.writeU8(200),this.writeU16(t);else{if(!(t<4294967296))throw new Error("Too large extension object: ".concat(t));this.writeU8(201),this.writeU32(t)}this.writeI8(e.type),this.writeU8a(e.data)},e.prototype.writeU8=function(e){this.ensureBufferSizeToWrite(1),this.view.setUint8(this.pos,e),this.pos++},e.prototype.writeU8a=function(e){var t=e.length;this.ensureBufferSizeToWrite(t),this.bytes.set(e,this.pos),this.pos+=t},e.prototype.writeI8=function(e){this.ensureBufferSizeToWrite(1),this.view.setInt8(this.pos,e),this.pos++},e.prototype.writeU16=function(e){this.ensureBufferSizeToWrite(2),this.view.setUint16(this.pos,e),this.pos+=2},e.prototype.writeI16=function(e){this.ensureBufferSizeToWrite(2),this.view.setInt16(this.pos,e),this.pos+=2},e.prototype.writeU32=function(e){this.ensureBufferSizeToWrite(4),this.view.setUint32(this.pos,e),this.pos+=4},e.prototype.writeI32=function(e){this.ensureBufferSizeToWrite(4),this.view.setInt32(this.pos,e),this.pos+=4},e.prototype.writeF32=function(e){this.ensureBufferSizeToWrite(4),this.view.setFloat32(this.pos,e),this.pos+=4},e.prototype.writeF64=function(e){this.ensureBufferSizeToWrite(8),this.view.setFloat64(this.pos,e),this.pos+=8},e.prototype.writeU64=function(e){this.ensureBufferSizeToWrite(8),function(e,t,n){var r=n/4294967296,o=n;e.setUint32(t,r),e.setUint32(t+4,o)}(this.view,this.pos,e),this.pos+=8},e.prototype.writeI64=function(e){this.ensureBufferSizeToWrite(8),ye(this.view,this.pos,e),this.pos+=8}}();var Re=function(){function e(e,t){void 0===e&&(e=16),void 0===t&&(t=16),this.maxKeyLength=e,this.maxLengthPerKey=t,this.hit=0,this.miss=0,this.caches=[];for(var n=0;n<this.maxKeyLength;n++)this.caches.push([])}return e.prototype.canBeCached=function(e){return e>0&&e<=this.maxKeyLength},e.prototype.find=function(e,t,n){e:for(var r=0,o=this.caches[n-1];r<o.length;r++){for(var i=o[r],a=i.bytes,s=0;s<n;s++)if(a[s]!==e[t+s])continue e;return i.str}return null},e.prototype.store=function(e,t){var n=this.caches[e.length-1],r={bytes:e,str:t};n.length>=this.maxLengthPerKey?n[Math.random()*n.length|0]=r:n.push(r)},e.prototype.decode=function(e,t,n){var r=this.find(e,t,n);if(null!=r)return this.hit++,r;this.miss++;var o=Oe(e,t,n),i=Uint8Array.prototype.slice.call(e,t,t+n);return this.store(i,o),o},e}(),Ne=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},$e=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}},Fe=function(e){return this instanceof Fe?(this.v=e,this):new Fe(e)},Le=new DataView(new ArrayBuffer(0)),Be=new Uint8Array(Le.buffer),He=function(){try{Le.getInt8(0)}catch(e){return e.constructor}throw new Error("never reached")}(),Ve=new He("Insufficient data"),Ue=new Re;function We(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}!function(){function e(e,t,n,r,o,i,a,s){void 0===e&&(e=je.defaultCodec),void 0===t&&(t=void 0),void 0===n&&(n=ge),void 0===r&&(r=ge),void 0===o&&(o=ge),void 0===i&&(i=ge),void 0===a&&(a=ge),void 0===s&&(s=Ue),this.extensionCodec=e,this.context=t,this.maxStrLength=n,this.maxBinLength=r,this.maxArrayLength=o,this.maxMapLength=i,this.maxExtLength=a,this.keyDecoder=s,this.totalPos=0,this.pos=0,this.view=Le,this.bytes=Be,this.headByte=-1,this.stack=[]}e.prototype.reinitializeState=function(){this.totalPos=0,this.headByte=-1,this.stack.length=0},e.prototype.setBuffer=function(e){this.bytes=ze(e),this.view=function(e){if(e instanceof ArrayBuffer)return new DataView(e);var t=ze(e);return new DataView(t.buffer,t.byteOffset,t.byteLength)}(this.bytes),this.pos=0},e.prototype.appendBuffer=function(e){if(-1!==this.headByte||this.hasRemaining(1)){var t=this.bytes.subarray(this.pos),n=ze(e),r=new Uint8Array(t.length+n.length);r.set(t),r.set(n,t.length),this.setBuffer(r)}else this.setBuffer(e)},e.prototype.hasRemaining=function(e){return this.view.byteLength-this.pos>=e},e.prototype.createExtraByteError=function(e){var t=this.view,n=this.pos;return new RangeError("Extra ".concat(t.byteLength-n," of ").concat(t.byteLength," byte(s) found at buffer[").concat(e,"]"))},e.prototype.decode=function(e){this.reinitializeState(),this.setBuffer(e);var t=this.doDecodeSync();if(this.hasRemaining(1))throw this.createExtraByteError(this.pos);return t},e.prototype.decodeMulti=function(e){return Ne(this,(function(t){switch(t.label){case 0:this.reinitializeState(),this.setBuffer(e),t.label=1;case 1:return this.hasRemaining(1)?[4,this.doDecodeSync()]:[3,3];case 2:return t.sent(),[3,1];case 3:return[2]}}))},e.prototype.decodeAsync=function(e){var t,n,r,o,i,a,s,l;return i=this,a=void 0,l=function(){var i,a,s,l,c,u,d,f;return Ne(this,(function(h){switch(h.label){case 0:i=!1,h.label=1;case 1:h.trys.push([1,6,7,12]),t=$e(e),h.label=2;case 2:return[4,t.next()];case 3:if((n=h.sent()).done)return[3,5];if(s=n.value,i)throw this.createExtraByteError(this.totalPos);this.appendBuffer(s);try{a=this.doDecodeSync(),i=!0}catch(e){if(!(e instanceof He))throw e}this.totalPos+=this.pos,h.label=4;case 4:return[3,2];case 5:return[3,12];case 6:return l=h.sent(),r={error:l},[3,12];case 7:return h.trys.push([7,,10,11]),n&&!n.done&&(o=t.return)?[4,o.call(t)]:[3,9];case 8:h.sent(),h.label=9;case 9:return[3,11];case 10:if(r)throw r.error;return[7];case 11:return[7];case 12:if(i){if(this.hasRemaining(1))throw this.createExtraByteError(this.totalPos);return[2,a]}throw u=(c=this).headByte,d=c.pos,f=c.totalPos,new RangeError("Insufficient data in parsing ".concat(De(u)," at ").concat(f," (").concat(d," in the current buffer)"))}}))},new((s=void 0)||(s=Promise))((function(e,t){function n(e){try{o(l.next(e))}catch(e){t(e)}}function r(e){try{o(l.throw(e))}catch(e){t(e)}}function o(t){var o;t.done?e(t.value):(o=t.value,o instanceof s?o:new s((function(e){e(o)}))).then(n,r)}o((l=l.apply(i,a||[])).next())}))},e.prototype.decodeArrayStream=function(e){return this.decodeMultiAsync(e,!0)},e.prototype.decodeStream=function(e){return this.decodeMultiAsync(e,!1)},e.prototype.decodeMultiAsync=function(e,t){return function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof Fe?Promise.resolve(n.value.v).then(l,c):u(i[0][2],n)}catch(e){u(i[0][3],e)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}(this,arguments,(function(){var n,r,o,i,a,s,l,c,u;return Ne(this,(function(d){switch(d.label){case 0:n=t,r=-1,d.label=1;case 1:d.trys.push([1,13,14,19]),o=$e(e),d.label=2;case 2:return[4,Fe(o.next())];case 3:if((i=d.sent()).done)return[3,12];if(a=i.value,t&&0===r)throw this.createExtraByteError(this.totalPos);this.appendBuffer(a),n&&(r=this.readArraySize(),n=!1,this.complete()),d.label=4;case 4:d.trys.push([4,9,,10]),d.label=5;case 5:return[4,Fe(this.doDecodeSync())];case 6:return[4,d.sent()];case 7:return d.sent(),0==--r?[3,8]:[3,5];case 8:return[3,10];case 9:if(!((s=d.sent())instanceof He))throw s;return[3,10];case 10:this.totalPos+=this.pos,d.label=11;case 11:return[3,2];case 12:return[3,19];case 13:return l=d.sent(),c={error:l},[3,19];case 14:return d.trys.push([14,,17,18]),i&&!i.done&&(u=o.return)?[4,Fe(u.call(o))]:[3,16];case 15:d.sent(),d.label=16;case 16:return[3,18];case 17:if(c)throw c.error;return[7];case 18:return[7];case 19:return[2]}}))}))},e.prototype.doDecodeSync=function(){e:for(;;){var e=this.readHeadByte(),t=void 0;if(e>=224)t=e-256;else if(e<192)if(e<128)t=e;else if(e<144){if(0!=(r=e-128)){this.pushMapState(r),this.complete();continue e}t={}}else if(e<160){if(0!=(r=e-144)){this.pushArrayState(r),this.complete();continue e}t=[]}else{var n=e-160;t=this.decodeUtf8String(n,0)}else if(192===e)t=null;else if(194===e)t=!1;else if(195===e)t=!0;else if(202===e)t=this.readF32();else if(203===e)t=this.readF64();else if(204===e)t=this.readU8();else if(205===e)t=this.readU16();else if(206===e)t=this.readU32();else if(207===e)t=this.readU64();else if(208===e)t=this.readI8();else if(209===e)t=this.readI16();else if(210===e)t=this.readI32();else if(211===e)t=this.readI64();else if(217===e)n=this.lookU8(),t=this.decodeUtf8String(n,1);else if(218===e)n=this.lookU16(),t=this.decodeUtf8String(n,2);else if(219===e)n=this.lookU32(),t=this.decodeUtf8String(n,4);else if(220===e){if(0!==(r=this.readU16())){this.pushArrayState(r),this.complete();continue e}t=[]}else if(221===e){if(0!==(r=this.readU32())){this.pushArrayState(r),this.complete();continue e}t=[]}else if(222===e){if(0!==(r=this.readU16())){this.pushMapState(r),this.complete();continue e}t={}}else if(223===e){if(0!==(r=this.readU32())){this.pushMapState(r),this.complete();continue e}t={}}else if(196===e){var r=this.lookU8();t=this.decodeBinary(r,1)}else if(197===e)r=this.lookU16(),t=this.decodeBinary(r,2);else if(198===e)r=this.lookU32(),t=this.decodeBinary(r,4);else if(212===e)t=this.decodeExtension(1,0);else if(213===e)t=this.decodeExtension(2,0);else if(214===e)t=this.decodeExtension(4,0);else if(215===e)t=this.decodeExtension(8,0);else if(216===e)t=this.decodeExtension(16,0);else if(199===e)r=this.lookU8(),t=this.decodeExtension(r,1);else if(200===e)r=this.lookU16(),t=this.decodeExtension(r,2);else{if(201!==e)throw new Pe("Unrecognized type byte: ".concat(De(e)));r=this.lookU32(),t=this.decodeExtension(r,4)}this.complete();for(var o=this.stack;o.length>0;){var i=o[o.length-1];if(0===i.type){if(i.array[i.position]=t,i.position++,i.position!==i.size)continue e;o.pop(),t=i.array}else{if(1===i.type){if(void 0,"string"!=(a=typeof t)&&"number"!==a)throw new Pe("The type of key must be string or number but "+typeof t);if("__proto__"===t)throw new Pe("The key __proto__ is not allowed");i.key=t,i.type=2;continue e}if(i.map[i.key]=t,i.readCount++,i.readCount!==i.size){i.key=null,i.type=1;continue e}o.pop(),t=i.map}}return t}var a},e.prototype.readHeadByte=function(){return-1===this.headByte&&(this.headByte=this.readU8()),this.headByte},e.prototype.complete=function(){this.headByte=-1},e.prototype.readArraySize=function(){var e=this.readHeadByte();switch(e){case 220:return this.readU16();case 221:return this.readU32();default:if(e<160)return e-144;throw new Pe("Unrecognized array type byte: ".concat(De(e)))}},e.prototype.pushMapState=function(e){if(e>this.maxMapLength)throw new Pe("Max length exceeded: map length (".concat(e,") > maxMapLengthLength (").concat(this.maxMapLength,")"));this.stack.push({type:1,size:e,key:null,readCount:0,map:{}})},e.prototype.pushArrayState=function(e){if(e>this.maxArrayLength)throw new Pe("Max length exceeded: array length (".concat(e,") > maxArrayLength (").concat(this.maxArrayLength,")"));this.stack.push({type:0,size:e,array:new Array(e),position:0})},e.prototype.decodeUtf8String=function(e,t){var n;if(e>this.maxStrLength)throw new Pe("Max length exceeded: UTF-8 byte length (".concat(e,") > maxStrLength (").concat(this.maxStrLength,")"));if(this.bytes.byteLength<this.pos+t+e)throw Ve;var r,o=this.pos+t;return r=this.stateIsMapKey()&&(null===(n=this.keyDecoder)||void 0===n?void 0:n.canBeCached(e))?this.keyDecoder.decode(this.bytes,o,e):e>ke?function(e,t,n){var r=e.subarray(t,t+n);return Ae.decode(r)}(this.bytes,o,e):Oe(this.bytes,o,e),this.pos+=t+e,r},e.prototype.stateIsMapKey=function(){return this.stack.length>0&&1===this.stack[this.stack.length-1].type},e.prototype.decodeBinary=function(e,t){if(e>this.maxBinLength)throw new Pe("Max length exceeded: bin length (".concat(e,") > maxBinLength (").concat(this.maxBinLength,")"));if(!this.hasRemaining(e+t))throw Ve;var n=this.pos+t,r=this.bytes.subarray(n,n+e);return this.pos+=t+e,r},e.prototype.decodeExtension=function(e,t){if(e>this.maxExtLength)throw new Pe("Max length exceeded: ext length (".concat(e,") > maxExtLength (").concat(this.maxExtLength,")"));var n=this.view.getInt8(this.pos+t),r=this.decodeBinary(e,t+1);return this.extensionCodec.decode(r,n,this.context)},e.prototype.lookU8=function(){return this.view.getUint8(this.pos)},e.prototype.lookU16=function(){return this.view.getUint16(this.pos)},e.prototype.lookU32=function(){return this.view.getUint32(this.pos)},e.prototype.readU8=function(){var e=this.view.getUint8(this.pos);return this.pos++,e},e.prototype.readI8=function(){var e=this.view.getInt8(this.pos);return this.pos++,e},e.prototype.readU16=function(){var e=this.view.getUint16(this.pos);return this.pos+=2,e},e.prototype.readI16=function(){var e=this.view.getInt16(this.pos);return this.pos+=2,e},e.prototype.readU32=function(){var e=this.view.getUint32(this.pos);return this.pos+=4,e},e.prototype.readI32=function(){var e=this.view.getInt32(this.pos);return this.pos+=4,e},e.prototype.readU64=function(){var e,t,n=(e=this.view,t=this.pos,4294967296*e.getUint32(t)+e.getUint32(t+4));return this.pos+=8,n},e.prototype.readI64=function(){var e=be(this.view,this.pos);return this.pos+=8,e},e.prototype.readF32=function(){var e=this.view.getFloat32(this.pos);return this.pos+=4,e},e.prototype.readF64=function(){var e=this.view.getFloat64(this.pos);return this.pos+=8,e}}();class qe{constructor(){this.chunkedMTU=16300,this._dataCount=1,this.chunk=e=>{const t=[],n=e.byteLength,r=Math.ceil(n/this.chunkedMTU);let o=0,i=0;for(;i<n;){const a=Math.min(n,i+this.chunkedMTU),s=e.slice(i,a),l={__peerData:this._dataCount,n:o,data:s,total:r};t.push(l),i=a,o++}return this._dataCount++,t}}}const Ke=he.default||he,Ge=new class{isWebRTCSupported(){return"undefined"!=typeof RTCPeerConnection}isBrowserSupported(){const e=this.getBrowser(),t=this.getVersion();return!!this.supportedBrowsers.includes(e)&&("chrome"===e?t>=this.minChromeVersion:"firefox"===e?t>=this.minFirefoxVersion:"safari"===e&&!this.isIOS&&t>=this.minSafariVersion)}getBrowser(){return Ke.browserDetails.browser}getVersion(){return Ke.browserDetails.version||0}isUnifiedPlanSupported(){const e=this.getBrowser(),t=Ke.browserDetails.version||0;if("chrome"===e&&t<this.minChromeVersion)return!1;if("firefox"===e&&t>=this.minFirefoxVersion)return!0;if(!window.RTCRtpTransceiver||!("currentDirection"in RTCRtpTransceiver.prototype))return!1;let n,r=!1;try{n=new RTCPeerConnection,n.addTransceiver("audio"),r=!0}catch(e){}finally{n&&n.close()}return r}toString(){return`Supports:\n    browser:${this.getBrowser()}\n    version:${this.getVersion()}\n    isIOS:${this.isIOS}\n    isWebRTCSupported:${this.isWebRTCSupported()}\n    isBrowserSupported:${this.isBrowserSupported()}\n    isUnifiedPlanSupported:${this.isUnifiedPlanSupported()}`}constructor(){this.isIOS="undefined"!=typeof navigator&&["iPad","iPhone","iPod"].includes(navigator.platform),this.supportedBrowsers=["firefox","chrome","safari"],this.minFirefoxVersion=59,this.minChromeVersion=72,this.minSafariVersion=605}},Xe=e=>!e||/^[A-Za-z0-9]+(?:[ _-][A-Za-z0-9]+)*$/.test(e),Ye=()=>Math.random().toString(36).slice(2),Ze={iceServers:[{urls:"stun:stun.l.google.com:19302"},{urls:["turn:eu-0.turn.peerjs.com:3478","turn:us-0.turn.peerjs.com:3478"],username:"peerjs",credential:"peerjsp"}],sdpSemantics:"unified-plan"},Je=new class extends qe{noop(){}blobToArrayBuffer(e,t){const n=new FileReader;return n.onload=function(e){e.target&&t(e.target.result)},n.readAsArrayBuffer(e),n}binaryStringToArrayBuffer(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=255&e.charCodeAt(n);return t.buffer}isSecure(){return"https:"===location.protocol}constructor(...e){super(...e),this.CLOUD_HOST="0.peerjs.com",this.CLOUD_PORT=443,this.chunkedBrowsers={Chrome:1,chrome:1},this.defaultConfig=Ze,this.browser=Ge.getBrowser(),this.browserVersion=Ge.getVersion(),this.pack=u,this.unpack=c,this.supports=function(){const e={browser:Ge.isBrowserSupported(),webRTC:Ge.isWebRTCSupported(),audioVideo:!1,data:!1,binaryBlob:!1,reliable:!1};if(!e.webRTC)return e;let t;try{let n;t=new RTCPeerConnection(Ze),e.audioVideo=!0;try{n=t.createDataChannel("_PEERJSTEST",{ordered:!0}),e.data=!0,e.reliable=!!n.ordered;try{n.binaryType="blob",e.binaryBlob=!Ge.isIOS}catch(e){}}catch(e){}finally{n&&n.close()}}catch(e){}finally{t&&t.close()}return e}(),this.validateId=Xe,this.randomToken=Ye}};var Qe,et;(et=Qe||(Qe={}))[et.Disabled=0]="Disabled",et[et.Errors=1]="Errors",et[et.Warnings=2]="Warnings",et[et.All=3]="All";var tt,nt=new class{get logLevel(){return this._logLevel}set logLevel(e){this._logLevel=e}log(...e){this._logLevel>=3&&this._print(3,...e)}warn(...e){this._logLevel>=2&&this._print(2,...e)}error(...e){this._logLevel>=1&&this._print(1,...e)}setLogFunction(e){this._print=e}_print(e,...t){const n=["PeerJS: ",...t];for(const e in n)n[e]instanceof Error&&(n[e]="("+n[e].name+") "+n[e].message);e>=3?console.log(...n):e>=2?console.warn("WARNING",...n):e>=1&&console.error("ERROR",...n)}constructor(){this._logLevel=0}},rt=Object.prototype.hasOwnProperty,ot="~";function it(){}function at(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function st(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var i=new at(n,r||e,o),a=ot?ot+t:t;return e._events[a]?e._events[a].fn?e._events[a]=[e._events[a],i]:e._events[a].push(i):(e._events[a]=i,e._eventsCount++),e}function lt(e,t){0==--e._eventsCount?e._events=new it:delete e._events[t]}function ct(){this._events=new it,this._eventsCount=0}Object.create&&(it.prototype=Object.create(null),(new it).__proto__||(ot=!1)),ct.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)rt.call(e,t)&&n.push(ot?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},ct.prototype.listeners=function(e){var t=ot?ot+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,i=new Array(o);r<o;r++)i[r]=n[r].fn;return i},ct.prototype.listenerCount=function(e){var t=ot?ot+e:e,n=this._events[t];return n?n.fn?1:n.length:0},ct.prototype.emit=function(e,t,n,r,o,i){var a=ot?ot+e:e;if(!this._events[a])return!1;var s,l,c=this._events[a],u=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),u){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,r),!0;case 5:return c.fn.call(c.context,t,n,r,o),!0;case 6:return c.fn.call(c.context,t,n,r,o,i),!0}for(l=1,s=new Array(u-1);l<u;l++)s[l-1]=arguments[l];c.fn.apply(c.context,s)}else{var d,f=c.length;for(l=0;l<f;l++)switch(c[l].once&&this.removeListener(e,c[l].fn,void 0,!0),u){case 1:c[l].fn.call(c[l].context);break;case 2:c[l].fn.call(c[l].context,t);break;case 3:c[l].fn.call(c[l].context,t,n);break;case 4:c[l].fn.call(c[l].context,t,n,r);break;default:if(!s)for(d=1,s=new Array(u-1);d<u;d++)s[d-1]=arguments[d];c[l].fn.apply(c[l].context,s)}}return!0},ct.prototype.on=function(e,t,n){return st(this,e,t,n,!1)},ct.prototype.once=function(e,t,n){return st(this,e,t,n,!0)},ct.prototype.removeListener=function(e,t,n,r){var o=ot?ot+e:e;if(!this._events[o])return this;if(!t)return lt(this,o),this;var i=this._events[o];if(i.fn)i.fn!==t||r&&!i.once||n&&i.context!==n||lt(this,o);else{for(var a=0,s=[],l=i.length;a<l;a++)(i[a].fn!==t||r&&!i[a].once||n&&i[a].context!==n)&&s.push(i[a]);s.length?this._events[o]=1===s.length?s[0]:s:lt(this,o)}return this},ct.prototype.removeAllListeners=function(e){var t;return e?(t=ot?ot+e:e,this._events[t]&&lt(this,t)):(this._events=new it,this._eventsCount=0),this},ct.prototype.off=ct.prototype.removeListener,ct.prototype.addListener=ct.prototype.on,ct.prefixed=ot,ct.EventEmitter=ct,tt=ct;var ut,dt,ft,ht,pt,mt,vt,gt,yt,bt,wt,Et,xt,St,_t,Ot={};We(Ot,"ConnectionType",(()=>ut)),We(Ot,"PeerErrorType",(()=>ft)),We(Ot,"BaseConnectionErrorType",(()=>pt)),We(Ot,"DataConnectionErrorType",(()=>vt)),We(Ot,"SerializationType",(()=>yt)),We(Ot,"SocketEventType",(()=>wt)),We(Ot,"ServerMessageType",(()=>xt)),(dt=ut||(ut={})).Data="data",dt.Media="media",(ht=ft||(ft={})).BrowserIncompatible="browser-incompatible",ht.Disconnected="disconnected",ht.InvalidID="invalid-id",ht.InvalidKey="invalid-key",ht.Network="network",ht.PeerUnavailable="peer-unavailable",ht.SslUnavailable="ssl-unavailable",ht.ServerError="server-error",ht.SocketError="socket-error",ht.SocketClosed="socket-closed",ht.UnavailableID="unavailable-id",ht.WebRTC="webrtc",(mt=pt||(pt={})).NegotiationFailed="negotiation-failed",mt.ConnectionClosed="connection-closed",(gt=vt||(vt={})).NotOpenYet="not-open-yet",gt.MessageToBig="message-too-big",(bt=yt||(yt={})).Binary="binary",bt.BinaryUTF8="binary-utf8",bt.JSON="json",bt.None="raw",(Et=wt||(wt={})).Message="message",Et.Disconnected="disconnected",Et.Error="error",Et.Close="close",(St=xt||(xt={})).Heartbeat="HEARTBEAT",St.Candidate="CANDIDATE",St.Offer="OFFER",St.Answer="ANSWER",St.Open="OPEN",St.Error="ERROR",St.IdTaken="ID-TAKEN",St.InvalidKey="INVALID-KEY",St.Leave="LEAVE",St.Expire="EXPIRE",_t=JSON.parse('{"name":"peerjs","version":"1.5.4","keywords":["peerjs","webrtc","p2p","rtc"],"description":"PeerJS client","homepage":"https://peerjs.com","bugs":{"url":"https://github.com/peers/peerjs/issues"},"repository":{"type":"git","url":"https://github.com/peers/peerjs"},"license":"MIT","contributors":["Michelle Bu <michelle@michellebu.com>","afrokick <devbyru@gmail.com>","ericz <really.ez@gmail.com>","Jairo <kidandcat@gmail.com>","Jonas Gloning <34194370+jonasgloning@users.noreply.github.com>","Jairo Caro-Accino Viciana <jairo@galax.be>","Carlos Caballero <carlos.caballero.gonzalez@gmail.com>","hc <hheennrryy@gmail.com>","Muhammad Asif <capripio@gmail.com>","PrashoonB <prashoonbhattacharjee@gmail.com>","Harsh Bardhan Mishra <47351025+HarshCasper@users.noreply.github.com>","akotynski <aleksanderkotbury@gmail.com>","lmb <i@lmb.io>","Jairooo <jairocaro@msn.com>","Moritz Stückler <moritz.stueckler@gmail.com>","Simon <crydotsnakegithub@gmail.com>","Denis Lukov <denismassters@gmail.com>","Philipp Hancke <fippo@andyet.net>","Hans Oksendahl <hansoksendahl@gmail.com>","Jess <jessachandler@gmail.com>","khankuan <khankuan@gmail.com>","DUODVK <kurmanov.work@gmail.com>","XiZhao <kwang1imsa@gmail.com>","Matthias Lohr <matthias@lohr.me>","=frank tree <=frnktrb@googlemail.com>","Andre Eckardt <aeckardt@outlook.com>","Chris Cowan <agentme49@gmail.com>","Alex Chuev <alex@chuev.com>","alxnull <alxnull@e.mail.de>","Yemel Jardi <angel.jardi@gmail.com>","Ben Parnell <benjaminparnell.94@gmail.com>","Benny Lichtner <bennlich@gmail.com>","fresheneesz <bitetrudpublic@gmail.com>","bob.barstead@exaptive.com <bob.barstead@exaptive.com>","chandika <chandika@gmail.com>","emersion <contact@emersion.fr>","Christopher Van <cvan@users.noreply.github.com>","eddieherm <edhermoso@gmail.com>","Eduardo Pinho <enet4mikeenet@gmail.com>","Evandro Zanatta <ezanatta@tray.net.br>","Gardner Bickford <gardner@users.noreply.github.com>","Gian Luca <gianluca.cecchi@cynny.com>","PatrickJS <github@gdi2290.com>","jonnyf <github@jonathanfoss.co.uk>","Hizkia Felix <hizkifw@gmail.com>","Hristo Oskov <hristo.oskov@gmail.com>","Isaac Madwed <i.madwed@gmail.com>","Ilya Konanykhin <ilya.konanykhin@gmail.com>","jasonbarry <jasbarry@me.com>","Jonathan Burke <jonathan.burke.1311@googlemail.com>","Josh Hamit <josh.hamit@gmail.com>","Jordan Austin <jrax86@gmail.com>","Joel Wetzell <jwetzell@yahoo.com>","xizhao <kevin.wang@cloudera.com>","Alberto Torres <kungfoobar@gmail.com>","Jonathan Mayol <mayoljonathan@gmail.com>","Jefferson Felix <me@jsfelix.dev>","Rolf Erik Lekang <me@rolflekang.com>","Kevin Mai-Husan Chia <mhchia@users.noreply.github.com>","Pepijn de Vos <pepijndevos@gmail.com>","JooYoung <qkdlql@naver.com>","Tobias Speicher <rootcommander@gmail.com>","Steve Blaurock <sblaurock@gmail.com>","Kyrylo Shegeda <shegeda@ualberta.ca>","Diwank Singh Tomer <singh@diwank.name>","Sören Balko <Soeren.Balko@gmail.com>","Arpit Solanki <solankiarpit1997@gmail.com>","Yuki Ito <yuki@gnnk.net>","Artur Zayats <zag2art@gmail.com>"],"funding":{"type":"opencollective","url":"https://opencollective.com/peer"},"collective":{"type":"opencollective","url":"https://opencollective.com/peer"},"files":["dist/*"],"sideEffects":["lib/global.ts","lib/supports.ts"],"main":"dist/bundler.cjs","module":"dist/bundler.mjs","browser-minified":"dist/peerjs.min.js","browser-unminified":"dist/peerjs.js","browser-minified-msgpack":"dist/serializer.msgpack.mjs","types":"dist/types.d.ts","engines":{"node":">= 14"},"targets":{"types":{"source":"lib/exports.ts"},"main":{"source":"lib/exports.ts","sourceMap":{"inlineSources":true}},"module":{"source":"lib/exports.ts","includeNodeModules":["eventemitter3"],"sourceMap":{"inlineSources":true}},"browser-minified":{"context":"browser","outputFormat":"global","optimize":true,"engines":{"browsers":"chrome >= 83, edge >= 83, firefox >= 80, safari >= 15"},"source":"lib/global.ts"},"browser-unminified":{"context":"browser","outputFormat":"global","optimize":false,"engines":{"browsers":"chrome >= 83, edge >= 83, firefox >= 80, safari >= 15"},"source":"lib/global.ts"},"browser-minified-msgpack":{"context":"browser","outputFormat":"esmodule","isLibrary":true,"optimize":true,"engines":{"browsers":"chrome >= 83, edge >= 83, firefox >= 102, safari >= 15"},"source":"lib/dataconnection/StreamConnection/MsgPack.ts"}},"scripts":{"contributors":"git-authors-cli --print=false && prettier --write package.json && git add package.json package-lock.json && git commit -m \\"chore(contributors): update and sort contributors list\\"","check":"tsc --noEmit && tsc -p e2e/tsconfig.json --noEmit","watch":"parcel watch","build":"rm -rf dist && parcel build","prepublishOnly":"npm run build","test":"jest","test:watch":"jest --watch","coverage":"jest --coverage --collectCoverageFrom=\\"./lib/**\\"","format":"prettier --write .","format:check":"prettier --check .","semantic-release":"semantic-release","e2e":"wdio run e2e/wdio.local.conf.ts","e2e:bstack":"wdio run e2e/wdio.bstack.conf.ts"},"devDependencies":{"@parcel/config-default":"^2.9.3","@parcel/packager-ts":"^2.9.3","@parcel/transformer-typescript-tsc":"^2.9.3","@parcel/transformer-typescript-types":"^2.9.3","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@swc/core":"^1.3.27","@swc/jest":"^0.2.24","@types/jasmine":"^4.3.4","@wdio/browserstack-service":"^8.11.2","@wdio/cli":"^8.11.2","@wdio/globals":"^8.11.2","@wdio/jasmine-framework":"^8.11.2","@wdio/local-runner":"^8.11.2","@wdio/spec-reporter":"^8.11.2","@wdio/types":"^8.10.4","http-server":"^14.1.1","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","mock-socket":"^9.0.0","parcel":"^2.9.3","prettier":"^3.0.0","semantic-release":"^21.0.0","ts-node":"^10.9.1","typescript":"^5.0.0","wdio-geckodriver-service":"^5.0.1"},"dependencies":{"@msgpack/msgpack":"^2.8.0","eventemitter3":"^4.0.7","peerjs-js-binarypack":"^2.1.0","webrtc-adapter":"^9.0.0"},"alias":{"process":false,"buffer":false}}');class Ct extends tt.EventEmitter{constructor(e,t,n,r,o,i=5e3){super(),this.pingInterval=i,this._disconnected=!0,this._messagesQueue=[];const a=e?"wss://":"ws://";this._baseUrl=a+t+":"+n+r+"peerjs?key="+o}start(e,t){this._id=e;const n=`${this._baseUrl}&id=${e}&token=${t}`;!this._socket&&this._disconnected&&(this._socket=new WebSocket(n+"&version="+_t.version),this._disconnected=!1,this._socket.onmessage=e=>{let t;try{t=JSON.parse(e.data),nt.log("Server message received:",t)}catch(t){return void nt.log("Invalid server message",e.data)}this.emit(wt.Message,t)},this._socket.onclose=e=>{this._disconnected||(nt.log("Socket closed.",e),this._cleanup(),this._disconnected=!0,this.emit(wt.Disconnected))},this._socket.onopen=()=>{this._disconnected||(this._sendQueuedMessages(),nt.log("Socket open"),this._scheduleHeartbeat())})}_scheduleHeartbeat(){this._wsPingTimer=setTimeout((()=>{this._sendHeartbeat()}),this.pingInterval)}_sendHeartbeat(){if(!this._wsOpen())return void nt.log("Cannot send heartbeat, because socket closed");const e=JSON.stringify({type:xt.Heartbeat});this._socket.send(e),this._scheduleHeartbeat()}_wsOpen(){return!!this._socket&&1===this._socket.readyState}_sendQueuedMessages(){const e=[...this._messagesQueue];this._messagesQueue=[];for(const t of e)this.send(t)}send(e){if(this._disconnected)return;if(!this._id)return void this._messagesQueue.push(e);if(!e.type)return void this.emit(wt.Error,"Invalid message");if(!this._wsOpen())return;const t=JSON.stringify(e);this._socket.send(t)}close(){this._disconnected||(this._cleanup(),this._disconnected=!0)}_cleanup(){this._socket&&(this._socket.onopen=this._socket.onmessage=this._socket.onclose=null,this._socket.close(),this._socket=void 0),clearTimeout(this._wsPingTimer)}}class At{constructor(e){this.connection=e}startConnection(e){const t=this._startPeerConnection();if(this.connection.peerConnection=t,this.connection.type===ut.Media&&e._stream&&this._addTracksToConnection(e._stream,t),e.originator){const n=this.connection,r={ordered:!!e.reliable},o=t.createDataChannel(n.label,r);n._initializeDataChannel(o),this._makeOffer()}else this.handleSDP("OFFER",e.sdp)}_startPeerConnection(){nt.log("Creating RTCPeerConnection.");const e=new RTCPeerConnection(this.connection.provider.options.config);return this._setupListeners(e),e}_setupListeners(e){const t=this.connection.peer,n=this.connection.connectionId,r=this.connection.type,o=this.connection.provider;nt.log("Listening for ICE candidates."),e.onicecandidate=e=>{e.candidate&&e.candidate.candidate&&(nt.log(`Received ICE candidates for ${t}:`,e.candidate),o.socket.send({type:xt.Candidate,payload:{candidate:e.candidate,type:r,connectionId:n},dst:t}))},e.oniceconnectionstatechange=()=>{switch(e.iceConnectionState){case"failed":nt.log("iceConnectionState is failed, closing connections to "+t),this.connection.emitError(pt.NegotiationFailed,"Negotiation of connection to "+t+" failed."),this.connection.close();break;case"closed":nt.log("iceConnectionState is closed, closing connections to "+t),this.connection.emitError(pt.ConnectionClosed,"Connection to "+t+" closed."),this.connection.close();break;case"disconnected":nt.log("iceConnectionState changed to disconnected on the connection with "+t);break;case"completed":e.onicecandidate=()=>{}}this.connection.emit("iceStateChanged",e.iceConnectionState)},nt.log("Listening for data channel"),e.ondatachannel=e=>{nt.log("Received data channel");const r=e.channel;o.getConnection(t,n)._initializeDataChannel(r)},nt.log("Listening for remote stream"),e.ontrack=e=>{nt.log("Received remote stream");const r=e.streams[0],i=o.getConnection(t,n);if(i.type===ut.Media){const e=i;this._addStreamToMediaConnection(r,e)}}}cleanup(){nt.log("Cleaning up PeerConnection to "+this.connection.peer);const e=this.connection.peerConnection;if(!e)return;this.connection.peerConnection=null,e.onicecandidate=e.oniceconnectionstatechange=e.ondatachannel=e.ontrack=()=>{};const t="closed"!==e.signalingState;let n=!1;const r=this.connection.dataChannel;r&&(n=!!r.readyState&&"closed"!==r.readyState),(t||n)&&e.close()}async _makeOffer(){const e=this.connection.peerConnection,t=this.connection.provider;try{const n=await e.createOffer(this.connection.options.constraints);nt.log("Created offer."),this.connection.options.sdpTransform&&"function"==typeof this.connection.options.sdpTransform&&(n.sdp=this.connection.options.sdpTransform(n.sdp)||n.sdp);try{await e.setLocalDescription(n),nt.log("Set localDescription:",n,`for:${this.connection.peer}`);let r={sdp:n,type:this.connection.type,connectionId:this.connection.connectionId,metadata:this.connection.metadata};if(this.connection.type===ut.Data){const e=this.connection;r={...r,label:e.label,reliable:e.reliable,serialization:e.serialization}}t.socket.send({type:xt.Offer,payload:r,dst:this.connection.peer})}catch(e){"OperationError: Failed to set local offer sdp: Called in wrong state: kHaveRemoteOffer"!=e&&(t.emitError(ft.WebRTC,e),nt.log("Failed to setLocalDescription, ",e))}}catch(e){t.emitError(ft.WebRTC,e),nt.log("Failed to createOffer, ",e)}}async _makeAnswer(){const e=this.connection.peerConnection,t=this.connection.provider;try{const n=await e.createAnswer();nt.log("Created answer."),this.connection.options.sdpTransform&&"function"==typeof this.connection.options.sdpTransform&&(n.sdp=this.connection.options.sdpTransform(n.sdp)||n.sdp);try{await e.setLocalDescription(n),nt.log("Set localDescription:",n,`for:${this.connection.peer}`),t.socket.send({type:xt.Answer,payload:{sdp:n,type:this.connection.type,connectionId:this.connection.connectionId},dst:this.connection.peer})}catch(e){t.emitError(ft.WebRTC,e),nt.log("Failed to setLocalDescription, ",e)}}catch(e){t.emitError(ft.WebRTC,e),nt.log("Failed to create answer, ",e)}}async handleSDP(e,t){t=new RTCSessionDescription(t);const n=this.connection.peerConnection,r=this.connection.provider;nt.log("Setting remote description",t);const o=this;try{await n.setRemoteDescription(t),nt.log(`Set remoteDescription:${e} for:${this.connection.peer}`),"OFFER"===e&&await o._makeAnswer()}catch(e){r.emitError(ft.WebRTC,e),nt.log("Failed to setRemoteDescription, ",e)}}async handleCandidate(e){nt.log("handleCandidate:",e);try{await this.connection.peerConnection.addIceCandidate(e),nt.log(`Added ICE candidate for:${this.connection.peer}`)}catch(e){this.connection.provider.emitError(ft.WebRTC,e),nt.log("Failed to handleCandidate, ",e)}}_addTracksToConnection(e,t){if(nt.log(`add tracks from stream ${e.id} to peer connection`),!t.addTrack)return nt.error("Your browser does't support RTCPeerConnection#addTrack. Ignored.");e.getTracks().forEach((n=>{t.addTrack(n,e)}))}_addStreamToMediaConnection(e,t){nt.log(`add stream ${e.id} to media connection ${t.connectionId}`),t.addStream(e)}}class kt extends tt.EventEmitter{emitError(e,t){nt.error("Error:",t),this.emit("error",new Mt(`${e}`,t))}}class Mt extends Error{constructor(e,t){"string"==typeof t?super(t):(super(),Object.assign(this,t)),this.type=e}}class Tt extends kt{get open(){return this._open}constructor(e,t,n){super(),this.peer=e,this.provider=t,this.options=n,this._open=!1,this.metadata=n.metadata}}class Pt extends Tt{static#e=this.ID_PREFIX="mc_";get type(){return ut.Media}get localStream(){return this._localStream}get remoteStream(){return this._remoteStream}constructor(e,t,n){super(e,t,n),this._localStream=this.options._stream,this.connectionId=this.options.connectionId||Pt.ID_PREFIX+Je.randomToken(),this._negotiator=new At(this),this._localStream&&this._negotiator.startConnection({_stream:this._localStream,originator:!0})}_initializeDataChannel(e){this.dataChannel=e,this.dataChannel.onopen=()=>{nt.log(`DC#${this.connectionId} dc connection success`),this.emit("willCloseOnRemote")},this.dataChannel.onclose=()=>{nt.log(`DC#${this.connectionId} dc closed for:`,this.peer),this.close()}}addStream(e){nt.log("Receiving stream",e),this._remoteStream=e,super.emit("stream",e)}handleMessage(e){const t=e.type,n=e.payload;switch(e.type){case xt.Answer:this._negotiator.handleSDP(t,n.sdp),this._open=!0;break;case xt.Candidate:this._negotiator.handleCandidate(n.candidate);break;default:nt.warn(`Unrecognized message type:${t} from peer:${this.peer}`)}}answer(e,t={}){if(this._localStream)return void nt.warn("Local stream already exists on this MediaConnection. Are you answering a call twice?");this._localStream=e,t&&t.sdpTransform&&(this.options.sdpTransform=t.sdpTransform),this._negotiator.startConnection({...this.options._payload,_stream:e});const n=this.provider._getMessages(this.connectionId);for(const e of n)this.handleMessage(e);this._open=!0}close(){this._negotiator&&(this._negotiator.cleanup(),this._negotiator=null),this._localStream=null,this._remoteStream=null,this.provider&&(this.provider._removeConnection(this),this.provider=null),this.options&&this.options._stream&&(this.options._stream=null),this.open&&(this._open=!1,super.emit("close"))}}class It{constructor(e){this._options=e}_buildRequest(e){const t=this._options.secure?"https":"http",{host:n,port:r,path:o,key:i}=this._options,a=new URL(`${t}://${n}:${r}${o}${i}/${e}`);return a.searchParams.set("ts",`${Date.now()}${Math.random()}`),a.searchParams.set("version",_t.version),fetch(a.href,{referrerPolicy:this._options.referrerPolicy})}async retrieveId(){try{const e=await this._buildRequest("id");if(200!==e.status)throw new Error(`Error. Status:${e.status}`);return e.text()}catch(e){nt.error("Error retrieving ID",e);let t="";throw"/"===this._options.path&&this._options.host!==Je.CLOUD_HOST&&(t=" If you passed in a `path` to your self-hosted PeerServer, you'll also need to pass in that same path when creating a new Peer."),new Error("Could not get an ID from the server."+t)}}async listAllPeers(){try{const e=await this._buildRequest("peers");if(200!==e.status){if(401===e.status){let e="";throw e=this._options.host===Je.CLOUD_HOST?"It looks like you're using the cloud server. You can email team@peerjs.com to enable peer listing for your API key.":"You need to enable `allow_discovery` on your self-hosted PeerServer to use this feature.",new Error("It doesn't look like you have permission to list peers IDs. "+e)}throw new Error(`Error. Status:${e.status}`)}return e.json()}catch(e){throw nt.error("Error retrieving list peers",e),new Error("Could not get list peers from the server."+e)}}}class jt extends Tt{static#e=this.ID_PREFIX="dc_";static#t=this.MAX_BUFFERED_AMOUNT=8388608;get type(){return ut.Data}constructor(e,t,n){super(e,t,n),this.connectionId=this.options.connectionId||jt.ID_PREFIX+Ye(),this.label=this.options.label||this.connectionId,this.reliable=!!this.options.reliable,this._negotiator=new At(this),this._negotiator.startConnection(this.options._payload||{originator:!0,reliable:this.reliable})}_initializeDataChannel(e){this.dataChannel=e,this.dataChannel.onopen=()=>{nt.log(`DC#${this.connectionId} dc connection success`),this._open=!0,this.emit("open")},this.dataChannel.onmessage=e=>{nt.log(`DC#${this.connectionId} dc onmessage:`,e.data)},this.dataChannel.onclose=()=>{nt.log(`DC#${this.connectionId} dc closed for:`,this.peer),this.close()}}close(e){e?.flush?this.send({__peerData:{type:"close"}}):(this._negotiator&&(this._negotiator.cleanup(),this._negotiator=null),this.provider&&(this.provider._removeConnection(this),this.provider=null),this.dataChannel&&(this.dataChannel.onopen=null,this.dataChannel.onmessage=null,this.dataChannel.onclose=null,this.dataChannel=null),this.open&&(this._open=!1,super.emit("close")))}send(e,t=!1){if(this.open)return this._send(e,t);this.emitError(vt.NotOpenYet,"Connection is not open. You should listen for the `open` event before sending messages.")}async handleMessage(e){const t=e.payload;switch(e.type){case xt.Answer:await this._negotiator.handleSDP(e.type,t.sdp);break;case xt.Candidate:await this._negotiator.handleCandidate(t.candidate);break;default:nt.warn("Unrecognized message type:",e.type,"from peer:",this.peer)}}}class zt extends jt{get bufferSize(){return this._bufferSize}_initializeDataChannel(e){super._initializeDataChannel(e),this.dataChannel.binaryType="arraybuffer",this.dataChannel.addEventListener("message",(e=>this._handleDataMessage(e)))}_bufferedSend(e){!this._buffering&&this._trySend(e)||(this._buffer.push(e),this._bufferSize=this._buffer.length)}_trySend(e){if(!this.open)return!1;if(this.dataChannel.bufferedAmount>jt.MAX_BUFFERED_AMOUNT)return this._buffering=!0,setTimeout((()=>{this._buffering=!1,this._tryBuffer()}),50),!1;try{this.dataChannel.send(e)}catch(e){return nt.error(`DC#:${this.connectionId} Error when sending:`,e),this._buffering=!0,this.close(),!1}return!0}_tryBuffer(){if(!this.open)return;if(0===this._buffer.length)return;const e=this._buffer[0];this._trySend(e)&&(this._buffer.shift(),this._bufferSize=this._buffer.length,this._tryBuffer())}close(e){e?.flush?this.send({__peerData:{type:"close"}}):(this._buffer=[],this._bufferSize=0,super.close())}constructor(...e){super(...e),this._buffer=[],this._bufferSize=0,this._buffering=!1}}class Dt extends zt{close(e){super.close(e),this._chunkedData={}}constructor(e,t,n){super(e,t,n),this.chunker=new qe,this.serialization=yt.Binary,this._chunkedData={}}_handleDataMessage({data:e}){const t=c(e),n=t.__peerData;if(n)return"close"===n.type?void this.close():void this._handleChunk(t);this.emit("data",t)}_handleChunk(e){const t=e.__peerData,n=this._chunkedData[t]||{data:[],count:0,total:e.total};if(n.data[e.n]=new Uint8Array(e.data),n.count++,this._chunkedData[t]=n,n.total===n.count){delete this._chunkedData[t];const e=function(e){let t=0;for(const n of e)t+=n.byteLength;const n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.byteLength;return n}(n.data);this._handleDataMessage({data:e})}}_send(e,t){const n=u(e);if(n instanceof Promise)return this._send_blob(n);!t&&n.byteLength>this.chunker.chunkedMTU?this._sendChunks(n):this._bufferedSend(n)}async _send_blob(e){const t=await e;t.byteLength>this.chunker.chunkedMTU?this._sendChunks(t):this._bufferedSend(t)}_sendChunks(e){const t=this.chunker.chunk(e);nt.log(`DC#${this.connectionId} Try to send ${t.length} chunks...`);for(const e of t)this.send(e,!0)}}class Rt extends zt{_handleDataMessage({data:e}){super.emit("data",e)}_send(e,t){this._bufferedSend(e)}constructor(...e){super(...e),this.serialization=yt.None}}class Nt extends zt{_handleDataMessage({data:e}){const t=this.parse(this.decoder.decode(e)),n=t.__peerData;n&&"close"===n.type?this.close():this.emit("data",t)}_send(e,t){const n=this.encoder.encode(this.stringify(e));n.byteLength>=Je.chunkedMTU?this.emitError(vt.MessageToBig,"Message too big for JSON channel"):this._bufferedSend(n)}constructor(...e){super(...e),this.serialization=yt.JSON,this.encoder=new TextEncoder,this.decoder=new TextDecoder,this.stringify=JSON.stringify,this.parse=JSON.parse}}class $t extends kt{static#e=this.DEFAULT_KEY="peerjs";get id(){return this._id}get options(){return this._options}get open(){return this._open}get socket(){return this._socket}get connections(){const e=Object.create(null);for(const[t,n]of this._connections)e[t]=n;return e}get destroyed(){return this._destroyed}get disconnected(){return this._disconnected}constructor(e,t){let n;super(),this._serializers={raw:Rt,json:Nt,binary:Dt,"binary-utf8":Dt,default:Dt},this._id=null,this._lastServerId=null,this._destroyed=!1,this._disconnected=!1,this._open=!1,this._connections=new Map,this._lostMessages=new Map,e&&e.constructor==Object?t=e:e&&(n=e.toString()),t={debug:0,host:Je.CLOUD_HOST,port:Je.CLOUD_PORT,path:"/",key:$t.DEFAULT_KEY,token:Je.randomToken(),config:Je.defaultConfig,referrerPolicy:"strict-origin-when-cross-origin",serializers:{},...t},this._options=t,this._serializers={...this._serializers,...this.options.serializers},"/"===this._options.host&&(this._options.host=window.location.hostname),this._options.path&&("/"!==this._options.path[0]&&(this._options.path="/"+this._options.path),"/"!==this._options.path[this._options.path.length-1]&&(this._options.path+="/")),void 0===this._options.secure&&this._options.host!==Je.CLOUD_HOST?this._options.secure=Je.isSecure():this._options.host==Je.CLOUD_HOST&&(this._options.secure=!0),this._options.logFunction&&nt.setLogFunction(this._options.logFunction),nt.logLevel=this._options.debug||0,this._api=new It(t),this._socket=this._createServerConnection(),Je.supports.audioVideo||Je.supports.data?!n||Je.validateId(n)?n?this._initialize(n):this._api.retrieveId().then((e=>this._initialize(e))).catch((e=>this._abort(ft.ServerError,e))):this._delayedAbort(ft.InvalidID,`ID "${n}" is invalid`):this._delayedAbort(ft.BrowserIncompatible,"The current browser does not support WebRTC")}_createServerConnection(){const e=new Ct(this._options.secure,this._options.host,this._options.port,this._options.path,this._options.key,this._options.pingInterval);return e.on(wt.Message,(e=>{this._handleMessage(e)})),e.on(wt.Error,(e=>{this._abort(ft.SocketError,e)})),e.on(wt.Disconnected,(()=>{this.disconnected||(this.emitError(ft.Network,"Lost connection to server."),this.disconnect())})),e.on(wt.Close,(()=>{this.disconnected||this._abort(ft.SocketClosed,"Underlying socket is already closed.")})),e}_initialize(e){this._id=e,this.socket.start(e,this._options.token)}_handleMessage(e){const t=e.type,n=e.payload,r=e.src;switch(t){case xt.Open:this._lastServerId=this.id,this._open=!0,this.emit("open",this.id);break;case xt.Error:this._abort(ft.ServerError,n.msg);break;case xt.IdTaken:this._abort(ft.UnavailableID,`ID "${this.id}" is taken`);break;case xt.InvalidKey:this._abort(ft.InvalidKey,`API KEY "${this._options.key}" is invalid`);break;case xt.Leave:nt.log(`Received leave message from ${r}`),this._cleanupPeer(r),this._connections.delete(r);break;case xt.Expire:this.emitError(ft.PeerUnavailable,`Could not connect to peer ${r}`);break;case xt.Offer:{const e=n.connectionId;let t=this.getConnection(r,e);if(t&&(t.close(),nt.warn(`Offer received for existing Connection ID:${e}`)),n.type===ut.Media){const o=new Pt(r,this,{connectionId:e,_payload:n,metadata:n.metadata});t=o,this._addConnection(r,t),this.emit("call",o)}else{if(n.type!==ut.Data)return void nt.warn(`Received malformed connection type:${n.type}`);{const o=new this._serializers[n.serialization](r,this,{connectionId:e,_payload:n,metadata:n.metadata,label:n.label,serialization:n.serialization,reliable:n.reliable});t=o,this._addConnection(r,t),this.emit("connection",o)}}const o=this._getMessages(e);for(const e of o)t.handleMessage(e);break}default:{if(!n)return void nt.warn(`You received a malformed message from ${r} of type ${t}`);const o=n.connectionId,i=this.getConnection(r,o);i&&i.peerConnection?i.handleMessage(e):o?this._storeMessage(o,e):nt.warn("You received an unrecognized message:",e);break}}}_storeMessage(e,t){this._lostMessages.has(e)||this._lostMessages.set(e,[]),this._lostMessages.get(e).push(t)}_getMessages(e){const t=this._lostMessages.get(e);return t?(this._lostMessages.delete(e),t):[]}connect(e,t={}){if(t={serialization:"default",...t},this.disconnected)return nt.warn("You cannot connect to a new Peer because you called .disconnect() on this Peer and ended your connection with the server. You can create a new Peer to reconnect, or call reconnect on this peer if you believe its ID to still be available."),void this.emitError(ft.Disconnected,"Cannot connect to new Peer after disconnecting from server.");const n=new this._serializers[t.serialization](e,this,t);return this._addConnection(e,n),n}call(e,t,n={}){if(this.disconnected)return nt.warn("You cannot connect to a new Peer because you called .disconnect() on this Peer and ended your connection with the server. You can create a new Peer to reconnect."),void this.emitError(ft.Disconnected,"Cannot connect to new Peer after disconnecting from server.");if(!t)return void nt.error("To call a peer, you must provide a stream from your browser's `getUserMedia`.");const r=new Pt(e,this,{...n,_stream:t});return this._addConnection(e,r),r}_addConnection(e,t){nt.log(`add connection ${t.type}:${t.connectionId} to peerId:${e}`),this._connections.has(e)||this._connections.set(e,[]),this._connections.get(e).push(t)}_removeConnection(e){const t=this._connections.get(e.peer);if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}this._lostMessages.delete(e.connectionId)}getConnection(e,t){const n=this._connections.get(e);if(!n)return null;for(const e of n)if(e.connectionId===t)return e;return null}_delayedAbort(e,t){setTimeout((()=>{this._abort(e,t)}),0)}_abort(e,t){nt.error("Aborting!"),this.emitError(e,t),this._lastServerId?this.disconnect():this.destroy()}destroy(){this.destroyed||(nt.log(`Destroy peer with ID:${this.id}`),this.disconnect(),this._cleanup(),this._destroyed=!0,this.emit("close"))}_cleanup(){for(const e of this._connections.keys())this._cleanupPeer(e),this._connections.delete(e);this.socket.removeAllListeners()}_cleanupPeer(e){const t=this._connections.get(e);if(t)for(const e of t)e.close()}disconnect(){if(this.disconnected)return;const e=this.id;nt.log(`Disconnect peer with ID:${e}`),this._disconnected=!0,this._open=!1,this.socket.close(),this._lastServerId=e,this._id=null,this.emit("disconnected",e)}reconnect(){if(this.disconnected&&!this.destroyed)nt.log(`Attempting reconnection to server with ID ${this._lastServerId}`),this._disconnected=!1,this._initialize(this._lastServerId);else{if(this.destroyed)throw new Error("This peer cannot reconnect to the server. It has already been destroyed.");if(this.disconnected||this.open)throw new Error(`Peer ${this.id} cannot reconnect because it is not disconnected from the server!`);nt.error("In a hurry? We're still trying to make the initial connection!")}}listAllPeers(e=(e=>{})){this._api.listAllPeers().then((t=>e(t))).catch((e=>this._abort(ft.ServerError,e)))}}var Ft=$t;class Lt{constructor(e){this.mediaRequested=!1,this.onVideoTrackCb=null,this.vdTrack=function(){const e=document.createElement("canvas");e.setAttribute("data-openreplay-hidden","1"),e.width=e.height=2;const t=e.getContext("2d");return null==t||t.fillRect(0,0,e.width,e.height),requestAnimationFrame((function n(){null==t||t.fillRect(0,0,e.width,e.height),requestAnimationFrame(n)})),e.captureStream(60).getTracks()[0]}(),this.stream=new MediaStream([e,this.vdTrack])}toggleVideo(){if(!this.mediaRequested)return navigator.mediaDevices.getUserMedia({video:!0}).then((e=>{const t=e.getVideoTracks()[0];if(!t)throw new Error("No video track provided");return this.stream.addTrack(t),this.stream.removeTrack(this.vdTrack),this.mediaRequested=!0,this.onVideoTrackCb&&this.onVideoTrackCb(t),!0})).catch((e=>(console.error(e),!1)));let e=!0;return this.stream.getVideoTracks().forEach((t=>{t.enabled=e=e&&!t.enabled})),Promise.resolve(e)}toggleAudio(){let e=!0;return this.stream.getAudioTracks().forEach((t=>{t.enabled=e=e&&!t.enabled})),e}onVideoTrack(e){this.onVideoTrackCb=e}stop(){this.stream.getTracks().forEach((e=>e.stop()))}}class Bt{constructor(e){this.agentName=e,this.position=[0,0],this.pScrEl=document.scrollingElement||document.documentElement,this.lastScrEl=null,this.resetLastScrEl=()=>{this.lastScrEl=null},this.handleWScroll=e=>{e.target!==this.lastScrEl&&"window"!==this.lastScrEl&&this.resetLastScrEl()},this.mouse=document.createElement("div");const t=document.createElement("div");this.mouse.innerHTML='<svg version="1.1" width="20" height="20" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" xml:space="" viewBox="8.2 4.9 11.6 18.2"><polygon fill="#FFFFFF" points="8.2,20.9 8.2,4.9 19.8,16.5 13,16.5 12.6,16.6 "></polygon><polygon fill="#FFFFFF" points="17.3,21.6 13.7,23.1 9,12 12.7,10.5 "></polygon><rect x="12.5" y="13.6" transform="matrix(0.9221 -0.3871 0.3871 0.9221 -5.7605 6.5909)" width="2" height="8"></rect><polygon points="9.2,7.3 9.2,18.5 12.2,15.6 12.6,15.5 17.4,15.5 "></polygon></svg>',this.mouse.setAttribute("data-openreplay-hidden",""),Object.assign(t.style,{position:"absolute",padding:"4px 5px",borderRadius:"4px",backgroundColor:"#394EFF",color:"white",bottom:"-20px",left:"65%",fontSize:"12px",whiteSpace:"nowrap"});const n=this.agentName?this.agentName.length>10?this.agentName.slice(0,9)+"...":this.agentName:"Agent";t.innerHTML=`<span>${n}</span>`,this.mouse.appendChild(t),Object.assign(this.mouse.style,{position:"absolute",zIndex:"999998",pointerEvents:"none",marginTop:"-1px",marginLeft:"-2px"})}mount(){document.body.appendChild(this.mouse),window.addEventListener("scroll",this.handleWScroll),window.addEventListener("resize",this.resetLastScrEl)}move(e){this.position[0]===e[0]&&this.position[1]===e[1]||this.resetLastScrEl(),this.position=e,Object.assign(this.mouse.style,{left:`${e[0]||0}px`,top:`${e[1]||0}px`})}getPosition(){return this.position}click(e){const t=document.elementFromPoint(e[0],e[1]);return t instanceof HTMLElement?(t.click(),t.focus(),t):null}scroll(e){const[t,n]=this.position,[r,o]=e;let i=this.lastScrEl;if(i instanceof Element)return i.scrollLeft+=r,void(i.scrollTop+=o);if("window"!==i){for(i=document.elementFromPoint(t-this.pScrEl.scrollLeft,n-this.pScrEl.scrollTop);i;){if(i.scrollHeight>i.clientHeight||i.scrollWidth>i.clientWidth){const e=getComputedStyle(i);if(e.overflow.indexOf("scroll")>=0||e.overflow.indexOf("auto")>=0){const e=i.scrollLeft,t=i.scrollTop;if(i.scrollLeft+=r,i.scrollTop+=o,e!==i.scrollLeft||t!==i.scrollTop)return void(this.lastScrEl=i)}}i=i.parentElement}window.scroll(this.pScrEl.scrollLeft+r,this.pScrEl.scrollTop+o),this.lastScrEl="window"}else window.scroll(this.pScrEl.scrollLeft+r,this.pScrEl.scrollTop+o)}remove(){this.mouse.parentElement&&document.body.removeChild(this.mouse),window.removeEventListener("scroll",this.handleWScroll),window.removeEventListener("resize",this.resetLastScrEl)}}function Ht(e,t){if(e instanceof HTMLButtonElement)return e;const n=document.createElement("button");return Object.assign(n.style,{padding:"10px 14px",fontSize:"14px",borderRadius:"3px",border:"none",cursor:"pointer",display:"flex",alignItems:"center",textTransform:"uppercase",marginRight:"10px"},t),"string"==typeof e?n.innerHTML=e:(n.innerHTML=e.innerHTML,Object.assign(n.style,e.style)),n}class Vt{constructor(e){this.resolve=()=>{},this.reject=()=>{};const t=document.createElement("div"),n=document.createElement("div"),r=document.createElement("p");t.id="openreplay-confirm-window-wrapper",n.id="openreplay-confirm-window-popup",r.id="openreplay-confirm-window-p",r.innerText=e.text;const o=document.createElement("div");o.id="openreplay-confirm-window-buttons";const i=Ht(e.confirmBtn,{background:"rgba(0, 167, 47, 1)",color:"white"});i.id="openreplay-confirm-window-confirm-btn";const a=Ht(e.declineBtn,{background:"#FFE9E9",color:"#CC0000"});a.id="openreplay-confirm-window-decline-btn",o.appendChild(i),o.appendChild(a),n.appendChild(r),n.appendChild(o),Object.assign(o.style,{marginTop:"10px",display:"flex",alignItems:"center",backgroundColor:"white",padding:"10px",boxShadow:"0px 0px 3.99778px 1.99889px rgba(0, 0, 0, 0.1)",borderRadius:"6px"}),Object.assign(n.style,{font:"14px 'Roboto', sans-serif",position:"relative",pointerEvents:"auto",margin:"4em auto",width:"90%",maxWidth:"fit-content",padding:"20px",background:"#F3F3F3",color:"black",borderRadius:"3px",boxShadow:"0px 0px 3.99778px 1.99889px rgba(0, 0, 0, 0.1)"},e.style),Object.assign(t.style,{position:"fixed",left:0,top:0,height:"100%",width:"100%",pointerEvents:"none",zIndex:2147483646}),t.appendChild(n),t.setAttribute("data-openreplay-hidden",""),this.wrapper=t,i.onclick=()=>{this.resolve(!0)},a.onclick=()=>{this.resolve(!1)}}mount(){return document.body.appendChild(this.wrapper),new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}_remove(){this.wrapper.parentElement&&this.wrapper.parentElement.removeChild(this.wrapper)}remove(){this._remove(),this.reject("no answer")}}const Ut='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-telephone" viewBox="0 0 16 16">\n<path d="M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"/>\n</svg>'.replace('fill="#ef5261"','fill="green"'),Wt="Reject",qt=`${Ut} &#xa0 Answer`;function Kt(e,t,n,r){const o="string"==typeof e;return Object.assign({text:o?e:r,confirmBtn:t,declineBtn:n},o?void 0:e)}var Gt;!function(e){e[e.Disabled=0]="Disabled",e[e.Requesting=1]="Requesting",e[e.Enabled=2]="Enabled"}(Gt||(Gt={}));let Xt=function(e){this.value=e};const Yt="undefined"!=typeof window&&Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value");Yt&&Yt.set&&(Xt=Yt.set);class Zt{constructor(e,t,n,r){this.options=e,this.onGrand=t,this.onRelease=n,this.onBusy=r,this.mouse=null,this.status=Gt.Disabled,this.agentID=null,this.confirm=null,this.requestControl=e=>{if(this.status===Gt.Enabled)return this.onBusy(e);null===this.agentID?(setTimeout((()=>{this.status===Gt.Requesting&&this.releaseControl()}),3e4),this.agentID=e,this.status=Gt.Requesting,this.confirm=new Vt(Kt(this.options.controlConfirm,"Grant Remote Control",Wt,"Agent requested remote control. Allow?")),this.confirm.mount().then((t=>{var n;t?this.grantControl(e):(null===(n=this.confirm)||void 0===n||n.remove(),this.releaseControl(!0))})).then((()=>{var e;null===(e=this.confirm)||void 0===e||e.remove()})).catch((e=>{var t;null===(t=this.confirm)||void 0===t||t.remove(),console.error(e)}))):this.releaseControl()},this.releaseControl=(e,t)=>{this.confirm&&(this.confirm.remove(),this.confirm=null),this.resetMouse(),this.status=Gt.Disabled,t||sessionStorage.removeItem(this.options.session_control_peer_key),this.onRelease(this.agentID,e),this.agentID=null},this.grantControl=e=>{this.agentID=e,this.status=Gt.Enabled,sessionStorage.setItem(this.options.session_control_peer_key,e);const t=this.onGrand(e);this.mouse&&this.resetMouse(),this.mouse=new Bt(t),this.mouse.mount(),document.addEventListener("visibilitychange",(()=>{document.hidden?this.releaseControl(!1,!0):this.status===Gt.Disabled&&this.reconnect([e])}))},this.resetMouse=()=>{var e;null===(e=this.mouse)||void 0===e||e.remove(),this.mouse=null},this.scroll=(e,t)=>{var n;e===this.agentID&&(null===(n=this.mouse)||void 0===n||n.scroll(t))},this.move=(e,t)=>{var n;return e===this.agentID&&(null===(n=this.mouse)||void 0===n?void 0:n.move(t))},this.focused=null,this.click=(e,t)=>{e===this.agentID&&this.mouse&&(this.focused=this.mouse.click(t))},this.focus=(e,t)=>{this.focused=t},this.input=(e,t)=>{if(e===this.agentID&&this.mouse&&this.focused)if(this.focused instanceof HTMLTextAreaElement||this.focused instanceof HTMLInputElement||"INPUT"===this.focused.tagName||"TEXTAREA"===this.focused.tagName){Xt.call(this.focused,t);const e=new Event("input",{bubbles:!0});this.focused.dispatchEvent(e)}else this.focused.isContentEditable&&(this.focused.innerText=t)}}reconnect(e){const t=sessionStorage.getItem(this.options.session_control_peer_key);null!==t&&-1!==e.indexOf(t)?this.grantControl(t):sessionStorage.removeItem(this.options.session_control_peer_key)}}const Jt="__openreplay_assist_call_start_ts";class Qt{constructor(e,t){this.logError=e,this.callUITemplate=t,this.vRemote=null,this.vLocal=null,this.audioBtn=null,this.videoBtn=null,this.endCallBtn=null,this.agentNameElem=null,this.videoContainer=null,this.vPlaceholder=null,this.remoteControlContainer=null,this.remoteControlEndBtn=null,this.controlsContainer=null,this.audioContainer=null,this.localStreams=[];const n=this.iframe=document.createElement("iframe");Object.assign(n.style,{position:"fixed",zIndex:2147483646,border:"none",bottom:"50px",right:"10px",height:"200px",width:"200px"}),n.setAttribute("data-openreplay-obscured",""),n.setAttribute("data-openreplay-hidden",""),n.setAttribute("data-openreplay-ignore",""),document.body.appendChild(n);const r=n.contentDocument;if(!r)return void e("OpenReplay: CallWindow iframe document is not reachable.");const o="https://static.openreplay.com/tracker-assist/4.0.0";this.load=fetch(this.callUITemplate||o+"/index.html").then((e=>e.text())).then((e=>{n.onload=()=>{const e=r.getElementById("or-assist");setTimeout((()=>{null==e||e.classList.remove("status-connecting")}),0),this.adjustIframeSize(),n.onload=null},e=e.replace(/href="css/g,`href="${o}/css`),r.open(),r.write(e),r.close(),this.vLocal=r.getElementById("video-local"),this.vRemote=r.getElementById("video-remote"),this.videoContainer=r.getElementById("video-container"),this.audioBtn=r.getElementById("audio-btn"),this.audioBtn&&(this.audioBtn.onclick=()=>this.toggleAudio()),this.videoBtn=r.getElementById("video-btn"),this.videoBtn&&(this.videoBtn.onclick=()=>this.toggleVideo()),this.endCallBtn=r.getElementById("end-call-btn"),this.agentNameElem=r.getElementById("agent-name"),this.vPlaceholder=r.querySelector("#remote-stream p"),this.remoteControlContainer=r.getElementById("remote-control-row"),this.remoteControlEndBtn=r.getElementById("end-control-btn"),this.controlsContainer=r.getElementById("controls"),this.controlsContainer&&(this.controlsContainer.style.display="none");const t=r.getElementById("duration");if(t){const e=Number(sessionStorage.getItem(Jt))||Date.now();sessionStorage.setItem(Jt,e.toString()),this.tsInterval=setInterval((()=>{const n=~~((Date.now()-e)/1e3),r=~~(n/60),o=n-60*r;t.innerText=`${r>0?`${r}m`:""}${o<10?0:""}${o}s`}),500)}const i=r.querySelector(".drag-area");i&&function(e,t,n){t.addEventListener("pointerdown",(function(t){o=t.clientX,i=t.clientY,r=e.getBoundingClientRect(),n.addEventListener("pointermove",c,{passive:!0}),n.addEventListener("pointerup",d,{passive:!0}),n.addEventListener("pointercancel",d,{passive:!0})}),{passive:!0});let r,o,i,a,s=0,l=0;function c(e){a||(s+=e.clientX-o,l+=e.clientY-i,s=Math.min(Math.max(s,-r.left),window.innerWidth-r.right),l=Math.min(Math.max(l,-r.top),window.innerHeight-r.bottom),a=requestAnimationFrame(u))}function u(){e.style.transform="translate3d("+s+"px,"+l+"px, 0px)",a=null}function d(){n.removeEventListener("pointermove",c),n.removeEventListener("pointerup",d),n.removeEventListener("pointercancel",d),a&&(cancelAnimationFrame(a),a=null),e.style.left=r.left+s+"px",e.style.top=r.top+l+"px",e.style.transform="translate3d(0px,0px,0px)",s=l=0}}(n,i,r.documentElement),setTimeout((()=>{const e=r.getElementById("or-assist");null==e||e.classList.remove("status-connecting"),this.adjustIframeSize()}),250)}))}adjustIframeSize(){const e=this.iframe.contentDocument;e&&(this.iframe.style.height=`${e.body.scrollHeight}px`,this.iframe.style.width=`${e.body.scrollWidth}px`)}addRemoteStream(e,t){this.load.then((()=>{if(this.vRemote&&!this.vRemote.srcObject){this.vRemote.srcObject=e,this.remoteVideo=e.getVideoTracks()[0],this.remoteVideoId=t,this.vPlaceholder&&(this.vPlaceholder.innerText="Video has been paused. Click anywhere to resume."),this.checkRemoteVideoInterval&&clearInterval(this.checkRemoteVideoInterval);let n=!1;this.checkRemoteVideoInterval=setInterval((()=>{var e;const t=null===(e=this.remoteVideo)||void 0===e?void 0:e.getSettings(),r=!(!this.remoteVideo.enabled||t&&(2===t.width||0===t.frameRate));n!==r&&this.toggleRemoteVideoUI(n=r)}),1e3)}this.audioContainer||(this.audioContainer=document.createElement("div"),document.body.appendChild(this.audioContainer));const n=document.createElement("audio");n.autoplay=!0,n.style.display="none",n.srcObject=e,this.audioContainer.appendChild(n)})).catch((e=>this.logError(e)))}toggleRemoteVideoUI(e){this.load.then((()=>{this.videoContainer&&(e?this.videoContainer.classList.add("remote"):this.videoContainer.classList.remove("remote"),this.adjustIframeSize())})).catch((e=>this.logError(e)))}setLocalStreams(e){this.localStreams=e}playRemote(){this.vRemote&&this.vRemote.play()}setAssistentName(e){this.load.then((()=>{if(this.agentNameElem){const t=Array.from(e.values()).join(", "),n=t.length>20?t.substring(0,20)+"...":t;this.agentNameElem.innerText=n}})).catch((e=>this.logError(e)))}toggleAudioUI(e){this.audioBtn&&(e?this.audioBtn.classList.remove("muted"):this.audioBtn.classList.add("muted"))}toggleAudio(){let e=!1;this.localStreams.forEach((t=>{e=t.toggleAudio()||!1})),this.toggleAudioUI(e)}toggleVideoUI(e){this.videoBtn&&this.videoContainer&&(e?(this.videoContainer.classList.add("local"),this.videoBtn.classList.remove("off")):(this.videoContainer.classList.remove("local"),this.videoBtn.classList.add("off")),this.adjustIframeSize())}toggleVideo(){this.localStreams.forEach((e=>{e.toggleVideo().then((t=>{var n;null===(n=this.onToggleVideo)||void 0===n||n.call(this,{streamId:e.stream.id,enabled:t}),this.toggleVideoUI(t),this.load.then((()=>{this.vLocal&&e&&!this.vLocal.srcObject&&(this.vLocal.srcObject=e.stream)})).catch((e=>this.logError(e)))})).catch((e=>this.logError(e)))}))}showRemoteControl(e){this.load.then((()=>{this.remoteControlContainer&&(this.remoteControlContainer.style.display="flex"),this.remoteControlEndBtn&&(this.remoteControlEndBtn.onclick=e),this.adjustIframeSize()})).catch((e=>this.logError(e)))}showControls(e){this.load.then((()=>{this.controlsContainer&&(this.controlsContainer.style.display="unset"),this.endCallBtn&&(this.endCallBtn.onclick=e),this.adjustIframeSize()})).catch((e=>this.logError(e)))}hideControls(){this.controlsContainer&&(this.controlsContainer.style.display="none"),this.adjustIframeSize()}hideRemoteControl(){this.remoteControlContainer&&(this.remoteControlContainer.style.display="none"),this.adjustIframeSize()}setVideoToggleCallback(e){this.onToggleVideo=e}remove(){clearInterval(this.tsInterval),clearInterval(this.checkRemoteVideoInterval),this.audioContainer&&this.audioContainer.parentElement&&(this.audioContainer.parentElement.removeChild(this.audioContainer),this.audioContainer=null),this.iframe.parentElement&&this.iframe.parentElement.removeChild(this.iframe),sessionStorage.removeItem(Jt),this.localStreams=[]}toggleVideoStream({streamId:e,enabled:t}){this.remoteVideoId===e&&(this.remoteVideo.enabled=t,this.toggleRemoteVideoUI(t))}}class en{constructor(){this.ctx=null,this.painting=!1,this.resizeCanvas=()=>{this.canvas.width=window.innerWidth,this.canvas.height=window.innerHeight},this.lastPosition=[0,0],this.start=e=>{this.painting=!0,this.clrTmID&&clearTimeout(this.clrTmID),this.lastPosition=e},this.stop=()=>{this.painting&&(this.painting=!1,this.fadeOut())},this.move=e=>{this.ctx&&this.painting&&(this.ctx.globalAlpha=1,this.ctx.beginPath(),this.ctx.moveTo(this.lastPosition[0],this.lastPosition[1]),this.ctx.lineTo(e[0],e[1]),this.ctx.lineWidth=8,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.strokeStyle="red",this.ctx.stroke(),this.lastPosition=e)},this.clrTmID=null,this.canvas=document.createElement("canvas"),this.canvas.setAttribute("data-openreplay-hidden","1"),Object.assign(this.canvas.style,{position:"fixed",left:0,top:0,pointerEvents:"none",zIndex:2147483645})}fadeOut(){let e;const t=()=>{this.ctx&&!this.painting&&(this.ctx.globalCompositeOperation="destination-out",this.ctx.fillStyle="rgba(255, 255, 255, 0.1)",this.ctx.fillRect(0,0,this.canvas.width,this.canvas.height),this.ctx.globalCompositeOperation="source-over",e=setTimeout(t,100))};this.clrTmID=setTimeout((()=>{clearTimeout(e),this.ctx&&this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}),4e3),t()}mount(){document.body.appendChild(this.canvas),this.ctx=this.canvas.getContext("2d"),window.addEventListener("resize",this.resizeCanvas),this.resizeCanvas()}remove(){this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),window.removeEventListener("resize",this.resizeCanvas)}}var tn;!function(e){e[e.Off=0]="Off",e[e.Requested=1]="Requested",e[e.Recording=2]="Recording"}(tn||(tn={}));const nn={height:"100vh",width:"100vw",border:"2px dashed red",left:0,top:0,position:"fixed",pointerEvents:"none"};class rn{constructor(e){this.confirmOptions=e,this.status=tn.Off,this.overlayAdded=!1,this.confirm=null,this.requestRecording=(e,t,n)=>{this.isActive||(this.status=tn.Requested,this.confirm=new Vt(Kt(this.confirmOptions,"Allow Recording",Wt,"Agent requested to record activity in this browser tab.")),this.confirm.mount().then((r=>{r?(this.acceptRecording(),t(),this.recordingAgent=e):(this.rejectRecording(),n())})).then((()=>{var e;null===(e=this.confirm)||void 0===e||e.remove()})).catch((e=>{var t;null===(t=this.confirm)||void 0===t||t.remove(),console.error(e)})))},this.acceptRecording=()=>{if(!this.overlayAdded){const e=window.document.createElement("div");Object.assign(e.style,nn),e.className="or-recording-border",e.setAttribute("data-openreplay-obscured",""),e.setAttribute("data-openreplay-hidden",""),e.setAttribute("data-openreplay-ignore",""),window.document.body.appendChild(e),this.overlayAdded=!0,this.uiComponents=[e]}this.status=tn.Recording},this.stopAgentRecording=e=>{e===this.recordingAgent&&this.rejectRecording()},this.stopRecording=()=>{this.rejectRecording()},this.rejectRecording=()=>{var e,t;null===(e=this.confirm)||void 0===e||e.remove(),this.status=tn.Off,this.overlayAdded=!1,null===(t=this.uiComponents)||void 0===t||t.forEach((e=>{var t;return null===(t=e.parentElement)||void 0===t?void 0:t.removeChild(e)}))}}get isActive(){return this.status!==tn.Off}}class on{constructor(e,t,n,r,o){this.canvas=e,this.canvasId=t,this.fps=n,this.onStream=r,this.logError=o;const i=this.canvas.captureStream(this.fps);this.emitStream(i)}restart(){const e=this.canvas.captureStream(this.fps);this.stream=e,this.emitStream(e)}toggleLocal(e){const t=document.getElementById("canvas-or-testing");t&&document.body.removeChild(t);const n=document.createElement("video");n.width=520,n.height=400,n.id="canvas-or-testing",n.setAttribute("autoplay","true"),n.setAttribute("muted","true"),n.setAttribute("playsinline","true"),n.crossOrigin="anonymous",document.body.appendChild(n),n.srcObject=e,n.play(),n.addEventListener("error",(e=>{this.logError("Video error:",e)}))}emitStream(e){if(e)return this.onStream(e);this.stream?this.onStream(this.stream):this.logError("no stream for canvas",this.canvasId)}stop(){var e;null===(e=this.stream)||void 0===e||e.getTracks().forEach((e=>e.stop())),this.stream=null}}var an=n(69861);const sn=Ft.default||Ft;var ln;!function(e){e[e.Requesting=0]="Requesting",e[e.True=1]="True",e[e.False=2]="False"}(ln||(ln={}));class cn{constructor(e,t,n=!1){if(this.app=e,this.noSecureMode=n,this.version="9.0.1",this.socket=null,this.peer=null,this.canvasPeers={},this.assistDemandedRestart=!1,this.callingState=ln.False,this.remoteControl=null,this.peerReconnectTimeout=null,this.agents={},this.canvasMap=new Map,this.setCallingState=e=>{this.callingState=e},window.__OR_ASSIST_VERSION=this.version,this.options=Object.assign({session_calling_peer_key:"__openreplay_calling_peer",session_control_peer_key:"__openreplay_control_peer",config:null,serverURL:null,onCallStart:()=>{},onAgentConnect:()=>{},onRemoteControlStart:()=>{},callConfirm:{},controlConfirm:{},recordingConfirm:{},socketHost:"",compressionEnabled:!1,compressionMinBatchSize:5e3},t),this.app.options.assistSocketHost&&(this.options.socketHost=this.app.options.assistSocketHost),void 0!==document.hidden){const t=()=>this.emit("UPDATE_SESSION",{active:!document.hidden});e.attachEventListener(document,"visibilitychange",t,!1,!1)}const r=document.querySelector("title"),o=r&&new MutationObserver((()=>{this.emit("UPDATE_SESSION",{pageTitle:document.title})}));e.addOnUxtCb((e=>{this.emit("UPDATE_SESSION",{uxtId:e})})),e.attachStartCallback((()=>{this.assistDemandedRestart||(this.onStart(),o&&o.observe(r,{subtree:!0,characterData:!0,childList:!0}))})),e.attachStopCallback((()=>{this.assistDemandedRestart||(this.clean(),o&&o.disconnect())})),e.attachCommitCallback((e=>{if(this.agentsConnected){const t=e.length;if(2===t&&0===e[0]._id&&49===e[1]._id)return;if(t>this.options.compressionMinBatchSize&&this.options.compressionEnabled){const n=[];if(t>1e4){const r=Math.floor(t/2),o=e.slice(0,r),i=e.slice(r);n.push(o),n.push(i)}else n.push(e);n.forEach((e=>{const t=JSON.stringify(e),n=(new TextEncoder).encode(t);(0,an.ZI)(n,{mtime:0},((t,n)=>{t?this.emit("messages",e):this.emit("messages_gz",n)}))}))}else this.emit("messages",e)}})),e.session.attachUpdateCallback((e=>this.emit("UPDATE_SESSION",e)))}emit(e,t){this.socket&&this.socket.emit(e,{meta:{tabId:this.app.getTabId()},data:t})}get agentsConnected(){return Object.keys(this.agents).length>0}getHost(){return this.options.socketHost?this.options.socketHost:this.options.serverURL?new URL(this.options.serverURL).host:this.app.getHost()}getBasePrefixUrl(){return this.options.serverURL?new URL(this.options.serverURL).pathname:""}onStart(){var e;const t=this.app,n=t.getSessionID();let r=null,o=null,i=null,a=null,l=null;if(!n)return t.debug.error("No session ID");const c=`${t.getProjectKey()}-${n}-${this.app.getTabId()}`,u=this.socket=(0,s.connect)(this.getHost(),{path:this.getBasePrefixUrl()+"/ws-assist/socket",query:{peerId:c,identity:"session",tabId:this.app.getTabId(),sessionInfo:JSON.stringify(Object.assign({uxtId:null!==(e=this.app.getUxtId())&&void 0!==e?e:void 0,pageTitle:document.title,active:!0,assistOnly:this.app.socketMode},this.app.getSessionInfo()))},transports:["websocket"],withCredentials:!0,reconnection:!0,reconnectionAttempts:30,reconnectionDelay:1e3,reconnectionDelayMax:25e3,randomizationFactor:.5});u.onAny(((...e)=>{"messages"!==e[0]&&"UPDATE_SESSION"!==e[0]&&t.debug.log("Socket:",...e)}));const d=(e,t)=>{var n,i,a;if(e){const t=this.agents[e].onControlReleased;delete this.agents[e].onControlReleased,"function"==typeof t&&t(),this.emit("control_rejected",e)}if(null!=o&&(o.remove(),o=null),null==r||r.hideRemoteControl(),this.callingState!==ln.True&&(null==r||r.remove(),r=null),t){const t=e?null===(n=this.agents[e])||void 0===n?void 0:n.agentInfo:{};null===(a=(i=this.options).onRemoteControlDeny)||void 0===a||a.call(i,t||{})}};this.remoteControl=new Zt(this.options,(e=>{var n;return r||(r=new Qt(t.debug.error,this.options.callUITemplate)),this.remoteControl&&(null==r||r.showRemoteControl(this.remoteControl.releaseControl)),this.agents[e]=Object.assign(Object.assign({},this.agents[e]),{onControlReleased:this.options.onRemoteControlStart(null===(n=this.agents[e])||void 0===n?void 0:n.agentInfo)}),this.emit("control_granted",e),o=new en,o.mount(),v.get(e)}),((e,t)=>d(e,t)),(e=>this.emit("control_busy",e)));const f=()=>{u.emit("recording_accepted")},h=e=>{var t,n;u.emit("recording_rejected"),null===(n=(t=this.options).onRecordingDeny)||void 0===n||n.call(t,e||{})},p=new rn(this.options.recordingConfirm);function m(e,n,r){if(t.getTabId()===n.meta.tabId)return null==r?void 0:r(e,n.data)}null!==this.remoteControl&&(u.on("request_control",((e,t)=>{var n;m(e,t,null===(n=this.remoteControl)||void 0===n?void 0:n.requestControl)})),u.on("release_control",((e,t)=>{m(e,t,((e,t)=>{var n;return null===(n=this.remoteControl)||void 0===n?void 0:n.releaseControl(t)}))})),u.on("scroll",((e,t)=>{var n;return m(e,t,null===(n=this.remoteControl)||void 0===n?void 0:n.scroll)})),u.on("click",((e,t)=>{var n;return m(e,t,null===(n=this.remoteControl)||void 0===n?void 0:n.click)})),u.on("move",((e,t)=>{var n;return m(e,t,null===(n=this.remoteControl)||void 0===n?void 0:n.move)})),u.on("focus",((e,n)=>m(e,n,((e,n)=>{const r=t.nodes.getNode(n);r instanceof HTMLElement&&this.remoteControl&&this.remoteControl.focus(e,r)})))),u.on("input",((e,t)=>{var n;return m(e,t,null===(n=this.remoteControl)||void 0===n?void 0:n.input)}))),u.on("moveAnnotation",((e,t)=>m(e,t,((e,t)=>o&&o.move(t))))),u.on("startAnnotation",((e,t)=>m(e,t,((e,t)=>null==o?void 0:o.start(t))))),u.on("stopAnnotation",((e,t)=>m(e,t,null==o?void 0:o.stop))),u.on("NEW_AGENT",((e,n)=>{var r,o;this.agents[e]={onDisconnect:null===(o=(r=this.options).onAgentConnect)||void 0===o?void 0:o.call(r,n),agentInfo:n},this.app.active()&&(this.assistDemandedRestart=!0,this.app.stop(),this.app.clearBuffers(),setTimeout((()=>{this.app.start().then((()=>{this.assistDemandedRestart=!1})).then((()=>{var t;null===(t=this.remoteControl)||void 0===t||t.reconnect([e])})).catch((e=>t.debug.error(e)))}),400))})),u.on("AGENTS_CONNECTED",(e=>{e.forEach((e=>{var t,n,r;const o=null===(t=this.agents[e])||void 0===t?void 0:t.agentInfo;this.agents[e]={agentInfo:o,onDisconnect:null===(r=(n=this.options).onAgentConnect)||void 0===r?void 0:r.call(n,o)}})),this.app.active()&&(this.assistDemandedRestart=!0,this.app.stop(),setTimeout((()=>{this.app.start().then((()=>{this.assistDemandedRestart=!1})).then((()=>{var t;null===(t=this.remoteControl)||void 0===t||t.reconnect(e)})).catch((e=>t.debug.error(e)))}),400))})),u.on("AGENT_DISCONNECTED",(e=>{var t,n,r;null===(t=this.remoteControl)||void 0===t||t.releaseControl(),null===(r=null===(n=this.agents[e])||void 0===n?void 0:n.onDisconnect)||void 0===r||r.call(n),delete this.agents[e],p.stopAgentRecording(e),w(e)})),u.on("NO_AGENT",(()=>{Object.values(this.agents).forEach((e=>{var t;return null===(t=e.onDisconnect)||void 0===t?void 0:t.call(e)})),this.agents={},p.isActive&&p.stopRecording()})),u.on("call_end",(e=>{v.has(e)?w(e):t.debug.warn("Received call_end from unknown agent",e)})),u.on("_agent_name",((e,n)=>{if(t.getTabId()!==n.meta.tabId)return;const r=n.data;v.set(e,r),this.peer||_(),b()})),u.on("videofeed",((e,n)=>{if(t.getTabId()!==n.meta.tabId)return;const o=n.data;null==r||r.toggleVideoStream(o)})),u.on("request_recording",((e,n)=>{var r,o;if(t.getTabId()!==n.meta.tabId)return;const i=n.data;p.isActive?this.emit("recording_busy"):(null===(o=(r=this.options).onRecordingRequest)||void 0===o||o.call(r,JSON.parse(i)),p.requestRecording(e,f,(()=>h(i))))})),u.on("stop_recording",((e,n)=>{t.getTabId()===n.meta.tabId&&p.isActive&&p.stopAgentRecording(e)}));const v=new Map,g={},y={};function b(){null==r||r.setAssistentName(v)}function w(e){v.delete(e),0===v.size?E():b()}const E=()=>{var e;Object.values(g).forEach((e=>e.close())),Object.keys(g).forEach((e=>{delete g[e]})),Object.values(y).forEach((e=>{e.stop()})),Object.keys(y).forEach((e=>{delete y[e]})),x(),(null===(e=this.remoteControl)||void 0===e?void 0:e.status)===Gt.Disabled?(null==r||r.remove(),null==o||o.remove(),r=null,o=null):null==r||r.hideControls(),this.emit("UPDATE_SESSION",{agentIds:[],isCallActive:!1}),this.setCallingState(ln.False),sessionStorage.removeItem(this.options.session_calling_peer_key),null==l||l()},x=()=>{i&&(i.remove(),i=null,a=null)},S={host:this.getHost(),path:this.getBasePrefixUrl()+"/assist",port:"http:"===location.protocol&&this.noSecureMode?80:443,debug:2},_=()=>{this.options.config&&(S.config=this.options.config);const e=new sn(c,S);this.peer=e;let n=0;e.on("error",(e=>t.debug.warn("Peer error: ",e.type,e))),e.on("disconnected",(()=>{n<30&&(this.peerReconnectTimeout=setTimeout((()=>{this.app.active()&&!e.destroyed&&e.reconnect()}),2*Math.min(n,8)*1e3),n+=1)}));const s=()=>a||(i=new Vt(Kt(this.options.callConfirm||{text:this.options.confirmText,style:this.options.confirmStyle},qt,Wt,"You have an incoming call. Do you want to answer?")),a=i.mount().then((e=>(x(),e)))),u=()=>{this.emit("call_end"),E()},d=({enabled:e})=>{var t;return this.emit("videofeed",{streamId:null===(t=this.peer)||void 0===t?void 0:t.id,enabled:e})};e.on("call",(e=>{let n;t.debug.log("Incoming call from",e.peer),JSON.parse(sessionStorage.getItem(this.options.session_calling_peer_key)||"[]").includes(e.peer)||this.callingState===ln.True?n=Promise.resolve(!0):(this.setCallingState(ln.Requesting),n=s(),this.playNotificationSound(),setTimeout((()=>{this.callingState===ln.Requesting&&u()}),3e4)),n.then((async n=>{var i,a,s,c;if(!n)return u(),void(null===(a=(i=this.options).onCallDeny)||void 0===a||a.call(i));try{y[e.peer]||(t.debug.log("starting new stream for",e.peer),y[e.peer]=await navigator.mediaDevices.getUserMedia({audio:!0}).then((e=>{const t=e.getAudioTracks()[0];if(!t)throw new Error("No audio tracks provided");return new Lt(t)}))),g[e.peer]=e}catch(e){return t.debug.error("Audio media device request error:",e),void u()}r||(r=new Qt(t.debug.error,this.options.callUITemplate),r.setVideoToggleCallback(d)),r.showControls(u),o||(o=new en,o.mount()),r.setLocalStreams(Object.values(y)),e.on("error",(e=>{t.debug.warn("Call error:",e),u()})),e.on("stream",(t=>{null==r||r.addRemoteStream(t,e.peer);const n=()=>{null==r||r.playRemote(),document.removeEventListener("click",n)};document.addEventListener("click",n)})),y[e.peer].onVideoTrack((n=>{const r=e.peerConnection.getSenders().find((e=>{var t;return"video"===(null===(t=e.track)||void 0===t?void 0:t.kind)}));r?(t.debug.log("sender found:",r),r.replaceTrack(n)):t.debug.warn("No video sender found")})),e.answer(y[e.peer].stream),document.addEventListener("visibilitychange",(()=>{u()})),this.setCallingState(ln.True),l||(l=null===(c=(s=this.options).onCallStart)||void 0===c?void 0:c.call(s));const f=Object.keys(g);sessionStorage.setItem(this.options.session_calling_peer_key,JSON.stringify(f)),this.emit("UPDATE_SESSION",{agentIds:f,isCallActive:!0})})).catch((e=>{t.debug.log(e)}))}))},O=(e,r)=>{var o;const i=`${t.getProjectKey()}-${n}-${r}`;this.canvasPeers[r]||(this.canvasPeers[r]=new sn(i,S)),null===(o=this.canvasPeers[r])||void 0===o||o.on("error",(e=>t.debug.error(e))),Object.values(this.agents).forEach((n=>{var o;if(n.agentInfo){const i=`${n.agentInfo.peerId}-${n.agentInfo.id}-canvas`,a=null===(o=this.canvasPeers[r])||void 0===o?void 0:o.connect(i);null==a||a.on("open",(()=>{var o;if(n.agentInfo){const n=null===(o=this.canvasPeers[r])||void 0===o?void 0:o.call(i,e.clone());null==n||n.on("error",t.debug.error)}})),null==a||a.on("error",(e=>t.debug.error(e)))}else t.debug.error("Assist: cant establish canvas peer to agent, no agent info")}))};t.nodes.attachNodeCallback((e=>{const n=t.nodes.getID(e);if(n&&("canvas","canvas"===e.localName)){t.debug.log(`Creating stream for canvas ${n}`);const r=new on(e,n,30,(e=>{O(e,n)}),t.debug.error);this.canvasMap.set(n,r)}}))}playNotificationSound(){"Audio"in window&&new Audio("https://static.openreplay.com/tracker-assist/notification.mp3").play().catch((e=>{this.app.debug.warn(e)}))}clean(){var e;null===(e=this.remoteControl)||void 0===e||e.releaseControl(!1,!0),this.peerReconnectTimeout&&(clearTimeout(this.peerReconnectTimeout),this.peerReconnectTimeout=null),this.peer&&(this.peer.destroy(),this.app.debug.log("Peer destroyed")),this.socket&&(this.socket.disconnect(),this.app.debug.log("Socket disconnected"))}}function un(e){return function(t,n={}){var r;if(null===t||!(null===(r=null===navigator||void 0===navigator?void 0:navigator.mediaDevices)||void 0===r?void 0:r.getUserMedia))return;if(!t.checkRequiredVersion||!t.checkRequiredVersion("13.0.0"))return void console.warn("OpenReplay Assist: couldn't load. The minimum required version of @openreplay/tracker@13.0.0 is not met");const o=new cn(t,e,n.__DISABLE_SECURE_MODE);return t.debug.log(o),o}}},99746:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(17273);function o(){return e=>null===e?e=>(e,t)=>void 0===t?e:e.bind(t):t=>(n,o)=>(...i)=>{const a=performance.now(),s=void 0===o?n.apply(this,i):n.apply(o,i),l=performance.now()-a;return e.send(r.B2.Profiler(t,l,i.map(String).join(", "),String(s))),s}}},17273:(e,t,n)=>{"use strict";n.d(t,{B2:()=>fr,Ay:()=>pr});var r={};n.r(r),n.d(r,{AdoptedSSAddOwner:()=>De,AdoptedSSDeleteRule:()=>ze,AdoptedSSInsertRuleURLBased:()=>je,AdoptedSSRemoveOwner:()=>Re,AdoptedSSReplaceURLBased:()=>Ie,BatchMetadata:()=>Fe,CSSDeleteRule:()=>ie,CSSInsertRule:()=>oe,CSSInsertRuleURLBased:()=>ke,CanvasNode:()=>Ye,ConnectionInformation:()=>be,ConsoleLog:()=>Z,CreateDocument:()=>N,CreateElementNode:()=>$,CreateIFrameDocument:()=>Pe,CreateTextNode:()=>F,CustomEvent:()=>ee,CustomIssue:()=>Ae,Fetch:()=>ae,GraphQL:()=>et,GraphQLDeprecated:()=>pe,InputChange:()=>Ve,JSException:()=>Ne,LoadFontFace:()=>Ee,LongTask:()=>Se,Metadata:()=>re,MobX:()=>fe,MouseClick:()=>Me,MouseClickDeprecated:()=>Te,MouseMove:()=>X,MouseThrashing:()=>We,MoveNode:()=>L,NetworkRequest:()=>Be,NetworkRequestDeprecated:()=>Y,NgRx:()=>he,OTable:()=>le,PageLoadTiming:()=>J,PageRenderTiming:()=>Q,PartitionedMessage:()=>Le,PerformanceTrack:()=>me,Profiler:()=>se,Redux:()=>Je,ReduxDeprecated:()=>ue,RemoveNode:()=>B,RemoveNodeAttribute:()=>V,ResourceTiming:()=>Ke,ResourceTimingDeprecated:()=>ye,SelectionChange:()=>Ue,SetCSSDataURLBased:()=>Oe,SetInputChecked:()=>G,SetInputTarget:()=>q,SetInputValue:()=>K,SetNodeAttribute:()=>H,SetNodeAttributeDict:()=>ge,SetNodeAttributeURLBased:()=>_e,SetNodeData:()=>U,SetNodeFocus:()=>xe,SetNodeScroll:()=>W,SetPageLocation:()=>Qe,SetPageLocationDeprecated:()=>z,SetPageVisibility:()=>we,SetViewportScroll:()=>R,SetViewportSize:()=>D,StateAction:()=>ce,StringDict:()=>ve,TabChange:()=>Ge,TabData:()=>Xe,TagTrigger:()=>Ze,TechnicalInfo:()=>Ce,Timestamp:()=>j,UnbindNodes:()=>qe,UserAnonymousID:()=>ne,UserID:()=>te,Vuex:()=>de,WSChannel:()=>He,Zustand:()=>$e});var o=n(69861);class i{constructor(){this.idx=1,this.backDict={}}getKey(e){let t=!1;return this.backDict[e]||(t=!0,this.backDict[e]=this.idx++),[this.backDict[e],t]}}class a{constructor(e,t){this.app=e,this.isDictDisabled=t,this.dict=new i}sendSetAttribute(e,t,n){if(this.isDictDisabled){const r=[12,e,t,n];return this.app.send(r)}{const r=[51,e,this.applyDict(t),this.applyDict(n)];return this.app.send(r)}}applyDict(e){const[t,n]=this.dict.getKey(e);return n&&this.app.send([50,t,e]),t}clear(){this.dict=new i}}class s{constructor(e,t){this.app=e,this.startParams=t,this.conditions=[],this.hasStarted=!1,this.createConditionFromFilter=e=>{if(e.value.length){const t=c(e);if(t.type)return t}},this.durationInt=null}setConditions(e){this.conditions=e}async fetchConditions(e,t){try{const n=await fetch(`${this.app.options.ingestPoint}/v1/web/conditions/${e}`,{method:"GET",headers:{Authorization:`Bearer ${t}`}}),{conditions:r}=await n.json(),o=[];r.forEach((e=>{e.filters.forEach((t=>{let n;"fetch"===t.type?(n={type:"network_request",subConditions:[],name:e.name},t.filters.forEach((e=>{const t=this.createConditionFromFilter(e);t&&n.subConditions.push(t)}))):n=this.createConditionFromFilter(t),n&&("session_duration"===n.type&&this.processDuration(n.value[0],e.name),o.push({...n,name:e.name}))}))})),this.conditions=o}catch(e){this.app.debug.error("Critical: cannot fetch start conditions")}}trigger(e){if(!this.hasStarted)try{this.hasStarted=!0,this.app.start(this.startParams,void 0,e)}catch(e){this.app.debug.error(e)}}processMessage(e){if(!this.hasStarted)switch(e[0]){case 78:this.jsExceptionEvent(e);break;case 27:this.customEvent(e);break;case 68:this.clickEvent(e);break;case 122:this.pageLocationEvent(e);break;case 83:this.networkRequest(e)}}processFlags(e){const t=this.conditions.filter((e=>"feature_flag"===e.type));t.length&&t.forEach((t=>{const n=l[t.operator];n&&e.find((e=>n(e.key,t.value)))&&this.trigger(t.name)}))}processDuration(e,t){this.durationInt=setInterval((()=>{performance.now()>e&&this.trigger(t)}),1e3),this.app.attachStopCallback((()=>{this.durationInt&&clearInterval(this.durationInt)}))}networkRequest(e){const t=this.conditions.filter((e=>"network_request"===e.type));t.length&&t.forEach((t=>{const n=t.subConditions.filter((e=>"isAny"!==e.operator));n.length?n.every((t=>{let n;switch(t.key){case"url":n=e[3];break;case"status":n=e[6];break;case"method":n=e[2];break;case"duration":n=e[8]}const r=l[t.operator];if(r&&r(n,t.value))return!0}))&&this.trigger(t.name):0===n.length&&t.subConditions.length&&this.trigger(t.name)}))}customEvent(e){const t=this.conditions.filter((e=>"custom_event"===e.type));t.length&&t.forEach((t=>{const n=l[t.operator];n&&(n(e[1],t.value)||n(e[2],t.value))&&this.trigger(t.name)}))}clickEvent(e){const t=this.conditions.filter((e=>"click"===e.type));t.length&&t.forEach((t=>{const n=l[t.operator];n&&(n(e[3],t.value)||n(e[4],t.value))&&this.trigger(t.name)}))}pageLocationEvent(e){const t=this.conditions.filter((e=>"visited_url"===e.type));t&&t.forEach((t=>{const n=l[t.operator];n&&n(e[1],t.value)&&this.trigger(t.name)}))}jsExceptionEvent(e){const t=[e[1],e[2],e[3]],n=this.conditions.filter((e=>"exception"===e.type));n&&n.forEach((e=>{const n=l[e.operator];n&&t.some((t=>n(t,e.value)))&&this.trigger(e.name)}))}}const l={is:(e,t)=>t.some((t=>e.includes(t))),isAny:()=>!0,isNot:(e,t)=>!t.some((t=>e.includes(t))),contains:(e,t)=>t.some((t=>e.includes(t))),notContains:(e,t)=>!t.some((t=>e.includes(t))),startsWith:(e,t)=>t.some((t=>e.startsWith(t))),endsWith:(e,t)=>t.some((t=>e.endsWith(t))),greaterThan:(e,t)=>e>t,greaterOrEqual:(e,t)=>e>=t,lessOrEqual:(e,t)=>e<=t,lessThan:(e,t)=>e<t},c=e=>{const t={on:"is",notOn:"isNot",">":"greaterThan","<":"lessThan","=":"is","<=":"lessOrEqual",">=":"greaterOrEqual"},n=e=>{if(Object.keys(t).includes(e))return t[e]};let r={type:"",operator:"",value:e.value,key:""};switch(e.type){case"click":r={type:"click",operator:n(e.operator),value:e.value,key:""};break;case"location":r={type:"visited_url",operator:e.operator,value:e.value,key:""};break;case"custom":r={type:"custom_event",operator:e.operator,value:e.value,key:""};break;case"metadata":r={type:"featureFlag"===e.source?"feature_flag":e.type,operator:e.operator,value:e.value,key:""};break;case"error":r={type:"exception",operator:e.operator,value:e.value,key:""};break;case"duration":r={type:"session_duration",value:e.value[0],key:""};break;case"fetchUrl":r={type:"network_request",key:"url",operator:e.operator,value:e.value};break;case"fetchStatusCode":r={type:"network_request",key:"status",operator:n(e.operator),value:e.value};break;case"fetchMethod":r={type:"network_request",key:"method",operator:n(e.operator),value:e.value};break;case"fetchDuration":r={type:"network_request",key:"duration",operator:n(e.operator),value:e.value}}return r};class u{constructor(e){this.app=e,this.flags=[],this.storageKey="__openreplay_flags";const t=this.app.sessionStorage.getItem(this.storageKey);if(t){const e=t.split(";").filter(Boolean);this.flags=e.map((e=>JSON.parse(e)))}}getFeatureFlag(e){return this.flags.find((t=>t.key===e))}isFlagEnabled(e){return-1!==this.flags.findIndex((t=>t.key===e))}onFlagsLoad(e){this.onFlagsCb=e}async reloadFlags(e){const t=this.app.sessionStorage.getItem(this.storageKey),n={};t&&t.split(";").filter(Boolean).forEach((e=>{const t=JSON.parse(e);n[t.key]={key:t.key,value:t.value}}));const r=this.app.session.getInfo(),o=this.app.session.userInfo,i={projectID:r.projectID,userID:r.userID,metadata:r.metadata,referrer:document.referrer,os:o.userOS,device:o.userDevice,country:o.userCountry,state:o.userState,city:o.userCity,browser:o.userBrowser,persistFlags:n},a=e??this.app.session.getSessionToken(),s=await fetch(this.app.options.ingestPoint+"/v1/web/feature-flags",{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${a}`},body:JSON.stringify(i)});if(200===s.status){const e=await s.json();return this.handleFlags(e.flags)}}handleFlags(e){const t=[];e.forEach((e=>{e.is_persist&&t.push(e)}));let n="";return this.diffPersist(t).forEach((e=>{n+=`${JSON.stringify(e)};`})),this.app.sessionStorage.setItem(this.storageKey,n),this.flags=e,this.onFlagsCb?.(e)}clearPersistFlags(){this.app.sessionStorage.removeItem(this.storageKey)}diffPersist(e){const t=this.app.sessionStorage.getItem(this.storageKey);if(!t)return e;const n=t.split(";").filter(Boolean).map((e=>JSON.parse(e)));return e.filter((e=>-1===n.findIndex((t=>t.key===e.key))))}}const d={htmlmasked:"hidden",masked:"obscured"},f=!("undefined"==typeof window),h=f&&navigator.userAgent.match(/firefox|fxios/i);let p=f?Date.now()-performance.now():0;function m(){p=Date.now()-performance.now()}function v(){return p}const g=f&&performance.now?()=>Math.round(performance.now()+p):()=>Date.now(),y="repeat"in String.prototype?e=>"*".repeat(e.length):e=>e.replace(/./g,"*");function b(e){return e.trim().replace(/\s+/g," ")}function w(e){return e.startsWith("https://")||e.startsWith("http://")}const E="https://docs.openreplay.com",x={};function S(e,t,n="/"){x[e]||(console.warn(`OpenReplay: ${e} is deprecated. ${t?`Please, use ${t} instead.`:""} Visit ${E}${n} for more information.`),x[e]=!0)}function _(e){let t=e.getAttribute("data-openreplay-label");return null!==t||(t=e.getAttribute("data-asayer-label"),null!==t&&S('"data-asayer-label" attribute','"data-openreplay-label" attribute',"/")),t}function O(e,t){const n=`data-openreplay-${t}`;return!!e.hasAttribute(n)&&(d[t]&&S(`"${n}" attribute`,`"${d[t]}" attribute`,"/installation/sanitize-data"),!0)}function C(e){return e.toString(16).padStart(2,"0")}function A(e){return window.Zone&&"__symbol__"in window.Zone?window.Zone.__symbol__(e):e}function k(e){const t=A("MutationObserver");return new window[t](e)}function M(e,t,n,r){const o=A("addEventListener");try{e[o](t,n,r)}catch(e){const t=e.message;console.debug(`Openreplay: ${t}; if this error is caused by an IframeObserver, ignore it`)}}function T(e,t,n,r){const o=A("removeEventListener");try{e[o](t,n,r)}catch(e){const t=e.message;console.debug(`Openreplay: ${t}; if this error is caused by an IframeObserver, ignore it`)}}const P=new class{constructor(){this.taskQueue=[],this.isRunning=!1}addTask(e){this.taskQueue.push(e),this.runTasks()}runTasks(){if(this.isRunning||0===this.taskQueue.length)return;this.isRunning=!0;const e=()=>{if(0===this.taskQueue.length)return void(this.isRunning=!1);const t=this.taskQueue.shift();Promise.resolve(t()).then((()=>{requestAnimationFrame((()=>e()))}))};e()}};function I(e,t){const n={...e};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r],i=e[r];"object"!=typeof o||Array.isArray(o)||null===o?n[r]=o:n[r]=I(i||{},o)}return n}function j(e){return[0,e]}function z(e,t,n){return[4,e,t,n]}function D(e,t){return[5,e,t]}function R(e,t){return[6,e,t]}function N(){return[7]}function $(e,t,n,r,o){return[8,e,t,n,r,o]}function F(e,t,n){return[9,e,t,n]}function L(e,t,n){return[10,e,t,n]}function B(e){return[11,e]}function H(e,t,n){return[12,e,t,n]}function V(e,t){return[13,e,t]}function U(e,t){return[14,e,t]}function W(e,t,n){return[16,e,t,n]}function q(e,t){return[17,e,t]}function K(e,t,n){return[18,e,t,n]}function G(e,t){return[19,e,t]}function X(e,t){return[20,e,t]}function Y(e,t,n,r,o,i,a,s){return[21,e,t,n,r,o,i,a,s]}function Z(e,t){return[22,e,t]}function J(e,t,n,r,o,i,a,s,l){return[23,e,t,n,r,o,i,a,s,l]}function Q(e,t,n){return[24,e,t,n]}function ee(e,t){return[27,e,t]}function te(e){return[28,e]}function ne(e){return[29,e]}function re(e,t){return[30,e,t]}function oe(e,t,n){return[37,e,t,n]}function ie(e,t){return[38,e,t]}function ae(e,t,n,r,o,i,a){return[39,e,t,n,r,o,i,a]}function se(e,t,n,r){return[40,e,t,n,r]}function le(e,t){return[41,e,t]}function ce(e){return[42,e]}function ue(e,t,n){return[44,e,t,n]}function de(e,t){return[45,e,t]}function fe(e,t){return[46,e,t]}function he(e,t,n){return[47,e,t,n]}function pe(e,t,n,r,o){return[48,e,t,n,r,o]}function me(e,t,n,r){return[49,e,t,n,r]}function ve(e,t){return[50,e,t]}function ge(e,t,n){return[51,e,t,n]}function ye(e,t,n,r,o,i,a,s){return[53,e,t,n,r,o,i,a,s]}function be(e,t){return[54,e,t]}function we(e){return[55,e]}function Ee(e,t,n,r){return[57,e,t,n,r]}function xe(e){return[58,e]}function Se(e,t,n,r,o,i,a){return[59,e,t,n,r,o,i,a]}function _e(e,t,n,r){return[60,e,t,n,r]}function Oe(e,t,n){return[61,e,t,n]}function Ce(e,t){return[63,e,t]}function Ae(e,t){return[64,e,t]}function ke(e,t,n,r){return[67,e,t,n,r]}function Me(e,t,n,r,o,i){return[68,e,t,n,r,o,i]}function Te(e,t,n,r){return[69,e,t,n,r]}function Pe(e,t){return[70,e,t]}function Ie(e,t,n){return[71,e,t,n]}function je(e,t,n,r){return[73,e,t,n,r]}function ze(e,t){return[75,e,t]}function De(e,t){return[76,e,t]}function Re(e,t){return[77,e,t]}function Ne(e,t,n,r){return[78,e,t,n,r]}function $e(e,t){return[79,e,t]}function Fe(e,t,n,r,o){return[81,e,t,n,r,o]}function Le(e,t){return[82,e,t]}function Be(e,t,n,r,o,i,a,s,l){return[83,e,t,n,r,o,i,a,s,l]}function He(e,t,n,r,o,i){return[84,e,t,n,r,o,i]}function Ve(e,t,n,r,o,i){return[112,e,t,n,r,o,i]}function Ue(e,t,n){return[113,e,t,n]}function We(e){return[114,e]}function qe(e){return[115,e]}function Ke(e,t,n,r,o,i,a,s,l,c){return[116,e,t,n,r,o,i,a,s,l,c]}function Ge(e){return[117,e]}function Xe(e){return[118,e]}function Ye(e,t){return[119,e,t]}function Ze(e){return[120,e]}function Je(e,t,n,r){return[121,e,t,n,r]}function Qe(e,t,n,r){return[122,e,t,n,r]}function et(e,t,n,r,o){return[123,e,t,n,r,o]}const tt=f&&"performance"in window&&"memory"in performance?performance:{memory:{}},nt=f?1024*(navigator.deviceMemory||0):0,rt=tt.memory.jsHeapSizeLimit||0,ot="__or__watched_tags__",it=class{constructor(e,t,n){this.sessionStorage=e,this.errLog=t,this.onTag=n,this.intervals={},this.tags=[];const r=JSON.parse(e.getItem(ot)??"[]");this.setTags(r),this.observer=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting&&e.target){const t=e.target.__or_watcher_tagname;t&&this.onTagRendered(t),this.observer.unobserve(e.target)}}))}))}async fetchTags(e,t){return fetch(`${e}/v1/web/tags`,{method:"GET",headers:{Authorization:`Bearer ${t}`}}).then((e=>e.json())).then((({tags:e})=>{if(e&&e.length){this.setTags(e);const t=JSON.stringify(e);this.sessionStorage.setItem(ot,t||"")}})).catch((e=>this.errLog(e)))}setTags(e){this.tags=e,this.intervals={},e.forEach((e=>{this.intervals[e.id]=setInterval((()=>{const t=document.querySelectorAll(e.selector);if(t.length>0){const n=t[0];n.__or_watcher_tagname=e.id,this.observer.observe(n)}}),500)}))}onTagRendered(e){this.intervals[e]&&clearInterval(this.intervals[e]),this.onTag(e)}clear(){this.tags.forEach((e=>{clearInterval(this.intervals[e.id])})),this.tags=[],this.intervals={},this.observer.disconnect()}},at={position:"fixed",top:0,left:0,width:"100vw",height:"100vh",background:"rgba(0, 0, 0, 0.40)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:999999,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},st={display:"flex",flexDirection:"column",gap:"2rem",alignItems:"center",padding:"1.5rem",borderRadius:"2px",border:"1px solid #D9D9D9",background:"#FFF",width:"22rem"},lt={display:"flex","flex-direction":"column",gap:"unset","align-items":"center",padding:"unset",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',"border-radius":"2px",border:"1px solid #D9D9D9",background:"rgba(255, 255, 255, 0.75)",width:"22rem"},ct={fontFamily:"Verdana, sans-serif",fontSize:"1.25rem",fontStyle:"normal",fontWeight:"500",lineHeight:"1.75rem",color:"rgba(0, 0, 0, 0.85)"},ut={borderTop:"1px solid rgba(0, 0, 0, 0.06)",borderBottom:"1px solid rgba(0, 0, 0, 0.06)",padding:"1.25rem 0rem",color:"rgba(0, 0, 0, 0.85)",fontFamily:"Verdana, sans-serif",fontSize:"13px",fontStyle:"normal",fontWeight:"400",lineHeight:"auto",whiteSpace:"pre-wrap"},dt={display:"flex",padding:"0.4rem 0.9375rem",justifyContent:"center",alignItems:"center",gap:"0.625rem",borderRadius:"0.25rem",border:"1px solid #394EFF",background:"#394EFF",boxShadow:"0px 2px 0px 0px rgba(0, 0, 0, 0.04)",color:"#FFF",textAlign:"center",fontFamily:"Verdana, sans-serif",fontSize:"1rem",fontStyle:"normal",fontWeight:"500",lineHeight:"1.5rem",cursor:"pointer"},ft={fontFamily:"Verdana, sans-serif",fontSize:"13px",fontWeight:"500",lineHeight:"auto",display:"flex",justifyContent:"space-between",width:"100%",cursor:"pointer"},ht={display:"flex",flexDirection:"column",alignItems:"flex-start",gap:"0.625rem",fontSize:"13px",lineHeight:"auto"},pt={padding:"0.5rem",gap:"0.5rem",fontFamily:"Verdana, sans-serif",fontSize:"16px",fontStyle:"normal",fontWeight:"500",lineHeight:"auto",color:"white",display:"flex",alignItems:"center",width:"100%",borderRadius:"2px",background:"rgba(0, 0, 0, 0.75)",boxSizing:"border-box"},mt={boxSizing:"border-box",display:"block",width:"100%",borderBottom:"1px solid #D9D9D9",background:"#FFF",padding:"0.65rem",alignSelf:"stretch",color:"#000",fontFamily:"Verdana, sans-serif",fontStyle:"normal",fontWeight:"400"},vt={...mt,display:"flex",flexDirection:"column",alignItems:"center",gap:"0.625rem"},gt={fontSize:"1.25rem",fontWeight:"500",cursor:"pointer",color:"#394EFF"},yt={display:"flex",padding:"0.4rem 0.9375rem",justifyContent:"center",alignItems:"center",gap:"0.625rem",borderRadius:"0.25rem",border:"1px solid #394EFF",background:"#394EFF",boxShadow:"0px 2px 0px 0px rgba(0, 0, 0, 0.04)",color:"#FFF",textAlign:"center",fontFamily:"Verdana, sans-serif",fontSize:"1rem",fontStyle:"normal",fontWeight:"500",lineHeight:"1.5rem",width:"100%",boxSizing:"border-box",cursor:"pointer"},bt={marginTop:"1rem",marginBottom:"1rem",cursor:"pointer",display:"block",fontWeight:"500",fontSize:"13px!important",lineHeight:"auto"},wt={display:"flex",justifyContent:"space-between",alignItems:"center",gap:"1rem",padding:"0.5rem",width:"100%",boxSizing:"border-box"},Et={display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",borderRadius:"6.25em",outline:"1px solid #394EFF",fontSize:"13px",height:"24px",width:"24px"},xt={display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",borderRadius:"6.25em",outline:"1px solid #D2DFFF",boxShadow:"0px 2px 0px 0px rgba(0, 0, 0, 0.04)",background:"#D2DFFF",fontSize:"13px",height:"24px",width:"24px"},St={borderRadius:"0.375rem",border:"1px solid rgba(0, 0, 0, 0.06)",background:"#F5F7FF",boxShadow:"0px 2px 0px 0px rgba(0, 0, 0, 0.04)",display:"flex",flexDirection:"column",padding:"0.625rem 0.9375rem",gap:"0.5rem",alignSelf:"stretch"},_t={fontWeight:"bold"},Ot={fontSize:"13px",lineHeight:"auto"},Ct={marginRight:"0.5rem",cursor:"pointer",color:"#394EFF",textAlign:"center",fontFamily:"Verdana, sans-serif",fontSize:"13px",fontStyle:"normal",fontWeight:"500",lineHeight:"auto"},At={...Ct,display:"flex",padding:"0.25rem 0.9375rem",justifyContent:"center",alignItems:"center",gap:"0.5rem",borderRadius:"0.25rem",border:"1px solid #394EFF"},kt={display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%",boxSizing:"border-box"},Mt={border:"4px solid rgba(255, 255, 255, 0.4)",width:"16px",height:"16px",borderRadius:"50%",borderLeftColor:"#fff",animation:"spin 0.5s linear infinite"},Tt={width:1280,height:720};class Pt{constructor(e){this.app=e,this.mediaRecorder=null,this.recordedChunks=[],this.stream=null,this.recStartTs=null}async startRecording(e,t,n,r){this.recStartTs=this.app.timestamp();const o=t;try{this.stream=await navigator.mediaDevices.getUserMedia({video:!!r&&{...o,frameRate:{ideal:e}},audio:n}),this.mediaRecorder=new MediaRecorder(this.stream,{mimeType:"video/webm;codecs=vp9"}),this.recordedChunks=[],this.mediaRecorder.ondataavailable=e=>{e.data.size>0&&this.recordedChunks.push(e.data)},this.mediaRecorder.start()}catch(e){console.error(e)}}async stopRecording(){return new Promise((e=>{this.mediaRecorder&&(this.mediaRecorder.onstop=()=>{const t=new Blob(this.recordedChunks,{type:"video/webm"});e(t)},this.mediaRecorder.stop())}))}async sendToAPI(){const e=await this.stopRecording();return fetch(`${this.app.options.ingestPoint}/v1/web/uxt/upload-url`,{headers:{Authorization:`Bearer ${this.app.session.getSessionToken()}`}}).then((e=>{if(e.ok)return e.json();throw new Error("Failed to get upload url")})).then((({url:t})=>fetch(t,{method:"PUT",headers:{"Content-Type":"video/webm"},body:e}))).catch(console.error).finally((()=>{this.discard()}))}async saveToFile(e="recorded-video.webm"){const t=await this.stopRecording(),n=URL.createObjectURL(t),r=document.createElement("a");r.style.display="none",r.href=n,r.download=e,document.body.appendChild(r),r.click(),window.URL.revokeObjectURL(n),document.body.removeChild(r)}discard(){this.mediaRecorder?.stop(),this.stream?.getTracks().forEach((e=>e.stop()))}}function It(e,t,n,r,o){const i=document.createElement(e);return i.className=t,Object.assign(i.style,n),r&&(i.textContent=r),o&&(i.id=o),i}const jt="or_uxt_test_start",zt="or_uxt_task_index",Dt="or_uxt_session_id";class Rt{constructor(e,t,n,r,o,i,a,s,l){this.ingestPoint=e,this.getTimestamp=t,this.token=n,this.testId=r,this.storageKey=o,this.setStorageKey=i,this.removeStorageKey=a,this.getStorageKey=s,this.getSessionId=l,this.durations={testStart:0,tasks:[]},this.getDurations=()=>this.durations,this.setDurations=e=>{this.durations.testStart=e.testStart,this.durations.tasks=e.tasks},this.signalTask=(e,t,n)=>{if(!e)return console.error("User Testing: No Task ID Given");const r=this.durations.tasks.find((t=>t.taskId===e)),o=this.getTimestamp(),i=r?o-r.started:0;return fetch(`${this.ingestPoint}/v1/web/uxt/signals/task`,{method:"POST",headers:{Authorization:`Bearer ${this.token}`},body:JSON.stringify({testId:this.testId,taskId:e,status:t,duration:i,timestamp:o,taskAnswer:n})})},this.signalTest=e=>{const t=this.getTimestamp();if("begin"===e&&this.testId){const e=this.getSessionId();this.setStorageKey(Dt,e),this.setStorageKey(this.storageKey,this.testId.toString()),this.setStorageKey(jt,t.toString())}else this.removeStorageKey(this.storageKey),this.removeStorageKey(zt),this.removeStorageKey(jt);const n=t-(this.durations.testStart||t);return fetch(`${this.ingestPoint}/v1/web/uxt/signals/test`,{method:"POST",headers:{Authorization:`Bearer ${this.token}`},body:JSON.stringify({testId:this.testId,status:e,duration:n,timestamp:t})})};const c=this.getStorageKey(jt);c&&(this.durations.testStart=parseInt(c,10))}}class Nt{constructor(e,t){this.app=e,this.storageKey=t,this.bg=It("div","bg",at,void 0,"__or_ut_bg"),this.container=It("div","container",st,void 0,"__or_ut_ct"),this.widgetGuidelinesVisible=!0,this.widgetTasksVisible=!1,this.widgetVisible=!0,this.isActive=!1,this.descriptionSection=null,this.taskSection=null,this.endSection=null,this.stopButton=null,this.stopButtonContainer=null,this.test=null,this.testId=null,this.signalManager=null,this.getTest=(e,t,n)=>{this.testId=e;const r=this.app.options.ingestPoint;return fetch(`${r}/v1/web/uxt/test/${e}`,{headers:{Authorization:`Bearer ${t}`}}).then((e=>e.json())).then((({test:r})=>{this.isActive=!0,this.test=r,this.signalManager=new Rt(this.app.options.ingestPoint,(()=>this.app.timestamp()),t,e,this.storageKey,((e,t)=>this.app.localStorage.setItem(e,t)),(e=>this.app.localStorage.removeItem(e)),(e=>this.app.localStorage.getItem(e)),(()=>this.app.getSessionID())),this.createGreeting(r.title,r.reqMic,r.reqCamera),n&&((r.reqMic||r.reqCamera)&&this.userRecorder.startRecording(30,Tt,r.reqMic,r.reqCamera),this.showWidget(r.description,r.tasks,!0),this.showTaskSection())})).then((()=>e)).catch((e=>{console.log("OR: Error fetching test",e)}))},this.hideTaskSection=()=>!1,this.showTaskSection=()=>!0,this.collapseWidget=()=>!1,this.removeGreeting=()=>!1,this.toggleDescriptionVisibility=()=>{},this.currentTaskIndex=0,this.userRecorder=new Pt(e),this.app.getSessionID()!==this.app.localStorage.getItem(Dt)&&(this.app.localStorage.removeItem(this.storageKey),this.app.localStorage.removeItem(Dt),this.app.localStorage.removeItem("or_uxt_test_id"),this.app.localStorage.removeItem(zt),this.app.localStorage.removeItem(jt));const n=this.app.localStorage.getItem(zt);n&&(this.currentTaskIndex=parseInt(n,10))}getTestId(){return this.testId}createGreeting(e,t,n){const r=It("div","title",ct,e),o=It("div","description",ut,"Welcome, you're here to help us improve, not to be judged. Your insights matter!\n\n📹 We're recording this browser tab to learn from your experience.\n🎤 Please enable mic and camera if asked, to give us a complete picture."),i=It("div","button",dt,"Read guidelines to begin");this.removeGreeting=()=>((t||n)&&this.userRecorder.startRecording(30,Tt,t,n),this.container.removeChild(i),this.container.removeChild(o),this.container.removeChild(r),!1),i.onclick=()=>{this.removeGreeting();const e=this.signalManager?.getDurations();e&&this.signalManager&&(e.testStart=this.app.timestamp(),this.signalManager.setDurations(e)),this.signalManager?.signalTest("begin"),this.container.style.fontFamily='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',Object.assign(this.container.style,lt),this.showWidget(this.test?.guidelines||"",this.test?.tasks||[])},this.container.append(r,o,i),this.bg.appendChild(this.container),document.body.appendChild(this.bg)}showWidget(e,t,n){this.container.innerHTML="",Object.assign(this.bg.style,{position:"fixed",zIndex:99999999999999,right:"8px",left:"unset",width:"fit-content",top:"8px",height:"fit-content",background:"unset",display:"unset",alignItems:"unset",justifyContent:"unset"});const r=this.createTitleSection();this.container.style.fontFamily='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',Object.assign(this.container.style,lt);const o=this.createDescriptionSection(e),i=this.createTasksSection(t),a=It("div","stop_bn_or",bt,"Abort Session"),s=It("div","stop_ct_or",{fontSize:"13px!important"});s.style.fontSize="13px",s.append(a),this.container.append(r,o,i,s),this.taskSection=i,this.descriptionSection=o,this.stopButton=a,this.stopButtonContainer=s,a.onclick=()=>{this.userRecorder.discard(),this.signalManager?.signalTest("skipped"),document.body.removeChild(this.bg),window.close()},n?this.toggleDescriptionVisibility():this.hideTaskSection()}createTitleSection(){const e=It("div","title",pt),t=function(){const e=document.createElement("div");e.className="grid";for(let t=0;t<16;t++){const t=document.createElement("div");Object.assign(t.style,{width:"2px",height:"2px",borderRadius:"10px",background:"white"}),t.className="cell",e.appendChild(t)}return Object.assign(e.style,{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gridTemplateRows:"repeat(4, 1fr)",gap:"2px",cursor:"grab"}),e}(),n=It("div","title_text",{maxWidth:"19rem",overflow:"hidden",textOverflow:"ellipsis",width:"100%",fontSize:16,lineHeight:"auto",cursor:"pointer"},this.test?.title),r=function(){const e=document.createElement("div");Object.assign(e.style,{width:"0",height:"0",borderLeft:"7px solid transparent",borderRight:"7px solid transparent",borderBottom:"7px solid white"});const t=document.createElement("div");return t.appendChild(e),Object.assign(t.style,{display:"flex",alignItems:"center",justifyContent:"center",width:"16px",height:"16px",cursor:"pointer",marginLeft:"auto",transform:"rotate(180deg)"}),t}();e.append(t,n,r);const o=e=>(this.widgetVisible=e,this.container.style.fontFamily='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',Object.assign(this.container.style,this.widgetVisible?lt:{border:"none",background:"none",padding:0}),this.taskSection&&Object.assign(this.taskSection.style,this.widgetVisible?mt:{display:"none"}),this.descriptionSection&&Object.assign(this.descriptionSection.style,this.widgetVisible?mt:{display:"none"}),this.endSection&&Object.assign(this.endSection.style,this.widgetVisible?mt:{display:"none"}),this.stopButton&&Object.assign(this.stopButton.style,this.widgetVisible?bt:{display:"none"}),e),i=()=>{Object.assign(r.style,{transform:this.widgetVisible?"rotate(0deg)":"rotate(180deg)"}),o(!this.widgetVisible)};var a,s;return n.onclick=i,r.onclick=i,a=this.bg,(s=t).onmousedown=function(e){const t=a.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;function o(e,o){let i=e-n,s=o-r;i<=5&&(i=5),s<=5&&(s=5),i>=window.innerWidth-t.width&&(i=window.innerWidth-t.width),s>=window.innerHeight-t.height&&(s=window.innerHeight-t.height),a.style.left=`${i}px`,a.style.top=`${s}px`}function i(e){o(e.pageX,e.pageY)}a.style.position="fixed",a.style.zIndex=99999999999999,o(e.pageX,e.pageY),document.addEventListener("mousemove",i);const s=()=>{document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",s)};document.addEventListener("mouseup",s)},s.ondragstart=function(){return!1},this.collapseWidget=()=>o(!1),e}createDescriptionSection(e){const t=It("div","description_section_or",mt),n=It("div","description_s_title_or",ft),r=It("div","title",{fontSize:13,fontWeight:500,lineHeight:"auto"},"Introduction & Guidelines"),o=It("div","icon",gt,"-"),i=It("div","content",ht),a=It("div","text_description",{maxHeight:"250px",overflowY:"auto",whiteSpace:"pre-wrap",fontSize:13,color:"#454545",lineHeight:"auto"});a.innerHTML=e;const s=It("div","button_begin_or",yt,"Begin Test");n.append(r,o),i.append(a,s),t.append(n,i);const l=()=>{this.widgetGuidelinesVisible=!this.widgetGuidelinesVisible,o.textContent=this.widgetGuidelinesVisible?"-":"+",Object.assign(i.style,this.widgetGuidelinesVisible?ht:{display:"none"})};return n.onclick=l,this.toggleDescriptionVisibility=()=>{this.widgetGuidelinesVisible=!1,o.textContent=this.widgetGuidelinesVisible?"-":"+",Object.assign(i.style,this.widgetGuidelinesVisible?ht:{display:"none"}),i.removeChild(s)},s.onclick=()=>{if(l(),this.test){const e=this.signalManager?.getDurations(),t=e?e.tasks.findIndex((e=>this.test&&e.taskId===this.test.tasks[0].task_id)):null;e&&-1===t&&(e.tasks.push({taskId:this.test.tasks[0].task_id,started:this.app.timestamp()}),this.signalManager?.setDurations(e)),this.signalManager?.signalTask(this.test.tasks[0].task_id,"begin")}this.showTaskSection(),i.removeChild(s)},t}createTasksSection(e){this.container.style.fontFamily='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',Object.assign(this.container.style,lt);const t=It("div","task_section_or",mt),n=It("div","description_t_title_or",ft),r=It("div","title",{fontSize:"13px",fontWeight:"500",lineHeight:"auto"},"Tasks"),o=It("div","icon",gt,"-"),i=It("div","content",ht),a=It("div","pagination",wt),s=It("div","taskCard",St),l=It("div","taskText",_t),c=It("div","taskDescription",Ot),u=It("div","taskButtons",kt),d=It("div","taskText",_t);d.textContent="Your answer";const f=It("textarea","taskDescription",{resize:"vertical"}),h=It("div","inputArea",St);h.append(d,f);const p=It("div","closePanelButton",Ct,"Collapse Panel"),m=It("div","nextButton",At,"Done, Next");n.append(r,o),s.append(l,c),u.append(p,m),i.append(a,s,h,u),t.append(n,i);const v=()=>{const t=e[this.currentTaskIndex];l.textContent=t.title,c.textContent=t.description,t.allow_typing?h.style.display="flex":h.style.display="none"};e.forEach(((e,t)=>{const n=It("span",`or_task_${t}`,{outline:"1px solid #efefef",fontSize:"13px",height:"24px",width:"24px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",borderRadius:"6.25em"},(t+1).toString());n.id=`or_task_${t}`,a.append(n)})),this.hideTaskSection=()=>(o.textContent="+",Object.assign(i.style,{display:"none"}),this.widgetTasksVisible=!1,!1),this.showTaskSection=()=>(o.textContent="-",Object.assign(i.style,ht),this.widgetTasksVisible=!0,!0);const g=()=>{const e=document.getElementById(`or_task_${this.currentTaskIndex}`);e&&Object.assign(e.style,Et);for(let e=0;e<this.currentTaskIndex;e++){const t=document.getElementById(`or_task_${e}`);t&&Object.assign(t.style,xt)}};return n.onclick=()=>{this.widgetTasksVisible=!this.widgetTasksVisible,o.textContent=this.widgetTasksVisible?"-":"+",Object.assign(i.style,this.widgetTasksVisible?ht:{display:"none"})},p.onclick=this.collapseWidget,m.onclick=()=>{const t=e[this.currentTaskIndex].allow_typing?f.value:void 0;if(f.value="",this.signalManager?.signalTask(e[this.currentTaskIndex].task_id,"done",t),this.currentTaskIndex<e.length-1){this.currentTaskIndex++,v();const t=this.signalManager?.getDurations();t&&-1===t.tasks.findIndex((t=>t.taskId===e[this.currentTaskIndex].task_id))&&(t.tasks.push({taskId:e[this.currentTaskIndex].task_id,started:this.app.timestamp()}),this.signalManager?.setDurations(t)),this.signalManager?.signalTask(e[this.currentTaskIndex].task_id,"begin"),g()}else this.showEndSection();this.app.localStorage.setItem("or_uxt_task_index",this.currentTaskIndex.toString())},setTimeout((()=>{const e=document.getElementById("or_task_0");e&&Object.assign(e.style,Et),v(),g()}),1),t}showEndSection(){let e=!0;this.signalManager?.signalTest("done");const t=It("div","end_section_or",vt),n=It("div","end_title_or",{fontSize:"1.25rem",fontWeight:"500"},"Thank you! 👍"),r=It("div","end_description_or",{},this.test?.conclusion??"Thank you for participating in our usability test. Your feedback has been captured and will be used to enhance our website. \n\nWe appreciate your time and valuable input."),o=It("div","end_button_or",yt,"Submitting Feedback"),i=function(){!function(){const e=document.createElement("style");e.type="text/css",e.innerText="@keyframes spin {\n        0% { transform: rotate(0deg); }\n        100% { transform: rotate(360deg); }\n    }",document.head.appendChild(e)}();const e=document.createElement("div");return e.classList.add("spinner"),Object.assign(e.style,Mt),e}();o.appendChild(i),this.test?.reqMic||this.test?.reqCamera?this.userRecorder.sendToAPI().then((()=>{o.removeChild(i),o.textContent="End Session",e=!1})).catch((t=>{console.error(t),o.removeChild(i),o.textContent="End Session",e=!1})):(o.removeChild(i),o.textContent="End Session",e=!1),this.taskSection&&this.container.removeChild(this.taskSection),this.descriptionSection&&this.container.removeChild(this.descriptionSection),this.stopButton&&this.stopButtonContainer&&this.container.removeChild(this.stopButtonContainer),o.onclick=()=>{e||(window.close(),document.body.removeChild(this.bg))},t.append(n,r,o),this.endSection=t,this.container.append(t)}}function $t(e){return!!e&&null!=e.nodeType}function Ft(e){return"http://www.w3.org/2000/svg"===e.namespaceURI}function Lt(e){return e.nodeType===Node.ELEMENT_NODE}function Bt(e){return e.nodeType===Node.TEXT_NODE}function Ht(e){return e.nodeType===Node.DOCUMENT_NODE}function Vt(e){return e.nodeType===Node.DOCUMENT_NODE||e.nodeType===Node.DOCUMENT_FRAGMENT_NODE}function Ut(e,t){return e.localName===t}const Wt={low:.35,medium:.55,high:.8},qt=class{constructor(e,t){this.app=e,this.options=t,this.snapshots={},this.intervals=[],this.restartTracking=()=>{this.clear(),this.app.nodes.scanTree(this.captureCanvas)},this.captureCanvas=e=>{const t=this.app.nodes.getID(e);t&&Ut(e,"canvas")&&(this.app.sanitizer.isObscured(t)||this.app.sanitizer.isHidden(t)||!Ut(e,"canvas")||this.snapshots[t]||new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(e.target?this.snapshots[t]&&this.snapshots[t].createdAt?this.snapshots[t].paused=!1:this.recordCanvas(e.target,t):this.snapshots[t]&&(this.snapshots[t].paused=!0))}))})).observe(e))},this.recordCanvas=(e,t)=>{const n=this.app.timestamp();this.snapshots[t]={images:[],createdAt:n,paused:!1,dummy:document.createElement("canvas")};const r=Ye(t.toString(),n);this.app.send(r);const o=e=>{!function(e,t="medium",n,r=!1,o,i){const a=`image/${o}`;if(r){const r=window.devicePixelRatio||1;n.width=e.width/r,n.height=e.height/r;const o=n.getContext("2d");if(!o)return"";o.clearRect(0,0,n.width,n.height),o.drawImage(e,0,0,n.width,n.height),n.toBlob(i,a,Wt[t])}else e.toBlob(i,a,Wt[t])}(e,this.options.quality,this.snapshots[t].dummy,this.options.fixedScaling,this.fileExt,(e=>{if(e){if(!this.snapshots[t])return this.app.debug.warn("Canvas not present in snapshots after capture:",this.snapshots,t);this.snapshots[t].images.push({id:this.app.timestamp(),data:e}),this.snapshots[t].images.length>9&&(this.sendSnaps(this.snapshots[t].images,t,this.snapshots[t].createdAt),this.snapshots[t].images=[])}}))},i=setInterval((()=>{const n=this.app.nodes.getID(e),r=n?this.app.nodes.getNode(n):void 0;return this.snapshots[t]?r&&Ut(r,"canvas")&&r===e?void(this.snapshots[t].paused||(this.options.useAnimationFrame?requestAnimationFrame((()=>{o(r)})):o(r))):(this.app.debug.log("Canvas element not in sync"),void clearInterval(i)):(this.app.debug.log("Canvas is not present in {snapshots}"),void clearInterval(i))}),this.interval);this.intervals.push(i)},this.fileExt=t.fileExt??"webp",this.interval=1e3/t.fps}startTracking(){setTimeout((()=>{this.app.nodes.scanTree(this.captureCanvas),this.app.nodes.attachNodeCallback((e=>{this.captureCanvas(e)}))}),500)}sendSnaps(e,t,n){if(0===Object.keys(this.snapshots).length)return;const r=new FormData;e.forEach((e=>{const o=e.data;o&&(r.append("snapshot",o,`${n}_${t}_${e.id}.${this.fileExt}`),this.options.isDebug&&function(e,t){const n=URL.createObjectURL(e),r=document.createElement("a");r.href=n,r.download=t,r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r)}(o,`${n}_${t}_${e.id}.${this.fileExt}`))})),fetch(this.app.options.ingestPoint+"/v1/web/images",{method:"POST",headers:{Authorization:`Bearer ${this.app.session.getSessionToken()??""}`},body:r}).then((()=>!0)).catch((e=>{this.app.debug.error("error saving canvas",e)}))}clear(){this.intervals.forEach((e=>clearInterval(e))),this.snapshots={}}};class Kt{constructor(e=0){this.shouldLog=e=>this.level>=e,this.log=(...e)=>{this.shouldLog(4)&&console.log(...e)},this.warn=(...e)=>{this.shouldLog(3)&&console.warn(...e)},this.error=(...e)=>{this.shouldLog(2)&&console.error(...e)},this.level=e}}class Gt{constructor(e){this.node_id=e,this.nodes=[],this.totalNodeAmount=0,this.nodeCallbacks=[],this.elementListeners=new Map,this.nextNodeId=0,this.scanTree=e=>{this.nodes.forEach((t=>e(t)))}}syntheticMode(e){const t=99999999*e;if(t>9007199254740900)throw new Error("Placeholder id overflow");this.nextNodeId=t}attachNodeCallback(e){this.nodeCallbacks.push(e)}attachNodeListener(e,t,n,r=!0){const o=this.getID(e);if(void 0===o)return;M(e,t,n,r);let i=this.elementListeners.get(o);void 0===i&&(i=[],this.elementListeners.set(o,i)),i.push([t,n,r])}registerNode(e){let t=e[this.node_id];const n=void 0===t;return n&&(t=this.nextNodeId,this.totalNodeAmount++,this.nextNodeId++,this.nodes[t]=e,e[this.node_id]=t),[t,n]}unregisterNode(e){const t=e[this.node_id];if(void 0!==t){e[this.node_id]=void 0,delete e[this.node_id],delete this.nodes[t];const n=this.elementListeners.get(t);void 0!==n&&(this.elementListeners.delete(t),n.forEach((t=>T(e,t[0],t[1],t[2])))),this.totalNodeAmount--}return t}cleanTree(){for(let e=0;e<this.nodes.length;e++){const t=this.nodes[e];t&&!document.contains(t)&&this.unregisterNode(t)}}callNodeCallbacks(e,t){this.nodeCallbacks.forEach((n=>n(e,t)))}getID(e){if(e)return e[this.node_id]}getNode(e){return this.nodes[e]}getNodeCount(){return this.totalNodeAmount}clear(){for(let e=0;e<this.nodes.length;e++){const t=this.nodes[e];t&&this.unregisterNode(t)}this.nextNodeId=0,this.nodes.length=0}}function Xt(e){if(function(e){return e.nodeType===Node.COMMENT_NODE}(e))return!0;if(Bt(e))return!1;if(!Lt(e))return!0;const t=e.tagName.toUpperCase();if("LINK"===t){const t=e.getAttribute("rel"),n=e.getAttribute("as");return!(t?.includes("stylesheet")||"style"===n||"font"===n)}return"SCRIPT"===t||"NOSCRIPT"===t||"META"===t||"TITLE"===t||"BASE"===t}function Yt(e){return!!Vt(e)||!Xt(e)}var Zt;!function(e){e[e.New=0]="New",e[e.Removed=1]="Removed",e[e.Changed=2]="Changed"}(Zt||(Zt={}));class Jt{constructor(e,t=!1){this.app=e,this.isTopContext=t,this.commited=[],this.recents=new Map,this.indexes=[],this.attributesMap=new Map,this.textSet=new Set,this.observer=k(this.app.safe((e=>{for(const t of e){const e=t.target,n=t.type;if(!Yt(e))continue;if("childList"===n){for(let e=0;e<t.removedNodes.length;e++)Yt(t.removedNodes[e])&&this.bindNode(t.removedNodes[e]);for(let e=0;e<t.addedNodes.length;e++)this.bindTree(t.addedNodes[e]);continue}const r=this.app.nodes.getID(e);if(void 0!==r)if(this.recents.has(r)||this.recents.set(r,Zt.Changed),"attributes"!==n)"characterData"!==n||this.textSet.add(r);else{const e=t.attributeName;if(null===e)continue;let n=this.attributesMap.get(r);void 0===n&&this.attributesMap.set(r,n=new Set),n.add(e)}}this.commitNodes()})))}clear(){this.commited.length=0,this.recents.clear(),this.indexes.length=1,this.attributesMap.clear(),this.textSet.clear()}sendNodeAttribute(e,t,n,r){if(Ft(t))return"xlink:"===n.substr(0,6)&&(n=n.substr(6)),void(null===r?this.app.send(V(e,n)):"href"===n?(r.length>1e5&&(r=""),this.app.send(_e(e,n,r,this.app.getBaseHref()))):this.app.attributeSender.sendSetAttribute(e,n,r));"src"!==n&&"srcset"!==n&&"integrity"!==n&&"crossorigin"!==n&&"autocomplete"!==n&&"on"!==n.substr(0,2)&&("value"===n&&Ut(t,"input")&&"button"!==t.type&&"reset"!==t.type&&"submit"!==t.type||(null!==r?"style"===n||"href"===n&&Ut(t,"link")?this.app.send(_e(e,n,r,this.app.getBaseHref())):(("href"===n||r.length>1e5)&&(r=""),this.app.attributeSender.sendSetAttribute(e,n,r)):this.app.send(V(e,n))))}sendNodeData(e,t,n){Ut(t,"style")?this.app.send(Oe(e,n,this.app.getBaseHref())):(n=this.app.sanitizer.sanitize(e,n),this.app.send(U(e,n)))}bindNode(e){const[t,n]=this.app.nodes.registerNode(e);n?this.recents.set(t,Zt.New):this.recents.get(t)!==Zt.New&&this.recents.set(t,Zt.Removed)}bindTree(e){if(!Yt(e))return;this.bindNode(e);const t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT+NodeFilter.SHOW_TEXT,{acceptNode:e=>(void 0!==this.app.nodes.getID(e)&&this.app.debug.error("! Node is already bound",e),Xt(e)||void 0!==this.app.nodes.getID(e)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT)},!1);for(;t.nextNode();)this.bindNode(t.currentNode)}unbindTree(e){const t=this.app.nodes.unregisterNode(e);if(void 0!==t&&this.recents.get(t)===Zt.Removed){this.app.send(B(t));const n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT+NodeFilter.SHOW_TEXT,{acceptNode:e=>Xt(e)||void 0===this.app.nodes.getID(e)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},!1);let r=0;const o=this.app.nodes.getNodeCount();for(;n.nextNode();)r+=1,this.app.nodes.unregisterNode(n.currentNode);const i=Math.floor(r/o*100);i>30&&this.app.send(qe(i))}}_commitNode(e,t){if(Vt(t))return!0;const n=t.parentNode;let r;if(!Ut(t,"html")||!this.isTopContext){if(null===n)return this.unbindTree(t),!1;if(r=this.app.nodes.getID(n),void 0===r)return this.unbindTree(t),!1;if(!this.commitNode(r))return this.unbindTree(t),!1;if(this.app.sanitizer.handleNode(e,r,t),this.app.sanitizer.isHidden(r))return!1}let o=t.previousSibling;for(;null!==o;){const t=this.app.nodes.getID(o);if(void 0!==t){this.commitNode(t),this.indexes[e]=this.indexes[t]+1;break}o=o.previousSibling}null===o&&(this.indexes[e]=0);const i=this.recents.get(e),a=i===Zt.New,s=this.indexes[e];if(void 0===s)throw"commitNode: missing node index";if(a){if(Lt(t)){let n=t;if(void 0!==r){if(this.app.sanitizer.isHidden(e)){const e=n.clientWidth,r=n.clientHeight;n=t.cloneNode(),n.style.width=`${e}px`,n.style.height=`${r}px`}this.app.send($(e,r,s,n.tagName,Ft(t)))}for(let t=0;t<n.attributes.length;t++){const r=n.attributes[t];this.sendNodeAttribute(e,n,r.nodeName,r.value)}}else Bt(t)&&(this.app.send(F(e,r,s)),this.sendNodeData(e,n,t.data));return!0}i===Zt.Removed&&void 0!==r&&this.app.send(L(e,r,s));const l=this.attributesMap.get(e);if(void 0!==l){if(!Lt(t))throw"commitNode: node is not an element";for(const n of l)this.sendNodeAttribute(e,t,n,t.getAttribute(n))}if(this.textSet.has(e)){if(!Bt(t))throw"commitNode: node is not a text";this.sendNodeData(e,n,t.data)}return!0}commitNode(e){const t=this.app.nodes.getNode(e);if(void 0===t)return!1;const n=this.commited[e];return void 0!==n?n:this.commited[e]=this._commitNode(e,t)}commitNodes(e=!1){let t;this.recents.forEach(((n,r)=>{this.commitNode(r),n===Zt.New&&(t=this.app.nodes.getNode(r))&&this.app.nodes.callNodeCallbacks(t,e)})),this.clear()}observeRoot(e,t,n=e){this.observer.observe(e,{childList:!0,attributes:!0,characterData:!0,subtree:!0,attributeOldValue:!1,characterDataOldValue:!1}),this.bindTree(n),t(this.app.nodes.getID(e)),this.commitNodes(!0)}disconnect(){this.observer.disconnect(),this.clear()}}class Qt extends Jt{observe(e){const t=e.contentDocument,n=this.app.nodes.getID(e);t&&void 0!==n&&this.observeRoot(t,(e=>{void 0!==e?this.app.send(Pe(n,e)):this.app.debug.log("OpenReplay: Iframe document not bound")}))}syntheticObserve(e,t){this.observeRoot(t,(t=>{void 0!==t?this.app.send(Pe(e,t)):this.app.debug.log("OpenReplay: Iframe document not bound")}))}}class en extends Jt{observe(e){const t=e.shadowRoot,n=this.app.nodes.getID(e);t&&void 0!==n&&this.observeRoot(t,(e=>{void 0!==e?this.app.send(Pe(n,e)):this.app.debug.error("OpenReplay: Shadow Root was not bound")}))}}class tn{constructor(){this.states=new Map}calcOffset(e){let t=0,n=0;if(e.parent&&([t,n]=this.calcOffset(e.parent)),!e.offset){const{left:t,top:n}=e.iFrame.getBoundingClientRect();e.offset=[t,n]}const[r,o]=e.offset;return[t+r,n+o]}getDocumentOffset(e){const t=this.states.get(e);return t?this.calcOffset(t):[0,0]}observe(e){const t=e.contentDocument;if(!t)return;const n=e.ownerDocument,r={offset:null,iFrame:e,parent:this.states.get(n)||null,clear:()=>{n.removeEventListener("scroll",o),n.defaultView?.removeEventListener("resize",o)}},o=()=>{r.offset=null};n.addEventListener("scroll",o),n.defaultView?.addEventListener("resize",o),this.states.set(t,r)}clear(){this.states.forEach((e=>e.clear())),this.states.clear()}}const nn=f?Element.prototype.attachShadow:()=>new ShadowRoot;class rn extends Jt{constructor(e,t){super(e,!0),this.iframeOffsets=new tn,this.contextCallbacks=[],this.contextsSet=new Set,this.iframeObservers=[],this.shadowRootObservers=[],this.options=Object.assign({captureIFrames:!0},t),this.app.nodes.attachNodeCallback((e=>{Ut(e,"iframe")&&(this.options.captureIFrames&&!O(e,"obscured")||O(e,"capture"))&&this.handleIframe(e)})),this.app.nodes.attachNodeCallback((e=>{Lt(e)&&null!==e.shadowRoot&&this.handleShadowRoot(e.shadowRoot)}))}attachContextCallback(e){this.contextCallbacks.push(e)}getDocumentOffset(e){return this.iframeOffsets.getDocumentOffset(e)}handleIframe(e){let t=null;const n=this.app.safe((()=>setTimeout((()=>{if(void 0===this.app.nodes.getID(e))return;if(!function(e){try{return Boolean(e.contentDocument)}catch(e){return!1}}(e))return;const n=e.contentWindow,r=e.contentDocument;if(r&&r!==t){const n=new Qt(this.app);this.iframeObservers.push(n),n.observe(e),t=r,this.iframeOffsets.observe(e)}n&&n===n.window&&!this.contextsSet.has(n)&&(this.contextsSet.add(n),this.contextCallbacks.forEach((e=>e(n))))}),100)));e.addEventListener("load",n),n()}handleShadowRoot(e){const t=new en(this.app);this.shadowRootObservers.push(t),t.observe(e.host)}observe(){const e=this;Element.prototype.attachShadow=function(){const t=nn.apply(this,arguments);return e.handleShadowRoot(t),t},this.app.nodes.clear(),this.observeRoot(window.document,(()=>{this.app.send([7]),this.app.nodes.callNodeCallbacks(document,!0)}),window.document.documentElement)}crossdomainObserve(e,t){const n=this;Element.prototype.attachShadow=function(){const e=nn.apply(this,arguments);return n.handleShadowRoot(e),e},this.app.nodes.clear(),this.app.nodes.syntheticMode(t);const r=new Qt(this.app);this.iframeObservers.push(r),r.syntheticObserve(e,window.document)}disconnect(){this.iframeOffsets.clear(),Element.prototype.attachShadow=nn,this.iframeObservers.forEach((e=>e.disconnect())),this.iframeObservers=[],this.shadowRootObservers.forEach((e=>e.disconnect())),this.shadowRootObservers=[],super.disconnect()}}var on;!function(e){e[e.Plain=0]="Plain",e[e.Obscured=1]="Obscured",e[e.Hidden=2]="Hidden"}(on||(on={}));class an{constructor(e,t){this.app=e,this.obscured=new Set,this.hidden=new Set,this.options=Object.assign({obscureTextEmails:!0,obscureTextNumbers:!1},t)}handleNode(e,t,n){if((this.obscured.has(t)||Lt(n)&&(O(n,"masked")||O(n,"obscured")))&&this.obscured.add(e),(this.hidden.has(t)||Lt(n)&&(O(n,"htmlmasked")||O(n,"hidden")))&&this.hidden.add(e),void 0!==this.options.domSanitizer&&Lt(n)){const t=this.options.domSanitizer(n);t===on.Obscured&&this.obscured.add(e),t===on.Hidden&&this.hidden.add(e)}}sanitize(e,t){return this.obscured.has(e)?(e=>e.trim().replace(/[^\f\n\r\t\v\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]/g,"█"))(t):(this.options.obscureTextNumbers&&(t=t.replace(/\d/g,"0")),this.options.obscureTextEmails&&(t=t.replace(/^\w+([+.-]\w+)*@\w+([.-]\w+)*\.\w{2,3}$/g,(e=>{const[t,n]=e.split("@"),[r,o]=n.split(".");return`${y(t)}@${y(r)}.${y(o)}`}))),t)}isObscured(e){return this.obscured.has(e)}isHidden(e){return this.hidden.has(e)}getInnerTextSecure(e){const t=this.app.nodes.getID(e);return t?this.sanitize(t,e.innerText):""}clear(){this.obscured.clear(),this.hidden.clear()}}class sn{constructor(e,t){this.app=e,this.options=t,this.metadata={},this.userID=null,this.callbacks=[],this.timestamp=0,this.createTabId()}attachUpdateCallback(e){this.callbacks.push(e)}handleUpdate(e){null==e.userID&&delete e.userID,null==e.sessionID&&delete e.sessionID,this.callbacks.forEach((t=>t(e)))}assign(e){void 0!==e.userID&&(this.userID=e.userID),void 0!==e.metadata&&Object.entries(e.metadata).forEach((([e,t])=>this.metadata[e]=t)),void 0!==e.sessionID&&(this.sessionID=e.sessionID),void 0!==e.timestamp&&(this.timestamp=e.timestamp),void 0!==e.projectID&&(this.projectID=e.projectID),this.handleUpdate(e)}setMetadata(e,t){this.metadata[e]=t,this.handleUpdate({metadata:{[e]:t}})}setUserID(e){this.userID=e,this.handleUpdate({userID:e})}setUserInfo(e){this.userInfo=e}getPageNumber(){const e=this.app.sessionStorage.getItem(this.options.session_pageno_key);if(null!=e)return parseInt(e)}incPageNo(){let e=this.getPageNumber();return void 0===e?e=0:e++,this.app.sessionStorage.setItem(this.options.session_pageno_key,e.toString()),e}getSessionToken(){return this.app.sessionStorage.getItem(this.options.session_token_key)||void 0}setSessionToken(e){this.app.sessionStorage.setItem(this.options.session_token_key,e)}applySessionHash(e){const t=decodeURI(e).split("&");let n=e,r="100500";2==t.length&&([r,n]=t),r&&n&&(this.app.sessionStorage.setItem(this.options.session_token_key,n),this.app.sessionStorage.setItem(this.options.session_pageno_key,r))}getSessionHash(){const e=this.getPageNumber(),t=this.getSessionToken();if(void 0!==e&&void 0!==t)return encodeURI(String(e)+"&"+t)}getTabId(){return this.tabId||this.createTabId(),this.tabId}regenerateTabId(){const e=function(e){const t=new Uint8Array(6),n=window.crypto||window.msCrypto;return n?(n.getRandomValues(t),Array.from(t,C).join("")):Array.from({length:12},(()=>C(Math.floor(16*Math.random())))).join("")}();this.app.sessionStorage.setItem(this.options.session_tabid_key,e),this.tabId=e}createTabId(){const e=this.app.sessionStorage.getItem(this.options.session_tabid_key);e?this.tabId=e:this.regenerateTabId()}getInfo(){return{sessionID:this.sessionID,metadata:this.metadata,userID:this.userID,timestamp:this.timestamp,projectID:this.projectID}}reset(){this.app.sessionStorage.removeItem(this.options.session_token_key),this.metadata={},this.userID=null,this.sessionID=void 0,this.timestamp=0}}class ln{constructor(e){this.app=e,this.timer=null,this.callbacks=[]}attach(e,t=0,n=!0,r){r&&(e=e.bind(r)),n&&(e=this.app.safe(e)),this.callbacks.unshift(t?function(e,t){let n=0;return()=>{n++>=t&&(n=0,e())}}(e,t):e)}start(){null===this.timer&&(this.timer=setInterval((()=>this.callbacks.forEach((e=>{e&&e()}))),30))}stop(){null!==this.timer&&(clearInterval(this.timer),this.timer=null)}}const cn="canceled",un="or_uxt_active",dn="or_buffer_1",fn=e=>({reason:e,success:!1});var hn;!function(e){e[e.NotActive=0]="NotActive",e[e.Starting=1]="Starting",e[e.Active=2]="Active",e[e.ColdStart=3]="ColdStart"}(hn||(hn={}));const pn="https://api.openreplay.com/ingest";function mn(){const e=-1*(new Date).getTimezoneOffset(),t=e>=0?"+":"-",n=Math.floor(Math.abs(e)/60),r=Math.abs(e)%60;return`UTC${t}${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`}const vn=e=>new Promise((t=>setTimeout(t,e))),gn="never-gonna-give-you-up",yn="never-gonna-let-you-down",bn="never-gonna-run-around-and-desert-you",wn="never-gonna-make-you-cry",En="never-gonna-say-goodbye",xn="never-gonna-tell-a-lie-and-hurt-you";class Sn{constructor(e,t,n,r,o){this.signalError=r,this.insideIframe=o,this.messages=[],this.bufferedMessages1=[],this.bufferedMessages2=[],this.startCallbacks=[],this.stopCallbacks=[],this.commitCallbacks=[],this.activityState=hn.NotActive,this.version="14.0.6",this.socketMode=!1,this.compressionThreshold=24e3,this.bc=null,this.canvasRecorder=null,this.conditionsManager=null,this.canStart=!1,this.rootId=null,this.pageFrames=[],this.frameOderNumber=0,this.initialHostName=location.hostname,this.features={"feature-flags":!0,"usability-test":!0},this.startTimeout=null,this.coldStartCommitN=0,this.delay=0,this.coldInterval=null,this.orderNumber=0,this.coldStartTs=0,this.singleBuffer=!1,this.onSessionSent=()=>{},this.restartCanvasTracking=()=>{this.canvasRecorder?.restartTracking()},this.flushBuffer=async e=>new Promise((t=>{let n=!1;const r=[e.shift()];for(;!n;){const t=e[0];t&&0!==t[0]?r.push(e.shift()):n=!0}this.postToWorker(r),t(null)})),this.onUxtCb=[],this.contextId=Math.random().toString(36).slice(2),this.projectKey=e,-1!==Object.keys(n).findIndex((e=>["fixedCanvasScaling","disableCanvas"].includes(e)))&&(console.warn('Openreplay: canvas options are moving to separate key "canvas" in next update. Please update your configuration.'),n={...n,canvas:{__save_canvas_locally:n.__save_canvas_locally,fixedCanvasScaling:n.fixedCanvasScaling,disableCanvas:n.disableCanvas}}),this.networkOptions=n.network;const i={revID:"",node_id:"__openreplay_id",session_token_key:"__openreplay_token",session_pageno_key:"__openreplay_pageno",session_reset_key:"__openreplay_reset",session_tabid_key:"__openreplay_tabid",local_uuid_key:"__openreplay_uuid",ingestPoint:pn,resourceBaseHref:null,__is_snippet:!1,__debug_report_edp:null,__debug__:0,__save_canvas_locally:!1,localStorage:null,sessionStorage:null,disableStringDict:!1,forceSingleTab:!1,assistSocketHost:"",fixedCanvasScaling:!1,disableCanvas:!1,captureIFrames:!0,obscureTextEmails:!0,obscureTextNumbers:!1,crossdomain:{parentDomain:"*"},canvas:{disableCanvas:!1,fixedCanvasScaling:!1,__save_canvas_locally:!1,useAnimationFrame:!1}};if(this.options=I(i,n),!this.insideIframe&&!this.options.forceSingleTab&&globalThis&&"BroadcastChannel"in globalThis){const e=location.hostname.split(".").slice(-2).join("_");this.bc=new BroadcastChannel(`rick_${e}`)}this.revID=this.options.revID,this.localStorage=this.options.localStorage??window.localStorage,this.sessionStorage=this.options.sessionStorage??window.sessionStorage,this.sanitizer=new an(this,n),this.nodes=new Gt(this.options.node_id),this.observer=new rn(this,n),this.ticker=new ln(this),this.ticker.attach((()=>this.commit())),this.debug=new Kt(this.options.__debug__),this.session=new sn(this,this.options),this.attributeSender=new a(this,Boolean(this.options.disableStringDict)),this.featureFlags=new u(this),this.tagWatcher=new it(this.sessionStorage,this.debug.error,(e=>{this.send(Ze(e))})),this.session.attachUpdateCallback((({userID:e,metadata:t})=>{null!=e&&this.send(te(e)),null!=t&&Object.entries(t).forEach((([e,t])=>this.send(re(e,t))))})),null!=t&&this.session.applySessionHash(t),this.initWorker();const s=this.session.getTabId();if(this.insideIframe){const e=e=>{const{data:t}=e;t.line===En&&(this.rootId=t.id,this.session.setSessionToken(t.token),this.frameOderNumber=t.frameOrderNumber,this.debug.log("starting iframe tracking",t),this.allowAppStart())};window.addEventListener("message",e),this.attachStopCallback((()=>{window.removeEventListener("message",e)}));const t=this.initialHostName;window.parent.postMessage({line:wn,source:s,context:this.contextId,domain:t},"*")}else{let e=0;const t=t=>{const{data:n}=t;if(n.line===wn){const r=n.domain,o=Array.from(document.querySelectorAll("iframe"));this.pageFrames=o,(async()=>{let n=0;for(;n<10;){const i=this.checkNodeId(o,r);if(i){this.waitStarted().then((()=>{e++;const n=this.session.getSessionToken(),o={line:En,context:this.contextId,domain:r,id:i,token:n,frameOrderNumber:e};this.debug.log("iframe_data",o),t.source?.postMessage(o,"*")})).catch(console.error),n=10;break}n++,await vn(100)}})()}if(n.line===xn){const e=n.messages.map((e=>{if(20===e[0]){let n=e;return this.pageFrames.forEach((r=>{if(r.dataset.domain===t.data.domain){const[t,o,i]=e,{left:a,top:s}=r.getBoundingClientRect();n=[t,o+a,i+s]}})),n}if(68===e[0]){let n=e;return this.pageFrames.forEach((r=>{if(r.dataset.domain===t.data.domain){const[t,o,i,a,s,l,c]=e,{left:u,top:d,width:f,height:h}=r.getBoundingClientRect(),p=(l/100*f+u)/document.documentElement.scrollWidth,m=(c/100*h+d)/document.documentElement.scrollHeight;n=[t,o,i,a,s,Math.round(1e3*p)/10,Math.round(1e3*m)/10]}})),n}return e}));this.messages.push(...e)}};window.addEventListener("message",t),this.attachStopCallback((()=>{window.removeEventListener("message",t)}))}null!==this.bc&&(this.bc.postMessage({line:gn,source:s,context:this.contextId}),this.startTimeout=setTimeout((()=>{this.allowAppStart()}),500),this.bc.onmessage=e=>{if(e.data.context!==this.contextId){if(e.data.line===yn){const t=e.data.token;this.session.setSessionToken(t),this.allowAppStart()}if(e.data.line===bn){const t=e.data.token;this.session.regenerateTabId(),this.session.setSessionToken(t),this.allowAppStart()}if(e.data.line===gn){const t=this.session.getSessionToken();t&&this.bc&&this.bc.postMessage({line:e.data.source===s?bn:yn,token:t,source:s,context:this.contextId})}}})}allowAppStart(){this.canStart=!0,this.startTimeout&&(clearTimeout(this.startTimeout),this.startTimeout=null)}checkNodeId(e,t){for(const n of e)if(n.dataset.domain===t)return n[this.options.node_id];return null}initWorker(){try{this.worker=new Worker(URL.createObjectURL(new Blob(['"use strict";class t{constructor(t,s,i,e=10,n=250,h,r){this.onUnauthorised=s,this.onFailure=i,this.MAX_ATTEMPTS_COUNT=e,this.ATTEMPT_TIMEOUT=n,this.onCompress=h,this.pageNo=r,this.attemptsCount=0,this.busy=!1,this.queue=[],this.token=null,this.lastBatchNum=0,this.ingestURL=t+"/v1/web/i",this.isCompressing=void 0!==h}getQueueStatus(){return 0===this.queue.length&&!this.busy}authorise(t){this.token=t,this.busy||this.sendNext()}push(t){if(this.busy||!this.token)this.queue.push(t);else if(this.busy=!0,this.isCompressing&&this.onCompress)this.onCompress(t);else{const s=++this.lastBatchNum;this.sendBatch(t,!1,s)}}sendNext(){const t=this.queue.shift();if(t)if(this.busy=!0,this.isCompressing&&this.onCompress)this.onCompress(t);else{const s=++this.lastBatchNum;this.sendBatch(t,!1,s)}else this.busy=!1}retry(t,s,i){this.attemptsCount>=this.MAX_ATTEMPTS_COUNT?this.onFailure(`Failed to send batch after ${this.attemptsCount} attempts.`):(this.attemptsCount++,setTimeout((()=>this.sendBatch(t,s,i)),this.ATTEMPT_TIMEOUT*this.attemptsCount))}sendBatch(t,s,i){const e=i?.toString().replace(/^([^_]+)_([^_]+).*/,"$1_$2_$3");this.busy=!0;const n={Authorization:`Bearer ${this.token}`};s&&(n["Content-Encoding"]="gzip"),null!==this.token?fetch(`${this.ingestURL}?batch=${this.pageNo??"noPageNum"}_${e??"noBatchNum"}`,{body:t,method:"POST",headers:n,keepalive:t.length<65536}).then((e=>{if(401===e.status)return this.busy=!1,void this.onUnauthorised();e.status>=400?this.retry(t,s,`${i??"noBatchNum"}_network:${e.status}`):(this.attemptsCount=0,this.sendNext())})).catch((e=>{console.warn("OpenReplay:",e),this.retry(t,s,`${i??"noBatchNum"}_reject:${e.message}`)})):setTimeout((()=>{this.sendBatch(t,s,`${i??"noBatchNum"}_newToken`)}),500)}sendCompressed(t){const s=++this.lastBatchNum;this.sendBatch(t,!0,s)}sendUncompressed(t){const s=++this.lastBatchNum;this.sendBatch(t,!1,s)}clean(){this.sendNext(),setTimeout((()=>{this.token=null,this.queue.length=0}),10)}}const s="function"==typeof TextEncoder?new TextEncoder:{encode(t){const s=t.length,i=new Uint8Array(3*s);let e=-1;for(let n=0,h=0,r=0;r!==s;){if(n=t.charCodeAt(r),r+=1,n>=55296&&n<=56319){if(r===s){i[e+=1]=239,i[e+=1]=191,i[e+=1]=189;break}if(h=t.charCodeAt(r),!(h>=56320&&h<=57343)){i[e+=1]=239,i[e+=1]=191,i[e+=1]=189;continue}if(n=1024*(n-55296)+h-56320+65536,r+=1,n>65535){i[e+=1]=240|n>>>18,i[e+=1]=128|n>>>12&63,i[e+=1]=128|n>>>6&63,i[e+=1]=128|63&n;continue}}n<=127?i[e+=1]=0|n:n<=2047?(i[e+=1]=192|n>>>6,i[e+=1]=128|63&n):(i[e+=1]=224|n>>>12,i[e+=1]=128|n>>>6&63,i[e+=1]=128|63&n)}return i.subarray(0,e+1)}};class i{constructor(t){this.size=t,this.offset=0,this.checkpointOffset=0,this.data=new Uint8Array(t)}getCurrentOffset(){return this.offset}checkpoint(){this.checkpointOffset=this.offset}get isEmpty(){return 0===this.offset}skip(t){return this.offset+=t,this.offset<=this.size}set(t,s){this.data.set(t,s)}boolean(t){return this.data[this.offset++]=+t,this.offset<=this.size}uint(t){for((t<0||t>Number.MAX_SAFE_INTEGER)&&(t=0);t>=128;)this.data[this.offset++]=t%256|128,t=Math.floor(t/128);return this.data[this.offset++]=t,this.offset<=this.size}int(t){return t=Math.round(t),this.uint(t>=0?2*t:-2*t-1)}string(t){const i=s.encode(t),e=i.byteLength;return!(!this.uint(e)||this.offset+e>this.size)&&(this.data.set(i,this.offset),this.offset+=e,!0)}reset(){this.offset=0,this.checkpointOffset=0}flush(){const t=this.data.slice(0,this.checkpointOffset);return this.reset(),t}}class e extends i{encode(t){switch(t[0]){case 0:case 11:case 114:case 115:return this.uint(t[1]);case 4:case 44:case 47:return this.string(t[1])&&this.string(t[2])&&this.uint(t[3]);case 5:case 20:case 38:case 70:case 75:case 76:case 77:case 82:return this.uint(t[1])&&this.uint(t[2]);case 6:return this.int(t[1])&&this.int(t[2]);case 7:return!0;case 8:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3])&&this.string(t[4])&&this.boolean(t[5]);case 9:case 10:case 24:case 51:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3]);case 12:case 61:case 71:return this.uint(t[1])&&this.string(t[2])&&this.string(t[3]);case 13:case 14:case 17:case 50:case 54:return this.uint(t[1])&&this.string(t[2]);case 16:return this.uint(t[1])&&this.int(t[2])&&this.int(t[3]);case 18:return this.uint(t[1])&&this.string(t[2])&&this.int(t[3]);case 19:return this.uint(t[1])&&this.boolean(t[2]);case 21:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4])&&this.string(t[5])&&this.uint(t[6])&&this.uint(t[7])&&this.uint(t[8]);case 22:case 27:case 30:case 41:case 45:case 46:case 63:case 64:case 79:return this.string(t[1])&&this.string(t[2]);case 23:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3])&&this.uint(t[4])&&this.uint(t[5])&&this.uint(t[6])&&this.uint(t[7])&&this.uint(t[8])&&this.uint(t[9]);case 28:case 29:case 42:case 117:case 118:return this.string(t[1]);case 37:return this.uint(t[1])&&this.string(t[2])&&this.uint(t[3]);case 39:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4])&&this.uint(t[5])&&this.uint(t[6])&&this.uint(t[7]);case 40:return this.string(t[1])&&this.uint(t[2])&&this.string(t[3])&&this.string(t[4]);case 48:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4])&&this.int(t[5]);case 49:return this.int(t[1])&&this.int(t[2])&&this.uint(t[3])&&this.uint(t[4]);case 53:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3])&&this.uint(t[4])&&this.uint(t[5])&&this.uint(t[6])&&this.string(t[7])&&this.string(t[8]);case 55:return this.boolean(t[1]);case 57:case 60:return this.uint(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4]);case 58:case 120:return this.int(t[1]);case 59:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3])&&this.uint(t[4])&&this.string(t[5])&&this.string(t[6])&&this.string(t[7]);case 67:case 73:return this.uint(t[1])&&this.string(t[2])&&this.uint(t[3])&&this.string(t[4]);case 68:return this.uint(t[1])&&this.uint(t[2])&&this.string(t[3])&&this.string(t[4])&&this.uint(t[5])&&this.uint(t[6]);case 69:return this.uint(t[1])&&this.uint(t[2])&&this.string(t[3])&&this.string(t[4]);case 78:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4]);case 81:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3])&&this.int(t[4])&&this.string(t[5]);case 83:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4])&&this.string(t[5])&&this.uint(t[6])&&this.uint(t[7])&&this.uint(t[8])&&this.uint(t[9]);case 84:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.uint(t[4])&&this.string(t[5])&&this.string(t[6]);case 112:return this.uint(t[1])&&this.string(t[2])&&this.boolean(t[3])&&this.string(t[4])&&this.int(t[5])&&this.int(t[6]);case 113:return this.uint(t[1])&&this.uint(t[2])&&this.string(t[3]);case 116:return this.uint(t[1])&&this.uint(t[2])&&this.uint(t[3])&&this.uint(t[4])&&this.uint(t[5])&&this.uint(t[6])&&this.string(t[7])&&this.string(t[8])&&this.uint(t[9])&&this.boolean(t[10]);case 119:return this.string(t[1])&&this.uint(t[2]);case 121:return this.string(t[1])&&this.string(t[2])&&this.uint(t[3])&&this.uint(t[4]);case 122:return this.string(t[1])&&this.string(t[2])&&this.uint(t[3])&&this.string(t[4]);case 123:return this.string(t[1])&&this.string(t[2])&&this.string(t[3])&&this.string(t[4])&&this.uint(t[5])}}}class n{constructor(t,s,i,n,h,r){this.pageNo=t,this.timestamp=s,this.url=i,this.onBatch=n,this.tabId=h,this.onOfflineEnd=r,this.nextIndex=0,this.beaconSize=2e5,this.encoder=new e(this.beaconSize),this.sizeBuffer=new Uint8Array(3),this.isEmpty=!0,this.beaconSizeLimit=1e6,this.prepare()}writeType(t){return this.encoder.uint(t[0])}writeFields(t){return this.encoder.encode(t)}writeSizeAt(t,s){for(let s=0;s<3;s++)this.sizeBuffer[s]=t>>8*s;this.encoder.set(this.sizeBuffer,s)}prepare(){if(!this.encoder.isEmpty)return;const t=[81,1,this.pageNo,this.nextIndex,this.timestamp,this.url],s=[118,this.tabId];this.writeType(t),this.writeFields(t),this.writeWithSize(s),this.isEmpty=!0}writeWithSize(t){const s=this.encoder;if(!this.writeType(t)||!s.skip(3))return!1;const i=s.getCurrentOffset(),e=this.writeFields(t);if(e){const e=s.getCurrentOffset()-i;if(e>16777215)return console.warn("OpenReplay: max message size overflow."),!1;this.writeSizeAt(e,i-3),s.checkpoint(),this.isEmpty=this.isEmpty&&0===t[0],this.nextIndex++}return e}setBeaconSizeLimit(t){this.beaconSizeLimit=t}writeMessage(t){if("q_end"===t[0])return this.finaliseBatch(),this.onOfflineEnd();0===t[0]&&(this.timestamp=t[1]),122===t[0]&&(this.url=t[1]),this.writeWithSize(t)||(this.finaliseBatch(),this.writeWithSize(t)||(this.encoder=new e(this.beaconSizeLimit),this.prepare(),this.writeWithSize(t)?this.finaliseBatch():console.warn("OpenReplay: beacon size overflow. Skipping large message.",t,this),this.encoder=new e(this.beaconSize),this.prepare()))}finaliseBatch(){if(this.isEmpty)return;const t=this.encoder.flush();this.onBatch(t),this.prepare()}clean(){this.encoder.reset()}}var h;!function(t){t[t.NotActive=0]="NotActive",t[t.Starting=1]="Starting",t[t.Stopping=2]="Stopping",t[t.Active=3]="Active",t[t.Stopped=4]="Stopped"}(h||(h={}));let r=null,a=null,u=h.NotActive;function o(){a&&a.finaliseBatch()}function c(){return new Promise((t=>{u=h.Stopping,null!==l&&(clearInterval(l),l=null),a&&(a.clean(),a=null),r&&(r.clean(),setTimeout((()=>{r=null}),20)),setTimeout((()=>{u=h.NotActive,t(null)}),100)}))}function g(){u!==h.Stopped&&(postMessage("a_stop"),c().then((()=>{postMessage("a_start")})))}let p,l=null;self.onmessage=({data:s})=>{if(null!=s){if("stop"===s)return o(),void c().then((()=>{u=h.Stopped}));if("forceFlushBatch"!==s){if(!Array.isArray(s)){if("compressed"===s.type){if(!r)return console.debug("OR WebWorker: sender not initialised. Compressed batch."),void g();s.batch&&r.sendCompressed(s.batch)}if("uncompressed"===s.type){if(!r)return console.debug("OR WebWorker: sender not initialised. Uncompressed batch."),void g();s.batch&&r.sendUncompressed(s.batch)}return"start"===s.type?(u=h.Starting,r=new t(s.ingestPoint,(()=>{g()}),(t=>{!function(t){postMessage({type:"failure",reason:t}),c()}(t)}),s.connAttemptCount,s.connAttemptGap,(t=>{postMessage({type:"compress",batch:t},[t.buffer])}),s.pageNo),a=new n(s.pageNo,s.timestamp,s.url,(t=>{r&&r.push(t)}),s.tabId,(()=>postMessage({type:"queue_empty"}))),null===l&&(l=setInterval(o,1e4)),u=h.Active):"auth"===s.type?r?a?(r.authorise(s.token),void(s.beaconSizeLimit&&a.setBeaconSizeLimit(s.beaconSizeLimit))):(console.debug("OR WebWorker: writer not initialised. Received auth."),void g()):(console.debug("OR WebWorker: sender not initialised. Received auth."),void g()):void 0}if(a){const t=a;s.forEach((s=>{55===s[0]&&(s[1]?p=setTimeout((()=>g()),18e5):clearTimeout(p)),t.writeMessage(s)}))}else postMessage("not_init"),g()}else o()}else o()};'],{type:"text/javascript"}))),this.worker.onerror=e=>{this._debug("webworker_error",e)},this.worker.onmessage=({data:e})=>{this.handleWorkerMsg(e)};const e=()=>{this.worker&&this.worker.postMessage(null)};this.attachEventListener(window,"beforeunload",e,!1),this.attachEventListener(document.body,"mouseleave",e,!1,!1),this.attachEventListener(document,"visibilitychange",e,!1)}catch(e){this._debug("worker_start",e)}}handleWorkerMsg(e){if("a_stop"===e)this.stop(!1);else if("a_start"===e)this.start({},!0);else if("not_init"===e)this.debug.warn("OR WebWorker: writer not initialised. Restarting tracker");else if("failure"===e.type)this.stop(!1),this.debug.error("worker_failed",e.reason),this._debug("worker_failed",e.reason);else if("compress"===e.type){const t=e.batch;t.byteLength>this.compressionThreshold?(0,o.ZI)(e.batch,{mtime:0},((e,n)=>{e?(this.debug.error("Openreplay compression error:",e),this.worker?.postMessage({type:"uncompressed",batch:t})):this.worker?.postMessage({type:"compressed",batch:n})})):this.worker?.postMessage({type:"uncompressed",batch:t})}else"queue_empty"===e.type&&this.onSessionSent()}_debug(e,t){null!==this.options.__debug_report_edp&&fetch(this.options.__debug_report_edp,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({context:e,error:`${t}`})}),this.debug.error("OpenReplay error: ",e,t)}send(e,t=!1){this.activityState!==hn.NotActive&&(this.activityState===hn.ColdStart?(this.bufferedMessages1.push(e),this.singleBuffer||this.bufferedMessages2.push(e),this.conditionsManager?.processMessage(e)):this.messages.push(e),this.activityState===hn.Active&&t&&this.commit())}_nCommit(){if(this.socketMode)return this.messages.unshift(Xe(this.session.getTabId())),this.messages.unshift(j(this.timestamp())),this.commitCallbacks.forEach((e=>e(this.messages))),void(this.messages.length=0);if(void 0!==this.worker&&this.messages.length){if(this.insideIframe)return window.parent.postMessage({line:xn,messages:this.messages,domain:this.initialHostName},"*"),this.commitCallbacks.forEach((e=>e(this.messages))),void(this.messages.length=0);try{e=()=>{this.messages.unshift(Xe(this.session.getTabId())),this.messages.unshift(j(this.timestamp())),this.worker?.postMessage(this.messages),this.commitCallbacks.forEach((e=>e(this.messages))),this.messages.length=0},P.addTask(e)}catch(e){this._debug("worker_commit",e),this.stop(!0),setTimeout((()=>{this.start()}),500)}var e}}_cStartCommit(){this.coldStartCommitN+=1,2===this.coldStartCommitN&&(this.bufferedMessages1.push(j(this.timestamp())),this.bufferedMessages1.push(Xe(this.session.getTabId())),this.bufferedMessages2.push(j(this.timestamp())),this.bufferedMessages2.push(Xe(this.session.getTabId())),this.coldStartCommitN=0)}commit(){this.activityState===hn.ColdStart?this._cStartCommit():this._nCommit()}postToWorker(e){this.worker?.postMessage(e),this.commitCallbacks.forEach((t=>t(e))),e.length=0}timestamp(){return g()+this.delay}safe(e){const t=this;return function(...n){try{e.apply(this,n)}catch(e){t._debug("safe_fn_call",e)}}}attachCommitCallback(e){this.commitCallbacks.push(e)}attachStartCallback(e,t=!1){t&&(e=this.safe(e)),this.startCallbacks.push(e)}attachStopCallback(e,t=!1){t&&(e=this.safe(e)),this.stopCallbacks.push(e)}attachEventListener(e,t,n,r=!0,o=!0){r&&(n=this.safe(n)),this.attachStartCallback((()=>e?M(e,t,n,o):null),r),this.attachStopCallback((()=>e?T(e,t,n,o):null),r)}checkRequiredVersion(e){const t=e.split(/[.-]/),n=this.version.split(/[.-]/);for(let e=0;e<3;e++){if(isNaN(Number(n[e]))||isNaN(Number(t[e])))return!1;if(Number(n[e])>Number(t[e]))return!0;if(Number(n[e])<Number(t[e]))return!1}return!0}getTrackerInfo(){return{userUUID:this.localStorage.getItem(this.options.local_uuid_key),projectKey:this.projectKey,revID:this.revID,trackerVersion:this.version,isSnippet:this.options.__is_snippet}}getSessionInfo(){return{...this.session.getInfo(),...this.getTrackerInfo()}}getSessionToken(){return this.session.getSessionToken()}getSessionID(){return this.session.getInfo().sessionID||void 0}getSessionURL(e){const{projectID:t,sessionID:n,timestamp:r}=this.session.getInfo();if(!t||!n)return void this.debug.error("OpenReplay error: Unable to build session URL");const o=this.options.ingestPoint,i=(/api\.openreplay\.com/.test(o)?"https://app.openreplay.com/ingest":o).replace(/ingest$/,`${t}/session/${n}`);return e?.withCurrentTime?`${i}?jumpto=${g()-r}`:i}getHost(){return new URL(this.options.ingestPoint).host}getProjectKey(){return this.projectKey}getBaseHref(){return"string"==typeof this.options.resourceBaseHref?this.options.resourceBaseHref:(this.options.resourceBaseHref,document.baseURI?document.baseURI:document.head?.getElementsByTagName("base")[0]?.getAttribute("href")||location.origin+location.pathname)}resolveResourceURL(e){const t=new URL(this.getBaseHref());return t.pathname+="/"+new URL(e).pathname,t.pathname.replace(/\/+/g,"/"),t.toString()}isServiceURL(e){return e.startsWith(this.options.ingestPoint)}active(){return this.activityState===hn.Active}resetNextPageSession(e){e?this.sessionStorage.setItem(this.options.session_reset_key,"t"):this.sessionStorage.removeItem(this.options.session_reset_key)}checkSessionToken(e){const t=null!==this.sessionStorage.getItem(this.options.session_reset_key),n=e||t,r=this.session.getSessionToken();return n||!r}async coldStart(e={},t){this.singleBuffer=!1;const n=this.checkSessionToken(e.forceNew);t&&await this.setupConditionalStart(e);const r=()=>{this.orderNumber+=1,m(),this.coldStartTs=g(),this.orderNumber%2==0?(this.bufferedMessages1.length=0,this.bufferedMessages1.push(j(this.timestamp())),this.bufferedMessages1.push(Xe(this.session.getTabId()))):(this.bufferedMessages2.length=0,this.bufferedMessages2.push(j(this.timestamp())),this.bufferedMessages2.push(Xe(this.session.getTabId()))),this.stop(!1),this.activityState=hn.ColdStart,e.sessionHash&&this.session.applySessionHash(e.sessionHash),e.forceNew&&this.session.reset(),this.session.assign({userID:e.userID,metadata:e.metadata}),n||(this.debug.log("continuing session on new tab",this.session.getTabId()),this.send(Ge(this.session.getTabId()))),this.observer.observe(),this.ticker.start()};this.coldInterval=setInterval((()=>{r()}),3e4),r()}async setupConditionalStart(e){this.conditionsManager=new s(this,e);const t=await fetch(this.options.ingestPoint+"/v1/web/start",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...this.getTrackerInfo(),timestamp:g(),doNotRecord:!0,bufferDiff:0,userID:this.session.getInfo().userID,token:void 0,deviceMemory:nt,jsHeapSizeLimit:rt,timezone:mn(),width:window.screen.width,height:window.screen.height})}),{token:n,userBrowser:r,userCity:o,userCountry:i,userDevice:a,userOS:l,userState:c,projectID:u,features:d}=await t.json();this.features=d||this.features,this.session.assign({projectID:u}),this.session.setUserInfo({userBrowser:r,userCity:o,userCountry:i,userDevice:a,userOS:l,userState:c});const f={sessionToken:n,userUUID:"",sessionID:""};this.startCallbacks.forEach((e=>e(f))),await(this.conditionsManager?.fetchConditions(u,n)),this.features["feature-flags"]&&(await this.featureFlags.reloadFlags(n),this.conditionsManager?.processFlags(this.featureFlags.flags)),await this.tagWatcher.fetchTags(this.options.ingestPoint,n)}offlineRecording(e={},t){this.onSessionSent=t,this.singleBuffer=!0;const n=this.checkSessionToken(e.forceNew);m(),this.coldStartTs=g();const r=this.localStorage.getItem(dn);if(r){const e=JSON.parse(r);this.bufferedMessages1=Array.isArray(e)?e:this.bufferedMessages1,this.localStorage.removeItem(dn)}this.bufferedMessages1.push(j(this.timestamp())),this.bufferedMessages1.push(Xe(this.session.getTabId())),this.activityState=hn.ColdStart,e.sessionHash&&this.session.applySessionHash(e.sessionHash),e.forceNew&&this.session.reset(),this.session.assign({userID:e.userID,metadata:e.metadata});const o={sessionToken:"",userUUID:"",sessionID:""};return this.startCallbacks.forEach((e=>e(o))),n||this.send(Ge(this.session.getTabId())),this.observer.observe(),this.ticker.start(),{saveBuffer:this.saveBuffer,getBuffer:this.getBuffer,setBuffer:this.setBuffer}}saveBuffer(){this.localStorage.setItem(dn,JSON.stringify(this.bufferedMessages1))}getBuffer(){return this.bufferedMessages1}setBuffer(e){this.bufferedMessages1=e}async uploadOfflineRecording(){this.stop(!1);const e=g();this.worker?.postMessage({type:"start",pageNo:this.session.incPageNo(),ingestPoint:this.options.ingestPoint,timestamp:this.coldStartTs,url:document.URL,connAttemptCount:this.options.connAttemptCount,connAttemptGap:this.options.connAttemptGap,tabId:this.session.getTabId()});const t=await fetch(this.options.ingestPoint+"/v1/web/start",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...this.getTrackerInfo(),timestamp:e,doNotRecord:!1,bufferDiff:e-this.coldStartTs,userID:this.session.getInfo().userID,token:void 0,deviceMemory:nt,jsHeapSizeLimit:rt,timezone:mn()})}),{token:n,userBrowser:r,userCity:o,userCountry:i,userDevice:a,userOS:s,userState:l,beaconSizeLimit:c,projectID:u}=await t.json();for(this.worker?.postMessage({type:"auth",token:n,beaconSizeLimit:c}),this.session.assign({projectID:u}),this.session.setUserInfo({userBrowser:r,userCity:o,userCountry:i,userDevice:a,userOS:s,userState:l});this.bufferedMessages1.length>0;)await this.flushBuffer(this.bufferedMessages1);this.postToWorker([["q_end"]]),this.clearBuffers()}async _start(e={},t=!1,n){const r=this.activityState===hn.ColdStart;if(r&&this.coldInterval&&clearInterval(this.coldInterval),!this.worker){const e="No worker found: perhaps, CSP is not set.";return this.signalError(e,[]),Promise.resolve(fn(e))}if(this.activityState===hn.Active||this.activityState===hn.Starting){const e="OpenReplay: trying to call `start()` on the instance that has been started already.";return Promise.resolve(fn(e))}this.activityState=hn.Starting,r||m(),e.sessionHash&&this.session.applySessionHash(e.sessionHash),e.forceNew&&this.session.reset(),this.session.assign({userID:e.userID,metadata:e.metadata});const o=g();this.worker.postMessage({type:"start",pageNo:this.session.incPageNo(),ingestPoint:this.options.ingestPoint,timestamp:r?this.coldStartTs:o,url:document.URL,connAttemptCount:this.options.connAttemptCount,connAttemptGap:this.options.connAttemptGap,tabId:this.session.getTabId()});const i=this.session.getSessionToken(),a=this.checkSessionToken(e.forceNew);this.sessionStorage.removeItem(this.options.session_reset_key),this.debug.log("OpenReplay: starting session; need new session id?",a,"session token: ",i);try{const t=await window.fetch(this.options.ingestPoint+"/v1/web/start",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...this.getTrackerInfo(),timestamp:o,doNotRecord:!1,bufferDiff:o-this.coldStartTs,userID:this.session.getInfo().userID,token:a?void 0:i,deviceMemory:nt,jsHeapSizeLimit:rt,timezone:mn(),condition:n,assistOnly:e.assistOnly??this.socketMode,width:window.screen.width,height:window.screen.height})});if(200!==t.status){const e=await t.text(),n=e===cn?cn:`Server error: ${t.status}. ${e}`;return fn(n)}if(!this.worker){const e="no worker found after start request (this should not happen in real world)";return this.signalError(e,[]),fn(e)}const{token:l,userUUID:c,projectID:u,beaconSizeLimit:d,compressionThreshold:f,delay:h,sessionID:p,startTimestamp:m,userBrowser:v,userCity:g,userCountry:y,userDevice:b,userOS:w,userState:E,canvasEnabled:x,canvasQuality:S,canvasFPS:_,assistOnly:O,features:C}=await t.json();if(this.features=C||this.features,"string"!=typeof l||"string"!=typeof c||"number"!=typeof m&&void 0!==m||"string"!=typeof p||"number"!=typeof h||"number"!=typeof d&&void 0!==d){const e=`Incorrect server response: ${JSON.stringify(t)}`;return this.signalError(e,[]),fn(e)}this.delay=h,this.session.setSessionToken(l),this.session.setUserInfo({userBrowser:v,userCity:g,userCountry:y,userDevice:b,userOS:w,userState:E}),this.session.assign({sessionID:p,timestamp:m||o,projectID:u}),O?(this.socketMode=!0,this.worker.postMessage("stop")):this.worker.postMessage({type:"auth",token:l,beaconSizeLimit:d}),a||l!==i||(this.debug.log("continuing session on new tab",this.session.getTabId()),this.send(Ge(this.session.getTabId()))),Object.entries(this.session.getInfo().metadata).forEach((([e,t])=>this.send(re(e,t)))),this.localStorage.setItem(this.options.local_uuid_key,c),this.compressionThreshold=f;const A={sessionToken:l,userUUID:c,sessionID:p};if(this.startCallbacks.forEach((e=>e(A))),this.features["feature-flags"]&&this.featureFlags.reloadFlags(),await this.tagWatcher.fetchTags(this.options.ingestPoint,l),this.activityState=hn.Active,x&&!this.options.canvas.disableCanvas&&(this.canvasRecorder=this.canvasRecorder??new qt(this,{fps:_,quality:S,isDebug:this.options.canvas.__save_canvas_locally,fixedScaling:this.options.canvas.fixedCanvasScaling,useAnimationFrame:this.options.canvas.useAnimationFrame}),this.canvasRecorder.startTracking()),r){const e=this.bufferedMessages1.length>this.bufferedMessages2.length?this.bufferedMessages1:this.bufferedMessages2;for(;e.length>0;)await this.flushBuffer(e);this.clearBuffers(),this.commit()}else this.insideIframe&&this.rootId?this.observer.crossdomainObserve(this.rootId,this.frameOderNumber):this.observer.observe(),this.ticker.start();if(this.features["usability-test"]){let e;this.uxtManager=this.uxtManager?this.uxtManager:new Nt(this,un);const t=this.localStorage.getItem(un);if(t&&(e=parseInt(t,10)),location?.search){const t=new URLSearchParams(location.search);if(t.has("oruxt")){const n=t.get("oruxt");e=n?parseInt(n,10):void 0}}e&&(this.uxtManager.isActive?this.onUxtCb.forEach((t=>t(e))):this.uxtManager.getTest(e,l,Boolean(t)).then((e=>{e&&this.onUxtCb.forEach((t=>t(e)))})))}return s=A,{...s,success:!0}}catch(e){if(this.stop(),this.session.reset(),e===cn)return this.signalError(cn,[]),fn(cn);this._debug("session_start",e);const t=e instanceof Error?e.message:e.toString();return this.signalError(t,[]),fn(t)}var s}addOnUxtCb(e){this.onUxtCb.push(e)}getUxtId(){return this.uxtManager?.getTestId()}async waitStart(){return new Promise((e=>{const t=()=>{this.canStart?e(!0):setTimeout(t,25)};t()}))}async waitStarted(){return new Promise((e=>{const t=()=>{this.activityState===hn.Active?e(!0):setTimeout(t,25)};t()}))}async start(...e){if(this.activityState===hn.Active||this.activityState===hn.Starting){const e="OpenReplay: trying to call `start()` on the instance that has been started already.";return Promise.resolve(fn(e))}return document.hidden?new Promise((t=>{const n=async()=>{document.hidden||(await this.waitStart(),document.removeEventListener("visibilitychange",n),t(this._start(...e)))};document.addEventListener("visibilitychange",n)})):(await this.waitStart(),this._start(...e))}forceFlushBatch(){this.worker?.postMessage("forceFlushBatch")}getTabId(){return this.session.getTabId()}clearBuffers(){this.bufferedMessages1.length=0,this.bufferedMessages2.length=0}trackWs(e){const t=e;return(e,n,r="down")=>{"string"!=typeof e||"string"!=typeof n||n.length>5242880||e.length>255||this.send(He("websocket",t,n,this.timestamp(),r,e))}}stop(e=!0){if(this.activityState!==hn.NotActive)try{this.attributeSender.clear(),this.sanitizer.clear(),this.observer.disconnect(),this.nodes.clear(),this.ticker.stop(),this.stopCallbacks.forEach((e=>e())),this.debug.log("OpenReplay tracking stopped."),this.tagWatcher.clear(),this.worker&&e&&this.worker.postMessage("stop"),this.canvasRecorder?.clear()}finally{this.activityState=hn.NotActive}}}const _n=f&&"InstallTrigger"in window?e=>e.message+"\n"+e.stack:e=>e.stack||e.message;function On(e){return void 0===e?"undefined":null===e?"null":e instanceof Error?_n(e):Array.isArray(e)?`Array(${e.length})`:String(e)}function Cn(e){if(void 0===e)return"undefined";if(null===e)return"null";if(e instanceof Error)return _n(e);if(Array.isArray(e))return`Array(${e.length})[${e.slice(0,10).map(On).join(", ")}]`;if("object"==typeof e){const t=[];let n=0;for(const r in e){if(10==++n)break;const o=e[r];t.push(r+": "+On(o))}return"{"+t.join(", ")+"}"}return e.toString()}const An=["log","info","warn","error","debug","assert"];function kn(e,t){const n=Object.assign({consoleMethods:An,consoleThrottling:30},t);if(!Array.isArray(n.consoleMethods)||0===n.consoleMethods.length)return;const r=e.safe(((t,n)=>e.send(Z(t,function(e){return"string"==typeof e[0]&&e.unshift(e.shift().replace(/%(o|s|f|d|i)/g,((t,n)=>{const r=e.shift();if(void 0===r)return t;switch(n){case"o":return Cn(r);case"s":return On(r);case"f":return function(e){return"number"!=typeof e?"NaN":e.toString()}(r);case"d":case"i":return function(e){return"number"!=typeof e?"NaN":Math.floor(e).toString()}(r);default:return t}}))),e.map(Cn).join(" ")}(n)))));let o=0;const i=()=>{o=0};e.attachStartCallback(i),e.ticker.attach(i,33,!1);const a=e.safe((t=>((t,i)=>{const a={apply:function(e,t,a){Reflect.apply(e,i,a),o+=1,o>n.consoleThrottling||r(e.name,a)}};n.consoleMethods.forEach((n=>{if(-1===An.indexOf(n))return void e.debug.error(`OpenReplay: unsupported console method "${n}"`);const r=i.console[n];t[n]=new Proxy(r,a)}))})(t.console,t)));a(window),e.observer.attachContextCallback(a)}var Mn=n(14263);function Tn(e){return[{columnNumber:e.colno,lineNumber:e.lineno,fileName:e.filename,functionName:"",source:""}]}function Pn(e,t,n={}){let r=t;try{r=Mn.parse(e)}catch(e){}return Ne(e.name,e.message,JSON.stringify(r),JSON.stringify(n))}function In(e,t=window,n={}){if(e instanceof ErrorEvent){if(e.error instanceof Error)return Pn(e.error,Tn(e),n);{let[t,r]=e.message.split(":");return r||(t="Error",r=e.message),Ne(t,r,JSON.stringify(Tn(e)),JSON.stringify(n))}}if("PromiseRejectionEvent"in t&&e instanceof t.PromiseRejectionEvent){if(e.reason instanceof Error)return Pn(e.reason,[],n);{let t;try{t=JSON.stringify(e.reason)}catch(n){t=String(e.reason)}return Ne("Unhandled Promise Rejection",t,"[]",JSON.stringify(n))}}return null}function jn(e,t=document.location){return(e=e.trim()).startsWith("//")||e.startsWith("http://")||e.startsWith("https://")||e.startsWith("data:")?e:e.startsWith("/")?t.origin+e:t.origin+t.pathname+e}const zn=["text","password","email","search","number","range","date","tel","time"],Dn=f&&"labels"in HTMLInputElement.prototype?e=>{let t=e;for(;null!==(t=t.parentNode);)if(Ut(t,"label"))return t;const n=e.labels;if(null!==n&&1===n.length)return n[0]}:e=>{let t=e;for(;null!==(t=t.parentNode);)if(Ut(t,"label"))return t;const n=e.id;if(n){const t=e.ownerDocument.querySelectorAll('label[for="'+n+'"]');if(null!==t&&1===t.length)return t[0]}};function Rn(e){let t=_(e);if(null===t){const n=Dn(e);t=n&&n.innerText||e.placeholder||e.name||e.id||e.className||e.type}return b(t).slice(0,100)}var Nn=n(66005);function $n(e){const t=e.tagName.toUpperCase();return"BUTTON"===t||"A"===t||"LI"===t||"SELECT"===t||"TR"===t||"TH"===t||null!=e.onclick||"button"===e.getAttribute("role")}function Fn(e,t){return e instanceof Element?function(e,t){let n=e;for(;null!==n&&n!==t.documentElement;){if(O(n,"masked"))return null;n=n.parentElement}if(Ft(e)){let t=e.ownerSVGElement;for(;null!==t;)e=t,t=t.ownerSVGElement}for(n=e;null!==n&&n!==t.documentElement;){const e=n.tagName.toUpperCase();if("LABEL"===e)return null;if("INPUT"===e)return n;if($n(n)||null!==_(n))return n;n=n.parentElement}return e===t.documentElement?null:e}(e,t):null}function Ln(e,t){const{disableClickmaps:n=!1}=t||{};let r,o=-1,i=-1,a=!1,s=null,l=0,c={},u=0,d=0,f=0,h=0;e.attachStartCallback((()=>{r=setInterval((()=>function(){const t=h/225;u?(f>4&&(t-u)/225>.008&&e.send(We(g())),h=0,f=0,u=t):u=t}()),225)})),e.attachStopCallback((()=>{o=-1,i=-1,a=!1,s=null,c={},r&&clearInterval(r)}));const p=()=>{a&&(e.send(X(o,i)),a=!1)},m=(r,u=!1)=>{const m=u?e.attachEventListener.bind(e):e.nodes.attachNodeListener.bind(e.nodes);m(r.documentElement,"mouseover",(e=>{const t=Fn(e.target,r);t!==s&&(s=t,l=performance.now())})),m(r,"mousemove",(t=>{const[n,s]=e.observer.getDocumentOffset(r);o=t.clientX+n,i=t.clientY+s,a=!0;const l=Math.sign(t.movementX);h+=Math.abs(t.movementX)+Math.abs(t.movementY),l!==d&&(d=l,f++)}),!1),m(r,"click",(o=>{const i=Fn(o.target,r);if(!o.clientX&&!o.clientY||null===i)return;const a=e.nodes.getID(i);if(void 0!==a){const u=o.pageX,d=o.pageY,f=r.documentElement.scrollWidth,h=r.documentElement.scrollHeight,m=Bn(u/f),v=Bn(d/h);p(),e.send(Me(a,s===i?Math.round(performance.now()-l):0,function(t){const n=_(t);if(null!==n)return n;if(Ut(t,"input"))return Rn(t);if($n(t)){let n="";return t instanceof HTMLElement&&(n=e.sanitizer.getInnerTextSecure(t)),n=n||t.id||t.className,b(n).slice(0,100)}return""}(i),$n(i)&&!n?function(e,t,n){return c[e]=c[e]||function(e,t,n){return(0,Nn.n)(e,{root:t.body,seedMinLength:3,optimizedMinLength:n?.minSelectorDepth||2,threshold:n?.nthThreshold||1e3,maxNumberOfTries:n?.maxOptimiseTries||1e4})}(t,r,n)}(a,i,t):"",m,v),!0)}s=null}))};e.nodes.attachNodeCallback((e=>{Ht(e)&&m(e)})),m(document,!0),e.ticker.attach(p,t?.trackingOffset||7)}function Bn(e){return Math.round(1e4*e)}function Hn(e){const t=e.defaultView;return[t&&t.scrollX||e.documentElement&&e.documentElement.scrollLeft||e.body&&e.body.scrollLeft||0,t&&t.scrollY||e.documentElement&&e.documentElement.scrollTop||e.body&&e.body.scrollTop||0]}function Vn(e){return Vt(e)&&!!e.adoptedStyleSheets}let Un=15;function Wn(){return Un++}const qn=new Map;var Kn;!function(e){e[e.UNSENT=0]="UNSENT",e[e.OPENED=1]="OPENED",e[e.HEADERS_RECEIVED=2]="HEADERS_RECEIVED",e[e.LOADING=3]="LOADING",e[e.DONE=4]="DONE"}(Kn||(Kn={}));class Gn{constructor(e=[],t,n){this.ignoredHeaders=e,this.setSessionTokenHeader=t,this.sanitize=n,this.id="",this.name="",this.method="",this.url="",this.status=0,this.statusText="",this.cancelState=0,this.readyState=0,this.header={},this.responseType="",this.requestHeader={},this.responseSize=0,this.responseSizeText="",this.startTime=0,this.endTime=0,this.duration=0,this.getData={},this.requestData=null}getMessage(){const{reqHs:e,resHs:t}=this.writeHeaders(),n={headers:e,body:"GET"===this.method?JSON.stringify(this.getData):this.requestData},r={headers:t,body:this.response},o=this.sanitize({url:this.url,method:this.method,status:this.status,request:n,response:r});if(o)return Be(this.requestType,o.method,o.url,JSON.stringify(o.request),JSON.stringify(o.response),o.status,this.startTime+v(),this.duration,this.responseSize)}writeHeaders(){const e={};Object.entries(this.requestHeader).forEach((([t,n])=>{this.isHeaderIgnored(t)||(e[t]=n)})),this.setSessionTokenHeader(((t,n)=>{e[t]=n}));const t={};return Object.entries(this.header).forEach((([e,n])=>{this.isHeaderIgnored(e)||(t[e]=n)})),{reqHs:e,resHs:t}}isHeaderIgnored(e){return Array.isArray(this.ignoredHeaders)?this.ignoredHeaders.map((e=>e.toLowerCase())).includes(e.toLowerCase()):this.ignoredHeaders}}const Xn=(e,t)=>{let n="";switch(e){case"":case"text":case"json":"string"==typeof t?n=t:Zn(t)||Array.isArray(t)?n=JSON.stringify(t):void 0!==t&&(n=Object.prototype.toString.call(t));break;default:void 0!==t&&(n=Object.prototype.toString.call(t))}return n},Yn=e=>{if(!e)return null;let t;if("string"==typeof e){"{"!==e[0]&&"["!==e[0]||(t=e);const n=e.split("&");t=1===n.length?e:n.join(",")}else if(null==(n=e)||ArrayBuffer.isView(n)||"undefined"==typeof Symbol||"function"!=typeof n[Symbol.iterator])t=e instanceof Blob||e instanceof ReadableStream||e instanceof ArrayBuffer?"byte data":Zn(e)?e:"can't parse body "+typeof e;else{const n=[];for(const[t,r]of e)n.push(`${t}=${"string"==typeof r?r:"[object Object]"}`);t=n.join(",")}var n;return t};function Zn(e){return null!==e&&"object"==typeof e}function Jn(e){return e<=0?"":e>=1e6?(e/1e3/1e3).toFixed(1)+" MB":e>=1e3?(e/1e3).toFixed(1)+" KB":`${e}B`}const Qn=e=>(e.startsWith("//")&&(e=`${new URL(window.location.href).protocol}${e}`),e.startsWith("http")?new URL(e):new URL(e,window.location.href));class er{constructor(e,t){this.resp=e,this.item=t,this.mockReader()}set(e,t,n){return Reflect.set(e,t,n)}get(e,t){const n=Reflect.get(e,t);switch(t){case"arrayBuffer":case"blob":case"formData":case"json":case"text":return()=>(this.item.responseType=t.toLowerCase(),n.apply(e).then((e=>(this.item.response=Xn(this.item.responseType,e),e))))}return"function"==typeof n?n.bind(e):n}mockReader(){let e;if(!this.resp.body)return;if("function"!=typeof this.resp.body.getReader)return;const t=this.resp.body.getReader;this.resp.body.getReader=()=>{const n=t.apply(this.resp.body);if(this.item.readyState===Kn.DONE)return n;const r=n.read,o=n.cancel;return this.item.responseType="arraybuffer",n.read=()=>r.apply(n).then((t=>{if(e){const n=new Uint8Array(e.length+t.value.length);n.set(e),n.set(t.value,e.length),e=n}else e=new Uint8Array(t.value);return this.item.endTime=performance.now(),this.item.duration=this.item.endTime-(this.item.startTime||this.item.endTime),this.item.readyState=t.done?4:3,this.item.statusText=t.done?String(this.item.status):"Loading",this.item.responseSize=e.length,this.item.responseSizeText=Jn(this.item.responseSize),t.done&&(this.item.response=Xn(this.item.responseType,e)),t})),n.cancel=(...t)=>(this.item.cancelState=2,this.item.statusText="Cancel",this.item.endTime=performance.now(),this.item.duration=this.item.endTime-(this.item.startTime||this.item.endTime),this.item.response=Xn(this.item.responseType,e),o.apply(n,t)),n}}}class tr{constructor(e,t,n,r,o,i){this.ignoredHeaders=e,this.setSessionTokenHeader=t,this.sanitize=n,this.sendMessage=r,this.isServiceUrl=o,this.tokenUrlMatcher=i}apply(e,t,n){const r=n[0],o=n[1];if(!r||"string"!=typeof r&&!r?.url)return e.apply(window,n);if(r instanceof URL||"string"==typeof r?this.isServiceUrl(String(r)):this.isServiceUrl(String(r.url)))return e.apply(window,n);const i=new Gn(this.ignoredHeaders,this.setSessionTokenHeader,this.sanitize);return this.beforeFetch(i,r,o),this.setSessionTokenHeader(((e,t)=>{if(void 0===this.tokenUrlMatcher||this.tokenUrlMatcher(i.url))return void 0===n[1]&&n[0]instanceof Request?n[0].headers.append(e,t):(n[1]||(n[1]={}),void 0===n[1].headers&&(n[1]={...n[1],headers:{}}),void(n[1].headers instanceof Headers?n[1].headers.append(e,t):Array.isArray(n[1].headers)?n[1].headers.push([e,t]):n[1].headers[e]=t))})),e.apply(window,n).then(this.afterFetch(i)).catch((e=>{throw i.endTime=performance.now(),i.duration=i.endTime-(i.startTime||i.endTime),e}))}beforeFetch(e,t,n){let r,o="GET",i={};if("string"==typeof t?(o=n?.method||"GET",r=Qn(t),i=n?.headers||{}):(o=t.method||"GET",r=Qn(t.url),i=t.headers),e.method=o,e.requestType="fetch",e.requestHeader=i,e.url=r.toString(),e.name=(r.pathname.split("/").pop()||"")+r.search,e.status=0,e.statusText="Pending",e.readyState=1,e.startTime||(e.startTime=performance.now()),"[object Headers]"===Object.prototype.toString.call(i)){e.requestHeader={};for(const[t,n]of i)e.requestHeader[t]=n}else e.requestHeader=i;if(r.search&&r.searchParams){e.getData={};for(const[t,n]of r.searchParams)e.getData[t]=n}n?.body&&(e.requestData=Yn(n.body))}afterFetch(e){return t=>{e.endTime=performance.now(),e.duration=e.endTime-(e.startTime||e.endTime),e.status=t.status,e.statusText=String(t.status);let n=!1;e.header={};for(const[r,o]of t.headers)e.header[r]=o,n=o.toLowerCase().indexOf("chunked")>-1||n;return n?e.readyState=3:(e.readyState=4,this.handleResponseBody(t.clone(),e).then((t=>{e.responseSize="string"==typeof t?t.length:t.byteLength,e.responseSizeText=Jn(e.responseSize),e.response=Xn(e.responseType,t);const n=e.getMessage();n&&this.sendMessage(n)})).catch((e=>{if("AbortError"!==e.name)throw e}))),new Proxy(t,new er(t,e))}}handleResponseBody(e,t){const n=e.headers.get("content-type");return n&&n.includes("application/json")?(t.responseType="json",e.text()):n&&(n.includes("text/html")||n.includes("text/plain"))?(t.responseType="text",e.text()):(t.responseType="arraybuffer",e.arrayBuffer())}}class nr{static create(e,t,n,r,o,i){return new Proxy(fetch,new tr(e,t,n,r,o,i))}}class rr{constructor(e,t,n,r,o,i,a){this.ignoredHeaders=t,this.setSessionTokenHeader=n,this.sanitize=r,this.sendMessage=o,this.isServiceUrl=i,this.tokenUrlMatcher=a,this.XMLReq=e,this.XMLReq.onreadystatechange=()=>{this.onReadyStateChange()},this.XMLReq.onabort=()=>{this.onAbort()},this.XMLReq.ontimeout=()=>{this.onTimeout()},this.item=new Gn(t,n,r),this.item.requestType="xhr"}get(e,t){switch(t){case"open":return this.getOpen(e);case"send":return this.setSessionTokenHeader(((t,n)=>{(void 0===this.tokenUrlMatcher||this.tokenUrlMatcher(this.item.url))&&e.setRequestHeader(t,n)})),this.getSend(e);case"setRequestHeader":return this.getSetRequestHeader(e);default:const n=Reflect.get(e,t);return"function"==typeof n?n.bind(e):n}}set(e,t,n){switch(t){case"onreadystatechange":return this.setOnReadyStateChange(e,t,n);case"onabort":return this.setOnAbort(e,t,n);case"ontimeout":return this.setOnTimeout(e,t,n)}return Reflect.set(e,t,n)}onReadyStateChange(){if(!(this.item.url&&this.isServiceUrl(this.item.url)||(this.item.readyState=this.XMLReq.readyState,this.item.responseType=this.XMLReq.responseType,this.item.endTime=performance.now(),this.item.duration=this.item.endTime-this.item.startTime,this.updateItemByReadyState(),setTimeout((()=>{this.item.response=Xn(this.item.responseType,this.item.response)}),0),this.XMLReq.readyState!==Kn.DONE))){const e=this.item.getMessage();e&&this.sendMessage(e)}}onAbort(){this.item.cancelState=1,this.item.statusText="Abort";const e=this.item.getMessage();e&&this.sendMessage(e)}onTimeout(){this.item.cancelState=3,this.item.statusText="Timeout";const e=this.item.getMessage();e&&this.sendMessage(e)}getOpen(e){const t=Reflect.get(e,"open");return(...n)=>{const r=n[0],o=n[1];return this.item.method=r?r.toUpperCase():"GET",this.item.url=o.toString?.()||"",this.item.name=this.item.url?.replace(new RegExp("/*$"),"").split("/").pop()??"",this.item.getData=((e,t={})=>{Zn(t)||(t={});let n=e?e.split("?"):[];if(n.shift(),n.length>0){n=n.join("?").split("&");for(const e of n){const n=e.split("=");try{t[n[0]]=decodeURIComponent(n[1])}catch(e){t[n[0]]=n[1]}}}return t})(this.item.url,{}),t.apply(e,n)}}getSend(e){const t=Reflect.get(e,"send");return(...n)=>{const r=n[0];return this.item.requestData=Yn(r),t.apply(e,n)}}getSetRequestHeader(e){const t=Reflect.get(e,"setRequestHeader");return(...n)=>(this.item.requestHeader||(this.item.requestHeader={}),this.item.requestHeader[n[0]]=n[1],t.apply(e,n))}setOnReadyStateChange(e,t,n){return Reflect.set(e,t,((...t)=>{this.onReadyStateChange(),n?.apply(e,t)}))}setOnAbort(e,t,n){return Reflect.set(e,t,((...t)=>{this.onAbort(),n.apply(e,t)}))}setOnTimeout(e,t,n){return Reflect.set(e,t,((...t)=>{this.onTimeout(),n.apply(e,t)}))}updateItemByReadyState(){switch(this.XMLReq.readyState){case Kn.UNSENT:case Kn.OPENED:this.item.status=Kn.UNSENT,this.item.statusText="Pending",this.item.startTime||(this.item.startTime=performance.now());break;case Kn.HEADERS_RECEIVED:this.item.status=this.XMLReq.status,this.item.statusText="Loading",this.item.header={};const e=(this.XMLReq.getAllResponseHeaders()||"").split("\n");for(let t=0;t<e.length;t++){const n=e[t];if(!n)continue;const r=n.split(": "),o=r[0];this.item.header[o]=r.slice(1).join(": ")}break;case Kn.LOADING:this.item.status=this.XMLReq.status,this.item.statusText="Loading",this.XMLReq.response&&this.XMLReq.response.length&&(this.item.responseSize=this.XMLReq.response.length,this.item.responseSizeText=Jn(this.item.responseSize));break;case Kn.DONE:this.item.status=this.XMLReq.status||this.item.status||0,this.item.statusText=String(this.item.status),this.item.endTime=performance.now(),this.item.duration=this.item.endTime-(this.item.startTime||this.item.endTime),this.item.response=this.XMLReq.response,this.XMLReq.response&&this.XMLReq.response.length&&(this.item.responseSize=this.XMLReq.response.length,this.item.responseSizeText=Jn(this.item.responseSize));break;default:this.item.status=this.XMLReq.status,this.item.statusText="Unknown"}}}class or{static create(e,t,n,r,o,i){return new Proxy(XMLHttpRequest,{construct(a){const s=new a;return new Proxy(s,new rr(s,e,t,n,r,o,i))}})}}const ir=e=>e instanceof Blob?e.type:e instanceof FormData?"multipart/form-data":e instanceof URLSearchParams?"application/x-www-form-urlencoded;charset=UTF-8":"text/plain;charset=UTF-8";class ar{constructor(e,t,n,r,o){this.ignoredHeaders=e,this.setSessionTokenHeader=t,this.sanitize=n,this.sendMessage=r,this.isServiceUrl=o}apply(e,t,n){const r=n[0],o=n[1],i=new Gn(this.ignoredHeaders,this.setSessionTokenHeader,this.sanitize);if(this.isServiceUrl(r))return e.apply(t,n);const a=Qn(r);if(i.method="POST",i.url=r,i.name=(a.pathname.split("/").pop()||"")+a.search,i.requestType="beacon",i.requestHeader={"Content-Type":ir(o)},i.status=0,i.statusText="Pending",a.search&&a.searchParams){i.getData={};for(const[e,t]of a.searchParams)i.getData[e]=t}i.requestData=Yn(o),i.startTime||(i.startTime=performance.now());const s=e.apply(t,n);s?(i.endTime=performance.now(),i.duration=i.endTime-(i.startTime||i.endTime),i.status=0,i.statusText="Sent",i.readyState=4):(i.status=500,i.statusText="Unknown");const l=i.getMessage();return l&&this.sendMessage(l),s}}class sr{static hasSendBeacon(){return!!sr.origSendBeacon}static create(e,t,n,r,o){if(sr.hasSendBeacon())return new Proxy(sr.origSendBeacon,new ar(e,t,n,r,o))}}sr.origSendBeacon=window?.navigator?.sendBeacon;const lr=e=>console.warn(`Openreplay: Can't find ${e} in global context. \nIf you're using serverside rendering in your app, make sure that tracker is loaded dynamically, otherwise ${e} won't be tracked.`);function cr(e){return e.__or_req_data__||(e.__or_req_data__={body:void 0,headers:{}}),e.__or_req_data__}function ur(e){return"string"==typeof e?e.toUpperCase():"GET"}function dr(e,t={}){const n=Object.assign({failuresOnly:!1,ignoreHeaders:["cookie","set-cookie","authorization"],capturePayload:!1,sessionTokenHeader:!1,captureInIframes:!0,axiosInstances:void 0,useProxy:!0},t);!1===n.useProxy&&e.debug.warn("Network module is migrating to proxy api, to gradually migrate and test it set useProxy to true");const r=n.ignoreHeaders,o=Array.isArray(r)?e=>r.includes(e):()=>r,i=!0===n.sessionTokenHeader?"X-OpenReplay-SessionToken":n.sessionTokenHeader;function a(t){if(i){const n=e.getSessionToken();n&&e.safe(t)(i,n)}}function s(e){if(n.capturePayload||(delete e.request.body,delete e.response.body),n.sanitizer){const t=e.response.body;if("string"==typeof t)try{e.response.body=JSON.parse(t)}catch{}return n.sanitizer(e)}return e}function l(t){if(t&&"string"!=typeof t.body)try{t.body=JSON.stringify(t.body)}catch{t.body="<unable to stringify>",e.notify.warn("Openreplay fetch couldn't stringify body:",t.body)}return JSON.stringify(t)}const c=t=>{if(n.useProxy)return function(e,t,n,r,o,i,a){e.XMLHttpRequest?e.XMLHttpRequest=or.create(t,n,r,o,i,a):lr("XMLHttpRequest"),e.fetch?e.fetch=nr.create(t,n,r,o,i,a):lr("fetch"),e?.navigator?.sendBeacon&&(e.navigator.sendBeacon=sr.create(t,n,r,o,i))}(t,n.ignoreHeaders,a,s,(t=>e.send(t)),(t=>e.isServiceURL(t)),n.tokenUrlMatcher);const i=t.fetch.bind(t);t.fetch=(t,c={})=>{if(!("string"==typeof t||t instanceof URL)||e.isServiceURL(String(t)))return i(t,c);a((function(e,t){void 0===c.headers&&(c.headers={}),c.headers instanceof Headers?c.headers.append(e,t):Array.isArray(c.headers)?c.headers.push([e,t]):c.headers[e]=t}));const u=performance.now();return i(t,c).then((i=>{const a=performance.now()-u;if(n.failuresOnly&&i.status<400)return i;const d=i.clone();return d.text().then((n=>{const i={},f={};if(!0!==r){const e=([e,t])=>{o(e)||(i[e]=t)};c.headers instanceof Headers?c.headers.forEach(((t,n)=>e([n,t]))):Array.isArray(c.headers)?c.headers.forEach(e):"object"==typeof c.headers&&Object.entries(c.headers).forEach(e),d.headers.forEach(((e,t)=>{o(t)||(f[t]=e)}))}const h=ur(c.method),p=s({url:String(t),method:h,status:d.status,request:{headers:i,body:c.body||null},response:{headers:f,body:n}});p&&e.send(Be("fetch",h,String(p.url),l(p.request),l(p.response),d.status,u+v(),a,0))})).catch((t=>e.debug.error("Could not process Fetch response:",t))),i}))};const c=t.XMLHttpRequest.prototype.open,u=t.XMLHttpRequest.prototype.setRequestHeader,d=t.XMLHttpRequest.prototype.send;n.axiosInstances||(t.XMLHttpRequest.prototype.open=function(t,n){const r=this;a(((e,t)=>r.setRequestHeader(e,t)));let i=0;return r.addEventListener("loadstart",(e=>{i=e.timeStamp})),r.addEventListener("load",e.safe((a=>{const{headers:c,body:u}=cr(r),d=i>0?a.timeStamp-i:0,f=(r.getAllResponseHeaders()||"").trim().split(/[\r\n]+/),h={};f.forEach((function(e){const t=e.split(": "),n=t.shift();o(n)||(h[n]=t.join(": "))}));const p=ur(t),m=s({url:String(n),method:p,status:r.status,request:{headers:c,body:u||null},response:{headers:h,body:r.response}});m&&e.send(Be("xhr",p,String(m.url),l(m.request),l(m.response),r.status,i+v(),d,0))}))),c.apply(this,arguments)},t.XMLHttpRequest.prototype.send=function(e){return cr(this).body=e,d.apply(this,arguments)},t.XMLHttpRequest.prototype.setRequestHeader=function(e,t){return o(e)||(cr(this).headers[e]=t),u.apply(this,arguments)})};c(window),n.axiosInstances&&n.axiosInstances.forEach((t=>{!function(e,t,n,r,o){function i(t){e.debug.log("Openreplay: capturing axios response data",t);const{headers:i,data:a,method:s,url:l,baseURL:c}=t.config,{data:u,headers:d,status:f,response:h}=t,{data:p,headers:m,status:g}=h||{},y=n.ignoreHeaders,b=Array.isArray(y)?e=>y.includes(e):()=>y;function w(e,t){b(t[0])||(e[t[0]]=t[1])}let E={},x={};i.toJSON?E=i.toJSON():i instanceof Headers?i.forEach(((e,t)=>w(E,[t,e]))):Array.isArray(i)?i.forEach((e=>w(E,e))):"object"==typeof i&&Object.entries(i).forEach((e=>w(E,e)));const S=m||d;S.toJSON?x=S.toJSON():S instanceof Headers?S.forEach(((e,t)=>w(x,[t,e]))):Array.isArray(S)?S.forEach((e=>w(x,e))):"object"==typeof S&&Object.entries(S).forEach((([e,t])=>{b(e)||(x[e]=t)}));const _=r({url:l,method:s||"",status:f||g||0,request:{headers:E,body:a},response:{headers:x,body:p||u}});if(!_)return void e.debug.log("Openreplay: empty request/response info, skipping");const O=t.config.__openreplay_timing,C=performance.now()-O;e.debug.log("Openreplay: final req object",_),e.send(Be("xhr",String(s),String(_.url),o(_.request),o(_.response),_.status,O+v(),C,0))}e.debug.log("Openreplay: attaching axios spy to instance",t);const a=t.interceptors.request.use((function(t){if(e.debug.log("Openreplay: capturing API request",t),t.__openreplay_timing=performance.now(),n.sessionTokenHeader){const r="string"==typeof n.sessionTokenHeader?n.sessionTokenHeader:"X-OpenReplay-Session-Token",o=e.getSessionToken();o&&t.headers.set(r,o)}return t}),(function(t){e.debug.log("Openreplay: failed API request, skipping",t)}),{synchronous:!0}),s=t.interceptors.response.use((function(e){return n.failuresOnly||i(e),e}),(function(t){var n,r;return e.debug.log("Openreplay: capturing API request error",t),null!==(r=n=t)&&"object"==typeof r&&!0===n.isAxiosError&&Boolean(t.response)?i(t.response):t instanceof Error&&e.send(Pn(t,[])),Promise.reject(t)}),{synchronous:!0});e.attachStopCallback((()=>{t.interceptors.request.eject?.(a),t.interceptors.response.eject?.(s)}))}(e,t,n,s,l)})),n.captureInIframes&&e.observer.attachContextCallback(e.safe(c))}const fr=r,hr="/installation/javascript-sdk";class pr{constructor(e){if(this.options=e,this.app=null,this.crossdomainMode=!1,this.checkDoNotTrack=()=>this.options.respectDoNotTrack&&("1"==navigator.doNotTrack||"1"==window.doNotTrack),this.signalStartIssue=(e,t)=>{const n=this.checkDoNotTrack(),r=new XMLHttpRequest,o=this.options.ingestPoint||pn;r.open("POST",o+"/v1/web/not-started"),r.send(JSON.stringify({trackerVersion:"14.0.6",projectKey:this.options.projectKey,doNotTrack:n,reason:t.length?`missing api: ${t.join(",")}`:e}))},this.restartCanvasTracking=()=>{null!==this.app&&this.app.restartCanvasTracking()},this.handleError=(e,t={})=>{if(null!==this.app)if(e instanceof Error){const n=Pn(e,[],t);this.app.send(n)}else if(e instanceof ErrorEvent||"PromiseRejectionEvent"in window&&e instanceof PromiseRejectionEvent){const n=In(e,void 0,t);null!=n&&this.app.send(n)}},this.crossdomainMode=Boolean(function(){try{return window.self&&window.top&&window.self!==window.top}catch(e){return!0}}()&&e.crossdomain?.enabled),!f||!function(e){if(null==e)return console.error(`OpenReplay: invalid options argument type. Please, check documentation on ${E}${hr}`),!1;if("string"!=typeof e.projectKey)if("number"!=typeof e.projectKey){if("number"!=typeof e.projectID)return console.error(`OpenReplay: projectKey is missing or wrong type (string is expected). Please, check ${E}${hr} for more information.`),!1;e.projectKey=e.projectID.toString(),S("`projectID` option","`projectKey` option",hr)}else console.warn("OpenReplay: projectKey is expected to have a string type."),e.projectKey=e.projectKey.toString();return null!=e.sessionToken&&S("`sessionToken` option","`sessionHash` start() option","/"),!0}(e))return;if(window.__OPENREPLAY__)return void console.error("OpenReplay: one tracker instance has been initialised already");if(!e.__DISABLE_SECURE_MODE&&"https:"!==location.protocol)return void console.error("OpenReplay: Your website must be publicly accessible and running on SSL in order for OpenReplay to properly capture and replay the user session. You can disable this check by setting `__DISABLE_SECURE_MODE` option to `true` if you are testing in localhost. Keep in mind, that asset files on a local machine are not available to the outside world. This might affect tracking if you use css files.");const t=[],n=["Map","Set","MutationObserver","performance","timing","startsWith","Blob","Worker"];if(this.checkDoNotTrack())t.push("doNotTrack");else for(const e of n)if("timing"===e){if("performance"in window&&!(e in performance)){t.push(e);break}}else if("startsWith"===e){if(!(e in String.prototype)){t.push(e);break}}else if(!(e in window)){t.push(e);break}if(t.length>0){const e=t.join(",");return console.error(`OpenReplay: browser doesn't support API required for tracking or doNotTrack is set to 1. Reason: ${e}`),void this.signalStartIssue("missing_api",t)}const r=new Sn(e.projectKey,e.sessionToken,e,this.signalStartIssue,this.crossdomainMode);this.app=r,this.crossdomainMode||(function(e){let t,n,r,o,i=document.referrer;const a=e.safe((()=>{const{URL:n}=document;n!==t&&(t=n,e.send(Qe(t,i,o,document.title)),o=0,i=t)})),s=e.safe((()=>{const{innerWidth:t,innerHeight:o}=window;t===n&&o===r||(n=t,r=o,e.send(D(n,r)))})),l=void 0===document.hidden?Function.prototype:e.safe((()=>e.send(we(document.hidden))));e.attachStartCallback((()=>{t=null,o=v(),n=r=-1,a(),s(),l()})),void 0!==document.hidden&&e.attachEventListener(document,"visibilitychange",l,!1,!1),e.ticker.attach(a,1,!1),e.ticker.attach(s,5,!1)}(r),function(e){const t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;if(void 0===t)return;const n=()=>e.send(be(Math.round(1e3*t.downlink),t.type||"unknown"));n(),t.addEventListener("change",n)}(r),function(e,t){if(!Object.assign({capturePerformance:!0},t).capturePerformance)return;let n,r;const o=()=>{void 0!==n&&-1!==n&&(n++,requestAnimationFrame(o))};e.ticker.attach((()=>{void 0!==r&&-1!==r&&r++}),0,!1);const i=()=>{void 0!==n&&void 0!==r&&(e.send(me(n,r,tt.memory.totalJSHeapSize||0,tt.memory.usedJSHeapSize||0)),r=n=document.hidden?-1:0)};e.attachStartCallback((()=>{r=n=-1,i(),o()})),e.attachStopCallback((()=>{r=n=void 0})),e.ticker.attach(i,40,!1),void 0!==document.hidden&&e.attachEventListener(document,"visibilitychange",i,!1,!1)}(r,e),function(e){e.attachEventListener(window,"focus",(function(){document.hidden||(e.debug.log("Openreplay: tab change to"+e.session.getTabId()),e.send(Ge(e.session.getTabId())))}),!1,!1)}(r)),Ln(r,e.mouse),function(e,t){let n=!1;const r=new Map;function o(e){$t(e)&&(Lt(e)&&r.set(e,[e.scrollLeft,e.scrollTop]),Ht(e)&&r.set(e,Hn(e)))}const i=e.safe((()=>{t||e.send(R(...Hn(document)))})),a=e.safe(((t,n)=>{const r=e.nodes.getID(n);void 0!==r&&e.send(W(r,t[0],t[1]))}));e.attachStartCallback(i),e.attachStopCallback((()=>{n=!1,r.clear()})),e.nodes.attachNodeCallback(((t,n)=>{n&&(Lt(t)&&t.scrollLeft+t.scrollTop>0?r.set(t,[t.scrollLeft,t.scrollTop]):Ht(t)&&r.set(t,Hn(t))),Vt(t)&&e.nodes.attachNodeListener(t,"scroll",(e=>{o(e.target)}))})),e.attachEventListener(document,"scroll",(e=>{const t=e.target;t!==document?o(t):n=!0})),e.ticker.attach((()=>{n&&(i(),n=!1),r.forEach(a),r.clear()}),5,!1)}(r,this.crossdomainMode),function(e){if(null===e)return;if(!window.CSSStyleSheet)return void e.send(Ce("no_stylesheet_prototype_in_window",""));const t=e.safe(((t,n,r)=>{const o=qn.get(t);o&&("string"==typeof r?e.send(je(o,r,n,e.getBaseHref())):e.send(ze(o,n)))})),n=e.safe((t=>{let n=t;for(;n.parentRule;)n=n.parentRule;const r=n.parentStyleSheet;if(!r)return void e.debug.warn("No parent StyleSheet found for",n,t);const o=qn.get(r);if(!o)return void e.debug.warn("No sheedID found for",r,qn);const i=n.cssText,a=r.cssRules,s=Array.from(a).indexOf(n);s>=0?(e.send(je(o,i,s,e.getBaseHref())),e.send(ze(o,s+1))):e.debug.warn("Rule index not found in",r,n)})),r=e.safe((e=>{const{insertRule:r,deleteRule:o}=e.CSSStyleSheet.prototype,{insertRule:i,deleteRule:a}=e.CSSGroupingRule.prototype;e.CSSStyleSheet.prototype.insertRule=function(e,n=0){return t(this,n,e),r.call(this,e,n)},e.CSSStyleSheet.prototype.deleteRule=function(e){return t(this,e),o.call(this,e)},e.CSSGroupingRule.prototype.insertRule=function(e,t=0){const r=i.call(this,e,t);return n(this),r},e.CSSGroupingRule.prototype.deleteRule=function(e=0){const t=a.call(this,e);return n(this),t}}));r(window),e.observer.attachContextCallback(r),e.nodes.attachNodeCallback((n=>{if(!Ut(n,"style")||!n.sheet)return;if(null!==n.textContent&&n.textContent.trim().length>0)return;const r=e.nodes.getID(n);if(!r)return;const o=n.sheet,i=Wn();qn.set(o,i),e.send(De(i,r));const a=o.cssRules;for(let e=0;e<a.length;e++)t(o,e,a[e].cssText)}))}(r),function(e){if(null===e)return;if(!Vn(document))return;const t=new Map,n=new Map,r=r=>setTimeout((()=>{let o=e.nodes.getID(r);if(r===document&&(o=0),void 0===o)return;let i=n.get(o);i||(i=[]);const a=[],s=r.adoptedStyleSheets;if(s&&Symbol.iterator in s)for(const n of s){let r=t.get(n);const s=!r;if(r||(r=Wn(),t.set(n,r)),i.includes(r)||e.send(De(r,o)),s){const t=n.cssRules;for(let n=0;n<t.length;n++)e.send(je(r,t[n].cssText,n,e.getBaseHref()))}a.push(r)}if(Symbol.iterator in i)for(const t of i)a.includes(t)||e.send(Re(t,o));n.set(o,a)}),20);function o(e){const t=Object.getOwnPropertyDescriptor(e,"adoptedStyleSheets");t&&Object.defineProperty(e,"adoptedStyleSheets",{...t,set:function(e){const n=t.set.call(this,e);return r(this),n}})}const i=n=>{if(n.__openreplay_adpss_patched__)return;n.__openreplay_adpss_patched__=!0,o(n.Document.prototype),o(n.ShadowRoot.prototype);const{replace:r,replaceSync:i}=n.CSSStyleSheet.prototype;n.CSSStyleSheet.prototype.replace=function(n){return r.call(this,n).then((r=>{const o=t.get(this);return o&&e.send(Ie(o,n,e.getBaseHref())),r}))},n.CSSStyleSheet.prototype.replaceSync=function(n){const r=t.get(this);return r&&e.send(Ie(r,n,e.getBaseHref())),i.call(this,n)}};i(window),e.observer.attachContextCallback(e.safe(i)),e.attachStopCallback((()=>{t.clear(),n.clear()})),e.attachStartCallback((()=>{r(document)})),e.nodes.attachNodeCallback((e=>{Vn(e)&&r(e)}))}(r),kn(r,e),function(e,t){function n(t){function n(n){const r=In(n,t);null!=r&&e.send(r)}e.attachEventListener(t,"unhandledrejection",n),e.attachEventListener(t,"error",n)}Object.assign({captureExceptions:!0},t).captureExceptions&&(e.observer.attachContextCallback(n),n(window))}(r,e),function(e){function t(t,n){e.attributeSender.sendSetAttribute(t,"src","https://static.openreplay.com/tracker/placeholder.jpeg");const{width:r,height:o}=n.getBoundingClientRect();n.hasAttribute("width")||e.attributeSender.sendSetAttribute(t,"width",String(r)),n.hasAttribute("height")||e.attributeSender.sendSetAttribute(t,"height",String(o))}const n=function(t,n){const{srcset:r}=n;if(!r)return;const o=r.split(r.match(/,\s+/)?/,\s+/:",").map((e=>jn(e))).join(", ");e.attributeSender.sendSetAttribute(t,"srcset",o)},r=function(n,r){r.src.length>1e5&&t(n,r),e.send(_e(n,"src",r.src,e.getBaseHref()))},o=e.safe((function(t){const n=jn(t.src||"");w(n)&&e.send(Ke(e.timestamp(),0,0,0,0,0,n,"img",0,!1))})),i=e.safe((function(i){const a=e.nodes.getID(i);var s;void 0!==a&&i.complete&&(0!==i.naturalHeight||0!==i.naturalWidth||(s=i.src,h&&(s.startsWith("data:image/svg+xml")||s.match(/.svg$|/i)))?e.sanitizer.isHidden(a)||e.sanitizer.isObscured(a)?t(a,i):(r(a,i),n(a,i)):o(i))})),a=k(e.safe((t=>{for(const o of t)if("attributes"===o.type){const t=o.target,i=e.nodes.getID(t);if(void 0===i)return;"src"===o.attributeName&&r(i,t),"srcset"===o.attributeName&&n(i,t)}})));e.attachStopCallback((()=>{a.disconnect()})),e.nodes.attachNodeCallback((t=>{Ut(t,"img")&&(e.nodes.attachNodeListener(t,"error",(()=>o(t))),e.nodes.attachNodeListener(t,"load",(()=>i(t))),i(t),a.observe(t,{attributes:!0,attributeFilter:["src","srcset"]}))}))}(r),function(e,t){const n=Object.assign({obscureInputNumbers:!0,obscureInputEmails:!0,defaultInputMode:1,obscureInputDates:!1},t);function r(t,r){let o=r.value,i=n.defaultInputMode;"password"===r.type||e.sanitizer.isHidden(t)?i=2:(e.sanitizer.isObscured(t)||0===i&&(n.obscureInputNumbers&&"date"!==r.type&&/\d\d\d\d/.test(o)||n.obscureInputDates&&"date"===r.type||n.obscureInputEmails&&("email"===r.type||~o.indexOf("@"))))&&(i=1);let a=0;switch(i){case 2:a=-1,o="";break;case 1:a=o.length,o=""}return{value:o,mask:a}}function o(t,n){const{value:o,mask:i}=r(t,n);e.send(K(t,o,i))}const i=new Map,a=new Map;function s(e,t){i.get(e)!==t.value&&(i.set(e,t.value),o(e,t))}function l(t,n){a.get(t)!==n&&(a.set(t,n),e.send(G(t,n)))}e.attachStopCallback((()=>{i.clear(),a.clear()})),e.ticker.attach((()=>{i.forEach(((t,n)=>{const r=e.nodes.getNode(n);if(!r)return i.delete(n);s(n,r)})),a.forEach(((t,n)=>{const r=e.nodes.getNode(n);if(!r)return a.delete(n);l(n,r.checked)}))}),3),e.nodes.attachNodeCallback(e.safe((t=>{const n=e.nodes.getID(t);if(void 0!==n){if(Ut(t,"select")&&(o(n,t),e.nodes.attachNodeListener(t,"change",(()=>o(n,t)))),function(e){return!!Ut(e,"textarea")||!!Ut(e,"input")&&zn.includes(e.type)}(t)){s(n,t);let o=0,i=0,a=0;const l=()=>{o=g()},c=()=>{0===i&&0!==o&&(i=g()-o)},u=()=>{0!==o&&(a=g()-o),function(t,n,o,i){const{value:a,mask:s}=r(t,n),l=Rn(n);e.send(Ve(t,a,0!==s,l,o,i))}(n,t,i,a),i=0,a=0,o=0};return e.nodes.attachNodeListener(t,"focus",l),e.nodes.attachNodeListener(t,"input",c),void e.nodes.attachNodeListener(t,"change",u)}return function(e){if(!Ut(e,"input"))return!1;const t=e.type;return"checkbox"===t||"radio"===t}(t)?(l(n,t.checked),void e.nodes.attachNodeListener(t,"change",(()=>l(n,t.checked)))):void 0}})))}(r,e),function(e,t){const n=Object.assign({captureResourceTimings:!0,capturePageLoadTimings:!0,capturePageRenderTimings:!0,excludedResourceUrls:[]},t);if("PerformanceObserver"in window||(n.captureResourceTimings=!1),!n.captureResourceTimings)return;let r={};function o(t){if(t.duration<0||!w(t.name)||e.isServiceURL(t.name))return;null!==r&&(r[t.name]=t.startTime+t.duration);let o=!1;n.excludedResourceUrls?.forEach((e=>{t.name.startsWith(e)&&(o=!0)})),o||e.send(Ke(t.startTime+v(),t.duration,t.responseStart&&t.startTime?t.responseStart-t.startTime:0,t.transferSize>t.encodedBodySize?t.transferSize-t.encodedBodySize:0,t.encodedBodySize||0,t.decodedBodySize||0,t.name,t.initiatorType,t.transferSize,t.responseStatus&&304===t.responseStatus||0===t.transferSize))}const i=new PerformanceObserver((e=>e.getEntries().forEach(o)));let a;e.attachStartCallback((function({sessionID:e}){e!==a&&(performance.getEntriesByType("resource").forEach(o),a=e),i.observe({entryTypes:["resource"]})})),e.attachStopCallback((function(){i.disconnect()}));let s=0,l=0;if(n.capturePageLoadTimings){let t=!1;e.ticker.attach((()=>{if(!t&&(0!==s&&0!==l||performance.getEntriesByType("paint").forEach((e=>{const{name:t,startTime:n}=e;switch(t){case"first-paint":s=n;break;case"first-contentful-paint":l=n}})),performance.timing.loadEventEnd||performance.now()>3e4)){t=!0;const{navigationStart:n,requestStart:r,responseStart:o,responseEnd:i,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:u,loadEventEnd:d}=performance.timing;e.send(J(r-n||0,o-n||0,i-n||0,a-n||0,c-n||0,u-n||0,d-n||0,s,l))}}),30)}if(n.capturePageRenderTimings){let t=0,n=0,o=0,i=null,a=!1;e.ticker.attach((()=>{if(a)return;const c=performance.now();if(null!==r&&(t=Math.max.apply(null,Object.keys(r).map((e=>r[e]))),c-t>1e3&&(i=function(e){const t=[],n=document.getElementsByTagName("*"),r=/url\(("[^"]*"|'[^']*'|[^)]*)\)/i;for(let o=0;o<n.length;o++){const i=n[o];let a="";if(Ut(i,"img")&&(a=i.currentSrc||i.src),!a){const e=getComputedStyle(i).getPropertyValue("background-image");if(e){const t=r.exec(e);null!==t&&(a=t[1],(a.startsWith('"')||a.startsWith("'"))&&(a=a.substr(1,a.length-2)))}}if(!a)continue;const s="data:image"===a.substr(0,10)?0:e[a];if(void 0===s)continue;const l=i.getBoundingClientRect(),c=Math.max(l.top,0),u=Math.max(l.left,0),d=Math.min(l.bottom,window.innerHeight||document.documentElement&&document.documentElement.clientHeight||0),f=Math.min(l.right,window.innerWidth||document.documentElement&&document.documentElement.clientWidth||0);if(d<=c||f<=u)continue;const h=(d-c)*(f-u);t.push({time:s,area:h})}return t}(r),r=null)),null!==o&&(c-o>50&&(n=c),o=c-n>5e3?null:c),null!==i&&null===o||c>3e4){a=!0,r=null;const c=null===i?0:function(e,t){let n=Math.max(document.documentElement&&document.documentElement.clientWidth||0,window.innerWidth||0)*Math.max(document.documentElement&&document.documentElement.clientHeight||0,window.innerHeight||0)/10,r=n*e;for(let o=0;o<t.length;o++){const{time:i,area:a}=t[o];n+=a,r+=a*(i>e?i:e)}return 0===n?0:r/n}(l||s,i),{domContentLoadedEventEnd:u,navigationStart:d}=performance.timing,f=null===o?Math.max(n,l,u-d||0):0;e.send(Q(c,l>t?l:t,f))}}))}}(r,e),function(e){function t(t){const n=e.nodes.getID(t);void 0!==n&&e.send(xe(n))}let n=!1;e.nodes.attachNodeCallback((r=>{Ut(r,"body")&&(e.nodes.attachNodeListener(r,"focus",(e=>{$t(e.target)&&(t(e.target),n=!1)})),e.nodes.attachNodeListener(r,"blur",(t=>{null===t.relatedTarget&&(n=!0,setTimeout((()=>{n&&e.send(xe(-1))}),0))})))})),e.attachStartCallback((()=>{let e=document.activeElement;for(;e&&Ut(e,"iframe")&&e.contentDocument;)e=e.contentDocument.activeElement;e&&e!==e.ownerDocument.body&&t(e)}),!0)}(r),function(e){if(!window.FontFace)return;const t=new Map,n=n=>{class r extends n.FontFace{constructor(...r){if("string"==typeof r[1]){let o="";r[2]&&e.safe((()=>{o=JSON.stringify(r[2])}));const i=[r[0],r[1],o],a=t.get(n.document)||[];a.push(i),t.set(n.document,a);const s=n===window?0:e.nodes.getID(n.document);if(void 0===s)return;e.active()&&e.send(Ee(s,...i))}super(...r)}}n.FontFace=r};e.observer.attachContextCallback(n),n(window),e.nodes.attachNodeCallback(e.safe((n=>{if(!Ht(n))return;const r=t.get(n);if(!r)return;const o=n.defaultView===window?0:e.nodes.getID(n);void 0!==o&&r.forEach((t=>{e.send(Ee(o,...t))}))})))}(r),dr(r,e.network),function(e){e.attachEventListener(document,"selectionchange",(()=>{const t=document.getSelection();if(null===t||t.isCollapsed)e.send(Ue(-1,-1,""));else{const n=e.nodes.getID(t.anchorNode),r=e.nodes.getID(t.focusNode),o=t.toString().replace(/\s+/g," ");n&&r&&e.send(Ue(n,r,o))}}))}(r),window.__OPENREPLAY__=this,e.flags&&e.flags.onFlagsLoad&&this.onFlagsLoad(e.flags.onFlagsLoad);const o=window.open;(e.autoResetOnWindowOpen||e.resetTabOnWindowOpen)&&(r.attachStartCallback((()=>{const t=r.getTabId(),n=r.sessionStorage??window.sessionStorage;window.open=function(...i){return e.autoResetOnWindowOpen&&r.resetNextPageSession(!0),e.resetTabOnWindowOpen&&n.removeItem(e.session_tabid_key||"__openreplay_tabid"),r.resetNextPageSession(!1),n.setItem(e.session_tabid_key||"__openreplay_tabid",t),o.call(window,...i)}})),r.attachStopCallback((()=>{window.open=o})))}isFlagEnabled(e){return this.featureFlags.isFlagEnabled(e)}onFlagsLoad(e){this.app?.featureFlags.onFlagsLoad(e)}clearPersistFlags(){this.app?.featureFlags.clearPersistFlags()}reloadFlags(){return this.app?.featureFlags.reloadFlags()}getFeatureFlag(e){return this.app?.featureFlags.getFeatureFlag(e)}getAllFeatureFlags(){return this.app?.featureFlags.flags}use(e){return e(this.app,this.options)}isActive(){return null!==this.app&&this.app.active()}trackWs(e){if(null!==this.app)return this.app.trackWs(e)}start(e){return this.browserEnvCheck()?null===this.app?Promise.reject("Browser doesn't support required api, or doNotTrack is active."):this.app.start(e):Promise.reject("Trying to start not in browser.")}browserEnvCheck(){return!!f||(console.error(`OpenReplay: you are trying to start Tracker on a node.js environment. If you want to use OpenReplay with SSR, please, use componentDidMount or useEffect API for placing the \`tracker.start()\` line. Check documentation on ${E}${hr}`),!1)}coldStart(e,t){return this.browserEnvCheck()?null===this.app?Promise.reject("Tracker not initialized"):void this.app.coldStart(e,t):Promise.reject("Trying to start not in browser.")}startOfflineRecording(e,t){return this.browserEnvCheck()?null===this.app?Promise.reject("Tracker not initialized"):this.app.offlineRecording(e,t):Promise.reject("Trying to start not in browser.")}uploadOfflineRecording(){if(null!==this.app)return this.app.uploadOfflineRecording()}stop(){if(null!==this.app)return this.app.stop(),this.app.session.getSessionHash()}forceFlushBatch(){null!==this.app&&this.app.forceFlushBatch()}getSessionToken(){return null===this.app?null:this.app.getSessionToken()}getSessionInfo(){return null===this.app?null:this.app.session.getInfo()}getSessionID(){return null===this.app?null:this.app.getSessionID()}getTabId(){return null===this.app?null:this.app.getTabId()}getUxId(){return null===this.app?null:this.app.getUxtId()}sessionID(){return S("'sessionID' method","'getSessionID' method","/"),this.getSessionID()}getSessionURL(e){if(null!==this.app)return this.app.getSessionURL(e)}setUserID(e){"string"==typeof e&&null!==this.app&&this.app.session.setUserID(e)}userID(e){S("'userID' method","'setUserID' method","/"),this.setUserID(e)}setUserAnonymousID(e){"string"==typeof e&&null!==this.app&&this.app.send(ne(e))}userAnonymousID(e){S("'userAnonymousID' method","'setUserAnonymousID' method","/"),this.setUserAnonymousID(e)}setMetadata(e,t){"string"==typeof e&&"string"==typeof t&&null!==this.app&&this.app.session.setMetadata(e,t)}metadata(e,t){S("'metadata' method","'setMetadata' method","/"),this.setMetadata(e,t)}event(e,t=null,n=!1){if("string"==typeof e&&null!==this.app){if(n)return this.issue(e,t);try{t=JSON.stringify(t)}catch(e){return}this.app.send(ee(e,t))}}issue(e,t=null){if("string"==typeof e&&null!==this.app){try{t=JSON.stringify(t)}catch(e){return}this.app.send(Ae(e,t))}}}},79396:(e,t,n)=>{"use strict";function r(e,t,...n){if("undefined"!=typeof process&&void 0===t)throw new Error("invariant requires an error message argument");if(!e){let e;if(void 0===t)e=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let r=0;e=new Error(t.replace(/%s/g,(function(){return n[r++]}))),e.name="Invariant Violation"}throw e.framesToPop=1,e}}n.d(t,{V:()=>r})},92167:(e,t,n)=>{"use strict";n.d(t,{Z0:()=>fe});var r=Symbol.for("immer-nothing"),o=Symbol.for("immer-draftable"),i=Symbol.for("immer-state");function a(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var s=Object.getPrototypeOf;function l(e){return!!e&&!!e[i]}function c(e){return!!e&&(d(e)||Array.isArray(e)||!!e[o]||!!e.constructor?.[o]||v(e)||g(e))}var u=Object.prototype.constructor.toString();function d(e){if(!e||"object"!=typeof e)return!1;const t=s(e);if(null===t)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===u}function f(e,t){0===h(e)?Reflect.ownKeys(e).forEach((n=>{t(n,e[n],e)})):e.forEach(((n,r)=>t(r,n,e)))}function h(e){const t=e[i];return t?t.type_:Array.isArray(e)?1:v(e)?2:g(e)?3:0}function p(e,t){return 2===h(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function m(e,t,n){const r=h(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function v(e){return e instanceof Map}function g(e){return e instanceof Set}function y(e){return e.copy_||e.base_}function b(e,t){if(v(e))return new Map(e);if(g(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&d(e)){if(!s(e)){const t=Object.create(null);return Object.assign(t,e)}return{...e}}const n=Object.getOwnPropertyDescriptors(e);delete n[i];let r=Reflect.ownKeys(n);for(let t=0;t<r.length;t++){const o=r[t],i=n[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(n[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(s(e),n)}function w(e,t=!1){return x(e)||l(e)||!c(e)||(h(e)>1&&(e.set=e.add=e.clear=e.delete=E),Object.freeze(e),t&&Object.entries(e).forEach((([e,t])=>w(t,!0)))),e}function E(){a(2)}function x(e){return Object.isFrozen(e)}var S,_={};function O(e){const t=_[e];return t||a(0),t}function C(){return S}function A(e,t){t&&(O("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function k(e){M(e),e.drafts_.forEach(P),e.drafts_=null}function M(e){e===S&&(S=e.parent_)}function T(e){return S={drafts_:[],parent_:S,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function P(e){const t=e[i];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function I(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return void 0!==e&&e!==n?(n[i].modified_&&(k(t),a(4)),c(e)&&(e=j(t,e),t.parent_||D(t,e)),t.patches_&&O("Patches").generateReplacementPatches_(n[i].base_,e,t.patches_,t.inversePatches_)):e=j(t,n,[]),k(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==r?e:void 0}function j(e,t,n){if(x(t))return t;const r=t[i];if(!r)return f(t,((o,i)=>z(e,r,t,o,i,n))),t;if(r.scope_!==e)return t;if(!r.modified_)return D(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const t=r.copy_;let o=t,i=!1;3===r.type_&&(o=new Set(t),t.clear(),i=!0),f(o,((o,a)=>z(e,r,t,o,a,n,i))),D(e,t,!1),n&&e.patches_&&O("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function z(e,t,n,r,o,i,a){if(l(o)){const a=j(e,o,i&&t&&3!==t.type_&&!p(t.assigned_,r)?i.concat(r):void 0);if(m(n,r,a),!l(a))return;e.canAutoFreeze_=!1}else a&&n.add(o);if(c(o)&&!x(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;j(e,o),t&&t.scope_.parent_||"symbol"==typeof r||!Object.prototype.propertyIsEnumerable.call(n,r)||D(e,o)}}function D(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&w(t,n)}var R={get(e,t){if(t===i)return e;const n=y(e);if(!p(n,t))return function(e,t,n){const r=F(t,n);return r?"value"in r?r.value:r.get?.call(e.draft_):void 0}(e,n,t);const r=n[t];return e.finalized_||!c(r)?r:r===$(e.base_,t)?(B(e),e.copy_[t]=H(r,e)):r},has:(e,t)=>t in y(e),ownKeys:e=>Reflect.ownKeys(y(e)),set(e,t,n){const r=F(y(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const r=$(y(e),t),s=r?.[i];if(s&&s.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(((o=n)===(a=r)?0!==o||1/o==1/a:o!=o&&a!=a)&&(void 0!==n||p(e.base_,t)))return!0;B(e),L(e)}var o,a;return e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty:(e,t)=>(void 0!==$(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,B(e),L(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const n=y(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty(){a(11)},getPrototypeOf:e=>s(e.base_),setPrototypeOf(){a(12)}},N={};function $(e,t){const n=e[i];return(n?y(n):e)[t]}function F(e,t){if(!(t in e))return;let n=s(e);for(;n;){const e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=s(n)}}function L(e){e.modified_||(e.modified_=!0,e.parent_&&L(e.parent_))}function B(e){e.copy_||(e.copy_=b(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function H(e,t){const n=v(e)?O("MapSet").proxyMap_(e,t):g(e)?O("MapSet").proxySet_(e,t):function(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:C(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=r,i=R;n&&(o=[r],i=N);const{revoke:a,proxy:s}=Proxy.revocable(o,i);return r.draft_=s,r.revoke_=a,s}(e,t);return(t?t.scope_:C()).drafts_.push(n),n}function V(e){return l(e)||a(10),U(e)}function U(e){if(!c(e)||x(e))return e;const t=e[i];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=b(e,t.scope_.immer_.useStrictShallowCopy_)}else n=b(e,!0);return f(n,((e,t)=>{m(n,e,U(t))})),t&&(t.finalized_=!1),n}f(R,((e,t)=>{N[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),N.deleteProperty=function(e,t){return N.set.call(this,e,t,void 0)},N.set=function(e,t,n){return R.set.call(this,e[0],t,n,e[0])};var W=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,n)=>{if("function"==typeof e&&"function"!=typeof t){const n=t;t=e;const r=this;return function(e=n,...o){return r.produce(e,(e=>t.call(this,e,...o)))}}let o;if("function"!=typeof t&&a(6),void 0!==n&&"function"!=typeof n&&a(7),c(e)){const r=T(this),i=H(e,void 0);let a=!0;try{o=t(i),a=!1}finally{a?k(r):M(r)}return A(r,n),I(o,r)}if(!e||"object"!=typeof e){if(o=t(e),void 0===o&&(o=e),o===r&&(o=void 0),this.autoFreeze_&&w(o,!0),n){const t=[],r=[];O("Patches").generateReplacementPatches_(e,o,t,r),n(t,r)}return o}a(1)},this.produceWithPatches=(e,t)=>{if("function"==typeof e)return(t,...n)=>this.produceWithPatches(t,(t=>e(t,...n)));let n,r;return[this.produce(e,t,((e,t)=>{n=e,r=t})),n,r]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){c(e)||a(8),l(e)&&(e=V(e));const t=T(this),n=H(e,void 0);return n[i].isManual_=!0,M(t),n}finishDraft(e,t){const n=e&&e[i];n&&n.isManual_||a(9);const{scope_:r}=n;return A(r,t),I(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));const r=O("Patches").applyPatches_;return l(e)?r(e,t):this.produce(e,(e=>r(e,t)))}},q=W.produce;W.produceWithPatches.bind(W),W.setAutoFreeze.bind(W),W.setUseStrictShallowCopy.bind(W),W.applyPatches.bind(W),W.createDraft.bind(W),W.finishDraft.bind(W);var K=e=>Array.isArray(e)?e:[e];Symbol(),Object.getPrototypeOf({});var G="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}},X=0,Y=1;function Z(){return{s:X,v:void 0,o:null,p:null}}function J(e,t={}){let n=Z();const{resultEqualityCheck:r}=t;let o,i=0;function a(){let t=n;const{length:a}=arguments;for(let e=0,n=a;e<n;e++){const n=arguments[e];if("function"==typeof n||"object"==typeof n&&null!==n){let e=t.o;null===e&&(t.o=e=new WeakMap);const r=e.get(n);void 0===r?(t=Z(),e.set(n,t)):t=r}else{let e=t.p;null===e&&(t.p=e=new Map);const r=e.get(n);void 0===r?(t=Z(),e.set(n,t)):t=r}}const s=t;let l;if(t.s===Y?l=t.v:(l=e.apply(null,arguments),i++),s.s=Y,r){const e=o?.deref?.()??o;null!=e&&r(e,l)&&(l=e,0!==i&&i--),o="object"==typeof l&&null!==l||"function"==typeof l?new G(l):l}return s.v=l,l}return a.clearCache=()=>{n=Z(),a.resetResultsCount()},a.resultsCount=()=>i,a.resetResultsCount=()=>{i=0},a}function Q(e,...t){const n="function"==typeof e?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t,r=0,o=0,i={},a=e.pop();"object"==typeof a&&(i=a,a=e.pop()),function(e,t="expected a function, instead received "+typeof e){if("function"!=typeof e)throw new TypeError(t)}(a,`createSelector expects an output function after the inputs, but received: [${typeof a}]`);const s={...n,...i},{memoize:l,memoizeOptions:c=[],argsMemoize:u=J,argsMemoizeOptions:d=[],devModeChecks:f={}}=s,h=K(c),p=K(d),m=function(e){const t=Array.isArray(e[0])?e[0]:e;return function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every((e=>"function"==typeof e))){const n=e.map((e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e)).join(", ");throw new TypeError(`${t}[${n}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}(e),v=l((function(){return r++,a.apply(null,arguments)}),...h),g=u((function(){o++;const e=function(e,t){const n=[],{length:r}=e;for(let o=0;o<r;o++)n.push(e[o].apply(null,t));return n}(m,arguments);return t=v.apply(null,e),t}),...p);return Object.assign(g,{resultFunc:a,memoizedResultFunc:v,dependencies:m,dependencyRecomputations:()=>o,resetDependencyRecomputations:()=>{o=0},lastResult:()=>t,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:l,argsMemoize:u})};return Object.assign(r,{withTypes:()=>r}),r}var ee=Q(J),te=Object.assign(((e,t=ee)=>{!function(e,t="expected an object, instead received "+typeof e){if("object"!=typeof e)throw new TypeError(t)}(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);const n=Object.keys(e);return t(n.map((t=>e[t])),((...e)=>e.reduce(((e,t,r)=>(e[n[r]]=t,e)),{})))}),{withTypes:()=>te}),ne=n(14644);function re(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw new Error(we(0));return{type:e,payload:r.payload,..."meta"in r&&{meta:r.meta},..."error"in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>(0,ne.ve)(t)&&t.type===e,n}function oe(e){return c(e)?q(e,(()=>{})):e}function ie(e,t,n){if(e.has(t)){let r=e.get(t);return n.update&&(r=n.update(r,t,e),e.set(t,r)),r}if(!n.insert)throw new Error(we(10));const r=n.insert(t,e);return e.set(t,r),r}((...e)=>{const t=Q(...e),n=Object.assign(((...e)=>{const n=t(...e),r=(e,...t)=>n(l(e)?V(e):e,...t);return Object.assign(r,n),r}),{withTypes:()=>n})})(J),"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__,"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__,Symbol.species;function ae(e){const t={},n=[];let r;const o={addCase(e,n){const r="string"==typeof e?e:e.type;if(!r)throw new Error(we(28));if(r in t)throw new Error(we(29));return t[r]=n,o},addMatcher:(e,t)=>(n.push({matcher:e,reducer:t}),o),addDefaultCase:e=>(r=e,o)};return e(o),[t,n,r]}"undefined"!=typeof window&&window.requestAnimationFrame&&window.requestAnimationFrame;var se=(e=21)=>{let t="",n=e;for(;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},le=Symbol.for("rtk-slice-createasyncthunk");function ce(e,t){return`${e}/${t}`}function ue({creators:e}={}){const t=e?.asyncThunk?.[le];return function(e){const{name:n,reducerPath:r=n}=e;if(!n)throw new Error(we(11));const o=("function"==typeof e.reducers?e.reducers(function(){function e(e,t){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name]:(...t)=>e(...t)}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}()):e.reducers)||{},i=Object.keys(o),a={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){const n="string"==typeof e?e:e.type;if(!n)throw new Error(we(12));if(n in a.sliceCaseReducersByType)throw new Error(we(13));return a.sliceCaseReducersByType[n]=t,s},addMatcher:(e,t)=>(a.sliceMatchers.push({matcher:e,reducer:t}),s),exposeAction:(e,t)=>(a.actionCreators[e]=t,s),exposeCaseReducer:(e,t)=>(a.sliceCaseReducersByName[e]=t,s)};function u(){const[t={},n=[],r]="function"==typeof e.extraReducers?ae(e.extraReducers):[e.extraReducers],o={...t,...a.sliceCaseReducersByType};return function(e,t){let i,[s,u,d]=ae((e=>{for(let t in o)e.addCase(t,o[t]);for(let t of a.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)}));if("function"==typeof e)i=()=>oe(e());else{const t=oe(e);i=()=>t}function f(e=i(),t){let n=[s[t.type],...u.filter((({matcher:e})=>e(t))).map((({reducer:e})=>e))];return 0===n.filter((e=>!!e)).length&&(n=[d]),n.reduce(((e,n)=>{if(n){if(l(e)){const r=n(e,t);return void 0===r?e:r}if(c(e))return q(e,(e=>n(e,t)));{const r=n(e,t);if(void 0===r){if(null===e)return e;throw new Error(we(9))}return r}}return e}),e)}return f.getInitialState=i,f}(e.initialState)}i.forEach((r=>{const i=o[r],a={reducerName:r,type:ce(n,r),createNotation:"function"==typeof e.reducers};!function(e){return"asyncThunk"===e._reducerDefinitionType}(i)?function({type:e,reducerName:t,createNotation:n},r,o){let i,a;if("reducer"in r){if(n&&!function(e){return"reducerWithPrepare"===e._reducerDefinitionType}(r))throw new Error(we(17));i=r.reducer,a=r.prepare}else i=r;o.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,a?re(e,a):re(e))}(a,i,s):function({type:e,reducerName:t},n,r,o){if(!o)throw new Error(we(18));const{payloadCreator:i,fulfilled:a,pending:s,rejected:l,settled:c,options:u}=n,d=o(e,i,u);r.exposeAction(t,d),a&&r.addCase(d.fulfilled,a),s&&r.addCase(d.pending,s),l&&r.addCase(d.rejected,l),c&&r.addMatcher(d.settled,c),r.exposeCaseReducer(t,{fulfilled:a||he,pending:s||he,rejected:l||he,settled:c||he})}(a,i,s,t)}));const d=e=>e,f=new Map;let h;function p(e,t){return h||(h=u()),h(e,t)}function m(){return h||(h=u()),h.getInitialState()}function v(t,n=!1){function r(e){let r=e[t];return void 0===r&&n&&(r=m()),r}function o(t=d){const r=ie(f,n,{insert:()=>new WeakMap});return ie(r,t,{insert:()=>{const r={};for(const[o,i]of Object.entries(e.selectors??{}))r[o]=de(i,t,m,n);return r}})}return{reducerPath:t,getSelectors:o,get selectors(){return o(r)},selectSlice:r}}const g={name:n,reducer:p,actions:a.actionCreators,caseReducers:a.sliceCaseReducersByName,getInitialState:m,...v(r),injectInto(e,{reducerPath:t,...n}={}){const o=t??r;return e.inject({reducerPath:o,reducer:p},n),{...g,...v(o,!0)}}};return g}}function de(e,t,n,r){function o(o,...i){let a=t(o);return void 0===a&&r&&(a=n()),e(a,...i)}return o.unwrapped=e,o}var fe=ue();function he(){}var{assign:pe}=Object,me="listenerMiddleware",ve=e=>{let{type:t,actionCreator:n,matcher:r,predicate:o,effect:i}=e;if(t)o=re(t).match;else if(n)t=n.type,o=n.match;else if(r)o=r;else if(!o)throw new Error(we(21));return((e,t)=>{if("function"!=typeof e)throw new Error(we(32))})(i),{predicate:o,type:t,effect:i}},ge=Object.assign((e=>{const{type:t,predicate:n,effect:r}=ve(e);return{id:se(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(we(22))}}}),{withTypes:()=>ge}),ye=Object.assign(re(`${me}/add`),{withTypes:()=>ye}),be=(re(`${me}/removeAll`),Object.assign(re(`${me}/remove`),{withTypes:()=>be}));function we(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}Symbol.for("rtk-state-proxy-original")},48850:(e,t,n)=>{"use strict";n.d(t,{Ts:()=>br});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,o="8.34.0",i=globalThis;function a(e,t,n){const r=n||i,a=r.__SENTRY__=r.__SENTRY__||{},s=a[o]=a[o]||{};return s[e]||(s[e]=t())}const s=["debug","info","warn","error","log","assert","trace"],l={};function c(e){if(!("console"in i))return e();const t=i.console,n={},r=Object.keys(l);r.forEach((e=>{const r=l[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}const u=a("logger",(function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r?s.forEach((n=>{t[n]=(...t)=>{e&&c((()=>{i.console[n](`Sentry Logger [${n}]:`,...t)}))}})):s.forEach((e=>{t[e]=()=>{}})),t})),d=Object.prototype.toString;function f(e){switch(d.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return x(e,Error)}}function h(e,t){return d.call(e)===`[object ${t}]`}function p(e){return h(e,"ErrorEvent")}function m(e){return h(e,"DOMError")}function v(e){return h(e,"String")}function g(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function y(e){return null===e||g(e)||"object"!=typeof e&&"function"!=typeof e}function b(e){return h(e,"Object")}function w(e){return"undefined"!=typeof Event&&x(e,Event)}function E(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function x(e,t){try{return e instanceof t}catch(e){return!1}}function S(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}const _=i,O=80;function C(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,o=[];let i=0,a=0;const s=" > ",l=s.length;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||O;for(;n&&i++<r&&(c=A(n,u),!("html"===c||i>1&&a+o.length*l+c.length>=d));)o.push(c),a+=c.length,n=n.parentNode;return o.reverse().join(s)}catch(e){return"<unknown>"}}function A(e,t){const n=e,r=[];if(!n||!n.tagName)return"";if(_.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const o=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(o&&o.length)o.forEach((e=>{r.push(`[${e[0]}="${e[1]}"]`)}));else{n.id&&r.push(`#${n.id}`);const e=n.className;if(e&&v(e)){const t=e.split(/\s+/);for(const e of t)r.push(`.${e}`)}}const i=["aria-label","type","name","title","alt"];for(const e of i){const t=n.getAttribute(e);t&&r.push(`[${e}="${t}"]`)}return r.join("")}function k(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function M(e,t){if(!Array.isArray(e))return"";const n=[];for(let t=0;t<e.length;t++){const r=e[t];try{S(r)?n.push("[VueViewModel]"):n.push(String(r))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function T(e,t=[],n=!1){return t.some((t=>function(e,t,n=!1){return!!v(e)&&(h(t,"RegExp")?t.test(e):!!v(t)&&(n?e===t:e.includes(t)))}(e,t,n)))}function P(e,t,n){if(!(t in e))return;const r=e[t],o=n(r);"function"==typeof o&&j(o,r),e[t]=o}function I(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){r&&u.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function j(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,I(e,"__sentry_original__",t)}catch(e){}}function z(e){return e.__sentry_original__}function D(e){if(f(e))return{message:e.message,name:e.name,stack:e.stack,...N(e)};if(w(e)){const t={type:e.type,target:R(e.target),currentTarget:R(e.currentTarget),...N(e)};return"undefined"!=typeof CustomEvent&&x(e,CustomEvent)&&(t.detail=e.detail),t}return e}function R(e){try{return"undefined"!=typeof Element&&x(e,Element)?C(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function N(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function $(e){return F(e,new Map)}function F(e,t){if(function(e){if(!b(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const n of Object.getOwnPropertyNames(e))void 0!==e[n]&&(r[n]=F(e[n],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(F(e,t))})),r}return e}function L(){const e=i,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function B(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function H(e){const{message:t,event_id:n}=e;if(t)return t;const r=B(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function V(e,t,n){const r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function U(e,t){const n=B(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r&&r.data,...t.data};n.mechanism.data=e}}function W(e){if(e&&e.__sentry_captured__)return!0;try{I(e,"__sentry_captured__",!0)}catch(e){}return!1}function q(e){return Array.isArray(e)?e:[e]}const K="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,G=[];function X(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;t.forEach((e=>{e.isDefaultInstance=!0})),r=Array.isArray(n)?[...t,...n]:"function"==typeof n?q(n(t)):t;const o=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.values(t)}(r),i=o.findIndex((e=>"Debug"===e.name));if(i>-1){const[e]=o.splice(i,1);o.push(e)}return o}function Y(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function Z(e,t,n){if(n[t.name])K&&u.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===G.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),G.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}K&&u.log(`Integration installed: ${t.name}`)}}const J=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],Q=(e={})=>({name:"InboundFilters",processEvent(t,n,r){const o=r.getOptions(),i=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:J],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,o);return function(e,t){return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(K&&u.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${H(e)}`),!0):function(e,t){return!(e.type||!t||!t.length)&&function(e){const t=[];let n;e.message&&t.push(e.message);try{n=e.exception.values[e.exception.values.length-1]}catch(e){}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),t}(e).some((e=>T(e,t)))}(e,t.ignoreErrors)?(K&&u.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${H(e)}`),!0):function(e){return!e.type&&(!(!e.exception||!e.exception.values||0===e.exception.values.length)&&(!e.message&&!e.exception.values.some((e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))))}(e)?(K&&u.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${H(e)}`),!0):function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&T(n,t)}(e,t.ignoreTransactions)?(K&&u.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${H(e)}`),!0):function(e,t){if(!t||!t.length)return!1;const n=ee(e);return!!n&&T(n,t)}(e,t.denyUrls)?(K&&u.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${H(e)}.\nUrl: ${ee(e)}`),!0):!function(e,t){if(!t||!t.length)return!0;const n=ee(e);return!n||T(n,t)}(e,t.allowUrls)&&(K&&u.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${H(e)}.\nUrl: ${ee(e)}`),!0)}(t,i)?null:t}});function ee(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return K&&u.error(`Cannot extract url for event ${H(e)}`),null}}function te(){return ne(i),i}function ne(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||o,t[o]=t[o]||{}}function re(){return{traceId:L(),spanId:L().substring(16)}}const oe=1e3;function ie(){return Date.now()/oe}const ae=function(){const{performance:e}=i;if(!e||!e.now)return ie;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/oe}();let se;function le(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||ae(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:L()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}(()=>{const{performance:e}=i;if(!e||!e.now)return void(se="none");const t=36e5,n=e.now(),r=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=o<t,s=e.timing&&e.timing.navigationStart,l="number"==typeof s?Math.abs(s+n-r):t;a||l<t?o<=l?(se="timeOrigin",e.timeOrigin):se="navigationStart":se="dateNow"})();const ce="_sentrySpan";function ue(e,t){t?I(e,ce,t):delete e[ce]}function de(e){return e[ce]}class fe{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=re()}clone(){const e=new fe;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,ue(e,de(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&le(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,[n,r]=t instanceof he?[t.getScopeData(),t.getRequestSession()]:b(t)?[e,e.requestSession]:[],{tags:o,extra:i,user:a,contexts:s,level:l,fingerprint:c=[],propagationContext:u}=n||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...i},this._contexts={...this._contexts,...s},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),c.length&&(this._fingerprint=c),u&&(this._propagationContext=u),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,ue(this,void 0),this._attachments=[],this._propagationContext=re(),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:ie(),...e},o=this._breadcrumbs;return o.push(r),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:de(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:L();if(!this._client)return u.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:L();if(!this._client)return u.warn("No client configured on scope - will not capture message!"),r;const o=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:r},this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:L();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(u.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}const he=fe;class pe{constructor(e,t){let n,r;n=e||new he,r=t||new he,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(e){throw this._popScope(),e}return E(n)?n.then((e=>(this._popScope(),e)),(e=>{throw this._popScope(),e})):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function me(){const e=ne(te());return e.stack=e.stack||new pe(a("defaultCurrentScope",(()=>new he)),a("defaultIsolationScope",(()=>new he)))}function ve(e){return me().withScope(e)}function ge(e,t){const n=me();return n.withScope((()=>(n.getStackTop().scope=e,t(e))))}function ye(e){return me().withScope((()=>e(me().getIsolationScope())))}function be(e){const t=ne(e);return t.acs?t.acs:{withIsolationScope:ye,withScope:ve,withSetScope:ge,withSetIsolationScope:(e,t)=>ye(t),getCurrentScope:()=>me().getScope(),getIsolationScope:()=>me().getIsolationScope()}}function we(){return be(te()).getCurrentScope()}function Ee(){return be(te()).getIsolationScope()}function xe(){return we().getClient()}let Se;const _e=new WeakMap,Oe=()=>({name:"FunctionToString",setupOnce(){Se=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=z(this),n=_e.has(xe())&&void 0!==t?t:this;return Se.apply(n,e)}}catch(e){}},setup(e){_e.set(e,!0)}}),Ce=50,Ae="?",ke=/\(error: (.*)\)/,Me=/captureMessage|captureException/;function Te(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0,r=0)=>{const o=[],i=e.split("\n");for(let e=n;e<i.length;e++){const n=i[e];if(n.length>1024)continue;const a=ke.test(n)?n.replace(ke,"$1"):n;if(!a.match(/\S*Error: /)){for(const e of t){const t=e(a);if(t){o.push(t);break}}if(o.length>=Ce+r)break}}return function(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(Pe(t).function||"")&&t.pop(),t.reverse(),Me.test(Pe(t).function||"")&&(t.pop(),Me.test(Pe(t).function||"")&&t.pop()),t.slice(0,Ce).map((e=>({...e,filename:e.filename||Pe(t).filename,function:e.function||Ae})))}(o.slice(r))}}function Pe(e){return e[e.length-1]||{}}const Ie="<anonymous>";function je(e){try{return e&&"function"==typeof e&&e.name||Ie}catch(e){return Ie}}function ze(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach((t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)})),e}catch(e){return}}}const De=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!Ne(e,t)&&!!Re(e,t))))}(e,t)||!!function(e,t){const n=$e(t),r=$e(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!Ne(e,t)&&!!Re(e,t)))}(e,t))}(t,e))return K&&u.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function Re(e,t){let n=ze(e),r=ze(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;e<r.length;e++){const t=r[e],o=n[e];if(t.filename!==o.filename||t.lineno!==o.lineno||t.colno!==o.colno||t.function!==o.function)return!1}return!0}function Ne(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function $e(e){return e.exception&&e.exception.values&&e.exception.values[0]}const Fe="production";function Le(e,t=100,n=1/0){try{return He("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Be(e,t=3,n=102400){const r=Le(e,t);return o=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(o))>n?Be(e,t-1,n):r;var o}function He(e,t,n=1/0,r=1/0,o=function(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){const[i,a]=o;if(null==t||["boolean","string"].includes(typeof t)||"number"==typeof t&&Number.isFinite(t))return t;const s=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(S(t))return"[VueViewModel]";if(b(n=t)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n)return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${je(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;const r=function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(e){return`**non-serializable** (${e})`}var n}(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;const l="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===l)return s.replace("object ","");if(i(t))return"[Circular ~]";const c=t;if(c&&"function"==typeof c.toJSON)try{return He("",c.toJSON(),l-1,r,o)}catch(e){}const u=Array.isArray(t)?[]:{};let d=0;const f=D(t);for(const e in f){if(!Object.prototype.hasOwnProperty.call(f,e))continue;if(d>=r){u[e]="[MaxProperties ~]";break}const t=f[e];u[e]=He(e,t,l-1,r,o),d++}return a(t),u}var Ve;function Ue(e){return new qe((t=>{t(e)}))}function We(e){return new qe(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(Ve||(Ve={}));class qe{constructor(e){qe.prototype.__init.call(this),qe.prototype.__init2.call(this),qe.prototype.__init3.call(this),qe.prototype.__init4.call(this),this._state=Ve.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new qe(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new qe(((t,n)=>{let r,o;return this.then((t=>{o=!1,r=t,e&&e()}),(t=>{o=!0,r=t,e&&e()})).then((()=>{o?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(Ve.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(Ve.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===Ve.PENDING&&(E(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===Ve.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===Ve.RESOLVED&&e[1](this._value),this._state===Ve.REJECTED&&e[2](this._value),e[0]=!0)}))}}}function Ke(e,t,n,r=0){return new qe(((o,i)=>{const a=e[r];if(null===t||"function"!=typeof a)o(t);else{const s=a({...t},n);K&&a.id&&null===s&&u.log(`Event processor "${a.id}" dropped event`),E(s)?s.then((t=>Ke(e,t,n,r+1).then(o))).then(null,i):Ke(e,s,n,r+1).then(o).then(null,i)}}))}const Ge="sentry-",Xe=/^sentry-/;function Ye(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(t&&n&&(e[t]=n),e)),{})}const Ze="sentry.source",Je="sentry.sample_rate",Qe="sentry.op",et="sentry.origin",tt="_sentryMetrics";function nt(e){const t=e[tt];if(!t)return;const n={};for(const[,[e,r]]of t)(n[e]||(n[e]=[])).push($(r));return n}const rt=0,ot=1,it=1;function at(e){const{spanId:t,traceId:n}=e.spanContext(),{parent_span_id:r}=ct(e);return $({parent_span_id:r,span_id:t,trace_id:n})}function st(e){return"number"==typeof e?lt(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?lt(e.getTime()):ae()}function lt(e){return e>9999999999?e/1e3:e}function ct(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:r,startTime:o,name:i,endTime:a,parentSpanId:s,status:l}=e;return $({span_id:t,trace_id:n,data:r,description:i,parent_span_id:s,start_timestamp:st(o),timestamp:st(a)||void 0,status:ut(l),op:r[Qe],origin:r[et],_metrics_summary:nt(e)})}return{span_id:t,trace_id:n}}catch(e){return{}}}function ut(e){if(e&&e.code!==rt)return e.code===ot?"ok":e.message||"unknown_error"}const dt="_sentryRootSpan";function ft(e){return e[dt]||e}const ht="_frozenDsc";function pt(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},o=$({environment:n.environment||Fe,release:n.release,public_key:r,trace_id:e});return t.emit("createDsc",o),o}function mt(e){const t=xe();if(!t)return{};const n=pt(ct(e).trace_id||"",t),r=ft(e),o=r[ht];if(o)return o;const i=r.spanContext().traceState,a=i&&i.get("sentry.dsc"),s=a&&function(e){const t=function(e){if(e&&(v(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce(((e,t)=>{const n=Ye(t);return Object.entries(n).forEach((([t,n])=>{e[t]=n})),e}),{}):Ye(e)}(e);if(!t)return;const n=Object.entries(t).reduce(((e,[t,n])=>(t.match(Xe)&&(e[t.slice(Ge.length)]=n),e)),{});return Object.keys(n).length>0?n:void 0}(a);if(s)return s;const l=ct(r),c=l.data||{},u=c[Je];null!=u&&(n.sample_rate=`${u}`);const d=c[Ze],f=l.description;return"url"!==d&&f&&(n.transaction=f),function(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=xe(),n=t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}()&&(n.sampled=String(function(e){const{traceFlags:t}=e.spanContext();return t===it}(r))),t.emit("createDsc",n,r),n}function vt(e,t){const{extra:n,tags:r,user:o,contexts:i,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:f,transactionName:h,span:p}=t;gt(e,"extra",n),gt(e,"tags",r),gt(e,"user",o),gt(e,"contexts",i),gt(e,"sdkProcessingMetadata",s),a&&(e.level=a),h&&(e.transactionName=h),p&&(e.span=p),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...f}}function gt(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function yt(e,t,n,r,o,s){const{normalizeDepth:l=3,normalizeMaxBreadth:c=1e3}=e,u={...t,event_id:t.event_id||n.event_id||L(),timestamp:t.timestamp||ie()},d=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:o,maxValueLength:i=250}=t;"environment"in e||(e.environment="environment"in t?n:Fe),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==o&&(e.dist=o),e.message&&(e.message=k(e.message,i));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=k(a.value,i));const s=e.request;s&&s.url&&(s.url=k(s.url,i))}(u,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(u,d),o&&o.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=i._sentryDebugIds;if(!n)return;let r;const o=bt.get(t);o?r=o:(r=new Map,bt.set(t,r));const a=Object.entries(n).reduce(((e,[n,o])=>{let i;const a=r.get(n);a?i=a:(i=t(n),r.set(n,i));for(let t=i.length-1;t>=0;t--){const n=i[t];if(n.filename){e[n.filename]=o;break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=a[e.filename])}))}))}catch(e){}}(u,e.stackParser);const f=function(e,t){if(!t)return e;const n=e?e.clone():new he;return n.update(t),n}(r,n.captureContext);n.mechanism&&U(u,n.mechanism);const h=o?o.getEventProcessors():[],p=a("globalScope",(()=>new he)).getScopeData();s&&vt(p,s.getScopeData()),f&&vt(p,f.getScopeData());const m=[...n.attachments||[],...p.attachments];return m.length&&(n.attachments=m),function(e,t){const{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:i}=t;!function(e,t){const{extra:n,tags:r,user:o,contexts:i,level:a,transactionName:s}=t,l=$(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const c=$(r);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});const u=$(o);u&&Object.keys(u).length&&(e.user={...u,...e.user});const d=$(i);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),a&&(e.level=a),s&&"transaction"!==e.type&&(e.transaction=s)}(e,t),r&&function(e,t){e.contexts={trace:at(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:mt(t),...e.sdkProcessingMetadata};const n=ct(ft(t)).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,r),function(e,t){e.fingerprint=e.fingerprint?q(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,o),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,i)}(u,p),Ke([...h,...p.eventProcessors],u,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach((([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})}))}(e),"number"==typeof l&&l>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:Le(e.data,t,n)}})))},...e.user&&{user:Le(e.user,t,n)},...e.contexts&&{contexts:Le(e.contexts,t,n)},...e.extra&&{extra:Le(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Le(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map((e=>({...e,...e.data&&{data:Le(e.data,t,n)}})))),r}(e,l,c):e)))}const bt=new WeakMap;const wt=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Et(e,t){return we().captureEvent(e,t)}function xt(e){const t=xe(),n=Ee(),r=we(),{release:o,environment:a=Fe}=t&&t.getOptions()||{},{userAgent:s}=i.navigator||{},l=function(e){const t=ae(),n={sid:L(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return $({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&le(n,e),n}({release:o,environment:a,user:r.getUser()||n.getUser(),...s&&{userAgent:s},...e}),c=n.getSession();return c&&"ok"===c.status&&le(c,{status:"exited"}),St(),n.setSession(l),r.setSession(l),l}function St(){const e=Ee(),t=we(),n=t.getSession()||e.getSession();n&&function(e,t){let n={};"ok"===e.status&&(n={status:"exited"}),le(e,n)}(n),_t(),e.setSession(),t.setSession()}function _t(){const e=Ee(),t=we(),n=xe(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function Ot(e=!1){e?St():_t()}const Ct=i;function At(){if(!("fetch"in Ct))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function kt(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}const Mt={},Tt={};function Pt(e,t){Mt[e]=Mt[e]||[],Mt[e].push(t)}function It(e,t){Tt[e]||(t(),Tt[e]=!0)}function jt(e,t){const n=e&&Mt[e];if(n)for(const o of n)try{o(t)}catch(t){r&&u.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${je(o)}\nError:`,t)}}const zt=i,Dt=i;let Rt;function Nt(e){const t="history";Pt(t,e),It(t,$t)}function $t(){if(!function(){const e=zt.chrome,t=e&&e.app&&e.app.runtime,n="history"in zt&&!!zt.history.pushState&&!!zt.history.replaceState;return!t&&n}())return;const e=Dt.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=Rt,t=String(n);Rt=t,jt("history",{from:e,to:t})}return e.apply(this,t)}}Dt.onpopstate=function(...t){const n=Dt.location.href,r=Rt;if(Rt=n,jt("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(e){}},P(Dt.history,"pushState",t),P(Dt.history,"replaceState",t)}const Ft=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Lt(e,t=!1){const{host:n,path:r,pass:o,port:i,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r?`${r}/`:r}${a}`}function Bt(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Ht(e,t=[]){return[e,t]}function Vt(e,t){const[n,r]=e;return[n,[...r,t]]}function Ut(e,t){const n=e[1];for(const e of n)if(t(e,e[0].type))return!0;return!1}function Wt(e){return i.__SENTRY__&&i.__SENTRY__.encodePolyfill?i.__SENTRY__.encodePolyfill(e):(new TextEncoder).encode(e)}function qt(e){const[t,n]=e;let r=JSON.stringify(t);function o(e){"string"==typeof r?r="string"==typeof e?r+e:[Wt(r),e]:r.push("string"==typeof e?Wt(e):e)}for(const e of n){const[t,n]=e;if(o(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)o(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify(Le(n))}o(e)}}return"string"==typeof r?r:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(r)}function Kt(e){const t="string"==typeof e.data?Wt(e.data):e.data;return[$({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const Gt={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function Xt(e){return Gt[e]}function Yt(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}class Zt extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}const Jt="7";function Qt(e,t,n){return t||`${function(e){return`${function(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){return n={sentry_key:e.publicKey,sentry_version:Jt,...t&&{sentry_client:`${t.name}/${t.version}`}},Object.keys(n).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`)).join("&");var n}(e,n)}`}const en="Not capturing exception because it's already been captured.";class tn{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=function(e){const t="string"==typeof e?function(e){const t=Ft.exec(e);if(!t)return void c((()=>{console.error(`Invalid Sentry Dsn: ${e}`)}));const[n,r,o="",i="",a="",s=""]=t.slice(1);let l="",u=s;const d=u.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),u=d.pop()),u){const e=u.match(/^\d+/);e&&(u=e[0])}return Bt({host:i,pass:o,path:l,projectId:u,port:a,protocol:n,publicKey:r})}(e):Bt(e);if(t&&function(e){if(!r)return!0;const{port:t,projectId:n,protocol:o}=e;return!(["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(u.error(`Invalid Sentry Dsn: ${t} missing`),!0)))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(o)?t&&isNaN(parseInt(t,10))&&(u.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(u.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),1):(u.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}(e.dsn):K&&u.warn("No DSN provided, client will not send events."),this._dsn){const t=Qt(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,n){const r=L();if(W(e))return K&&u.log(en),r;const o={event_id:r,...t};return this._process(this.eventFromException(e,o).then((e=>this._captureEvent(e,o,n)))),o.event_id}captureMessage(e,t,n,r){const o={event_id:L(),...n},i=g(e)?e:String(e),a=y(e)?this.eventFromMessage(i,t,o):this.eventFromException(e,o);return this._process(a.then((e=>this._captureEvent(e,o,r)))),o.event_id}captureEvent(e,t,n){const r=L();if(t&&t.originalException&&W(t.originalException))return K&&u.log(en),r;const o={event_id:r,...t},i=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,o,i||n)),o.event_id}captureSession(e){"string"!=typeof e.release?K&&u.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),le(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):Ue(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.emit("close"),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some((({name:e})=>e.startsWith("Spotlight"))))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];Z(this,e,this._integrations),t||Y(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,r){const o=Yt(n),i=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const a=function(e,t,n,r){const o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Lt(r)},...o&&{trace:$({...o})}}}(e,o,r,t);return delete e.sdkProcessingMetadata,Ht(a,[[{type:i},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=Vt(n,Kt(e));const r=this.sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=function(e,t,n,r){const o=Yt(n);return Ht({sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!r&&t&&{dsn:Lt(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const r="number"==typeof n?n:1,o=`${e}:${t}`;K&&u.log(`Recording outcome: "${o}"${r>1?` (${r} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+r}}on(e,t){const n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{const e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach((e=>e(...t)))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,(e=>(K&&u.error("Error while sending event:",e),e))):(K&&u.error("Transport disabled"),Ue({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach((t=>{t&&Z(e,t,n)})),n}(this,e),Y(this,e)}_updateSessionFromEvent(e,t){let n=!1,r=!1;const o=t.exception&&t.exception.values;if(o){r=!0;for(const e of o){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const i="ok"===e.status;(i&&0===e.errors||i&&n)&&(le(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new qe((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r=Ee()){const o=this.getOptions(),i=Object.keys(this._integrations);return!t.integrations&&i.length>0&&(t.integrations=i),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),yt(o,e,t,n,this,r).then((e=>{if(null===e)return e;const t={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if((!e.contexts||!e.contexts.trace)&&t){const{traceId:n,spanId:r,parentSpanId:o,dsc:i}=t;e.contexts={trace:$({trace_id:n,span_id:r,parent_span_id:o}),...e.contexts};const a=i||pt(n,this);e.sdkProcessingMetadata={dynamicSamplingContext:a,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if(K){const t=e;"log"===t.logLevel?u.log(t.message):u.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:o}=r,i=rn(e),a=nn(e),s=e.type||"error",l=`before send for type \`${s}\``,c=void 0===o?void 0:function(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t)||t<0||t>1))return t;K&&u.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`)}(o);if(a&&"number"==typeof c&&Math.random()>c)return this.recordDroppedEvent("sample_rate","error",e),We(new Zt(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));const d="replay_event"===s?"replay":s,f=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,f).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",d,e),new Zt("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const o=function(e,t,n,r){const{beforeSend:o,beforeSendTransaction:i,beforeSendSpan:a}=t;if(nn(n)&&o)return o(n,r);if(rn(n)){if(n.spans&&a){const t=[];for(const r of n.spans){const n=a(r);n?t.push(n):e.recordDroppedEvent("before_send","span")}n.spans=t}if(i){if(n.spans){const e=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(n,r)}}return n}(this,r,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(E(e))return e.then((e=>{if(!b(e)&&null!==e)throw new Zt(n);return e}),(e=>{throw new Zt(`${t} rejected with ${e}`)}));if(!b(e)&&null!==e)throw new Zt(n);return e}(o,l)})).then((r=>{if(null===r){if(this.recordDroppedEvent("before_send",d,e),i){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new Zt(`${l} returned \`null\`, will not send event.`,"log")}const o=n&&n.getSession();if(!i&&o&&this._updateSessionFromEvent(o,r),i){const e=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const a=r.transaction_info;if(i&&a&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...a,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof Zt)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new Zt(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map((([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}}))}_flushOutcomes(){K&&u.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(K&&u.log("No outcomes to send"));if(!this._dsn)return void(K&&u.log("No dsn provided, will not send outcomes"));K&&u.log("Sending outcomes:",e);const t=(n=e,Ht((r=this._options.tunnel&&Lt(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:ie(),discarded_events:n}]]));var n,r;this.sendEnvelope(t)}}function nn(e){return void 0===e.type}function rn(e){return"transaction"===e.type}const on="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function an(e,t){const n=ln(e,t),r={type:dn(t),value:fn(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function sn(e,t){return{exception:{values:[an(e,t)]}}}function ln(e,t){const n=t.stacktrace||t.stack||"",r=function(e){return e&&cn.test(e.message)?1:0}(t),o=function(e){return"number"==typeof e.framesToPop?e.framesToPop:0}(t);try{return e(n,r,o)}catch(e){}return[]}const cn=/Minified React error #\d+;/i;function un(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function dn(e){const t=e&&e.name;return!t&&un(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}function fn(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:un(e)&&Array.isArray(e.message)&&2==e.message.length?e.message[1]:t:"No error message"}function hn(e,t,n,r,o){let i;if(p(t)&&t.error)return sn(e,t.error);if(m(t)||h(t,"DOMException")){const o=t;if("stack"in t)i=sn(e,t);else{const t=o.name||(m(o)?"DOMError":"DOMException"),a=o.message?`${t}: ${o.message}`:t;i=pn(e,a,n,r),V(i,a)}return"code"in o&&(i.tags={...i.tags,"DOMException.code":`${o.code}`}),i}return f(t)?sn(e,t):b(t)||w(t)?(i=function(e,t,n,r){const o=xe(),i=o&&o.getOptions().normalizeDepth,a=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}(t),s={__serialized__:Be(t,i)};if(a)return{exception:{values:[an(e,a)]},extra:s};const l={exception:{values:[{type:w(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:mn(t,{isUnhandledRejection:r})}]},extra:s};if(n){const t=ln(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,n,o),U(i,{synthetic:!0}),i):(i=pn(e,t,n,r),V(i,`${t}`,void 0),U(i,{synthetic:!0}),i)}function pn(e,t,n,r){const o={};if(r&&n){const r=ln(e,n);r.length&&(o.exception={values:[{value:t,stacktrace:{frames:r}}]})}if(g(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return o.logentry={message:e,params:n},o}return o.message=t,o}function mn(e,{isUnhandledRejection:t}){const n=function(e,t=40){const n=Object.keys(D(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return k(r,t);for(let e=n.length;e>0;e--){const r=n.slice(0,e).join(", ");if(!(r.length>t))return e===n.length?r:k(r,t)}return""}(e),r=t?"promise rejection":"exception";return p(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:w(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}const vn=i;let gn=0;function yn(){return gn>0}function bn(e,t={},n){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return"function"==typeof t?t:e;if(z(e))return e}catch(t){return e}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const o=r.map((e=>bn(e,t)));return e.apply(this,o)}catch(e){throw gn++,setTimeout((()=>{gn--})),function(...e){const t=be(te());if(2===e.length){const[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}t.withScope(e[0])}((n=>{var o;n.addEventProcessor((e=>(t.mechanism&&(V(e,void 0,void 0),U(e,t.mechanism)),e.extra={...e.extra,arguments:r},e))),o=e,we().captureException(o,function(e){if(e)return function(e){return e instanceof he||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>wt.includes(e)))}(e)?{captureContext:e}:e}(undefined))})),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(e){}j(r,e),I(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}class wn extends tn{constructor(e){const t={parentSpanIsAlwaysRootSpan:!0,...e};!function(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${r}:@sentry/${e}`,version:o}))),version:o}),e._metadata=i}(t,"browser",["browser"],vn.SENTRY_SDK_SOURCE||"npm"),super(t),t.sendClientReports&&vn.document&&vn.document.addEventListener("visibilitychange",(()=>{"hidden"===vn.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return function(e,t,n,r){const o=hn(e,t,n&&n.syntheticException||void 0,r);return U(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),Ue(o)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,o){const i=pn(e,t,r&&r.syntheticException||void 0,o);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),Ue(i)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(on&&u.warn("SDK not enabled, will not capture user feedback."));const t=function(e,{metadata:t,tunnel:n,dsn:r}){const o={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:Lt(r)}},i=function(e){return[{type:"user_report"},e]}(e);return Ht(o,[i])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}}const En=1e3;let xn,Sn,_n;function On(){if(!Dt.document)return;const e=jt.bind(null,"dom"),t=Cn(e,!0);Dt.document.addEventListener("click",t,!1),Dt.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=Dt[t]&&Dt[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(P(n,"addEventListener",(function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{const r=this,i=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},a=i[n]=i[n]||{refCount:0};if(!a.handler){const r=Cn(e);a.handler=r,t.call(this,n,r,o)}a.refCount++}catch(e){}return t.call(this,n,r,o)}})),P(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,o=n.__sentry_instrumentation_handlers__||{},i=o[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete o[t]),0===Object.keys(o).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}function Cn(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch(e){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;I(n,"_sentryCaptured",!0),r&&!r._sentryId&&I(r,"_sentryId",L());const o="keypress"===n.type?"input":n.type;(function(e){if(e.type!==Sn)return!1;try{if(!e.target||e.target._sentryId!==_n)return!1}catch(e){}return!0})(n)||(e({event:n,name:o,global:t}),Sn=n.type,_n=r?r._sentryId:void 0),clearTimeout(xn),xn=Dt.setTimeout((()=>{_n=void 0,Sn=void 0}),En)}}const An="__sentry_xhr_v3__";function kn(){if(!Dt.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const r=1e3*ae(),o=v(n[0])?n[0].toUpperCase():void 0,i=function(e){if(v(e))return e;try{return e.toString()}catch(e){}}(n[1]);if(!o||!i)return e.apply(t,n);t[An]={method:o,url:i,request_headers:{}},"POST"===o&&i.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const a=()=>{const e=t[An];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}jt("xhr",{endTimestamp:1e3*ae(),startTimestamp:r,xhr:t})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(a(),e.apply(t,n))}):t.addEventListener("readystatechange",a),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[r,o]=n,i=t[An];return i&&v(r)&&v(o)&&(i.request_headers[r.toLowerCase()]=o),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const r=t[An];return r?(void 0!==n[0]&&(r.body=n[0]),jt("xhr",{startTimestamp:1e3*ae(),xhr:t}),e.apply(t,n)):e.apply(t,n)}})}const Mn=100;function Tn(e,t){const n=xe(),r=Ee();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:i=Mn}=n.getOptions();if(i<=0)return;const a={timestamp:ie(),...e},s=o?c((()=>o(a,t))):a;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),r.addBreadcrumb(s,i))}function Pn(){"console"in i&&s.forEach((function(e){e in i.console&&P(i.console,e,(function(t){return l[e]=t,function(...t){jt("console",{args:t,level:e});const n=l[e];n&&n.apply(i.console,t)}}))}))}function In(e,t){return!!e&&"object"==typeof e&&!!e[t]}function jn(e){return"string"==typeof e?e:e?In(e,"url")?e.url:e.toString?e.toString():"":""}const zn=["fatal","error","warning","log","info","debug"];function Dn(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}function Rn(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const Nn=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){const t="console";Pt(t,e),It(t,Pn)}(function(e){return function(t){if(xe()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:(r=t.level,"warn"===r?"warning":zn.includes(r)?r:"log"),message:M(t.args," ")};var r;if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${M(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}Tn(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if(xe()!==e)return;let r,o,i="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>1024&&(on&&u.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof i&&(i=[i]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=C(t,{keyAttrs:i,maxStringLength:a}),o=function(e){if(!_.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}(t)}catch(e){r="<unknown>"}if(0===r.length)return;const s={category:`ui.${n.name}`,message:r};o&&(s.data={"ui.component_name":o}),Tn(s,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),Pt("dom",n),It("dom",On)),t.xhr&&function(e){Pt("xhr",e),It("xhr",kn)}(function(e){return function(t){if(xe()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,o=t.xhr[An];if(!n||!r||!o)return;const{method:i,url:a,status_code:s,body:l}=o,c={method:i,url:a,status_code:s},u={xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r};Tn({category:"xhr",data:c,type:"http",level:Dn(s)},u)}}(e)),t.fetch&&function(e,t){const n="fetch";Pt(n,e),It(n,(()=>function(e,t=!1){t&&!function(){if("string"==typeof EdgeRuntime)return!0;if(!At())return!1;if(kt(Ct.fetch))return!0;let e=!1;const t=Ct.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=kt(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){r&&u.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}()||P(i,"fetch",(function(t){return function(...n){const{method:r,url:o}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:jn(t),method:In(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:jn(t),method:In(t,"method")?String(t.method).toUpperCase():"GET"}}(n),a={args:n,fetchData:{method:r,url:o},startTimestamp:1e3*ae()};e||jt("fetch",{...a});const s=(new Error).stack;return t.apply(i,n).then((async t=>(e?e(t):jt("fetch",{...a,endTimestamp:1e3*ae(),response:t}),t)),(e=>{throw jt("fetch",{...a,endTimestamp:1e3*ae(),error:e}),f(e)&&void 0===e.stack&&(e.stack=s,I(e,"framesToPop",1)),e}))}}))}(void 0,undefined)))}(function(e){return function(t){if(xe()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error)Tn({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:r});else{const e=t.response,o={...t.fetchData,status_code:e&&e.status},i={input:t.args,response:e,startTimestamp:n,endTimestamp:r};Tn({category:"fetch",data:o,type:"http",level:Dn(o.status_code)},i)}}}(e)),t.history&&Nt(function(e){return function(t){if(xe()!==e)return;let n=t.from,r=t.to;const o=Rn(vn.location.href);let i=n?Rn(n):void 0;const a=Rn(r);i&&i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),Tn({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){xe()===e&&Tn({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:H(t)},{event:t})}}(e))}}},$n=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Fn=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&P(vn,"setTimeout",Ln),t.setInterval&&P(vn,"setInterval",Ln),t.requestAnimationFrame&&P(vn,"requestAnimationFrame",Bn),t.XMLHttpRequest&&"XMLHttpRequest"in vn&&P(XMLHttpRequest.prototype,"send",Hn);const e=t.eventTarget;e&&(Array.isArray(e)?e:$n).forEach(Vn)}}};function Ln(e){return function(...t){const n=t[0];return t[0]=bn(n,{mechanism:{data:{function:je(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function Bn(e){return function(t){return e.apply(this,[bn(t,{mechanism:{data:{function:"requestAnimationFrame",handler:je(e)},handled:!1,type:"instrument"}})])}}function Hn(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&P(n,e,(function(t){const n={mechanism:{data:{function:e,handler:je(t)},handled:!1,type:"instrument"}},r=z(t);return r&&(n.mechanism.data.handler=je(r)),bn(t,n)}))})),e.apply(this,t)}}function Vn(e){const t=vn,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(P(n,"addEventListener",(function(t){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=bn(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:je(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,bn(r,{mechanism:{data:{function:"addEventListener",handler:je(r),target:e},handled:!1,type:"instrument"}}),o])}})),P(n,"removeEventListener",(function(e){return function(t,n,r){const o=n;try{const n=o&&o.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(e){}return e.call(this,t,o,r)}})))}let Un=null;function Wn(){Un=i.onerror,i.onerror=function(e,t,n,r,o){return jt("error",{column:r,error:o,line:n,msg:e,url:t}),!(!Un||Un.__SENTRY_LOADER__)&&Un.apply(this,arguments)},i.onerror.__SENTRY_INSTRUMENTED__=!0}let qn=null;function Kn(){qn=i.onunhandledrejection,i.onunhandledrejection=function(e){return jt("unhandledrejection",e),!(qn&&!qn.__SENTRY_LOADER__)||qn.apply(this,arguments)},i.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Gn=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){!function(t){const n="error";Pt(n,(t=>{const{stackParser:n,attachStacktrace:r}=Yn();if(xe()!==e||yn())return;const{msg:o,url:i,line:a,column:s,error:l}=t,c=function(e,t,n,r){const o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],c=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=v(t)&&t.length>0?t:function(){try{return _.document.location.href}catch(e){return""}}();return 0===l.length&&l.push({colno:c,filename:d,function:Ae,in_app:!0,lineno:u}),e}(hn(n,l||o,void 0,r,!1),i,a,s);c.level="error",Et(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})),It(n,Wn)}()}(e),Xn("onerror")),t.onunhandledrejection&&(function(e){!function(t){const n="unhandledrejection";Pt(n,(t=>{const{stackParser:n,attachStacktrace:r}=Yn();if(xe()!==e||yn())return;const o=function(e){if(y(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),i=y(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:hn(n,o,void 0,r,!0);i.level="error",Et(i,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})})),It(n,Kn)}()}(e),Xn("onunhandledrejection"))}}};function Xn(e){on&&u.log(`Global Handler attached: ${e}`)}function Yn(){const e=xe();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Zn=()=>({name:"HttpContext",preprocessEvent(e){if(!vn.navigator&&!vn.location&&!vn.document)return;const t=e.request&&e.request.url||vn.location&&vn.location.href,{referrer:n}=vn.document||{},{userAgent:r}=vn.navigator||{},o={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},i={...e.request,...t&&{url:t},headers:o};e.request=i}});function Jn(e,t,n=250,r,o,i,a){if(!(i.exception&&i.exception.values&&a&&x(a.originalException,Error)))return;const s=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;var l,c;s&&(i.exception.values=(l=Qn(e,t,o,a.originalException,r,i.exception.values,s,0),c=n,l.map((e=>(e.value&&(e.value=k(e.value,c)),e)))))}function Qn(e,t,n,r,o,i,a,s){if(i.length>=n+1)return i;let l=[...i];if(x(r[o],Error)){er(a,s);const i=e(t,r[o]),c=l.length;tr(i,o,c,s),l=Qn(e,t,n,r[o],o,[i,...l],i,c)}return Array.isArray(r.errors)&&r.errors.forEach(((r,i)=>{if(x(r,Error)){er(a,s);const c=e(t,r),u=l.length;tr(c,`errors[${i}]`,u,s),l=Qn(e,t,n,r,o,[c,...l],c,u)}})),l}function er(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function tr(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}const nr=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,o){const i=o.getOptions();Jn(an,i.stackParser,i.maxValueLength,n,t,e,r)}}};function rr(e,t,n,r){const o={filename:e,function:"<anonymous>"===t?Ae:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}const or=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,ir=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ar=/\((\S*)(?::(\d+))(?::(\d+))\)/,sr=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,lr=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,cr=Te([30,e=>{const t=or.exec(e);if(t){const[,e,n,r]=t;return rr(e,Ae,+n,+r)}const n=ir.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){const e=ar.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}const[e,t]=ur(n[1]||Ae,n[2]);return rr(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{const t=sr.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=lr.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||Ae;return[n,e]=ur(n,e),rr(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),ur=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:Ae,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},dr="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,fr={};function hr(e){fr[e]=void 0}const pr=6e4;const mr=64;function vr(e,t,n=function(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return We(new Zt("Not adding Promise because buffer limit was reached."));const o=r();return-1===t.indexOf(o)&&t.push(o),o.then((()=>n(o))).then(null,(()=>n(o).then(null,(()=>{})))),o},drain:function(e){return new qe(((n,r)=>{let o=t.length;if(!o)return n(!0);const i=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{Ue(e).then((()=>{--o||(clearTimeout(i),n(!0))}),r)}))}))}}}(e.bufferSize||mr)){let r={};return{send:function(o){const i=[];if(Ut(o,((t,n)=>{const o=Xt(n);if(function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,o)){const r=gr(t,n);e.recordDroppedEvent("ratelimit_backoff",o,r)}else i.push(t)})),0===i.length)return Ue({});const a=Ht(o[0],i),s=t=>{Ut(a,((n,r)=>{const o=gr(n,r);e.recordDroppedEvent(t,Xt(r),o)}))};return n.add((()=>t({body:qt(a)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&K&&u.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){const o={...e},i=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(i)for(const e of i.trim().split(",")){const[t,n,,,i]=e.split(":",5),a=parseInt(t,10),s=1e3*(isNaN(a)?60:a);if(n)for(const e of n.split(";"))"metric_bucket"===e&&i&&!i.split(";").includes("custom")||(o[e]=r+s);else o.all=r+s}else a?o.all=r+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?pr:r-t}(a,r):429===t&&(o.all=r+6e4);return o}(r,e),e)),(e=>{throw s("network_error"),e})))).then((e=>e),(e=>{if(e instanceof Zt)return K&&u.error("Skipped sending event because buffer is full."),s("queue_overflow"),Ue({});throw e}))},flush:e=>n.drain(e)}}function gr(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function yr(e,t=function(e){const t=fr[e];if(t)return t;let n=Dt[e];if(kt(n))return fr[e]=n.bind(Dt);const r=Dt.document;if(r&&"function"==typeof r.createElement)try{const t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);const o=t.contentWindow;o&&o[e]&&(n=o[e]),r.head.removeChild(t)}catch(t){dr&&u.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?fr[e]=n.bind(Dt):n}("fetch")){let n=0,r=0;return vr(e,(function(o){const i=o.body.length;n+=i,r++;const a={body:o.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return hr("fetch"),We("No fetch implementation available");try{return t(e.url,a).then((e=>(n-=i,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(e){return hr("fetch"),n-=i,r--,We(e)}}))}function br(e={}){const t=function(e={}){const t={defaultIntegrations:[Q(),Oe(),Fn(),Nn(),Gn(),nr(),De(),Zn()],release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:vn.SENTRY_RELEASE&&vn.SENTRY_RELEASE.id?vn.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==e.defaultIntegrations&&delete e.defaultIntegrations,{...t,...e}}(e);if(function(){const e=void 0!==vn.window&&vn;if(!e)return!1;const t=e[e.chrome?"chrome":"browser"],n=t&&t.runtime&&t.runtime.id,r=vn.location&&vn.location.href||"",o=!!n&&vn===vn.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some((e=>r.startsWith(`${e}//`))),i=void 0!==e.nw;return!!n&&!o&&!i}())return void c((()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}));on&&(At()||u.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...t,stackParser:(r=t.stackParser||cr,Array.isArray(r)?Te(...r):r),integrations:X(t),transport:t.transport||yr};var r;const o=function(e,t){!0===t.debug&&(K?u.enable():c((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}))),we().update(t.initialScope);const n=new e(t);return function(e){we().setClient(e)}(n),n.init(),n}(wn,n);return t.autoSessionTracking&&(void 0!==vn.document?(xt({ignoreDuration:!0}),Ot(),Nt((({from:e,to:t})=>{void 0!==e&&e!==t&&(xt({ignoreDuration:!0}),Ot())}))):on&&u.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")),o}},18814:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},56476:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},55195:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(95861);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},28831:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,{A:()=>o})},95861:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},73500:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>r})},29144:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},27565:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},82985:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(27129);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){var r,i,a;r=e,i=t,a=n[t],(i=o(i))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},13553:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(29144),o=n(51937),i=n(27565);function a(e,t){return(0,r.A)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||(0,o.A)(e,t)||(0,i.A)()}},27129:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},51937:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(73500);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},34164:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}n.d(t,{A:()=>o});const o=function(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},76152:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=["AC","AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","EU","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"];function o(e){return r.indexOf(e)>=0}},84239:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AC:()=>Wr,AD:()=>qr,AE:()=>Kr,AF:()=>Gr,AG:()=>Xr,AI:()=>Yr,AL:()=>Zr,AM:()=>Jr,AO:()=>Qr,AQ:()=>eo,AR:()=>to,AS:()=>no,AT:()=>ro,AU:()=>oo,AW:()=>io,AX:()=>ao,AZ:()=>so,BA:()=>lo,BB:()=>co,BD:()=>uo,BE:()=>fo,BF:()=>ho,BG:()=>po,BH:()=>mo,BI:()=>vo,BJ:()=>go,BL:()=>yo,BM:()=>bo,BN:()=>wo,BO:()=>Eo,BQ:()=>xo,BR:()=>So,BS:()=>_o,BT:()=>Oo,BV:()=>Co,BW:()=>Ao,BY:()=>ko,BZ:()=>Mo,CA:()=>To,CC:()=>Po,CD:()=>Io,CF:()=>jo,CG:()=>zo,CH:()=>Do,CI:()=>Ro,CK:()=>No,CL:()=>$o,CM:()=>Fo,CN:()=>Lo,CO:()=>Bo,CR:()=>Ho,CU:()=>Vo,CV:()=>Uo,CW:()=>Wo,CX:()=>qo,CY:()=>Ko,CZ:()=>Go,DE:()=>Xo,DJ:()=>Yo,DK:()=>Zo,DM:()=>Jo,DO:()=>Qo,DZ:()=>ei,EC:()=>ti,EE:()=>ni,EG:()=>ri,EH:()=>oi,ER:()=>ii,ES:()=>ai,ET:()=>si,EU:()=>li,FI:()=>ci,FJ:()=>ui,FK:()=>di,FM:()=>fi,FO:()=>hi,FR:()=>pi,GA:()=>mi,GB:()=>vi,GD:()=>gi,GE:()=>yi,GF:()=>bi,GG:()=>wi,GH:()=>Ei,GI:()=>xi,GL:()=>Si,GM:()=>_i,GN:()=>Oi,GP:()=>Ci,GQ:()=>Ai,GR:()=>ki,GS:()=>Mi,GT:()=>Ti,GU:()=>Pi,GW:()=>Ii,GY:()=>ji,HK:()=>zi,HM:()=>Di,HN:()=>Ri,HR:()=>Ni,HT:()=>$i,HU:()=>Fi,IC:()=>Li,ID:()=>Bi,IE:()=>Hi,IL:()=>Vi,IM:()=>Ui,IN:()=>Wi,IO:()=>qi,IQ:()=>Ki,IR:()=>Gi,IS:()=>Xi,IT:()=>Yi,JE:()=>Zi,JM:()=>Ji,JO:()=>Qi,JP:()=>ea,KE:()=>ta,KG:()=>na,KH:()=>ra,KI:()=>oa,KM:()=>ia,KN:()=>aa,KP:()=>sa,KR:()=>la,KW:()=>ca,KY:()=>ua,KZ:()=>da,LA:()=>fa,LB:()=>ha,LC:()=>pa,LI:()=>ma,LK:()=>va,LR:()=>ga,LS:()=>ya,LT:()=>ba,LU:()=>wa,LV:()=>Ea,LY:()=>xa,MA:()=>Sa,MC:()=>_a,MD:()=>Oa,ME:()=>Ca,MF:()=>Aa,MG:()=>ka,MH:()=>Ma,MK:()=>Ta,ML:()=>Pa,MM:()=>Ia,MN:()=>ja,MO:()=>za,MP:()=>Da,MQ:()=>Ra,MR:()=>Na,MS:()=>$a,MT:()=>Fa,MU:()=>La,MV:()=>Ba,MW:()=>Ha,MX:()=>Va,MY:()=>Ua,MZ:()=>Wa,NA:()=>qa,NC:()=>Ka,NE:()=>Ga,NF:()=>Xa,NG:()=>Ya,NI:()=>Za,NL:()=>Ja,NO:()=>Qa,NP:()=>es,NR:()=>ts,NU:()=>ns,NZ:()=>rs,OM:()=>os,PA:()=>is,PE:()=>as,PF:()=>ss,PG:()=>ls,PH:()=>cs,PK:()=>us,PL:()=>ds,PM:()=>fs,PN:()=>hs,PR:()=>ps,PS:()=>ms,PT:()=>vs,PW:()=>gs,PY:()=>ys,QA:()=>bs,RE:()=>ws,RO:()=>Es,RS:()=>xs,RU:()=>Ss,RW:()=>_s,SA:()=>Os,SB:()=>Cs,SC:()=>As,SD:()=>ks,SE:()=>Ms,SG:()=>Ts,SH:()=>Ps,SI:()=>Is,SJ:()=>js,SK:()=>zs,SL:()=>Ds,SM:()=>Rs,SN:()=>Ns,SO:()=>$s,SR:()=>Fs,SS:()=>Ls,ST:()=>Bs,SV:()=>Hs,SX:()=>Vs,SY:()=>Us,SZ:()=>Ws,TA:()=>qs,TC:()=>Ks,TD:()=>Gs,TF:()=>Xs,TG:()=>Ys,TH:()=>Zs,TJ:()=>Js,TK:()=>Qs,TL:()=>el,TM:()=>tl,TN:()=>nl,TO:()=>rl,TR:()=>ol,TT:()=>il,TV:()=>al,TW:()=>sl,TZ:()=>ll,UA:()=>cl,UG:()=>ul,UM:()=>dl,US:()=>fl,UY:()=>hl,UZ:()=>pl,VA:()=>ml,VC:()=>vl,VE:()=>gl,VG:()=>yl,VI:()=>bl,VN:()=>wl,VU:()=>El,WF:()=>xl,WS:()=>Sl,XK:()=>_l,YE:()=>Ol,YT:()=>Cl,ZA:()=>Al,ZM:()=>kl,ZW:()=>Ml,default:()=>Tl});var r=n(96540),o=["title"],i=["title"],a=["title"],s=["title"],l=["title"],c=["title"],u=["title"],d=["title"],f=["title"],h=["title"],p=["title"],m=["title"],v=["title"],g=["title"],y=["title"],b=["title"],w=["title"],E=["title"],x=["title"],S=["title"],_=["title"],O=["title"],C=["title"],A=["title"],k=["title"],M=["title"],T=["title"],P=["title"],I=["title"],j=["title"],z=["title"],D=["title"],R=["title"],N=["title"],$=["title"],F=["title"],L=["title"],B=["title"],H=["title"],V=["title"],U=["title"],W=["title"],q=["title"],K=["title"],G=["title"],X=["title"],Y=["title"],Z=["title"],J=["title"],Q=["title"],ee=["title"],te=["title"],ne=["title"],re=["title"],oe=["title"],ie=["title"],ae=["title"],se=["title"],le=["title"],ce=["title"],ue=["title"],de=["title"],fe=["title"],he=["title"],pe=["title"],me=["title"],ve=["title"],ge=["title"],ye=["title"],be=["title"],we=["title"],Ee=["title"],xe=["title"],Se=["title"],_e=["title"],Oe=["title"],Ce=["title"],Ae=["title"],ke=["title"],Me=["title"],Te=["title"],Pe=["title"],Ie=["title"],je=["title"],ze=["title"],De=["title"],Re=["title"],Ne=["title"],$e=["title"],Fe=["title"],Le=["title"],Be=["title"],He=["title"],Ve=["title"],Ue=["title"],We=["title"],qe=["title"],Ke=["title"],Ge=["title"],Xe=["title"],Ye=["title"],Ze=["title"],Je=["title"],Qe=["title"],et=["title"],tt=["title"],nt=["title"],rt=["title"],ot=["title"],it=["title"],at=["title"],st=["title"],lt=["title"],ct=["title"],ut=["title"],dt=["title"],ft=["title"],ht=["title"],pt=["title"],mt=["title"],vt=["title"],gt=["title"],yt=["title"],bt=["title"],wt=["title"],Et=["title"],xt=["title"],St=["title"],_t=["title"],Ot=["title"],Ct=["title"],At=["title"],kt=["title"],Mt=["title"],Tt=["title"],Pt=["title"],It=["title"],jt=["title"],zt=["title"],Dt=["title"],Rt=["title"],Nt=["title"],$t=["title"],Ft=["title"],Lt=["title"],Bt=["title"],Ht=["title"],Vt=["title"],Ut=["title"],Wt=["title"],qt=["title"],Kt=["title"],Gt=["title"],Xt=["title"],Yt=["title"],Zt=["title"],Jt=["title"],Qt=["title"],en=["title"],tn=["title"],nn=["title"],rn=["title"],on=["title"],an=["title"],sn=["title"],ln=["title"],cn=["title"],un=["title"],dn=["title"],fn=["title"],hn=["title"],pn=["title"],mn=["title"],vn=["title"],gn=["title"],yn=["title"],bn=["title"],wn=["title"],En=["title"],xn=["title"],Sn=["title"],_n=["title"],On=["title"],Cn=["title"],An=["title"],kn=["title"],Mn=["title"],Tn=["title"],Pn=["title"],In=["title"],jn=["title"],zn=["title"],Dn=["title"],Rn=["title"],Nn=["title"],$n=["title"],Fn=["title"],Ln=["title"],Bn=["title"],Hn=["title"],Vn=["title"],Un=["title"],Wn=["title"],qn=["title"],Kn=["title"],Gn=["title"],Xn=["title"],Yn=["title"],Zn=["title"],Jn=["title"],Qn=["title"],er=["title"],tr=["title"],nr=["title"],rr=["title"],or=["title"],ir=["title"],ar=["title"],sr=["title"],lr=["title"],cr=["title"],ur=["title"],dr=["title"],fr=["title"],hr=["title"],pr=["title"],mr=["title"],vr=["title"],gr=["title"],yr=["title"],br=["title"],wr=["title"],Er=["title"],xr=["title"],Sr=["title"],_r=["title"],Or=["title"],Cr=["title"],Ar=["title"],kr=["title"],Mr=["title"],Tr=["title"],Pr=["title"],Ir=["title"],jr=["title"],zr=["title"],Dr=["title"],Rr=["title"],Nr=["title"],$r=["title"],Fr=["title"],Lr=["title"],Br=["title"],Hr=["title"];function Vr(){return Vr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vr.apply(this,arguments)}function Ur(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Wr=function(e){var t=e.title,n=Ur(e,o);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z"}),r.createElement("path",{fill:"#29DBFF",d:"M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9"}),r.createElement("path",{fill:"#FFF",d:"M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4"}),r.createElement("path",{fill:"#29DBFF",d:"M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53"}),r.createElement("path",{fill:"#FFF",d:"M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1"}),r.createElement("path",{fill:"#29DBFF",d:"M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5"}),r.createElement("path",{fill:"#5CC85C",d:"M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z"}),r.createElement("ellipse",{transform:"rotate(-82.3 291.431 225.686)",fill:"#F7A226",cx:291.4,cy:225.7,rx:48.7,ry:15.7}),r.createElement("ellipse",{transform:"rotate(-68.099 303.087 164.67)",fill:"#DDC7AB",cx:303.1,cy:164.7,rx:11.7,ry:7.2}),r.createElement("ellipse",{transform:"rotate(-81.738 291.697 271.697)",fill:"#DDC7AB",cx:291.7,cy:271.7,rx:11.4,ry:3.3}),r.createElement("ellipse",{transform:"matrix(.9986 -.05353 .05353 .9986 -13.992 16.424)",fill:"#DDC7AB",cx:299.6,cy:269.4,rx:3.3,ry:11}),r.createElement("ellipse",{transform:"rotate(-21.518 314.54 201.06)",fill:"#DDC7AB",cx:314.5,cy:201.1,rx:4.1,ry:13.7}),r.createElement("ellipse",{transform:"rotate(-21.518 317.511 178.077)",fill:"#DDC7AB",cx:317.5,cy:178.1,rx:13.7,ry:4.1}),r.createElement("ellipse",{transform:"rotate(-7.7 473.781 225.857)",fill:"#F7A226",cx:473.6,cy:225.9,rx:15.7,ry:48.7}),r.createElement("ellipse",{transform:"rotate(-21.901 462.057 164.866)",fill:"#DDC7AB",cx:462,cy:164.9,rx:7.2,ry:11.7}),r.createElement("ellipse",{transform:"rotate(-8.27 473.27 271.908)",fill:"#DDC7AB",cx:473.4,cy:271.9,rx:3.3,ry:11.4}),r.createElement("ellipse",{transform:"matrix(.05353 -.9986 .9986 .05353 171.34 719.998)",fill:"#DDC7AB",cx:465.5,cy:269.6,rx:11,ry:3.3}),r.createElement("ellipse",{transform:"rotate(-68.482 450.552 201.247)",fill:"#DDC7AB",cx:450.6,cy:201.2,rx:13.7,ry:4.1}),r.createElement("ellipse",{transform:"rotate(-68.482 447.58 178.265)",fill:"#DDC7AB",cx:447.6,cy:178.3,rx:4.1,ry:13.7}),r.createElement("path",{fill:"#B0C6CC",d:"M373.3 130.3 356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z"}),r.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),r.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),r.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),r.createElement("path",{fill:"#D80027",d:"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6-77.8-53.3h22.6l62.5 42.3v11z"}))},qr=function(e){var t=e.title,n=Ur(e,i);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 0h171v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342zM198.9 113.6H256v64.8h-57.1z"}),r.createElement("path",{d:"M267.6 113.6v64.7m16.6-64.7v64.7m16.6-64.7v64.7",stroke:"#D80027",strokeWidth:7}),r.createElement("path",{d:"M247.4 178.4v64.7m-13.3-64.7v64.7m-13.3-64.6v53.9m-13.7-53.9v47.1",stroke:"#D80027",strokeWidth:5}),r.createElement("path",{fill:"#FFDA44",d:"m199.9 146 27.6-32.4 28.5 32.3-28.1 32.4z"}),r.createElement("path",{fill:"#BC8B00",d:"M182.2 95.9v92.2c0 34.3 27.3 54.2 48.6 64.5-.8 1.4 25.1 8.3 25.1 8.3s25.9-6.9 25.1-8.3c21.4-10.3 48.6-30.1 48.6-64.5V95.9H182.2zm129.9 92.2c0 16.9-10 29.4-32.8 43.9-8.6 5.5-17.5 9-23.3 11-5.8-2-14.7-5.5-23.3-11-22.8-14.5-32.8-28-32.8-43.9v-74.5h112.2v74.5z"}),r.createElement("path",{fill:"#D80027",d:"M264.4 188.9h29.5v8.6h-29.5zm0 17.6h29.5v8.6h-29.5z"}))},Kr=function(e){var t=e.title,n=Ur(e,a);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#009e49",d:"M0 0h513v114H0z"}),r.createElement("path",{d:"M0 228h513v114H0z"}),r.createElement("path",{fill:"#ce1126",d:"M0 0h171v342H0z"}))},Gr=function(e){var t=e.title,n=Ur(e,s);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#DB3E00",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#479900",d:"M331 0h182v342H331z"}),r.createElement("path",{d:"M0 0h181.8v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M256 126.7c-19.4 0-35.2 15.8-35.2 35.2v52.8h70.4v-52.8c0-19.5-15.8-35.2-35.2-35.2z"}),r.createElement("path",{fill:"#FFF",d:"M256 84.3c-47.7 0-86.4 38.7-86.4 86.4S208.3 257 256 257s86.4-38.7 86.4-86.4-38.7-86.3-86.4-86.3zm0 157.7c-39.4 0-71.4-32-71.4-71.4 0-39.4 32-71.4 71.4-71.4 39.4 0 71.4 32 71.4 71.4 0 39.5-32 71.4-71.4 71.4z"}))},Xr=function(e){var t=e.title,n=Ur(e,l);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#0072c6",d:"M88.8 136.5c-2.2 12.9-3.4 26.2-3.4 39.8 0 13.6 1.2 27 3.4 39.8L256 228.3l167.2-12.1c2.2-12.9 3.4-26.2 3.4-39.8s-1.2-27-3.4-39.8"}),r.createElement("path",{fill:"#FFF",d:"M423.2 219H88.8c15.8 69.8 84.7 122.3 167.2 122.3S407.4 288.8 423.2 219z"}),r.createElement("path",{fill:"#FFDA44",d:"M365.9 136.5H146.1l44.9-21.1-23.9-43.5 48.8 9.4L222 32l34 36.2L290 32l6.1 49.3 48.8-9.4-23.9 43.5z"}),r.createElement("g",{fill:"#ce1126"},r.createElement("path",{d:"M256.5 342 0 0v342z"}),r.createElement("path",{d:"M513 342V0L256 342z"})))},Yr=function(e){var t=e.title,n=Ur(e,c);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#00318b",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M454.8 265.38c7.94-10.93 13.24-24.27 13.24-40.42V104.89a59.754 59.754 0 0 1-36.02 12.01c-19.64 0-37.07-9.43-48.03-24.01-10.95 14.58-28.39 24.01-48.03 24.01-13.52 0-25.99-4.47-36.02-12v120.06c0 16.16 5.3 29.5 13.24 40.42H454.8z"}),r.createElement("path",{fill:"#8DCCFF",d:"M310.23 260.98C332.65 296.96 384 309 384 309s51.35-12.04 73.77-48.02H310.23z"}),r.createElement("path",{fill:"#D87B00",d:"M396.66 172.21c.32 1.42 8.72 10.17 17.56 20.15 1.39 1.57-8.74 12.63-6.91 12.59 4.75-.12 19.27-17.26 19.34 6.65.05 15.94-30 27.51-30 27.51h17.47l.65 14.96s4.97-13.34 7.59-16.57c8.1-9.97 20.18-30.07 34.59-27.1 14.41 2.97-13.66-13.92-13.66-13.92s-5.2-15.19-16.63-16.97c-10.06-1.57-14.29-2.51-26.64-7.3-1.68-.65-3.88-2.32-3.36 0z"}),r.createElement("path",{fill:"#D87B00",d:"M359.69 198.69c1.07-.99 4.46-12.63 8.69-25.28.67-1.99 15.31 1.27 14.35-.3-2.47-4.06-24.58-8.08-3.9-20.08 13.79-8 38.82 12.27 38.82 12.27l-8.72-15.14 12.64-8.03s-14.05 2.35-18.14 1.69c-12.68-2.04-36.13-2.48-40.75-16.45-4.62-13.97-5.25 18.79-5.25 18.79s-10.56 12.08-6.4 22.88c3.66 9.5 4.96 13.64 6.97 26.73.29 1.79-.06 4.53 1.69 2.92z"}),r.createElement("path",{fill:"#D87B00",d:"M395.67 219.87c-1.39-.43-13.16 2.49-26.22 5.18-2.06.42-6.59-13.88-7.47-12.26-2.27 4.17 5.36 25.31-15.41 13.45-13.84-7.91-8.89-39.73-8.89-39.73l-8.71 15.14-13.29-6.9s9.09 10.96 10.57 14.84c4.6 11.99 16 32.49 6.24 43.49-9.76 11.01 18.88-4.9 18.88-4.9s15.76 3.07 23-5.96c6.38-7.94 9.3-11.14 19.61-19.45 1.43-1.12 3.97-2.19 1.69-2.9z"}),r.createElement("path",{fill:"#FFF",d:"M256.5 0h-23.1L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1V171h22.6L96 121.8V171h64v-49.2l73.4 49.2h23.1v-22.9l-46.6-30.7h46.6v-64h-46.6l46.6-30.7z"}),r.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.4H0v32h112V171h32v-69.6h112.5v-32H144z"}),r.createElement("path",{fill:"#D80027",d:"M0 171v-11.3l62.5-42.3h22.6L7.3 171zM7.3.1l77.8 53.2H62.5L0 11.1V.1zm249.2 0v11l-63 42.3h-22.6L248.7.1zM248.7 171l-77.8-53.6h22.6l63 42.3V171z"}))},Zr=function(e){var t=e.title,n=Ur(e,u);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 60"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#ED2024",d:"M0 0h90v60H0z"}),r.createElement("path",{fill:"#212121",d:"M32.5 12.2v16l7.1 2.5-5 4.9 2.4 3 5.3-5.5 1.2 2.3-3 4.9 3.6 5.6-1.8 2.6 2.8 3.6 2.7-3.7-1.5-2.6 3-5.8-2.7-4.6 1.2-2.3 5.2 5.5 2.5-2.9-5.2-5.1 7.2-2.6V12.2l-5.2 1.9-.1 3.8-3.3.3v-2.6l1.7-2.3 5.6-2.2-2.3-.4 1.4-1.2.9.4-.8-1.4L54 9l-1-1.1L47.5 9l1.4 1.1-3.8 4.9-3.8-4.8 1.3-1.1-5-1.2L36.2 9l-1.5-.4-.8 1.4.9-.6 1.6 1.1-2.3.5 5.5 2 1.6 2.3v2.9l-3.3-.3v-3.6z"}),r.createElement("path",{d:"M26.2 25h6.4v2.5h-6.4zm0-4.1h6.4v2.7h-6.4zm0-4.2h6.4v2.6h-6.4zm0-4h6.4v2.5h-6.4zM57.4 25h6.4v2.5h-6.4zm0-4.1h6.4v2.7h-6.4zm0-4.2h6.4v2.6h-6.4zm0-4h6.4v2.5h-6.4zM53.4 36.1h6.4V38h-6.4zm-23.2 0h6.4V38h-6.4z",fill:"#212121"}))},Jr=function(e){var t=e.title,n=Ur(e,d);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#FF9811",d:"M0 228h513v114H0z"}))},Qr=function(e){var t=e.title,n=Ur(e,f);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{d:"M0 171h513v171H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 0h513v171H0z"}),r.createElement("g",{fill:"#FFDA44"},r.createElement("path",{d:"m332.7 135.6 17.5-8.6-7.4-19-18.7 6.2zm-45.6-56 5.5-18.8-19.1-7.2-8 18zm29.4 23.2 12.2-15.3-14.9-13.9-14.2 13.6zm19.4 68.9 19.5-.8v-21.3l-22.9.2zm-12.6 38.1 18.8 5.5 7.3-19-18-8zm-29 32.4 14.9 12.7 14.4-14.4-13.1-14.7zm-47-147.7 9.8 19.9 21.9 3.3-15.9 15.5 3.6 21.9-19.6-10.4-19.7 10.2 3.8-21.9-15.8-15.5 22-3.1z"}),r.createElement("path",{d:"m250.8 61.3-2.7 18.3c43.1 3.2 77 39.2 77 83.1 0 46-37.3 82.9-83.4 83.4-29.2.3-51.3-14.8-67-33.7l-13.9 12.3c15 19 40.8 39.9 80.9 39.9 56.3 0 101.9-45.6 101.9-101.9.1-53.2-40.7-96.9-92.8-101.4z"}),r.createElement("path",{fill:"#000",d:"m291.9 223.4-11.8 14s51.9 38.9 53.6 40.4c1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-2-1.5-51.8-42-51.8-42z"}),r.createElement("path",{d:"M206.1 157.2c-7.7 10.3-7.5 23.1 2.8 30.9 0 0 135.2 101.5 136.9 103 1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-1.9-1.5-149.7-121.5-149.7-121.5zm47.7 99.1 7.3 18.2 19.5-6-4.8-19.1zm-40.4-3.7-2 19.5 20.1 3.6 4.5-19.1zm-35.7-21.2L167.4 248l16.4 12.1 12.5-15.2z"})))},eo=function(e){var t=e.title,n=Ur(e,h);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 744 496"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#3A7DCE",d:"M0 0h744v496H0V0z"}),r.createElement("path",{fill:"#fff",d:"m120 125 90 63 54-14 23-81 61-36 92 14 105 55 6 90 34 12v92l-65 115-78 24-72-17 18-30-8-32-10 9-162-25-49-85 20-46-49-62z"}))},to=function(e){var t=e.title,n=Ur(e,p);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),r.createElement("path",{fill:"#338AF3",d:"M0 0h512v114H0zm0 228h512v114H0z"}),r.createElement("circle",{fill:"#FFDA44",stroke:"#d6ab00",strokeWidth:5,cx:256.5,cy:171,r:40}))},no=function(e){var t=e.title,n=Ur(e,m);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#10338c",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M513 33 95.3 171 513 310.76V342L0 171 513 0z"}),r.createElement("path",{fill:"#FFF",d:"M513 287.18v24.58L81.72 171 513 30v24.16"}),r.createElement("path",{fill:"#A2001D",d:"m476.98 140.21-21.89 10.68-3.18-15.32 31.19-29.77s-9.42-40.65-13.75-44.98l-112.32 55.82-6.84 36.76-31.9 28.59-.4 34.2 34.29-22.76 67.23-2.66-1.51 38.11h22.23l11.9-44.64 31.55-24.61-6.6-19.42z"}),r.createElement("path",{fill:"#EFC100",stroke:"#231F20",strokeMiterlimit:10,d:"m317.89 238.41-22.24-11.11 22.24-11.11h144.46v22.22z"}))},ro=function(e){var t=e.title,n=Ur(e,v);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 114h513v114H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0zm0 228h513v114H0z"}))},oo=function(e){var t=e.title,n=Ur(e,g);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#10338c",d:"M0 0h513v342H0z"}),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"M222.2 170.7c.3-.3.5-.6.8-.9-.2.3-.5.6-.8.9zM188 212.6l11 22.9 24.7-5.7-11 22.8 19.9 15.8-24.8 5.6.1 25.4-19.9-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zm197.9 28.5 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zm-48.6-116 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9L332 136zm48.6-66.2 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zm42.5 49.7 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.4-7.6-9.5 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM398 166.5l4.1 12.7h13.3l-10.8 7.8 4.2 12.7-10.8-7.9-10.8 7.9 4.1-12.7-10.7-7.8h13.3z"}),r.createElement("path",{d:"M254.8 0v30.6l-45.1 25.1h45.1V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9H99v-48.6l-87.4 48.6H-1.2v-30.6L44 115H-1.2V55.7h59.1L-1.2 22.8V0h26.7L99 40.8V0h55.6v48.6L242.1 0z"})),r.createElement("path",{fill:"#D80027",d:"M142.8 0h-32v69.3h-112v32h112v69.4h32v-69.4h112v-32h-112z"}),r.createElement("path",{fill:"#0052B4",d:"m154.6 115 100.2 55.7v-15.8L183 115z"}),r.createElement("path",{fill:"#FFF",d:"m154.6 115 100.2 55.7v-15.8L183 115z"}),r.createElement("path",{d:"m154.6 115 100.2 55.7v-15.8L183 115zm-83.9 0-71.9 39.9v15.8L99 115z",fill:"#D80027"}),r.createElement("path",{fill:"#0052B4",d:"M99 55.7-1.2 0v15.7l71.9 40z"}),r.createElement("path",{fill:"#FFF",d:"M99 55.7-1.2 0v15.7l71.9 40z"}),r.createElement("path",{d:"M99 55.7-1.2 0v15.7l71.9 40zm84 0 71.8-40V0L154.6 55.7z",fill:"#D80027"}))},io=function(e){var t=e.title,n=Ur(e,y);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 363 242"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#338AF3",d:"M0 0h363v242H0z"}),r.createElement("path",{fill:"#FFF",d:"M57 96.9 14.7 78.2 57 59.6l18.6-42.2 18.6 42.2 42.3 18.6-42.3 18.7-18.6 42.2z"}),r.createElement("path",{fill:"#f30028",d:"m75.6 40.6 11.5 26.1 26.1 11.5-26.1 11.5-11.5 26.1-11.5-26.1L38 78.2l26.1-11.5z"}),r.createElement("path",{d:"M0 152.2h363v15.7H0zm0 31.4h363v15.7H0z",fill:"#FFDA44"}))},ao=function(e){var t=e.title,n=Ur(e,b);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M513 210.9H202.2V342h-79.8V210.9H0v-79.8h122.4V0h79.8v131.1H513v61.2z"}),r.createElement("path",{fill:"#D80027",d:"M513 149.7v42.6H183.7V342H141V192.3H0v-42.6h141V0h42.7v149.7z"}))},so=function(e){var t=e.title,n=Ur(e,w);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#ef3340",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#00b5e2",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#509e2f",d:"M0 228h513v114H0z"}),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"M265.6 212.6c-23 0-41.6-18.6-41.6-41.6s18.6-41.6 41.6-41.6c7.2 0 13.9 1.8 19.8 5-9.2-9-21.9-14.6-35.8-14.6-28.3 0-51.2 22.9-51.2 51.2s22.9 51.2 51.2 51.2c13.9 0 26.6-5.6 35.8-14.6-5.9 3.2-12.6 5-19.8 5z"}),r.createElement("path",{d:"m297.6 142.2 5.5 15.5 14.9-7.1-7.1 14.9 15.5 5.5-15.5 5.5 7.1 14.9-14.9-7.1-5.5 15.5-5.5-15.5-14.9 7.1 7.1-14.9-15.5-5.5 15.5-5.5-7.1-14.9 14.9 7.1z"})))},lo=function(e){var t=e.title,n=Ur(e,E);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#10338C",d:"M0 0h513.1v342H0z"}),r.createElement("path",{fill:"#F6C500",d:"M99.9 0h342v342"}),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"M19.9 21.1 40.3 6.2 60.9 21 54 0H26.7z"}),r.createElement("path",{d:"M92.3 25.5 84.4 1.3l-7.8 24.2H51.3l20.5 14.8-7.8 24 20.4-14.8L105 64.3l-7.9-24 20.5-14.9z"}),r.createElement("path",{d:"m136.3 69.2-7.8-24-7.8 24H95.5l20.4 14.9-7.8 24 20.4-14.8 20.6 14.8-7.8-24 20.4-14.9z"}),r.createElement("path",{d:"m179.4 112.3-7.8-24.1-7.8 24.1h-25.3l20.5 14.9-7.8 24 20.4-14.8 20.6 14.8-7.9-24 20.5-15z"}),r.createElement("path",{d:"m222.5 155.3-7.8-24-7.8 24h-25.4l20.6 15-7.8 24 20.4-14.9 20.4 14.9-7.8-24 20.6-15z"}),r.createElement("path",{d:"m265.6 198.4-7.8-24-7.8 24h-25.4l20.6 14.9-7.8 24.1 20.4-14.9 20.4 14.9-7.8-24.2 20.5-14.8z"}),r.createElement("path",{d:"m308.7 241.5-7.9-24-7.8 24h-25.3l20.5 14.8-7.9 24.2 20.6-14.9 20.4 14.8-7.8-24.1 20.5-14.8z"}),r.createElement("path",{d:"m351.7 284.6-7.8-24.2-7.8 24.2h-25.3l20.4 14.8-7.8 24.1 20.5-14.9 20.5 14.9-7.8-24.1 20.4-14.8z"}),r.createElement("path",{d:"m387 303.5-7.9 24.1-25.3.1 19.8 14.3h26.6l19.9-14.4h-25.3z"})))},co=function(e){var t=e.title,n=Ur(e,x);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#ffc726",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h171v342H0zm342 0h171v342H342z",fill:"#00267f"}),r.createElement("path",{d:"m325.74 101.02-31.97 12.4c-.68 1.35-5.79 7.54-8.18 53.06h-17.05v-60.42L256 78.68l-12.54 27v60.8H226.4c-2.39-45.53-7.8-52.48-8.47-53.84l-31.68-11.63c.15.31 15.4 31.34 15.4 78.01v12.54h41.81v71.07h25.08v-71.07h41.81v-12.54c0-24.13 4.17-44.02 7.68-56.46 3.82-13.57 7.7-21.49 7.74-21.57l-.03.03z"}))},uo=function(e){var t=e.title,n=Ur(e,S);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#2d6e41",d:"M0 85.331h513v342H0z"}),r.createElement("circle",{fill:"#F40B32",cx:218.902,cy:256.5,r:115}))},fo=function(e){var t=e.title,n=Ur(e,_);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#fdda25",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h171v342H0z"}),r.createElement("path",{fill:"#ef3340",d:"M342 0h171v342H342z"}))},ho=function(e){var t=e.title,n=Ur(e,O);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#3d944f",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#ef2b2d",d:"M0 0h513v171H0z"}),r.createElement("path",{fill:"#FFDA44",d:"m256 102.6 16.9 52h54.7l-44.2 32.2 16.8 52-44.2-32.1-44.2 32.1 16.8-52-44.2-32.2h54.7z"}))},po=function(e){var t=e.title,n=Ur(e,C);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#00966e",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#d62612",d:"M0 228h513v114H0z"}))},mo=function(e){var t=e.title,n=Ur(e,A);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"m222.8 34.3-85.2 34.2 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.8H0V0h137.6z"}))},vo=function(e){var t=e.title,n=Ur(e,k);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M215.9 170.7 0 314.6V26.8zM513 26.8v287.8L297.1 170.7z",fill:"#47a644"}),r.createElement("path",{fill:"#0052B4",d:"M513 26.8 296.1 170.7 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"}),r.createElement("path",{fill:"#FFF",d:"M513 26.8 297.1 170.7 513 314.6V342h-40L256 197.4 39 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"}),r.createElement("circle",{fill:"#FFF",cx:251.6,cy:170.7,r:100.2}),r.createElement("path",{d:"m251.4 103.6 7.4 12.9h14.8l-7.4 12.8 7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8H244zm38.8 66.7 7.4 12.9h14.8L305 196l7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.9l7.4-12.8-7.4-12.8h14.9zm-77.2 0 7.4 12.9h14.9l-7.4 12.8 7.4 12.8h-14.9l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8h14.8z",fill:"#D80027",stroke:"#47a644",strokeWidth:3}))},go=function(e){var t=e.title,n=Ur(e,M);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#008751",d:"M0 85.333h513v342H0z"}),r.createElement("path",{fill:"#fcd116",d:"M196.666 85.333H513v171H196.666z"}),r.createElement("path",{fill:"#e8112d",d:"M196.666 256H513v171H196.666z"}))},yo=function(e){var t=e.title,n=Ur(e,T);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#E6BC00",d:"M157.31 199.76s-9.04 43.93-19.31 40.39c-10.62-3.54-17.53-18.76-17.53-18.76l-14.52 21.24s38.18 8.48 41.01 5.47c1.22-1.14 8.21-15.1 10.34-26.05v-22.29zm-56.13 60.57s-2.48 20.18-1.06 22.66c1.24 2.3 39.48 11.33 39.48 11.33s-24.96 16.46-29.74 20.54L91.8 284.94l-.71-24.61h10.09zm11.33-165.69s39.65 41.6 40.36 45.5c.71 3.72-4.25 3.19-4.25 3.19s-44.79-37.53-49.92-41.07c-5.31-3.55 13.81-7.62 13.81-7.62z"}),r.createElement("path",{fill:"#ADADAD",d:"M99.41 104.73s16.99-.71 16.64-11.51c-.35-10.62-11.15-14.87-19.12-12.39-7.97 2.3-23.01 13.45-13.63 35.05 9.38 21.42 23.37 29.39 26.2 47.8 0 0-5.46 9.86-19.12.35-16.9-11.77-6.2-38.24-10.44-44.96-4.25-7.08-40.95-38.92-40.95-38.92s-30.24 39.37-18 74.92c16.95 49.21 51.74 31.98 64.61 36.76 0 0-42.13 61.96-49.57 67.09 0 0 24.08 8.32 47.8-18.76 0 0 5.84 9.74 7.08 20.18h10.27c4.78-26.2 51.51-64.26 49.92-82.32-1.77-21.25-49.21-49.39-51.69-73.29z"}),r.createElement("path",{fill:"#E6BC00",d:"M359.17 201.27s8.96 42.43 19.23 38.89c10.62-3.54 17.53-18.76 17.53-18.76l14.52 21.24s-37 8.48-39.83 5.47c-1.21-1.14-9.32-13.79-11.52-24.66l.07-22.18zm56.05 59.06s2.48 20.18 1.06 22.66c-1.24 2.3-39.48 11.33-39.48 11.33s24.96 16.46 29.74 20.54l18.06-29.92.71-24.61h-10.09zM403.89 94.64s-39.65 41.6-40.36 45.5c-.71 3.72 4.25 3.19 4.25 3.19s44.79-37.53 49.92-41.07c5.14-3.55-13.81-7.62-13.81-7.62z"}),r.createElement("path",{fill:"#125ECC",d:"M157.31 87.06H359.1v145.46c0 16.06-9.69 21.39-21.91 31.85l-45.92 39.41c-18.25 15.62-47.91 15.57-66.07 0l-46.01-39.43c-12.08-10.35-21.88-15.71-21.88-31.82V87.06z"}),r.createElement("path",{fill:"#FFE600",d:"M200.55 147.71c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65-3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zM214.96 274.43c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c.01 7.96-6.45 14.41-14.41 14.41zm43.24 14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c0 7.95-6.45 14.41-14.41 14.41zm43.24-14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"}),r.createElement("path",{fill:"#D60537",d:"M157.31 175.36H359.1v57.65H157.31v-57.65z"}),r.createElement("path",{fill:"#EACE00",d:"M142.9 43.82s57.65-14.41 115.31-14.41 115.31 14.41 115.31 14.41l-14.41 57.65s-50.45-14.41-100.89-14.41-100.89 14.41-100.89 14.41L142.9 43.82z"}),r.createElement("path",{fill:"#7A6920",d:"M258.2 72.65c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 5c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm-115.3 0c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"}),r.createElement("path",{fill:"#ADADAD",d:"M365.08 178.02c-1.59 18.06 45.14 56.12 49.92 82.32h10.27c1.24-10.44 7.08-20.18 7.08-20.18 23.72 27.09 47.8 18.76 47.8 18.76-7.44-5.13-49.57-67.09-49.57-67.09 12.88-4.78 47.67 12.45 64.61-36.76 12.24-35.55-18-74.92-18-74.92s-36.7 31.84-40.95 38.92c-4.25 6.73 6.46 33.2-10.44 44.96-13.66 9.51-19.12-.35-19.12-.35 2.83-18.41 16.82-26.38 26.2-47.8 9.38-21.6-5.66-32.75-13.63-35.05-7.97-2.48-18.76 1.77-19.12 12.39-.35 10.8 16.64 11.51 16.64 11.51-2.48 23.9-49.92 52.04-51.69 73.29z"}),r.createElement("circle",{fill:"#FFF",cx:258.2,cy:204.19,r:16.93}))},bo=function(e){var t=e.title,n=Ur(e,P);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#c8102e",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#012169",d:"M0 .1h256.5v171H0z"}),r.createElement("path",{fill:"#FFF",d:"M256 0h-22.6L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1v22.6h22.6L96 121.8v48.9h64v-48.9l73.4 48.9H256v-22.6l-46.1-30.7H256v-64h-46.1L256 22.7z"}),r.createElement("path",{fill:"#c8102e",d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),r.createElement("path",{fill:"#c8102e",d:"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6-77.8-53.3h22.6l62.5 42.3v11z"}),r.createElement("g",{transform:"translate(13 5)"},r.createElement("path",{fill:"#fff",d:"M303.9 94.94v99.69c0 59.81 79.75 99.69 79.75 99.69s79.75-39.88 79.75-99.69V94.94H303.9z"}),r.createElement("path",{fill:"#2F8F22",d:"M436.37 254.44H330.93c23.13 25.08 52.72 39.88 52.72 39.88s29.59-14.8 52.72-39.88z"}),r.createElement("circle",{fill:"#65B5D2",cx:383.65,cy:214.56,r:39.88}),r.createElement("circle",{fill:"#c8102e",cx:343.77,cy:194.63,r:19.94}),r.createElement("circle",{fill:"#c8102e",cx:423.52,cy:194.63,r:19.94}),r.createElement("circle",{fill:"#c8102e",cx:383.65,cy:154.75,r:19.94})))},wo=function(e){var t=e.title,n=Ur(e,I);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"m0 193.74 513 127.19V214.26L0 97.08z"}),r.createElement("path",{fill:"#FFF",d:"M513 234.26v-86.67L0 20.41v86.67"}),r.createElement("g",{fill:"#D80027",stroke:"#231F20",strokeWidth:3,strokeMiterlimit:10},r.createElement("path",{d:"M306.4 134.01a50.28 50.28 0 0 1 6.07 24.02c0 21.55-13.51 39.94-32.52 47.19v-59.51c5.7-1.19 10-6.37 10-12.59 6.9 0 12.5-5.75 12.5-12.85h-.42c6.9 0 12.91-5.75 12.91-12.85h-34.99V76.58l-14.99-27.71-15 27.71v30.84h-34.99c0 7.1 6.01 12.85 12.91 12.85h-.42c0 7.1 5.6 12.85 12.5 12.85 0 6.22 4.29 11.4 9.99 12.59v61.37c-22.09-5.39-38.48-25.3-38.48-49.05 0-8.7 2.2-16.88 6.07-24.02-10.96 11.21-17.72 26.53-17.72 43.44 0 34.32 27.82 62.15 62.15 62.15s62.15-27.83 62.15-62.15c0-16.91-6.77-32.24-17.72-43.44z"}),r.createElement("path",{d:"M198.46 226.81s20.69 27.71 66.5 27.71 66.5-27.71 66.5-27.71l13.47 28.37s-21.03 27.71-79.97 27.71-79.97-27.71-79.97-27.71l13.47-28.37zm-69.22-93.63h20.88l24.93 27.26v73.45h-26.28v-68.37zm270.76 0h-20.88l-24.93 27.26v73.45h26.27v-68.37z"})))},Eo=function(e){var t=e.title,n=Ur(e,j);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#d52b1e",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#f9e300",d:"M0 114h513v114H0z"}),r.createElement("path",{fill:"#007934",d:"M0 228h513v114H0z"}))},xo=function(e){var t=e.title,n=Ur(e,z);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#012a87",d:"M0 342h513V0z"}),r.createElement("path",{fill:"#f9d90f",d:"M250.4 0H0v166.9z"}),r.createElement("path",{fill:"#dc171d",d:"m140.4 118.3 12.2 21.2h24.5l-12.3 21.1 12.3 21.2h-24.5L140.4 203l-12.2-21.2h-24.5l12.3-21.2-12.3-21.1h24.5z"}),r.createElement("circle",{fill:"none",stroke:"#000",strokeWidth:9,strokeMiterlimit:10,cx:140.4,cy:160.6,r:57.7}))},So=function(e){var t=e.title,n=Ur(e,D);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#009b3a",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#fedf00",d:"m256.5 19.3 204.9 151.4L256.5 322 50.6 170.7z"}),r.createElement("circle",{fill:"#FFF",cx:256.5,cy:171,r:80.4}),r.createElement("path",{fill:"#002776",d:"M215.9 165.7c-13.9 0-27.4 2.1-40.1 6 .6 43.9 36.3 79.3 80.3 79.3 27.2 0 51.3-13.6 65.8-34.3-24.9-31-63.2-51-106-51zm119 20.3c.9-5 1.5-10.1 1.5-15.4 0-44.4-36-80.4-80.4-80.4-33.1 0-61.5 20.1-73.9 48.6 10.9-2.2 22.1-3.4 33.6-3.4 46.8.1 89 19.5 119.2 50.6z"}))},_o=function(e){var t=e.title,n=Ur(e,R);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#ffc72c",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0z",fill:"#00778b"}),r.createElement("path",{d:"M256 171 0 342V0z"}))},Oo=function(e){var t=e.title,n=Ur(e,N);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FF7415",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M513 0H0v342"}),r.createElement("path",{fill:"none",stroke:"#FFF",strokeWidth:42,strokeMiterlimit:10,d:"M128.7 255.5s35 54 67.3 32.4c56.9-37.9-68.9-108.6-2.9-152.6 58.3-38.8 76.6 103.5 137.6 62.8 59-39.3-64.7-111.4-9.2-148.4 33.4-22.2 67.1 32.6 67.1 32.6"}))},Co=function(e){var t=e.title,n=Ur(e,$);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 33.333 1100 733.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#ef2b2d",d:"M0 0h1100v800H0z"}),r.createElement("path",{fill:"#fff",d:"M300 0h200v800H300z"}),r.createElement("path",{fill:"#fff",d:"M0 300h1100v200H0z"}),r.createElement("path",{fill:"#002868",d:"M350 0h100v800H350z"}),r.createElement("path",{fill:"#002868",d:"M0 350h1100v100H0z"}))},Ao=function(e){var t=e.title,n=Ur(e,F);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 238h513v104H0zM0 0h513v104H0z",fill:"#6da9d2"}),r.createElement("path",{d:"M0 125.5h513v89.656H0z"}))},ko=function(e){var t=e.title,n=Ur(e,L);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#007C30",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#CE1720",d:"M0 230h513V0H0"}),r.createElement("path",{fill:"#FFF",d:"M100 230V0H0v342h513-413z"}),r.createElement("path",{d:"M28 159.6 8.6 128.2 28 97.4l19.3 30.8zm44.6 0-19.3-31.4 19.3-30.8L92 128.2zM28 241.2 8.6 209.8 28 179l19.3 30.8zm44.6 0-19.3-31.4L72.6 179 92 209.8z",fill:"#CE1720"}),r.createElement("path",{d:"m28 73.8-16.1-26L28 22.2l16 25.6zm44.6 0-16-26 16-25.6 16.1 25.6zM28 318l-16.1-26.1L28 266.3l16 25.6zm44.6 0-16-26.1 16-25.6 16.1 25.6z",fill:"none",stroke:"#CE1720",strokeWidth:7}))},Mo=function(e){var t=e.title,n=Ur(e,B);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#003e87",d:"M0 0h513v342H0z"}),r.createElement("circle",{fill:"#FFF",cx:260.9,cy:170.9,r:118.9}),r.createElement("circle",{fill:"none",stroke:"#6DA544",strokeWidth:18,strokeMiterlimit:10,cx:261.9,cy:173.1,r:94.5}),r.createElement("g",{stroke:"#000"},r.createElement("path",{fill:"#003e87",d:"m261.9 151.5-50.6 23.4v20c0 11.8 6.1 22.8 16.2 28.9L262 239l34.5-15.2c10-6.2 16.2-17.1 16.2-28.9v-20l-50.8-23.4z"}),r.createElement("path",{fill:"#FFDA44",d:"M211.3 128.1h101.3v46.7H211.3z"})),r.createElement("path",{d:"M0 0h513v35H0zm0 306h513v35H0z",fill:"#ce1127"}))},To=function(e){var t=e.title,n=Ur(e,H);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h142v342H0zm371 0h142v342H371zm-64.5 206 50.4-25.2-25.2-12.6V143l-50.4 25.2 25.2-50.4h-25.2L256.1 80l-25.2 37.8h-25.2l25.2 50.4-50.4-25.2v25.2l-25.2 12.6 50.4 25.2-12.6 25.2h50.4V269h25.2v-37.8h50.4z",fill:"red"}))},Po=function(e){var t=e.title,n=Ur(e,V);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"green",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"m422.7 252.4 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.2V301l-11.1-8.9-11.1 8.9v-14.2l-13.8-3.2 11.1-8.8-6.2-12.8 13.9 3.2zm-46.6-136.3 6.2 12.9 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.1v14.3l-11.1-8.9-11.1 8.9.1-14.3-13.9-3.1 11.1-8.8-6.2-12.8L370 129zm37-77.8 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.9-13.9 3.1v14.2L413.1 78 402 86.9l.1-14.2-13.9-3.1 11.1-8.9-6.2-12.8 13.9 3.2zm51.8 58.4 6.2 12.8 13.9-3.2-6.3 12.8 11.2 8.9-13.9 3.1.1 14.2-11.2-8.9-11.1 8.9.1-14.2L440 128l11.2-8.9-6.3-12.8 13.9 3.2zm-28 68.1 4.9 14.8h15.6l-12.6 9.2 4.8 14.9-12.7-9.2-12.6 9.2 4.8-14.9-12.6-9.2h15.6zM306.8 254.7c-49.2 0-89.1-39.9-89.1-89.1s39.9-89.1 89.1-89.1c15.3 0 29.8 3.9 42.4 10.7C329.4 67.9 302.3 56 272.5 56c-60.5 0-109.6 49.1-109.6 109.6S212 275.3 272.5 275.3c29.8 0 56.9-11.9 76.6-31.3-12.6 6.8-27 10.7-42.3 10.7zM140.4 59.5C129.7 41 109.7 28.6 86.8 28.6S44 41 33.3 59.5h107.1zm.2.4-53.8 53.8-53.7-53.8C28 68.9 25 79.3 25 90.5c0 34.2 27.7 61.9 61.9 61.9s61.9-27.7 61.9-61.9c-.1-11.2-3.1-21.6-8.2-30.6z",fill:"#FFDA44"}),r.createElement("path",{fill:"#A2001D",d:"M71.4 98.2v52.2c4.9 1.3 10.1 1.9 15.5 1.9s10.5-.7 15.5-1.9V98.2h-31z"}))},Io=function(e){var t=e.title,n=Ur(e,U);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M513 66.9V0H411.7L0 274.4V342h100.3z"}),r.createElement("path",{fill:"#D80027",d:"M513 0v40.1L60.2 342H0v-40.8L451.8 0z"}),r.createElement("path",{fill:"#FFDA44",d:"m93.6 31.2 16.3 50.4H163l-42.9 31.2 16.4 50.5-42.9-31.2-43 31.2L67 112.8 24.1 81.6h53.1z"}))},jo=function(e){var t=e.title,n=Ur(e,W);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#d21034",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 171h211.5v85.3H0zm300.5 0H512v85.3H300.5z",fill:"#3a9927"}),r.createElement("path",{fill:"#003082",d:"M0 0v85.3h211.5V0h89v85.3H513V0z"}),r.createElement("path",{d:"M300.5 85.3H512v85.3H300.5zM0 85.3h211.5v85.3H0z",fill:"#FFF"}),r.createElement("path",{d:"M300.5 342h-89v-86H0v86h513v-86H300.5zM105.7 8.6l8.6 26.2h27.5L119.5 51l8.6 26.2L105.7 61 83.4 77.2 91.9 51 69.6 34.8h27.6z",fill:"#ffce00"}))},zo=function(e){var t=e.title,n=Ur(e,q);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#da1a35",d:"M0 85.331h513v342H0z"}),r.createElement("path",{fill:"#009543",d:"M443.726 85.331 102.4 426.657H0V85.331z"}),r.createElement("path",{fill:"#fbde4a",d:"M500.124 85.331 158.798 426.657H11.876L353.202 85.331z"}))},Do=function(e){var t=e.title,n=Ur(e,K);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"red",d:"M0 85.337h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M356.174 222.609h-66.783v-66.783h-66.782v66.783h-66.783v66.782h66.783v66.783h66.782v-66.783h66.783z"}))},Ro=function(e){var t=e.title,n=Ur(e,G);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#009e60",d:"M342 0h171v342H342z"}),r.createElement("path",{fill:"#f77f00",d:"M0 0h171v342H0z"}))},No=function(e){var t=e.title,n=Ur(e,X);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#01237a",d:"M0 85.332h513v342H0z"}),r.createElement("path",{d:"m384 156.705 5.283 16.254h17.089l-13.826 10.045 5.281 16.254L384 189.211l-13.825 10.047 5.28-16.254-13.825-10.045h17.089zm-70.209 29.081 15.228 7.758 12.084-12.083-2.673 16.879 15.227 7.759-16.879 2.673-2.674 16.88-7.76-15.227-16.878 2.673 12.086-12.084zm-29.081 70.209 16.254-5.281.001-17.089 10.044 13.825 16.254-5.282-10.046 13.827 10.046 13.826-16.254-5.28-10.044 13.825v-17.09zm29.081 70.209 7.759-15.229-12.084-12.084 16.881 2.674 7.757-15.227 2.674 16.879 16.879 2.672-15.227 7.759 2.673 16.882-12.084-12.087zM384 355.284l-5.281-16.253h-17.091l13.827-10.045-5.28-16.254L384 322.776l13.827-10.044-5.281 16.254 13.826 10.045h-17.089zm70.209-29.08-15.229-7.758-12.083 12.084 2.673-16.882-15.227-7.756 16.879-2.675 2.675-16.879 7.756 15.227 16.881-2.674-12.086 12.085zm29.081-70.209-16.254 5.281v17.09l-10.045-13.826-16.254 5.281 10.046-13.826-10.046-13.827 16.254 5.282 10.045-13.825v17.089zm-29.081-70.207-7.757 15.226 12.082 12.084-16.881-2.673-7.756 15.227-2.675-16.88-16.879-2.675 15.227-7.757-2.673-16.878 12.084 12.082zM0 186.665v16h46.069L0 233.377v7.539l57.377-38.252H80L0 255.998h112v-69.334H0zm96 69.331H22.628L96 207.083v48.913zm80-117.331 80-53.334H144v69.334h112v-16h-46.069L256 107.951v-7.539l-57.377 38.251H176v.002zm-16-53.332h73.372L160 134.246V85.333zm-16 170.665h112l-80-53.334h22.623L256 240.917v-7.539l-46.069-30.713H256v-16H144v69.333zm16-48.915 73.372 48.913H160v-48.913zM112 85.331H0l80 53.334H57.377L0 100.413v7.539l46.069 30.712H0v16h112V85.331zm-16 48.915L22.628 85.333H96v48.913z",fill:"#FFF"}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"M144 85.331h-32v69.334H0v32h112v69.333h32v-69.333h112v-32H144z"}),r.createElement("path",{d:"M80 138.665 0 85.331v15.082l57.377 38.252zm96 0h22.623L256 100.413V85.331zm-118.623 64L0 240.917v15.081l80-53.333zm118.623 0 80 53.333v-15.081l-57.377-38.252z"})))},$o=function(e){var t=e.title,n=Ur(e,Y);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M196 0h317v171H196z"}),r.createElement("path",{fill:"#0037A1",d:"M0 0h196v171H0z"}),r.createElement("path",{fill:"#FFF",d:"M98 24.5 113.1 71H162l-39.6 28.7 15.2 46.5L98 117.5l-39.6 28.7 15.2-46.5L34 71h48.9z"}))},Fo=function(e){var t=e.title,n=Ur(e,Z);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#ce1126",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#007a5e",d:"M0 0h171v342H0z"}),r.createElement("path",{d:"M342 0h171v342H342zm-86 102.2 17.2 53H329L283.9 188l17.2 53-45.1-32.7-45.1 32.7 17.2-53-45.1-32.8h55.8z",fill:"#fcd116"}))},Lo=function(e){var t=e.title,n=Ur(e,J);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"m226.8 239.2-9.7-15.6-17.9 4.4 11.9-14.1-9.7-15.6 17.1 6.9 11.8-14.1-1.3 18.4 17.1 6.9-17.9 4.4zM290.6 82l-10.1 15.4 11.6 14.3-17.7-4.8-10.1 15.5-1-18.4-17.7-4.8 17.2-6.6-1-18.4 11.6 14.3zm-54.4-56.6-2 18.3 16.8 7.6-18 3.8-2 18.3-9.2-16-17.9 3.8 12.3-13.7-9.2-15.9 16.8 7.5zm56.6 136.4-14.9 10.9 5.8 17.5-14.9-10.8-14.9 11 5.6-17.6-14.9-10.7 18.4-.1 5.6-17.6 5.8 17.5zM115 46.3l17.3 53.5h56.2l-45.4 32.9 17.3 53.5-45.4-33-45.5 33 17.4-53.5-45.5-32.9h56.3z",fill:"#FFDA44"}))},Bo=function(e){var t=e.title,n=Ur(e,Q);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 256.5h513V342H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 171h513v85.5H0z"}))},Ho=function(e){var t=e.title,n=Ur(e,ee);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 114h513v114H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 285h513v57H0zM0 0h513v57H0z"}))},Vo=function(e){var t=e.title,n=Ur(e,te);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FF9811",d:"M0-40.8v422.9-211.4z"}),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h513v68.3H0zm0 136.5h513v68.3H0zm0 136.6h513v68.3H0z",fill:"#0052B4"}),r.createElement("path",{fill:"#D80027",d:"M256 170.7 0 342V0z"}),r.createElement("path",{fill:"#FFF",d:"m86.5 111.4 12.7 39.2h41.3l-33.4 24.2 12.8 39.3-33.4-24.2-33.4 24.2 12.8-39.3-33.4-24.2h41.2z"}))},Uo=function(e){var t=e.title,n=Ur(e,ne);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#003893",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#cf2027",d:"M0 182.2h513v41.4H0z"}),r.createElement("path",{fill:"#FFF",d:"M0 140.8h513v41.4H0zm0 82.8h513V265H0z"}),r.createElement("path",{d:"m150.4 70 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13.1-17.9 13.1 6.8-21.1-17.9-13.1h22.2zm0 209.7 6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13h22.2zm-97.6-70.9 6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13H46zM90.1 91l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-18-13h22.3zm-66.3 71H46l6.8-21.1 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13-17.9 13 6.8-21.1zm48.4 148.9 6.8-21.1-18-13h22.3l6.8-21.2 6.9 21.2h22.2l-18 13 6.9 21.1-18-13zM248 208.8l-6.9 21.1h-22.2l18 13-6.9 21.2 18-13.1 18 13.1-6.9-21.2 18-13h-22.2zM210.7 91l-6.8 21.1h-22.2l17.9 13-6.8 21.2 17.9-13.1 18 13.1-6.9-21.2 18-13h-22.2zm66.4 71h-22.2l-6.9-21.1-6.9 21.1h-22.2l18 13.1-6.9 21.1 18-13 18 13-6.9-21.1zm-48.4 148.9-6.9-21.1 18-13h-22.2l-6.9-21.2-6.8 21.2h-22.2l17.9 13-6.8 21.1 17.9-13z",fill:"#f7d116",stroke:"#000"}))},Wo=function(e){var t=e.title,n=Ur(e,re);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#002b7f",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#f9e814",d:"M0 233.5h513v51H0z"}),r.createElement("path",{d:"m168.7 86.5 12.9 39.8h41.8l-33.8 24.5 12.9 39.7-33.8-24.5-33.8 24.5 12.9-39.7-33.8-24.5h41.8zm-83.3-54 7.8 23.9h25L97.9 71.1l7.8 23.8-20.3-14.7-20.3 14.7 7.8-23.8-20.3-14.7h25.1z",fill:"#FFF"}))},qo=function(e){var t=e.title,n=Ur(e,oe);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0021ad",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#1c8a42",d:"M0 0h513v342"}),r.createElement("path",{d:"m77.6 272 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9V317l-10.3-8.3-10.2 8.3v-13.2l-12.8-2.9 10.3-8.1-5.8-11.9 12.9 3zm-37.1-98.9 5.7 11.9 12.8-3-5.7 11.8 10.3 8.2-12.9 2.9.1 13.2-10.3-8.3-10.3 8.3.1-13.2-12.9-2.9 10.4-8.2L22 182l12.8 3zm37.1-80.9 5.7 11.8 12.8-2.9-5.7 11.8 10.3 8.2-12.8 2.9v13.1l-10.3-8.2-10.2 8.2V124l-12.8-2.9 10.3-8.2-5.8-11.8L72 104zm46.1 62.9 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9v13.2l-10.3-8.2-10.2 8.2v-13.2l-12.8-2.9 10.3-8.1-5.7-11.9 12.8 3zm-32.9 54 4.4 13.7h14.5L98 231.3l4.5 13.7-11.7-8.4-11.7 8.4 4.5-13.7-11.7-8.5h14.4z",fill:"#FFF"}),r.createElement("circle",{fill:"#ffc639",cx:267.1,cy:170.7,r:74.5}),r.createElement("path",{fill:"#1c8a42",d:"M267.1 220.3h24.8s10.8-19 0-37.2l24.8-24.8-12.4-24.8h-12.4s-6.2 18.6-31 18.6-31-18.6-31-18.6h-12.4l12.4 24.8-12.4 24.8 12.4 12.4s12.4-24.8 37.2-12.4c0 0 10.5 15.5 0 37.2z"}),r.createElement("path",{fill:"#ffc639",d:"M464.4 92.2c.6-2.9-.2-17.6-.2-20.7 0-21.3-13.9-39.4-33.2-45.7 5.9 12 9.2 25.4 9.2 39.7 0 4.8-.4 9.5-1.1 14.1-2.9-4.7-6.6-8.9-11.2-12.6-17.1-13.6-40.6-14-57.9-2.5 13.4 2.9 26.3 8.9 37.7 18 9 7.1 16.2 16.8 21.7 26.1 0 0-17.8 10.9-31 15.1s-42.3 7.9-42.3 7.9c72 12 132-36 132-36-6.5-13.4-15.8-4-23.7-3.4z"}))},Ko=function(e){var t=e.title,n=Ur(e,ie);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#DB7D00",d:"M141.7 154.7s.2 67.1 74.7 65.3l4.5 13.9h8.9s-7.4-41.1 60.1-41.5c0 0 0-27.6 27.6-27.6H359s-66-51.8 58.9-118l1.8-13.1s-129.9 71-198.9 57.2c0 0 10.7 42.5-10.8 42.5-10.8 0-9.7-8.1-32.3-8.1-18.7 0-17.3 19.7-26.3 19.5-8.9-.2-18.8-12.3-19.6-10.2-.7 2.1 9.9 20.1 9.9 20.1z"}),r.createElement("g",{fill:"#006651"},r.createElement("path",{d:"M237.2 308.1c6.9-5 13-6.6 22.4-8.3s19.4-4.4 24.6-5.8-17.7 6.6-23.5 8.3c-5.8 1.6-23.5 5.8-23.5 5.8zm37.9-14.7c-1.9-11.9 2.8-24.3 13.5-29.3 2.5 8.6-5.2 23.2-13.5 29.3zm18.2-6.2c-5.8-9.8 4-22.6 11.1-28.8 3.3 6-2.5 23.7-11.1 28.8zm16.9-7.6c-6.2-8.4 1.1-23.2 8.8-29 3.1 8.2.1 23.2-8.8 29zm16.9-10.6c-5.6-8-1.7-20.4 6.3-28.4 5.8 6.6.9 21-6.3 28.4zm13.5-10.7c-4.7-7.5 1.1-25.4 8.6-30.4 3.3 6.6.8 25.4-8.6 30.4zm10.8-2.8c-1.4-10.8 17.4-22.7 25.2-22.4-.9 8.9-8.9 18.6-25.2 22.4zm-10.5 12.2c8.8-9.1 26-9.1 32.1-7.2-1.7 5.3-21.9 16.9-32.1 7.2z"}),r.createElement("path",{d:"M328.7 276.8c12.4-3.3 20.5-6.1 27.9 1.7-5.2 6.6-25.4 4.7-27.9-1.7zm-17.7 8c11.9-6.4 26.3 3 28.5 8.6-13.3 5.5-28.7-7.2-28.5-8.6zm-16.3 9.2c10.8-4.1 23.2 1.4 28.2 7.5-5.8 2.7-21 5.7-28.2-7.5zm-14.9 4.7c12.4-1.4 24.4 8 27 13.4-15.9 1.5-22-3.2-27-13.4zm-4 9.4c-6.9-5-13-6.6-22.4-8.3-9.4-1.7-19.4-4.4-24.6-5.8-5.3-1.4 17.7 6.6 23.5 8.3 5.8 1.6 23.5 5.8 23.5 5.8zm-37.9-14.7c1.9-11.9-2.8-24.3-13.5-29.3-2.5 8.6 5.2 23.2 13.5 29.3zm-18.2-6.2c5.8-9.8-4-22.6-11.1-28.8-3.3 6 2.5 23.7 11.1 28.8zm-16.9-7.6c6.2-8.4-1.1-23.2-8.8-29-3.1 8.2-.1 23.2 8.8 29zM185.9 269c5.6-8 1.7-20.4-6.3-28.4-5.8 6.6-.9 21 6.3 28.4zm-13.5-10.7c4.7-7.5-1.1-25.4-8.6-30.4-3.3 6.6-.8 25.4 8.6 30.4zm-10.8-2.8c1.4-10.8-17.4-22.7-25.2-22.4.9 8.9 8.9 18.6 25.2 22.4zm10.5 12.2c-8.8-9.1-26-9.1-32.1-7.2 1.7 5.3 21.9 16.9 32.1 7.2z"}),r.createElement("path",{d:"M184.3 276.8c-12.4-3.3-20.5-6.1-27.9 1.7 5.2 6.6 25.4 4.7 27.9-1.7zm17.7 8c-11.9-6.4-26.3 3-28.5 8.6 13.3 5.5 28.7-7.2 28.5-8.6zm16.3 9.2c-10.8-4.1-23.2 1.4-28.2 7.5 5.8 2.7 21 5.7 28.2-7.5zm14.9 4.7c-12.4-1.4-24.4 8-27 13.4 15.9 1.5 22-3.2 27-13.4z"})))},Go=function(e){var t=e.title,n=Ur(e,ae);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#11457e",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#d7141a",d:"M513 171v171H0l215-171z"}),r.createElement("path",{fill:"#FFF",d:"M513 0v171H215.185L0 0z"}))},Xo=function(e){var t=e.title,n=Ur(e,se);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M0 228h513v114H0z"}))},Yo=function(e){var t=e.title,n=Ur(e,le);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#12ad2b",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#6ab2e7",d:"M513 0v166.7L0 170.8V0z"}),r.createElement("path",{fill:"#FFF",d:"M256 170.7 0 342V0z"}),r.createElement("path",{fill:"#d7141a",d:"m89.8 92.5 17 52.4H162l-44.6 32.5 17 52.4-44.6-32.4-44.6 32.4 17-52.4-44.6-32.5h55.2z"}))},Zo=function(e){var t=e.title,n=Ur(e,ce);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#c60c30",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M190 0h-60v140H0v60h130v142h60V200h323v-60H190z"}))},Jo=function(e){var t=e.title,n=Ur(e,ue);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#496E2D",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 110.7v120h513v-120z"}),r.createElement("path",{fill:"#FFDA44",d:"M0 110.7h513v40H0z"}),r.createElement("path",{fill:"#FFF",d:"M0 190.7h513v40H0z"}),r.createElement("path",{d:"M196 0h120v342H196z"}),r.createElement("path",{fill:"#FFDA44",d:"M196 0h40v342h-40z"}),r.createElement("path",{fill:"#FFF",d:"M274.7 0h40v342h-40z"}),r.createElement("circle",{fill:"#D80027",cx:256,cy:170.7,r:123.1}),r.createElement("path",{d:"m256 58.6 4.6 14.2h15l-12.1 8.9 4.6 14.2-12.1-8.8-12.1 8.8 4.6-14.2-12.1-8.9h15zM190.1 80l12.2 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15l-4.6 14.2-4.7-14.2h-15l12.1-8.8zm-40.7 56h15l4.6-14.2 4.7 14.2h15l-12.2 8.8 4.7 14.3-12.2-8.8-12.1 8.8 4.6-14.3zm0 69.3 12.1-8.8-4.6-14.3L169 191l12.2-8.8-4.7 14.3 12.2 8.8h-15l-4.7 14.3-4.6-14.3zm40.7 56.1 4.6-14.3-12.1-8.8h15l4.7-14.3 4.6 14.3h15l-12.1 8.8 4.6 14.3-12.1-8.9zm65.9 21.4-4.6-14.3h-15l12.1-8.8-4.6-14.3 12.1 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15zm65.9-21.4-12.2-8.9-12.1 8.9 4.6-14.3-12.1-8.8h15l4.6-14.3 4.7 14.3h15l-12.1 8.8zm40.7-56.1h-15l-4.6 14.3-4.7-14.3h-15l12.2-8.8-4.7-14.3L343 191l12.1-8.8-4.6 14.3zm0-69.3-12.1 8.8 4.6 14.3-12.1-8.8-12.2 8.8 4.7-14.3-12.2-8.8h15l4.7-14.2 4.6 14.2zm-40.7-56-4.6 14.3 12.1 8.8h-15l-4.7 14.2-4.6-14.2h-15l12.1-8.8-4.6-14.3 12.1 8.8zM279.3 168.7c-11-21.1-14.5-25.1-14.5-25.1s.4-9.7.4-15.6c0-8.8-7.4-15.8-16.5-15.8-8.6 0-15.7 2.9-16.5 11-4.2.9-8.6 4.1-8.6 10.7 0 4.8 1 7.3 5.2 9.3 2.1-4.6 4.3-4.8 9.3-6.4.8.6 1.7 3 2.6 3.4l.3 1s-13.3 6.6-13.3 30.9c0 29.5 22 45.4 22 45.4l-1.8.3-1.9 7.1h22v-7.2l11 17.5c.3-.3 10.2-47.6.3-66.5z",fill:"#496E2D"}))},Qo=function(e){var t=e.title,n=Ur(e,de);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 215.2h211.5v126.1H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 0h211.5v126.2H0z"}),r.createElement("path",{fill:"#D80027",d:"M300.5 0H512v126.2H300.5z"}),r.createElement("path",{fill:"#0052B4",d:"M300.5 215.2H512v126.1H300.5z"}),r.createElement("g",{stroke:"#FFF",strokeWidth:5,strokeMiterlimit:10},r.createElement("path",{fill:"#0052B4",d:"M256 130h-49.9v49.4s19.5 6 49.9 6V130z"}),r.createElement("path",{fill:"#D80027",d:"M206.1 179.4v6c0 27.5 22.3 49.9 49.9 49.9v-49.9c-30.4 0-49.9-6-49.9-6z"}),r.createElement("path",{fill:"#0052B4",d:"M256 235.3c27.5 0 49.9-22.3 49.9-49.9v-6s-19.5 6-49.9 6v49.9z"}),r.createElement("path",{fill:"#D80027",d:"M256 130v55.4c30.4 0 49.9-6 49.9-6V130H256z"})))},ei=function(e){var t=e.title,n=Ur(e,fe);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#41662E",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M256.5 0H513v342H256.5z"}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"m341.5 105.3-29.4 40.4-47.5-15.4 29.4 40.4-29.4 40.4 47.5-15.4 29.4 40.4v-50l47.5-15.5-47.5-15.4z"}),r.createElement("path",{d:"M309.9 276.7c-58.5 0-106-47.5-106-106s47.5-106 106-106c18.3 0 35.4 4.6 50.4 12.7-23.5-23-55.7-37.2-91.2-37.2-72 0-130.4 58.4-130.4 130.4S197.1 301 269.1 301c35.5 0 67.7-14.2 91.2-37.2-14.9 8.2-32.1 12.9-50.4 12.9z"})))},ti=function(e){var t=e.title,n=Ur(e,he);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 170.7h513V256H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 256h513v85.3H0z"}),r.createElement("circle",{fill:"#FFDA44",cx:256,cy:171,r:60}),r.createElement("path",{fill:"#4C1F00",d:"M369.2 79.9s-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7 0 10.3-13.5 12-15.5 12s-2-5.3-14.8-5.3-13.7 4.8-15.8 4.8c-2.2 0-14.5-1-14.5-11.5 0-5.2-42.9 4-49.1 7-6.1 3.1-33.9 16-33.9 16s45.8 2.7 53.9 6.2 43.8 16.5 43.8 16.5l-2.8 13.3h37.8l-3.8-13.3s35.1-12.7 43.8-16.5 53.9-6.2 53.9-6.2z"}),r.createElement("path",{fill:"#57BA17",d:"M217.7 171.7c0 21.1 17.2 38.3 38.3 38.3 21.1 0 38.3-17.2 38.3-38.3v-11.5h-76.5v11.5z"}),r.createElement("path",{fill:"#338AF3",d:"M256 110.5c-21.1 0-38.3 17.2-38.3 38.3v11.5h76.5v-11.5c.1-21.1-17.1-38.3-38.2-38.3z"}))},ni=function(e){var t=e.title,n=Ur(e,pe);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#111",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#368FD8",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#FFF",d:"M0 228h513v114H0z"}))},ri=function(e){var t=e.title,n=Ur(e,me);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),r.createElement("path",{d:"M0 228h513v114H0z"}),r.createElement("path",{fill:"#C09300",d:"M220.3 204.4s0-58.4 4.5-64.7c3.1-4.3 16.8 5.2 22.7 4.5 0 0 4.2-7.5 4.5-12 .3-4.6-1.1-7.6-4.9-6.2 0 0-1.2-2.1.5-3.3 1.6-1.2 5.6.1 5.6.1s-.5-1 1.6-.9c2.9.2 7.2 1.4 7.4 5.6.2 3.1.3 7.7.4 8.7.7 6.8 2.7 8.7 2.7 8.7s18.4-9.2 22-5.2c3.3 3.8 4.5 64.7 4.5 64.7l-18.1-16.8 12.1 29.5s-14.4 2.4-28.9 2.4c-14.5 0-31.1-4.2-31.1-4.2l13.8-28.2-19.3 17.3z"}))},oi=function(e){var t=e.title,n=Ur(e,ve);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#428823",d:"M0 228h513v114H0z"}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"M256 171 0 342V0zm53.1 0c0-22.9 13.1-42.1 34.6-46.8-3.3-.7-6.7-1.1-10.3-1.1-26.4 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9c3.5 0 7-.4 10.3-1.1-21.5-5.1-34.6-24.2-34.6-46.8z"}),r.createElement("path",{d:"m365 129.2 10.3 31.7h33.3l-27 19.6 10.3 31.7-26.9-19.6-27 19.6 10.3-31.7-27-19.6h33.4z"})))},ii=function(e){var t=e.title,n=Ur(e,ge);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#56AF35",d:"M0 0h513v171H0z"}),r.createElement("path",{fill:"#D80027",d:"m0 342 513-171L0 0v342z"}),r.createElement("g",{fill:"#ffc945"},r.createElement("path",{d:"M134.7 231.5c33.6 0 60.8-27.2 60.8-60.8s-27.2-60.8-60.8-60.8-60.8 27.2-60.8 60.8 27.2 60.8 60.8 60.8zm0 24.3c-47 0-85.2-38.1-85.2-85.2s38.1-85.2 85.2-85.2 85.2 38.1 85.2 85.2-38.2 85.2-85.2 85.2z"}),r.createElement("circle",{cx:119.5,cy:148.3,r:17.5}),r.createElement("circle",{cx:148.9,cy:158.5,r:17.5}),r.createElement("circle",{cx:134.7,cy:135.2,r:17.5}),r.createElement("circle",{cx:119.5,cy:172.7,r:17.5}),r.createElement("circle",{cx:149.9,cy:182.8,r:17.5}),r.createElement("circle",{cx:122.5,cy:198,r:17.5}),r.createElement("circle",{cx:145.9,cy:205.2,r:17.5})))},ai=function(e){var t=e.title,n=Ur(e,ye);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h22.5v15H0V0z"}),r.createElement("path",{fill:"#D03433",d:"M0 0h22.5v4H0V0zm0 11h22.5v4H0v-4z"}),r.createElement("path",{fill:"#FBCA46",d:"M0 4h22.5v7H0V4z"}),r.createElement("path",{fill:"#FFF",d:"M7.8 7h1v.5h-1V7z"}),r.createElement("path",{fill:"#A41517",d:"M7.2 8.5c0 .3.3.5.6.5s.6-.2.6-.5L8.5 7H7.1l.1 1.5zM6.6 7c0-.3.2-.5.4-.5h1.5c.3 0 .5.2.5.4V7l-.1 1.5c-.1.6-.5 1-1.1 1-.6 0-1-.4-1.1-1L6.6 7z"}),r.createElement("path",{fill:"#A41517",d:"M6.8 7.5h2V8h-.5l-.5 1-.5-1h-.5v-.5zM5.3 6h1v3.5h-1V6zm4 0h1v3.5h-1V6zm-2.5-.5c0-.3.2-.5.5-.5h1c.3 0 .5.2.5.5v.2c0 .2-.1.3-.3.3H7c-.1 0-.2-.1-.2-.2v-.3z"}))},si=function(e){var t=e.title,n=Ur(e,be);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#20AA46",d:"M0 0h22.5v5H0V0z"}),r.createElement("path",{fill:"#E92F3B",d:"M0 10h22.5v5H0v-5z"}),r.createElement("path",{fill:"#FADF50",d:"M0 5h22.5v5H0V5z"}),r.createElement("circle",{fill:"#205CCA",cx:11.3,cy:7.5,r:5.2}),r.createElement("g",{stroke:"#FFDB3D",fill:"none"},r.createElement("path",{d:"m11.3 8.8-2.1 1.5.8-2.4-2-1.5h2.5l.8-2.3.8 2.3h2.6l-2.1 1.5.8 2.4-2.1-1.5zm-1-2.4h1.9M9.9 7.8l1.3 1m.8-2.6.7 1.8M10 7.9l.6-1.8M11 9l1.6-1.1",strokeWidth:.5}),r.createElement("path",{d:"m8.7 3.9 1.1 1.6m4-1.7-1 1.6m-1.5 4.7V12M8.9 8.3 7.1 9m8.4 0-1.8-.7",strokeWidth:.25})))},li=function(e){var t=e.title,n=Ur(e,we);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 810 540"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#039",d:"M0 0h810v540H0z"}),r.createElement("path",{fill:"#FC0",d:"m404.951 59.865 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-90 24 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-66 66 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-24 89.999 6.735 20.719h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm24 90.001 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm66 66 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm180-312 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm66 66 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm24 90 6.735 20.718h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm-24 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm-156 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm90-24.001 6.735 20.719h21.894l-17.633 12.812 6.639 20.74-17.635-12.812-17.633 12.812 6.735-20.73-17.633-12.811h21.797z"}))},ci=function(e){var t=e.title,n=Ur(e,Ee);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#2E52B2",d:"M513 129.3V212H203.7v130H121V212H0v-82.7h121V0h82.7v129.3z"}))},ui=function(e){var t=e.title,n=Ur(e,xe);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#62b5e5",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#2E52B2",d:"M0 0h256v170H0z"}),r.createElement("path",{fill:"#FFF",d:"M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),r.createElement("path",{d:"M0 0v15.1l57.4 38.2H80zm256 0v15.1l-57.4 38.2H176z"}),r.createElement("path",{d:"M0 0v15.1l57.4 38.2H80zm256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zm256 0v-15.1l-57.4-38.3H176z"})),r.createElement("path",{fill:"#F3F3F3",d:"M307.1 127.1v92c0 61.6 80.5 80.5 80.5 80.5s80.4-19 80.4-80.6v-92l-80.5-23-80.4 23.1z"}),r.createElement("path",{fill:"#D80027",d:"M468 132.8V98.3H307.1v34.5h69v69h-69v23h69V296c6.9 2.5 11.5 3.5 11.5 3.5s4.6-1.1 11.5-3.5v-71.2h69v-23h-69v-69H468z"}))},di=function(e){var t=e.title,n=Ur(e,Se);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"}),r.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),r.createElement("path",{fill:"#0052B4",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),r.createElement("path",{fill:"#FFF",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),r.createElement("path",{d:"M155.8 115 256 170.7v-15.8L184.2 115zm-84 0L0 154.9v15.8L100.2 115z",fill:"#D80027"}),r.createElement("path",{fill:"#0052B4",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),r.createElement("path",{fill:"#FFF",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),r.createElement("path",{d:"M100.2 55.6 0 0v15.7l71.8 39.9zm84 0L256 15.7V0L155.8 55.6z",fill:"#D80027"}),r.createElement("path",{fill:"#1F8BDE",d:"M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3z"}),r.createElement("path",{fill:"#FFF",d:"M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3zm79.6 86.3c7.9-4.5 15.9-10 23.2-16.7 20.5-18.5 32.6-41.4 32.6-69.7v-90c0-.3-120.4-.3-120.4-.3v90.3c0 28.3 12.1 51.2 32.6 69.7 8.3 7.5 17.6 13.9 27.6 19 1.4-.6 2.8-1.4 4.4-2.3z"}),r.createElement("path",{fill:"#187536",d:"M347.1 193.4c-2.6-7.9 1.7-14.3 10.1-14.3h60.5c8.2 0 12.8 6.3 10.1 14.3l-5.5 16.5c-2.6 7.9-8.9 9.2-15.8 4 0 0 2.6-4.8-19.1-4.8-21.7 0-19.1 4.8-19.1 4.8-6.1 5.7-13.1 4-15.8-4 .1.1-5.4-16.5-5.4-16.5z"}),r.createElement("path",{fill:"#FFF",d:"M357.4 179.1c8.1 1.6 17.8-15 30.1-15 13.1 0 21.8 17.1 30.1 15 7.4-1.8 15-22.2 15-30.1 0-16.6-20.2-30.1-45.1-30.1-24.9 0-45.1 13.5-45.1 30.1-.1 8.5 6.6 28.5 15 30.1zm-1.4 91.6c6.2.4 12.5-1.8 17.2-6.5l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c4.7 4.7 11 6.9 17.1 6.5 5.3-.3 32.5-33.5 25.7-32.6-4.6.6-9.1 2.8-12.7 6.3l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-3.5-3.5-7.8-5.6-12.3-6.3-6.7-1.1 20.1 32.2 25.3 32.5zM322.1 210c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0 0 0 5.5-14.8 2.5-15.9-7.9-2.9-17.2-1.2-23.5 5.2l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-6.2-6.2-15.1-8-22.8-5.5-3.1 1.1 1.9 16.1 1.9 16.1z"}))},fi=function(e){var t=e.title,n=Ur(e,_e);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"m256 37.9 10.1 31.2H299l-26.6 19.3 10.2 31.2-26.6-19.3-26.6 19.3 10.2-31.2L213 69.1h32.9zM123.2 170.7l31.2-10.2v-32.8l19.3 26.6 31.2-10.2-19.3 26.6 19.3 26.5-31.2-10.1-19.3 26.5v-32.8zM256 303.5l-10.1-31.2H213l26.6-19.3-10.2-31.3L256 241l26.6-19.3-10.2 31.3 26.6 19.3h-32.9zm132.8-132.8-31.2 10.1v32.8l-19.3-26.5-31.2 10.1 19.3-26.5-19.3-26.6 31.2 10.2 19.3-26.6v32.8z",fill:"#FFF"}))},hi=function(e){var t=e.title,n=Ur(e,Oe);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#0F61A5",d:"M513 214.5H206.2V342h-87.8V214.5H0v-87.7h118.4V0h87.8v126.8H513V192z"}),r.createElement("path",{fill:"#E50E3D",d:"M513 149.3V192H183.7v150H141V192H0v-42.7h141V0h42.7v149.3z"}))},pi=function(e){var t=e.title,n=Ur(e,Ce);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 0h171v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},mi=function(e){var t=e.title,n=Ur(e,Ae);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 228h513v114H0z"}))},vi=function(e){var t=e.title,n=Ur(e,ke);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"M0 0h513v341.3H0V0z"}),r.createElement("path",{d:"M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6z"})),r.createElement("path",{d:"M393.8 230 513 295.7V230H393.8zm-82.1 0L513 341.3v-31.5L369.3 230h-57.6zm146.9 111.3-147-81.7v81.7h147zM90.3 230 0 280.2V230h90.3zm110 14.2v97.2H25.5l174.8-97.2zm-82.1-132.9L0 45.6v65.7h118.2zm82.1 0L0 0v31.5l143.7 79.8h56.6zM53.4 0l147 81.7V0h-147zm368.3 111.3L513 61.1v50.2h-91.3zm-110-14.2V0h174.9L311.7 97.1z",fill:"#0052B4"}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"M288 0h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z"}),r.createElement("path",{d:"M311.7 230 513 341.3v-31.5L369.3 230h-57.6zm-168 0L0 309.9v31.5L200.3 230h-56.6zm56.6-118.7L0 0v31.5l143.7 79.8h56.6zm168 0L513 31.5V0L311.7 111.3h56.6z"})))},gi=function(e){var t=e.title,n=Ur(e,Me);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#c60a0a",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#3E8446",d:"m256.5 170.7-212 126.1V44.5z"}),r.createElement("path",{d:"m256.5 170.7 211 126.1h-423zm211-126.2-211 126.2-212-126.2z",fill:"#FFDA44"}),r.createElement("path",{fill:"#3E8446",d:"M467.5 44.5v252.3l-211-126.1z"}),r.createElement("path",{d:"m256.5 10.4 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zm-86.4 0 3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm171.8 0 3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm-85.4 293.8 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zm-86.4 0 3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm171.8 0 3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7z",fill:"#FFDA44"}),r.createElement("circle",{fill:"#c60a0a",cx:244.5,cy:170.7,r:76.2}),r.createElement("path",{fill:"#FFDA44",d:"m244.5 110.1 13.6 41.8h44l-35.6 25.8 13.6 41.8-35.6-25.8-35.5 25.8 13.6-41.8-35.6-25.8h44zm-136.8 57.7c4.4 6.9 2.3 16.1-4.6 20.5s-16.1 2.3-20.5-4.6c-7.9-12.5-3.3-33-3.3-33s20.4 4.6 28.4 17.1z"}),r.createElement("circle",{fill:"#A2001D",cx:99.1,cy:182.1,r:7.4}))},yi=function(e){var t=e.title,n=Ur(e,Te);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M.8 0h21v15H.8V0z"}),r.createElement("path",{fill:"#eb000e",d:"M9.8 6H0v3h9.8v6h3V9h9.8V6h-9.8V0h-3v6z"}),r.createElement("path",{fill:"#eb000e",d:"m17.3 2.7-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm-12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm0 9-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2z"}))},bi=function(e){var t=e.title,n=Ur(e,Pe);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 60"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FDEB01",d:"m0 0 90 60H0z"}),r.createElement("path",{fill:"#58A846",d:"M90 0v60L0 0z"}),r.createElement("path",{fill:"#ED3D24",d:"m50.7 33.3 9.3-6.7H48.5L45 15.7l-3.5 10.9H30l9.3 6.7-3.6 11 9.3-6.7 9.3 6.7z"}))},wi=function(e){var t=e.title,n=Ur(e,Ie);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M308 0H204v118.7H0v104h204V342h104V222.7h205v-104H308z"}),r.createElement("path",{fill:"#FFDA44",d:"m368.6 188 26 17.3V136l-26 17.3h-95.3V58.1l17.3-26h-69.2l17.3 26v95.2h-95.3l-26-17.3v69.3l26-17.3h95.3v95.2l-17.3 26h69.2l-17.3-26V188z"}))},Ei=function(e){var t=e.title,n=Ur(e,je);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#496E2D",d:"M0 228h513v114H0z"}),r.createElement("path",{d:"m255.9 113.8 14.1 43.4 40.4 3.2-37 26.9 19.5 40.3-37-26.9-37 26.9 14.1-43.5-36.9-26.9h45.7z"}))},xi=function(e){var t=e.title,n=Ur(e,ze);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 230h513v112H0z"}),r.createElement("path",{fill:"#D80027",stroke:"#000",strokeMiterlimit:10,d:"M363.1 131.8V99.1H374V77.3h-21.9v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7h-21.8V55.5h10.9V33.7h-21.8v10.9h-10.9V33.7H254v10.9h-10.9V33.7h-21.8v21.8h10.9v76.3h-21.8V99.1h10.9V77.3h-21.8v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7H145V219h239.9v-87.2z"}),r.createElement("path",{fill:"#FFDA44",stroke:"#000",strokeMiterlimit:10,d:"m264.9 235.5-24.2 18.2 19.1 14.3v31.3h-23.2v9h23v7.9h-23v9.3H270V268l19.1-14.3-24.2-18.2zm0 25.3-10.1-7.1 10.1-7.1 10.1 7.1-10.1 7.1z"}),r.createElement("path",{d:"M239.6 209.7v-27.9s.1-22.3 25-22.3c24.8 0 25.7 22 25.7 22v28.2h-50.7zm-69.1 0v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8z"}),r.createElement("path",{d:"M169.1 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zm151.8 0v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zm8.4-77.7v-15.7s.1-12.1 11.3-12.1c11.3 0 11.7 11.9 11.7 11.9V132h-23zm-78.8 0v-23.7s.1-18.3 14.3-18.3c14.2 0 14.7 18 14.7 18v24h-29zm-73 0v-15.7s.1-12.1 11.3-12.1 11.7 11.9 11.7 11.9V132h-23z"}))},Si=function(e){var t=e.title,n=Ur(e,De);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M513 0v171H0V0z"}),r.createElement("circle",{fill:"#FFF",cx:185.8,cy:171.2,r:117.8}),r.createElement("path",{fill:"#D80027",d:"M68 171c0-65.1 52.8-117.8 117.8-117.8 65.1 0 117.8 52.8 117.8 117.8"}))},_i=function(e){var t=e.title,n=Ur(e,Re);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#cf0d19",d:"M0 0h513v100H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 121h513v100H0z"}),r.createElement("path",{fill:"#1a7e25",d:"M0 242h513v100H0z"}))},Oi=function(e){var t=e.title,n=Ur(e,Ne);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 0h512v342H0z"}),r.createElement("path",{fill:"#6DA544",d:"M342 0h171v342H342z"}),r.createElement("path",{fill:"#D80027",d:"M0 0h171v342H0z"}))},Ci=function(e){var t=e.title,n=Ur(e,$e);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 0h171v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},Ai=function(e){var t=e.title,n=Ur(e,Fe);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 0h513v113.8H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 227.6h513V342H0z"}),r.createElement("path",{fill:"#0070C8",d:"M126 171 0 342V0z"}),r.createElement("path",{fill:"none",stroke:"#000",strokeMiterlimit:10,d:"M233.8 139.4v40.4c0 35.6 35.6 35.6 35.6 35.6s35.6 0 35.6-35.6v-40.4h-71.2z"}),r.createElement("path",{fill:"#786145",d:"M264.5 179.8h9.8l4 25.8h-17.8z"}),r.createElement("path",{fill:"#6DA544",d:"M287.2 162c0-9.8-8-14.8-17.8-14.8s-17.8 5-17.8 14.8c-4.9 0-8.9 4-8.9 8.9s4 8.9 8.9 8.9h35.6c4.9 0 8.9-4 8.9-8.9s-4-8.9-8.9-8.9z"}),r.createElement("path",{d:"m230.7 120 1.9 3.3h3.8l-1.9 3.3 1.9 3.2h-3.8l-1.9 3.3-1.9-3.3H225l1.9-3.2-1.9-3.3h3.8zm15.3 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zm15.3 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zm15.8 0 1.9 3.3h3.8l-1.9 3.3 1.9 3.2H279l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zm16 0 1.9 3.3h3.8l-1.9 3.3 1.9 3.2H295l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zm15 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2H310l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8z",fill:"#FFDA00",stroke:"#000",strokeMiterlimit:10}))},ki=function(e){var t=e.title,n=Ur(e,Le);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("g",{fill:"#0d5eaf"},r.createElement("path",{d:"M0 0h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0z"}),r.createElement("path",{d:"M0 0h190v190H0z"})),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"M0 76h190v38H0z"}),r.createElement("path",{d:"M76 0h38v190H76z"})))},Mi=function(e){var t=e.title,n=Ur(e,Be);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),r.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),r.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),r.createElement("path",{fill:"#D80027",d:"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6-77.8-53.3h22.6l62.5 42.3v11z"}),r.createElement("ellipse",{fill:"#FFF",cx:443.4,cy:233.6,rx:29,ry:43.5}),r.createElement("ellipse",{fill:"#FFCE00",cx:406.9,cy:317.7,rx:22,ry:9.3}),r.createElement("ellipse",{fill:"#FFCE00",cx:364,cy:317.7,rx:22,ry:9.3}),r.createElement("path",{fill:"#39B200",d:"m342 190.1 43.4 86.9 43.5-86.9z"}),r.createElement("ellipse",{fill:"#9B9B9B",cx:327.5,cy:233.6,rx:29,ry:43.5}),r.createElement("path",{fill:"#757575",d:"m371 175.6-14.5 14.5h57.9l-14.5-14.5 14.5-43.5s-13-29-29-29-29 29-29 29l14.6 43.5z"}),r.createElement("circle",{fill:"#C6B56F",cx:385.4,cy:67,r:29}),r.createElement("circle",{fill:"#A54A00",cx:386,cy:88.7,r:29}),r.createElement("circle",{fill:"#FFF",cx:443.4,cy:117.7,r:29}),r.createElement("circle",{fill:"#0049FF",cx:342.2,cy:146.7,r:29}),r.createElement("circle",{fill:"#0041F9",cx:429.8,cy:146.7,r:29}),r.createElement("circle",{fill:"#F7D71E",cx:386,cy:233.6,r:29}),r.createElement("circle",{fill:"#CEC851",cx:457.9,cy:190.1,r:29}),r.createElement("circle",{fill:"#FFF",cx:385.4,cy:289.5,r:29}),r.createElement("path",{fill:"#7C0B29",d:"m371 135.7 14.5-3.5 14.5 3.5c0 7.5-14.5 11-14.5 11s-14.5-3.5-14.5-11z"}),r.createElement("circle",{fill:"#FFF",cx:327.5,cy:117.4,r:29}))},Ti=function(e){var t=e.title,n=Ur(e,He);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h171v342H0zm342 0h171v342H342z",fill:"#338AF3"}),r.createElement("circle",{fill:"#DCC26D",cx:256,cy:155.8,r:25.5}),r.createElement("path",{fill:"#628A40",d:"M194.2 155.9c0 22.1 11.8 42.5 30.8 53.5 5.9 3.4 13.5 1.4 16.9-4.5 3.4-5.9 1.4-13.5-4.5-16.9-11.5-6.6-18.5-18.9-18.5-32.1 0-6.8-5.5-12.4-12.4-12.4s-12.3 5.5-12.3 12.4zm95.1 52.1c17.8-11.4 28.6-31 28.5-52.1 0-6.8-5.5-12.4-12.4-12.4-6.8 0-12.4 5.5-12.4 12.4 0 12.7-6.5 24.5-17.1 31.3-5.8 3.6-7.7 11.2-4.1 17 3.6 5.8 11.2 7.7 17 4.1.2-.1.3-.2.5-.3z"}))},Pi=function(e){var t=e.title,n=Ur(e,Ve);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#0052B4",d:"M11.1 11.1h489.7v319.1H11.1z"}),r.createElement("path",{fill:"#7DBEF1",d:"M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"}),r.createElement("path",{fill:"#1C8AE6",d:"M179.8 180.7h152.6l-29.3 64.9h-95.2z"}),r.createElement("path",{fill:"#FFF042",d:"M192.3 205.9s40.5 38.2 51 38.2c12.4 0 12.6-18.4 25.5-25.5 20.2-11.1 51-12.7 51-12.7L297 248.7l-41 36.6-46.8-39.7-16.9-39.7z"}),r.createElement("path",{fill:"#259C7B",d:"m256 157.5-22.5 15.6 7.9-26.2-21.8-16.5 27.4-.5 9-25.9 9 25.9 27.4.5-21.8 16.6 7.9 26.2-22.5-15.7z"}),r.createElement("path",{fill:"#8E5715",d:"M249.7 144.6c-.9 9.2-1.5 18.4-1.7 27.6-.3 11.9.3 20.7 2 26 2.2 6.6 7.2 12.9 14.2 18.9 5.3 4.6 10.6 8.1 14.2 10.1 3.1 1.7 7 .6 8.7-2.4 1.7-3.1.6-7-2.4-8.7-4.3-2.5-8.4-5.4-12.2-8.7-5.4-4.6-9.1-9.2-10.4-13.3-1.1-3.4-1.6-11.3-1.4-21.7.2-8.9.8-17.8 1.7-26.6.4-3.5-2.2-6.6-5.7-7-3.6-.3-6.7 2.3-7 5.8z"}),r.createElement("path",{fill:"#FFF",d:"m217.8 170.7 25.5 38.2h-25.5v-38.2z"}),r.createElement("path",{fill:"none",stroke:"#D80027",strokeWidth:12,strokeMiterlimit:10,d:"M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"}))},Ii=function(e){var t=e.title,n=Ur(e,Ue);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#6DA544",d:"M0 0h512v342H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M0 0h512v171H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 0h182v342H0z"}),r.createElement("path",{d:"m98.3 109.8 15.1 46.5h48.9L122.8 185l15.1 46.5-39.6-28.7-39.5 28.7L73.9 185l-39.6-28.7h48.9z"}))},ji=function(e){var t=e.title,n=Ur(e,We);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#009E49",d:"M0 0h900v600H0V0z"}),r.createElement("path",{fill:"#FFF",d:"m0 0 947 300L0 600V0z"}),r.createElement("path",{fill:"#FFD00D",d:"M0 26.1 870 300 0 573.9V26.1z"}),r.createElement("path",{fill:"#2D2D2D",d:"m0 0 450 300L0 600V0z"}),r.createElement("path",{fill:"#D3132F",d:"m0 35 397.5 265L0 565V35z"}))},zi=function(e){var t=e.title,n=Ur(e,qe);return r.createElement("svg",Vr({viewBox:"0 0.5 21 14",xmlns:"http://www.w3.org/2000/svg"},n),t&&r.createElement("title",null,t),r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{fill:"#FFF",d:"M0 0h21v15H0z"}),r.createElement("path",{fill:"#ee1c25",d:"M0 0h21v15H0z"}),r.createElement("path",{d:"M12 7.19c-.798-.5-1 .409-1 0 0-.828.895-1.5 2-1.5s2 .672 2 1.5c-.949 0-1.044.5-1.5.5-.56 0-.702 0-1.5-.5zM13.25 7a.25.25 0 1 0 0-.5.25.25 0 0 0 0 .5zm-1.81 1.962c.228-.913-.698-.824-.31-.95.788-.257 1.703.387 2.045 1.438.341 1.05-.021 2.11-.809 2.366-.293-.903-.798-.838-.939-1.272-.173-.533-.217-.668.012-1.582zm.566 1.13a.25.25 0 1 0 .476-.154.25.25 0 0 0-.476.154zM9.58 8.977c.94-.065.57-.919.81-.588.486.67.157 1.74-.737 2.389-.894.65-2.013.632-2.5-.038.768-.558.55-1.018.92-1.286.453-.33.568-.413 1.507-.477zm-.899.888a.25.25 0 1 0 .294.405.25.25 0 0 0-.294-.405zm.312-2.652c.351.874 1.049.258.809.588-.487.67-1.606.687-2.5.038-.894-.65-1.223-1.719-.736-2.39.767.559 1.138.21 1.507.478.453.33.568.413.92 1.286zm-1.124-.58a.25.25 0 1 0-.293.404.25.25 0 0 0 .293-.404zm2.619-.524c-.722.605.08 1.078-.309.951-.788-.256-1.15-1.315-.809-2.365.342-1.05 1.257-1.695 2.045-1.439-.293.903.153 1.147.012 1.581-.173.533-.217.668-.939 1.272zm.205-1.247a.25.25 0 1 0-.475-.155.25.25 0 0 0 .475.155z",fill:"#FFF"})))},Di=function(e){var t=e.title,n=Ur(e,Ke);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"M223.4 170.7c.3-.3.5-.6.8-.9-.3.3-.5.6-.8.9zm-34.2 41.9 11 22.9 24.7-5.7-11.1 22.8 19.9 15.8L209 274v25.4l-19.8-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zm197.9 28.5 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.9-2.6 9.5-7.5-5.3-10.9 11.9 2.7zm-48.6-116 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6v-12.1l-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zm48.6-66.2 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9 11.9 2.7zm42.4 49.7 5.3 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.5-7.6-9.4 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zm-30.3 57.9 4.1 12.7h13.3l-10.8 7.8 4.1 12.6-10.7-7.8-10.8 7.8 4.1-12.6-10.7-7.8h13.3z"}),r.createElement("path",{d:"M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"})),r.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),r.createElement("path",{fill:"#0052B4",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),r.createElement("path",{fill:"#FFF",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),r.createElement("path",{d:"M155.8 115 256 170.7v-15.8L184.2 115zm-84 0L0 154.9v15.8L100.2 115z",fill:"#D80027"}),r.createElement("path",{fill:"#0052B4",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),r.createElement("path",{fill:"#FFF",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),r.createElement("path",{d:"M100.2 55.6 0 0v15.7l71.8 39.9zm84 0L256 15.7V0L155.8 55.6z",fill:"#D80027"}))},Ri=function(e){var t=e.title,n=Ur(e,Ge);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0zm203.5-110.1 6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zm105 0 6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM256 147.6l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zm-52.5 29.7 6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1zm105 0 6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1z",fill:"#338AF3"}))},Ni=function(e){var t=e.title,n=Ur(e,Xe);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 228h513v114H0z"}),r.createElement("path",{d:"M309.3 113.2v-44l17.5-14.4 17.7 14.4v44zm-105.6 0v-44l-17.3-14.4-17.9 14.4v44zm35.2 0v-44l17.6-14.4 17.6 14.4v44z",fill:"#338AF3"}),r.createElement("path",{d:"M309.3 113.2h-35.2v-44l17.5-14.4 17.7 14.4zm-70.4 0h-35.2v-44l17.5-14.4 17.7 14.4z",fill:"#0052B4"}),r.createElement("path",{stroke:"#D80027",fill:"#FFF",d:"M168.5 113.2v101.9c0 24.3 14.4 46.2 35.4 59.4 21.3 13.4 42.1 14.7 52.6 14.7s31.4-1.7 52.6-14.8c21-13 35.4-35.1 35.4-59.3V113.2h-176z"}),r.createElement("path",{d:"M168.5 113.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-105.6 35.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-105.6 35.2h35.2v35.2h-35.2zm35.2 35.2h35.2V254h-35.2zm35.2-35.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-35.2 35.2h35.2V254h-35.2zm35.2 55.5c8.6-5.4 16.2-12.3 22-20.3h-22v20.3zM181.7 254c5.8 8 13.3 14.9 22 20.4V254h-22zm57.2 0v33.7c7.2 1.2 13.3 1.5 17.6 1.5 4.3 0 10.4-.3 17.6-1.6V254h-35.2z",fill:"#D80027"}))},$i=function(e){var t=e.title,n=Ur(e,Ye);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#A2001D",d:"M0 0h513v172H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 172h513v172H0z"}),r.createElement("path",{fill:"#FFF",d:"m381.4 251.5-110.7-13.8-110.8 13.8V85.4h221.5z"}),r.createElement("circle",{fill:"#0052B4",cx:270.7,cy:182.3,r:55.4}),r.createElement("circle",{fill:"#A2001D",cx:270.7,cy:182.3,r:27.7}),r.createElement("path",{fill:"#6DA544",d:"M229.1 113.1h83.1l-41.5 41.5z"}),r.createElement("path",{fill:"#FFDA44",d:"M256.8 140.8h27.7v83h-27.7z"}),r.createElement("path",{fill:"#6DA544",d:"M314.9 215.5h-88.5l-66.5 36h221.5z"}))},Fi=function(e){var t=e.title,n=Ur(e,Ze);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 228h513v114H0z"}))},Li=function(e){var t=e.title,n=Ur(e,Je);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 300 200"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#fc0",d:"M0 0h300v200H0z"}),r.createElement("path",{fill:"#0768a9",d:"M0 0h200v200H0z"}),r.createElement("path",{fill:"#fff",d:"M0 0h100v200H0z"}))},Bi=function(e){var t=e.title,n=Ur(e,Qe);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#E00",d:"M0 0h513v171H0z"}))},Hi=function(e){var t=e.title,n=Ur(e,et);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 0h171v342H0z"}),r.createElement("path",{fill:"#FF9811",d:"M342 0h171v342H342z"}))},Vi=function(e){var t=e.title,n=Ur(e,tt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M340.6 122.4h-56.1l-28-48.6-28 48.6h-56.1l28 48.6-28 48.6h56.1l28 48.6 28-48.6h56.1l-28-48.6 28-48.6zM293.2 171 276 204.2h-38.9L219.8 171l17.2-33.2h38.9l17.3 33.2zm-36.7-71.8 11.9 23.3h-23.9l12-23.3zm-58.3 38.6h23.9l-10.8 21-13.1-21zm0 66.4 13-22.1 11.9 22.1h-24.9zm58.3 37.5-11.9-22.1h23.9l-12 22.1zm59.4-37.5h-25l11.9-22.1 13.1 22.1zm-26.1-66.4h26.1l-13 22.1-13.1-22.1zM0 21.3h512V64H0zm0 256h512V320H0z",fill:"#2E52B2"}))},Ui=function(e){var t=e.title,n=Ur(e,nt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#E52D42",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M393.3 68.2h-45.8l-33.8 80.2-34.4-22.9s-24.7-59.1-34.4-68.2c-9.7-9.7-18.7-.6-48.9 7.8-29.6 8.4-30.8 18.7-42.2 18.7-4.8 0-19.9-17.5-27.7-22.3-12.1-7.8-16.9-4.2-13.9 7.2 1.2 4.8 10.9 10.9 16.9 19.9 7.8 11.5 12.7 25.9 12.7 25.9s10.9-10.3 16.9-12.1c9-2.4 19.3 1.8 31.4 0 15.1-2.4 31.4-10.9 31.4-10.9l4.2 43.4s-54.3 50.7-49.5 70.6 56.1 44.6 68.2 62.7c12.1 17.5-7.2 24.1-7.2 32.6s-1.8 19.9 7.2 16.3c9-3.6 10.3-18.1 18.7-31.4 6-9 10.3-13.9 11.5-17.5 1.8-9-23.5-32-37.4-48.9-6.6-7.8-19.9-18.7-19.9-18.7l39.2-29.6s67.6 27.7 82.6 18.7c15.1-9 19.3-98.3 19.3-98.3l47-11.5-12.1-11.7z"}),r.createElement("path",{fill:"#F8DD4E",d:"M279.3 262.4c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.8-182.8c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm0 91.1c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6 0 11.5 4.8 11.5 11.5-.6 6.7-5.5 11.5-11.5 11.5zm-136.9 45.8c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.2-136.9c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-4.8 11.5-11.5 11.5zm22.9 91.1c-6 0-11.5-10.3-11.5-22.9s4.8-22.9 11.5-22.9c6 0 11.5 10.3 11.5 22.9s-4.8 22.9-11.5 22.9zm-114-45.2c-6 0-11.5-4.8-11.5-11.5 0-6.6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5 0 6.6-4.8 11.5-11.5 11.5z"}))},Wi=function(e){var t=e.title,n=Ur(e,rt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#181A93",d:"M17.3 0h478.4v342H17.3V0z"}),r.createElement("path",{fill:"#FFA44A",d:"M0 0h513v114H0V0z"}),r.createElement("path",{fill:"#1A9F0B",d:"M0 228h513v114H0V228z"}),r.createElement("path",{fill:"#FFF",d:"M0 114h513v114H0V114z"}),r.createElement("circle",{fill:"#FFF",cx:256.5,cy:171,r:34.2}),r.createElement("path",{fill:"#181A93",d:"M256.5 216.6c-25.1 0-45.6-20.5-45.6-45.6s20.5-45.6 45.6-45.6 45.6 20.5 45.6 45.6-20.5 45.6-45.6 45.6zm0-11.4c18.2 0 34.2-16 34.2-34.2s-15.9-34.2-34.2-34.2-34.2 16-34.2 34.2 16 34.2 34.2 34.2z"}),r.createElement("circle",{fill:"#181A93",cx:256.5,cy:171,r:22.8}))},qi=function(e){var t=e.title,n=Ur(e,ot);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0-.3h513V342H0V-.3z"}),r.createElement("path",{fill:"#0052B4",d:"M462.9 198.1c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zM0 31.7l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 1-20 6-30.1 12-7 4-16 9-20 9s-14-5-21-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-11-30.1-12v22zm462.9 55.2c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 3.9-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 1 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-8 19-9v-23zm-50.1 133.3c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 0 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-9 19-9v-23z"}),r.createElement("path",{fill:"#FFF",d:"M0-.3h256v171H0V-.3z"}),r.createElement("path",{d:"M389.8 119.9H408v78.8h-18.3l.1-78.8zm0 117.8H408v75.1h-18.3l.1-75.1z",fill:"#A2001D"}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"M144-.3h-32v70H0v32h112v69h32v-69h112v-32H144v-70z"}),r.createElement("path",{d:"M0-.3v15l57 39h23L0-.3zm256 0v15l-57 39h-23l80-54z"}),r.createElement("path",{d:"M0-.3v15l57 39h23L0-.3zm256 0v15l-57 39h-23l80-54zM0 170.7v-15l57-38h23l-80 53zm256 0v-15l-57-38h-23l80 53z"})),r.createElement("g",{fill:"#2E52B2"},r.createElement("path",{d:"M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zm160 23v31h-46l46-31zm-96-23v49l73-49h-73z"}),r.createElement("path",{d:"M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zm160 23v31h-46l46-31zm-96-23v49l73-49h-73zM0 147.7v-30h46l-46 30zm96 23v-49l-73 49h73zm160-23v-30h-46l46 30zm-96 23v-49l73 49h-73z"})),r.createElement("path",{fill:"#5DA51E",stroke:"#45602C",strokeWidth:4,strokeMiterlimit:10,d:"M462.8 91.5h-29.1l25.7-25.7c4.5-4.4 4.5-11.4 0-15.8l-3.4-3.4c-4.4-4.4-11.4-4.4-15.8 0l-25.9 25.9V37.4c0-6.2-5.1-11.3-11.3-11.3h-4.7c-6.2 0-11.3 5.1-11.3 11.3v31.7l-23.5-23.8c-4.7-4.7-12.2-4.7-16.9 0l-3.6 3.6c-4.7 4.7-4.7 12.4 0 17.2l25 25.4h-30.6c-6 0-10.9 4.9-10.9 10.9v4.6c0 6 4.9 10.9 10.9 10.9H369l-20.7 20.7c-4.4 4.4-4.4 11.4 0 15.8l3.4 3.4c4.4 4.4 11.4 4.4 15.8 0l19.6-19.6V167c0 6.1 5.1 11.1 11.3 11.3h4.7c6.2 0 11.3-5.1 11.3-11.3v-28.3l22.2 22.6c4.7 4.7 12.4 4.7 17.1 0l3.6-3.6c4.7-4.7 4.7-12.4 0-17.2L435.2 118h27.6c5.9 0 10.7-4.9 10.9-10.9v-4.6c0-6.1-4.9-11-10.9-11z"}),r.createElement("path",{fill:"#E2DD24",stroke:"#525625",strokeWidth:4,strokeMiterlimit:10,d:"M439.2 249.1h-79.8s-.9-13.4-6-21.8c-6.2-10.4-13.9-28.1-1.4-36.7 15.9-10.9 33.7.8 48.2.8 11.8.1 26.9-14 45-.8 12.2 8.9 3.9 28.2-1.3 36.7-7 11.5-4.7 21.8-4.7 21.8z"}))},Ki=function(e){var t=e.title,n=Ur(e,it);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#CE1126",d:"M0 0h513v114H0z"}),r.createElement("path",{d:"M0 228h513v114H0z"}),r.createElement("path",{d:"M219.2 160.7h-29.3c1.5-5.7 6.6-9.9 12.8-9.9v-19.9c-18.3 0-33.1 14.9-33.1 33.1v16.5h49.6c1.8 0 3.3 1.5 3.3 3.3v6.6h-66.2v19.9h86.1v-26.5c0-12.7-10.4-23.1-23.2-23.1zm49.6 29.8v-59.6H249v79.5h33.1v-19.9zm66.2 0v-59.6h-19.8v59.6h-6.6v-19.8h-19.9v39.7h59.6v-19.9z",fill:"#547C31"}))},Gi=function(e){var t=e.title,n=Ur(e,at);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),r.createElement("path",{d:"M0 227.9h513v114H0zm278.8-93.1c.1 2 8.7 26.2 4.4 39.4-6.6 20.3-15.8 21.8-19.8 24.5V134l-6.9-4.2-6.9 4.2v64.7c-4-2.7-12.4-2.4-19.8-24.5-4.3-12.7 5.7-37.3 5.8-39.2 0 0-9.5 8.1-15.8 24-5.9 14.8 1.9 49.6 29.5 54.8 2.3.4 4.7 5.6 7.2 5.6 2.1 0 4.1-5.2 6-5.5 28.4-4.6 35-41.7 29.9-55.6-5.4-14.6-13.6-23.5-13.6-23.5z",fill:"#D80027"}),r.createElement("path",{d:"M44.6 98.9h22.3v24.4H44.6zM0 98.9h22.3v24.4H0zm89.2 0h22.3v24.4H89.2zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4H223zm44.7 0H290v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0H513v24.4h-22.3zm-446.1 118h22.3v25.5H44.6zm-44.6 0h22.3v25.5H0zm89.2 0h22.3v25.5H89.2zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5H223zm44.7 0H290v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0H513v25.5h-22.3z",fill:"#FFF",opacity:.5}))},Xi=function(e){var t=e.title,n=Ur(e,st);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M513 210.6H202.2v130.7h-79.8V210.6H0v-79.8h122.4V0h79.8v130.8H513v18.5l-1 42.7z"}),r.createElement("path",{fill:"#D80027",d:"M513 149.3V192H183.7v149.3H141V192H0v-42.7h141V0h42.7v149.3z"}))},Yi=function(e){var t=e.title,n=Ur(e,lt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M342 0H0v341.3h512V0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 0h171v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},Zi=function(e){var t=e.title,n=Ur(e,ct);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M301.8 171 513 30.2V0h-45.3L256.5 140.8 45.3 0H0v30.2L211.2 171 0 311.8V342h45.3l211.2-140.8L467.7 342H513v-30.2z"}),r.createElement("path",{fill:"#FFDA44",d:"m233.7 44.6 22.3 5.6 22.3-5.6 4-20.9-14.9 6.5L256 14.8l-11.4 15.4-14.9-6.5z"}),r.createElement("path",{fill:"#D80027",d:"M233.7 44.6s-4 12.9-4 29.9c0 27.9 26.3 41.3 26.3 41.3s26.3-15.5 26.3-41.3c0-15.4-4-29.9-4-29.9s-8.1-5-22.3-5-22.3 5-22.3 5z"}))},Ji=function(e){var t=e.title,n=Ur(e,ut);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#6DA544",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M215.9 171 0 314.6V26.8zM513 26.8v287.8L296.1 171z"}),r.createElement("path",{fill:"#0052B4",d:"M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"}),r.createElement("path",{fill:"#FFDA44",d:"M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"}))},Qi=function(e){var t=e.title,n=Ur(e,dt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 228h513v114H0z"}),r.createElement("path",{fill:"#D80027",d:"M256.5 170.7 0 341.3V0z"}),r.createElement("path",{fill:"#FFF",d:"m77.9 139.5 7.9 16.4 17.8-4.1-8 16.5 14.3 11.3-17.8 4 .1 18.3-14.3-11.5-14.2 11.5v-18.3l-17.8-4 14.3-11.3-7.9-16.5 17.7 4.1z"}))},ea=function(e){var t=e.title,n=Ur(e,ft);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),r.createElement("circle",{fill:"#D80027",cx:256.5,cy:171,r:96}))},ta=function(e){var t=e.title,n=Ur(e,ht);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h512v90.579H0z"}),r.createElement("path",{fill:"#496E2D",d:"M0 251h513v91H0z"}),r.createElement("path",{fill:"#A2001D",d:"M0 114h513v114H0z"}),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"m323.3 54.5-25.6-11.8L256 137l-41.7-94.3-25.6 11.8 51.8 116.2-51.8 116.2 25.6 11.8 41.7-94.4 41.7 94.4 25.6-11.8-51.8-116.2z"}),r.createElement("path",{d:"M273.4 65.6c-9.9-10.8-17.4-17-17.4-17s-7.5 6.2-17.4 17v210.1c9.9 10.8 17.4 17 17.4 17s7.5-6.2 17.4-17V65.6z"})),r.createElement("path",{d:"M209 105.9v129.5c10.5 18.5 23.3 33.7 32.9 43.8V62.1c-9.6 10.1-22.4 25.3-32.9 43.8zm94 0c-10.5-18.5-23.3-33.7-32.9-43.8v217.2c9.6-10.1 22.4-25.3 32.9-43.8V105.9z",fill:"#A2001D"}),r.createElement("path",{d:"M303 105.9v129.5c10.6-18.8 18.8-41 18.8-64.8s-8.2-45.9-18.8-64.7zm-94 0v129.5c-10.6-18.8-18.8-41-18.8-64.8s8.2-45.9 18.8-64.7z"}))},na=function(e){var t=e.title,n=Ur(e,pt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 342"},n),t&&r.createElement("title",null,t),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"M0 0h513v342H0z"}),r.createElement("circle",{cx:256,cy:170.7,r:170.7})),r.createElement("path",{fill:"#FFDA44",d:"M382.4 170.7 330.8 195l27.5 50-56.1-10.7-7.1 56.6-39.1-41.7-39.1 41.7-7.1-56.6-56.1 10.7 27.5-50-51.6-24.3 51.6-24.3-27.5-50.1 56.1 10.8 7.1-56.7L256 92.1l39.1-41.7 7.1 56.7 56.1-10.8-27.5 50.1z"}),r.createElement("circle",{fill:"#D80027",cx:257.4,cy:170.7,r:71.6}),r.createElement("path",{d:"M214.2 170.7c-2.1 0-4.1.1-6.2.3.1 12 4.4 22.9 11.6 31.5 3.8-10.3 9.5-19.6 16.7-27.7-6.9-2.7-14.3-4.1-22.1-4.1zm26.6 46.5c5.2 1.9 10.8 2.9 16.6 2.9 5.8 0 11.4-1 16.6-2.9-2.8-11.1-8.7-21-16.6-28.8-7.9 7.8-13.8 17.7-16.6 28.8zm59.4-71.2c-8.5-14.8-24.5-24.7-42.8-24.7-18.3 0-34.2 9.9-42.8 24.7 15.6.1 30.2 4.3 42.8 11.6 12.6-7.3 27.2-11.6 42.8-11.6zm-21.7 28.8c7.2 8 12.9 17.4 16.7 27.7 7.2-8.5 11.5-19.5 11.6-31.5-2-.2-4.1-.3-6.2-.3-7.7 0-15.2 1.4-22.1 4.1z",fill:"#FFDA44"}))},ra=function(e){var t=e.title,n=Ur(e,mt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0z",fill:"#0052B4"}),r.createElement("path",{fill:"#FFF",d:"M303.5 196.6v-17.8h-11.9v-23.7l-11.9-11.9-11.8 11.9v-23.8L256 119.5l-11.9 11.8v23.8l-11.8-11.9-11.9 11.9v23.7h-11.9v17.8h-11.9v17.8h118.8v-17.8z"}))},oa=function(e){var t=e.title,n=Ur(e,vt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 450 300"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#CE1126",d:"M0 0h450v300H0V0z"}),r.createElement("g",{fill:"#FCD116"},r.createElement("circle",{cx:227.6,cy:161.2,r:56.2}),r.createElement("path",{d:"m254.1 73.4-23.7 26 28.6 6.5zm-51.5.2-4.8 33.1 28.5-8zm94.3 26.7-34.7 8.5 20.1 23.7zm-138.3-1.8 15.5 32.7 20.2-22.7zm159 45.3-34.4-9.9 5.6 29.5zm-182-2.6 31.9 19.8 5.2-27.7z"})),r.createElement("path",{fill:"#003F87",d:"M0 175h450v125H0V175z"}),r.createElement("path",{fill:"#FFF",d:"M0 267c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21z"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#FCD116",d:"m183.2 48.3-1.1-5.3 22.4-3.7s-30.1-7.1-40-10.7c-14.3-5.1-16.3-12.1-16.3-12.1s44.7 11 64.8 11c4.3 0 12.8 10.7 12.8 10.7s14.8-14.9 21.9-15.4c32.1-2.3 66.6-6.4 66.6-6.4s-10 6.7-16 8.5c-16.2 4.9-50.6 11.7-50.6 11.7l-4.8 7.5H277l-14.4 4.3 7.4 6.9s-7.8-4.1-18.1-2.1c-7.1 1.3-15.4 6-22.9 8-18.7 4.8-29.9-12.8-29.9-12.8l-15.9-.1z"}))},ia=function(e){var t=e.title,n=Ur(e,gt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M0 0h513v85.5H0z"}),r.createElement("path",{fill:"#FFF",d:"M0 85.5h513V171H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 171h513v85.5H0z"}),r.createElement("path",{fill:"#6DA544",d:"M256.5 171 0 342V0z"}),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"M68.6 170.7c0-24.9 17.5-45.6 40.8-50.7-3.6-.8-7.3-1.2-11.1-1.2-28.7 0-51.9 23.3-51.9 51.9s23.3 51.9 51.9 51.9c3.8 0 7.5-.4 11.1-1.2-23.3-5.1-40.8-25.9-40.8-50.7z"}),r.createElement("path",{d:"m108.9 126.1 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.3h8.9zm0 22.3 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"}),r.createElement("path",{d:"m108.9 170.7 2.7 8.5h9l-7.3 5.2 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.2h8.9zm0 22.2 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"})))},aa=function(e){var t=e.title,n=Ur(e,yt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#6DA544",d:"M512 0H0v342"}),r.createElement("path",{fill:"#FFDA44",d:"M307.7 0 0 194.5V342h206.9L513 148.5V0z"}),r.createElement("path",{d:"M513 0H385.2L0 249.4V341l126.2 1L513 91.6z"}),r.createElement("path",{d:"m141.1 187 31.2 24 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.3-22.2zM310.6 70.8l31.2 23.9 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.4-22.2z",fill:"#FFF"}))},sa=function(e){var t=e.title,n=Ur(e,bt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#91DC5A",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h513v57.188H0zm0 284.1h513v57.177H0z",fill:"#0052B4"}),r.createElement("path",{fill:"#D80027",d:"M0 79.9h513v181.582H0z"}),r.createElement("circle",{fill:"#FFF",cx:190.33,cy:171,r:65.668}),r.createElement("path",{fill:"#D80027",d:"m190.3 105 14.8 45.3h47.7l-38.6 28.1 14.8 45.5-38.7-28.2-38.6 28.1 14.8-45.4-38.6-28.1h47.7z"}))},la=function(e){var t=e.title,n=Ur(e,wt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h900v600H0z"}),r.createElement("g",{transform:"rotate(-56.31)"},r.createElement("path",{d:"M-75 228.3H75m-150 37.5H75m-150 37.5H75m-150 475H75m-150 37.5H75m-150 37.5H75",stroke:"#000",strokeWidth:25}),r.createElement("path",{stroke:"#FFF",strokeWidth:12.5,d:"M0 753.3v125"}),r.createElement("circle",{fill:"#ca163a",cy:540.8,r:150}),r.createElement("path",{fill:"#0e4896",d:"M0 390.8c-41.4 0-75 33.6-75 75s33.6 75 75 75 75 33.6 75 75-33.6 75-75 75c-82.8 0-150-67.2-150-150s67.2-150 150-150z"})),r.createElement("path",{d:"m231.56 535.73-83.205-124.808M262.76 514.928l-83.205-124.807m114.407 104.006-83.205-124.808m478.43-138.675-83.205-124.807M720.39 209.843 637.184 85.036m114.407 104.006L668.386 64.234",stroke:"#000",strokeWidth:25}),r.createElement("path",{stroke:"#FFF",strokeWidth:12.5,d:"m205.6 462.897 31.202-20.8m389.981-259.989 36.444-24.296m31.202-20.801 31.202-20.801"}))},ca=function(e){var t=e.title,n=Ur(e,Et);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 228h513v114H0z"}),r.createElement("path",{d:"M167 227.6 0 341.3V0l167 113.8z"}))},ua=function(e){var t=e.title,n=Ur(e,xt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),r.createElement("circle",{fill:"#6DA544",cx:384,cy:96.5,r:29.7}),r.createElement("path",{fill:"#D80027",d:"M332.1 89H436v44.5H332.1z"}),r.createElement("path",{fill:"#496E2D",d:"M435.9 170.7z"}),r.createElement("path",{fill:"#FFDA44",d:"M332.1 200.3V230h15.6c9.4 9.2 22.2 14.8 36.3 14.8 14.1 0 27-5.7 36.3-14.8h15.6v-29.7H332.1z"}),r.createElement("path",{fill:"#338AF3",d:"M332.1 126.1v44.5c0 39.8 51.9 51.9 51.9 51.9s51.9-12.2 51.9-51.9v-44.5H332.1z"}),r.createElement("path",{d:"M384 149.9c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9zm0-41.6c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9z",fill:"#F3F3F3"}),r.createElement("path",{fill:"#FFF",d:"M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),r.createElement("path",{d:"M0 0v15.1l57.4 38.2H80zm256 0v15.1l-57.4 38.2H176z"}),r.createElement("path",{d:"M0 0v15.1l57.4 38.2H80zm256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zm256 0v-15.1l-57.4-38.3H176z"})))},da=function(e){var t=e.title,n=Ur(e,St);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#36B6CC",d:"M0 0h513v342H0V0z"}),r.createElement("circle",{fill:"#FFD400",cx:256.5,cy:170.9,r:68.4}),r.createElement("path",{fill:"#FFD400",d:"m256.5 251.5-27.9 41.7-7.1-49.7-43.2 25.5 15.2-47.8-50 4.2 34.4-36.5-46.9-18 46.8-18-34.4-36.5 50 4.2-15.2-47.8 43.2 25.4 7.1-49.7 27.9 41.7 27.9-41.7 7.1 49.7 43.2-25.4-15.2 47.8 50-4.2-34.3 36.6 46.8 17.9-46.8 18 34.4 36.5-50-4.2 15.2 47.8-43.2-25.4-7.1 49.7c0-.1-27.9-41.8-27.9-41.8zm0-.8c44.1 0 79.9-35.8 79.9-79.9S300.6 91 256.5 91s-79.9 35.8-79.9 79.9 35.8 79.8 79.9 79.8zM22.8 28.3c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V28.3zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V74zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm22.8-22.8c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7V245c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V188zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V96.8zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V51.2z"}))},fa=function(e){var t=e.title,n=Ur(e,_t);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 .1h513v90.7H0zm0 251.2h513V342H0z",fill:"#D80027"}),r.createElement("circle",{fill:"#FFF",cx:256.5,cy:171,r:65.9}))},ha=function(e){var t=e.title,n=Ur(e,Ot);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 .2h513v90.7H0zm.5 251.1H513V342H.5z",fill:"#D80027"}),r.createElement("path",{fill:"#6DA544",d:"M290.3 193.5 256 130.7l-34.3 62.8h25.7v17.2h17.2v-17.2z"}),r.createElement("path",{fill:"#14AF5A",d:"M241.3 213.1c4.4-4.4 4.4-11.6-.1-16l4.7 4.7c-5.2-4.7-12.2-6.6-19.1-5.3l-23.5 5.9c-6.1 1.5-6.8-.4-1.8-4.2l27.1-20.3c5.1-3.8 4.2-6.9-2.3-6.9h-11c-6.4 0-7-2.3-1.5-5.1l25.3-12.7c5.6-2.8 5.1-5.1-1.5-5.1h-11c-6.4 0-7.4-3.1-2.3-6.9l27.1-20.3c5.6-3.8 12.9-3.8 18.5 0l27.1 20.3c5.1 3.8 4.2 6.9-2.3 6.9h-11c-6.4 0-7 2.3-1.5 5.1l25.3 12.7c5.6 2.8 5.1 5.1-1.5 5.1h-11c-6.4 0-7.4 3.1-2.3 6.9l27.1 20.3c5.1 3.8 4.4 5.7-1.8 4.2l-23.5-5.9c-6.8-1.3-13.9.6-19.1 5.3l4.7-4.7c-4.4 4.4-4.5 11.5-.1 16l6.8 6.8c4.4 4.4 3.1 8-3.3 8h-45.8c-6.2 0-7.7-3.6-3.3-8 .1.1 6.9-6.8 6.9-6.8z"}))},pa=function(e){var t=e.title,n=Ur(e,Ct);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#55B2FF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#F3F3F3",d:"M148.5 298.1h216l-108-254.2z"}),r.createElement("path",{fill:"#333",d:"m186 272.7 70.5-160.3L327 272.7z"}),r.createElement("path",{fill:"#FFDA44",d:"M148.5 298.1h216l-108-101.7z"}))},ma=function(e){var t=e.title,n=Ur(e,At);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 0h513v171H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M149.3 98.1c0-14-11.3-25.3-25.3-25.3-6.5 0-12.4 2.4-16.9 6.4V64.4h8.4V47.5h-8.4v-8.4H90.3v8.4h-8.4v16.9h8.4v14.9c-4.5-4-10.4-6.4-16.9-6.4-14 0-25.3 11.3-25.3 25.3 0 7.5 3.3 14.2 8.4 18.8v14.9h84.3V117c5.3-4.7 8.5-11.5 8.5-18.9z"}))},va=function(e){var t=e.title,n=Ur(e,kt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#A2001D",d:"M222.6 22.3h267.1v296.8H222.6z"}),r.createElement("path",{fill:"#D80027",d:"M22.3 22.3h200.3v296.8H22.3z"}),r.createElement("path",{fill:"#FFDA44",d:"M200.3 0h22.3v342h-22.3z"}),r.createElement("path",{fill:"#6DA544",d:"M22.3 22.3h89v296.8h-89z"}),r.createElement("path",{fill:"#FF9811",d:"M111.3 22.3h89v296.8h-89z"}),r.createElement("path",{fill:"#FFDA44",d:"M368.2 156.8c-1.4-2 0-37.9 0-37.9.9-7.4.1-8.4 1-11.4.9-2.9 5.4-11.6 5.4-11.6s-6-2.3-10.3-.6c-4.3 1.7-24.7-7.5-31.2 3.4-4.4 7-23.6 16.2-24.6 14-1-2.2-5.9-5-6.9-2.9s-.7 13.9 0 16c.8 2.6 9.8 2 12.3 3.1 3.7 1.8 12.2 8.2 11.9 10.7-.3 2.5-22.5-6-24.2-4.5-1.4 1.2-1.9 13.2-.4 15 1.8 2.1 23.4 5.6 25 7.5 1.6 1.9-13.1 7.4-12.3 25 .7 14.7 8 17.4 8 17.4s-2.4 3.6-7.8 3.1c-6.2-.6-27.4-17.7-27.4-17.7s-3.5-109 3.6-121.4c4.9-8.5-22.7 10.1-22.7 50.8V151c0 6.6-1.4 22.4 2.6 34 0 0-.4 46.9 1.5 49.6s12.7 2.2 14.8 0 0-30 0-30c7.7.2 18.3 17.5 32.5 16.4 20.6-1.6 28.7-9.9 34.3-5 8.1 7.1 5.5 23.2.4 31.5-2.2 3.5-14.3 4.7-15.7 7.6-1.4 2.9.5 5.4.5 5.4h29.7s1.4-20.5 2.7-26.1c1.3-5.7-.6-10.7 5.9-10.4 23.5 1.1 39.8-15.3 45.5-8 3.2 4.1 5.6 29.9 3.3 33.3-2.2 3.4-13.8 2.8-15.2 6.7-1.4 4 .8 4.4.8 4.4h29.7s-.4-21.2 2.5-27.7 4.9-10.4 9.3-17.2c4.4-6.8 11.3-15.7 11.3-36.2 0-14.2-8.1-22.8-8.1-22.8H417c-14.1.2-47.4 2.3-48.8.3zm-136-124.5c10.7-10.6 20.2-2.7 22.2 2.1 1.9 4.8 2.1 8.2 2.8 13.6.9 6.9 4.9 14 4.9 14s-7.1-3.8-14.7-4.2c-4.7-.3-9-.6-13.6-2.5-5.7-2.3-11.7-12.9-1.6-23zm248.4-.1c10.7 10.6 2.8 20.2-2 22.2s-8.2 2.1-13.6 2.8c-6.9.9-14 5-14 5s3.7-7.1 4.2-14.7c.3-4.7.6-9.1 2.4-13.6 2.2-5.7 12.8-11.8 23-1.7zm.1 276.9c-10.7 10.6-20.2 2.6-22.2-2.2-1.9-4.8-2.1-8.2-2.7-13.6-.8-6.9-4.9-14.1-4.9-14.1s7 3.8 14.7 4.3c4.7.3 9 .6 13.6 2.5 5.7 2.4 11.7 13.1 1.5 23.1zm-248.2-.1c-10.6-10.7-2.7-20.2 2.1-22.2 4.8-1.9 8.2-2.1 13.6-2.8 6.9-.9 14-4.9 14-4.9s-3.8 7.1-4.2 14.7c-.3 4.7-.6 9-2.5 13.6-2.3 5.7-12.9 11.8-23 1.6z"}),r.createElement("path",{fill:"none",stroke:"#FFDA44",strokeWidth:6,strokeMiterlimit:10,d:"M446.9 162.4s7.5-2.6 8.4-16.1c.6-8.6-19.8-16-39-11.5-19.7 4.6-34-3.1-34-14.6 0-22.9 29.7-16.2 38.9-11.3 9.1 4.9 29.7 23.5 35.1 9.4"}))},ga=function(e){var t=e.title,n=Ur(e,Mt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h513v31.1H0zm0 62.2h513v31.1H0zm0 62.3h513v31.1H0zm0 62.3h513v31.1H0zm0 62.5h513v31.1H0zm0 61.6h513V342H0z",fill:"#bf0a30"}),r.createElement("path",{fill:"#002868",d:"M0 0h155.6v155.6H0z"}),r.createElement("path",{fill:"#FFF",d:"m77.8 30.2 10.7 32.9h34.6l-28 20.4 10.7 32.9-28-20.3-28 20.3 10.7-32.9-28-20.4h34.6z"}))},ya=function(e){var t=e.title,n=Ur(e,Tt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 227.6h513v114H0z"}),r.createElement("path",{d:"m245.2 171 7.7-23.1c2-5.9 5.1-6 7.1 0l7.7 23.1 19.4 29.1c1.7 2.6 1.3 6.3-1.2 8 0 0-6.9 8-29.5 8s-29.5-8-29.5-8c-2.4-2-2.9-5.4-1.2-8l19.5-29.1z"}),r.createElement("path",{d:"M256.5 171c-12.5 0-22.6-10.1-22.6-22.6 0-12.5 10.1-22.6 22.6-22.6s22.6 10.1 22.6 22.6c0 12.5-10.2 22.6-22.6 22.6zm0 0c6.2 0 11.3-16.3 11.3-22.6 0-6.2-5.1-11.3-11.3-11.3-6.2 0-11.3 5.1-11.3 11.3 0 6.3 5 22.6 11.3 22.6z"}))},ba=function(e){var t=e.title,n=Ur(e,Pt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#6DA544",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 228h513v114H0z"}))},wa=function(e){var t=e.title,n=Ur(e,It);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#338AF3",d:"M0 228h513v114H0z"}))},Ea=function(e){var t=e.title,n=Ur(e,jt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{className:"prefix__st1",d:"M0 0h513v127.6H0zm0 214.4h513V342H0z",fill:"#A2001D"}))},xa=function(e){var t=e.title,n=Ur(e,zt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#496E2D",d:"M0 228h513v114H0z"}),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"m281.4 150.7 9 12.3 14.5-4.7-9 12.4 9 12.3-14.5-4.7-9 12.3v-15.2l-14.5-4.7 14.5-4.7z"}),r.createElement("path",{d:"M257 201.5c-17 0-30.9-13.8-30.9-30.9s13.8-30.9 30.9-30.9c5.3 0 10.3 1.3 14.7 3.7-6.9-6.7-16.2-10.8-26.6-10.8-21 0-38 17-38 38s17 38 38 38c10.3 0 19.7-4.1 26.6-10.8-4.4 2.4-9.4 3.7-14.7 3.7z"})))},Sa=function(e){var t=e.title,n=Ur(e,Dt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 .3V342h513V.3z"}),r.createElement("path",{fill:"#20661B",d:"M359.8 148.9h-73.3l-22.7-69.7-22.7 69.7h-73.3l59.3 43.1-22.7 69.7 59.3-43.1 59.3 43.1-22.5-69.7 59.3-43.1zm-116.1 37.7 7.7-23.6h24.8l7.7 23.6-20.1 14.6-20.1-14.6zm27.9-37.7H256l7.8-24 7.8 24zm24.3 29-4.8-14.9h25.3l-20.5 14.9zM236.6 163l-4.8 14.9-20.5-14.9h25.3zm-5.3 61.8 7.8-24 12.6 9.2-20.4 14.8zm44.5-14.9 12.6-9.2 7.8 24-20.4-14.8z"}))},_a=function(e){var t=e.title,n=Ur(e,Rt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.333h512v341.333H0z"}),r.createElement("path",{fill:"#c70000",d:"M0 85.333h512V256H0z"}))},Oa=function(e){var t=e.title,n=Ur(e,Nt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}),r.createElement("path",{fill:"#0052B4",d:"M0 0h171v342H0z"}),r.createElement("path",{fill:"#AF7F59",d:"M206.2 129.1h33.2L256 79.3l16.6 49.8h33.2v99.6L256 262l-49.8-33.2v-99.7zm33.2 33.3v49.8h33.2v-49.8h-33.2z"}))},Ca=function(e){var t=e.title,n=Ur(e,$t);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#E6BE53",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#E01D24",d:"M20 20h473v302H20z"}),r.createElement("path",{fill:"#E6BE53",d:"M248.5 112.9c4.4 4.4 11.6 4.4 16 0l-4.7 4.7 22.7-22.7c4.9-4.5 12.1-5.6 18.2-2.8l2.1 1c5.7 2.9 6.7 8.7 2.3 13.1l4.7-4.7-22.8 22.8c-4.5 4.9-5.6 12.1-2.8 18.2l1 2.1c2.9 5.7 5.1 15.4 5.1 21.6v-11.3c0 6.2 4.4 9.1 10.2 6.2l2.1-1c5.7-2.9 6.7-8.7 2.3-13.1l4.7 4.7c-4.4-4.4-4.4-11.6 0-16l-4.7 4.7c5.2-5.5 9.6-11.6 13.1-18.2l1-2.1c2.9-5.7 6.3-15.1 7.9-21.2l5.8-23.3c1.5-6 5.9-6.8 9.6-1.8l20.2 26.9c3.8 5.1 6.9 14 6.9 20.6v22.4c0 6.3-2.2 15.8-5.1 21.7l-1 2.1c-3.5 6.6-7.9 12.7-13.1 18.2l-6.8 6.8c-5.4 5.2-11.5 9.6-18.2 13.1l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.2 0-6.9 2.2-1.1 5.1l2.1 1c5.7 2.9 13.8 8.7 18.2 13.1l-4.7-4.7c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L339 226c4.6 4.9 5.7 12.1 2.9 18.2l-1 2.1c-2.9 5.7-10.4 10.2-16.4 10.2-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.5-3.6-11.8-8.9-15.4-15.4l-1-2.1c-2.9-5.7-8.7-6.7-13.1-2.3l4.7-4.7c-4.4 4.7-5.2 11.8-1.8 17.3l10.3 15.4c3.4 5.1 2 12.1-3.1 15.5L266 284.4c-5.7 3.4-12.8 3.4-18.6 0L232 274.1c-5.1-3.4-6.5-10.3-3.1-15.5l10.3-15.4c3.4-5.5 2.6-12.6-1.8-17.3l4.7 4.7c-4.4-4.4-10.2-3.6-13.1 2.3l-1 2.1c-2.9 5.7-9.5 12.4-15.4 15.4l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.9-.3-13.1-4.2-16.4-10.2l-1-2.1c-2.8-6.1-1.6-13.3 2.9-18.2l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L181 226c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c5.5-5.2 11.6-9.6 18.2-13.1l2.1-1c5.7-2.9 5-5.1-1.1-5.1-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.6-3.5-12.7-7.9-18.2-13.1l-6.8-6.8c-5.2-5.4-9.6-11.5-13.1-18.2l-1-2.1c-3.1-6.8-4.9-14.2-5.1-21.7V121c0-6.3 3.1-15.6 6.9-20.6l20.2-26.9c3.8-5.1 8.1-4.3 9.6 1.8l5.8 23.3c2 7.3 4.6 14.4 7.9 21.2l1 2.1c2.9 5.7 8.7 13.8 13.1 18.2l-4.7-4.7c4.4 4.4 4.4 11.6 0 16l4.7-4.7c-4.4 4.4-3.6 10.2 2.3 13.1l2.1 1c5.7 2.9 10.2 0 10.2-6.2v11.3c0-6.2 2.2-15.7 5.1-21.6l1-2.1c2.8-6.1 1.7-13.2-2.8-18.2l-22.7-22.7 4.7 4.7c-4.4-4.4-3.6-10.2 2.3-13.1l2.1-1c6.1-2.8 13.2-1.7 18.2 2.8l22.7 22.7-4.8-4.5zm-18-40.7c-4.4-4.4-3.2-9.5 2.8-11.5l12.4-4.2c6-2 15.5-2 21.5 0l12.4 4.2c6 2 7.2 7.1 2.8 11.5l-6.8 6.8c-5.3 4.7-12.1 7.5-19.2 7.9-6.2 0-14.8-3.5-19.2-7.9.1 0-6.7-6.8-6.7-6.8z"}),r.createElement("path",{fill:"#215F90",d:"M233.9 200.2c0 6.2 1.7 6.4 4.2.5 0 0 7.1-23.2 18.4-23.2 11.3 0 18.6 23.6 18.6 23.6 2.2 5.7 4 5.3 4-1.1v-11.2c0-18.7-10.1-33.9-22.6-33.9-12.5 0-22.6 15.2-22.6 33.9v11.4z"}))},Aa=function(e){var t=e.title,n=Ur(e,Ft);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 108 72"},n),t&&r.createElement("title",null,t),r.createElement("path",{d:"M0 0h108v72H0z",fill:"#003787"}),r.createElement("path",{d:"M0 0h108L60 48v24H48V48z",fill:"#fff"}),r.createElement("circle",{cx:54,cy:30,r:8,fill:"#f9d90f"}),r.createElement("path",{d:"M44 30h20L54 48z",fill:"#fff"}),r.createElement("path",{d:"M54 48 38 33h32z",fill:"#cf142b"}))},ka=function(e){var t=e.title,n=Ur(e,Lt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#6DA544",d:"M512 426.666V85.329H0v341.337h512z"}),r.createElement("path",{fill:"#D80027",d:"M512 85.331H0v170.666h512V85.331z"}),r.createElement("path",{fill:"#FFF",d:"M0 85.334h181.793v341.337H0z"}))},Ma=function(e){var t=e.title,n=Ur(e,Bt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#1E509C",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M513 176.1V81.3L0 342l513-165.9z"}),r.createElement("path",{fill:"#F18D36",d:"M513 0v81.3L0 342 513 0z"}),r.createElement("path",{fill:"#FFF",d:"m126.7 99.3-7.8-54.1-7.7 54.1-20.8-23.7 10.7 31.6-31.5-10.7 23.6 20.8-54.1 7.7 54.1 7.7-23.6 20.8 31.5-10.7-10.7 31.6 20.8-23.7 7.7 54.1 7.8-54.1 20.7 23.7-10.6-31.6 31.5 10.7-23.6-20.8 54-7.7-54-7.7 23.6-20.8-31.5 10.7 10.6-31.6z"}))},Ta=function(e){var t=e.title,n=Ur(e,Ht);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 85.333h512V426.67H0z"}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"M383.875 426.662 256 252.286l26.827 174.376zM133.565 85.33 256 252.286 230.314 85.33zm95.606 341.332L256 252.286 128.124 426.662zM0 85.33V212.9l256 39.386L28.333 85.33zm0 341.332h18.212L256 252.286 0 291.67zm256-174.376L512 212.9V85.33h-28.331zM281.686 85.33 256 252.286 378.434 85.33zM512 426.662V291.671l-256-39.385 237.787 174.376z"}),r.createElement("circle",{cx:256,cy:252.29,r:59.359})),r.createElement("circle",{fill:"#FFDA44",cx:256,cy:252.29,r:44.522}))},Pa=function(e){var t=e.title,n=Ur(e,Vt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.337H0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 85.331h170.663v341.337H0z"}),r.createElement("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"}))},Ia=function(e){var t=e.title,n=Ur(e,Ut);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#6DA544",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v113.775H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 312.888h512v113.775H0z"}),r.createElement("path",{fill:"#FFF",d:"M384 227.261h-97.783L256 134.265l-30.217 92.997H128l79.108 57.475-30.217 92.998L256 320.925l79.108 56.81-30.217-92.998L384 227.261z"}))},ja=function(e){var t=e.title,n=Ur(e,Wt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#095FAD",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M342 0h171v342H342zM0 0h171v342H0z",fill:"#BE1229"}),r.createElement("g",{fill:"#FFDA44"},r.createElement("path",{d:"M108.3 166.3h14.8v74.2h-14.8zm-59.4 0h14.8v74.2H48.9z"}),r.createElement("circle",{cx:86,cy:203.4,r:14.8}),r.createElement("path",{d:"M71.2 225.7h29.7v14.8H71.2zm0-59.4h29.7v14.8H71.2z"}),r.createElement("circle",{cx:86,cy:144,r:14.8}),r.createElement("path",{d:"M76.3 123.9h19.5L86 108.3z"})))},za=function(e){var t=e.title,n=Ur(e,qt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#00745a",d:"M0 85.331h512v341.337H0z"}),r.createElement("path",{fill:"#FFF",d:"M285.682 248.878c-4.19 0-8.166.836-11.861 2.164 2.023-4.509 3.379-9.527 3.379-14.885 0-21.201-21.201-37.101-21.201-37.101s-21.201 15.901-21.201 37.101c0 5.357 1.356 10.375 3.379 14.885-3.693-1.328-7.671-2.164-11.861-2.164-21.201 0-37.101 21.201-37.101 21.201s15.901 21.201 37.101 21.201c12.429 0 23.031-7.286 29.682-13.315 6.65 6.03 17.251 13.315 29.682 13.315 21.201 0 37.101-21.201 37.101-21.201s-15.899-21.201-37.099-21.201z"}),r.createElement("path",{d:"m256 152.111 4.38 13.476h14.171l-11.464 8.332 4.376 13.476-11.463-8.33-11.463 8.33 4.376-13.476-11.464-8.332h14.171zm-53.888 23.572 8.425 7.585 9.818-5.667-4.61 10.355 8.423 7.588-11.274-1.185-4.611 10.355-2.358-11.088-11.275-1.185 9.818-5.669zm-39.45 39.449 11.09 2.358 5.668-9.818 1.186 11.274 11.089 2.358-10.357 4.61 1.186 11.274-7.587-8.423-10.357 4.61 5.669-9.818zm147.227-39.449-8.425 7.585-9.818-5.667 4.611 10.355-8.425 7.588 11.275-1.185 4.61 10.355 2.359-11.088 11.275-1.185-9.818-5.669zm39.449 39.449-11.089 2.358-5.669-9.818-1.186 11.274-11.088 2.358 10.357 4.61-1.185 11.274 7.586-8.423 10.357 4.61-5.669-9.818z",fill:"#FFDA44"}),r.createElement("path",{d:"M256 350.642c16.84 0 32.363-5.619 44.816-15.073h-89.63c12.451 9.454 27.974 15.073 44.814 15.073zm-68.023-44.522a74.138 74.138 0 0 0 8.85 15.073h118.345a74.13 74.13 0 0 0 8.85-15.073H187.977z",fill:"#FFF"}))},Da=function(e){var t=e.title,n=Ur(e,Kt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 750 500"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0071BC",d:"M0 0h750v500H0V0z"}),r.createElement("g",{fill:"#FFF",stroke:"#000",strokeWidth:1.9},r.createElement("circle",{cx:375,cy:245,r:225,fill:"#fff"}),r.createElement("circle",{cx:375,cy:245,r:165,fill:"#0071BC"})),r.createElement("g",{stroke:"#000"},r.createElement("path",{fill:"#8C8A8C",strokeWidth:1.9,d:"M444.7 450c.7 11-7.8 20-18.8 20H323.6c-11 0-19.5-9-19-20l16.7-325c.6-11 10-20 21-20h61.4c11 0 20.5 9 21.2 20l19.8 325z"}),r.createElement("path",{fill:"#FFF",strokeWidth:2,strokeLinejoin:"round",d:"m373 114 30 93h97l-78 56 29 92-78-56-78 57 30-93-79-57h97l30-92z"})))},Ra=function(e){var t=e.title,n=Ur(e,Gt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),r.createElement("g",{fill:"#fff"},r.createElement("path",{d:"M512 148.4v44.5H278.3v148.4h-44.6V192.9H0v-44.5h233.7V0h44.6v148.4z"}),r.createElement("path",{d:"M101 36.1c4.2-.2 8.3-.1 12.5.2 5.5.4 9.4 1.6 9.1.5-.5-1.8-.1-2.2-.8-1.8-1.3 1 .7-.2-7.4 4.4-11.8 6.7-16.9 11.8-14.3 21 2.3 8.1 8.2 10.3 22.3 12.5l1.9.3c5.6.9 8.1 1.4 9.8 2.2.4.2-.3-1-.1-1.7-.2.6-3.9 2.1-13.3 3.9l-4.7.9c-18.1 3.7-27.1 8.5-28.5 21-1.5 13.7 12.7 23.3 30.6 25.6 18.2 2.4 34.1-3.6 35.7-18.4 1-9.4-5.5-15-15.9-17.1-7-1.4-16.3-1.4-27.4-.3-12.4 1.3-24.7 3.4-36.9 6.3-3.6.7-5.9 4.2-5.2 7.8.7 3.6 4.2 5.9 7.8 5.2.2 0 .3-.1.5-.1 11.6-2.7 23.3-4.7 35.1-5.9 9.9-1 18-1 23.4.1 4.4.9 5.3 1.7 5.2 2.6-.5 5.1-8.9 8.2-20.7 6.7-11.6-1.5-19.5-6.8-19.1-11 .5-4.3 5.3-6.8 17.9-9.4l4.6-.9c15.5-3 21.1-5.3 23.5-13.2 1.9-6.5-1.3-11.6-7.2-14.2-3.2-1.4-6.3-2.1-13.2-3.1l-1.8-.3c-8-1.3-11.4-2.6-11.5-3-.1-.4 1.8-2.3 8.1-5.9l4.4-2.5c1.5-.8 2.9-1.8 4.3-2.7 4.6-3.4 7.2-7.1 5.8-12.3-1.9-7.3-9-9.5-20.9-10.4-4.7-.3-9.3-.4-14-.3l-2 .1c-3.7.2-6.5 3.4-6.3 7 .2 3.7 3.4 6.5 7 6.3l1.7-.1zm284 0c4.2-.2 8.3-.1 12.5.2 5.5.4 9.4 1.6 9.1.5-.5-1.8-.1-2.2-.8-1.8-1.3 1 .7-.2-7.4 4.4-11.8 6.7-16.9 11.8-14.3 21 2.3 8.1 8.2 10.3 22.3 12.5l1.9.3c5.6.9 8.1 1.4 9.8 2.2.4.2-.3-1-.1-1.7-.2.6-3.9 2.1-13.3 3.9l-4.7.9c-18.1 3.7-27.1 8.5-28.5 21-1.5 13.7 12.7 23.3 30.6 25.6 18.2 2.4 34.1-3.6 35.7-18.4 1-9.4-5.5-15-15.9-17.1-7-1.4-16.3-1.4-27.4-.3-12.4 1.3-24.7 3.4-36.9 6.3-3.6.7-5.9 4.2-5.2 7.8.7 3.6 4.2 5.9 7.8 5.2.2 0 .3-.1.5-.1 11.6-2.7 23.3-4.7 35.1-5.9 9.9-1 18-1 23.4.1 4.4.9 5.3 1.7 5.2 2.6-.5 5.1-8.9 8.2-20.7 6.7-11.6-1.5-19.5-6.8-19.1-11 .5-4.3 5.3-6.8 17.9-9.4l4.6-.9c15.5-3 21.1-5.3 23.5-13.2 1.9-6.5-1.3-11.6-7.2-14.2-3.2-1.4-6.3-2.1-13.2-3.1l-1.8-.3c-8-1.3-11.4-2.6-11.5-3-.1-.4 1.8-2.3 8.1-5.9l4.4-2.5c1.5-.8 2.9-1.8 4.3-2.7 4.6-3.4 7.2-7.1 5.8-12.3-1.9-7.3-9-9.5-20.9-10.4-4.7-.3-9.3-.4-14-.3l-2 .1c-3.7.2-6.5 3.4-6.3 7 .2 3.7 3.4 6.5 7 6.3l1.7-.1zm-5.4 199c4.2-.2 8.3-.1 12.5.2 5.5.4 9.4 1.6 9.1.5-.5-1.8-.1-2.2-.8-1.8-1.3 1 .7-.2-7.4 4.4-11.8 6.7-16.9 11.8-14.3 21 2.3 8.1 8.2 10.3 22.3 12.5l1.9.3c5.6.9 8.1 1.4 9.8 2.2.4.2-.3-1-.1-1.7-.2.6-3.9 2.1-13.3 3.9l-4.7.9c-18.1 3.7-27.1 8.5-28.5 21-1.5 13.7 12.7 23.3 30.6 25.6 18.2 2.4 34.1-3.6 35.7-18.4 1-9.4-5.5-15-15.9-17.1-7-1.4-16.3-1.4-27.4-.3-12.4 1.3-24.7 3.4-36.9 6.3-3.6.7-5.9 4.2-5.2 7.8.7 3.6 4.2 5.9 7.8 5.2.2 0 .3-.1.5-.1 11.6-2.7 23.3-4.7 35.1-5.9 9.9-1 18-1 23.4.1 4.4.9 5.3 1.7 5.2 2.6-.5 5.1-8.9 8.2-20.7 6.7-11.6-1.5-19.5-6.8-19.1-11 .5-4.3 5.3-6.8 17.9-9.4l4.6-.9c15.5-3 21.1-5.3 23.5-13.2 1.9-6.5-1.3-11.6-7.2-14.2-3.2-1.4-6.3-2.1-13.2-3.1l-1.8-.3c-8-1.3-11.4-2.6-11.5-3-.1-.4 1.8-2.3 8.1-5.9l4.4-2.5c1.5-.8 2.9-1.8 4.3-2.7 4.6-3.4 7.2-7.1 5.8-12.3-1.9-7.3-9-9.5-20.9-10.4-4.7-.3-9.3-.4-14-.3l-2 .1c-3.7.2-6.5 3.4-6.3 7s3.4 6.5 7 6.3l1.7-.1zm-278.6 0c4.2-.2 8.3-.1 12.5.2 5.5.4 9.4 1.6 9.1.5-.5-1.8-.1-2.2-.8-1.8-1.3 1 .7-.2-7.4 4.4-11.8 6.7-16.9 11.8-14.3 21 2.3 8.1 8.2 10.3 22.3 12.5l1.9.3c5.6.9 8.1 1.4 9.8 2.2.4.2-.3-1-.1-1.7-.2.6-3.9 2.1-13.3 3.9l-4.7.9c-18.1 3.7-27.1 8.5-28.5 21-1.5 13.7 12.7 23.3 30.6 25.6 18.2 2.4 34.1-3.6 35.7-18.4 1-9.4-5.5-15-15.9-17.1-7-1.4-16.3-1.4-27.4-.3-12.4 1.3-24.7 3.4-36.9 6.3-3.6.7-5.9 4.2-5.2 7.8s4.2 5.9 7.8 5.2c.2 0 .3-.1.5-.1 11.6-2.7 23.3-4.7 35.1-5.9 9.9-1 18-1 23.4.1 4.4.9 5.3 1.7 5.2 2.6-.5 5.1-8.9 8.2-20.7 6.7-11.6-1.5-19.5-6.8-19.1-11 .5-4.3 5.3-6.8 17.9-9.4l4.6-.9c15.5-3 21.1-5.3 23.5-13.2 1.9-6.5-1.3-11.6-7.2-14.2-3.2-1.4-6.3-2.1-13.2-3.1l-1.8-.3c-8-1.3-11.4-2.6-11.5-3-.1-.4 1.8-2.3 8.1-5.9l4.4-2.5c1.5-.8 2.9-1.8 4.3-2.7 4.6-3.4 7.2-7.1 5.8-12.3-1.9-7.3-9-9.5-20.9-10.4-4.7-.3-9.3-.4-14-.3l-2 .1c-3.7.2-6.5 3.4-6.3 7 .2 3.7 3.4 6.5 7 6.3l1.7-.1z"})))},Na=function(e){var t=e.title,n=Ur(e,Xt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 100 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#006233",d:"M0 100h513v342H0z"}),r.createElement("path",{fill:"#cd2a3e",d:"M0 100h513v46H0zm0 296h513v46H0z"}),r.createElement("path",{fill:"#ffc400",d:"M256 298.851c-45.956 0-84.348-32.298-93.767-75.429A96.288 96.288 0 0 0 160 243.994c0 53.02 42.979 96 96 96s96-42.98 96-96c0-7.066-.785-13.942-2.233-20.572-9.419 43.131-47.811 75.429-93.767 75.429z"}),r.createElement("path",{fill:"#ffc400",d:"m255.999 171.994 8.935 27.502h28.918l-23.394 16.996 8.936 27.503-23.395-16.998-23.394 16.998 8.937-27.503-23.394-16.996h28.915z"}))},$a=function(e){var t=e.title,n=Ur(e,Yt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#1B4991",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#00A2B8",stroke:"#FFF",strokeWidth:3,d:"M318.2 106.7v106.5c0 51.9 67.8 67.8 67.8 67.8s67.8-15.9 67.8-67.8V106.7H318.2z"}),r.createElement("path",{fill:"#A35023",d:"M319.7 212.7c0 50.8 66.3 66.3 66.3 66.3s66.3-15.6 66.3-66.3H319.7z"}),r.createElement("path",{d:"M415.1 155.1h-19.4v-19.4h-19.4v19.4H357v19.4h19.3v58.1h19.4v-58.1h19.4z"}),r.createElement("path",{fill:"#FFF",d:"M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"}),r.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),r.createElement("path",{fill:"#0052B4",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),r.createElement("path",{fill:"#FFF",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),r.createElement("path",{fill:"#D80027",d:"M155.8 115 256 170.7v-15.8L184.2 115zm-84 0L0 154.9v15.8L100.2 115z"}),r.createElement("path",{fill:"#0052B4",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),r.createElement("path",{fill:"#FFF",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),r.createElement("path",{fill:"#D80027",d:"M100.2 55.6 0 0v15.7l71.8 39.9zm84 0L256 15.7V0L155.8 55.6z"}))},Fa=function(e){var t=e.title,n=Ur(e,Zt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#C31B28",d:"M256 0h256.5v342H256z"}),r.createElement("path",{fill:"#ACABB1",stroke:"#C31B28",strokeWidth:2,d:"M101.2 68.2V33H66v35.2H30.8v35.2H66v35.2h35.2v-35.2h35.2V68.2z"}))},La=function(e){var t=e.title,n=Ur(e,Jt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#f7ce00",d:"M0 85.331h512v341.326H0z"}),r.createElement("path",{fill:"#e32737",d:"M0 85.331h512v85.337H0z"}),r.createElement("path",{fill:"#191f6a",d:"M0 170.657h512v85.337H0z"}),r.createElement("path",{fill:"#00a04e",d:"M0 341.331h512v85.337H0z"}))},Ba=function(e){var t=e.title,n=Ur(e,Qt);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#d01920",d:"M0 85.331h512v341.333H0z"}),r.createElement("path",{fill:"#017c3b",d:"M144.696 174.375h222.609v163.25H144.696z"}),r.createElement("path",{fill:"#FFF",d:"M283.484 304.226c-26.637 0-48.232-21.594-48.232-48.232s21.594-48.232 48.232-48.232c8.306 0 16.12 2.1 22.943 5.797-10.703-10.467-25.341-16.927-41.494-16.927-32.784 0-59.362 26.577-59.362 59.362s26.578 59.362 59.362 59.362c16.154 0 30.791-6.461 41.494-16.927-6.822 3.698-14.636 5.797-22.943 5.797z"}))},Ha=function(e){var t=e.title,n=Ur(e,en);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#272727",d:"M0 0h512v114H0z"}),r.createElement("path",{fill:"#e40112",d:"M0 114h512v114H0z"}),r.createElement("path",{fill:"#07893f",d:"M0 228h512v114H0z"}),r.createElement("circle",{fill:"#e40112",cx:256,cy:125,r:95}))},Va=function(e){var t=e.title,n=Ur(e,tn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#dc2339",d:"M342 0H0v341.3h513V0z"}),r.createElement("path",{fill:"#11865d",d:"M0 0h171v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M171 0h171v342H171z"}),r.createElement("path",{fill:"#8C9157",d:"M195.8 171.2c0 21.6 11.5 41.7 30.3 52.5 5.8 3.4 13.2 1.4 16.6-4.4 3.4-5.8 1.4-13.2-4.4-16.6-11.3-6.5-18.2-18.5-18.2-31.5 0-6.7-5.4-12.1-12.1-12.1-6.7 0-12.2 5.4-12.2 12.1zm93.4 51.1c17.5-11.1 28-30.4 28-51.1 0-6.7-5.4-12.1-12.1-12.1s-12.1 5.4-12.1 12.1c0 12.4-6.3 24-16.8 30.7-5.7 3.5-7.5 10.9-4.1 16.7s10.9 7.5 16.7 4.1c0-.2.2-.3.4-.4z"}),r.createElement("ellipse",{fill:"#C59262",cx:256.5,cy:159.1,rx:24.3,ry:36.4}))},Ua=function(e){var t=e.title,n=Ur(e,nn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0zm0 48.9h513V171H0zm0 48.8h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0z",fill:"#c00"}),r.createElement("path",{fill:"#006",d:"M0 0h256.5v195.4H0z"}),r.createElement("path",{d:"M153.3 42.1C122.6 30.7 88.5 46.3 77.1 77s4.2 64.8 34.9 76.2c13.3 5 28 5 41.4 0-30.7 24.5-75.4 19.6-100-11.1s-19.6-75.4 11.1-100c26-20.7 62.9-20.7 88.8 0zm26.7 75-20.6 23.3 5.4-30.6-31-1.6 27.3-14.9L143 68l28.6 12 8.4-29.9 8.4 29.9L217 68l-18 25.4 27.3 14.9-31 1.6 5.4 30.6-20.7-23.4z",fill:"#fc0"}))},Wa=function(e){var t=e.title,n=Ur(e,rn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.333h513v342H0z"}),r.createElement("path",{fill:"#f4d900",d:"M0 323.333h513v104H0z"}),r.createElement("path",{fill:"#006d66",d:"M0 85.333h513v104H0z"}),r.createElement("path",{d:"M0 204.333h513v104H0z"}),r.createElement("path",{fill:"#cb0f31",d:"M256 256.006 0 426.668V85.331z"}),r.createElement("path",{fill:"#f4d900",d:"m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"}))},qa=function(e){var t=e.title,n=Ur(e,on);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#496E2D",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 426.663V85.337h512"}),r.createElement("path",{fill:"#FFF",d:"M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"}),r.createElement("path",{fill:"#A2001D",d:"M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"}),r.createElement("path",{fill:"#FFDA44",d:"m187.737 189.212-22.741 10.696 12.11 22.024-24.693-4.724-3.129 24.945-17.199-18.347-17.2 18.347-3.129-24.945-24.693 4.723 12.109-22.023-22.739-10.696 22.74-10.697-12.11-22.022 24.693 4.722 3.13-24.944 17.199 18.347 17.2-18.347 3.128 24.944 24.693-4.722-12.108 22.024z"}))},Ka=function(e){var t=e.title,n=Ur(e,an);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 426.7"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#009543",d:"M0 293h640v133.7H0V293z"}),r.createElement("path",{fill:"#ED4135",d:"M0 132h640v161.3H0V132z"}),r.createElement("path",{fill:"#0035AD",d:"M0 0h640v133.3H0V0z"}),r.createElement("circle",{fill:"#FAE600",stroke:"#000",strokeWidth:5.3,cx:240,cy:213.3,r:157.3}),r.createElement("path",{d:"m307.9 354.5-31.8 12-36.1 4.2-37.8-2.4-35.9-15.5s28.6-29.3 40.7-33.5c8.6-3 22.4-3.7 22.4-3.7V122l-.3-66H246l-.5 67.5v191.7s15.3 1.2 22.1 4.1c11.3 4.9 40.3 35.2 40.3 35.2z"}),r.createElement("path",{d:"m212.727 102.375 42.955-21.418 5.577 11.187-42.955 21.417z"}),r.createElement("ellipse",{cx:237.8,cy:280.5,rx:16.8,ry:26.5}),r.createElement("circle",{cx:237.4,cy:143.4,r:20.9}),r.createElement("ellipse",{cx:238.4,cy:211.1,rx:19.9,ry:12.1}),r.createElement("path",{d:"M213.8 177h47v10h-47zm0 57h47v10h-47z"}))},Ga=function(e){var t=e.title,n=Ur(e,sn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#e05206",d:"M0 85.337h512v113.775H0z"}),r.createElement("path",{fill:"#0db02b",d:"M0 312.888h512v113.775H0z"}),r.createElement("circle",{fill:"#e05206",cx:256,cy:256,r:32}))},Xa=function(e){var t=e.title,n=Ur(e,ln);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.5 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.5h513v342H0z"}),r.createElement("path",{d:"M0 85.5h171v342H0zm342 0h171v342H342zm-38 226.495-48-152.001-48 152.001h36v39.999h24v-39.999z",fill:"#007b23"}))},Ya=function(e){var t=e.title,n=Ur(e,cn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.5 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.5h513v342H0z"}),r.createElement("path",{d:"M0 85.5h171v342H0zm342 0h171v342H342z",fill:"#007b23"}))},Za=function(e){var t=e.title,n=Ur(e,un);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#338AF3"}),r.createElement("path",{fill:"#FFDA44",d:"M256 214.447c-22.949 0-41.553 18.603-41.553 41.553S233.05 297.553 256 297.553c22.949 0 41.553-18.603 41.553-41.553S278.949 214.447 256 214.447zm0 65.298c-13.114 0-23.745-10.631-23.745-23.745s10.631-23.745 23.745-23.745 23.745 10.631 23.745 23.745-10.631 23.745-23.745 23.745z"}),r.createElement("path",{fill:"#0052B4",d:"M276.563 261.936 256 256l-20.563 5.936-6.855 11.873h54.836z"}),r.createElement("path",{fill:"#338AF3",d:"m256 226.32-13.709 23.744L256 256l13.709-5.936z"}),r.createElement("path",{fill:"#6DA544",d:"M235.437 261.936h41.126l-6.854-11.872h-27.418z"}))},Ja=function(e){var t=e.title,n=Ur(e,dn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 114h513v114H0z"}),r.createElement("path",{fill:"#cd1f2a",d:"M0 0h513v114H0z"}),r.createElement("path",{fill:"#1d4185",d:"M0 228h513v114H0z"}))},Qa=function(e){var t=e.title,n=Ur(e,fn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 85.334h512v341.337H0z"}),r.createElement("path",{fill:"#FFF",d:"M512 295.883H202.195v130.783h-79.76V295.883H0v-79.772h122.435V85.329h79.76v130.782H512v61.218z"}),r.createElement("path",{fill:"#2E52B2",d:"M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"}))},es=function(e){var t=e.title,n=Ur(e,hn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 426.663V85.337l280.419 174.75H87.61l183.576 166.576z"}),r.createElement("path",{fill:"#D80027",d:"M244.769 249.888 10.199 103.71v312.754h234.57L61.193 249.888z"}),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"m98.003 324.433-14.589-6.863 7.77-14.13-15.844 3.03-2.008-16.005-11.035 11.772-11.036-11.772-2.008 16.005-15.843-3.031 7.77 14.131-14.591 6.863 14.591 6.862-7.77 14.13 15.844-3.029 2.007 16.004 11.036-11.772L73.332 358.4l2.008-16.004 15.843 3.03-7.769-14.13zm-9.735-132.771-10.612-4.991 5.651-10.278-11.523 2.205-1.461-11.641-8.026 8.561-8.026-8.561-1.46 11.641-11.525-2.205 5.652 10.278-10.613 4.991 25.972 5.194z"}),r.createElement("path",{d:"M93.462 191.662c0 17.212-13.953 31.165-31.165 31.165s-31.165-13.953-31.165-31.165"})))},ts=function(e){var t=e.title,n=Ur(e,pn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M0 239.994h512v32H0z"}),r.createElement("path",{fill:"#FFF",d:"m174.802 341.329-19.124 8.996 10.184 18.521-20.767-3.973-2.631 20.978L128 370.422l-14.465 15.429-2.63-20.978-20.767 3.973 10.183-18.521-19.123-8.996 19.124-8.995-10.184-18.52 20.766 3.971 2.632-20.978L128 312.236l14.465-15.429 2.63 20.978 20.767-3.971-10.183 18.521z"}))},ns=function(e){var t=e.title,n=Ur(e,mn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 85.334h512v341.337H0z"}),r.createElement("path",{fill:"#FFF",d:"M0 85.334h256v170.663H0z"}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"}),r.createElement("path",{d:"M0 85.329v15.083l57.377 38.251H80z"})),r.createElement("path",{d:"M0 107.951v30.712h46.069zm96-22.62v48.913L22.628 85.331z",fill:"#2E52B2"}),r.createElement("path",{fill:"#D80027",d:"M256 85.329v15.083l-57.377 38.251H176z"}),r.createElement("path",{d:"M256 107.951v30.712h-46.069zm-96-22.62v48.913l73.372-48.913z",fill:"#2E52B2"}),r.createElement("path",{fill:"#D80027",d:"M0 85.329v15.083l57.377 38.251H80z"}),r.createElement("path",{d:"M0 107.951v30.712h46.069zm96-22.62v48.913L22.628 85.331z",fill:"#2E52B2"}),r.createElement("path",{fill:"#D80027",d:"M256 85.329v15.083l-57.377 38.251H176z"}),r.createElement("path",{d:"M256 107.951v30.712h-46.069zm-96-22.62v48.913l73.372-48.913z",fill:"#2E52B2"}),r.createElement("path",{fill:"#D80027",d:"M0 255.997v-15.082l57.377-38.252H80z"}),r.createElement("path",{d:"M0 233.376v-30.713h46.069zm96 22.618v-48.912l-73.372 48.912z",fill:"#2E52B2"}),r.createElement("path",{fill:"#D80027",d:"M256 255.997v-15.082l-57.377-38.252H176z"}),r.createElement("g",{fill:"#2E52B2"},r.createElement("path",{d:"M256 233.376v-30.713h-46.069zm-96 22.618v-48.912l73.372 48.912z"}),r.createElement("circle",{cx:128,cy:170.66,r:22.627})),r.createElement("path",{d:"m128 154.663 3.97 12.222h12.854l-10.398 7.556 3.971 12.222L128 179.109l-10.398 7.554 3.972-12.222-10.398-7.556h12.853zm0 65.14 2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zm0-117.334 2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zm69.931 58.667 2.365 7.277h7.653l-6.192 4.499 2.365 7.279-6.191-4.498-6.191 4.498 2.365-7.279-6.191-4.499h7.652zm-139.862 0 2.364 7.277h7.653l-6.191 4.499 2.364 7.279-6.19-4.498-6.191 4.498 2.365-7.279-6.192-4.499h7.653z",fill:"#FFDA44"}))},rs=function(e){var t=e.title,n=Ur(e,vn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 85.334h512v341.337H0z"}),r.createElement("path",{d:"m425.301 233.745 3.388 10.428h10.963l-8.87 6.444 3.388 10.427-8.869-6.444-8.871 6.444 3.388-10.427-8.87-6.444h10.963zm-39.194 75.072 5.083 15.642h16.445l-13.305 9.667 5.082 15.64-13.305-9.667-13.305 9.667 5.083-15.64-13.305-9.667h16.445zm1.481-122.846 4.236 13.036h13.704l-11.088 8.054 4.235 13.034-11.087-8.056-11.088 8.056 4.235-13.034-11.087-8.054h13.704zm-37.712 47.32 5.082 15.641h16.446l-13.306 9.666 5.084 15.641-13.306-9.666-13.305 9.666 5.082-15.641-13.305-9.666h16.445z",fill:"#D80027"}),r.createElement("path",{fill:"#FFF",d:"M256.003 85.329v30.564l-45.178 25.088h45.178v59.359H196.89l59.113 32.846v22.806h-26.69l-73.484-40.826v40.826h-55.652v-48.573l-87.429 48.573H.003v-30.553l45.168-25.099H.003v-59.359h59.103L.003 108.147V85.329h26.68l73.494 40.838V85.329h55.652v48.573l87.43-48.573z"}),r.createElement("path",{fill:"#D80027",d:"M144 85.33h-32v69.334H0v32h112v69.334h32v-69.334h112v-32H144z"}),r.createElement("path",{fill:"#0052B4",d:"M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"}),r.createElement("path",{fill:"#FFF",d:"M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"}),r.createElement("path",{d:"M155.826 200.344 256 255.998v-15.739l-71.847-39.915zm-83.98 0L0 240.259v15.739l100.174-55.654z",fill:"#D80027"}),r.createElement("path",{fill:"#0052B4",d:"M100.174 140.983 0 85.33v15.738l71.847 39.915z"}),r.createElement("path",{fill:"#FFF",d:"M100.174 140.983 0 85.33v15.738l71.847 39.915z"}),r.createElement("path",{d:"M100.174 140.983 0 85.33v15.738l71.847 39.915zm83.98 0L256 101.068V85.33l-100.174 55.653z",fill:"#D80027"}))},os=function(e){var t=e.title,n=Ur(e,gn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M138 0h377v114H138z"}),r.createElement("path",{fill:"#4A7C3A",d:"M138 230h377v114H138z"}),r.createElement("g",{fill:"none",stroke:"#FFF",strokeWidth:10,strokeMiterlimit:2},r.createElement("path",{d:"M40.3 35.2s37.1 48 50.8 54.5c13.7 6.5 17.1 5.7 17.1 5.7"}),r.createElement("path",{d:"M100 35.2S62.9 80.6 53.3 87.6c-9.6 7-18.7 7.8-18.7 7.8m17.1-30.1h37.9M70.7 35.2v30.1"})))},is=function(e){var t=e.title,n=Ur(e,yn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#0052B4",d:"M256 256v170.663H0V256h256z"}),r.createElement("path",{fill:"#D80027",d:"M512 85.337V256H256V85.337h256z"}),r.createElement("path",{fill:"#0052B4",d:"m128 123.034 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L128 195.813l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"}),r.createElement("path",{fill:"#D80027",d:"m384 293.697 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L384 366.476l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"}))},as=function(e){var t=e.title,n=Ur(e,bn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.331h512v341.326H0z"}),r.createElement("path",{d:"M0 85.331h170.663v341.337H0zm341.337 0H512v341.337H341.337z",fill:"#D80027"}))},ss=function(e){var t=e.title,n=Ur(e,wn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#D80027"}),r.createElement("path",{fill:"#FFDA44",d:"M293.991 256c0 20.982-17.01 33.243-37.992 33.243S218.008 276.982 218.008 256s17.01-37.992 37.992-37.992 37.991 17.01 37.991 37.992z"}),r.createElement("path",{fill:"#0052B4",d:"M293.991 256c0 20.982-17.01 37.992-37.992 37.992s-37.992-17.01-37.992-37.992"}),r.createElement("path",{d:"M232.259 246.506h9.498v19h-9.498zm37.988 0h9.498v19h-9.498zm-19-14.247h9.498v33.243h-9.498z",fill:"#D80027"}))},ls=function(e){var t=e.title,n=Ur(e,En);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{d:"M0 85.333h512V426.67H0z"}),r.createElement("path",{fill:"#A2001D",d:"M0 85.33h512v341.332"}),r.createElement("path",{d:"m204.631 326.488 2.762 8.504h8.941l-7.233 5.255 2.763 8.502-7.233-5.254-7.233 5.254 2.762-8.502-7.233-5.255h8.94zm-22.834-81.622 4.605 14.172h14.901l-12.056 8.757 4.605 14.172-12.055-8.759-12.055 8.759 4.606-14.172-12.056-8.757h14.901zm0 103.883 4.604 14.173h14.902l-12.057 8.757 4.606 14.173-12.055-8.759-12.055 8.759 4.604-14.173-12.054-8.757h14.899zm43.566-66.782 4.606 14.172h14.901l-12.056 8.758 4.605 14.172-12.056-8.759-12.054 8.759 4.606-14.172-12.056-8.758h14.901zm-87.133 0 4.606 14.172h14.899l-12.054 8.758 4.603 14.172-12.054-8.759-12.055 8.759 4.605-14.172-12.055-8.758h14.9z",fill:"#FFF"}),r.createElement("path",{fill:"#FFDA44",d:"M376.526 204.163c-7.628-7.628-17.538-12.133-28.189-12.908l31.88-24.795c-12.698-12.698-29.714-18.431-46.319-17.218a44.31 44.31 0 0 0-11.396-19.511l-12.593 25.186a18.47 18.47 0 0 0-3.148-4.197c-7.245-7.245-18.991-7.244-26.234 0s-7.245 18.99 0 26.234a18.536 18.536 0 0 0 4.197 3.148l-25.186 12.593a44.303 44.303 0 0 0 19.519 11.399c-1.217 16.606 4.511 33.619 17.209 46.317L324.12 214.6a11.053 11.053 0 0 1 7.807-3.202c2.973 0 5.768 1.158 7.87 3.26a11.055 11.055 0 0 1 3.26 7.87c0 2.974-1.158 5.768-3.26 7.87l10.494 10.494c4.905-4.905 7.607-11.428 7.607-18.364 0-5.675-1.81-11.071-5.153-15.534a29.492 29.492 0 0 1 13.288 7.662c11.573 11.572 11.573 30.403 0 41.975l10.494 10.494c8.409-8.409 13.039-19.59 13.039-31.481-.001-11.892-4.632-23.072-13.04-31.481z"}))},cs=function(e){var t=e.title,n=Ur(e,xn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#0052B4",d:"M512 85.337V256H256L0 85.337z"}),r.createElement("path",{fill:"#D80027",d:"M512 256v170.663H0L256 256z"}),r.createElement("path",{d:"m161.908 256-27.288-12.835 14.532-26.428-29.632 5.668-3.755-29.933-20.64 22.015-20.639-22.015-3.755 29.933-29.631-5.669 14.531 26.428L28.343 256l27.288 12.835L41.1 295.263l29.633-5.668 3.753 29.933 20.639-22.015 20.64 22.015 3.755-29.933 29.631 5.669-14.532-26.427zM21.789 117.607l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.694-14.809-4.932-9.268 12.559.117-15.608-14.809-4.934 14.88-4.712zm0 235.923 9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.695-14.809-4.933-9.268 12.558.117-15.607-14.809-4.934 14.88-4.712zm188.606-117.961-9.081 12.695-14.879-4.713 9.268 12.559-9.081 12.696 14.809-4.933 9.268 12.558-.117-15.607 14.809-4.934-14.88-4.713z",fill:"#FFDA44"}))},us=function(e){var t=e.title,n=Ur(e,Sn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"m393.508 170.516 17.512 18.875 23.363-10.821-12.541 22.487 17.513 18.876-25.263-4.978-12.539 22.488-3.073-25.564-25.263-4.978 23.363-10.82z"}),r.createElement("path",{d:"M0 85.343h512v341.326H0z"})),r.createElement("path",{fill:"#01411c",d:"M128 85.331h384v341.337H128z"}),r.createElement("path",{d:"M361.909 298.793c-31.037 22.426-74.378 15.446-96.804-15.592-22.427-31.038-15.446-74.379 15.593-96.804 9.677-6.992 20.55-11.125 31.613-12.563-21.283-3.183-43.777 1.613-62.598 15.211-38.2 27.602-46.792 80.944-19.191 119.145 27.601 38.199 80.944 46.792 119.145 19.189 18.82-13.598 30.436-33.448 34.096-54.655-4.839 10.05-12.176 19.076-21.854 26.069zm-1.329-125.904 17.484 18.842 23.322-10.802-12.519 22.447 17.483 18.844-25.219-4.968-12.519 22.45-3.067-25.521-25.22-4.969 23.323-10.802z",fill:"#FFF"}))},ds=function(e){var t=e.title,n=Ur(e,_n);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{d:"M0 85.337h512V256H0z"})),r.createElement("path",{fill:"#D80027",d:"M0 256h512v170.663H0z"}))},fs=function(e){var t=e.title,n=Ur(e,On);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 26.666 640 426.666"},n),t&&r.createElement("title",null,t),r.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},r.createElement("path",{fill:"#fff",d:"M0 0h640v480H0z"}),r.createElement("path",{fill:"#00267f",d:"M0 0h213.3v480H0z"}),r.createElement("path",{fill:"#f31830",d:"M426.7 0H640v480H426.7z"})))},hs=function(e){var t=e.title,n=Ur(e,Cn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),r.createElement("path",{fill:"#ACABB1",d:"M400.696 219.822 384 225.387l-16.696-5.565-5.565-13.913 5.565-13.913h33.392l-5.566 13.913z"}),r.createElement("path",{fill:"#338AF3",d:"M345.043 219.822v61.217c0 29.821 38.957 38.957 38.957 38.957s38.957-9.137 38.957-38.957v-61.217h-77.914z"}),r.createElement("path",{fill:"#6DA544",d:"M348.555 295.541C358.131 313.927 384 319.996 384 319.996s25.869-6.069 35.445-24.455L384 236.518l-35.445 59.023z"}),r.createElement("path",{fill:"#FFDA44",d:"M422.957 280.421 384 219.822l-38.957 60.599v.618c0 5.518 1.337 10.328 3.512 14.503L384 240.405l35.445 55.137c2.175-4.175 3.512-8.983 3.512-14.503v-.618z"}),r.createElement("path",{fill:"#FFF",d:"M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"}),r.createElement("path",{fill:"#D80027",d:"M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"}),r.createElement("path",{fill:"#0052B4",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),r.createElement("path",{fill:"#FFF",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),r.createElement("path",{d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915zm-83.98 0L0 240.259v15.737l100.174-55.652z",fill:"#D80027"}),r.createElement("path",{fill:"#0052B4",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),r.createElement("path",{fill:"#FFF",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),r.createElement("path",{d:"M100.174 140.982 0 85.33v15.737l71.847 39.915zm83.98 0L256 101.067V85.33l-100.174 55.652z",fill:"#D80027"}))},ps=function(e){var t=e.title,n=Ur(e,An);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{d:"M0 85.337h512V153.6H0zm0 136.526h512v68.263H0zM0 358.4h512v68.263H0z",fill:"#D80027"}),r.createElement("path",{fill:"#0052B4",d:"M256 256.006 0 426.668V85.331z"}),r.createElement("path",{fill:"#FFF",d:"m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"}))},ms=function(e){var t=e.title,n=Ur(e,kn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{d:"M0 85.337h512v113.775H0z"}),r.createElement("path",{fill:"#268024",d:"M0 312.888h512v113.775H0z"}),r.createElement("path",{fill:"#e4312b",d:"M256 256.006 0 426.668V85.331z"}))},vs=function(e){var t=e.title,n=Ur(e,Mn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#6DA544",d:"M196.641 85.337v341.326H0V85.337z"}),r.createElement("circle",{fill:"#FFDA44",cx:196.641,cy:256,r:64}),r.createElement("path",{fill:"#D80027",d:"M160.638 224v40.001c0 19.882 16.118 36 36 36s36-16.118 36-36V224h-72z"}),r.createElement("path",{fill:"#FFF",d:"M196.638 276c-6.617 0-12-5.383-12-12v-16h24.001v16c-.001 6.616-5.385 12-12.001 12z"}))},gs=function(e){var t=e.title,n=Ur(e,Tn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#338AF3",d:"M0 85.331h512v341.337H0z"}),r.createElement("circle",{fill:"#FFDA44",cx:218.902,cy:255.994,r:74.207}))},ys=function(e){var t=e.title,n=Ur(e,Pn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 312.888h512v113.775H0z"}),r.createElement("path",{fill:"#6DA544",d:"m289.579 216.738-12.592 12.592c5.37 5.372 8.693 12.792 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.112-5.316-24.985-13.91-33.579z"}),r.createElement("path",{fill:"#FFDA44",d:"m256 232.51 4.421 13.605h14.304l-11.573 8.408 4.421 13.604L256 259.719l-11.573 8.408 4.421-13.604-11.573-8.408h14.304z"}))},bs=function(e){var t=e.title,n=Ur(e,In);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#751A46",d:"M0 0h512v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M0 0v342h150.3l37.7-19.6-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19 37.7-18.9-37.7-19 37.7-19-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19L188 57l-37.7-19L188 19.1 150.3 0z"}))},ws=function(e){var t=e.title,n=Ur(e,jn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 26.666 640 426.666"},n),t&&r.createElement("title",null,t),r.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},r.createElement("path",{fill:"#fff",d:"M0 0h640v480H0z"}),r.createElement("path",{fill:"#00267f",d:"M0 0h213.3v480H0z"}),r.createElement("path",{fill:"#f31830",d:"M426.7 0H640v480H426.7z"})))},Es=function(e){var t=e.title,n=Ur(e,zn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 85.331h170.663v341.337H0z"}),r.createElement("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"}))},xs=function(e){var t=e.title,n=Ur(e,Dn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 85.331h512v341.337H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 85.331h512v113.775H0z"}),r.createElement("path",{fill:"#FFF",d:"M0 312.882h512v113.775H0z"}),r.createElement("path",{fill:"#D80027",d:"M129.468 181.793v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.356 256 266.929v-85.136H129.468z"}),r.createElement("path",{d:"M155.634 196.634h74.201v-29.681l-14.841 7.42-22.261-22.26-22.259 22.26-14.84-7.42zm85.526 82.148-48.231-48.231-48.231 48.231 15.741 15.74 32.49-32.49 32.49 32.49z",fill:"#FFDA44"}),r.createElement("path",{fill:"#FFF",d:"M241.16 233.734h-22.504a14.74 14.74 0 0 0 2.001-7.418c0-8.196-6.645-14.84-14.84-14.84-5.663 0-10.581 3.172-13.083 7.836-2.502-4.663-7.421-7.836-13.083-7.836-8.195 0-14.84 6.644-14.84 14.84 0 2.706.736 5.235 2.001 7.418h-22.114c0 8.196 7.139 14.84 15.334 14.84h-.494c0 8.196 6.644 14.84 14.84 14.84 0 7.257 5.211 13.286 12.094 14.576l-11.694 26.401a48.075 48.075 0 0 0 18.149 3.544 48.079 48.079 0 0 0 18.149-3.544l-11.694-26.401c6.883-1.29 12.094-7.319 12.094-14.576 8.196 0 14.84-6.644 14.84-14.84h-.494c8.199 0 15.338-6.644 15.338-14.84z"}))},Ss=function(e){var t=e.title,n=Ur(e,Rn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.33v341.332h512V85.33z"}),r.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),r.createElement("path",{fill:"#FFF",d:"M0 85.333h512v113.775H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 312.884h512v113.775H0z"}))},_s=function(e){var t=e.title,n=Ur(e,Nn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#338AF3",d:"M0 85.331h512v341.337H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M0 255.994h512v81.619H0z"}),r.createElement("path",{fill:"#496E2D",d:"M0 337.614h512v89.043H0z"}),r.createElement("path",{fill:"#FFDA44",d:"m278.261 185.209 20.844 9.804-11.099 20.186 22.632-4.33 2.868 22.865 15.765-16.816 15.766 16.816 2.867-22.865 22.633 4.33-11.099-20.186 20.843-9.804-20.844-9.805 11.1-20.185-22.633 4.329-2.868-22.864-15.765 16.816-15.766-16.816-2.867 22.864-22.634-4.329 11.1 20.187z"}))},Os=function(e){var t=e.title,n=Ur(e,$n);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#055e1c",d:"M0 85.333h512v341.333H0z"}),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"M183.548 289.386c0 12.295 9.731 22.261 21.736 22.261h65.208c0 10.244 8.11 18.551 18.114 18.551h21.736c10.004 0 18.114-8.306 18.114-18.551v-22.261H183.548zm146.716-107.595v51.942c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942h-21.735zm-155.773 51.943c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942H174.49v51.942z"}),r.createElement("path",{d:"M297.661 181.788h21.736v51.942h-21.736zm-32.604 29.685c0 2.046-1.625 3.71-3.623 3.71-1.998 0-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 2.046-1.625 3.71-3.623 3.71s-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 14.32 11.376 25.971 25.358 25.971 5.385 0 10.38-1.733 14.491-4.677 4.11 2.944 9.106 4.677 14.491 4.677 1.084 0 2.15-.078 3.2-.215-1.54 6.499-7.255 11.345-14.068 11.345v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.943h-21.736l.002 29.682z"}),r.createElement("path",{d:"M207.093 248.57h32.601v22.261h-32.601z"})))},Cs=function(e){var t=e.title,n=Ur(e,Fn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#496E2D",d:"M0 85.334h512v341.337H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 426.663V85.329h512"}),r.createElement("path",{fill:"#FFDA44",d:"M0 396.494v30.169h45.255L512 115.499v-30.17h-45.255z"}),r.createElement("path",{d:"m85.688 108.787 5.12 15.756h16.566l-13.403 9.737 5.12 15.757-13.403-9.738-13.405 9.738 5.12-15.757L64 124.543h16.567zm84.624 0 5.121 15.756H192l-13.403 9.737 5.12 15.757-13.405-9.738-13.403 9.738 5.12-15.757-13.403-9.737h16.566zm-84.624 82.502 5.12 15.756h16.566l-13.403 9.738 5.12 15.757-13.403-9.739-13.405 9.739 5.12-15.757L64 207.045h16.567zm84.624 0 5.121 15.756H192l-13.403 9.738 5.12 15.757-13.405-9.739-13.403 9.739 5.12-15.757-13.403-9.738h16.566zM128 150.037l5.12 15.756h16.568l-13.405 9.738 5.12 15.758L128 181.55l-13.403 9.739 5.12-15.758-13.405-9.738h16.568z",fill:"#FFF"}))},As=function(e){var t=e.title,n=Ur(e,Ln);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M235.454 85.337 0 426.663 427.345 85.337z"}),r.createElement("path",{fill:"#6DA544",d:"M512 329.393 0 426.663h512z"}),r.createElement("path",{fill:"#D80027",d:"M512 85.337h-84.655L0 426.663l512-204.512z"}),r.createElement("path",{fill:"#0052B4",d:"M0 85.337v341.326L235.454 85.337z"}))},ks=function(e){var t=e.title,n=Ur(e,Bn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),r.createElement("path",{d:"M0 312.888h512v113.775H0z"}),r.createElement("path",{fill:"#496E2D",d:"M0 426.668V85.331l256 170.675z"}))},Ms=function(e){var t=e.title,n=Ur(e,Hn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M192 85.33h-64v138.666H0v64h128v138.666h64V287.996h320v-64H192z"}))},Ts=function(e){var t=e.title,n=Ur(e,Vn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 85.337h512V256H0z"}),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"M83.478 170.666c0-24.865 17.476-45.637 40.812-50.734a52.059 52.059 0 0 0-11.13-1.208c-28.688 0-51.942 23.254-51.942 51.941s23.255 51.942 51.942 51.942c3.822 0 7.543-.425 11.13-1.208-23.336-5.095-40.812-25.867-40.812-50.733zm66.783-48.231 3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921z"}),r.createElement("path",{d:"m121.344 144.696 3.683 11.337h11.921l-9.645 7.007 3.684 11.337-9.643-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921zm57.834 0 3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.685-11.337-9.645-7.007h11.921zm-11.131 33.391 3.684 11.337h11.921l-9.644 7.007 3.684 11.337-9.645-7.006-9.643 7.006 3.684-11.337-9.644-7.007h11.92zm-35.573 0 3.683 11.337h11.921l-9.644 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.684-11.337-9.644-7.007h11.92z"})))},Ps=function(e){var t=e.title,n=Ur(e,Un);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.3"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h512v341.3H0z"}),r.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),r.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z"})),r.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),r.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z",fill:"#D80027"}),r.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),r.createElement("path",{d:"M0 170.7v-15.1l57.4-38.2H80zm256 0v-15.1l-57.4-38.2H176z",fill:"#D80027"}),r.createElement("path",{fill:"#29DBFF",d:"M449 139.7c-.1 44.4-7.2 92.1-65 114.9-57.8-22.8-64.9-70.5-65-114.9h130z"}),r.createElement("path",{fill:"#ffda44",d:"M449 139.7c0-16.7-.9-32.9-.5-47.1C426.9 83 398.4 81 383.9 81s-42.9 2-64.6 11.6c.4 14.2-.5 30.4-.5 47.1H449z"}),r.createElement("path",{fill:"#BF521B",d:"m369.5 204.5.3 10.3-12.8.2 4.9 13.2h-17.3c-18-20.2-23.4-42.4-24.9-68.1l9.1-9.7 8.3 14.3 10.8-12.8 7 7.8.8 15.7 13.8 29.1z"}),r.createElement("path",{fill:"#474747",d:"m436.6 192.5-8.6 18.3h-47l-29.2-19.5 25.7 10.5h25.1l3.7-6.5 7.2.2 2-3z"}))},Is=function(e){var t=e.title,n=Ur(e,Wn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 199.112h512v113.775H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 312.888h512v113.775H0z"}),r.createElement("path",{fill:"#FFF",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"}),r.createElement("path",{fill:"#0052B4",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"}),r.createElement("path",{fill:"#FFF",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l14.848 14.837 29.674-22.261 29.685 22.261 14.837-14.837z"}))},js=function(e){var t=e.title,n=Ur(e,qn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 85.334h512v341.337H0z"}),r.createElement("path",{fill:"#FFF",d:"M512 295.883H202.195v130.783h-79.76V295.883H0v-79.772h122.435V85.329h79.76v130.782H512v61.218z"}),r.createElement("path",{fill:"#2E52B2",d:"M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"}))},zs=function(e){var t=e.title,n=Ur(e,Kn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 196.641h512v118.717H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 315.359h512v111.304H0z"}),r.createElement("path",{fill:"#FFF",d:"M129.468 181.799v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.362 256 266.935v-85.136H129.468z"}),r.createElement("path",{fill:"#D80027",d:"M146.126 184.294v81.941c0 5.472 1.215 10.64 3.623 15.485h85.97c2.408-4.844 3.623-10.012 3.623-15.485v-81.941h-93.216z"}),r.createElement("path",{fill:"#FFF",d:"M221.301 241.427h-21.425v-14.283h14.284v-14.283h-14.284v-14.284h-14.283v14.284h-14.282v14.283h14.282v14.283h-21.426v14.284h21.426v14.283h14.283v-14.283h21.425z"}),r.createElement("path",{fill:"#0052B4",d:"M169.232 301.658c9.204 5.783 18.66 9.143 23.502 10.636 4.842-1.494 14.298-4.852 23.502-10.636 9.282-5.833 15.79-12.506 19.484-19.939a24.878 24.878 0 0 0-14.418-4.583c-1.956 0-3.856.232-5.682.657-3.871-8.796-12.658-14.94-22.884-14.94-10.227 0-19.013 6.144-22.884 14.94a25.048 25.048 0 0 0-5.682-.657 24.88 24.88 0 0 0-14.418 4.583c3.691 7.433 10.198 14.106 19.48 19.939z"}))},Ds=function(e){var t=e.title,n=Ur(e,Gn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 85.337h512v113.775H0z"}),r.createElement("path",{fill:"#338AF3",d:"M0 312.888h512v113.775H0z"}))},Rs=function(e){var t=e.title,n=Ur(e,Xn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#338AF3",d:"M0 85.34h512v341.326H0z"}),r.createElement("path",{fill:"#FFF",d:"M512 85.334v166.69L0 256.175V85.334z"}),r.createElement("path",{fill:"#6DA544",d:"M323.744 203.099 256 270.843l-67.744-67.744a81.156 81.156 0 0 0-13.879 45.483v22.261c0 35.744 23.097 66.193 55.148 77.213-4.277 8.385-3.556 18.848 2.712 26.671l24.258-19.439 24.258 19.439c6.342-7.915 7.011-18.534 2.564-26.968 31.614-11.261 54.308-41.485 54.308-76.916v-22.261a81.174 81.174 0 0 0-13.881-45.483z"}),r.createElement("path",{fill:"#FFDA44",d:"M256 330.206c-32.732 0-59.362-26.63-59.362-59.362v-22.261c0-32.733 26.63-59.363 59.362-59.363s59.362 26.63 59.362 59.362v22.261c0 32.733-26.63 59.363-59.362 59.363z"}),r.createElement("path",{fill:"#338AF3",d:"M293.101 270.843v-22.261c0-20.458-16.643-37.101-37.101-37.101s-37.101 16.643-37.101 37.101v22.261L256 278.264l37.101-7.421z"}),r.createElement("path",{fill:"#6DA544",d:"M218.899 270.843c0 20.458 16.643 37.101 37.101 37.101s37.101-16.643 37.101-37.101h-74.202z"}),r.createElement("path",{fill:"#FFDA44",d:"M300.522 189.22c0-12.295-9.966-22.261-22.261-22.261a22.173 22.173 0 0 0-14.84 5.672v-13.093h7.421v-14.84h-7.421v-7.421h-14.84v7.421h-7.421v14.84h7.421v13.093a22.177 22.177 0 0 0-14.841-5.672c-12.295 0-22.261 9.966-22.261 22.261 0 6.591 2.867 12.512 7.421 16.589v13.093h74.203v-13.093c4.552-4.077 7.419-9.997 7.419-16.589z"}))},Ns=function(e){var t=e.title,n=Ur(e,Yn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),r.createElement("path",{fill:"#D80027",d:"M330.207 85.331H512v341.337H330.207z"}),r.createElement("path",{d:"M0 85.331h181.793v341.337H0zm255.999 111.301 14.733 45.347h47.685l-38.576 28.029 14.734 45.348-38.576-28.026-38.577 28.026 14.737-45.348-38.576-28.029h47.681z",fill:"#496E2D"}))},$s=function(e){var t=e.title,n=Ur(e,Zn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#338AF3",d:"M0 85.331h512v341.337H0z"}),r.createElement("path",{fill:"#FFF",d:"m256 157.273 22.663 69.748H352l-59.332 43.106 22.664 69.749L256 296.769l-59.332 43.107 22.664-69.749L160 227.021h73.337z"}))},Fs=function(e){var t=e.title,n=Ur(e,Jn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.331h512v341.337H0z"}),r.createElement("path",{fill:"#A2001D",d:"M0 196.636h512v118.728H0z"}),r.createElement("path",{d:"M0 352.462h512v74.207H0zM0 85.331h512v74.207H0z",fill:"#6DA544"}),r.createElement("path",{fill:"#FFDA44",d:"m256.742 218.003 9.43 29.021h30.518L272 264.963l9.431 29.023-24.689-17.937-24.689 17.937 9.431-29.023-24.69-17.939h30.518z"}))},Ls=function(e){var t=e.title,n=Ur(e,Qn);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#496E2D",d:"M0 322.783h512v103.88H0z"}),r.createElement("path",{d:"M0 85.337h512v104.515H0z"}),r.createElement("path",{fill:"#A2001D",d:"M0 210.877h512v89.656H0z"}),r.createElement("path",{fill:"#0052B4",d:"M256 256.006 0 426.668V85.331z"}),r.createElement("path",{fill:"#FFDA44",d:"m73.178 209.188 20.831 29.067 34.084-10.83-21.207 28.795 20.83 29.069-33.939-11.271-21.208 28.794.234-35.762-33.94-11.273 34.083-10.83z"}))},Bs=function(e){var t=e.title,n=Ur(e,er);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#6DA544"}),r.createElement("path",{fill:"#D80027",d:"M256 256.006 0 426.668V85.331z"}),r.createElement("path",{d:"m302.049 226.318 7.368 22.674h23.842l-19.288 14.016 7.366 22.674-19.288-14.015-19.287 14.015 7.366-22.674-19.288-14.016h23.842zm74.203 0 7.367 22.674h23.842l-19.288 14.016 7.367 22.674-19.288-14.015-19.288 14.015 7.367-22.674-19.288-14.016h23.842z"}))},Hs=function(e){var t=e.title,n=Ur(e,tr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#0052B4"}),r.createElement("path",{fill:"#FFDA44",d:"M228.582 261.936 256 214.447l27.418 47.489z"}),r.createElement("path",{fill:"#6DA544",d:"M291.616 277.616 256 295.425l-35.616-17.809v-23.744h71.232z"}),r.createElement("path",{fill:"#FFDA44",d:"m289.579 216.485-12.592 12.592c5.37 5.372 8.693 12.791 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.114-5.316-24.987-13.91-33.579z"}))},Vs=function(e){var t=e.title,n=Ur(e,nr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#D80027",d:"M512 85.331v166.69L0 256.173V85.331z"}),r.createElement("path",{fill:"#FFF",d:"M256 256.006 0 426.668V85.331z"}),r.createElement("g",{fill:"#FFDA44"},r.createElement("path",{d:"M59.621 256a59.546 59.546 0 0 0-.193 4.57c0 32.821 26.607 59.429 59.429 59.429s59.429-26.607 59.429-59.429c0-1.539-.078-3.061-.193-4.57H59.621z"}),r.createElement("circle",{cx:118.862,cy:210.287,r:18.286})),r.createElement("path",{fill:"#D80027",d:"M77.715 205.714v59.429c0 31.494 41.144 41.143 41.144 41.143s41.144-9.649 41.144-41.143v-59.429H77.715z"}),r.createElement("path",{fill:"#338AF3",d:"M118.877 287.148c-7.632-2.746-22.876-9.767-22.876-22.006v-41.144h45.715v41.144c-.001 12.28-15.244 19.283-22.839 22.006z"}),r.createElement("path",{fill:"#F3F3F3",d:"M128.001 246.856v-9.142l-9.144-4.571-9.142 4.571v9.142l-4.571 4.573v18.285h27.428v-18.285z"}))},Us=function(e){var t=e.title,n=Ur(e,rr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.331h512v341.337H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 85.331h512v113.775H0z"}),r.createElement("path",{d:"M0 312.882h512v113.775H0z"}),r.createElement("path",{d:"m187.31 215.184 9.208 28.341h29.802l-24.11 17.518 9.209 28.342-24.109-17.516-24.11 17.516 9.209-28.342-24.109-17.518h29.801zm137.38 0 9.209 28.341H363.7l-24.109 17.518 9.209 28.342-24.11-17.516-24.109 17.516 9.209-28.342-24.11-17.518h29.802z",fill:"#6DA544"}))},Ws=function(e){var t=e.title,n=Ur(e,or);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#2B5DEA",d:"M0 0h900v600H0V0z"}),r.createElement("path",{fill:"#FFDF29",d:"M0 100h900v400H0V100z"}),r.createElement("path",{fill:"#D70000",d:"M0 150h900v300H0V150z"}),r.createElement("path",{fill:"#FFF",d:"M450 171.4v257.2c114.3 0 171.4-85.7 214.3-128.6-42.9-42.9-100-128.6-214.3-128.6z"}),r.createElement("path",{d:"M450 171.4c-100 0-171.4 85.7-214.3 128.6C278.6 342.9 350 428.6 450 428.6V171.4z"}),r.createElement("path",{fill:"#FFF",d:"M346.3 254.3h21v91.3h-21zm51.9 0h21v91.3h-21z"}),r.createElement("path",{d:"M477.8 254.3h21v91.3h-21zm51.9 0h21v91.3h-21z"}))},qs=function(e){var t=e.title,n=Ur(e,ir);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.3"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h512v341.3H0z"}),r.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),r.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z"})),r.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),r.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z",fill:"#D80027"}),r.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),r.createElement("path",{d:"M0 170.7v-15.1l57.4-38.2H80zm256 0v-15.1l-57.4-38.2H176z",fill:"#D80027"}),r.createElement("path",{fill:"#29DBFF",d:"M448.9 169.5c0 9.6-.3 29.6-1.4 39.2-4.1 34.9-23.5 68.8-62.1 85.9-45.3-17.9-60.8-51-64.9-85.9-1.1-9.6-1.5-19.4-1.5-29l.3-47.1h129.2l.4 36.9z"}),r.createElement("path",{fill:"#FFF",d:"M447.5 208.7c-.2 1.6-.4 3.3-.6 4.9-4.8 33.1-22.9 65.4-61.5 81-43.2-17-59.4-47.9-64.2-81-.2-1.6-.4-3.2-.6-4.9"}),r.createElement("path",{fill:"#29DBFF",d:"m385.4 251.7-22.9-43h45.8z"}),r.createElement("path",{fill:"#FFF",d:"m385.4 165.8-22.9 42.9h45.8z"}),r.createElement("ellipse",{fill:"#FFBE57",cx:474.8,cy:236.8,rx:16.8,ry:43.3}),r.createElement("ellipse",{fill:"#FFBE57",cx:295.3,cy:236.8,rx:16.8,ry:43.3}),r.createElement("path",{fill:"#FFF",d:"m385.4 31.5-33.4 44h68.5zM315.5 280s33.8 29.5 69.9 29.5 67.1-29.5 67.1-29.5l8.5 14.6S439.2 326 385.4 326 307 294.6 307 294.6l8.5-14.6z"}),r.createElement("ellipse",{fill:"#A5A5A5",cx:386.3,cy:104.3,rx:34.3,ry:23.3}))},Ks=function(e){var t=e.title,n=Ur(e,ar);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M332.058 191.996v78.221c0 38.103 51.942 49.779 51.942 49.779s51.942-11.675 51.942-49.779v-78.221H332.058z"}),r.createElement("path",{fill:"#FF9811",d:"M376.579 220.44c0 7.855-6.644 28.445-14.84 28.445s-14.84-20.589-14.84-28.445c0-7.856 14.84-14.222 14.84-14.222s14.84 6.367 14.84 14.222z"}),r.createElement("path",{fill:"#A2001D",d:"M415.961 235.93c2.394-5.6 4.257-13.785 4.257-17.86 0-6.546-8.904-11.852-8.904-11.852s-8.904 5.306-8.904 11.852c0 4.075 1.862 12.26 4.257 17.86l-5.141 11.123a26.898 26.898 0 0 0 9.788 1.831c3.463 0 6.766-.654 9.788-1.831l-5.141-11.123z"}),r.createElement("path",{fill:"#6DA544",d:"M372.87 270.217s-7.421 14.222-7.421 28.445h37.101c0-14.222-7.421-28.445-7.421-28.445l-11.13-7.111-11.129 7.111z"}),r.createElement("path",{fill:"#D80027",d:"M395.13 270.217v-3.555c0-5.891-4.983-10.666-11.13-10.666-6.147 0-11.13 4.776-11.13 10.666v3.555h22.26z"}),r.createElement("path",{fill:"#FFF",d:"M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"}),r.createElement("path",{fill:"#D80027",d:"M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"}),r.createElement("path",{fill:"#0052B4",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),r.createElement("path",{fill:"#FFF",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),r.createElement("path",{d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915zm-83.98 0L0 240.259v15.737l100.174-55.652z",fill:"#D80027"}),r.createElement("path",{fill:"#0052B4",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),r.createElement("path",{fill:"#FFF",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),r.createElement("path",{d:"M100.174 140.982 0 85.33v15.737l71.847 39.915zm83.98 0L256 101.067V85.33l-100.174 55.652z",fill:"#D80027"}))},Gs=function(e){var t=e.title,n=Ur(e,sr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.337H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 85.331h170.663v341.337H0z"}),r.createElement("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"}))},Xs=function(e){var t=e.title,n=Ur(e,lr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h21v15H0V0z"}),r.createElement("path",{fill:"#073AB6",d:"M0 0h22.5v15H0V0z"}),r.createElement("path",{fill:"#FFF",d:"M0 0h11.3v7.5H0V0z"}),r.createElement("path",{fill:"#F44653",d:"M7.1 0h3.6v7H7.1V0z"}),r.createElement("path",{fill:"#1035BB",d:"M0 0h3.6v7H0V0z"}),r.createElement("path",{fill:"#FFF",d:"M3.6 0h3.6v7H3.6V0zm10.9 6h5L19 7h-1.5v.5h1l-.5 1h-.5V10h-1V7H15l-.5-1zm4 2.5 1 1.5h-2l1-1.5zm-3 0 1 1.5h-2l1-1.5zm1.5 3L16 10h2l-1 1.5zM20 8c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-6 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm1 4c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm4 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-2 1c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5z"}))},Ys=function(e){var t=e.title,n=Ur(e,cr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{d:"M0 85.337h512V153.6H0zM0 358.4h512v68.263H0zm0-136.537h512v68.263H0z",fill:"#496E2D"}),r.createElement("path",{fill:"#D80027",d:"M0 85.337h204.054v204.054H0z"}),r.createElement("path",{fill:"#FFF",d:"m102.026 133.938 13.26 40.812h42.916l-34.718 25.226 13.26 40.814-34.718-25.224-34.719 25.224 13.263-40.814-34.718-25.226h42.913z"}))},Zs=function(e){var t=e.title,n=Ur(e,ur);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.334h512V426.66H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 194.056h512v123.882H0z"}),r.createElement("path",{d:"M0 85.334h512v54.522H0zm0 286.809h512v54.522H0z",fill:"#D80027"}))},Js=function(e){var t=e.title,n=Ur(e,dr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 312.888h512v113.775H0z"}),r.createElement("path",{d:"M226.318 300.522h59.364v-25.23l-11.873 5.937L256 263.421l-17.809 17.808-11.873-5.937zm-33.963-29.682 2.763 8.504h8.94l-7.233 5.255 2.763 8.502-7.233-5.255-7.234 5.255 2.763-8.502-7.233-5.255h8.94zm8.566-29.68 2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zm24.488-22.261 2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zm94.236 51.941-2.763 8.504h-8.94l7.233 5.255-2.763 8.502 7.233-5.255 7.234 5.255-2.763-8.502 7.233-5.255h-8.94zm-8.566-29.68-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zm-24.488-22.261-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM256 207.767l2.763 8.503h8.941l-7.234 5.256 2.763 8.502-7.233-5.254-7.233 5.254 2.763-8.502-7.234-5.256h8.941z",fill:"#FFDA44"}))},Qs=function(e){var t=e.title,n=Ur(e,fr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{d:"m210.715 174.377 3.684 11.338h11.919l-9.643 7.006 3.684 11.337-9.644-7.007-9.644 7.007 3.684-11.337-9.645-7.006h11.921zm-93.899 107.594 4.605 14.172h14.9l-12.055 8.757 4.606 14.173-12.056-8.76-12.055 8.76 4.604-14.173-12.054-8.757h14.899zm27.88-162.292 4.604 14.172h14.901l-12.056 8.758 4.606 14.171-12.055-8.759-12.056 8.759 4.606-14.171-12.055-8.758h14.9zm-75.157 55.652 4.604 14.172h14.9l-12.055 8.758 4.606 14.171-12.055-8.758-12.056 8.758 4.606-14.171-12.055-8.758h14.9z",fill:"#FFF"}),r.createElement("path",{d:"M483.386 354.503H117.801s109.234-88.562 310.593-220.938c.001 0-88.443 128.935 54.992 220.938zm-365.585 11.586c-11.177 0-11.195 17.37 0 17.37h365.585c11.177 0 11.195-17.37 0-17.37H117.801z",fill:"#FFDA44"}))},el=function(e){var t=e.title,n=Ur(e,hr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M256 256 0 90.691v44.242L155.826 256 0 377.067v44.242z"}),r.createElement("path",{d:"M0 90.691v330.618L189.217 256z"}),r.createElement("path",{fill:"#FFF",d:"m44.184 213.36 24.912 23.577 30.121-16.41-14.723 30.98 24.911 23.575-34.012-4.43L60.67 301.63l-6.296-33.716-34.012-4.43 30.119-16.408z"}))},tl=function(e){var t=e.title,n=Ur(e,pr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#496E2D",d:"M0 85.337h512v341.326H0z"}),r.createElement("g",{fill:"#FFF"},r.createElement("path",{d:"M357.208 183.679c8.397-23.404-1.036-48.858-21.281-61.536a52.131 52.131 0 0 1 10.884 2.621c27.002 9.688 41.038 39.428 31.35 66.431s-39.428 41.038-66.431 31.35a52.182 52.182 0 0 1-10.069-4.895c23.686 3.084 47.15-10.566 55.547-33.971zm-46.571-67.95-7.297 9.427-11.22-4.026 6.712 9.852-7.296 9.427 11.443-3.338 6.712 9.852.361-11.914 11.444-3.339-11.221-4.025z"}),r.createElement("path",{d:"m330.338 146.448-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.443-3.339 6.712 9.853.36-11.915 11.445-3.34-11.221-4.024zM275.9 126.916l-7.296 9.427-11.219-4.024 6.711 9.851-7.296 9.426 11.443-3.338 6.712 9.852.361-11.915 11.444-3.337-11.221-4.027zm-.799 35.189-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.444-3.338 6.711 9.852.362-11.915 11.443-3.338-11.22-4.026zm33.484 12.013-7.296 9.427-11.22-4.026 6.712 9.853-7.297 9.426 11.444-3.338 6.712 9.852.36-11.915 11.443-3.338-11.219-4.025z"})),r.createElement("path",{fill:"#D80027",d:"M83.478 85.337h89.043v341.326H83.478z"}),r.createElement("path",{fill:"#FFF",d:"m117.458 175.191-14.908-11.105v-15.705l14.908-11.105h21.084l14.908 11.105v15.705l-14.908 11.105z"}),r.createElement("path",{d:"M128 137.276h-10.542l-14.908 11.105v7.678H128zm0 37.915h10.542l14.908-11.105v-8.012H128z",fill:"#FF9811"}),r.createElement("path",{fill:"#FFF",d:"m117.458 374.725-14.908-11.106v-15.704l14.908-11.105h21.084l14.908 11.105v15.704l-14.908 11.106z"}),r.createElement("path",{d:"M128 336.81h-10.542l-14.908 11.105v7.678H128zm0 37.915h10.542l14.908-11.106v-8.011H128z",fill:"#FF9811"}),r.createElement("path",{d:"m117.458 274.957-14.908-11.105v-15.703l14.908-11.106h21.084l14.908 11.106v15.703l-14.908 11.105zm36.513 24.434h-6.493v-6.493h-11.411l-8.068-8.068-8.067 8.068h-11.41v6.493h-6.493v12.986h6.493v6.492h11.41l8.068 8.069 8.068-8.069h11.41v-6.492h6.493zm0-99.768h-6.493v-6.492h-11.411l-8.068-8.069-8.067 8.069h-11.41v6.492h-6.493v12.986h6.493v6.492h11.41l8.068 8.07 8.068-8.07h11.41v-6.492h6.493z",fill:"#496E2D"}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"M120.576 248.576h14.84v14.84h-14.84z"}),r.createElement("circle",{cx:128,cy:206.113,r:7.421}),r.createElement("circle",{cx:128,cy:305.887,r:7.421})))},nl=function(e){var t=e.title,n=Ur(e,mr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),r.createElement("circle",{fill:"#FFF",cx:256,cy:255.994,r:96}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"m267.826 219.291 16.47 22.695 26.673-8.649-16.496 22.676 16.468 22.695-26.664-8.681-16.495 22.676.017-28.04-26.664-8.682 26.674-8.648z"}),r.createElement("path",{d:"M277.818 312.724c-31.33 0-56.727-25.397-56.727-56.727s25.397-56.727 56.727-56.727c9.769 0 18.96 2.47 26.985 6.819-12.589-12.31-29.804-19.909-48.803-19.909-38.558 0-69.818 31.259-69.818 69.818s31.26 69.818 69.818 69.818c18.999 0 36.215-7.599 48.803-19.909-8.026 4.347-17.216 6.817-26.985 6.817z"})))},rl=function(e){var t=e.title,n=Ur(e,vr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),r.createElement("path",{fill:"#FFF",d:"M0 85.331h256v170.663H0z"}),r.createElement("path",{fill:"#D80027",d:"M141.357 157.303V130.59h-26.714v26.713H87.93v26.713h26.713v26.713h26.714v-26.713h26.713v-26.713z"}))},ol=function(e){var t=e.title,n=Ur(e,gr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#E30A17",d:"M0 0h513v342H0z"}),r.createElement("path",{fill:"#FFF",d:"M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c5.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"}))},il=function(e){var t=e.title,n=Ur(e,yr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#FFF",d:"m6.066 85.337 207.961 212.636 131.584 128.69h160.323L297.973 214.027 166.389 85.337z"}),r.createElement("path",{d:"M43.364 85.337 384.69 426.663h83.946L127.31 85.337z"}))},al=function(e){var t=e.title,n=Ur(e,br);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h900v600H0z"}),r.createElement("path",{fill:"#00B2EE",d:"M0 300h450V0h450v600H0V300z"}),r.createElement("path",{fill:"#FFDA44",d:"m345.3 480.9 29.4 90.6-77.1-56H393l-77.1 56 29.4-90.6zM706.4 340l29.4 90.6-77.1-56H754l-77.1 56 29.5-90.6zm106.4-78.5 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zm0-224.1 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6z"}),r.createElement("path",{fill:"#FFF",d:"M449.9 0v206.3h-81l81 54V300h-39.7l-129-85.9V300H168.7v-85.9L39.7 300H0v-39.7l81-54H0V93.8h81L0 39.9V0h39.7l129 85.9V0h112.5v85.9L410.2 0z"}),r.createElement("path",{fill:"#D80027",d:"M253.1 0h-56.3v122H0v56.2h196.8V300h56.3V178.2h196.8V122H253.1z"}),r.createElement("path",{fill:"#2E52B2",d:"M449.9 39.9v53.9h-81z"}),r.createElement("path",{fill:"#D80027",d:"M0 300v-19.3l109.9-74.4h39.7L12.8 300zM12.8.1l136.8 93.7h-39.7L0 19.4V.1zm437.1.1v19.3L340 93.8h-39.7L437.1.2zM437.1 300l-136.8-93.7H340l109.9 74.4V300z"}),r.createElement("path",{fill:"#FFDA44",d:"m719.9 131.6 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM584 187.7l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zm30 242.9 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM488 332l29.4 90.6-77.1-56h95.3l-77.1 56L488 332zm0 132 29.4 90.6-77.1-56h95.3l-77.1 56L488 464z"}))},sl=function(e){var t=e.title,n=Ur(e,wr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 85.337h256V256H0z"}),r.createElement("path",{fill:"#FFF",d:"M186.435 170.669 162.558 181.9l12.714 23.125-25.927-4.961-3.286 26.192L128 206.993l-18.06 19.263-3.285-26.192-25.927 4.96 12.714-23.125-23.877-11.23 23.877-11.231-12.714-23.125 25.927 4.96 3.286-26.192L128 134.344l18.06-19.263 3.285 26.192 25.928-4.96-12.715 23.125z"}),r.createElement("circle",{fill:"#0052B4",cx:128,cy:170.674,r:29.006}),r.createElement("path",{fill:"#FFF",d:"M128 190.06c-10.692 0-19.391-8.7-19.391-19.391 0-10.692 8.7-19.391 19.391-19.391 10.692 0 19.391 8.7 19.391 19.391 0 10.691-8.699 19.391-19.391 19.391z"}))},ll=function(e){var t=e.title,n=Ur(e,Er);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#338AF3",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 426.663V85.337h512"}),r.createElement("path",{fill:"#FFDA44",d:"M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"}),r.createElement("path",{d:"M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"}))},cl=function(e){var t=e.title,n=Ur(e,xr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#338AF3",d:"M0 85.337h512V256H0z"}))},ul=function(e){var t=e.title,n=Ur(e,Sr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.3"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#232323",d:"M0 0h512v341.3H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M0 56.9h512v56.9H0z"}),r.createElement("path",{fill:"#D32300",d:"M0 113.8h512v56.9H0z"}),r.createElement("path",{fill:"#FFDA44",d:"M0 227.6h512v56.9H0z"}),r.createElement("path",{fill:"#D32300",d:"M0 284.4h512v56.9H0z"}),r.createElement("circle",{fill:"#FFF",cx:256,cy:170.7,r:80.7}),r.createElement("path",{d:"M234.5 127.5c.9-1.4-19.6-2-19.6-2 1.7-2.5 18.4-10.5 18.4-10.5s-.9-6 2.7-9.8l-4.5-9.8s7-3.4 18.4-3.4 19.9 7 21 13.1l-6.4 3.4c-.1 4.7 1.7 11.6-4.3 17.3-5.9 5.7-8.3 6.9-8.5 18.8 0 3.9 2.3 8.2 8.8 11.7 17.4 9.3 38.6 28.2 44.6 33.9 6.1 5.7 5.1 19.2 2.6 25.2s-12.1 14.3-14.3 13.6c-2.2-.6 1.2-9.2-3.5-11.6 0 0-8.9-7.6-16.8.6s-.2 25.2 3.9 28c4.1 2.8 1.7 5-1.9 5H247c-3.8 0-5.4-2.3-1.9-5 7.6-3.8 12.4-15.3 7.4-20.3-4.9-4.9-18.3 1.5-21.5 6.3-2.8 2.8-8.8 3.6-12.9-1.4s-4.1-10.4-1.1-12.5c7-4.8 0 0 .1-.1 0 0 11.9-8.6 29.9-9 3.9 0 4.8-2.2 2.2-4.8 0 0-30.9-27.4-28.1-44.2 3-18.3 20-26.3 13.4-32.5-1.3-1.8 0 0 0 0z"}))},dl=function(e){var t=e.title,n=Ur(e,_r);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),r.createElement("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),r.createElement("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"}))},fl=function(e){var t=e.title,n=Ur(e,Or);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),r.createElement("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),r.createElement("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"}))},hl=function(e){var t=e.title,n=Ur(e,Cr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),r.createElement("path",{d:"M0 38h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0z",fill:"#0038a8"}),r.createElement("path",{fill:"#FFF",d:"M0 0h256.5v190H0z"}),r.createElement("path",{fill:"#FED443",d:"m128.3 138.7-15.1 22.6-3.8-26.9L86 148.2l8.2-25.9-27.2 2.2 18.6-19.8L60.3 95l25.4-9.7L67 65.5l27.1 2.3-8.2-25.9 23.4 13.8 3.9-26.9 15.1 22.6 15.1-22.6 3.8 26.9 23.4-13.8-8.2 25.9 27.1-2.2-18.6 19.8 25.4 9.7-25.4 9.7 18.6 19.8-27.1-2.2 8.2 25.9-23.4-13.8-3.9 26.9-15-22.7zm0-.5c23.9.9 44-17.6 44.9-41.5.9-23.9-17.6-44-41.5-44.9h-3.4c-23.9.8-42.6 20.8-41.8 44.6.6 22.8 19 41.1 41.8 41.8zm0-10.6c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.3 34-34 34z"}))},pl=function(e){var t=e.title,n=Ur(e,Ar);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#6DA544",d:"M0 322.783h512v103.88H0z"}),r.createElement("path",{fill:"#338AF3",d:"M0 85.337h512v104.515H0z"}),r.createElement("path",{fill:"#FFF",d:"M0 210.877h512v89.656H0z"}),r.createElement("path",{fill:"#338AF3",d:"M0 85.337h512v104.515H0z"}),r.createElement("path",{d:"M188.688 137.589c0-15.984 11.234-29.339 26.236-32.614a33.531 33.531 0 0 0-7.155-.777c-18.442 0-33.391 14.949-33.391 33.391s14.949 33.391 33.391 33.391c2.458 0 4.85-.273 7.155-.777-15.002-3.275-26.236-16.63-26.236-32.614zm45.97 15.177 2.261 6.957h7.315l-5.918 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.261-6.956-5.918-4.301h7.315zm23.348 0 2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zm23.347 0 2.26 6.957h7.315l-5.917 4.301 2.26 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.918-4.301h7.315zm23.347 0 2.262 6.957h7.315l-5.919 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.262-6.956-5.919-4.301h7.314zm23.348 0 2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zm-70.042-24.284 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zm23.347 0 2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.918-4.3h7.315zm23.347 0 2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.299-5.918 4.299 2.262-6.957-5.919-4.3h7.314zm23.348 0 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zm-46.695-24.284 2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.918-4.3h7.315zm23.347 0 2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.3-5.918 4.3 2.262-6.957-5.919-4.3h7.314zm23.348 0 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.917-4.3h7.314z",fill:"#FFF"}))},ml=function(e){var t=e.title,n=Ur(e,kr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),r.createElement("path",{fill:"#FFF",d:"M256 85.331h256v341.337H256z"}),r.createElement("path",{fill:"#ACABB1",d:"m321.353 233.837 32.073 42.43c-5.053 7.651-5.026 17.961.817 25.692 7.414 9.807 21.374 11.748 31.182 4.335 9.807-7.414 11.748-21.374 4.334-31.182-5.843-7.731-15.756-10.568-24.495-7.795l-49.988-66.129-11.838 8.949-17.759 13.424 17.899 23.677 17.775-13.401zm46.175 48.78a7.421 7.421 0 1 1 8.95 11.84 7.421 7.421 0 0 1-8.95-11.84z"}),r.createElement("path",{fill:"#FFDA44",d:"m376.367 247.24 17.899-23.677-17.759-13.424-11.838-8.949-49.988 66.129c-8.74-2.775-18.651.063-24.495 7.795-7.414 9.808-5.473 23.768 4.334 31.182 9.808 7.414 23.768 5.473 31.182-4.335 5.845-7.731 5.871-18.041.817-25.692l32.073-42.43 17.775 13.401zm-62.504 45.771a7.42 7.42 0 1 1-11.84-8.95 7.42 7.42 0 0 1 11.84 8.95z"}))},vl=function(e){var t=e.title,n=Ur(e,Mr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.337H0z"}),r.createElement("path",{fill:"#338AF3",d:"M0 85.331h170.663v341.337H0z"}),r.createElement("path",{d:"M341.337 85.331H512v341.337H341.337zM214.261 283.82l-33.393-50.086 33.392-50.087 33.392 50.087zm83.478 0-33.391-50.086 33.391-50.087 33.393 50.087zM256 350.603l-33.391-50.087L256 250.429l33.391 50.087z",fill:"#6DA544"}))},gl=function(e){var t=e.title,n=Ur(e,Tr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFCE00",d:"M0 0h22.5v5H0z"}),r.createElement("path",{fill:"#203899",d:"M0 5h22.5v5H0z"}),r.createElement("path",{fill:"#D82B2B",d:"M0 10h22.5v5H0z"}),r.createElement("path",{fill:"#FFF",d:"m12.13 5.38.14.46.45.14-.39.27.01.48-.38-.29-.45.15.15-.44-.28-.38h.47zm-1.77 0 .27.39h.47l-.28.38.15.45-.45-.16-.38.28.01-.47-.39-.28.45-.13zm3.44.56-.01.48.39.27-.46.14-.14.45-.27-.38h-.48l.29-.38-.15-.45.45.16zm-5.11.02.4.27.44-.18-.13.46.3.36-.47.02-.26.4-.16-.44-.46-.12.37-.3zm6.55 1.17-.2.44.25.4-.47-.05-.31.36-.1-.46-.43-.18.41-.24.03-.47.35.31zm.19 1.12.21.43.47.07-.34.33.08.46-.42-.22-.42.22.08-.46-.34-.33.47-.07zM7 8.2l.21.43.47.06-.34.33.08.47L7 9.27l-.42.22.08-.47-.34-.33.47-.06zm.31-1.15.45.14.38-.29v.48l.39.26-.45.15-.13.46-.28-.38-.47.01.27-.38z"}))},yl=function(e){var t=e.title,n=Ur(e,Pr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 85.334h512v341.337H0z"}),r.createElement("path",{fill:"#FFF",d:"M256 85.334V202.66h-46.069L256 233.38v22.617h-22.628L160 207.078v48.919H96v-48.919l-73.372 48.919H0V233.38l46.069-30.72H0v-64h46.069L0 107.951V85.334h22.628L96 134.241V85.334h64v48.907l73.372-48.907z"}),r.createElement("g",{fill:"#D80027"},r.createElement("path",{d:"M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"}),r.createElement("path",{d:"M0 85.329v15.083l57.377 38.251H80zm256 0v15.083l-57.377 38.251H176z"})),r.createElement("path",{fill:"#2E52B2",d:"M256 107.951v30.712h-46.069z"}),r.createElement("path",{d:"M0 85.329v15.083l57.377 38.251H80zm256 0v15.083l-57.377 38.251H176z",fill:"#D80027"}),r.createElement("path",{fill:"#2E52B2",d:"M256 107.951v30.712h-46.069z"}),r.createElement("path",{d:"M0 255.997v-15.082l57.377-38.252H80zm256 0v-15.082l-57.377-38.252H176z",fill:"#D80027"}),r.createElement("path",{fill:"#FFDA44",d:"m384 259.706-46.129 46.129c8.645 16.675 26.051 28.074 46.129 28.074s37.484-11.4 46.129-28.074L384 259.706z"}),r.createElement("path",{fill:"#6DA544",d:"M332.058 178.084v81.624c.001 39.759 51.942 51.941 51.942 51.941s51.941-12.182 51.942-51.942v-81.623H332.058z"}),r.createElement("path",{fill:"#FFF",d:"M372.87 215.181h22.261v59.359H372.87z"}),r.createElement("circle",{fill:"#A2001D",cx:384,cy:215.181,r:11.13}),r.createElement("path",{d:"M346.902 192.92h14.84v14.84h-14.84zm0 33.392h14.84v14.84h-14.84zm0 33.391h14.84v14.84h-14.84zm59.359-66.783h14.84v14.84h-14.84zm0 33.392h14.84v14.84h-14.84zm0 33.391h14.84v14.84h-14.84z",fill:"#FFDA44"}))},bl=function(e){var t=e.title,n=Ur(e,Ir);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.3"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h512v341.3H0z"}),r.createElement("path",{fill:"#1583C4",d:"m397.7 166.3-51 97.7c-1.1 2-.3 4.5 1.8 5.6 2 1.1 4.5.3 5.6-1.8l51-97.7c1-2.1.1-4.6-2-5.5-2-.9-4.3-.2-5.4 1.7z"}),r.createElement("path",{fill:"#1583C4",d:"m404.9 188-57.8 75.4c-1.3 1.9-.8 4.5 1.1 5.8 1.7 1.2 4.1.9 5.5-.7l57.8-75.4c1.4-1.8 1.1-4.4-.8-5.8-1.8-1.5-4.4-1.1-5.8.7z"}),r.createElement("path",{fill:"#1583C4",d:"m379 181.3-32.5 83.1c-.8 2.1.2 4.6 2.4 5.4 2.1.8 4.6-.2 5.4-2.4l32.5-83.1c.7-2.2-.4-4.5-2.6-5.3-2.1-.6-4.3.4-5.2 2.3z"}),r.createElement("path",{fill:"#409347",d:"M122.1 171.9c.4 1.7 1.2 4.7 2.2 8.5 1.7 6.4 3.6 12.8 5.6 18.7 2.3 6.9 14.7 31.4 20.2 39.1 6.9 9.7 14.1 19.3 21.5 28.6 1.6 1.9 4.5 2.1 6.4.5 1.8-1.6 2.1-4.3.7-6.2-7.3-9.2-14.4-18.6-21.2-28.2-4.2-5.8-17.2-31.1-19-36.7-2.9-8.7-5.4-17.6-7.6-26.5-.5-2.4-2.9-4-5.3-3.5s-4 2.9-3.5 5.3c-.1.2 0 .3 0 .4z"}),r.createElement("g",{fill:"#FFD836",stroke:"#231F20",strokeMiterlimit:10},r.createElement("path",{d:"M297.1 114.9S279.5 42.8 261 42.8c-6.9 0-11.9-.6-15.4 6.4-.9 1.7-20.7-1.6-19.1 20.8.5 6.9 1.1-9.8 14.9-3.4 6.3 3-16.4 48.2-16.4 48.2h72.1z"}),r.createElement("path",{d:"m466.1 48.4-90.9 22c-75.3 18.3-42.1 44.4-42.1 44.4l-72.1 12-72.1-12s33.2-26.1-42.1-44.4l-90.9-22C43.1 45.3 38.1 51.8 45.3 63c0 0 106.6 104 126.8 112 20.2 8.1 40.8 0 40.8 0s-14.9 8.7-24 24c-9.2 15.3-4.6 34.7-38.9 40.2-5.5 6.6-5 14 2.9 19.9 7.9 5.8 72.1-48.1 72.1-48.1s-24 24.4-24 36.1c0 5.1 44.1 53.8 60.1 53.8s60.1-48.7 60.1-53.8c0-11.7-24-36.1-24-36.1s64.2 53.9 72.1 48.1 11.4-19.3 2.8-19.9c-28-1.8-29.7-24.9-38.9-40.2-9.2-15.3-24-24-24-24s20.6 8.1 40.8 0S476.7 63 476.7 63c7.2-11.2 2.3-17.7-10.6-14.6z"})),r.createElement("path",{fill:"#FFF",stroke:"#231F20",strokeMiterlimit:10,d:"M201.3 111.8v80.3c0 45.7 59.7 59.7 59.7 59.7s59.7-14 59.7-59.7v-80.3H201.3z"}),r.createElement("path",{d:"M225.2 137.7V235c8.2 6 17 10.2 23.9 12.9V137.7h-23.9zm71.6 0V235c-8.2 6-17 10.2-23.9 12.9V137.7h23.9z",fill:"#D80027"}),r.createElement("path",{fill:"#0052B4",d:"M201.3 111.8h119.4v37.9H201.3z"}),r.createElement("path",{fill:"#1583C4",d:"m60.1 210.5-21.9-58.1H15.7l31.8 80.8h25.2l31.5-80.8H81.7zm391.4-58.6h18.9v81.7h-18.9z"}))},wl=function(e){var t=e.title,n=Ur(e,jr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M196.641 85.337H0v341.326h512V85.337z"}),r.createElement("path",{fill:"#FFDA44",d:"m256 157.279 22.663 69.747H352l-59.332 43.106 22.664 69.749L256 296.774l-59.332 43.107 22.664-69.749L160 227.026h73.337z"}))},El=function(e){var t=e.title,n=Ur(e,zr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#6DA544",d:"M512 256v170.663H0L215.185 256z"}),r.createElement("path",{fill:"#D80027",d:"M512 85.337V256H215.185L0 85.337z"}),r.createElement("path",{d:"M221.001 239.304 26.868 85.337H8.956l208.168 165.098H512v-11.131zM8.956 426.663h17.912l194.133-153.967H512v-11.131H217.124zM0 92.44v14.206L188.317 256 0 405.354v14.205L206.229 256z"}),r.createElement("g",{fill:"#FFDA44"},r.createElement("path",{d:"M8.956 85.337H0v7.103L206.229 256 0 419.559v7.104h8.956l208.168-165.098H512v-11.13H217.124z"}),r.createElement("path",{d:"M63.718 292.382v-14.295c14.265 0 25.87-11.606 25.87-25.869 0-10.092-8.211-18.303-18.304-18.303-6.875 0-12.469 5.593-12.469 12.469 0 4.397 3.577 7.974 7.974 7.974a4.514 4.514 0 0 0 4.508-4.508h14.295c0 10.368-8.435 18.804-18.802 18.804-12.279-.002-22.269-9.993-22.269-22.271 0-14.758 12.006-26.764 26.764-26.764 17.975 0 32.599 14.623 32.599 32.599 0 22.145-18.018 40.164-40.166 40.164z"})))},xl=function(e){var t=e.title,n=Ur(e,Dr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150 100"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#ED2939",d:"M0 0h150v100H0z"}),r.createElement("path",{fill:"#002395",d:"M0 0h20v44.33H0z"}),r.createElement("path",{fill:"#FFF",d:"M20 0h20v44.33H20z"}),r.createElement("path",{fill:"none",stroke:"#FFF",strokeWidth:3,d:"M0 44.33h62.75V0"}),r.createElement("path",{fill:"#FFF",d:"M108.08 43.29 87.96 23.17h40.25l-20.13 20.12zm-6.7 6.71L81.25 29.88v40.25L101.38 50zm6.7 6.71L87.96 76.83h40.25l-20.13-20.12zm6.71-6.71 20.13-20.13v40.25L114.79 50z"}))},Sl=function(e){var t=e.title,n=Ur(e,Rr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),r.createElement("path",{fill:"#0052B4",d:"M0 85.331h256v170.663H0z"}),r.createElement("path",{d:"m165.483 181.79 2.764 8.504h8.939l-7.232 5.254 2.763 8.503-7.234-5.255-7.233 5.255 2.763-8.503-7.233-5.254h8.94zm-44.904-66.783 4.606 14.173h14.9l-12.055 8.757 4.605 14.171-12.056-8.758-12.054 8.758 4.605-14.171-12.056-8.757h14.901zm44.522 14.841 4.606 14.172h14.9l-12.055 8.757 4.604 14.173-12.055-8.76-12.054 8.76 4.604-14.173-12.055-8.757h14.9zm-35.192 59.363 4.606 14.172h14.9l-12.055 8.758 4.604 14.171-12.055-8.759-12.054 8.759 4.604-14.171-12.055-8.758h14.9zm-39.01-37.103 4.605 14.173h14.9l-12.055 8.757 4.604 14.173-12.054-8.76-12.055 8.76 4.604-14.173-12.055-8.757h14.9z",fill:"#FFF"}))},_l=function(e){var t=e.title,n=Ur(e,Nr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.33"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#0052B4",d:"M0 0h512v341.34H0z"}),r.createElement("path",{d:"m220.72 42.63 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.36-15.9 8.36 3.03-17.7-12.86-12.54 17.78-2.58zm70.56-.06 7.95 16.1 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59zm62.08 11.36 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.87-12.54 17.78-2.58zm63.01 18.3 7.95 16.11 17.77 2.59-12.86 12.53 3.04 17.71-15.9-8.36-15.9 8.36 3.03-17.71-12.86-12.53 17.78-2.59zm-257.73-18.3 7.95 16.11 17.78 2.58-12.87 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.86-12.54 17.77-2.58zm-63.01 18.3 7.95 16.11 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59z",fill:"#FFF"}),r.createElement("path",{fill:"#FFDA44",d:"m217.53 259.33-27.22-13.61-27.22-54.43h27.22l27.22-27.22 13.61-27.22 27.22-13.61 13.61 13.61 27.22 13.61v13.61l13.61 13.61 40.83 27.22L340 245.73l-40.83 40.83-13.61-27.22-40.83 27.22v27.22l-13.61-13.61-13.59-40.84z"}))},Ol=function(e){var t=e.title,n=Ur(e,$r);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),r.createElement("path",{d:"M0 312.888h512v113.775H0z"}))},Cl=function(e){var t=e.title,n=Ur(e,Fr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 60"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 0h90v60H0z"}),r.createElement("path",{stroke:"#7f7f7f",strokeWidth:.25,fill:"#ABABAB",d:"M75.6 39.6c-1.1.7 0 1.8-.6 1.9-.6.1-1.5-1.4-.2-2.5 1.6-1.5 5.8 0 5.9 4.3 0 2.2-.9 6.8-7.2 6.8-7.6 0-11.4-5.7-11.4-11.4 0-4.8 3.7-13.5 6.5-14.6 3.1-1.2 6.7-3.5 6.8-5 0-.5-1.4-.1-3.3.9-3.1 1.7-6.6 2.5-6.6 1.4s2.9-3.1 4-4.6c1.2-1.6.9-5.5 3-5.5 7.6 0 9.9 7.7 7 11.7-1.9 2.6 4.3 1 4.3 1s0 5.3-3.2 7.3c-3 1.8-4.8 3.9-4.8 3.9s.2-4.6-.5-3.9c-.6.7-11.1 4.5-10.3 12 .3 3 4.5 5.4 8.5 5.2s5.7-2.4 5.8-4.9c.1-3.9-3-4.4-3.7-4zm-64.9 4c.1 2.5 1.8 4.7 5.8 4.9s8.2-2.2 8.5-5.2c.8-7.5-9.7-11.3-10.3-12-.7-.7-.5 3.9-.5 3.9s-1.8-2.1-4.8-3.9c-3.2-2-3.2-7.3-3.2-7.3s6.2 1.6 4.3-1c-2.9-4-.6-11.7 7-11.7 2.1 0 1.8 3.9 3 5.5 1.1 1.5 4 3.5 4 4.6s-3.5.3-6.6-1.4c-1.9-1-3.3-1.4-3.3-.9.1 1.5 3.7 3.8 6.8 5 2.8 1.1 6.5 9.8 6.5 14.6 0 5.7-3.8 11.4-11.4 11.4-6.3 0-7.2-4.6-7.2-6.8.1-4.3 4.3-5.8 5.9-4.3 1.2 1.1.4 2.7-.2 2.5-.6-.1.6-1.2-.6-1.9-.6-.4-3.7.1-3.7 4z"}),r.createElement("path",{fill:"#DE393A",d:"M31 28.8v14c0 1.9 2.1 1.6 2.1 1.6h9.3c1.2 0 2.6 2.3 2.6 2.3s1.4-2.3 2.5-2.3h9.6s2 .2 2-1.8V28.7H31z"}),r.createElement("path",{fill:"#3951A3",d:"M31 13.1h28v15.7H31z"}),r.createElement("path",{fill:"#FFF",d:"M50.1 16.5c-.4 2.4-2.5 4.2-5.1 4.2-2.5 0-4.6-1.8-5.1-4.2-.5.9-.8 1.9-.8 3 0 3.3 2.6 5.9 5.9 5.9 3.3 0 5.9-2.6 5.9-5.9 0-1.1-.3-2.1-.8-3z"}),r.createElement("circle",{fill:"#FEE05F",cx:39.1,cy:36.5,r:3}),r.createElement("circle",{fill:"#FEE05F",cx:50.9,cy:36.5,r:3}))},Al=function(e){var t=e.title,n=Ur(e,Lr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),r.createElement("path",{d:"M114.024 256.001 0 141.926v228.17z"}),r.createElement("path",{fill:"#ffb915",d:"M161.192 256 0 94.7v47.226l114.024 114.075L0 370.096v47.138z"}),r.createElement("path",{fill:"#007847",d:"M509.833 289.391c.058-.44.804-.878 2.167-1.318v-65.464H222.602L85.33 85.337H0V94.7L161.192 256 0 417.234v9.429h85.33l137.272-137.272h287.231z"}),r.createElement("path",{fill:"#000c8a",d:"M503.181 322.783H236.433l-103.881 103.88H512v-103.88z"}),r.createElement("path",{fill:"#e1392d",d:"M503.181 189.217H512V85.337H132.552l103.881 103.88z"}))},kl=function(e){var t=e.title,n=Ur(e,Br);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{fill:"#496E2D",d:"M0 85.331h512v341.337H0z"}),r.createElement("path",{fill:"#FF9811",d:"M490.668 195.476h-48c0-8.836-7.164-16-16-16s-16 7.164-16 16h-48c0 8.836 7.697 16 16.533 16h-.533c0 8.836 7.162 16 16 16 0 8.836 7.162 16 16 16h32c8.836 0 16-7.164 16-16 8.836 0 16-7.164 16-16h-.533c8.837 0 16.533-7.164 16.533-16z"}),r.createElement("path",{fill:"#D80027",d:"M341.337 255.994h56.888v170.663h-56.888z"}),r.createElement("path",{fill:"#FF9811",d:"M455.112 255.994H512v170.663h-56.888z"}),r.createElement("path",{d:"M398.225 255.994h56.888v170.663h-56.888z"}))},Ml=function(e){var t=e.title,n=Ur(e,Hr);return r.createElement("svg",Vr({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&r.createElement("title",null,t),r.createElement("path",{d:"M0 85.333h512V426.67H0z"}),r.createElement("path",{d:"M0 134.196h512v48.868H0zm0 195.472h512v48.868H0z",fill:"#FFDA44"}),r.createElement("path",{fill:"#057f44",d:"M0 85.333h512v48.868H0z"}),r.createElement("path",{d:"M0 183.069h512v48.868H0zm0 97.737h512v48.868H0z",fill:"#D80027"}),r.createElement("path",{fill:"#057f44",d:"M0 378.542h512v48.128H0z"}),r.createElement("path",{fill:"#FFF",d:"M276.992 255.996 106.329 426.659H0V85.333h106.329z"}),r.createElement("path",{d:"M256 255.996 85.334 426.662h20.987l170.667-170.666L106.321 85.33H85.334z"}),r.createElement("path",{fill:"#D80027",d:"m102.465 202.57 13.259 40.812h42.917l-34.718 25.226 13.26 40.814-34.718-25.224-34.72 25.224 13.262-40.814-34.718-25.226h42.915z"}),r.createElement("path",{fill:"#FFDA44",d:"m138.94 259.335-34.559-12.243s-2.553-23.955-2.708-24.766c-1.173-6.18-6.603-10.851-13.123-10.851-7.376 0-13.357 5.98-13.357 13.357 0 1.223.178 2.402.486 3.528l-9.689 9.755h17.229c0 17.882-13.344 17.882-13.344 35.691l7.402 17.809h44.522l7.422-17.809h-.004a17.782 17.782 0 0 0 1.381-5.231c6.397-2.589 8.342-9.24 8.342-9.24z"}))};const Tl={AC:Wr,AD:qr,AE:Kr,AF:Gr,AG:Xr,AI:Yr,AL:Zr,AM:Jr,AO:Qr,AQ:eo,AR:to,AS:no,AT:ro,AU:oo,AW:io,AX:ao,AZ:so,BA:lo,BB:co,BD:uo,BE:fo,BF:ho,BG:po,BH:mo,BI:vo,BJ:go,BL:yo,BM:bo,BN:wo,BO:Eo,BQ:xo,BR:So,BS:_o,BT:Oo,BV:Co,BW:Ao,BY:ko,BZ:Mo,CA:To,CC:Po,CD:Io,CF:jo,CG:zo,CH:Do,CI:Ro,CK:No,CL:$o,CM:Fo,CN:Lo,CO:Bo,CR:Ho,CU:Vo,CV:Uo,CW:Wo,CX:qo,CY:Ko,CZ:Go,DE:Xo,DJ:Yo,DK:Zo,DM:Jo,DO:Qo,DZ:ei,EC:ti,EE:ni,EG:ri,EH:oi,ER:ii,ES:ai,ET:si,EU:li,FI:ci,FJ:ui,FK:di,FM:fi,FO:hi,FR:pi,GA:mi,GB:vi,GD:gi,GE:yi,GF:bi,GG:wi,GH:Ei,GI:xi,GL:Si,GM:_i,GN:Oi,GP:Ci,GQ:Ai,GR:ki,GS:Mi,GT:Ti,GU:Pi,GW:Ii,GY:ji,HK:zi,HM:Di,HN:Ri,HR:Ni,HT:$i,HU:Fi,IC:Li,ID:Bi,IE:Hi,IL:Vi,IM:Ui,IN:Wi,IO:qi,IQ:Ki,IR:Gi,IS:Xi,IT:Yi,JE:Zi,JM:Ji,JO:Qi,JP:ea,KE:ta,KG:na,KH:ra,KI:oa,KM:ia,KN:aa,KP:sa,KR:la,KW:ca,KY:ua,KZ:da,LA:fa,LB:ha,LC:pa,LI:ma,LK:va,LR:ga,LS:ya,LT:ba,LU:wa,LV:Ea,LY:xa,MA:Sa,MC:_a,MD:Oa,ME:Ca,MF:Aa,MG:ka,MH:Ma,MK:Ta,ML:Pa,MM:Ia,MN:ja,MO:za,MP:Da,MQ:Ra,MR:Na,MS:$a,MT:Fa,MU:La,MV:Ba,MW:Ha,MX:Va,MY:Ua,MZ:Wa,NA:qa,NC:Ka,NE:Ga,NF:Xa,NG:Ya,NI:Za,NL:Ja,NO:Qa,NP:es,NR:ts,NU:ns,NZ:rs,OM:os,PA:is,PE:as,PF:ss,PG:ls,PH:cs,PK:us,PL:ds,PM:fs,PN:hs,PR:ps,PS:ms,PT:vs,PW:gs,PY:ys,QA:bs,RE:ws,RO:Es,RS:xs,RU:Ss,RW:_s,SA:Os,SB:Cs,SC:As,SD:ks,SE:Ms,SG:Ts,SH:Ps,SI:Is,SJ:js,SK:zs,SL:Ds,SM:Rs,SN:Ns,SO:$s,SR:Fs,SS:Ls,ST:Bs,SV:Hs,SX:Vs,SY:Us,SZ:Ws,TA:qs,TC:Ks,TD:Gs,TF:Xs,TG:Ys,TH:Zs,TJ:Js,TK:Qs,TL:el,TM:tl,TN:nl,TO:rl,TR:ol,TT:il,TV:al,TW:sl,TZ:ll,UA:cl,UG:ul,UM:dl,US:fl,UY:hl,UZ:pl,VA:ml,VC:vl,VE:gl,VG:yl,VI:bl,VN:wl,VU:El,WF:xl,WS:Sl,XK:_l,YE:Ol,YT:Cl,ZA:Al,ZM:kl,ZW:Ml}},39072:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,z:()=>s});var r=n(99065),o=n(34598);function i(){var e,t,n=(0,o.A)().unknown(void 0),a=n.domain,s=n.range,l=0,c=1,u=!1,d=0,f=0,h=.5;function p(){var n=a().length,r=c<l,o=r?c:l,i=r?l:c;e=(i-o)/Math.max(1,n-d+2*f),u&&(e=Math.floor(e)),o+=(i-o-e*(n-d))*h,t=e*(1-d),u&&(o=Math.round(o),t=Math.round(t));var p=function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r<o;)i[r]=e+r*n;return i}(n).map((function(t){return o+e*t}));return s(r?p.reverse():p)}return delete n.unknown,n.domain=function(e){return arguments.length?(a(e),p()):a()},n.range=function(e){return arguments.length?([l,c]=e,l=+l,c=+c,p()):[l,c]},n.rangeRound=function(e){return[l,c]=e,l=+l,c=+c,u=!0,p()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(u=!!e,p()):u},n.padding=function(e){return arguments.length?(d=Math.min(1,f=+e),p()):d},n.paddingInner=function(e){return arguments.length?(d=Math.min(1,e),p()):d},n.paddingOuter=function(e){return arguments.length?(f=+e,p()):f},n.align=function(e){return arguments.length?(h=Math.max(0,Math.min(1,e)),p()):h},n.copy=function(){return i(a(),[l,c]).round(u).paddingInner(d).paddingOuter(f).align(h)},r.C.apply(p(),arguments)}function a(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return a(t())},e}function s(){return a(i.apply(null,arguments).paddingInner(1))}},99065:(e,t,n)=>{"use strict";function r(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function o(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}n.d(t,{C:()=>r,K:()=>o})},34598:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,h:()=>s});class r extends Map{constructor(e,t=i){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(o(this,e))}has(e){return super.has(o(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}(this,e))}}function o({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function i(e){return null!==e&&"object"==typeof e?e.valueOf():e}Set;var a=n(99065);const s=Symbol("implicit");function l(){var e=new r,t=[],n=[],o=s;function i(r){let i=e.get(r);if(void 0===i){if(o!==s)return o;e.set(r,i=t.push(r)-1)}return n[i%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new r;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(o=e,i):o},i.copy=function(){return l(t,n).unknown(o)},a.C.apply(i,arguments),i}},45917:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}n.d(t,{A:()=>r}),Array.prototype.slice},48946:(e,t,n)=>{"use strict";function r(e){return function(){return e}}n.d(t,{A:()=>r})},11509:(e,t,n)=>{"use strict";n.d(t,{i:()=>c});const r=Math.PI,o=2*r,i=1e-6,a=o-i;function s(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class l{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?s:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return s;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,o,i){this._append`C${+e},${+t},${+n},${+r},${this._x1=+o},${this._y1=+i}`}arcTo(e,t,n,o,a){if(e=+e,t=+t,n=+n,o=+o,(a=+a)<0)throw new Error(`negative radius: ${a}`);let s=this._x1,l=this._y1,c=n-e,u=o-t,d=s-e,f=l-t,h=d*d+f*f;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(h>i)if(Math.abs(f*c-u*d)>i&&a){let p=n-s,m=o-l,v=c*c+u*u,g=p*p+m*m,y=Math.sqrt(v),b=Math.sqrt(h),w=a*Math.tan((r-Math.acos((v+h-g)/(2*y*b)))/2),E=w/b,x=w/y;Math.abs(E-1)>i&&this._append`L${e+E*d},${t+E*f}`,this._append`A${a},${a},0,0,${+(f*p>d*m)},${this._x1=e+x*c},${this._y1=t+x*u}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,n,s,l,c){if(e=+e,t=+t,c=!!c,(n=+n)<0)throw new Error(`negative radius: ${n}`);let u=n*Math.cos(s),d=n*Math.sin(s),f=e+u,h=t+d,p=1^c,m=c?s-l:l-s;null===this._x1?this._append`M${f},${h}`:(Math.abs(this._x1-f)>i||Math.abs(this._y1-h)>i)&&this._append`L${f},${h}`,n&&(m<0&&(m=m%o+o),m>a?this._append`A${n},${n},0,1,${p},${e-u},${t-d}A${n},${n},0,1,${p},${this._x1=f},${this._y1=h}`:m>i&&this._append`A${n},${n},0,${+(m>=r)},${p},${this._x1=e+n*Math.cos(l)},${this._y1=t+n*Math.sin(l)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function c(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new l(t)}l.prototype},96285:(e,t,n)=>{"use strict";n.d(t,{c9:()=>fr,dw:()=>En,IX:()=>Sn,wB:()=>be});class r extends Error{}class o extends r{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class i extends r{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class a extends r{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class s extends r{}class l extends r{constructor(e){super(`Invalid unit ${e}`)}}class c extends r{}class u extends r{constructor(){super("Zone is an abstract class")}}const d="numeric",f="short",h="long",p={year:d,month:d,day:d},m={year:d,month:f,day:d},v={year:d,month:f,day:d,weekday:f},g={year:d,month:h,day:d},y={year:d,month:h,day:d,weekday:h},b={hour:d,minute:d},w={hour:d,minute:d,second:d},E={hour:d,minute:d,second:d,timeZoneName:f},x={hour:d,minute:d,second:d,timeZoneName:h},S={hour:d,minute:d,hourCycle:"h23"},_={hour:d,minute:d,second:d,hourCycle:"h23"},O={hour:d,minute:d,second:d,hourCycle:"h23",timeZoneName:f},C={hour:d,minute:d,second:d,hourCycle:"h23",timeZoneName:h},A={year:d,month:d,day:d,hour:d,minute:d},k={year:d,month:d,day:d,hour:d,minute:d,second:d},M={year:d,month:f,day:d,hour:d,minute:d},T={year:d,month:f,day:d,hour:d,minute:d,second:d},P={year:d,month:f,day:d,weekday:f,hour:d,minute:d},I={year:d,month:h,day:d,hour:d,minute:d,timeZoneName:f},j={year:d,month:h,day:d,hour:d,minute:d,second:d,timeZoneName:f},z={year:d,month:h,day:d,weekday:h,hour:d,minute:d,timeZoneName:h},D={year:d,month:h,day:d,weekday:h,hour:d,minute:d,second:d,timeZoneName:h};class R{get type(){throw new u}get name(){throw new u}get ianaName(){return this.name}get isUniversal(){throw new u}offsetName(e,t){throw new u}formatOffset(e,t){throw new u}offset(e){throw new u}equals(e){throw new u}get isValid(){throw new u}}let N=null;class $ extends R{static get instance(){return null===N&&(N=new $),N}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return nt(e,t,n)}formatOffset(e,t){return at(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}let F={};const L={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let B={};class H extends R{static create(e){return B[e]||(B[e]=new H(e)),B[e]}static resetCache(){B={},F={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=H.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return nt(e,t,n,this.name)}formatOffset(e,t){return at(this.offset(e),t)}offset(e){const t=new Date(e);if(isNaN(t))return NaN;const n=(r=this.name,F[r]||(F[r]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),F[r]);var r;let[o,i,a,s,l,c,u]=n.formatToParts?function(e,t){const n=e.formatToParts(t),r=[];for(let e=0;e<n.length;e++){const{type:t,value:o}=n[e],i=L[t];"era"===t?r[i]=o:De(i)||(r[i]=parseInt(o,10))}return r}(n,t):function(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,o,i,a,s,l,c,u]=r;return[a,o,i,s,l,c,u]}(n,t);"BC"===s&&(o=1-Math.abs(o));let d=+t;const f=d%1e3;return d-=f>=0?f:1e3+f,(Je({year:o,month:i,day:a,hour:24===l?0:l,minute:c,second:u,millisecond:0})-d)/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let V={},U={};function W(e,t={}){const n=JSON.stringify([e,t]);let r=U[n];return r||(r=new Intl.DateTimeFormat(e,t),U[n]=r),r}let q={},K={},G=null,X={};function Y(e,t,n,r){const o=e.listingMode();return"error"===o?null:"en"===o?n(t):r(t)}class Z{constructor(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:r,floor:o,...i}=n;if(!t||Object.keys(i).length>0){const t={useGrouping:!1,...n};n.padTo>0&&(t.minimumIntegerDigits=n.padTo),this.inf=function(e,t={}){const n=JSON.stringify([e,t]);let r=q[n];return r||(r=new Intl.NumberFormat(e,t),q[n]=r),r}(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}return Ue(this.floor?Math.floor(e):Ge(e,3),this.padTo)}}class J{constructor(e,t,n){let r;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){const t=e.offset/60*-1,n=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&H.create(n).valid?(r=n,this.dt=e):(r="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,r=e.zone.name):(r="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const o={...this.opts};o.timeZone=o.timeZone||r,this.dtf=W(t,o)}format(){return this.originalZone?this.formatToParts().map((({value:e})=>e)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map((e=>{if("timeZoneName"===e.type){const t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}return e})):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class Q{constructor(e,t,n){this.opts={style:"long",...n},!t&&$e()&&(this.rtf=function(e,t={}){const{base:n,...r}=t,o=JSON.stringify([e,r]);let i=K[o];return i||(i=new Intl.RelativeTimeFormat(e,t),K[o]=i),i}(e,n))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n="always",r=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&i){const n="days"===e;switch(t){case 1:return n?"tomorrow":`next ${o[e][0]}`;case-1:return n?"yesterday":`last ${o[e][0]}`;case 0:return n?"today":`this ${o[e][0]}`}}const a=Object.is(t,-0)||t<0,s=Math.abs(t),l=1===s,c=o[e],u=r?l?c[1]:c[2]||c[1]:l?o[e][0]:e;return a?`${s} ${u} ago`:`in ${s} ${u}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const ee={firstDay:1,minimalDays:4,weekend:[6,7]};class te{static fromOpts(e){return te.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,n,r,o=!1){const i=e||be.defaultLocale,a=i||(o?"en-US":G||(G=(new Intl.DateTimeFormat).resolvedOptions().locale,G)),s=t||be.defaultNumberingSystem,l=n||be.defaultOutputCalendar,c=He(r)||be.defaultWeekSettings;return new te(a,s,l,c,i)}static resetCache(){G=null,U={},q={},K={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:n,weekSettings:r}={}){return te.create(e,t,n,r)}constructor(e,t,n,r,o){const[i,a,s]=function(e){const t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(-1===n)return[e];{let t,r;try{t=W(e).resolvedOptions(),r=e}catch(o){const i=e.substring(0,n);t=W(i).resolvedOptions(),r=i}const{numberingSystem:o,calendar:i}=t;return[r,o,i]}}(e);this.locale=i,this.numberingSystem=t||a||null,this.outputCalendar=n||s||null,this.weekSettings=r,this.intl=function(e,t,n){return n||t?(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?te.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,He(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return Y(this,e,dt,(()=>{const n=t?{month:e,day:"numeric"}:{month:e},r=t?"format":"standalone";return this.monthsCache[r][e]||(this.monthsCache[r][e]=function(e){const t=[];for(let n=1;n<=12;n++){const r=fr.utc(2009,n,1);t.push(e(r))}return t}((e=>this.extract(e,n,"month")))),this.monthsCache[r][e]}))}weekdays(e,t=!1){return Y(this,e,mt,(()=>{const n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},r=t?"format":"standalone";return this.weekdaysCache[r][e]||(this.weekdaysCache[r][e]=function(e){const t=[];for(let n=1;n<=7;n++){const r=fr.utc(2016,11,13+n);t.push(e(r))}return t}((e=>this.extract(e,n,"weekday")))),this.weekdaysCache[r][e]}))}meridiems(){return Y(this,void 0,(()=>vt),(()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fr.utc(2016,11,13,9),fr.utc(2016,11,13,19)].map((t=>this.extract(t,e,"dayperiod")))}return this.meridiemCache}))}eras(e){return Y(this,e,wt,(()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[fr.utc(-40,1,1),fr.utc(2017,1,1)].map((e=>this.extract(e,t,"era")))),this.eraCache[e]}))}extract(e,t,n){const r=this.dtFormatter(e,t).formatToParts().find((e=>e.type.toLowerCase()===n));return r?r.value:null}numberFormatter(e={}){return new Z(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new J(e,this.intl,t)}relFormatter(e={}){return new Q(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){const n=JSON.stringify([e,t]);let r=V[n];return r||(r=new Intl.ListFormat(e,t),V[n]=r),r}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fe()?function(e){let t=X[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,X[e]=t}return t}(this.locale):ee}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let ne=null;class re extends R{static get utcInstance(){return null===ne&&(ne=new re(0)),ne}static instance(e){return 0===e?re.utcInstance:new re(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new re(rt(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${at(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${at(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return at(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class oe extends R{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ie(e,t){if(De(e)||null===e)return t;if(e instanceof R)return e;if("string"==typeof e){const n=e.toLowerCase();return"default"===n?t:"local"===n||"system"===n?$.instance:"utc"===n||"gmt"===n?re.utcInstance:re.parseSpecifier(n)||H.create(e)}return Re(e)?re.instance(e):"object"==typeof e&&"offset"in e&&"function"==typeof e.offset?e:new oe(e)}const ae={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[０-９]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},se={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},le=ae.hanidec.replace(/[\[|\]]/g,"").split("");let ce={};function ue({numberingSystem:e},t=""){const n=e||"latn";return ce[n]||(ce[n]={}),ce[n][t]||(ce[n][t]=new RegExp(`${ae[n]}${t}`)),ce[n][t]}let de,fe=()=>Date.now(),he="system",pe=null,me=null,ve=null,ge=60,ye=null;class be{static get now(){return fe}static set now(e){fe=e}static set defaultZone(e){he=e}static get defaultZone(){return ie(he,$.instance)}static get defaultLocale(){return pe}static set defaultLocale(e){pe=e}static get defaultNumberingSystem(){return me}static set defaultNumberingSystem(e){me=e}static get defaultOutputCalendar(){return ve}static set defaultOutputCalendar(e){ve=e}static get defaultWeekSettings(){return ye}static set defaultWeekSettings(e){ye=He(e)}static get twoDigitCutoffYear(){return ge}static set twoDigitCutoffYear(e){ge=e%100}static get throwOnInvalid(){return de}static set throwOnInvalid(e){de=e}static resetCaches(){te.resetCache(),H.resetCache(),fr.resetCache(),ce={}}}class we{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Ee=[0,31,59,90,120,151,181,212,243,273,304,334],xe=[0,31,60,91,121,152,182,213,244,274,305,335];function Se(e,t){return new we("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function _e(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const o=r.getUTCDay();return 0===o?7:o}function Oe(e,t,n){return n+(Xe(e)?xe:Ee)[t-1]}function Ce(e,t){const n=Xe(e)?xe:Ee,r=n.findIndex((e=>e<t));return{month:r+1,day:t-n[r]}}function Ae(e,t){return(e-t+7)%7+1}function ke(e,t=4,n=1){const{year:r,month:o,day:i}=e,a=Oe(r,o,i),s=Ae(_e(r,o,i),n);let l,c=Math.floor((a-s+14-t)/7);return c<1?(l=r-1,c=et(l,t,n)):c>et(r,t,n)?(l=r+1,c=1):l=r,{weekYear:l,weekNumber:c,weekday:s,...st(e)}}function Me(e,t=4,n=1){const{weekYear:r,weekNumber:o,weekday:i}=e,a=Ae(_e(r,1,t),n),s=Ye(r);let l,c=7*o+i-a-7+t;c<1?(l=r-1,c+=Ye(l)):c>s?(l=r+1,c-=Ye(r)):l=r;const{month:u,day:d}=Ce(l,c);return{year:l,month:u,day:d,...st(e)}}function Te(e){const{year:t,month:n,day:r}=e;return{year:t,ordinal:Oe(t,n,r),...st(e)}}function Pe(e){const{year:t,ordinal:n}=e,{month:r,day:o}=Ce(t,n);return{year:t,month:r,day:o,...st(e)}}function Ie(e,t){if(!De(e.localWeekday)||!De(e.localWeekNumber)||!De(e.localWeekYear)){if(!De(e.weekday)||!De(e.weekNumber)||!De(e.weekYear))throw new s("Cannot mix locale-based week fields with ISO-based week fields");return De(e.localWeekday)||(e.weekday=e.localWeekday),De(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),De(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function je(e){const t=Ne(e.year),n=Ve(e.month,1,12),r=Ve(e.day,1,Ze(e.year,e.month));return t?n?!r&&Se("day",e.day):Se("month",e.month):Se("year",e.year)}function ze(e){const{hour:t,minute:n,second:r,millisecond:o}=e,i=Ve(t,0,23)||24===t&&0===n&&0===r&&0===o,a=Ve(n,0,59),s=Ve(r,0,59),l=Ve(o,0,999);return i?a?s?!l&&Se("millisecond",o):Se("second",r):Se("minute",n):Se("hour",t)}function De(e){return void 0===e}function Re(e){return"number"==typeof e}function Ne(e){return"number"==typeof e&&e%1==0}function $e(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function Fe(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function Le(e,t,n){if(0!==e.length)return e.reduce(((e,r)=>{const o=[t(r),r];return e&&n(e[0],o[0])===e[0]?e:o}),null)[1]}function Be(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function He(e){if(null==e)return null;if("object"!=typeof e)throw new c("Week settings must be an object");if(!Ve(e.firstDay,1,7)||!Ve(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some((e=>!Ve(e,1,7))))throw new c("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Ve(e,t,n){return Ne(e)&&e>=t&&e<=n}function Ue(e,t=2){let n;return n=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0"),n}function We(e){return De(e)||null===e||""===e?void 0:parseInt(e,10)}function qe(e){return De(e)||null===e||""===e?void 0:parseFloat(e)}function Ke(e){if(!De(e)&&null!==e&&""!==e){const t=1e3*parseFloat("0."+e);return Math.floor(t)}}function Ge(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Xe(e){return e%4==0&&(e%100!=0||e%400==0)}function Ye(e){return Xe(e)?366:365}function Ze(e,t){const n=(r=t-1)-12*Math.floor(r/12)+1;var r;return 2===n?Xe(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Je(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function Qe(e,t,n){return-Ae(_e(e,1,t),n)+t-1}function et(e,t=4,n=1){const r=Qe(e,t,n),o=Qe(e+1,t,n);return(Ye(e)-r+o)/7}function tt(e){return e>99?e:e>be.twoDigitCutoffYear?1900+e:2e3+e}function nt(e,t,n,r=null){const o=new Date(e),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const a={timeZoneName:t,...i},s=new Intl.DateTimeFormat(n,a).formatToParts(o).find((e=>"timezonename"===e.type.toLowerCase()));return s?s.value:null}function rt(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function ot(e){const t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new c(`Invalid unit value ${e}`);return t}function it(e,t){const n={};for(const r in e)if(Be(e,r)){const o=e[r];if(null==o)continue;n[t(r)]=ot(o)}return n}function at(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${Ue(n,2)}:${Ue(r,2)}`;case"narrow":return`${o}${n}${r>0?`:${r}`:""}`;case"techie":return`${o}${Ue(n,2)}${Ue(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function st(e){return function(e,t){return["hour","minute","second","millisecond"].reduce(((t,n)=>(t[n]=e[n],t)),{})}(e)}const lt=["January","February","March","April","May","June","July","August","September","October","November","December"],ct=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ut=["J","F","M","A","M","J","J","A","S","O","N","D"];function dt(e){switch(e){case"narrow":return[...ut];case"short":return[...ct];case"long":return[...lt];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ft=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ht=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],pt=["M","T","W","T","F","S","S"];function mt(e){switch(e){case"narrow":return[...pt];case"short":return[...ht];case"long":return[...ft];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const vt=["AM","PM"],gt=["Before Christ","Anno Domini"],yt=["BC","AD"],bt=["B","A"];function wt(e){switch(e){case"narrow":return[...bt];case"short":return[...yt];case"long":return[...gt];default:return null}}function Et(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const xt={D:p,DD:m,DDD:g,DDDD:y,t:b,tt:w,ttt:E,tttt:x,T:S,TT:_,TTT:O,TTTT:C,f:A,ff:M,fff:I,ffff:z,F:k,FF:T,FFF:j,FFFF:D};class St{static create(e,t={}){return new St(e,t)}static parseFormat(e){let t=null,n="",r=!1;const o=[];for(let i=0;i<e.length;i++){const a=e.charAt(i);"'"===a?(n.length>0&&o.push({literal:r||/^\s+$/.test(n),val:n}),t=null,n="",r=!r):r||a===t?n+=a:(n.length>0&&o.push({literal:/^\s+$/.test(n),val:n}),n=a,t=a)}return n.length>0&&o.push({literal:r||/^\s+$/.test(n),val:n}),o}static macroTokenToFormatOpts(e){return xt[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return Ue(e,t);const n={...this.opts};return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)}formatDateTimeFromString(e,t){const n="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,o=(t,n)=>this.loc.extract(e,t,n),i=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",a=(t,r)=>n?function(e,t){return dt(t)[e.month-1]}(e,t):o(r?{month:t}:{month:t,day:"numeric"},"month"),s=(t,r)=>n?function(e,t){return mt(t)[e.weekday-1]}(e,t):o(r?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),l=t=>{const n=St.macroTokenToFormatOpts(t);return n?this.formatWithSystemDefault(e,n):t},c=t=>n?function(e,t){return wt(t)[e.year<0?0:1]}(e,t):o({era:t},"era");return Et(St.parseFormat(t),(t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return n?function(e){return vt[e.hour<12?0:1]}(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return r?o({day:"numeric"},"day"):this.num(e.day);case"dd":return r?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return s("short",!0);case"cccc":return s("long",!0);case"ccccc":return s("narrow",!0);case"EEE":return s("short",!1);case"EEEE":return s("long",!1);case"EEEEE":return s("narrow",!1);case"L":return r?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return r?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return r?o({month:"numeric"},"month"):this.num(e.month);case"MM":return r?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return r?o({year:"numeric"},"year"):this.num(e.year);case"yy":return r?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return r?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return r?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return c("short");case"GG":return c("long");case"GGGGG":return c("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return l(t)}}))}formatDurationFromString(e,t){const n=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},r=St.parseFormat(t),o=r.reduce(((e,{literal:t,val:n})=>t?e:e.concat(n)),[]);return Et(r,(e=>t=>{const r=n(t);return r?this.num(e.get(r),t.length):t})(e.shiftTo(...o.map(n).filter((e=>e)))))}}const _t=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ot(...e){const t=e.reduce(((e,t)=>e+t.source),"");return RegExp(`^${t}$`)}function Ct(...e){return t=>e.reduce((([e,n,r],o)=>{const[i,a,s]=o(t,r);return[{...e,...i},a||n,s]}),[{},null,1]).slice(0,2)}function At(e,...t){if(null==e)return[null,null];for(const[n,r]of t){const t=n.exec(e);if(t)return r(t)}return[null,null]}function kt(...e){return(t,n)=>{const r={};let o;for(o=0;o<e.length;o++)r[e[o]]=We(t[n+o]);return[r,null,n+o]}}const Mt=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Tt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pt=RegExp(`${Tt.source}(?:${Mt.source}?(?:\\[(${_t.source})\\])?)?`),It=RegExp(`(?:T${Pt.source})?`),jt=kt("weekYear","weekNumber","weekDay"),zt=kt("year","ordinal"),Dt=RegExp(`${Tt.source} ?(?:${Mt.source}|(${_t.source}))?`),Rt=RegExp(`(?: ${Dt.source})?`);function Nt(e,t,n){const r=e[t];return De(r)?n:We(r)}function $t(e,t){return[{hours:Nt(e,t,0),minutes:Nt(e,t+1,0),seconds:Nt(e,t+2,0),milliseconds:Ke(e[t+3])},null,t+4]}function Ft(e,t){const n=!e[t]&&!e[t+1],r=rt(e[t+1],e[t+2]);return[{},n?null:re.instance(r),t+3]}function Lt(e,t){return[{},e[t]?H.create(e[t]):null,t+1]}const Bt=RegExp(`^T?${Tt.source}$`),Ht=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vt(e){const[t,n,r,o,i,a,s,l,c]=e,u="-"===t[0],d=l&&"-"===l[0],f=(e,t=!1)=>void 0!==e&&(t||e&&u)?-e:e;return[{years:f(qe(n)),months:f(qe(r)),weeks:f(qe(o)),days:f(qe(i)),hours:f(qe(a)),minutes:f(qe(s)),seconds:f(qe(l),"-0"===l),milliseconds:f(Ke(c),d)}]}const Ut={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Wt(e,t,n,r,o,i,a){const s={year:2===t.length?tt(We(t)):We(t),month:ct.indexOf(n)+1,day:We(r),hour:We(o),minute:We(i)};return a&&(s.second=We(a)),e&&(s.weekday=e.length>3?ft.indexOf(e)+1:ht.indexOf(e)+1),s}const qt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Kt(e){const[,t,n,r,o,i,a,s,l,c,u,d]=e,f=Wt(t,o,r,n,i,a,s);let h;return h=l?Ut[l]:c?0:rt(u,d),[f,new re(h)]}const Gt=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Xt=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yt=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Zt(e){const[,t,n,r,o,i,a,s]=e;return[Wt(t,o,r,n,i,a,s),re.utcInstance]}function Jt(e){const[,t,n,r,o,i,a,s]=e;return[Wt(t,s,n,r,o,i,a),re.utcInstance]}const Qt=Ot(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,It),en=Ot(/(\d{4})-?W(\d\d)(?:-?(\d))?/,It),tn=Ot(/(\d{4})-?(\d{3})/,It),nn=Ot(Pt),rn=Ct((function(e,t){return[{year:Nt(e,t),month:Nt(e,t+1,1),day:Nt(e,t+2,1)},null,t+3]}),$t,Ft,Lt),on=Ct(jt,$t,Ft,Lt),an=Ct(zt,$t,Ft,Lt),sn=Ct($t,Ft,Lt),ln=Ct($t),cn=Ot(/(\d{4})-(\d\d)-(\d\d)/,Rt),un=Ot(Dt),dn=Ct($t,Ft,Lt),fn="Invalid Duration",hn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},pn={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...hn},mn={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...hn},vn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],gn=vn.slice(0).reverse();function yn(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new En(r)}function bn(e,t){let n=t.milliseconds??0;for(const r of gn.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function wn(e,t){const n=bn(e,t)<0?-1:1;vn.reduceRight(((r,o)=>{if(De(t[o]))return r;if(r){const i=t[r]*n,a=e[o][r],s=Math.floor(i/a);t[o]+=s*n,t[r]-=s*a*n}return o}),null),vn.reduce(((n,r)=>{if(De(t[r]))return n;if(n){const o=t[n]%1;t[n]-=o,t[r]+=o*e[n][r]}return r}),null)}class En{constructor(e){const t="longterm"===e.conversionAccuracy||!1;let n=t?mn:pn;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||te.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,t){return En.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new c("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new En({values:it(e,En.normalizeUnit),loc:te.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(Re(e))return En.fromMillis(e);if(En.isDuration(e))return e;if("object"==typeof e)return En.fromObject(e);throw new c(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[n]=function(e){return At(e,[Ht,Vt])}(e);return n?En.fromObject(n,t):En.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[n]=function(e){return At(e,[Bt,ln])}(e);return n?En.fromObject(n,t):En.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new c("need to specify a reason the Duration is invalid");const n=e instanceof we?e:new we(e,t);if(be.throwOnInvalid)throw new a(n);return new En({invalid:n})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new l(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const n={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?St.create(this.loc,n).formatDurationFromString(this,e):fn}toHuman(e={}){if(!this.isValid)return fn;const t=vn.map((t=>{const n=this.values[t];return De(n)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(n)})).filter((e=>e));return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=Ge(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},fr.fromMillis(t,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?bn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=En.fromDurationLike(e),n={};for(const e of vn)(Be(t.values,e)||Be(this.values,e))&&(n[e]=t.get(e)+this.get(e));return yn(this,{values:n},!0)}minus(e){if(!this.isValid)return this;const t=En.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=ot(e(this.values[n],n));return yn(this,{values:t},!0)}get(e){return this[En.normalizeUnit(e)]}set(e){return this.isValid?yn(this,{values:{...this.values,...it(e,En.normalizeUnit)}}):this}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:n,matrix:r}={}){return yn(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:r,conversionAccuracy:n})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return wn(this.matrix,e),yn(this,{values:e},!0)}rescale(){return this.isValid?yn(this,{values:function(e){const t={};for(const[n,r]of Object.entries(e))0!==r&&(t[n]=r);return t}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...e){if(!this.isValid)return this;if(0===e.length)return this;e=e.map((e=>En.normalizeUnit(e)));const t={},n={},r=this.toObject();let o;for(const i of vn)if(e.indexOf(i)>=0){o=i;let e=0;for(const t in n)e+=this.matrix[t][i]*n[t],n[t]=0;Re(r[i])&&(e+=r[i]);const a=Math.trunc(e);t[i]=a,n[i]=(1e3*e-1e3*a)/1e3}else Re(r[i])&&(n[i]=r[i]);for(const e in n)0!==n[e]&&(t[o]+=e===o?n[e]:n[e]/this.matrix[o][e]);return wn(this.matrix,t),yn(this,{values:t},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return yn(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(const r of vn)if(t=this.values[r],n=e.values[r],!(void 0===t||0===t?void 0===n||0===n:t===n))return!1;var t,n;return!0}}const xn="Invalid Interval";class Sn{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new c("need to specify a reason the Interval is invalid");const n=e instanceof we?e:new we(e,t);if(be.throwOnInvalid)throw new i(n);return new Sn({invalid:n})}static fromDateTimes(e,t){const n=hr(e),r=hr(t),o=function(e,t){return e&&e.isValid?t&&t.isValid?t<e?Sn.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null:Sn.invalid("missing or invalid end"):Sn.invalid("missing or invalid start")}(n,r);return null==o?new Sn({start:n,end:r}):o}static after(e,t){const n=En.fromDurationLike(t),r=hr(e);return Sn.fromDateTimes(r,r.plus(n))}static before(e,t){const n=En.fromDurationLike(t),r=hr(e);return Sn.fromDateTimes(r.minus(n),r)}static fromISO(e,t){const[n,r]=(e||"").split("/",2);if(n&&r){let e,o,i,a;try{e=fr.fromISO(n,t),o=e.isValid}catch(r){o=!1}try{i=fr.fromISO(r,t),a=i.isValid}catch(r){a=!1}if(o&&a)return Sn.fromDateTimes(e,i);if(o){const n=En.fromISO(r,t);if(n.isValid)return Sn.after(e,n)}else if(a){const e=En.fromISO(n,t);if(e.isValid)return Sn.before(i,e)}}return Sn.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",t){if(!this.isValid)return NaN;const n=this.start.startOf(e,t);let r;return r=t?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,r=r.startOf(e,t),Math.floor(r.diff(n,e).get(e))+(r.valueOf()!==this.end.valueOf())}hasSame(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return!!this.isValid&&this.s>e}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&this.s<=e&&this.e>e}set({start:e,end:t}={}){return this.isValid?Sn.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(hr).filter((e=>this.contains(e))).sort(((e,t)=>e.toMillis()-t.toMillis())),n=[];let{s:r}=this,o=0;for(;r<this.e;){const e=t[o]||this.e,i=+e>+this.e?this.e:e;n.push(Sn.fromDateTimes(r,i)),r=i,o+=1}return n}splitBy(e){const t=En.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let n,{s:r}=this,o=1;const i=[];for(;r<this.e;){const e=this.start.plus(t.mapUnits((e=>e*o)));n=+e>+this.e?this.e:e,i.push(Sn.fromDateTimes(r,n)),r=n,o+=1}return i}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return!!this.isValid&&+this.e==+e.s}abutsEnd(e){return!!this.isValid&&+e.e==+this.s}engulfs(e){return!!this.isValid&&this.s<=e.s&&this.e>=e.e}equals(e){return!(!this.isValid||!e.isValid)&&this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return t>=n?null:Sn.fromDateTimes(t,n)}union(e){if(!this.isValid)return this;const t=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return Sn.fromDateTimes(t,n)}static merge(e){const[t,n]=e.sort(((e,t)=>e.s-t.s)).reduce((([e,t],n)=>t?t.overlaps(n)||t.abutsStart(n)?[e,t.union(n)]:[e.concat([t]),n]:[e,n]),[[],null]);return n&&t.push(n),t}static xor(e){let t=null,n=0;const r=[],o=e.map((e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}])),i=Array.prototype.concat(...o).sort(((e,t)=>e.time-t.time));for(const e of i)n+="s"===e.type?1:-1,1===n?t=e.time:(t&&+t!=+e.time&&r.push(Sn.fromDateTimes(t,e.time)),t=null);return Sn.merge(r)}difference(...e){return Sn.xor([this].concat(e)).map((e=>this.intersection(e))).filter((e=>e&&!e.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:xn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=p,t={}){return this.isValid?St.create(this.s.loc.clone(t),e).formatInterval(this):xn}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:xn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:xn}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:xn}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:xn}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):En.invalid(this.invalidReason)}mapEndpoints(e){return Sn.fromDateTimes(e(this.s),e(this.e))}}class _n{static hasDST(e=be.defaultZone){const t=fr.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return H.isValidZone(e)}static normalizeZone(e){return ie(e,be.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||te.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||te.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||te.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:o="gregory"}={}){return(r||te.create(t,n,o)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null,outputCalendar:o="gregory"}={}){return(r||te.create(t,n,o)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||te.create(t,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:r=null}={}){return(r||te.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return te.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return te.create(t,null,"gregory").eras(e)}static features(){return{relative:$e(),localeWeek:Fe()}}}function On(e,t){const n=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(En.fromMillis(r).as("days"))}function Cn(e,t=(e=>e)){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(-1!==e[n].search(ae.hanidec))t+=le.indexOf(e[n]);else for(const e in se){const[n,o]=se[e];r>=n&&r<=o&&(t+=r-n)}}return parseInt(t,10)}return t}(e))}}const An=`[ ${String.fromCharCode(160)}]`,kn=new RegExp(An,"g");function Mn(e){return e.replace(/\./g,"\\.?").replace(kn,An)}function Tn(e){return e.replace(/\./g,"").replace(kn," ").toLowerCase()}function Pn(e,t){return null===e?null:{regex:RegExp(e.map(Mn).join("|")),deser:([n])=>e.findIndex((e=>Tn(n)===Tn(e)))+t}}function In(e,t){return{regex:e,deser:([,e,t])=>rt(e,t),groups:t}}function jn(e){return{regex:e,deser:([e])=>e}}const zn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Dn=null;function Rn(e,t){return Array.prototype.concat(...e.map((e=>function(e,t){if(e.literal)return e;const n=Fn(St.macroTokenToFormatOpts(e.val),t);return null==n||n.includes(void 0)?e:n}(e,t))))}class Nn{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=Rn(St.parseFormat(t),e),this.units=this.tokens.map((t=>function(e,t){const n=ue(t),r=ue(t,"{2}"),o=ue(t,"{3}"),i=ue(t,"{4}"),a=ue(t,"{6}"),s=ue(t,"{1,2}"),l=ue(t,"{1,3}"),c=ue(t,"{1,6}"),u=ue(t,"{1,9}"),d=ue(t,"{2,4}"),f=ue(t,"{4,6}"),h=e=>{return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([e])=>e,literal:!0};var t},p=(p=>{if(e.literal)return h(p);switch(p.val){case"G":return Pn(t.eras("short"),0);case"GG":return Pn(t.eras("long"),0);case"y":return Cn(c);case"yy":case"kk":return Cn(d,tt);case"yyyy":case"kkkk":return Cn(i);case"yyyyy":return Cn(f);case"yyyyyy":return Cn(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cn(s);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cn(r);case"MMM":return Pn(t.months("short",!0),1);case"MMMM":return Pn(t.months("long",!0),1);case"LLL":return Pn(t.months("short",!1),1);case"LLLL":return Pn(t.months("long",!1),1);case"o":case"S":return Cn(l);case"ooo":case"SSS":return Cn(o);case"u":return jn(u);case"uu":return jn(s);case"uuu":case"E":case"c":return Cn(n);case"a":return Pn(t.meridiems(),0);case"EEE":return Pn(t.weekdays("short",!1),1);case"EEEE":return Pn(t.weekdays("long",!1),1);case"ccc":return Pn(t.weekdays("short",!0),1);case"cccc":return Pn(t.weekdays("long",!0),1);case"Z":case"ZZ":return In(new RegExp(`([+-]${s.source})(?::(${r.source}))?`),2);case"ZZZ":return In(new RegExp(`([+-]${s.source})(${r.source})?`),2);case"z":return jn(/[a-z_+-/]{1,256}?/i);case" ":return jn(/[^\S\n\r]/);default:return h(p)}})(e)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return p.token=e,p}(t,e))),this.disqualifyingUnit=this.units.find((e=>e.invalidReason)),!this.disqualifyingUnit){const[e,t]=[`^${(n=this.units).map((e=>e.regex)).reduce(((e,t)=>`${e}(${t.source})`),"")}$`,n];this.regex=RegExp(e,"i"),this.handlers=t}var n}explainFromTokens(e){if(this.isValid){const[t,n]=function(e,t,n){const r=e.match(t);if(r){const e={};let t=1;for(const o in n)if(Be(n,o)){const i=n[o],a=i.groups?i.groups+1:1;!i.literal&&i.token&&(e[i.token.val[0]]=i.deser(r.slice(t,t+a))),t+=a}return[r,e]}return[r,{}]}(e,this.regex,this.handlers),[r,o,i]=n?function(e){let t,n=null;return De(e.z)||(n=H.create(e.z)),De(e.Z)||(n||(n=new re(e.Z)),t=e.Z),De(e.q)||(e.M=3*(e.q-1)+1),De(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),De(e.u)||(e.S=Ke(e.u)),[Object.keys(e).reduce(((t,n)=>{const r=(e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return r&&(t[r]=e[n]),t}),{}),n,t]}(n):[null,null,void 0];if(Be(n,"a")&&Be(n,"H"))throw new s("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:n,result:r,zone:o,specificOffset:i}}return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function $n(e,t,n){return new Nn(e,n).explainFromTokens(t)}function Fn(e,t){if(!e)return null;const n=St.create(t,e).dtFormatter((Dn||(Dn=fr.fromMillis(1555555555555)),Dn)),r=n.formatToParts(),o=n.resolvedOptions();return r.map((t=>function(e,t,n){const{type:r,value:o}=e;if("literal"===r){const e=/^\s+$/.test(o);return{literal:!e,val:e?" ":o}}const i=t[r];let a=r;"hour"===r&&(a=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let s=zn[a];if("object"==typeof s&&(s=s[i]),s)return{literal:!1,val:s}}(t,e,o)))}const Ln="Invalid DateTime",Bn=864e13;function Hn(e){return new we("unsupported zone",`the zone "${e.name}" is not supported`)}function Vn(e){return null===e.weekData&&(e.weekData=ke(e.c)),e.weekData}function Un(e){return null===e.localWeekData&&(e.localWeekData=ke(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function Wn(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new fr({...n,...t,old:n})}function qn(e,t,n){let r=e-60*t*1e3;const o=n.offset(r);if(t===o)return[r,t];r-=60*(o-t)*1e3;const i=n.offset(r);return o===i?[r,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}function Kn(e,t){const n=new Date(e+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Gn(e,t,n){return qn(Je(e),t,n)}function Xn(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),i={...e.c,year:r,month:o,day:Math.min(e.c.day,Ze(r,o))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},a=En.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),s=Je(i);let[l,c]=qn(s,n,e.zone);return 0!==a&&(l+=a,c=e.zone.offset(l)),{ts:l,o:c}}function Yn(e,t,n,r,o,i){const{setZone:a,zone:s}=n;if(e&&0!==Object.keys(e).length||t){const r=t||s,o=fr.fromObject(e,{...n,zone:r,specificOffset:i});return a?o:o.setZone(s)}return fr.invalid(new we("unparsable",`the input "${o}" can't be parsed as ${r}`))}function Zn(e,t,n=!0){return e.isValid?St.create(te.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Jn(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=Ue(e.c.year,n?6:4),t?(r+="-",r+=Ue(e.c.month),r+="-",r+=Ue(e.c.day)):(r+=Ue(e.c.month),r+=Ue(e.c.day)),r}function Qn(e,t,n,r,o,i){let a=Ue(e.c.hour);return t?(a+=":",a+=Ue(e.c.minute),0===e.c.millisecond&&0===e.c.second&&n||(a+=":")):a+=Ue(e.c.minute),0===e.c.millisecond&&0===e.c.second&&n||(a+=Ue(e.c.second),0===e.c.millisecond&&r||(a+=".",a+=Ue(e.c.millisecond,3))),o&&(e.isOffsetFixed&&0===e.offset&&!i?a+="Z":e.o<0?(a+="-",a+=Ue(Math.trunc(-e.o/60)),a+=":",a+=Ue(Math.trunc(-e.o%60))):(a+="+",a+=Ue(Math.trunc(e.o/60)),a+=":",a+=Ue(Math.trunc(e.o%60)))),i&&(a+="["+e.zone.ianaName+"]"),a}const er={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},tr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},nr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},rr=["year","month","day","hour","minute","second","millisecond"],or=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ir=["year","ordinal","hour","minute","second","millisecond"];function ar(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new l(e);return t}(e)}}function sr(e,t){const n=ie(t.zone,be.defaultZone);if(!n.isValid)return fr.invalid(Hn(n));const r=te.fromObject(t);let o,i;if(De(e.year))o=be.now();else{for(const t of rr)De(e[t])&&(e[t]=er[t]);const t=je(e)||ze(e);if(t)return fr.invalid(t);const r=function(e){return dr[e]||(void 0===ur&&(ur=be.now()),dr[e]=e.offset(ur)),dr[e]}(n);[o,i]=Gn(e,r,n)}return new fr({ts:o,zone:n,loc:r,o:i})}function lr(e,t,n){const r=!!De(n.round)||n.round,o=(e,o)=>(e=Ge(e,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(e,o)),i=r=>n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r);if(n.unit)return o(i(n.unit),n.unit);for(const e of n.units){const t=i(e);if(Math.abs(t)>=1)return o(t,e)}return o(e>t?-0:0,n.units[n.units.length-1])}function cr(e){let t,n={};return e.length>0&&"object"==typeof e[e.length-1]?(n=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[n,t]}let ur,dr={};class fr{constructor(e){const t=e.zone||be.defaultZone;let n=e.invalid||(Number.isNaN(e.ts)?new we("invalid input"):null)||(t.isValid?null:Hn(t));this.ts=De(e.ts)?be.now():e.ts;let r=null,o=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[r,o]=[e.old.c,e.old.o];else{const i=Re(e.o)&&!e.old?e.o:t.offset(this.ts);r=Kn(this.ts,i),n=Number.isNaN(r.year)?new we("invalid input"):null,r=n?null:r,o=n?null:i}this._zone=t,this.loc=e.loc||te.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=o,this.isLuxonDateTime=!0}static now(){return new fr({})}static local(){const[e,t]=cr(arguments),[n,r,o,i,a,s,l]=t;return sr({year:n,month:r,day:o,hour:i,minute:a,second:s,millisecond:l},e)}static utc(){const[e,t]=cr(arguments),[n,r,o,i,a,s,l]=t;return e.zone=re.utcInstance,sr({year:n,month:r,day:o,hour:i,minute:a,second:s,millisecond:l},e)}static fromJSDate(e,t={}){const n=(r=e,"[object Date]"===Object.prototype.toString.call(r)?e.valueOf():NaN);var r;if(Number.isNaN(n))return fr.invalid("invalid input");const o=ie(t.zone,be.defaultZone);return o.isValid?new fr({ts:n,zone:o,loc:te.fromObject(t)}):fr.invalid(Hn(o))}static fromMillis(e,t={}){if(Re(e))return e<-Bn||e>Bn?fr.invalid("Timestamp out of range"):new fr({ts:e,zone:ie(t.zone,be.defaultZone),loc:te.fromObject(t)});throw new c(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(Re(e))return new fr({ts:1e3*e,zone:ie(t.zone,be.defaultZone),loc:te.fromObject(t)});throw new c("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const n=ie(t.zone,be.defaultZone);if(!n.isValid)return fr.invalid(Hn(n));const r=te.fromObject(t),o=it(e,ar),{minDaysInFirstWeek:i,startOfWeek:a}=Ie(o,r),l=be.now(),c=De(t.specificOffset)?n.offset(l):t.specificOffset,u=!De(o.ordinal),d=!De(o.year),f=!De(o.month)||!De(o.day),h=d||f,p=o.weekYear||o.weekNumber;if((h||u)&&p)throw new s("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&u)throw new s("Can't mix ordinal dates with month/day");const m=p||o.weekday&&!h;let v,g,y=Kn(l,c);m?(v=or,g=tr,y=ke(y,i,a)):u?(v=ir,g=nr,y=Te(y)):(v=rr,g=er);let b=!1;for(const e of v)De(o[e])?o[e]=b?g[e]:y[e]:b=!0;const w=m?function(e,t=4,n=1){const r=Ne(e.weekYear),o=Ve(e.weekNumber,1,et(e.weekYear,t,n)),i=Ve(e.weekday,1,7);return r?o?!i&&Se("weekday",e.weekday):Se("week",e.weekNumber):Se("weekYear",e.weekYear)}(o,i,a):u?function(e){const t=Ne(e.year),n=Ve(e.ordinal,1,Ye(e.year));return t?!n&&Se("ordinal",e.ordinal):Se("year",e.year)}(o):je(o),E=w||ze(o);if(E)return fr.invalid(E);const x=m?Me(o,i,a):u?Pe(o):o,[S,_]=Gn(x,c,n),O=new fr({ts:S,zone:n,o:_,loc:r});return o.weekday&&h&&e.weekday!==O.weekday?fr.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${O.toISO()}`):O.isValid?O:fr.invalid(O.invalid)}static fromISO(e,t={}){const[n,r]=function(e){return At(e,[Qt,rn],[en,on],[tn,an],[nn,sn])}(e);return Yn(n,r,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[n,r]=function(e){return At(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[qt,Kt])}(e);return Yn(n,r,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[n,r]=function(e){return At(e,[Gt,Zt],[Xt,Zt],[Yt,Jt])}(e);return Yn(n,r,t,"HTTP",t)}static fromFormat(e,t,n={}){if(De(e)||De(t))throw new c("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:o=null}=n,i=te.fromOpts({locale:r,numberingSystem:o,defaultToEN:!0}),[a,s,l,u]=function(e,t,n){const{result:r,zone:o,specificOffset:i,invalidReason:a}=$n(e,t,n);return[r,o,i,a]}(i,e,t);return u?fr.invalid(u):Yn(a,s,n,`format ${t}`,e,l)}static fromString(e,t,n={}){return fr.fromFormat(e,t,n)}static fromSQL(e,t={}){const[n,r]=function(e){return At(e,[cn,rn],[un,dn])}(e);return Yn(n,r,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new c("need to specify a reason the DateTime is invalid");const n=e instanceof we?e:new we(e,t);if(be.throwOnInvalid)throw new o(n);return new fr({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const n=Fn(e,te.fromObject(t));return n?n.map((e=>e?e.val:null)).join(""):null}static expandFormat(e,t={}){return Rn(St.parseFormat(e),te.fromObject(t)).map((e=>e.val)).join("")}static resetCache(){ur=void 0,dr={}}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Vn(this).weekYear:NaN}get weekNumber(){return this.isValid?Vn(this).weekNumber:NaN}get weekday(){return this.isValid?Vn(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Un(this).weekday:NaN}get localWeekNumber(){return this.isValid?Un(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Un(this).weekYear:NaN}get ordinal(){return this.isValid?Te(this.c).ordinal:NaN}get monthShort(){return this.isValid?_n.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_n.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_n.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_n.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,t=6e4,n=Je(this.c),r=this.zone.offset(n-e),o=this.zone.offset(n+e),i=this.zone.offset(n-r*t),a=this.zone.offset(n-o*t);if(i===a)return[this];const s=n-i*t,l=n-a*t,c=Kn(s,i),u=Kn(l,a);return c.hour===u.hour&&c.minute===u.minute&&c.second===u.second&&c.millisecond===u.millisecond?[Wn(this,{ts:s}),Wn(this,{ts:l})]:[this]}get isInLeapYear(){return Xe(this.year)}get daysInMonth(){return Ze(this.year,this.month)}get daysInYear(){return this.isValid?Ye(this.year):NaN}get weeksInWeekYear(){return this.isValid?et(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?et(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:n,calendar:r}=St.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:n,outputCalendar:r}}toUTC(e=0,t={}){return this.setZone(re.instance(e),t)}toLocal(){return this.setZone(be.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:n=!1}={}){if((e=ie(e,be.defaultZone)).equals(this.zone))return this;if(e.isValid){let r=this.ts;if(t||n){const t=e.offset(this.ts),n=this.toObject();[r]=Gn(n,t,e)}return Wn(this,{ts:r,zone:e})}return fr.invalid(Hn(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:n}={}){return Wn(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:n})})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=it(e,ar),{minDaysInFirstWeek:n,startOfWeek:r}=Ie(t,this.loc),o=!De(t.weekYear)||!De(t.weekNumber)||!De(t.weekday),i=!De(t.ordinal),a=!De(t.year),l=!De(t.month)||!De(t.day),c=a||l,u=t.weekYear||t.weekNumber;if((c||i)&&u)throw new s("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&i)throw new s("Can't mix ordinal dates with month/day");let d;o?d=Me({...ke(this.c,n,r),...t},n,r):De(t.ordinal)?(d={...this.toObject(),...t},De(t.day)&&(d.day=Math.min(Ze(d.year,d.month),d.day))):d=Pe({...Te(this.c),...t});const[f,h]=Gn(d,this.o,this.zone);return Wn(this,{ts:f,o:h})}plus(e){return this.isValid?Wn(this,Xn(this,En.fromDurationLike(e))):this}minus(e){return this.isValid?Wn(this,Xn(this,En.fromDurationLike(e).negate())):this}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const n={},r=En.normalizeUnit(e);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}if("weeks"===r)if(t){const e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(n.weekNumber=this.weekNumber-1),n.weekday=e}else n.weekday=1;if("quarters"===r){const e=Math.ceil(this.month/3);n.month=3*(e-1)+1}return this.set(n)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?St.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Ln}toLocaleString(e=p,t={}){return this.isValid?St.create(this.loc.clone(t),e).formatDateTime(this):Ln}toLocaleParts(e={}){return this.isValid?St.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const i="extended"===e;let a=Jn(this,i);return a+="T",a+=Qn(this,i,t,n,r,o),a}toISODate({format:e="extended"}={}){return this.isValid?Jn(this,"extended"===e):null}toISOWeekDate(){return Zn(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:o=!1,format:i="extended"}={}){return this.isValid?(r?"T":"")+Qn(this,"extended"===i,t,e,n,o):null}toRFC2822(){return Zn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Zn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Jn(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:n=!0}={}){let r="HH:mm:ss.SSS";return(t||e)&&(n&&(r+=" "),t?r+="z":e&&(r+="ZZ")),Zn(this,r,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Ln}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",n={}){if(!this.isValid||!e.isValid)return En.invalid("created by diffing an invalid DateTime");const r={locale:this.locale,numberingSystem:this.numberingSystem,...n},o=(s=t,Array.isArray(s)?s:[s]).map(En.normalizeUnit),i=e.valueOf()>this.valueOf(),a=function(e,t,n,r){let[o,i,a,s]=function(e,t,n){const r=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+4*(t.year-e.year)],["months",(e,t)=>t.month-e.month+12*(t.year-e.year)],["weeks",(e,t)=>{const n=On(e,t);return(n-n%7)/7}],["days",On]],o={},i=e;let a,s;for(const[l,c]of r)n.indexOf(l)>=0&&(a=l,o[l]=c(e,t),s=i.plus(o),s>t?(o[l]--,(e=i.plus(o))>t&&(s=e,o[l]--,e=i.plus(o))):e=s);return[e,o,s,a]}(e,t,n);const l=t-o,c=n.filter((e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0));0===c.length&&(a<t&&(a=o.plus({[s]:1})),a!==o&&(i[s]=(i[s]||0)+l/(a-o)));const u=En.fromObject(i,r);return c.length>0?En.fromMillis(l,r).shiftTo(...c).plus(u):u}(i?this:e,i?e:this,o,r);var s;return i?a.negate():a}diffNow(e="milliseconds",t={}){return this.diff(fr.now(),e,t)}until(e){return this.isValid?Sn.fromDateTimes(this,e):this}hasSame(e,t,n){if(!this.isValid)return!1;const r=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(t,n)<=r&&r<=o.endOf(t,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||fr.fromObject({},{zone:this.zone}),n=e.padding?this<t?-e.padding:e.padding:0;let r=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(r=e.unit,o=void 0),lr(t,this.plus(n),{...e,numeric:"always",units:r,unit:o})}toRelativeCalendar(e={}){return this.isValid?lr(e.base||fr.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(fr.isDateTime))throw new c("min requires all arguments be DateTimes");return Le(e,(e=>e.valueOf()),Math.min)}static max(...e){if(!e.every(fr.isDateTime))throw new c("max requires all arguments be DateTimes");return Le(e,(e=>e.valueOf()),Math.max)}static fromFormatExplain(e,t,n={}){const{locale:r=null,numberingSystem:o=null}=n;return $n(te.fromOpts({locale:r,numberingSystem:o,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,n={}){return fr.fromFormatExplain(e,t,n)}static buildFormatParser(e,t={}){const{locale:n=null,numberingSystem:r=null}=t,o=te.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});return new Nn(o,e)}static fromFormatParser(e,t,n={}){if(De(e)||De(t))throw new c("fromFormatParser requires an input string and a format parser");const{locale:r=null,numberingSystem:o=null}=n,i=te.fromOpts({locale:r,numberingSystem:o,defaultToEN:!0});if(!i.equals(t.locale))throw new c(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${t.locale}`);const{result:a,zone:s,specificOffset:l,invalidReason:u}=t.explainFromTokens(e);return u?fr.invalid(u):Yn(a,s,n,`format ${t.format}`,e,l)}static get DATE_SHORT(){return p}static get DATE_MED(){return m}static get DATE_MED_WITH_WEEKDAY(){return v}static get DATE_FULL(){return g}static get DATE_HUGE(){return y}static get TIME_SIMPLE(){return b}static get TIME_WITH_SECONDS(){return w}static get TIME_WITH_SHORT_OFFSET(){return E}static get TIME_WITH_LONG_OFFSET(){return x}static get TIME_24_SIMPLE(){return S}static get TIME_24_WITH_SECONDS(){return _}static get TIME_24_WITH_SHORT_OFFSET(){return O}static get TIME_24_WITH_LONG_OFFSET(){return C}static get DATETIME_SHORT(){return A}static get DATETIME_SHORT_WITH_SECONDS(){return k}static get DATETIME_MED(){return M}static get DATETIME_MED_WITH_SECONDS(){return T}static get DATETIME_MED_WITH_WEEKDAY(){return P}static get DATETIME_FULL(){return I}static get DATETIME_FULL_WITH_SECONDS(){return j}static get DATETIME_HUGE(){return z}static get DATETIME_HUGE_WITH_SECONDS(){return D}}function hr(e){if(fr.isDateTime(e))return e;if(e&&e.valueOf&&Re(e.valueOf()))return fr.fromJSDate(e);if(e&&"object"==typeof e)return fr.fromObject(e);throw new c(`Unknown datetime argument: ${e}, of type ${typeof e}`)}},85517:(e,t,n)=>{"use strict";n.d(t,{t2:()=>_});var r={};function o(e){let t=null;return()=>(null==t&&(t=e()),t)}n.r(r),n.d(r,{FILE:()=>f,HTML:()=>m,TEXT:()=>p,URL:()=>h});class i{enter(e){const t=this.entered.length;return this.entered=function(e,t){const n=new Set,r=e=>n.add(e);e.forEach(r),t.forEach(r);const o=[];return n.forEach((e=>o.push(e))),o}(this.entered.filter((t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e)))),[e]),0===t&&this.entered.length>0}leave(e){const t=this.entered.length;var n,r;return this.entered=(n=this.entered.filter(this.isNodeInDocument),r=e,n.filter((e=>e!==r))),t>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}const a=o((()=>/firefox/i.test(navigator.userAgent))),s=o((()=>Boolean(window.safari)));class l{interpolate(e){const{xs:t,ys:n,c1s:r,c2s:o,c3s:i}=this;let a=t.length-1;if(e===t[a])return n[a];let s,l=0,c=i.length-1;for(;l<=c;){s=Math.floor(.5*(l+c));const r=t[s];if(r<e)l=s+1;else{if(!(r>e))return n[s];c=s-1}}a=Math.max(0,c);const u=e-t[a],d=u*u;return n[a]+r[a]*u+o[a]*d+i[a]*u*d}constructor(e,t){const{length:n}=e,r=[];for(let e=0;e<n;e++)r.push(e);r.sort(((t,n)=>e[t]<e[n]?-1:1));const o=[],i=[],a=[];let s,l;for(let r=0;r<n-1;r++)s=e[r+1]-e[r],l=t[r+1]-t[r],i.push(s),o.push(l),a.push(l/s);const c=[a[0]];for(let e=0;e<i.length-1;e++){const t=a[e],n=a[e+1];if(t*n<=0)c.push(0);else{s=i[e];const r=i[e+1],o=s+r;c.push(3*o/((o+r)/t+(o+s)/n))}}c.push(a[a.length-1]);const u=[],d=[];let f;for(let e=0;e<c.length-1;e++){f=a[e];const t=c[e],n=1/i[e],r=t+c[e+1]-f-f;u.push((f-t-r)*n),d.push(r*n*n)}this.xs=e,this.ys=t,this.c1s=c,this.c2s=u,this.c3s=d}}const c=1;function u(e){const t=e.nodeType===c?e:e.parentElement;if(!t)return null;const{top:n,left:r}=t.getBoundingClientRect();return{x:r,y:n}}function d(e){return{x:e.clientX,y:e.clientY}}const f="__NATIVE_FILE__",h="__NATIVE_URL__",p="__NATIVE_TEXT__",m="__NATIVE_HTML__";function v(e,t,n){const r=t.reduce(((t,n)=>t||e.getData(n)),"");return null!=r?r:n}const g={[f]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[m]:{exposeProperties:{html:(e,t)=>v(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[h]:{exposeProperties:{urls:(e,t)=>v(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[p]:{exposeProperties:{text:(e,t)=>v(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};class y{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach((e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null)})}))}loadDataTransfer(e){if(e){const t={};Object.keys(this.config.exposeProperties).forEach((n=>{const r=this.config.exposeProperties[n];null!=r&&(t[n]={value:r(e,this.config.matchesTypes),configurable:!0,enumerable:!0})})),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}function b(e){if(!e)return null;const t=Array.prototype.slice.call(e.types||[]);return Object.keys(g).filter((e=>{const n=g[e];return!!(null==n?void 0:n.matchesTypes)&&n.matchesTypes.some((e=>t.indexOf(e)>-1))}))[0]||null}class w{get window(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}get document(){var e;return(null===(e=this.globalContext)||void 0===e?void 0:e.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null===(e=this.optionsArgs)||void 0===e?void 0:e.rootElement)||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){E(e,t,n[t])}))}return e}class S{profile(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null===(e=this.dragStartSourceIds)||void 0===e?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?void 0:t.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){const e=this.rootElement;var t;void 0!==e&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&(null===(t=this.window)||void 0===t||t.cancelAnimationFrame(this.asyncEndDragFrameId)))}connectDragPreview(e,t,n){return this.sourcePreviewNodeOptions.set(e,n),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,n){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,n);const r=t=>this.handleDragStart(t,e),o=e=>this.handleSelectStart(e);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",r),t.addEventListener("selectstart",o),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",r),t.removeEventListener("selectstart",o),t.setAttribute("draggable","false")}}connectDropTarget(e,t){const n=t=>this.handleDragEnter(t,e),r=t=>this.handleDragOver(t,e),o=t=>this.handleDrop(t,e);return t.addEventListener("dragenter",n),t.addEventListener("dragover",r),t.addEventListener("drop",o),()=>{t.removeEventListener("dragenter",n),t.removeEventListener("dragover",r),t.removeEventListener("drop",o)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return x({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const e=this.monitor.getSourceId();return x({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){const e=this.monitor.getItemType();return Object.keys(r).some((t=>r[t]===e))}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){const n=g[e];if(!n)throw new Error(`native type ${e} has no configuration`);const r=new y(n);return r.loadDataTransfer(t),r}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout((()=>{var e;return null===(e=this.rootElement)||void 0===e?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}clearCurrentDragSourceNode(){var e;return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.rootElement&&(null===(e=this.window)||void 0===e||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,n){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{const t=this.sourceNodes.get(e);return t&&u(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>Boolean(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{const e=this.currentDragSourceNode;null==e||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=e=>{null===this.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame((()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null})))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;const{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;const n=d(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:n});const{dataTransfer:r}=e,o=b(r);if(this.monitor.isDragging()){if(r&&"function"==typeof r.setDragImage){const e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),o=this.sourcePreviewNodes.get(e)||t;if(o){const{anchorX:e,anchorY:i,offsetX:c,offsetY:d}=this.getCurrentSourcePreviewNodeOptions(),f=function(e,t,n,r,o){const i="IMG"===(c=t).nodeName&&(a()||!(null===(d=document.documentElement)||void 0===d?void 0:d.contains(c)));var c,d;const f=u(i?e:t),h={x:n.x-f.x,y:n.y-f.y},{offsetWidth:p,offsetHeight:m}=e,{anchorX:v,anchorY:g}=r,{dragPreviewWidth:y,dragPreviewHeight:b}=function(e,t,n,r){let o=e?t.width:n,i=e?t.height:r;return s()&&e&&(i/=window.devicePixelRatio,o/=window.devicePixelRatio),{dragPreviewWidth:o,dragPreviewHeight:i}}(i,t,p,m),{offsetX:w,offsetY:E}=o,x=0===E||E;return{x:0===w||w?w:new l([0,.5,1],[h.x,h.x/p*y,h.x+y-p]).interpolate(v),y:x?E:(()=>{let e=new l([0,.5,1],[h.y,h.y/m*b,h.y+b-m]).interpolate(g);return s()&&i&&(e+=(window.devicePixelRatio-1)*b),e})()}}(t,o,n,{anchorX:e,anchorY:i},{offsetX:c,offsetY:d});r.setDragImage(o,f.x,f.y)}}try{null==r||r.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);const{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout((()=>this.actions.publishDragSource()),0)}else if(o)this.beginDragNativeItem(o);else{if(r&&!r.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{var t;if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()&&(null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)),!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;const{dataTransfer:n}=e,r=b(n);r&&this.beginDragNativeItem(r,n)},this.handleTopDragEnter=e=>{const{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:d(e)}),t.some((e=>this.monitor.canDropOnTarget(e)))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{var t;this.dragOverTargetIds=[],this.isDraggingNativeItem()&&(null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer))},this.handleTopDragOver=e=>{const{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer&&(e.dataTransfer.dropEffect="none"));this.altKeyPressed=e.altKey,this.lastClientOffset=d(e),this.scheduleHover(t),(t||[]).some((e=>this.monitor.canDropOnTarget(e)))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout((()=>this.endDragNativeItem()),0),this.cancelHover())},this.handleTopDropCapture=e=>{var t;this.dropTargetIds=[],this.isDraggingNativeItem()?(e.preventDefault(),null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)):b(e.dataTransfer)&&e.preventDefault(),this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{const{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:d(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=e=>{const t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},this.options=new w(t,n),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new i(this.isNodeInDocument)}}const _=function(e,t,n){return new S(e,t,n)}},10912:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});const r=(0,n(96540).createContext)({dragDropManager:void 0})},20021:(e,t,n)=>{"use strict";n.d(t,{Q:()=>pe});var r=n(74848);function o(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var i="function"==typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function l(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(o(1));return n(l)(e,t)}if("function"!=typeof e)throw new Error(o(2));var a=e,c=t,u=[],d=u,f=!1;function h(){d===u&&(d=u.slice())}function p(){if(f)throw new Error(o(3));return c}function m(e){if("function"!=typeof e)throw new Error(o(4));if(f)throw new Error(o(5));var t=!0;return h(),d.push(e),function(){if(t){if(f)throw new Error(o(6));t=!1,h();var n=d.indexOf(e);d.splice(n,1),u=null}}}function v(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(o(7));if(void 0===e.type)throw new Error(o(8));if(f)throw new Error(o(9));try{f=!0,c=a(c,e)}finally{f=!1}for(var t=u=d,n=0;n<t.length;n++)(0,t[n])();return e}return v({type:s.INIT}),(r={dispatch:v,subscribe:m,getState:p,replaceReducer:function(e){if("function"!=typeof e)throw new Error(o(10));a=e,v({type:s.REPLACE})}})[i]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(o(11));function n(){e.next&&e.next(p())}return n(),{unsubscribe:t(n)}}})[i]=function(){return this},e},r}var c=n(79396);function u(e){return"object"==typeof e}const d="dnd-core/INIT_COORDS",f="dnd-core/BEGIN_DRAG",h="dnd-core/PUBLISH_DRAG_SOURCE",p="dnd-core/HOVER",m="dnd-core/DROP",v="dnd-core/END_DRAG";function g(e,t){return{type:d,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}const y={type:d,payload:{clientOffset:null,sourceClientOffset:null}};function b(e){return function(t=[],n={publishSource:!0}){const{publishSource:r=!0,clientOffset:o,getSourceClientOffset:i}=n,a=e.getMonitor(),s=e.getRegistry();e.dispatch(g(o)),function(e,t,n){(0,c.V)(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach((function(e){(0,c.V)(n.getSource(e),"Expected sourceIds to be registered.")}))}(t,a,s);const l=function(e,t){let n=null;for(let r=e.length-1;r>=0;r--)if(t.canDragSource(e[r])){n=e[r];break}return n}(t,a);if(null==l)return void e.dispatch(y);let d=null;if(o){if(!i)throw new Error("getSourceClientOffset must be defined");!function(e){(0,c.V)("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(i),d=i(l)}e.dispatch(g(o,d));const h=s.getSource(l).beginDrag(a,l);if(null==h)return;!function(e){(0,c.V)(u(e),"Item must be an object.")}(h),s.pinSource(l);const p=s.getSourceType(l);return{type:f,payload:{itemType:p,item:h,sourceId:l,clientOffset:o||null,sourceClientOffset:d||null,isSourcePublic:!!r}}}}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){w(e,t,n[t])}))}return e}function x(e){return function(t={}){const n=e.getMonitor(),r=e.getRegistry();!function(e){(0,c.V)(e.isDragging(),"Cannot call drop while not dragging."),(0,c.V)(!e.didDrop(),"Cannot call drop twice during one drag operation.")}(n);const o=function(e){const t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}(n);o.forEach(((o,i)=>{const a=function(e,t,n,r){const o=n.getTarget(e);let i=o?o.drop(r,e):void 0;return function(e){(0,c.V)(void 0===e||u(e),"Drop result must either be an object or undefined.")}(i),void 0===i&&(i=0===t?{}:r.getDropResult()),i}(o,i,r,n),s={type:m,payload:{dropResult:E({},t,a)}};e.dispatch(s)}))}}function S(e){return function(){const t=e.getMonitor(),n=e.getRegistry();!function(e){(0,c.V)(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);const r=t.getSourceId();return null!=r&&(n.getSource(r,!0).endDrag(t,r),n.unpinSource()),{type:v}}}function _(e,t){return null===t?null===e:Array.isArray(e)?e.some((e=>e===t)):e===t}function O(e){return function(t,{clientOffset:n}={}){!function(e){(0,c.V)(Array.isArray(e),"Expected targetIds to be an array.")}(t);const r=t.slice(0),o=e.getMonitor(),i=e.getRegistry();return function(e,t,n){for(let r=e.length-1;r>=0;r--){const o=e[r];_(t.getTargetType(o),n)||e.splice(r,1)}}(r,i,o.getItemType()),function(e,t,n){(0,c.V)(t.isDragging(),"Cannot call hover while not dragging."),(0,c.V)(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t<e.length;t++){const r=e[t];(0,c.V)(e.lastIndexOf(r)===t,"Expected targetIds to be unique in the passed array.");const o=n.getTarget(r);(0,c.V)(o,"Expected targetIds to be registered.")}}(r,o,i),function(e,t,n){e.forEach((function(e){n.getTarget(e).hover(t,e)}))}(r,o,i),{type:p,payload:{targetIds:r,clientOffset:n||null}}}}function C(e){return function(){if(e.getMonitor().isDragging())return{type:h}}}class A{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const e=this,{dispatch:t}=this.store,n=function(e){return{beginDrag:b(e),publishDragSource:C(e),hover:O(e),drop:x(e),endDrag:S(e)}}(this);return Object.keys(n).reduce(((r,o)=>{const i=n[o];var a;return r[o]=(a=i,(...n)=>{const r=a.apply(e,n);void 0!==r&&t(r)}),r}),{})}dispatch(e){this.store.dispatch(e)}constructor(e,t){this.isSetUp=!1,this.handleRefCountChange=()=>{const e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}}function k(e,t){return{x:e.x-t.x,y:e.y-t.y}}const M=[],T=[];M.__IS_NONE__=!0,T.__IS_ALL__=!0;class P{subscribeToStateChange(e,t={}){const{handlerIds:n}=t;(0,c.V)("function"==typeof e,"listener must be a function."),(0,c.V)(void 0===n||Array.isArray(n),"handlerIds, when specified, must be an array of strings.");let r=this.store.getState().stateId;return this.store.subscribe((()=>{const t=this.store.getState(),o=t.stateId;try{const i=o===r||o===r+1&&!function(e,t){return e!==M&&(e===T||void 0===t||(n=e,t.filter((e=>n.indexOf(e)>-1))).length>0);var n}(t.dirtyHandlerIds,n);i||e()}finally{r=o}}))}subscribeToOffsetChange(e){(0,c.V)("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset;return this.store.subscribe((()=>{const n=this.store.getState().dragOffset;n!==t&&(t=n,e())}))}canDragSource(e){if(!e)return!1;const t=this.registry.getSource(e);return(0,c.V)(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;const t=this.registry.getTarget(e);return(0,c.V)(t,`Expected to find a valid target. targetId=${e}`),!(!this.isDragging()||this.didDrop())&&(_(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e))}isDragging(){return Boolean(this.getItemType())}isDraggingSource(e){if(!e)return!1;const t=this.registry.getSource(e,!0);return(0,c.V)(t,`Expected to find a valid source. sourceId=${e}`),!(!this.isDragging()||!this.isSourcePublic())&&(this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e))}isOverTarget(e,t={shallow:!1}){if(!e)return!1;const{shallow:n}=t;if(!this.isDragging())return!1;const r=this.registry.getTargetType(e),o=this.getItemType();if(o&&!_(r,o))return!1;const i=this.getTargetIds();if(!i.length)return!1;const a=i.indexOf(e);return n?a===i.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){const{clientOffset:t,initialClientOffset:n,initialSourceClientOffset:r}=e;return t&&n&&r?k((i=r,{x:(o=t).x+i.x,y:o.y+i.y}),n):null;var o,i}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(e){const{clientOffset:t,initialClientOffset:n}=e;return t&&n?k(t,n):null}(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}}const I="undefined"!=typeof global?global:self,j=I.MutationObserver||I.WebKitMutationObserver;function z(e){return function(){const t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}const D="function"==typeof j?function(e){let t=1;const n=new j(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}:z;class R{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}const N=new class{enqueueTask(e){const{queue:t,requestFlush:n}=this;t.length||(n(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,n=e.length-this.index;t<n;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=D(this.flush),this.requestErrorThrow=z((()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()}))}},$=new class{create(e){const t=this.freeTasks,n=t.length?t.pop():new R(this.onError,(e=>t[t.length]=e));return n.task=e,n}constructor(e){this.onError=e,this.freeTasks=[]}}(N.registerPendingError),F="dnd-core/ADD_SOURCE",L="dnd-core/ADD_TARGET",B="dnd-core/REMOVE_SOURCE",H="dnd-core/REMOVE_TARGET";function V(e,t){t&&Array.isArray(e)?e.forEach((e=>V(e,!1))):(0,c.V)("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var U;!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(U||(U={}));let W=0;function q(e){switch(e[0]){case"S":return U.SOURCE;case"T":return U.TARGET;default:throw new Error(`Cannot parse handler ID: ${e}`)}}function K(e,t){const n=e.entries();let r=!1;do{const{done:e,value:[,o]}=n.next();if(o===t)return!0;r=!!e}while(!r);return!1}class G{addSource(e,t){V(e),function(e){(0,c.V)("function"==typeof e.canDrag,"Expected canDrag to be a function."),(0,c.V)("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),(0,c.V)("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);const n=this.addHandler(U.SOURCE,e,t);return this.store.dispatch(function(e){return{type:F,payload:{sourceId:e}}}(n)),n}addTarget(e,t){V(e,!0),function(e){(0,c.V)("function"==typeof e.canDrop,"Expected canDrop to be a function."),(0,c.V)("function"==typeof e.hover,"Expected hover to be a function."),(0,c.V)("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);const n=this.addHandler(U.TARGET,e,t);return this.store.dispatch(function(e){return{type:L,payload:{targetId:e}}}(n)),n}containsHandler(e){return K(this.dragSources,e)||K(this.dropTargets,e)}getSource(e,t=!1){return(0,c.V)(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return(0,c.V)(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return(0,c.V)(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return(0,c.V)(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return q(e)===U.SOURCE}isTargetId(e){return q(e)===U.TARGET}removeSource(e){var t;(0,c.V)(this.getSource(e),"Expected an existing source."),this.store.dispatch(function(e){return{type:B,payload:{sourceId:e}}}(e)),t=()=>{this.dragSources.delete(e),this.types.delete(e)},N.enqueueTask($.create(t))}removeTarget(e){(0,c.V)(this.getTarget(e),"Expected an existing target."),this.store.dispatch(function(e){return{type:H,payload:{targetId:e}}}(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){const t=this.getSource(e);(0,c.V)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){(0,c.V)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,n){const r=function(e){const t=(W++).toString();switch(e){case U.SOURCE:return`S${t}`;case U.TARGET:return`T${t}`;default:throw new Error(`Unknown Handler Role: ${e}`)}}(e);return this.types.set(r,t),e===U.SOURCE?this.dragSources.set(r,n):e===U.TARGET&&this.dropTargets.set(r,n),r}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}const X=(e,t)=>e===t;function Y(e=M,t){switch(t.type){case p:break;case F:case L:case H:case B:return M;default:return T}const{targetIds:n=[],prevTargetIds:r=[]}=t.payload,o=function(e,t){const n=new Map,r=e=>{n.set(e,n.has(e)?n.get(e)+1:1)};e.forEach(r),t.forEach(r);const o=[];return n.forEach(((e,t)=>{1===e&&o.push(t)})),o}(n,r);if(!(o.length>0)&&function(e,t,n=X){if(e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(!n(e[r],t[r]))return!1;return!0}(n,r))return M;const i=r[r.length-1],a=n[n.length-1];return i!==a&&(i&&o.push(i),a&&o.push(a)),o}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const J={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Q(e=J,t){const{payload:n}=t;switch(t.type){case d:case f:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case p:return r=e.clientOffset,o=n.clientOffset,!r&&!o||r&&o&&r.x===o.x&&r.y===o.y?e:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Z(e,t,n[t])}))}return e}({},e,{clientOffset:n.clientOffset});case v:case m:return J;default:return e}var r,o}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ee(e,t,n[t])}))}return e}const ne={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function re(e=ne,t){const{payload:n}=t;switch(t.type){case f:return te({},e,{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case h:return te({},e,{isSourcePublic:!0});case p:return te({},e,{targetIds:n.targetIds});case H:return-1===e.targetIds.indexOf(n.targetId)?e:te({},e,{targetIds:(r=e.targetIds,o=n.targetId,r.filter((e=>e!==o)))});case m:return te({},e,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case v:return te({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}var r,o}function oe(e=0,t){switch(t.type){case F:case L:return e+1;case B:case H:return e-1;default:return e}}function ie(e=0){return e+1}function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ae(e,t,n[t])}))}return e}function le(e={},t){return{dirtyHandlerIds:Y(e.dirtyHandlerIds,{type:t.type,payload:se({},t.payload,{prevTargetIds:(n=e,"dragOperation.targetIds",r=[],"dragOperation.targetIds".split(".").reduce(((e,t)=>e&&e[t]?e[t]:r||null),n))})}),dragOffset:Q(e.dragOffset,t),refCount:oe(e.refCount,t),dragOperation:re(e.dragOperation,t),stateId:ie(e.stateId)};var n,r}function ce(e,t=void 0,n={},r=!1){const o=function(e){const t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return l(le,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(r),i=new P(o,new G(o)),a=new A(o,i),s=e(a,t,n);return a.receiveBackend(s),a}var ue=n(96540),de=n(10912);let fe=0;const he=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var pe=(0,ue.memo)((function(e){var{children:t}=e,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children"]);const[o,i]=function(e){if("manager"in e)return[{dragDropManager:e.manager},!1];return[function(e,t=me(),n,r){const o=t;return o[he]||(o[he]={dragDropManager:ce(e,t,n,r)}),o[he]}(e.backend,e.context,e.options,e.debugMode),!e.context]}(n);return(0,ue.useEffect)((()=>{if(i){const e=me();return++fe,()=>{0==--fe&&(e[he]=null)}}}),[]),(0,r.jsx)(de.M.Provider,{value:o,children:t})}));function me(){return"undefined"!=typeof global?global:window}},45075:(e,t,n)=>{"use strict";function r(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}n.d(t,{P:()=>r})},71468:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>te,Ng:()=>ee});var r=n(96540),o=n(78418),i=r,a=Symbol.for("react-redux-context"),s="undefined"!=typeof globalThis?globalThis:{};function l(){if(!i.createContext)return{};const e=s[a]??(s[a]=new Map);let t=e.get(i.createContext);return t||(t=i.createContext(null),e.set(i.createContext,t)),t}var c=l(),u=Symbol.for("react.element"),d=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),v=Symbol.for("react.context"),g=Symbol.for("react.server_context"),y=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),S=(Symbol.for("react.offscreen"),Symbol.for("react.client.reference"),y),_=E;function O(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){let s,l,c,u,d,f=!1;return function(h,p){return f?function(f,h){const p=!i(h,l),m=!o(f,s,h,l);return s=f,l=h,p&&m?(c=e(s,l),t.dependsOnOwnProps&&(u=t(r,l)),d=n(c,u,l),d):p?(e.dependsOnOwnProps&&(c=e(s,l)),t.dependsOnOwnProps&&(u=t(r,l)),d=n(c,u,l),d):m?function(){const t=e(s,l),r=!a(t,c);return c=t,r&&(d=n(c,u,l)),d}():d}(h,p):(s=h,l=p,c=e(s,l),u=t(r,l),d=n(c,u,l),f=!0,d)}}function C(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function A(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function k(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=A(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=A(o),o=r(t,n)),o},r}}function M(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function T(e,t,n){return{...n,...e,...t}}var P={notify(){},get:()=>[]};function I(e,t){let n,r=P,o=0,i=!1;function a(){c.onStateChange&&c.onStateChange()}function s(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){(()=>{let t=e;for(;t;)t.callback(),t=t.next})()},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function l(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=P)}const c={addNestedSub:function(e){s();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,s())},tryUnsubscribe:function(){i&&(i=!1,l())},getListeners:()=>r};return c}var j=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),z="undefined"!=typeof navigator&&"ReactNative"===navigator.product,D=j||z?i.useLayoutEffect:i.useEffect;function R(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function N(e,t){if(R(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!R(e[n[r]],t[n[r]]))return!1;return!0}var $={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},F={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},L={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},B={[S]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[_]:L};function H(e){return function(e){if("object"==typeof e&&null!==e){const t=e.$$typeof;switch(t){case u:{const n=e.type;switch(n){case f:case p:case h:case b:case w:return n;default:{const e=n&&n.$$typeof;switch(e){case g:case v:case y:case x:case E:case m:return e;default:return t}}}}case d:return t}}}(e)===E?L:B[e.$$typeof]||$}var V=Object.defineProperty,U=Object.getOwnPropertyNames,W=Object.getOwnPropertySymbols,q=Object.getOwnPropertyDescriptor,K=Object.getPrototypeOf,G=Object.prototype;function X(e,t){if("string"!=typeof t){if(G){const n=K(t);n&&n!==G&&X(e,n)}let n=U(t);W&&(n=n.concat(W(t)));const r=H(e),o=H(t);for(let i=0;i<n.length;++i){const a=n[i];if(!(F[a]||o&&o[a]||r&&r[a])){const n=q(t,a);try{V(e,a,n)}catch(e){}}}}return e}var Y=()=>{throw new Error("uSES not initialized!")},Z=[null,null];function J(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function Q(e,t){return e===t}var ee=function(e,t,n,{pure:r,areStatesEqual:o=Q,areOwnPropsEqual:a=N,areStatePropsEqual:s=N,areMergedPropsEqual:l=N,forwardRef:u=!1,context:d=c}={}){const f=d,h=function(e){return e?"function"==typeof e?k(e):M(e,"mapStateToProps"):C((()=>({})))}(e),p=function(e){return e&&"object"==typeof e?C((t=>function(e,t){const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?k(e):M(e,"mapDispatchToProps"):C((e=>({dispatch:e})))}(t),m=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,a){const s=e(t,n,a);return i?r(s,o)||(o=s):(i=!0,o=s),o}}}(e):M(e,"mergeProps"):()=>T}(n),v=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:v,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:h,initMapDispatchToProps:p,initMergeProps:m,areStatesEqual:o,areStatePropsEqual:s,areOwnPropsEqual:a,areMergedPropsEqual:l};function c(t){const[n,o,a]=i.useMemo((()=>{const{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]}),[t]),s=i.useMemo((()=>f),[n,f]),l=i.useContext(s),c=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),u=Boolean(l)&&Boolean(l.store),d=c?t.store:l.store,h=u?l.getServerState:d.getState,p=i.useMemo((()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){return O(t(e,o),n(e,o),r(e,o),e,o)}(d.dispatch,r)),[d]),[m,g]=i.useMemo((()=>{if(!v)return Z;const e=I(d,c?void 0:l.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[d,c,l]),y=i.useMemo((()=>c?l:{...l,subscription:m}),[c,l,m]),b=i.useRef(void 0),w=i.useRef(a),E=i.useRef(void 0),x=i.useRef(!1),S=i.useRef(!1),_=i.useRef(void 0);D((()=>(S.current=!0,()=>{S.current=!1})),[]);const C=i.useMemo((()=>()=>E.current&&a===w.current?E.current:p(d.getState(),a)),[d,a]),A=i.useMemo((()=>e=>m?function(e,t,n,r,o,i,a,s,l,c,u){if(!e)return()=>{};let d=!1,f=null;const h=()=>{if(d||!s.current)return;const e=t.getState();let n,h;try{n=r(e,o.current)}catch(e){h=e,f=e}h||(f=null),n===i.current?a.current||c():(i.current=n,l.current=n,a.current=!0,u())};return n.onStateChange=h,n.trySubscribe(),h(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}(v,d,m,p,w,b,x,S,E,g,e):()=>{}),[m]);var k,M;let T;k=J,M=[w,b,x,a,E,g],D((()=>k(...M)),undefined);try{T=Y(A,C,h?()=>p(h(),a):C)}catch(e){throw _.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${_.current.stack}\n\n`),e}D((()=>{_.current=void 0,E.current=void 0,b.current=T}));const P=i.useMemo((()=>i.createElement(e,{...T,ref:o})),[o,e,T]);return i.useMemo((()=>v?i.createElement(s.Provider,{value:y},P):P),[s,P,y])}const d=i.memo(c);if(d.WrappedComponent=e,d.displayName=c.displayName=n,u){const t=i.forwardRef((function(e,t){return i.createElement(d,{...e,reactReduxForwardedRef:t})}));return t.displayName=n,t.WrappedComponent=e,X(t,e)}return X(d,e)}},te=function({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",identityFunctionCheck:a="once"}){const s=i.useMemo((()=>{const t=I(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:o,identityFunctionCheck:a}}),[e,r,o,a]),l=i.useMemo((()=>e.getState()),[e]);D((()=>{const{subscription:t}=s;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),l!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[s,l]);const u=t||c;return i.createElement(u.Provider,{value:s},n)};o.useSyncExternalStoreWithSelector,(e=>{Y=e})(r.useSyncExternalStore)},55446:(e,t,n)=>{"use strict";n.d(t,{K9:()=>O,N9:()=>C,oR:()=>R});var r=n(96540);function o(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=o(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const i=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=o(e))&&(r&&(r+=" "),r+=t);return r},a=e=>"number"==typeof e&&!isNaN(e),s=e=>"string"==typeof e,l=e=>"function"==typeof e,c=e=>s(e)||l(e)?e:null,u=e=>(0,r.isValidElement)(e)||s(e)||l(e)||a(e);function d(e){let{enter:t,exit:n,appendPosition:o=!1,collapse:i=!0,collapseDuration:a=300}=e;return function(e){let{children:s,position:l,preventExitTransition:c,done:u,nodeRef:d,isIn:f}=e;const h=o?`${t}--${l}`:t,p=o?`${n}--${l}`:n,m=(0,r.useRef)(0);return(0,r.useLayoutEffect)((()=>{const e=d.current,t=h.split(" "),n=r=>{r.target===d.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===m.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)}),[]),(0,r.useEffect)((()=>{const e=d.current,t=()=>{e.removeEventListener("animationend",t),i?function(e,t,n){void 0===n&&(n=300);const{scrollHeight:r,style:o}=e;requestAnimationFrame((()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${n}ms`,requestAnimationFrame((()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)}))}))}(e,u,a):u()};f||(c?t():(m.current=1,e.className+=` ${p}`,e.addEventListener("animationend",t)))}),[f]),r.createElement(r.Fragment,null,s)}}function f(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const h={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const n=this.list.get(e).filter((e=>e!==t));return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach((t=>{const n=setTimeout((()=>{t(...[].slice.call(arguments,1))}),0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)}))}},p=e=>{let{theme:t,type:n,...o}=e;return r.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${n})`,...o})},m={info:function(e){return r.createElement(p,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return r.createElement(p,{...e},r.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return r.createElement(p,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return r.createElement(p,{...e},r.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return r.createElement("div",{className:"Toastify__spinner"})}};function v(e){const[,t]=(0,r.useReducer)((e=>e+1),0),[n,o]=(0,r.useState)([]),i=(0,r.useRef)(null),d=(0,r.useRef)(new Map).current,p=e=>-1!==n.indexOf(e),v=(0,r.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:p,getToast:e=>d.get(e)}).current;function g(e){let{containerId:t}=e;const{limit:n}=v.props;!n||t&&v.containerId!==t||(v.count-=v.queue.length,v.queue=[])}function y(e){o((t=>null==e?[]:t.filter((t=>t!==e))))}function b(){const{toastContent:e,toastProps:t,staleId:n}=v.queue.shift();E(e,t,n)}function w(e,n){let{delay:o,staleId:p,...g}=n;if(!u(e)||function(e){return!i.current||v.props.enableMultiContainer&&e.containerId!==v.props.containerId||d.has(e.toastId)&&null==e.updateId}(g))return;const{toastId:w,updateId:x,data:S}=g,{props:_}=v,O=()=>y(w),C=null==x;C&&v.count++;const A={..._,style:_.toastStyle,key:v.toastKey++,...Object.fromEntries(Object.entries(g).filter((e=>{let[t,n]=e;return null!=n}))),toastId:w,updateId:x,data:S,closeToast:O,isIn:!1,className:c(g.className||_.toastClassName),bodyClassName:c(g.bodyClassName||_.bodyClassName),progressClassName:c(g.progressClassName||_.progressClassName),autoClose:!g.isLoading&&(k=g.autoClose,M=_.autoClose,!1===k||a(k)&&k>0?k:M),deleteToast(){const e=f(d.get(w),"removed");d.delete(w),h.emit(4,e);const n=v.queue.length;if(v.count=null==w?v.count-v.displayedToast:v.count-1,v.count<0&&(v.count=0),n>0){const e=null==w?v.props.limit:1;if(1===n||1===e)v.displayedToast++,b();else{const t=e>n?n:e;v.displayedToast=t;for(let e=0;e<t;e++)b()}}else t()}};var k,M;A.iconOut=function(e){let{theme:t,type:n,isLoading:o,icon:i}=e,c=null;const u={theme:t,type:n};return!1===i||(l(i)?c=i(u):(0,r.isValidElement)(i)?c=(0,r.cloneElement)(i,u):s(i)||a(i)?c=i:o?c=m.spinner():(e=>e in m)(n)&&(c=m[n](u))),c}(A),l(g.onOpen)&&(A.onOpen=g.onOpen),l(g.onClose)&&(A.onClose=g.onClose),A.closeButton=_.closeButton,!1===g.closeButton||u(g.closeButton)?A.closeButton=g.closeButton:!0===g.closeButton&&(A.closeButton=!u(_.closeButton)||_.closeButton);let T=e;(0,r.isValidElement)(e)&&!s(e.type)?T=(0,r.cloneElement)(e,{closeToast:O,toastProps:A,data:S}):l(e)&&(T=e({closeToast:O,toastProps:A,data:S})),_.limit&&_.limit>0&&v.count>_.limit&&C?v.queue.push({toastContent:T,toastProps:A,staleId:p}):a(o)?setTimeout((()=>{E(T,A,p)}),o):E(T,A,p)}function E(e,t,n){const{toastId:r}=t;n&&d.delete(n);const i={content:e,props:t};d.set(r,i),o((e=>[...e,r].filter((e=>e!==n)))),h.emit(4,f(i,null==i.props.updateId?"added":"updated"))}return(0,r.useEffect)((()=>(v.containerId=e.containerId,h.cancelEmit(3).on(0,w).on(1,(e=>i.current&&y(e))).on(5,g).emit(2,v),()=>{d.clear(),h.emit(3,v)})),[]),(0,r.useEffect)((()=>{v.props=e,v.isToastActive=p,v.displayedToast=n.length})),{getToastToRender:function(t){const n=new Map,r=Array.from(d.values());return e.newestOnTop&&r.reverse(),r.forEach((e=>{const{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)})),Array.from(n,(e=>t(e[0],e[1])))},containerRef:i,isToastActive:p}}function g(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function y(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function b(e){const[t,n]=(0,r.useState)(!1),[o,i]=(0,r.useState)(!1),a=(0,r.useRef)(null),s=(0,r.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,c=(0,r.useRef)(e),{autoClose:u,pauseOnHover:d,closeToast:f,onClick:h,closeOnClick:p}=e;function m(t){if(e.draggable){"touchstart"===t.nativeEvent.type&&t.nativeEvent.preventDefault(),s.didMove=!1,document.addEventListener("mousemove",E),document.addEventListener("mouseup",x),document.addEventListener("touchmove",E),document.addEventListener("touchend",x);const n=a.current;s.canCloseOnClick=!0,s.canDrag=!0,s.boundingRect=n.getBoundingClientRect(),n.style.transition="",s.x=g(t.nativeEvent),s.y=y(t.nativeEvent),"x"===e.draggableDirection?(s.start=s.x,s.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(s.start=s.y,s.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}function v(t){if(s.boundingRect){const{top:n,bottom:r,left:o,right:i}=s.boundingRect;"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&s.x>=o&&s.x<=i&&s.y>=n&&s.y<=r?w():b()}}function b(){n(!0)}function w(){n(!1)}function E(n){const r=a.current;s.canDrag&&r&&(s.didMove=!0,t&&w(),s.x=g(n),s.y=y(n),s.delta="x"===e.draggableDirection?s.x-s.start:s.y-s.start,s.start!==s.x&&(s.canCloseOnClick=!1),r.style.transform=`translate${e.draggableDirection}(${s.delta}px)`,r.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function x(){document.removeEventListener("mousemove",E),document.removeEventListener("mouseup",x),document.removeEventListener("touchmove",E),document.removeEventListener("touchend",x);const t=a.current;if(s.canDrag&&s.didMove&&t){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return i(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform=`translate${e.draggableDirection}(0)`,t.style.opacity="1"}}(0,r.useEffect)((()=>{c.current=e})),(0,r.useEffect)((()=>(a.current&&a.current.addEventListener("d",b,{once:!0}),l(e.onOpen)&&e.onOpen((0,r.isValidElement)(e.children)&&e.children.props),()=>{const e=c.current;l(e.onClose)&&e.onClose((0,r.isValidElement)(e.children)&&e.children.props)})),[]),(0,r.useEffect)((()=>(e.pauseOnFocusLoss&&(document.hasFocus()||w(),window.addEventListener("focus",b),window.addEventListener("blur",w)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",b),window.removeEventListener("blur",w))})),[e.pauseOnFocusLoss]);const S={onMouseDown:m,onTouchStart:m,onMouseUp:v,onTouchEnd:v};return u&&d&&(S.onMouseEnter=w,S.onMouseLeave=b),p&&(S.onClick=e=>{h&&h(e),s.canCloseOnClick&&f()}),{playToast:b,pauseToast:w,isRunning:t,preventExitTransition:o,toastRef:a,eventHandlers:S}}function w(e){let{closeToast:t,theme:n,ariaLabel:o="close"}=e;return r.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":o},r.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function E(e){let{delay:t,isRunning:n,closeToast:o,type:a="default",hide:s,className:c,style:u,controlledProgress:d,progress:f,rtl:h,isIn:p,theme:m}=e;const v=s||d&&0===f,g={...u,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused",opacity:v?0:1};d&&(g.transform=`scaleX(${f})`);const y=i("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":h}),b=l(c)?c({rtl:h,type:a,defaultClassName:y}):i(y,c);return r.createElement("div",{role:"progressbar","aria-hidden":v?"true":"false","aria-label":"notification timer",className:b,style:g,[d&&f>=1?"onTransitionEnd":"onAnimationEnd"]:d&&f<1?null:()=>{p&&o()}})}const x=e=>{const{isRunning:t,preventExitTransition:n,toastRef:o,eventHandlers:a}=b(e),{closeButton:s,children:c,autoClose:u,onClick:d,type:f,hideProgressBar:h,closeToast:p,transition:m,position:v,className:g,style:y,bodyClassName:x,bodyStyle:S,progressClassName:_,progressStyle:O,updateId:C,role:A,progress:k,rtl:M,toastId:T,deleteToast:P,isIn:I,isLoading:j,iconOut:z,closeOnClick:D,theme:R}=e,N=i("Toastify__toast",`Toastify__toast-theme--${R}`,`Toastify__toast--${f}`,{"Toastify__toast--rtl":M},{"Toastify__toast--close-on-click":D}),$=l(g)?g({rtl:M,position:v,type:f,defaultClassName:N}):i(N,g),F=!!k||!u,L={closeToast:p,type:f,theme:R};let B=null;return!1===s||(B=l(s)?s(L):(0,r.isValidElement)(s)?(0,r.cloneElement)(s,L):w(L)),r.createElement(m,{isIn:I,done:P,position:v,preventExitTransition:n,nodeRef:o},r.createElement("div",{id:T,onClick:d,className:$,...a,style:y,ref:o},r.createElement("div",{...I&&{role:A},className:l(x)?x({type:f}):i("Toastify__toast-body",x),style:S},null!=z&&r.createElement("div",{className:i("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!j})},z),r.createElement("div",null,c)),B,r.createElement(E,{...C&&!F?{key:`pb-${C}`}:{},rtl:M,theme:R,delay:u,isRunning:t,isIn:I,closeToast:p,hide:h,type:f,style:O,className:_,controlledProgress:F,progress:k||0})))},S=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},_=d(S("bounce",!0)),O=(d(S("slide",!0)),d(S("zoom")),d(S("flip"))),C=(0,r.forwardRef)(((e,t)=>{const{getToastToRender:n,containerRef:o,isToastActive:a}=v(e),{className:s,style:u,rtl:d,containerId:f}=e;function h(e){const t=i("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":d});return l(s)?s({position:e,rtl:d,defaultClassName:t}):i(t,c(s))}return(0,r.useEffect)((()=>{t&&(t.current=o.current)}),[]),r.createElement("div",{ref:o,className:"Toastify",id:f},n(((e,t)=>{const n=t.length?{...u}:{...u,pointerEvents:"none"};return r.createElement("div",{className:h(e),style:n,key:`container-${e}`},t.map(((e,n)=>{let{content:o,props:i}=e;return r.createElement(x,{...i,isIn:a(i.toastId),style:{...i.style,"--nth":n+1,"--len":t.length},key:`toast-${i.key}`},o)})))})))}));C.displayName="ToastContainer",C.defaultProps={position:"top-right",transition:_,autoClose:5e3,closeButton:w,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let A,k=new Map,M=[],T=1;function P(){return""+T++}function I(e){return e&&(s(e.toastId)||a(e.toastId))?e.toastId:P()}function j(e,t){return k.size>0?h.emit(0,e,t):M.push({content:e,options:t}),t.toastId}function z(e,t){return{...t,type:t&&t.type||e,toastId:I(t)}}function D(e){return(t,n)=>j(t,z(e,n))}function R(e,t){return j(e,z("default",t))}R.loading=(e,t)=>j(e,z("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),R.promise=function(e,t,n){let r,{pending:o,error:i,success:a}=t;o&&(r=s(o)?R.loading(o,n):R.loading(o.render,{...n,...o}));const c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(e,t,o)=>{if(null==t)return void R.dismiss(r);const i={type:e,...c,...n,data:o},a=s(t)?{render:t}:t;return r?R.update(r,{...i,...a}):R(a.render,{...i,...a}),o},d=l(e)?e():e;return d.then((e=>u("success",a,e))).catch((e=>u("error",i,e))),d},R.success=D("success"),R.info=D("info"),R.error=D("error"),R.warning=D("warning"),R.warn=R.warning,R.dark=(e,t)=>j(e,z("default",{theme:"dark",...t})),R.dismiss=e=>{k.size>0?h.emit(1,e):M=M.filter((t=>null!=e&&t.options.toastId!==e))},R.clearWaitingQueue=function(e){return void 0===e&&(e={}),h.emit(5,e)},R.isActive=e=>{let t=!1;return k.forEach((n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)})),t},R.update=function(e,t){void 0===t&&(t={}),setTimeout((()=>{const n=function(e,t){let{containerId:n}=t;const r=k.get(n||A);return r&&r.getToast(e)}(e,t);if(n){const{props:r,content:o}=n,i={delay:100,...r,...t,toastId:t.toastId||e,updateId:P()};i.toastId!==e&&(i.staleId=e);const a=i.render||o;delete i.render,j(a,i)}}),0)},R.done=e=>{R.update(e,{progress:1})},R.onChange=e=>(h.on(4,e),()=>{h.off(4,e)}),R.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},R.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},h.on(2,(e=>{A=e.containerId||e,k.set(A,e),M.forEach((e=>{h.emit(0,e.content,e.options)})),M=[]})).on(3,(e=>{k.delete(e.containerId||e),0===k.size&&h.off(0).off(1).off(5)}))},97008:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Ay:()=>JsonView});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(74848),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(96540),_path$8;function isObject(e){return"[object Object]"===Object.prototype.toString.call(e)}function objectSize(e){return Array.isArray(e)?e.length:isObject(e)?Object.keys(e).length:0}function stringifyForCopying(e,t){if("string"==typeof e)return e;try{return JSON.stringify(e,((e,t)=>{switch(typeof t){case"bigint":return String(t)+"n";case"number":case"boolean":case"object":case"string":return t;default:return String(t)}}),t)}catch(e){return`${e.name}: ${e.message}`||"JSON.stringify failed"}}function isCollapsed(e,t,n,r,o,i){if(i&&void 0!==i.collapsed)return!!i.collapsed;if("boolean"==typeof r)return r;if("number"==typeof r&&t>r)return!0;const a=objectSize(e);if("function"==typeof r){const o=safeCall(r,[{node:e,depth:t,indexOrName:n,size:a}]);if("boolean"==typeof o)return o}return!!(Array.isArray(e)&&a>o)||!!(isObject(e)&&a>o)}function isCollapsed_largeArray(e,t,n,r,o,i){if(i&&void 0!==i.collapsed)return!!i.collapsed;if("boolean"==typeof r)return r;if("number"==typeof r&&t>r)return!0;const a=Math.ceil(e.length/100);if("function"==typeof r){const o=safeCall(r,[{node:e,depth:t,indexOrName:n,size:a}]);if("boolean"==typeof o)return o}return!!(Array.isArray(e)&&a>o)||!!(isObject(e)&&a>o)}function ifDisplay(e,t,n){return"boolean"==typeof e?e:"number"==typeof e&&t>e||!("collapsed"!==e||!n)||"expanded"===e&&!n}function safeCall(e,t){try{return e(...t)}catch(e){reportError(e)}}function editableAdd(e){return!0===e||!(!isObject(e)||!0!==e.add)||void 0}function editableEdit(e){return!0===e||!(!isObject(e)||!0!==e.edit)||void 0}function editableDelete(e){return!0===e||!(!isObject(e)||!0!==e.delete)||void 0}function isReactComponent(e){return"function"==typeof e}function customAdd(e){return!e||void 0===e.add||!!e.add}function customEdit(e){return!e||void 0===e.edit||!!e.edit}function customDelete(e){return!e||void 0===e.delete||!!e.delete}function customCopy(e){return!e||void 0===e.enableClipboard||!!e.enableClipboard}function customMatchesURL(e){return!e||void 0===e.matchesURL||!!e.matchesURL}function resolveEvalFailedNewValue(e,t){return"string"===e?t.trim().replace(/^\"([\s\S]+?)\"$/,"$1"):t}function _extends$8(){return _extends$8=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends$8.apply(this,arguments)}var SvgAngleDown=function(e){return react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",_extends$8({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),_path$8||(_path$8=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"currentColor",d:"M12.473 5.806a.666.666 0 0 0-.946 0L8.473 8.86a.667.667 0 0 1-.946 0L4.473 5.806a.667.667 0 1 0-.946.94l3.06 3.06a2 2 0 0 0 2.826 0l3.06-3.06a.667.667 0 0 0 0-.94Z"})))},_path$7;function _extends$7(){return _extends$7=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends$7.apply(this,arguments)}var SvgCopy=function(e){return react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",_extends$7({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),_path$7||(_path$7=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"currentColor",d:"M17.542 2.5h-4.75a3.963 3.963 0 0 0-3.959 3.958v4.75a3.963 3.963 0 0 0 3.959 3.959h4.75a3.963 3.963 0 0 0 3.958-3.959v-4.75A3.963 3.963 0 0 0 17.542 2.5Zm2.375 8.708a2.378 2.378 0 0 1-2.375 2.375h-4.75a2.378 2.378 0 0 1-2.375-2.375v-4.75a2.378 2.378 0 0 1 2.375-2.375h4.75a2.378 2.378 0 0 1 2.375 2.375v4.75Zm-4.75 6.334a3.963 3.963 0 0 1-3.959 3.958h-4.75A3.963 3.963 0 0 1 2.5 17.542v-4.75a3.963 3.963 0 0 1 3.958-3.959.791.791 0 1 1 0 1.584 2.378 2.378 0 0 0-2.375 2.375v4.75a2.378 2.378 0 0 0 2.375 2.375h4.75a2.378 2.378 0 0 0 2.375-2.375.792.792 0 1 1 1.584 0Z"})))},_path$6,_path2$5;function _extends$6(){return _extends$6=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends$6.apply(this,arguments)}var SvgCopied=function(e){return react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",_extends$6({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),_path$6||(_path$6=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"currentColor",d:"M17.25 3H6.75A3.755 3.755 0 0 0 3 6.75v10.5A3.754 3.754 0 0 0 6.75 21h10.5A3.754 3.754 0 0 0 21 17.25V6.75A3.755 3.755 0 0 0 17.25 3Zm2.25 14.25a2.25 2.25 0 0 1-2.25 2.25H6.75a2.25 2.25 0 0 1-2.25-2.25V6.75A2.25 2.25 0 0 1 6.75 4.5h10.5a2.25 2.25 0 0 1 2.25 2.25v10.5Z"})),_path2$5||(_path2$5=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"#14C786",d:"M10.312 14.45 7.83 11.906a.625.625 0 0 0-.896 0 .659.659 0 0 0 0 .918l2.481 2.546a1.264 1.264 0 0 0 .896.381 1.237 1.237 0 0 0 .895-.38l5.858-6.011a.658.658 0 0 0 0-.919.625.625 0 0 0-.896 0l-5.857 6.01Z"})))},_path$5,_path2$4;function CopyButton({node:e}){const{customizeCopy:t}=(0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(JsonViewContext),[n,r]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1);return n?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgCopied,{className:"json-view--copy",style:{display:"inline-block"}}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgCopy,{onClick:n=>{n.stopPropagation();const o=t(e);"string"==typeof o&&o&&navigator.clipboard.writeText(o),r(!0),setTimeout((()=>r(!1)),3e3)},className:"json-view--copy"})}function NameValue({indexOrName:e,value:t,depth:n,parent:r,deleteHandle:o,editHandle:i}){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",Object.assign({className:"json-view--pair"},{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",Object.assign({className:"number"==typeof e?"json-view--index":"json-view--property"},{children:e})),":"," ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(JsonNode,{node:t,depth:n+1,deleteHandle:o,editHandle:i,parent:r,indexOrName:e})]}))}function _extends$5(){return _extends$5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends$5.apply(this,arguments)}var SvgTrash=function(e){return react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",_extends$5({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),_path$5||(_path$5=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"currentColor",d:"M18.75 6h-2.325a3.757 3.757 0 0 0-3.675-3h-1.5a3.757 3.757 0 0 0-3.675 3H5.25a.75.75 0 0 0 0 1.5H6v9.75A3.754 3.754 0 0 0 9.75 21h4.5A3.754 3.754 0 0 0 18 17.25V7.5h.75a.75.75 0 1 0 0-1.5Zm-7.5-1.5h1.5A2.255 2.255 0 0 1 14.872 6H9.128a2.255 2.255 0 0 1 2.122-1.5Zm5.25 12.75a2.25 2.25 0 0 1-2.25 2.25h-4.5a2.25 2.25 0 0 1-2.25-2.25V7.5h9v9.75Z"})),_path2$4||(_path2$4=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"#DA0000",d:"M10.5 16.5a.75.75 0 0 0 .75-.75v-4.5a.75.75 0 1 0-1.5 0v4.5a.75.75 0 0 0 .75.75ZM13.5 16.5a.75.75 0 0 0 .75-.75v-4.5a.75.75 0 1 0-1.5 0v4.5a.75.75 0 0 0 .75.75Z"})))},_path$4,_path2$3;function _extends$4(){return _extends$4=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends$4.apply(this,arguments)}var SvgAddSquare=function(e){return react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",_extends$4({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),_path$4||(_path$4=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"currentColor",d:"M21 6.75v10.5A3.754 3.754 0 0 1 17.25 21H6.75A3.754 3.754 0 0 1 3 17.25V6.75A3.754 3.754 0 0 1 6.75 3h10.5A3.754 3.754 0 0 1 21 6.75Zm-1.5 0c0-1.24-1.01-2.25-2.25-2.25H6.75C5.51 4.5 4.5 5.51 4.5 6.75v10.5c0 1.24 1.01 2.25 2.25 2.25h10.5c1.24 0 2.25-1.01 2.25-2.25V6.75Z"})),_path2$3||(_path2$3=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"#14C786",d:"M15 12.75a.75.75 0 1 0 0-1.5h-2.25V9a.75.75 0 1 0-1.5 0v2.25H9a.75.75 0 1 0 0 1.5h2.25V15a.75.75 0 1 0 1.5 0v-2.25H15Z"})))},_path$3,_path2$2;function _extends$3(){return _extends$3=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends$3.apply(this,arguments)}var SvgDone=function(e){return react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",_extends$3({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),_path$3||(_path$3=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"currentColor",d:"M12 3a9 9 0 1 0 9 9 9.01 9.01 0 0 0-9-9Zm0 16.5a7.5 7.5 0 1 1 7.5-7.5 7.509 7.509 0 0 1-7.5 7.5Z"})),_path2$2||(_path2$2=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"#14C786",d:"m10.85 13.96-1.986-2.036a.5.5 0 0 0-.716 0 .527.527 0 0 0 0 .735l1.985 2.036a1.01 1.01 0 0 0 .717.305.99.99 0 0 0 .716-.305l4.686-4.808a.526.526 0 0 0 0-.735.5.5 0 0 0-.716 0l-4.687 4.809Z"})))},_path$2,_path2$1;function _extends$2(){return _extends$2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends$2.apply(this,arguments)}var SvgCancel=function(e){return react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",_extends$2({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),_path$2||(_path$2=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"#DA0000",d:"M15 9a.75.75 0 0 0-1.06 0L12 10.94 10.06 9A.75.75 0 0 0 9 10.06L10.94 12 9 13.94A.75.75 0 0 0 10.06 15L12 13.06 13.94 15A.75.75 0 0 0 15 13.94L13.06 12 15 10.06A.75.75 0 0 0 15 9Z"})),_path2$1||(_path2$1=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"currentColor",d:"M12 3a9 9 0 1 0 9 9 9.01 9.01 0 0 0-9-9Zm0 16.5a7.5 7.5 0 1 1 7.5-7.5 7.509 7.509 0 0 1-7.5 7.5Z"})))};function LargeArrayNode({originNode:e,node:t,depth:n,index:r,deleteHandle:o,customOptions:i,startIndex:a}){const{enableClipboard:s,src:l,onEdit:c,onChange:u,forceUpdate:d,displaySize:f}=(0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(JsonViewContext),[h,p]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!0),m=(0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(((t,r,o)=>{e[t]=r,c&&c({newValue:r,oldValue:o,depth:n,src:l,indexOrName:t,parentType:"array"}),u&&u({type:"edit",depth:n,src:l,indexOrName:t,parentType:"array"}),d()}),[t,c,u,d]),v=t=>{e.splice(t,1),d()},g=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:[!h&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({onClick:()=>p(!0),className:"jv-size-chevron"},{children:[ifDisplay(f,n,h)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({className:"jv-size"},{children:[objectSize(t)," Items"]})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgAngleDown,{className:"jv-chevron"})]})),!h&&s&&customCopy(i)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CopyButton,{node:t})]});return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{children:"["}),g,h?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("button",Object.assign({onClick:()=>p(!1),className:"jv-button"},{children:[a," ... ",a+t.length-1]})):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",Object.assign({className:"jv-indent"},{children:t.map(((e,o)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(NameValue,{indexOrName:o+a,value:e,depth:n,parent:t,deleteHandle:v,editHandle:m},String(r)+String(o))))})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{children:"]"})]})}function LargeArray({node:e,depth:t,deleteHandle:n,indexOrName:r,customOptions:o}){const i=[];for(let t=0;t<e.length;t+=100)i.push(e.slice(t,t+100));const{collapsed:a,enableClipboard:s,collapseObjectsAfterLength:l,editable:c,onDelete:u,src:d,onAdd:f,onEdit:h,onChange:p,forceUpdate:m,displaySize:v}=(0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(JsonViewContext),[g,y]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(isCollapsed_largeArray(e,t,r,a,l,o));(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>{y(isCollapsed_largeArray(e,t,r,a,l,o))}),[a,l]);const[b,w]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),[E,x]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),S=()=>{const n=e;n.push(null),f&&f({indexOrName:n.length-1,depth:t,src:d,parentType:"array"}),p&&p({type:"add",indexOrName:n.length-1,depth:t,src:d,parentType:"array"}),m()},_=b||E,O=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:[!g&&!_&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({onClick:()=>y(!0),className:"jv-size-chevron"},{children:[ifDisplay(v,t,g)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({className:"jv-size"},{children:[e.length," Items"]})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgAngleDown,{className:"jv-chevron"})]})),_&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgDone,{className:"json-view--edit",style:{display:"inline-block"},onClick:E?S:()=>{w(!1),n&&n(r),u&&u({value:e,depth:t,src:d,indexOrName:r,parentType:"array"}),p&&p({type:"delete",depth:t,src:d,indexOrName:r,parentType:"array"})}}),_&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgCancel,{className:"json-view--edit",style:{display:"inline-block"},onClick:()=>{w(!1),x(!1)}}),!g&&!_&&s&&customCopy(o)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CopyButton,{node:e}),!g&&!_&&editableAdd(c)&&customAdd(o)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgAddSquare,{className:"json-view--edit",onClick:()=>{S()}}),!g&&!_&&editableDelete(c)&&customDelete(o)&&n&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgTrash,{className:"json-view--edit",onClick:()=>w(!0)})]});return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{children:"["}),O,g?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button",Object.assign({onClick:()=>y(!1),className:"jv-button"},{children:"..."})):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",Object.assign({className:"jv-indent"},{children:i.map(((n,o)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(LargeArrayNode,{originNode:e,node:n,depth:t,index:o,startIndex:100*o},String(r)+String(o))))})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{children:"]"}),g&&ifDisplay(v,t,g)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({onClick:()=>y(!1),className:"jv-size"},{children:[e.length," Items"]}))]})}function ObjectNode({node:e,depth:t,indexOrName:n,deleteHandle:r,customOptions:o}){const{collapsed:i,enableClipboard:a,ignoreLargeArray:s,collapseObjectsAfterLength:l,editable:c,onDelete:u,src:d,onAdd:f,onEdit:h,onChange:p,forceUpdate:m,displaySize:v}=(0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(JsonViewContext);if(!s&&Array.isArray(e)&&e.length>100)return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(LargeArray,{node:e,depth:t,indexOrName:n,deleteHandle:r,customOptions:o});const g=isObject(e),[y,b]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(isCollapsed(e,t,n,i,l,o));(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>{b(isCollapsed(e,t,n,i,l,o))}),[i,l]);const w=(0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(((n,r,o)=>{Array.isArray(e)?e[+n]=r:e&&(e[n]=r),h&&h({newValue:r,oldValue:o,depth:t,src:d,indexOrName:n,parentType:g?"object":"array"}),p&&p({type:"edit",depth:t,src:d,indexOrName:n,parentType:g?"object":"array"}),m()}),[e,h,p,m]),E=t=>{Array.isArray(e)?e.splice(+t,1):e&&delete e[t],m()},[x,S]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),[_,O]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),C=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null),A=()=>{var n;if(g){const r=null===(n=C.current)||void 0===n?void 0:n.value;r&&(e[r]=null,C.current&&(C.current.value=""),O(!1),f&&f({indexOrName:r,depth:t,src:d,parentType:"object"}),p&&p({type:"add",indexOrName:r,depth:t,src:d,parentType:"object"}))}else if(Array.isArray(e)){const n=e;n.push(null),f&&f({indexOrName:n.length-1,depth:t,src:d,parentType:"array"}),p&&p({type:"add",indexOrName:n.length-1,depth:t,src:d,parentType:"array"})}m()},k=x||_,M=()=>{S(!1),O(!1)},T=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:[!y&&!k&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({onClick:()=>b(!0),className:"jv-size-chevron"},{children:[ifDisplay(v,t,y)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({className:"jv-size"},{children:[objectSize(e)," Items"]})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgAngleDown,{className:"jv-chevron"})]})),_&&g&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("input",{className:"json-view--input",placeholder:"property",ref:C,onKeyDown:e=>{"Enter"===e.key?(e.preventDefault(),A()):"Escape"===e.key&&M()}}),k&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgDone,{className:"json-view--edit",style:{display:"inline-block"},onClick:_?A:()=>{S(!1),r&&r(n),u&&u({value:e,depth:t,src:d,indexOrName:n,parentType:g?"object":"array"}),p&&p({type:"delete",depth:t,src:d,indexOrName:n,parentType:g?"object":"array"})}}),k&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgCancel,{className:"json-view--edit",style:{display:"inline-block"},onClick:M}),!y&&!k&&a&&customCopy(o)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CopyButton,{node:e}),!y&&!k&&editableAdd(c)&&customAdd(o)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgAddSquare,{className:"json-view--edit",onClick:()=>{g?(O(!0),setTimeout((()=>{var e;return null===(e=C.current)||void 0===e?void 0:e.focus()}))):A()}}),!y&&!k&&editableDelete(c)&&customDelete(o)&&r&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgTrash,{className:"json-view--edit",onClick:()=>S(!0)})]});return Array.isArray(e)?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{children:"["}),T,y?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button",Object.assign({onClick:()=>b(!1),className:"jv-button"},{children:"..."})):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",Object.assign({className:"jv-indent"},{children:e.map(((r,o)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(NameValue,{indexOrName:o,value:r,depth:t,parent:e,deleteHandle:E,editHandle:w},String(n)+String(o))))})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{children:"]"}),y&&ifDisplay(v,t,y)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({onClick:()=>b(!1),className:"jv-size"},{children:[objectSize(e)," Items"]}))]}):g?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{children:"{"}),T,y?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button",Object.assign({onClick:()=>b(!1),className:"jv-button"},{children:"..."})):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",Object.assign({className:"jv-indent"},{children:Object.entries(e).map((([r,o])=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(NameValue,{indexOrName:r,value:o,depth:t,parent:e,deleteHandle:E,editHandle:w},String(n)+String(r))))})),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{children:"}"}),y&&ifDisplay(v,t,y)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({onClick:()=>b(!1),className:"jv-size"},{children:[objectSize(e)," Items"]}))]}):null}const LongString=react__WEBPACK_IMPORTED_MODULE_1__.forwardRef((({str:e,className:t,ctrlClick:n},r)=>{let{collapseStringMode:o,collapseStringsAfterLength:i,customizeCollapseStringUI:a}=(0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(JsonViewContext);const[s,l]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!0),c=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);i=i>0?i:0;const u=e.replace(/\s+/g," "),d="function"==typeof a?a(u,s):"string"==typeof a?a:"...",f=e=>{var t;if((e.ctrlKey||e.metaKey)&&n)n(e);else{const e=window.getSelection();if(e&&e.anchorOffset!==e.focusOffset&&(null===(t=e.anchorNode)||void 0===t?void 0:t.parentElement)===c.current)return;l(!s)}};if(e.length<=i)return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({ref:c,className:t,onClick:n},{children:['"',e,'"']}));if("address"===o)return e.length<=10?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({ref:c,className:t,onClick:n},{children:['"',e,'"']})):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({ref:c,onClick:f,className:t+" cursor-pointer"},{children:['"',s?[u.slice(0,6),d,u.slice(-4)]:e,'"']}));if("directly"===o)return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({ref:c,onClick:f,className:t+" cursor-pointer"},{children:['"',s?[u.slice(0,i),d]:e,'"']}));if("word"===o){let n=i,r=i+1,o=u,a=1;for(;;){if(/\W/.test(e[n])){o=e.slice(0,n);break}if(/\W/.test(e[r])){o=e.slice(0,r);break}if(6===a){o=e.slice(0,i);break}a++,n--,r++}return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({ref:c,onClick:f,className:t+" cursor-pointer"},{children:['"',s?[o,d]:e,'"']}))}return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({ref:c,className:t},{children:['"',e,'"']}))}));var _path$1;function _extends$1(){return _extends$1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends$1.apply(this,arguments)}var SvgEdit=function(e){return react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",_extends$1({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),_path$1||(_path$1=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"currentColor",d:"M17.25 3H6.75A3.754 3.754 0 0 0 3 6.75v10.5A3.754 3.754 0 0 0 6.75 21h10.5A3.754 3.754 0 0 0 21 17.25V6.75A3.754 3.754 0 0 0 17.25 3Zm2.25 14.25c0 1.24-1.01 2.25-2.25 2.25H6.75c-1.24 0-2.25-1.01-2.25-2.25V6.75c0-1.24 1.01-2.25 2.25-2.25h10.5c1.24 0 2.25 1.01 2.25 2.25v10.5Zm-6.09-9.466-5.031 5.03a2.981 2.981 0 0 0-.879 2.121v1.19c0 .415.336.75.75.75h1.19c.8 0 1.554-.312 2.12-.879l5.03-5.03a2.252 2.252 0 0 0 0-3.182c-.85-.85-2.331-.85-3.18 0Zm-2.91 7.151c-.28.28-.666.44-1.06.44H9v-.44c0-.4.156-.777.44-1.06l3.187-3.188 1.06 1.061-3.187 3.188Zm5.03-5.03-.782.783-1.06-1.061.782-.782a.766.766 0 0 1 1.06 0 .75.75 0 0 1 0 1.06Z"})))},_path,_path2;function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends.apply(this,arguments)}var SvgLink=function(e){return react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),_path||(_path=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"currentColor",d:"M6.75 3h5.5v1.5h-5.5C5.51 4.5 4.5 5.51 4.5 6.75v10.5c0 1.24 1.01 2.25 2.25 2.25h10.5c1.24 0 2.25-1.01 2.25-2.25v-5.5H21v5.5A3.754 3.754 0 0 1 17.25 21H6.75A3.754 3.754 0 0 1 3 17.25V6.75A3.754 3.754 0 0 1 6.75 3Z"})),_path2||(_path2=react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fill:"currentColor",d:"M20.013 3h-3.946a.987.987 0 0 0 0 1.973h1.564l-6.342 6.342a1.004 1.004 0 0 0 0 1.396 1.004 1.004 0 0 0 1.396 0l6.342-6.342v1.564a.987.987 0 0 0 1.973 0V3.987A.987.987 0 0 0 20.013 3Z"})))};function JsonNode({node,depth,deleteHandle:_deleteHandle,indexOrName,parent,editHandle}){const{collapseStringsAfterLength,enableClipboard,editable,src,onDelete,onChange,customizeNode,matchesURL,urlRegExp}=(0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(JsonViewContext);let customReturn;if("function"==typeof customizeNode&&(customReturn=safeCall(customizeNode,[{node,depth,indexOrName}])),customReturn){if((0,react__WEBPACK_IMPORTED_MODULE_1__.isValidElement)(customReturn))return customReturn;if(isReactComponent(customReturn)){const e=customReturn;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(e,{node,depth,indexOrName})}}if(Array.isArray(node)||isObject(node))return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(ObjectNode,{node,depth,indexOrName,deleteHandle:_deleteHandle,customOptions:"object"==typeof customReturn?customReturn:void 0});{const type=typeof node,[editing,setEditing]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),[deleting,setDeleting]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!1),valueRef=(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null),edit=()=>{setEditing(!0),setTimeout((()=>{var e,t;null===(e=window.getSelection())||void 0===e||e.selectAllChildren(valueRef.current),null===(t=valueRef.current)||void 0===t||t.focus()}))},done=(0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((()=>{let newValue=valueRef.current.innerText;try{"{}"!==newValue&&"[]"!==newValue||(newValue=`(${newValue})`);const evalValue=eval(newValue);editHandle&&editHandle(indexOrName,evalValue,node)}catch(e){const t=resolveEvalFailedNewValue(type,newValue);editHandle&&editHandle(indexOrName,t,node)}setEditing(!1)}),[editHandle]),cancel=()=>{setEditing(!1),setDeleting(!1)},deleteHandle=()=>{setDeleting(!1),_deleteHandle&&_deleteHandle(indexOrName),onDelete&&onDelete({value:node,depth,src,indexOrName,parentType:Array.isArray(parent)?"array":"object"}),onChange&&onChange({depth,src,indexOrName,parentType:Array.isArray(parent)?"array":"object",type:"delete"})},handleKeyDown=(0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((e=>{"Enter"===e.key?(e.preventDefault(),done()):"Escape"===e.key&&cancel()}),[done]),isEditing=editing||deleting,ctrlClick=!isEditing&&editableEdit(editable)&&customEdit(customReturn)&&editHandle?e=>{(e.ctrlKey||e.metaKey)&&edit()}:void 0,Icons=(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:[isEditing&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgDone,{className:"json-view--edit",style:{display:"inline-block"},onClick:deleting?deleteHandle:done}),isEditing&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgCancel,{className:"json-view--edit",style:{display:"inline-block"},onClick:cancel}),!isEditing&&enableClipboard&&customCopy(customReturn)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(CopyButton,{node}),!isEditing&&matchesURL&&"string"===type&&urlRegExp.test(node)&&customMatchesURL(customReturn)&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("a",Object.assign({href:node,target:"_blank",className:"json-view--link"},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgLink,{})})),!isEditing&&editableEdit(editable)&&customEdit(customReturn)&&editHandle&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgEdit,{className:"json-view--edit",onClick:edit}),!isEditing&&editableDelete(editable)&&customDelete(customReturn)&&_deleteHandle&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(SvgTrash,{className:"json-view--edit",onClick:()=>setDeleting(!0)})]});let className="json-view--string";switch("string"==typeof(null==customReturn?void 0:customReturn.className)&&(className+=" "+customReturn.className),type){case"number":case"bigint":className="json-view--number";break;case"boolean":className="json-view--boolean";break;case"object":className="json-view--null"}deleting&&(className+=" json-view--deleting");let displayValue=String(node);"bigint"===type&&(displayValue+="n");const EditingElement=(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)((()=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",{contentEditable:!0,className,dangerouslySetInnerHTML:{__html:"string"===type?`"${displayValue}"`:displayValue},ref:valueRef,onKeyDown:handleKeyDown})),[displayValue,type,handleKeyDown]);return"string"===type?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:[editing?EditingElement:node.length>collapseStringsAfterLength?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(LongString,{str:node,ref:valueRef,className,ctrlClick}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span",Object.assign({className,onClick:ctrlClick},{children:['"',displayValue,'"']})),Icons]}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:[editing?EditingElement:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span",Object.assign({className,onClick:ctrlClick},{children:displayValue})),Icons]})}}const defaultURLRegExp=/^(((ht|f)tps?):\/\/)?([^!@#$%^&*?.\s-]([^!@#$%^&*?.\s]{0,63}[^!@#$%^&*?.\s])?\.)+[a-z]{2,6}\/?/,JsonViewContext=(0,react__WEBPACK_IMPORTED_MODULE_1__.createContext)({src:void 0,collapseStringsAfterLength:99,collapseStringMode:"directly",customizeCollapseStringUI:void 0,collapseObjectsAfterLength:20,collapsed:!1,enableClipboard:!0,editable:!1,onEdit:void 0,onDelete:void 0,onAdd:void 0,onChange:void 0,forceUpdate:()=>{},customizeNode:void 0,customizeCopy:()=>{},displaySize:void 0,matchesURL:!1,urlRegExp:defaultURLRegExp,ignoreLargeArray:!1});function JsonView({src:e,collapseStringsAfterLength:t=99,collapseStringMode:n="directly",customizeCollapseStringUI:r,collapseObjectsAfterLength:o=99,collapsed:i,enableClipboard:a=!0,editable:s=!1,onEdit:l,onDelete:c,onAdd:u,onChange:d,dark:f=!1,theme:h="default",customizeNode:p,customizeCopy:m=stringifyForCopying,displaySize:v,style:g,className:y,matchesURL:b=!1,urlRegExp:w=defaultURLRegExp,ignoreLargeArray:E=!1}){const[x,S]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(0),_=(0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)((()=>S((e=>++e))),[]),[O,C]=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(e);return(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)((()=>C(e)),[e]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(JsonViewContext.Provider,Object.assign({value:{src:O,collapseStringsAfterLength:t,collapseStringMode:n,customizeCollapseStringUI:r,collapseObjectsAfterLength:o,collapsed:i,enableClipboard:a,editable:s,onEdit:l,onDelete:c,onAdd:u,onChange:d,forceUpdate:_,customizeNode:p,customizeCopy:m,displaySize:v,matchesURL:b,urlRegExp:w,ignoreLargeArray:E}},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("code",Object.assign({className:"json-view"+(f?" dark":"")+(h&&"default"!==h?" json-view_"+h:"")+(y?" "+y:""),style:g},{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(JsonNode,{node:O,depth:1,editHandle:(e,t,n)=>{C(t),l&&l({newValue:t,oldValue:n,depth:1,src:O,indexOrName:e,parentType:null}),d&&d({type:"edit",depth:1,src:O,indexOrName:e,parentType:null})},deleteHandle:()=>{C(void 0),c&&c({value:O,depth:1,src:O,indexOrName:"",parentType:null}),d&&d({depth:1,src:O,indexOrName:"",parentType:null,type:"delete"})}})}))}))}},27346:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r,o=({dispatch:e,getState:t})=>n=>o=>"function"==typeof o?o(e,t,r):n(o)},14644:(e,t,n)=>{"use strict";function r(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.d(t,{Tw:()=>f,Zz:()=>d,ve:()=>h,y$:()=>l,zH:()=>u});var o=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),i=()=>Math.random().toString(36).substring(7).split("").join("."),a={INIT:`@@redux/INIT${i()}`,REPLACE:`@@redux/REPLACE${i()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${i()}`};function s(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function l(e,t,n){if("function"!=typeof e)throw new Error(r(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(r(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(r(1));return n(l)(e,t)}let i=e,c=t,u=new Map,d=u,f=0,h=!1;function p(){d===u&&(d=new Map,u.forEach(((e,t)=>{d.set(t,e)})))}function m(){if(h)throw new Error(r(3));return c}function v(e){if("function"!=typeof e)throw new Error(r(4));if(h)throw new Error(r(5));let t=!0;p();const n=f++;return d.set(n,e),function(){if(t){if(h)throw new Error(r(6));t=!1,p(),d.delete(n),u=null}}}function g(e){if(!s(e))throw new Error(r(7));if(void 0===e.type)throw new Error(r(8));if("string"!=typeof e.type)throw new Error(r(17));if(h)throw new Error(r(9));try{h=!0,c=i(c,e)}finally{h=!1}return(u=d).forEach((e=>{e()})),e}return g({type:a.INIT}),{dispatch:g,subscribe:v,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(r(10));i=e,g({type:a.REPLACE})},[o]:function(){const e=v;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(r(11));function n(){const e=t;e.next&&e.next(m())}return n(),{unsubscribe:e(n)}},[o](){return this}}}}}function c(e,t){return function(...n){return t(e.apply(this,n))}}function u(e,t){if("function"==typeof e)return c(e,t);if("object"!=typeof e||null===e)throw new Error(r(16));const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=c(o,t))}return n}function d(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}function f(...e){return t=>(n,o)=>{const i=t(n,o);let a=()=>{throw new Error(r(15))};const s={getState:i.getState,dispatch:(e,...t)=>a(e,...t)},l=e.map((e=>e(s)));return a=d(...l)(i.dispatch),{...i,dispatch:a}}}function h(e){return s(e)&&"type"in e&&"string"==typeof e.type}},79080:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Manager:()=>xe,Socket:()=>we,connect:()=>_e,default:()=>_e,io:()=>_e,protocol:()=>fe});var r={};n.r(r),n.d(r,{Decoder:()=>ve,Encoder:()=>pe,PacketType:()=>he,protocol:()=>fe});const o=Object.create(null);o.open="0",o.close="1",o.ping="2",o.pong="3",o.message="4",o.upgrade="5",o.noop="6";const i=Object.create(null);Object.keys(o).forEach((e=>{i[o[e]]=e}));const a={type:"error",data:"parser error"},s="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),l="function"==typeof ArrayBuffer,c=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,u=({type:e,data:t},n,r)=>s&&t instanceof Blob?n?r(t):d(t,r):l&&(t instanceof ArrayBuffer||c(t))?n?r(t):d(new Blob([t]),r):r(o[e]+(t||"")),d=(e,t)=>{const n=new FileReader;return n.onload=function(){const e=n.result.split(",")[1];t("b"+(e||""))},n.readAsDataURL(e)};function f(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let h;const p="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let e=0;e<64;e++)p["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(e)]=e;const m="function"==typeof ArrayBuffer,v=(e,t)=>{if("string"!=typeof e)return{type:"message",data:y(e,t)};const n=e.charAt(0);return"b"===n?{type:"message",data:g(e.substring(1),t)}:i[n]?e.length>1?{type:i[n],data:e.substring(1)}:{type:i[n]}:a},g=(e,t)=>{if(m){const n=(e=>{let t,n,r,o,i,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);const c=new ArrayBuffer(a),u=new Uint8Array(c);for(t=0;t<s;t+=4)n=p[e.charCodeAt(t)],r=p[e.charCodeAt(t+1)],o=p[e.charCodeAt(t+2)],i=p[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|o>>2,u[l++]=(3&o)<<6|63&i;return c})(e);return y(n,t)}return{base64:!0,data:e}},y=(e,t)=>"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer,b=String.fromCharCode(30);let w;function E(e){return e.reduce(((e,t)=>e+t.length),0)}function x(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let o=0;o<t;o++)n[o]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function S(e){if(e)return function(e){for(var t in S.prototype)e[t]=S.prototype[t];return e}(e)}S.prototype.on=S.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},S.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},S.prototype.off=S.prototype.removeListener=S.prototype.removeAllListeners=S.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},S.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},S.prototype.emitReserved=S.prototype.emit,S.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},S.prototype.hasListeners=function(e){return!!this.listeners(e).length};const _="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function O(e,...t){return t.reduce(((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{})}const C=_.setTimeout,A=_.clearTimeout;function k(e,t){t.useNativeTimers?(e.setTimeoutFn=C.bind(_),e.clearTimeoutFn=A.bind(_)):(e.setTimeoutFn=_.setTimeout.bind(_),e.clearTimeoutFn=_.clearTimeout.bind(_))}class M extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class T extends S{constructor(e){super(),this.writable=!1,k(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,t,n){return super.emitReserved("error",new M(e,t,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=v(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return-1===e.indexOf(":")?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(e){const t=function(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}(e);return t.length?"?"+t:""}}const P="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),I=64,j={};let z,D=0,R=0;function N(e){let t="";do{t=P[e%I]+t,e=Math.floor(e/I)}while(e>0);return t}function $(){const e=N(+new Date);return e!==z?(D=0,z=e):e+"."+N(D++)}for(;R<I;R++)j[P[R]]=R;let F=!1;try{F="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){}const L=F;function B(e){const t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||L))return new XMLHttpRequest}catch(e){}if(!t)try{return new(_[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}function H(){}const V=null!=new B({xdomain:!1}).responseType;class U extends S{constructor(e,t){super(),k(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.data=void 0!==t.data?t.data:null,this.create()}create(){var e;const t=O(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd;const n=this.xhr=new B(t);try{n.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let e in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&n.setRequestHeader(e,this.opts.extraHeaders[e])}}catch(e){}if("POST"===this.method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{n.setRequestHeader("Accept","*/*")}catch(e){}null===(e=this.opts.cookieJar)||void 0===e||e.addCookies(n),"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{var e;3===n.readyState&&(null===(e=this.opts.cookieJar)||void 0===e||e.parseCookies(n)),4===n.readyState&&(200===n.status||1223===n.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"==typeof n.status?n.status:0)}),0))},n.send(this.data)}catch(e){return void this.setTimeoutFn((()=>{this.onError(e)}),0)}"undefined"!=typeof document&&(this.index=U.requestsCount++,U.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=H,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete U.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}function W(){for(let e in U.requests)U.requests.hasOwnProperty(e)&&U.requests[e].abort()}U.requestsCount=0,U.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",W):"function"==typeof addEventListener&&addEventListener("onpagehide"in _?"pagehide":"unload",W,!1));const q="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),K=_.WebSocket||_.MozWebSocket,G="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),X={websocket:class extends T{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,n=G?{}:O(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=G?new K(e,t,n):t?new K(e,t):new K(e)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],r=t===e.length-1;u(n,this.supportsBinary,(e=>{try{this.ws.send(e)}catch(e){}r&&q((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=$()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!K}},webtransport:class extends T{get name(){return"webtransport"}doOpen(){"function"==typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then((()=>{this.onClose()})).catch((e=>{this.onError("webtransport error",e)})),this.transport.ready.then((()=>{this.transport.createBidirectionalStream().then((e=>{const t=function(e,t){w||(w=new TextDecoder);const n=[];let r=0,o=-1,i=!1;return new TransformStream({transform(s,l){for(n.push(s);;){if(0===r){if(E(n)<1)break;const e=x(n,1);i=!(128&~e[0]),o=127&e[0],r=o<126?3:126===o?1:2}else if(1===r){if(E(n)<2)break;const e=x(n,2);o=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),r=3}else if(2===r){if(E(n)<8)break;const e=x(n,8),t=new DataView(e.buffer,e.byteOffset,e.length),i=t.getUint32(0);if(i>Math.pow(2,21)-1){l.enqueue(a);break}o=i*Math.pow(2,32)+t.getUint32(4),r=3}else{if(E(n)<o)break;const e=x(n,o);l.enqueue(v(i?e:w.decode(e),t)),r=0}if(0===o||o>e){l.enqueue(a);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),r=new TransformStream({transform(e,t){!function(e,t){s&&e.data instanceof Blob?e.data.arrayBuffer().then(f).then(t):l&&(e.data instanceof ArrayBuffer||c(e.data))?t(f(e.data)):u(e,!1,(e=>{h||(h=new TextEncoder),t(h.encode(e))}))}(e,(n=>{const r=n.length;let o;if(r<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,r);else if(r<65536){o=new Uint8Array(3);const e=new DataView(o.buffer);e.setUint8(0,126),e.setUint16(1,r)}else{o=new Uint8Array(9);const e=new DataView(o.buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(r))}e.data&&"string"!=typeof e.data&&(o[0]|=128),t.enqueue(o),t.enqueue(n)}))}});r.readable.pipeTo(e.writable),this.writer=r.writable.getWriter();const o=()=>{n.read().then((({done:e,value:t})=>{e||(this.onPacket(t),o())})).catch((e=>{}))};o();const i={type:"open"};this.query.sid&&(i.data=`{"sid":"${this.query.sid}"}`),this.writer.write(i).then((()=>this.onOpen()))}))})))}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],r=t===e.length-1;this.writer.write(n).then((()=>{r&&q((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){var e;null===(e=this.transport)||void 0===e||e.close()}},polling:class extends T{constructor(e){if(super(e),this.polling=!1,"undefined"!=typeof location){const t="https:"===location.protocol;let n=location.port;n||(n=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||n!==e.port}const t=e&&e.forceBase64;this.supportsBinary=V&&!t,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(e++,this.once("pollComplete",(function(){--e||t()}))),this.writable||(e++,this.once("drain",(function(){--e||t()})))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){((e,t)=>{const n=e.split(b),r=[];for(let e=0;e<n.length;e++){const o=v(n[e],t);if(r.push(o),"error"===o.type)break}return r})(e,this.socket.binaryType).forEach((e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,((e,t)=>{const n=e.length,r=new Array(n);let o=0;e.forEach(((e,i)=>{u(e,!1,(e=>{r[i]=e,++o===n&&t(r.join(b))}))}))})(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=$()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new U(this.uri(),e)}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}},Y=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Z=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function J(e){if(e.length>2e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");-1!=n&&-1!=r&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let o=Y.exec(e||""),i={},a=14;for(;a--;)i[Z[a]]=o[a]||"";return-1!=n&&-1!=r&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=function(e,t){const n=t.replace(/\/{2,9}/g,"/").split("/");return"/"!=t.slice(0,1)&&0!==t.length||n.splice(0,1),"/"==t.slice(-1)&&n.splice(n.length-1,1),n}(0,i.path),i.queryKey=function(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,r){t&&(n[t]=r)})),n}(0,i.query),i}class Q extends S{constructor(e,t={}){super(),this.binaryType="arraybuffer",this.writeBuffer=[],e&&"object"==typeof e&&(t=e,e=null),e?(e=J(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=J(t.host).host),k(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},n=e.split("&");for(let e=0,r=n.length;e<r;e++){let r=n[e].split("=");t[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return t}(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new X[e](n)}open(){let e;if(this.opts.rememberUpgrade&&Q.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(e){let t=this.createTransport(e),n=!1;Q.priorWebsocketSuccess=!1;const r=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",(e=>{if(!n)if("pong"===e.type&&"probe"===e.data){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;Q.priorWebsocketSuccess="websocket"===t.name,this.transport.pause((()=>{n||"closed"!==this.readyState&&(c(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())}))}else{const e=new Error("probe error");e.transport=t.name,this.emitReserved("upgradeError",e)}})))};function o(){n||(n=!0,c(),t.close(),t=null)}const i=e=>{const n=new Error("probe error: "+e);n.transport=t.name,o(),this.emitReserved("upgradeError",n)};function a(){i("transport closed")}function s(){i("socket closed")}function l(e){t&&e.name!==t.name&&o()}const c=()=>{t.removeListener("open",r),t.removeListener("error",i),t.removeListener("close",a),this.off("close",s),this.off("upgrading",l)};t.once("open",r),t.once("error",i),t.once("close",a),this.once("close",s),this.once("upgrading",l),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn((()=>{n||t.open()}),200):t.open()}onOpen(){if(this.readyState="open",Q.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),this.resetPingTimeout(),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((()=>{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let n=0;n<this.writeBuffer.length;n++){const r=this.writeBuffer[n].data;if(r&&(e+="string"==typeof(t=r)?function(e){let t=0,n=0;for(let r=0,o=e.length;r<o;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}(t):Math.ceil(1.33*(t.byteLength||t.size))),n>0&&e>this.maxPayload)return this.writeBuffer.slice(0,n);e+=2}var t;return this.writeBuffer}write(e,t,n){return this.sendPacket("message",e,t,n),this}send(e,t,n){return this.sendPacket("message",e,t,n),this}sendPacket(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;const o={type:e,data:t,options:n};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?n():e()})):this.upgrading?n():e()),this}onError(e){Q.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let n=0;const r=e.length;for(;n<r;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}Q.protocol=4,Q.protocol;const ee="function"==typeof ArrayBuffer,te=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,ne=Object.prototype.toString,re="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===ne.call(Blob),oe="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===ne.call(File);function ie(e){return ee&&(e instanceof ArrayBuffer||te(e))||re&&e instanceof Blob||oe&&e instanceof File}function ae(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t<n;t++)if(ae(e[t]))return!0;return!1}if(ie(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return ae(e.toJSON(),!0);for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&ae(e[t]))return!0;return!1}function se(e){const t=[],n=e.data,r=e;return r.data=le(n,t),r.attachments=t.length,{packet:r,buffers:t}}function le(e,t){if(!e)return e;if(ie(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=le(e[r],t);return n}if("object"==typeof e&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=le(e[r],t));return n}return e}function ce(e,t){return e.data=ue(e.data,t),delete e.attachments,e}function ue(e,t){if(!e)return e;if(e&&!0===e._placeholder){if("number"==typeof e.num&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=ue(e[n],t);else if("object"==typeof e)for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=ue(e[n],t));return e}const de=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],fe=5;var he;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(he||(he={}));class pe{constructor(e){this.replacer=e}encode(e){return e.type!==he.EVENT&&e.type!==he.ACK||!ae(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===he.EVENT?he.BINARY_EVENT:he.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}encodeAsString(e){let t=""+e.type;return e.type!==he.BINARY_EVENT&&e.type!==he.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=se(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}}function me(e){return"[object Object]"===Object.prototype.toString.call(e)}class ve extends S{constructor(e){super(),this.reviver=e}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const n=t.type===he.BINARY_EVENT;n||t.type===he.BINARY_ACK?(t.type=n?he.EVENT:he.ACK,this.reconstructor=new ge(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else{if(!ie(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const n={type:Number(e.charAt(0))};if(void 0===he[n.type])throw new Error("unknown packet type "+n.type);if(n.type===he.BINARY_EVENT||n.type===he.BINARY_ACK){const r=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const o=e.substring(r,t);if(o!=Number(o)||"-"!==e.charAt(t))throw new Error("Illegal attachments");n.attachments=Number(o)}if("/"===e.charAt(t+1)){const r=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);n.nsp=e.substring(r,t)}else n.nsp="/";const r=e.charAt(t+1);if(""!==r&&Number(r)==r){const r=t+1;for(;++t;){const n=e.charAt(t);if(null==n||Number(n)!=n){--t;break}if(t===e.length)break}n.id=Number(e.substring(r,t+1))}if(e.charAt(++t)){const r=this.tryParse(e.substr(t));if(!ve.isPayloadValid(n.type,r))throw new Error("invalid payload");n.data=r}return n}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case he.CONNECT:return me(t);case he.DISCONNECT:return void 0===t;case he.CONNECT_ERROR:return"string"==typeof t||me(t);case he.EVENT:case he.BINARY_EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===de.indexOf(t[0]));case he.ACK:case he.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class ge{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const e=ce(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function ye(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const be=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class we extends S{constructor(e,t,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[ye(e,"open",this.onopen.bind(this)),ye(e,"packet",this.onpacket.bind(this)),ye(e,"error",this.onerror.bind(this)),ye(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(be.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const n={type:he.EVENT,data:t,options:{}};if(n.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){const e=this.ids++,r=t.pop();this._registerAckCallback(e,r),n.id=e}const r=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!r||!this.connected)||(this.connected?(this.notifyOutgoingListeners(n),this.packet(n)):this.sendBuffer.push(n)),this.flags={},this}_registerAckCallback(e,t){var n;const r=null!==(n=this.flags.timeout)&&void 0!==n?n:this._opts.ackTimeout;if(void 0===r)return void(this.acks[e]=t);const o=this.io.setTimeoutFn((()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,new Error("operation has timed out"))}),r),i=(...e)=>{this.io.clearTimeoutFn(o),t.apply(this,e)};i.withError=!0,this.acks[e]=i}emitWithAck(e,...t){return new Promise(((n,r)=>{const o=(e,t)=>e?r(e):n(t);o.withError=!0,t.push(o),this.emit(e,...t)}))}_addToQueue(e){let t;"function"==typeof e[e.length-1]&&(t=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push(((e,...r)=>{if(n===this._queue[0])return null!==e?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...r)),n.pending=!1,this._drainQueue()})),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth((e=>{this._sendConnectPacket(e)})):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:he.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach((e=>{if(!this.sendBuffer.some((t=>String(t.id)===e))){const t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,new Error("socket has been disconnected"))}}))}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case he.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case he.EVENT:case he.BINARY_EVENT:this.onevent(e);break;case he.ACK:case he.BINARY_ACK:this.onack(e);break;case he.DISCONNECT:this.ondisconnect();break;case he.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let n=!1;return function(...r){n||(n=!0,t.packet({type:he.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];"function"==typeof t&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach((e=>this.emitEvent(e))),this.receiveBuffer=[],this.sendBuffer.forEach((e=>{this.notifyOutgoingListeners(e),this.packet(e)})),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach((e=>e())),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:he.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const n of t)n.apply(this,e.data)}}}function Ee(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Ee.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=1&Math.floor(10*t)?e+n:e-n}return 0|Math.min(e,this.max)},Ee.prototype.reset=function(){this.attempts=0},Ee.prototype.setMin=function(e){this.ms=e},Ee.prototype.setMax=function(e){this.max=e},Ee.prototype.setJitter=function(e){this.jitter=e};class xe extends S{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,k(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=t.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new Ee({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const o=t.parser||r;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new Q(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const r=ye(t,"open",(function(){n.onopen(),e&&e()})),o=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},i=ye(t,"error",o);if(!1!==this._timeout){const e=this._timeout,n=this.setTimeoutFn((()=>{r(),o(new Error("timeout")),t.close()}),e);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}return this.subs.push(r),this.subs.push(i),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(ye(e,"ping",this.onping.bind(this)),ye(e,"data",this.ondata.bind(this)),ye(e,"error",this.onerror.bind(this)),ye(e,"close",this.onclose.bind(this)),ye(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){q((()=>{this.emitReserved("packet",e)}),this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new we(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const e of t)if(this.nsps[e].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let n=0;n<t.length;n++)this.engine.write(t[n],e.options)}cleanup(){this.subs.forEach((e=>e())),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn((()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()})))}),t);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Se={};function _e(e,t){"object"==typeof e&&(t=e,e=void 0);const n=function(e,t="",n){let r=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),r=J(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const o=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),r=n.source,o=n.id,i=n.path,a=Se[o]&&i in Se[o].nsps;let s;return t.forceNew||t["force new connection"]||!1===t.multiplex||a?s=new xe(r,t):(Se[o]||(Se[o]=new xe(r,t)),s=Se[o]),n.query&&!t.query&&(t.query=n.queryKey),s.socket(n.path,t)}Object.assign(_e,{Manager:xe,Socket:we,io:_e,connect:_e})},11561:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=!0,o="Invariant failed";function i(e,t){if(!e){if(r)throw new Error(o);var n="function"==typeof t?t():t,i=n?"".concat(o,": ").concat(n):o;throw new Error(i)}}}}]);
//# sourceMappingURL=app-4645da0.js.map