react-luminus-components 1.2.98 → 1.2.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,26 +31,26 @@ React keys must be passed directly to JSX without using spread:
31
31
  Copyright (c) 2018 Jed Watson.
32
32
  Licensed under the MIT License (MIT), see
33
33
  http://jedwatson.github.io/classnames
34
- */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,n(s)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Xo);var Wa=Xo.exports;const ce=xr(Wa);function Zo(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function Qo(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function Ya(e,t){const r=+Zo(e);return Qo(e,r+t)}function qa(e,t){return Ya(e,t*Lt.millisecondsInHour)}var ei={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},no=m.createContext&&m.createContext(ei),Ga=["attr","size","title"];function Ka(e,t){if(e==null)return{};var r=Ja(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ja(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function pr(){return pr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pr.apply(this,arguments)}function oo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function hr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?oo(Object(r),!0).forEach(function(n){Xa(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oo(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Xa(e,t,r){return t=Za(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){var t=Qa(e,"string");return typeof t=="symbol"?t:t+""}function Qa(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ti(e){return e&&e.map((t,r)=>m.createElement(t.tag,hr({key:r},t.attr),ti(t.child)))}function pe(e){return t=>m.createElement(es,pr({attr:hr({},e.attr)},t),ti(e.child))}function es(e){var t=r=>{var{attr:n,size:o,title:i}=e,a=Ka(e,Ga),s=o||r.size||"1em",c;return r.className&&(c=r.className),e.className&&(c=(c?c+" ":"")+e.className),m.createElement("svg",pr({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,a,{className:c,style:hr(hr({color:e.color||r.color},r.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),i&&m.createElement("title",null,i),e.children)};return no!==void 0?m.createElement(no.Consumer,null,r=>t(r)):t(ei)}function ts(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(e)}function rs(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z"},child:[]}]})(e)}function ns(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(e)}function os(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"},child:[]}]})(e)}function is(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 8h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-4 4v3c0 .22-.03.47-.07.7l-.1.65-.37.65c-.72 1.24-2.04 2-3.46 2s-2.74-.77-3.46-2l-.37-.64-.1-.65A4.27 4.27 0 0 1 8 15v-4c0-.23.03-.48.07-.7l.1-.65.37-.65c.3-.52.72-.97 1.21-1.31l.57-.39.74-.18a3.787 3.787 0 0 1 1.89 0l.68.16.61.42c.5.34.91.78 1.21 1.31l.38.65.1.65c.04.22.07.47.07.69v1zm-6 2h4v2h-4zm0-4h4v2h-4z"},child:[]}]})(e)}function as(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"},child:[]}]})(e)}function ss(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z"},child:[]}]})(e)}function cs(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15zM14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z"},child:[]}]})(e)}function us(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm0 14H4V8h16v10zm-2-1h-6v-2h6v2zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4-4 4z"},child:[]}]})(e)}function ls(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},child:[]}]})(e)}function fs(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"},child:[]}]})(e)}function ds(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z"},child:[]}]})(e)}function ps(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"},child:[]}]})(e)}function hs(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"},child:[]}]})(e)}function ms(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h4.05l1.83-2h4.24l1.83 2H20v12zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z"},child:[]}]})(e)}function vs(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"},child:[]}]})(e)}function gs(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"},child:[]}]})(e)}function ys(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"},child:[]}]})(e)}function ri(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"},child:[]}]})(e)}function bs(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"},child:[]}]})(e)}function Es(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{fill:"none"},child:[{tag:"path",attr:{d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M0 0h24v24H0V0z"},child:[]}]},{tag:"path",attr:{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z"},child:[]}]})(e)}const En=m.createContext({cookieDomain:"",axiosInstance:{},LinkComponent:{},NavigateComponent:()=>null,language:"",axiosTexts:{},confirmTexts:{},formValidationTexts:{},homeDashboardTexts:{},formSubmitTexts:{},appSearchTexts:{},customSelectTexts:{},errorBoundaryTexts:{},widgetTexts:{}}),ws=m.createContext({show:!1,text:"",showConfirm:e=>{},hideConfirm:()=>{}}),Os=m.createContext({isShown:!1,text:"",hidePrompt:()=>{},showPrompt:()=>{},resolveRef:{current:()=>{}},options:{input:"textarea",type:"text"},setOptions:()=>{}});function Qr(){return Qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qr.apply(this,arguments)}function ni(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function io(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function xs(e){var t=Ts(e,"string");return typeof t=="symbol"?t:String(t)}function Ts(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function oi(e,t,r){var n=m.useRef(e!==void 0),o=m.useState(t),i=o[0],a=o[1],s=e!==void 0,c=n.current;return n.current=s,!s&&c&&i!==t&&a(t),[s?e:i,m.useCallback(function(l){for(var u=arguments.length,f=new Array(u>1?u-1:0),y=1;y<u;y++)f[y-1]=arguments[y];r&&r.apply(void 0,[l].concat(f)),a(l)},[r])]}function Ss(e,t){return Object.keys(t).reduce(function(r,n){var o,i=r,a=i[io(n)],s=i[n],c=ni(i,[io(n),n].map(xs)),l=t[n],u=oi(s,a,e[l]),f=u[0],y=u[1];return Qr({},c,(o={},o[n]=f,o[l]=y,o))},e)}function en(e,t){return en=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},en(e,t)}function Cs(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,en(e,t)}const Rs=["xxl","xl","lg","md","sm","xs"],_s="xs",Tr=Y.createContext({prefixes:{},breakpoints:Rs,minBreakpoint:_s});function tt(e,t){const{prefixes:r}=m.useContext(Tr);return e||r[t]||t}function Ps(){const{breakpoints:e}=m.useContext(Tr);return e}function As(){const{minBreakpoint:e}=m.useContext(Tr);return e}function wn(){const{dir:e}=m.useContext(Tr);return e==="rtl"}function Vt(e){return e&&e.ownerDocument||document}function Ms(e){var t=Vt(e);return t&&t.defaultView||window}function js(e,t){return Ms(e).getComputedStyle(e,t)}var ks=/([A-Z])/g;function Ns(e){return e.replace(ks,"-$1").toLowerCase()}var Is=/^ms-/;function er(e){return Ns(e).replace(Is,"-ms-")}var Ds=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function Ls(e){return!!(e&&Ds.test(e))}function On(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(er(t))||js(e).getPropertyValue(er(t));Object.keys(t).forEach(function(o){var i=t[o];!i&&i!==0?e.style.removeProperty(er(o)):Ls(o)?n+=o+"("+i+") ":r+=er(o)+": "+i+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}var tn={exports:{}},tr={exports:{}},te={};/** @license React v16.13.1
34
+ */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,n(s)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Xo);var Wa=Xo.exports;const ce=xr(Wa);function Zo(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function Qo(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function Ya(e,t){const r=+Zo(e);return Qo(e,r+t)}function qa(e,t){return Ya(e,t*Lt.millisecondsInHour)}function Qr(){return Qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qr.apply(this,arguments)}function ei(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function no(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function Ga(e){var t=Ka(e,"string");return typeof t=="symbol"?t:String(t)}function Ka(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function ti(e,t,r){var n=m.useRef(e!==void 0),o=m.useState(t),i=o[0],a=o[1],s=e!==void 0,c=n.current;return n.current=s,!s&&c&&i!==t&&a(t),[s?e:i,m.useCallback(function(l){for(var u=arguments.length,f=new Array(u>1?u-1:0),y=1;y<u;y++)f[y-1]=arguments[y];r&&r.apply(void 0,[l].concat(f)),a(l)},[r])]}function Ja(e,t){return Object.keys(t).reduce(function(r,n){var o,i=r,a=i[no(n)],s=i[n],c=ei(i,[no(n),n].map(Ga)),l=t[n],u=ti(s,a,e[l]),f=u[0],y=u[1];return Qr({},c,(o={},o[n]=f,o[l]=y,o))},e)}function en(e,t){return en=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},en(e,t)}function Xa(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,en(e,t)}const Za=["xxl","xl","lg","md","sm","xs"],Qa="xs",Tr=Y.createContext({prefixes:{},breakpoints:Za,minBreakpoint:Qa});function tt(e,t){const{prefixes:r}=m.useContext(Tr);return e||r[t]||t}function es(){const{breakpoints:e}=m.useContext(Tr);return e}function ts(){const{minBreakpoint:e}=m.useContext(Tr);return e}function En(){const{dir:e}=m.useContext(Tr);return e==="rtl"}function Vt(e){return e&&e.ownerDocument||document}function rs(e){var t=Vt(e);return t&&t.defaultView||window}function ns(e,t){return rs(e).getComputedStyle(e,t)}var os=/([A-Z])/g;function is(e){return e.replace(os,"-$1").toLowerCase()}var as=/^ms-/;function er(e){return is(e).replace(as,"-ms-")}var ss=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function cs(e){return!!(e&&ss.test(e))}function wn(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(er(t))||ns(e).getPropertyValue(er(t));Object.keys(t).forEach(function(o){var i=t[o];!i&&i!==0?e.style.removeProperty(er(o)):cs(o)?n+=o+"("+i+") ":r+=er(o)+": "+i+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}var tn={exports:{}},tr={exports:{}},te={};/** @license React v16.13.1
35
35
  * react-is.production.min.js
36
36
  *
37
37
  * Copyright (c) Facebook, Inc. and its affiliates.
38
38
  *
39
39
  * This source code is licensed under the MIT license found in the
40
40
  * LICENSE file in the root directory of this source tree.
41
- */var ao;function $s(){if(ao)return te;ao=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function R(p){if(typeof p=="object"&&p!==null){var A=p.$$typeof;switch(A){case t:switch(p=p.type,p){case c:case l:case n:case i:case o:case f:return p;default:switch(p=p&&p.$$typeof,p){case s:case u:case h:case v:case a:return p;default:return A}}case r:return A}}}function C(p){return R(p)===l}return te.AsyncMode=c,te.ConcurrentMode=l,te.ContextConsumer=s,te.ContextProvider=a,te.Element=t,te.ForwardRef=u,te.Fragment=n,te.Lazy=h,te.Memo=v,te.Portal=r,te.Profiler=i,te.StrictMode=o,te.Suspense=f,te.isAsyncMode=function(p){return C(p)||R(p)===c},te.isConcurrentMode=C,te.isContextConsumer=function(p){return R(p)===s},te.isContextProvider=function(p){return R(p)===a},te.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===t},te.isForwardRef=function(p){return R(p)===u},te.isFragment=function(p){return R(p)===n},te.isLazy=function(p){return R(p)===h},te.isMemo=function(p){return R(p)===v},te.isPortal=function(p){return R(p)===r},te.isProfiler=function(p){return R(p)===i},te.isStrictMode=function(p){return R(p)===o},te.isSuspense=function(p){return R(p)===f},te.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===n||p===l||p===i||p===o||p===f||p===y||typeof p=="object"&&p!==null&&(p.$$typeof===h||p.$$typeof===v||p.$$typeof===a||p.$$typeof===s||p.$$typeof===u||p.$$typeof===E||p.$$typeof===S||p.$$typeof===T||p.$$typeof===g)},te.typeOf=R,te}var re={};/** @license React v16.13.1
41
+ */var oo;function us(){if(oo)return te;oo=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function R(p){if(typeof p=="object"&&p!==null){var A=p.$$typeof;switch(A){case t:switch(p=p.type,p){case c:case l:case n:case i:case o:case f:return p;default:switch(p=p&&p.$$typeof,p){case s:case u:case h:case v:case a:return p;default:return A}}case r:return A}}}function C(p){return R(p)===l}return te.AsyncMode=c,te.ConcurrentMode=l,te.ContextConsumer=s,te.ContextProvider=a,te.Element=t,te.ForwardRef=u,te.Fragment=n,te.Lazy=h,te.Memo=v,te.Portal=r,te.Profiler=i,te.StrictMode=o,te.Suspense=f,te.isAsyncMode=function(p){return C(p)||R(p)===c},te.isConcurrentMode=C,te.isContextConsumer=function(p){return R(p)===s},te.isContextProvider=function(p){return R(p)===a},te.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===t},te.isForwardRef=function(p){return R(p)===u},te.isFragment=function(p){return R(p)===n},te.isLazy=function(p){return R(p)===h},te.isMemo=function(p){return R(p)===v},te.isPortal=function(p){return R(p)===r},te.isProfiler=function(p){return R(p)===i},te.isStrictMode=function(p){return R(p)===o},te.isSuspense=function(p){return R(p)===f},te.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===n||p===l||p===i||p===o||p===f||p===y||typeof p=="object"&&p!==null&&(p.$$typeof===h||p.$$typeof===v||p.$$typeof===a||p.$$typeof===s||p.$$typeof===u||p.$$typeof===E||p.$$typeof===S||p.$$typeof===T||p.$$typeof===g)},te.typeOf=R,te}var re={};/** @license React v16.13.1
42
42
  * react-is.development.js
43
43
  *
44
44
  * Copyright (c) Facebook, Inc. and its affiliates.
45
45
  *
46
46
  * This source code is licensed under the MIT license found in the
47
47
  * LICENSE file in the root directory of this source tree.
48
- */var so;function Fs(){return so||(so=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function R(b){return typeof b=="string"||typeof b=="function"||b===n||b===l||b===i||b===o||b===f||b===y||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===v||b.$$typeof===a||b.$$typeof===s||b.$$typeof===u||b.$$typeof===E||b.$$typeof===S||b.$$typeof===T||b.$$typeof===g)}function C(b){if(typeof b=="object"&&b!==null){var ge=b.$$typeof;switch(ge){case t:var _e=b.type;switch(_e){case c:case l:case n:case i:case o:case f:return _e;default:var Me=_e&&_e.$$typeof;switch(Me){case s:case u:case h:case v:case a:return Me;default:return ge}}case r:return ge}}}var p=c,A=l,k=s,J=a,Z=t,K=u,ie=n,le=h,V=v,X=r,Q=i,ae=o,ue=f,xe=!1;function we(b){return xe||(xe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(b)||C(b)===c}function O(b){return C(b)===l}function _(b){return C(b)===s}function L(b){return C(b)===a}function $(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function j(b){return C(b)===u}function U(b){return C(b)===n}function N(b){return C(b)===h}function I(b){return C(b)===v}function D(b){return C(b)===r}function H(b){return C(b)===i}function B(b){return C(b)===o}function fe(b){return C(b)===f}re.AsyncMode=p,re.ConcurrentMode=A,re.ContextConsumer=k,re.ContextProvider=J,re.Element=Z,re.ForwardRef=K,re.Fragment=ie,re.Lazy=le,re.Memo=V,re.Portal=X,re.Profiler=Q,re.StrictMode=ae,re.Suspense=ue,re.isAsyncMode=we,re.isConcurrentMode=O,re.isContextConsumer=_,re.isContextProvider=L,re.isElement=$,re.isForwardRef=j,re.isFragment=U,re.isLazy=N,re.isMemo=I,re.isPortal=D,re.isProfiler=H,re.isStrictMode=B,re.isSuspense=fe,re.isValidElementType=R,re.typeOf=C}()),re}var co;function ii(){return co||(co=1,process.env.NODE_ENV==="production"?tr.exports=$s():tr.exports=Fs()),tr.exports}/*
48
+ */var io;function ls(){return io||(io=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function R(b){return typeof b=="string"||typeof b=="function"||b===n||b===l||b===i||b===o||b===f||b===y||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===v||b.$$typeof===a||b.$$typeof===s||b.$$typeof===u||b.$$typeof===E||b.$$typeof===S||b.$$typeof===T||b.$$typeof===g)}function C(b){if(typeof b=="object"&&b!==null){var ge=b.$$typeof;switch(ge){case t:var _e=b.type;switch(_e){case c:case l:case n:case i:case o:case f:return _e;default:var Me=_e&&_e.$$typeof;switch(Me){case s:case u:case h:case v:case a:return Me;default:return ge}}case r:return ge}}}var p=c,A=l,k=s,J=a,Z=t,K=u,ie=n,le=h,V=v,X=r,Q=i,ae=o,ue=f,xe=!1;function we(b){return xe||(xe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(b)||C(b)===c}function O(b){return C(b)===l}function _(b){return C(b)===s}function L(b){return C(b)===a}function $(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function j(b){return C(b)===u}function U(b){return C(b)===n}function N(b){return C(b)===h}function I(b){return C(b)===v}function D(b){return C(b)===r}function H(b){return C(b)===i}function B(b){return C(b)===o}function fe(b){return C(b)===f}re.AsyncMode=p,re.ConcurrentMode=A,re.ContextConsumer=k,re.ContextProvider=J,re.Element=Z,re.ForwardRef=K,re.Fragment=ie,re.Lazy=le,re.Memo=V,re.Portal=X,re.Profiler=Q,re.StrictMode=ae,re.Suspense=ue,re.isAsyncMode=we,re.isConcurrentMode=O,re.isContextConsumer=_,re.isContextProvider=L,re.isElement=$,re.isForwardRef=j,re.isFragment=U,re.isLazy=N,re.isMemo=I,re.isPortal=D,re.isProfiler=H,re.isStrictMode=B,re.isSuspense=fe,re.isValidElementType=R,re.typeOf=C}()),re}var ao;function ri(){return ao||(ao=1,process.env.NODE_ENV==="production"?tr.exports=us():tr.exports=ls()),tr.exports}/*
49
49
  object-assign
50
50
  (c) Sindre Sorhus
51
51
  @license MIT
52
- */var Fr,uo;function Us(){if(uo)return Fr;uo=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(a).map(function(u){return a[u]});if(c.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(u){l[u]=u}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Fr=o()?Object.assign:function(i,a){for(var s,c=n(i),l,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var f in s)t.call(s,f)&&(c[f]=s[f]);if(e){l=e(s);for(var y=0;y<l.length;y++)r.call(s,l[y])&&(c[l[y]]=s[l[y]])}}return c},Fr}var Ur,lo;function xn(){if(lo)return Ur;lo=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ur=e,Ur}var Br,fo;function ai(){return fo||(fo=1,Br=Function.call.bind(Object.prototype.hasOwnProperty)),Br}var zr,po;function Bs(){if(po)return zr;po=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=xn(),r={},n=ai();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,c,l){if(process.env.NODE_ENV!=="production"){for(var u in i)if(n(i,u)){var f;try{if(typeof i[u]!="function"){var y=Error((c||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}f=i[u](a,u,c,s,null,t)}catch(h){f=h}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in r)){r[f.message]=!0;var v=l?l():"";e("Failed "+s+" type: "+f.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},zr=o,zr}var Hr,ho;function zs(){if(ho)return Hr;ho=1;var e=ii(),t=Us(),r=xn(),n=ai(),o=Bs(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return Hr=function(s,c){var l=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f(O){var _=O&&(l&&O[l]||O[u]);if(typeof _=="function")return _}var y="<<anonymous>>",v={array:S("array"),bigint:S("bigint"),bool:S("boolean"),func:S("function"),number:S("number"),object:S("object"),string:S("string"),symbol:S("symbol"),any:T(),arrayOf:R,element:C(),elementType:p(),instanceOf:A,node:K(),objectOf:J,oneOf:k,oneOfType:Z,shape:le,exact:V};function h(O,_){return O===_?O!==0||1/O===1/_:O!==O&&_!==_}function g(O,_){this.message=O,this.data=_&&typeof _=="object"?_:{},this.stack=""}g.prototype=Error.prototype;function E(O){if(process.env.NODE_ENV!=="production")var _={},L=0;function $(U,N,I,D,H,B,fe){if(D=D||y,B=B||I,fe!==r){if(c){var b=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 b.name="Invariant Violation",b}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ge=D+":"+I;!_[ge]&&L<3&&(i("You are manually calling a React.PropTypes validation function for the `"+B+"` prop on `"+D+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),_[ge]=!0,L++)}}return N[I]==null?U?N[I]===null?new g("The "+H+" `"+B+"` is marked as required "+("in `"+D+"`, but its value is `null`.")):new g("The "+H+" `"+B+"` is marked as required in "+("`"+D+"`, but its value is `undefined`.")):null:O(N,I,D,H,B)}var j=$.bind(null,!1);return j.isRequired=$.bind(null,!0),j}function S(O){function _(L,$,j,U,N,I){var D=L[$],H=ae(D);if(H!==O){var B=ue(D);return new g("Invalid "+U+" `"+N+"` of type "+("`"+B+"` supplied to `"+j+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return E(_)}function T(){return E(a)}function R(O){function _(L,$,j,U,N){if(typeof O!="function")return new g("Property `"+N+"` of component `"+j+"` has invalid PropType notation inside arrayOf.");var I=L[$];if(!Array.isArray(I)){var D=ae(I);return new g("Invalid "+U+" `"+N+"` of type "+("`"+D+"` supplied to `"+j+"`, expected an array."))}for(var H=0;H<I.length;H++){var B=O(I,H,j,U,N+"["+H+"]",r);if(B instanceof Error)return B}return null}return E(_)}function C(){function O(_,L,$,j,U){var N=_[L];if(!s(N)){var I=ae(N);return new g("Invalid "+j+" `"+U+"` of type "+("`"+I+"` supplied to `"+$+"`, expected a single ReactElement."))}return null}return E(O)}function p(){function O(_,L,$,j,U){var N=_[L];if(!e.isValidElementType(N)){var I=ae(N);return new g("Invalid "+j+" `"+U+"` of type "+("`"+I+"` supplied to `"+$+"`, expected a single ReactElement type."))}return null}return E(O)}function A(O){function _(L,$,j,U,N){if(!(L[$]instanceof O)){var I=O.name||y,D=we(L[$]);return new g("Invalid "+U+" `"+N+"` of type "+("`"+D+"` supplied to `"+j+"`, expected ")+("instance of `"+I+"`."))}return null}return E(_)}function k(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function _(L,$,j,U,N){for(var I=L[$],D=0;D<O.length;D++)if(h(I,O[D]))return null;var H=JSON.stringify(O,function(fe,b){var ge=ue(b);return ge==="symbol"?String(b):b});return new g("Invalid "+U+" `"+N+"` of value `"+String(I)+"` "+("supplied to `"+j+"`, expected one of "+H+"."))}return E(_)}function J(O){function _(L,$,j,U,N){if(typeof O!="function")return new g("Property `"+N+"` of component `"+j+"` has invalid PropType notation inside objectOf.");var I=L[$],D=ae(I);if(D!=="object")return new g("Invalid "+U+" `"+N+"` of type "+("`"+D+"` supplied to `"+j+"`, expected an object."));for(var H in I)if(n(I,H)){var B=O(I,H,j,U,N+"."+H,r);if(B instanceof Error)return B}return null}return E(_)}function Z(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var _=0;_<O.length;_++){var L=O[_];if(typeof L!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+xe(L)+" at index "+_+"."),a}function $(j,U,N,I,D){for(var H=[],B=0;B<O.length;B++){var fe=O[B],b=fe(j,U,N,I,D,r);if(b==null)return null;b.data&&n(b.data,"expectedType")&&H.push(b.data.expectedType)}var ge=H.length>0?", expected one of type ["+H.join(", ")+"]":"";return new g("Invalid "+I+" `"+D+"` supplied to "+("`"+N+"`"+ge+"."))}return E($)}function K(){function O(_,L,$,j,U){return X(_[L])?null:new g("Invalid "+j+" `"+U+"` supplied to "+("`"+$+"`, expected a ReactNode."))}return E(O)}function ie(O,_,L,$,j){return new g((O||"React class")+": "+_+" type `"+L+"."+$+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+j+"`.")}function le(O){function _(L,$,j,U,N){var I=L[$],D=ae(I);if(D!=="object")return new g("Invalid "+U+" `"+N+"` of type `"+D+"` "+("supplied to `"+j+"`, expected `object`."));for(var H in O){var B=O[H];if(typeof B!="function")return ie(j,U,N,H,ue(B));var fe=B(I,H,j,U,N+"."+H,r);if(fe)return fe}return null}return E(_)}function V(O){function _(L,$,j,U,N){var I=L[$],D=ae(I);if(D!=="object")return new g("Invalid "+U+" `"+N+"` of type `"+D+"` "+("supplied to `"+j+"`, expected `object`."));var H=t({},L[$],O);for(var B in H){var fe=O[B];if(n(O,B)&&typeof fe!="function")return ie(j,U,N,B,ue(fe));if(!fe)return new g("Invalid "+U+" `"+N+"` key `"+B+"` supplied to `"+j+"`.\nBad object: "+JSON.stringify(L[$],null," ")+`
53
- Valid keys: `+JSON.stringify(Object.keys(O),null," "));var b=fe(I,B,j,U,N+"."+B,r);if(b)return b}return null}return E(_)}function X(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(X);if(O===null||s(O))return!0;var _=f(O);if(_){var L=_.call(O),$;if(_!==O.entries){for(;!($=L.next()).done;)if(!X($.value))return!1}else for(;!($=L.next()).done;){var j=$.value;if(j&&!X(j[1]))return!1}}else return!1;return!0;default:return!1}}function Q(O,_){return O==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function ae(O){var _=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":Q(_,O)?"symbol":_}function ue(O){if(typeof O>"u"||O===null)return""+O;var _=ae(O);if(_==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return _}function xe(O){var _=ue(O);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function we(O){return!O.constructor||!O.constructor.name?y:O.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},Hr}var Vr,mo;function Hs(){if(mo)return Vr;mo=1;var e=xn();function t(){}function r(){}return r.resetWarningCache=t,Vr=function(){function n(a,s,c,l,u,f){if(f!==e){var y=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 y.name="Invariant Violation",y}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},Vr}if(process.env.NODE_ENV!=="production"){var Vs=ii(),Ws=!0;tn.exports=zs()(Vs.isElement,Ws)}else tn.exports=Hs()();var Ys=tn.exports;const z=xr(Ys),vo={disabled:!1};var qs=process.env.NODE_ENV!=="production"?z.oneOfType([z.number,z.shape({enter:z.number,exit:z.number,appear:z.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&z.oneOfType([z.string,z.shape({enter:z.string,exit:z.string,active:z.string}),z.shape({enter:z.string,enterDone:z.string,enterActive:z.string,exit:z.string,exitDone:z.string,exitActive:z.string})]);const si=m.createContext(null);var Gs=function(t){return t.scrollTop},Dt="unmounted",Xe="exited",He="entering",Ze="entered",mr="exiting",Ye=function(e){Cs(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,s=a&&!a.isMounting?n.enter:n.appear,c;return i.appearStatus=null,n.in?s?(c=Xe,i.appearStatus=He):c=Ze:n.unmountOnExit||n.mountOnEnter?c=Dt:c=Xe,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===Dt?{status:Xe}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==He&&a!==Ze&&(i=He):(a===He||a===Ze)&&(i=mr)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},r.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===He){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:bt.findDOMNode(this);a&&Gs(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Xe&&this.setState({status:Dt})},r.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,c=this.props.nodeRef?[s]:[bt.findDOMNode(this),s],l=c[0],u=c[1],f=this.getTimeouts(),y=s?f.appear:f.enter;if(!o&&!a||vo.disabled){this.safeSetState({status:Ze},function(){i.props.onEntered(l)});return}this.props.onEnter(l,u),this.safeSetState({status:He},function(){i.props.onEntering(l,u),i.onTransitionEnd(y,function(){i.safeSetState({status:Ze},function(){i.props.onEntered(l,u)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:bt.findDOMNode(this);if(!i||vo.disabled){this.safeSetState({status:Xe},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:mr},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Xe},function(){o.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:bt.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],l=c[0],u=c[1];this.props.addEndListener(l,u)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Dt)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var s=ni(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return m.createElement(si.Provider,{value:null},typeof a=="function"?a(o,s):m.cloneElement(m.Children.only(a),s))},t}(m.Component);Ye.contextType=si;Ye.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:z.shape({current:typeof Element>"u"?z.any:function(e,t,r,n,o,i){var a=e[t];return z.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,n,o,i)}}),children:z.oneOfType([z.func.isRequired,z.element.isRequired]).isRequired,in:z.bool,mountOnEnter:z.bool,unmountOnExit:z.bool,appear:z.bool,enter:z.bool,exit:z.bool,timeout:function(t){var r=qs;t.addEndListener||(r=r.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.apply(void 0,[t].concat(o))},addEndListener:z.func,onEnter:z.func,onEntering:z.func,onEntered:z.func,onExit:z.func,onExiting:z.func,onExited:z.func}:{};function gt(){}Ye.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:gt,onEntering:gt,onEntered:gt,onExit:gt,onExiting:gt,onExited:gt};Ye.UNMOUNTED=Dt;Ye.EXITED=Xe;Ye.ENTERING=He;Ye.ENTERED=Ze;Ye.EXITING=mr;const Sr=!!(typeof window<"u"&&window.document&&window.document.createElement);var rn=!1,nn=!1;try{var Wr={get passive(){return rn=!0},get once(){return nn=rn=!0}};Sr&&(window.addEventListener("test",Wr,Wr),window.removeEventListener("test",Wr,!0))}catch{}function ci(e,t,r,n){if(n&&typeof n!="boolean"&&!nn){var o=n.once,i=n.capture,a=r;!nn&&o&&(a=r.__once||function s(c){this.removeEventListener(t,s,i),r.call(this,c)},r.__once=a),e.addEventListener(t,a,rn?n:i)}e.addEventListener(t,r,n)}function ui(e,t,r,n){var o=n&&typeof n!="boolean"?n.capture:n;e.removeEventListener(t,r,o),r.__once&&e.removeEventListener(t,r.__once,o)}function et(e,t,r,n){return ci(e,t,r,n),function(){ui(e,t,r,n)}}function Ks(e,t,r,n){if(n===void 0&&(n=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,r,n),e.dispatchEvent(o)}}function Js(e){var t=On(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function Xs(e,t,r){r===void 0&&(r=5);var n=!1,o=setTimeout(function(){n||Ks(e,"transitionend",!0)},t+r),i=et(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(o),i()}}function li(e,t,r,n){r==null&&(r=Js(e)||0);var o=Xs(e,r,n),i=et(e,"transitionend",t);return function(){o(),i()}}function go(e,t){const r=On(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function fi(e,t){const r=go(e,"transitionDuration"),n=go(e,"transitionDelay"),o=li(e,i=>{i.target===e&&(o(),t(i))},r+n)}function di(e){e.offsetHeight}const yo=e=>!e||typeof e=="function"?e:t=>{e.current=t};function Zs(e,t){const r=yo(e),n=yo(t);return o=>{r&&r(o),n&&n(o)}}function nt(e,t){return m.useMemo(()=>Zs(e,t),[e,t])}function vr(e){return e&&"setState"in e?bt.findDOMNode(e):e??null}const pi=m.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:o,onExited:i,addEndListener:a,children:s,childRef:c,...l},u)=>{const f=m.useRef(null),y=nt(f,c),v=A=>{y(vr(A))},h=A=>k=>{A&&f.current&&A(f.current,k)},g=m.useCallback(h(e),[e]),E=m.useCallback(h(t),[t]),S=m.useCallback(h(r),[r]),T=m.useCallback(h(n),[n]),R=m.useCallback(h(o),[o]),C=m.useCallback(h(i),[i]),p=m.useCallback(h(a),[a]);return M.jsx(Ye,{ref:u,...l,onEnter:g,onEntered:S,onEntering:E,onExit:T,onExited:C,onExiting:R,addEndListener:p,nodeRef:f,children:typeof s=="function"?(A,k)=>s(A,{...k,ref:v}):m.cloneElement(s,{ref:v})})});function Qs(e){const t=m.useRef(e);return m.useEffect(()=>{t.current=e},[e]),t}function ut(e){const t=Qs(e);return m.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function on(){return m.useState(null)}function Tn(){const e=m.useRef(!0),t=m.useRef(()=>e.current);return m.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}const ec=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",tc=typeof document<"u",gr=tc||ec?m.useLayoutEffect:m.useEffect,rc={[He]:"show",[Ze]:"show"},yr=Y.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...o},i)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...o},s=m.useCallback((c,l)=>{di(c),n==null||n(c,l)},[n]);return M.jsx(pi,{ref:i,addEndListener:fi,...a,onEnter:s,childRef:t.ref,children:(c,l)=>Y.cloneElement(t,{...l,className:ce("fade",e,t.props.className,rc[c],r[c])})})});yr.displayName="Fade";function nc(e){const t=m.useRef(e);return t.current=e,t}function hi(e){const t=nc(e);m.useEffect(()=>()=>t.current(),[])}const an=2**31-1;function mi(e,t,r){const n=r-Date.now();e.current=n<=an?setTimeout(t,n):setTimeout(()=>mi(e,t,r),an)}function oc(){const e=Tn(),t=m.useRef();return hi(()=>clearTimeout(t.current)),m.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(o,i=0){e()&&(r(),i<=an?t.current=setTimeout(o,i):mi(t,o,Date.now()+i))}return{set:n,clear:r,handleRef:t}},[])}var bo=Object.prototype.hasOwnProperty;function Eo(e,t,r){for(r of e.keys())if($t(r,t))return r}function $t(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&$t(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=Eo(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=Eo(t,o),!o)||!$t(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(bo.call(e,r)&&++n&&!bo.call(t,r)||!(r in t)||!$t(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function ic(e){const t=Tn();return[e[0],m.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}var Ce="top",Ie="bottom",De="right",Re="left",Sn="auto",Wt=[Ce,Ie,De,Re],Et="start",Bt="end",ac="clippingParents",vi="viewport",jt="popper",sc="reference",wo=Wt.reduce(function(e,t){return e.concat([t+"-"+Et,t+"-"+Bt])},[]),gi=[].concat(Wt,[Sn]).reduce(function(e,t){return e.concat([t,t+"-"+Et,t+"-"+Bt])},[]),cc="beforeRead",uc="read",lc="afterRead",fc="beforeMain",dc="main",pc="afterMain",hc="beforeWrite",mc="write",vc="afterWrite",gc=[cc,uc,lc,fc,dc,pc,hc,mc,vc];function $e(e){return e.split("-")[0]}function Ae(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function lt(e){var t=Ae(e).Element;return e instanceof t||e instanceof Element}function Fe(e){var t=Ae(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Cn(e){if(typeof ShadowRoot>"u")return!1;var t=Ae(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var st=Math.max,br=Math.min,wt=Math.round;function sn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function yi(){return!/^((?!chrome|android).)*safari/i.test(sn())}function Ot(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&Fe(e)&&(o=e.offsetWidth>0&&wt(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&wt(n.height)/e.offsetHeight||1);var a=lt(e)?Ae(e):window,s=a.visualViewport,c=!yi()&&r,l=(n.left+(c&&s?s.offsetLeft:0))/o,u=(n.top+(c&&s?s.offsetTop:0))/i,f=n.width/o,y=n.height/i;return{width:f,height:y,top:u,right:l+f,bottom:u+y,left:l,x:l,y:u}}function Rn(e){var t=Ot(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function bi(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Cn(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function rt(e){return e?(e.nodeName||"").toLowerCase():null}function Ve(e){return Ae(e).getComputedStyle(e)}function yc(e){return["table","td","th"].indexOf(rt(e))>=0}function ot(e){return((lt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cr(e){return rt(e)==="html"?e:e.assignedSlot||e.parentNode||(Cn(e)?e.host:null)||ot(e)}function Oo(e){return!Fe(e)||Ve(e).position==="fixed"?null:e.offsetParent}function bc(e){var t=/firefox/i.test(sn()),r=/Trident/i.test(sn());if(r&&Fe(e)){var n=Ve(e);if(n.position==="fixed")return null}var o=Cr(e);for(Cn(o)&&(o=o.host);Fe(o)&&["html","body"].indexOf(rt(o))<0;){var i=Ve(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Yt(e){for(var t=Ae(e),r=Oo(e);r&&yc(r)&&Ve(r).position==="static";)r=Oo(r);return r&&(rt(r)==="html"||rt(r)==="body"&&Ve(r).position==="static")?t:r||bc(e)||t}function _n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ft(e,t,r){return st(e,br(t,r))}function Ec(e,t,r){var n=Ft(e,t,r);return n>r?r:n}function Ei(){return{top:0,right:0,bottom:0,left:0}}function wi(e){return Object.assign({},Ei(),e)}function Oi(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var wc=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,wi(typeof t!="number"?t:Oi(t,Wt))};function Oc(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=$e(r.placement),c=_n(s),l=[Re,De].indexOf(s)>=0,u=l?"height":"width";if(!(!i||!a)){var f=wc(o.padding,r),y=Rn(i),v=c==="y"?Ce:Re,h=c==="y"?Ie:De,g=r.rects.reference[u]+r.rects.reference[c]-a[c]-r.rects.popper[u],E=a[c]-r.rects.reference[c],S=Yt(i),T=S?c==="y"?S.clientHeight||0:S.clientWidth||0:0,R=g/2-E/2,C=f[v],p=T-y[u]-f[h],A=T/2-y[u]/2+R,k=Ft(C,A,p),J=c;r.modifiersData[n]=(t={},t[J]=k,t.centerOffset=k-A,t)}}function xc(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||bi(t.elements.popper,o)&&(t.elements.arrow=o))}const Tc={name:"arrow",enabled:!0,phase:"main",fn:Oc,effect:xc,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xt(e){return e.split("-")[1]}var Sc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Cc(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:wt(r*o)/o||0,y:wt(n*o)/o||0}}function xo(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,y=a.x,v=y===void 0?0:y,h=a.y,g=h===void 0?0:h,E=typeof u=="function"?u({x:v,y:g}):{x:v,y:g};v=E.x,g=E.y;var S=a.hasOwnProperty("x"),T=a.hasOwnProperty("y"),R=Re,C=Ce,p=window;if(l){var A=Yt(r),k="clientHeight",J="clientWidth";if(A===Ae(r)&&(A=ot(r),Ve(A).position!=="static"&&s==="absolute"&&(k="scrollHeight",J="scrollWidth")),A=A,o===Ce||(o===Re||o===De)&&i===Bt){C=Ie;var Z=f&&A===p&&p.visualViewport?p.visualViewport.height:A[k];g-=Z-n.height,g*=c?1:-1}if(o===Re||(o===Ce||o===Ie)&&i===Bt){R=De;var K=f&&A===p&&p.visualViewport?p.visualViewport.width:A[J];v-=K-n.width,v*=c?1:-1}}var ie=Object.assign({position:s},l&&Sc),le=u===!0?Cc({x:v,y:g},Ae(r)):{x:v,y:g};if(v=le.x,g=le.y,c){var V;return Object.assign({},ie,(V={},V[C]=T?"0":"",V[R]=S?"0":"",V.transform=(p.devicePixelRatio||1)<=1?"translate("+v+"px, "+g+"px)":"translate3d("+v+"px, "+g+"px, 0)",V))}return Object.assign({},ie,(t={},t[C]=T?g+"px":"",t[R]=S?v+"px":"",t.transform="",t))}function Rc(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,c=s===void 0?!0:s,l={placement:$e(t.placement),variation:xt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,xo(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,xo(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const _c={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Rc,data:{}};var rr={passive:!0};function Pc(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,c=Ae(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(u){u.addEventListener("scroll",r.update,rr)}),s&&c.addEventListener("resize",r.update,rr),function(){i&&l.forEach(function(u){u.removeEventListener("scroll",r.update,rr)}),s&&c.removeEventListener("resize",r.update,rr)}}const Ac={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Pc,data:{}};var Mc={left:"right",right:"left",bottom:"top",top:"bottom"};function ar(e){return e.replace(/left|right|bottom|top/g,function(t){return Mc[t]})}var jc={start:"end",end:"start"};function To(e){return e.replace(/start|end/g,function(t){return jc[t]})}function Pn(e){var t=Ae(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function An(e){return Ot(ot(e)).left+Pn(e).scrollLeft}function kc(e,t){var r=Ae(e),n=ot(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var l=yi();(l||!l&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+An(e),y:c}}function Nc(e){var t,r=ot(e),n=Pn(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=st(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=st(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+An(e),c=-n.scrollTop;return Ve(o||r).direction==="rtl"&&(s+=st(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function Mn(e){var t=Ve(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function xi(e){return["html","body","#document"].indexOf(rt(e))>=0?e.ownerDocument.body:Fe(e)&&Mn(e)?e:xi(Cr(e))}function Ut(e,t){var r;t===void 0&&(t=[]);var n=xi(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Ae(n),a=o?[i].concat(i.visualViewport||[],Mn(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Ut(Cr(a)))}function cn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ic(e,t){var r=Ot(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function So(e,t,r){return t===vi?cn(kc(e,r)):lt(t)?Ic(t,r):cn(Nc(ot(e)))}function Dc(e){var t=Ut(Cr(e)),r=["absolute","fixed"].indexOf(Ve(e).position)>=0,n=r&&Fe(e)?Yt(e):e;return lt(n)?t.filter(function(o){return lt(o)&&bi(o,n)&&rt(o)!=="body"}):[]}function Lc(e,t,r,n){var o=t==="clippingParents"?Dc(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(c,l){var u=So(e,l,n);return c.top=st(u.top,c.top),c.right=br(u.right,c.right),c.bottom=br(u.bottom,c.bottom),c.left=st(u.left,c.left),c},So(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Ti(e){var t=e.reference,r=e.element,n=e.placement,o=n?$e(n):null,i=n?xt(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(o){case Ce:c={x:a,y:t.y-r.height};break;case Ie:c={x:a,y:t.y+t.height};break;case De:c={x:t.x+t.width,y:s};break;case Re:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var l=o?_n(o):null;if(l!=null){var u=l==="y"?"height":"width";switch(i){case Et:c[l]=c[l]-(t[u]/2-r[u]/2);break;case Bt:c[l]=c[l]+(t[u]/2-r[u]/2);break}}return c}function zt(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,c=s===void 0?ac:s,l=r.rootBoundary,u=l===void 0?vi:l,f=r.elementContext,y=f===void 0?jt:f,v=r.altBoundary,h=v===void 0?!1:v,g=r.padding,E=g===void 0?0:g,S=wi(typeof E!="number"?E:Oi(E,Wt)),T=y===jt?sc:jt,R=e.rects.popper,C=e.elements[h?T:y],p=Lc(lt(C)?C:C.contextElement||ot(e.elements.popper),c,u,a),A=Ot(e.elements.reference),k=Ti({reference:A,element:R,strategy:"absolute",placement:o}),J=cn(Object.assign({},R,k)),Z=y===jt?J:A,K={top:p.top-Z.top+S.top,bottom:Z.bottom-p.bottom+S.bottom,left:p.left-Z.left+S.left,right:Z.right-p.right+S.right},ie=e.modifiersData.offset;if(y===jt&&ie){var le=ie[o];Object.keys(K).forEach(function(V){var X=[De,Ie].indexOf(V)>=0?1:-1,Q=[Ce,Ie].indexOf(V)>=0?"y":"x";K[V]+=le[Q]*X})}return K}function $c(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,l=c===void 0?gi:c,u=xt(n),f=u?s?wo:wo.filter(function(h){return xt(h)===u}):Wt,y=f.filter(function(h){return l.indexOf(h)>=0});y.length===0&&(y=f);var v=y.reduce(function(h,g){return h[g]=zt(e,{placement:g,boundary:o,rootBoundary:i,padding:a})[$e(g)],h},{});return Object.keys(v).sort(function(h,g){return v[h]-v[g]})}function Fc(e){if($e(e)===Sn)return[];var t=ar(e);return[To(e),t,To(t)]}function Uc(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,c=r.fallbackPlacements,l=r.padding,u=r.boundary,f=r.rootBoundary,y=r.altBoundary,v=r.flipVariations,h=v===void 0?!0:v,g=r.allowedAutoPlacements,E=t.options.placement,S=$e(E),T=S===E,R=c||(T||!h?[ar(E)]:Fc(E)),C=[E].concat(R).reduce(function(j,U){return j.concat($e(U)===Sn?$c(t,{placement:U,boundary:u,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:g}):U)},[]),p=t.rects.reference,A=t.rects.popper,k=new Map,J=!0,Z=C[0],K=0;K<C.length;K++){var ie=C[K],le=$e(ie),V=xt(ie)===Et,X=[Ce,Ie].indexOf(le)>=0,Q=X?"width":"height",ae=zt(t,{placement:ie,boundary:u,rootBoundary:f,altBoundary:y,padding:l}),ue=X?V?De:Re:V?Ie:Ce;p[Q]>A[Q]&&(ue=ar(ue));var xe=ar(ue),we=[];if(i&&we.push(ae[le]<=0),s&&we.push(ae[ue]<=0,ae[xe]<=0),we.every(function(j){return j})){Z=ie,J=!1;break}k.set(ie,we)}if(J)for(var O=h?3:1,_=function(U){var N=C.find(function(I){var D=k.get(I);if(D)return D.slice(0,U).every(function(H){return H})});if(N)return Z=N,"break"},L=O;L>0;L--){var $=_(L);if($==="break")break}t.placement!==Z&&(t.modifiersData[n]._skip=!0,t.placement=Z,t.reset=!0)}}const Bc={name:"flip",enabled:!0,phase:"main",fn:Uc,requiresIfExists:["offset"],data:{_skip:!1}};function Co(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ro(e){return[Ce,De,Ie,Re].some(function(t){return e[t]>=0})}function zc(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=zt(t,{elementContext:"reference"}),s=zt(t,{altBoundary:!0}),c=Co(a,n),l=Co(s,o,i),u=Ro(c),f=Ro(l);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Hc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:zc};function Vc(e,t,r){var n=$e(e),o=[Re,Ce].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Re,De].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function Wc(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=gi.reduce(function(u,f){return u[f]=Vc(f,t.rects,i),u},{}),s=a[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=a}const Yc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Wc};function qc(e){var t=e.state,r=e.name;t.modifiersData[r]=Ti({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Gc={name:"popperOffsets",enabled:!0,phase:"read",fn:qc,data:{}};function Kc(e){return e==="x"?"y":"x"}function Jc(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,c=r.boundary,l=r.rootBoundary,u=r.altBoundary,f=r.padding,y=r.tether,v=y===void 0?!0:y,h=r.tetherOffset,g=h===void 0?0:h,E=zt(t,{boundary:c,rootBoundary:l,padding:f,altBoundary:u}),S=$e(t.placement),T=xt(t.placement),R=!T,C=_n(S),p=Kc(C),A=t.modifiersData.popperOffsets,k=t.rects.reference,J=t.rects.popper,Z=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,K=typeof Z=="number"?{mainAxis:Z,altAxis:Z}:Object.assign({mainAxis:0,altAxis:0},Z),ie=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,le={x:0,y:0};if(A){if(i){var V,X=C==="y"?Ce:Re,Q=C==="y"?Ie:De,ae=C==="y"?"height":"width",ue=A[C],xe=ue+E[X],we=ue-E[Q],O=v?-J[ae]/2:0,_=T===Et?k[ae]:J[ae],L=T===Et?-J[ae]:-k[ae],$=t.elements.arrow,j=v&&$?Rn($):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ei(),N=U[X],I=U[Q],D=Ft(0,k[ae],j[ae]),H=R?k[ae]/2-O-D-N-K.mainAxis:_-D-N-K.mainAxis,B=R?-k[ae]/2+O+D+I+K.mainAxis:L+D+I+K.mainAxis,fe=t.elements.arrow&&Yt(t.elements.arrow),b=fe?C==="y"?fe.clientTop||0:fe.clientLeft||0:0,ge=(V=ie==null?void 0:ie[C])!=null?V:0,_e=ue+H-ge-b,Me=ue+B-ge,qe=Ft(v?br(xe,_e):xe,ue,v?st(we,Me):we);A[C]=qe,le[C]=qe-ue}if(s){var Ct,Xt=C==="x"?Ce:Re,dt=C==="x"?Ie:De,Be=A[p],pt=p==="y"?"height":"width",ht=Be+E[Xt],Zt=Be-E[dt],Rt=[Ce,Re].indexOf(S)!==-1,_t=(Ct=ie==null?void 0:ie[p])!=null?Ct:0,Pt=Rt?ht:Be-k[pt]-J[pt]-_t+K.altAxis,Ge=Rt?Be+k[pt]+J[pt]-_t-K.altAxis:Zt,Qt=v&&Rt?Ec(Pt,Be,Ge):Ft(v?Pt:ht,Be,v?Ge:Zt);A[p]=Qt,le[p]=Qt-Be}t.modifiersData[n]=le}}const Xc={name:"preventOverflow",enabled:!0,phase:"main",fn:Jc,requiresIfExists:["offset"]};function Zc(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Qc(e){return e===Ae(e)||!Fe(e)?Pn(e):Zc(e)}function eu(e){var t=e.getBoundingClientRect(),r=wt(t.width)/e.offsetWidth||1,n=wt(t.height)/e.offsetHeight||1;return r!==1||n!==1}function tu(e,t,r){r===void 0&&(r=!1);var n=Fe(t),o=Fe(t)&&eu(t),i=ot(t),a=Ot(e,o,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((rt(t)!=="body"||Mn(i))&&(s=Qc(t)),Fe(t)?(c=Ot(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=An(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function ru(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var c=t.get(s);c&&o(c)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function nu(e){var t=ru(e);return gc.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function ou(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function iu(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var _o={placement:"bottom",modifiers:[],strategy:"absolute"};function Po(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function au(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?_o:o;return function(s,c,l){l===void 0&&(l=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},_o,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},f=[],y=!1,v={state:u,setOptions:function(S){var T=typeof S=="function"?S(u.options):S;g(),u.options=Object.assign({},i,u.options,T),u.scrollParents={reference:lt(s)?Ut(s):s.contextElement?Ut(s.contextElement):[],popper:Ut(c)};var R=nu(iu([].concat(n,u.options.modifiers)));return u.orderedModifiers=R.filter(function(C){return C.enabled}),h(),v.update()},forceUpdate:function(){if(!y){var S=u.elements,T=S.reference,R=S.popper;if(Po(T,R)){u.rects={reference:tu(T,Yt(R),u.options.strategy==="fixed"),popper:Rn(R)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(K){return u.modifiersData[K.name]=Object.assign({},K.data)});for(var C=0;C<u.orderedModifiers.length;C++){if(u.reset===!0){u.reset=!1,C=-1;continue}var p=u.orderedModifiers[C],A=p.fn,k=p.options,J=k===void 0?{}:k,Z=p.name;typeof A=="function"&&(u=A({state:u,options:J,name:Z,instance:v})||u)}}}},update:ou(function(){return new Promise(function(E){v.forceUpdate(),E(u)})}),destroy:function(){g(),y=!0}};if(!Po(s,c))return v;v.setOptions(l).then(function(E){!y&&l.onFirstUpdate&&l.onFirstUpdate(E)});function h(){u.orderedModifiers.forEach(function(E){var S=E.name,T=E.options,R=T===void 0?{}:T,C=E.effect;if(typeof C=="function"){var p=C({state:u,name:S,instance:v,options:R}),A=function(){};f.push(p||A)}})}function g(){f.forEach(function(E){return E()}),f=[]}return v}}const su=au({defaultModifiers:[Hc,Gc,_c,Ac,Yc,Bc,Xc,Tc]}),cu=["enabled","placement","strategy","modifiers"];function uu(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const lu={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},fu={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:r}=e.elements;if("removeAttribute"in t){const n=(t.getAttribute("aria-describedby")||"").split(",").filter(o=>o.trim()!==r.id);n.length?t.setAttribute("aria-describedby",n.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:r,reference:n}=e.elements,o=(t=r.getAttribute("role"))==null?void 0:t.toLowerCase();if(r.id&&o==="tooltip"&&"setAttribute"in n){const i=n.getAttribute("aria-describedby");if(i&&i.split(",").indexOf(r.id)!==-1)return;n.setAttribute("aria-describedby",i?`${i},${r.id}`:r.id)}}},du=[];function Si(e,t,r={}){let{enabled:n=!0,placement:o="bottom",strategy:i="absolute",modifiers:a=du}=r,s=uu(r,cu);const c=m.useRef(a),l=m.useRef(),u=m.useCallback(()=>{var E;(E=l.current)==null||E.update()},[]),f=m.useCallback(()=>{var E;(E=l.current)==null||E.forceUpdate()},[]),[y,v]=ic(m.useState({placement:o,update:u,forceUpdate:f,attributes:{},styles:{popper:{},arrow:{}}})),h=m.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:E})=>{const S={},T={};Object.keys(E.elements).forEach(R=>{S[R]=E.styles[R],T[R]=E.attributes[R]}),v({state:E,styles:S,attributes:T,update:u,forceUpdate:f,placement:E.placement})}}),[u,f,v]),g=m.useMemo(()=>($t(c.current,a)||(c.current=a),c.current),[a]);return m.useEffect(()=>{!l.current||!n||l.current.setOptions({placement:o,strategy:i,modifiers:[...g,h,lu]})},[i,o,h,n,g]),m.useEffect(()=>{if(!(!n||e==null||t==null))return l.current=su(e,t,Object.assign({},s,{placement:o,strategy:i,modifiers:[...g,fu,h]})),()=>{l.current!=null&&(l.current.destroy(),l.current=void 0,v(E=>Object.assign({},E,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),y}function Er(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var pu=process.env.NODE_ENV!=="production",Ci=function(){};if(pu){var hu=function(t,r){var n=arguments.length;r=new Array(n>1?n-1:0);for(var o=1;o<n;o++)r[o-1]=arguments[o];var i=0,a="Warning: "+t.replace(/%s/g,function(){return r[i++]});typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}};Ci=function(e,t,r){var n=arguments.length;r=new Array(n>2?n-2:0);for(var o=2;o<n;o++)r[o-2]=arguments[o];if(t===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||hu.apply(null,[t].concat(r))}}var mu=Ci;const jn=xr(mu),Ao=()=>{};function vu(e){return e.button===0}function gu(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const sr=e=>e&&("current"in e?e.current:e),Mo={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Ri(e,t=Ao,{disabled:r,clickTrigger:n="click"}={}){const o=m.useRef(!1),i=m.useRef(!1),a=m.useCallback(l=>{const u=sr(e);jn(!!u,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),o.current=!u||gu(l)||!vu(l)||!!Er(u,l.target)||i.current,i.current=!1},[e]),s=ut(l=>{const u=sr(e);u&&Er(u,l.target)&&(i.current=!0)}),c=ut(l=>{o.current||t(l)});m.useEffect(()=>{var l,u;if(r||e==null)return;const f=Vt(sr(e)),y=f.defaultView||window;let v=(l=y.event)!=null?l:(u=y.parent)==null?void 0:u.event,h=null;Mo[n]&&(h=et(f,Mo[n],s,!0));const g=et(f,n,a,!0),E=et(f,n,T=>{if(T===v){v=void 0;return}c(T)});let S=[];return"ontouchstart"in f.documentElement&&(S=[].slice.call(f.body.children).map(T=>et(T,"mousemove",Ao))),()=>{h==null||h(),g(),E(),S.forEach(T=>T())}},[e,r,n,a,s,c])}function yu(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function bu(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function _i({enabled:e,enableEvents:t,placement:r,flip:n,offset:o,fixed:i,containerPadding:a,arrowElement:s,popperConfig:c={}}){var l,u,f,y,v;const h=yu(c.modifiers);return Object.assign({},c,{placement:r,enabled:e,strategy:i?"fixed":c.strategy,modifiers:bu(Object.assign({},h,{eventListeners:{enabled:t,options:(l=h.eventListeners)==null?void 0:l.options},preventOverflow:Object.assign({},h.preventOverflow,{options:a?Object.assign({padding:a},(u=h.preventOverflow)==null?void 0:u.options):(f=h.preventOverflow)==null?void 0:f.options}),offset:{options:Object.assign({offset:o},(y=h.offset)==null?void 0:y.options)},arrow:Object.assign({},h.arrow,{enabled:!!s,options:Object.assign({},(v=h.arrow)==null?void 0:v.options,{element:s})}),flip:Object.assign({enabled:!!n},h.flip)}))})}const Pi=m.createContext(Sr?window:void 0);Pi.Provider;function Ai(){return m.useContext(Pi)}const Mi=Y.createContext({}),kn=Y.forwardRef(({controlId:e,as:t="div",...r},n)=>{const o=m.useMemo(()=>({controlId:e}),[e]);return M.jsx(Mi.Provider,{value:o,children:M.jsx(t,{...r,ref:n})})});kn.displayName="FormGroup";const Nn=Y.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:o,...i},a)=>(e=tt(e,"form-floating"),M.jsxs(kn,{ref:a,className:ce(t,e),controlId:n,...i,children:[r,M.jsx("label",{htmlFor:n,children:o})]})));Nn.displayName="FloatingLabel";const Yr=(e,t)=>Sr?e==null?(t||Vt()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function un(e,t){const r=Ai(),[n,o]=m.useState(()=>Yr(e,r==null?void 0:r.document));if(!n){const i=Yr(e);i&&o(i)}return m.useEffect(()=>{},[t,n]),m.useEffect(()=>{const i=Yr(e);i!==n&&o(i)},[e,n]),n}function Eu({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:o}){const i=m.useRef(null),a=m.useRef(t),s=ut(r);m.useEffect(()=>{t?a.current=!0:s(i.current)},[t,s]);const c=nt(i,e.ref),l=m.cloneElement(e,{ref:c});return t?l:o||!a.current&&n?null:l}function ji(e){return e.code==="Escape"||e.keyCode===27}function wu(){const e=Y.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}const Ou=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function xu(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Tu(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:o,onExiting:i,onExited:a,addEndListener:s,children:c}=e,l=xu(e,Ou);const{major:u}=wu(),f=u>=19?c.props.ref:c.ref,y=m.useRef(null),v=nt(y,typeof c=="function"?null:f),h=A=>k=>{A&&y.current&&A(y.current,k)},g=m.useCallback(h(t),[t]),E=m.useCallback(h(r),[r]),S=m.useCallback(h(n),[n]),T=m.useCallback(h(o),[o]),R=m.useCallback(h(i),[i]),C=m.useCallback(h(a),[a]),p=m.useCallback(h(s),[s]);return Object.assign({},l,{nodeRef:y},t&&{onEnter:g},r&&{onEntering:E},n&&{onEntered:S},o&&{onExit:T},i&&{onExiting:R},a&&{onExited:C},s&&{addEndListener:p},{children:typeof c=="function"?(A,k)=>c(A,Object.assign({},k,{ref:v})):m.cloneElement(c,{ref:v})})}const Su=["component"];function Cu(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const Ru=Y.forwardRef((e,t)=>{let{component:r}=e,n=Cu(e,Su);const o=Tu(n);return M.jsx(r,Object.assign({ref:t},o))});function _u({in:e,onTransition:t}){const r=m.useRef(null),n=m.useRef(!0),o=ut(t);return gr(()=>{if(!r.current)return;let i=!1;return o({in:e,element:r.current,initial:n.current,isStale:()=>i}),()=>{i=!0}},[e,o]),gr(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function Pu({children:e,in:t,onExited:r,onEntered:n,transition:o}){const[i,a]=m.useState(!t);t&&i&&a(!1);const s=_u({in:!!t,onTransition:l=>{const u=()=>{l.isStale()||(l.in?n==null||n(l.element,l.initial):(a(!0),r==null||r(l.element)))};Promise.resolve(o(l)).then(u,f=>{throw l.in||a(!0),f})}}),c=nt(s,e.ref);return i&&!t?null:m.cloneElement(e,{ref:c})}function ki(e,t,r){return e?M.jsx(Ru,Object.assign({},r,{component:e})):t?M.jsx(Pu,Object.assign({},r,{transition:t})):M.jsx(Eu,Object.assign({},r))}function ln(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}const Au=()=>{};function Mu(e,t,{disabled:r,clickTrigger:n}={}){const o=t||Au;Ri(e,o,{disabled:r,clickTrigger:n});const i=ut(a=>{ji(a)&&o(a)});m.useEffect(()=>{if(r||e==null)return;const a=Vt(sr(e));let s=(a.defaultView||window).event;const c=et(a,"keyup",l=>{if(l===s){s=void 0;return}i(l)});return()=>{c()}},[e,r,i])}const Ni=Y.forwardRef((e,t)=>{const{flip:r,offset:n,placement:o,containerPadding:i,popperConfig:a={},transition:s,runTransition:c}=e,[l,u]=on(),[f,y]=on(),v=nt(u,t),h=un(e.container),g=un(e.target),[E,S]=m.useState(!e.show),T=Si(g,l,_i({placement:o,enableEvents:!!e.show,containerPadding:i||5,flip:r,offset:n,arrowElement:f,popperConfig:a}));e.show&&E&&S(!1);const R=(...ie)=>{S(!0),e.onExited&&e.onExited(...ie)},C=e.show||!E;if(Mu(l,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!C)return null;const{onExit:p,onExiting:A,onEnter:k,onEntering:J,onEntered:Z}=e;let K=e.children(Object.assign({},T.attributes.popper,{style:T.styles.popper,ref:v}),{popper:T,placement:o,show:!!e.show,arrowProps:Object.assign({},T.attributes.arrow,{style:T.styles.arrow,ref:y})});return K=ki(s,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:K,onExit:p,onExiting:A,onExited:R,onEnter:k,onEntering:J,onEntered:Z}),h?bt.createPortal(K,h):null});Ni.displayName="Overlay";const Ii=Y.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=tt(t,"popover-header"),M.jsx(r,{ref:o,className:ce(e,t),...n})));Ii.displayName="PopoverHeader";const In=Y.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=tt(t,"popover-body"),M.jsx(r,{ref:o,className:ce(e,t),...n})));In.displayName="PopoverBody";function Di(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function Li(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const ju=Y.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,body:i,arrowProps:a,hasDoneInitialMeasure:s,popper:c,show:l,...u},f)=>{const y=tt(e,"popover"),v=wn(),[h]=(t==null?void 0:t.split("-"))||[],g=Di(h,v);let E=n;return l&&!s&&(E={...n,...Li(c==null?void 0:c.strategy)}),M.jsxs("div",{ref:f,role:"tooltip",style:E,"x-placement":h,className:ce(r,y,h&&`bs-popover-${g}`),...u,children:[M.jsx("div",{className:"popover-arrow",...a}),i?M.jsx(In,{children:o}):o]})}),$i=Object.assign(ju,{Header:Ii,Body:In,POPPER_OFFSET:[0,8]}),Fi=Y.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,arrowProps:i,hasDoneInitialMeasure:a,popper:s,show:c,...l},u)=>{e=tt(e,"tooltip");const f=wn(),[y]=(t==null?void 0:t.split("-"))||[],v=Di(y,f);let h=n;return c&&!a&&(h={...n,...Li(s==null?void 0:s.strategy)}),M.jsxs("div",{ref:u,style:h,role:"tooltip","x-placement":y,className:ce(r,e,`bs-tooltip-${v}`),...l,children:[M.jsx("div",{className:"tooltip-arrow",...i}),M.jsx("div",{className:`${e}-inner`,children:o})]})});Fi.displayName="Tooltip";const Dn=Object.assign(Fi,{TOOLTIP_OFFSET:[0,6]});function ku(e){const t=m.useRef(null),r=tt(void 0,"popover"),n=tt(void 0,"tooltip"),o=m.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(ln(t.current,r))return $i.POPPER_OFFSET;if(ln(t.current,n))return Dn.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[o]]}function Nu(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=o=>r(vr(o))),t.ref=n.__wrapped||(n.__wrapped=o=>n(vr(o)))}const Ui=Y.forwardRef(({children:e,transition:t=yr,popperConfig:r={},rootClose:n=!1,placement:o="top",show:i=!1,...a},s)=>{const c=m.useRef({}),[l,u]=m.useState(null),[f,y]=ku(a.offset),v=nt(s,f),h=t===!0?yr:t||void 0,g=ut(E=>{u(E),r==null||r.onFirstUpdate==null||r.onFirstUpdate(E)});return gr(()=>{l&&a.target&&(c.current.scheduleUpdate==null||c.current.scheduleUpdate())},[l,a.target]),m.useEffect(()=>{i||u(null)},[i]),M.jsx(Ni,{...a,ref:v,popperConfig:{...r,modifiers:y.concat(r.modifiers||[]),onFirstUpdate:g},transition:h,rootClose:n,placement:o,show:i,children:(E,{arrowProps:S,popper:T,show:R})=>{var C,p;Nu(E,S);const A=T==null?void 0:T.placement,k=Object.assign(c.current,{state:T==null?void 0:T.state,scheduleUpdate:T==null?void 0:T.update,placement:A,outOfBoundaries:(T==null||(C=T.state)==null||(p=C.modifiersData.hide)==null?void 0:p.isReferenceHidden)||!1,strategy:r.strategy}),J=!!l;return typeof e=="function"?e({...E,placement:A,show:R,...!t&&R&&{className:"show"},popper:k,arrowProps:S,hasDoneInitialMeasure:J}):Y.cloneElement(e,{...E,placement:A,arrowProps:S,popper:k,hasDoneInitialMeasure:J,className:ce(e.props.className,!t&&R&&"show"),style:{...e.props.style,...E.style}})}})});Ui.displayName="Overlay";function Iu(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function jo(e,t,r){const[n]=t,o=n.currentTarget,i=n.relatedTarget||n.nativeEvent[r];(!i||i!==o)&&!Er(o,i)&&e(...t)}z.oneOf(["click","hover","focus"]);const Bi=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:o,defaultShow:i=!1,onToggle:a,delay:s,placement:c,flip:l=c&&c.indexOf("auto")!==-1,...u})=>{const f=m.useRef(null),y=nt(f,r.ref),v=oc(),h=m.useRef(""),[g,E]=oi(o,i,a),S=Iu(s),{onFocus:T,onBlur:R,onClick:C}=typeof r!="function"?Y.Children.only(r).props:{},p=Q=>{y(vr(Q))},A=m.useCallback(()=>{if(v.clear(),h.current="show",!S.show){E(!0);return}v.set(()=>{h.current==="show"&&E(!0)},S.show)},[S.show,E,v]),k=m.useCallback(()=>{if(v.clear(),h.current="hide",!S.hide){E(!1);return}v.set(()=>{h.current==="hide"&&E(!1)},S.hide)},[S.hide,E,v]),J=m.useCallback((...Q)=>{A(),T==null||T(...Q)},[A,T]),Z=m.useCallback((...Q)=>{k(),R==null||R(...Q)},[k,R]),K=m.useCallback((...Q)=>{E(!g),C==null||C(...Q)},[C,E,g]),ie=m.useCallback((...Q)=>{jo(A,Q,"fromElement")},[A]),le=m.useCallback((...Q)=>{jo(k,Q,"toElement")},[k]),V=e==null?[]:[].concat(e),X={ref:p};return V.indexOf("click")!==-1&&(X.onClick=K),V.indexOf("focus")!==-1&&(X.onFocus=J,X.onBlur=Z),V.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&jn(V.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),X.onMouseOver=ie,X.onMouseOut=le),M.jsxs(M.Fragment,{children:[typeof r=="function"?r(X):m.cloneElement(r,X),M.jsx(Ui,{...u,show:g,onHide:k,flip:l,placement:c,popperConfig:n,target:f.current,children:t})]})};let Du={data:""},Lu=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||Du,$u=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Fu=/\/\*[^]*?\*\/| +/g,ko=/\n+/g,Qe=(e,t)=>{let r="",n="",o="";for(let i in e){let a=e[i];i[0]=="@"?i[1]=="i"?r=i+" "+a+";":n+=i[1]=="f"?Qe(a,i):i+"{"+Qe(a,i[1]=="k"?"":t)+"}":typeof a=="object"?n+=Qe(a,t?t.replace(/([^,])+/g,s=>i.replace(/(^:.*)|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,s):s?s+" "+c:c)):i):a!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=Qe.p?Qe.p(i,a):i+":"+a+";")}return r+(t&&o?t+"{"+o+"}":o)+n},ze={},zi=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+zi(e[r]);return t}return e},Uu=(e,t,r,n,o)=>{let i=zi(e),a=ze[i]||(ze[i]=(c=>{let l=0,u=11;for(;l<c.length;)u=101*u+c.charCodeAt(l++)>>>0;return"go"+u})(i));if(!ze[a]){let c=i!==e?e:(l=>{let u,f,y=[{}];for(;u=$u.exec(l.replace(Fu,""));)u[4]?y.shift():u[3]?(f=u[3].replace(ko," ").trim(),y.unshift(y[0][f]=y[0][f]||{})):y[0][u[1]]=u[2].replace(ko," ").trim();return y[0]})(e);ze[a]=Qe(o?{["@keyframes "+a]:c}:c,r?"":"."+a)}let s=r&&ze.g?ze.g:null;return r&&(ze.g=ze[a]),((c,l,u,f)=>{f?l.data=l.data.replace(f,c):l.data.indexOf(c)===-1&&(l.data=u?c+l.data:l.data+c)})(ze[a],t,n,s),a},Bu=(e,t,r)=>e.reduce((n,o,i)=>{let a=t[i];if(a&&a.call){let s=a(r),c=s&&s.props&&s.props.className||/^go/.test(s)&&s;a=c?"."+c:s&&typeof s=="object"?s.props?"":Qe(s,""):s===!1?"":s}return n+o+(a??"")},"");function Rr(e){let t=this||{},r=e.call?e(t.p):e;return Uu(r.unshift?r.raw?Bu(r,[].slice.call(arguments,1),t.p):r.reduce((n,o)=>Object.assign(n,o&&o.call?o(t.p):o),{}):r,Lu(t.target),t.g,t.o,t.k)}let Hi,fn,dn;Rr.bind({g:1});let We=Rr.bind({k:1});function zu(e,t,r,n){Qe.p=t,Hi=e,fn=r,dn=n}function it(e,t){let r=this||{};return function(){let n=arguments;function o(i,a){let s=Object.assign({},i),c=s.className||o.className;r.p=Object.assign({theme:fn&&fn()},s),r.o=/ *go\d+/.test(c),s.className=Rr.apply(r,n)+(c?" "+c:"");let l=e;return e[0]&&(l=s.as||e,delete s.as),dn&&l[0]&&dn(s),Hi(l,s)}return o}}var Hu=e=>typeof e=="function",wr=(e,t)=>Hu(e)?e(t):e,Vu=(()=>{let e=0;return()=>(++e).toString()})(),Vi=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),Wu=20,cr=new Map,Yu=1e3,No=e=>{if(cr.has(e))return;let t=setTimeout(()=>{cr.delete(e),ft({type:4,toastId:e})},Yu);cr.set(e,t)},qu=e=>{let t=cr.get(e);t&&clearTimeout(t)},pn=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,Wu)};case 1:return t.toast.id&&qu(t.toast.id),{...e,toasts:e.toasts.map(i=>i.id===t.toast.id?{...i,...t.toast}:i)};case 2:let{toast:r}=t;return e.toasts.find(i=>i.id===r.id)?pn(e,{type:1,toast:r}):pn(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?No(n):e.toasts.forEach(i=>{No(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===n||n===void 0?{...i,visible:!1}:i)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(i=>i.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(i=>({...i,pauseDuration:i.pauseDuration+o}))}}},ur=[],lr={toasts:[],pausedAt:void 0},ft=e=>{lr=pn(lr,e),ur.forEach(t=>{t(lr)})},Gu={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Ku=(e={})=>{let[t,r]=m.useState(lr);m.useEffect(()=>(ur.push(r),()=>{let o=ur.indexOf(r);o>-1&&ur.splice(o,1)}),[t]);let n=t.toasts.map(o=>{var i,a;return{...e,...e[o.type],...o,duration:o.duration||((i=e[o.type])==null?void 0:i.duration)||(e==null?void 0:e.duration)||Gu[o.type],style:{...e.style,...(a=e[o.type])==null?void 0:a.style,...o.style}}});return{...t,toasts:n}},Ju=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||Vu()}),qt=e=>(t,r)=>{let n=Ju(t,e,r);return ft({type:2,toast:n}),n.id},Pe=(e,t)=>qt("blank")(e,t);Pe.error=qt("error");Pe.success=qt("success");Pe.loading=qt("loading");Pe.custom=qt("custom");Pe.dismiss=e=>{ft({type:3,toastId:e})};Pe.remove=e=>ft({type:4,toastId:e});Pe.promise=(e,t,r)=>{let n=Pe.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(o=>(Pe.success(wr(t.success,o),{id:n,...r,...r==null?void 0:r.success}),o)).catch(o=>{Pe.error(wr(t.error,o),{id:n,...r,...r==null?void 0:r.error})}),e};var Xu=(e,t)=>{ft({type:1,toast:{id:e,height:t}})},Zu=()=>{ft({type:5,time:Date.now()})},Qu=e=>{let{toasts:t,pausedAt:r}=Ku(e);m.useEffect(()=>{if(r)return;let i=Date.now(),a=t.map(s=>{if(s.duration===1/0)return;let c=(s.duration||0)+s.pauseDuration-(i-s.createdAt);if(c<0){s.visible&&Pe.dismiss(s.id);return}return setTimeout(()=>Pe.dismiss(s.id),c)});return()=>{a.forEach(s=>s&&clearTimeout(s))}},[t,r]);let n=m.useCallback(()=>{r&&ft({type:6,time:Date.now()})},[r]),o=m.useCallback((i,a)=>{let{reverseOrder:s=!1,gutter:c=8,defaultPosition:l}=a||{},u=t.filter(v=>(v.position||l)===(i.position||l)&&v.height),f=u.findIndex(v=>v.id===i.id),y=u.filter((v,h)=>h<f&&v.visible).length;return u.filter(v=>v.visible).slice(...s?[y+1]:[0,y]).reduce((v,h)=>v+(h.height||0)+c,0)},[t]);return{toasts:t,handlers:{updateHeight:Xu,startPause:Zu,endPause:n,calculateOffset:o}}},el=We`
52
+ */var Fr,so;function fs(){if(so)return Fr;so=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(a).map(function(u){return a[u]});if(c.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(u){l[u]=u}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Fr=o()?Object.assign:function(i,a){for(var s,c=n(i),l,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var f in s)t.call(s,f)&&(c[f]=s[f]);if(e){l=e(s);for(var y=0;y<l.length;y++)r.call(s,l[y])&&(c[l[y]]=s[l[y]])}}return c},Fr}var Ur,co;function On(){if(co)return Ur;co=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ur=e,Ur}var Br,uo;function ni(){return uo||(uo=1,Br=Function.call.bind(Object.prototype.hasOwnProperty)),Br}var zr,lo;function ds(){if(lo)return zr;lo=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=On(),r={},n=ni();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,c,l){if(process.env.NODE_ENV!=="production"){for(var u in i)if(n(i,u)){var f;try{if(typeof i[u]!="function"){var y=Error((c||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}f=i[u](a,u,c,s,null,t)}catch(h){f=h}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in r)){r[f.message]=!0;var v=l?l():"";e("Failed "+s+" type: "+f.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},zr=o,zr}var Hr,fo;function ps(){if(fo)return Hr;fo=1;var e=ri(),t=fs(),r=On(),n=ni(),o=ds(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return Hr=function(s,c){var l=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f(O){var _=O&&(l&&O[l]||O[u]);if(typeof _=="function")return _}var y="<<anonymous>>",v={array:S("array"),bigint:S("bigint"),bool:S("boolean"),func:S("function"),number:S("number"),object:S("object"),string:S("string"),symbol:S("symbol"),any:T(),arrayOf:R,element:C(),elementType:p(),instanceOf:A,node:K(),objectOf:J,oneOf:k,oneOfType:Z,shape:le,exact:V};function h(O,_){return O===_?O!==0||1/O===1/_:O!==O&&_!==_}function g(O,_){this.message=O,this.data=_&&typeof _=="object"?_:{},this.stack=""}g.prototype=Error.prototype;function E(O){if(process.env.NODE_ENV!=="production")var _={},L=0;function $(U,N,I,D,H,B,fe){if(D=D||y,B=B||I,fe!==r){if(c){var b=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 b.name="Invariant Violation",b}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ge=D+":"+I;!_[ge]&&L<3&&(i("You are manually calling a React.PropTypes validation function for the `"+B+"` prop on `"+D+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),_[ge]=!0,L++)}}return N[I]==null?U?N[I]===null?new g("The "+H+" `"+B+"` is marked as required "+("in `"+D+"`, but its value is `null`.")):new g("The "+H+" `"+B+"` is marked as required in "+("`"+D+"`, but its value is `undefined`.")):null:O(N,I,D,H,B)}var j=$.bind(null,!1);return j.isRequired=$.bind(null,!0),j}function S(O){function _(L,$,j,U,N,I){var D=L[$],H=ae(D);if(H!==O){var B=ue(D);return new g("Invalid "+U+" `"+N+"` of type "+("`"+B+"` supplied to `"+j+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return E(_)}function T(){return E(a)}function R(O){function _(L,$,j,U,N){if(typeof O!="function")return new g("Property `"+N+"` of component `"+j+"` has invalid PropType notation inside arrayOf.");var I=L[$];if(!Array.isArray(I)){var D=ae(I);return new g("Invalid "+U+" `"+N+"` of type "+("`"+D+"` supplied to `"+j+"`, expected an array."))}for(var H=0;H<I.length;H++){var B=O(I,H,j,U,N+"["+H+"]",r);if(B instanceof Error)return B}return null}return E(_)}function C(){function O(_,L,$,j,U){var N=_[L];if(!s(N)){var I=ae(N);return new g("Invalid "+j+" `"+U+"` of type "+("`"+I+"` supplied to `"+$+"`, expected a single ReactElement."))}return null}return E(O)}function p(){function O(_,L,$,j,U){var N=_[L];if(!e.isValidElementType(N)){var I=ae(N);return new g("Invalid "+j+" `"+U+"` of type "+("`"+I+"` supplied to `"+$+"`, expected a single ReactElement type."))}return null}return E(O)}function A(O){function _(L,$,j,U,N){if(!(L[$]instanceof O)){var I=O.name||y,D=we(L[$]);return new g("Invalid "+U+" `"+N+"` of type "+("`"+D+"` supplied to `"+j+"`, expected ")+("instance of `"+I+"`."))}return null}return E(_)}function k(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function _(L,$,j,U,N){for(var I=L[$],D=0;D<O.length;D++)if(h(I,O[D]))return null;var H=JSON.stringify(O,function(fe,b){var ge=ue(b);return ge==="symbol"?String(b):b});return new g("Invalid "+U+" `"+N+"` of value `"+String(I)+"` "+("supplied to `"+j+"`, expected one of "+H+"."))}return E(_)}function J(O){function _(L,$,j,U,N){if(typeof O!="function")return new g("Property `"+N+"` of component `"+j+"` has invalid PropType notation inside objectOf.");var I=L[$],D=ae(I);if(D!=="object")return new g("Invalid "+U+" `"+N+"` of type "+("`"+D+"` supplied to `"+j+"`, expected an object."));for(var H in I)if(n(I,H)){var B=O(I,H,j,U,N+"."+H,r);if(B instanceof Error)return B}return null}return E(_)}function Z(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var _=0;_<O.length;_++){var L=O[_];if(typeof L!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+xe(L)+" at index "+_+"."),a}function $(j,U,N,I,D){for(var H=[],B=0;B<O.length;B++){var fe=O[B],b=fe(j,U,N,I,D,r);if(b==null)return null;b.data&&n(b.data,"expectedType")&&H.push(b.data.expectedType)}var ge=H.length>0?", expected one of type ["+H.join(", ")+"]":"";return new g("Invalid "+I+" `"+D+"` supplied to "+("`"+N+"`"+ge+"."))}return E($)}function K(){function O(_,L,$,j,U){return X(_[L])?null:new g("Invalid "+j+" `"+U+"` supplied to "+("`"+$+"`, expected a ReactNode."))}return E(O)}function ie(O,_,L,$,j){return new g((O||"React class")+": "+_+" type `"+L+"."+$+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+j+"`.")}function le(O){function _(L,$,j,U,N){var I=L[$],D=ae(I);if(D!=="object")return new g("Invalid "+U+" `"+N+"` of type `"+D+"` "+("supplied to `"+j+"`, expected `object`."));for(var H in O){var B=O[H];if(typeof B!="function")return ie(j,U,N,H,ue(B));var fe=B(I,H,j,U,N+"."+H,r);if(fe)return fe}return null}return E(_)}function V(O){function _(L,$,j,U,N){var I=L[$],D=ae(I);if(D!=="object")return new g("Invalid "+U+" `"+N+"` of type `"+D+"` "+("supplied to `"+j+"`, expected `object`."));var H=t({},L[$],O);for(var B in H){var fe=O[B];if(n(O,B)&&typeof fe!="function")return ie(j,U,N,B,ue(fe));if(!fe)return new g("Invalid "+U+" `"+N+"` key `"+B+"` supplied to `"+j+"`.\nBad object: "+JSON.stringify(L[$],null," ")+`
53
+ Valid keys: `+JSON.stringify(Object.keys(O),null," "));var b=fe(I,B,j,U,N+"."+B,r);if(b)return b}return null}return E(_)}function X(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(X);if(O===null||s(O))return!0;var _=f(O);if(_){var L=_.call(O),$;if(_!==O.entries){for(;!($=L.next()).done;)if(!X($.value))return!1}else for(;!($=L.next()).done;){var j=$.value;if(j&&!X(j[1]))return!1}}else return!1;return!0;default:return!1}}function Q(O,_){return O==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function ae(O){var _=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":Q(_,O)?"symbol":_}function ue(O){if(typeof O>"u"||O===null)return""+O;var _=ae(O);if(_==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return _}function xe(O){var _=ue(O);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function we(O){return!O.constructor||!O.constructor.name?y:O.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},Hr}var Vr,po;function hs(){if(po)return Vr;po=1;var e=On();function t(){}function r(){}return r.resetWarningCache=t,Vr=function(){function n(a,s,c,l,u,f){if(f!==e){var y=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 y.name="Invariant Violation",y}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},Vr}if(process.env.NODE_ENV!=="production"){var ms=ri(),vs=!0;tn.exports=ps()(ms.isElement,vs)}else tn.exports=hs()();var gs=tn.exports;const z=xr(gs),ho={disabled:!1};var ys=process.env.NODE_ENV!=="production"?z.oneOfType([z.number,z.shape({enter:z.number,exit:z.number,appear:z.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&z.oneOfType([z.string,z.shape({enter:z.string,exit:z.string,active:z.string}),z.shape({enter:z.string,enterDone:z.string,enterActive:z.string,exit:z.string,exitDone:z.string,exitActive:z.string})]);const oi=m.createContext(null);var bs=function(t){return t.scrollTop},Dt="unmounted",Xe="exited",He="entering",Ze="entered",pr="exiting",Ye=function(e){Xa(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,s=a&&!a.isMounting?n.enter:n.appear,c;return i.appearStatus=null,n.in?s?(c=Xe,i.appearStatus=He):c=Ze:n.unmountOnExit||n.mountOnEnter?c=Dt:c=Xe,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===Dt?{status:Xe}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==He&&a!==Ze&&(i=He):(a===He||a===Ze)&&(i=pr)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},r.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===He){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:bt.findDOMNode(this);a&&bs(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Xe&&this.setState({status:Dt})},r.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,c=this.props.nodeRef?[s]:[bt.findDOMNode(this),s],l=c[0],u=c[1],f=this.getTimeouts(),y=s?f.appear:f.enter;if(!o&&!a||ho.disabled){this.safeSetState({status:Ze},function(){i.props.onEntered(l)});return}this.props.onEnter(l,u),this.safeSetState({status:He},function(){i.props.onEntering(l,u),i.onTransitionEnd(y,function(){i.safeSetState({status:Ze},function(){i.props.onEntered(l,u)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:bt.findDOMNode(this);if(!i||ho.disabled){this.safeSetState({status:Xe},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:pr},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Xe},function(){o.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:bt.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],l=c[0],u=c[1];this.props.addEndListener(l,u)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Dt)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var s=ei(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return m.createElement(oi.Provider,{value:null},typeof a=="function"?a(o,s):m.cloneElement(m.Children.only(a),s))},t}(m.Component);Ye.contextType=oi;Ye.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:z.shape({current:typeof Element>"u"?z.any:function(e,t,r,n,o,i){var a=e[t];return z.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,n,o,i)}}),children:z.oneOfType([z.func.isRequired,z.element.isRequired]).isRequired,in:z.bool,mountOnEnter:z.bool,unmountOnExit:z.bool,appear:z.bool,enter:z.bool,exit:z.bool,timeout:function(t){var r=ys;t.addEndListener||(r=r.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.apply(void 0,[t].concat(o))},addEndListener:z.func,onEnter:z.func,onEntering:z.func,onEntered:z.func,onExit:z.func,onExiting:z.func,onExited:z.func}:{};function gt(){}Ye.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:gt,onEntering:gt,onEntered:gt,onExit:gt,onExiting:gt,onExited:gt};Ye.UNMOUNTED=Dt;Ye.EXITED=Xe;Ye.ENTERING=He;Ye.ENTERED=Ze;Ye.EXITING=pr;const Sr=!!(typeof window<"u"&&window.document&&window.document.createElement);var rn=!1,nn=!1;try{var Wr={get passive(){return rn=!0},get once(){return nn=rn=!0}};Sr&&(window.addEventListener("test",Wr,Wr),window.removeEventListener("test",Wr,!0))}catch{}function ii(e,t,r,n){if(n&&typeof n!="boolean"&&!nn){var o=n.once,i=n.capture,a=r;!nn&&o&&(a=r.__once||function s(c){this.removeEventListener(t,s,i),r.call(this,c)},r.__once=a),e.addEventListener(t,a,rn?n:i)}e.addEventListener(t,r,n)}function ai(e,t,r,n){var o=n&&typeof n!="boolean"?n.capture:n;e.removeEventListener(t,r,o),r.__once&&e.removeEventListener(t,r.__once,o)}function et(e,t,r,n){return ii(e,t,r,n),function(){ai(e,t,r,n)}}function Es(e,t,r,n){if(n===void 0&&(n=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,r,n),e.dispatchEvent(o)}}function ws(e){var t=wn(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function Os(e,t,r){r===void 0&&(r=5);var n=!1,o=setTimeout(function(){n||Es(e,"transitionend",!0)},t+r),i=et(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(o),i()}}function si(e,t,r,n){r==null&&(r=ws(e)||0);var o=Os(e,r,n),i=et(e,"transitionend",t);return function(){o(),i()}}function mo(e,t){const r=wn(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function ci(e,t){const r=mo(e,"transitionDuration"),n=mo(e,"transitionDelay"),o=si(e,i=>{i.target===e&&(o(),t(i))},r+n)}function ui(e){e.offsetHeight}const vo=e=>!e||typeof e=="function"?e:t=>{e.current=t};function xs(e,t){const r=vo(e),n=vo(t);return o=>{r&&r(o),n&&n(o)}}function nt(e,t){return m.useMemo(()=>xs(e,t),[e,t])}function hr(e){return e&&"setState"in e?bt.findDOMNode(e):e??null}const li=m.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:o,onExited:i,addEndListener:a,children:s,childRef:c,...l},u)=>{const f=m.useRef(null),y=nt(f,c),v=A=>{y(hr(A))},h=A=>k=>{A&&f.current&&A(f.current,k)},g=m.useCallback(h(e),[e]),E=m.useCallback(h(t),[t]),S=m.useCallback(h(r),[r]),T=m.useCallback(h(n),[n]),R=m.useCallback(h(o),[o]),C=m.useCallback(h(i),[i]),p=m.useCallback(h(a),[a]);return M.jsx(Ye,{ref:u,...l,onEnter:g,onEntered:S,onEntering:E,onExit:T,onExited:C,onExiting:R,addEndListener:p,nodeRef:f,children:typeof s=="function"?(A,k)=>s(A,{...k,ref:v}):m.cloneElement(s,{ref:v})})});function Ts(e){const t=m.useRef(e);return m.useEffect(()=>{t.current=e},[e]),t}function ut(e){const t=Ts(e);return m.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function on(){return m.useState(null)}function xn(){const e=m.useRef(!0),t=m.useRef(()=>e.current);return m.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}const Ss=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",Cs=typeof document<"u",mr=Cs||Ss?m.useLayoutEffect:m.useEffect,Rs={[He]:"show",[Ze]:"show"},vr=Y.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...o},i)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...o},s=m.useCallback((c,l)=>{ui(c),n==null||n(c,l)},[n]);return M.jsx(li,{ref:i,addEndListener:ci,...a,onEnter:s,childRef:t.ref,children:(c,l)=>Y.cloneElement(t,{...l,className:ce("fade",e,t.props.className,Rs[c],r[c])})})});vr.displayName="Fade";function _s(e){const t=m.useRef(e);return t.current=e,t}function fi(e){const t=_s(e);m.useEffect(()=>()=>t.current(),[])}const an=2**31-1;function di(e,t,r){const n=r-Date.now();e.current=n<=an?setTimeout(t,n):setTimeout(()=>di(e,t,r),an)}function Ps(){const e=xn(),t=m.useRef();return fi(()=>clearTimeout(t.current)),m.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(o,i=0){e()&&(r(),i<=an?t.current=setTimeout(o,i):di(t,o,Date.now()+i))}return{set:n,clear:r,handleRef:t}},[])}var go=Object.prototype.hasOwnProperty;function yo(e,t,r){for(r of e.keys())if($t(r,t))return r}function $t(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&$t(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=yo(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=yo(t,o),!o)||!$t(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(go.call(e,r)&&++n&&!go.call(t,r)||!(r in t)||!$t(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function As(e){const t=xn();return[e[0],m.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}var Ce="top",Ie="bottom",De="right",Re="left",Tn="auto",Wt=[Ce,Ie,De,Re],Et="start",Bt="end",Ms="clippingParents",pi="viewport",jt="popper",js="reference",bo=Wt.reduce(function(e,t){return e.concat([t+"-"+Et,t+"-"+Bt])},[]),hi=[].concat(Wt,[Tn]).reduce(function(e,t){return e.concat([t,t+"-"+Et,t+"-"+Bt])},[]),ks="beforeRead",Ns="read",Is="afterRead",Ds="beforeMain",Ls="main",$s="afterMain",Fs="beforeWrite",Us="write",Bs="afterWrite",zs=[ks,Ns,Is,Ds,Ls,$s,Fs,Us,Bs];function $e(e){return e.split("-")[0]}function Ae(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function lt(e){var t=Ae(e).Element;return e instanceof t||e instanceof Element}function Fe(e){var t=Ae(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Sn(e){if(typeof ShadowRoot>"u")return!1;var t=Ae(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var st=Math.max,gr=Math.min,wt=Math.round;function sn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function mi(){return!/^((?!chrome|android).)*safari/i.test(sn())}function Ot(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&Fe(e)&&(o=e.offsetWidth>0&&wt(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&wt(n.height)/e.offsetHeight||1);var a=lt(e)?Ae(e):window,s=a.visualViewport,c=!mi()&&r,l=(n.left+(c&&s?s.offsetLeft:0))/o,u=(n.top+(c&&s?s.offsetTop:0))/i,f=n.width/o,y=n.height/i;return{width:f,height:y,top:u,right:l+f,bottom:u+y,left:l,x:l,y:u}}function Cn(e){var t=Ot(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function vi(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Sn(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function rt(e){return e?(e.nodeName||"").toLowerCase():null}function Ve(e){return Ae(e).getComputedStyle(e)}function Hs(e){return["table","td","th"].indexOf(rt(e))>=0}function ot(e){return((lt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cr(e){return rt(e)==="html"?e:e.assignedSlot||e.parentNode||(Sn(e)?e.host:null)||ot(e)}function Eo(e){return!Fe(e)||Ve(e).position==="fixed"?null:e.offsetParent}function Vs(e){var t=/firefox/i.test(sn()),r=/Trident/i.test(sn());if(r&&Fe(e)){var n=Ve(e);if(n.position==="fixed")return null}var o=Cr(e);for(Sn(o)&&(o=o.host);Fe(o)&&["html","body"].indexOf(rt(o))<0;){var i=Ve(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Yt(e){for(var t=Ae(e),r=Eo(e);r&&Hs(r)&&Ve(r).position==="static";)r=Eo(r);return r&&(rt(r)==="html"||rt(r)==="body"&&Ve(r).position==="static")?t:r||Vs(e)||t}function Rn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ft(e,t,r){return st(e,gr(t,r))}function Ws(e,t,r){var n=Ft(e,t,r);return n>r?r:n}function gi(){return{top:0,right:0,bottom:0,left:0}}function yi(e){return Object.assign({},gi(),e)}function bi(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Ys=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,yi(typeof t!="number"?t:bi(t,Wt))};function qs(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=$e(r.placement),c=Rn(s),l=[Re,De].indexOf(s)>=0,u=l?"height":"width";if(!(!i||!a)){var f=Ys(o.padding,r),y=Cn(i),v=c==="y"?Ce:Re,h=c==="y"?Ie:De,g=r.rects.reference[u]+r.rects.reference[c]-a[c]-r.rects.popper[u],E=a[c]-r.rects.reference[c],S=Yt(i),T=S?c==="y"?S.clientHeight||0:S.clientWidth||0:0,R=g/2-E/2,C=f[v],p=T-y[u]-f[h],A=T/2-y[u]/2+R,k=Ft(C,A,p),J=c;r.modifiersData[n]=(t={},t[J]=k,t.centerOffset=k-A,t)}}function Gs(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||vi(t.elements.popper,o)&&(t.elements.arrow=o))}const Ks={name:"arrow",enabled:!0,phase:"main",fn:qs,effect:Gs,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xt(e){return e.split("-")[1]}var Js={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Xs(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:wt(r*o)/o||0,y:wt(n*o)/o||0}}function wo(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,y=a.x,v=y===void 0?0:y,h=a.y,g=h===void 0?0:h,E=typeof u=="function"?u({x:v,y:g}):{x:v,y:g};v=E.x,g=E.y;var S=a.hasOwnProperty("x"),T=a.hasOwnProperty("y"),R=Re,C=Ce,p=window;if(l){var A=Yt(r),k="clientHeight",J="clientWidth";if(A===Ae(r)&&(A=ot(r),Ve(A).position!=="static"&&s==="absolute"&&(k="scrollHeight",J="scrollWidth")),A=A,o===Ce||(o===Re||o===De)&&i===Bt){C=Ie;var Z=f&&A===p&&p.visualViewport?p.visualViewport.height:A[k];g-=Z-n.height,g*=c?1:-1}if(o===Re||(o===Ce||o===Ie)&&i===Bt){R=De;var K=f&&A===p&&p.visualViewport?p.visualViewport.width:A[J];v-=K-n.width,v*=c?1:-1}}var ie=Object.assign({position:s},l&&Js),le=u===!0?Xs({x:v,y:g},Ae(r)):{x:v,y:g};if(v=le.x,g=le.y,c){var V;return Object.assign({},ie,(V={},V[C]=T?"0":"",V[R]=S?"0":"",V.transform=(p.devicePixelRatio||1)<=1?"translate("+v+"px, "+g+"px)":"translate3d("+v+"px, "+g+"px, 0)",V))}return Object.assign({},ie,(t={},t[C]=T?g+"px":"",t[R]=S?v+"px":"",t.transform="",t))}function Zs(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,c=s===void 0?!0:s,l={placement:$e(t.placement),variation:xt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,wo(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,wo(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Qs={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Zs,data:{}};var rr={passive:!0};function ec(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,c=Ae(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(u){u.addEventListener("scroll",r.update,rr)}),s&&c.addEventListener("resize",r.update,rr),function(){i&&l.forEach(function(u){u.removeEventListener("scroll",r.update,rr)}),s&&c.removeEventListener("resize",r.update,rr)}}const tc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ec,data:{}};var rc={left:"right",right:"left",bottom:"top",top:"bottom"};function ar(e){return e.replace(/left|right|bottom|top/g,function(t){return rc[t]})}var nc={start:"end",end:"start"};function Oo(e){return e.replace(/start|end/g,function(t){return nc[t]})}function _n(e){var t=Ae(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Pn(e){return Ot(ot(e)).left+_n(e).scrollLeft}function oc(e,t){var r=Ae(e),n=ot(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var l=mi();(l||!l&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+Pn(e),y:c}}function ic(e){var t,r=ot(e),n=_n(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=st(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=st(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+Pn(e),c=-n.scrollTop;return Ve(o||r).direction==="rtl"&&(s+=st(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function An(e){var t=Ve(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function Ei(e){return["html","body","#document"].indexOf(rt(e))>=0?e.ownerDocument.body:Fe(e)&&An(e)?e:Ei(Cr(e))}function Ut(e,t){var r;t===void 0&&(t=[]);var n=Ei(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Ae(n),a=o?[i].concat(i.visualViewport||[],An(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Ut(Cr(a)))}function cn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ac(e,t){var r=Ot(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function xo(e,t,r){return t===pi?cn(oc(e,r)):lt(t)?ac(t,r):cn(ic(ot(e)))}function sc(e){var t=Ut(Cr(e)),r=["absolute","fixed"].indexOf(Ve(e).position)>=0,n=r&&Fe(e)?Yt(e):e;return lt(n)?t.filter(function(o){return lt(o)&&vi(o,n)&&rt(o)!=="body"}):[]}function cc(e,t,r,n){var o=t==="clippingParents"?sc(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(c,l){var u=xo(e,l,n);return c.top=st(u.top,c.top),c.right=gr(u.right,c.right),c.bottom=gr(u.bottom,c.bottom),c.left=st(u.left,c.left),c},xo(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function wi(e){var t=e.reference,r=e.element,n=e.placement,o=n?$e(n):null,i=n?xt(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(o){case Ce:c={x:a,y:t.y-r.height};break;case Ie:c={x:a,y:t.y+t.height};break;case De:c={x:t.x+t.width,y:s};break;case Re:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var l=o?Rn(o):null;if(l!=null){var u=l==="y"?"height":"width";switch(i){case Et:c[l]=c[l]-(t[u]/2-r[u]/2);break;case Bt:c[l]=c[l]+(t[u]/2-r[u]/2);break}}return c}function zt(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,c=s===void 0?Ms:s,l=r.rootBoundary,u=l===void 0?pi:l,f=r.elementContext,y=f===void 0?jt:f,v=r.altBoundary,h=v===void 0?!1:v,g=r.padding,E=g===void 0?0:g,S=yi(typeof E!="number"?E:bi(E,Wt)),T=y===jt?js:jt,R=e.rects.popper,C=e.elements[h?T:y],p=cc(lt(C)?C:C.contextElement||ot(e.elements.popper),c,u,a),A=Ot(e.elements.reference),k=wi({reference:A,element:R,strategy:"absolute",placement:o}),J=cn(Object.assign({},R,k)),Z=y===jt?J:A,K={top:p.top-Z.top+S.top,bottom:Z.bottom-p.bottom+S.bottom,left:p.left-Z.left+S.left,right:Z.right-p.right+S.right},ie=e.modifiersData.offset;if(y===jt&&ie){var le=ie[o];Object.keys(K).forEach(function(V){var X=[De,Ie].indexOf(V)>=0?1:-1,Q=[Ce,Ie].indexOf(V)>=0?"y":"x";K[V]+=le[Q]*X})}return K}function uc(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,l=c===void 0?hi:c,u=xt(n),f=u?s?bo:bo.filter(function(h){return xt(h)===u}):Wt,y=f.filter(function(h){return l.indexOf(h)>=0});y.length===0&&(y=f);var v=y.reduce(function(h,g){return h[g]=zt(e,{placement:g,boundary:o,rootBoundary:i,padding:a})[$e(g)],h},{});return Object.keys(v).sort(function(h,g){return v[h]-v[g]})}function lc(e){if($e(e)===Tn)return[];var t=ar(e);return[Oo(e),t,Oo(t)]}function fc(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,c=r.fallbackPlacements,l=r.padding,u=r.boundary,f=r.rootBoundary,y=r.altBoundary,v=r.flipVariations,h=v===void 0?!0:v,g=r.allowedAutoPlacements,E=t.options.placement,S=$e(E),T=S===E,R=c||(T||!h?[ar(E)]:lc(E)),C=[E].concat(R).reduce(function(j,U){return j.concat($e(U)===Tn?uc(t,{placement:U,boundary:u,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:g}):U)},[]),p=t.rects.reference,A=t.rects.popper,k=new Map,J=!0,Z=C[0],K=0;K<C.length;K++){var ie=C[K],le=$e(ie),V=xt(ie)===Et,X=[Ce,Ie].indexOf(le)>=0,Q=X?"width":"height",ae=zt(t,{placement:ie,boundary:u,rootBoundary:f,altBoundary:y,padding:l}),ue=X?V?De:Re:V?Ie:Ce;p[Q]>A[Q]&&(ue=ar(ue));var xe=ar(ue),we=[];if(i&&we.push(ae[le]<=0),s&&we.push(ae[ue]<=0,ae[xe]<=0),we.every(function(j){return j})){Z=ie,J=!1;break}k.set(ie,we)}if(J)for(var O=h?3:1,_=function(U){var N=C.find(function(I){var D=k.get(I);if(D)return D.slice(0,U).every(function(H){return H})});if(N)return Z=N,"break"},L=O;L>0;L--){var $=_(L);if($==="break")break}t.placement!==Z&&(t.modifiersData[n]._skip=!0,t.placement=Z,t.reset=!0)}}const dc={name:"flip",enabled:!0,phase:"main",fn:fc,requiresIfExists:["offset"],data:{_skip:!1}};function To(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function So(e){return[Ce,De,Ie,Re].some(function(t){return e[t]>=0})}function pc(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=zt(t,{elementContext:"reference"}),s=zt(t,{altBoundary:!0}),c=To(a,n),l=To(s,o,i),u=So(c),f=So(l);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const hc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:pc};function mc(e,t,r){var n=$e(e),o=[Re,Ce].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Re,De].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function vc(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=hi.reduce(function(u,f){return u[f]=mc(f,t.rects,i),u},{}),s=a[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=a}const gc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:vc};function yc(e){var t=e.state,r=e.name;t.modifiersData[r]=wi({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const bc={name:"popperOffsets",enabled:!0,phase:"read",fn:yc,data:{}};function Ec(e){return e==="x"?"y":"x"}function wc(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,c=r.boundary,l=r.rootBoundary,u=r.altBoundary,f=r.padding,y=r.tether,v=y===void 0?!0:y,h=r.tetherOffset,g=h===void 0?0:h,E=zt(t,{boundary:c,rootBoundary:l,padding:f,altBoundary:u}),S=$e(t.placement),T=xt(t.placement),R=!T,C=Rn(S),p=Ec(C),A=t.modifiersData.popperOffsets,k=t.rects.reference,J=t.rects.popper,Z=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,K=typeof Z=="number"?{mainAxis:Z,altAxis:Z}:Object.assign({mainAxis:0,altAxis:0},Z),ie=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,le={x:0,y:0};if(A){if(i){var V,X=C==="y"?Ce:Re,Q=C==="y"?Ie:De,ae=C==="y"?"height":"width",ue=A[C],xe=ue+E[X],we=ue-E[Q],O=v?-J[ae]/2:0,_=T===Et?k[ae]:J[ae],L=T===Et?-J[ae]:-k[ae],$=t.elements.arrow,j=v&&$?Cn($):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:gi(),N=U[X],I=U[Q],D=Ft(0,k[ae],j[ae]),H=R?k[ae]/2-O-D-N-K.mainAxis:_-D-N-K.mainAxis,B=R?-k[ae]/2+O+D+I+K.mainAxis:L+D+I+K.mainAxis,fe=t.elements.arrow&&Yt(t.elements.arrow),b=fe?C==="y"?fe.clientTop||0:fe.clientLeft||0:0,ge=(V=ie==null?void 0:ie[C])!=null?V:0,_e=ue+H-ge-b,Me=ue+B-ge,qe=Ft(v?gr(xe,_e):xe,ue,v?st(we,Me):we);A[C]=qe,le[C]=qe-ue}if(s){var Ct,Xt=C==="x"?Ce:Re,dt=C==="x"?Ie:De,Be=A[p],pt=p==="y"?"height":"width",ht=Be+E[Xt],Zt=Be-E[dt],Rt=[Ce,Re].indexOf(S)!==-1,_t=(Ct=ie==null?void 0:ie[p])!=null?Ct:0,Pt=Rt?ht:Be-k[pt]-J[pt]-_t+K.altAxis,Ge=Rt?Be+k[pt]+J[pt]-_t-K.altAxis:Zt,Qt=v&&Rt?Ws(Pt,Be,Ge):Ft(v?Pt:ht,Be,v?Ge:Zt);A[p]=Qt,le[p]=Qt-Be}t.modifiersData[n]=le}}const Oc={name:"preventOverflow",enabled:!0,phase:"main",fn:wc,requiresIfExists:["offset"]};function xc(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Tc(e){return e===Ae(e)||!Fe(e)?_n(e):xc(e)}function Sc(e){var t=e.getBoundingClientRect(),r=wt(t.width)/e.offsetWidth||1,n=wt(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Cc(e,t,r){r===void 0&&(r=!1);var n=Fe(t),o=Fe(t)&&Sc(t),i=ot(t),a=Ot(e,o,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((rt(t)!=="body"||An(i))&&(s=Tc(t)),Fe(t)?(c=Ot(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=Pn(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Rc(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var c=t.get(s);c&&o(c)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function _c(e){var t=Rc(e);return zs.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function Pc(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Ac(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Co={placement:"bottom",modifiers:[],strategy:"absolute"};function Ro(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Mc(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?Co:o;return function(s,c,l){l===void 0&&(l=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Co,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},f=[],y=!1,v={state:u,setOptions:function(S){var T=typeof S=="function"?S(u.options):S;g(),u.options=Object.assign({},i,u.options,T),u.scrollParents={reference:lt(s)?Ut(s):s.contextElement?Ut(s.contextElement):[],popper:Ut(c)};var R=_c(Ac([].concat(n,u.options.modifiers)));return u.orderedModifiers=R.filter(function(C){return C.enabled}),h(),v.update()},forceUpdate:function(){if(!y){var S=u.elements,T=S.reference,R=S.popper;if(Ro(T,R)){u.rects={reference:Cc(T,Yt(R),u.options.strategy==="fixed"),popper:Cn(R)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(K){return u.modifiersData[K.name]=Object.assign({},K.data)});for(var C=0;C<u.orderedModifiers.length;C++){if(u.reset===!0){u.reset=!1,C=-1;continue}var p=u.orderedModifiers[C],A=p.fn,k=p.options,J=k===void 0?{}:k,Z=p.name;typeof A=="function"&&(u=A({state:u,options:J,name:Z,instance:v})||u)}}}},update:Pc(function(){return new Promise(function(E){v.forceUpdate(),E(u)})}),destroy:function(){g(),y=!0}};if(!Ro(s,c))return v;v.setOptions(l).then(function(E){!y&&l.onFirstUpdate&&l.onFirstUpdate(E)});function h(){u.orderedModifiers.forEach(function(E){var S=E.name,T=E.options,R=T===void 0?{}:T,C=E.effect;if(typeof C=="function"){var p=C({state:u,name:S,instance:v,options:R}),A=function(){};f.push(p||A)}})}function g(){f.forEach(function(E){return E()}),f=[]}return v}}const jc=Mc({defaultModifiers:[hc,bc,Qs,tc,gc,dc,Oc,Ks]}),kc=["enabled","placement","strategy","modifiers"];function Nc(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const Ic={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},Dc={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:r}=e.elements;if("removeAttribute"in t){const n=(t.getAttribute("aria-describedby")||"").split(",").filter(o=>o.trim()!==r.id);n.length?t.setAttribute("aria-describedby",n.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:r,reference:n}=e.elements,o=(t=r.getAttribute("role"))==null?void 0:t.toLowerCase();if(r.id&&o==="tooltip"&&"setAttribute"in n){const i=n.getAttribute("aria-describedby");if(i&&i.split(",").indexOf(r.id)!==-1)return;n.setAttribute("aria-describedby",i?`${i},${r.id}`:r.id)}}},Lc=[];function Oi(e,t,r={}){let{enabled:n=!0,placement:o="bottom",strategy:i="absolute",modifiers:a=Lc}=r,s=Nc(r,kc);const c=m.useRef(a),l=m.useRef(),u=m.useCallback(()=>{var E;(E=l.current)==null||E.update()},[]),f=m.useCallback(()=>{var E;(E=l.current)==null||E.forceUpdate()},[]),[y,v]=As(m.useState({placement:o,update:u,forceUpdate:f,attributes:{},styles:{popper:{},arrow:{}}})),h=m.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:E})=>{const S={},T={};Object.keys(E.elements).forEach(R=>{S[R]=E.styles[R],T[R]=E.attributes[R]}),v({state:E,styles:S,attributes:T,update:u,forceUpdate:f,placement:E.placement})}}),[u,f,v]),g=m.useMemo(()=>($t(c.current,a)||(c.current=a),c.current),[a]);return m.useEffect(()=>{!l.current||!n||l.current.setOptions({placement:o,strategy:i,modifiers:[...g,h,Ic]})},[i,o,h,n,g]),m.useEffect(()=>{if(!(!n||e==null||t==null))return l.current=jc(e,t,Object.assign({},s,{placement:o,strategy:i,modifiers:[...g,Dc,h]})),()=>{l.current!=null&&(l.current.destroy(),l.current=void 0,v(E=>Object.assign({},E,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),y}function yr(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var $c=process.env.NODE_ENV!=="production",xi=function(){};if($c){var Fc=function(t,r){var n=arguments.length;r=new Array(n>1?n-1:0);for(var o=1;o<n;o++)r[o-1]=arguments[o];var i=0,a="Warning: "+t.replace(/%s/g,function(){return r[i++]});typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}};xi=function(e,t,r){var n=arguments.length;r=new Array(n>2?n-2:0);for(var o=2;o<n;o++)r[o-2]=arguments[o];if(t===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||Fc.apply(null,[t].concat(r))}}var Uc=xi;const Mn=xr(Uc),_o=()=>{};function Bc(e){return e.button===0}function zc(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const sr=e=>e&&("current"in e?e.current:e),Po={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Ti(e,t=_o,{disabled:r,clickTrigger:n="click"}={}){const o=m.useRef(!1),i=m.useRef(!1),a=m.useCallback(l=>{const u=sr(e);Mn(!!u,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),o.current=!u||zc(l)||!Bc(l)||!!yr(u,l.target)||i.current,i.current=!1},[e]),s=ut(l=>{const u=sr(e);u&&yr(u,l.target)&&(i.current=!0)}),c=ut(l=>{o.current||t(l)});m.useEffect(()=>{var l,u;if(r||e==null)return;const f=Vt(sr(e)),y=f.defaultView||window;let v=(l=y.event)!=null?l:(u=y.parent)==null?void 0:u.event,h=null;Po[n]&&(h=et(f,Po[n],s,!0));const g=et(f,n,a,!0),E=et(f,n,T=>{if(T===v){v=void 0;return}c(T)});let S=[];return"ontouchstart"in f.documentElement&&(S=[].slice.call(f.body.children).map(T=>et(T,"mousemove",_o))),()=>{h==null||h(),g(),E(),S.forEach(T=>T())}},[e,r,n,a,s,c])}function Hc(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function Vc(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Si({enabled:e,enableEvents:t,placement:r,flip:n,offset:o,fixed:i,containerPadding:a,arrowElement:s,popperConfig:c={}}){var l,u,f,y,v;const h=Hc(c.modifiers);return Object.assign({},c,{placement:r,enabled:e,strategy:i?"fixed":c.strategy,modifiers:Vc(Object.assign({},h,{eventListeners:{enabled:t,options:(l=h.eventListeners)==null?void 0:l.options},preventOverflow:Object.assign({},h.preventOverflow,{options:a?Object.assign({padding:a},(u=h.preventOverflow)==null?void 0:u.options):(f=h.preventOverflow)==null?void 0:f.options}),offset:{options:Object.assign({offset:o},(y=h.offset)==null?void 0:y.options)},arrow:Object.assign({},h.arrow,{enabled:!!s,options:Object.assign({},(v=h.arrow)==null?void 0:v.options,{element:s})}),flip:Object.assign({enabled:!!n},h.flip)}))})}const Ci=m.createContext(Sr?window:void 0);Ci.Provider;function Ri(){return m.useContext(Ci)}const _i=Y.createContext({}),jn=Y.forwardRef(({controlId:e,as:t="div",...r},n)=>{const o=m.useMemo(()=>({controlId:e}),[e]);return M.jsx(_i.Provider,{value:o,children:M.jsx(t,{...r,ref:n})})});jn.displayName="FormGroup";const kn=Y.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:o,...i},a)=>(e=tt(e,"form-floating"),M.jsxs(jn,{ref:a,className:ce(t,e),controlId:n,...i,children:[r,M.jsx("label",{htmlFor:n,children:o})]})));kn.displayName="FloatingLabel";const Yr=(e,t)=>Sr?e==null?(t||Vt()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function un(e,t){const r=Ri(),[n,o]=m.useState(()=>Yr(e,r==null?void 0:r.document));if(!n){const i=Yr(e);i&&o(i)}return m.useEffect(()=>{},[t,n]),m.useEffect(()=>{const i=Yr(e);i!==n&&o(i)},[e,n]),n}function Wc({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:o}){const i=m.useRef(null),a=m.useRef(t),s=ut(r);m.useEffect(()=>{t?a.current=!0:s(i.current)},[t,s]);const c=nt(i,e.ref),l=m.cloneElement(e,{ref:c});return t?l:o||!a.current&&n?null:l}function Pi(e){return e.code==="Escape"||e.keyCode===27}function Yc(){const e=Y.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}const qc=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function Gc(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Kc(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:o,onExiting:i,onExited:a,addEndListener:s,children:c}=e,l=Gc(e,qc);const{major:u}=Yc(),f=u>=19?c.props.ref:c.ref,y=m.useRef(null),v=nt(y,typeof c=="function"?null:f),h=A=>k=>{A&&y.current&&A(y.current,k)},g=m.useCallback(h(t),[t]),E=m.useCallback(h(r),[r]),S=m.useCallback(h(n),[n]),T=m.useCallback(h(o),[o]),R=m.useCallback(h(i),[i]),C=m.useCallback(h(a),[a]),p=m.useCallback(h(s),[s]);return Object.assign({},l,{nodeRef:y},t&&{onEnter:g},r&&{onEntering:E},n&&{onEntered:S},o&&{onExit:T},i&&{onExiting:R},a&&{onExited:C},s&&{addEndListener:p},{children:typeof c=="function"?(A,k)=>c(A,Object.assign({},k,{ref:v})):m.cloneElement(c,{ref:v})})}const Jc=["component"];function Xc(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const Zc=Y.forwardRef((e,t)=>{let{component:r}=e,n=Xc(e,Jc);const o=Kc(n);return M.jsx(r,Object.assign({ref:t},o))});function Qc({in:e,onTransition:t}){const r=m.useRef(null),n=m.useRef(!0),o=ut(t);return mr(()=>{if(!r.current)return;let i=!1;return o({in:e,element:r.current,initial:n.current,isStale:()=>i}),()=>{i=!0}},[e,o]),mr(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function eu({children:e,in:t,onExited:r,onEntered:n,transition:o}){const[i,a]=m.useState(!t);t&&i&&a(!1);const s=Qc({in:!!t,onTransition:l=>{const u=()=>{l.isStale()||(l.in?n==null||n(l.element,l.initial):(a(!0),r==null||r(l.element)))};Promise.resolve(o(l)).then(u,f=>{throw l.in||a(!0),f})}}),c=nt(s,e.ref);return i&&!t?null:m.cloneElement(e,{ref:c})}function Ai(e,t,r){return e?M.jsx(Zc,Object.assign({},r,{component:e})):t?M.jsx(eu,Object.assign({},r,{transition:t})):M.jsx(Wc,Object.assign({},r))}function ln(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}const tu=()=>{};function ru(e,t,{disabled:r,clickTrigger:n}={}){const o=t||tu;Ti(e,o,{disabled:r,clickTrigger:n});const i=ut(a=>{Pi(a)&&o(a)});m.useEffect(()=>{if(r||e==null)return;const a=Vt(sr(e));let s=(a.defaultView||window).event;const c=et(a,"keyup",l=>{if(l===s){s=void 0;return}i(l)});return()=>{c()}},[e,r,i])}const Mi=Y.forwardRef((e,t)=>{const{flip:r,offset:n,placement:o,containerPadding:i,popperConfig:a={},transition:s,runTransition:c}=e,[l,u]=on(),[f,y]=on(),v=nt(u,t),h=un(e.container),g=un(e.target),[E,S]=m.useState(!e.show),T=Oi(g,l,Si({placement:o,enableEvents:!!e.show,containerPadding:i||5,flip:r,offset:n,arrowElement:f,popperConfig:a}));e.show&&E&&S(!1);const R=(...ie)=>{S(!0),e.onExited&&e.onExited(...ie)},C=e.show||!E;if(ru(l,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!C)return null;const{onExit:p,onExiting:A,onEnter:k,onEntering:J,onEntered:Z}=e;let K=e.children(Object.assign({},T.attributes.popper,{style:T.styles.popper,ref:v}),{popper:T,placement:o,show:!!e.show,arrowProps:Object.assign({},T.attributes.arrow,{style:T.styles.arrow,ref:y})});return K=Ai(s,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:K,onExit:p,onExiting:A,onExited:R,onEnter:k,onEntering:J,onEntered:Z}),h?bt.createPortal(K,h):null});Mi.displayName="Overlay";const ji=Y.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=tt(t,"popover-header"),M.jsx(r,{ref:o,className:ce(e,t),...n})));ji.displayName="PopoverHeader";const Nn=Y.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},o)=>(t=tt(t,"popover-body"),M.jsx(r,{ref:o,className:ce(e,t),...n})));Nn.displayName="PopoverBody";function ki(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function Ni(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const nu=Y.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,body:i,arrowProps:a,hasDoneInitialMeasure:s,popper:c,show:l,...u},f)=>{const y=tt(e,"popover"),v=En(),[h]=(t==null?void 0:t.split("-"))||[],g=ki(h,v);let E=n;return l&&!s&&(E={...n,...Ni(c==null?void 0:c.strategy)}),M.jsxs("div",{ref:f,role:"tooltip",style:E,"x-placement":h,className:ce(r,y,h&&`bs-popover-${g}`),...u,children:[M.jsx("div",{className:"popover-arrow",...a}),i?M.jsx(Nn,{children:o}):o]})}),Ii=Object.assign(nu,{Header:ji,Body:Nn,POPPER_OFFSET:[0,8]}),Di=Y.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:o,arrowProps:i,hasDoneInitialMeasure:a,popper:s,show:c,...l},u)=>{e=tt(e,"tooltip");const f=En(),[y]=(t==null?void 0:t.split("-"))||[],v=ki(y,f);let h=n;return c&&!a&&(h={...n,...Ni(s==null?void 0:s.strategy)}),M.jsxs("div",{ref:u,style:h,role:"tooltip","x-placement":y,className:ce(r,e,`bs-tooltip-${v}`),...l,children:[M.jsx("div",{className:"tooltip-arrow",...i}),M.jsx("div",{className:`${e}-inner`,children:o})]})});Di.displayName="Tooltip";const In=Object.assign(Di,{TOOLTIP_OFFSET:[0,6]});function ou(e){const t=m.useRef(null),r=tt(void 0,"popover"),n=tt(void 0,"tooltip"),o=m.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(ln(t.current,r))return Ii.POPPER_OFFSET;if(ln(t.current,n))return In.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[o]]}function iu(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=o=>r(hr(o))),t.ref=n.__wrapped||(n.__wrapped=o=>n(hr(o)))}const Li=Y.forwardRef(({children:e,transition:t=vr,popperConfig:r={},rootClose:n=!1,placement:o="top",show:i=!1,...a},s)=>{const c=m.useRef({}),[l,u]=m.useState(null),[f,y]=ou(a.offset),v=nt(s,f),h=t===!0?vr:t||void 0,g=ut(E=>{u(E),r==null||r.onFirstUpdate==null||r.onFirstUpdate(E)});return mr(()=>{l&&a.target&&(c.current.scheduleUpdate==null||c.current.scheduleUpdate())},[l,a.target]),m.useEffect(()=>{i||u(null)},[i]),M.jsx(Mi,{...a,ref:v,popperConfig:{...r,modifiers:y.concat(r.modifiers||[]),onFirstUpdate:g},transition:h,rootClose:n,placement:o,show:i,children:(E,{arrowProps:S,popper:T,show:R})=>{var C,p;iu(E,S);const A=T==null?void 0:T.placement,k=Object.assign(c.current,{state:T==null?void 0:T.state,scheduleUpdate:T==null?void 0:T.update,placement:A,outOfBoundaries:(T==null||(C=T.state)==null||(p=C.modifiersData.hide)==null?void 0:p.isReferenceHidden)||!1,strategy:r.strategy}),J=!!l;return typeof e=="function"?e({...E,placement:A,show:R,...!t&&R&&{className:"show"},popper:k,arrowProps:S,hasDoneInitialMeasure:J}):Y.cloneElement(e,{...E,placement:A,arrowProps:S,popper:k,hasDoneInitialMeasure:J,className:ce(e.props.className,!t&&R&&"show"),style:{...e.props.style,...E.style}})}})});Li.displayName="Overlay";function au(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function Ao(e,t,r){const[n]=t,o=n.currentTarget,i=n.relatedTarget||n.nativeEvent[r];(!i||i!==o)&&!yr(o,i)&&e(...t)}z.oneOf(["click","hover","focus"]);const $i=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:o,defaultShow:i=!1,onToggle:a,delay:s,placement:c,flip:l=c&&c.indexOf("auto")!==-1,...u})=>{const f=m.useRef(null),y=nt(f,r.ref),v=Ps(),h=m.useRef(""),[g,E]=ti(o,i,a),S=au(s),{onFocus:T,onBlur:R,onClick:C}=typeof r!="function"?Y.Children.only(r).props:{},p=Q=>{y(hr(Q))},A=m.useCallback(()=>{if(v.clear(),h.current="show",!S.show){E(!0);return}v.set(()=>{h.current==="show"&&E(!0)},S.show)},[S.show,E,v]),k=m.useCallback(()=>{if(v.clear(),h.current="hide",!S.hide){E(!1);return}v.set(()=>{h.current==="hide"&&E(!1)},S.hide)},[S.hide,E,v]),J=m.useCallback((...Q)=>{A(),T==null||T(...Q)},[A,T]),Z=m.useCallback((...Q)=>{k(),R==null||R(...Q)},[k,R]),K=m.useCallback((...Q)=>{E(!g),C==null||C(...Q)},[C,E,g]),ie=m.useCallback((...Q)=>{Ao(A,Q,"fromElement")},[A]),le=m.useCallback((...Q)=>{Ao(k,Q,"toElement")},[k]),V=e==null?[]:[].concat(e),X={ref:p};return V.indexOf("click")!==-1&&(X.onClick=K),V.indexOf("focus")!==-1&&(X.onFocus=J,X.onBlur=Z),V.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&Mn(V.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),X.onMouseOver=ie,X.onMouseOut=le),M.jsxs(M.Fragment,{children:[typeof r=="function"?r(X):m.cloneElement(r,X),M.jsx(Li,{...u,show:g,onHide:k,flip:l,placement:c,popperConfig:n,target:f.current,children:t})]})};var Fi={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Mo=m.createContext&&m.createContext(Fi),su=["attr","size","title"];function cu(e,t){if(e==null)return{};var r=uu(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function uu(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function br(){return br=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},br.apply(this,arguments)}function jo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Er(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jo(Object(r),!0).forEach(function(n){lu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jo(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function lu(e,t,r){return t=fu(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){var t=du(e,"string");return typeof t=="symbol"?t:t+""}function du(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ui(e){return e&&e.map((t,r)=>m.createElement(t.tag,Er({key:r},t.attr),Ui(t.child)))}function pe(e){return t=>m.createElement(pu,br({attr:Er({},e.attr)},t),Ui(e.child))}function pu(e){var t=r=>{var{attr:n,size:o,title:i}=e,a=cu(e,su),s=o||r.size||"1em",c;return r.className&&(c=r.className),e.className&&(c=(c?c+" ":"")+e.className),m.createElement("svg",br({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,a,{className:c,style:Er(Er({color:e.color||r.color},r.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),i&&m.createElement("title",null,i),e.children)};return Mo!==void 0?m.createElement(Mo.Consumer,null,r=>t(r)):t(Fi)}function hu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"},child:[]}]})(e)}function mu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z"},child:[]}]})(e)}function vu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},child:[]}]})(e)}function gu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"},child:[]}]})(e)}function yu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 8h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-4 4v3c0 .22-.03.47-.07.7l-.1.65-.37.65c-.72 1.24-2.04 2-3.46 2s-2.74-.77-3.46-2l-.37-.64-.1-.65A4.27 4.27 0 0 1 8 15v-4c0-.23.03-.48.07-.7l.1-.65.37-.65c.3-.52.72-.97 1.21-1.31l.57-.39.74-.18a3.787 3.787 0 0 1 1.89 0l.68.16.61.42c.5.34.91.78 1.21 1.31l.38.65.1.65c.04.22.07.47.07.69v1zm-6 2h4v2h-4zm0-4h4v2h-4z"},child:[]}]})(e)}function bu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"},child:[]}]})(e)}function Eu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z"},child:[]}]})(e)}function wu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15zM14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z"},child:[]}]})(e)}function Ou(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm0 14H4V8h16v10zm-2-1h-6v-2h6v2zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4-4 4z"},child:[]}]})(e)}function xu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},child:[]}]})(e)}function Tu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"},child:[]}]})(e)}function Su(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z"},child:[]}]})(e)}function Cu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"},child:[]}]})(e)}function Ru(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"},child:[]}]})(e)}function _u(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h4.05l1.83-2h4.24l1.83 2H20v12zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z"},child:[]}]})(e)}function Pu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"},child:[]}]})(e)}function Au(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"},child:[]}]})(e)}function Mu(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"},child:[]}]})(e)}function Bi(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"},child:[]}]})(e)}function ju(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"},child:[]}]})(e)}function ku(e){return pe({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{fill:"none"},child:[{tag:"path",attr:{d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M0 0h24v24H0V0z"},child:[]}]},{tag:"path",attr:{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z"},child:[]}]})(e)}const Dn=m.createContext({cookieDomain:"",axiosInstance:{},LinkComponent:{},NavigateComponent:()=>null,language:"",axiosTexts:{},confirmTexts:{},formValidationTexts:{},homeDashboardTexts:{},formSubmitTexts:{},appSearchTexts:{},customSelectTexts:{},errorBoundaryTexts:{},widgetTexts:{}}),Nu=m.createContext({show:!1,text:"",showConfirm:e=>{},hideConfirm:()=>{}}),Iu=m.createContext({isShown:!1,text:"",hidePrompt:()=>{},showPrompt:()=>{},resolveRef:{current:()=>{}},options:{input:"textarea",type:"text"},setOptions:()=>{}});let Du={data:""},Lu=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||Du,$u=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Fu=/\/\*[^]*?\*\/| +/g,ko=/\n+/g,Qe=(e,t)=>{let r="",n="",o="";for(let i in e){let a=e[i];i[0]=="@"?i[1]=="i"?r=i+" "+a+";":n+=i[1]=="f"?Qe(a,i):i+"{"+Qe(a,i[1]=="k"?"":t)+"}":typeof a=="object"?n+=Qe(a,t?t.replace(/([^,])+/g,s=>i.replace(/(^:.*)|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,s):s?s+" "+c:c)):i):a!=null&&(i=/^--/.test(i)?i:i.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=Qe.p?Qe.p(i,a):i+":"+a+";")}return r+(t&&o?t+"{"+o+"}":o)+n},ze={},zi=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+zi(e[r]);return t}return e},Uu=(e,t,r,n,o)=>{let i=zi(e),a=ze[i]||(ze[i]=(c=>{let l=0,u=11;for(;l<c.length;)u=101*u+c.charCodeAt(l++)>>>0;return"go"+u})(i));if(!ze[a]){let c=i!==e?e:(l=>{let u,f,y=[{}];for(;u=$u.exec(l.replace(Fu,""));)u[4]?y.shift():u[3]?(f=u[3].replace(ko," ").trim(),y.unshift(y[0][f]=y[0][f]||{})):y[0][u[1]]=u[2].replace(ko," ").trim();return y[0]})(e);ze[a]=Qe(o?{["@keyframes "+a]:c}:c,r?"":"."+a)}let s=r&&ze.g?ze.g:null;return r&&(ze.g=ze[a]),((c,l,u,f)=>{f?l.data=l.data.replace(f,c):l.data.indexOf(c)===-1&&(l.data=u?c+l.data:l.data+c)})(ze[a],t,n,s),a},Bu=(e,t,r)=>e.reduce((n,o,i)=>{let a=t[i];if(a&&a.call){let s=a(r),c=s&&s.props&&s.props.className||/^go/.test(s)&&s;a=c?"."+c:s&&typeof s=="object"?s.props?"":Qe(s,""):s===!1?"":s}return n+o+(a??"")},"");function Rr(e){let t=this||{},r=e.call?e(t.p):e;return Uu(r.unshift?r.raw?Bu(r,[].slice.call(arguments,1),t.p):r.reduce((n,o)=>Object.assign(n,o&&o.call?o(t.p):o),{}):r,Lu(t.target),t.g,t.o,t.k)}let Hi,fn,dn;Rr.bind({g:1});let We=Rr.bind({k:1});function zu(e,t,r,n){Qe.p=t,Hi=e,fn=r,dn=n}function it(e,t){let r=this||{};return function(){let n=arguments;function o(i,a){let s=Object.assign({},i),c=s.className||o.className;r.p=Object.assign({theme:fn&&fn()},s),r.o=/ *go\d+/.test(c),s.className=Rr.apply(r,n)+(c?" "+c:"");let l=e;return e[0]&&(l=s.as||e,delete s.as),dn&&l[0]&&dn(s),Hi(l,s)}return o}}var Hu=e=>typeof e=="function",wr=(e,t)=>Hu(e)?e(t):e,Vu=(()=>{let e=0;return()=>(++e).toString()})(),Vi=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),Wu=20,cr=new Map,Yu=1e3,No=e=>{if(cr.has(e))return;let t=setTimeout(()=>{cr.delete(e),ft({type:4,toastId:e})},Yu);cr.set(e,t)},qu=e=>{let t=cr.get(e);t&&clearTimeout(t)},pn=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,Wu)};case 1:return t.toast.id&&qu(t.toast.id),{...e,toasts:e.toasts.map(i=>i.id===t.toast.id?{...i,...t.toast}:i)};case 2:let{toast:r}=t;return e.toasts.find(i=>i.id===r.id)?pn(e,{type:1,toast:r}):pn(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?No(n):e.toasts.forEach(i=>{No(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===n||n===void 0?{...i,visible:!1}:i)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(i=>i.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let o=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(i=>({...i,pauseDuration:i.pauseDuration+o}))}}},ur=[],lr={toasts:[],pausedAt:void 0},ft=e=>{lr=pn(lr,e),ur.forEach(t=>{t(lr)})},Gu={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Ku=(e={})=>{let[t,r]=m.useState(lr);m.useEffect(()=>(ur.push(r),()=>{let o=ur.indexOf(r);o>-1&&ur.splice(o,1)}),[t]);let n=t.toasts.map(o=>{var i,a;return{...e,...e[o.type],...o,duration:o.duration||((i=e[o.type])==null?void 0:i.duration)||(e==null?void 0:e.duration)||Gu[o.type],style:{...e.style,...(a=e[o.type])==null?void 0:a.style,...o.style}}});return{...t,toasts:n}},Ju=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||Vu()}),qt=e=>(t,r)=>{let n=Ju(t,e,r);return ft({type:2,toast:n}),n.id},Pe=(e,t)=>qt("blank")(e,t);Pe.error=qt("error");Pe.success=qt("success");Pe.loading=qt("loading");Pe.custom=qt("custom");Pe.dismiss=e=>{ft({type:3,toastId:e})};Pe.remove=e=>ft({type:4,toastId:e});Pe.promise=(e,t,r)=>{let n=Pe.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(o=>(Pe.success(wr(t.success,o),{id:n,...r,...r==null?void 0:r.success}),o)).catch(o=>{Pe.error(wr(t.error,o),{id:n,...r,...r==null?void 0:r.error})}),e};var Xu=(e,t)=>{ft({type:1,toast:{id:e,height:t}})},Zu=()=>{ft({type:5,time:Date.now()})},Qu=e=>{let{toasts:t,pausedAt:r}=Ku(e);m.useEffect(()=>{if(r)return;let i=Date.now(),a=t.map(s=>{if(s.duration===1/0)return;let c=(s.duration||0)+s.pauseDuration-(i-s.createdAt);if(c<0){s.visible&&Pe.dismiss(s.id);return}return setTimeout(()=>Pe.dismiss(s.id),c)});return()=>{a.forEach(s=>s&&clearTimeout(s))}},[t,r]);let n=m.useCallback(()=>{r&&ft({type:6,time:Date.now()})},[r]),o=m.useCallback((i,a)=>{let{reverseOrder:s=!1,gutter:c=8,defaultPosition:l}=a||{},u=t.filter(v=>(v.position||l)===(i.position||l)&&v.height),f=u.findIndex(v=>v.id===i.id),y=u.filter((v,h)=>h<f&&v.visible).length;return u.filter(v=>v.visible).slice(...s?[y+1]:[0,y]).reduce((v,h)=>v+(h.height||0)+c,0)},[t]);return{toasts:t,handlers:{updateHeight:Xu,startPause:Zu,endPause:n,calculateOffset:o}}},el=We`
54
54
  from {
55
55
  transform: scale(0) rotate(45deg);
56
56
  opacity: 0;
@@ -250,4 +250,4 @@ to {
250
250
  *
251
251
  * This source code is licensed under the MIT license found in the
252
252
  * LICENSE file in the root directory of this source tree.
253
- */var Go;function ud(){return Go||(Go=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function R(b){return typeof b=="string"||typeof b=="function"||b===n||b===l||b===i||b===o||b===f||b===y||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===v||b.$$typeof===a||b.$$typeof===s||b.$$typeof===u||b.$$typeof===E||b.$$typeof===S||b.$$typeof===T||b.$$typeof===g)}function C(b){if(typeof b=="object"&&b!==null){var ge=b.$$typeof;switch(ge){case t:var _e=b.type;switch(_e){case c:case l:case n:case i:case o:case f:return _e;default:var Me=_e&&_e.$$typeof;switch(Me){case s:case u:case h:case v:case a:return Me;default:return ge}}case r:return ge}}}var p=c,A=l,k=s,J=a,Z=t,K=u,ie=n,le=h,V=v,X=r,Q=i,ae=o,ue=f,xe=!1;function we(b){return xe||(xe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(b)||C(b)===c}function O(b){return C(b)===l}function _(b){return C(b)===s}function L(b){return C(b)===a}function $(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function j(b){return C(b)===u}function U(b){return C(b)===n}function N(b){return C(b)===h}function I(b){return C(b)===v}function D(b){return C(b)===r}function H(b){return C(b)===i}function B(b){return C(b)===o}function fe(b){return C(b)===f}oe.AsyncMode=p,oe.ConcurrentMode=A,oe.ContextConsumer=k,oe.ContextProvider=J,oe.Element=Z,oe.ForwardRef=K,oe.Fragment=ie,oe.Lazy=le,oe.Memo=V,oe.Portal=X,oe.Profiler=Q,oe.StrictMode=ae,oe.Suspense=ue,oe.isAsyncMode=we,oe.isConcurrentMode=O,oe.isContextConsumer=_,oe.isContextProvider=L,oe.isElement=$,oe.isForwardRef=j,oe.isFragment=U,oe.isLazy=N,oe.isMemo=I,oe.isPortal=D,oe.isProfiler=H,oe.isStrictMode=B,oe.isSuspense=fe,oe.isValidElementType=R,oe.typeOf=C}()),oe}process.env.NODE_ENV==="production"?bn.exports=cd():bn.exports=ud();var ld=bn.exports,ha=ld,fd={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},dd={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ma={};ma[ha.ForwardRef]=fd;ma[ha.Memo]=dd;function pd(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function zn(e){const t=m.useContext(sd);if(!t)throw new Error("Missing <CookiesProvider>");const[r,n]=m.useState(()=>t.getAll({doNotUpdate:!0}));pd()&&m.useLayoutEffect(()=>{function s(){const c=t.getAll({doNotUpdate:!0});hd(e||null,c,r)&&n(c)}return t.addChangeListener(s),()=>{t.removeChangeListener(s)}},[t,r]);const o=m.useMemo(()=>t.set.bind(t),[t]),i=m.useMemo(()=>t.remove.bind(t),[t]),a=m.useMemo(()=>t.update.bind(t),[t]);return[r,o,i,a]}function hd(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}const md=()=>{const{axiosInstance:e,cookieDomain:t}=m.useContext(En),[,r,n]=zn(["Authorization"]),o=m.useCallback(()=>localStorage.getItem("token")??null,[]),i=m.useCallback(()=>{const c=o();return c!==null&&c.length>0},[o]),a=m.useCallback(async(c,l)=>(e.interceptors.request.clear(),e.post("/user/login",{kid:c,password:l}).then(u=>(localStorage.setItem("token",u.data),r("Authorization",u.data,{path:"/",secure:!0,sameSite:"none",domain:t,expires:qa(new Date(Date.now()),24)}),u.data)).catch(u=>(console.log(u),null))),[e,r,t]),s=m.useCallback(()=>{localStorage.removeItem("token"),localStorage.removeItem("user"),n("Authorization")},[n]);return{isAuthenticated:i,login:a,logout:s,getToken:o}};/*! @azure/msal-react v2.0.16 2024-05-07 */const vd={instance:Nl,inProgress:Pr.None,accounts:[],logger:new Or({})},Hn=Y.createContext(vd);Hn.Consumer;/*! @azure/msal-react v2.0.16 2024-05-07 */function gd(e,t){return typeof e=="function"?e(t):e}function yd(e,t){if(e.length!==t.length)return!1;const r=[...t];return e.every(n=>{const o=r.shift();return!n||!o?!1:n.homeAccountId===o.homeAccountId&&n.localAccountId===o.localAccountId&&n.username===o.username})}function va(e,t){return e.length>0&&(t.homeAccountId||t.localAccountId||t.username)&&e.filter(n=>!(t.username&&t.username.toLowerCase()!==n.username.toLowerCase()||t.homeAccountId&&t.homeAccountId.toLowerCase()!==n.homeAccountId.toLowerCase()||t.localAccountId&&t.localAccountId.toLowerCase()!==n.localAccountId.toLowerCase()))[0]||null}/*! @azure/msal-react v2.0.16 2024-05-07 */const Vn=()=>m.useContext(Hn);/*! @azure/msal-react v2.0.16 2024-05-07 */function bd(e,t){return t&&(t.username||t.homeAccountId||t.localAccountId)?!!va(e,t):e.length>0}function ga(e){const{accounts:t,inProgress:r}=Vn();return m.useMemo(()=>r===Pr.Startup?!1:bd(t,e),[t,r,e])}const Ed=()=>{const[,,e]=zn(["Authorization"]),{msalScopes:t}=m.useContext(Wn),{instance:r,inProgress:n}=Vn(),o=ga(),i=m.useCallback(async()=>r.acquireTokenSilent({scopes:t}).then(u=>u.accessToken).catch(()=>null),[r,t]),a=m.useCallback(()=>o,[o]),s=m.useCallback(()=>!a()&&n!==Pr.None,[a,n]),c=m.useCallback(async()=>r.loginRedirect({scopes:t}).then(()=>"").catch(()=>null),[r,t]),l=m.useCallback(()=>{r.logout(),localStorage.removeItem("user"),e("Authorization")},[e,r]);return{isAuthenticated:a,isAuthenticating:s,login:c,logout:l,getToken:i}},ya=()=>{const{useMsal:e}=m.useContext(Wn),t=md(),r=Ed();return{isAuthenticated:e?r.isAuthenticated:t.isAuthenticated,isAuthenticating:e?r.isAuthenticating:()=>!1,getToken:e?r.getToken:t.getToken,login:e?r.login:t.login,logout:e?r.logout:t.logout}};let ir;const wd=new Uint8Array(16);function Od(){if(!ir&&(ir=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!ir))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ir(wd)}const Ee=[];for(let e=0;e<256;++e)Ee.push((e+256).toString(16).slice(1));function xd(e,t=0){return Ee[e[t+0]]+Ee[e[t+1]]+Ee[e[t+2]]+Ee[e[t+3]]+"-"+Ee[e[t+4]]+Ee[e[t+5]]+"-"+Ee[e[t+6]]+Ee[e[t+7]]+"-"+Ee[e[t+8]]+Ee[e[t+9]]+"-"+Ee[e[t+10]]+Ee[e[t+11]]+Ee[e[t+12]]+Ee[e[t+13]]+Ee[e[t+14]]+Ee[e[t+15]]}const Td=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ko={randomUUID:Td};function Sd(e,t,r){if(Ko.randomUUID&&!t&&!e)return Ko.randomUUID();e=e||{};const n=e.random||(e.rng||Od)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,xd(n)}const Cd="_toast_1s57i_1",Nt={toast:Cd},Rd=e=>{switch(e){case"success":return 5e3;case"info":return 5e3;case"danger":return 1e4;case"warning":return 1e4;case"prompt":return 1e4;default:return 5e3}},ba=()=>({addNotification:(t,r)=>{const n=Sd(),o=Lt.truncateText(t),i=Rd(r),a=M.jsxs(M.Fragment,{children:[o,M.jsx(ri,{onClick:()=>yt.dismiss(n),type:"button",style:{position:"absolute",fontSize:"12px",top:"calc(50% - 6px)",right:"8px"}})]});switch(r){case"success":{yt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(gs,{size:12}),className:ce("luminus-toast-success rounded shadow bg-success",Nt.toast)});break}case"danger":{yt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(ls,{size:12}),className:ce("luminus-toast-danger rounded shadow bg-danger",Nt.toast)});break}case"warning":{yt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(is,{size:12}),className:ce("luminus-toast-warning rounded shadow bg-warning",Nt.toast)});break}case"info":{yt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(cs,{size:12}),className:ce("luminus-toast-info rounded shadow bg-info",Nt.toast)});break}case"prompt":{yt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(us,{size:12}),className:ce("luminus-toast-prompt rounded shadow bg-light",Nt.toast)});break}}}}),_d=de.CancelToken,Pd=e=>{const{authenticated:t=!0,differentBaseUrl:r,silent:n=!1}={...e},{axiosInstance:o,language:i,axiosTexts:a}=m.useContext(En),{addNotification:s}=ba(),{getToken:c}=ya();return m.useEffect(()=>{r&&(o.defaults.baseURL=r),o.interceptors.request.clear(),o.interceptors.response.clear();const l=o.interceptors.request.use(async f=>{var y,v,h;if(t&&!f.headers.Authorization){const g=await c();if(!g)return Promise.reject(new Error("No bearer token"));f.headers.Authorization=`Bearer ${g}`}return(y=f.url)!=null&&y.includes("culture=")?f.url=(v=f.url)==null?void 0:v.replace(/culture=[a-z]{2}/,`culture=${i}`):f.url=`${f.url}${(h=f.url)!=null&&h.includes("?")?"&":"?"}culture=${i}`,f},f=>Promise.reject(f)),u=o.interceptors.response.use(f=>f,f=>{var h;if(console.log(f),de.isCancel(f))return Promise.reject(f);const y=Lt.extractErrorsFromResponse(f);if(y.length>0){const g=y.find(E=>E.name.toLowerCase()==="others");return g?(!n&&s(g.errors,"danger"),Promise.reject(f)):(!n&&s(a.validationError,"warning"),Promise.reject(f))}const v=Lt.extractPermissionsFromResponse(f);return v!==null?(s(`${a.permissionError}: ${Lt.joinStrings(", ",...v)}`,"danger"),Promise.reject(f)):((h=f.response)==null?void 0:h.status)===403?(!n&&s(a.forbiddenError,"danger"),Promise.reject(f)):f.message&&f.message==="Network Error"?(!n&&s(a.networkError,"danger"),Promise.reject(f)):(de.isCancel(f)||!n&&s(a.unexpectedError,"danger"),Promise.reject(f))});return()=>{o.interceptors.request.eject(l),o.interceptors.response.eject(u)}},[o,s,i,c,t,a,r,n]),o},Wn=m.createContext({useMsal:!1,msalInstance:null,msalScopes:[]}),Ad="_h1_14r4v_1",Md="_h3_14r4v_8",jd="_h6_14r4v_15",kd="_subtitle_14r4v_22",Nd="_body_14r4v_29",Id="_body2_14r4v_36",Dd="_caption_14r4v_43",Ld="_form-label_14r4v_50",Je={h1:Ad,h3:Md,h6:jd,subtitle:kd,body:Nd,body2:Id,caption:Dd,"form-label":"_form-label_14r4v_50",formLabel:Ld},$d=({variant:e,className:t,children:r})=>{switch(e){case"h1":return M.jsx("h1",{className:ce("luminus-text-primary luminus-h1",Je.h1,t),children:r});case"h3":return M.jsx("h3",{className:ce("luminus-text luminus-h3",Je.h3,t),children:r});case"h6":return M.jsx("h6",{className:ce("luminus-text luminus-h6",Je.h6,t),children:r});case"subtitle":return M.jsx("div",{className:ce("luminus-text luminus-subtitle",Je.subtitle,t),children:r});case"body":return M.jsx("div",{className:ce("luminus-text luminus-body",Je.body,t),children:r});case"body2":return M.jsx("div",{className:ce("luminus-text luminus-body2",Je.body2,t),children:r});case"caption":return M.jsx("div",{className:ce("luminus-text-muted luminus-caption",Je.caption,t),children:r});case"form-label":return M.jsx("div",{className:ce("luminus-text luminus-form-label",Je.formLabel,t),children:r});default:return M.jsx(M.Fragment,{children:r})}},Ea=({variant:e,className:t,children:r})=>M.jsx($d,{variant:e,className:t,children:r}),Fd="_button_qhwih_1",Ud={button:Fd},Bd=m.forwardRef(({color:e="primary",icon:t=M.jsx(bs,{size:21}),text:r,onClick:n,className:o,children:i,...a},s)=>M.jsxs("button",{type:"button",ref:s,onClick:c=>{c.preventDefault(),n(c)},"aria-label":"dropdown toggle",className:ce(`btn luminus-context-button text-${e} ${o??""}`,Ud.button),...a,children:[t,r]})),zd="_avatar-icon_1axl6_1",Hd={"avatar-icon":"_avatar-icon_1axl6_1",avatarIcon:zd},wa=({name:e,fontSize:t,size:r})=>{const n=o=>{let i=0,a;for(a=0;a<o.length;a+=1)i=o.charCodeAt(a)+((i<<5)-i);let s="#";for(a=0;a<3;a+=1){const c=i>>a*8&255;s+=`00${c.toString(16)}`.slice(-2)}return s};return M.jsx(Bi,{placement:"bottom",overlay:M.jsx(Dn,{children:e}),children:M.jsx("div",{className:ce("luminus-avatar-icon",Hd.avatarIcon),style:{backgroundColor:n(e),fontSize:t??void 0,minHeight:r??void 0,height:r??void 0,maxHeight:r??void 0,minWidth:r??void 0,width:r??void 0,maxWidth:r??void 0},children:M.jsx("div",{children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`})})})},Vd=m.forwardRef(({userName:e,onClick:t,children:r},n)=>M.jsxs("button",{type:"button",ref:n,onClick:o=>{o.preventDefault(),t(o)},"aria-label":"User avatar toggle",className:"m-0 p-0",style:{backgroundColor:"transparent",border:"none",cursor:"pointer"},children:[M.jsx(wa,{name:e}),r]})),Wd="_floating-label_1gef3_1",Yd="_without-label_1gef3_21",Jo={"floating-label":"_floating-label_1gef3_1",floatingLabel:Wd,"without-label":"_without-label_1gef3_21",withoutLabel:Yd},Oa=m.forwardRef(({hidden:e,children:t,className:r,isInvalid:n,isForRadioInput:o,inputContainerClassName:i,isForCheckInput:a,...s},c)=>a?M.jsx(M.Fragment,{children:t}):M.jsx(Nn,{ref:c,label:s.withoutLabel?"":s.label,hidden:e??!1,className:ce(`luminus-floating-label ${r??""}`,Jo.floatingLabel,{[i??""]:i},{[Jo.withoutLabel]:s.withoutLabel}),children:t}));Oa.displayName="FloatingLabelInput";const qd="_row-label-input_b3y7c_1",Gd="_label_b3y7c_4",Kd="_input-container_b3y7c_9",Jd="_invalid-feedback_b3y7c_100",Xd="_keep-check-label_b3y7c_128",Zd="_is-invalid_b3y7c_151",It={"row-label-input":"_row-label-input_b3y7c_1",rowLabelInput:qd,label:Gd,"input-container":"_input-container_b3y7c_9",inputContainer:Kd,"invalid-feedback":"_invalid-feedback_b3y7c_100",invalidFeedback:Jd,"keep-check-label":"_keep-check-label_b3y7c_128",keepCheckLabel:Xd,"is-invalid":"_is-invalid_b3y7c_151",isInvalid:Zd},xa=m.forwardRef(({hidden:e,children:t,className:r,isInvalid:n,isForRadioInput:o,isForTextAreaInput:i,inputContainerClassName:a,...s},c)=>M.jsxs("div",{ref:c,className:ce("luminus-row-label row gx-0 gy-0",{"is-invalid":n},{[It.isInvalid]:n},{[r??""]:r},{"d-none":e},It.rowLabelInput),children:[!s.withoutLabel&&M.jsx("label",{className:ce("label col-6",{"col-12":i},It.label),children:M.jsx(Ea,{variant:"form-label",className:n?"text-danger":"",children:s.label})}),M.jsx("div",{className:ce("input-container",It.inputContainer,{"col-6":!s.withoutLabel&&!i},{"col-12":s.withoutLabel||i},{[It.keepCheckLabel]:o},{[a??""]:a}),children:t})]}));xa.displayName="RowLabelInput";const Ta=m.forwardRef(({children:e,className:t,hidden:r},n)=>M.jsx("div",{ref:n,className:`${r?"d-none":""} ${t}`,children:e}));Ta.displayName="NoInputContainer";exports.AuthContext=Wn;exports.AuthError=_r;exports.AvatarIcon=wa;exports.CacheAccountType=_l;exports.ConfirmContext=ws;exports.Constants=me;exports.ENTERED=Ze;exports.ENTERING=He;exports.EXITED=Xe;exports.EXITING=mr;exports.Fade=yr;exports.FloatingLabel=Nn;exports.FloatingLabelInput=Oa;exports.FormContext=Mi;exports.FormGroup=kn;exports.GenIcon=pe;exports.Ie=Sl;exports.InteractionStatus=Pr;exports.LoadingContext=Cl;exports.LuminusComponentsContext=En;exports.MdCheck=ns;exports.MdCircle=rs;exports.MdClear=ts;exports.MdOutlineAddCircleOutline=fs;exports.MdOutlineArrowOutward=os;exports.MdOutlineCameraAlt=ms;exports.MdOutlineChevronRight=ys;exports.MdOutlineClose=ri;exports.MdOutlineDelete=as;exports.MdOutlineEdit=vs;exports.MdOutlineExpand=ss;exports.MdOutlineFileUpload=ds;exports.MdOutlineKeyboardArrowLeft=ps;exports.MdOutlineKeyboardArrowRight=hs;exports.MdOutlineStar=Es;exports.MsalContext=Hn;exports.NoInputContainer=Ta;exports.OIDC_DEFAULT_SCOPES=Wi;exports.OverlayTrigger=Bi;exports.Popover=$i;exports.PromptContext=Os;exports.PropTypes=z;exports.RowLabelInput=xa;exports.Separators=Pl;exports.SimpleDropdownToggle=Bd;exports.Tooltip=Dn;exports.TransitionWrapper=pi;exports.Typography=Ea;exports.UserAvatarToggle=Vd;exports.UserContext=Rl;exports.WrapperSKU=Al;exports.accountArraysAreEqual=yd;exports.addEventListener=ci;exports.canUseDOM=Sr;exports.cancelToken=_d;exports.classNames=ce;exports.constructFrom=Qo;exports.contains=Er;exports.getAccountByIdentifiers=va;exports.getChildrenOrFunction=gd;exports.getDefaultExportFromCjs=xr;exports.hasClass=ln;exports.isEscKey=ji;exports.jsxRuntimeExports=M;exports.listen=et;exports.mergeOptionsWithPopperConfig=_i;exports.ownerDocument=Vt;exports.removeEventListener=ui;exports.renderTransition=ki;exports.style=On;exports.toDate=Zo;exports.transitionEnd=li;exports.transitionEndListener=fi;exports.triggerBrowserReflow=di;exports.useAuth=ya;exports.useAxios=Pd;exports.useBootstrapBreakpoints=Ps;exports.useBootstrapMinBreakpoint=As;exports.useBootstrapPrefix=tt;exports.useCallbackRef=on;exports.useClickOutside=Ri;exports.useCookies=zn;exports.useEventCallback=ut;exports.useIsAuthenticated=ga;exports.useIsRTL=wn;exports.useIsomorphicEffect=gr;exports.useMergedRefs=nt;exports.useMounted=Tn;exports.useMsal=Vn;exports.useNotifications=ba;exports.usePopper=Si;exports.useUncontrolled=Ss;exports.useWaitForDOMRef=un;exports.useWillUnmount=hi;exports.useWindow=Ai;exports.warning=jn;
253
+ */var Go;function ud(){return Go||(Go=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function R(b){return typeof b=="string"||typeof b=="function"||b===n||b===l||b===i||b===o||b===f||b===y||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===v||b.$$typeof===a||b.$$typeof===s||b.$$typeof===u||b.$$typeof===E||b.$$typeof===S||b.$$typeof===T||b.$$typeof===g)}function C(b){if(typeof b=="object"&&b!==null){var ge=b.$$typeof;switch(ge){case t:var _e=b.type;switch(_e){case c:case l:case n:case i:case o:case f:return _e;default:var Me=_e&&_e.$$typeof;switch(Me){case s:case u:case h:case v:case a:return Me;default:return ge}}case r:return ge}}}var p=c,A=l,k=s,J=a,Z=t,K=u,ie=n,le=h,V=v,X=r,Q=i,ae=o,ue=f,xe=!1;function we(b){return xe||(xe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(b)||C(b)===c}function O(b){return C(b)===l}function _(b){return C(b)===s}function L(b){return C(b)===a}function $(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function j(b){return C(b)===u}function U(b){return C(b)===n}function N(b){return C(b)===h}function I(b){return C(b)===v}function D(b){return C(b)===r}function H(b){return C(b)===i}function B(b){return C(b)===o}function fe(b){return C(b)===f}oe.AsyncMode=p,oe.ConcurrentMode=A,oe.ContextConsumer=k,oe.ContextProvider=J,oe.Element=Z,oe.ForwardRef=K,oe.Fragment=ie,oe.Lazy=le,oe.Memo=V,oe.Portal=X,oe.Profiler=Q,oe.StrictMode=ae,oe.Suspense=ue,oe.isAsyncMode=we,oe.isConcurrentMode=O,oe.isContextConsumer=_,oe.isContextProvider=L,oe.isElement=$,oe.isForwardRef=j,oe.isFragment=U,oe.isLazy=N,oe.isMemo=I,oe.isPortal=D,oe.isProfiler=H,oe.isStrictMode=B,oe.isSuspense=fe,oe.isValidElementType=R,oe.typeOf=C}()),oe}process.env.NODE_ENV==="production"?bn.exports=cd():bn.exports=ud();var ld=bn.exports,ha=ld,fd={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},dd={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ma={};ma[ha.ForwardRef]=fd;ma[ha.Memo]=dd;function pd(){return typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"}function zn(e){const t=m.useContext(sd);if(!t)throw new Error("Missing <CookiesProvider>");const[r,n]=m.useState(()=>t.getAll({doNotUpdate:!0}));pd()&&m.useLayoutEffect(()=>{function s(){const c=t.getAll({doNotUpdate:!0});hd(e||null,c,r)&&n(c)}return t.addChangeListener(s),()=>{t.removeChangeListener(s)}},[t,r]);const o=m.useMemo(()=>t.set.bind(t),[t]),i=m.useMemo(()=>t.remove.bind(t),[t]),a=m.useMemo(()=>t.update.bind(t),[t]);return[r,o,i,a]}function hd(e,t,r){if(!e)return!0;for(let n of e)if(t[n]!==r[n])return!0;return!1}const md=()=>{const{axiosInstance:e,cookieDomain:t}=m.useContext(Dn),[,r,n]=zn(["Authorization"]),o=m.useCallback(()=>localStorage.getItem("token")??null,[]),i=m.useCallback(()=>{const c=o();return c!==null&&c.length>0},[o]),a=m.useCallback(async(c,l)=>(e.interceptors.request.clear(),e.post("/user/login",{kid:c,password:l}).then(u=>(localStorage.setItem("token",u.data),r("Authorization",u.data,{path:"/",secure:!0,sameSite:"none",domain:t,expires:qa(new Date(Date.now()),24)}),u.data)).catch(u=>(console.log(u),null))),[e,r,t]),s=m.useCallback(()=>{localStorage.removeItem("token"),localStorage.removeItem("user"),n("Authorization")},[n]);return{isAuthenticated:i,login:a,logout:s,getToken:o}};/*! @azure/msal-react v2.0.16 2024-05-07 */const vd={instance:Nl,inProgress:Pr.None,accounts:[],logger:new Or({})},Hn=Y.createContext(vd);Hn.Consumer;/*! @azure/msal-react v2.0.16 2024-05-07 */function gd(e,t){return typeof e=="function"?e(t):e}function yd(e,t){if(e.length!==t.length)return!1;const r=[...t];return e.every(n=>{const o=r.shift();return!n||!o?!1:n.homeAccountId===o.homeAccountId&&n.localAccountId===o.localAccountId&&n.username===o.username})}function va(e,t){return e.length>0&&(t.homeAccountId||t.localAccountId||t.username)&&e.filter(n=>!(t.username&&t.username.toLowerCase()!==n.username.toLowerCase()||t.homeAccountId&&t.homeAccountId.toLowerCase()!==n.homeAccountId.toLowerCase()||t.localAccountId&&t.localAccountId.toLowerCase()!==n.localAccountId.toLowerCase()))[0]||null}/*! @azure/msal-react v2.0.16 2024-05-07 */const Vn=()=>m.useContext(Hn);/*! @azure/msal-react v2.0.16 2024-05-07 */function bd(e,t){return t&&(t.username||t.homeAccountId||t.localAccountId)?!!va(e,t):e.length>0}function ga(e){const{accounts:t,inProgress:r}=Vn();return m.useMemo(()=>r===Pr.Startup?!1:bd(t,e),[t,r,e])}const Ed=()=>{const[,,e]=zn(["Authorization"]),{msalScopes:t}=m.useContext(Wn),{instance:r,inProgress:n}=Vn(),o=ga(),i=m.useCallback(async()=>r.acquireTokenSilent({scopes:t}).then(u=>u.accessToken).catch(()=>null),[r,t]),a=m.useCallback(()=>o,[o]),s=m.useCallback(()=>!a()&&n!==Pr.None,[a,n]),c=m.useCallback(async()=>r.loginRedirect({scopes:t}).then(()=>"").catch(()=>null),[r,t]),l=m.useCallback(()=>{r.logout(),localStorage.removeItem("user"),e("Authorization")},[e,r]);return{isAuthenticated:a,isAuthenticating:s,login:c,logout:l,getToken:i}},ya=()=>{const{useMsal:e}=m.useContext(Wn),t=md(),r=Ed();return{isAuthenticated:e?r.isAuthenticated:t.isAuthenticated,isAuthenticating:e?r.isAuthenticating:()=>!1,getToken:e?r.getToken:t.getToken,login:e?r.login:t.login,logout:e?r.logout:t.logout}};let ir;const wd=new Uint8Array(16);function Od(){if(!ir&&(ir=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!ir))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ir(wd)}const Ee=[];for(let e=0;e<256;++e)Ee.push((e+256).toString(16).slice(1));function xd(e,t=0){return Ee[e[t+0]]+Ee[e[t+1]]+Ee[e[t+2]]+Ee[e[t+3]]+"-"+Ee[e[t+4]]+Ee[e[t+5]]+"-"+Ee[e[t+6]]+Ee[e[t+7]]+"-"+Ee[e[t+8]]+Ee[e[t+9]]+"-"+Ee[e[t+10]]+Ee[e[t+11]]+Ee[e[t+12]]+Ee[e[t+13]]+Ee[e[t+14]]+Ee[e[t+15]]}const Td=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ko={randomUUID:Td};function Sd(e,t,r){if(Ko.randomUUID&&!t&&!e)return Ko.randomUUID();e=e||{};const n=e.random||(e.rng||Od)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,xd(n)}const Cd="_toast_1s57i_1",Nt={toast:Cd},Rd=e=>{switch(e){case"success":return 5e3;case"info":return 5e3;case"danger":return 1e4;case"warning":return 1e4;case"prompt":return 1e4;default:return 5e3}},ba=()=>({addNotification:(t,r)=>{const n=Sd(),o=Lt.truncateText(t),i=Rd(r),a=M.jsxs(M.Fragment,{children:[o,M.jsx(Bi,{onClick:()=>yt.dismiss(n),type:"button",style:{position:"absolute",fontSize:"12px",top:"calc(50% - 6px)",right:"8px"}})]});switch(r){case"success":{yt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(Au,{size:12}),className:ce("luminus-toast-success rounded shadow bg-success",Nt.toast)});break}case"danger":{yt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(xu,{size:12}),className:ce("luminus-toast-danger rounded shadow bg-danger",Nt.toast)});break}case"warning":{yt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(yu,{size:12}),className:ce("luminus-toast-warning rounded shadow bg-warning",Nt.toast)});break}case"info":{yt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(wu,{size:12}),className:ce("luminus-toast-info rounded shadow bg-info",Nt.toast)});break}case"prompt":{yt(a,{id:n,duration:i,position:"top-center",icon:M.jsx(Ou,{size:12}),className:ce("luminus-toast-prompt rounded shadow bg-light",Nt.toast)});break}}}}),_d=de.CancelToken,Pd=e=>{const{authenticated:t=!0,differentBaseUrl:r,silent:n=!1}={...e},{axiosInstance:o,language:i,axiosTexts:a}=m.useContext(Dn),{addNotification:s}=ba(),{getToken:c}=ya();return m.useEffect(()=>{r&&(o.defaults.baseURL=r),o.interceptors.request.clear(),o.interceptors.response.clear();const l=o.interceptors.request.use(async f=>{var y,v,h;if(t&&!f.headers.Authorization){const g=await c();if(!g)return Promise.reject(new Error("No bearer token"));f.headers.Authorization=`Bearer ${g}`}return(y=f.url)!=null&&y.includes("culture=")?f.url=(v=f.url)==null?void 0:v.replace(/culture=[a-z]{2}/,`culture=${i}`):f.url=`${f.url}${(h=f.url)!=null&&h.includes("?")?"&":"?"}culture=${i}`,f},f=>Promise.reject(f)),u=o.interceptors.response.use(f=>f,f=>{var h;if(console.log(f),de.isCancel(f))return Promise.reject(f);const y=Lt.extractErrorsFromResponse(f);if(y.length>0){const g=y.find(E=>E.name.toLowerCase()==="others");return g?(!n&&s(g.errors,"danger"),Promise.reject(f)):(!n&&s(a.validationError,"warning"),Promise.reject(f))}const v=Lt.extractPermissionsFromResponse(f);return v!==null?(s(`${a.permissionError}: ${Lt.joinStrings(", ",...v)}`,"danger"),Promise.reject(f)):((h=f.response)==null?void 0:h.status)===403?(!n&&s(a.forbiddenError,"danger"),Promise.reject(f)):f.message&&f.message==="Network Error"?(!n&&s(a.networkError,"danger"),Promise.reject(f)):(de.isCancel(f)||!n&&s(a.unexpectedError,"danger"),Promise.reject(f))});return()=>{o.interceptors.request.eject(l),o.interceptors.response.eject(u)}},[o,s,i,c,t,a,r,n]),o},Wn=m.createContext({useMsal:!1,msalInstance:null,msalScopes:[]}),Ad="_h1_14r4v_1",Md="_h3_14r4v_8",jd="_h6_14r4v_15",kd="_subtitle_14r4v_22",Nd="_body_14r4v_29",Id="_body2_14r4v_36",Dd="_caption_14r4v_43",Ld="_form-label_14r4v_50",Je={h1:Ad,h3:Md,h6:jd,subtitle:kd,body:Nd,body2:Id,caption:Dd,"form-label":"_form-label_14r4v_50",formLabel:Ld},$d=({variant:e,className:t,children:r})=>{switch(e){case"h1":return M.jsx("h1",{className:ce("luminus-text-primary luminus-h1",Je.h1,t),children:r});case"h3":return M.jsx("h3",{className:ce("luminus-text luminus-h3",Je.h3,t),children:r});case"h6":return M.jsx("h6",{className:ce("luminus-text luminus-h6",Je.h6,t),children:r});case"subtitle":return M.jsx("div",{className:ce("luminus-text luminus-subtitle",Je.subtitle,t),children:r});case"body":return M.jsx("div",{className:ce("luminus-text luminus-body",Je.body,t),children:r});case"body2":return M.jsx("div",{className:ce("luminus-text luminus-body2",Je.body2,t),children:r});case"caption":return M.jsx("div",{className:ce("luminus-text-muted luminus-caption",Je.caption,t),children:r});case"form-label":return M.jsx("div",{className:ce("luminus-text luminus-form-label",Je.formLabel,t),children:r});default:return M.jsx(M.Fragment,{children:r})}},Ea=({variant:e,className:t,children:r})=>M.jsx($d,{variant:e,className:t,children:r}),Fd="_button_qhwih_1",Ud={button:Fd},Bd=m.forwardRef(({color:e="primary",icon:t=M.jsx(ju,{size:21}),text:r,onClick:n,className:o,children:i,...a},s)=>M.jsxs("button",{type:"button",ref:s,onClick:c=>{c.preventDefault(),n(c)},"aria-label":"dropdown toggle",className:ce(`btn luminus-context-button text-${e} ${o??""}`,Ud.button),...a,children:[t,r]})),zd="_avatar-icon_1axl6_1",Hd={"avatar-icon":"_avatar-icon_1axl6_1",avatarIcon:zd},wa=({name:e,fontSize:t,size:r})=>{const n=o=>{let i=0,a;for(a=0;a<o.length;a+=1)i=o.charCodeAt(a)+((i<<5)-i);let s="#";for(a=0;a<3;a+=1){const c=i>>a*8&255;s+=`00${c.toString(16)}`.slice(-2)}return s};return M.jsx($i,{placement:"bottom",overlay:M.jsx(In,{children:e}),children:M.jsx("div",{className:ce("luminus-avatar-icon",Hd.avatarIcon),style:{backgroundColor:n(e),fontSize:t??void 0,minHeight:r??void 0,height:r??void 0,maxHeight:r??void 0,minWidth:r??void 0,width:r??void 0,maxWidth:r??void 0},children:M.jsx("div",{children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`})})})},Vd=m.forwardRef(({userName:e,onClick:t,children:r},n)=>M.jsxs("button",{type:"button",ref:n,onClick:o=>{o.preventDefault(),t(o)},"aria-label":"User avatar toggle",className:"m-0 p-0",style:{backgroundColor:"transparent",border:"none",cursor:"pointer"},children:[M.jsx(wa,{name:e}),r]})),Wd="_floating-label_1gef3_1",Yd="_without-label_1gef3_21",Jo={"floating-label":"_floating-label_1gef3_1",floatingLabel:Wd,"without-label":"_without-label_1gef3_21",withoutLabel:Yd},Oa=m.forwardRef(({hidden:e,children:t,className:r,isInvalid:n,isForRadioInput:o,inputContainerClassName:i,isForCheckInput:a,...s},c)=>a?M.jsx(M.Fragment,{children:t}):M.jsx(kn,{ref:c,label:s.withoutLabel?"":s.label,hidden:e??!1,className:ce(`luminus-floating-label ${r??""}`,Jo.floatingLabel,{[i??""]:i},{[Jo.withoutLabel]:s.withoutLabel}),children:t}));Oa.displayName="FloatingLabelInput";const qd="_row-label-input_rc09e_1",Gd="_label_rc09e_4",Kd="_input-container_rc09e_9",Jd="_invalid-feedback_rc09e_100",Xd="_keep-check-label_rc09e_128",Zd="_is-invalid_rc09e_156",It={"row-label-input":"_row-label-input_rc09e_1",rowLabelInput:qd,label:Gd,"input-container":"_input-container_rc09e_9",inputContainer:Kd,"invalid-feedback":"_invalid-feedback_rc09e_100",invalidFeedback:Jd,"keep-check-label":"_keep-check-label_rc09e_128",keepCheckLabel:Xd,"is-invalid":"_is-invalid_rc09e_156",isInvalid:Zd},xa=m.forwardRef(({hidden:e,children:t,className:r,isInvalid:n,isForRadioInput:o,isForTextAreaInput:i,inputContainerClassName:a,...s},c)=>M.jsxs("div",{ref:c,className:ce("luminus-row-label row gx-0 gy-0",{"is-invalid":n},{[It.isInvalid]:n},{[r??""]:r},{"d-none":e},It.rowLabelInput),children:[!s.withoutLabel&&M.jsx("label",{className:ce("label col-6",{"col-12":i},It.label),children:M.jsx(Ea,{variant:"form-label",className:n?"text-danger":"",children:s.label})}),M.jsx("div",{className:ce("input-container",It.inputContainer,{"col-6":!s.withoutLabel&&!i},{"col-12":s.withoutLabel||i},{[It.keepCheckLabel]:o},{[a??""]:a}),children:t})]}));xa.displayName="RowLabelInput";const Ta=m.forwardRef(({children:e,className:t,hidden:r},n)=>M.jsx("div",{ref:n,className:`${r?"d-none":""} ${t}`,children:e}));Ta.displayName="NoInputContainer";exports.AuthContext=Wn;exports.AuthError=_r;exports.AvatarIcon=wa;exports.CacheAccountType=_l;exports.ConfirmContext=Nu;exports.Constants=me;exports.ENTERED=Ze;exports.ENTERING=He;exports.EXITED=Xe;exports.EXITING=pr;exports.Fade=vr;exports.FloatingLabel=kn;exports.FloatingLabelInput=Oa;exports.FormContext=_i;exports.FormGroup=jn;exports.GenIcon=pe;exports.Ie=Sl;exports.InteractionStatus=Pr;exports.LoadingContext=Cl;exports.LuminusComponentsContext=Dn;exports.MdCheck=vu;exports.MdCircle=mu;exports.MdClear=hu;exports.MdOutlineAddCircleOutline=Tu;exports.MdOutlineArrowOutward=gu;exports.MdOutlineCameraAlt=_u;exports.MdOutlineChevronRight=Mu;exports.MdOutlineClose=Bi;exports.MdOutlineDelete=bu;exports.MdOutlineEdit=Pu;exports.MdOutlineExpand=Eu;exports.MdOutlineFileUpload=Su;exports.MdOutlineKeyboardArrowLeft=Cu;exports.MdOutlineKeyboardArrowRight=Ru;exports.MdOutlineStar=ku;exports.MsalContext=Hn;exports.NoInputContainer=Ta;exports.OIDC_DEFAULT_SCOPES=Wi;exports.OverlayTrigger=$i;exports.Popover=Ii;exports.PromptContext=Iu;exports.PropTypes=z;exports.RowLabelInput=xa;exports.Separators=Pl;exports.SimpleDropdownToggle=Bd;exports.Tooltip=In;exports.TransitionWrapper=li;exports.Typography=Ea;exports.UserAvatarToggle=Vd;exports.UserContext=Rl;exports.WrapperSKU=Al;exports.accountArraysAreEqual=yd;exports.addEventListener=ii;exports.canUseDOM=Sr;exports.cancelToken=_d;exports.classNames=ce;exports.constructFrom=Qo;exports.contains=yr;exports.getAccountByIdentifiers=va;exports.getChildrenOrFunction=gd;exports.getDefaultExportFromCjs=xr;exports.hasClass=ln;exports.isEscKey=Pi;exports.jsxRuntimeExports=M;exports.listen=et;exports.mergeOptionsWithPopperConfig=Si;exports.ownerDocument=Vt;exports.removeEventListener=ai;exports.renderTransition=Ai;exports.style=wn;exports.toDate=Zo;exports.transitionEnd=si;exports.transitionEndListener=ci;exports.triggerBrowserReflow=ui;exports.useAuth=ya;exports.useAxios=Pd;exports.useBootstrapBreakpoints=es;exports.useBootstrapMinBreakpoint=ts;exports.useBootstrapPrefix=tt;exports.useCallbackRef=on;exports.useClickOutside=Ti;exports.useCookies=zn;exports.useEventCallback=ut;exports.useIsAuthenticated=ga;exports.useIsRTL=En;exports.useIsomorphicEffect=mr;exports.useMergedRefs=nt;exports.useMounted=xn;exports.useMsal=Vn;exports.useNotifications=ba;exports.usePopper=Oi;exports.useUncontrolled=Ja;exports.useWaitForDOMRef=un;exports.useWillUnmount=fi;exports.useWindow=Ri;exports.warning=Mn;
@@ -1,4 +1,4 @@
1
- import { j as r, c as d, P as D, A as tt, u as w, x as nt, at as _e, au as Be, s as q, r as Le, av as ot, aw as st, i as v, ax as Ae, ay as Me, az as De, aA as at, aB as ke, aC as rt, n as it, w as lt, z as dt, aD as Ie, F as $e, v as ct, aE as ut, Q as mt } from "./NoInputContainer-DmujYLRc.js";
1
+ import { j as r, c as d, P as D, A as tt, u as w, x as nt, at as _e, au as Be, s as q, r as Le, av as ot, aw as st, i as v, ax as Ae, ay as Me, az as De, aA as at, aB as ke, aC as rt, n as it, w as lt, z as dt, aD as Ie, F as $e, v as ct, aE as ut, Q as mt } from "./NoInputContainer-BCTMX8k7.js";
2
2
  import * as u from "react";
3
3
  import { useRef as R, useEffect as Te, useContext as ve, forwardRef as ft, useState as ye, useImperativeHandle as gt, useCallback as Ce, useMemo as ht } from "react";
4
4
  import pt from "react-dom";