@articles-media/articles-dev-box 1.0.15 → 1.0.17

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.
Files changed (39) hide show
  1. package/README.md +4 -0
  2. package/dist/Ad.cjs +1 -1
  3. package/dist/Ad.js +2 -2
  4. package/dist/{AdConfirmExitModal-CKkMAvBK.js → AdConfirmExitModal-Bhz-lt9w.js} +1 -1
  5. package/dist/{AdConfirmExitModal-CcSxmXKT.cjs → AdConfirmExitModal-N3Lvhb4y.cjs} +1 -1
  6. package/dist/{AdDetailsModal-k840vrS2.cjs → AdDetailsModal-BMj8DjV0.cjs} +1 -1
  7. package/dist/{AdDetailsModal-Bp5hZm9N.js → AdDetailsModal-DXvfmyKK.js} +1 -1
  8. package/dist/DarkModeHandler.cjs +1 -0
  9. package/dist/DarkModeHandler.js +17 -0
  10. package/dist/ElementChildren-DN3RWY2E.js +51 -0
  11. package/dist/ElementChildren-eAwIENLl.cjs +1 -0
  12. package/dist/FriendsList.cjs +1 -1
  13. package/dist/FriendsList.js +85 -98
  14. package/dist/GameScoreboard.cjs +1 -1
  15. package/dist/GameScoreboard.js +2 -2
  16. package/dist/{GlobalBody-tmIC_GWn.js → GlobalBody-BrrtfBBs.js} +2 -2
  17. package/dist/{GlobalBody-BQ2qC81K.cjs → GlobalBody-weON_TbJ.cjs} +1 -1
  18. package/dist/GlobalBody.cjs +1 -1
  19. package/dist/GlobalBody.js +1 -1
  20. package/dist/{Modal-Wmqy9fOm.cjs → Modal-Bdhkgkwr.cjs} +2 -2
  21. package/dist/{Modal-C9oYRgI1.js → Modal-nux8R77F.js} +320 -306
  22. package/dist/SettingsModal.cjs +1 -0
  23. package/dist/SettingsModal.js +658 -0
  24. package/dist/{StatusModal-CAVxWCUq.js → StatusModal-B086BgSW.js} +2 -2
  25. package/dist/{StatusModal-BlwaI-2B.cjs → StatusModal-CzPyqQQA.cjs} +1 -1
  26. package/dist/ViewUserModal.cjs +1 -1
  27. package/dist/ViewUserModal.js +465 -505
  28. package/dist/{index-DLYx67wi.js → index-C8MeSLnR.js} +935 -825
  29. package/dist/index-DWV8myok.cjs +6 -0
  30. package/dist/index.cjs +1 -1
  31. package/dist/index.js +19 -13
  32. package/dist/useUserDetails.cjs +1 -1
  33. package/dist/useUserDetails.js +1 -1
  34. package/dist/useUserFriends.cjs +1 -0
  35. package/dist/useUserFriends.js +52 -0
  36. package/dist/useUserToken.cjs +1 -1
  37. package/dist/useUserToken.js +1 -1
  38. package/package.json +13 -1
  39. package/dist/index-Ddv_TnxK.cjs +0 -6
@@ -1,2 +1,2 @@
1
- "use strict";const K=require("./index-BlP2-uOi.cjs"),c=require("react"),he=require("react-dom"),k=require("./jsx-runtime-nZSsnGb7.cjs");function Zt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const z=Zt(c),ye=!!(typeof window<"u"&&window.document&&window.document.createElement);var Ue=!1,Ye=!1;try{var Pe={get passive(){return Ue=!0},get once(){return Ye=Ue=!0}};ye&&(window.addEventListener("test",Pe,Pe),window.removeEventListener("test",Pe,!0))}catch{}function Tt(e,t,n,r){if(r&&typeof r!="boolean"&&!Ye){var i=r.once,o=r.capture,a=n;!Ye&&i&&(a=n.__once||function u(p){this.removeEventListener(t,u,o),n.call(this,p)},n.__once=a),e.addEventListener(t,a,Ue?r:o)}e.addEventListener(t,n,r)}function Re(e){return e&&e.ownerDocument||document}function ze(e,t,n,r){var i=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)}var Oe;function it(e){if((!Oe&&Oe!==0||e)&&ye){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),Oe=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Oe}function Qt(){return c.useState(null)}function en(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e},[e]),t}function _e(e){const t=en(e);return c.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const st=e=>!e||typeof e=="function"?e:t=>{e.current=t};function tn(e,t){const n=st(e),r=st(t);return i=>{n&&n(i),r&&r(i)}}function Xe(e,t){return c.useMemo(()=>tn(e,t),[e,t])}function nn(e){const t=c.useRef(e);return t.current=e,t}function Ct(e){const t=nn(e);c.useEffect(()=>()=>t.current(),[])}function rn(e){var t=Re(e);return t&&t.defaultView||window}function on(e,t){return rn(e).getComputedStyle(e,t)}var sn=/([A-Z])/g;function an(e){return e.replace(sn,"-$1").toLowerCase()}var un=/^ms-/;function Se(e){return an(e).replace(un,"-ms-")}var cn=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function ln(e){return!!(e&&cn.test(e))}function fe(e,t){var n="",r="";if(typeof t=="string")return e.style.getPropertyValue(Se(t))||on(e).getPropertyValue(Se(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(Se(i)):ln(i)?r+=i+"("+o+") ":n+=Se(i)+": "+o+";"}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}function be(e,t,n,r){return Tt(e,t,n,r),function(){ze(e,t,n,r)}}function fn(e,t,n,r){if(r===void 0&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,n,r),e.dispatchEvent(i)}}function dn(e){var t=fe(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function pn(e,t,n){n===void 0&&(n=5);var r=!1,i=setTimeout(function(){r||fn(e,"transitionend",!0)},t+n),o=be(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function Ot(e,t,n,r){n==null&&(n=dn(e)||0);var i=pn(e,n,r),o=be(e,"transitionend",t);return function(){i(),o()}}function Ae(e){e===void 0&&(e=Re());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function He(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}function St(){const e=c.useRef(!0),t=c.useRef(()=>e.current);return c.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function mn(e){const t=c.useRef(e);return t.current=e,t}function vn(e){const t=mn(e);c.useEffect(()=>()=>t.current(),[])}function En(e){const t=c.useRef(null);return c.useEffect(()=>{t.current=e}),t.current}function hn(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e},[e]),t}function ie(e){const t=hn(e);return c.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const yn="data-rr-ui-";function gn(e){return`${yn}${e}`}function xn(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const at=gn("modal-open");class Je{constructor({ownerDocument:t,handleContainerOverflow:n=!0,isRTL:r=!1}={}){this.handleContainerOverflow=n,this.isRTL=r,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return xn(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(t){}removeModalAttributes(t){}setContainerStyle(t){const n={overflow:"hidden"},r=this.isRTL?"paddingLeft":"paddingRight",i=this.getElement();t.style={overflow:i.style.overflow,[r]:i.style[r]},t.scrollBarWidth&&(n[r]=`${parseInt(fe(i,r)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(at,""),fe(i,n)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const n=this.getElement();n.removeAttribute(at),Object.assign(n.style,t.style)}add(t){let n=this.modals.indexOf(t);return n!==-1||(n=this.modals.length,this.modals.push(t),this.setModalAttributes(t),n!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),n}remove(t){const n=this.modals.indexOf(t);n!==-1&&(this.modals.splice(n,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const wt=c.createContext(ye?window:void 0);wt.Provider;function Ze(){return c.useContext(wt)}const ke=(e,t)=>ye?e==null?(t||Re()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function jt(e,t){const n=Ze(),[r,i]=c.useState(()=>ke(e,n?.document));if(!r){const o=ke(e);o&&i(o)}return c.useEffect(()=>{},[t,r]),c.useEffect(()=>{const o=ke(e);o!==r&&i(o)},[e,r]),r}const ut=e=>!e||typeof e=="function"?e:t=>{e.current=t};function bn(e,t){const n=ut(e),r=ut(t);return i=>{n&&n(i),r&&r(i)}}function Me(e,t){return c.useMemo(()=>bn(e,t),[e,t])}const Rn=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",Tn=typeof document<"u",ct=Tn||Rn?c.useLayoutEffect:c.useEffect;function _t(e){return e.code==="Escape"||e.keyCode===27}function Cn(){const e=z.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function Te(e){if(!e||typeof e=="function")return null;const{major:t}=Cn();return t>=19?e.props.ref:e.ref}function On({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:i}){const o=c.useRef(null),a=c.useRef(t),u=ie(n);c.useEffect(()=>{t?a.current=!0:u(o.current)},[t,u]);const p=Me(o,Te(e)),m=c.cloneElement(e,{ref:p});return t?m:i||!a.current&&r?null:m}const Sn=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function wn(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function jn(e){let{onEnter:t,onEntering:n,onEntered:r,onExit:i,onExiting:o,onExited:a,addEndListener:u,children:p}=e,m=wn(e,Sn);const v=c.useRef(null),y=Me(v,Te(p)),T=A=>l=>{A&&v.current&&A(v.current,l)},_=c.useCallback(T(t),[t]),D=c.useCallback(T(n),[n]),j=c.useCallback(T(r),[r]),$=c.useCallback(T(i),[i]),F=c.useCallback(T(o),[o]),V=c.useCallback(T(a),[a]),L=c.useCallback(T(u),[u]);return Object.assign({},m,{nodeRef:v},t&&{onEnter:_},n&&{onEntering:D},r&&{onEntered:j},i&&{onExit:$},o&&{onExiting:F},a&&{onExited:V},u&&{addEndListener:L},{children:typeof p=="function"?(A,l)=>p(A,Object.assign({},l,{ref:y})):c.cloneElement(p,{ref:y})})}const _n=["component"];function Mn(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const Nn=z.forwardRef((e,t)=>{let{component:n}=e,r=Mn(e,_n);const i=jn(r);return k.jsxRuntimeExports.jsx(n,Object.assign({ref:t},i))});function Pn({in:e,onTransition:t}){const n=c.useRef(null),r=c.useRef(!0),i=ie(t);return ct(()=>{if(!n.current)return;let o=!1;return i({in:e,element:n.current,initial:r.current,isStale:()=>o}),()=>{o=!0}},[e,i]),ct(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function An({children:e,in:t,onExited:n,onEntered:r,transition:i}){const[o,a]=c.useState(!t);t&&o&&a(!1);const u=Pn({in:!!t,onTransition:m=>{const v=()=>{m.isStale()||(m.in?r?.(m.element,m.initial):(a(!0),n?.(m.element)))};Promise.resolve(i(m)).then(v,y=>{throw m.in||a(!0),y})}}),p=Me(u,Te(e));return o&&!t?null:c.cloneElement(e,{ref:p})}function Ve(e,t,n){return e?k.jsxRuntimeExports.jsx(Nn,Object.assign({},n,{component:e})):t?k.jsxRuntimeExports.jsx(An,Object.assign({},n,{transition:t})):k.jsxRuntimeExports.jsx(On,Object.assign({},n))}const kn=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function Dn(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}let De;function In(e){return De||(De=new Je({ownerDocument:e?.document})),De}function Ln(e){const t=Ze(),n=e||In(t),r=c.useRef({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>n.add(r.current),remove:()=>n.remove(r.current),isTopModal:()=>n.isTopModal(r.current),setDialogRef:c.useCallback(i=>{r.current.dialog=i},[]),setBackdropRef:c.useCallback(i=>{r.current.backdrop=i},[])})}const Mt=c.forwardRef((e,t)=>{let{show:n=!1,role:r="dialog",className:i,style:o,children:a,backdrop:u=!0,keyboard:p=!0,onBackdropClick:m,onEscapeKeyDown:v,transition:y,runTransition:T,backdropTransition:_,runBackdropTransition:D,autoFocus:j=!0,enforceFocus:$=!0,restoreFocus:F=!0,restoreFocusOptions:V,renderDialog:L,renderBackdrop:A=I=>k.jsxRuntimeExports.jsx("div",Object.assign({},I)),manager:l,container:U,onShow:G,onHide:Z=()=>{},onExit:se,onExited:Q,onExiting:ee,onEnter:ne,onEntering:re,onEntered:X}=e,ae=Dn(e,kn);const B=Ze(),H=jt(U),W=Ln(l),ue=St(),s=En(n),[d,g]=c.useState(!n),h=c.useRef(null);c.useImperativeHandle(t,()=>W,[W]),ye&&!s&&n&&(h.current=Ae(B?.document)),n&&d&&g(!1);const E=ie(()=>{if(W.add(),C.current=be(document,"keydown",S),w.current=be(document,"focus",()=>setTimeout(b),!0),G&&G(),j){var I,Ce;const ge=Ae((I=(Ce=W.dialog)==null?void 0:Ce.ownerDocument)!=null?I:B?.document);W.dialog&&ge&&!He(W.dialog,ge)&&(h.current=ge,W.dialog.focus())}}),O=ie(()=>{if(W.remove(),C.current==null||C.current(),w.current==null||w.current(),F){var I;(I=h.current)==null||I.focus==null||I.focus(V),h.current=null}});c.useEffect(()=>{!n||!H||E()},[n,H,E]),c.useEffect(()=>{d&&O()},[d,O]),vn(()=>{O()});const b=ie(()=>{if(!$||!ue()||!W.isTopModal())return;const I=Ae(B?.document);W.dialog&&I&&!He(W.dialog,I)&&W.dialog.focus()}),R=ie(I=>{I.target===I.currentTarget&&(m?.(I),u===!0&&Z())}),S=ie(I=>{p&&_t(I)&&W.isTopModal()&&(v?.(I),I.defaultPrevented||Z())}),w=c.useRef(),C=c.useRef(),q=(...I)=>{g(!0),Q?.(...I)};if(!H)return null;const f=Object.assign({role:r,ref:W.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},ae,{style:o,className:i,tabIndex:-1});let Y=L?L(f):k.jsxRuntimeExports.jsx("div",Object.assign({},f,{children:z.cloneElement(a,{role:"document"})}));Y=Ve(y,T,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:se,onExiting:ee,onExited:q,onEnter:ne,onEntering:re,onEntered:X,children:Y});let J=null;return u&&(J=A({ref:W.setBackdropRef,onClick:R}),J=Ve(_,D,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:J})),k.jsxRuntimeExports.jsx(k.jsxRuntimeExports.Fragment,{children:he.createPortal(k.jsxRuntimeExports.jsxs(k.jsxRuntimeExports.Fragment,{children:[J,Y]}),H)})});Mt.displayName="Modal";const $n=Object.assign(Mt,{Manager:Je});function Nt(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function Fn(e,t){e.classList?e.classList.add(t):Nt(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}var Wn=Function.prototype.bind.call(Function.prototype.call,[].slice);function me(e,t){return Wn(e.querySelectorAll(t))}function lt(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Bn(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=lt(e.className,t):e.setAttribute("class",lt(e.className&&e.className.baseVal||"",t))}const ve={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class qn extends Je{adjustAndStore(t,n,r){const i=n.style[t];n.dataset[t]=i,fe(n,{[t]:`${parseFloat(fe(n,t))+r}px`})}restore(t,n){const r=n.dataset[t];r!==void 0&&(delete n.dataset[t],fe(n,{[t]:r}))}setContainerStyle(t){super.setContainerStyle(t);const n=this.getElement();if(Fn(n,"modal-open"),!t.scrollBarWidth)return;const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";me(n,ve.FIXED_CONTENT).forEach(o=>this.adjustAndStore(r,o,t.scrollBarWidth)),me(n,ve.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),me(n,ve.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const n=this.getElement();Bn(n,"modal-open");const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";me(n,ve.FIXED_CONTENT).forEach(o=>this.restore(r,o)),me(n,ve.STICKY_CONTENT).forEach(o=>this.restore(i,o)),me(n,ve.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let Ie;function Un(e){return Ie||(Ie=new qn(e)),Ie}function Yn(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Ge(e,t){return Ge=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ge(e,t)}function zn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ge(e,t)}var we={exports:{}},je={exports:{}},N={};var ft;function Hn(){if(ft)return N;ft=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,m=e?Symbol.for("react.concurrent_mode"):60111,v=e?Symbol.for("react.forward_ref"):60112,y=e?Symbol.for("react.suspense"):60113,T=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,D=e?Symbol.for("react.lazy"):60116,j=e?Symbol.for("react.block"):60121,$=e?Symbol.for("react.fundamental"):60117,F=e?Symbol.for("react.responder"):60118,V=e?Symbol.for("react.scope"):60119;function L(l){if(typeof l=="object"&&l!==null){var U=l.$$typeof;switch(U){case t:switch(l=l.type,l){case p:case m:case r:case o:case i:case y:return l;default:switch(l=l&&l.$$typeof,l){case u:case v:case D:case _:case a:return l;default:return U}}case n:return U}}}function A(l){return L(l)===m}return N.AsyncMode=p,N.ConcurrentMode=m,N.ContextConsumer=u,N.ContextProvider=a,N.Element=t,N.ForwardRef=v,N.Fragment=r,N.Lazy=D,N.Memo=_,N.Portal=n,N.Profiler=o,N.StrictMode=i,N.Suspense=y,N.isAsyncMode=function(l){return A(l)||L(l)===p},N.isConcurrentMode=A,N.isContextConsumer=function(l){return L(l)===u},N.isContextProvider=function(l){return L(l)===a},N.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},N.isForwardRef=function(l){return L(l)===v},N.isFragment=function(l){return L(l)===r},N.isLazy=function(l){return L(l)===D},N.isMemo=function(l){return L(l)===_},N.isPortal=function(l){return L(l)===n},N.isProfiler=function(l){return L(l)===o},N.isStrictMode=function(l){return L(l)===i},N.isSuspense=function(l){return L(l)===y},N.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===m||l===o||l===i||l===y||l===T||typeof l=="object"&&l!==null&&(l.$$typeof===D||l.$$typeof===_||l.$$typeof===a||l.$$typeof===u||l.$$typeof===v||l.$$typeof===$||l.$$typeof===F||l.$$typeof===V||l.$$typeof===j)},N.typeOf=L,N}var P={};var dt;function Vn(){return dt||(dt=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,m=e?Symbol.for("react.concurrent_mode"):60111,v=e?Symbol.for("react.forward_ref"):60112,y=e?Symbol.for("react.suspense"):60113,T=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,D=e?Symbol.for("react.lazy"):60116,j=e?Symbol.for("react.block"):60121,$=e?Symbol.for("react.fundamental"):60117,F=e?Symbol.for("react.responder"):60118,V=e?Symbol.for("react.scope"):60119;function L(f){return typeof f=="string"||typeof f=="function"||f===r||f===m||f===o||f===i||f===y||f===T||typeof f=="object"&&f!==null&&(f.$$typeof===D||f.$$typeof===_||f.$$typeof===a||f.$$typeof===u||f.$$typeof===v||f.$$typeof===$||f.$$typeof===F||f.$$typeof===V||f.$$typeof===j)}function A(f){if(typeof f=="object"&&f!==null){var Y=f.$$typeof;switch(Y){case t:var J=f.type;switch(J){case p:case m:case r:case o:case i:case y:return J;default:var I=J&&J.$$typeof;switch(I){case u:case v:case D:case _:case a:return I;default:return Y}}case n:return Y}}}var l=p,U=m,G=u,Z=a,se=t,Q=v,ee=r,ne=D,re=_,X=n,ae=o,B=i,H=y,W=!1;function ue(f){return W||(W=!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.")),s(f)||A(f)===p}function s(f){return A(f)===m}function d(f){return A(f)===u}function g(f){return A(f)===a}function h(f){return typeof f=="object"&&f!==null&&f.$$typeof===t}function E(f){return A(f)===v}function O(f){return A(f)===r}function b(f){return A(f)===D}function R(f){return A(f)===_}function S(f){return A(f)===n}function w(f){return A(f)===o}function C(f){return A(f)===i}function q(f){return A(f)===y}P.AsyncMode=l,P.ConcurrentMode=U,P.ContextConsumer=G,P.ContextProvider=Z,P.Element=se,P.ForwardRef=Q,P.Fragment=ee,P.Lazy=ne,P.Memo=re,P.Portal=X,P.Profiler=ae,P.StrictMode=B,P.Suspense=H,P.isAsyncMode=ue,P.isConcurrentMode=s,P.isContextConsumer=d,P.isContextProvider=g,P.isElement=h,P.isForwardRef=E,P.isFragment=O,P.isLazy=b,P.isMemo=R,P.isPortal=S,P.isProfiler=w,P.isStrictMode=C,P.isSuspense=q,P.isValidElementType=L,P.typeOf=A})()),P}var pt;function Pt(){return pt||(pt=1,process.env.NODE_ENV==="production"?je.exports=Hn():je.exports=Vn()),je.exports}var Le,mt;function Gn(){if(mt)return Le;mt=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function i(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var a={},u=0;u<10;u++)a["_"+String.fromCharCode(u)]=u;var p=Object.getOwnPropertyNames(a).map(function(v){return a[v]});if(p.join("")!=="0123456789")return!1;var m={};return"abcdefghijklmnopqrst".split("").forEach(function(v){m[v]=v}),Object.keys(Object.assign({},m)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Le=i()?Object.assign:function(o,a){for(var u,p=r(o),m,v=1;v<arguments.length;v++){u=Object(arguments[v]);for(var y in u)t.call(u,y)&&(p[y]=u[y]);if(e){m=e(u);for(var T=0;T<m.length;T++)n.call(u,m[T])&&(p[m[T]]=u[m[T]])}}return p},Le}var $e,vt;function Qe(){if(vt)return $e;vt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return $e=e,$e}var Fe,Et;function At(){return Et||(Et=1,Fe=Function.call.bind(Object.prototype.hasOwnProperty)),Fe}var We,ht;function Kn(){if(ht)return We;ht=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Qe(),n={},r=At();e=function(o){var a="Warning: "+o;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function i(o,a,u,p,m){if(process.env.NODE_ENV!=="production"){for(var v in o)if(r(o,v)){var y;try{if(typeof o[v]!="function"){var T=Error((p||"React class")+": "+u+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}y=o[v](a,v,p,u,null,t)}catch(D){y=D}if(y&&!(y instanceof Error)&&e((p||"React class")+": type specification of "+u+" `"+v+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof y+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),y instanceof Error&&!(y.message in n)){n[y.message]=!0;var _=m?m():"";e("Failed "+u+" type: "+y.message+(_??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},We=i,We}var Be,yt;function Xn(){if(yt)return Be;yt=1;var e=Pt(),t=Gn(),n=Qe(),r=At(),i=Kn(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(u){var p="Warning: "+u;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}});function a(){return null}return Be=function(u,p){var m=typeof Symbol=="function"&&Symbol.iterator,v="@@iterator";function y(s){var d=s&&(m&&s[m]||s[v]);if(typeof d=="function")return d}var T="<<anonymous>>",_={array:F("array"),bigint:F("bigint"),bool:F("boolean"),func:F("function"),number:F("number"),object:F("object"),string:F("string"),symbol:F("symbol"),any:V(),arrayOf:L,element:A(),elementType:l(),instanceOf:U,node:Q(),objectOf:Z,oneOf:G,oneOfType:se,shape:ne,exact:re};function D(s,d){return s===d?s!==0||1/s===1/d:s!==s&&d!==d}function j(s,d){this.message=s,this.data=d&&typeof d=="object"?d:{},this.stack=""}j.prototype=Error.prototype;function $(s){if(process.env.NODE_ENV!=="production")var d={},g=0;function h(O,b,R,S,w,C,q){if(S=S||T,C=C||R,q!==n){if(p){var f=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 f.name="Invariant Violation",f}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Y=S+":"+R;!d[Y]&&g<3&&(o("You are manually calling a React.PropTypes validation function for the `"+C+"` prop on `"+S+"`. 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."),d[Y]=!0,g++)}}return b[R]==null?O?b[R]===null?new j("The "+w+" `"+C+"` is marked as required "+("in `"+S+"`, but its value is `null`.")):new j("The "+w+" `"+C+"` is marked as required in "+("`"+S+"`, but its value is `undefined`.")):null:s(b,R,S,w,C)}var E=h.bind(null,!1);return E.isRequired=h.bind(null,!0),E}function F(s){function d(g,h,E,O,b,R){var S=g[h],w=B(S);if(w!==s){var C=H(S);return new j("Invalid "+O+" `"+b+"` of type "+("`"+C+"` supplied to `"+E+"`, expected ")+("`"+s+"`."),{expectedType:s})}return null}return $(d)}function V(){return $(a)}function L(s){function d(g,h,E,O,b){if(typeof s!="function")return new j("Property `"+b+"` of component `"+E+"` has invalid PropType notation inside arrayOf.");var R=g[h];if(!Array.isArray(R)){var S=B(R);return new j("Invalid "+O+" `"+b+"` of type "+("`"+S+"` supplied to `"+E+"`, expected an array."))}for(var w=0;w<R.length;w++){var C=s(R,w,E,O,b+"["+w+"]",n);if(C instanceof Error)return C}return null}return $(d)}function A(){function s(d,g,h,E,O){var b=d[g];if(!u(b)){var R=B(b);return new j("Invalid "+E+" `"+O+"` of type "+("`"+R+"` supplied to `"+h+"`, expected a single ReactElement."))}return null}return $(s)}function l(){function s(d,g,h,E,O){var b=d[g];if(!e.isValidElementType(b)){var R=B(b);return new j("Invalid "+E+" `"+O+"` of type "+("`"+R+"` supplied to `"+h+"`, expected a single ReactElement type."))}return null}return $(s)}function U(s){function d(g,h,E,O,b){if(!(g[h]instanceof s)){var R=s.name||T,S=ue(g[h]);return new j("Invalid "+O+" `"+b+"` of type "+("`"+S+"` supplied to `"+E+"`, expected ")+("instance of `"+R+"`."))}return null}return $(d)}function G(s){if(!Array.isArray(s))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("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])."):o("Invalid argument supplied to oneOf, expected an array.")),a;function d(g,h,E,O,b){for(var R=g[h],S=0;S<s.length;S++)if(D(R,s[S]))return null;var w=JSON.stringify(s,function(q,f){var Y=H(f);return Y==="symbol"?String(f):f});return new j("Invalid "+O+" `"+b+"` of value `"+String(R)+"` "+("supplied to `"+E+"`, expected one of "+w+"."))}return $(d)}function Z(s){function d(g,h,E,O,b){if(typeof s!="function")return new j("Property `"+b+"` of component `"+E+"` has invalid PropType notation inside objectOf.");var R=g[h],S=B(R);if(S!=="object")return new j("Invalid "+O+" `"+b+"` of type "+("`"+S+"` supplied to `"+E+"`, expected an object."));for(var w in R)if(r(R,w)){var C=s(R,w,E,O,b+"."+w,n);if(C instanceof Error)return C}return null}return $(d)}function se(s){if(!Array.isArray(s))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var d=0;d<s.length;d++){var g=s[d];if(typeof g!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+W(g)+" at index "+d+"."),a}function h(E,O,b,R,S){for(var w=[],C=0;C<s.length;C++){var q=s[C],f=q(E,O,b,R,S,n);if(f==null)return null;f.data&&r(f.data,"expectedType")&&w.push(f.data.expectedType)}var Y=w.length>0?", expected one of type ["+w.join(", ")+"]":"";return new j("Invalid "+R+" `"+S+"` supplied to "+("`"+b+"`"+Y+"."))}return $(h)}function Q(){function s(d,g,h,E,O){return X(d[g])?null:new j("Invalid "+E+" `"+O+"` supplied to "+("`"+h+"`, expected a ReactNode."))}return $(s)}function ee(s,d,g,h,E){return new j((s||"React class")+": "+d+" type `"+g+"."+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+E+"`.")}function ne(s){function d(g,h,E,O,b){var R=g[h],S=B(R);if(S!=="object")return new j("Invalid "+O+" `"+b+"` of type `"+S+"` "+("supplied to `"+E+"`, expected `object`."));for(var w in s){var C=s[w];if(typeof C!="function")return ee(E,O,b,w,H(C));var q=C(R,w,E,O,b+"."+w,n);if(q)return q}return null}return $(d)}function re(s){function d(g,h,E,O,b){var R=g[h],S=B(R);if(S!=="object")return new j("Invalid "+O+" `"+b+"` of type `"+S+"` "+("supplied to `"+E+"`, expected `object`."));var w=t({},g[h],s);for(var C in w){var q=s[C];if(r(s,C)&&typeof q!="function")return ee(E,O,b,C,H(q));if(!q)return new j("Invalid "+O+" `"+b+"` key `"+C+"` supplied to `"+E+"`.\nBad object: "+JSON.stringify(g[h],null," ")+`
2
- Valid keys: `+JSON.stringify(Object.keys(s),null," "));var f=q(R,C,E,O,b+"."+C,n);if(f)return f}return null}return $(d)}function X(s){switch(typeof s){case"number":case"string":case"undefined":return!0;case"boolean":return!s;case"object":if(Array.isArray(s))return s.every(X);if(s===null||u(s))return!0;var d=y(s);if(d){var g=d.call(s),h;if(d!==s.entries){for(;!(h=g.next()).done;)if(!X(h.value))return!1}else for(;!(h=g.next()).done;){var E=h.value;if(E&&!X(E[1]))return!1}}else return!1;return!0;default:return!1}}function ae(s,d){return s==="symbol"?!0:d?d["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&d instanceof Symbol:!1}function B(s){var d=typeof s;return Array.isArray(s)?"array":s instanceof RegExp?"object":ae(d,s)?"symbol":d}function H(s){if(typeof s>"u"||s===null)return""+s;var d=B(s);if(d==="object"){if(s instanceof Date)return"date";if(s instanceof RegExp)return"regexp"}return d}function W(s){var d=H(s);switch(d){case"array":case"object":return"an "+d;case"boolean":case"date":case"regexp":return"a "+d;default:return d}}function ue(s){return!s.constructor||!s.constructor.name?T:s.constructor.name}return _.checkPropTypes=i,_.resetWarningCache=i.resetWarningCache,_.PropTypes=_,_},Be}var qe,gt;function Jn(){if(gt)return qe;gt=1;var e=Qe();function t(){}function n(){}return n.resetWarningCache=t,qe=function(){function r(a,u,p,m,v,y){if(y!==e){var T=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 T.name="Invariant Violation",T}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},qe}var xt;function Zn(){if(xt)return we.exports;if(xt=1,process.env.NODE_ENV!=="production"){var e=Pt(),t=!0;we.exports=Xn()(e.isElement,t)}else we.exports=Jn()();return we.exports}var Qn=Zn();const x=K.getDefaultExportFromCjs(Qn),bt={disabled:!1};var er=process.env.NODE_ENV!=="production"?x.oneOfType([x.number,x.shape({enter:x.number,exit:x.number,appear:x.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&x.oneOfType([x.string,x.shape({enter:x.string,exit:x.string,active:x.string}),x.shape({enter:x.string,enterDone:x.string,enterActive:x.string,exit:x.string,exitDone:x.string,exitActive:x.string})]);const kt=c.createContext(null);var tr=function(t){return t.scrollTop},xe="unmounted",ce="exited",oe="entering",le="entered",Ke="exiting",te=(function(e){zn(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,u=a&&!a.isMounting?r.enter:r.appear,p;return o.appearStatus=null,r.in?u?(p=ce,o.appearStatus=oe):p=le:r.unmountOnExit||r.mountOnEnter?p=xe:p=ce,o.state={status:p},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===xe?{status:ce}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==oe&&a!==le&&(o=oe):(a===oe||a===le)&&(o=Ke)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,u;return o=a=u=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,u=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:u}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===oe){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:he.findDOMNode(this);a&&tr(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ce&&this.setState({status:xe})},n.performEnter=function(i){var o=this,a=this.props.enter,u=this.context?this.context.isMounting:i,p=this.props.nodeRef?[u]:[he.findDOMNode(this),u],m=p[0],v=p[1],y=this.getTimeouts(),T=u?y.appear:y.enter;if(!i&&!a||bt.disabled){this.safeSetState({status:le},function(){o.props.onEntered(m)});return}this.props.onEnter(m,v),this.safeSetState({status:oe},function(){o.props.onEntering(m,v),o.onTransitionEnd(T,function(){o.safeSetState({status:le},function(){o.props.onEntered(m,v)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),u=this.props.nodeRef?void 0:he.findDOMNode(this);if(!o||bt.disabled){this.safeSetState({status:ce},function(){i.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:Ke},function(){i.props.onExiting(u),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:ce},function(){i.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(u){a&&(a=!1,o.nextCallback=null,i(u))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:he.findDOMNode(this),u=i==null&&!this.props.addEndListener;if(!a||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var p=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],m=p[0],v=p[1];this.props.addEndListener(m,v)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===xe)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var u=Yn(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return c.createElement(kt.Provider,{value:null},typeof a=="function"?a(i,u):c.cloneElement(c.Children.only(a),u))},t})(c.Component);te.contextType=kt;te.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:x.shape({current:typeof Element>"u"?x.any:function(e,t,n,r,i,o){var a=e[t];return x.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,o)}}),children:x.oneOfType([x.func.isRequired,x.element.isRequired]).isRequired,in:x.bool,mountOnEnter:x.bool,unmountOnExit:x.bool,appear:x.bool,enter:x.bool,exit:x.bool,timeout:function(t){var n=er;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return n.apply(void 0,[t].concat(i))},addEndListener:x.func,onEnter:x.func,onEntering:x.func,onEntered:x.func,onExit:x.func,onExiting:x.func,onExited:x.func}:{};function Ee(){}te.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ee,onEntering:Ee,onEntered:Ee,onExit:Ee,onExiting:Ee,onExited:Ee};te.UNMOUNTED=xe;te.EXITED=ce;te.ENTERING=oe;te.ENTERED=le;te.EXITING=Ke;function Rt(e,t){const n=fe(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function nr(e,t){const n=Rt(e,"transitionDuration"),r=Rt(e,"transitionDelay"),i=Ot(e,o=>{o.target===e&&(i(),t(o))},n+r)}function rr(e){e.offsetHeight}function Dt(e){return e&&"setState"in e?he.findDOMNode(e):e??null}const It=c.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,onExited:o,addEndListener:a,children:u,childRef:p,...m},v)=>{const y=c.useRef(null),T=Xe(y,p),_=U=>{T(Dt(U))},D=U=>G=>{U&&y.current&&U(y.current,G)},j=c.useCallback(D(e),[e]),$=c.useCallback(D(t),[t]),F=c.useCallback(D(n),[n]),V=c.useCallback(D(r),[r]),L=c.useCallback(D(i),[i]),A=c.useCallback(D(o),[o]),l=c.useCallback(D(a),[a]);return k.jsxRuntimeExports.jsx(te,{ref:v,...m,onEnter:j,onEntered:F,onEntering:$,onExit:V,onExited:A,onExiting:L,addEndListener:l,nodeRef:y,children:typeof u=="function"?(U,G)=>u(U,{...G,ref:_}):c.cloneElement(u,{ref:_})})});It.displayName="TransitionWrapper";const or={[oe]:"show",[le]:"show"},Ne=z.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...i},o)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},u=c.useCallback((p,m)=>{rr(p),r?.(p,m)},[r]);return k.jsxRuntimeExports.jsx(It,{ref:o,addEndListener:nr,...a,onEnter:u,childRef:Te(t),children:(p,m)=>z.cloneElement(t,{...m,className:K.classNames("fade",e,t.props.className,or[p],n[p])})})});Ne.displayName="Fade";const ir=["xxl","xl","lg","md","sm","xs"],sr="xs",et=z.createContext({prefixes:{},breakpoints:ir,minBreakpoint:sr}),{Consumer:pr,Provider:mr}=et;function de(e,t){const{prefixes:n}=c.useContext(et);return e||n[t]||t}function Lt(){const{dir:e}=c.useContext(et);return e==="rtl"}const $t=z.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=de(t,"modal-body"),k.jsxRuntimeExports.jsx(n,{ref:i,className:K.classNames(e,t),...r})));$t.displayName="ModalBody";const Ft=z.createContext({onHide(){}}),tt=z.forwardRef(({bsPrefix:e,className:t,contentClassName:n,centered:r,size:i,fullscreen:o,children:a,scrollable:u,...p},m)=>{e=de(e,"modal");const v=`${e}-dialog`,y=typeof o=="string"?`${e}-fullscreen-${o}`:`${e}-fullscreen`;return k.jsxRuntimeExports.jsx("div",{...p,ref:m,className:K.classNames(v,t,i&&`${e}-${i}`,r&&`${v}-centered`,u&&`${v}-scrollable`,o&&y),children:k.jsxRuntimeExports.jsx("div",{className:K.classNames(`${e}-content`,n),children:a})})});tt.displayName="ModalDialog";const Wt=z.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=de(t,"modal-footer"),k.jsxRuntimeExports.jsx(n,{ref:i,className:K.classNames(e,t),...r})));Wt.displayName="ModalFooter";const ar={"aria-label":x.string,onClick:x.func,variant:x.oneOf(["white"])},nt=z.forwardRef(({className:e,variant:t,"aria-label":n="Close",...r},i)=>k.jsxRuntimeExports.jsx("button",{ref:i,type:"button",className:K.classNames("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...r}));nt.displayName="CloseButton";nt.propTypes=ar;const Bt=z.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:r,children:i,...o},a)=>{const u=c.useContext(Ft),p=_e(()=>{u?.onHide(),r?.()});return k.jsxRuntimeExports.jsxs("div",{ref:a,...o,children:[i,n&&k.jsxRuntimeExports.jsx(nt,{"aria-label":e,variant:t,onClick:p})]})});Bt.displayName="AbstractModalHeader";const qt=z.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...i},o)=>(e=de(e,"modal-header"),k.jsxRuntimeExports.jsx(Bt,{ref:o,...i,className:K.classNames(t,e),closeLabel:n,closeButton:r})));qt.displayName="ModalHeader";const ur=(e=>z.forwardRef((t,n)=>k.jsxRuntimeExports.jsx("div",{...t,ref:n,className:K.classNames(t.className,e)}))),cr=ur("h4"),Ut=z.forwardRef(({className:e,bsPrefix:t,as:n=cr,...r},i)=>(t=de(t,"modal-title"),k.jsxRuntimeExports.jsx(n,{ref:i,className:K.classNames(e,t),...r})));Ut.displayName="ModalTitle";function lr(e){return k.jsxRuntimeExports.jsx(Ne,{...e,timeout:null})}function fr(e){return k.jsxRuntimeExports.jsx(Ne,{...e,timeout:null})}const Yt=z.forwardRef(({bsPrefix:e,className:t,style:n,dialogClassName:r,contentClassName:i,children:o,dialogAs:a=tt,"data-bs-theme":u,"aria-labelledby":p,"aria-describedby":m,"aria-label":v,show:y=!1,animation:T=!0,backdrop:_=!0,keyboard:D=!0,onEscapeKeyDown:j,onShow:$,onHide:F,container:V,autoFocus:L=!0,enforceFocus:A=!0,restoreFocus:l=!0,restoreFocusOptions:U,onEntered:G,onExit:Z,onExiting:se,onEnter:Q,onEntering:ee,onExited:ne,backdropClassName:re,manager:X,...ae},B)=>{const[H,W]=c.useState({}),[ue,s]=c.useState(!1),d=c.useRef(!1),g=c.useRef(!1),h=c.useRef(null),[E,O]=Qt(),b=Xe(B,O),R=_e(F),S=Lt();e=de(e,"modal");const w=c.useMemo(()=>({onHide:R}),[R]);function C(){return X||Un({isRTL:S})}function q(M){if(!ye)return;const pe=C().getScrollbarWidth()>0,ot=M.scrollHeight>Re(M).documentElement.clientHeight;W({paddingRight:pe&&!ot?it():void 0,paddingLeft:!pe&&ot?it():void 0})}const f=_e(()=>{E&&q(E.dialog)});Ct(()=>{ze(window,"resize",f),h.current==null||h.current()});const Y=()=>{d.current=!0},J=M=>{d.current&&E&&M.target===E.dialog&&(g.current=!0),d.current=!1},I=()=>{s(!0),h.current=Ot(E.dialog,()=>{s(!1)})},Ce=M=>{M.target===M.currentTarget&&I()},ge=M=>{if(_==="static"){Ce(M);return}if(g.current||M.target!==M.currentTarget){g.current=!1;return}F?.()},zt=M=>{D?j?.(M):(M.preventDefault(),_==="static"&&I())},Ht=(M,pe)=>{M&&q(M),Q?.(M,pe)},Vt=M=>{h.current==null||h.current(),Z?.(M)},Gt=(M,pe)=>{ee?.(M,pe),Tt(window,"resize",f)},Kt=M=>{M&&(M.style.display=""),ne?.(M),ze(window,"resize",f)},Xt=c.useCallback(M=>k.jsxRuntimeExports.jsx("div",{...M,className:K.classNames(`${e}-backdrop`,re,!T&&"show")}),[T,re,e]),rt={...n,...H};rt.display="block";const Jt=M=>k.jsxRuntimeExports.jsx("div",{role:"dialog",...M,style:rt,className:K.classNames(t,e,ue&&`${e}-static`,!T&&"show"),onClick:_?ge:void 0,onMouseUp:J,"data-bs-theme":u,"aria-label":v,"aria-labelledby":p,"aria-describedby":m,children:k.jsxRuntimeExports.jsx(a,{...ae,onMouseDown:Y,className:r,contentClassName:i,children:o})});return k.jsxRuntimeExports.jsx(Ft.Provider,{value:w,children:k.jsxRuntimeExports.jsx($n,{show:y,ref:b,backdrop:_,container:V,keyboard:!0,autoFocus:L,enforceFocus:A,restoreFocus:l,restoreFocusOptions:U,onEscapeKeyDown:zt,onShow:$,onHide:F,onEnter:Ht,onEntering:Gt,onEntered:G,onExit:Vt,onExiting:se,onExited:Kt,manager:C(),transition:T?lr:void 0,backdropTransition:T?fr:void 0,renderBackdrop:Xt,renderDialog:Jt})})});Yt.displayName="Modal";const dr=Object.assign(Yt,{Body:$t,Header:qt,Title:Ut,Footer:Wt,Dialog:tt,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150});exports.Fade=Ne;exports.Modal=dr;exports.PropTypes=x;exports.contains=He;exports.getChildRef=Te;exports.hasClass=Nt;exports.isEscKey=_t;exports.listen=be;exports.ownerDocument=Re;exports.renderTransition=Ve;exports.safeFindDOMNode=Dt;exports.useBootstrapPrefix=de;exports.useEventCallback=ie;exports.useEventCallback$1=_e;exports.useIsRTL=Lt;exports.useMergedRefs=Me;exports.useMergedRefs$1=Xe;exports.useMounted=St;exports.useWaitForDOMRef=jt;exports.useWillUnmount=Ct;
1
+ "use strict";const K=require("./index-BlP2-uOi.cjs"),c=require("react"),he=require("react-dom"),A=require("./jsx-runtime-nZSsnGb7.cjs");function Zt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const z=Zt(c),ye=!!(typeof window<"u"&&window.document&&window.document.createElement);var Ye=!1,ze=!1;try{var ke={get passive(){return Ye=!0},get once(){return ze=Ye=!0}};ye&&(window.addEventListener("test",ke,ke),window.removeEventListener("test",ke,!0))}catch{}function Tt(e,t,n,r){if(r&&typeof r!="boolean"&&!ze){var i=r.once,o=r.capture,a=n;!ze&&i&&(a=n.__once||function u(p){this.removeEventListener(t,u,o),n.call(this,p)},n.__once=a),e.addEventListener(t,a,Ye?r:o)}e.addEventListener(t,n,r)}function Re(e){return e&&e.ownerDocument||document}function He(e,t,n,r){var i=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)}var Se;function it(e){if((!Se&&Se!==0||e)&&ye){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),Se=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Se}function Qt(){return c.useState(null)}function en(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e},[e]),t}function _e(e){const t=en(e);return c.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const st=e=>!e||typeof e=="function"?e:t=>{e.current=t};function tn(e,t){const n=st(e),r=st(t);return i=>{n&&n(i),r&&r(i)}}function Je(e,t){return c.useMemo(()=>tn(e,t),[e,t])}function nn(e){const t=c.useRef(e);return t.current=e,t}function Ct(e){const t=nn(e);c.useEffect(()=>()=>t.current(),[])}function rn(e){var t=Re(e);return t&&t.defaultView||window}function on(e,t){return rn(e).getComputedStyle(e,t)}var sn=/([A-Z])/g;function an(e){return e.replace(sn,"-$1").toLowerCase()}var un=/^ms-/;function we(e){return an(e).replace(un,"-ms-")}var cn=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function ln(e){return!!(e&&cn.test(e))}function fe(e,t){var n="",r="";if(typeof t=="string")return e.style.getPropertyValue(we(t))||on(e).getPropertyValue(we(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(we(i)):ln(i)?r+=i+"("+o+") ":n+=we(i)+": "+o+";"}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}function be(e,t,n,r){return Tt(e,t,n,r),function(){He(e,t,n,r)}}function fn(e,t,n,r){if(r===void 0&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,n,r),e.dispatchEvent(i)}}function dn(e){var t=fe(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function pn(e,t,n){n===void 0&&(n=5);var r=!1,i=setTimeout(function(){r||fn(e,"transitionend",!0)},t+n),o=be(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function Ot(e,t,n,r){n==null&&(n=dn(e)||0);var i=pn(e,n,r),o=be(e,"transitionend",t);return function(){i(),o()}}function Ae(e){e===void 0&&(e=Re());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function Ve(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}function St(){const e=c.useRef(!0),t=c.useRef(()=>e.current);return c.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function mn(e){const t=c.useRef(e);return t.current=e,t}function vn(e){const t=mn(e);c.useEffect(()=>()=>t.current(),[])}function En(e){const t=c.useRef(null);return c.useEffect(()=>{t.current=e}),t.current}function hn(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e},[e]),t}function ie(e){const t=hn(e);return c.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const yn="data-rr-ui-";function gn(e){return`${yn}${e}`}function xn(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const at=gn("modal-open");class Ze{constructor({ownerDocument:t,handleContainerOverflow:n=!0,isRTL:r=!1}={}){this.handleContainerOverflow=n,this.isRTL=r,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return xn(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(t){}removeModalAttributes(t){}setContainerStyle(t){const n={overflow:"hidden"},r=this.isRTL?"paddingLeft":"paddingRight",i=this.getElement();t.style={overflow:i.style.overflow,[r]:i.style[r]},t.scrollBarWidth&&(n[r]=`${parseInt(fe(i,r)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(at,""),fe(i,n)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const n=this.getElement();n.removeAttribute(at),Object.assign(n.style,t.style)}add(t){let n=this.modals.indexOf(t);return n!==-1||(n=this.modals.length,this.modals.push(t),this.setModalAttributes(t),n!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),n}remove(t){const n=this.modals.indexOf(t);n!==-1&&(this.modals.splice(n,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const wt=c.createContext(ye?window:void 0);wt.Provider;function Qe(){return c.useContext(wt)}const De=(e,t)=>ye?e==null?(t||Re()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function jt(e,t){const n=Qe(),[r,i]=c.useState(()=>De(e,n?.document));if(!r){const o=De(e);o&&i(o)}return c.useEffect(()=>{},[t,r]),c.useEffect(()=>{const o=De(e);o!==r&&i(o)},[e,r]),r}const ut=e=>!e||typeof e=="function"?e:t=>{e.current=t};function bn(e,t){const n=ut(e),r=ut(t);return i=>{n&&n(i),r&&r(i)}}function Ne(e,t){return c.useMemo(()=>bn(e,t),[e,t])}const Rn=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",Tn=typeof document<"u",ct=Tn||Rn?c.useLayoutEffect:c.useEffect;function Mt(e){return e.code==="Escape"||e.keyCode===27}function Cn(){const e=z.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function Te(e){if(!e||typeof e=="function")return null;const{major:t}=Cn();return t>=19?e.props.ref:e.ref}function On({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:i}){const o=c.useRef(null),a=c.useRef(t),u=ie(n);c.useEffect(()=>{t?a.current=!0:u(o.current)},[t,u]);const p=Ne(o,Te(e)),m=c.cloneElement(e,{ref:p});return t?m:i||!a.current&&r?null:m}const Sn=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function wn(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function jn(e){let{onEnter:t,onEntering:n,onEntered:r,onExit:i,onExiting:o,onExited:a,addEndListener:u,children:p}=e,m=wn(e,Sn);const v=c.useRef(null),y=Ne(v,Te(p)),T=k=>l=>{k&&v.current&&k(v.current,l)},M=c.useCallback(T(t),[t]),D=c.useCallback(T(n),[n]),j=c.useCallback(T(r),[r]),$=c.useCallback(T(i),[i]),F=c.useCallback(T(o),[o]),V=c.useCallback(T(a),[a]),L=c.useCallback(T(u),[u]);return Object.assign({},m,{nodeRef:v},t&&{onEnter:M},n&&{onEntering:D},r&&{onEntered:j},i&&{onExit:$},o&&{onExiting:F},a&&{onExited:V},u&&{addEndListener:L},{children:typeof p=="function"?(k,l)=>p(k,Object.assign({},l,{ref:y})):c.cloneElement(p,{ref:y})})}const Mn=["component"];function _n(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const Nn=z.forwardRef((e,t)=>{let{component:n}=e,r=_n(e,Mn);const i=jn(r);return A.jsxRuntimeExports.jsx(n,Object.assign({ref:t},i))});function Pn({in:e,onTransition:t}){const n=c.useRef(null),r=c.useRef(!0),i=ie(t);return ct(()=>{if(!n.current)return;let o=!1;return i({in:e,element:n.current,initial:r.current,isStale:()=>o}),()=>{o=!0}},[e,i]),ct(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function kn({children:e,in:t,onExited:n,onEntered:r,transition:i}){const[o,a]=c.useState(!t);t&&o&&a(!1);const u=Pn({in:!!t,onTransition:m=>{const v=()=>{m.isStale()||(m.in?r?.(m.element,m.initial):(a(!0),n?.(m.element)))};Promise.resolve(i(m)).then(v,y=>{throw m.in||a(!0),y})}}),p=Ne(u,Te(e));return o&&!t?null:c.cloneElement(e,{ref:p})}function Ge(e,t,n){return e?A.jsxRuntimeExports.jsx(Nn,Object.assign({},n,{component:e})):t?A.jsxRuntimeExports.jsx(kn,Object.assign({},n,{transition:t})):A.jsxRuntimeExports.jsx(On,Object.assign({},n))}const An=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function Dn(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}let Ie;function In(e){return Ie||(Ie=new Ze({ownerDocument:e?.document})),Ie}function Ln(e){const t=Qe(),n=e||In(t),r=c.useRef({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>n.add(r.current),remove:()=>n.remove(r.current),isTopModal:()=>n.isTopModal(r.current),setDialogRef:c.useCallback(i=>{r.current.dialog=i},[]),setBackdropRef:c.useCallback(i=>{r.current.backdrop=i},[])})}const _t=c.forwardRef((e,t)=>{let{show:n=!1,role:r="dialog",className:i,style:o,children:a,backdrop:u=!0,keyboard:p=!0,onBackdropClick:m,onEscapeKeyDown:v,transition:y,runTransition:T,backdropTransition:M,runBackdropTransition:D,autoFocus:j=!0,enforceFocus:$=!0,restoreFocus:F=!0,restoreFocusOptions:V,renderDialog:L,renderBackdrop:k=I=>A.jsxRuntimeExports.jsx("div",Object.assign({},I)),manager:l,container:U,onShow:G,onHide:Z=()=>{},onExit:se,onExited:Q,onExiting:ee,onEnter:ne,onEntering:re,onEntered:X}=e,ae=Dn(e,An);const W=Qe(),H=jt(U),B=Ln(l),ue=St(),s=En(n),[d,g]=c.useState(!n),h=c.useRef(null);c.useImperativeHandle(t,()=>B,[B]),ye&&!s&&n&&(h.current=Ae(W?.document)),n&&d&&g(!1);const E=ie(()=>{if(B.add(),C.current=be(document,"keydown",S),w.current=be(document,"focus",()=>setTimeout(b),!0),G&&G(),j){var I,Oe;const ge=Ae((I=(Oe=B.dialog)==null?void 0:Oe.ownerDocument)!=null?I:W?.document);B.dialog&&ge&&!Ve(B.dialog,ge)&&(h.current=ge,B.dialog.focus())}}),O=ie(()=>{if(B.remove(),C.current==null||C.current(),w.current==null||w.current(),F){var I;(I=h.current)==null||I.focus==null||I.focus(V),h.current=null}});c.useEffect(()=>{!n||!H||E()},[n,H,E]),c.useEffect(()=>{d&&O()},[d,O]),vn(()=>{O()});const b=ie(()=>{if(!$||!ue()||!B.isTopModal())return;const I=Ae(W?.document);B.dialog&&I&&!Ve(B.dialog,I)&&B.dialog.focus()}),R=ie(I=>{I.target===I.currentTarget&&(m?.(I),u===!0&&Z())}),S=ie(I=>{p&&Mt(I)&&B.isTopModal()&&(v?.(I),I.defaultPrevented||Z())}),w=c.useRef(),C=c.useRef(),q=(...I)=>{g(!0),Q?.(...I)};if(!H)return null;const f=Object.assign({role:r,ref:B.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},ae,{style:o,className:i,tabIndex:-1});let Y=L?L(f):A.jsxRuntimeExports.jsx("div",Object.assign({},f,{children:z.cloneElement(a,{role:"document"})}));Y=Ge(y,T,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:se,onExiting:ee,onExited:q,onEnter:ne,onEntering:re,onEntered:X,children:Y});let J=null;return u&&(J=k({ref:B.setBackdropRef,onClick:R}),J=Ge(M,D,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:J})),A.jsxRuntimeExports.jsx(A.jsxRuntimeExports.Fragment,{children:he.createPortal(A.jsxRuntimeExports.jsxs(A.jsxRuntimeExports.Fragment,{children:[J,Y]}),H)})});_t.displayName="Modal";const $n=Object.assign(_t,{Manager:Ze});function Nt(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function Fn(e,t){e.classList?e.classList.add(t):Nt(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}var Bn=Function.prototype.bind.call(Function.prototype.call,[].slice);function me(e,t){return Bn(e.querySelectorAll(t))}function lt(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Wn(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=lt(e.className,t):e.setAttribute("class",lt(e.className&&e.className.baseVal||"",t))}const ve={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class qn extends Ze{adjustAndStore(t,n,r){const i=n.style[t];n.dataset[t]=i,fe(n,{[t]:`${parseFloat(fe(n,t))+r}px`})}restore(t,n){const r=n.dataset[t];r!==void 0&&(delete n.dataset[t],fe(n,{[t]:r}))}setContainerStyle(t){super.setContainerStyle(t);const n=this.getElement();if(Fn(n,"modal-open"),!t.scrollBarWidth)return;const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";me(n,ve.FIXED_CONTENT).forEach(o=>this.adjustAndStore(r,o,t.scrollBarWidth)),me(n,ve.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),me(n,ve.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const n=this.getElement();Wn(n,"modal-open");const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";me(n,ve.FIXED_CONTENT).forEach(o=>this.restore(r,o)),me(n,ve.STICKY_CONTENT).forEach(o=>this.restore(i,o)),me(n,ve.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let Le;function Un(e){return Le||(Le=new qn(e)),Le}function Yn(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Ke(e,t){return Ke=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ke(e,t)}function zn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ke(e,t)}var je={exports:{}},Me={exports:{}},N={};var ft;function Hn(){if(ft)return N;ft=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,m=e?Symbol.for("react.concurrent_mode"):60111,v=e?Symbol.for("react.forward_ref"):60112,y=e?Symbol.for("react.suspense"):60113,T=e?Symbol.for("react.suspense_list"):60120,M=e?Symbol.for("react.memo"):60115,D=e?Symbol.for("react.lazy"):60116,j=e?Symbol.for("react.block"):60121,$=e?Symbol.for("react.fundamental"):60117,F=e?Symbol.for("react.responder"):60118,V=e?Symbol.for("react.scope"):60119;function L(l){if(typeof l=="object"&&l!==null){var U=l.$$typeof;switch(U){case t:switch(l=l.type,l){case p:case m:case r:case o:case i:case y:return l;default:switch(l=l&&l.$$typeof,l){case u:case v:case D:case M:case a:return l;default:return U}}case n:return U}}}function k(l){return L(l)===m}return N.AsyncMode=p,N.ConcurrentMode=m,N.ContextConsumer=u,N.ContextProvider=a,N.Element=t,N.ForwardRef=v,N.Fragment=r,N.Lazy=D,N.Memo=M,N.Portal=n,N.Profiler=o,N.StrictMode=i,N.Suspense=y,N.isAsyncMode=function(l){return k(l)||L(l)===p},N.isConcurrentMode=k,N.isContextConsumer=function(l){return L(l)===u},N.isContextProvider=function(l){return L(l)===a},N.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},N.isForwardRef=function(l){return L(l)===v},N.isFragment=function(l){return L(l)===r},N.isLazy=function(l){return L(l)===D},N.isMemo=function(l){return L(l)===M},N.isPortal=function(l){return L(l)===n},N.isProfiler=function(l){return L(l)===o},N.isStrictMode=function(l){return L(l)===i},N.isSuspense=function(l){return L(l)===y},N.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===m||l===o||l===i||l===y||l===T||typeof l=="object"&&l!==null&&(l.$$typeof===D||l.$$typeof===M||l.$$typeof===a||l.$$typeof===u||l.$$typeof===v||l.$$typeof===$||l.$$typeof===F||l.$$typeof===V||l.$$typeof===j)},N.typeOf=L,N}var P={};var dt;function Vn(){return dt||(dt=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,m=e?Symbol.for("react.concurrent_mode"):60111,v=e?Symbol.for("react.forward_ref"):60112,y=e?Symbol.for("react.suspense"):60113,T=e?Symbol.for("react.suspense_list"):60120,M=e?Symbol.for("react.memo"):60115,D=e?Symbol.for("react.lazy"):60116,j=e?Symbol.for("react.block"):60121,$=e?Symbol.for("react.fundamental"):60117,F=e?Symbol.for("react.responder"):60118,V=e?Symbol.for("react.scope"):60119;function L(f){return typeof f=="string"||typeof f=="function"||f===r||f===m||f===o||f===i||f===y||f===T||typeof f=="object"&&f!==null&&(f.$$typeof===D||f.$$typeof===M||f.$$typeof===a||f.$$typeof===u||f.$$typeof===v||f.$$typeof===$||f.$$typeof===F||f.$$typeof===V||f.$$typeof===j)}function k(f){if(typeof f=="object"&&f!==null){var Y=f.$$typeof;switch(Y){case t:var J=f.type;switch(J){case p:case m:case r:case o:case i:case y:return J;default:var I=J&&J.$$typeof;switch(I){case u:case v:case D:case M:case a:return I;default:return Y}}case n:return Y}}}var l=p,U=m,G=u,Z=a,se=t,Q=v,ee=r,ne=D,re=M,X=n,ae=o,W=i,H=y,B=!1;function ue(f){return B||(B=!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.")),s(f)||k(f)===p}function s(f){return k(f)===m}function d(f){return k(f)===u}function g(f){return k(f)===a}function h(f){return typeof f=="object"&&f!==null&&f.$$typeof===t}function E(f){return k(f)===v}function O(f){return k(f)===r}function b(f){return k(f)===D}function R(f){return k(f)===M}function S(f){return k(f)===n}function w(f){return k(f)===o}function C(f){return k(f)===i}function q(f){return k(f)===y}P.AsyncMode=l,P.ConcurrentMode=U,P.ContextConsumer=G,P.ContextProvider=Z,P.Element=se,P.ForwardRef=Q,P.Fragment=ee,P.Lazy=ne,P.Memo=re,P.Portal=X,P.Profiler=ae,P.StrictMode=W,P.Suspense=H,P.isAsyncMode=ue,P.isConcurrentMode=s,P.isContextConsumer=d,P.isContextProvider=g,P.isElement=h,P.isForwardRef=E,P.isFragment=O,P.isLazy=b,P.isMemo=R,P.isPortal=S,P.isProfiler=w,P.isStrictMode=C,P.isSuspense=q,P.isValidElementType=L,P.typeOf=k})()),P}var pt;function Pt(){return pt||(pt=1,process.env.NODE_ENV==="production"?Me.exports=Hn():Me.exports=Vn()),Me.exports}var $e,mt;function Gn(){if(mt)return $e;mt=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function i(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var a={},u=0;u<10;u++)a["_"+String.fromCharCode(u)]=u;var p=Object.getOwnPropertyNames(a).map(function(v){return a[v]});if(p.join("")!=="0123456789")return!1;var m={};return"abcdefghijklmnopqrst".split("").forEach(function(v){m[v]=v}),Object.keys(Object.assign({},m)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return $e=i()?Object.assign:function(o,a){for(var u,p=r(o),m,v=1;v<arguments.length;v++){u=Object(arguments[v]);for(var y in u)t.call(u,y)&&(p[y]=u[y]);if(e){m=e(u);for(var T=0;T<m.length;T++)n.call(u,m[T])&&(p[m[T]]=u[m[T]])}}return p},$e}var Fe,vt;function et(){if(vt)return Fe;vt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Fe=e,Fe}var Be,Et;function kt(){return Et||(Et=1,Be=Function.call.bind(Object.prototype.hasOwnProperty)),Be}var We,ht;function Kn(){if(ht)return We;ht=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=et(),n={},r=kt();e=function(o){var a="Warning: "+o;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function i(o,a,u,p,m){if(process.env.NODE_ENV!=="production"){for(var v in o)if(r(o,v)){var y;try{if(typeof o[v]!="function"){var T=Error((p||"React class")+": "+u+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}y=o[v](a,v,p,u,null,t)}catch(D){y=D}if(y&&!(y instanceof Error)&&e((p||"React class")+": type specification of "+u+" `"+v+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof y+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),y instanceof Error&&!(y.message in n)){n[y.message]=!0;var M=m?m():"";e("Failed "+u+" type: "+y.message+(M??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},We=i,We}var qe,yt;function Xn(){if(yt)return qe;yt=1;var e=Pt(),t=Gn(),n=et(),r=kt(),i=Kn(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(u){var p="Warning: "+u;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}});function a(){return null}return qe=function(u,p){var m=typeof Symbol=="function"&&Symbol.iterator,v="@@iterator";function y(s){var d=s&&(m&&s[m]||s[v]);if(typeof d=="function")return d}var T="<<anonymous>>",M={array:F("array"),bigint:F("bigint"),bool:F("boolean"),func:F("function"),number:F("number"),object:F("object"),string:F("string"),symbol:F("symbol"),any:V(),arrayOf:L,element:k(),elementType:l(),instanceOf:U,node:Q(),objectOf:Z,oneOf:G,oneOfType:se,shape:ne,exact:re};function D(s,d){return s===d?s!==0||1/s===1/d:s!==s&&d!==d}function j(s,d){this.message=s,this.data=d&&typeof d=="object"?d:{},this.stack=""}j.prototype=Error.prototype;function $(s){if(process.env.NODE_ENV!=="production")var d={},g=0;function h(O,b,R,S,w,C,q){if(S=S||T,C=C||R,q!==n){if(p){var f=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 f.name="Invariant Violation",f}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Y=S+":"+R;!d[Y]&&g<3&&(o("You are manually calling a React.PropTypes validation function for the `"+C+"` prop on `"+S+"`. 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."),d[Y]=!0,g++)}}return b[R]==null?O?b[R]===null?new j("The "+w+" `"+C+"` is marked as required "+("in `"+S+"`, but its value is `null`.")):new j("The "+w+" `"+C+"` is marked as required in "+("`"+S+"`, but its value is `undefined`.")):null:s(b,R,S,w,C)}var E=h.bind(null,!1);return E.isRequired=h.bind(null,!0),E}function F(s){function d(g,h,E,O,b,R){var S=g[h],w=W(S);if(w!==s){var C=H(S);return new j("Invalid "+O+" `"+b+"` of type "+("`"+C+"` supplied to `"+E+"`, expected ")+("`"+s+"`."),{expectedType:s})}return null}return $(d)}function V(){return $(a)}function L(s){function d(g,h,E,O,b){if(typeof s!="function")return new j("Property `"+b+"` of component `"+E+"` has invalid PropType notation inside arrayOf.");var R=g[h];if(!Array.isArray(R)){var S=W(R);return new j("Invalid "+O+" `"+b+"` of type "+("`"+S+"` supplied to `"+E+"`, expected an array."))}for(var w=0;w<R.length;w++){var C=s(R,w,E,O,b+"["+w+"]",n);if(C instanceof Error)return C}return null}return $(d)}function k(){function s(d,g,h,E,O){var b=d[g];if(!u(b)){var R=W(b);return new j("Invalid "+E+" `"+O+"` of type "+("`"+R+"` supplied to `"+h+"`, expected a single ReactElement."))}return null}return $(s)}function l(){function s(d,g,h,E,O){var b=d[g];if(!e.isValidElementType(b)){var R=W(b);return new j("Invalid "+E+" `"+O+"` of type "+("`"+R+"` supplied to `"+h+"`, expected a single ReactElement type."))}return null}return $(s)}function U(s){function d(g,h,E,O,b){if(!(g[h]instanceof s)){var R=s.name||T,S=ue(g[h]);return new j("Invalid "+O+" `"+b+"` of type "+("`"+S+"` supplied to `"+E+"`, expected ")+("instance of `"+R+"`."))}return null}return $(d)}function G(s){if(!Array.isArray(s))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("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])."):o("Invalid argument supplied to oneOf, expected an array.")),a;function d(g,h,E,O,b){for(var R=g[h],S=0;S<s.length;S++)if(D(R,s[S]))return null;var w=JSON.stringify(s,function(q,f){var Y=H(f);return Y==="symbol"?String(f):f});return new j("Invalid "+O+" `"+b+"` of value `"+String(R)+"` "+("supplied to `"+E+"`, expected one of "+w+"."))}return $(d)}function Z(s){function d(g,h,E,O,b){if(typeof s!="function")return new j("Property `"+b+"` of component `"+E+"` has invalid PropType notation inside objectOf.");var R=g[h],S=W(R);if(S!=="object")return new j("Invalid "+O+" `"+b+"` of type "+("`"+S+"` supplied to `"+E+"`, expected an object."));for(var w in R)if(r(R,w)){var C=s(R,w,E,O,b+"."+w,n);if(C instanceof Error)return C}return null}return $(d)}function se(s){if(!Array.isArray(s))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var d=0;d<s.length;d++){var g=s[d];if(typeof g!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+B(g)+" at index "+d+"."),a}function h(E,O,b,R,S){for(var w=[],C=0;C<s.length;C++){var q=s[C],f=q(E,O,b,R,S,n);if(f==null)return null;f.data&&r(f.data,"expectedType")&&w.push(f.data.expectedType)}var Y=w.length>0?", expected one of type ["+w.join(", ")+"]":"";return new j("Invalid "+R+" `"+S+"` supplied to "+("`"+b+"`"+Y+"."))}return $(h)}function Q(){function s(d,g,h,E,O){return X(d[g])?null:new j("Invalid "+E+" `"+O+"` supplied to "+("`"+h+"`, expected a ReactNode."))}return $(s)}function ee(s,d,g,h,E){return new j((s||"React class")+": "+d+" type `"+g+"."+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+E+"`.")}function ne(s){function d(g,h,E,O,b){var R=g[h],S=W(R);if(S!=="object")return new j("Invalid "+O+" `"+b+"` of type `"+S+"` "+("supplied to `"+E+"`, expected `object`."));for(var w in s){var C=s[w];if(typeof C!="function")return ee(E,O,b,w,H(C));var q=C(R,w,E,O,b+"."+w,n);if(q)return q}return null}return $(d)}function re(s){function d(g,h,E,O,b){var R=g[h],S=W(R);if(S!=="object")return new j("Invalid "+O+" `"+b+"` of type `"+S+"` "+("supplied to `"+E+"`, expected `object`."));var w=t({},g[h],s);for(var C in w){var q=s[C];if(r(s,C)&&typeof q!="function")return ee(E,O,b,C,H(q));if(!q)return new j("Invalid "+O+" `"+b+"` key `"+C+"` supplied to `"+E+"`.\nBad object: "+JSON.stringify(g[h],null," ")+`
2
+ Valid keys: `+JSON.stringify(Object.keys(s),null," "));var f=q(R,C,E,O,b+"."+C,n);if(f)return f}return null}return $(d)}function X(s){switch(typeof s){case"number":case"string":case"undefined":return!0;case"boolean":return!s;case"object":if(Array.isArray(s))return s.every(X);if(s===null||u(s))return!0;var d=y(s);if(d){var g=d.call(s),h;if(d!==s.entries){for(;!(h=g.next()).done;)if(!X(h.value))return!1}else for(;!(h=g.next()).done;){var E=h.value;if(E&&!X(E[1]))return!1}}else return!1;return!0;default:return!1}}function ae(s,d){return s==="symbol"?!0:d?d["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&d instanceof Symbol:!1}function W(s){var d=typeof s;return Array.isArray(s)?"array":s instanceof RegExp?"object":ae(d,s)?"symbol":d}function H(s){if(typeof s>"u"||s===null)return""+s;var d=W(s);if(d==="object"){if(s instanceof Date)return"date";if(s instanceof RegExp)return"regexp"}return d}function B(s){var d=H(s);switch(d){case"array":case"object":return"an "+d;case"boolean":case"date":case"regexp":return"a "+d;default:return d}}function ue(s){return!s.constructor||!s.constructor.name?T:s.constructor.name}return M.checkPropTypes=i,M.resetWarningCache=i.resetWarningCache,M.PropTypes=M,M},qe}var Ue,gt;function Jn(){if(gt)return Ue;gt=1;var e=et();function t(){}function n(){}return n.resetWarningCache=t,Ue=function(){function r(a,u,p,m,v,y){if(y!==e){var T=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 T.name="Invariant Violation",T}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},Ue}var xt;function Zn(){if(xt)return je.exports;if(xt=1,process.env.NODE_ENV!=="production"){var e=Pt(),t=!0;je.exports=Xn()(e.isElement,t)}else je.exports=Jn()();return je.exports}var Qn=Zn();const x=K.getDefaultExportFromCjs(Qn),bt={disabled:!1};var er=process.env.NODE_ENV!=="production"?x.oneOfType([x.number,x.shape({enter:x.number,exit:x.number,appear:x.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&x.oneOfType([x.string,x.shape({enter:x.string,exit:x.string,active:x.string}),x.shape({enter:x.string,enterDone:x.string,enterActive:x.string,exit:x.string,exitDone:x.string,exitActive:x.string})]);const At=c.createContext(null);var tr=function(t){return t.scrollTop},xe="unmounted",ce="exited",oe="entering",le="entered",Xe="exiting",te=(function(e){zn(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,u=a&&!a.isMounting?r.enter:r.appear,p;return o.appearStatus=null,r.in?u?(p=ce,o.appearStatus=oe):p=le:r.unmountOnExit||r.mountOnEnter?p=xe:p=ce,o.state={status:p},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===xe?{status:ce}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==oe&&a!==le&&(o=oe):(a===oe||a===le)&&(o=Xe)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,u;return o=a=u=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,u=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:u}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===oe){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:he.findDOMNode(this);a&&tr(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ce&&this.setState({status:xe})},n.performEnter=function(i){var o=this,a=this.props.enter,u=this.context?this.context.isMounting:i,p=this.props.nodeRef?[u]:[he.findDOMNode(this),u],m=p[0],v=p[1],y=this.getTimeouts(),T=u?y.appear:y.enter;if(!i&&!a||bt.disabled){this.safeSetState({status:le},function(){o.props.onEntered(m)});return}this.props.onEnter(m,v),this.safeSetState({status:oe},function(){o.props.onEntering(m,v),o.onTransitionEnd(T,function(){o.safeSetState({status:le},function(){o.props.onEntered(m,v)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),u=this.props.nodeRef?void 0:he.findDOMNode(this);if(!o||bt.disabled){this.safeSetState({status:ce},function(){i.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:Xe},function(){i.props.onExiting(u),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:ce},function(){i.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(u){a&&(a=!1,o.nextCallback=null,i(u))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:he.findDOMNode(this),u=i==null&&!this.props.addEndListener;if(!a||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var p=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],m=p[0],v=p[1];this.props.addEndListener(m,v)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===xe)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var u=Yn(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return c.createElement(At.Provider,{value:null},typeof a=="function"?a(i,u):c.cloneElement(c.Children.only(a),u))},t})(c.Component);te.contextType=At;te.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:x.shape({current:typeof Element>"u"?x.any:function(e,t,n,r,i,o){var a=e[t];return x.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,o)}}),children:x.oneOfType([x.func.isRequired,x.element.isRequired]).isRequired,in:x.bool,mountOnEnter:x.bool,unmountOnExit:x.bool,appear:x.bool,enter:x.bool,exit:x.bool,timeout:function(t){var n=er;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return n.apply(void 0,[t].concat(i))},addEndListener:x.func,onEnter:x.func,onEntering:x.func,onEntered:x.func,onExit:x.func,onExiting:x.func,onExited:x.func}:{};function Ee(){}te.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ee,onEntering:Ee,onEntered:Ee,onExit:Ee,onExiting:Ee,onExited:Ee};te.UNMOUNTED=xe;te.EXITED=ce;te.ENTERING=oe;te.ENTERED=le;te.EXITING=Xe;function Rt(e,t){const n=fe(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function nr(e,t){const n=Rt(e,"transitionDuration"),r=Rt(e,"transitionDelay"),i=Ot(e,o=>{o.target===e&&(i(),t(o))},n+r)}function rr(e){e.offsetHeight}function Dt(e){return e&&"setState"in e?he.findDOMNode(e):e??null}const It=c.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,onExited:o,addEndListener:a,children:u,childRef:p,...m},v)=>{const y=c.useRef(null),T=Je(y,p),M=U=>{T(Dt(U))},D=U=>G=>{U&&y.current&&U(y.current,G)},j=c.useCallback(D(e),[e]),$=c.useCallback(D(t),[t]),F=c.useCallback(D(n),[n]),V=c.useCallback(D(r),[r]),L=c.useCallback(D(i),[i]),k=c.useCallback(D(o),[o]),l=c.useCallback(D(a),[a]);return A.jsxRuntimeExports.jsx(te,{ref:v,...m,onEnter:j,onEntered:F,onEntering:$,onExit:V,onExited:k,onExiting:L,addEndListener:l,nodeRef:y,children:typeof u=="function"?(U,G)=>u(U,{...G,ref:M}):c.cloneElement(u,{ref:M})})});It.displayName="TransitionWrapper";const or={[oe]:"show",[le]:"show"},Pe=z.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...i},o)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},u=c.useCallback((p,m)=>{rr(p),r?.(p,m)},[r]);return A.jsxRuntimeExports.jsx(It,{ref:o,addEndListener:nr,...a,onEnter:u,childRef:Te(t),children:(p,m)=>z.cloneElement(t,{...m,className:K.classNames("fade",e,t.props.className,or[p],n[p])})})});Pe.displayName="Fade";const ir=["xxl","xl","lg","md","sm","xs"],sr="xs",Ce=z.createContext({prefixes:{},breakpoints:ir,minBreakpoint:sr}),{Consumer:vr,Provider:Er}=Ce;function de(e,t){const{prefixes:n}=c.useContext(Ce);return e||n[t]||t}function ar(){const{breakpoints:e}=c.useContext(Ce);return e}function ur(){const{minBreakpoint:e}=c.useContext(Ce);return e}function Lt(){const{dir:e}=c.useContext(Ce);return e==="rtl"}const $t=z.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=de(t,"modal-body"),A.jsxRuntimeExports.jsx(n,{ref:i,className:K.classNames(e,t),...r})));$t.displayName="ModalBody";const Ft=z.createContext({onHide(){}}),tt=z.forwardRef(({bsPrefix:e,className:t,contentClassName:n,centered:r,size:i,fullscreen:o,children:a,scrollable:u,...p},m)=>{e=de(e,"modal");const v=`${e}-dialog`,y=typeof o=="string"?`${e}-fullscreen-${o}`:`${e}-fullscreen`;return A.jsxRuntimeExports.jsx("div",{...p,ref:m,className:K.classNames(v,t,i&&`${e}-${i}`,r&&`${v}-centered`,u&&`${v}-scrollable`,o&&y),children:A.jsxRuntimeExports.jsx("div",{className:K.classNames(`${e}-content`,n),children:a})})});tt.displayName="ModalDialog";const Bt=z.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=de(t,"modal-footer"),A.jsxRuntimeExports.jsx(n,{ref:i,className:K.classNames(e,t),...r})));Bt.displayName="ModalFooter";const cr={"aria-label":x.string,onClick:x.func,variant:x.oneOf(["white"])},nt=z.forwardRef(({className:e,variant:t,"aria-label":n="Close",...r},i)=>A.jsxRuntimeExports.jsx("button",{ref:i,type:"button",className:K.classNames("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...r}));nt.displayName="CloseButton";nt.propTypes=cr;const Wt=z.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:r,children:i,...o},a)=>{const u=c.useContext(Ft),p=_e(()=>{u?.onHide(),r?.()});return A.jsxRuntimeExports.jsxs("div",{ref:a,...o,children:[i,n&&A.jsxRuntimeExports.jsx(nt,{"aria-label":e,variant:t,onClick:p})]})});Wt.displayName="AbstractModalHeader";const qt=z.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...i},o)=>(e=de(e,"modal-header"),A.jsxRuntimeExports.jsx(Wt,{ref:o,...i,className:K.classNames(t,e),closeLabel:n,closeButton:r})));qt.displayName="ModalHeader";const lr=(e=>z.forwardRef((t,n)=>A.jsxRuntimeExports.jsx("div",{...t,ref:n,className:K.classNames(t.className,e)}))),fr=lr("h4"),Ut=z.forwardRef(({className:e,bsPrefix:t,as:n=fr,...r},i)=>(t=de(t,"modal-title"),A.jsxRuntimeExports.jsx(n,{ref:i,className:K.classNames(e,t),...r})));Ut.displayName="ModalTitle";function dr(e){return A.jsxRuntimeExports.jsx(Pe,{...e,timeout:null})}function pr(e){return A.jsxRuntimeExports.jsx(Pe,{...e,timeout:null})}const Yt=z.forwardRef(({bsPrefix:e,className:t,style:n,dialogClassName:r,contentClassName:i,children:o,dialogAs:a=tt,"data-bs-theme":u,"aria-labelledby":p,"aria-describedby":m,"aria-label":v,show:y=!1,animation:T=!0,backdrop:M=!0,keyboard:D=!0,onEscapeKeyDown:j,onShow:$,onHide:F,container:V,autoFocus:L=!0,enforceFocus:k=!0,restoreFocus:l=!0,restoreFocusOptions:U,onEntered:G,onExit:Z,onExiting:se,onEnter:Q,onEntering:ee,onExited:ne,backdropClassName:re,manager:X,...ae},W)=>{const[H,B]=c.useState({}),[ue,s]=c.useState(!1),d=c.useRef(!1),g=c.useRef(!1),h=c.useRef(null),[E,O]=Qt(),b=Je(W,O),R=_e(F),S=Lt();e=de(e,"modal");const w=c.useMemo(()=>({onHide:R}),[R]);function C(){return X||Un({isRTL:S})}function q(_){if(!ye)return;const pe=C().getScrollbarWidth()>0,ot=_.scrollHeight>Re(_).documentElement.clientHeight;B({paddingRight:pe&&!ot?it():void 0,paddingLeft:!pe&&ot?it():void 0})}const f=_e(()=>{E&&q(E.dialog)});Ct(()=>{He(window,"resize",f),h.current==null||h.current()});const Y=()=>{d.current=!0},J=_=>{d.current&&E&&_.target===E.dialog&&(g.current=!0),d.current=!1},I=()=>{s(!0),h.current=Ot(E.dialog,()=>{s(!1)})},Oe=_=>{_.target===_.currentTarget&&I()},ge=_=>{if(M==="static"){Oe(_);return}if(g.current||_.target!==_.currentTarget){g.current=!1;return}F?.()},zt=_=>{D?j?.(_):(_.preventDefault(),M==="static"&&I())},Ht=(_,pe)=>{_&&q(_),Q?.(_,pe)},Vt=_=>{h.current==null||h.current(),Z?.(_)},Gt=(_,pe)=>{ee?.(_,pe),Tt(window,"resize",f)},Kt=_=>{_&&(_.style.display=""),ne?.(_),He(window,"resize",f)},Xt=c.useCallback(_=>A.jsxRuntimeExports.jsx("div",{..._,className:K.classNames(`${e}-backdrop`,re,!T&&"show")}),[T,re,e]),rt={...n,...H};rt.display="block";const Jt=_=>A.jsxRuntimeExports.jsx("div",{role:"dialog",..._,style:rt,className:K.classNames(t,e,ue&&`${e}-static`,!T&&"show"),onClick:M?ge:void 0,onMouseUp:J,"data-bs-theme":u,"aria-label":v,"aria-labelledby":p,"aria-describedby":m,children:A.jsxRuntimeExports.jsx(a,{...ae,onMouseDown:Y,className:r,contentClassName:i,children:o})});return A.jsxRuntimeExports.jsx(Ft.Provider,{value:w,children:A.jsxRuntimeExports.jsx($n,{show:y,ref:b,backdrop:M,container:V,keyboard:!0,autoFocus:L,enforceFocus:k,restoreFocus:l,restoreFocusOptions:U,onEscapeKeyDown:zt,onShow:$,onHide:F,onEnter:Ht,onEntering:Gt,onEntered:G,onExit:Vt,onExiting:se,onExited:Kt,manager:C(),transition:T?dr:void 0,backdropTransition:T?pr:void 0,renderBackdrop:Xt,renderDialog:Jt})})});Yt.displayName="Modal";const mr=Object.assign(Yt,{Body:$t,Header:qt,Title:Ut,Footer:Bt,Dialog:tt,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150});exports.Fade=Pe;exports.Modal=mr;exports.PropTypes=x;exports.contains=Ve;exports.getChildRef=Te;exports.hasClass=Nt;exports.isEscKey=Mt;exports.listen=be;exports.ownerDocument=Re;exports.renderTransition=Ge;exports.safeFindDOMNode=Dt;exports.useBootstrapBreakpoints=ar;exports.useBootstrapMinBreakpoint=ur;exports.useBootstrapPrefix=de;exports.useEventCallback=ie;exports.useEventCallback$1=_e;exports.useIsRTL=Lt;exports.useMergedRefs=Ne;exports.useMergedRefs$1=Je;exports.useMounted=St;exports.useWaitForDOMRef=jt;exports.useWillUnmount=Ct;