@articles-media/articles-dev-box 1.0.3 → 1.0.5

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.
@@ -0,0 +1,93 @@
1
+ import { j } from "./jsx-runtime-tc70JA_2.js";
2
+ import { forwardRef as x } from "react";
3
+ function N(n) {
4
+ return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
5
+ }
6
+ var u = { exports: {} };
7
+ var l;
8
+ function S() {
9
+ return l || (l = 1, (function(n) {
10
+ (function() {
11
+ var i = {}.hasOwnProperty;
12
+ function r() {
13
+ for (var t = "", e = 0; e < arguments.length; e++) {
14
+ var s = arguments[e];
15
+ s && (t = a(t, o(s)));
16
+ }
17
+ return t;
18
+ }
19
+ function o(t) {
20
+ if (typeof t == "string" || typeof t == "number")
21
+ return t;
22
+ if (typeof t != "object")
23
+ return "";
24
+ if (Array.isArray(t))
25
+ return r.apply(null, t);
26
+ if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]"))
27
+ return t.toString();
28
+ var e = "";
29
+ for (var s in t)
30
+ i.call(t, s) && t[s] && (e = a(e, s));
31
+ return e;
32
+ }
33
+ function a(t, e) {
34
+ return e ? t ? t + " " + e : t + e : t;
35
+ }
36
+ n.exports ? (r.default = r, n.exports = r) : window.classNames = r;
37
+ })();
38
+ })(u)), u.exports;
39
+ }
40
+ var w = S();
41
+ const A = /* @__PURE__ */ N(w), O = x((n, i) => {
42
+ const {
43
+ size: r,
44
+ variant: o,
45
+ style: a,
46
+ // Can just use small instead of size="sm"
47
+ small: t,
48
+ large: e,
49
+ onClick: s,
50
+ className: c,
51
+ disabled: f,
52
+ active: p,
53
+ type: m,
54
+ onMouseDown: d,
55
+ onMouseUp: b,
56
+ onMouseLeave: y,
57
+ onTouchStart: v,
58
+ onTouchEnd: h,
59
+ ...E
60
+ } = n;
61
+ return /* @__PURE__ */ j.jsx(
62
+ "button",
63
+ {
64
+ ref: i,
65
+ ...m && { type: "submit" },
66
+ disabled: f,
67
+ style: a,
68
+ onMouseDown: d,
69
+ onMouseUp: b,
70
+ onMouseLeave: y,
71
+ onTouchStart: v,
72
+ onTouchEnd: h,
73
+ className: A(
74
+ `btn ${o ? `btn-${o}` : "btn-articles"}`,
75
+ {
76
+ [c]: c,
77
+ "btn-lg": e,
78
+ "btn-sm": t,
79
+ active: p,
80
+ [`btn-${r}`]: r
81
+ }
82
+ ),
83
+ onClick: s,
84
+ children: n.children
85
+ }
86
+ );
87
+ });
88
+ O.displayName = "ArticlesButton";
89
+ export {
90
+ O as A,
91
+ A as c,
92
+ N as g
93
+ };
@@ -0,0 +1 @@
1
+ "use strict";const S=require("./jsx-runtime-nZSsnGb7.cjs"),w=require("react");function f(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var u={exports:{}};var l;function A(){return l||(l=1,(function(s){(function(){var i={}.hasOwnProperty;function n(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];r&&(t=a(t,o(r)))}return t}function o(t){if(typeof t=="string"||typeof t=="number")return t;if(typeof t!="object")return"";if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var r in t)i.call(t,r)&&t[r]&&(e=a(e,r));return e}function a(t,e){return e?t?t+" "+e:t+e:t}s.exports?(n.default=n,s.exports=n):window.classNames=n})()})(u)),u.exports}var E=A();const p=f(E),m=w.forwardRef((s,i)=>{const{size:n,variant:o,style:a,small:t,large:e,onClick:r,className:c,disabled:d,active:b,type:y,onMouseDown:v,onMouseUp:h,onMouseLeave:j,onTouchStart:x,onTouchEnd:N,...O}=s;return S.jsxRuntimeExports.jsx("button",{ref:i,...y&&{type:"submit"},disabled:d,style:a,onMouseDown:v,onMouseUp:h,onMouseLeave:j,onTouchStart:x,onTouchEnd:N,className:p(`btn ${o?`btn-${o}`:"btn-articles"}`,{[c]:c,"btn-lg":e,"btn-sm":t,active:b,[`btn-${n}`]:n}),onClick:r,children:s.children})});m.displayName="ArticlesButton";exports.ArticlesButton=m;exports.classNames=p;exports.getDefaultExportFromCjs=f;
@@ -0,0 +1 @@
1
+ "use strict";const e=require("./jsx-runtime-nZSsnGb7.cjs"),c=require("react"),l=require("./Modal-BNCxuVnD.cjs"),x=require("./Button-BVYvDTtH.cjs"),m=require("./index-CqsCVLvJ.cjs");function h({setChecked:s,checked:t,readOnly:a}){return e.jsxRuntimeExports.jsxs("label",{className:`articles-switch mb-0 ${t&&"checked"}`,children:[e.jsxRuntimeExports.jsx("input",{type:"checkbox",readOnly:!!a,checked:t,onChange:()=>{}}),e.jsxRuntimeExports.jsx("span",{onClick:n=>{if(s){s(!t);return}else{n.preventDefault();return}},className:"slider"})]})}const f=async s=>{if(process.env.NODE_ENV==="development")try{return(await m.axios.get("http://localhost:3001/api/community/games/scoreboard",{params:{game:s.game}})).data}catch{}return m.axios.get(s.url,{params:{game:s.game}}).then(t=>t.data)},E={dedupingInterval:1e3*60*30,refreshInterval:0,revalidateOnFocus:!1,revalidateIfStale:!1,shouldRetryOnError:!1},R=s=>{const{data:t,error:a,isLoading:n,isValidating:i,mutate:o}=m.useSWR(s?.game?{url:"https://articles.media/api/community/games/scoreboard",game:s.game}:null,f,E);return{data:t,error:a,isLoading:n,isValidating:i,mutate:o}};function b({game:s,reloadScoreboard:t,setReloadScoreboard:a}){const[n,i]=c.useState(!1),[o,j]=c.useState(!1),{data:d,mutate:u}=R({game:s});return c.useEffect(()=>{},[]),c.useEffect(()=>{t&&(a(!1),u())},[t]),e.jsxRuntimeExports.jsxs("div",{className:"scoreboard",children:[e.jsxRuntimeExports.jsxs(l.Modal,{show:n,size:"md",className:"articles-modal",centered:!0,onHide:()=>i(!1),children:[e.jsxRuntimeExports.jsx(l.Modal.Header,{children:e.jsxRuntimeExports.jsx(l.Modal.Title,{children:"Scoreboard Settings"})}),e.jsxRuntimeExports.jsx(l.Modal.Body,{children:e.jsxRuntimeExports.jsxs("div",{className:"d-flex justify-content-between align-items-center",onClick:()=>j(!o),children:[e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsx("i",{className:"fas fa-trophy-alt"}),e.jsxRuntimeExports.jsx("span",{children:"Join Scoreboard?"})]}),e.jsxRuntimeExports.jsx(h,{checked:o})]})}),e.jsxRuntimeExports.jsx(l.Modal.Footer,{className:"justify-content-between",children:e.jsxRuntimeExports.jsx(x.ArticlesButton,{variant:"articles",onClick:()=>{i(!1)},children:"Close"})})]}),e.jsxRuntimeExports.jsxs("div",{className:"card card-articles card-sm mb-3 mb-lg-0",children:[e.jsxRuntimeExports.jsxs("div",{className:"card-header d-flex justify-content-between align-items-center",children:[e.jsxRuntimeExports.jsxs("span",{children:[s," Scoreboard"]}),e.jsxRuntimeExports.jsx(x.ArticlesButton,{onClick:()=>{u()},small:!0,children:e.jsxRuntimeExports.jsx("i",{className:"fad fa-redo me-0"})})]}),e.jsxRuntimeExports.jsxs("div",{className:"card-body p-0",children:[(d?.length||0)==0&&e.jsxRuntimeExports.jsx("div",{className:"small p-2",children:"No scores yet"}),d?.map((r,p)=>e.jsxRuntimeExports.jsxs("div",{className:"result d-flex flex-column justify-content-between border-bottom p-2",children:[e.jsxRuntimeExports.jsxs("div",{className:"d-flex justify-content-between lh-sm",children:[e.jsxRuntimeExports.jsxs("div",{className:"d-flex",children:[e.jsxRuntimeExports.jsx("h5",{className:"mb-0 me-3",children:p+1}),e.jsxRuntimeExports.jsx("div",{className:"lh-sm"})]}),e.jsxRuntimeExports.jsx("div",{children:e.jsxRuntimeExports.jsx("h5",{className:"mb-0",children:r.score||r.total})})]}),r.last_play&&r.public_last_play&&e.jsxRuntimeExports.jsxs("small",{className:"mt-1",style:{fontSize:"0.75rem"},children:["Played: ",format(new Date(r.last_play),"MM/d/yy hh:mmaa")]})]},r._id))]}),e.jsxRuntimeExports.jsxs("div",{className:"card-footer d-flex justify-content-between align-items-center",children:[e.jsxRuntimeExports.jsx("div",{className:"small",children:"Play to get on the board!"}),e.jsxRuntimeExports.jsx(x.ArticlesButton,{small:!0,onClick:()=>{i(!0)},children:e.jsxRuntimeExports.jsx("i",{className:"fad fa-cog me-0"})})]})]})]})}module.exports=b;
@@ -0,0 +1,175 @@
1
+ import { j as e } from "./jsx-runtime-tc70JA_2.js";
2
+ import { useState as h, useEffect as f } from "react";
3
+ import { M as n } from "./Modal-BoOxjQvF.js";
4
+ import { A as o } from "./Button-B5nVYPMZ.js";
5
+ import { u as p, a as x } from "./index-CsgQIn35.js";
6
+ function b({
7
+ setChecked: s,
8
+ checked: a,
9
+ readOnly: r
10
+ }) {
11
+ return /* @__PURE__ */ e.jsxs("label", { className: `articles-switch mb-0 ${a && "checked"}`, children: [
12
+ /* @__PURE__ */ e.jsx(
13
+ "input",
14
+ {
15
+ type: "checkbox",
16
+ readOnly: !!r,
17
+ checked: a,
18
+ onChange: () => {
19
+ }
20
+ }
21
+ ),
22
+ /* @__PURE__ */ e.jsx(
23
+ "span",
24
+ {
25
+ onClick: (l) => {
26
+ if (s) {
27
+ s(!a);
28
+ return;
29
+ } else {
30
+ l.preventDefault();
31
+ return;
32
+ }
33
+ },
34
+ className: "slider"
35
+ }
36
+ )
37
+ ] });
38
+ }
39
+ const y = async (s) => {
40
+ if (process.env.NODE_ENV === "development")
41
+ try {
42
+ return (await x.get("http://localhost:3001/api/community/games/scoreboard", {
43
+ params: {
44
+ game: s.game
45
+ }
46
+ })).data;
47
+ } catch {
48
+ }
49
+ return x.get(s.url, {
50
+ params: {
51
+ game: s.game
52
+ }
53
+ }).then((a) => a.data);
54
+ }, N = {
55
+ dedupingInterval: 1e3 * 60 * 30,
56
+ refreshInterval: 0,
57
+ revalidateOnFocus: !1,
58
+ revalidateIfStale: !1,
59
+ shouldRetryOnError: !1
60
+ // fallbackData: []
61
+ }, g = (s) => {
62
+ const { data: a, error: r, isLoading: l, isValidating: i, mutate: c } = p(
63
+ s?.game ? {
64
+ // url: "/api/community/games/scoreboard",
65
+ url: "https://articles.media/api/community/games/scoreboard",
66
+ game: s.game
67
+ } : null,
68
+ y,
69
+ N
70
+ );
71
+ return {
72
+ data: a,
73
+ error: r,
74
+ isLoading: l,
75
+ isValidating: i,
76
+ mutate: c
77
+ };
78
+ };
79
+ function k({ game: s, reloadScoreboard: a, setReloadScoreboard: r }) {
80
+ const [l, i] = h(!1), [c, u] = h(!1), {
81
+ data: d,
82
+ mutate: m
83
+ } = g({
84
+ game: s
85
+ });
86
+ return f(() => {
87
+ }, []), f(() => {
88
+ a && (r(!1), m());
89
+ }, [a]), /* @__PURE__ */ e.jsxs("div", { className: "scoreboard", children: [
90
+ /* @__PURE__ */ e.jsxs(n, { show: l, size: "md", className: "articles-modal", centered: !0, onHide: () => i(!1), children: [
91
+ /* @__PURE__ */ e.jsx(n.Header, { children: /* @__PURE__ */ e.jsx(n.Title, { children: "Scoreboard Settings" }) }),
92
+ /* @__PURE__ */ e.jsx(n.Body, { children: /* @__PURE__ */ e.jsxs(
93
+ "div",
94
+ {
95
+ className: "d-flex justify-content-between align-items-center",
96
+ onClick: () => u(!c),
97
+ children: [
98
+ /* @__PURE__ */ e.jsxs("div", { children: [
99
+ /* @__PURE__ */ e.jsx("i", { className: "fas fa-trophy-alt" }),
100
+ /* @__PURE__ */ e.jsx("span", { children: "Join Scoreboard?" })
101
+ ] }),
102
+ /* @__PURE__ */ e.jsx(
103
+ b,
104
+ {
105
+ checked: c
106
+ }
107
+ )
108
+ ]
109
+ }
110
+ ) }),
111
+ /* @__PURE__ */ e.jsx(n.Footer, { className: "justify-content-between", children: /* @__PURE__ */ e.jsx(
112
+ o,
113
+ {
114
+ variant: "articles",
115
+ onClick: () => {
116
+ i(!1);
117
+ },
118
+ children: "Close"
119
+ }
120
+ ) })
121
+ ] }),
122
+ /* @__PURE__ */ e.jsxs("div", { className: "card card-articles card-sm mb-3 mb-lg-0", children: [
123
+ /* @__PURE__ */ e.jsxs("div", { className: "card-header d-flex justify-content-between align-items-center", children: [
124
+ /* @__PURE__ */ e.jsxs("span", { children: [
125
+ s,
126
+ " Scoreboard"
127
+ ] }),
128
+ /* @__PURE__ */ e.jsx(
129
+ o,
130
+ {
131
+ onClick: () => {
132
+ m();
133
+ },
134
+ small: !0,
135
+ children: /* @__PURE__ */ e.jsx("i", { className: "fad fa-redo me-0" })
136
+ }
137
+ )
138
+ ] }),
139
+ /* @__PURE__ */ e.jsxs("div", { className: "card-body p-0", children: [
140
+ (d?.length || 0) == 0 && /* @__PURE__ */ e.jsx("div", { className: "small p-2", children: "No scores yet" }),
141
+ d?.map(
142
+ (t, j) => /* @__PURE__ */ e.jsxs("div", { className: "result d-flex flex-column justify-content-between border-bottom p-2", children: [
143
+ /* @__PURE__ */ e.jsxs("div", { className: "d-flex justify-content-between lh-sm", children: [
144
+ /* @__PURE__ */ e.jsxs("div", { className: "d-flex", children: [
145
+ /* @__PURE__ */ e.jsx("h5", { className: "mb-0 me-3", children: j + 1 }),
146
+ /* @__PURE__ */ e.jsx("div", { className: "lh-sm" })
147
+ ] }),
148
+ /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx("h5", { className: "mb-0", children: t.score || t.total }) })
149
+ ] }),
150
+ t.last_play && t.public_last_play && /* @__PURE__ */ e.jsxs("small", { className: "mt-1", style: { fontSize: "0.75rem" }, children: [
151
+ "Played: ",
152
+ format(new Date(t.last_play), "MM/d/yy hh:mmaa")
153
+ ] })
154
+ ] }, t._id)
155
+ )
156
+ ] }),
157
+ /* @__PURE__ */ e.jsxs("div", { className: "card-footer d-flex justify-content-between align-items-center", children: [
158
+ /* @__PURE__ */ e.jsx("div", { className: "small", children: "Play to get on the board!" }),
159
+ /* @__PURE__ */ e.jsx(
160
+ o,
161
+ {
162
+ small: !0,
163
+ onClick: () => {
164
+ i(!0);
165
+ },
166
+ children: /* @__PURE__ */ e.jsx("i", { className: "fad fa-cog me-0" })
167
+ }
168
+ )
169
+ ] })
170
+ ] })
171
+ ] });
172
+ }
173
+ export {
174
+ k as default
175
+ };
@@ -0,0 +1,25 @@
1
+ "use strict";const s=require("./jsx-runtime-nZSsnGb7.cjs"),e=require("react");function t(r){return s.jsxRuntimeExports.jsxs(s.jsxRuntimeExports.Fragment,{children:[process.env.NODE_ENV==="development"&&s.jsxRuntimeExports.jsx("style",{children:`
2
+ @keyframes grow-shrink {
3
+ 0% { transform: translateY(-50px); }
4
+ 50% { transform: translateY(0px); }
5
+ 100% { transform: translateY(-50px); }
6
+ }
7
+ .articles-global-body {
8
+ transform: translateY(-40px);
9
+ z-index: 1055!important;
10
+ position: absolute;
11
+ top: 0;
12
+ left: 0;
13
+ display: flex;
14
+ justify-content: center;
15
+ align-items: center;
16
+ width: 50px;
17
+ height: 50px;
18
+ margin: 0;
19
+ padding: 0;
20
+ background-color: green;
21
+ color: #FFFFFF;
22
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
23
+ animation: grow-shrink 2s ease-in;
24
+ }
25
+ `}),s.jsxRuntimeExports.jsxs("div",{className:"articles-global-body",children:[s.jsxRuntimeExports.jsx("link",{rel:"stylesheet",href:"https://cdn.articles.media/fonts/fontawsome/css/all.min.css"}),s.jsxRuntimeExports.jsx("div",{className:"content",children:s.jsxRuntimeExports.jsx("i",{className:"fas fa-thumbs-up"})})]})]})}const n=e.memo(t);module.exports=n;
@@ -0,0 +1,45 @@
1
+ import { j as e } from "./jsx-runtime-tc70JA_2.js";
2
+ import { memo as s } from "react";
3
+ function t(a) {
4
+ return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
5
+ process.env.NODE_ENV === "development" && /* @__PURE__ */ e.jsx("style", { children: `
6
+ @keyframes grow-shrink {
7
+ 0% { transform: translateY(-50px); }
8
+ 50% { transform: translateY(0px); }
9
+ 100% { transform: translateY(-50px); }
10
+ }
11
+ .articles-global-body {
12
+ transform: translateY(-40px);
13
+ z-index: 1055!important;
14
+ position: absolute;
15
+ top: 0;
16
+ left: 0;
17
+ display: flex;
18
+ justify-content: center;
19
+ align-items: center;
20
+ width: 50px;
21
+ height: 50px;
22
+ margin: 0;
23
+ padding: 0;
24
+ background-color: green;
25
+ color: #FFFFFF;
26
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
27
+ animation: grow-shrink 2s ease-in;
28
+ }
29
+ ` }),
30
+ /* @__PURE__ */ e.jsxs("div", { className: "articles-global-body", children: [
31
+ /* @__PURE__ */ e.jsx(
32
+ "link",
33
+ {
34
+ rel: "stylesheet",
35
+ href: "https://cdn.articles.media/fonts/fontawsome/css/all.min.css"
36
+ }
37
+ ),
38
+ /* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx("i", { className: "fas fa-thumbs-up" }) })
39
+ ] })
40
+ ] });
41
+ }
42
+ const r = s(t);
43
+ export {
44
+ r as default
45
+ };
@@ -0,0 +1 @@
1
+ "use strict";const s=require("./jsx-runtime-nZSsnGb7.cjs");function e(){return s.jsxRuntimeExports.jsx("div",{children:s.jsxRuntimeExports.jsx("link",{rel:"stylesheet",href:"https://cdn.articles.media/fonts/fontawsome/css/all.min.css"})})}module.exports=e;
@@ -0,0 +1,13 @@
1
+ import { j as s } from "./jsx-runtime-tc70JA_2.js";
2
+ function t() {
3
+ return /* @__PURE__ */ s.jsx("div", { children: /* @__PURE__ */ s.jsx(
4
+ "link",
5
+ {
6
+ rel: "stylesheet",
7
+ href: "https://cdn.articles.media/fonts/fontawsome/css/all.min.css"
8
+ }
9
+ ) });
10
+ }
11
+ export {
12
+ t as default
13
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";const K=require("./Button-BVYvDTtH.cjs"),c=require("react"),Ee=require("react-dom"),k=require("./jsx-runtime-nZSsnGb7.cjs");function zt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const z=zt(c),he=!!(typeof window<"u"&&window.document&&window.document.createElement);var We=!1,Be=!1;try{var _e={get passive(){return We=!0},get once(){return Be=We=!0}};he&&(window.addEventListener("test",_e,_e),window.removeEventListener("test",_e,!0))}catch{}function Rt(e,t,n,r){if(r&&typeof r!="boolean"&&!Be){var i=r.once,o=r.capture,a=n;!Be&&i&&(a=n.__once||function u(p){this.removeEventListener(t,u,o),n.call(this,p)},n.__once=a),e.addEventListener(t,a,We?r:o)}e.addEventListener(t,n,r)}function we(e){return e&&e.ownerDocument||document}function qe(e,t,n,r){var i=r&&typeof r!="boolean"?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)}var Re;function nt(e){if((!Re&&Re!==0||e)&&he){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),Re=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Re}function Ht(){return c.useState(null)}function Vt(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e},[e]),t}function Ue(e){const t=Vt(e);return c.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const rt=e=>!e||typeof e=="function"?e:t=>{e.current=t};function Gt(e,t){const n=rt(e),r=rt(t);return i=>{n&&n(i),r&&r(i)}}function Tt(e,t){return c.useMemo(()=>Gt(e,t),[e,t])}function Kt(e){const t=c.useRef(e);return t.current=e,t}function Xt(e){const t=Kt(e);c.useEffect(()=>()=>t.current(),[])}function Jt(e){var t=we(e);return t&&t.defaultView||window}function Zt(e,t){return Jt(e).getComputedStyle(e,t)}var Qt=/([A-Z])/g;function en(e){return e.replace(Qt,"-$1").toLowerCase()}var tn=/^ms-/;function Te(e){return en(e).replace(tn,"-ms-")}var nn=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function rn(e){return!!(e&&nn.test(e))}function fe(e,t){var n="",r="";if(typeof t=="string")return e.style.getPropertyValue(Te(t))||Zt(e).getPropertyValue(Te(t));Object.keys(t).forEach(function(i){var o=t[i];!o&&o!==0?e.style.removeProperty(Te(i)):rn(i)?r+=i+"("+o+") ":n+=Te(i)+": "+o+";"}),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}function Se(e,t,n,r){return Rt(e,t,n,r),function(){qe(e,t,n,r)}}function on(e,t,n,r){if(r===void 0&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,n,r),e.dispatchEvent(i)}}function sn(e){var t=fe(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function an(e,t,n){n===void 0&&(n=5);var r=!1,i=setTimeout(function(){r||on(e,"transitionend",!0)},t+n),o=Se(e,"transitionend",function(){r=!0},{once:!0});return function(){clearTimeout(i),o()}}function Ct(e,t,n,r){n==null&&(n=sn(e)||0);var i=an(e,n,r),o=Se(e,"transitionend",t);return function(){i(),o()}}function Me(e){e===void 0&&(e=we());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function ot(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}function un(){const e=c.useRef(!0),t=c.useRef(()=>e.current);return c.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function cn(e){const t=c.useRef(e);return t.current=e,t}function ln(e){const t=cn(e);c.useEffect(()=>()=>t.current(),[])}function fn(e){const t=c.useRef(null);return c.useEffect(()=>{t.current=e}),t.current}function dn(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e},[e]),t}function ce(e){const t=dn(e);return c.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const pn="data-rr-ui-";function mn(e){return`${pn}${e}`}function vn(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const it=mn("modal-open");class He{constructor({ownerDocument:t,handleContainerOverflow:n=!0,isRTL:r=!1}={}){this.handleContainerOverflow=n,this.isRTL=r,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return vn(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(t){}removeModalAttributes(t){}setContainerStyle(t){const n={overflow:"hidden"},r=this.isRTL?"paddingLeft":"paddingRight",i=this.getElement();t.style={overflow:i.style.overflow,[r]:i.style[r]},t.scrollBarWidth&&(n[r]=`${parseInt(fe(i,r)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(it,""),fe(i,n)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const n=this.getElement();n.removeAttribute(it),Object.assign(n.style,t.style)}add(t){let n=this.modals.indexOf(t);return n!==-1||(n=this.modals.length,this.modals.push(t),this.setModalAttributes(t),n!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),n}remove(t){const n=this.modals.indexOf(t);n!==-1&&(this.modals.splice(n,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const Ot=c.createContext(he?window:void 0);Ot.Provider;function Ve(){return c.useContext(Ot)}const Ne=(e,t)=>he?e==null?(t||we()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function En(e,t){const n=Ve(),[r,i]=c.useState(()=>Ne(e,n?.document));if(!r){const o=Ne(e);o&&i(o)}return c.useEffect(()=>{},[t,r]),c.useEffect(()=>{const o=Ne(e);o!==r&&i(o)},[e,r]),r}const st=e=>!e||typeof e=="function"?e:t=>{e.current=t};function hn(e,t){const n=st(e),r=st(t);return i=>{n&&n(i),r&&r(i)}}function Ge(e,t){return c.useMemo(()=>hn(e,t),[e,t])}const yn=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",gn=typeof document<"u",at=gn||yn?c.useLayoutEffect:c.useEffect;function xn(e){return e.code==="Escape"||e.keyCode===27}function bn(){const e=z.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function je(e){if(!e||typeof e=="function")return null;const{major:t}=bn();return t>=19?e.props.ref:e.ref}function Rn({children:e,in:t,onExited:n,mountOnEnter:r,unmountOnExit:i}){const o=c.useRef(null),a=c.useRef(t),u=ce(n);c.useEffect(()=>{t?a.current=!0:u(o.current)},[t,u]);const p=Ge(o,je(e)),m=c.cloneElement(e,{ref:p});return t?m:i||!a.current&&r?null:m}const Tn=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function Cn(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function On(e){let{onEnter:t,onEntering:n,onEntered:r,onExit:i,onExiting:o,onExited:a,addEndListener:u,children:p}=e,m=Cn(e,Tn);const v=c.useRef(null),y=Ge(v,je(p)),T=A=>l=>{A&&v.current&&A(v.current,l)},_=c.useCallback(T(t),[t]),D=c.useCallback(T(n),[n]),j=c.useCallback(T(r),[r]),$=c.useCallback(T(i),[i]),F=c.useCallback(T(o),[o]),V=c.useCallback(T(a),[a]),L=c.useCallback(T(u),[u]);return Object.assign({},m,{nodeRef:v},t&&{onEnter:_},n&&{onEntering:D},r&&{onEntered:j},i&&{onExit:$},o&&{onExiting:F},a&&{onExited:V},u&&{addEndListener:L},{children:typeof p=="function"?(A,l)=>p(A,Object.assign({},l,{ref:y})):c.cloneElement(p,{ref:y})})}const Sn=["component"];function wn(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}const jn=z.forwardRef((e,t)=>{let{component:n}=e,r=wn(e,Sn);const i=On(r);return k.jsxRuntimeExports.jsx(n,Object.assign({ref:t},i))});function _n({in:e,onTransition:t}){const n=c.useRef(null),r=c.useRef(!0),i=ce(t);return at(()=>{if(!n.current)return;let o=!1;return i({in:e,element:n.current,initial:r.current,isStale:()=>o}),()=>{o=!0}},[e,i]),at(()=>(r.current=!1,()=>{r.current=!0}),[]),n}function Mn({children:e,in:t,onExited:n,onEntered:r,transition:i}){const[o,a]=c.useState(!t);t&&o&&a(!1);const u=_n({in:!!t,onTransition:m=>{const v=()=>{m.isStale()||(m.in?r?.(m.element,m.initial):(a(!0),n?.(m.element)))};Promise.resolve(i(m)).then(v,y=>{throw m.in||a(!0),y})}}),p=Ge(u,je(e));return o&&!t?null:c.cloneElement(e,{ref:p})}function ut(e,t,n){return e?k.jsxRuntimeExports.jsx(jn,Object.assign({},n,{component:e})):t?k.jsxRuntimeExports.jsx(Mn,Object.assign({},n,{transition:t})):k.jsxRuntimeExports.jsx(Rn,Object.assign({},n))}const Nn=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function Pn(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}let Pe;function An(e){return Pe||(Pe=new He({ownerDocument:e?.document})),Pe}function kn(e){const t=Ve(),n=e||An(t),r=c.useRef({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>n.add(r.current),remove:()=>n.remove(r.current),isTopModal:()=>n.isTopModal(r.current),setDialogRef:c.useCallback(i=>{r.current.dialog=i},[]),setBackdropRef:c.useCallback(i=>{r.current.backdrop=i},[])})}const St=c.forwardRef((e,t)=>{let{show:n=!1,role:r="dialog",className:i,style:o,children:a,backdrop:u=!0,keyboard:p=!0,onBackdropClick:m,onEscapeKeyDown:v,transition:y,runTransition:T,backdropTransition:_,runBackdropTransition:D,autoFocus:j=!0,enforceFocus:$=!0,restoreFocus:F=!0,restoreFocusOptions:V,renderDialog:L,renderBackdrop:A=I=>k.jsxRuntimeExports.jsx("div",Object.assign({},I)),manager:l,container:U,onShow:G,onHide:Z=()=>{},onExit:ie,onExited:Q,onExiting:ee,onEnter:ne,onEntering:re,onEntered:X}=e,se=Pn(e,Nn);const B=Ve(),H=En(U),W=kn(l),ae=un(),s=fn(n),[d,g]=c.useState(!n),h=c.useRef(null);c.useImperativeHandle(t,()=>W,[W]),he&&!s&&n&&(h.current=Me(B?.document)),n&&d&&g(!1);const E=ce(()=>{if(W.add(),C.current=Se(document,"keydown",S),w.current=Se(document,"focus",()=>setTimeout(x),!0),G&&G(),j){var I,be;const ge=Me((I=(be=W.dialog)==null?void 0:be.ownerDocument)!=null?I:B?.document);W.dialog&&ge&&!ot(W.dialog,ge)&&(h.current=ge,W.dialog.focus())}}),O=ce(()=>{if(W.remove(),C.current==null||C.current(),w.current==null||w.current(),F){var I;(I=h.current)==null||I.focus==null||I.focus(V),h.current=null}});c.useEffect(()=>{!n||!H||E()},[n,H,E]),c.useEffect(()=>{d&&O()},[d,O]),ln(()=>{O()});const x=ce(()=>{if(!$||!ae()||!W.isTopModal())return;const I=Me(B?.document);W.dialog&&I&&!ot(W.dialog,I)&&W.dialog.focus()}),b=ce(I=>{I.target===I.currentTarget&&(m?.(I),u===!0&&Z())}),S=ce(I=>{p&&xn(I)&&W.isTopModal()&&(v?.(I),I.defaultPrevented||Z())}),w=c.useRef(),C=c.useRef(),q=(...I)=>{g(!0),Q?.(...I)};if(!H)return null;const f=Object.assign({role:r,ref:W.setDialogRef,"aria-modal":r==="dialog"?!0:void 0},se,{style:o,className:i,tabIndex:-1});let Y=L?L(f):k.jsxRuntimeExports.jsx("div",Object.assign({},f,{children:z.cloneElement(a,{role:"document"})}));Y=ut(y,T,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:ie,onExiting:ee,onExited:q,onEnter:ne,onEntering:re,onEntered:X,children:Y});let J=null;return u&&(J=A({ref:W.setBackdropRef,onClick:b}),J=ut(_,D,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:J})),k.jsxRuntimeExports.jsx(k.jsxRuntimeExports.Fragment,{children:Ee.createPortal(k.jsxRuntimeExports.jsxs(k.jsxRuntimeExports.Fragment,{children:[J,Y]}),H)})});St.displayName="Modal";const Dn=Object.assign(St,{Manager:He});function In(e,t){return e.classList?e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function Ln(e,t){e.classList?e.classList.add(t):In(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}var $n=Function.prototype.bind.call(Function.prototype.call,[].slice);function pe(e,t){return $n(e.querySelectorAll(t))}function ct(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Fn(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=ct(e.className,t):e.setAttribute("class",ct(e.className&&e.className.baseVal||"",t))}const me={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Wn extends He{adjustAndStore(t,n,r){const i=n.style[t];n.dataset[t]=i,fe(n,{[t]:`${parseFloat(fe(n,t))+r}px`})}restore(t,n){const r=n.dataset[t];r!==void 0&&(delete n.dataset[t],fe(n,{[t]:r}))}setContainerStyle(t){super.setContainerStyle(t);const n=this.getElement();if(Ln(n,"modal-open"),!t.scrollBarWidth)return;const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";pe(n,me.FIXED_CONTENT).forEach(o=>this.adjustAndStore(r,o,t.scrollBarWidth)),pe(n,me.STICKY_CONTENT).forEach(o=>this.adjustAndStore(i,o,-t.scrollBarWidth)),pe(n,me.NAVBAR_TOGGLER).forEach(o=>this.adjustAndStore(i,o,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const n=this.getElement();Fn(n,"modal-open");const r=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";pe(n,me.FIXED_CONTENT).forEach(o=>this.restore(r,o)),pe(n,me.STICKY_CONTENT).forEach(o=>this.restore(i,o)),pe(n,me.NAVBAR_TOGGLER).forEach(o=>this.restore(i,o))}}let Ae;function Bn(e){return Ae||(Ae=new Wn(e)),Ae}function qn(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Ye(e,t){return Ye=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ye(e,t)}function Un(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ye(e,t)}var Ce={exports:{}},Oe={exports:{}},N={};var lt;function Yn(){if(lt)return N;lt=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,m=e?Symbol.for("react.concurrent_mode"):60111,v=e?Symbol.for("react.forward_ref"):60112,y=e?Symbol.for("react.suspense"):60113,T=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,D=e?Symbol.for("react.lazy"):60116,j=e?Symbol.for("react.block"):60121,$=e?Symbol.for("react.fundamental"):60117,F=e?Symbol.for("react.responder"):60118,V=e?Symbol.for("react.scope"):60119;function L(l){if(typeof l=="object"&&l!==null){var U=l.$$typeof;switch(U){case t:switch(l=l.type,l){case p:case m:case r:case o:case i:case y:return l;default:switch(l=l&&l.$$typeof,l){case u:case v:case D:case _:case a:return l;default:return U}}case n:return U}}}function A(l){return L(l)===m}return N.AsyncMode=p,N.ConcurrentMode=m,N.ContextConsumer=u,N.ContextProvider=a,N.Element=t,N.ForwardRef=v,N.Fragment=r,N.Lazy=D,N.Memo=_,N.Portal=n,N.Profiler=o,N.StrictMode=i,N.Suspense=y,N.isAsyncMode=function(l){return A(l)||L(l)===p},N.isConcurrentMode=A,N.isContextConsumer=function(l){return L(l)===u},N.isContextProvider=function(l){return L(l)===a},N.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},N.isForwardRef=function(l){return L(l)===v},N.isFragment=function(l){return L(l)===r},N.isLazy=function(l){return L(l)===D},N.isMemo=function(l){return L(l)===_},N.isPortal=function(l){return L(l)===n},N.isProfiler=function(l){return L(l)===o},N.isStrictMode=function(l){return L(l)===i},N.isSuspense=function(l){return L(l)===y},N.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===m||l===o||l===i||l===y||l===T||typeof l=="object"&&l!==null&&(l.$$typeof===D||l.$$typeof===_||l.$$typeof===a||l.$$typeof===u||l.$$typeof===v||l.$$typeof===$||l.$$typeof===F||l.$$typeof===V||l.$$typeof===j)},N.typeOf=L,N}var P={};var ft;function zn(){return ft||(ft=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,m=e?Symbol.for("react.concurrent_mode"):60111,v=e?Symbol.for("react.forward_ref"):60112,y=e?Symbol.for("react.suspense"):60113,T=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,D=e?Symbol.for("react.lazy"):60116,j=e?Symbol.for("react.block"):60121,$=e?Symbol.for("react.fundamental"):60117,F=e?Symbol.for("react.responder"):60118,V=e?Symbol.for("react.scope"):60119;function L(f){return typeof f=="string"||typeof f=="function"||f===r||f===m||f===o||f===i||f===y||f===T||typeof f=="object"&&f!==null&&(f.$$typeof===D||f.$$typeof===_||f.$$typeof===a||f.$$typeof===u||f.$$typeof===v||f.$$typeof===$||f.$$typeof===F||f.$$typeof===V||f.$$typeof===j)}function A(f){if(typeof f=="object"&&f!==null){var Y=f.$$typeof;switch(Y){case t:var J=f.type;switch(J){case p:case m:case r:case o:case i:case y:return J;default:var I=J&&J.$$typeof;switch(I){case u:case v:case D:case _:case a:return I;default:return Y}}case n:return Y}}}var l=p,U=m,G=u,Z=a,ie=t,Q=v,ee=r,ne=D,re=_,X=n,se=o,B=i,H=y,W=!1;function ae(f){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),s(f)||A(f)===p}function s(f){return A(f)===m}function d(f){return A(f)===u}function g(f){return A(f)===a}function h(f){return typeof f=="object"&&f!==null&&f.$$typeof===t}function E(f){return A(f)===v}function O(f){return A(f)===r}function x(f){return A(f)===D}function b(f){return A(f)===_}function S(f){return A(f)===n}function w(f){return A(f)===o}function C(f){return A(f)===i}function q(f){return A(f)===y}P.AsyncMode=l,P.ConcurrentMode=U,P.ContextConsumer=G,P.ContextProvider=Z,P.Element=ie,P.ForwardRef=Q,P.Fragment=ee,P.Lazy=ne,P.Memo=re,P.Portal=X,P.Profiler=se,P.StrictMode=B,P.Suspense=H,P.isAsyncMode=ae,P.isConcurrentMode=s,P.isContextConsumer=d,P.isContextProvider=g,P.isElement=h,P.isForwardRef=E,P.isFragment=O,P.isLazy=x,P.isMemo=b,P.isPortal=S,P.isProfiler=w,P.isStrictMode=C,P.isSuspense=q,P.isValidElementType=L,P.typeOf=A})()),P}var dt;function wt(){return dt||(dt=1,process.env.NODE_ENV==="production"?Oe.exports=Yn():Oe.exports=zn()),Oe.exports}var ke,pt;function Hn(){if(pt)return ke;pt=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function i(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var a={},u=0;u<10;u++)a["_"+String.fromCharCode(u)]=u;var p=Object.getOwnPropertyNames(a).map(function(v){return a[v]});if(p.join("")!=="0123456789")return!1;var m={};return"abcdefghijklmnopqrst".split("").forEach(function(v){m[v]=v}),Object.keys(Object.assign({},m)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ke=i()?Object.assign:function(o,a){for(var u,p=r(o),m,v=1;v<arguments.length;v++){u=Object(arguments[v]);for(var y in u)t.call(u,y)&&(p[y]=u[y]);if(e){m=e(u);for(var T=0;T<m.length;T++)n.call(u,m[T])&&(p[m[T]]=u[m[T]])}}return p},ke}var De,mt;function Ke(){if(mt)return De;mt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return De=e,De}var Ie,vt;function jt(){return vt||(vt=1,Ie=Function.call.bind(Object.prototype.hasOwnProperty)),Ie}var Le,Et;function Vn(){if(Et)return Le;Et=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Ke(),n={},r=jt();e=function(o){var a="Warning: "+o;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function i(o,a,u,p,m){if(process.env.NODE_ENV!=="production"){for(var v in o)if(r(o,v)){var y;try{if(typeof o[v]!="function"){var T=Error((p||"React class")+": "+u+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}y=o[v](a,v,p,u,null,t)}catch(D){y=D}if(y&&!(y instanceof Error)&&e((p||"React class")+": type specification of "+u+" `"+v+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof y+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),y instanceof Error&&!(y.message in n)){n[y.message]=!0;var _=m?m():"";e("Failed "+u+" type: "+y.message+(_??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Le=i,Le}var $e,ht;function Gn(){if(ht)return $e;ht=1;var e=wt(),t=Hn(),n=Ke(),r=jt(),i=Vn(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(u){var p="Warning: "+u;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}});function a(){return null}return $e=function(u,p){var m=typeof Symbol=="function"&&Symbol.iterator,v="@@iterator";function y(s){var d=s&&(m&&s[m]||s[v]);if(typeof d=="function")return d}var T="<<anonymous>>",_={array:F("array"),bigint:F("bigint"),bool:F("boolean"),func:F("function"),number:F("number"),object:F("object"),string:F("string"),symbol:F("symbol"),any:V(),arrayOf:L,element:A(),elementType:l(),instanceOf:U,node:Q(),objectOf:Z,oneOf:G,oneOfType:ie,shape:ne,exact:re};function D(s,d){return s===d?s!==0||1/s===1/d:s!==s&&d!==d}function j(s,d){this.message=s,this.data=d&&typeof d=="object"?d:{},this.stack=""}j.prototype=Error.prototype;function $(s){if(process.env.NODE_ENV!=="production")var d={},g=0;function h(O,x,b,S,w,C,q){if(S=S||T,C=C||b,q!==n){if(p){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Y=S+":"+b;!d[Y]&&g<3&&(o("You are manually calling a React.PropTypes validation function for the `"+C+"` prop on `"+S+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),d[Y]=!0,g++)}}return x[b]==null?O?x[b]===null?new j("The "+w+" `"+C+"` is marked as required "+("in `"+S+"`, but its value is `null`.")):new j("The "+w+" `"+C+"` is marked as required in "+("`"+S+"`, but its value is `undefined`.")):null:s(x,b,S,w,C)}var E=h.bind(null,!1);return E.isRequired=h.bind(null,!0),E}function F(s){function d(g,h,E,O,x,b){var S=g[h],w=B(S);if(w!==s){var C=H(S);return new j("Invalid "+O+" `"+x+"` of type "+("`"+C+"` supplied to `"+E+"`, expected ")+("`"+s+"`."),{expectedType:s})}return null}return $(d)}function V(){return $(a)}function L(s){function d(g,h,E,O,x){if(typeof s!="function")return new j("Property `"+x+"` of component `"+E+"` has invalid PropType notation inside arrayOf.");var b=g[h];if(!Array.isArray(b)){var S=B(b);return new j("Invalid "+O+" `"+x+"` of type "+("`"+S+"` supplied to `"+E+"`, expected an array."))}for(var w=0;w<b.length;w++){var C=s(b,w,E,O,x+"["+w+"]",n);if(C instanceof Error)return C}return null}return $(d)}function A(){function s(d,g,h,E,O){var x=d[g];if(!u(x)){var b=B(x);return new j("Invalid "+E+" `"+O+"` of type "+("`"+b+"` supplied to `"+h+"`, expected a single ReactElement."))}return null}return $(s)}function l(){function s(d,g,h,E,O){var x=d[g];if(!e.isValidElementType(x)){var b=B(x);return new j("Invalid "+E+" `"+O+"` of type "+("`"+b+"` supplied to `"+h+"`, expected a single ReactElement type."))}return null}return $(s)}function U(s){function d(g,h,E,O,x){if(!(g[h]instanceof s)){var b=s.name||T,S=ae(g[h]);return new j("Invalid "+O+" `"+x+"` of type "+("`"+S+"` supplied to `"+E+"`, expected ")+("instance of `"+b+"`."))}return null}return $(d)}function G(s){if(!Array.isArray(s))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):o("Invalid argument supplied to oneOf, expected an array.")),a;function d(g,h,E,O,x){for(var b=g[h],S=0;S<s.length;S++)if(D(b,s[S]))return null;var w=JSON.stringify(s,function(q,f){var Y=H(f);return Y==="symbol"?String(f):f});return new j("Invalid "+O+" `"+x+"` of value `"+String(b)+"` "+("supplied to `"+E+"`, expected one of "+w+"."))}return $(d)}function Z(s){function d(g,h,E,O,x){if(typeof s!="function")return new j("Property `"+x+"` of component `"+E+"` has invalid PropType notation inside objectOf.");var b=g[h],S=B(b);if(S!=="object")return new j("Invalid "+O+" `"+x+"` of type "+("`"+S+"` supplied to `"+E+"`, expected an object."));for(var w in b)if(r(b,w)){var C=s(b,w,E,O,x+"."+w,n);if(C instanceof Error)return C}return null}return $(d)}function ie(s){if(!Array.isArray(s))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var d=0;d<s.length;d++){var g=s[d];if(typeof g!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+W(g)+" at index "+d+"."),a}function h(E,O,x,b,S){for(var w=[],C=0;C<s.length;C++){var q=s[C],f=q(E,O,x,b,S,n);if(f==null)return null;f.data&&r(f.data,"expectedType")&&w.push(f.data.expectedType)}var Y=w.length>0?", expected one of type ["+w.join(", ")+"]":"";return new j("Invalid "+b+" `"+S+"` supplied to "+("`"+x+"`"+Y+"."))}return $(h)}function Q(){function s(d,g,h,E,O){return X(d[g])?null:new j("Invalid "+E+" `"+O+"` supplied to "+("`"+h+"`, expected a ReactNode."))}return $(s)}function ee(s,d,g,h,E){return new j((s||"React class")+": "+d+" type `"+g+"."+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+E+"`.")}function ne(s){function d(g,h,E,O,x){var b=g[h],S=B(b);if(S!=="object")return new j("Invalid "+O+" `"+x+"` of type `"+S+"` "+("supplied to `"+E+"`, expected `object`."));for(var w in s){var C=s[w];if(typeof C!="function")return ee(E,O,x,w,H(C));var q=C(b,w,E,O,x+"."+w,n);if(q)return q}return null}return $(d)}function re(s){function d(g,h,E,O,x){var b=g[h],S=B(b);if(S!=="object")return new j("Invalid "+O+" `"+x+"` of type `"+S+"` "+("supplied to `"+E+"`, expected `object`."));var w=t({},g[h],s);for(var C in w){var q=s[C];if(r(s,C)&&typeof q!="function")return ee(E,O,x,C,H(q));if(!q)return new j("Invalid "+O+" `"+x+"` key `"+C+"` supplied to `"+E+"`.\nBad object: "+JSON.stringify(g[h],null," ")+`
2
+ Valid keys: `+JSON.stringify(Object.keys(s),null," "));var f=q(b,C,E,O,x+"."+C,n);if(f)return f}return null}return $(d)}function X(s){switch(typeof s){case"number":case"string":case"undefined":return!0;case"boolean":return!s;case"object":if(Array.isArray(s))return s.every(X);if(s===null||u(s))return!0;var d=y(s);if(d){var g=d.call(s),h;if(d!==s.entries){for(;!(h=g.next()).done;)if(!X(h.value))return!1}else for(;!(h=g.next()).done;){var E=h.value;if(E&&!X(E[1]))return!1}}else return!1;return!0;default:return!1}}function se(s,d){return s==="symbol"?!0:d?d["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&d instanceof Symbol:!1}function B(s){var d=typeof s;return Array.isArray(s)?"array":s instanceof RegExp?"object":se(d,s)?"symbol":d}function H(s){if(typeof s>"u"||s===null)return""+s;var d=B(s);if(d==="object"){if(s instanceof Date)return"date";if(s instanceof RegExp)return"regexp"}return d}function W(s){var d=H(s);switch(d){case"array":case"object":return"an "+d;case"boolean":case"date":case"regexp":return"a "+d;default:return d}}function ae(s){return!s.constructor||!s.constructor.name?T:s.constructor.name}return _.checkPropTypes=i,_.resetWarningCache=i.resetWarningCache,_.PropTypes=_,_},$e}var Fe,yt;function Kn(){if(yt)return Fe;yt=1;var e=Ke();function t(){}function n(){}return n.resetWarningCache=t,Fe=function(){function r(a,u,p,m,v,y){if(y!==e){var T=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw T.name="Invariant Violation",T}}r.isRequired=r;function i(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},Fe}var gt;function Xn(){if(gt)return Ce.exports;if(gt=1,process.env.NODE_ENV!=="production"){var e=wt(),t=!0;Ce.exports=Gn()(e.isElement,t)}else Ce.exports=Kn()();return Ce.exports}var Jn=Xn();const R=K.getDefaultExportFromCjs(Jn),xt={disabled:!1};var Zn=process.env.NODE_ENV!=="production"?R.oneOfType([R.number,R.shape({enter:R.number,exit:R.number,appear:R.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&R.oneOfType([R.string,R.shape({enter:R.string,exit:R.string,active:R.string}),R.shape({enter:R.string,enterDone:R.string,enterActive:R.string,exit:R.string,exitDone:R.string,exitActive:R.string})]);const _t=c.createContext(null);var Qn=function(t){return t.scrollTop},xe="unmounted",ue="exited",oe="entering",le="entered",ze="exiting",te=(function(e){Un(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,u=a&&!a.isMounting?r.enter:r.appear,p;return o.appearStatus=null,r.in?u?(p=ue,o.appearStatus=oe):p=le:r.unmountOnExit||r.mountOnEnter?p=xe:p=ue,o.state={status:p},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===xe?{status:ue}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==oe&&a!==le&&(o=oe):(a===oe||a===le)&&(o=ze)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,u;return o=a=u=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,u=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:u}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===oe){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Ee.findDOMNode(this);a&&Qn(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ue&&this.setState({status:xe})},n.performEnter=function(i){var o=this,a=this.props.enter,u=this.context?this.context.isMounting:i,p=this.props.nodeRef?[u]:[Ee.findDOMNode(this),u],m=p[0],v=p[1],y=this.getTimeouts(),T=u?y.appear:y.enter;if(!i&&!a||xt.disabled){this.safeSetState({status:le},function(){o.props.onEntered(m)});return}this.props.onEnter(m,v),this.safeSetState({status:oe},function(){o.props.onEntering(m,v),o.onTransitionEnd(T,function(){o.safeSetState({status:le},function(){o.props.onEntered(m,v)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),u=this.props.nodeRef?void 0:Ee.findDOMNode(this);if(!o||xt.disabled){this.safeSetState({status:ue},function(){i.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:ze},function(){i.props.onExiting(u),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:ue},function(){i.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(u){a&&(a=!1,o.nextCallback=null,i(u))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:Ee.findDOMNode(this),u=i==null&&!this.props.addEndListener;if(!a||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var p=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],m=p[0],v=p[1];this.props.addEndListener(m,v)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===xe)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var u=qn(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return c.createElement(_t.Provider,{value:null},typeof a=="function"?a(i,u):c.cloneElement(c.Children.only(a),u))},t})(c.Component);te.contextType=_t;te.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:R.shape({current:typeof Element>"u"?R.any:function(e,t,n,r,i,o){var a=e[t];return R.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,o)}}),children:R.oneOfType([R.func.isRequired,R.element.isRequired]).isRequired,in:R.bool,mountOnEnter:R.bool,unmountOnExit:R.bool,appear:R.bool,enter:R.bool,exit:R.bool,timeout:function(t){var n=Zn;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return n.apply(void 0,[t].concat(i))},addEndListener:R.func,onEnter:R.func,onEntering:R.func,onEntered:R.func,onExit:R.func,onExiting:R.func,onExited:R.func}:{};function ve(){}te.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ve,onEntering:ve,onEntered:ve,onExit:ve,onExiting:ve,onExited:ve};te.UNMOUNTED=xe;te.EXITED=ue;te.ENTERING=oe;te.ENTERED=le;te.EXITING=ze;function bt(e,t){const n=fe(e,t)||"",r=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*r}function er(e,t){const n=bt(e,"transitionDuration"),r=bt(e,"transitionDelay"),i=Ct(e,o=>{o.target===e&&(i(),t(o))},n+r)}function tr(e){e.offsetHeight}function nr(e){return e&&"setState"in e?Ee.findDOMNode(e):e??null}const Mt=c.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:i,onExited:o,addEndListener:a,children:u,childRef:p,...m},v)=>{const y=c.useRef(null),T=Tt(y,p),_=U=>{T(nr(U))},D=U=>G=>{U&&y.current&&U(y.current,G)},j=c.useCallback(D(e),[e]),$=c.useCallback(D(t),[t]),F=c.useCallback(D(n),[n]),V=c.useCallback(D(r),[r]),L=c.useCallback(D(i),[i]),A=c.useCallback(D(o),[o]),l=c.useCallback(D(a),[a]);return k.jsxRuntimeExports.jsx(te,{ref:v,...m,onEnter:j,onEntered:F,onEntering:$,onExit:V,onExited:A,onExiting:L,addEndListener:l,nodeRef:y,children:typeof u=="function"?(U,G)=>u(U,{...G,ref:_}):c.cloneElement(u,{ref:_})})});Mt.displayName="TransitionWrapper";const rr={[oe]:"show",[le]:"show"},Xe=z.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:r,...i},o)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},u=c.useCallback((p,m)=>{tr(p),r?.(p,m)},[r]);return k.jsxRuntimeExports.jsx(Mt,{ref:o,addEndListener:er,...a,onEnter:u,childRef:je(t),children:(p,m)=>z.cloneElement(t,{...m,className:K.classNames("fade",e,t.props.className,rr[p],n[p])})})});Xe.displayName="Fade";const or=["xxl","xl","lg","md","sm","xs"],ir="xs",Je=z.createContext({prefixes:{},breakpoints:or,minBreakpoint:ir}),{Consumer:pr,Provider:mr}=Je;function ye(e,t){const{prefixes:n}=c.useContext(Je);return e||n[t]||t}function sr(){const{dir:e}=c.useContext(Je);return e==="rtl"}const Nt=z.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=ye(t,"modal-body"),k.jsxRuntimeExports.jsx(n,{ref:i,className:K.classNames(e,t),...r})));Nt.displayName="ModalBody";const Pt=z.createContext({onHide(){}}),Ze=z.forwardRef(({bsPrefix:e,className:t,contentClassName:n,centered:r,size:i,fullscreen:o,children:a,scrollable:u,...p},m)=>{e=ye(e,"modal");const v=`${e}-dialog`,y=typeof o=="string"?`${e}-fullscreen-${o}`:`${e}-fullscreen`;return k.jsxRuntimeExports.jsx("div",{...p,ref:m,className:K.classNames(v,t,i&&`${e}-${i}`,r&&`${v}-centered`,u&&`${v}-scrollable`,o&&y),children:k.jsxRuntimeExports.jsx("div",{className:K.classNames(`${e}-content`,n),children:a})})});Ze.displayName="ModalDialog";const At=z.forwardRef(({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=ye(t,"modal-footer"),k.jsxRuntimeExports.jsx(n,{ref:i,className:K.classNames(e,t),...r})));At.displayName="ModalFooter";const ar={"aria-label":R.string,onClick:R.func,variant:R.oneOf(["white"])},Qe=z.forwardRef(({className:e,variant:t,"aria-label":n="Close",...r},i)=>k.jsxRuntimeExports.jsx("button",{ref:i,type:"button",className:K.classNames("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...r}));Qe.displayName="CloseButton";Qe.propTypes=ar;const kt=z.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:r,children:i,...o},a)=>{const u=c.useContext(Pt),p=Ue(()=>{u?.onHide(),r?.()});return k.jsxRuntimeExports.jsxs("div",{ref:a,...o,children:[i,n&&k.jsxRuntimeExports.jsx(Qe,{"aria-label":e,variant:t,onClick:p})]})});kt.displayName="AbstractModalHeader";const Dt=z.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...i},o)=>(e=ye(e,"modal-header"),k.jsxRuntimeExports.jsx(kt,{ref:o,...i,className:K.classNames(t,e),closeLabel:n,closeButton:r})));Dt.displayName="ModalHeader";const ur=(e=>z.forwardRef((t,n)=>k.jsxRuntimeExports.jsx("div",{...t,ref:n,className:K.classNames(t.className,e)}))),cr=ur("h4"),It=z.forwardRef(({className:e,bsPrefix:t,as:n=cr,...r},i)=>(t=ye(t,"modal-title"),k.jsxRuntimeExports.jsx(n,{ref:i,className:K.classNames(e,t),...r})));It.displayName="ModalTitle";function lr(e){return k.jsxRuntimeExports.jsx(Xe,{...e,timeout:null})}function fr(e){return k.jsxRuntimeExports.jsx(Xe,{...e,timeout:null})}const Lt=z.forwardRef(({bsPrefix:e,className:t,style:n,dialogClassName:r,contentClassName:i,children:o,dialogAs:a=Ze,"data-bs-theme":u,"aria-labelledby":p,"aria-describedby":m,"aria-label":v,show:y=!1,animation:T=!0,backdrop:_=!0,keyboard:D=!0,onEscapeKeyDown:j,onShow:$,onHide:F,container:V,autoFocus:L=!0,enforceFocus:A=!0,restoreFocus:l=!0,restoreFocusOptions:U,onEntered:G,onExit:Z,onExiting:ie,onEnter:Q,onEntering:ee,onExited:ne,backdropClassName:re,manager:X,...se},B)=>{const[H,W]=c.useState({}),[ae,s]=c.useState(!1),d=c.useRef(!1),g=c.useRef(!1),h=c.useRef(null),[E,O]=Ht(),x=Tt(B,O),b=Ue(F),S=sr();e=ye(e,"modal");const w=c.useMemo(()=>({onHide:b}),[b]);function C(){return X||Bn({isRTL:S})}function q(M){if(!he)return;const de=C().getScrollbarWidth()>0,tt=M.scrollHeight>we(M).documentElement.clientHeight;W({paddingRight:de&&!tt?nt():void 0,paddingLeft:!de&&tt?nt():void 0})}const f=Ue(()=>{E&&q(E.dialog)});Xt(()=>{qe(window,"resize",f),h.current==null||h.current()});const Y=()=>{d.current=!0},J=M=>{d.current&&E&&M.target===E.dialog&&(g.current=!0),d.current=!1},I=()=>{s(!0),h.current=Ct(E.dialog,()=>{s(!1)})},be=M=>{M.target===M.currentTarget&&I()},ge=M=>{if(_==="static"){be(M);return}if(g.current||M.target!==M.currentTarget){g.current=!1;return}F?.()},$t=M=>{D?j?.(M):(M.preventDefault(),_==="static"&&I())},Ft=(M,de)=>{M&&q(M),Q?.(M,de)},Wt=M=>{h.current==null||h.current(),Z?.(M)},Bt=(M,de)=>{ee?.(M,de),Rt(window,"resize",f)},qt=M=>{M&&(M.style.display=""),ne?.(M),qe(window,"resize",f)},Ut=c.useCallback(M=>k.jsxRuntimeExports.jsx("div",{...M,className:K.classNames(`${e}-backdrop`,re,!T&&"show")}),[T,re,e]),et={...n,...H};et.display="block";const Yt=M=>k.jsxRuntimeExports.jsx("div",{role:"dialog",...M,style:et,className:K.classNames(t,e,ae&&`${e}-static`,!T&&"show"),onClick:_?ge:void 0,onMouseUp:J,"data-bs-theme":u,"aria-label":v,"aria-labelledby":p,"aria-describedby":m,children:k.jsxRuntimeExports.jsx(a,{...se,onMouseDown:Y,className:r,contentClassName:i,children:o})});return k.jsxRuntimeExports.jsx(Pt.Provider,{value:w,children:k.jsxRuntimeExports.jsx(Dn,{show:y,ref:x,backdrop:_,container:V,keyboard:!0,autoFocus:L,enforceFocus:A,restoreFocus:l,restoreFocusOptions:U,onEscapeKeyDown:$t,onShow:$,onHide:F,onEnter:Ft,onEntering:Bt,onEntered:G,onExit:Wt,onExiting:ie,onExited:qt,manager:C(),transition:T?lr:void 0,backdropTransition:T?fr:void 0,renderBackdrop:Ut,renderDialog:Yt})})});Lt.displayName="Modal";const dr=Object.assign(Lt,{Body:Nt,Header:Dt,Title:It,Footer:At,Dialog:Ze,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150});exports.Modal=dr;