signalpilot-ai-internal 0.10.0__py3-none-any.whl → 0.11.24__py3-none-any.whl

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 (85) hide show
  1. signalpilot_ai_internal/__init__.py +1 -0
  2. signalpilot_ai_internal/_version.py +1 -1
  3. signalpilot_ai_internal/cache_service.py +22 -21
  4. signalpilot_ai_internal/composio_handlers.py +224 -0
  5. signalpilot_ai_internal/composio_service.py +511 -0
  6. signalpilot_ai_internal/database_config_handlers.py +182 -0
  7. signalpilot_ai_internal/database_config_service.py +166 -0
  8. signalpilot_ai_internal/databricks_schema_service.py +907 -0
  9. signalpilot_ai_internal/file_scanner_service.py +5 -146
  10. signalpilot_ai_internal/handlers.py +388 -9
  11. signalpilot_ai_internal/integrations_config.py +256 -0
  12. signalpilot_ai_internal/log_utils.py +31 -0
  13. signalpilot_ai_internal/mcp_handlers.py +532 -0
  14. signalpilot_ai_internal/mcp_server_manager.py +298 -0
  15. signalpilot_ai_internal/mcp_service.py +1255 -0
  16. signalpilot_ai_internal/oauth_token_store.py +141 -0
  17. signalpilot_ai_internal/schema_search_config.yml +17 -11
  18. signalpilot_ai_internal/schema_search_service.py +85 -4
  19. signalpilot_ai_internal/signalpilot_home.py +961 -0
  20. signalpilot_ai_internal/snowflake_schema_service.py +2 -0
  21. signalpilot_ai_internal/test_dbt_mcp_server.py +180 -0
  22. signalpilot_ai_internal/unified_database_schema_service.py +2 -0
  23. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/schemas/signalpilot-ai-internal/package.json.orig → signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/package.json +15 -48
  24. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/package.json → signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/schemas/signalpilot-ai-internal/package.json.orig +9 -52
  25. {signalpilot_ai_internal-0.10.0.data → signalpilot_ai_internal-0.11.24.data}/data/share/jupyter/labextensions/signalpilot-ai-internal/schemas/signalpilot-ai-internal/plugin.json +7 -1
  26. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/122.bab318d6caadb055e29c.js +1 -0
  27. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/129.868ca665e6fc225c20a0.js +1 -0
  28. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/179.fd45a2e75d471d0aa3b9.js +7 -0
  29. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/220.81105a94aa873fc51a94.js +1 -0
  30. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/262.a002dd4630d3b6404a90.js +1 -0
  31. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/353.cc6f6ecacd703bcdb468.js +1 -0
  32. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/364.817a883549d55a0e0576.js +1 -0
  33. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/384.a4daecd44f1e9364e44a.js +1 -0
  34. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/439.667225aab294fb5ed161.js +1 -0
  35. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/447.8138af2522716e5a926f.js +1 -0
  36. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/476.925c73e32f3c07448da0.js +1 -0
  37. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/477.aaa4cc9e87801fb45f5b.js +1 -0
  38. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/481.370056149a59022b700c.js +1 -0
  39. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/510.868ca665e6fc225c20a0.js +1 -0
  40. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/512.835f97f7ccfc70ff5c93.js +1 -0
  41. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/57.6c13335f73de089d6b1e.js +1 -0
  42. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/574.ad2709e91ebcac5bbe68.js +1 -0
  43. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/635.bddbab8e464fe31f0393.js +1 -0
  44. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/713.fda1bcdb10497b0a6ade.js +1 -0
  45. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/741.d046701f475fcbf6697d.js +1 -0
  46. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/785.c306dffd4cfe8a613d13.js +1 -0
  47. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/801.e39898b6f336539f228c.js +1 -0
  48. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/880.77cc0ca10a1860df1b52.js +1 -0
  49. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/936.4e2850b2af985ed0d378.js +1 -0
  50. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/956.eeffe67d7781fd63ef4b.js +2 -0
  51. signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/remoteEntry.055f50d20a31f3068c72.js +1 -0
  52. {signalpilot_ai_internal-0.10.0.data → signalpilot_ai_internal-0.11.24.data}/data/share/jupyter/labextensions/signalpilot-ai-internal/static/third-party-licenses.json +47 -29
  53. {signalpilot_ai_internal-0.10.0.dist-info → signalpilot_ai_internal-0.11.24.dist-info}/METADATA +14 -31
  54. signalpilot_ai_internal-0.11.24.dist-info/RECORD +66 -0
  55. signalpilot_ai_internal-0.11.24.dist-info/licenses/LICENSE +7 -0
  56. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/122.e2dadf63dc64d7b5f1ee.js +0 -1
  57. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/220.328403b5545f268b95c6.js +0 -1
  58. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/262.726e1da31a50868cb297.js +0 -1
  59. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/330.af2e9cb5def5ae2b84d5.js +0 -1
  60. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/353.972abe1d2d66f083f9cc.js +0 -1
  61. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/364.dbec4c2dc12e7b050dcc.js +0 -1
  62. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/384.fa432bdb7fb6b1c95ad6.js +0 -1
  63. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/439.37e271d7a80336daabe2.js +0 -1
  64. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/476.ad22ccddd74ee306fb56.js +0 -1
  65. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/481.73c7a9290b7d35a8b9c1.js +0 -1
  66. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/512.b58fc0093d080b8ee61c.js +0 -1
  67. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/553.b4042a795c91d9ff71ef.js +0 -2
  68. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/57.e9acd2e1f9739037f1ab.js +0 -1
  69. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/635.9720593ee20b768da3ca.js +0 -1
  70. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/713.8e6edc9a965bdd578ca7.js +0 -1
  71. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/741.dc49867fafb03ea2ba4d.js +0 -1
  72. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/742.91e7b516c8699eea3373.js +0 -1
  73. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/785.2d75de1a8d2c3131a8db.js +0 -1
  74. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/786.770dc7bcab77e14cc135.js +0 -7
  75. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/801.ca9e114a30896b669a3c.js +0 -1
  76. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/880.25ddd15aca09421d3765.js +0 -1
  77. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/888.34054db17bcf6e87ec95.js +0 -1
  78. signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/remoteEntry.b05b2f0c9617ba28370d.js +0 -1
  79. signalpilot_ai_internal-0.10.0.dist-info/RECORD +0 -50
  80. signalpilot_ai_internal-0.10.0.dist-info/licenses/LICENSE +0 -29
  81. {signalpilot_ai_internal-0.10.0.data → signalpilot_ai_internal-0.11.24.data}/data/etc/jupyter/jupyter_server_config.d/signalpilot_ai.json +0 -0
  82. {signalpilot_ai_internal-0.10.0.data → signalpilot_ai_internal-0.11.24.data}/data/share/jupyter/labextensions/signalpilot-ai-internal/install.json +0 -0
  83. /signalpilot_ai_internal-0.10.0.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/553.b4042a795c91d9ff71ef.js.LICENSE.txt → /signalpilot_ai_internal-0.11.24.data/data/share/jupyter/labextensions/signalpilot-ai-internal/static/956.eeffe67d7781fd63ef4b.js.LICENSE.txt +0 -0
  84. {signalpilot_ai_internal-0.10.0.data → signalpilot_ai_internal-0.11.24.data}/data/share/jupyter/labextensions/signalpilot-ai-internal/static/style.js +0 -0
  85. {signalpilot_ai_internal-0.10.0.dist-info → signalpilot_ai_internal-0.11.24.dist-info}/WHEEL +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see 553.b4042a795c91d9ff71ef.js.LICENSE.txt */
2
- (self.webpackChunksignalpilot_ai_internal=self.webpackChunksignalpilot_ai_internal||[]).push([[553],{2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,s){if(s!==r){var i=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 i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9771:e=>{"use strict";e.exports=function(){}},20311:e=>{"use strict";e.exports=function(e,t,n,r,o,a,s,i){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,s,i],u=0;(l=new Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},21020:(e,t,n)=>{"use strict";var r=n(93345),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,a={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:a,_owner:i.current}}t.Fragment=a,t.jsx=c,t.jsxs=c},32485:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,a(n)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=s(t,n));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},34553:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Accordion:()=>$e,AccordionBody:()=>Ee,AccordionButton:()=>je,AccordionCollapse:()=>be,AccordionContext:()=>he,AccordionHeader:()=>Re,AccordionItem:()=>Pe,Alert:()=>lt,AlertHeading:()=>Ae,AlertLink:()=>Je,Anchor:()=>ct,Badge:()=>dt,Breadcrumb:()=>vt,BreadcrumbItem:()=>pt,Button:()=>xt,ButtonGroup:()=>gt,ButtonToolbar:()=>wt,Card:()=>zt,CardBody:()=>Nt,CardFooter:()=>jt,CardGroup:()=>Gt,CardHeader:()=>Pt,CardImg:()=>$t,CardImgOverlay:()=>Dt,CardLink:()=>Mt,CardSubtitle:()=>Bt,CardText:()=>Ht,CardTitle:()=>Wt,Carousel:()=>an,CarouselCaption:()=>Qt,CarouselItem:()=>tn,CloseButton:()=>st,Col:()=>cn,Collapse:()=>pe,Container:()=>dn,Dropdown:()=>Zo,DropdownButton:()=>na,DropdownDivider:()=>$o,DropdownHeader:()=>Do,DropdownItem:()=>Mo,DropdownItemText:()=>Ao,DropdownMenu:()=>Go,DropdownToggle:()=>Xo,Fade:()=>tt,Figure:()=>da,FigureCaption:()=>ca,FigureImage:()=>ia,FloatingLabel:()=>Fa,Form:()=>Ka,FormCheck:()=>wa,FormControl:()=>Na,FormFloating:()=>ja,FormGroup:()=>Ra,FormLabel:()=>Pa,FormSelect:()=>Da,FormText:()=>Ma,Image:()=>aa,InputGroup:()=>Ua,ListGroup:()=>ls,ListGroupItem:()=>ss,Modal:()=>Js,ModalBody:()=>Ls,ModalDialog:()=>Fs,ModalFooter:()=>_s,ModalHeader:()=>zs,ModalTitle:()=>qs,Nav:()=>oi,NavDropdown:()=>Li,NavItem:()=>ei,NavLink:()=>ni,Navbar:()=>Ii,NavbarBrand:()=>si,NavbarCollapse:()=>li,NavbarOffcanvas:()=>Ti,NavbarText:()=>Si,NavbarToggle:()=>ui,Offcanvas:()=>ki,OffcanvasBody:()=>hi,OffcanvasHeader:()=>wi,OffcanvasTitle:()=>Ci,OffcanvasToggling:()=>gi,Overlay:()=>Zi,OverlayTrigger:()=>Qi,PageItem:()=>tl,Pagination:()=>cl,Placeholder:()=>ml,PlaceholderButton:()=>fl,Popover:()=>Gi,PopoverBody:()=>Wi,PopoverHeader:()=>_i,ProgressBar:()=>bl,Ratio:()=>yl,Row:()=>El,SSRProvider:()=>kl,Spinner:()=>Cl,SplitButton:()=>Rl,Stack:()=>$l,Tab:()=>Xl,TabContainer:()=>Kl,TabContent:()=>Vl,TabPane:()=>Ul,Table:()=>Zl,Tabs:()=>tc,ThemeProvider:()=>j,Toast:()=>dc,ToastBody:()=>cc,ToastContainer:()=>mc,ToastHeader:()=>ic,ToggleButton:()=>xc,ToggleButtonGroup:()=>gc,Tooltip:()=>Xi,useAccordionButton:()=>Ne});var r=n(32485),o=n.n(r),a=n(93345),s=n.n(a);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(null,arguments)}function l(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var c=n(20311),u=n.n(c);function d(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function f(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}function p(e,t,n){var r=(0,a.useRef)(void 0!==e),o=(0,a.useState)(t),s=o[0],i=o[1],l=void 0!==e,c=r.current;return r.current=l,!l&&c&&s!==t&&i(t),[l?e:s,(0,a.useCallback)(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];n&&n.apply(void 0,[e].concat(r)),i(e)},[n])]}function m(e,t){return Object.keys(t).reduce(function(n,r){var o,a=n,s=a[d(r)],c=a[r],u=l(a,[d(r),r].map(f)),m=t[r],v=p(c,s,e[m]),h=v[0],x=v[1];return i({},u,((o={})[r]=h,o[m]=x,o))},e)}var v=n(74848);const h=["xxl","xl","lg","md","sm","xs"],x="xs",b=a.createContext({prefixes:{},breakpoints:h,minBreakpoint:x}),{Consumer:g,Provider:y}=b;function w(e,t){const{prefixes:n}=(0,a.useContext)(b);return e||n[t]||t}function E(){const{breakpoints:e}=(0,a.useContext)(b);return e}function N(){const{minBreakpoint:e}=(0,a.useContext)(b);return e}function C(){const{dir:e}=(0,a.useContext)(b);return"rtl"===e}const j=function({prefixes:e={},breakpoints:t=h,minBreakpoint:n=x,dir:r,children:o}){const s=(0,a.useMemo)(()=>({prefixes:{...e},breakpoints:t,minBreakpoint:n,dir:r}),[e,t,n,r]);return(0,v.jsx)(y,{value:s,children:o})};function O(e){return e&&e.ownerDocument||document}var R=/([A-Z])/g,k=/^ms-/;function P(e){return function(e){return e.replace(R,"-$1").toLowerCase()}(e).replace(k,"-ms-")}var T=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const $=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(P(t))||function(e,t){return function(e){var t=O(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}(e).getPropertyValue(P(t));Object.keys(t).forEach(function(o){var a=t[o];a||0===a?function(e){return!(!e||!T.test(e))}(o)?r+=o+"("+a+") ":n+=P(o)+": "+a+";":e.style.removeProperty(P(o))}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n};function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}var D=n(7628),I=n.n(D);const M=s().createContext(null);var L="unmounted",A="exited",B="entering",F="entered",H="exiting",_=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=A,r.appearStatus=B):o=F:o=t.unmountOnExit||t.mountOnEnter?L:A,r.state={status:o},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,S(t,n),r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===L?{status:A}:null};var o=r.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==B&&n!==F&&(t=B):n!==B&&n!==F||(t=H)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===B){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:I().findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===A&&this.setState({status:L})},o.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[I().findDOMNode(this),r],a=o[0],s=o[1],i=this.getTimeouts(),l=r?i.appear:i.enter;e||n?(this.props.onEnter(a,s),this.safeSetState({status:B},function(){t.props.onEntering(a,s),t.onTransitionEnd(l,function(){t.safeSetState({status:F},function(){t.props.onEntered(a,s)})})})):this.safeSetState({status:F},function(){t.props.onEntered(a)})},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:I().findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:H},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:A},function(){e.props.onExited(r)})})})):this.safeSetState({status:A},function(){e.props.onExited(r)})},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:I().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],s=o[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===L)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,l(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s().createElement(M.Provider,{value:null},"function"==typeof n?n(e,r):s().cloneElement(s().Children.only(n),r))},r}(s().Component);function K(){}_.contextType=M,_.propTypes={},_.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:K,onEntering:K,onEntered:K,onExit:K,onExiting:K,onExited:K},_.UNMOUNTED=L,_.EXITED=A,_.ENTERING=B,_.ENTERED=F,_.EXITING=H;const W=_;function V(e){return"Escape"===e.code||27===e.keyCode}function z(e){if(!e||"function"==typeof e)return null;const{major:t}=function(){const e=a.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}();return t>=19?e.props.ref:e.ref}const U=!("undefined"==typeof window||!window.document||!window.document.createElement);var G=!1,q=!1;try{var X={get passive(){return G=!0},get once(){return q=G=!0}};U&&(window.addEventListener("test",X,X),window.removeEventListener("test",X,!0))}catch(e){}const Y=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!q){var o=r.once,a=r.capture,s=n;!q&&o&&(s=n.__once||function e(r){this.removeEventListener(t,e,a),n.call(this,r)},n.__once=s),e.addEventListener(t,s,G?r:a)}e.addEventListener(t,n,r)},Z=function(e,t,n,r){var o=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)},J=function(e,t,n,r){return Y(e,t,n,r),function(){Z(e,t,n,r)}};function Q(e,t,n,r){var o,a;null==n&&(a=-1===(o=$(e,"transitionDuration")||"").indexOf("ms")?1e3:1,n=parseFloat(o)*a||0);var s=function(e,t,n){void 0===n&&(n=5);var r=!1,o=setTimeout(function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent("transitionend",n,r),e.dispatchEvent(o)}}(e,0,!0)},t+n),a=J(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(o),a()}}(e,n,r),i=J(e,"transitionend",t);return function(){s(),i()}}function ee(e,t){const n=$(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function te(e,t){const n=ee(e,"transitionDuration"),r=ee(e,"transitionDelay"),o=Q(e,n=>{n.target===e&&(o(),t(n))},n+r)}const ne=function(...e){return e.filter(e=>null!=e).reduce((e,t)=>{if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(...n){e.apply(this,n),t.apply(this,n)}},null)};function re(e){e.offsetHeight}const oe=e=>e&&"function"!=typeof e?t=>{e.current=t}:e,ae=function(e,t){return(0,a.useMemo)(()=>function(e,t){const n=oe(e),r=oe(t);return e=>{n&&n(e),r&&r(e)}}(e,t),[e,t])};function se(e){return e&&"setState"in e?I().findDOMNode(e):null!=e?e:null}const ie=s().forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:o,onExited:i,addEndListener:l,children:c,childRef:u,...d},f)=>{const p=(0,a.useRef)(null),m=ae(p,u),h=e=>{m(se(e))},x=e=>t=>{e&&p.current&&e(p.current,t)},b=(0,a.useCallback)(x(e),[e]),g=(0,a.useCallback)(x(t),[t]),y=(0,a.useCallback)(x(n),[n]),w=(0,a.useCallback)(x(r),[r]),E=(0,a.useCallback)(x(o),[o]),N=(0,a.useCallback)(x(i),[i]),C=(0,a.useCallback)(x(l),[l]);return(0,v.jsx)(W,{ref:f,...d,onEnter:b,onEntered:y,onEntering:g,onExit:w,onExited:N,onExiting:E,addEndListener:C,nodeRef:p,children:"function"==typeof c?(e,t)=>c(e,{...t,ref:h}):s().cloneElement(c,{ref:h})})});ie.displayName="TransitionWrapper";const le=ie,ce={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function ue(e,t){const n=t[`offset${e[0].toUpperCase()}${e.slice(1)}`],r=ce[e];return n+parseInt($(t,r[0]),10)+parseInt($(t,r[1]),10)}const de={[A]:"collapse",[H]:"collapsing",[B]:"collapsing",[F]:"collapse show"},fe=s().forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,className:l,children:c,dimension:u="height",in:d=!1,timeout:f=300,mountOnEnter:p=!1,unmountOnExit:m=!1,appear:h=!1,getDimensionValue:x=ue,...b},g)=>{const y="function"==typeof u?u():u,w=(0,a.useMemo)(()=>ne(e=>{e.style[y]="0"},e),[y,e]),E=(0,a.useMemo)(()=>ne(e=>{const t=`scroll${y[0].toUpperCase()}${y.slice(1)}`;e.style[y]=`${e[t]}px`},t),[y,t]),N=(0,a.useMemo)(()=>ne(e=>{e.style[y]=null},n),[y,n]),C=(0,a.useMemo)(()=>ne(e=>{e.style[y]=`${x(y,e)}px`,re(e)},r),[r,x,y]),j=(0,a.useMemo)(()=>ne(e=>{e.style[y]=null},i),[y,i]);return(0,v.jsx)(le,{ref:g,addEndListener:te,...b,"aria-expanded":b.role?d:null,onEnter:w,onEntering:E,onEntered:N,onExit:C,onExiting:j,childRef:z(c),in:d,timeout:f,mountOnEnter:p,unmountOnExit:m,appear:h,children:(e,t)=>s().cloneElement(c,{...t,className:o()(l,c.props.className,de[e],"width"===y&&"collapse-horizontal")})})});fe.displayName="Collapse";const pe=fe;function me(e,t){return Array.isArray(e)?e.includes(t):e===t}const ve=a.createContext({});ve.displayName="AccordionContext";const he=ve,xe=a.forwardRef(({as:e="div",bsPrefix:t,className:n,children:r,eventKey:s,...i},l)=>{const{activeEventKey:c}=(0,a.useContext)(he);return t=w(t,"accordion-collapse"),(0,v.jsx)(pe,{ref:l,in:me(c,s),...i,className:o()(n,t),children:(0,v.jsx)(e,{children:a.Children.only(r)})})});xe.displayName="AccordionCollapse";const be=xe,ge=a.createContext({eventKey:""});ge.displayName="AccordionItemContext";const ye=ge,we=a.forwardRef(({as:e="div",bsPrefix:t,className:n,onEnter:r,onEntering:s,onEntered:i,onExit:l,onExiting:c,onExited:u,...d},f)=>{t=w(t,"accordion-body");const{eventKey:p}=(0,a.useContext)(ye);return(0,v.jsx)(be,{eventKey:p,onEnter:r,onEntering:s,onEntered:i,onExit:l,onExiting:c,onExited:u,children:(0,v.jsx)(e,{ref:f,...d,className:o()(n,t)})})});we.displayName="AccordionBody";const Ee=we;function Ne(e,t){const{activeEventKey:n,onSelect:r,alwaysOpen:o}=(0,a.useContext)(he);return a=>{let s=e===n?null:e;o&&(s=Array.isArray(n)?n.includes(e)?n.filter(t=>t!==e):[...n,e]:[e]),null==r||r(s,a),null==t||t(a)}}const Ce=a.forwardRef(({as:e="button",bsPrefix:t,className:n,onClick:r,...s},i)=>{t=w(t,"accordion-button");const{eventKey:l}=(0,a.useContext)(ye),c=Ne(l,r),{activeEventKey:u}=(0,a.useContext)(he);return"button"===e&&(s.type="button"),(0,v.jsx)(e,{ref:i,onClick:c,...s,"aria-expanded":Array.isArray(u)?u.includes(l):l===u,className:o()(n,t,!me(u,l)&&"collapsed")})});Ce.displayName="AccordionButton";const je=Ce,Oe=a.forwardRef(({as:e="h2","aria-controls":t,bsPrefix:n,className:r,children:a,onClick:s,...i},l)=>(n=w(n,"accordion-header"),(0,v.jsx)(e,{ref:l,...i,className:o()(r,n),children:(0,v.jsx)(je,{onClick:s,"aria-controls":t,children:a})})));Oe.displayName="AccordionHeader";const Re=Oe,ke=a.forwardRef(({as:e="div",bsPrefix:t,className:n,eventKey:r,...s},i)=>{t=w(t,"accordion-item");const l=(0,a.useMemo)(()=>({eventKey:r}),[r]);return(0,v.jsx)(ye.Provider,{value:l,children:(0,v.jsx)(e,{ref:i,...s,className:o()(n,t)})})});ke.displayName="AccordionItem";const Pe=ke,Te=a.forwardRef((e,t)=>{const{as:n="div",activeKey:r,bsPrefix:s,className:i,onSelect:l,flush:c,alwaysOpen:u,...d}=m(e,{activeKey:"onSelect"}),f=w(s,"accordion"),p=(0,a.useMemo)(()=>({activeEventKey:r,onSelect:l,alwaysOpen:u}),[r,l,u]);return(0,v.jsx)(he.Provider,{value:p,children:(0,v.jsx)(n,{ref:t,...d,className:o()(i,f,c&&`${f}-flush`)})})});Te.displayName="Accordion";const $e=Object.assign(Te,{Button:je,Collapse:be,Item:Pe,Header:Re,Body:Ee}),Se=function(e){const t=(0,a.useRef)(e);return(0,a.useEffect)(()=>{t.current=e},[e]),t};function De(e){const t=Se(e);return(0,a.useCallback)(function(...e){return t.current&&t.current(...e)},[t])}const Ie=e=>a.forwardRef((t,n)=>(0,v.jsx)("div",{...t,ref:n,className:o()(t.className,e)})),Me=Ie("h4");Me.displayName="DivStyledAsH4";const Le=a.forwardRef(({className:e,bsPrefix:t,as:n=Me,...r},a)=>(t=w(t,"alert-heading"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Le.displayName="AlertHeading";const Ae=Le;function Be(){return(0,a.useState)(null)}function Fe(e){const t=function(e){const t=(0,a.useRef)(e);return(0,a.useEffect)(()=>{t.current=e},[e]),t}(e);return(0,a.useCallback)(function(...e){return t.current&&t.current(...e)},[t])}function He(){const e=(0,a.useRef)(!0),t=(0,a.useRef)(()=>e.current);return(0,a.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function _e(e){const t=(0,a.useRef)(null);return(0,a.useEffect)(()=>{t.current=e}),t.current}const Ke=void 0!==n.g&&n.g.navigator&&"ReactNative"===n.g.navigator.product,We="undefined"!=typeof document||Ke?a.useLayoutEffect:a.useEffect;new WeakMap;const Ve=["as","disabled"];function ze({tagName:e,disabled:t,href:n,target:r,rel:o,role:a,onClick:s,tabIndex:i=0,type:l}){e||(e=null!=n||null!=r||null!=o?"a":"button");const c={tagName:e};if("button"===e)return[{type:l||"button",disabled:t},c];const u=r=>{(t||"a"===e&&function(e){return!e||"#"===e.trim()}(n))&&r.preventDefault(),t?r.stopPropagation():null==s||s(r)};return"a"===e&&(n||(n="#"),t&&(n=void 0)),[{role:null!=a?a:"button",disabled:void 0,tabIndex:t?void 0:i,href:n,target:"a"===e?r:void 0,"aria-disabled":t||void 0,rel:"a"===e?o:void 0,onClick:u,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),u(e))}},c]}const Ue=a.forwardRef((e,t)=>{let{as:n,disabled:r}=e,o=function(e,t){if(null==e)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}(e,Ve);const[a,{tagName:s}]=ze(Object.assign({tagName:n,disabled:r},o));return(0,v.jsx)(s,Object.assign({},o,a,{ref:t}))});Ue.displayName="Button";const Ge=Ue,qe=["onKeyDown"],Xe=a.forwardRef((e,t)=>{let{onKeyDown:n}=e,r=function(e,t){if(null==e)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}(e,qe);const[o]=ze(Object.assign({tagName:"a"},r)),a=Fe(e=>{o.onKeyDown(e),null==n||n(e)});return(s=r.href)&&"#"!==s.trim()&&"button"!==r.role?(0,v.jsx)("a",Object.assign({ref:t},r,{onKeyDown:n})):(0,v.jsx)("a",Object.assign({ref:t},r,o,{onKeyDown:a}));var s});Xe.displayName="Anchor";const Ye=Xe,Ze=a.forwardRef(({className:e,bsPrefix:t,as:n=Ye,...r},a)=>(t=w(t,"alert-link"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Ze.displayName="AlertLink";const Je=Ze,Qe={[B]:"show",[F]:"show"},et=a.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...s},i)=>{const l={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...s},c=(0,a.useCallback)((e,t)=>{re(e),null==r||r(e,t)},[r]);return(0,v.jsx)(le,{ref:i,addEndListener:te,...l,onEnter:c,childRef:z(t),children:(r,s)=>a.cloneElement(t,{...s,className:o()("fade",e,t.props.className,Qe[r],n[r])})})});et.displayName="Fade";const tt=et;var nt=n(5556),rt=n.n(nt);const ot={"aria-label":rt().string,onClick:rt().func,variant:rt().oneOf(["white"])},at=a.forwardRef(({className:e,variant:t,"aria-label":n="Close",...r},a)=>(0,v.jsx)("button",{ref:a,type:"button",className:o()("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...r}));at.displayName="CloseButton",at.propTypes=ot;const st=at,it=a.forwardRef((e,t)=>{const{bsPrefix:n,show:r=!0,closeLabel:a="Close alert",closeVariant:s,className:i,children:l,variant:c="primary",onClose:u,dismissible:d,transition:f=tt,...p}=m(e,{show:"onClose"}),h=w(n,"alert"),x=De(e=>{u&&u(!1,e)}),b=!0===f?tt:f,g=(0,v.jsxs)("div",{role:"alert",...b?void 0:p,ref:t,className:o()(i,h,c&&`${h}-${c}`,d&&`${h}-dismissible`),children:[d&&(0,v.jsx)(st,{onClick:x,"aria-label":a,variant:s}),l]});return b?(0,v.jsx)(b,{unmountOnExit:!0,...p,ref:void 0,in:r,children:g}):r?g:null});it.displayName="Alert";const lt=Object.assign(it,{Link:Je,Heading:Ae}),ct=Ye,ut=a.forwardRef(({bsPrefix:e,bg:t="primary",pill:n=!1,text:r,className:a,as:s="span",...i},l)=>{const c=w(e,"badge");return(0,v.jsx)(s,{ref:l,...i,className:o()(a,c,n&&"rounded-pill",r&&`text-${r}`,t&&`bg-${t}`)})});ut.displayName="Badge";const dt=ut,ft=a.forwardRef(({bsPrefix:e,active:t=!1,children:n,className:r,as:a="li",linkAs:s=Ye,linkProps:i={},href:l,title:c,target:u,...d},f)=>{const p=w(e,"breadcrumb-item");return(0,v.jsx)(a,{ref:f,...d,className:o()(p,r,{active:t}),"aria-current":t?"page":void 0,children:t?n:(0,v.jsx)(s,{...i,href:l,title:c,target:u,children:n})})});ft.displayName="BreadcrumbItem";const pt=ft,mt=a.forwardRef(({bsPrefix:e,className:t,listProps:n={},children:r,label:a="breadcrumb",as:s="nav",...i},l)=>{const c=w(e,"breadcrumb");return(0,v.jsx)(s,{"aria-label":a,className:t,ref:l,...i,children:(0,v.jsx)("ol",{...n,className:o()(c,null==n?void 0:n.className),children:r})})});mt.displayName="Breadcrumb";const vt=Object.assign(mt,{Item:pt}),ht=a.forwardRef(({as:e,bsPrefix:t,variant:n="primary",size:r,active:a=!1,disabled:s=!1,className:i,...l},c)=>{const u=w(t,"btn"),[d,{tagName:f}]=ze({tagName:e,disabled:s,...l}),p=f;return(0,v.jsx)(p,{...d,...l,ref:c,disabled:s,className:o()(i,u,a&&"active",n&&`${u}-${n}`,r&&`${u}-${r}`,l.href&&s&&"disabled")})});ht.displayName="Button";const xt=ht,bt=a.forwardRef(({bsPrefix:e,size:t,vertical:n=!1,className:r,role:a="group",as:s="div",...i},l)=>{const c=w(e,"btn-group");let u=c;return n&&(u=`${c}-vertical`),(0,v.jsx)(s,{...i,ref:l,role:a,className:o()(r,u,t&&`${c}-${t}`)})});bt.displayName="ButtonGroup";const gt=bt,yt=a.forwardRef(({bsPrefix:e,className:t,role:n="toolbar",...r},a)=>{const s=w(e,"btn-toolbar");return(0,v.jsx)("div",{...r,ref:a,className:o()(t,s),role:n})});yt.displayName="ButtonToolbar";const wt=yt,Et=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"card-body"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Et.displayName="CardBody";const Nt=Et,Ct=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"card-footer"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Ct.displayName="CardFooter";const jt=Ct,Ot=a.createContext(null);Ot.displayName="CardHeaderContext";const Rt=Ot,kt=a.forwardRef(({bsPrefix:e,className:t,as:n="div",...r},s)=>{const i=w(e,"card-header"),l=(0,a.useMemo)(()=>({cardHeaderBsPrefix:i}),[i]);return(0,v.jsx)(Rt.Provider,{value:l,children:(0,v.jsx)(n,{ref:s,...r,className:o()(t,i)})})});kt.displayName="CardHeader";const Pt=kt,Tt=a.forwardRef(({bsPrefix:e,className:t,variant:n,as:r="img",...a},s)=>{const i=w(e,"card-img");return(0,v.jsx)(r,{ref:s,className:o()(n?`${i}-${n}`:i,t),...a})});Tt.displayName="CardImg";const $t=Tt,St=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"card-img-overlay"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));St.displayName="CardImgOverlay";const Dt=St,It=a.forwardRef(({className:e,bsPrefix:t,as:n="a",...r},a)=>(t=w(t,"card-link"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));It.displayName="CardLink";const Mt=It,Lt=Ie("h6"),At=a.forwardRef(({className:e,bsPrefix:t,as:n=Lt,...r},a)=>(t=w(t,"card-subtitle"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));At.displayName="CardSubtitle";const Bt=At,Ft=a.forwardRef(({className:e,bsPrefix:t,as:n="p",...r},a)=>(t=w(t,"card-text"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Ft.displayName="CardText";const Ht=Ft,_t=Ie("h5"),Kt=a.forwardRef(({className:e,bsPrefix:t,as:n=_t,...r},a)=>(t=w(t,"card-title"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Kt.displayName="CardTitle";const Wt=Kt,Vt=a.forwardRef(({bsPrefix:e,className:t,bg:n,text:r,border:a,body:s=!1,children:i,as:l="div",...c},u)=>{const d=w(e,"card");return(0,v.jsx)(l,{ref:u,...c,className:o()(t,d,n&&`bg-${n}`,r&&`text-${r}`,a&&`border-${a}`),children:s?(0,v.jsx)(Nt,{children:i}):i})});Vt.displayName="Card";const zt=Object.assign(Vt,{Img:$t,Title:Wt,Subtitle:Bt,Body:Nt,Link:Mt,Text:Ht,Header:Pt,Footer:jt,ImgOverlay:Dt}),Ut=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"card-group"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Ut.displayName="CardGroup";const Gt=Ut;function qt(e){const t=function(e){const t=(0,a.useRef)(e);return t.current=e,t}(e);(0,a.useEffect)(()=>()=>t.current(),[])}const Xt=2**31-1;function Yt(e,t,n){const r=n-Date.now();e.current=r<=Xt?setTimeout(t,r):setTimeout(()=>Yt(e,t,n),Xt)}function Zt(){const e=function(){const e=(0,a.useRef)(!0),t=(0,a.useRef)(()=>e.current);return(0,a.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}(),t=(0,a.useRef)();return qt(()=>clearTimeout(t.current)),(0,a.useMemo)(()=>{const n=()=>clearTimeout(t.current);return{set:function(r,o=0){e()&&(n(),o<=Xt?t.current=setTimeout(r,o):Yt(t,r,Date.now()+o))},clear:n,handleRef:t}},[])}const Jt=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"carousel-caption"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Jt.displayName="CarouselCaption";const Qt=Jt,en=a.forwardRef(({as:e="div",bsPrefix:t,className:n,...r},a)=>{const s=o()(n,w(t,"carousel-item"));return(0,v.jsx)(e,{ref:a,...r,className:s})});en.displayName="CarouselItem";const tn=en;function nn(e,t){let n=0;return a.Children.map(e,e=>a.isValidElement(e)?t(e,n++):e)}function rn(e,t){let n=0;a.Children.forEach(e,e=>{a.isValidElement(e)&&t(e,n++)})}const on=a.forwardRef(({defaultActiveIndex:e=0,...t},n)=>{const{as:r="div",bsPrefix:s,slide:i=!0,fade:l=!1,controls:c=!0,indicators:u=!0,indicatorLabels:d=[],activeIndex:f,onSelect:p,onSlide:h,onSlid:x,interval:b=5e3,keyboard:g=!0,onKeyDown:y,pause:E="hover",onMouseOver:N,onMouseOut:j,wrap:O=!0,touch:R=!0,onTouchStart:k,onTouchMove:P,onTouchEnd:T,prevIcon:$=(0,v.jsx)("span",{"aria-hidden":"true",className:"carousel-control-prev-icon"}),prevLabel:S="Previous",nextIcon:D=(0,v.jsx)("span",{"aria-hidden":"true",className:"carousel-control-next-icon"}),nextLabel:I="Next",variant:M,className:L,children:A,...B}=m({defaultActiveIndex:e,...t},{activeIndex:"onSelect"}),F=w(s,"carousel"),H=C(),_=(0,a.useRef)(null),[K,W]=(0,a.useState)("next"),[V,z]=(0,a.useState)(!1),[U,G]=(0,a.useState)(!1),[q,X]=(0,a.useState)(f||0);(0,a.useEffect)(()=>{U||f===q||(_.current?W(_.current):W((f||0)>q?"next":"prev"),i&&G(!0),X(f||0))},[f,U,q,i]),(0,a.useEffect)(()=>{_.current&&(_.current=null)});let Y,Z=0;rn(A,(e,t)=>{++Z,t===f&&(Y=e.props.interval)});const J=Se(Y),Q=(0,a.useCallback)(e=>{if(U)return;let t=q-1;if(t<0){if(!O)return;t=Z-1}_.current="prev",null==p||p(t,e)},[U,q,p,O,Z]),ee=De(e=>{if(U)return;let t=q+1;if(t>=Z){if(!O)return;t=0}_.current="next",null==p||p(t,e)}),ne=(0,a.useRef)();(0,a.useImperativeHandle)(n,()=>({element:ne.current,prev:Q,next:ee}));const oe=De(()=>{!document.hidden&&function(e){if(!(e&&e.style&&e.parentNode&&e.parentNode.style))return!1;const t=getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility&&"none"!==getComputedStyle(e.parentNode).display}(ne.current)&&(H?Q():ee())}),ae="next"===K?"start":"end";!function(e,t){const n=(0,a.useRef)(!0);(0,a.useEffect)(()=>{if(!n.current)return e();n.current=!1},t)}(()=>{i||(null==h||h(q,ae),null==x||x(q,ae))},[q]);const se=`${F}-item-${K}`,ie=`${F}-item-${ae}`,ce=(0,a.useCallback)(e=>{re(e),null==h||h(q,ae)},[h,q,ae]),ue=(0,a.useCallback)(()=>{G(!1),null==x||x(q,ae)},[x,q,ae]),de=(0,a.useCallback)(e=>{if(g&&!/input|textarea/i.test(e.target.tagName))switch(e.key){case"ArrowLeft":return e.preventDefault(),void(H?ee(e):Q(e));case"ArrowRight":return e.preventDefault(),void(H?Q(e):ee(e))}null==y||y(e)},[g,y,Q,ee,H]),fe=(0,a.useCallback)(e=>{"hover"===E&&z(!0),null==N||N(e)},[E,N]),pe=(0,a.useCallback)(e=>{z(!1),null==j||j(e)},[j]),me=(0,a.useRef)(0),ve=(0,a.useRef)(0),he=Zt(),xe=(0,a.useCallback)(e=>{me.current=e.touches[0].clientX,ve.current=0,"hover"===E&&z(!0),null==k||k(e)},[E,k]),be=(0,a.useCallback)(e=>{e.touches&&e.touches.length>1?ve.current=0:ve.current=e.touches[0].clientX-me.current,null==P||P(e)},[P]),ge=(0,a.useCallback)(e=>{if(R){const t=ve.current;Math.abs(t)>40&&(t>0?Q(e):ee(e))}"hover"===E&&he.set(()=>{z(!1)},b||void 0),null==T||T(e)},[R,E,Q,ee,he,b,T]),ye=null!=b&&!V&&!U,we=(0,a.useRef)();(0,a.useEffect)(()=>{var e,t;if(!ye)return;const n=H?Q:ee;return we.current=window.setInterval(document.visibilityState?oe:n,null!=(e=null!=(t=J.current)?t:b)?e:void 0),()=>{null!==we.current&&clearInterval(we.current)}},[ye,Q,ee,J,b,oe,H]);const Ee=(0,a.useMemo)(()=>u&&Array.from({length:Z},(e,t)=>e=>{null==p||p(t,e)}),[u,Z,p]);return(0,v.jsxs)(r,{ref:ne,...B,onKeyDown:de,onMouseOver:fe,onMouseOut:pe,onTouchStart:xe,onTouchMove:be,onTouchEnd:ge,className:o()(L,F,i&&"slide",l&&`${F}-fade`,M&&`${F}-${M}`),children:[u&&(0,v.jsx)("div",{className:`${F}-indicators`,children:nn(A,(e,t)=>(0,v.jsx)("button",{type:"button","data-bs-target":"","aria-label":null!=d&&d.length?d[t]:`Slide ${t+1}`,className:t===q?"active":void 0,onClick:Ee?Ee[t]:void 0,"aria-current":t===q},t))}),(0,v.jsx)("div",{className:`${F}-inner`,children:nn(A,(e,t)=>{const n=t===q;return i?(0,v.jsx)(le,{in:n,onEnter:n?ce:void 0,onEntered:n?ue:void 0,addEndListener:te,children:(t,r)=>a.cloneElement(e,{...r,className:o()(e.props.className,n&&"entered"!==t&&se,("entered"===t||"exiting"===t)&&"active",("entering"===t||"exiting"===t)&&ie)})}):a.cloneElement(e,{className:o()(e.props.className,n&&"active")})})}),c&&(0,v.jsxs)(v.Fragment,{children:[(O||0!==f)&&(0,v.jsxs)(Ye,{className:`${F}-control-prev`,onClick:Q,children:[$,S&&(0,v.jsx)("span",{className:"visually-hidden",children:S})]}),(O||f!==Z-1)&&(0,v.jsxs)(Ye,{className:`${F}-control-next`,onClick:ee,children:[D,I&&(0,v.jsx)("span",{className:"visually-hidden",children:I})]})]})]})});on.displayName="Carousel";const an=Object.assign(on,{Caption:Qt,Item:tn});function sn({as:e,bsPrefix:t,className:n,...r}){t=w(t,"col");const a=E(),s=N(),i=[],l=[];return a.forEach(e=>{const n=r[e];let o,a,c;delete r[e],"object"==typeof n&&null!=n?({span:o,offset:a,order:c}=n):o=n;const u=e!==s?`-${e}`:"";o&&i.push(!0===o?`${t}${u}`:`${t}${u}-${o}`),null!=c&&l.push(`order${u}-${c}`),null!=a&&l.push(`offset${u}-${a}`)}),[{...r,className:o()(n,...i,...l)},{as:e,bsPrefix:t,spans:i}]}const ln=a.forwardRef((e,t)=>{const[{className:n,...r},{as:a="div",bsPrefix:s,spans:i}]=sn(e);return(0,v.jsx)(a,{...r,ref:t,className:o()(n,!i.length&&s)})});ln.displayName="Col";const cn=ln,un=a.forwardRef(({bsPrefix:e,fluid:t=!1,as:n="div",className:r,...a},s)=>{const i=w(e,"container"),l="string"==typeof t?`-${t}`:"-fluid";return(0,v.jsx)(n,{ref:s,...a,className:o()(r,t?`${i}${l}`:i)})});un.displayName="Container";const dn=un;var fn=Function.prototype.bind.call(Function.prototype.call,[].slice);function pn(e,t){return fn(e.querySelectorAll(t))}function mn(e,t,n){const r=(0,a.useRef)(void 0!==e),[o,s]=(0,a.useState)(t),i=void 0!==e,l=r.current;return r.current=i,!i&&l&&o!==t&&s(t),[i?e:o,(0,a.useCallback)((...e)=>{const[t,...r]=e;let o=null==n?void 0:n(t,...r);return s(t),o},[n])]}function vn(){const[,e]=(0,a.useReducer)(e=>e+1,0);return e}const hn=a.createContext(null);var xn=Object.prototype.hasOwnProperty;function bn(e,t,n){for(n of e.keys())if(gn(n,t))return n}function gn(e,t){var n,r,o;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&gn(e[r],t[r]););return-1===r}if(n===Set){if(e.size!==t.size)return!1;for(r of e){if((o=r)&&"object"==typeof o&&!(o=bn(t,o)))return!1;if(!t.has(o))return!1}return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e){if((o=r[0])&&"object"==typeof o&&!(o=bn(t,o)))return!1;if(!gn(r[1],t.get(o)))return!1}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return-1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}if(!n||"object"==typeof e){for(n in r=0,e){if(xn.call(e,n)&&++r&&!xn.call(t,n))return!1;if(!(n in t)||!gn(e[n],t[n]))return!1}return Object.keys(t).length===r}}return e!=e&&t!=t}function yn(e){return e.split("-")[0]}function wn(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function En(e){return e instanceof wn(e).Element||e instanceof Element}function Nn(e){return e instanceof wn(e).HTMLElement||e instanceof HTMLElement}function Cn(e){return"undefined"!=typeof ShadowRoot&&(e instanceof wn(e).ShadowRoot||e instanceof ShadowRoot)}var jn=Math.max,On=Math.min,Rn=Math.round;function kn(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Pn(){return!/^((?!chrome|android).)*safari/i.test(kn())}function Tn(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Nn(e)&&(o=e.offsetWidth>0&&Rn(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Rn(r.height)/e.offsetHeight||1);var s=(En(e)?wn(e):window).visualViewport,i=!Pn()&&n,l=(r.left+(i&&s?s.offsetLeft:0))/o,c=(r.top+(i&&s?s.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function $n(e){var t=Tn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Sn(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Cn(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Dn(e){return e?(e.nodeName||"").toLowerCase():null}function In(e){return wn(e).getComputedStyle(e)}function Mn(e){return["table","td","th"].indexOf(Dn(e))>=0}function Ln(e){return((En(e)?e.ownerDocument:e.document)||window.document).documentElement}function An(e){return"html"===Dn(e)?e:e.assignedSlot||e.parentNode||(Cn(e)?e.host:null)||Ln(e)}function Bn(e){return Nn(e)&&"fixed"!==In(e).position?e.offsetParent:null}function Fn(e){for(var t=wn(e),n=Bn(e);n&&Mn(n)&&"static"===In(n).position;)n=Bn(n);return n&&("html"===Dn(n)||"body"===Dn(n)&&"static"===In(n).position)?t:n||function(e){var t=/firefox/i.test(kn());if(/Trident/i.test(kn())&&Nn(e)&&"fixed"===In(e).position)return null;var n=An(e);for(Cn(n)&&(n=n.host);Nn(n)&&["html","body"].indexOf(Dn(n))<0;){var r=In(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Hn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _n(e,t,n){return jn(e,On(t,n))}function Kn(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Wn(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var Vn="top",zn="bottom",Un="right",Gn="left",qn="auto",Xn=[Vn,zn,Un,Gn],Yn="start",Zn="end",Jn="viewport",Qn="popper",er=Xn.reduce(function(e,t){return e.concat([t+"-"+Yn,t+"-"+Zn])},[]),tr=[].concat(Xn,[qn]).reduce(function(e,t){return e.concat([t,t+"-"+Yn,t+"-"+Zn])},[]),nr=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];const rr={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,i=yn(n.placement),l=Hn(i),c=[Gn,Un].indexOf(i)>=0?"height":"width";if(a&&s){var u=function(e,t){return Kn("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Wn(e,Xn))}(o.padding,n),d=$n(a),f="y"===l?Vn:Gn,p="y"===l?zn:Un,m=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],v=s[l]-n.rects.reference[l],h=Fn(a),x=h?"y"===l?h.clientHeight||0:h.clientWidth||0:0,b=m/2-v/2,g=u[f],y=x-d[c]-u[p],w=x/2-d[c]/2+b,E=_n(g,w,y),N=l;n.modifiersData[r]=((t={})[N]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Sn(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function or(e){return e.split("-")[1]}var ar={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sr(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,i=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=s.x,p=void 0===f?0:f,m=s.y,v=void 0===m?0:m,h="function"==typeof u?u({x:p,y:v}):{x:p,y:v};p=h.x,v=h.y;var x=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),g=Gn,y=Vn,w=window;if(c){var E=Fn(n),N="clientHeight",C="clientWidth";E===wn(n)&&"static"!==In(E=Ln(n)).position&&"absolute"===i&&(N="scrollHeight",C="scrollWidth"),(o===Vn||(o===Gn||o===Un)&&a===Zn)&&(y=zn,v-=(d&&E===w&&w.visualViewport?w.visualViewport.height:E[N])-r.height,v*=l?1:-1),o!==Gn&&(o!==Vn&&o!==zn||a!==Zn)||(g=Un,p-=(d&&E===w&&w.visualViewport?w.visualViewport.width:E[C])-r.width,p*=l?1:-1)}var j,O=Object.assign({position:i},c&&ar),R=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Rn(n*o)/o||0,y:Rn(r*o)/o||0}}({x:p,y:v},wn(n)):{x:p,y:v};return p=R.x,v=R.y,l?Object.assign({},O,((j={})[y]=b?"0":"",j[g]=x?"0":"",j.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+v+"px)":"translate3d("+p+"px, "+v+"px, 0)",j)):Object.assign({},O,((t={})[y]=b?v+"px":"",t[g]=x?p+"px":"",t.transform="",t))}const ir={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,s=void 0===a||a,i=n.roundOffsets,l=void 0===i||i,c={placement:yn(t.placement),variation:or(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,sr(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,sr(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var lr={passive:!0};const cr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,s=r.resize,i=void 0===s||s,l=wn(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(e){e.addEventListener("scroll",n.update,lr)}),i&&l.addEventListener("resize",n.update,lr),function(){a&&c.forEach(function(e){e.removeEventListener("scroll",n.update,lr)}),i&&l.removeEventListener("resize",n.update,lr)}},data:{}};var ur={left:"right",right:"left",bottom:"top",top:"bottom"};function dr(e){return e.replace(/left|right|bottom|top/g,function(e){return ur[e]})}var fr={start:"end",end:"start"};function pr(e){return e.replace(/start|end/g,function(e){return fr[e]})}function mr(e){var t=wn(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function vr(e){return Tn(Ln(e)).left+mr(e).scrollLeft}function hr(e){var t=In(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function xr(e){return["html","body","#document"].indexOf(Dn(e))>=0?e.ownerDocument.body:Nn(e)&&hr(e)?e:xr(An(e))}function br(e,t){var n;void 0===t&&(t=[]);var r=xr(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=wn(r),s=o?[a].concat(a.visualViewport||[],hr(r)?r:[]):r,i=t.concat(s);return o?i:i.concat(br(An(s)))}function gr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function yr(e,t,n){return t===Jn?gr(function(e,t){var n=wn(e),r=Ln(e),o=n.visualViewport,a=r.clientWidth,s=r.clientHeight,i=0,l=0;if(o){a=o.width,s=o.height;var c=Pn();(c||!c&&"fixed"===t)&&(i=o.offsetLeft,l=o.offsetTop)}return{width:a,height:s,x:i+vr(e),y:l}}(e,n)):En(t)?function(e,t){var n=Tn(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):gr(function(e){var t,n=Ln(e),r=mr(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=jn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=jn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),i=-r.scrollLeft+vr(e),l=-r.scrollTop;return"rtl"===In(o||n).direction&&(i+=jn(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:i,y:l}}(Ln(e)))}function wr(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?yn(o):null,s=o?or(o):null,i=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case Vn:t={x:i,y:n.y-r.height};break;case zn:t={x:i,y:n.y+n.height};break;case Un:t={x:n.x+n.width,y:l};break;case Gn:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?Hn(a):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case Yn:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Zn:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function Er(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,s=void 0===a?e.strategy:a,i=n.boundary,l=void 0===i?"clippingParents":i,c=n.rootBoundary,u=void 0===c?Jn:c,d=n.elementContext,f=void 0===d?Qn:d,p=n.altBoundary,m=void 0!==p&&p,v=n.padding,h=void 0===v?0:v,x=Kn("number"!=typeof h?h:Wn(h,Xn)),b=f===Qn?"reference":Qn,g=e.rects.popper,y=e.elements[m?b:f],w=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=br(An(e)),n=["absolute","fixed"].indexOf(In(e).position)>=0&&Nn(e)?Fn(e):e;return En(n)?t.filter(function(e){return En(e)&&Sn(e,n)&&"body"!==Dn(e)}):[]}(e):[].concat(t),a=[].concat(o,[n]),s=a[0],i=a.reduce(function(t,n){var o=yr(e,n,r);return t.top=jn(o.top,t.top),t.right=On(o.right,t.right),t.bottom=On(o.bottom,t.bottom),t.left=jn(o.left,t.left),t},yr(e,s,r));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(En(y)?y:y.contextElement||Ln(e.elements.popper),l,u,s),E=Tn(e.elements.reference),N=wr({reference:E,element:g,strategy:"absolute",placement:o}),C=gr(Object.assign({},g,N)),j=f===Qn?C:E,O={top:w.top-j.top+x.top,bottom:j.bottom-w.bottom+x.bottom,left:w.left-j.left+x.left,right:j.right-w.right+x.right},R=e.modifiersData.offset;if(f===Qn&&R){var k=R[o];Object.keys(O).forEach(function(e){var t=[Un,zn].indexOf(e)>=0?1:-1,n=[Vn,zn].indexOf(e)>=0?"y":"x";O[e]+=k[n]*t})}return O}const Nr={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,s=n.altAxis,i=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=void 0===p||p,v=n.allowedAutoPlacements,h=t.options.placement,x=yn(h),b=l||(x!==h&&m?function(e){if(yn(e)===qn)return[];var t=dr(e);return[pr(e),t,pr(t)]}(h):[dr(h)]),g=[h].concat(b).reduce(function(e,n){return e.concat(yn(n)===qn?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,s=n.padding,i=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?tr:l,u=or(r),d=u?i?er:er.filter(function(e){return or(e)===u}):Xn,f=d.filter(function(e){return c.indexOf(e)>=0});0===f.length&&(f=d);var p=f.reduce(function(t,n){return t[n]=Er(e,{placement:n,boundary:o,rootBoundary:a,padding:s})[yn(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:v}):n)},[]),y=t.rects.reference,w=t.rects.popper,E=new Map,N=!0,C=g[0],j=0;j<g.length;j++){var O=g[j],R=yn(O),k=or(O)===Yn,P=[Vn,zn].indexOf(R)>=0,T=P?"width":"height",$=Er(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),S=P?k?Un:Gn:k?zn:Vn;y[T]>w[T]&&(S=dr(S));var D=dr(S),I=[];if(a&&I.push($[R]<=0),i&&I.push($[S]<=0,$[D]<=0),I.every(function(e){return e})){C=O,N=!1;break}E.set(O,I)}if(N)for(var M=function(e){var t=g.find(function(t){var n=E.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},L=m?3:1;L>0&&"break"!==M(L);L--);t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Cr(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function jr(e){return[Vn,Un,zn,Gn].some(function(t){return e[t]>=0})}const Or={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,s=tr.reduce(function(e,n){return e[n]=function(e,t,n){var r=yn(e),o=[Gn,Vn].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=a[0],i=a[1];return s=s||0,i=(i||0)*o,[Gn,Un].indexOf(r)>=0?{x:i,y:s}:{x:s,y:i}}(n,t.rects,a),e},{}),i=s[t.placement],l=i.x,c=i.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}},Rr={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,s=n.altAxis,i=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,m=n.tetherOffset,v=void 0===m?0:m,h=Er(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),x=yn(t.placement),b=or(t.placement),g=!b,y=Hn(x),w="x"===y?"y":"x",E=t.modifiersData.popperOffsets,N=t.rects.reference,C=t.rects.popper,j="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,O="number"==typeof j?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(E){if(a){var P,T="y"===y?Vn:Gn,$="y"===y?zn:Un,S="y"===y?"height":"width",D=E[y],I=D+h[T],M=D-h[$],L=p?-C[S]/2:0,A=b===Yn?N[S]:C[S],B=b===Yn?-C[S]:-N[S],F=t.elements.arrow,H=p&&F?$n(F):{width:0,height:0},_=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=_[T],W=_[$],V=_n(0,N[S],H[S]),z=g?N[S]/2-L-V-K-O.mainAxis:A-V-K-O.mainAxis,U=g?-N[S]/2+L+V+W+O.mainAxis:B+V+W+O.mainAxis,G=t.elements.arrow&&Fn(t.elements.arrow),q=G?"y"===y?G.clientTop||0:G.clientLeft||0:0,X=null!=(P=null==R?void 0:R[y])?P:0,Y=D+U-X,Z=_n(p?On(I,D+z-X-q):I,D,p?jn(M,Y):M);E[y]=Z,k[y]=Z-D}if(i){var J,Q="x"===y?Vn:Gn,ee="x"===y?zn:Un,te=E[w],ne="y"===w?"height":"width",re=te+h[Q],oe=te-h[ee],ae=-1!==[Vn,Gn].indexOf(x),se=null!=(J=null==R?void 0:R[w])?J:0,ie=ae?re:te-N[ne]-C[ne]-se+O.altAxis,le=ae?te+N[ne]+C[ne]-se-O.altAxis:oe,ce=p&&ae?function(e,t,n){var r=_n(e,t,n);return r>n?n:r}(ie,te,le):_n(p?ie:re,te,p?le:oe);E[w]=ce,k[w]=ce-te}t.modifiersData[r]=k}},requiresIfExists:["offset"]};function kr(e,t,n){void 0===n&&(n=!1);var r,o,a=Nn(t),s=Nn(t)&&function(e){var t=e.getBoundingClientRect(),n=Rn(t.width)/e.offsetWidth||1,r=Rn(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=Ln(t),l=Tn(e,s,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==Dn(t)||hr(i))&&(c=(r=t)!==wn(r)&&Nn(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:mr(r)),Nn(t)?((u=Tn(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=vr(i))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Pr(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var Tr={placement:"bottom",modifiers:[],strategy:"absolute"};function $r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}const Sr=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Tr:o;return function(e,t,n){void 0===n&&(n=a);var o,s,i={placement:"bottom",orderedModifiers:[],options:Object.assign({},Tr,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:i,setOptions:function(n){var o="function"==typeof n?n(i.options):n;d(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:En(e)?br(e):e.contextElement?br(e.contextElement):[],popper:br(t)};var s,c,f=function(e){var t=Pr(e);return nr.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((s=[].concat(r,i.options.modifiers),c=s.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return i.orderedModifiers=f.filter(function(e){return e.enabled}),i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:i,name:t,instance:u,options:r});l.push(a||function(){})}}),u.update()},forceUpdate:function(){if(!c){var e=i.elements,t=e.reference,n=e.popper;if($r(t,n)){i.rects={reference:kr(t,Fn(n),"fixed"===i.options.strategy),popper:$n(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<i.orderedModifiers.length;r++)if(!0!==i.reset){var o=i.orderedModifiers[r],a=o.fn,s=o.options,l=void 0===s?{}:s,d=o.name;"function"==typeof a&&(i=a({state:i,options:l,name:d,instance:u})||i)}else i.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(i)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(o())})})),s}),destroy:function(){d(),c=!0}};if(!$r(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}({defaultModifiers:[{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,s=Er(t,{elementContext:"reference"}),i=Er(t,{altBoundary:!0}),l=Cr(s,r),c=Cr(i,o,a),u=jr(l),d=jr(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=wr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ir,cr,Or,Nr,Rr,rr]}),Dr=["enabled","placement","strategy","modifiers"],Ir={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},Mr={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:n}=e.elements;if("removeAttribute"in t){const e=(t.getAttribute("aria-describedby")||"").split(",").filter(e=>e.trim()!==n.id);e.length?t.setAttribute("aria-describedby",e.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:n,reference:r}=e.elements,o=null==(t=n.getAttribute("role"))?void 0:t.toLowerCase();if(n.id&&"tooltip"===o&&"setAttribute"in r){const e=r.getAttribute("aria-describedby");if(e&&-1!==e.split(",").indexOf(n.id))return;r.setAttribute("aria-describedby",e?`${e},${n.id}`:n.id)}}},Lr=[],Ar=function(e,t,n={}){let{enabled:r=!0,placement:o="bottom",strategy:s="absolute",modifiers:i=Lr}=n,l=function(e,t){if(null==e)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}(n,Dr);const c=(0,a.useRef)(i),u=(0,a.useRef)(),d=(0,a.useCallback)(()=>{var e;null==(e=u.current)||e.update()},[]),f=(0,a.useCallback)(()=>{var e;null==(e=u.current)||e.forceUpdate()},[]),[p,m]=function(e){const t=He();return[e[0],(0,a.useCallback)(n=>{if(t())return e[1](n)},[t,e[1]])]}((0,a.useState)({placement:o,update:d,forceUpdate:f,attributes:{},styles:{popper:{},arrow:{}}})),v=(0,a.useMemo)(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:e})=>{const t={},n={};Object.keys(e.elements).forEach(r=>{t[r]=e.styles[r],n[r]=e.attributes[r]}),m({state:e,styles:t,attributes:n,update:d,forceUpdate:f,placement:e.placement})}}),[d,f,m]),h=(0,a.useMemo)(()=>(gn(c.current,i)||(c.current=i),c.current),[i]);return(0,a.useEffect)(()=>{u.current&&r&&u.current.setOptions({placement:o,strategy:s,modifiers:[...h,v,Ir]})},[s,o,v,r,h]),(0,a.useEffect)(()=>{if(r&&null!=e&&null!=t)return u.current=Sr(e,t,Object.assign({},l,{placement:o,strategy:s,modifiers:[...h,Mr,v]})),()=>{null!=u.current&&(u.current.destroy(),u.current=void 0,m(e=>Object.assign({},e,{attributes:{},styles:{popper:{}}})))}},[r,e,t]),p};function Br(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}var Fr=n(9771),Hr=n.n(Fr);const _r=()=>{},Kr=e=>e&&("current"in e?e.current:e),Wr={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"},Vr=function(e,t=_r,{disabled:n,clickTrigger:r="click"}={}){const o=(0,a.useRef)(!1),s=(0,a.useRef)(!1),i=(0,a.useCallback)(t=>{const n=Kr(e);var r;Hr()(!!n,"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=!n||!!((r=t).metaKey||r.altKey||r.ctrlKey||r.shiftKey)||!function(e){return 0===e.button}(t)||!!Br(n,t.target)||s.current,s.current=!1},[e]),l=Fe(t=>{const n=Kr(e);n&&Br(n,t.target)?s.current=!0:s.current=!1}),c=Fe(e=>{o.current||t(e)});(0,a.useEffect)(()=>{var t,o;if(n||null==e)return;const a=O(Kr(e)),s=a.defaultView||window;let u=null!=(t=s.event)?t:null==(o=s.parent)?void 0:o.event,d=null;Wr[r]&&(d=J(a,Wr[r],l,!0));const f=J(a,r,i,!0),p=J(a,r,e=>{e!==u?c(e):u=void 0});let m=[];return"ontouchstart"in a.documentElement&&(m=[].slice.call(a.body.children).map(e=>J(e,"mousemove",_r))),()=>{null==d||d(),f(),p(),m.forEach(e=>e())}},[e,n,r,i,l,c])};function zr(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Ur({enabled:e,enableEvents:t,placement:n,flip:r,offset:o,fixed:a,containerPadding:s,arrowElement:i,popperConfig:l={}}){var c,u,d,f,p;const m=function(e){const t={};return Array.isArray(e)?(null==e||e.forEach(e=>{t[e.name]=e}),t):e||t}(l.modifiers);return Object.assign({},l,{placement:n,enabled:e,strategy:a?"fixed":l.strategy,modifiers:zr(Object.assign({},m,{eventListeners:{enabled:t,options:null==(c=m.eventListeners)?void 0:c.options},preventOverflow:Object.assign({},m.preventOverflow,{options:s?Object.assign({padding:s},null==(u=m.preventOverflow)?void 0:u.options):null==(d=m.preventOverflow)?void 0:d.options}),offset:{options:Object.assign({offset:o},null==(f=m.offset)?void 0:f.options)},arrow:Object.assign({},m.arrow,{enabled:!!i,options:Object.assign({},null==(p=m.arrow)?void 0:p.options,{element:i})}),flip:Object.assign({enabled:!!r},m.flip)}))})}const Gr=["children","usePopper"],qr=()=>{};function Xr(e={}){const t=(0,a.useContext)(hn),[n,r]=Be(),o=(0,a.useRef)(!1),{flip:s,offset:i,rootCloseEvent:l,fixed:c=!1,placement:u,popperConfig:d={},enableEventListeners:f=!0,usePopper:p=!!t}=e,m=null==(null==t?void 0:t.show)?!!e.show:t.show;m&&!o.current&&(o.current=!0);const{placement:v,setMenu:h,menuElement:x,toggleElement:b}=t||{},g=Ar(b,x,Ur({placement:u||v||"bottom-start",enabled:p,enableEvents:null==f?m:f,offset:i,flip:s,fixed:c,arrowElement:n,popperConfig:d})),y=Object.assign({ref:h||qr,"aria-labelledby":null==b?void 0:b.id},g.attributes.popper,{style:g.styles.popper}),w={show:m,placement:v,hasShown:o.current,toggle:null==t?void 0:t.toggle,popper:p?g:null,arrowProps:p?Object.assign({ref:r},g.attributes.arrow,{style:g.styles.arrow}):{}};return Vr(x,e=>{null==t||t.toggle(!1,e)},{clickTrigger:l,disabled:!m}),[y,w]}function Yr(e){let{children:t,usePopper:n=!0}=e,r=function(e,t){if(null==e)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}(e,Gr);const[o,a]=Xr(Object.assign({},r,{usePopper:n}));return(0,v.jsx)(v.Fragment,{children:t(o,a)})}Yr.displayName="DropdownMenu";const Zr=Yr,Jr={prefix:String(Math.round(1e10*Math.random())),current:0},Qr=s().createContext(Jr),eo=s().createContext(!1);function to(e){let t=(0,a.useContext)(Qr),n=ro(t===Jr),[r,o]=(0,a.useState)(!0),i=(0,a.useMemo)(()=>({prefix:t===Jr?"":`${t.prefix}-${n}`,current:0}),[t,n]);return"undefined"!=typeof document&&(0,a.useLayoutEffect)(()=>{o(!1)},[]),s().createElement(Qr.Provider,{value:i},s().createElement(eo.Provider,{value:r},e.children))}Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);let no=new WeakMap;function ro(e=!1){let t=(0,a.useContext)(Qr),n=(0,a.useRef)(null);if(null===n.current&&!e){var r,o;let e=null===(o=s().__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===o||null===(r=o.ReactCurrentOwner)||void 0===r?void 0:r.current;if(e){let n=no.get(e);null==n?no.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,no.delete(e))}n.current=++t.current}return n.current}const oo="function"==typeof s().useId?function(e){let t=s().useId(),[n]=(0,a.useState)("function"==typeof s().useSyncExternalStore?s().useSyncExternalStore(io,ao,so):(0,a.useContext)(eo));return e||`${n?"react-aria":`react-aria${Jr.prefix}`}-${t}`}:function(e){let t=(0,a.useContext)(Qr),n=ro(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`};function ao(){return!1}function so(){return!0}function io(e){return()=>{}}const lo=e=>{var t;return"menu"===(null==(t=e.getAttribute("role"))?void 0:t.toLowerCase())},co=()=>{};function uo(){const e=oo(),{show:t=!1,toggle:n=co,setToggle:r,menuElement:o}=(0,a.useContext)(hn)||{},s=(0,a.useCallback)(e=>{n(!t,e)},[t,n]),i={id:e,ref:r||co,onClick:s,"aria-expanded":!!t};return o&&lo(o)&&(i["aria-haspopup"]=!0),[i,{show:t,toggle:n}]}function fo({children:e}){const[t,n]=uo();return(0,v.jsx)(v.Fragment,{children:e(t,n)})}fo.displayName="DropdownToggle";const po=fo,mo=(e,t=null)=>null!=e?String(e):t||null,vo=a.createContext(null),ho=a.createContext(null);ho.displayName="NavContext";const xo=ho;function bo(e){return`data-rr-ui-${e}`}const go=["eventKey","disabled","onClick","active","as"];function yo({key:e,href:t,active:n,disabled:r,onClick:o}){const s=(0,a.useContext)(vo),i=(0,a.useContext)(xo),{activeKey:l}=i||{},c=mo(e,t),u=null==n&&null!=e?mo(l)===c:n;return[{onClick:Fe(e=>{r||(null==o||o(e),s&&!e.isPropagationStopped()&&s(c,e))}),"aria-disabled":r||void 0,"aria-selected":u,[bo("dropdown-item")]:""},{isActive:u}]}const wo=a.forwardRef((e,t)=>{let{eventKey:n,disabled:r,onClick:o,active:a,as:s=Ge}=e,i=function(e,t){if(null==e)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}(e,go);const[l]=yo({key:n,href:i.href,disabled:r,onClick:o,active:a});return(0,v.jsx)(s,Object.assign({},i,{ref:t},l))});wo.displayName="DropdownItem";const Eo=wo,No=(0,a.createContext)(U?window:void 0);function Co(){return(0,a.useContext)(No)}function jo(){const e=vn(),t=(0,a.useRef)(null),n=(0,a.useCallback)(n=>{t.current=n,e()},[e]);return[t,n]}function Oo({defaultShow:e,show:t,onSelect:n,onToggle:r,itemSelector:o=`* [${bo("dropdown-item")}]`,focusFirstItemOnShow:s,placement:i="bottom-start",children:l}){const c=Co(),[u,d]=mn(t,e,r),[f,p]=jo(),m=f.current,[h,x]=jo(),b=h.current,g=_e(u),y=(0,a.useRef)(null),w=(0,a.useRef)(!1),E=(0,a.useContext)(vo),N=(0,a.useCallback)((e,t,n=(null==t?void 0:t.type))=>{d(e,{originalEvent:t,source:n})},[d]),C=Fe((e,t)=>{null==n||n(e,t),N(!1,t,"select"),t.isPropagationStopped()||null==E||E(e,t)}),j=(0,a.useMemo)(()=>({toggle:N,placement:i,show:u,menuElement:m,toggleElement:b,setMenu:p,setToggle:x}),[N,i,u,m,b,p,x]);m&&g&&!u&&(w.current=m.contains(m.ownerDocument.activeElement));const O=Fe(()=>{b&&b.focus&&b.focus()}),R=Fe(()=>{const e=y.current;let t=s;if(null==t&&(t=!(!f.current||!lo(f.current))&&"keyboard"),!1===t||"keyboard"===t&&!/^key.+$/.test(e))return;const n=pn(f.current,o)[0];n&&n.focus&&n.focus()});(0,a.useEffect)(()=>{u?R():w.current&&(w.current=!1,O())},[u,w,O,R]),(0,a.useEffect)(()=>{y.current=null});const k=(e,t)=>{if(!f.current)return null;const n=pn(f.current,o);let r=n.indexOf(e)+t;return r=Math.max(0,Math.min(r,n.length)),n[r]};return function(e,t,n,r=!1){const o=Fe(n);(0,a.useEffect)(()=>{const n="function"==typeof e?e():e;return n.addEventListener(t,o,r),()=>n.removeEventListener(t,o,r)},[e])}((0,a.useCallback)(()=>c.document,[c]),"keydown",e=>{var t,n;const{key:r}=e,o=e.target,a=null==(t=f.current)?void 0:t.contains(o),s=null==(n=h.current)?void 0:n.contains(o);if(/input|textarea/i.test(o.tagName)&&(" "===r||"Escape"!==r&&a||"Escape"===r&&"search"===o.type))return;if(!a&&!s)return;if(!("Tab"!==r||f.current&&u))return;y.current=e.type;const i={originalEvent:e,source:e.type};switch(r){case"ArrowUp":{const t=k(o,-1);return t&&t.focus&&t.focus(),void e.preventDefault()}case"ArrowDown":if(e.preventDefault(),u){const e=k(o,1);e&&e.focus&&e.focus()}else d(!0,i);return;case"Tab":Y(o.ownerDocument,"keyup",e=>{var t;("Tab"!==e.key||e.target)&&null!=(t=f.current)&&t.contains(e.target)||d(!1,i)},{once:!0});break;case"Escape":"Escape"===r&&(e.preventDefault(),e.stopPropagation()),d(!1,i)}}),(0,v.jsx)(vo.Provider,{value:C,children:(0,v.jsx)(hn.Provider,{value:j,children:l})})}No.Provider,Oo.displayName="Dropdown",Oo.Menu=Zr,Oo.Toggle=po,Oo.Item=Eo;const Ro=Oo,ko=a.createContext({});ko.displayName="DropdownContext";const Po=ko,To=a.forwardRef(({className:e,bsPrefix:t,as:n="hr",role:r="separator",...a},s)=>(t=w(t,"dropdown-divider"),(0,v.jsx)(n,{ref:s,className:o()(e,t),role:r,...a})));To.displayName="DropdownDivider";const $o=To,So=a.forwardRef(({className:e,bsPrefix:t,as:n="div",role:r="heading",...a},s)=>(t=w(t,"dropdown-header"),(0,v.jsx)(n,{ref:s,className:o()(e,t),role:r,...a})));So.displayName="DropdownHeader";const Do=So,Io=a.forwardRef(({bsPrefix:e,className:t,eventKey:n,disabled:r=!1,onClick:a,active:s,as:i=Ye,...l},c)=>{const u=w(e,"dropdown-item"),[d,f]=yo({key:n,href:l.href,disabled:r,onClick:a,active:s});return(0,v.jsx)(i,{...l,...d,ref:c,className:o()(t,u,f.isActive&&"active",r&&"disabled")})});Io.displayName="DropdownItem";const Mo=Io,Lo=a.forwardRef(({className:e,bsPrefix:t,as:n="span",...r},a)=>(t=w(t,"dropdown-item-text"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Lo.displayName="DropdownItemText";const Ao=Lo,Bo=void 0!==n.g&&n.g.navigator&&"ReactNative"===n.g.navigator.product,Fo="undefined"!=typeof document||Bo?a.useLayoutEffect:a.useEffect,Ho=a.createContext(null);Ho.displayName="InputGroupContext";const _o=Ho,Ko=a.createContext(null);Ko.displayName="NavbarContext";const Wo=Ko;function Vo(e,t){return e}function zo(e,t,n){let r=e?n?"bottom-start":"bottom-end":n?"bottom-end":"bottom-start";return"up"===t?r=e?n?"top-start":"top-end":n?"top-end":"top-start":"end"===t?r=e?n?"left-end":"right-end":n?"left-start":"right-start":"start"===t?r=e?n?"right-end":"left-end":n?"right-start":"left-start":"down-centered"===t?r="bottom":"up-centered"===t&&(r="top"),r}const Uo=a.forwardRef(({bsPrefix:e,className:t,align:n,rootCloseEvent:r,flip:s=!0,show:i,renderOnMount:l,as:c="div",popperConfig:u,variant:d,...f},p)=>{let m=!1;const h=(0,a.useContext)(Wo),x=w(e,"dropdown-menu"),{align:b,drop:g,isRTL:y}=(0,a.useContext)(Po);n=n||b;const E=(0,a.useContext)(_o),N=[];if(n)if("object"==typeof n){const e=Object.keys(n);if(e.length){const t=e[0],r=n[t];m="start"===r,N.push(`${x}-${t}-${r}`)}}else"end"===n&&(m=!0);const C=zo(m,g,y),[j,{hasShown:O,popper:R,show:k,toggle:P}]=Xr({flip:s,rootCloseEvent:r,show:i,usePopper:!h&&0===N.length,offset:[0,2],popperConfig:u,placement:C});if(j.ref=ae(Vo(p),j.ref),Fo(()=>{k&&(null==R||R.update())},[k]),!O&&!l&&!E)return null;"string"!=typeof c&&(j.show=k,j.close=()=>null==P?void 0:P(!1),j.align=n);let T=f.style;return null!=R&&R.placement&&(T={...f.style,...j.style},f["x-placement"]=R.placement),(0,v.jsx)(c,{...f,...j,style:T,...(N.length||h)&&{"data-bs-popper":"static"},className:o()(t,x,k&&"show",m&&`${x}-end`,d&&`${x}-${d}`,...N)})});Uo.displayName="DropdownMenu";const Go=Uo,qo=a.forwardRef(({bsPrefix:e,split:t,className:n,childBsPrefix:r,as:s=xt,...i},l)=>{const c=w(e,"dropdown-toggle"),u=(0,a.useContext)(hn);void 0!==r&&(i.bsPrefix=r);const[d]=uo();return d.ref=ae(d.ref,Vo(l)),(0,v.jsx)(s,{className:o()(n,c,t&&`${c}-split`,(null==u?void 0:u.show)&&"show"),...d,...i})});qo.displayName="DropdownToggle";const Xo=qo,Yo=a.forwardRef((e,t)=>{const{bsPrefix:n,drop:r="down",show:s,className:i,align:l="start",onSelect:c,onToggle:u,focusFirstItemOnShow:d,as:f="div",navbar:p,autoClose:h=!0,...x}=m(e,{show:"onToggle"}),b=(0,a.useContext)(_o),g=w(n,"dropdown"),y=C(),E=De((e,t)=>{var n,r;(null==(n=t.originalEvent)||null==(n=n.target)?void 0:n.classList.contains("dropdown-toggle"))&&"mousedown"===t.source||(t.originalEvent.currentTarget!==document||"keydown"===t.source&&"Escape"!==t.originalEvent.key||(t.source="rootClose"),r=t.source,(!1===h?"click"===r:"inside"===h?"rootClose"!==r:"outside"!==h||"select"!==r)&&(null==u||u(e,t)))}),N=zo("end"===l,r,y),j=(0,a.useMemo)(()=>({align:l,drop:r,isRTL:y}),[l,r,y]),O={down:g,"down-centered":`${g}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return(0,v.jsx)(Po.Provider,{value:j,children:(0,v.jsx)(Ro,{placement:N,show:s,onSelect:c,onToggle:E,focusFirstItemOnShow:d,itemSelector:`.${g}-item:not(.disabled):not(:disabled)`,children:b?x.children:(0,v.jsx)(f,{...x,ref:t,className:o()(i,s&&"show",O[r])})})})});Yo.displayName="Dropdown";const Zo=Object.assign(Yo,{Toggle:Xo,Menu:Go,Item:Mo,ItemText:Ao,Divider:$o,Header:Do}),Jo=rt().oneOf(["start","end"]),Qo=rt().oneOfType([Jo,rt().shape({sm:Jo}),rt().shape({md:Jo}),rt().shape({lg:Jo}),rt().shape({xl:Jo}),rt().shape({xxl:Jo}),rt().object]),ea={id:rt().string,href:rt().string,onClick:rt().func,title:rt().node.isRequired,disabled:rt().bool,align:Qo,menuRole:rt().string,renderMenuOnMount:rt().bool,rootCloseEvent:rt().string,menuVariant:rt().oneOf(["dark"]),flip:rt().bool,bsPrefix:rt().string,variant:rt().string,size:rt().string},ta=a.forwardRef(({title:e,children:t,bsPrefix:n,rootCloseEvent:r,variant:o,size:a,menuRole:s,renderMenuOnMount:i,disabled:l,href:c,id:u,menuVariant:d,flip:f,...p},m)=>(0,v.jsxs)(Zo,{ref:m,...p,children:[(0,v.jsx)(Xo,{id:u,href:c,size:a,variant:o,disabled:l,childBsPrefix:n,children:e}),(0,v.jsx)(Go,{role:s,renderOnMount:i,rootCloseEvent:r,variant:d,flip:f,children:t})]}));ta.displayName="DropdownButton",ta.propTypes=ea;const na=ta,ra={bsPrefix:rt().string,fluid:rt().bool,rounded:rt().bool,roundedCircle:rt().bool,thumbnail:rt().bool},oa=a.forwardRef(({bsPrefix:e,className:t,fluid:n=!1,rounded:r=!1,roundedCircle:a=!1,thumbnail:s=!1,...i},l)=>(e=w(e,"img"),(0,v.jsx)("img",{ref:l,...i,className:o()(t,n&&`${e}-fluid`,r&&"rounded",a&&"rounded-circle",s&&`${e}-thumbnail`)})));oa.displayName="Image";const aa=oa,sa=a.forwardRef(({className:e,fluid:t=!0,...n},r)=>(0,v.jsx)(aa,{ref:r,...n,fluid:t,className:o()(e,"figure-img")}));sa.displayName="FigureImage",sa.propTypes=ra;const ia=sa,la=a.forwardRef(({className:e,bsPrefix:t,as:n="figcaption",...r},a)=>(t=w(t,"figure-caption"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));la.displayName="FigureCaption";const ca=la,ua=a.forwardRef(({className:e,bsPrefix:t,as:n="figure",...r},a)=>(t=w(t,"figure"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));ua.displayName="Figure";const da=Object.assign(ua,{Image:ia,Caption:ca}),fa={type:rt().string,tooltip:rt().bool,as:rt().elementType},pa=a.forwardRef(({as:e="div",className:t,type:n="valid",tooltip:r=!1,...a},s)=>(0,v.jsx)(e,{...a,ref:s,className:o()(t,`${n}-${r?"tooltip":"feedback"}`)}));pa.displayName="Feedback",pa.propTypes=fa;const ma=pa,va=a.createContext({}),ha=a.forwardRef(({id:e,bsPrefix:t,className:n,type:r="checkbox",isValid:s=!1,isInvalid:i=!1,as:l="input",...c},u)=>{const{controlId:d}=(0,a.useContext)(va);return t=w(t,"form-check-input"),(0,v.jsx)(l,{...c,ref:u,type:r,id:e||d,className:o()(n,t,s&&"is-valid",i&&"is-invalid")})});ha.displayName="FormCheckInput";const xa=ha,ba=a.forwardRef(({bsPrefix:e,className:t,htmlFor:n,...r},s)=>{const{controlId:i}=(0,a.useContext)(va);return e=w(e,"form-check-label"),(0,v.jsx)("label",{...r,ref:s,htmlFor:n||i,className:o()(t,e)})});ba.displayName="FormCheckLabel";const ga=ba,ya=a.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:n,inline:r=!1,reverse:s=!1,disabled:i=!1,isValid:l=!1,isInvalid:c=!1,feedbackTooltip:u=!1,feedback:d,feedbackType:f,className:p,style:m,title:h="",type:x="checkbox",label:b,children:g,as:y="input",...E},N)=>{t=w(t,"form-check"),n=w(n,"form-switch");const{controlId:C}=(0,a.useContext)(va),j=(0,a.useMemo)(()=>({controlId:e||C}),[C,e]),O=!g&&null!=b&&!1!==b||function(e,t){return a.Children.toArray(e).some(e=>a.isValidElement(e)&&e.type===t)}(g,ga),R=(0,v.jsx)(xa,{...E,type:"switch"===x?"checkbox":x,ref:N,isValid:l,isInvalid:c,disabled:i,as:y});return(0,v.jsx)(va.Provider,{value:j,children:(0,v.jsx)("div",{style:m,className:o()(p,O&&t,r&&`${t}-inline`,s&&`${t}-reverse`,"switch"===x&&n),children:g||(0,v.jsxs)(v.Fragment,{children:[R,O&&(0,v.jsx)(ga,{title:h,children:b}),d&&(0,v.jsx)(ma,{type:f,tooltip:u,children:d})]})})})});ya.displayName="FormCheck";const wa=Object.assign(ya,{Input:xa,Label:ga}),Ea=a.forwardRef(({bsPrefix:e,type:t,size:n,htmlSize:r,id:s,className:i,isValid:l=!1,isInvalid:c=!1,plaintext:u,readOnly:d,as:f="input",...p},m)=>{const{controlId:h}=(0,a.useContext)(va);return e=w(e,"form-control"),(0,v.jsx)(f,{...p,type:t,size:r,ref:m,readOnly:d,id:s||h,className:o()(i,u?`${e}-plaintext`:e,n&&`${e}-${n}`,"color"===t&&`${e}-color`,l&&"is-valid",c&&"is-invalid")})});Ea.displayName="FormControl";const Na=Object.assign(Ea,{Feedback:ma}),Ca=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"form-floating"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Ca.displayName="FormFloating";const ja=Ca,Oa=a.forwardRef(({controlId:e,as:t="div",...n},r)=>{const o=(0,a.useMemo)(()=>({controlId:e}),[e]);return(0,v.jsx)(va.Provider,{value:o,children:(0,v.jsx)(t,{...n,ref:r})})});Oa.displayName="FormGroup";const Ra=Oa,ka=a.forwardRef(({as:e="label",bsPrefix:t,column:n=!1,visuallyHidden:r=!1,className:s,htmlFor:i,...l},c)=>{const{controlId:u}=(0,a.useContext)(va);t=w(t,"form-label");let d="col-form-label";"string"==typeof n&&(d=`${d} ${d}-${n}`);const f=o()(s,t,r&&"visually-hidden",n&&d);return i=i||u,n?(0,v.jsx)(cn,{ref:c,as:"label",className:f,htmlFor:i,...l}):(0,v.jsx)(e,{ref:c,className:f,htmlFor:i,...l})});ka.displayName="FormLabel";const Pa=ka,Ta=a.forwardRef(({bsPrefix:e,className:t,id:n,...r},s)=>{const{controlId:i}=(0,a.useContext)(va);return e=w(e,"form-range"),(0,v.jsx)("input",{...r,type:"range",ref:s,className:o()(t,e),id:n||i})});Ta.displayName="FormRange";const $a=Ta,Sa=a.forwardRef(({bsPrefix:e,size:t,htmlSize:n,className:r,isValid:s=!1,isInvalid:i=!1,id:l,...c},u)=>{const{controlId:d}=(0,a.useContext)(va);return e=w(e,"form-select"),(0,v.jsx)("select",{...c,size:n,ref:u,className:o()(r,e,t&&`${e}-${t}`,s&&"is-valid",i&&"is-invalid"),id:l||d})});Sa.displayName="FormSelect";const Da=Sa,Ia=a.forwardRef(({bsPrefix:e,className:t,as:n="small",muted:r,...a},s)=>(e=w(e,"form-text"),(0,v.jsx)(n,{...a,ref:s,className:o()(t,e,r&&"text-muted")})));Ia.displayName="FormText";const Ma=Ia,La=a.forwardRef((e,t)=>(0,v.jsx)(wa,{...e,ref:t,type:"switch"}));La.displayName="Switch";const Aa=Object.assign(La,{Input:wa.Input,Label:wa.Label}),Ba=a.forwardRef(({bsPrefix:e,className:t,children:n,controlId:r,label:a,...s},i)=>(e=w(e,"form-floating"),(0,v.jsxs)(Ra,{ref:i,className:o()(t,e),controlId:r,...s,children:[n,(0,v.jsx)("label",{htmlFor:r,children:a})]})));Ba.displayName="FloatingLabel";const Fa=Ba,Ha={_ref:rt().any,validated:rt().bool,as:rt().elementType},_a=a.forwardRef(({className:e,validated:t,as:n="form",...r},a)=>(0,v.jsx)(n,{...r,ref:a,className:o()(e,t&&"was-validated")}));_a.displayName="Form",_a.propTypes=Ha;const Ka=Object.assign(_a,{Group:Ra,Control:Na,Floating:ja,Check:wa,Switch:Aa,Label:Pa,Text:Ma,Range:$a,Select:Da,FloatingLabel:Fa}),Wa=a.forwardRef(({className:e,bsPrefix:t,as:n="span",...r},a)=>(t=w(t,"input-group-text"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Wa.displayName="InputGroupText";const Va=Wa,za=a.forwardRef(({bsPrefix:e,size:t,hasValidation:n,className:r,as:s="div",...i},l)=>{e=w(e,"input-group");const c=(0,a.useMemo)(()=>({}),[]);return(0,v.jsx)(_o.Provider,{value:c,children:(0,v.jsx)(s,{ref:l,...i,className:o()(r,e,t&&`${e}-${t}`,n&&"has-validation")})})});za.displayName="InputGroup";const Ua=Object.assign(za,{Text:Va,Radio:e=>(0,v.jsx)(Va,{children:(0,v.jsx)(xa,{type:"radio",...e})}),Checkbox:e=>(0,v.jsx)(Va,{children:(0,v.jsx)(xa,{type:"checkbox",...e})})}),Ga=e=>e&&"function"!=typeof e?t=>{e.current=t}:e,qa=function(e,t){return(0,a.useMemo)(()=>function(e,t){const n=Ga(e),r=Ga(t);return e=>{n&&n(e),r&&r(e)}}(e,t),[e,t])},Xa=a.createContext(null),Ya=["as","active","eventKey"];function Za({key:e,onClick:t,active:n,id:r,role:o,disabled:s}){const i=(0,a.useContext)(vo),l=(0,a.useContext)(xo),c=(0,a.useContext)(Xa);let u=n;const d={role:o};if(l){o||"tablist"!==l.role||(d.role="tab");const t=l.getControllerId(null!=e?e:null),a=l.getControlledId(null!=e?e:null);d[bo("event-key")]=e,d.id=t||r,u=null==n&&null!=e?l.activeKey===e:n,!u&&(null!=c&&c.unmountOnExit||null!=c&&c.mountOnEnter)||(d["aria-controls"]=a)}return"tab"===d.role&&(d["aria-selected"]=u,u||(d.tabIndex=-1),s&&(d.tabIndex=-1,d["aria-disabled"]=!0)),d.onClick=Fe(n=>{s||(null==t||t(n),null!=e&&i&&!n.isPropagationStopped()&&i(e,n))}),[d,{isActive:u}]}const Ja=a.forwardRef((e,t)=>{let{as:n=Ge,active:r,eventKey:o}=e,a=function(e,t){if(null==e)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}(e,Ya);const[s,i]=Za(Object.assign({key:mo(o,a.href),active:r},a));return s[bo("active")]=i.isActive,(0,v.jsx)(n,Object.assign({},a,s,{ref:t}))});Ja.displayName="NavItem";const Qa=Ja,es=["as","onSelect","activeKey","role","onKeyDown"],ts=()=>{},ns=bo("event-key"),rs=a.forwardRef((e,t)=>{let{as:n="div",onSelect:r,activeKey:o,role:s,onKeyDown:i}=e,l=function(e,t){if(null==e)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}(e,es);const c=vn(),u=(0,a.useRef)(!1),d=(0,a.useContext)(vo),f=(0,a.useContext)(Xa);let p,m;f&&(s=s||"tablist",o=f.activeKey,p=f.getControlledId,m=f.getControllerId);const h=(0,a.useRef)(null),x=e=>{const t=h.current;if(!t)return null;const n=pn(t,`[${ns}]:not([aria-disabled=true])`),r=t.querySelector("[aria-selected=true]");if(!r||r!==document.activeElement)return null;const o=n.indexOf(r);if(-1===o)return null;let a=o+e;return a>=n.length&&(a=0),a<0&&(a=n.length-1),n[a]},b=(e,t)=>{null!=e&&(null==r||r(e,t),null==d||d(e,t))};(0,a.useEffect)(()=>{if(h.current&&u.current){const e=h.current.querySelector(`[${ns}][aria-selected=true]`);null==e||e.focus()}u.current=!1});const g=qa(t,h);return(0,v.jsx)(vo.Provider,{value:b,children:(0,v.jsx)(xo.Provider,{value:{role:s,activeKey:mo(o),getControlledId:p||ts,getControllerId:m||ts},children:(0,v.jsx)(n,Object.assign({},l,{onKeyDown:e=>{if(null==i||i(e),!f)return;let t;switch(e.key){case"ArrowLeft":case"ArrowUp":t=x(-1);break;case"ArrowRight":case"ArrowDown":t=x(1);break;default:return}t&&(e.preventDefault(),b(t.dataset["rrUiEventKey"]||null,e),u.current=!0,c())},ref:g,role:s}))})})});rs.displayName="Nav";const os=Object.assign(rs,{Item:Qa}),as=a.forwardRef(({bsPrefix:e,active:t,disabled:n,eventKey:r,className:a,variant:s,action:i,as:l,...c},u)=>{e=w(e,"list-group-item");const[d,f]=Za({key:mo(r,c.href),active:t,...c}),p=De(e=>{if(n)return e.preventDefault(),void e.stopPropagation();d.onClick(e)});n&&void 0===c.tabIndex&&(c.tabIndex=-1,c["aria-disabled"]=!0);const m=l||(i?c.href?"a":"button":"div");return(0,v.jsx)(m,{ref:u,...c,...d,onClick:p,className:o()(a,e,f.isActive&&"active",n&&"disabled",s&&`${e}-${s}`,i&&`${e}-action`)})});as.displayName="ListGroupItem";const ss=as,is=a.forwardRef((e,t)=>{const{className:n,bsPrefix:r,variant:a,horizontal:s,numbered:i,as:l="div",...c}=m(e,{activeKey:"onSelect"}),u=w(r,"list-group");let d;return s&&(d=!0===s?"horizontal":`horizontal-${s}`),(0,v.jsx)(os,{ref:t,...c,as:l,className:o()(n,u,a&&`${u}-${a}`,d&&`${u}-${d}`,i&&`${u}-numbered`)})});is.displayName="ListGroup";const ls=Object.assign(is,{Item:ss});var cs;function us(e){if((!cs&&0!==cs||e)&&U){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),cs=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return cs}function ds(e){void 0===e&&(e=O());try{var t=e.activeElement;return t&&t.nodeName?t:null}catch(t){return e.body}}const fs=bo("modal-open"),ps=class{constructor({ownerDocument:e,handleContainerOverflow:t=!0,isRTL:n=!1}={}){this.handleContainerOverflow=t,this.isRTL=n,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){const t={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",r=this.getElement();e.style={overflow:r.style.overflow,[n]:r.style[n]},e.scrollBarWidth&&(t[n]=`${parseInt($(r,n)||"0",10)+e.scrollBarWidth}px`),r.setAttribute(fs,""),$(r,t)}reset(){[...this.modals].forEach(e=>this.remove(e))}removeContainerStyle(e){const t=this.getElement();t.removeAttribute(fs),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return-1!==t||(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state))),t}remove(e){const t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}},ms=(e,t)=>U?null==e?(t||O()).body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function vs(e,t){const n=Co(),[r,o]=(0,a.useState)(()=>ms(e,null==n?void 0:n.document));if(!r){const t=ms(e);t&&o(t)}return(0,a.useEffect)(()=>{t&&r&&t(r)},[t,r]),(0,a.useEffect)(()=>{const t=ms(e);t!==r&&o(t)},[e,r]),r}const hs=function({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:o}){const s=(0,a.useRef)(null),i=(0,a.useRef)(t),l=Fe(n);(0,a.useEffect)(()=>{t?i.current=!0:l(s.current)},[t,l]);const c=qa(s,z(e)),u=(0,a.cloneElement)(e,{ref:c});return t?u:o||!i.current&&r?null:u},xs=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"],bs=["component"],gs=a.forwardRef((e,t)=>{let{component:n}=e;const r=function(e){let{onEnter:t,onEntering:n,onEntered:r,onExit:o,onExiting:s,onExited:i,addEndListener:l,children:c}=e,u=function(e,t){if(null==e)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}(e,xs);const d=(0,a.useRef)(null),f=qa(d,z(c)),p=e=>t=>{e&&d.current&&e(d.current,t)},m=(0,a.useCallback)(p(t),[t]),v=(0,a.useCallback)(p(n),[n]),h=(0,a.useCallback)(p(r),[r]),x=(0,a.useCallback)(p(o),[o]),b=(0,a.useCallback)(p(s),[s]),g=(0,a.useCallback)(p(i),[i]),y=(0,a.useCallback)(p(l),[l]);return Object.assign({},u,{nodeRef:d},t&&{onEnter:m},n&&{onEntering:v},r&&{onEntered:h},o&&{onExit:x},s&&{onExiting:b},i&&{onExited:g},l&&{addEndListener:y},{children:"function"==typeof c?(e,t)=>c(e,Object.assign({},t,{ref:f})):(0,a.cloneElement)(c,{ref:f})})}(function(e,t){if(null==e)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}(e,bs));return(0,v.jsx)(n,Object.assign({ref:t},r))});function ys({children:e,in:t,onExited:n,onEntered:r,transition:o}){const[s,i]=(0,a.useState)(!t);t&&s&&i(!1);const l=function({in:e,onTransition:t}){const n=(0,a.useRef)(null),r=(0,a.useRef)(!0),o=Fe(t);return We(()=>{if(!n.current)return;let t=!1;return o({in:e,element:n.current,initial:r.current,isStale:()=>t}),()=>{t=!0}},[e,o]),We(()=>(r.current=!1,()=>{r.current=!0}),[]),n}({in:!!t,onTransition:e=>{Promise.resolve(o(e)).then(()=>{e.isStale()||(e.in?null==r||r(e.element,e.initial):(i(!0),null==n||n(e.element)))},t=>{throw e.in||i(!0),t})}}),c=qa(l,z(e));return s&&!t?null:(0,a.cloneElement)(e,{ref:c})}function ws(e,t,n){return e?(0,v.jsx)(gs,Object.assign({},n,{component:e})):t?(0,v.jsx)(ys,Object.assign({},n,{transition:t})):(0,v.jsx)(hs,Object.assign({},n))}const Es=["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"];let Ns;const Cs=(0,a.forwardRef)((e,t)=>{let{show:n=!1,role:r="dialog",className:o,style:s,children:i,backdrop:l=!0,keyboard:c=!0,onBackdropClick:u,onEscapeKeyDown:d,transition:f,runTransition:p,backdropTransition:m,runBackdropTransition:h,autoFocus:x=!0,enforceFocus:b=!0,restoreFocus:g=!0,restoreFocusOptions:y,renderDialog:w,renderBackdrop:E=e=>(0,v.jsx)("div",Object.assign({},e)),manager:N,container:C,onShow:j,onHide:O=()=>{},onExit:R,onExited:k,onExiting:P,onEnter:T,onEntering:$,onEntered:S}=e,D=function(e,t){if(null==e)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}(e,Es);const M=Co(),L=vs(C),A=function(e){const t=Co(),n=e||function(e){return Ns||(Ns=new ps({ownerDocument:null==e?void 0:e.document})),Ns}(t),r=(0,a.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:(0,a.useCallback)(e=>{r.current.dialog=e},[]),setBackdropRef:(0,a.useCallback)(e=>{r.current.backdrop=e},[])})}(N),B=He(),F=_e(n),[H,_]=(0,a.useState)(!n),K=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,()=>A,[A]),U&&!F&&n&&(K.current=ds(null==M?void 0:M.document)),n&&H&&_(!1);const W=Fe(()=>{if(A.add(),Z.current=J(document,"keydown",X),Y.current=J(document,"focus",()=>setTimeout(G),!0),j&&j(),x){var e,t;const n=ds(null!=(e=null==(t=A.dialog)?void 0:t.ownerDocument)?e:null==M?void 0:M.document);A.dialog&&n&&!Br(A.dialog,n)&&(K.current=n,A.dialog.focus())}}),z=Fe(()=>{var e;A.remove(),null==Z.current||Z.current(),null==Y.current||Y.current(),g&&(null==(e=K.current)||null==e.focus||e.focus(y),K.current=null)});(0,a.useEffect)(()=>{n&&L&&W()},[n,L,W]),(0,a.useEffect)(()=>{H&&z()},[H,z]),function(e){const t=function(e){const t=(0,a.useRef)(e);return t.current=e,t}(e);(0,a.useEffect)(()=>()=>t.current(),[])}(()=>{z()});const G=Fe(()=>{if(!b||!B()||!A.isTopModal())return;const e=ds(null==M?void 0:M.document);A.dialog&&e&&!Br(A.dialog,e)&&A.dialog.focus()}),q=Fe(e=>{e.target===e.currentTarget&&(null==u||u(e),!0===l&&O())}),X=Fe(e=>{c&&V(e)&&A.isTopModal()&&(null==d||d(e),e.defaultPrevented||O())}),Y=(0,a.useRef)(),Z=(0,a.useRef)();if(!L)return null;const Q=Object.assign({role:r,ref:A.setDialogRef,"aria-modal":"dialog"===r||void 0},D,{style:s,className:o,tabIndex:-1});let ee=w?w(Q):(0,v.jsx)("div",Object.assign({},Q,{children:a.cloneElement(i,{role:"document"})}));ee=ws(f,p,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:R,onExiting:P,onExited:(...e)=>{_(!0),null==k||k(...e)},onEnter:T,onEntering:$,onEntered:S,children:ee});let te=null;return l&&(te=E({ref:A.setBackdropRef,onClick:q}),te=ws(m,h,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:te})),(0,v.jsx)(v.Fragment,{children:I().createPortal((0,v.jsxs)(v.Fragment,{children:[te,ee]}),L)})});Cs.displayName="Modal";const js=Object.assign(Cs,{Manager:ps});function Os(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}function Rs(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const ks=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ps=".sticky-top",Ts=".navbar-toggler";class $s extends ps{adjustAndStore(e,t,n){const r=t.style[e];t.dataset[e]=r,$(t,{[e]:`${parseFloat($(t,e))+n}px`})}restore(e,t){const n=t.dataset[e];void 0!==n&&(delete t.dataset[e],$(t,{[e]:n}))}setContainerStyle(e){super.setContainerStyle(e);const t=this.getElement();var n,r;if(r="modal-open",(n=t).classList?n.classList.add(r):Os(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)),!e.scrollBarWidth)return;const o=this.isRTL?"paddingLeft":"paddingRight",a=this.isRTL?"marginLeft":"marginRight";pn(t,ks).forEach(t=>this.adjustAndStore(o,t,e.scrollBarWidth)),pn(t,Ps).forEach(t=>this.adjustAndStore(a,t,-e.scrollBarWidth)),pn(t,Ts).forEach(t=>this.adjustAndStore(a,t,e.scrollBarWidth))}removeContainerStyle(e){super.removeContainerStyle(e);const t=this.getElement();var n,r;r="modal-open",(n=t).classList?n.classList.remove(r):"string"==typeof n.className?n.className=Rs(n.className,r):n.setAttribute("class",Rs(n.className&&n.className.baseVal||"",r));const o=this.isRTL?"paddingLeft":"paddingRight",a=this.isRTL?"marginLeft":"marginRight";pn(t,ks).forEach(e=>this.restore(o,e)),pn(t,Ps).forEach(e=>this.restore(a,e)),pn(t,Ts).forEach(e=>this.restore(a,e))}}let Ss;function Ds(e){return Ss||(Ss=new $s(e)),Ss}const Is=$s,Ms=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"modal-body"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Ms.displayName="ModalBody";const Ls=Ms,As=a.createContext({onHide(){}}),Bs=a.forwardRef(({bsPrefix:e,className:t,contentClassName:n,centered:r,size:a,fullscreen:s,children:i,scrollable:l,...c},u)=>{const d=`${e=w(e,"modal")}-dialog`,f="string"==typeof s?`${e}-fullscreen-${s}`:`${e}-fullscreen`;return(0,v.jsx)("div",{...c,ref:u,className:o()(d,t,a&&`${e}-${a}`,r&&`${d}-centered`,l&&`${d}-scrollable`,s&&f),children:(0,v.jsx)("div",{className:o()(`${e}-content`,n),children:i})})});Bs.displayName="ModalDialog";const Fs=Bs,Hs=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"modal-footer"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Hs.displayName="ModalFooter";const _s=Hs,Ks=a.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:r,children:o,...s},i)=>{const l=(0,a.useContext)(As),c=De(()=>{null==l||l.onHide(),null==r||r()});return(0,v.jsxs)("div",{ref:i,...s,children:[o,n&&(0,v.jsx)(st,{"aria-label":e,variant:t,onClick:c})]})});Ks.displayName="AbstractModalHeader";const Ws=Ks,Vs=a.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...a},s)=>(e=w(e,"modal-header"),(0,v.jsx)(Ws,{ref:s,...a,className:o()(t,e),closeLabel:n,closeButton:r})));Vs.displayName="ModalHeader";const zs=Vs,Us=Ie("h4"),Gs=a.forwardRef(({className:e,bsPrefix:t,as:n=Us,...r},a)=>(t=w(t,"modal-title"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Gs.displayName="ModalTitle";const qs=Gs;function Xs(e){return(0,v.jsx)(tt,{...e,timeout:null})}function Ys(e){return(0,v.jsx)(tt,{...e,timeout:null})}const Zs=a.forwardRef(({bsPrefix:e,className:t,style:n,dialogClassName:r,contentClassName:s,children:i,dialogAs:l=Fs,"data-bs-theme":c,"aria-labelledby":u,"aria-describedby":d,"aria-label":f,show:p=!1,animation:m=!0,backdrop:h=!0,keyboard:x=!0,onEscapeKeyDown:b,onShow:g,onHide:y,container:E,autoFocus:N=!0,enforceFocus:j=!0,restoreFocus:R=!0,restoreFocusOptions:k,onEntered:P,onExit:T,onExiting:$,onEnter:S,onEntering:D,onExited:I,backdropClassName:M,manager:L,...A},B)=>{const[F,H]=(0,a.useState)({}),[_,K]=(0,a.useState)(!1),W=(0,a.useRef)(!1),V=(0,a.useRef)(!1),z=(0,a.useRef)(null),[G,q]=(0,a.useState)(null),X=ae(B,q),J=De(y),ee=C();e=w(e,"modal");const te=(0,a.useMemo)(()=>({onHide:J}),[J]);function ne(){return L||Ds({isRTL:ee})}function re(e){if(!U)return;const t=ne().getScrollbarWidth()>0,n=e.scrollHeight>O(e).documentElement.clientHeight;H({paddingRight:t&&!n?us():void 0,paddingLeft:!t&&n?us():void 0})}const oe=De(()=>{G&&re(G.dialog)});qt(()=>{Z(window,"resize",oe),null==z.current||z.current()});const se=()=>{W.current=!0},ie=e=>{W.current&&G&&e.target===G.dialog&&(V.current=!0),W.current=!1},le=()=>{K(!0),z.current=Q(G.dialog,()=>{K(!1)})},ce=e=>{"static"!==h?V.current||e.target!==e.currentTarget?V.current=!1:null==y||y():(e=>{e.target===e.currentTarget&&le()})(e)},ue=(0,a.useCallback)(t=>(0,v.jsx)("div",{...t,className:o()(`${e}-backdrop`,M,!m&&"show")}),[m,M,e]),de={...n,...F};return de.display="block",(0,v.jsx)(As.Provider,{value:te,children:(0,v.jsx)(js,{show:p,ref:X,backdrop:h,container:E,keyboard:!0,autoFocus:N,enforceFocus:j,restoreFocus:R,restoreFocusOptions:k,onEscapeKeyDown:e=>{x?null==b||b(e):(e.preventDefault(),"static"===h&&le())},onShow:g,onHide:y,onEnter:(e,t)=>{e&&re(e),null==S||S(e,t)},onEntering:(e,t)=>{null==D||D(e,t),Y(window,"resize",oe)},onEntered:P,onExit:e=>{null==z.current||z.current(),null==T||T(e)},onExiting:$,onExited:e=>{e&&(e.style.display=""),null==I||I(e),Z(window,"resize",oe)},manager:ne(),transition:m?Xs:void 0,backdropTransition:m?Ys:void 0,renderBackdrop:ue,renderDialog:n=>(0,v.jsx)("div",{role:"dialog",...n,style:de,className:o()(t,e,_&&`${e}-static`,!m&&"show"),onClick:h?ce:void 0,onMouseUp:ie,"data-bs-theme":c,"aria-label":f,"aria-labelledby":u,"aria-describedby":d,children:(0,v.jsx)(l,{...A,onMouseDown:se,className:r,contentClassName:s,children:i})})})})});Zs.displayName="Modal";const Js=Object.assign(Zs,{Body:Ls,Header:zs,Title:qs,Footer:_s,Dialog:Fs,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),Qs=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"nav-item"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Qs.displayName="NavItem";const ei=Qs,ti=a.forwardRef(({bsPrefix:e,className:t,as:n=Ye,active:r,eventKey:a,disabled:s=!1,...i},l)=>{e=w(e,"nav-link");const[c,u]=Za({key:mo(a,i.href),active:r,disabled:s,...i});return(0,v.jsx)(n,{...i,...c,ref:l,disabled:s,className:o()(t,e,s&&"disabled",u.isActive&&"active")})});ti.displayName="NavLink";const ni=ti,ri=a.forwardRef((e,t)=>{const{as:n="div",bsPrefix:r,variant:s,fill:i=!1,justify:l=!1,navbar:c,navbarScroll:u,className:d,activeKey:f,...p}=m(e,{activeKey:"onSelect"}),h=w(r,"nav");let x,b,g=!1;const y=(0,a.useContext)(Wo),E=(0,a.useContext)(Rt);return y?(x=y.bsPrefix,g=null==c||c):E&&({cardHeaderBsPrefix:b}=E),(0,v.jsx)(os,{as:n,ref:t,activeKey:f,className:o()(d,{[h]:!g,[`${x}-nav`]:g,[`${x}-nav-scroll`]:g&&u,[`${b}-${s}`]:!!b,[`${h}-${s}`]:!!s,[`${h}-fill`]:i,[`${h}-justified`]:l}),...p})});ri.displayName="Nav";const oi=Object.assign(ri,{Item:ei,Link:ni}),ai=a.forwardRef(({bsPrefix:e,className:t,as:n,...r},a)=>{e=w(e,"navbar-brand");const s=n||(r.href?"a":"span");return(0,v.jsx)(s,{...r,ref:a,className:o()(t,e)})});ai.displayName="NavbarBrand";const si=ai,ii=a.forwardRef(({children:e,bsPrefix:t,...n},r)=>{t=w(t,"navbar-collapse");const o=(0,a.useContext)(Wo);return(0,v.jsx)(pe,{in:!(!o||!o.expanded),...n,children:(0,v.jsx)("div",{ref:r,className:t,children:e})})});ii.displayName="NavbarCollapse";const li=ii,ci=a.forwardRef(({bsPrefix:e,className:t,children:n,label:r="Toggle navigation",as:s="button",onClick:i,...l},c)=>{e=w(e,"navbar-toggler");const{onToggle:u,expanded:d}=(0,a.useContext)(Wo)||{},f=De(e=>{i&&i(e),u&&u()});return"button"===s&&(l.type="button"),(0,v.jsx)(s,{...l,ref:c,onClick:f,"aria-label":r,className:o()(t,e,!d&&"collapsed"),children:n||(0,v.jsx)("span",{className:`${e}-icon`})})});ci.displayName="NavbarToggle";const ui=ci,di=new WeakMap,fi=(e,t)=>{if(!e||!t)return;const n=di.get(t)||new Map;di.set(t,n);let r=n.get(e);return r||(r=t.matchMedia(e),r.refCount=0,n.set(r.media,r)),r};function pi(e,t=("undefined"==typeof window?void 0:window)){const n=fi(e,t),[r,o]=(0,a.useState)(()=>!!n&&n.matches);return Fo(()=>{let n=fi(e,t);if(!n)return o(!1);let r=di.get(t);const a=()=>{o(n.matches)};return n.refCount++,n.addListener(a),a(),()=>{n.removeListener(a),n.refCount--,n.refCount<=0&&(null==r||r.delete(n.media)),n=void 0}},[e]),r}const mi=function(e){const t=Object.keys(e);function n(e,t){return e===t?t:e?`${e} and ${t}`:t}return function(r,o,s){let i;return"object"==typeof r?(i=r,s=o,o=!0):(o=o||!0,i={[r]:o}),pi((0,a.useMemo)(()=>Object.entries(i).reduce((r,[o,a])=>("up"!==a&&!0!==a||(r=n(r,function(t){let n=e[t];return"number"==typeof n&&(n=`${n}px`),`(min-width: ${n})`}(o))),"down"!==a&&!0!==a||(r=n(r,function(n){const r=function(e){return t[Math.min(t.indexOf(e)+1,t.length-1)]}(n);let o=e[r];return o="number"==typeof o?o-.2+"px":`calc(${o} - 0.2px)`,`(max-width: ${o})`}(o))),r),""),[JSON.stringify(i)]),s)}}({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400}),vi=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"offcanvas-body"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));vi.displayName="OffcanvasBody";const hi=vi,xi={[B]:"show",[F]:"show"},bi=a.forwardRef(({bsPrefix:e,className:t,children:n,in:r=!1,mountOnEnter:s=!1,unmountOnExit:i=!1,appear:l=!1,...c},u)=>(e=w(e,"offcanvas"),(0,v.jsx)(le,{ref:u,addEndListener:te,in:r,mountOnEnter:s,unmountOnExit:i,appear:l,...c,childRef:z(n),children:(r,s)=>a.cloneElement(n,{...s,className:o()(t,n.props.className,(r===B||r===H)&&`${e}-toggling`,xi[r])})})));bi.displayName="OffcanvasToggling";const gi=bi,yi=a.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...a},s)=>(e=w(e,"offcanvas-header"),(0,v.jsx)(Ws,{ref:s,...a,className:o()(t,e),closeLabel:n,closeButton:r})));yi.displayName="OffcanvasHeader";const wi=yi,Ei=Ie("h5"),Ni=a.forwardRef(({className:e,bsPrefix:t,as:n=Ei,...r},a)=>(t=w(t,"offcanvas-title"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Ni.displayName="OffcanvasTitle";const Ci=Ni;function ji(e){return(0,v.jsx)(gi,{...e})}function Oi(e){return(0,v.jsx)(tt,{...e})}const Ri=a.forwardRef(({bsPrefix:e,className:t,children:n,"aria-labelledby":r,placement:s="start",responsive:i,show:l=!1,backdrop:c=!0,keyboard:u=!0,scroll:d=!1,onEscapeKeyDown:f,onShow:p,onHide:m,container:h,autoFocus:x=!0,enforceFocus:b=!0,restoreFocus:g=!0,restoreFocusOptions:y,onEntered:E,onExit:N,onExiting:C,onEnter:j,onEntering:O,onExited:R,backdropClassName:k,manager:P,renderStaticNode:T=!1,...$},S)=>{const D=(0,a.useRef)();e=w(e,"offcanvas");const[I,M]=(0,a.useState)(!1),L=De(m),A=mi(i||"xs","up");(0,a.useEffect)(()=>{M(i?l&&!A:l)},[l,i,A]);const B=(0,a.useMemo)(()=>({onHide:L}),[L]),F=(0,a.useCallback)(t=>(0,v.jsx)("div",{...t,className:o()(`${e}-backdrop`,k)}),[k,e]),H=a=>(0,v.jsx)("div",{...a,...$,className:o()(t,i?`${e}-${i}`:e,`${e}-${s}`),"aria-labelledby":r,children:n});return(0,v.jsxs)(v.Fragment,{children:[!I&&(i||T)&&H({}),(0,v.jsx)(As.Provider,{value:B,children:(0,v.jsx)(js,{show:I,ref:S,backdrop:c,container:h,keyboard:u,autoFocus:x,enforceFocus:b&&!d,restoreFocus:g,restoreFocusOptions:y,onEscapeKeyDown:f,onShow:p,onHide:L,onEnter:(e,...t)=>{e&&(e.style.visibility="visible"),null==j||j(e,...t)},onEntering:O,onEntered:E,onExit:N,onExiting:C,onExited:(e,...t)=>{e&&(e.style.visibility=""),null==R||R(...t)},manager:P||(d?(D.current||(D.current=new Is({handleContainerOverflow:!1})),D.current):Ds()),transition:ji,backdropTransition:Oi,renderBackdrop:F,renderDialog:H})})]})});Ri.displayName="Offcanvas";const ki=Object.assign(Ri,{Body:hi,Header:wi,Title:Ci}),Pi=a.forwardRef(({onHide:e,...t},n)=>{const r=(0,a.useContext)(Wo),o=De(()=>{null==r||null==r.onToggle||r.onToggle(),null==e||e()});return(0,v.jsx)(ki,{ref:n,show:!(null==r||!r.expanded),...t,renderStaticNode:!0,onHide:o})});Pi.displayName="NavbarOffcanvas";const Ti=Pi,$i=a.forwardRef(({className:e,bsPrefix:t,as:n="span",...r},a)=>(t=w(t,"navbar-text"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));$i.displayName="NavbarText";const Si=$i,Di=a.forwardRef((e,t)=>{const{bsPrefix:n,expand:r=!0,variant:s="light",bg:i,fixed:l,sticky:c,className:u,as:d="nav",expanded:f,onToggle:p,onSelect:h,collapseOnSelect:x=!1,...b}=m(e,{expanded:"onToggle"}),g=w(n,"navbar"),y=(0,a.useCallback)((...e)=>{null==h||h(...e),x&&f&&(null==p||p(!1))},[h,x,f,p]);void 0===b.role&&"nav"!==d&&(b.role="navigation");let E=`${g}-expand`;"string"==typeof r&&(E=`${E}-${r}`);const N=(0,a.useMemo)(()=>({onToggle:()=>null==p?void 0:p(!f),bsPrefix:g,expanded:!!f,expand:r}),[g,f,r,p]);return(0,v.jsx)(Wo.Provider,{value:N,children:(0,v.jsx)(vo.Provider,{value:y,children:(0,v.jsx)(d,{ref:t,...b,className:o()(u,g,r&&E,s&&`${g}-${s}`,i&&`bg-${i}`,c&&`sticky-${c}`,l&&`fixed-${l}`)})})})});Di.displayName="Navbar";const Ii=Object.assign(Di,{Brand:si,Collapse:li,Offcanvas:Ti,Text:Si,Toggle:ui}),Mi=a.forwardRef(({id:e,title:t,children:n,bsPrefix:r,className:a,rootCloseEvent:s,menuRole:i,disabled:l,active:c,renderMenuOnMount:u,menuVariant:d,...f},p)=>{const m=w(void 0,"nav-item");return(0,v.jsxs)(Zo,{ref:p,...f,className:o()(a,m),children:[(0,v.jsx)(Zo.Toggle,{id:e,eventKey:null,active:c,disabled:l,childBsPrefix:r,as:ni,children:t}),(0,v.jsx)(Zo.Menu,{role:i,renderOnMount:u,rootCloseEvent:s,variant:d,children:n})]})});Mi.displayName="NavDropdown";const Li=Object.assign(Mi,{Item:Zo.Item,ItemText:Zo.ItemText,Divider:Zo.Divider,Header:Zo.Header}),Ai=()=>{},Bi=a.forwardRef((e,t)=>{const{flip:n,offset:r,placement:o,containerPadding:s,popperConfig:i={},transition:l,runTransition:c}=e,[u,d]=Be(),[f,p]=Be(),m=qa(d,t),v=vs(e.container),h=vs(e.target),[x,b]=(0,a.useState)(!e.show),g=Ar(h,u,Ur({placement:o,enableEvents:!!e.show,containerPadding:s||5,flip:n,offset:r,arrowElement:f,popperConfig:i}));e.show&&x&&b(!1);const y=e.show||!x;if(function(e,t,{disabled:n,clickTrigger:r}={}){const o=t||Ai;Vr(e,o,{disabled:n,clickTrigger:r});const s=Fe(e=>{V(e)&&o(e)});(0,a.useEffect)(()=>{if(n||null==e)return;const t=O(Kr(e));let r=(t.defaultView||window).event;const o=J(t,"keyup",e=>{e!==r?s(e):r=void 0});return()=>{o()}},[e,n,s])}(u,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!y)return null;const{onExit:w,onExiting:E,onEnter:N,onEntering:C,onEntered:j}=e;let R=e.children(Object.assign({},g.attributes.popper,{style:g.styles.popper,ref:m}),{popper:g,placement:o,show:!!e.show,arrowProps:Object.assign({},g.attributes.arrow,{style:g.styles.arrow,ref:p})});return R=ws(l,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:R,onExit:w,onExiting:E,onExited:(...t)=>{b(!0),e.onExited&&e.onExited(...t)},onEnter:N,onEntering:C,onEntered:j}),v?I().createPortal(R,v):null});Bi.displayName="Overlay";const Fi=Bi,Hi=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"popover-header"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Hi.displayName="PopoverHeader";const _i=Hi,Ki=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"popover-body"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Ki.displayName="PopoverBody";const Wi=Ki;function Vi(e,t){let n=e;return"left"===e?n=t?"end":"start":"right"===e&&(n=t?"start":"end"),n}function zi(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}a.Component;const Ui=a.forwardRef(({bsPrefix:e,placement:t="right",className:n,style:r,children:a,body:s,arrowProps:i,hasDoneInitialMeasure:l,popper:c,show:u,...d},f)=>{const p=w(e,"popover"),m=C(),[h]=(null==t?void 0:t.split("-"))||[],x=Vi(h,m);let b=r;return u&&!l&&(b={...r,...zi(null==c?void 0:c.strategy)}),(0,v.jsxs)("div",{ref:f,role:"tooltip",style:b,"x-placement":h,className:o()(n,p,h&&`bs-popover-${x}`),...d,children:[(0,v.jsx)("div",{className:"popover-arrow",...i}),s?(0,v.jsx)(Wi,{children:a}):a]})});Ui.displayName="Popover";const Gi=Object.assign(Ui,{Header:_i,Body:Wi,POPPER_OFFSET:[0,8]}),qi=a.forwardRef(({bsPrefix:e,placement:t="right",className:n,style:r,children:a,arrowProps:s,hasDoneInitialMeasure:i,popper:l,show:c,...u},d)=>{e=w(e,"tooltip");const f=C(),[p]=(null==t?void 0:t.split("-"))||[],m=Vi(p,f);let h=r;return c&&!i&&(h={...r,...zi(null==l?void 0:l.strategy)}),(0,v.jsxs)("div",{ref:d,style:h,role:"tooltip","x-placement":p,className:o()(n,e,`bs-tooltip-${m}`),...u,children:[(0,v.jsx)("div",{className:"tooltip-arrow",...s}),(0,v.jsx)("div",{className:`${e}-inner`,children:a})]})});qi.displayName="Tooltip";const Xi=Object.assign(qi,{TOOLTIP_OFFSET:[0,6]}),Yi=a.forwardRef(({children:e,transition:t=tt,popperConfig:n={},rootClose:r=!1,placement:s="top",show:i=!1,...l},c)=>{const u=(0,a.useRef)({}),[d,f]=(0,a.useState)(null),[p,m]=function(e){const t=(0,a.useRef)(null),n=w(void 0,"popover"),r=w(void 0,"tooltip"),o=(0,a.useMemo)(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(Os(t.current,n))return Gi.POPPER_OFFSET;if(Os(t.current,r))return Xi.TOOLTIP_OFFSET}return[0,0]}}}),[e,n,r]);return[t,[o]]}(l.offset),h=ae(c,p),x=!0===t?tt:t||void 0,b=De(e=>{f(e),null==n||null==n.onFirstUpdate||n.onFirstUpdate(e)});return Fo(()=>{d&&l.target&&(null==u.current.scheduleUpdate||u.current.scheduleUpdate())},[d,l.target]),(0,a.useEffect)(()=>{i||f(null)},[i]),(0,v.jsx)(Fi,{...l,ref:h,popperConfig:{...n,modifiers:m.concat(n.modifiers||[]),onFirstUpdate:b},transition:x,rootClose:r,placement:s,show:i,children:(r,{arrowProps:s,popper:i,show:l})=>{var c;!function(e,t){const{ref:n}=e,{ref:r}=t;e.ref=n.__wrapped||(n.__wrapped=e=>n(se(e))),t.ref=r.__wrapped||(r.__wrapped=e=>r(se(e)))}(r,s);const f=null==i?void 0:i.placement,p=Object.assign(u.current,{state:null==i?void 0:i.state,scheduleUpdate:null==i?void 0:i.update,placement:f,outOfBoundaries:(null==i||null==(c=i.state)||null==(c=c.modifiersData.hide)?void 0:c.isReferenceHidden)||!1,strategy:n.strategy}),m=!!d;return"function"==typeof e?e({...r,placement:f,show:l,...!t&&l&&{className:"show"},popper:p,arrowProps:s,hasDoneInitialMeasure:m}):a.cloneElement(e,{...r,placement:f,arrowProps:s,popper:p,hasDoneInitialMeasure:m,className:o()(e.props.className,!t&&l&&"show"),style:{...e.props.style,...r.style}})}})});Yi.displayName="Overlay";const Zi=Yi;function Ji(e,t,n){const[r]=t,o=r.currentTarget,a=r.relatedTarget||r.nativeEvent[n];a&&a===o||Br(o,a)||e(...t)}rt().oneOf(["click","hover","focus"]);const Qi=({trigger:e=["hover","focus"],overlay:t,children:n,popperConfig:r={},show:o,defaultShow:s=!1,onToggle:i,delay:l,placement:c,flip:u=c&&-1!==c.indexOf("auto"),...d})=>{const f=(0,a.useRef)(null),m=ae(f,z(n)),h=Zt(),x=(0,a.useRef)(""),[b,g]=p(o,s,i),y=function(e){return e&&"object"==typeof e?e:{show:e,hide:e}}(l),{onFocus:w,onBlur:E,onClick:N}="function"!=typeof n?a.Children.only(n).props:{},C=(0,a.useCallback)(()=>{h.clear(),x.current="show",y.show?h.set(()=>{"show"===x.current&&g(!0)},y.show):g(!0)},[y.show,g,h]),j=(0,a.useCallback)(()=>{h.clear(),x.current="hide",y.hide?h.set(()=>{"hide"===x.current&&g(!1)},y.hide):g(!1)},[y.hide,g,h]),O=(0,a.useCallback)((...e)=>{C(),null==w||w(...e)},[C,w]),R=(0,a.useCallback)((...e)=>{j(),null==E||E(...e)},[j,E]),k=(0,a.useCallback)((...e)=>{g(!b),null==N||N(...e)},[N,g,b]),P=(0,a.useCallback)((...e)=>{Ji(C,e,"fromElement")},[C]),T=(0,a.useCallback)((...e)=>{Ji(j,e,"toElement")},[j]),$=null==e?[]:[].concat(e),S={ref:e=>{m(se(e))}};return-1!==$.indexOf("click")&&(S.onClick=k),-1!==$.indexOf("focus")&&(S.onFocus=O,S.onBlur=R),-1!==$.indexOf("hover")&&(S.onMouseOver=P,S.onMouseOut=T),(0,v.jsxs)(v.Fragment,{children:["function"==typeof n?n(S):(0,a.cloneElement)(n,S),(0,v.jsx)(Zi,{...d,show:b,onHide:j,flip:u,placement:c,popperConfig:r,target:f.current,children:t})]})},el=a.forwardRef(({active:e=!1,disabled:t=!1,className:n,style:r,activeLabel:a="(current)",children:s,linkStyle:i,linkClassName:l,as:c=Ye,...u},d)=>{const f=e||t?"span":c;return(0,v.jsx)("li",{ref:d,style:r,className:o()(n,"page-item",{active:e,disabled:t}),children:(0,v.jsxs)(f,{className:o()("page-link",l),style:i,...u,children:[s,e&&a&&(0,v.jsx)("span",{className:"visually-hidden",children:a})]})})});el.displayName="PageItem";const tl=el;function nl(e,t,n=e){const r=a.forwardRef(({children:e,...r},o)=>(0,v.jsxs)(el,{...r,ref:o,children:[(0,v.jsx)("span",{"aria-hidden":"true",children:e||t}),(0,v.jsx)("span",{className:"visually-hidden",children:n})]}));return r.displayName=e,r}const rl=nl("First","«"),ol=nl("Prev","‹","Previous"),al=nl("Ellipsis","…","More"),sl=nl("Next","›"),il=nl("Last","»"),ll=a.forwardRef(({bsPrefix:e,className:t,size:n,...r},a)=>{const s=w(e,"pagination");return(0,v.jsx)("ul",{ref:a,...r,className:o()(t,s,n&&`${s}-${n}`)})});ll.displayName="Pagination";const cl=Object.assign(ll,{First:rl,Prev:ol,Ellipsis:al,Item:tl,Next:sl,Last:il});function ul({animation:e,bg:t,bsPrefix:n,size:r,...a}){n=w(n,"placeholder");const[{className:s,...i}]=sn(a);return{...i,className:o()(s,e?`${n}-${e}`:n,r&&`${n}-${r}`,t&&`bg-${t}`)}}const dl=a.forwardRef((e,t)=>{const n=ul(e);return(0,v.jsx)(xt,{...n,ref:t,disabled:!0,tabIndex:-1})});dl.displayName="PlaceholderButton";const fl=dl,pl=a.forwardRef(({as:e="span",...t},n)=>{const r=ul(t);return(0,v.jsx)(e,{...r,ref:n})});pl.displayName="Placeholder";const ml=Object.assign(pl,{Button:fl});function vl(e,t,n){const r=(e-t)/(n-t)*100;return Math.round(1e3*r)/1e3}function hl({min:e,now:t,max:n,label:r,visuallyHidden:a,striped:s,animated:i,className:l,style:c,variant:u,bsPrefix:d,...f},p){return(0,v.jsx)("div",{ref:p,...f,role:"progressbar",className:o()(l,`${d}-bar`,{[`bg-${u}`]:u,[`${d}-bar-animated`]:i,[`${d}-bar-striped`]:i||s}),style:{width:`${vl(t,e,n)}%`,...c},"aria-valuenow":t,"aria-valuemin":e,"aria-valuemax":n,children:a?(0,v.jsx)("span",{className:"visually-hidden",children:r}):r})}const xl=a.forwardRef(({isChild:e=!1,...t},n)=>{const r={min:0,max:100,animated:!1,visuallyHidden:!1,striped:!1,...t};if(r.bsPrefix=w(r.bsPrefix,"progress"),e)return hl(r,n);const{min:s,now:i,max:l,label:c,visuallyHidden:u,striped:d,animated:f,bsPrefix:p,variant:m,className:h,children:x,...b}=r;return(0,v.jsx)("div",{ref:n,...b,className:o()(h,p),children:x?nn(x,e=>(0,a.cloneElement)(e,{isChild:!0})):hl({min:s,now:i,max:l,label:c,visuallyHidden:u,striped:d,animated:f,bsPrefix:p,variant:m},n)})});xl.displayName="ProgressBar";const bl=xl,gl=a.forwardRef(({bsPrefix:e,className:t,children:n,aspectRatio:r="1x1",style:s,...i},l)=>{e=w(e,"ratio");const c="number"==typeof r;return(0,v.jsx)("div",{ref:l,...i,style:{...s,...c&&{"--bs-aspect-ratio":(u=r,u<=0?"100%":u<1?100*u+"%":`${u}%`)}},className:o()(e,t,!c&&`${e}-${r}`),children:a.Children.only(n)});var u});gl.displayName="Ratio";const yl=gl,wl=a.forwardRef(({bsPrefix:e,className:t,as:n="div",...r},a)=>{const s=w(e,"row"),i=E(),l=N(),c=`${s}-cols`,u=[];return i.forEach(e=>{const t=r[e];let n;delete r[e],null!=t&&"object"==typeof t?({cols:n}=t):n=t;const o=e!==l?`-${e}`:"";null!=n&&u.push(`${c}${o}-${n}`)}),(0,v.jsx)(n,{ref:a,...r,className:o()(t,s,...u)})});wl.displayName="Row";const El=wl,Nl=a.forwardRef(({bsPrefix:e,variant:t,animation:n="border",size:r,as:a="div",className:s,...i},l)=>{const c=`${e=w(e,"spinner")}-${n}`;return(0,v.jsx)(a,{ref:l,...i,className:o()(s,c,r&&`${c}-${r}`,t&&`text-${t}`)})});Nl.displayName="Spinner";const Cl=Nl,jl={id:rt().string,toggleLabel:rt().string,href:rt().string,target:rt().string,onClick:rt().func,title:rt().node.isRequired,type:rt().string,disabled:rt().bool,align:Qo,menuRole:rt().string,renderMenuOnMount:rt().bool,rootCloseEvent:rt().string,flip:rt().bool,bsPrefix:rt().string,variant:rt().string,size:rt().string},Ol=a.forwardRef(({id:e,bsPrefix:t,size:n,variant:r,title:o,type:a="button",toggleLabel:s="Toggle dropdown",children:i,onClick:l,href:c,target:u,menuRole:d,renderMenuOnMount:f,rootCloseEvent:p,flip:m,...h},x)=>(0,v.jsxs)(Zo,{ref:x,...h,as:gt,children:[(0,v.jsx)(xt,{size:n,variant:r,disabled:h.disabled,bsPrefix:t,href:c,target:u,onClick:l,type:a,children:o}),(0,v.jsx)(Zo.Toggle,{split:!0,id:e,size:n,variant:r,disabled:h.disabled,childBsPrefix:t,children:(0,v.jsx)("span",{className:"visually-hidden",children:s})}),(0,v.jsx)(Zo.Menu,{role:d,renderOnMount:f,rootCloseEvent:p,flip:m,children:i})]}));Ol.propTypes=jl,Ol.displayName="SplitButton";const Rl=Ol,kl=function(e){return"function"==typeof s().useId?s().createElement(s().Fragment,null,e.children):s().createElement(to,e)};function Pl(e,t=h,n=x){const r=[];return Object.entries(e).forEach(([e,o])=>{null!=o&&("object"==typeof o?t.forEach(t=>{const a=o[t];if(null!=a){const o=t!==n?`-${t}`:"";r.push(`${e}${o}-${a}`)}}):r.push(`${e}-${o}`))}),r}const Tl=a.forwardRef(({as:e="div",bsPrefix:t,className:n,direction:r,gap:a,...s},i)=>{t=w(t,"horizontal"===r?"hstack":"vstack");const l=E(),c=N();return(0,v.jsx)(e,{...s,ref:i,className:o()(n,t,...Pl({gap:a},l,c))})});Tl.displayName="Stack";const $l=Tl,Sl=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],Dl=["activeKey","getControlledId","getControllerId"],Il=["as"];function Ml(e,t){if(null==e)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 Ll(e){let{active:t,eventKey:n,mountOnEnter:r,transition:o,unmountOnExit:s,role:i="tabpanel",onEnter:l,onEntering:c,onEntered:u,onExit:d,onExiting:f,onExited:p}=e,m=Ml(e,Sl);const v=(0,a.useContext)(Xa);if(!v)return[Object.assign({},m,{role:i}),{eventKey:n,isActive:t,mountOnEnter:r,transition:o,unmountOnExit:s,onEnter:l,onEntering:c,onEntered:u,onExit:d,onExiting:f,onExited:p}];const{activeKey:h,getControlledId:x,getControllerId:b}=v,g=Ml(v,Dl),y=mo(n);return[Object.assign({},m,{role:i,id:x(n),"aria-labelledby":b(n)}),{eventKey:n,isActive:null==t&&null!=y?mo(h)===y:t,transition:o||g.transition,mountOnEnter:null!=r?r:g.mountOnEnter,unmountOnExit:null!=s?s:g.unmountOnExit,onEnter:l,onEntering:c,onEntered:u,onExit:d,onExiting:f,onExited:p}]}const Al=a.forwardRef((e,t)=>{let{as:n="div"}=e,r=Ml(e,Il);const[o,{isActive:a,onEnter:s,onEntering:i,onEntered:l,onExit:c,onExiting:u,onExited:d,mountOnEnter:f,unmountOnExit:p,transition:m=hs}]=Ll(r);return(0,v.jsx)(Xa.Provider,{value:null,children:(0,v.jsx)(vo.Provider,{value:null,children:(0,v.jsx)(m,{in:a,onEnter:s,onEntering:i,onEntered:l,onExit:c,onExiting:u,onExited:d,mountOnEnter:f,unmountOnExit:p,children:(0,v.jsx)(n,Object.assign({},o,{ref:t,hidden:!a,"aria-hidden":!a}))})})})});Al.displayName="TabPanel";const Bl=e=>{const{id:t,generateChildId:n,onSelect:r,activeKey:o,defaultActiveKey:s,transition:i,mountOnEnter:l,unmountOnExit:c,children:u}=e,[d,f]=mn(o,s,r),p=oo(t),m=(0,a.useMemo)(()=>n||((e,t)=>p?`${p}-${t}-${e}`:null),[p,n]),h=(0,a.useMemo)(()=>({onSelect:f,activeKey:d,transition:i,mountOnEnter:l||!1,unmountOnExit:c||!1,getControlledId:e=>m(e,"tabpane"),getControllerId:e=>m(e,"tab")}),[f,d,i,l,c,m]);return(0,v.jsx)(Xa.Provider,{value:h,children:(0,v.jsx)(vo.Provider,{value:f||null,children:u})})};Bl.Panel=Al;const Fl=Bl;function Hl(e){return"boolean"==typeof e?e?tt:hs:e}const _l=({transition:e,...t})=>(0,v.jsx)(Fl,{...t,transition:Hl(e)});_l.displayName="TabContainer";const Kl=_l,Wl=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"tab-content"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));Wl.displayName="TabContent";const Vl=Wl,zl=a.forwardRef(({bsPrefix:e,transition:t,...n},r)=>{const[{className:a,as:s="div",...i},{isActive:l,onEnter:c,onEntering:u,onEntered:d,onExit:f,onExiting:p,onExited:m,mountOnEnter:h,unmountOnExit:x,transition:b=tt}]=Ll({...n,transition:Hl(t)}),g=w(e,"tab-pane");return(0,v.jsx)(Xa.Provider,{value:null,children:(0,v.jsx)(vo.Provider,{value:null,children:(0,v.jsx)(b,{in:l,onEnter:c,onEntering:u,onEntered:d,onExit:f,onExiting:p,onExited:m,mountOnEnter:h,unmountOnExit:x,children:(0,v.jsx)(s,{...i,ref:r,className:o()(a,g,l&&"active")})})})})});zl.displayName="TabPane";const Ul=zl,Gl={eventKey:rt().oneOfType([rt().string,rt().number]),title:rt().node.isRequired,disabled:rt().bool,tabClassName:rt().string,tabAttrs:rt().object},ql=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};ql.propTypes=Gl;const Xl=Object.assign(ql,{Container:Kl,Content:Vl,Pane:Ul}),Yl=a.forwardRef(({bsPrefix:e,className:t,striped:n,bordered:r,borderless:a,hover:s,size:i,variant:l,responsive:c,...u},d)=>{const f=w(e,"table"),p=o()(t,f,l&&`${f}-${l}`,i&&`${f}-${i}`,n&&`${f}-${"string"==typeof n?`striped-${n}`:"striped"}`,r&&`${f}-bordered`,a&&`${f}-borderless`,s&&`${f}-hover`),m=(0,v.jsx)("table",{...u,className:p,ref:d});if(c){let e=`${f}-responsive`;return"string"==typeof c&&(e=`${e}-${c}`),(0,v.jsx)("div",{className:e,children:m})}return m});Yl.displayName="Table";const Zl=Yl;function Jl(e){let t;return rn(e,e=>{null==t&&(t=e.props.eventKey)}),t}function Ql(e){const{title:t,eventKey:n,disabled:r,tabClassName:o,tabAttrs:a,id:s}=e.props;return null==t?null:(0,v.jsx)(ei,{as:"li",role:"presentation",children:(0,v.jsx)(ni,{as:"button",type:"button",eventKey:n,disabled:r,id:s,className:o,...a,children:t})})}const ec=e=>{const{id:t,onSelect:n,transition:r,mountOnEnter:o=!1,unmountOnExit:a=!1,variant:s="tabs",children:i,activeKey:l=Jl(i),...c}=m(e,{activeKey:"onSelect"});return(0,v.jsxs)(Fl,{id:t,activeKey:l,onSelect:n,transition:Hl(r),mountOnEnter:o,unmountOnExit:a,children:[(0,v.jsx)(oi,{id:t,...c,role:"tablist",as:"ul",variant:s,children:nn(i,Ql)}),(0,v.jsx)(Vl,{children:nn(i,e=>{const t={...e.props};return delete t.title,delete t.disabled,delete t.tabClassName,delete t.tabAttrs,(0,v.jsx)(Ul,{...t})})})]})};ec.displayName="Tabs";const tc=ec,nc={[B]:"showing",[H]:"showing show"},rc=a.forwardRef((e,t)=>(0,v.jsx)(tt,{...e,ref:t,transitionClasses:nc}));rc.displayName="ToastFade";const oc=rc,ac=a.createContext({onClose(){}}),sc=a.forwardRef(({bsPrefix:e,closeLabel:t="Close",closeVariant:n,closeButton:r=!0,className:s,children:i,...l},c)=>{e=w(e,"toast-header");const u=(0,a.useContext)(ac),d=De(e=>{null==u||null==u.onClose||u.onClose(e)});return(0,v.jsxs)("div",{ref:c,...l,className:o()(e,s),children:[i,r&&(0,v.jsx)(st,{"aria-label":t,variant:n,onClick:d,"data-dismiss":"toast"})]})});sc.displayName="ToastHeader";const ic=sc,lc=a.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},a)=>(t=w(t,"toast-body"),(0,v.jsx)(n,{ref:a,className:o()(e,t),...r})));lc.displayName="ToastBody";const cc=lc,uc=a.forwardRef(({bsPrefix:e,className:t,transition:n=oc,show:r=!0,animation:s=!0,delay:i=5e3,autohide:l=!1,onClose:c,onEntered:u,onExit:d,onExiting:f,onEnter:p,onEntering:m,onExited:h,bg:x,...b},g)=>{e=w(e,"toast");const y=(0,a.useRef)(i),E=(0,a.useRef)(c);(0,a.useEffect)(()=>{y.current=i,E.current=c},[i,c]);const N=Zt(),C=!(!l||!r),j=(0,a.useCallback)(()=>{C&&(null==E.current||E.current())},[C]);(0,a.useEffect)(()=>{N.set(j,y.current)},[N,j]);const O=(0,a.useMemo)(()=>({onClose:c}),[c]),R=!(!n||!s),k=(0,v.jsx)("div",{...b,ref:g,className:o()(e,t,x&&`bg-${x}`,!R&&(r?"show":"hide")),role:"alert","aria-live":"assertive","aria-atomic":"true"});return(0,v.jsx)(ac.Provider,{value:O,children:R&&n?(0,v.jsx)(n,{in:r,onEnter:p,onEntering:m,onEntered:u,onExit:d,onExiting:f,onExited:h,unmountOnExit:!0,children:k}):k})});uc.displayName="Toast";const dc=Object.assign(uc,{Body:cc,Header:ic}),fc={"top-start":"top-0 start-0","top-center":"top-0 start-50 translate-middle-x","top-end":"top-0 end-0","middle-start":"top-50 start-0 translate-middle-y","middle-center":"top-50 start-50 translate-middle","middle-end":"top-50 end-0 translate-middle-y","bottom-start":"bottom-0 start-0","bottom-center":"bottom-0 start-50 translate-middle-x","bottom-end":"bottom-0 end-0"},pc=a.forwardRef(({bsPrefix:e,position:t,containerPosition:n,className:r,as:a="div",...s},i)=>(e=w(e,"toast-container"),(0,v.jsx)(a,{ref:i,...s,className:o()(e,t&&fc[t],n&&`position-${n}`,r)})));pc.displayName="ToastContainer";const mc=pc,vc=()=>{},hc=a.forwardRef(({bsPrefix:e,name:t,className:n,checked:r,type:a,onChange:s,value:i,disabled:l,id:c,inputRef:u,...d},f)=>(e=w(e,"btn-check"),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("input",{className:e,name:t,type:a,value:i,ref:u,autoComplete:"off",checked:!!r,disabled:!!l,onChange:s||vc,id:c}),(0,v.jsx)(xt,{...d,ref:f,className:o()(n,l&&"disabled"),type:void 0,role:void 0,as:"label",htmlFor:c})]})));hc.displayName="ToggleButton";const xc=hc,bc=a.forwardRef((e,t)=>{const{children:n,type:r="radio",name:o,value:s,onChange:i,vertical:l=!1,...c}=m(e,{value:"onChange"}),d=()=>null==s?[]:[].concat(s);return"radio"!==r||o||u()(!1),(0,v.jsx)(gt,{...c,ref:t,vertical:l,children:nn(n,e=>{const t=d(),{value:n,onChange:s}=e.props;return a.cloneElement(e,{type:r,name:e.name||o,checked:-1!==t.indexOf(n),onChange:ne(s,e=>((e,t)=>{if(!i)return;const n=d(),o=-1!==n.indexOf(e);"radio"!==r?i(o?n.filter(t=>t!==e):[...n,e],t):o||i(e,t)})(n,e))})})})});bc.displayName="ToggleButtonGroup";const gc=Object.assign(bc,{Button:xc})},74848:(e,t,n)=>{"use strict";e.exports=n(21020)}}]);