diff --git a/.gitignore b/.gitignore index adef9c1..ccb96e7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,6 @@ node_modules/ npm-debug.log # Build files -build/ -dist/ # Environment variables .env diff --git a/client/dist/assets/Home-BZigrtH0.js b/client/dist/assets/Home-BZigrtH0.js new file mode 100644 index 0000000..c50df04 --- /dev/null +++ b/client/dist/assets/Home-BZigrtH0.js @@ -0,0 +1,64 @@ +import{j as e,L as r,a as y,u as v,r as b,i as C,b as c,c as N,M as h,P as g}from"./index-C-3fXsNk.js";function k(){return e.jsx("section",{id:"about",className:"bg-background px-6 pb-8 pt-20 dark:bg-dark-2 lg:pb-[70px] lg:pt-[120px]",children:e.jsx("div",{className:"container",children:e.jsx("div",{className:"wow fadeInUp","data-wow-delay":".2s",children:e.jsxs("div",{className:"-mx-4 flex flex-wrap items-center",children:[e.jsx("div",{className:"w-full px-4 lg:w-1/2",children:e.jsxs("div",{className:"mb-12 max-w-[540px] lg:mb-0",children:[e.jsx("h2",{className:"mb-5 text-3xl font-bold leading-tight text-text dark:text-white sm:text-[40px] sm:leading-[1.2]",children:"What and why Thalia"}),e.jsxs("p",{className:"mb-10 text-text leading-relaxed text-body-color dark:text-dark-6",children:["Thalia is a website that hosts communities for women and provides credible information on both physical and mental health topics that are essential for every woman. Additionally, there is a chatbot named Didi available for sharing emotions and receiving advice.",e.jsx("br",{}),e.jsx("br",{}),"Our vision is to empower women by providing personalized guidance, reliable learning resources, and a supportive community, all while prioritizing their safety and trustworthiness."]}),e.jsx(r,{to:"/signup",className:"inline-flex items-center justify-center rounded-md border border-secondary bg-primary px-7 py-3 text-center text-base font-medium text-white hover:border-blue-dark hover:bg-blue-dark",children:"Know More"})]})}),e.jsx("div",{className:"w-full px-4 lg:w-1/2",children:e.jsxs("div",{className:"-mx-2 flex flex-wrap sm:-mx-4 lg:-mx-2 xl:-mx-4",children:[e.jsx("div",{className:"w-full px-2 sm:w-1/2 sm:px-4 lg:px-2 xl:px-4",children:e.jsx("div",{className:"mb-4 sm:mb-8 sm:h-[400px] md:h-[540px] lg:h-[400px] xl:h-[500px]",children:e.jsx("img",{src:"https://img.freepik.com/free-photo/close-up-portrait-cheerful-glamour-girl-with-cute-make-up-smiling-white-teeth-looking-happy-camera-standing-blue-background_1258-70300.jpg",alt:"about image",className:"h-full w-full object-cover object-center"})})}),e.jsxs("div",{className:"w-full px-2 sm:w-1/2 sm:px-4 lg:px-2 xl:px-4",children:[e.jsx("div",{className:"mb-4 sm:mb-8 sm:h-[220px] md:h-[346px] lg:mb-4 lg:h-[225px] xl:mb-8 xl:h-[310px]",children:e.jsx("img",{src:"https://img.freepik.com/premium-photo/happy-woman-texting-phone-browsing-social-media-chatting-instant-trendy-online-chat-app-single-female-looking-confident-reading-message-dating-website_590464-67767.jpg",alt:"about image",className:"h-full w-full object-cover object-center"})}),e.jsx(r,{to:"/login",children:e.jsx("div",{className:"relative z-10 mb-4 flex items-center justify-center overflow-hidden bg-primary px-6 py-12 sm:mb-8 sm:h-[160px] sm:p-5 lg:mb-4 xl:mb-8",children:e.jsxs("div",{children:[e.jsx("span",{className:"block text-5xl font-extrabold text-white",children:"Join"}),e.jsx("span",{className:"block text-base font-semibold text-white",children:"to the wonderful"}),e.jsx("span",{className:"block text-base font-medium text-white text-opacity-70",children:"Community of positivity"})]})})})]})]})})]})})})})}function M(){return e.jsx("section",{className:"pb-8 p-10 lg:p-28 pt-20 bg-secondary lg:pb-[70px] lg:pt-[90px]",children:e.jsxs("div",{className:"container",children:[e.jsx("div",{className:"-mx-4 flex flex-wrap",children:e.jsx("div",{className:"w-full px-4",children:e.jsx("div",{className:"mx-auto mb-12 max-w-[485px] text-center lg:mb-[70px]",children:e.jsx("h2",{className:"mb-3 text-3xl font-bold text-text dark:text-white sm:text-4xl md:text-[40px] md:leading-[1.2]",children:"Core features"})})})}),e.jsxs("div",{className:"-mx-4 flex flex-wrap mb-3",children:[e.jsx("div",{className:"w-full px-4 md:w-1/2 lg:w-1/4 bg-primary/[0.3] rounded-2xl pt-5 ps-6",children:e.jsxs("div",{className:"wow fadeInUp group mb-12","data-wow-delay":".1s",children:[e.jsxs("div",{className:"relative z-10 mb-10 flex h-[70px] w-[70px] items-center justify-center rounded-[14px] bg-primary",children:[e.jsx("span",{className:"absolute left-0 top-0 -z-[1] mb-8 flex h-[70px] w-[70px] rotate-[25deg] items-center justify-center rounded-[14px] bg-primary bg-opacity-20 duration-300 group-hover:rotate-45"}),e.jsx("svg",{fill:"#ffffff",width:"200px",height:"200px",viewBox:"-4 -3 32 32",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M21 10.975V8a2 2 0 0 0-2-2h-6V4.688c.305-.274.5-.668.5-1.11a1.5 1.5 0 0 0-3 0c0 .442.195.836.5 1.11V6H5a2 2 0 0 0-2 2v2.998l-.072.005A.999.999 0 0 0 2 12v2a1 1 0 0 0 1 1v5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a1 1 0 0 0 1-1v-1.938a1.004 1.004 0 0 0-.072-.455c-.202-.488-.635-.605-.928-.632zM7 12c0-1.104.672-2 1.5-2s1.5.896 1.5 2-.672 2-1.5 2S7 13.104 7 12zm8.998 6c-1.001-.003-7.997 0-7.998 0v-2s7.001-.002 8.002 0l-.004 2zm-.498-4c-.828 0-1.5-.896-1.5-2s.672-2 1.5-2 1.5.896 1.5 2-.672 2-1.5 2z"})})]}),e.jsx("h4",{className:"mb-3 text-xl font-bold text-white dark:text-white",children:"Chatbot (Didi)"}),e.jsx("p",{className:"mb-8 text-gray-200 dark:text-white-6 lg:mb-9",children:"The app includes a personalised chatbot for you to ask any questions you want."}),e.jsx(r,{to:"/login",className:"text-text font-medium hover:text-primary dark:text-text dark:hover:text-primary",children:"Learn More"})]})}),e.jsx("div",{className:"w-full px-4 md:w-1/2 lg:w-1/4 rounded-2xl pt-5 ps-6",children:e.jsxs("div",{className:"wow fadeInUp group mb-12","data-wow-delay":".1s",children:[e.jsxs("div",{className:"relative z-10 mb-10 flex h-[70px] w-[70px] items-center justify-center rounded-[14px] bg-primary",children:[e.jsx("span",{className:"absolute left-0 top-0 -z-[1] mb-8 flex h-[70px] w-[70px] rotate-[25deg] items-center justify-center rounded-[14px] bg-primary bg-opacity-20 duration-300 group-hover:rotate-45"}),e.jsx("svg",{fill:"#ffffff",width:"200px",height:"200px",viewBox:"-17 -20 170 170",id:"Layer_1",version:"1.1","xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",children:e.jsxs("g",{children:[e.jsx("polygon",{points:"91,45 83,45 83,73 73,73 73,119 61,119 61,73 51,73 51,45 43,45 43,81 53,81 53,127 81,127 81,81 91,81 "}),e.jsx("path",{d:"M53,15c0,7.7,6.3,14,14,14s14-6.3,14-14S74.7,1,67,1S53,7.3,53,15z M73,15c0,3.3-2.7,6-6,6s-6-2.7-6-6s2.7-6,6-6 S73,11.7,73,15z"}),e.jsx("path",{d:"M19,25c0,7.7,6.3,14,14,14s14-6.3,14-14s-6.3-14-14-14S19,17.3,19,25z M39,25c0,3.3-2.7,6-6,6s-6-2.7-6-6s2.7-6,6-6 S39,21.7,39,25z"}),e.jsx("polygon",{points:"113,83 103,83 103,119 87,119 87,127 111,127 111,91 121,91 121,51 113,51 "}),e.jsx("path",{d:"M87,25c0,7.7,6.3,14,14,14s14-6.3,14-14s-6.3-14-14-14S87,17.3,87,25z M101,19c3.3,0,6,2.7,6,6s-2.7,6-6,6s-6-2.7-6-6 S97.7,19,101,19z"}),e.jsx("polygon",{points:"31,83 21,83 21,51 13,51 13,91 23,91 23,127 47,127 47,119 31,119 "})]})})]}),e.jsx("h4",{className:"mb-3 text-xl font-bold text-white dark:text-white",children:"Community"}),e.jsx("p",{className:"mHave an incredeble community of positive womensb-8 text-gray-200 dark:text-white-6 lg:mb-9",children:"Have an incredible community of positive and empowered women, encouraging support and growth."}),e.jsx(r,{to:"/login",className:"text-text font-medium hover:text-primary dark:text-text dark:hover:text-primary",children:"Learn More"})]})}),e.jsx("div",{className:"w-full px-4 md:w-1/2 lg:w-1/4 bg-primary/[0.3] rounded-2xl pt-5 ps-6",children:e.jsxs("div",{className:"wow fadeInUp group mb-12","data-wow-delay":".1s",children:[e.jsxs("div",{className:"relative z-10 mb-10 flex h-[70px] w-[70px] items-center justify-center rounded-[14px] bg-primary",children:[e.jsx("span",{className:"absolute left-0 top-0 -z-[1] mb-8 flex h-[70px] w-[70px] rotate-[25deg] items-center justify-center rounded-[14px] bg-primary bg-opacity-20 duration-300 group-hover:rotate-45"}),e.jsx("svg",{fill:"#ffffff",width:"200px",height:"200px",viewBox:"-100 -100 700 700",version:"1.1",id:"_x32_",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xml:space":"preserve",children:e.jsxs("g",{children:[e.jsx("path",{class:"st0",d:`M504.556,297.257c-4.745-7.638-11.463-13.868-19.446-18.003c-1.687-0.89-3.531-1.694-5.498-2.426h-0.28\r + c-2.326,0-4.551-0.703-6.424-2.003c-3.504-0.768-7.1-1.156-10.711-1.156c-11.499,0-22.288,3.804-31.211,10.997\r + c-2.002,1.615-4.515,2.505-7.084,2.505c-3.439,0-6.647-1.529-8.801-4.2c-1.895-2.347-2.764-5.29-2.44-8.291\r + c0.315-3.008,1.787-5.7,4.134-7.602c12.792-10.322,28.907-16.007,45.381-16.007c5.255,0,10.509,0.574,15.663,1.723\r + c9.648-7.638,15.749-18.47,17.271-30.759c0.244-1.938,0.366-3.891,0.366-5.822c0-11.255-4.121-22.166-11.607-30.694\r + c-7.545-8.585-17.946-14.098-29.295-15.506c-1.378-0.172-2.77-0.286-4.156-0.33c-1.02,1.156-2.082,2.297-3.18,3.403\r + c-4.451,4.479-9.935,8.542-16.775,12.44c-5.154,2.922-10.998,5.678-17.365,8.191c-11.032,4.343-19.675,6.417-19.761,6.432\r + c-0.833,0.201-1.723,0.302-2.613,0.302c-5.233,0-9.741-3.546-10.982-8.629c-0.711-2.942-0.23-5.972,1.342-8.542\r + c1.529-2.519,3.919-4.299,6.762-5.046l0.222-0.05l2.053,5.334l-1.414-5.506l2.032-0.553c1.823-0.517,4.407-1.299,7.465-2.332\r + c5.527-1.888,13.674-5.025,21.097-9.246c4.896-2.778,9.009-5.786,11.88-8.685c1.644-1.666,3.252-3.503,4.788-5.477l0.732-0.905\r + c7.056-9.324,11.14-21.046,11.133-32.582c-0.014-11.916-4.221-22.92-12.167-31.836c-9.44-10.566-22.985-16.632-37.17-16.632\r + c-12.239,0-24.012,4.493-33.142,12.648c-2.074,1.852-4.745,2.871-7.523,2.871c-3.223,0-6.296-1.378-8.435-3.782\r + c-2.002-2.247-3.014-5.147-2.85-8.155c0.173-3.015,1.508-5.779,3.755-7.789c4.895-4.371,10.315-8.033,16.15-10.918\r + c-1.436-10.789-6.374-20.824-14.141-28.591c-9.411-9.411-21.915-14.587-35.21-14.593c-13.302,0.006-25.806,5.182-35.216,14.593\r + c-9.404,9.404-14.579,21.916-14.586,35.209v81.187h46.4c6.23,0,11.298,5.075,11.298,11.298c0,6.23-5.068,11.299-11.298,11.299\r + h-46.4v55.74c13.459,0.631,24.844,2.434,34.685,5.477c11.736,3.61,21.377,9.167,28.634,16.496c4.286,4.328,7.903,9.439,10.76,15.19\r + c3.712,7.515,5.7,15.167,7.021,20.996c0.725,3.231,1.357,6.424,1.967,9.54c1.048,5.276,2.031,10.258,3.338,14.672\r + c1.199,4.063,2.562,7.321,4.185,9.97c2.003,3.302,4.422,5.786,7.594,7.839c4.516,2.886,10.473,4.781,18.205,5.786\r + c2.972,0.373,5.635,1.895,7.486,4.278c1.852,2.398,2.656,5.37,2.276,8.356c-0.732,5.628-5.549,9.863-11.198,9.863l-1.465-0.101\r + c-9.454-1.214-17.314-3.553-24.04-7.142c-6.403-3.403-11.751-8.026-15.885-13.718c-2.412-3.288-4.422-6.927-6.152-11.098\r + c-1.788-4.307-3.202-8.951-4.594-15.06c-0.711-3.158-1.328-6.317-1.946-9.447c-0.632-3.187-1.256-6.352-1.974-9.439\r + c-2.068-9.03-4.516-15.24-7.947-20.135c-2.326-3.338-5.132-6.138-8.592-8.557c-4.695-3.273-10.488-5.778-17.709-7.659\r + c-6.97-1.816-15.239-2.994-24.65-3.489v207.346c0.007,13.294,5.183,25.806,14.579,35.217c9.418,9.404,21.922,14.579,35.224,14.586\r + c13.294-0.006,25.798-5.182,35.21-14.586c9.404-9.418,14.586-21.923,14.586-35.217c0.007-7.2-1.967-15.103-5.427-21.686\r + c-3.934-7.531-9.411-13.086-16.266-16.532c-5.298-2.641-11.162-3.933-17.931-3.948c-6.224,0-11.292-5.061-11.292-11.284\r + c0-6.239,5.068-11.306,11.298-11.306c7.717,0,15.039,1.228,21.765,3.654c6.295,2.261,12.096,5.584,17.235,9.863\r + c8.973,7.501,15.786,17.788,19.705,29.746c2.297,7.028,3.503,14.457,3.503,21.492c0.007,5.613-0.639,11.183-1.916,16.625\r + c5.212,1.78,10.732,2.713,16.187,2.713c12.188-0.007,23.933-4.48,33.049-12.591c10.61-9.44,16.697-23.007,16.704-37.226\r + c0-6.023-1.077-11.923-3.18-17.544c-2.139-5.693-5.312-10.926-9.411-15.541c-4.135-4.659-3.712-11.809,0.933-15.95\r + c2.082-1.845,4.745-2.85,7.508-2.85c3.23,0,6.31,1.378,8.456,3.797l0.783,0.897l0.517,0.087c0.352,0.05,0.574,0.071,1.098,0.093\r + c0.459,0.007,1.098,0.014,1.981,0.014c13.294-0.007,25.806-5.183,35.218-14.586c9.403-9.418,14.579-21.922,14.586-35.217\r + C511.994,314.169,509.416,305.103,504.556,297.257z`}),e.jsx("path",{class:"st0",d:`M194.906,11.453c-13.302,0.006-25.806,5.182-35.217,14.593c-7.767,7.767-12.706,17.81-14.141,28.584\r + c5.822,2.886,11.241,6.539,16.144,10.918l0.797,0.783l0.826,0.947l1.658,1.823c1.5,1.622,3.682,3.948,6.352,6.618\r + c4.831,4.853,12.232,11.845,20.078,17.637c5.204,3.848,10.078,6.762,14.112,8.435c2.8,1.163,4.752,1.557,5.9,1.687\r + c3.008,0.337,5.7,1.823,7.58,4.177c1.888,2.355,2.742,5.305,2.404,8.306c-0.639,5.728-5.462,10.05-11.219,10.05l-1.249-0.071\r + c-3.862-0.431-7.81-1.508-12.074-3.281c-3.546-1.472-7.164-3.366-11.077-5.8c-6.137-3.826-12.763-8.88-19.69-15.01\r + c-10.142-8.987-17.902-17.587-19.898-19.841c-9.08-7.903-20.674-12.253-32.697-12.253c-14.178,0.007-27.723,6.066-37.155,16.632\r + c-8.162,9.124-12.648,20.903-12.655,33.142c0,8.312,2.074,16.453,6.022,23.739h0.136c3.726,0,7.473,0.28,11.127,0.847\r + c6.166,0.962,10.394,6.74,9.446,12.892c-0.869,5.549-5.556,9.576-11.155,9.576c-0.574,0-1.163-0.044-1.751-0.13\r + c-2.498-0.394-5.083-0.588-7.667-0.588c-0.596,0-1.184,0.007-1.788,0.021c-12.964,0.467-25.081,5.872-34.097,15.225\r + c-8.987,9.332-13.933,21.592-13.933,34.513c0,0.596,0.007,1.199,0.022,1.802c0.473,13.345,6.324,25.936,16.151,34.944\r + c4.508-0.861,9.073-1.299,13.603-1.299c16.496,0,32.611,5.685,45.396,16.007l1.12,1.02l0.855,0.962\r + c0.388,0.423,0.983,1.047,1.766,1.838c2.218,2.239,4.616,4.436,7.121,6.539c5.549,4.652,14.342,11.062,24.773,15.204\r + c7.113,2.821,14.112,4.25,20.796,4.25c6.23,0,11.298,5.067,11.298,11.298s-5.068,11.299-11.298,11.299\r + c-9.584-0.008-19.382-1.974-29.13-5.85c-7.581-3.014-15.154-7.179-22.518-12.383c-10.229-7.242-17.25-14.514-19.604-17.092\r + c-8.807-6.862-19.367-10.494-30.572-10.494c-8.075,0-15.785,1.874-22.913,5.585c-7.975,4.135-14.701,10.365-19.446,18.003\r + c-4.86,7.846-7.436,16.912-7.444,26.215c0.008,13.287,5.183,25.792,14.586,35.209c9.411,9.404,21.922,14.579,35.217,14.586\r + c1.644,0,2.434-0.007,3.094-0.078l0.445-0.058l0.84-0.955c2.146-2.419,5.226-3.797,8.456-3.797c2.764,0,5.427,1.005,7.501,2.85\r + c2.254,2.002,3.597,4.766,3.776,7.788c0.172,3.008-0.833,5.908-2.842,8.162c-4.092,4.615-7.264,9.856-9.404,15.548\r + c-2.11,5.621-3.18,11.514-3.18,17.537c0.006,14.213,6.094,27.78,16.696,37.226c9.124,8.111,20.868,12.584,33.056,12.591\r + c5.456,0,10.976-0.933,16.187-2.713c-1.278-5.427-1.917-10.997-1.917-16.625c0-8.995,1.91-18.276,5.513-26.868\r + c4.049-9.662,10.164-18.083,17.688-24.356c2.031-1.694,4.601-2.627,7.235-2.627c3.368,0,6.525,1.479,8.679,4.063\r + c3.977,4.781,3.338,11.916-1.435,15.908c-4.76,3.962-8.679,9.404-11.342,15.756c-2.419,5.764-3.754,12.203-3.747,18.126\r + c0,13.294,5.182,25.798,14.586,35.217c9.411,9.404,21.916,14.579,35.217,14.586c13.294-0.006,25.806-5.182,35.217-14.586\r + c9.396-9.411,14.572-21.923,14.579-35.217v-90.54h-42.166c-6.223,0-11.291-5.061-11.291-11.292c0-6.23,5.068-11.299,11.291-11.299\r + h42.166v-68.668c-4.796-2.21-10.036-3.374-15.334-3.38c-3.718,0-7.436,0.574-11.047,1.694c-9.447,3.266-18.972,4.96-28.139,4.96\r + c-17.45,0-33.35-6.202-44.864-17.458c-10.948-10.681-17.236-25.411-17.242-40.421c-0.007-13.344,4.751-26.1,13.782-36.889\r + c2.153-2.585,5.312-4.056,8.671-4.056c2.642,0,5.212,0.934,7.236,2.627c4.781,3.999,5.42,11.127,1.436,15.908\r + c-5.642,6.776-8.513,14.32-8.52,22.418c0,8.937,3.797,17.78,10.422,24.248c7.408,7.2,17.465,11.012,29.087,11.026\r + c6.676,0,13.76-1.285,21.046-3.811c6.123-1.924,12.11-2.836,18.14-2.836c5.204,0,10.33,0.675,15.326,2.032V61.256\r + c-0.008-13.294-5.183-25.806-14.579-35.209C220.712,16.635,208.2,11.46,194.906,11.453z`})]})})]}),e.jsx("h4",{className:"mb-3 text-xl font-bold text-white dark:text-white",children:"Informations"}),e.jsx("p",{className:"mb-8 text-gray-200 dark:text-white-6 lg:mb-9",children:"Discover credible information on mental and physical health to enhance your well-being and vitality."}),e.jsx(r,{to:"/login",className:"text-text font-medium hover:text-primary dark:text-text dark:hover:text-primary",children:"Learn More"})]})}),e.jsx("div",{className:"w-full px-4 md:w-1/2 lg:w-1/4 rounded-2xl pt-5 ps-6",children:e.jsxs("div",{className:"wow fadeInUp group mb-12","data-wow-delay":".1s",children:[e.jsxs("div",{className:"relative z-10 mb-10 flex h-[70px] w-[70px] items-center justify-center rounded-[14px] bg-primary",children:[e.jsx("span",{className:"absolute left-0 top-0 -z-[1] mb-8 flex h-[70px] w-[70px] rotate-[25deg] items-center justify-center rounded-[14px] bg-primary bg-opacity-20 duration-300 group-hover:rotate-45"}),e.jsx("svg",{fill:"#ffffff",width:"200px",height:"200px",version:"1.1",id:"_x32_",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"-100 -90 700 700","xml:space":"preserve",children:e.jsx("g",{children:e.jsx("path",{class:"st0",d:`M256.001,0L29.89,130.537c0,47.476,4.506,88.936,12.057,125.463C88.61,481.721,256.001,512,256.001,512\r + s167.389-30.279,214.053-256c7.551-36.527,12.057-77.986,12.057-125.463L256.001,0z M256.118,466.723\r + c-0.035-0.012-0.082-0.028-0.117-0.039v-47.672V256H140.77H91.122c-6.67-29.738-11.109-63.506-12.394-101.93L255.999,51.728h0.002\r + v51.73V256h115.27h49.625C385.636,413.404,287.327,456.774,256.118,466.723z`})})})]}),e.jsx("h4",{className:"mb-3 text-xl font-bold text-white dark:text-white",children:"Safety"}),e.jsx("p",{className:"mb-8 text-gray-200 dark:text-white-6 lg:mb-9",children:"Ensure complete safety in chatting and communication. Our trained AI model detects toxicity in discussions."}),e.jsx(r,{to:"/login",className:"text-text font-medium hover:text-primary dark:text-text dark:hover:text-primary",children:"Learn More"})]})})]})]})})}function F(){return e.jsx(e.Fragment,{children:e.jsxs("footer",{className:"wow fadeInUp p-10 relative z-10 bg-[#090E34] pt-5 lg:pt-[60px]","data-wow-delay":".15s",children:[e.jsx("div",{className:"container",children:e.jsxs("div",{className:"mb-10 w-full items-center justify-center flex flex-col",children:[e.jsx("h1",{className:"mb-6 inline-block max-w-[160px]",children:e.jsx("img",{src:y,alt:"logo",className:"max-w-full"})}),e.jsx("h1",{className:"mb-8 max-w-[400px] text-text text-center",children:'"Small acts, when multiplied by millions of people, can transform the world."'})]})}),e.jsx("div",{className:"mt-12 border-t border-[#8890A4] border-opacity-40 py-8 lg:mt-[60px]",children:e.jsx("div",{className:"container",children:e.jsxs("div",{className:"-mx-4 flex flex-wrap",children:[e.jsx("div",{className:"w-full px-4 md:w-2/3 lg:w-1/2",children:e.jsx("div",{className:"my-1",children:e.jsxs("div",{className:"-mx-3 flex items-center justify-center md:justify-start",children:[e.jsx(r,{to:"https://github.com/Auto-Playground/thalia/blob/main/CODE_OF_CONDUCT.md",className:"px-3 text-text hover:text-white hover:underline",children:"Code of Conduct"}),e.jsx(r,{to:"https://github.com/Auto-Playground/thalia/blob/main/CONTRIBUTING.md",className:"px-3 text-text hover:text-white hover:underline",children:"Contributing"}),e.jsx(r,{to:"https://github.com/Auto-Playground/thalia/blob/main/LICENSE",className:"px-3 text-text hover:text-white hover:underline",children:"LICENCE"})]})})}),e.jsx("div",{className:"w-full px-4 md:w-1/3 lg:w-1/2",children:e.jsx("div",{className:"my-1 flex justify-center md:justify-end",children:e.jsxs("h1",{className:"text-text ",children:["Designed and Developed by",e.jsx(r,{to:"https://github.com/Auto-Playground/thalia",className:"text-gray-1 hover:underline",children:"Team Thalia"})]})})})]})})})]})})}function z(){return e.jsx("div",{id:"home",className:"relative overflow-hidden bg-gradient-to-r from-[#3e1734] to-background pt-[120px] md:pt-[130px] lg:pt-[160px]",children:e.jsx("div",{className:"container",children:e.jsxs("div",{className:"-mx-4 flex flex-wrap items-center",children:[e.jsx("div",{className:"w-full px-4 z-20",children:e.jsxs("div",{className:"hero-content wow fadeInUp mx-auto max-w-[780px] text-center","data-wow-delay":".2s",children:[e.jsxs("h1",{className:"mb-6 font-extrabold text-transparent text-4xl bg-clip-text bg-gradient-to-r from-purple-400 to-pink-600 sm:leading-snug lg:text-5xl lg:leading-[1.2]",children:['β€œWe cannot all succeed when half of us are held back." ',e.jsx("br",{}),e.jsx("span",{className:"text-2xl",children:"- Malala Yousafzai"})]}),e.jsxs("p",{className:"mx-auto mb-9 max-w-[600px] text-base font-medium text-text sm:text-lg sm:leading-[1.44]",children:["Welcome to ",e.jsx("span",{className:"font-bold",children:"Thalia"}),", Here we are empowering women through proper guidance and a powerful community."]}),e.jsxs("ul",{className:"mb-10 flex flex-wrap items-center justify-center gap-5",children:[e.jsx("li",{children:e.jsx(r,{to:"/login",className:"inline-flex items-center justify-center rounded-md bg-primary px-7 py-[14px] text-center text-base font-semibold text-dark shadow-1 transition duration-300 ease-in-out hover:bg-gray-2 hover:text-body-color",children:"Login"})}),e.jsx("li",{children:e.jsx(r,{to:"/signup",className:"flex items-center gap-4 rounded-md bg-white/[0.12] px-6 py-[14px] text-base font-medium text-white transition duration-300 ease-in-out hover:bg-primary hover:text-background",children:"Signup"})})]}),e.jsx("div",{})]})}),e.jsx("img",{className:"absolute top-0 opacity-15 w-full",src:"https://media.newyorker.com/photos/64177e0c6534701061ec3f19/master/pass/Bing_Ani_Final_B_2A.gif",alt:""})]})})})}const L="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.10627%2018.2468C5.29819%2016.0833%202%2013.5422%202%209.1371C2%204.27416%207.50016%200.825464%2012%205.50063L14%207.49928C14.2929%207.79212%2014.7678%207.79203%2015.0607%207.49908C15.3535%207.20614%2015.3534%206.73127%2015.0605%206.43843L13.1285%204.50712C17.3685%201.40309%2022%204.67465%2022%209.1371C22%2013.5422%2018.7018%2016.0833%2015.8937%2018.2468C15.6019%2018.4717%2015.3153%2018.6925%2015.0383%2018.9109C14%2019.7294%2013%2020.5%2012%2020.5C11%2020.5%2010%2019.7294%208.96173%2018.9109C8.68471%2018.6925%208.39814%2018.4717%208.10627%2018.2468Z'%20fill='%23ffffff'/%3e%3c/svg%3e";function S(){return e.jsxs("div",{className:"text-text flex flex-col items-center justify-center px-28 md:px-12 py-12 rounded-lg cursor-pointer hover:bg-secondary hover:text-primary bg-primary/[0.12]",children:[e.jsx("img",{src:L,className:"w-28",alt:""}),e.jsx("h1",{className:"font-bold",children:"My Body"})]})}const A="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23ffffff'%20width='800px'%20height='800px'%20viewBox='-2%200%2019%2019'%20xmlns='http://www.w3.org/2000/svg'%20class='cf-icon-svg'%3e%3cpath%20d='M9.316%2014.722a.477.477%200%200%201-.475.475H1.433a.477.477%200%200%201-.475-.475v-.863a.477.477%200%200%201%20.475-.475h7.408a.476.476%200%200%201%20.475.475zm-2.767-2.587a.552.552%200%200%201-.392-.163L2.96%208.776a.554.554%200%200%201%20.784-.784L6.94%2011.19a.554.554%200%200%201-.392.946zm7.33.992L9.435%208.682l1.085-1.084-3.173-3.173-2.97%202.97%203.173%203.172%201.102-1.101%204.445%204.445a.554.554%200%201%200%20.784-.784zm-2.33-5.993a.552.552%200%200%201-.391-.162L7.96%203.775a.554.554%200%201%201%20.784-.784l3.196%203.197a.554.554%200%200%201-.391.946z'/%3e%3c/svg%3e";function _(){return e.jsxs("div",{className:"text-text flex flex-col items-center justify-center px-28 md:px-12 py-12 rounded-lg cursor-pointer hover:bg-secondary hover:text-primary bg-primary/[0.12]",children:[e.jsx("img",{src:A,className:"w-28",alt:""}),e.jsx("h1",{className:"font-bold",children:"My laws"})]})}const V="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23ffffff'%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20data-name='Layer%201'%3e%3cpath%20d='M22,11A4,4,0,0,0,20,7.52,3,3,0,0,0,20,7a3,3,0,0,0-3-3l-.18,0A3,3,0,0,0,12,2.78,3,3,0,0,0,7.18,4L7,4A3,3,0,0,0,4,7a3,3,0,0,0,0,.52,4,4,0,0,0-.55,6.59A4,4,0,0,0,7,20l.18,0A3,3,0,0,0,12,21.22,3,3,0,0,0,16.82,20L17,20a4,4,0,0,0,3.5-5.89A4,4,0,0,0,22,11ZM11,8.55a4.72,4.72,0,0,0-.68-.32,1,1,0,0,0-.64,1.9A2,2,0,0,1,11,12v1.55a4.72,4.72,0,0,0-.68-.32,1,1,0,0,0-.64,1.9A2,2,0,0,1,11,17v2a1,1,0,0,1-1,1,1,1,0,0,1-.91-.6,4.07,4.07,0,0,0,.48-.33,1,1,0,1,0-1.28-1.54A2,2,0,0,1,7,18a2,2,0,0,1-2-2,2,2,0,0,1,.32-1.06A3.82,3.82,0,0,0,6,15a1,1,0,0,0,0-2,1.84,1.84,0,0,1-.69-.13A2,2,0,0,1,5,9.25a3.1,3.1,0,0,0,.46.35,1,1,0,1,0,1-1.74.9.9,0,0,1-.34-.33A.92.92,0,0,1,6,7,1,1,0,0,1,7,6a.76.76,0,0,1,.21,0,3.85,3.85,0,0,0,.19.47,1,1,0,0,0,1.37.37A1,1,0,0,0,9.13,5.5,1.06,1.06,0,0,1,9,5a1,1,0,0,1,2,0Zm7.69,4.32A1.84,1.84,0,0,1,18,13a1,1,0,0,0,0,2,3.82,3.82,0,0,0,.68-.06A2,2,0,0,1,19,16a2,2,0,0,1-2,2,2,2,0,0,1-1.29-.47,1,1,0,0,0-1.28,1.54,4.07,4.07,0,0,0,.48.33A1,1,0,0,1,14,20a1,1,0,0,1-1-1V17a2,2,0,0,1,1.32-1.87,1,1,0,0,0-.64-1.9,4.72,4.72,0,0,0-.68.32V12a2,2,0,0,1,1.32-1.87,1,1,0,0,0-.64-1.9,4.72,4.72,0,0,0-.68.32V5a1,1,0,0,1,2,0,1.06,1.06,0,0,1-.13.5,1,1,0,0,0,.36,1.37A1,1,0,0,0,16.6,6.5,3.85,3.85,0,0,0,16.79,6,.76.76,0,0,1,17,6a1,1,0,0,1,1,1,1,1,0,0,1-.17.55.9.9,0,0,1-.33.31,1,1,0,0,0,1,1.74A2.66,2.66,0,0,0,19,9.25a2,2,0,0,1-.27,3.62Z'/%3e%3c/svg%3e";function I(){return e.jsxs("div",{className:"text-text flex flex-col items-center justify-center px-28 md:px-12 py-12 rounded-lg cursor-pointer hover:bg-secondary hover:text-primary bg-primary/[0.12]",children:[e.jsx("img",{src:V,className:"w-28",alt:""}),e.jsx("h1",{className:"font-bold",children:"My Mind"})]})}const B="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2028%2028'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3ctitle%3eic_fluent_people_community_28_filled%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cg%20id='πŸ”-Product-Icons'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='ic_fluent_people_community_28_filled'%20fill='%23ffffff'%20fill-rule='nonzero'%3e%3cpath%20d='M17.75,18%20C18.7164983,18%2019.5,18.7835017%2019.5,19.75%20L19.5,21.7519766%20L19.4921156,21.8604403%20C19.1813607,23.9866441%2017.2715225,25.0090369%2014.0667905,25.0090369%20C10.8736123,25.0090369%208.93330141,23.9983408%208.51446278,21.8965776%20L8.5,21.75%20L8.5,19.75%20C8.5,18.7835017%209.28350169,18%2010.25,18%20L17.75,18%20Z%20M18.2439108,11.9999135%20L24.25,12%20C25.2164983,12%2026,12.7835017%2026,13.75%20L26,15.7519766%20L25.9921156,15.8604403%20C25.6813607,17.9866441%2023.7715225,19.0090369%2020.5667905,19.0090369%20L20.3985759,19.007437%20C20.0900029,17.9045277%2019.1110503,17.0815935%2017.9288034,17.0057197%20L17.75,17%20L16.8277704,17.0007255%20C17.8477843,16.1757619%2018.5,14.9140475%2018.5,13.5%20C18.5,12.9740145%2018.4097576,12.4691063%2018.2439108,11.9999135%20Z%20M3.75,12%20L9.75608915,11.9999135%20C9.59024243,12.4691063%209.5,12.9740145%209.5,13.5%20C9.5,14.8308682%2010.0777413,16.0267978%2010.996103,16.8506678%20L11.1722296,17.0007255%20L10.25,17%20C8.9877951,17%207.92420242,17.85036%207.60086562,19.0094363%20L7.5667905,19.0090369%20C4.37361228,19.0090369%202.43330141,17.9983408%202.01446278,15.8965776%20L2,15.75%20L2,13.75%20C2,12.7835017%202.78350169,12%203.75,12%20Z%20M14,10%20C15.9329966,10%2017.5,11.5670034%2017.5,13.5%20C17.5,15.4329966%2015.9329966,17%2014,17%20C12.0670034,17%2010.5,15.4329966%2010.5,13.5%20C10.5,11.5670034%2012.0670034,10%2014,10%20Z%20M20.5,4%20C22.4329966,4%2024,5.56700338%2024,7.5%20C24,9.43299662%2022.4329966,11%2020.5,11%20C18.5670034,11%2017,9.43299662%2017,7.5%20C17,5.56700338%2018.5670034,4%2020.5,4%20Z%20M7.5,4%20C9.43299662,4%2011,5.56700338%2011,7.5%20C11,9.43299662%209.43299662,11%207.5,11%20C5.56700338,11%204,9.43299662%204,7.5%20C4,5.56700338%205.56700338,4%207.5,4%20Z'%20id='🎨-Color'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e";function Z(){const s=v();return e.jsxs("div",{className:"text-text flex flex-col items-center justify-center px-28 md:px-12 py-12 rounded-lg cursor-pointer hover:bg-secondary hover:text-primary bg-primary/[0.12]",onClick:()=>s("/community/recent_discussions"),children:[e.jsx("img",{src:B,className:"w-28",alt:""}),e.jsx("h1",{className:"font-bold",children:"Community"})]})}const T="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20fill='%23571240'%20version='1.1'%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='800px'%20height='800px'%20viewBox='0%200%2049.071%2049.071'%20xml:space='preserve'%3e%3cg%3e%3cg%3e%3cellipse%20cx='24.536'%20cy='32.015'%20rx='2.5'%20ry='1'/%3e%3ccircle%20cx='17.744'%20cy='25.885'%20r='2.25'/%3e%3ccircle%20cx='31.329'%20cy='25.885'%20r='2.25'/%3e%3cpath%20d='M48.235,39.478c-0.285-0.957-0.556-1.861-0.611-2.485c-0.285-3.174-0.146-12.85-0.146-12.954%20c0-12.453-10.278-22.584-22.916-22.584c-12.637,0-22.918,10.131-22.918,22.601c0.004,0.098,0.322,9.833,0.003,13.016%20c-0.064,0.636-0.374,1.561-0.701,2.539c-0.624,1.865-1.271,3.798-0.766,5.07c0.52,1.309,3.049,2.592,4.199,2.825%20c3.139,0.642,7.482-1.629,12.448-3.159c2.388,1.039,5.012,1.606,7.738,1.606c3.237,0,6.119-0.408,8.607-1.188%20c4.512,1.484,8.471,3.312,11.425,2.722c1.183-0.237,3.695-1.479,4.256-2.795C49.403,43.408,48.808,41.411,48.235,39.478z%20M10.153,31.753c-0.016,0.008-0.034,0.01-0.05,0.018c-0.002-0.006-0.005-0.012-0.007-0.018c-0.26,0.125-0.546,0.193-0.846,0.198%20c-1.231-0.019-2.214-1.155-2.214-2.56c0-1.403,0.983-2.543,2.214-2.56c0.009,0.001,0.018,0.001,0.026,0.003%20c0.342,0.584,0.734,1.146,1.178,1.682c-0.352-1.207-0.559-2.443-0.618-3.681c1.148-1.162,2.148-3.028,2.681-5.252%20c0.153-0.64,0.254-1.269,0.315-1.881c2.109,2.528,6.258,5.265,14.365,5.355c0.002,0,0.004,0,0.006,0%20c0.174,0,0.338-0.092,0.428-0.242c0.092-0.152,0.096-0.341,0.011-0.497c-0.332-0.61-1.125-2.4-0.81-3.344%20c0.039-0.116,0.094-0.211,0.166-0.29c0.814,0.66,3.178,2.317,6.334,2.317c1.162,0,2.304-0.229,3.418-0.678%20c0.562,1.899,1.466,3.482,2.484,4.513c-0.06,1.235-0.267,2.473-0.617,3.68c0.442-0.533,0.836-1.098,1.176-1.682%20c1.217,0.036,2.185,1.163,2.185,2.557c0,1.414-0.998,2.562-2.24,2.562c-0.291,0-0.564-0.066-0.818-0.184%20c-2.036,5.91-7.696,10.17-14.38,10.183C17.849,41.941,12.182,37.672,10.153,31.753z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";var f={},H=C;Object.defineProperty(f,"__esModule",{value:!0});var u=f.default=void 0,G=H(b()),R=e;u=f.default=(0,G.default)((0,R.jsx)("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send");function U(){return e.jsxs("div",{className:"load",children:[e.jsx("div",{className:"progress"}),e.jsx("div",{className:"progress"}),e.jsx("div",{className:"progress"})]})}function j({openModal:s,setOpenModal:n}){const[l,x]=c.useState(""),[a,o]=c.useState(!0),p=c.useRef(null),m=c.useRef(),[i,d]=c.useState([{id:"bot",message:""}]);c.useEffect(()=>{console.log("https://thalia-ai-server.vercel.app"),m.current&&!a&&m.current.focus()},[a]),c.useEffect(()=>{var t;(t=p.current)==null||t.scrollIntoView({behavior:"smooth"})},[i,s]),c.useEffect(()=>{s&&i.length<2&&setTimeout(()=>{d([{id:"bot",message:"Hello, Do you have anything to share with me😊"}]),o(!1)},1e3)},[s]),c.useEffect(()=>{(async function(){if(l&&a)try{const{data:t}=await N.post("/chat",{query:l});t.success&&(d([...i,{id:"bot",message:t.message}]),o(!1),x(""))}catch(t){console.log(t),x(""),o(!1),x("")}})()},[a,l,i]);const w=t=>{t.preventDefault(),l&&(d([...i,{id:"user",message:l}]),o(!0))};return e.jsx(e.Fragment,{children:e.jsxs(h,{className:"sm:p-10 py-10",size:"md",dismissible:!0,show:s,position:"bottom-right",onClose:()=>{n(!1)},children:[e.jsx(h.Header,{className:"bg-primary",children:"Chat with Didi 🀎"}),e.jsx(h.Body,{className:"min-h-80 max-h-80 w-full",children:e.jsxs("div",{className:"flex flex-col w-full flex-grow h-full space-y-4 overflow-auto",children:[i.map(t=>e.jsx(e.Fragment,{children:t.id==="bot"?e.jsx("div",{className:"flex w-full mt-2 space-x-3 max-w-xs",children:e.jsx("div",{children:t.message&&e.jsx("div",{className:"bg-gray-300 p-3 rounded-r-lg rounded-bl-lg",children:e.jsx("p",{className:"text-sm",children:t.message})})})}):e.jsx("div",{className:"flex w-full mt-2 space-x-3 max-w-xs ml-auto justify-end",children:e.jsx("div",{children:e.jsx("div",{className:"bg-secondary text-white p-3 rounded-l-lg rounded-br-lg",children:e.jsx("p",{className:"text-sm",children:t.message})})})})})),a&&e.jsx("div",{className:"flex w-full mt-2 space-x-3 max-w-xs",children:e.jsx("div",{children:e.jsx("div",{className:"bg-gray-300 px-3 py-2 rounded-r-lg rounded-bl-lg",children:e.jsx(U,{})})})}),e.jsx("div",{ref:p})]})}),e.jsxs("form",{onSubmit:w,className:"flex w-full h-full gap-4 px-5 justify-center items-center",children:[e.jsx("input",{ref:m,type:"text",placeholder:"Ask me...",className:"w-full rounded-lg mb-5 ring-1 ring-gray-400 border-0",value:l,disabled:a,onChange:t=>x(t.target.value)}),e.jsx("button",{type:"submit",className:"mb-5 cursor-pointer",children:e.jsx(u,{})})]})]})})}j.propTypes={openModal:g.bool.isRequired,setOpenModal:g.func.isRequired};function D(){const[s,n]=c.useState(!1);return e.jsxs(e.Fragment,{children:[e.jsx(j,{openModal:s,setOpenModal:n}),e.jsxs("div",{className:"relative justify-center items-center flex overflow-hidden bg-gradient-to-r from-[#3e1734] to-background py-20 md:py-40",children:[e.jsxs("div",{className:"flex flex-wrap gap-5 justify-center z-20 items-center",children:[e.jsx(r,{to:"/my-body",children:e.jsx(S,{})}),e.jsx(r,{to:"/my-mind",children:e.jsx(I,{})}),e.jsx(r,{to:"/my-rights",children:e.jsx(_,{})}),e.jsx(Z,{})]}),e.jsx("img",{src:"https://cdn.dribbble.com/users/1595839/screenshots/11700339/media/5b39c07a6a721b6b440288c6c6ec5cb1.gif",className:"absolute opacity-10 top-0 hidden md:inline-block md:w-full z-10",alt:""}),e.jsxs("div",{className:"fixed chat-didi flex justify-center right-7 md:bottom-10 md:right-10 z-20",children:[e.jsx("div",{className:"bg-text my-tooltip mr-[-25px] pr-9 px-3 py-1 rounded-s-full",children:e.jsx("h1",{className:"text-secondary mt-2 font-semibold",children:"Chat with Didi"})}),e.jsx("div",{onClick:()=>n(!0),className:"w-12 h-12 cursor-pointer rounded-full flex items-center justify-center bg-text",children:e.jsx("img",{src:T,alt:"",className:"w-8 z-40 "})})]})]})]})}function E(){return e.jsx(e.Fragment,{children:e.jsxs("section",{className:"relative z-20 p-10 overflow-hidden bg-background text-text pb-8 pt-20 dark:bg-dark lg:pb-[50px] lg:pt-[120px]",children:[e.jsxs("div",{className:"container mx-auto",children:[e.jsx("div",{className:"-mx-4 flex flex-wrap",children:e.jsx("div",{className:"w-full px-4",children:e.jsxs("div",{className:"mx-auto mb-[60px] max-w-[520px] text-center",children:[e.jsx("span",{class:"mb-2 block text-lg font-semibold text-primary",children:"It seems good."}),e.jsx("h2",{className:"mb-3 text-3xl font-bold leading-[1.2] text-dark dark:text-white sm:text-4xl md:text-[40px] pb-5",children:"But, ... ?"})]})})}),e.jsxs("div",{className:"-mx-4 flex flex-wrap",children:[e.jsxs("div",{className:"w-full px-4 lg:w-1/2",children:[e.jsxs("div",{className:"mb-12 flex lg:mb-[70px] p-5",children:[e.jsx("div",{className:"mr-4 flex h-[50px] w-full max-w-[50px] items-center justify-center rounded-xl bg-primary text-white sm:mr-6 sm:h-[60px] sm:max-w-[60px]",children:e.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 34 34",className:"fill-current",children:[e.jsx("path",{d:"M17.0008 0.690674C7.96953 0.690674 0.691406 7.9688 0.691406 17C0.691406 26.0313 7.96953 33.3625 17.0008 33.3625C26.032 33.3625 33.3633 26.0313 33.3633 17C33.3633 7.9688 26.032 0.690674 17.0008 0.690674ZM17.0008 31.5032C9.03203 31.5032 2.55078 24.9688 2.55078 17C2.55078 9.0313 9.03203 2.55005 17.0008 2.55005C24.9695 2.55005 31.5039 9.0313 31.5039 17C31.5039 24.9688 24.9695 31.5032 17.0008 31.5032Z"}),e.jsx("path",{d:"M17.9039 6.32194C16.3633 6.05631 14.8227 6.48131 13.707 7.43756C12.5383 8.39381 11.8477 9.82819 11.8477 11.3688C11.8477 11.9532 11.9539 12.5376 12.1664 13.0688C12.3258 13.5469 12.857 13.8126 13.3352 13.6532C13.8133 13.4938 14.0789 12.9626 13.9195 12.4844C13.8133 12.1126 13.707 11.7938 13.707 11.3688C13.707 10.4126 14.132 9.50944 14.8758 8.87194C15.6195 8.23444 16.5758 7.96881 17.5852 8.18131C18.9133 8.39381 19.9758 9.50944 20.1883 10.7844C20.4539 12.3251 19.657 13.8126 18.2227 14.3969C16.8945 14.9282 16.0445 16.2563 16.0445 17.7969V21.1969C16.0445 21.7282 16.4695 22.1532 17.0008 22.1532C17.532 22.1532 17.957 21.7282 17.957 21.1969V17.7969C17.957 17.0532 18.382 16.3626 18.9664 16.1501C21.1977 15.2469 22.4727 12.9094 22.0477 10.4657C21.6758 8.39381 19.9758 6.69381 17.9039 6.32194Z"}),e.jsx("path",{d:"M17.0531 24.8625H16.8937C16.3625 24.8625 15.9375 25.2875 15.9375 25.8188C15.9375 26.35 16.3625 26.7751 16.8937 26.7751H17.0531C17.5844 26.7751 18.0094 26.35 18.0094 25.8188C18.0094 25.2875 17.5844 24.8625 17.0531 24.8625Z"})]})}),e.jsxs("div",{className:"w-full",children:[e.jsx("h3",{className:"mb-6 text-xl font-semibold text-dark dark:text-white sm:text-2xl lg:text-xl xl:text-2xl",children:"There are many other communities are there. so why Thalia?"}),e.jsx("p",{className:"text-base text-body-color dark:text-dark-6",children:"We have no intention of competing with other communities. Our sole objective is to address the challenges that women encounter in society. It's heartening to see other communities striving towards the same goal. Ultimately, the fabric of society heavily relies on the contributions of women."})]})]}),e.jsxs("div",{className:"mb-12 flex lg:mb-[70px] p-5",children:[e.jsx("div",{className:"mr-4 flex h-[50px] w-full max-w-[50px] items-center justify-center rounded-xl bg-primary text-white sm:mr-6 sm:h-[60px] sm:max-w-[60px]",children:e.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 34 34",className:"fill-current",children:[e.jsx("path",{d:"M17.0008 0.690674C7.96953 0.690674 0.691406 7.9688 0.691406 17C0.691406 26.0313 7.96953 33.3625 17.0008 33.3625C26.032 33.3625 33.3633 26.0313 33.3633 17C33.3633 7.9688 26.032 0.690674 17.0008 0.690674ZM17.0008 31.5032C9.03203 31.5032 2.55078 24.9688 2.55078 17C2.55078 9.0313 9.03203 2.55005 17.0008 2.55005C24.9695 2.55005 31.5039 9.0313 31.5039 17C31.5039 24.9688 24.9695 31.5032 17.0008 31.5032Z"}),e.jsx("path",{d:"M17.9039 6.32194C16.3633 6.05631 14.8227 6.48131 13.707 7.43756C12.5383 8.39381 11.8477 9.82819 11.8477 11.3688C11.8477 11.9532 11.9539 12.5376 12.1664 13.0688C12.3258 13.5469 12.857 13.8126 13.3352 13.6532C13.8133 13.4938 14.0789 12.9626 13.9195 12.4844C13.8133 12.1126 13.707 11.7938 13.707 11.3688C13.707 10.4126 14.132 9.50944 14.8758 8.87194C15.6195 8.23444 16.5758 7.96881 17.5852 8.18131C18.9133 8.39381 19.9758 9.50944 20.1883 10.7844C20.4539 12.3251 19.657 13.8126 18.2227 14.3969C16.8945 14.9282 16.0445 16.2563 16.0445 17.7969V21.1969C16.0445 21.7282 16.4695 22.1532 17.0008 22.1532C17.532 22.1532 17.957 21.7282 17.957 21.1969V17.7969C17.957 17.0532 18.382 16.3626 18.9664 16.1501C21.1977 15.2469 22.4727 12.9094 22.0477 10.4657C21.6758 8.39381 19.9758 6.69381 17.9039 6.32194Z"}),e.jsx("path",{d:"M17.0531 24.8625H16.8937C16.3625 24.8625 15.9375 25.2875 15.9375 25.8188C15.9375 26.35 16.3625 26.7751 16.8937 26.7751H17.0531C17.5844 26.7751 18.0094 26.35 18.0094 25.8188C18.0094 25.2875 17.5844 24.8625 17.0531 24.8625Z"})]})}),e.jsxs("div",{className:"w-full",children:[e.jsx("h3",{className:"mb-6 text-xl font-semibold text-dark dark:text-white sm:text-2xl lg:text-xl xl:text-2xl",children:"Is it possible to create account for male users ?"}),e.jsx("p",{className:"text-base text-body-color dark:text-dark-6",children:"Currently, our website policy doesn't allow male users to create accounts. If a male user attempts to sign up, they will be monitored, and our AI bot will likely detect their actions and block them."})]})]})]}),e.jsxs("div",{className:"w-full px-4 lg:w-1/2",children:[e.jsxs("div",{className:"mb-12 flex lg:mb-[70px] p-5",children:[e.jsx("div",{className:"mr-4 flex h-[50px] w-full max-w-[50px] items-center justify-center rounded-xl bg-primary text-white sm:mr-6 sm:h-[60px] sm:max-w-[60px]",children:e.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 34 34",className:"fill-current",children:[e.jsx("path",{d:"M17.0008 0.690674C7.96953 0.690674 0.691406 7.9688 0.691406 17C0.691406 26.0313 7.96953 33.3625 17.0008 33.3625C26.032 33.3625 33.3633 26.0313 33.3633 17C33.3633 7.9688 26.032 0.690674 17.0008 0.690674ZM17.0008 31.5032C9.03203 31.5032 2.55078 24.9688 2.55078 17C2.55078 9.0313 9.03203 2.55005 17.0008 2.55005C24.9695 2.55005 31.5039 9.0313 31.5039 17C31.5039 24.9688 24.9695 31.5032 17.0008 31.5032Z"}),e.jsx("path",{d:"M17.9039 6.32194C16.3633 6.05631 14.8227 6.48131 13.707 7.43756C12.5383 8.39381 11.8477 9.82819 11.8477 11.3688C11.8477 11.9532 11.9539 12.5376 12.1664 13.0688C12.3258 13.5469 12.857 13.8126 13.3352 13.6532C13.8133 13.4938 14.0789 12.9626 13.9195 12.4844C13.8133 12.1126 13.707 11.7938 13.707 11.3688C13.707 10.4126 14.132 9.50944 14.8758 8.87194C15.6195 8.23444 16.5758 7.96881 17.5852 8.18131C18.9133 8.39381 19.9758 9.50944 20.1883 10.7844C20.4539 12.3251 19.657 13.8126 18.2227 14.3969C16.8945 14.9282 16.0445 16.2563 16.0445 17.7969V21.1969C16.0445 21.7282 16.4695 22.1532 17.0008 22.1532C17.532 22.1532 17.957 21.7282 17.957 21.1969V17.7969C17.957 17.0532 18.382 16.3626 18.9664 16.1501C21.1977 15.2469 22.4727 12.9094 22.0477 10.4657C21.6758 8.39381 19.9758 6.69381 17.9039 6.32194Z"}),e.jsx("path",{d:"M17.0531 24.8625H16.8937C16.3625 24.8625 15.9375 25.2875 15.9375 25.8188C15.9375 26.35 16.3625 26.7751 16.8937 26.7751H17.0531C17.5844 26.7751 18.0094 26.35 18.0094 25.8188C18.0094 25.2875 17.5844 24.8625 17.0531 24.8625Z"})]})}),e.jsxs("div",{className:"w-full",children:[e.jsx("h3",{className:"mb-6 text-xl font-semibold text-dark dark:text-white sm:text-2xl lg:text-xl xl:text-2xl",children:"But the Thalia development team is fully male, right ?"}),e.jsx("p",{className:"text-base text-body-color dark:text-dark-6",children:"At first, we thought the same way. But now, our team has four developers. We realized that having a female team member isn't crucial as long as we all listen and have sisters and female friends. Our development team acts as translators, bringing women's perspectives into the real world."})]})]}),e.jsxs("div",{className:"mb-12 flex lg:mb-[70px] p-5",children:[e.jsx("div",{className:"mr-4 flex h-[50px] w-full max-w-[50px] items-center justify-center rounded-xl bg-primary text-white sm:mr-6 sm:h-[60px] sm:max-w-[60px]",children:e.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 34 34",className:"fill-current",children:[e.jsx("path",{d:"M17.0008 0.690674C7.96953 0.690674 0.691406 7.9688 0.691406 17C0.691406 26.0313 7.96953 33.3625 17.0008 33.3625C26.032 33.3625 33.3633 26.0313 33.3633 17C33.3633 7.9688 26.032 0.690674 17.0008 0.690674ZM17.0008 31.5032C9.03203 31.5032 2.55078 24.9688 2.55078 17C2.55078 9.0313 9.03203 2.55005 17.0008 2.55005C24.9695 2.55005 31.5039 9.0313 31.5039 17C31.5039 24.9688 24.9695 31.5032 17.0008 31.5032Z"}),e.jsx("path",{d:"M17.9039 6.32194C16.3633 6.05631 14.8227 6.48131 13.707 7.43756C12.5383 8.39381 11.8477 9.82819 11.8477 11.3688C11.8477 11.9532 11.9539 12.5376 12.1664 13.0688C12.3258 13.5469 12.857 13.8126 13.3352 13.6532C13.8133 13.4938 14.0789 12.9626 13.9195 12.4844C13.8133 12.1126 13.707 11.7938 13.707 11.3688C13.707 10.4126 14.132 9.50944 14.8758 8.87194C15.6195 8.23444 16.5758 7.96881 17.5852 8.18131C18.9133 8.39381 19.9758 9.50944 20.1883 10.7844C20.4539 12.3251 19.657 13.8126 18.2227 14.3969C16.8945 14.9282 16.0445 16.2563 16.0445 17.7969V21.1969C16.0445 21.7282 16.4695 22.1532 17.0008 22.1532C17.532 22.1532 17.957 21.7282 17.957 21.1969V17.7969C17.957 17.0532 18.382 16.3626 18.9664 16.1501C21.1977 15.2469 22.4727 12.9094 22.0477 10.4657C21.6758 8.39381 19.9758 6.69381 17.9039 6.32194Z"}),e.jsx("path",{d:"M17.0531 24.8625H16.8937C16.3625 24.8625 15.9375 25.2875 15.9375 25.8188C15.9375 26.35 16.3625 26.7751 16.8937 26.7751H17.0531C17.5844 26.7751 18.0094 26.35 18.0094 25.8188C18.0094 25.2875 17.5844 24.8625 17.0531 24.8625Z"})]})}),e.jsxs("div",{className:"w-full",children:[e.jsx("h3",{className:"mb-6 text-xl font-semibold text-dark dark:text-white sm:text-2xl lg:text-xl xl:text-2xl",children:"Is this an idea only ?"}),e.jsx("p",{className:"text-base text-body-color dark:text-dark-6",children:"No, it's a genuine product that we've developed with integrity. However, the product isn't perfect yet. We continue to gather feedback and suggestions from users, constantly enhancing the app. Please feel free to try it out for yourself."})]})]})]})]})]}),e.jsxs("div",{children:[e.jsx("span",{className:"absolute left-4 top-4 -z-[1]",children:e.jsxs("svg",{width:"48",height:"134",viewBox:"0 0 48 134",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"45.6673",cy:"132",r:"1.66667",transform:"rotate(180 45.6673 132)",fill:"#13C296"}),e.jsx("circle",{cx:"45.6673",cy:"117.333",r:"1.66667",transform:"rotate(180 45.6673 117.333)",fill:"#13C296"}),e.jsx("circle",{cx:"45.6673",cy:"102.667",r:"1.66667",transform:"rotate(180 45.6673 102.667)",fill:"#13C296"}),e.jsx("circle",{cx:"45.6673",cy:"88.0001",r:"1.66667",transform:"rotate(180 45.6673 88.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"45.6673",cy:"73.3335",r:"1.66667",transform:"rotate(180 45.6673 73.3335)",fill:"#13C296"}),e.jsx("circle",{cx:"45.6673",cy:"45.0001",r:"1.66667",transform:"rotate(180 45.6673 45.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"45.6673",cy:"16.0001",r:"1.66667",transform:"rotate(180 45.6673 16.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"45.6673",cy:"59.0001",r:"1.66667",transform:"rotate(180 45.6673 59.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"45.6673",cy:"30.6668",r:"1.66667",transform:"rotate(180 45.6673 30.6668)",fill:"#13C296"}),e.jsx("circle",{cx:"45.6673",cy:"1.66683",r:"1.66667",transform:"rotate(180 45.6673 1.66683)",fill:"#13C296"}),e.jsx("circle",{cx:"31.0013",cy:"132",r:"1.66667",transform:"rotate(180 31.0013 132)",fill:"#13C296"}),e.jsx("circle",{cx:"31.0013",cy:"117.333",r:"1.66667",transform:"rotate(180 31.0013 117.333)",fill:"#13C296"}),e.jsx("circle",{cx:"31.0013",cy:"102.667",r:"1.66667",transform:"rotate(180 31.0013 102.667)",fill:"#13C296"}),e.jsx("circle",{cx:"31.0013",cy:"88.0001",r:"1.66667",transform:"rotate(180 31.0013 88.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"31.0013",cy:"73.3335",r:"1.66667",transform:"rotate(180 31.0013 73.3335)",fill:"#13C296"}),e.jsx("circle",{cx:"31.0013",cy:"45.0001",r:"1.66667",transform:"rotate(180 31.0013 45.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"31.0013",cy:"16.0001",r:"1.66667",transform:"rotate(180 31.0013 16.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"31.0013",cy:"59.0001",r:"1.66667",transform:"rotate(180 31.0013 59.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"31.0013",cy:"30.6668",r:"1.66667",transform:"rotate(180 31.0013 30.6668)",fill:"#13C296"}),e.jsx("circle",{cx:"31.0013",cy:"1.66683",r:"1.66667",transform:"rotate(180 31.0013 1.66683)",fill:"#13C296"}),e.jsx("circle",{cx:"16.3333",cy:"132",r:"1.66667",transform:"rotate(180 16.3333 132)",fill:"#13C296"}),e.jsx("circle",{cx:"16.3333",cy:"117.333",r:"1.66667",transform:"rotate(180 16.3333 117.333)",fill:"#13C296"}),e.jsx("circle",{cx:"16.3333",cy:"102.667",r:"1.66667",transform:"rotate(180 16.3333 102.667)",fill:"#13C296"}),e.jsx("circle",{cx:"16.3333",cy:"88.0001",r:"1.66667",transform:"rotate(180 16.3333 88.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"16.3333",cy:"73.3335",r:"1.66667",transform:"rotate(180 16.3333 73.3335)",fill:"#13C296"}),e.jsx("circle",{cx:"16.3333",cy:"45.0001",r:"1.66667",transform:"rotate(180 16.3333 45.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"16.3333",cy:"16.0001",r:"1.66667",transform:"rotate(180 16.3333 16.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"16.3333",cy:"59.0001",r:"1.66667",transform:"rotate(180 16.3333 59.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"16.3333",cy:"30.6668",r:"1.66667",transform:"rotate(180 16.3333 30.6668)",fill:"#13C296"}),e.jsx("circle",{cx:"16.3333",cy:"1.66683",r:"1.66667",transform:"rotate(180 16.3333 1.66683)",fill:"#13C296"}),e.jsx("circle",{cx:"1.66732",cy:"132",r:"1.66667",transform:"rotate(180 1.66732 132)",fill:"#13C296"}),e.jsx("circle",{cx:"1.66732",cy:"117.333",r:"1.66667",transform:"rotate(180 1.66732 117.333)",fill:"#13C296"}),e.jsx("circle",{cx:"1.66732",cy:"102.667",r:"1.66667",transform:"rotate(180 1.66732 102.667)",fill:"#13C296"}),e.jsx("circle",{cx:"1.66732",cy:"88.0001",r:"1.66667",transform:"rotate(180 1.66732 88.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"1.66732",cy:"73.3335",r:"1.66667",transform:"rotate(180 1.66732 73.3335)",fill:"#13C296"}),e.jsx("circle",{cx:"1.66732",cy:"45.0001",r:"1.66667",transform:"rotate(180 1.66732 45.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"1.66732",cy:"16.0001",r:"1.66667",transform:"rotate(180 1.66732 16.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"1.66732",cy:"59.0001",r:"1.66667",transform:"rotate(180 1.66732 59.0001)",fill:"#13C296"}),e.jsx("circle",{cx:"1.66732",cy:"30.6668",r:"1.66667",transform:"rotate(180 1.66732 30.6668)",fill:"#13C296"}),e.jsx("circle",{cx:"1.66732",cy:"1.66683",r:"1.66667",transform:"rotate(180 1.66732 1.66683)",fill:"#13C296"})]})}),e.jsx("span",{className:"absolute bottom-4 right-4 -z-[1]",children:e.jsxs("svg",{width:"48",height:"134",viewBox:"0 0 48 134",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("circle",{cx:"45.6673",cy:"132",r:"1.66667",transform:"rotate(180 45.6673 132)",fill:"#3758F9"}),e.jsx("circle",{cx:"45.6673",cy:"117.333",r:"1.66667",transform:"rotate(180 45.6673 117.333)",fill:"#3758F9"}),e.jsx("circle",{cx:"45.6673",cy:"102.667",r:"1.66667",transform:"rotate(180 45.6673 102.667)",fill:"#3758F9"}),e.jsx("circle",{cx:"45.6673",cy:"88.0001",r:"1.66667",transform:"rotate(180 45.6673 88.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"45.6673",cy:"73.3333",r:"1.66667",transform:"rotate(180 45.6673 73.3333)",fill:"#3758F9"}),e.jsx("circle",{cx:"45.6673",cy:"45.0001",r:"1.66667",transform:"rotate(180 45.6673 45.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"45.6673",cy:"16.0001",r:"1.66667",transform:"rotate(180 45.6673 16.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"45.6673",cy:"59.0001",r:"1.66667",transform:"rotate(180 45.6673 59.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"45.6673",cy:"30.6668",r:"1.66667",transform:"rotate(180 45.6673 30.6668)",fill:"#3758F9"}),e.jsx("circle",{cx:"45.6673",cy:"1.66683",r:"1.66667",transform:"rotate(180 45.6673 1.66683)",fill:"#3758F9"}),e.jsx("circle",{cx:"31.0006",cy:"132",r:"1.66667",transform:"rotate(180 31.0006 132)",fill:"#3758F9"}),e.jsx("circle",{cx:"31.0006",cy:"117.333",r:"1.66667",transform:"rotate(180 31.0006 117.333)",fill:"#3758F9"}),e.jsx("circle",{cx:"31.0006",cy:"102.667",r:"1.66667",transform:"rotate(180 31.0006 102.667)",fill:"#3758F9"}),e.jsx("circle",{cx:"31.0006",cy:"88.0001",r:"1.66667",transform:"rotate(180 31.0006 88.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"31.0008",cy:"73.3333",r:"1.66667",transform:"rotate(180 31.0008 73.3333)",fill:"#3758F9"}),e.jsx("circle",{cx:"31.0008",cy:"45.0001",r:"1.66667",transform:"rotate(180 31.0008 45.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"31.0008",cy:"16.0001",r:"1.66667",transform:"rotate(180 31.0008 16.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"31.0008",cy:"59.0001",r:"1.66667",transform:"rotate(180 31.0008 59.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"31.0008",cy:"30.6668",r:"1.66667",transform:"rotate(180 31.0008 30.6668)",fill:"#3758F9"}),e.jsx("circle",{cx:"31.0008",cy:"1.66683",r:"1.66667",transform:"rotate(180 31.0008 1.66683)",fill:"#3758F9"}),e.jsx("circle",{cx:"16.3341",cy:"132",r:"1.66667",transform:"rotate(180 16.3341 132)",fill:"#3758F9"}),e.jsx("circle",{cx:"16.3341",cy:"117.333",r:"1.66667",transform:"rotate(180 16.3341 117.333)",fill:"#3758F9"}),e.jsx("circle",{cx:"16.3341",cy:"102.667",r:"1.66667",transform:"rotate(180 16.3341 102.667)",fill:"#3758F9"}),e.jsx("circle",{cx:"16.3341",cy:"88.0001",r:"1.66667",transform:"rotate(180 16.3341 88.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"16.3338",cy:"73.3333",r:"1.66667",transform:"rotate(180 16.3338 73.3333)",fill:"#3758F9"}),e.jsx("circle",{cx:"16.3338",cy:"45.0001",r:"1.66667",transform:"rotate(180 16.3338 45.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"16.3338",cy:"16.0001",r:"1.66667",transform:"rotate(180 16.3338 16.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"16.3338",cy:"59.0001",r:"1.66667",transform:"rotate(180 16.3338 59.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"16.3338",cy:"30.6668",r:"1.66667",transform:"rotate(180 16.3338 30.6668)",fill:"#3758F9"}),e.jsx("circle",{cx:"16.3338",cy:"1.66683",r:"1.66667",transform:"rotate(180 16.3338 1.66683)",fill:"#3758F9"}),e.jsx("circle",{cx:"1.66732",cy:"132",r:"1.66667",transform:"rotate(180 1.66732 132)",fill:"#3758F9"}),e.jsx("circle",{cx:"1.66732",cy:"117.333",r:"1.66667",transform:"rotate(180 1.66732 117.333)",fill:"#3758F9"}),e.jsx("circle",{cx:"1.66732",cy:"102.667",r:"1.66667",transform:"rotate(180 1.66732 102.667)",fill:"#3758F9"}),e.jsx("circle",{cx:"1.66732",cy:"88.0001",r:"1.66667",transform:"rotate(180 1.66732 88.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"1.66732",cy:"73.3333",r:"1.66667",transform:"rotate(180 1.66732 73.3333)",fill:"#3758F9"}),e.jsx("circle",{cx:"1.66732",cy:"45.0001",r:"1.66667",transform:"rotate(180 1.66732 45.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"1.66732",cy:"16.0001",r:"1.66667",transform:"rotate(180 1.66732 16.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"1.66732",cy:"59.0001",r:"1.66667",transform:"rotate(180 1.66732 59.0001)",fill:"#3758F9"}),e.jsx("circle",{cx:"1.66732",cy:"30.6668",r:"1.66667",transform:"rotate(180 1.66732 30.6668)",fill:"#3758F9"}),e.jsx("circle",{cx:"1.66732",cy:"1.66683",r:"1.66667",transform:"rotate(180 1.66732 1.66683)",fill:"#3758F9"})]})})]})]})})}function P(){const s=localStorage.getItem("user");return e.jsxs(e.Fragment,{children:[s?e.jsx(D,{}):e.jsxs(e.Fragment,{children:[e.jsx(z,{}),e.jsx(k,{}),e.jsx(M,{}),e.jsx(E,{})]}),e.jsx(F,{})]})}export{P as default}; diff --git a/client/dist/assets/Home-CXwSBz1b.js b/client/dist/assets/Home-CXwSBz1b.js new file mode 100644 index 0000000..4dd0c0d --- /dev/null +++ b/client/dist/assets/Home-CXwSBz1b.js @@ -0,0 +1 @@ +import{j as s}from"./index-C-3fXsNk.js";function a(){return s.jsx(s.Fragment,{children:s.jsx("div",{className:"h-screen bg-background",children:s.jsx("div",{className:"col-span-9",children:s.jsx("div",{className:"flex justify-around py-5"})})})})}export{a as default}; diff --git a/client/dist/assets/Home-CtJ0S7Gw.css b/client/dist/assets/Home-CtJ0S7Gw.css new file mode 100644 index 0000000..efdd3d4 --- /dev/null +++ b/client/dist/assets/Home-CtJ0S7Gw.css @@ -0,0 +1 @@ +.load{display:flex;border-radius:50%;flex-direction:row}.progress{width:.5em;height:.5em;margin:.4em;scale:0;border-radius:50%;background:#520a0a;animation:loading_492 1s ease infinite;animation-delay:.5s}@keyframes loading_492{50%{scale:1}}.progress:nth-child(2){animation-delay:1.3s}.progress:nth-child(3){animation-delay:1.7s} diff --git a/client/dist/assets/Login-BqoBMKIE.css b/client/dist/assets/Login-BqoBMKIE.css new file mode 100644 index 0000000..b21958a --- /dev/null +++ b/client/dist/assets/Login-BqoBMKIE.css @@ -0,0 +1 @@ +.loader2{display:block;--height-of-loader: 4px;--loader-color: blueviolet;width:130px;height:var(--height-of-loader);border-radius:30px;background-color:#0003;position:relative}.loader2:before{content:"";position:absolute;background:var(--loader-color);top:0;left:0;width:0%;height:100%;border-radius:30px;animation:moving 1s ease-in-out infinite}@keyframes moving{50%{width:100%}to{width:0;right:0;left:unset}} diff --git a/client/dist/assets/Login-DCALq6Rt.js b/client/dist/assets/Login-DCALq6Rt.js new file mode 100644 index 0000000..a1ecf50 --- /dev/null +++ b/client/dist/assets/Login-DCALq6Rt.js @@ -0,0 +1 @@ +import{j as e,u as y,b as r,f as N,g as E,l as S,h as L,L as k}from"./index-C-3fXsNk.js";import{v as i}from"./formValidator-Jzx2fgUq.js";function C(){return e.jsx("div",{className:"loader2"})}function q(){const f=y(),[n,l]=r.useState(!1),[c,m]=r.useState(""),{isLoading:g,isError:u,isSuccess:p,errorMessage:x}=N(t=>t.auth),o=E(),[s,b]=r.useState({email:"",password:""}),[a,d]=r.useState({email:"",password:""}),h=t=>{const{name:v,value:j}=t.target;b({...s,[v]:j}),s.email&&d({...a,email:i("email",s.email)}),s.password&&d({...a,password:i("required",s.password)}),l(!1)},w=t=>{t.preventDefault(),d({...a,email:i("email",s.email),password:i("required",s.password)}),l(!0)};return r.useEffect(()=>{n&&!a.email&&!a.password&&s.email&&s.password&&o(S(s))},[s,a,o,n]),r.useEffect(()=>{u&&(m(x.message),l(!1),o(L()))},[u,x,o]),r.useEffect(()=>{p&&(window.location.reload(),m(""),l(!1))},[p,f]),e.jsx(e.Fragment,{children:e.jsx("div",{className:"h-screen bg-gradient-to-r from-[#2d1525] to-background flex flex-col justify-center",children:e.jsxs("div",{className:"relative py-3 sm:max-w-xl sm:mx-auto",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-secondary to-primary shadow-lg transform -skew-y-6 sm:skew-y-0 sm:-rotate-6 sm:rounded-3xl"}),e.jsx("div",{className:"relative md:w-[30rem] bg-text shadow-lg rounded-3xl p-10",children:e.jsxs("div",{className:"max-w-md mx-auto",children:[e.jsx("div",{children:e.jsx("h1",{className:"text-2xl font-semibold",children:"Login"})}),c&&e.jsx("div",{className:"w-full bg-red-100 flex items-center justify-center p-1 h-6 mt-3 rounded-md text-red-600",children:g?e.jsx(C,{}):e.jsx("small",{className:"",children:c})}),e.jsx("div",{className:"divide-y divide-gray-200",children:e.jsxs("div",{className:"py-4 text-base leading-6 space-y-4 text-gray-700 sm:text-lg sm:leading-7",children:[e.jsxs("div",{className:"relative",children:[e.jsx("input",{id:"email",name:"email",value:s.email,onChange:h,className:"peer placeholder-transparent outline-none h-10 w-full bg-text border-0 border-b-2 border-gray-300 text-gray-900 focus:outline-none focus:border-b-2 focus:ring-0",placeholder:"Email address"}),a.email&&e.jsx("small",{className:"text-red-700",children:a.email}),e.jsx("label",{className:"absolute left-0 -top-3.5 text-gray-600 text-sm peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-440 peer-placeholder-shown:top-2 transition-all peer-focus:-top-3.5 peer-focus:text-gray-600 peer-focus:text-sm",children:"Email"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("input",{id:"password",name:"password",type:"password",value:s.password,onChange:h,className:"peer placeholder-transparent outline-none h-10 w-full border-b-2 bg-text border-0 border-gray-300 text-gray-900 focus:outline-none focus:border-b-2 focus:ring-0",placeholder:"Password"}),a.password&&e.jsx("small",{className:"text-red-700",children:a.password}),e.jsx("label",{className:"absolute left-0 -top-3.5 text-gray-600 text-sm peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-440 peer-placeholder-shown:top-2 transition-all peer-focus:-top-3.5 peer-focus:text-gray-600 peer-focus:text-sm",children:"Password"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("button",{onClick:w,className:"bg-secondary mt-3 mb-2 text-white rounded-md w-full py-1",children:"Submit"}),e.jsx(k,{to:"/signup",children:e.jsx("small",{className:"text-blue-500 cursor-pointer hover:underline",children:"create account?"})})]})]})})]})})]})})})}export{q as default}; diff --git a/client/dist/assets/Logo-CdXQfGpE.svg b/client/dist/assets/Logo-CdXQfGpE.svg new file mode 100644 index 0000000..2e6b01a --- /dev/null +++ b/client/dist/assets/Logo-CdXQfGpE.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/client/dist/assets/Managment-p_2cGOcF.js b/client/dist/assets/Managment-p_2cGOcF.js new file mode 100644 index 0000000..015d64c --- /dev/null +++ b/client/dist/assets/Managment-p_2cGOcF.js @@ -0,0 +1 @@ +import{b as x,j as e,M as b,t as y,B as g}from"./index-C-3fXsNk.js";function j({openModal:r,setOpenModal:n,userReport:c}){const[l,m]=x.useState(Array(c.length).fill(!1)),p=o=>{m(s=>{const i=[...s];return i[o]=!i[o],i})};return e.jsx(e.Fragment,{children:e.jsxs(b,{show:r,onClose:()=>n(!1),userReport:c,children:[e.jsx(b.Header,{className:"bg-gray-800",children:e.jsx("h1",{className:"text-white font-bold",children:"User Reports"})}),e.jsx(b.Body,{className:"ring-1 bg-background rounded-b-md px-2 py-2",children:(c==null?void 0:c.length)===0?e.jsx(e.Fragment,{children:e.jsx("h1",{className:"text-white",children:"No Reports for this User"})}):e.jsx(e.Fragment,{children:e.jsx("div",{className:"w-full",children:c==null?void 0:c.map((o,s)=>e.jsxs("div",{id:`accordion-collapse-${s}`,"data-accordion":"collapse",children:[e.jsx("h2",{id:`accordion-collapse-heading-${s}`,children:e.jsxs("button",{type:"button",className:"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-600 rounded-t-xl dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-800 gap-3","data-accordion-target":`#accordion-collapse-body-${s}`,"aria-expanded":l[s],"aria-controls":`accordion-collapse-body-${s}`,onClick:()=>p(s),children:[e.jsxs("span",{className:"text-text text-lg",children:["Report ",s+1]}),e.jsx("svg",{"data-accordion-icon":!0,className:`w-3 h-3 rotate-180 shrink-0 ${l[s]?"rotate-180":""}`,"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 10 6",children:e.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5 5 1 1 5"})})]})}),e.jsx("div",{id:`accordion-collapse-body-${s}`,className:l[s]?"block":"hidden","aria-labelledby":`accordion-collapse-heading-${s}`,children:e.jsx("div",{className:"p-5 border border-b-0 border-gray-600 dark:border-gray-700 dark:bg-gray-900",children:e.jsx("p",{className:"mb-2 text-text dark:text-gray-400",children:o==null?void 0:o.reason})})})]},s))})})})]})})}const k=async()=>{try{return(await y.get("/admin/users",{withCredentials:!0})).data}catch(r){return r}},N=async r=>{try{return(await y.put(`/admin/users/block/${r}`,{withCredentials:!0})).data}catch(n){return n}},f=async r=>{try{return(await y.put(`/admin/users/unblock/${r}`,{withCredentials:!0})).data}catch(n){return n}};function u(){const[r,n]=x.useState(!1),[c,l]=x.useState([]),[m,p]=x.useState([]),o=a=>{const t=c.find(h=>h._id===a);p(t.reports),n(!0)};x.useEffect(()=>{(async()=>{const t=await k();t.success===!0&&l(t==null?void 0:t.userList)})()},[n,l,p,m,r]);const s=async a=>{const t=await N(a);if((t==null?void 0:t.success)===!0){const h=c.map(d=>d._id===a?{...d,is_blocked:!0}:d);l(h),g(t==null?void 0:t.message)}},i=async a=>{const t=await f(a);if((t==null?void 0:t.success)===!0){const h=c.map(d=>d._id===a?{...d,is_blocked:!1}:d);l(h),g(t==null?void 0:t.message)}};return e.jsxs(e.Fragment,{children:[e.jsx(j,{openModal:r,setOpenModal:n,userReport:m}),e.jsx("div",{className:" h-screen bg-background",children:e.jsx("div",{className:"col-span-9",children:e.jsxs("div",{className:"text-text",children:[e.jsx("h1",{className:"text-2xl py-12",children:"User Managment"}),e.jsx("div",{children:e.jsxs("table",{className:"w-full text-sm text-left rtl:text-right rounded",children:[e.jsx("thead",{className:"text-xs bg-secondary rounded",children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"Name"}),e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"Email"}),e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"Reports"}),e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"View Reports"}),e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"Block/Unblock"})]})}),c==null?void 0:c.map((a,t)=>e.jsx(e.Fragment,{children:e.jsx("tbody",{children:e.jsxs("tr",{className:"border-b border-gray-600",children:[e.jsx("th",{scope:"row",className:"px-6 py-4 font-medium",children:a==null?void 0:a.fullname}),e.jsx("td",{className:"px-6 py-4",children:a==null?void 0:a.email}),e.jsx("td",{className:"px-6 py-4",children:a==null?void 0:a.reports.length}),e.jsx("td",{className:"px-6 py-4",children:e.jsx("button",{className:"border border-gray-600 bg-gray-700 py-1 px-6 rounded",onClick:()=>o(a==null?void 0:a._id),children:"View"})}),e.jsx("td",{className:"px-6 py-4",children:a!=null&&a.is_blocked?e.jsx("button",{className:"border py-1 px-4 rounded hover:bg-green-700",onClick:()=>i(a==null?void 0:a._id),children:"UnBlock"}):e.jsx("button",{className:"border py-1 px-6 rounded hover:bg-red-700",onClick:()=>s(a==null?void 0:a._id),children:"Block"})})]})},t)}))]})})]})})})]})}export{u as default}; diff --git a/client/dist/assets/MyBody-CZjamJp9.js b/client/dist/assets/MyBody-CZjamJp9.js new file mode 100644 index 0000000..b11b16f --- /dev/null +++ b/client/dist/assets/MyBody-CZjamJp9.js @@ -0,0 +1 @@ +import{t as j,b as l,j as e,M as u,B as f,S as B,m as E}from"./index-C-3fXsNk.js";import{t as T}from"./timeFormat-BEZOty4m.js";const F=async a=>{try{return(await j.get(`/admin/my-body?page=${a}`,{withCredentials:!0})).data}catch(s){return s}},M=async a=>{try{return(await j.post("/admin/my-body",a,{withCredentials:!0})).data}catch(s){return s}},S=async a=>{try{return(await j.delete(`/admin/my-body/${a}`,{withCredentials:!0})).data}catch(s){return s}},k=async(a,s)=>{try{return(await j.put(`/admin/my-body/${s}`,a)).data}catch(t){return console.log("error=>",t),t}};function A({setOpenModal:a,openModal:s,bodyDetails:t}){const[r,d]=l.useState({name:"",content:""});l.useEffect(()=>{t&&d({name:(t==null?void 0:t.name)||"",content:(t==null?void 0:t.content)||""})},[t]);const m=c=>{const{name:h,value:p}=c.target;d({...r,[h]:p})},i=async()=>{const c=await k(r,t==null?void 0:t._id);c.success===!0&&(f.success(c.message),r.name="",r.content="",a(!1))};return e.jsx(e.Fragment,{children:e.jsxs(u,{show:s,onClose:()=>a(!1),children:[e.jsx(u.Header,{className:"bg-gray-800",children:e.jsx("h1",{className:"text-white font-bold",children:"Edit Topic"})}),e.jsxs(u.Body,{className:"ring-1 bg-gray-800 rounded-b-md px-2 py-2",children:[e.jsx("div",{className:"w-full",children:e.jsxs("label",{htmlFor:"",children:[e.jsx("h1",{className:"text-white py-2",children:"Name of the Topic"}),e.jsx("input",{type:"text",className:"w-full rounded-md bg-gray-700 text-text",value:r==null?void 0:r.name,onChange:m,name:"name"})]})}),e.jsx("div",{className:"w-full mt-3",children:e.jsxs("label",{htmlFor:"",children:[e.jsx("h1",{className:"text-text py-2",children:"Topic Description"}),e.jsx("textarea",{name:"content",value:r==null?void 0:r.content,onChange:m,rows:8,className:"w-full rounded-md bg-gray-700 text-white "})]})}),e.jsx("button",{className:"text-white border-0 px-5 py-1 hover:bg-primary bg-gray-500 hover:text-black rounded-md float-end",onClick:i,children:"Update"})]})]})})}function P({openModal:a,setOpenModal:s}){const[t,r]=l.useState({name:"",content:""}),d=i=>{const{name:c,value:h}=i.target;r({...t,[c]:h})},m=()=>{(async()=>{const c=await M(t);c.success===!0&&(t.name="",t.content="",s(!1),f.success(c.message))})()};return e.jsx(e.Fragment,{children:e.jsxs(u,{show:a,onClose:()=>s(!1),children:[e.jsx(u.Header,{className:"bg-gray-800",children:e.jsx("h1",{className:"text-white font-bold",children:"Add New Topic"})}),e.jsxs(u.Body,{className:"ring-1 bg-background rounded-b-md px-2 py-2",children:[e.jsx("div",{className:"w-full",children:e.jsxs("label",{htmlFor:"",children:[e.jsx("h1",{className:"text-white py-2",children:"Name of the Topic"}),e.jsx("input",{type:"text",className:"w-full rounded-md bg-gray-800 text-text focus:ring-0",value:t.name,onChange:d,name:"name"})]})}),e.jsx("div",{className:"w-full mt-3",children:e.jsxs("label",{htmlFor:"",children:[e.jsx("h1",{className:"text-text py-2",children:"Provide the Topic Description"}),e.jsx("textarea",{name:"content",value:t.content,onChange:d,id:"",rows:8,className:"w-full rounded-md bg-gray-800 text-white focus:ring-0"})]})}),e.jsx("button",{className:"text-primary border px-5 py-1 rounded-md float-end hover:bg-primary hover:text-background",onClick:m,children:"Add Topic"})]})]})})}function H(){const[a,s]=l.useState(!1),[t,r]=l.useState([]),[d,m]=l.useState(1),[i,c]=l.useState(0),[h,p]=l.useState(),[N,g]=l.useState(!1),w=()=>{s(!0)},b=n=>m(n),v=n=>{g(!0);const o=t.find(x=>(x==null?void 0:x._id)===n);p(o)};l.useEffect(()=>{(async()=>{const o=await F(d);o.success===!0&&(r(o.contents),c(o.count))})()},[a,s,r,g,N,p,d]);const C=async n=>{const o=await S(n);o.success===!0&&(r(x=>x.filter(y=>(y==null?void 0:y._id)!==n)),f.success(o.message))};return e.jsxs(e.Fragment,{children:[e.jsx(A,{setOpenModal:g,openModal:N,bodyDetails:h||null}),e.jsx(P,{setOpenModal:s,openModal:a}),e.jsx("div",{className:"min-h-screen bg-background",children:e.jsxs("div",{className:"col-span-9",children:[e.jsxs("div",{className:"text-text flex justify-between",children:[e.jsx("div",{children:e.jsx("h1",{className:"text-2xl py-12",children:"Body Topics"})}),e.jsx("div",{className:"px-8",children:e.jsx("button",{className:"text-xl py-12 text-pretty text-primary",onClick:w,children:"Create"})})]}),e.jsx("div",{children:e.jsxs("table",{className:"w-full text-sm text-left rtl:text-right rounded",children:[e.jsx("thead",{className:"text-xs bg-secondary rounded",children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"No"}),e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"Name"}),e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"Created At"}),e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary text-center",children:"Edit or Delete"})]})}),t.map((n,o)=>e.jsx(e.Fragment,{children:e.jsx("tbody",{className:"text-text",children:e.jsxs("tr",{className:"border-b border-gray-500",children:[e.jsx("th",{scope:"row",className:"px-6 py-4 font-medium",children:o+1}),e.jsx("td",{className:"px-6 py-4",children:n==null?void 0:n.name}),e.jsx("td",{className:"px-6 py-4",children:T(n.createdAt)}),e.jsxs("td",{className:"px-6 py-4 flex justify-center",children:[e.jsx("button",{className:"border py-1 px-6 rounded hover:bg-green-500",onClick:()=>v(n==null?void 0:n._id),children:"Edit"}),e.jsx("button",{className:"border py-1 px-6 rounded ml-2 hover:bg-red-700",onClick:()=>{B.fire({title:"Are you sure",text:"are you sure wan't to delete this",showCancelButton:!0,confirmButtonText:"delete"}).then(x=>{x.isConfirmed&&C(n==null?void 0:n._id)})},children:"Delete"})]})]})},o)}))]})}),e.jsx("div",{className:"flex z-20 mypage overflow-x-auto w-[80%] sm:justify-end",children:i>10&&e.jsx(E,{currentPage:d,totalPages:Math.ceil(i/10),onPageChange:b})})]})})]})}export{H as default}; diff --git a/client/dist/assets/MyBodyPage-BMPXa9Y3.js b/client/dist/assets/MyBodyPage-BMPXa9Y3.js new file mode 100644 index 0000000..c7d7465 --- /dev/null +++ b/client/dist/assets/MyBodyPage-BMPXa9Y3.js @@ -0,0 +1 @@ +import{b as s,t as p,j as e,L as j,m as b}from"./index-C-3fXsNk.js";import{V as y,d as w,a as N,b as S}from"./functions-DunThPl9.js";function C(){const[d,o]=s.useState(!1),[a,c]=s.useState({name:"",content:""}),[l,u]=s.useState(""),[n,m]=s.useState(1),[r,x]=s.useState(0),[i,f]=s.useState([]);s.useEffect(()=>{(async function(){try{const{data:t}=await p.get(`/my-body?search=${l}&&page=${n}`);t.success&&(f(t.contents),x(t.count))}catch(t){console.log(t)}})()},[l,n]),s.useEffect(()=>{a.content&&a.name&&o(!0)},[a]);const g=t=>m(t),h=S(t=>{u(t)},500);return e.jsxs(e.Fragment,{children:[e.jsx(y,{openModal:d,setOpenModal:o,content:a,setContent:c}),e.jsxs("div",{className:"min-h-screen z-20 pb-28 relative flex flex-col items-center w-full space-y-4 bg-background pt-20 px-4 md:px-20",children:[e.jsx("h1",{className:"font-bold text-text text-4xl",children:"My Body"}),e.jsxs("div",{className:"flex z-20 flex-wrap items-center justify-between mt-10 w-full",children:[e.jsxs(j,{to:"/home",className:"font-bold text-white",children:[e.jsx(w,{fontSize:"small",className:"mb-1"})," Back"]}),e.jsxs("div",{className:"flex justify-center items-center ring-1 ring-gray-700 rounded-lg pe-2",children:[e.jsx("input",{onChange:t=>h(t.target.value),className:"h-8 focus:outline-none text-text focus:ring-0 rounded-lg border-0 bg-transparent",type:"text",placeholder:"search"}),e.jsx(N,{fontSize:"medium",className:"text-white/[0.3]"})]})]}),i.length>0&&i.map(t=>e.jsx(e.Fragment,{children:e.jsx("div",{onClick:()=>{c(t)},className:"w-full py-4 z-20 px-4 bg-primary/[0.3] hover:bg-secondary rounded-lg cursor-pointer",children:e.jsx("h1",{className:"font-bold text-text text-xl",children:t.name})})})),e.jsx("div",{className:"flex z-20 mypage overflow-x-auto w-[80%] sm:justify-end",children:r>0&&e.jsx(b,{currentPage:n,totalPages:parseInt(r/10),onPageChange:g})}),e.jsx("img",{src:"https://i.gifer.com/BXe0.gif",className:"absolute opacity-10 top-0 hidden md:inline-block md:w-full z-10",alt:""})]})]})}export{C as default}; diff --git a/client/dist/assets/MyLawsPage-fhUMTO4b.js b/client/dist/assets/MyLawsPage-fhUMTO4b.js new file mode 100644 index 0000000..237b612 --- /dev/null +++ b/client/dist/assets/MyLawsPage-fhUMTO4b.js @@ -0,0 +1 @@ +import{b as s,t as p,j as e,L as j,m as b}from"./index-C-3fXsNk.js";import{V as y,d as w,a as N,b as S}from"./functions-DunThPl9.js";function P(){const[d,c]=s.useState(!1),[a,o]=s.useState({name:"",content:""}),[r,u]=s.useState(""),[n,m]=s.useState(1),[l,x]=s.useState(0),[i,f]=s.useState([]);s.useEffect(()=>{(async function(){try{const{data:t}=await p.get(`/rights?search=${r}&&page=${n}`);t.success&&(f(t.rights),x(t.count))}catch(t){console.log(t)}})()},[r,n]),s.useEffect(()=>{a.content&&a.name&&c(!0)},[a]);const g=t=>m(t),h=S(t=>{u(t)},500);return e.jsxs(e.Fragment,{children:[e.jsx(y,{openModal:d,setOpenModal:c,content:a,setContent:o}),e.jsxs("div",{className:"min-h-screen pb-28 relative flex flex-col items-center w-full space-y-4 bg-background pt-20 px-4 md:px-20",children:[e.jsx("h1",{className:"font-bold text-text text-4xl",children:"MY Rights"}),e.jsxs("div",{className:"flex z-20 flex-wrap items-center justify-between mt-10 w-full",children:[e.jsxs(j,{to:"/home",className:"font-bold text-white",children:[e.jsx(w,{fontSize:"small",className:"mb-1"})," Back"]}),e.jsxs("div",{className:"flex justify-center items-center ring-1 ring-gray-700 rounded-lg pe-2",children:[e.jsx("input",{onChange:t=>h(t.target.value),className:"h-8 focus:outline-none text-text focus:ring-0 rounded-lg border-0 bg-transparent",type:"text",placeholder:"search"}),e.jsx(N,{fontSize:"medium",className:"text-white/[0.3]"})]})]}),i.length>0&&i.map(t=>e.jsx(e.Fragment,{children:e.jsx("div",{onClick:()=>{o(t)},className:"w-full py-4 z-20 px-4 bg-primary/[0.3] hover:bg-secondary rounded-lg cursor-pointer",children:e.jsx("h1",{className:"font-bold text-text text-xl",children:t.name})})})),e.jsx("div",{className:"flex mypage z-20 overflow-x-auto w-[80%] sm:justify-end",children:l>0&&e.jsx(b,{currentPage:n,totalPages:parseInt(l/10),onPageChange:g})}),e.jsx("img",{src:"https://i.pinimg.com/originals/44/db/93/44db938c4d86a7ea3ae51a511304a117.gif",className:"absolute opacity-10 top-0 hidden md:inline-block md:w-full z-10",alt:""})]})]})}export{P as default}; diff --git a/client/dist/assets/MyMind-B9quhHSs.js b/client/dist/assets/MyMind-B9quhHSs.js new file mode 100644 index 0000000..7d0c5fa --- /dev/null +++ b/client/dist/assets/MyMind-B9quhHSs.js @@ -0,0 +1 @@ +import{t as p,b as i,j as e,M as h,B as g}from"./index-C-3fXsNk.js";import{t as f}from"./timeFormat-BEZOty4m.js";const b=async()=>{try{return(await p.get("/admin/my-mind",{},{withCredentials:!0})).data}catch(a){return a}},w=async(a,r)=>{try{return(await p.put(`/admin/my-mind/${r}`,a,{withCredentials:!0})).data}catch(t){return t}},M=async a=>{try{return(await p.post("/admin/my-mind",a,{withCredentials:!0})).data}catch(r){return r}},v=async a=>{try{return(await p.delete(`/admin/my-mind/${a}`,{},{withCredentials:!0})).data}catch(r){return r}};function C({setOpenModal:a,openModal:r,mindDetails:t}){const[n,d]=i.useState({name:"",content:""});i.useEffect(()=>{console.log(t),t&&d({name:(t==null?void 0:t.name)||"",content:(t==null?void 0:t.content)||""})},[t]);const x=o=>{const{name:u,value:y}=o.target;d(j=>({...j,[u]:y}))},l=async()=>{const o=await w(n,t==null?void 0:t._id);o.success===!0&&(g.success(o.message),n.name="",n.content="",a(!1))};return e.jsx(e.Fragment,{children:e.jsxs(h,{show:r,onClose:()=>a(!1),children:[e.jsx(h.Header,{className:"bg-gray-800",children:e.jsx("h1",{className:"text-white font-bold",children:"Add New Mind"})}),e.jsxs(h.Body,{className:"ring-1 bg-background rounded-b-md px-2 py-2",children:[e.jsx("div",{className:"w-full",children:e.jsxs("label",{htmlFor:"",children:[e.jsx("h1",{className:"text-white py-2",children:"Name of the Mind"}),e.jsx("input",{type:"text",className:"w-full rounded-md bg-gray-700 text-text",value:n==null?void 0:n.name,onChange:x,name:"name"})]})}),e.jsx("div",{className:"w-full mt-3",children:e.jsxs("label",{htmlFor:"",children:[e.jsx("h1",{className:"text-text py-2",children:"Provide the Mind Description"}),e.jsx("textarea",{name:"content",value:n==null?void 0:n.content,onChange:x,id:"",rows:8,className:"w-full rounded-md bg-gray-700 text-white"})]})}),e.jsx("button",{className:"text-primary border-2 px-5 py-1 hover:bg-primary hover:text-black rounded-md float-end",onClick:l,children:"Update"})]})]})})}function E({setOpenModal:a,openModal:r}){const[t,n]=i.useState({name:"",content:""}),d=l=>{const{name:o,value:u}=l.target;n({...t,[o]:u})},x=async()=>{if(!(!t.name||!t.content))try{const l=await M(t);l.success===!0&&(t.name="",t.content="",g.success(l.message),a(!1))}catch(l){console.log("Error occurred",l)}};return e.jsx(e.Fragment,{children:e.jsxs(h,{show:r,onClose:()=>a(!1),children:[e.jsx(h.Header,{className:"bg-gray-800",children:e.jsx("h1",{className:"text-white font-bold",children:"Add New Mind"})}),e.jsxs(h.Body,{className:"ring-1 bg-background rounded-b-md px-2 py-2",children:[e.jsx("div",{className:"w-full",children:e.jsxs("label",{htmlFor:"",children:[e.jsx("h1",{className:"text-white py-2",children:"Name of the Mind"}),e.jsx("input",{type:"text",className:"w-full rounded-md bg-gray-700 text-text",value:t.name,onChange:d,name:"name"})]})}),e.jsx("div",{className:"w-full mt-3",children:e.jsxs("label",{htmlFor:"",children:[e.jsx("h1",{className:"text-text py-2",children:"Provide the Mind Description"}),e.jsx("textarea",{name:"content",value:t.content,onChange:d,id:"",rows:8,className:"w-full rounded-md bg-gray-700 text-white"})]})}),e.jsx("button",{className:"text-primary border-2 px-5 py-1 hover:bg-primary hover:text-black rounded-md float-end",onClick:x,children:"Add Mind"})]})]})})}function A(){const[a,r]=i.useState(!1),[t,n]=i.useState([]),[d,x]=i.useState(),[l,o]=i.useState(!1),u=()=>{r(!0)},y=s=>{o(!0);const c=t.find(m=>(m==null?void 0:m._id)===s);console.log(c),x(c)};i.useEffect(()=>{(async()=>{const c=await b();c.success===!0&&(console.log(c.contents),n(c.contents))})()},[r,o,a,l,n,x]);const j=async s=>{const c=await v(s);c.success===!0&&(n(m=>m.filter(N=>N._id!==s)),g.success(c.message))};return e.jsxs(e.Fragment,{children:[e.jsx(C,{setOpenModal:o,openModal:l,mindDetails:d||null}),e.jsx(E,{setOpenModal:r,openModal:a}),e.jsx("div",{className:"h-full bg-background",children:e.jsxs("div",{className:"col-span-9",children:[e.jsxs("div",{className:"text-text flex justify-between",children:[e.jsx("div",{children:e.jsx("h1",{className:"text-2xl py-12",children:"Mind Management"})}),e.jsx("div",{className:"px-8",children:e.jsx("button",{className:"text-xl py-12 text-pretty text-primary",onClick:u,children:"Create"})})]}),e.jsx("div",{children:e.jsx(e.Fragment,{children:e.jsxs("table",{className:"w-full text-sm text-left rtl:text-right rounded",children:[e.jsx("thead",{className:"text-xs bg-secondary rounded",children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"No"}),e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"Name"}),e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"Date"}),e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary text-center",children:"Edit or Delete"})]})}),t.map((s,c)=>e.jsx(e.Fragment,{children:e.jsx("tbody",{className:"text-text",children:e.jsxs("tr",{className:"border-b border-gray-500",children:[e.jsx("th",{scope:"row",className:"px-6 py-4 font-medium",children:c+1}),e.jsx("td",{className:"px-6 py-4",children:s==null?void 0:s.name}),e.jsx("td",{className:"px-6 py-4",children:f(s==null?void 0:s.createdAt)}),e.jsxs("td",{className:"px-6 py-4 flex justify-center",children:[e.jsx("button",{className:"border py-1 px-6 rounded hover:bg-green-500",onClick:()=>y(s==null?void 0:s._id),children:"Edit"}),e.jsx("button",{className:"border py-1 px-6 rounded ml-2 hover:bg-red-700",onClick:()=>j(s==null?void 0:s._id),children:"Delete"})]})]})},c)}))]})})})]})})]})}export{A as default}; diff --git a/client/dist/assets/MyMindPage-SV9cbw2I.js b/client/dist/assets/MyMindPage-SV9cbw2I.js new file mode 100644 index 0000000..ca5174b --- /dev/null +++ b/client/dist/assets/MyMindPage-SV9cbw2I.js @@ -0,0 +1 @@ +import{b as s,t as p,j as e,L as b,m as j}from"./index-C-3fXsNk.js";import{V as y,d as w,a as N,b as S}from"./functions-DunThPl9.js";function P(){const[d,c]=s.useState(!1),[a,o]=s.useState({name:"",content:""}),[l,u]=s.useState(""),[n,m]=s.useState(1),[r,x]=s.useState(0),[i,f]=s.useState([]);s.useEffect(()=>{(async function(){try{const{data:t}=await p.get(`/my-mind?search=${l}&&page=${n}`);t.success&&(f(t.contents),x(t.count))}catch(t){console.log(t)}})()},[l,n]),s.useEffect(()=>{a.content&&a.name&&c(!0)},[a]);const h=t=>m(t),g=S(t=>{u(t)},500);return e.jsxs(e.Fragment,{children:[e.jsx(y,{openModal:d,setOpenModal:c,content:a,setContent:o}),e.jsxs("div",{className:"min-h-screen relative flex flex-col items-center w-full space-y-4 bg-background pt-20 px-4 md:px-20",children:[e.jsx("h1",{className:"font-bold text-text text-4xl",children:"MY Mind"}),e.jsxs("div",{className:"flex z-20 flex-wrap items-center justify-between mt-10 w-full",children:[e.jsxs(b,{to:"/home",className:"font-bold text-white",children:[e.jsx(w,{fontSize:"small",className:"mb-1"})," Back"]}),e.jsxs("div",{className:"flex justify-center items-center ring-1 ring-gray-700 rounded-lg pe-2",children:[e.jsx("input",{onChange:t=>g(t.target.value),className:"h-8 focus:outline-none text-text focus:ring-0 rounded-lg border-0 bg-transparent",type:"text",placeholder:"search"}),e.jsx(N,{fontSize:"medium",className:"text-white/[0.3]"})]})]}),i.length>0&&i.map(t=>e.jsx(e.Fragment,{children:e.jsx("div",{onClick:()=>{o(t)},className:"w-full z-20 py-4 px-4 bg-primary/[0.3] hover:bg-secondary rounded-lg cursor-pointer",children:e.jsx("h1",{className:"font-bold text-text text-xl",children:t.name})})})),e.jsx("div",{className:"flex z-20 mypage overflow-x-auto w-[80%] sm:justify-end",children:r>0&&e.jsx(j,{currentPage:n,totalPages:parseInt(r/10),onPageChange:h})}),e.jsx("img",{src:"https://cdn.dribbble.com/users/736467/screenshots/5465876/blobs-longer.gif",className:"absolute opacity-10 top-0 hidden md:inline-block md:w-full z-10",alt:""})]})]})}export{P as default}; diff --git a/client/dist/assets/Rights-Bc-0wih6.js b/client/dist/assets/Rights-Bc-0wih6.js new file mode 100644 index 0000000..8deb59f --- /dev/null +++ b/client/dist/assets/Rights-Bc-0wih6.js @@ -0,0 +1 @@ +import{t as y,b as d,j as e,M as h,B as f,S as R,m as E}from"./index-C-3fXsNk.js";import{t as F}from"./timeFormat-BEZOty4m.js";const M=async n=>{try{return(await y.post("/admin/rights",n,{withCredentials:!0})).data}catch(a){return a}},k=async(n,a)=>{try{return(await y.put(`/admin/rights/${a}`,n,{withCredentials:!0})).data}catch(t){return t}},S=async n=>{try{return(await y.get(`/admin/rights?page=${n}`,{},{withCredentials:!0})).data}catch(a){return a}},P=async n=>{try{return(await y.delete(`/admin/rights/${n}`,{},{withCredentials:!0})).data}catch(a){return a}};function A({setOpenModal:n,openModal:a}){const[t,r]=d.useState({name:"",content:""}),i=c=>{const{name:o,value:m}=c.target;r({...t,[o]:m})},x=async()=>{if(!t.name||!t.content){console.log("Data fields Missing");return}try{const c=await M(t);c.success===!0&&(t.name="",t.content="",f.success(c.message),n(!1))}catch(c){console.log("Error occurred",c)}};return e.jsx(e.Fragment,{children:e.jsxs(h,{show:a,onClose:()=>n(!1),children:[e.jsx(h.Header,{className:"bg-gray-800",children:e.jsx("h1",{className:"text-white font-bold",children:"Add New Right"})}),e.jsxs(h.Body,{className:"ring-1 bg-background rounded-b-md px-2 py-2",children:[e.jsx("div",{className:"w-full",children:e.jsxs("label",{htmlFor:"",children:[e.jsx("h1",{className:"text-white py-2",children:"Name of the Right"}),e.jsx("input",{type:"text",className:"w-full rounded-md bg-gray-700 text-text",value:t.name,onChange:i,name:"name"})]})}),e.jsx("div",{className:"w-full mt-3",children:e.jsxs("label",{htmlFor:"",children:[e.jsx("h1",{className:"text-text py-2",children:"Provide the Right Description"}),e.jsx("textarea",{name:"content",value:t.content,onChange:i,id:"",rows:8,className:"w-full rounded-md bg-gray-700 text-white"})]})}),e.jsx("button",{className:"text-primary border-2 px-5 py-1 hover:bg-primary hover:text-black rounded-md float-end",onClick:x,children:"Add Right"})]})]})})}function B({setOpenModal:n,openModal:a,rightDetails:t}){const[r,i]=d.useState({name:"",content:""});d.useEffect(()=>{t&&i({name:(t==null?void 0:t.name)||"",content:(t==null?void 0:t.content)||""})},[t]);const x=o=>{const{name:m,value:j}=o.target;i(p=>({...p,[m]:j}))},c=async()=>{const o=await k(r,t==null?void 0:t._id);o.success===!0&&(f.success(o.message),r.name="",r.content="",n(!1))};return e.jsx(e.Fragment,{children:e.jsxs(h,{show:a,onClose:()=>n(!1),children:[e.jsx(h.Header,{className:"bg-gray-800",children:e.jsx("h1",{className:"text-white font-bold",children:"Add New Right"})}),e.jsxs(h.Body,{className:"ring-1 bg-background rounded-b-md px-2 py-2",children:[e.jsx("div",{className:"w-full",children:e.jsxs("label",{htmlFor:"",children:[e.jsx("h1",{className:"text-white py-2",children:"Name of the Right"}),e.jsx("input",{type:"text",className:"w-full rounded-md bg-gray-700 text-text",value:r==null?void 0:r.name,onChange:x,name:"name"})]})}),e.jsx("div",{className:"w-full mt-3",children:e.jsxs("label",{htmlFor:"",children:[e.jsx("h1",{className:"text-text py-2",children:"Provide the Right Description"}),e.jsx("textarea",{name:"content",value:r==null?void 0:r.content,onChange:x,id:"",rows:8,className:"w-full rounded-md bg-gray-700 text-white"})]})}),e.jsx("button",{className:"text-primary border-2 px-5 py-1 hover:bg-primary hover:text-black rounded-md float-end",onClick:c,children:"Update"})]})]})})}function H(){const[n,a]=d.useState(!1),[t,r]=d.useState([]),[i,x]=d.useState(),[c,o]=d.useState(!1),[m,j]=d.useState(1),[p,N]=d.useState(0),g=s=>j(s),b=()=>{a(!0)},w=s=>{o(!0);const l=t.find(u=>(u==null?void 0:u._id)===s);x(l)};d.useEffect(()=>{(async()=>{const l=await S(m);l.success&&(r(l.rights),N(l.count))})()},[a,o,n,c,r,x,m]);const v=async s=>{const l=await P(s);l.success===!0&&(r(u=>u.filter(C=>C._id!==s)),f.success(l.message))};return e.jsxs(e.Fragment,{children:[e.jsx(B,{setOpenModal:o,openModal:c,rightDetails:i||null}),e.jsx(A,{setOpenModal:a,openModal:n}),e.jsx("div",{className:"h-full bg-background",children:e.jsxs("div",{className:"col-span-9",children:[e.jsxs("div",{className:"text-text flex justify-between",children:[e.jsx("div",{children:e.jsx("h1",{className:"text-2xl py-12",children:"My Rights"})}),e.jsx("div",{className:"px-8",children:e.jsx("button",{className:"text-xl py-12 text-pretty text-primary",onClick:b,children:"Create"})})]}),e.jsxs("div",{children:[e.jsxs("table",{className:"w-full text-sm text-left rtl:text-right rounded",children:[e.jsx("thead",{className:"text-xs bg-secondary rounded",children:e.jsxs("tr",{children:[e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"No"}),e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"Name"}),e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary",children:"Date"}),e.jsx("th",{scope:"col",className:"px-6 py-3 text-primary text-center",children:"Edit or Delete"})]})}),t.map((s,l)=>e.jsx(e.Fragment,{children:e.jsx("tbody",{className:"text-text",children:e.jsxs("tr",{className:"border-b border-gray-600",children:[e.jsx("th",{scope:"row",className:"px-6 py-4 font-medium",children:l+1}),e.jsx("td",{className:"px-6 py-4",children:s==null?void 0:s.name}),e.jsx("td",{className:"px-6 py-4",children:F(s==null?void 0:s.createdAt)}),e.jsxs("td",{className:"px-6 py-4 flex justify-center",children:[e.jsx("button",{className:"border py-1 px-6 rounded hover:bg-green-500",onClick:()=>w(s==null?void 0:s._id),children:"Edit"}),e.jsx("button",{className:"border py-1 px-6 rounded ml-2 hover:bg-red-700",onClick:()=>{R.fire({title:"Are you sure",text:"are you sure wan't to delete this",showCancelButton:!0,confirmButtonText:"delete"}).then(u=>{u.isConfirmed&&v(s==null?void 0:s._id)})},children:"Delete"})]})]})},l)}))]}),e.jsx("div",{className:"flex z-20 mypage overflow-x-auto w-[80%] sm:justify-end",children:p>0&&e.jsx(E,{currentPage:m,totalPages:Math.ceil(p/10),onPageChange:g})})]})]})})]})}export{H as default}; diff --git a/client/dist/assets/Sidebar-Cx7KUpOQ.js b/client/dist/assets/Sidebar-Cx7KUpOQ.js new file mode 100644 index 0000000..b4c7a7b --- /dev/null +++ b/client/dist/assets/Sidebar-Cx7KUpOQ.js @@ -0,0 +1 @@ +import{G as s,j as t,L as a,F as r,I as n,p as l}from"./index-C-3fXsNk.js";function d(e){return s({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"}}]})(e)}function m(e){return s({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M17 17m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}},{tag:"path",attr:{d:"M17 13v4h4"}},{tag:"path",attr:{d:"M12 3v4a1 1 0 0 0 1 1h4"}},{tag:"path",attr:{d:"M11.5 21h-6.5a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v2m0 3v4"}}]})(e)}function i(){return t.jsx(t.Fragment,{children:t.jsx("div",{className:"w-72 h-screen shadow-lg rounded-lg bg-gray-900 fixed",children:t.jsxs("div",{className:"flex justify-start items-start flex-col mx-3 my-3",children:[t.jsx(a,{className:"ml-4 font-bold text-gray-500",to:"/admin",children:t.jsxs("button",{className:"flex items-center px-4 py-2 rounded-md w-full mt-8 hover:bg-gray-800",children:[t.jsx(d,{className:"text-primary"}),"Dash Board"]})}),t.jsx(a,{className:"ml-4 font-bold text-gray-500",to:"/admin/managment",children:t.jsxs("button",{className:"flex items-center px-4 py-2 rounded-md w-full mt-8 hover:bg-gray-800",children:[t.jsx(r,{className:"text-primary"}),"User Managment"]})}),t.jsx(a,{className:"ml-4 font-bold text-gray-500",to:"/admin/rights",children:t.jsxs("button",{className:"flex items-center px-4 py-2 rounded-md w-full mt-8 hover:bg-gray-800",children:[t.jsx(m,{className:"text-primary"}),"Rights Management"]})}),t.jsx(a,{className:"ml-4 font-bold text-gray-500",to:"/admin/body",children:t.jsxs("button",{className:"flex items-center px-4 py-2 rounded-md w-full mt-8 hover:bg-gray-800",children:[t.jsx(n,{className:"text-primary"}),"My Body"]})}),t.jsx(a,{className:"ml-4 font-bold text-gray-500",to:"/admin/mind",children:t.jsxs("button",{className:"flex items-center px-4 py-2 rounded-md w-full mt-8 hover:bg-gray-800",children:[t.jsx(l,{className:"text-primary"}),"My Mind"]})})]})})})}export{i as default}; diff --git a/client/dist/assets/Signup-BcB9jmfy.js b/client/dist/assets/Signup-BcB9jmfy.js new file mode 100644 index 0000000..05e78f4 --- /dev/null +++ b/client/dist/assets/Signup-BcB9jmfy.js @@ -0,0 +1 @@ +import{b as r,j as e,M as y,d as O,T as P,v as R,B as N,e as S,P as x,f as F,g as M,u as q,s as D,h as L,k as I,L as B}from"./index-C-3fXsNk.js";import{v as d}from"./formValidator-Jzx2fgUq.js";function E({setOpenModal:f,openModal:h,email:l,isSubmit:g,setFormSubmit:m}){const[c,v]=r.useState(""),[u,n]=r.useState(""),[o,p]=r.useState(60);let b;r.useEffect(()=>(o>0&&g&&(b=setInterval(()=>{p(o-1)},1e3)),()=>{clearInterval(b)}));const s=a=>{a.preventDefault(),c.trim().length>0&&async function(){try{const t=await R(l,c);t.success?(N.success(t.message),n(""),f(!1),m(!0)):n(t.message)}catch(t){n(t.response.message)}}()},j=a=>{a.preventDefault(),o===0&&async function(){try{const t=await S(l);p(60),t.success&&N.success(t.message)}catch(t){n(t.message)}}()};return e.jsx(e.Fragment,{children:e.jsxs(y,{show:h,size:"sm",onClose:()=>f(!1),popup:!0,children:[e.jsx(y.Header,{}),e.jsx(y.Body,{children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("h3",{className:"text-xl text-center font-medium text-gray-900 dark:text-white",children:["Enter the OTP sent to ",l.split("@")[0].slice(0,4),"********@",l.split("@")[1]]}),e.jsxs("div",{children:[u&&e.jsx("div",{className:"w-full bg-red-100 text-center rounded-sm",children:e.jsxs("small",{className:"py- text-red-600",children:[u," "]})}),e.jsx("div",{className:"mb-2 block",children:e.jsx(O,{htmlFor:"email",value:"Enter OTP"})}),e.jsx(P,{value:c,onChange:a=>v(a.target.value),id:"number",placeholder:"eg:456436"})]}),e.jsx("button",{onClick:s,className:"bg-secondary w-full py-2 rounded-md text-white font-medium",children:"Submit"}),e.jsx("div",{children:o>0?e.jsxs("span",{className:"font-semibold text-gray-600",children:["Resend OTP within"," ",e.jsxs("span",{className:"font-bold text-blue-500",children:[o,"s"]})]}):e.jsx("span",{className:"text-blue-500 font-semibold cursor-pointer",onClick:j,children:"Resend OTP"})})]})})]})})}E.propTypes={setOpenModal:x.func.isRequired,openModal:x.bool.isRequired,email:x.string.isRequired,isSubmit:x.bool.isRequired,setFormSubmit:x.func.isRequired};function H(){const{isLoading:f,isSuccess:h}=F(i=>i.auth),l=M(),g=q(),[m,c]=r.useState(!1),[v,u]=r.useState(!1),[n,o]=r.useState(!1),[p,b]=r.useState(""),[s,j]=r.useState({fullname:"",email:"",password:""}),[a,t]=r.useState({fullname:"",email:"",password:""}),k=()=>{t({...a,fullname:d("name",s.fullname),email:d("email",s.email),password:d("password",s.password)}),c(!0)},w=i=>{const{name:T,value:C}=i.target;j({...s,[T]:C}),s.fullname&&t({...a,fullname:d("name",s.fullname)}),s.email&&t({...a,email:d("email",s.email)}),s.password&&t({...a,password:d("password",s.password)})};return r.useEffect(()=>{(async function(){if(m&&!a.email&&!a.fullname&&!a.password&&s.fullname&&s.email&&s.password){const i=await S(s.email);i.success?u(!0):b(i.response.data.message),console.log(i)}})()},[s,a,m]),r.useEffect(()=>{n&&l(D(s))},[n,l,s]),r.useEffect(()=>{h&&(l(L()),o(!1),c(!1),window.location.reload())},[l,h,g]),f?e.jsx(I,{}):e.jsxs(e.Fragment,{children:[e.jsx(E,{email:s.email,openModal:v,setOpenModal:u,isSubmit:m,setFormSubmit:o}),e.jsx("div",{className:"min-h-screen pt-28 md:pt-14 pb-56 md:pb-40 bg-gradient-to-r from-[#2d1525] to-background flex flex-col justify-center ",children:e.jsxs("div",{className:"relative py-3 sm:max-w-xl sm:mx-auto",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-secondary to-primary shadow-lg transform -skew-y-6 sm:skew-y-0 sm:-rotate-6 sm:rounded-3xl"}),e.jsx("div",{className:"relative md:w-[30rem] bg-text shadow-lg rounded-3xl p-10",children:e.jsxs("div",{className:"max-w-md mx-auto",children:[e.jsx("div",{children:e.jsx("h1",{className:"text-2xl font-semibold",children:"Signup"})}),p&&e.jsx("div",{className:"w-full bg-red-200 flex items-center justify-center p-1 mt-3 rounded-md text-red-600",children:e.jsx("small",{className:"",children:p})}),e.jsx("div",{className:"divide-y divide-gray-200",children:e.jsxs("div",{className:"py-4 text-base leading-6 space-y-4 text-gray-700 sm:text-lg sm:leading-7",children:[e.jsxs("div",{className:"relative",children:[e.jsx("input",{name:"fullname",type:"text",value:s.fullname,onChange:w,className:"peer placeholder-transparent outline-none h-10 w-full bg-text border-0 border-b-2 border-gray-300 text-gray-900 focus:outline-none focus:border-b-2 focus:ring-0",placeholder:"Email address"}),a.fullname&&e.jsx("small",{className:"text-red-700",children:a.fullname}),e.jsx("label",{className:"absolute left-0 -top-3.5 text-gray-600 text-sm peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-440 peer-placeholder-shown:top-2 transition-all peer-focus:-top-3.5 peer-focus:text-gray-600 peer-focus:text-sm",children:"Name"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("input",{name:"email",type:"text",value:s.email,onChange:w,className:"peer placeholder-transparent outline-none h-10 w-full bg-text border-0 border-b-2 border-gray-300 text-gray-900 focus:outline-none focus:border-b-2 focus:ring-0",placeholder:"Email address"}),a.email&&e.jsx("small",{className:"text-red-700",children:a.email}),e.jsx("label",{className:"absolute left-0 -top-3.5 text-gray-600 text-sm peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-440 peer-placeholder-shown:top-2 transition-all peer-focus:-top-3.5 peer-focus:text-gray-600 peer-focus:text-sm",children:"Email"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("input",{name:"password",type:"password",value:s.password,onChange:w,className:"peer placeholder-transparent outline-none h-10 w-full border-b-2 bg-text border-0 border-gray-300 text-gray-900 focus:outline-none focus:border-b-2 focus:ring-0",placeholder:"Password"}),a.password&&e.jsx("small",{className:"text-red-700",children:a.password}),e.jsx("label",{className:"absolute left-0 -top-3.5 text-gray-600 text-sm peer-placeholder-shown:text-base peer-placeholder-shown:text-gray-440 peer-placeholder-shown:top-2 transition-all peer-focus:-top-3.5 peer-focus:text-gray-600 peer-focus:text-sm",children:"Password"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("button",{onClick:k,className:"bg-secondary mt-3 mb-2 text-white rounded-md w-full py-1",children:"Submit"}),e.jsx(B,{to:"/login",children:e.jsx("small",{className:"text-blue-500 cursor-pointer hover:underline",children:"Already have account?"})})]})]})})]})})]})})]})}export{H as default}; diff --git a/client/dist/assets/formValidator-Jzx2fgUq.js b/client/dist/assets/formValidator-Jzx2fgUq.js new file mode 100644 index 0000000..0a3467b --- /dev/null +++ b/client/dist/assets/formValidator-Jzx2fgUq.js @@ -0,0 +1 @@ +const i=(e,r)=>{const t=/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/;switch(e){case"email":return r===""?"Email is resquired!":typeof r=="string"&&!r.match(t)?"Invalid Email address!":"";case"name":return r===""?"name is required!":r.length>15?"Maximum 15 charecter!":"";case"required":return r===""?"*required!":"";case"password":return!r||r===""?"Password is required!":r.length<6?"Password must contain 6 charecters":r.length>16?"Maximum 16 charecters!":""}return""};export{i as v}; diff --git a/client/dist/assets/functions-DunThPl9.js b/client/dist/assets/functions-DunThPl9.js new file mode 100644 index 0000000..2a79de9 --- /dev/null +++ b/client/dist/assets/functions-DunThPl9.js @@ -0,0 +1,14 @@ +import{r as vt,i as Nt,j as an,n as Ue,o as Fr,M as ne,P as Bn}from"./index-C-3fXsNk.js";var Se={},Rr=Nt;Object.defineProperty(Se,"__esModule",{value:!0});var Mr=Se.default=void 0,_r=Rr(vt()),vr=an;Mr=Se.default=(0,_r.default)((0,vr.jsx)("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");var Ce={},Nr=Nt;Object.defineProperty(Ce,"__esModule",{value:!0});var Br=Ce.default=void 0,jr=Nr(vt()),Hr=an;Br=Ce.default=(0,jr.default)((0,Hr.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search");function Ur(n,e){const t=e||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const qr=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Vr=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,$r={};function qe(n,e){return((e||$r).jsx?Vr:qr).test(n)}const Wr=/[ \t\n\f\r]/g;function Qr(n){return typeof n=="object"?n.type==="text"?Ve(n.value):!1:Ve(n)}function Ve(n){return n.replace(Wr,"")===""}class vn{constructor(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}}vn.prototype.property={};vn.prototype.normal={};vn.prototype.space=null;function Bt(n,e){const t={},r={};let i=-1;for(;++i4&&t.slice(0,4)==="data"&&Gr.test(e)){if(e.charAt(4)==="-"){const l=e.slice(5).replace(We,ti);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=e.slice(4);if(!We.test(l)){let o=l.replace(Zr,ei);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}i=Ee}return new i(r,e)}function ei(n){return"-"+n.toLowerCase()}function ti(n){return n.charAt(1).toUpperCase()}const ri={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},ii=Bt([Ut,Ht,$t,Wt,Yr],"html"),Ie=Bt([Ut,Ht,$t,Wt,Jr],"svg");function li(n){return n.join(" ").trim()}var Qt={},Qe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,oi=/\n/g,ai=/^\s*/,ui=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,si=/^:\s*/,ci=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,pi=/^[;\s]*/,fi=/^\s+|\s+$/g,hi=` +`,Xe="/",Ke="*",Sn="",mi="comment",di="declaration",gi=function(n,e){if(typeof n!="string")throw new TypeError("First argument must be a string");if(!n)return[];e=e||{};var t=1,r=1;function i(y){var k=y.match(oi);k&&(t+=k.length);var I=y.lastIndexOf(hi);r=~I?y.length-I:r+y.length}function l(){var y={line:t,column:r};return function(k){return k.position=new o(y),s(),k}}function o(y){this.start=y,this.end={line:t,column:r},this.source=e.source}o.prototype.content=n;function a(y){var k=new Error(e.source+":"+t+":"+r+": "+y);if(k.reason=y,k.filename=e.source,k.line=t,k.column=r,k.source=n,!e.silent)throw k}function u(y){var k=y.exec(n);if(k){var I=k[0];return i(I),n=n.slice(I.length),k}}function s(){u(ai)}function c(y){var k;for(y=y||[];k=f();)k!==!1&&y.push(k);return y}function f(){var y=l();if(!(Xe!=n.charAt(0)||Ke!=n.charAt(1))){for(var k=2;Sn!=n.charAt(k)&&(Ke!=n.charAt(k)||Xe!=n.charAt(k+1));)++k;if(k+=2,Sn===n.charAt(k-1))return a("End of comment missing");var I=n.slice(2,k-2);return r+=2,i(I),n=n.slice(k),r+=2,y({type:mi,comment:I})}}function d(){var y=l(),k=u(ui);if(k){if(f(),!u(si))return a("property missing ':'");var I=u(ci),b=y({type:di,property:Ye(k[0].replace(Qe,Sn)),value:I?Ye(I[0].replace(Qe,Sn)):Sn});return u(pi),b}}function p(){var y=[];c(y);for(var k;k=d();)k!==!1&&(y.push(k),c(y));return y}return s(),p()};function Ye(n){return n?n.replace(fi,Sn):Sn}var yi=Ue&&Ue.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Qt,"__esModule",{value:!0});var xi=yi(gi);function ki(n,e){var t=null;if(!n||typeof n!="string")return t;var r=(0,xi.default)(n),i=typeof e=="function";return r.forEach(function(l){if(l.type==="declaration"){var o=l.property,a=l.value;i?e(o,a,l):a&&(t=t||{},t[o]=a)}}),t}var Je=Qt.default=ki;const bi=Je.default||Je,wi=Si("start");function Si(n){return e;function e(t){const r=t&&t.position&&t.position[n]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Ci(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Ge(n.position):"start"in n||"end"in n?Ge(n):"line"in n||"column"in n?me(n):""}function me(n){return Ze(n&&n.line)+":"+Ze(n&&n.column)}function Ge(n){return me(n&&n.start)+"-"+me(n&&n.end)}function Ze(n){return n&&typeof n=="number"?n:1}class K extends Error{constructor(e,t,r){super(),typeof t=="string"&&(r=t,t=void 0);let i="",l={},o=!1;if(t&&("line"in t&&"column"in t?l={place:t}:"start"in t&&"end"in t?l={place:t}:"type"in t?l={ancestors:[t],place:t.position}:l={...t}),typeof e=="string"?i=e:!l.cause&&e&&(o=!0,i=e.message,l.cause=e),!l.ruleId&&!l.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?l.ruleId=r:(l.source=r.slice(0,u),l.ruleId=r.slice(u+1))}if(!l.place&&l.ancestors&&l.ancestors){const u=l.ancestors[l.ancestors.length-1];u&&(l.place=u.position)}const a=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=Ci(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=o&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual,this.expected,this.note,this.url}}K.prototype.file="";K.prototype.name="";K.prototype.reason="";K.prototype.message="";K.prototype.stack="";K.prototype.column=void 0;K.prototype.line=void 0;K.prototype.ancestors=void 0;K.prototype.cause=void 0;K.prototype.fatal=void 0;K.prototype.place=void 0;K.prototype.ruleId=void 0;K.prototype.source=void 0;const Ae={}.hasOwnProperty,Ei=new Map,Ii=/[A-Z]/g,Ai=/-([a-z])/g,Pi=new Set(["table","tbody","thead","tfoot","tr"]),Ti=new Set(["td","th"]),Xt="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function zi(n,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=e.filePath||void 0;let r;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=vi(t,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=_i(t,e.jsx,e.jsxs)}const i={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:r,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?Ie:ii,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},l=Kt(i,n,void 0);return l&&typeof l!="string"?l:i.create(n,i.Fragment,{children:l||void 0},void 0)}function Kt(n,e,t){if(e.type==="element")return Li(n,e,t);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return Oi(n,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return Fi(n,e,t);if(e.type==="mdxjsEsm")return Di(n,e);if(e.type==="root")return Ri(n,e,t);if(e.type==="text")return Mi(n,e)}function Li(n,e,t){const r=n.schema;let i=r;e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Ie,n.schema=i),n.ancestors.push(e);const l=Jt(n,e.tagName,!1),o=Ni(n,e);let a=Te(n,e);return Pi.has(e.tagName)&&(a=a.filter(function(u){return typeof u=="string"?!Qr(u):!0})),Yt(n,o,l,e),Pe(o,a),n.ancestors.pop(),n.schema=r,n.create(e,l,o,t)}function Oi(n,e){if(e.data&&e.data.estree&&n.evaluater){const r=e.data.estree.body[0];return r.type,n.evaluater.evaluateExpression(r.expression)}_n(n,e.position)}function Di(n,e){if(e.data&&e.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(e.data.estree);_n(n,e.position)}function Fi(n,e,t){const r=n.schema;let i=r;e.name==="svg"&&r.space==="html"&&(i=Ie,n.schema=i),n.ancestors.push(e);const l=e.name===null?n.Fragment:Jt(n,e.name,!0),o=Bi(n,e),a=Te(n,e);return Yt(n,o,l,e),Pe(o,a),n.ancestors.pop(),n.schema=r,n.create(e,l,o,t)}function Ri(n,e,t){const r={};return Pe(r,Te(n,e)),n.create(e,n.Fragment,r,t)}function Mi(n,e){return e.value}function Yt(n,e,t,r){typeof t!="string"&&t!==n.Fragment&&n.passNode&&(e.node=r)}function Pe(n,e){if(e.length>0){const t=e.length>1?e:e[0];t&&(n.children=t)}}function _i(n,e,t){return r;function r(i,l,o,a){const s=Array.isArray(o.children)?t:e;return a?s(l,o,a):s(l,o)}}function vi(n,e){return t;function t(r,i,l,o){const a=Array.isArray(l.children),u=wi(r);return e(i,l,o,a,{columnNumber:u?u.column-1:void 0,fileName:n,lineNumber:u?u.line:void 0},void 0)}}function Ni(n,e){const t={};let r,i;for(i in e.properties)if(i!=="children"&&Ae.call(e.properties,i)){const l=ji(n,i,e.properties[i]);if(l){const[o,a]=l;n.tableCellAlignToStyle&&o==="align"&&typeof a=="string"&&Ti.has(e.tagName)?r=a:t[o]=a}}if(r){const l=t.style||(t.style={});l[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return t}function Bi(n,e){const t={};for(const r of e.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&n.evaluater){const l=r.data.estree.body[0];l.type;const o=l.expression;o.type;const a=o.properties[0];a.type,Object.assign(t,n.evaluater.evaluateExpression(a.argument))}else _n(n,e.position);else{const i=r.name;let l;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&n.evaluater){const a=r.value.data.estree.body[0];a.type,l=n.evaluater.evaluateExpression(a.expression)}else _n(n,e.position);else l=r.value===null?!0:r.value;t[i]=l}return t}function Te(n,e){const t=[];let r=-1;const i=n.passKeys?new Map:Ei;for(;++ri?0:i+e:e=e>i?i:e,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(e,t),n.splice(...o);else for(t&&n.splice(e,t);l0?(pn(n,n.length,0,e),n):e}const tt={}.hasOwnProperty;function Ki(n){const e={};let t=-1;for(;++t13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"οΏ½":String.fromCodePoint(t)}function Tn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const cn=xn(/[A-Za-z]/),un=xn(/[\dA-Za-z]/),Gi=xn(/[#-'*+\--9=?A-Z^-~]/);function de(n){return n!==null&&(n<32||n===127)}const ge=xn(/\d/),Zi=xn(/[\dA-Fa-f]/),nl=xn(/[!-/:-@[-`{-~]/);function T(n){return n!==null&&n<-2}function J(n){return n!==null&&(n<0||n===32)}function _(n){return n===-2||n===-1||n===32}const el=xn(new RegExp("\\p{P}|\\p{S}","u")),tl=xn(/\s/);function xn(n){return e;function e(t){return t!==null&&t>-1&&n.test(String.fromCharCode(t))}}function j(n,e,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(u){return _(u)?(n.enter(t),a(u)):e(u)}function a(u){return _(u)&&l++o))return;const M=e.events.length;let q=M,N,H;for(;q--;)if(e.events[q][0]==="exit"&&e.events[q][1].type==="chunkFlow"){if(N){H=e.events[q][1].end;break}N=!0}for(b(r),x=M;xC;){const O=t[R];e.containerState=O[1],O[0].exit.call(e,n)}t.length=C}function E(){i.write([null]),l=void 0,i=void 0,e.containerState._closeFlow=void 0}}function al(n,e,t){return j(n,n.attempt(this.parser.constructs.document,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function it(n){if(n===null||J(n)||tl(n))return 1;if(el(n))return 2}function Le(n,e,t){const r=[];let i=-1;for(;++i1&&n[t][1].end.offset-n[t][1].start.offset>1?2:1;const f=Object.assign({},n[r][1].end),d=Object.assign({},n[t][1].start);lt(f,-u),lt(d,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},n[r][1].end)},a={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},n[t][1].start),end:d},l={type:u>1?"strongText":"emphasisText",start:Object.assign({},n[r][1].end),end:Object.assign({},n[t][1].start)},i={type:u>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},n[r][1].end=Object.assign({},o.start),n[t][1].start=Object.assign({},a.end),s=[],n[r][1].end.offset-n[r][1].start.offset&&(s=nn(s,[["enter",n[r][1],e],["exit",n[r][1],e]])),s=nn(s,[["enter",i,e],["enter",o,e],["exit",o,e],["enter",l,e]]),s=nn(s,Le(e.parser.constructs.insideSpan.null,n.slice(r+1,t),e)),s=nn(s,[["exit",l,e],["enter",a,e],["exit",a,e],["exit",i,e]]),n[t][1].end.offset-n[t][1].start.offset?(c=2,s=nn(s,[["enter",n[t][1],e],["exit",n[t][1],e]])):c=0,pn(n,r-1,t-r+3,s),t=r+s.length-c-2;break}}for(t=-1;++t0&&_(x)?j(n,E,"linePrefix",l+1)(x):E(x)}function E(x){return x===null||T(x)?n.check(ot,k,R)(x):(n.enter("codeFlowValue"),C(x))}function C(x){return x===null||T(x)?(n.exit("codeFlowValue"),E(x)):(n.consume(x),C)}function R(x){return n.exit("codeFenced"),e(x)}function O(x,M,q){let N=0;return H;function H(F){return x.enter("lineEnding"),x.consume(F),x.exit("lineEnding"),P}function P(F){return x.enter("codeFencedFence"),_(F)?j(x,A,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):A(F)}function A(F){return F===a?(x.enter("codeFencedFenceSequence"),U(F)):q(F)}function U(F){return F===a?(N++,x.consume(F),U):N>=o?(x.exit("codeFencedFenceSequence"),_(F)?j(x,V,"whitespace")(F):V(F)):q(F)}function V(F){return F===null||T(F)?(x.exit("codeFencedFence"),M(F)):q(F)}}}function kl(n,e,t){const r=this;return i;function i(o){return o===null?t(o):(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),l)}function l(o){return r.parser.lazy[r.now().line]?t(o):e(o)}}const re={name:"codeIndented",tokenize:wl},bl={tokenize:Sl,partial:!0};function wl(n,e,t){const r=this;return i;function i(s){return n.enter("codeIndented"),j(n,l,"linePrefix",5)(s)}function l(s){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(s):t(s)}function o(s){return s===null?u(s):T(s)?n.attempt(bl,o,u)(s):(n.enter("codeFlowValue"),a(s))}function a(s){return s===null||T(s)?(n.exit("codeFlowValue"),o(s)):(n.consume(s),a)}function u(s){return n.exit("codeIndented"),e(s)}}function Sl(n,e,t){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?t(o):T(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),i):j(n,l,"linePrefix",5)(o)}function l(o){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(o):T(o)?i(o):t(o)}}const Cl={name:"codeText",tokenize:Al,resolve:El,previous:Il};function El(n){let e=n.length-4,t=3,r,i;if((n[t][1].type==="lineEnding"||n[t][1].type==="space")&&(n[e][1].type==="lineEnding"||n[e][1].type==="space")){for(r=t;++r=4?e(o):n.interrupt(r.parser.constructs.flow,t,e)(o)}}function ir(n,e,t,r,i,l,o,a,u){const s=u||Number.POSITIVE_INFINITY;let c=0;return f;function f(b){return b===60?(n.enter(r),n.enter(i),n.enter(l),n.consume(b),n.exit(l),d):b===null||b===32||b===41||de(b)?t(b):(n.enter(r),n.enter(o),n.enter(a),n.enter("chunkString",{contentType:"string"}),k(b))}function d(b){return b===62?(n.enter(l),n.consume(b),n.exit(l),n.exit(i),n.exit(r),e):(n.enter(a),n.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===62?(n.exit("chunkString"),n.exit(a),d(b)):b===null||b===60||T(b)?t(b):(n.consume(b),b===92?y:p)}function y(b){return b===60||b===62||b===92?(n.consume(b),p):p(b)}function k(b){return!c&&(b===null||b===41||J(b))?(n.exit("chunkString"),n.exit(a),n.exit(o),n.exit(r),e(b)):c999||p===null||p===91||p===93&&!u||p===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?t(p):p===93?(n.exit(l),n.enter(i),n.consume(p),n.exit(i),n.exit(r),e):T(p)?(n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),c):(n.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||T(p)||a++>999?(n.exit("chunkString"),c(p)):(n.consume(p),u||(u=!_(p)),p===92?d:f)}function d(p){return p===91||p===92||p===93?(n.consume(p),a++,f):f(p)}}function or(n,e,t,r,i,l){let o;return a;function a(d){return d===34||d===39||d===40?(n.enter(r),n.enter(i),n.consume(d),n.exit(i),o=d===40?41:d,u):t(d)}function u(d){return d===o?(n.enter(i),n.consume(d),n.exit(i),n.exit(r),e):(n.enter(l),s(d))}function s(d){return d===o?(n.exit(l),u(o)):d===null?t(d):T(d)?(n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),j(n,s,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||T(d)?(n.exit("chunkString"),s(d)):(n.consume(d),d===92?f:c)}function f(d){return d===o||d===92?(n.consume(d),c):c(d)}}function Mn(n,e){let t;return r;function r(i){return T(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),t=!0,r):_(i)?j(n,r,t?"linePrefix":"lineSuffix")(i):e(i)}}const Fl={name:"definition",tokenize:Ml},Rl={tokenize:_l,partial:!0};function Ml(n,e,t){const r=this;let i;return l;function l(p){return n.enter("definition"),o(p)}function o(p){return lr.call(r,n,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=Tn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(n.enter("definitionMarker"),n.consume(p),n.exit("definitionMarker"),u):t(p)}function u(p){return J(p)?Mn(n,s)(p):s(p)}function s(p){return ir(n,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return n.attempt(Rl,f,f)(p)}function f(p){return _(p)?j(n,d,"whitespace")(p):d(p)}function d(p){return p===null||T(p)?(n.exit("definition"),r.parser.defined.push(i),e(p)):t(p)}}function _l(n,e,t){return r;function r(a){return J(a)?Mn(n,i)(a):t(a)}function i(a){return or(n,l,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function l(a){return _(a)?j(n,o,"whitespace")(a):o(a)}function o(a){return a===null||T(a)?e(a):t(a)}}const vl={name:"hardBreakEscape",tokenize:Nl};function Nl(n,e,t){return r;function r(l){return n.enter("hardBreakEscape"),n.consume(l),i}function i(l){return T(l)?(n.exit("hardBreakEscape"),e(l)):t(l)}}const Bl={name:"headingAtx",tokenize:Hl,resolve:jl};function jl(n,e){let t=n.length-2,r=3,i,l;return n[r][1].type==="whitespace"&&(r+=2),t-2>r&&n[t][1].type==="whitespace"&&(t-=2),n[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&n[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:n[r][1].start,end:n[t][1].end},l={type:"chunkText",start:n[r][1].start,end:n[t][1].end,contentType:"text"},pn(n,r,t-r+1,[["enter",i,e],["enter",l,e],["exit",l,e],["exit",i,e]])),n}function Hl(n,e,t){let r=0;return i;function i(c){return n.enter("atxHeading"),l(c)}function l(c){return n.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(n.consume(c),o):c===null||J(c)?(n.exit("atxHeadingSequence"),a(c)):t(c)}function a(c){return c===35?(n.enter("atxHeadingSequence"),u(c)):c===null||T(c)?(n.exit("atxHeading"),e(c)):_(c)?j(n,a,"whitespace")(c):(n.enter("atxHeadingText"),s(c))}function u(c){return c===35?(n.consume(c),u):(n.exit("atxHeadingSequence"),a(c))}function s(c){return c===null||c===35||J(c)?(n.exit("atxHeadingText"),a(c)):(n.consume(c),s)}}const Ul=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ut=["pre","script","style","textarea"],ql={name:"htmlFlow",tokenize:Ql,resolveTo:Wl,concrete:!0},Vl={tokenize:Kl,partial:!0},$l={tokenize:Xl,partial:!0};function Wl(n){let e=n.length;for(;e--&&!(n[e][0]==="enter"&&n[e][1].type==="htmlFlow"););return e>1&&n[e-2][1].type==="linePrefix"&&(n[e][1].start=n[e-2][1].start,n[e+1][1].start=n[e-2][1].start,n.splice(e-2,2)),n}function Ql(n,e,t){const r=this;let i,l,o,a,u;return s;function s(m){return c(m)}function c(m){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(m),f}function f(m){return m===33?(n.consume(m),d):m===47?(n.consume(m),l=!0,k):m===63?(n.consume(m),i=3,r.interrupt?e:h):cn(m)?(n.consume(m),o=String.fromCharCode(m),I):t(m)}function d(m){return m===45?(n.consume(m),i=2,p):m===91?(n.consume(m),i=5,a=0,y):cn(m)?(n.consume(m),i=4,r.interrupt?e:h):t(m)}function p(m){return m===45?(n.consume(m),r.interrupt?e:h):t(m)}function y(m){const ln="CDATA[";return m===ln.charCodeAt(a++)?(n.consume(m),a===ln.length?r.interrupt?e:A:y):t(m)}function k(m){return cn(m)?(n.consume(m),o=String.fromCharCode(m),I):t(m)}function I(m){if(m===null||m===47||m===62||J(m)){const ln=m===47,kn=o.toLowerCase();return!ln&&!l&&ut.includes(kn)?(i=1,r.interrupt?e(m):A(m)):Ul.includes(o.toLowerCase())?(i=6,ln?(n.consume(m),b):r.interrupt?e(m):A(m)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(m):l?E(m):C(m))}return m===45||un(m)?(n.consume(m),o+=String.fromCharCode(m),I):t(m)}function b(m){return m===62?(n.consume(m),r.interrupt?e:A):t(m)}function E(m){return _(m)?(n.consume(m),E):H(m)}function C(m){return m===47?(n.consume(m),H):m===58||m===95||cn(m)?(n.consume(m),R):_(m)?(n.consume(m),C):H(m)}function R(m){return m===45||m===46||m===58||m===95||un(m)?(n.consume(m),R):O(m)}function O(m){return m===61?(n.consume(m),x):_(m)?(n.consume(m),O):C(m)}function x(m){return m===null||m===60||m===61||m===62||m===96?t(m):m===34||m===39?(n.consume(m),u=m,M):_(m)?(n.consume(m),x):q(m)}function M(m){return m===u?(n.consume(m),u=null,N):m===null||T(m)?t(m):(n.consume(m),M)}function q(m){return m===null||m===34||m===39||m===47||m===60||m===61||m===62||m===96||J(m)?O(m):(n.consume(m),q)}function N(m){return m===47||m===62||_(m)?C(m):t(m)}function H(m){return m===62?(n.consume(m),P):t(m)}function P(m){return m===null||T(m)?A(m):_(m)?(n.consume(m),P):t(m)}function A(m){return m===45&&i===2?(n.consume(m),X):m===60&&i===1?(n.consume(m),W):m===62&&i===4?(n.consume(m),rn):m===63&&i===3?(n.consume(m),h):m===93&&i===5?(n.consume(m),fn):T(m)&&(i===6||i===7)?(n.exit("htmlFlowData"),n.check(Vl,hn,U)(m)):m===null||T(m)?(n.exit("htmlFlowData"),U(m)):(n.consume(m),A)}function U(m){return n.check($l,V,hn)(m)}function V(m){return n.enter("lineEnding"),n.consume(m),n.exit("lineEnding"),F}function F(m){return m===null||T(m)?U(m):(n.enter("htmlFlowData"),A(m))}function X(m){return m===45?(n.consume(m),h):A(m)}function W(m){return m===47?(n.consume(m),o="",tn):A(m)}function tn(m){if(m===62){const ln=o.toLowerCase();return ut.includes(ln)?(n.consume(m),rn):A(m)}return cn(m)&&o.length<8?(n.consume(m),o+=String.fromCharCode(m),tn):A(m)}function fn(m){return m===93?(n.consume(m),h):A(m)}function h(m){return m===62?(n.consume(m),rn):m===45&&i===2?(n.consume(m),h):A(m)}function rn(m){return m===null||T(m)?(n.exit("htmlFlowData"),hn(m)):(n.consume(m),rn)}function hn(m){return n.exit("htmlFlow"),e(m)}}function Xl(n,e,t){const r=this;return i;function i(o){return T(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),l):t(o)}function l(o){return r.parser.lazy[r.now().line]?t(o):e(o)}}function Kl(n,e,t){return r;function r(i){return n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),n.attempt(Kn,e,t)}}const Yl={name:"htmlText",tokenize:Jl};function Jl(n,e,t){const r=this;let i,l,o;return a;function a(h){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(h),u}function u(h){return h===33?(n.consume(h),s):h===47?(n.consume(h),O):h===63?(n.consume(h),C):cn(h)?(n.consume(h),q):t(h)}function s(h){return h===45?(n.consume(h),c):h===91?(n.consume(h),l=0,y):cn(h)?(n.consume(h),E):t(h)}function c(h){return h===45?(n.consume(h),p):t(h)}function f(h){return h===null?t(h):h===45?(n.consume(h),d):T(h)?(o=f,W(h)):(n.consume(h),f)}function d(h){return h===45?(n.consume(h),p):f(h)}function p(h){return h===62?X(h):h===45?d(h):f(h)}function y(h){const rn="CDATA[";return h===rn.charCodeAt(l++)?(n.consume(h),l===rn.length?k:y):t(h)}function k(h){return h===null?t(h):h===93?(n.consume(h),I):T(h)?(o=k,W(h)):(n.consume(h),k)}function I(h){return h===93?(n.consume(h),b):k(h)}function b(h){return h===62?X(h):h===93?(n.consume(h),b):k(h)}function E(h){return h===null||h===62?X(h):T(h)?(o=E,W(h)):(n.consume(h),E)}function C(h){return h===null?t(h):h===63?(n.consume(h),R):T(h)?(o=C,W(h)):(n.consume(h),C)}function R(h){return h===62?X(h):C(h)}function O(h){return cn(h)?(n.consume(h),x):t(h)}function x(h){return h===45||un(h)?(n.consume(h),x):M(h)}function M(h){return T(h)?(o=M,W(h)):_(h)?(n.consume(h),M):X(h)}function q(h){return h===45||un(h)?(n.consume(h),q):h===47||h===62||J(h)?N(h):t(h)}function N(h){return h===47?(n.consume(h),X):h===58||h===95||cn(h)?(n.consume(h),H):T(h)?(o=N,W(h)):_(h)?(n.consume(h),N):X(h)}function H(h){return h===45||h===46||h===58||h===95||un(h)?(n.consume(h),H):P(h)}function P(h){return h===61?(n.consume(h),A):T(h)?(o=P,W(h)):_(h)?(n.consume(h),P):N(h)}function A(h){return h===null||h===60||h===61||h===62||h===96?t(h):h===34||h===39?(n.consume(h),i=h,U):T(h)?(o=A,W(h)):_(h)?(n.consume(h),A):(n.consume(h),V)}function U(h){return h===i?(n.consume(h),i=void 0,F):h===null?t(h):T(h)?(o=U,W(h)):(n.consume(h),U)}function V(h){return h===null||h===34||h===39||h===60||h===61||h===96?t(h):h===47||h===62||J(h)?N(h):(n.consume(h),V)}function F(h){return h===47||h===62||J(h)?N(h):t(h)}function X(h){return h===62?(n.consume(h),n.exit("htmlTextData"),n.exit("htmlText"),e):t(h)}function W(h){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),tn}function tn(h){return _(h)?j(n,fn,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h):fn(h)}function fn(h){return n.enter("htmlTextData"),o(h)}}const Oe={name:"labelEnd",tokenize:ro,resolveTo:to,resolveAll:eo},Gl={tokenize:io},Zl={tokenize:lo},no={tokenize:oo};function eo(n){let e=-1;for(;++e=3&&(s===null||T(s))?(n.exit("thematicBreak"),e(s)):t(s)}function u(s){return s===i?(n.consume(s),r++,u):(n.exit("thematicBreakSequence"),_(s)?j(n,a,"whitespace")(s):a(s))}}const Y={name:"list",tokenize:go,continuation:{tokenize:yo},exit:ko},ho={tokenize:bo,partial:!0},mo={tokenize:xo,partial:!0};function go(n,e,t){const r=this,i=r.events[r.events.length-1];let l=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(p){const y=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:ge(p)){if(r.containerState.type||(r.containerState.type=y,n.enter(y,{_container:!0})),y==="listUnordered")return n.enter("listItemPrefix"),p===42||p===45?n.check(qn,t,s)(p):s(p);if(!r.interrupt||p===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),u(p)}return t(p)}function u(p){return ge(p)&&++o<10?(n.consume(p),u):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(n.exit("listItemValue"),s(p)):t(p)}function s(p){return n.enter("listItemMarker"),n.consume(p),n.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,n.check(Kn,r.interrupt?t:c,n.attempt(ho,d,f))}function c(p){return r.containerState.initialBlankLine=!0,l++,d(p)}function f(p){return _(p)?(n.enter("listItemPrefixWhitespace"),n.consume(p),n.exit("listItemPrefixWhitespace"),d):t(p)}function d(p){return r.containerState.size=l+r.sliceSerialize(n.exit("listItemPrefix"),!0).length,e(p)}}function yo(n,e,t){const r=this;return r.containerState._closeFlow=void 0,n.check(Kn,i,l);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,j(n,e,"listItemIndent",r.containerState.size+1)(a)}function l(a){return r.containerState.furtherBlankLines||!_(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,n.attempt(mo,e,o)(a))}function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,j(n,n.attempt(Y,e,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function xo(n,e,t){const r=this;return j(n,i,"listItemIndent",r.containerState.size+1);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?e(l):t(l)}}function ko(n){n.exit(this.containerState.type)}function bo(n,e,t){const r=this;return j(n,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(l){const o=r.events[r.events.length-1];return!_(l)&&o&&o[1].type==="listItemPrefixWhitespace"?e(l):t(l)}}const st={name:"setextUnderline",tokenize:So,resolveTo:wo};function wo(n,e){let t=n.length,r,i,l;for(;t--;)if(n[t][0]==="enter"){if(n[t][1].type==="content"){r=t;break}n[t][1].type==="paragraph"&&(i=t)}else n[t][1].type==="content"&&n.splice(t,1),!l&&n[t][1].type==="definition"&&(l=t);const o={type:"setextHeading",start:Object.assign({},n[i][1].start),end:Object.assign({},n[n.length-1][1].end)};return n[i][1].type="setextHeadingText",l?(n.splice(i,0,["enter",o,e]),n.splice(l+1,0,["exit",n[r][1],e]),n[r][1].end=Object.assign({},n[l][1].end)):n[r][1]=o,n.push(["exit",o,e]),n}function So(n,e,t){const r=this;let i;return l;function l(s){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(n.enter("setextHeadingLine"),i=s,o(s)):t(s)}function o(s){return n.enter("setextHeadingLineSequence"),a(s)}function a(s){return s===i?(n.consume(s),a):(n.exit("setextHeadingLineSequence"),_(s)?j(n,u,"lineSuffix")(s):u(s))}function u(s){return s===null||T(s)?(n.exit("setextHeadingLine"),e(s)):t(s)}}const Co={tokenize:Eo};function Eo(n){const e=this,t=n.attempt(Kn,r,n.attempt(this.parser.constructs.flowInitial,i,j(n,n.attempt(this.parser.constructs.flow,i,n.attempt(Tl,i)),"linePrefix")));return t;function r(l){if(l===null){n.consume(l);return}return n.enter("lineEndingBlank"),n.consume(l),n.exit("lineEndingBlank"),e.currentConstruct=void 0,t}function i(l){if(l===null){n.consume(l);return}return n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),e.currentConstruct=void 0,t}}const Io={resolveAll:ur()},Ao=ar("string"),Po=ar("text");function ar(n){return{tokenize:e,resolveAll:ur(n==="text"?To:void 0)};function e(t){const r=this,i=this.parser.constructs[n],l=t.attempt(i,o,a);return o;function o(c){return s(c)?l(c):a(c)}function a(c){if(c===null){t.consume(c);return}return t.enter("data"),t.consume(c),u}function u(c){return s(c)?(t.exit("data"),l(c)):(t.consume(c),u)}function s(c){if(c===null)return!0;const f=i[c];let d=-1;if(f)for(;++d-1){const a=o[0];typeof a=="string"?o[0]=a.slice(r):o.shift()}l>0&&o.push(n[i].slice(0,l))}return o}function Oo(n,e){let t=-1;const r=[];let i;for(;++t0){const on=z.tokenStack[z.tokenStack.length-1];(on[1]||ht).call(z,void 0,on[0])}for(S.position={start:yn(g.length>0?g[0][1].start:{line:1,column:1,offset:0}),end:yn(g.length>0?g[g.length-2][1].end:{line:1,column:1,offset:0})},v=-1;++v-1&&n.test(String.fromCharCode(t))}}function Ln(n){const e=[];let t=-1,r=0,i=0;for(;++t55295&&l<57344){const a=n.charCodeAt(t+1);l<56320&&a>56319&&a<57344?(o=String.fromCharCode(l,a),i=1):o="οΏ½"}else o=String.fromCharCode(l);o&&(e.push(n.slice(r,t),encodeURIComponent(o)),r=t+i+1,o=""),i&&(t+=i,i=0)}return e.join("")+n.slice(r)}function ia(n,e){const t=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",r=String(e.identifier).toUpperCase(),i=Ln(r.toLowerCase()),l=n.footnoteOrder.indexOf(r);let o,a=n.footnoteCounts.get(r);a===void 0?(a=0,n.footnoteOrder.push(r),o=n.footnoteOrder.length):o=l+1,a+=1,n.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+t+"fn-"+i,id:t+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};n.patch(e,u);const s={type:"element",tagName:"sup",properties:{},children:[u]};return n.patch(e,s),n.applyData(e,s)}function la(n,e){const t={type:"element",tagName:"h"+e.depth,properties:{},children:n.all(e)};return n.patch(e,t),n.applyData(e,t)}function oa(n,e){if(n.options.allowDangerousHtml){const t={type:"raw",value:e.value};return n.patch(e,t),n.applyData(e,t)}}function pr(n,e){const t=e.referenceType;let r="]";if(t==="collapsed"?r+="[]":t==="full"&&(r+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+r}];const i=n.all(e),l=i[0];l&&l.type==="text"?l.value="["+l.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function aa(n,e){const t=String(e.identifier).toUpperCase(),r=n.definitionById.get(t);if(!r)return pr(n,e);const i={src:Ln(r.url||""),alt:e.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const l={type:"element",tagName:"img",properties:i,children:[]};return n.patch(e,l),n.applyData(e,l)}function ua(n,e){const t={src:Ln(e.url)};e.alt!==null&&e.alt!==void 0&&(t.alt=e.alt),e.title!==null&&e.title!==void 0&&(t.title=e.title);const r={type:"element",tagName:"img",properties:t,children:[]};return n.patch(e,r),n.applyData(e,r)}function sa(n,e){const t={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};n.patch(e,t);const r={type:"element",tagName:"code",properties:{},children:[t]};return n.patch(e,r),n.applyData(e,r)}function ca(n,e){const t=String(e.identifier).toUpperCase(),r=n.definitionById.get(t);if(!r)return pr(n,e);const i={href:Ln(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const l={type:"element",tagName:"a",properties:i,children:n.all(e)};return n.patch(e,l),n.applyData(e,l)}function pa(n,e){const t={href:Ln(e.url)};e.title!==null&&e.title!==void 0&&(t.title=e.title);const r={type:"element",tagName:"a",properties:t,children:n.all(e)};return n.patch(e,r),n.applyData(e,r)}function fa(n,e,t){const r=n.all(e),i=t?ha(t):fr(e),l={},o=[];if(typeof e.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let a=-1;for(;++a1}function ma(n,e){const t={},r=n.all(e);let i=-1;for(typeof e.start=="number"&&e.start!==1&&(t.start=e.start);++i0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function xa(n){const e=mr(n),t=hr(n);if(e&&t)return{start:e,end:t}}function ka(n,e){const t=n.all(e),r=t.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:n.wrap([r],!0)};n.patch(e.children[0],o),i.push(o)}if(t.length>0){const o={type:"element",tagName:"tbody",properties:{},children:n.wrap(t,!0)},a=mr(e.children[1]),u=hr(e.children[e.children.length-1]);a&&u&&(o.position={start:a,end:u}),i.push(o)}const l={type:"element",tagName:"table",properties:{},children:n.wrap(i,!0)};return n.patch(e,l),n.applyData(e,l)}function ba(n,e,t){const r=t?t.children:void 0,l=(r?r.indexOf(e):1)===0?"th":"td",o=t&&t.type==="table"?t.align:void 0,a=o?o.length:e.children.length;let u=-1;const s=[];for(;++u0,!0),r[0]),i=r.index+r[0].length,r=t.exec(e);return l.push(yt(e.slice(i),i>0,!1)),l.join("")}function yt(n,e,t){let r=0,i=n.length;if(e){let l=n.codePointAt(r);for(;l===dt||l===gt;)r++,l=n.codePointAt(r)}if(t){let l=n.codePointAt(i-1);for(;l===dt||l===gt;)i--,l=n.codePointAt(i-1)}return i>r?n.slice(r,i):""}function Ca(n,e){const t={type:"text",value:Sa(String(e.value))};return n.patch(e,t),n.applyData(e,t)}function Ea(n,e){const t={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(e,t),n.applyData(e,t)}const Ia={blockquote:Go,break:Zo,code:na,delete:ea,emphasis:ta,footnoteReference:ia,heading:la,html:oa,imageReference:aa,image:ua,inlineCode:sa,linkReference:ca,link:pa,listItem:fa,list:ma,paragraph:da,root:ga,strong:ya,table:ka,tableCell:wa,tableRow:ba,text:Ca,thematicBreak:Ea,toml:jn,yaml:jn,definition:jn,footnoteDefinition:jn};function jn(){}const gr=-1,Yn=0,Wn=1,Qn=2,De=3,Fe=4,Re=5,Me=6,yr=7,xr=8,xt=typeof self=="object"?self:globalThis,Aa=(n,e)=>{const t=(i,l)=>(n.set(l,i),i),r=i=>{if(n.has(i))return n.get(i);const[l,o]=e[i];switch(l){case Yn:case gr:return t(o,i);case Wn:{const a=t([],i);for(const u of o)a.push(r(u));return a}case Qn:{const a=t({},i);for(const[u,s]of o)a[r(u)]=r(s);return a}case De:return t(new Date(o),i);case Fe:{const{source:a,flags:u}=o;return t(new RegExp(a,u),i)}case Re:{const a=t(new Map,i);for(const[u,s]of o)a.set(r(u),r(s));return a}case Me:{const a=t(new Set,i);for(const u of o)a.add(r(u));return a}case yr:{const{name:a,message:u}=o;return t(new xt[a](u),i)}case xr:return t(BigInt(o),i);case"BigInt":return t(Object(BigInt(o)),i)}return t(new xt[l](o),i)};return r},kt=n=>Aa(new Map,n)(0),An="",{toString:Pa}={},{keys:Ta}=Object,Rn=n=>{const e=typeof n;if(e!=="object"||!n)return[Yn,e];const t=Pa.call(n).slice(8,-1);switch(t){case"Array":return[Wn,An];case"Object":return[Qn,An];case"Date":return[De,An];case"RegExp":return[Fe,An];case"Map":return[Re,An];case"Set":return[Me,An]}return t.includes("Array")?[Wn,t]:t.includes("Error")?[yr,t]:[Qn,t]},Hn=([n,e])=>n===Yn&&(e==="function"||e==="symbol"),za=(n,e,t,r)=>{const i=(o,a)=>{const u=r.push(o)-1;return t.set(a,u),u},l=o=>{if(t.has(o))return t.get(o);let[a,u]=Rn(o);switch(a){case Yn:{let c=o;switch(u){case"bigint":a=xr,c=o.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+u);c=null;break;case"undefined":return i([gr],o)}return i([a,c],o)}case Wn:{if(u)return i([u,[...o]],o);const c=[],f=i([a,c],o);for(const d of o)c.push(l(d));return f}case Qn:{if(u)switch(u){case"BigInt":return i([u,o.toString()],o);case"Boolean":case"Number":case"String":return i([u,o.valueOf()],o)}if(e&&"toJSON"in o)return l(o.toJSON());const c=[],f=i([a,c],o);for(const d of Ta(o))(n||!Hn(Rn(o[d])))&&c.push([l(d),l(o[d])]);return f}case De:return i([a,o.toISOString()],o);case Fe:{const{source:c,flags:f}=o;return i([a,{source:c,flags:f}],o)}case Re:{const c=[],f=i([a,c],o);for(const[d,p]of o)(n||!(Hn(Rn(d))||Hn(Rn(p))))&&c.push([l(d),l(p)]);return f}case Me:{const c=[],f=i([a,c],o);for(const d of o)(n||!Hn(Rn(d)))&&c.push(l(d));return f}}const{message:s}=o;return i([a,{name:u,message:s}],o)};return l},bt=(n,{json:e,lossy:t}={})=>{const r=[];return za(!(e||t),!!e,new Map,r)(n),r},Xn=typeof structuredClone=="function"?(n,e)=>e&&("json"in e||"lossy"in e)?kt(bt(n,e)):structuredClone(n):(n,e)=>kt(bt(n,e));function La(n,e){const t=[{type:"text",value:"↩"}];return e>1&&t.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),t}function Oa(n,e){return"Back to reference "+(n+1)+(e>1?"-"+e:"")}function Da(n){const e=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",t=n.options.footnoteBackContent||La,r=n.options.footnoteBackLabel||Oa,i=n.options.footnoteLabel||"Footnotes",l=n.options.footnoteLabelTagName||"h2",o=n.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let u=-1;for(;++u0&&y.push({type:"text",value:" "});let E=typeof t=="string"?t:t(u,p);typeof E=="string"&&(E={type:"text",value:E}),y.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+d+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,p),className:["data-footnote-backref"]},children:Array.isArray(E)?E:[E]})}const I=c[c.length-1];if(I&&I.type==="element"&&I.tagName==="p"){const E=I.children[I.children.length-1];E&&E.type==="text"?E.value+=" ":I.children.push({type:"text",value:" "}),I.children.push(...y)}else c.push(...y);const b={type:"element",tagName:"li",properties:{id:e+"fn-"+d},children:n.wrap(c,!0)};n.patch(s,b),a.push(b)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...Xn(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` +`},{type:"element",tagName:"ol",properties:{},children:n.wrap(a,!0)},{type:"text",value:` +`}]}}const kr=function(n){if(n==null)return _a;if(typeof n=="function")return Jn(n);if(typeof n=="object")return Array.isArray(n)?Fa(n):Ra(n);if(typeof n=="string")return Ma(n);throw new Error("Expected function, string, or object as test")};function Fa(n){const e=[];let t=-1;for(;++t":""))+")"})}return d;function d(){let p=br,y,k,I;if((!e||l(u,s,c[c.length-1]||void 0))&&(p=Ha(t(u,c)),p[0]===wt))return p;if("children"in u&&u.children){const b=u;if(b.children&&p[0]!==Ba)for(k=(r?b.children.length:-1)+o,I=c.concat(b);k>-1&&k0&&t.push({type:"text",value:` +`}),t}function St(n){let e=0,t=n.charCodeAt(e);for(;t===9||t===32;)e++,t=n.charCodeAt(e);return n.slice(e)}function Ct(n,e){const t=Va(n,e),r=t.one(n,void 0),i=Da(t),l=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&l.children.push({type:"text",value:` +`},i),l}function Ka(n,e){return n&&"run"in n?async function(t,r){const i=Ct(t,{file:r,...e});await n.run(i,r)}:function(t,r){return Ct(t,{file:r,...e||n})}}function Et(n){if(n)throw n}var $n=Object.prototype.hasOwnProperty,wr=Object.prototype.toString,It=Object.defineProperty,At=Object.getOwnPropertyDescriptor,Pt=function(e){return typeof Array.isArray=="function"?Array.isArray(e):wr.call(e)==="[object Array]"},Tt=function(e){if(!e||wr.call(e)!=="[object Object]")return!1;var t=$n.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&$n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!r)return!1;var i;for(i in e);return typeof i>"u"||$n.call(e,i)},zt=function(e,t){It&&t.name==="__proto__"?It(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},Lt=function(e,t){if(t==="__proto__")if($n.call(e,t)){if(At)return At(e,t).value}else return;return e[t]},Ya=function n(){var e,t,r,i,l,o,a=arguments[0],u=1,s=arguments.length,c=!1;for(typeof a=="boolean"&&(c=a,a=arguments[1]||{},u=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});uo.length;let u;a&&o.push(i);try{u=n.apply(this,o)}catch(s){const c=s;if(a&&t)throw c;return i(c)}a||(u&&u.then&&typeof u.then=="function"?u.then(l,i):u instanceof Error?i(u):l(u))}function i(o,...a){t||(t=!0,e(o,...a))}function l(o){i(null,o)}}const sn={basename:Za,dirname:nu,extname:eu,join:tu,sep:"/"};function Za(n,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');Nn(n);let t=0,r=-1,i=n.length,l;if(e===void 0||e.length===0||e.length>n.length){for(;i--;)if(n.codePointAt(i)===47){if(l){t=i+1;break}}else r<0&&(l=!0,r=i+1);return r<0?"":n.slice(t,r)}if(e===n)return"";let o=-1,a=e.length-1;for(;i--;)if(n.codePointAt(i)===47){if(l){t=i+1;break}}else o<0&&(l=!0,o=i+1),a>-1&&(n.codePointAt(i)===e.codePointAt(a--)?a<0&&(r=i):(a=-1,r=o));return t===r?r=o:r<0&&(r=n.length),n.slice(t,r)}function nu(n){if(Nn(n),n.length===0)return".";let e=-1,t=n.length,r;for(;--t;)if(n.codePointAt(t)===47){if(r){e=t;break}}else r||(r=!0);return e<0?n.codePointAt(0)===47?"/":".":e===1&&n.codePointAt(0)===47?"//":n.slice(0,e)}function eu(n){Nn(n);let e=n.length,t=-1,r=0,i=-1,l=0,o;for(;e--;){const a=n.codePointAt(e);if(a===47){if(o){r=e+1;break}continue}t<0&&(o=!0,t=e+1),a===46?i<0?i=e:l!==1&&(l=1):i>-1&&(l=-1)}return i<0||t<0||l===0||l===1&&i===t-1&&i===r+1?"":n.slice(i,t)}function tu(...n){let e=-1,t;for(;++e0&&n.codePointAt(n.length-1)===47&&(t+="/"),e?"/"+t:t}function iu(n,e){let t="",r=0,i=-1,l=0,o=-1,a,u;for(;++o<=n.length;){if(o2){if(u=t.lastIndexOf("/"),u!==t.length-1){u<0?(t="",r=0):(t=t.slice(0,u),r=t.length-1-t.lastIndexOf("/")),i=o,l=0;continue}}else if(t.length>0){t="",r=0,i=o,l=0;continue}}e&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+n.slice(i+1,o):t=n.slice(i+1,o),r=o-i-1;i=o,l=0}else a===46&&l>-1?l++:l=-1}return t}function Nn(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const lu={cwd:ou};function ou(){return"/"}function we(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function au(n){if(typeof n=="string")n=new URL(n);else if(!we(n)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(n.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return uu(n)}function uu(n){if(n.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const e=n.pathname;let t=-1;for(;++t0){let[p,...y]=c;const k=r[d][1];be(k)&&be(p)&&(p=le(!0,k,p)),r[d]=[s,p,...y]}}}}const fu=new _e().freeze();function se(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function ce(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function pe(n,e){if(e)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Dt(n){if(!be(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function Ft(n,e,t){if(!t)throw new Error("`"+n+"` finished async. Use `"+e+"` instead")}function Un(n){return hu(n)?n:new Sr(n)}function hu(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function mu(n){return typeof n=="string"||du(n)}function du(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Cr=function(n){if(n==null)return ku;if(typeof n=="function")return Gn(n);if(typeof n=="object")return Array.isArray(n)?gu(n):yu(n);if(typeof n=="string")return xu(n);throw new Error("Expected function, string, or object as test")};function gu(n){const e=[];let t=-1;for(;++t":""))+")"})}return d;function d(){let p=Er,y,k,I;if((!e||l(u,s,c[c.length-1]||void 0))&&(p=Eu(t(u,c)),p[0]===Rt))return p;if("children"in u&&u.children){const b=u;if(b.children&&p[0]!==Su)for(k=(r?b.children.length:-1)+o,I=c.concat(b);k>-1&&k-1&&e>i||t>-1&&e>t||r>-1&&e>r||Pu.test(n.slice(0,e))?n:""}function Ou({openModal:n,setOpenModal:e,content:t,setContent:r}){return an.jsx(an.Fragment,{children:an.jsxs(ne,{size:"6xl",className:"p-10",show:n,position:"top-center",onClose:()=>{r(""),e(!1)},children:[an.jsx(ne.Header,{children:t.name}),an.jsx(ne.Body,{children:an.jsx(zu,{className:"prose lg:prose-xl",children:t.content})})]})})}Ou.propTypes={openModal:Bn.bool.isRequired,setOpenModal:Bn.func.isRequired,content:Bn.object.isRequired,setContent:Bn.func.isRequired};const Fu=(n,e=250)=>{let t;return(...r)=>{clearTimeout(t),t=setTimeout(()=>{n(...r)},e)}};export{Ou as V,Br as a,Fu as b,Mr as d}; diff --git a/client/dist/assets/index-BTjWrk-U.css b/client/dist/assets/index-BTjWrk-U.css new file mode 100644 index 0000000..f4c6644 --- /dev/null +++ b/client/dist/assets/index-BTjWrk-U.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#1c64f2}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3e %3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3e %3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75em .75em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}:is([dir=rtl]) select:not([size]){background-position:left .75rem center;padding-right:.75rem;padding-left:0}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:.55em .55em;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}.dark [type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M0.5 6h14'/%3e %3c/svg%3e");background-color:currentColor;border-color:transparent;background-position:center;background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1f2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;margin-inline-start:-1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}:is([dir=rtl]) input[type=file]::file-selector-button{padding-right:2rem;padding-left:1rem}.dark input[type=file]::file-selector-button{color:#fff;background:#4b5563}.dark input[type=file]::file-selector-button:hover{background:#6b7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1c64f2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9ca3af}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6b7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1c64f2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9ca3af}.dark input[type=range]:disabled::-moz-range-thumb{background:#6b7280}input[type=range]::-moz-range-progress{background:#3f83f8}input[type=range]::-ms-fill-lower{background:#3f83f8}input[type=range].range-sm::-webkit-slider-thumb{height:1rem;width:1rem}input[type=range].range-lg::-webkit-slider-thumb{height:1.5rem;width:1.5rem}input[type=range].range-sm::-moz-range-thumb{height:1rem;width:1rem}input[type=range].range-lg::-moz-range-thumb{height:1.5rem;width:1.5rem}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:#fff;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1c64f2;border-color:#1c64f2}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"β€œ""”""β€˜""’";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-bottom-1{bottom:-.25rem}.-left-1{left:-.25rem}.-left-1\.5{left:-.375rem}.-left-3{left:-.75rem}.-right-1{right:-.25rem}.-top-1{top:-.25rem}.-top-3{top:-.75rem}.-top-3\.5{top:-.875rem}.bottom-4{bottom:1rem}.bottom-5{bottom:1.25rem}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.left-2{left:.5rem}.left-2\.5{left:.625rem}.left-3{left:.75rem}.left-4{left:1rem}.left-5{left:1.25rem}.left-6{left:1.5rem}.right-0{right:0}.right-4{right:1rem}.right-7{right:1.75rem}.top-0{top:0}.top-1\/2{top:50%}.top-10{top:2.5rem}.top-2{top:.5rem}.top-3{top:.75rem}.top-4{top:1rem}.top-8{top:2rem}.-z-10{z-index:-10}.-z-\[1\]{z-index:-1}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-auto{z-index:auto}.col-span-12{grid-column:span 12 / span 12}.col-span-3{grid-column:span 3 / span 3}.col-span-9{grid-column:span 9 / span 9}.float-end{float:inline-end}.m-5{margin:1.25rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.-mx-3{margin-left:-.75rem;margin-right:-.75rem}.-mx-4{margin-left:-1rem;margin-right:-1rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-9{margin-bottom:2.25rem}.mb-\[60px\]{margin-bottom:60px}.me-4{margin-inline-end:1rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-\[-25px\]{margin-right:-25px}.ms-10{margin-inline-start:2.5rem}.ms-3{margin-inline-start:.75rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.\!inline{display:inline!important}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-28{height:7rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-44{height:11rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[0\.1px\]{height:.1px}.h-\[50px\]{height:50px}.h-\[70px\]{height:70px}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-min{height:-moz-min-content;height:min-content}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.h-screen{height:100vh}.max-h-80{max-height:20rem}.max-h-\[90vh\]{max-height:90vh}.min-h-80{min-height:20rem}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\/4{width:50%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-36{width:9rem}.w-4{width:1rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\/6{width:83.333333%}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[70px\]{width:70px}.w-\[80\%\]{width:80%}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-\[160px\]{max-width:160px}.max-w-\[400px\]{max-width:400px}.max-w-\[485px\]{max-width:485px}.max-w-\[50px\]{max-width:50px}.max-w-\[520px\]{max-width:520px}.max-w-\[540px\]{max-width:540px}.max-w-\[600px\]{max-width:600px}.max-w-\[780px\]{max-width:780px}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.origin-\[0\]{transform-origin:0}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-4{--tw-translate-y: -1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-6{--tw-translate-y: -1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-\[25deg\]{--tw-rotate: 25deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-skew-y-6{--tw-skew-y: -6deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness: mandatory}.snap-center{scroll-snap-align:center}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-flow-col{grid-auto-flow:column}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1rem * var(--tw-space-x-reverse));margin-left:calc(-1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-x-scroll{overflow-x:scroll}.scroll-smooth{scroll-behavior:smooth}.whitespace-nowrap{white-space:nowrap}.text-wrap{text-wrap:wrap}.text-pretty{text-wrap:pretty}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\[14px\]{border-radius:14px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-md{border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-e-lg{border-start-end-radius:.5rem;border-end-end-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-s-full{border-start-start-radius:9999px;border-end-start-radius:9999px}.rounded-s-lg{border-start-start-radius:.5rem;border-end-start-radius:.5rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.rounded-bl-lg{border-bottom-left-radius:.5rem}.rounded-br-lg{border-bottom-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.border-t{border-top-width:1px}.border-t-4{border-top-width:4px}.border-\[\#8890A4\]{--tw-border-opacity: 1;border-color:rgb(136 144 164 / var(--tw-border-opacity))}.border-cyan-300{--tw-border-opacity: 1;border-color:rgb(103 232 249 / var(--tw-border-opacity))}.border-cyan-500{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}.border-cyan-600{--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity))}.border-cyan-700{--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(132 225 188 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}.border-indigo-300{--tw-border-opacity: 1;border-color:rgb(180 198 252 / var(--tw-border-opacity))}.border-indigo-400{--tw-border-opacity: 1;border-color:rgb(141 162 251 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(104 117 245 / var(--tw-border-opacity))}.border-lime-300{--tw-border-opacity: 1;border-color:rgb(190 242 100 / var(--tw-border-opacity))}.border-lime-400{--tw-border-opacity: 1;border-color:rgb(163 230 53 / var(--tw-border-opacity))}.border-lime-500{--tw-border-opacity: 1;border-color:rgb(132 204 22 / var(--tw-border-opacity))}.border-pink-300{--tw-border-opacity: 1;border-color:rgb(248 180 217 / var(--tw-border-opacity))}.border-pink-500{--tw-border-opacity: 1;border-color:rgb(231 70 148 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(144 97 249 / var(--tw-border-opacity))}.border-purple-900{--tw-border-opacity: 1;border-color:rgb(74 29 150 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(248 180 180 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.border-red-900{--tw-border-opacity: 1;border-color:rgb(119 29 29 / var(--tw-border-opacity))}.border-secondary{--tw-border-opacity: 1;border-color:rgb(149 25 71 / var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity: 1;border-color:rgb(126 220 226 / var(--tw-border-opacity))}.border-teal-500{--tw-border-opacity: 1;border-color:rgb(6 148 162 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(250 202 21 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.border-yellow-600{--tw-border-opacity: 1;border-color:rgb(159 88 10 / var(--tw-border-opacity))}.border-opacity-40{--tw-border-opacity: .4}.bg-\[\#090E34\]{--tw-bg-opacity: 1;background-color:rgb(9 14 52 / var(--tw-bg-opacity))}.bg-accent{--tw-bg-opacity: 1;background-color:rgb(246 60 129 / var(--tw-bg-opacity))}.bg-background{--tw-bg-opacity: 1;background-color:rgb(7 4 5 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-cyan-100{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.bg-cyan-200{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.bg-cyan-50{--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}.bg-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.bg-cyan-600{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.bg-cyan-700{--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(49 196 141 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(243 250 247 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.bg-indigo-400{--tw-bg-opacity: 1;background-color:rgb(141 162 251 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}.bg-lime-100{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}.bg-lime-400{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}.bg-lime-600{--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.bg-pink-500{--tw-bg-opacity: 1;background-color:rgb(231 70 148 / var(--tw-bg-opacity))}.bg-pink-600{--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(225 158 183 / var(--tw-bg-opacity))}.bg-primary\/\[0\.12\]{background-color:#e19eb71f}.bg-primary\/\[0\.3\]{background-color:#e19eb74d}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(246 245 255 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(249 128 128 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(253 242 242 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(149 25 71 / var(--tw-bg-opacity))}.bg-teal-100{--tw-bg-opacity: 1;background-color:rgb(213 245 246 / var(--tw-bg-opacity))}.bg-teal-600{--tw-bg-opacity: 1;background-color:rgb(4 116 129 / var(--tw-bg-opacity))}.bg-text{--tw-bg-opacity: 1;background-color:rgb(239 233 235 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/30{background-color:#ffffff4d}.bg-white\/50{background-color:#ffffff80}.bg-white\/\[0\.12\]{background-color:#ffffff1f}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(253 253 234 / var(--tw-bg-opacity))}.bg-yellow-600{--tw-bg-opacity: 1;background-color:rgb(159 88 10 / var(--tw-bg-opacity))}.bg-opacity-20{--tw-bg-opacity: .2}.bg-opacity-50{--tw-bg-opacity: .5}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-\[\#2d1525\]{--tw-gradient-from: #2d1525 var(--tw-gradient-from-position);--tw-gradient-to: rgb(45 21 37 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-\[\#3e1734\]{--tw-gradient-from: #3e1734 var(--tw-gradient-from-position);--tw-gradient-to: rgb(62 23 52 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-400{--tw-gradient-from: #22d3ee var(--tw-gradient-from-position);--tw-gradient-to: rgb(34 211 238 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-lime-200{--tw-gradient-from: #d9f99d var(--tw-gradient-from-position);--tw-gradient-to: rgb(217 249 157 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-400{--tw-gradient-from: #F17EB8 var(--tw-gradient-from-position);--tw-gradient-to: rgb(241 126 184 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-400{--tw-gradient-from: #AC94FA var(--tw-gradient-from-position);--tw-gradient-to: rgb(172 148 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-400{--tw-gradient-from: #F98080 var(--tw-gradient-from-position);--tw-gradient-to: rgb(249 128 128 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-secondary{--tw-gradient-from: #951947 var(--tw-gradient-from-position);--tw-gradient-to: rgb(149 25 71 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-200{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-400{--tw-gradient-from: #16BDCA var(--tw-gradient-from-position);--tw-gradient-to: rgb(22 189 202 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-cyan-500{--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #06b6d4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-cyan-600{--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #0891b2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-green-500{--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #0E9F6E var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-lime-400{--tw-gradient-to: rgb(163 230 53 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #a3e635 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-500{--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #E74694 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #7E3AF2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-300{--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-500{--tw-gradient-to: rgb(240 82 82 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F05252 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-teal-500{--tw-gradient-to: rgb(6 148 162 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #0694A2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-background{--tw-gradient-to: #070405 var(--tw-gradient-to-position)}.to-cyan-500{--tw-gradient-to: #06b6d4 var(--tw-gradient-to-position)}.to-cyan-600{--tw-gradient-to: #0891b2 var(--tw-gradient-to-position)}.to-cyan-700{--tw-gradient-to: #0e7490 var(--tw-gradient-to-position)}.to-green-600{--tw-gradient-to: #057A55 var(--tw-gradient-to-position)}.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.to-lime-500{--tw-gradient-to: #84cc16 var(--tw-gradient-to-position)}.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.to-pink-600{--tw-gradient-to: #D61F69 var(--tw-gradient-to-position)}.to-primary{--tw-gradient-to: #e19eb7 var(--tw-gradient-to-position)}.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position)}.to-red-600{--tw-gradient-to: #E02424 var(--tw-gradient-to-position)}.to-teal-600{--tw-gradient-to: #047481 var(--tw-gradient-to-position)}.to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.fill-current{fill:currentColor}.fill-cyan-600{fill:#0891b2}.fill-gray-600{fill:#4b5563}.fill-green-500{fill:#0e9f6e}.fill-pink-600{fill:#d61f69}.fill-purple-600{fill:#7e3af2}.fill-red-600{fill:#e02424}.fill-yellow-400{fill:#e3a008}.object-cover{-o-object-fit:cover;object-fit:cover}.object-center{-o-object-position:center;object-position:center}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-28{padding-left:7rem;padding-right:7rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[14px\]{padding-top:14px;padding-bottom:14px}.pb-2{padding-bottom:.5rem}.pb-2\.5{padding-bottom:.625rem}.pb-28{padding-bottom:7rem}.pb-5{padding-bottom:1.25rem}.pb-56{padding-bottom:14rem}.pb-8{padding-bottom:2rem}.pe-1{padding-inline-end:.25rem}.pe-2{padding-inline-end:.5rem}.pl-0{padding-left:0}.pl-10{padding-left:2.5rem}.pl-12{padding-left:3rem}.pl-16{padding-left:4rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-20{padding-left:5rem}.pl-3{padding-left:.75rem}.pl-8{padding-left:2rem}.pr-10{padding-right:2.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-9{padding-right:2.25rem}.ps-5{padding-inline-start:1.25rem}.ps-6{padding-inline-start:1.5rem}.pt-0{padding-top:0}.pt-2{padding-top:.5rem}.pt-20{padding-top:5rem}.pt-28{padding-top:7rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-\[120px\]{padding-top:120px}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-\[1\.2\]{line-height:1.2}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.text-accent{--tw-text-opacity: 1;color:rgb(246 60 129 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-cyan-300{--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity))}.text-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity))}.text-cyan-600{--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity))}.text-cyan-700{--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity))}.text-cyan-800{--tw-text-opacity: 1;color:rgb(21 94 117 / var(--tw-text-opacity))}.text-cyan-900{--tw-text-opacity: 1;color:rgb(22 78 99 / var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(81 69 205 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.text-lime-500{--tw-text-opacity: 1;color:rgb(132 204 22 / var(--tw-text-opacity))}.text-lime-700{--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity))}.text-lime-800{--tw-text-opacity: 1;color:rgb(63 98 18 / var(--tw-text-opacity))}.text-lime-900{--tw-text-opacity: 1;color:rgb(54 83 20 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(214 31 105 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(191 18 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.text-primary{--tw-text-opacity: 1;color:rgb(225 158 183 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(108 43 217 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-secondary{--tw-text-opacity: 1;color:rgb(149 25 71 / var(--tw-text-opacity))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(6 148 162 / var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity: 1;color:rgb(4 116 129 / var(--tw-text-opacity))}.text-teal-700{--tw-text-opacity: 1;color:rgb(3 102 114 / var(--tw-text-opacity))}.text-teal-800{--tw-text-opacity: 1;color:rgb(5 80 92 / var(--tw-text-opacity))}.text-teal-900{--tw-text-opacity: 1;color:rgb(1 68 81 / var(--tw-text-opacity))}.text-text{--tw-text-opacity: 1;color:rgb(239 233 235 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-white\/\[0\.3\]{color:#ffffff4d}.text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.text-opacity-70{--tw-text-opacity: .7}.underline{text-decoration-line:underline}.placeholder-cyan-700::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(14 116 144 / var(--tw-placeholder-opacity))}.placeholder-cyan-700::placeholder{--tw-placeholder-opacity: 1;color:rgb(14 116 144 / var(--tw-placeholder-opacity))}.placeholder-green-700::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(4 108 78 / var(--tw-placeholder-opacity))}.placeholder-green-700::placeholder{--tw-placeholder-opacity: 1;color:rgb(4 108 78 / var(--tw-placeholder-opacity))}.placeholder-red-700::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(200 30 30 / var(--tw-placeholder-opacity))}.placeholder-red-700::placeholder{--tw-placeholder-opacity: 1;color:rgb(200 30 30 / var(--tw-placeholder-opacity))}.placeholder-transparent::-moz-placeholder{color:transparent}.placeholder-transparent::placeholder{color:transparent}.placeholder-yellow-700::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(142 75 16 / var(--tw-placeholder-opacity))}.placeholder-yellow-700::placeholder{--tw-placeholder-opacity: 1;color:rgb(142 75 16 / var(--tw-placeholder-opacity))}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-15{opacity:.15}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-8{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(8px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-cyan-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(34 211 238 / var(--tw-ring-opacity))}.ring-cyan-700{--tw-ring-opacity: 1;--tw-ring-color: rgb(14 116 144 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-gray-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.ring-gray-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.ring-gray-700{--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}.ring-gray-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.ring-green-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(14 159 110 / var(--tw-ring-opacity))}.ring-pink-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(231 70 148 / var(--tw-ring-opacity))}.ring-purple-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(144 97 249 / var(--tw-ring-opacity))}.ring-red-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(240 82 82 / var(--tw-ring-opacity))}.ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.ring-yellow-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-0{transition-delay:0s}.duration-100{transition-duration:.1s}.duration-1000{transition-duration:1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}*{padding:0;margin:0;box-sizing:border-box}html{background-color:#070405}*::-webkit-scrollbar-track{background:#291f3a}*::-webkit-scrollbar{background:transparent;width:5px}*::-webkit-scrollbar-thumb{background:#573174;border-radius:20px}.mypage button{background-color:#38243d;border-color:#5d004a}.mypage button:hover{background-color:#4a1d56!important;color:#a891ae!important}.chat-didi:hover .my-tooltip{display:inline-block}.my-tooltip{display:none}@media (min-width: 1024px){.lg\:prose-xl{font-size:1.25rem;line-height:1.8}.lg\:prose-xl :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em;margin-bottom:1.2em}.lg\:prose-xl :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2em;line-height:1.5;margin-top:1em;margin-bottom:1em}.lg\:prose-xl :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:1.6em;padding-left:1.0666667em}.lg\:prose-xl :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.8em;margin-top:0;margin-bottom:.8571429em;line-height:1}.lg\:prose-xl :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.8em;margin-top:1.5555556em;margin-bottom:.8888889em;line-height:1.1111111}.lg\:prose-xl :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.5em;margin-top:1.6em;margin-bottom:.6666667em;line-height:1.3333333}.lg\:prose-xl :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.8em;margin-bottom:.6em;line-height:1.6}.lg\:prose-xl :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.lg\:prose-xl :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.lg\:prose-xl :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.lg\:prose-xl :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.lg\:prose-xl :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em;border-radius:.3125rem;padding:.25em .4em}.lg\:prose-xl :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.lg\:prose-xl :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8611111em}.lg\:prose-xl :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.lg\:prose-xl :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em;line-height:1.7777778;margin-top:2em;margin-bottom:2em;border-radius:.5rem;padding:1.1111111em 1.3333333em}.lg\:prose-xl :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em;margin-bottom:1.2em;padding-left:1.6em}.lg\:prose-xl :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em;margin-bottom:1.2em;padding-left:1.6em}.lg\:prose-xl :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.6em;margin-bottom:.6em}.lg\:prose-xl :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4em}.lg\:prose-xl :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4em}.lg\:prose-xl :where(.lg\:prose-xl>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.8em;margin-bottom:.8em}.lg\:prose-xl :where(.lg\:prose-xl>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em}.lg\:prose-xl :where(.lg\:prose-xl>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.2em}.lg\:prose-xl :where(.lg\:prose-xl>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em}.lg\:prose-xl :where(.lg\:prose-xl>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.2em}.lg\:prose-xl :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.8em;margin-bottom:.8em}.lg\:prose-xl :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em;margin-bottom:1.2em}.lg\:prose-xl :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em}.lg\:prose-xl :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.6em;padding-left:1.6em}.lg\:prose-xl :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8em;margin-bottom:2.8em}.lg\:prose-xl :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em;line-height:1.5555556}.lg\:prose-xl :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:.6666667em;padding-bottom:.8888889em;padding-left:.6666667em}.lg\:prose-xl :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.lg\:prose-xl :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.lg\:prose-xl :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.8888889em .6666667em}.lg\:prose-xl :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.lg\:prose-xl :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.lg\:prose-xl :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.lg\:prose-xl :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.lg\:prose-xl :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em;line-height:1.5555556;margin-top:1em}.lg\:prose-xl :where(.lg\:prose-xl>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(.lg\:prose-xl>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:left-\[2px\]:after{content:var(--tw-content);left:2px}.after\:left-\[4px\]:after{content:var(--tw-content);left:4px}.after\:top-0:after{content:var(--tw-content);top:0}.after\:top-0\.5:after{content:var(--tw-content);top:.125rem}.after\:top-\[2px\]:after{content:var(--tw-content);top:2px}.after\:h-4:after{content:var(--tw-content);height:1rem}.after\:h-5:after{content:var(--tw-content);height:1.25rem}.after\:h-6:after{content:var(--tw-content);height:1.5rem}.after\:w-4:after{content:var(--tw-content);width:1rem}.after\:w-5:after{content:var(--tw-content);width:1.25rem}.after\:w-6:after{content:var(--tw-content);width:1.5rem}.after\:translate-x-full:after{content:var(--tw-content);--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:border-white:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.first\:ml-0:first-child{margin-left:0}.first\:mt-0:first-child{margin-top:0}.first\:rounded-t-lg:first-child{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.first\:border-t-0:first-child{border-top-width:0px}.first\:pt-0:first-child{padding-top:0}.last\:mr-0:last-child{margin-right:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.odd\:bg-white:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.even\:bg-gray-50:nth-child(2n){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:cursor-not-allowed:hover{cursor:not-allowed}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:bg-cyan-100:hover{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.hover\:bg-cyan-200:hover{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.hover\:bg-cyan-600:hover{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.hover\:bg-cyan-800:hover{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.hover\:bg-green-500:hover{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.hover\:bg-indigo-200:hover{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.hover\:bg-lime-200:hover{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}.hover\:bg-pink-200:hover{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{--tw-bg-opacity: 1;background-color:rgb(225 158 183 / var(--tw-bg-opacity))}.hover\:bg-purple-200:hover{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.hover\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(149 25 71 / var(--tw-bg-opacity))}.hover\:bg-teal-200:hover{--tw-bg-opacity: 1;background-color:rgb(175 236 239 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:text-background:hover{--tw-text-opacity: 1;color:rgb(7 4 5 / var(--tw-text-opacity))}.hover\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.hover\:text-cyan-700:hover{--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary:hover{--tw-text-opacity: 1;color:rgb(225 158 183 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.focus\:z-10:focus{z-index:10}.focus\:border-b-2:focus{border-bottom-width:2px}.focus\:border-blue-600:focus{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.focus\:border-cyan-500:focus{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}.focus\:border-green-500:focus{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.focus\:border-green-600:focus{--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}.focus\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.focus\:border-red-600:focus{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.focus\:border-yellow-500:focus{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.focus\:bg-gray-100:focus{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.focus\:text-cyan-700:focus{--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity))}.focus\:text-gray-900:focus{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}.focus\:ring-cyan-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(103 232 249 / var(--tw-ring-opacity))}.focus\:ring-cyan-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(34 211 238 / var(--tw-ring-opacity))}.focus\:ring-cyan-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(6 182 212 / var(--tw-ring-opacity))}.focus\:ring-cyan-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(8 145 178 / var(--tw-ring-opacity))}.focus\:ring-cyan-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(14 116 144 / var(--tw-ring-opacity))}.focus\:ring-cyan-800:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-gray-800:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.focus\:ring-gray-900:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity))}.focus\:ring-green-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(188 240 218 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(49 196 141 / var(--tw-ring-opacity))}.focus\:ring-green-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(14 159 110 / var(--tw-ring-opacity))}.focus\:ring-green-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(5 122 85 / var(--tw-ring-opacity))}.focus\:ring-green-800:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.focus\:ring-indigo-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(180 198 252 / var(--tw-ring-opacity))}.focus\:ring-indigo-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(141 162 251 / var(--tw-ring-opacity))}.focus\:ring-indigo-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(81 69 205 / var(--tw-ring-opacity))}.focus\:ring-lime-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(217 249 157 / var(--tw-ring-opacity))}.focus\:ring-lime-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(190 242 100 / var(--tw-ring-opacity))}.focus\:ring-lime-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(163 230 53 / var(--tw-ring-opacity))}.focus\:ring-lime-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(77 124 15 / var(--tw-ring-opacity))}.focus\:ring-pink-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 209 232 / var(--tw-ring-opacity))}.focus\:ring-pink-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 217 / var(--tw-ring-opacity))}.focus\:ring-pink-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(241 126 184 / var(--tw-ring-opacity))}.focus\:ring-pink-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(214 31 105 / var(--tw-ring-opacity))}.focus\:ring-purple-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 215 254 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(202 191 253 / var(--tw-ring-opacity))}.focus\:ring-purple-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(172 148 250 / var(--tw-ring-opacity))}.focus\:ring-purple-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(126 58 242 / var(--tw-ring-opacity))}.focus\:ring-red-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 232 232 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(240 82 82 / var(--tw-ring-opacity))}.focus\:ring-red-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(224 36 36 / var(--tw-ring-opacity))}.focus\:ring-red-900:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.focus\:ring-teal-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(126 220 226 / var(--tw-ring-opacity))}.focus\:ring-teal-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(22 189 202 / var(--tw-ring-opacity))}.focus\:ring-teal-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(4 116 129 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 160 8 / var(--tw-ring-opacity))}.focus\:ring-yellow-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(194 120 3 / var(--tw-ring-opacity))}.enabled\:hover\:bg-blue-800:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.enabled\:hover\:bg-cyan-100:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.enabled\:hover\:bg-cyan-800:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}.enabled\:hover\:bg-gray-100:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.enabled\:hover\:bg-gray-900:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.enabled\:hover\:bg-green-100:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.enabled\:hover\:bg-green-800:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.enabled\:hover\:bg-indigo-100:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.enabled\:hover\:bg-lime-100:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}.enabled\:hover\:bg-pink-100:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.enabled\:hover\:bg-purple-800:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(85 33 181 / var(--tw-bg-opacity))}.enabled\:hover\:bg-red-100:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.enabled\:hover\:bg-red-800:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.enabled\:hover\:bg-teal-100:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(213 245 246 / var(--tw-bg-opacity))}.enabled\:hover\:bg-yellow-100:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.enabled\:hover\:bg-yellow-500:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.enabled\:hover\:bg-gradient-to-bl:hover:enabled{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.enabled\:hover\:bg-gradient-to-br:hover:enabled{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.enabled\:hover\:bg-gradient-to-l:hover:enabled{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.enabled\:hover\:from-teal-200:hover:enabled{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.enabled\:hover\:to-lime-200:hover:enabled{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.enabled\:hover\:text-cyan-700:hover:enabled{--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity))}.enabled\:hover\:text-gray-700:hover:enabled{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.enabled\:hover\:text-gray-900:hover:enabled{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.disabled\:opacity-50:disabled{opacity:.5}.group:first-child .group-first\:hidden{display:none}.group\/body:first-child .group\/row:first-child .group-first\/body\:group-first\/row\:first\:rounded-tl-lg:first-child,.group\/head:first-child .group-first\/head\:first\:rounded-tl-lg:first-child{border-top-left-radius:.5rem}.group\/body:first-child .group\/row:first-child .group-first\/body\:group-first\/row\:last\:rounded-tr-lg:last-child{border-top-right-radius:.5rem}.group\/head:first-child .group-first\/head\:last\:rounded-tr-lg:last-child{border-top-right-radius:.5rem}.group\/body:last-child .group\/row:last-child .group-last\/body\:group-last\/row\:first\:rounded-bl-lg:first-child{border-bottom-left-radius:.5rem}.group\/body:last-child .group\/row:last-child .group-last\/body\:group-last\/row\:last\:rounded-br-lg:last-child{border-bottom-right-radius:.5rem}.group:hover .group-hover\:rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:bg-cyan-200{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-lime-200{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-teal-200{--tw-bg-opacity: 1;background-color:rgb(175 236 239 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-white\/50{background-color:#ffffff80}.group:hover .group-hover\:bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group:focus .group-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.group:focus .group-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.group:focus .group-focus\:ring-cyan-500\/25{--tw-ring-color: rgb(6 182 212 / .25)}.group:focus .group-focus\:ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.group:enabled:hover .group-enabled\:group-hover\:bg-opacity-0{--tw-bg-opacity: 0}.group:enabled:hover .group-enabled\:group-hover\:text-inherit{color:inherit}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:top-1\/2{top:50%}.peer:placeholder-shown~.peer-placeholder-shown\:top-1\/2{top:50%}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:top-2{top:.5rem}.peer:placeholder-shown~.peer-placeholder-shown\:top-2{top:.5rem}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:placeholder-shown~.peer-placeholder-shown\:-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:placeholder-shown~.peer-placeholder-shown\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:placeholder-shown~.peer-placeholder-shown\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:-moz-placeholder-shown~.peer-placeholder-shown\:text-base{font-size:1rem;line-height:1.5rem}.peer:placeholder-shown~.peer-placeholder-shown\:text-base{font-size:1rem;line-height:1.5rem}.peer:focus~.peer-focus\:-top-3{top:-.75rem}.peer:focus~.peer-focus\:-top-3\.5{top:-.875rem}.peer:focus~.peer-focus\:left-0{left:0}.peer:focus~.peer-focus\:top-2{top:.5rem}.peer:focus~.peer-focus\:-translate-y-4{--tw-translate-y: -1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:focus~.peer-focus\:-translate-y-6{--tw-translate-y: -1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:focus~.peer-focus\:scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:focus~.peer-focus\:px-2{padding-left:.5rem;padding-right:.5rem}.peer:focus~.peer-focus\:text-sm{font-size:.875rem;line-height:1.25rem}.peer:focus~.peer-focus\:text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.peer:focus~.peer-focus\:text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:block){display:block}:is(.dark .dark\:hidden){display:none}:is(.dark .dark\:divide-gray-700)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}:is(.dark .dark\:border-none){border-style:none}:is(.dark .dark\:border-cyan-400){--tw-border-opacity: 1;border-color:rgb(34 211 238 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-500){--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-600){--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-400){--tw-border-opacity: 1;border-color:rgb(49 196 141 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-500){--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-600){--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-600){--tw-border-opacity: 1;border-color:rgb(88 80 236 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-600){--tw-border-opacity: 1;border-color:rgb(101 163 13 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-600){--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-400){--tw-border-opacity: 1;border-color:rgb(249 128 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-600){--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-600){--tw-border-opacity: 1;border-color:rgb(4 116 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-white){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-400){--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-600){--tw-border-opacity: 1;border-color:rgb(159 88 10 / var(--tw-border-opacity))}:is(.dark .dark\:bg-black){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-100){--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-200){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-600){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-900){--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-200){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-400){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800\/30){background-color:#1f29374d}:is(.dark .dark\:bg-gray-800\/50){background-color:#1f293780}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-100){--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-900){--tw-bg-opacity: 1;background-color:rgb(1 71 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-600){--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-200){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-600){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-200){--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-600){--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-200){--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-500){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-600){--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-900){--tw-bg-opacity: 1;background-color:rgb(74 29 150 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-100){--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-900){--tw-bg-opacity: 1;background-color:rgb(119 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-200){--tw-bg-opacity: 1;background-color:rgb(175 236 239 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-600){--tw-bg-opacity: 1;background-color:rgb(4 116 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-transparent){background-color:transparent}:is(.dark .dark\:bg-yellow-100){--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-600){--tw-bg-opacity: 1;background-color:rgb(159 88 10 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-900){--tw-bg-opacity: 1;background-color:rgb(99 49 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity: .8}:is(.dark .dark\:fill-gray-300){fill:#d1d5db}:is(.dark .dark\:text-cyan-100){--tw-text-opacity: 1;color:rgb(207 250 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-300){--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-500){--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-600){--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-800){--tw-text-opacity: 1;color:rgb(21 94 117 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-900){--tw-text-opacity: 1;color:rgb(22 78 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-900){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-400){--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-600){--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-800){--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-600){--tw-text-opacity: 1;color:rgb(88 80 236 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-800){--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-600){--tw-text-opacity: 1;color:rgb(101 163 13 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-800){--tw-text-opacity: 1;color:rgb(63 98 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-900){--tw-text-opacity: 1;color:rgb(54 83 20 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-600){--tw-text-opacity: 1;color:rgb(214 31 105 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-800){--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-900){--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-600){--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-800){--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-900){--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-400){--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-600){--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-800){--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-600){--tw-text-opacity: 1;color:rgb(4 116 129 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-800){--tw-text-opacity: 1;color:rgb(5 80 92 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-900){--tw-text-opacity: 1;color:rgb(1 68 81 / var(--tw-text-opacity))}:is(.dark .dark\:text-text){--tw-text-opacity: 1;color:rgb(239 233 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-600){--tw-text-opacity: 1;color:rgb(159 88 10 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:shadow-sm-light){--tw-shadow: 0 2px 5px 0px rgba(255, 255, 255, .08);--tw-shadow-colored: 0 2px 5px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:ring-cyan-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-400){--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-900){--tw-ring-opacity: 1;--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-green-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(14 159 110 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-pink-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(231 70 148 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-purple-600){--tw-ring-opacity: 1;--tw-ring-color: rgb(126 58 242 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-red-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(200 30 30 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-yellow-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(194 120 3 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-offset-blue-700){--tw-ring-offset-color: #1A56DB}:is(.dark .dark\:ring-offset-cyan-600){--tw-ring-offset-color: #0891b2}:is(.dark .dark\:ring-offset-gray-800){--tw-ring-offset-color: #1F2937}:is(.dark .dark\:ring-offset-gray-900){--tw-ring-offset-color: #111827}:is(.dark .dark\:ring-offset-green-600){--tw-ring-offset-color: #057A55}:is(.dark .dark\:ring-offset-green-800){--tw-ring-offset-color: #03543F}:is(.dark .dark\:ring-offset-indigo-700){--tw-ring-offset-color: #5145CD}:is(.dark .dark\:ring-offset-lime-700){--tw-ring-offset-color: #4d7c0f}:is(.dark .dark\:ring-offset-pink-600){--tw-ring-offset-color: #D61F69}:is(.dark .dark\:ring-offset-purple-600){--tw-ring-offset-color: #7E3AF2}:is(.dark .dark\:ring-offset-red-600){--tw-ring-offset-color: #E02424}:is(.dark .dark\:ring-offset-red-900){--tw-ring-offset-color: #771D1D}:is(.dark .dark\:ring-offset-teal-600){--tw-ring-offset-color: #047481}:is(.dark .dark\:ring-offset-yellow-400){--tw-ring-offset-color: #E3A008}:is(.dark .odd\:dark\:bg-gray-800):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .even\:dark\:bg-gray-700):nth-child(2n){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-300:hover){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-700:hover){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-300:hover){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-300:hover){--tw-bg-opacity: 1;background-color:rgb(180 198 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-300:hover){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-300:hover){--tw-bg-opacity: 1;background-color:rgb(248 180 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-300:hover){--tw-bg-opacity: 1;background-color:rgb(202 191 253 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-300:hover){--tw-bg-opacity: 1;background-color:rgb(126 220 226 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-primary:hover){--tw-text-opacity: 1;color:rgb(225 158 183 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-cyan-500:focus){--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-green-500:focus){--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-red-500:focus){--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-yellow-500:focus){--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:bg-cyan-600:focus){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:focus\:bg-gray-600:focus){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:focus\:text-white:focus){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-blue-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(26 86 219 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(6 182 212 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(8 145 178 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(14 116 144 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(17 24 39 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(14 159 110 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(5 122 85 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(4 108 78 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-indigo-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(81 69 205 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-lime-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(77 124 15 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-lime-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 98 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(214 31 105 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(191 18 93 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(126 58 242 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(240 82 82 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(224 36 36 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(200 30 30 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(4 116 129 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 102 114 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(5 80 92 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(227 160 8 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(194 120 3 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(142 75 16 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(99 49 18 / var(--tw-ring-opacity))}:is(.dark .dark\:enabled\:hover\:border-cyan-700:hover:enabled){--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity))}:is(.dark .dark\:enabled\:hover\:border-gray-700:hover:enabled){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:enabled\:hover\:border-green-700:hover:enabled){--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}:is(.dark .dark\:enabled\:hover\:border-indigo-700:hover:enabled){--tw-border-opacity: 1;border-color:rgb(81 69 205 / var(--tw-border-opacity))}:is(.dark .dark\:enabled\:hover\:border-lime-700:hover:enabled){--tw-border-opacity: 1;border-color:rgb(77 124 15 / var(--tw-border-opacity))}:is(.dark .dark\:enabled\:hover\:border-pink-700:hover:enabled){--tw-border-opacity: 1;border-color:rgb(191 18 93 / var(--tw-border-opacity))}:is(.dark .dark\:enabled\:hover\:border-red-700:hover:enabled){--tw-border-opacity: 1;border-color:rgb(200 30 30 / var(--tw-border-opacity))}:is(.dark .dark\:enabled\:hover\:border-teal-700:hover:enabled){--tw-border-opacity: 1;border-color:rgb(3 102 114 / var(--tw-border-opacity))}:is(.dark .dark\:enabled\:hover\:border-yellow-700:hover:enabled){--tw-border-opacity: 1;border-color:rgb(142 75 16 / var(--tw-border-opacity))}:is(.dark .dark\:enabled\:hover\:bg-cyan-700:hover:enabled){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:enabled\:hover\:bg-gray-700:hover:enabled){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:enabled\:hover\:bg-green-700:hover:enabled){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}:is(.dark .dark\:enabled\:hover\:bg-indigo-700:hover:enabled){--tw-bg-opacity: 1;background-color:rgb(81 69 205 / var(--tw-bg-opacity))}:is(.dark .dark\:enabled\:hover\:bg-lime-700:hover:enabled){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:enabled\:hover\:bg-pink-700:hover:enabled){--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}:is(.dark .dark\:enabled\:hover\:bg-purple-700:hover:enabled){--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}:is(.dark .dark\:enabled\:hover\:bg-red-700:hover:enabled){--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}:is(.dark .dark\:enabled\:hover\:bg-teal-700:hover:enabled){--tw-bg-opacity: 1;background-color:rgb(3 102 114 / var(--tw-bg-opacity))}:is(.dark .dark\:enabled\:hover\:bg-yellow-700:hover:enabled){--tw-bg-opacity: 1;background-color:rgb(142 75 16 / var(--tw-bg-opacity))}:is(.dark .enabled\:dark\:hover\:bg-gray-700:hover):enabled{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:enabled\:hover\:text-white:hover:enabled){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .enabled\:dark\:hover\:text-white:hover):enabled{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .disabled\:dark\:text-gray-500):disabled{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-cyan-300){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-800\/60){background-color:#1f293799}:is(.dark .group:hover .dark\:group-hover\:bg-green-300){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-indigo-300){--tw-bg-opacity: 1;background-color:rgb(180 198 252 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-lime-300){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-pink-300){--tw-bg-opacity: 1;background-color:rgb(248 180 217 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-purple-300){--tw-bg-opacity: 1;background-color:rgb(202 191 253 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-red-300){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-teal-300){--tw-bg-opacity: 1;background-color:rgb(126 220 226 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-yellow-300){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .group:focus .dark\:group-focus\:ring-gray-800\/70){--tw-ring-color: rgb(31 41 55 / .7)}.peer:focus~:is(.dark .peer-focus\:dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:col-span-3{grid-column:span 3 / span 3}.sm\:col-span-4{grid-column:span 4 / span 4}.sm\:col-span-9{grid-column:span 9 / span 9}.sm\:-mx-4{margin-left:-1rem;margin-right:-1rem}.sm\:mx-auto{margin-left:auto;margin-right:auto}.sm\:mb-0{margin-bottom:0}.sm\:mb-8{margin-bottom:2rem}.sm\:mr-6{margin-right:1.5rem}.sm\:ms-96{margin-inline-start:24rem}.sm\:block{display:block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:h-10{height:2.5rem}.sm\:h-6{height:1.5rem}.sm\:h-7{height:1.75rem}.sm\:h-\[160px\]{height:160px}.sm\:h-\[220px\]{height:220px}.sm\:h-\[400px\]{height:400px}.sm\:h-\[60px\]{height:60px}.sm\:w-1\/2{width:50%}.sm\:w-10{width:2.5rem}.sm\:w-6{width:1.5rem}.sm\:w-96{width:24rem}.sm\:w-auto{width:auto}.sm\:max-w-\[60px\]{max-width:60px}.sm\:max-w-xl{max-width:36rem}.sm\:-rotate-6{--tw-rotate: -6deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:skew-y-0{--tw-skew-y: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:justify-end{justify-content:flex-end}.sm\:rounded-3xl{border-radius:1.5rem}.sm\:p-10{padding:2.5rem}.sm\:p-5{padding:1.25rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:pr-8{padding-right:2rem}.sm\:text-center{text-align:center}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-\[40px\]{font-size:40px}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\:text-xs{font-size:.75rem;line-height:1rem}.sm\:leading-7{line-height:1.75rem}.sm\:leading-\[1\.2\]{line-height:1.2}.sm\:leading-\[1\.44\]{line-height:1.44}.sm\:leading-snug{line-height:1.375}}@media (min-width: 768px){.md\:inset-0{top:0;right:0;bottom:0;left:0}.md\:bottom-10{bottom:2.5rem}.md\:right-10{right:2.5rem}.md\:mx-2{margin-left:.5rem;margin-right:.5rem}.md\:mr-6{margin-right:1.5rem}.md\:mt-0{margin-top:0}.md\:block{display:block}.md\:inline-block{display:inline-block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-\[346px\]{height:346px}.md\:h-\[540px\]{height:540px}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-1\/2{width:50%}.md\:w-1\/3{width:33.333333%}.md\:w-2\/3{width:66.666667%}.md\:w-48{width:12rem}.md\:w-\[30rem\]{width:30rem}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:max-w-xl{max-width:36rem}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-start{justify-content:flex-start}.md\:justify-end{justify-content:flex-end}.md\:justify-between{justify-content:space-between}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:rounded-none{border-radius:0}.md\:rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.md\:border-0{border-width:0px}.md\:bg-transparent{background-color:transparent}.md\:p-0{padding:0}.md\:px-10{padding-left:2.5rem;padding-right:2.5rem}.md\:px-12{padding-left:3rem;padding-right:3rem}.md\:px-20{padding-left:5rem;padding-right:5rem}.md\:py-40{padding-top:10rem;padding-bottom:10rem}.md\:pb-40{padding-bottom:10rem}.md\:pt-14{padding-top:3.5rem}.md\:pt-\[130px\]{padding-top:130px}.md\:text-\[40px\]{font-size:40px}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:font-medium{font-weight:500}.md\:leading-\[1\.2\]{line-height:1.2}.md\:text-cyan-700{--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity))}.md\:hover\:bg-transparent:hover{background-color:transparent}.md\:hover\:text-cyan-700:hover{--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity))}:is(.dark .md\:dark\:hover\:bg-transparent:hover){background-color:transparent}:is(.dark .md\:dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}@media (min-width: 1024px){.lg\:col-span-8{grid-column:span 8 / span 8}.lg\:-mx-2{margin-left:-.5rem;margin-right:-.5rem}.lg\:my-8{margin-top:2rem;margin-bottom:2rem}.lg\:mb-0{margin-bottom:0}.lg\:mb-4{margin-bottom:1rem}.lg\:mb-9{margin-bottom:2.25rem}.lg\:mb-\[70px\]{margin-bottom:70px}.lg\:mt-\[60px\]{margin-top:60px}.lg\:block{display:block}.lg\:h-\[225px\]{height:225px}.lg\:h-\[400px\]{height:400px}.lg\:w-1\/2{width:50%}.lg\:w-1\/4{width:25%}.lg\:p-28{padding:7rem}.lg\:px-2{padding-left:.5rem;padding-right:.5rem}.lg\:pb-\[50px\]{padding-bottom:50px}.lg\:pb-\[70px\]{padding-bottom:70px}.lg\:pt-\[120px\]{padding-top:120px}.lg\:pt-\[160px\]{padding-top:160px}.lg\:pt-\[60px\]{padding-top:60px}.lg\:pt-\[90px\]{padding-top:90px}.lg\:text-5xl{font-size:3rem;line-height:1}.lg\:text-xl{font-size:1.25rem;line-height:1.75rem}.lg\:leading-\[1\.2\]{line-height:1.2}}@media (min-width: 1280px){.xl\:-mx-4{margin-left:-1rem;margin-right:-1rem}.xl\:mb-8{margin-bottom:2rem}.xl\:h-\[310px\]{height:310px}.xl\:h-\[500px\]{height:500px}.xl\:px-4{padding-left:1rem;padding-right:1rem}.xl\:text-2xl{font-size:1.5rem;line-height:2rem}}@media (min-width: 1536px){.\32xl\:w-96{width:24rem}}.rtl\:text-right:where([dir=rtl],[dir=rtl] *){text-align:right}.\[\&\>\*\]\:first\:rounded-t-lg:first-child>*{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.\[\&\>\*\]\:last\:rounded-b-lg:last-child>*{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.\[\&\>\*\]\:last\:border-b-0:last-child>*{border-bottom-width:0px}.loader{position:relative;width:64px;height:64px}.loader div{position:absolute;border:4px solid #454ade;border-radius:50%;animation:loader8435 1s ease-out infinite}.loader div:nth-child(2){animation-delay:-.5s}@keyframes loader8435{0%{top:32px;left:32px;width:0;height:0;opacity:1}to{top:0;left:0;width:64px;height:64px;opacity:0}}.comments-container{max-height:600px;overflow-y:scroll}.view-community .left-side-bar{height:calc(100vh - 55px)}.view-community .right-section{height:calc(100vh - 70px)}:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: #e74c3c;--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient( to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55 );--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;padding:4px;width:var(--toastify-toast-width);box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%)}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right)}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right)}@media only screen and (max-width : 480px){.Toastify__toast-container{width:100vw;padding:0;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}}.Toastify__toast{--y: 0;position:relative;touch-action:none;min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:var(--toastify-toast-bd-radius);box-shadow:0 4px 12px #0000001a;display:flex;justify-content:space-between;max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);cursor:default;direction:ltr;z-index:0;overflow:hidden}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-body{margin:auto 0;flex:1 1 auto;padding:6px;display:flex;align-items:center}.Toastify__toast-body>div:last-child{word-break:break-word;flex:1}.Toastify__toast-icon{margin-inline-end:10px;width:20px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}@media only screen and (max-width : 480px){.Toastify__toast{margin-bottom:0;border-radius:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;align-self:flex-start;z-index:1}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:var(--toastify-z-index);opacity:.7;transform-origin:left;border-bottom-left-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial;border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp{position:absolute;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/client/dist/assets/index-C-3fXsNk.js b/client/dist/assets/index-C-3fXsNk.js new file mode 100644 index 0000000..68b65b8 --- /dev/null +++ b/client/dist/assets/index-C-3fXsNk.js @@ -0,0 +1,212 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/Home-BZigrtH0.js","assets/Home-CtJ0S7Gw.css","assets/Signup-BcB9jmfy.js","assets/formValidator-Jzx2fgUq.js","assets/Login-DCALq6Rt.js","assets/Login-BqoBMKIE.css","assets/MyMindPage-SV9cbw2I.js","assets/functions-DunThPl9.js","assets/MyLawsPage-fhUMTO4b.js","assets/MyBodyPage-BMPXa9Y3.js","assets/Rights-Bc-0wih6.js","assets/timeFormat-BEZOty4m.js","assets/MyBody-CZjamJp9.js","assets/MyMind-B9quhHSs.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +var $5=Object.defineProperty;var z5=(e,t,n)=>t in e?$5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Rd=(e,t,n)=>(z5(e,typeof t!="symbol"?t+"":t,n),n);function F5(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var _r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Cr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var hb={exports:{}},ru={},gb={exports:{}},he={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Pa=Symbol.for("react.element"),B5=Symbol.for("react.portal"),U5=Symbol.for("react.fragment"),H5=Symbol.for("react.strict_mode"),W5=Symbol.for("react.profiler"),V5=Symbol.for("react.provider"),K5=Symbol.for("react.context"),q5=Symbol.for("react.forward_ref"),G5=Symbol.for("react.suspense"),Y5=Symbol.for("react.memo"),X5=Symbol.for("react.lazy"),cg=Symbol.iterator;function Q5(e){return e===null||typeof e!="object"?null:(e=cg&&e[cg]||e["@@iterator"],typeof e=="function"?e:null)}var yb={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},vb=Object.assign,bb={};function qi(e,t,n){this.props=e,this.context=t,this.refs=bb,this.updater=n||yb}qi.prototype.isReactComponent={};qi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};qi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function wb(){}wb.prototype=qi.prototype;function i0(e,t,n){this.props=e,this.context=t,this.refs=bb,this.updater=n||yb}var s0=i0.prototype=new wb;s0.constructor=i0;vb(s0,qi.prototype);s0.isPureReactComponent=!0;var ug=Array.isArray,xb=Object.prototype.hasOwnProperty,a0={current:null},kb={key:!0,ref:!0,__self:!0,__source:!0};function Cb(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)xb.call(t,r)&&!kb.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,X=j[Y];if(0>>1;Yo(I,$))ieo(ue,I)?(j[Y]=ue,j[ie]=$,Y=ie):(j[Y]=I,j[ne]=$,Y=ne);else if(ieo(ue,$))j[Y]=ue,j[ie]=$,Y=ie;else break e}}return W}function o(j,W){var $=j.sortIndex-W.sortIndex;return $!==0?$:j.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],c=[],f=1,d=null,h=3,b=!1,g=!1,v=!1,E=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(j){for(var W=n(c);W!==null;){if(W.callback===null)r(c);else if(W.startTime<=j)r(c),W.sortIndex=W.expirationTime,t(l,W);else break;W=n(c)}}function T(j){if(v=!1,C(j),!g)if(n(l)!==null)g=!0,U(P);else{var W=n(c);W!==null&&B(T,W.startTime-j)}}function P(j,W){g=!1,v&&(v=!1,S(O),O=-1),b=!0;var $=h;try{for(C(W),d=n(l);d!==null&&(!(d.expirationTime>W)||j&&!q());){var Y=d.callback;if(typeof Y=="function"){d.callback=null,h=d.priorityLevel;var X=Y(d.expirationTime<=W);W=e.unstable_now(),typeof X=="function"?d.callback=X:d===n(l)&&r(l),C(W)}else r(l);d=n(l)}if(d!==null)var te=!0;else{var ne=n(c);ne!==null&&B(T,ne.startTime-W),te=!1}return te}finally{d=null,h=$,b=!1}}var N=!1,_=null,O=-1,M=5,A=-1;function q(){return!(e.unstable_now()-Aj||125Y?(j.sortIndex=$,t(c,j),n(l)===null&&j===n(c)&&(v?(S(O),O=-1):v=!0,B(T,$-Y))):(j.sortIndex=X,t(l,j),g||b||(g=!0,U(P))),j},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(j){var W=h;return function(){var $=h;h=W;try{return j.apply(this,arguments)}finally{h=$}}}})(Pb);Tb.exports=Pb;var l4=Tb.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Rb=x,on=l4;function G(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Of=Object.prototype.hasOwnProperty,c4=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,fg={},pg={};function u4(e){return Of.call(pg,e)?!0:Of.call(fg,e)?!1:c4.test(e)?pg[e]=!0:(fg[e]=!0,!1)}function d4(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function f4(e,t,n,r){if(t===null||typeof t>"u"||d4(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Mt(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var wt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){wt[e]=new Mt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];wt[t]=new Mt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){wt[e]=new Mt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){wt[e]=new Mt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){wt[e]=new Mt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){wt[e]=new Mt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){wt[e]=new Mt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){wt[e]=new Mt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){wt[e]=new Mt(e,5,!1,e.toLowerCase(),null,!1,!1)});var c0=/[\-:]([a-z])/g;function u0(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(c0,u0);wt[t]=new Mt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(c0,u0);wt[t]=new Mt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(c0,u0);wt[t]=new Mt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){wt[e]=new Mt(e,1,!1,e.toLowerCase(),null,!1,!1)});wt.xlinkHref=new Mt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){wt[e]=new Mt(e,1,!1,e.toLowerCase(),null,!0,!0)});function d0(e,t,n,r){var o=wt.hasOwnProperty(t)?wt[t]:null;(o!==null?o.type!==0:r||!(2a||o[s]!==i[a]){var l=` +`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{jd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ps(e):""}function p4(e){switch(e.tag){case 5:return Ps(e.type);case 16:return Ps("Lazy");case 13:return Ps("Suspense");case 19:return Ps("SuspenseList");case 0:case 2:case 15:return e=Od(e.type,!1),e;case 11:return e=Od(e.type.render,!1),e;case 1:return e=Od(e.type,!0),e;default:return""}}function Mf(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case fi:return"Fragment";case di:return"Portal";case If:return"Profiler";case f0:return"StrictMode";case Af:return"Suspense";case Lf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case jb:return(e.displayName||"Context")+".Consumer";case _b:return(e._context.displayName||"Context")+".Provider";case p0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case m0:return t=e.displayName||null,t!==null?t:Mf(e.type)||"Memo";case Lr:t=e._payload,e=e._init;try{return Mf(e(t))}catch{}}return null}function m4(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Mf(t);case 8:return t===f0?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function no(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ib(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function h4(e){var t=Ib(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function sl(e){e._valueTracker||(e._valueTracker=h4(e))}function Ab(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ib(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function cc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Df(e,t){var n=t.checked;return Be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function hg(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=no(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Lb(e,t){t=t.checked,t!=null&&d0(e,"checked",t,!1)}function $f(e,t){Lb(e,t);var n=no(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?zf(e,t.type,n):t.hasOwnProperty("defaultValue")&&zf(e,t.type,no(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function gg(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function zf(e,t,n){(t!=="number"||cc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Rs=Array.isArray;function Si(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=al.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ys(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Is={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},g4=["Webkit","ms","Moz","O"];Object.keys(Is).forEach(function(e){g4.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Is[t]=Is[e]})});function zb(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Is.hasOwnProperty(e)&&Is[e]?(""+t).trim():t+"px"}function Fb(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=zb(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var y4=Be({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Uf(e,t){if(t){if(y4[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(G(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(G(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(G(61))}if(t.style!=null&&typeof t.style!="object")throw Error(G(62))}}function Hf(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Wf=null;function h0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Vf=null,Ei=null,Ti=null;function bg(e){if(e=_a(e)){if(typeof Vf!="function")throw Error(G(280));var t=e.stateNode;t&&(t=lu(t),Vf(e.stateNode,e.type,t))}}function Bb(e){Ei?Ti?Ti.push(e):Ti=[e]:Ei=e}function Ub(){if(Ei){var e=Ei,t=Ti;if(Ti=Ei=null,bg(e),t)for(e=0;e>>=0,e===0?32:31-(R4(e)/N4|0)|0}var ll=64,cl=4194304;function Ns(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=Ns(a):(i&=s,i!==0&&(r=Ns(i)))}else s=n&~o,s!==0?r=Ns(s):i!==0&&(r=Ns(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ra(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-An(t),e[t]=n}function I4(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Ls),Rg=" ",Ng=!1;function lw(e,t){switch(e){case"keyup":return aT.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var pi=!1;function cT(e,t){switch(e){case"compositionend":return cw(t);case"keypress":return t.which!==32?null:(Ng=!0,Rg);case"textInput":return e=t.data,e===Rg&&Ng?null:e;default:return null}}function uT(e,t){if(pi)return e==="compositionend"||!C0&&lw(e,t)?(e=sw(),zl=w0=Br=null,pi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ig(n)}}function pw(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function mw(){for(var e=window,t=cc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=cc(e.document)}return t}function S0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function bT(e){var t=mw(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&pw(n.ownerDocument.documentElement,n)){if(r!==null&&S0(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Ag(n,i);var s=Ag(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,mi=null,Qf=null,Ds=null,Jf=!1;function Lg(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Jf||mi==null||mi!==cc(r)||(r=mi,"selectionStart"in r&&S0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ds&&ta(Ds,r)||(Ds=r,r=gc(Qf,"onSelect"),0yi||(e.current=op[yi],op[yi]=null,yi--)}function je(e,t){yi++,op[yi]=e.current,e.current=t}var ro={},_t=lo(ro),Ut=lo(!1),Lo=ro;function Li(e,t){var n=e.type.contextTypes;if(!n)return ro;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ht(e){return e=e.childContextTypes,e!=null}function vc(){Le(Ut),Le(_t)}function Ug(e,t,n){if(_t.current!==ro)throw Error(G(168));je(_t,t),je(Ut,n)}function Cw(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(G(108,m4(e)||"Unknown",o));return Be({},n,r)}function bc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ro,Lo=_t.current,je(_t,e),je(Ut,Ut.current),!0}function Hg(e,t,n){var r=e.stateNode;if(!r)throw Error(G(169));n?(e=Cw(e,t,Lo),r.__reactInternalMemoizedMergedChildContext=e,Le(Ut),Le(_t),je(_t,e)):Le(Ut),je(Ut,n)}var ar=null,cu=!1,Kd=!1;function Sw(e){ar===null?ar=[e]:ar.push(e)}function jT(e){cu=!0,Sw(e)}function co(){if(!Kd&&ar!==null){Kd=!0;var e=0,t=Ce;try{var n=ar;for(Ce=1;e>=s,o-=s,lr=1<<32-An(t)+o|n<O?(M=_,_=null):M=_.sibling;var A=h(S,_,C[O],T);if(A===null){_===null&&(_=M);break}e&&_&&A.alternate===null&&t(S,_),y=i(A,y,O),N===null?P=A:N.sibling=A,N=A,_=M}if(O===C.length)return n(S,_),$e&&bo(S,O),P;if(_===null){for(;OO?(M=_,_=null):M=_.sibling;var q=h(S,_,A.value,T);if(q===null){_===null&&(_=M);break}e&&_&&q.alternate===null&&t(S,_),y=i(q,y,O),N===null?P=q:N.sibling=q,N=q,_=M}if(A.done)return n(S,_),$e&&bo(S,O),P;if(_===null){for(;!A.done;O++,A=C.next())A=d(S,A.value,T),A!==null&&(y=i(A,y,O),N===null?P=A:N.sibling=A,N=A);return $e&&bo(S,O),P}for(_=r(S,_);!A.done;O++,A=C.next())A=b(_,S,O,A.value,T),A!==null&&(e&&A.alternate!==null&&_.delete(A.key===null?O:A.key),y=i(A,y,O),N===null?P=A:N.sibling=A,N=A);return e&&_.forEach(function(z){return t(S,z)}),$e&&bo(S,O),P}function E(S,y,C,T){if(typeof C=="object"&&C!==null&&C.type===fi&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case il:e:{for(var P=C.key,N=y;N!==null;){if(N.key===P){if(P=C.type,P===fi){if(N.tag===7){n(S,N.sibling),y=o(N,C.props.children),y.return=S,S=y;break e}}else if(N.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Lr&&Xg(P)===N.type){n(S,N.sibling),y=o(N,C.props),y.ref=bs(S,N,C),y.return=S,S=y;break e}n(S,N);break}else t(S,N);N=N.sibling}C.type===fi?(y=jo(C.props.children,S.mode,T,C.key),y.return=S,S=y):(T=ql(C.type,C.key,C.props,null,S.mode,T),T.ref=bs(S,y,C),T.return=S,S=T)}return s(S);case di:e:{for(N=C.key;y!==null;){if(y.key===N)if(y.tag===4&&y.stateNode.containerInfo===C.containerInfo&&y.stateNode.implementation===C.implementation){n(S,y.sibling),y=o(y,C.children||[]),y.return=S,S=y;break e}else{n(S,y);break}else t(S,y);y=y.sibling}y=ef(C,S.mode,T),y.return=S,S=y}return s(S);case Lr:return N=C._init,E(S,y,N(C._payload),T)}if(Rs(C))return g(S,y,C,T);if(ms(C))return v(S,y,C,T);gl(S,C)}return typeof C=="string"&&C!==""||typeof C=="number"?(C=""+C,y!==null&&y.tag===6?(n(S,y.sibling),y=o(y,C),y.return=S,S=y):(n(S,y),y=Zd(C,S.mode,T),y.return=S,S=y),s(S)):n(S,y)}return E}var Di=Ow(!0),Iw=Ow(!1),ja={},Gn=lo(ja),ia=lo(ja),sa=lo(ja);function Ro(e){if(e===ja)throw Error(G(174));return e}function I0(e,t){switch(je(sa,t),je(ia,e),je(Gn,ja),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Bf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Bf(t,e)}Le(Gn),je(Gn,t)}function $i(){Le(Gn),Le(ia),Le(sa)}function Aw(e){Ro(sa.current);var t=Ro(Gn.current),n=Bf(t,e.type);t!==n&&(je(ia,e),je(Gn,n))}function A0(e){ia.current===e&&(Le(Gn),Le(ia))}var ze=lo(0);function Ec(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var qd=[];function L0(){for(var e=0;en?n:4,e(!0);var r=Gd.transition;Gd.transition={};try{e(!1),t()}finally{Ce=n,Gd.transition=r}}function Xw(){return Cn().memoizedState}function LT(e,t,n){var r=Xr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qw(e))Jw(t,n);else if(n=Rw(e,t,n,r),n!==null){var o=At();Ln(n,e,r,o),Zw(n,t,r)}}function MT(e,t,n){var r=Xr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qw(e))Jw(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,Mn(a,s)){var l=t.interleaved;l===null?(o.next=o,j0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Rw(e,t,o,r),n!==null&&(o=At(),Ln(n,e,r,o),Zw(n,t,r))}}function Qw(e){var t=e.alternate;return e===Fe||t!==null&&t===Fe}function Jw(e,t){$s=Tc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Zw(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,y0(e,n)}}var Pc={readContext:kn,useCallback:Et,useContext:Et,useEffect:Et,useImperativeHandle:Et,useInsertionEffect:Et,useLayoutEffect:Et,useMemo:Et,useReducer:Et,useRef:Et,useState:Et,useDebugValue:Et,useDeferredValue:Et,useTransition:Et,useMutableSource:Et,useSyncExternalStore:Et,useId:Et,unstable_isNewReconciler:!1},DT={readContext:kn,useCallback:function(e,t){return Fn().memoizedState=[e,t===void 0?null:t],e},useContext:kn,useEffect:Jg,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Hl(4194308,4,Vw.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Hl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Hl(4,2,e,t)},useMemo:function(e,t){var n=Fn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Fn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=LT.bind(null,Fe,e),[r.memoizedState,e]},useRef:function(e){var t=Fn();return e={current:e},t.memoizedState=e},useState:Qg,useDebugValue:F0,useDeferredValue:function(e){return Fn().memoizedState=e},useTransition:function(){var e=Qg(!1),t=e[0];return e=AT.bind(null,e[1]),Fn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Fe,o=Fn();if($e){if(n===void 0)throw Error(G(407));n=n()}else{if(n=t(),pt===null)throw Error(G(349));Do&30||Dw(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Jg(zw.bind(null,r,i,e),[e]),r.flags|=2048,ca(9,$w.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Fn(),t=pt.identifierPrefix;if($e){var n=cr,r=lr;n=(r&~(1<<32-An(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=aa++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Hn]=t,e[oa]=r,lx(e,t,!1,!1),t.stateNode=e;e:{switch(s=Hf(n,r),n){case"dialog":Ie("cancel",e),Ie("close",e),o=r;break;case"iframe":case"object":case"embed":Ie("load",e),o=r;break;case"video":case"audio":for(o=0;o<_s.length;o++)Ie(_s[o],e);o=r;break;case"source":Ie("error",e),o=r;break;case"img":case"image":case"link":Ie("error",e),Ie("load",e),o=r;break;case"details":Ie("toggle",e),o=r;break;case"input":hg(e,r),o=Df(e,r),Ie("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Be({},r,{value:void 0}),Ie("invalid",e);break;case"textarea":yg(e,r),o=Ff(e,r),Ie("invalid",e);break;default:o=r}Uf(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?Fb(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&$b(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Ys(e,l):typeof l=="number"&&Ys(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Gs.hasOwnProperty(i)?l!=null&&i==="onScroll"&&Ie("scroll",e):l!=null&&d0(e,i,l,s))}switch(n){case"input":sl(e),gg(e,r,!1);break;case"textarea":sl(e),vg(e);break;case"option":r.value!=null&&e.setAttribute("value",""+no(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Si(e,!!r.multiple,i,!1):r.defaultValue!=null&&Si(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=yc)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Tt(t),null;case 6:if(e&&t.stateNode!=null)ux(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(G(166));if(n=Ro(sa.current),Ro(Gn.current),hl(t)){if(r=t.stateNode,n=t.memoizedProps,r[Hn]=t,(i=r.nodeValue!==n)&&(e=nn,e!==null))switch(e.tag){case 3:ml(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ml(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Hn]=t,t.stateNode=r}return Tt(t),null;case 13:if(Le(ze),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if($e&&Zt!==null&&t.mode&1&&!(t.flags&128))Pw(),Mi(),t.flags|=98560,i=!1;else if(i=hl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(G(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(G(317));i[Hn]=t}else Mi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Tt(t),i=!1}else On!==null&&(Cp(On),On=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ze.current&1?lt===0&&(lt=3):q0())),t.updateQueue!==null&&(t.flags|=4),Tt(t),null);case 4:return $i(),hp(e,t),e===null&&na(t.stateNode.containerInfo),Tt(t),null;case 10:return _0(t.type._context),Tt(t),null;case 17:return Ht(t.type)&&vc(),Tt(t),null;case 19:if(Le(ze),i=t.memoizedState,i===null)return Tt(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)ws(i,!1);else{if(lt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Ec(e),s!==null){for(t.flags|=128,ws(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return je(ze,ze.current&1|2),t.child}e=e.sibling}i.tail!==null&&Ye()>Fi&&(t.flags|=128,r=!0,ws(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ec(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ws(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!$e)return Tt(t),null}else 2*Ye()-i.renderingStartTime>Fi&&n!==1073741824&&(t.flags|=128,r=!0,ws(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ye(),t.sibling=null,n=ze.current,je(ze,r?n&1|2:n&1),t):(Tt(t),null);case 22:case 23:return K0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Qt&1073741824&&(Tt(t),t.subtreeFlags&6&&(t.flags|=8192)):Tt(t),null;case 24:return null;case 25:return null}throw Error(G(156,t.tag))}function VT(e,t){switch(T0(t),t.tag){case 1:return Ht(t.type)&&vc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $i(),Le(Ut),Le(_t),L0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return A0(t),null;case 13:if(Le(ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(G(340));Mi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Le(ze),null;case 4:return $i(),null;case 10:return _0(t.type._context),null;case 22:case 23:return K0(),null;case 24:return null;default:return null}}var vl=!1,Nt=!1,KT=typeof WeakSet=="function"?WeakSet:Set,ee=null;function xi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ke(e,t,r)}else n.current=null}function gp(e,t,n){try{n()}catch(r){Ke(e,t,r)}}var ay=!1;function qT(e,t){if(Zf=mc,e=mw(),S0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,f=0,d=e,h=null;t:for(;;){for(var b;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(b=d.firstChild)!==null;)h=d,d=b;for(;;){if(d===e)break t;if(h===n&&++c===o&&(a=s),h===i&&++f===r&&(l=s),(b=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=b}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(ep={focusedElem:e,selectionRange:n},mc=!1,ee=t;ee!==null;)if(t=ee,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ee=e;else for(;ee!==null;){t=ee;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var v=g.memoizedProps,E=g.memoizedState,S=t.stateNode,y=S.getSnapshotBeforeUpdate(t.elementType===t.type?v:_n(t.type,v),E);S.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var C=t.stateNode.containerInfo;C.nodeType===1?C.textContent="":C.nodeType===9&&C.documentElement&&C.removeChild(C.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(G(163))}}catch(T){Ke(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,ee=e;break}ee=t.return}return g=ay,ay=!1,g}function zs(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&gp(t,n,i)}o=o.next}while(o!==r)}}function fu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function yp(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function dx(e){var t=e.alternate;t!==null&&(e.alternate=null,dx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Hn],delete t[oa],delete t[rp],delete t[NT],delete t[_T])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function fx(e){return e.tag===5||e.tag===3||e.tag===4}function ly(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fx(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function vp(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=yc));else if(r!==4&&(e=e.child,e!==null))for(vp(e,t,n),e=e.sibling;e!==null;)vp(e,t,n),e=e.sibling}function bp(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(bp(e,t,n),e=e.sibling;e!==null;)bp(e,t,n),e=e.sibling}var gt=null,jn=!1;function jr(e,t,n){for(n=n.child;n!==null;)px(e,t,n),n=n.sibling}function px(e,t,n){if(qn&&typeof qn.onCommitFiberUnmount=="function")try{qn.onCommitFiberUnmount(ou,n)}catch{}switch(n.tag){case 5:Nt||xi(n,t);case 6:var r=gt,o=jn;gt=null,jr(e,t,n),gt=r,jn=o,gt!==null&&(jn?(e=gt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):gt.removeChild(n.stateNode));break;case 18:gt!==null&&(jn?(e=gt,n=n.stateNode,e.nodeType===8?Vd(e.parentNode,n):e.nodeType===1&&Vd(e,n),Zs(e)):Vd(gt,n.stateNode));break;case 4:r=gt,o=jn,gt=n.stateNode.containerInfo,jn=!0,jr(e,t,n),gt=r,jn=o;break;case 0:case 11:case 14:case 15:if(!Nt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&gp(n,t,s),o=o.next}while(o!==r)}jr(e,t,n);break;case 1:if(!Nt&&(xi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ke(n,t,a)}jr(e,t,n);break;case 21:jr(e,t,n);break;case 22:n.mode&1?(Nt=(r=Nt)||n.memoizedState!==null,jr(e,t,n),Nt=r):jr(e,t,n);break;default:jr(e,t,n)}}function cy(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new KT),t.forEach(function(r){var o=nP.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Nn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=Ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*YT(r/1960))-r,10e?16:e,Ur===null)var r=!1;else{if(e=Ur,Ur=null,_c=0,ve&6)throw Error(G(331));var o=ve;for(ve|=4,ee=e.current;ee!==null;){var i=ee,s=i.child;if(ee.flags&16){var a=i.deletions;if(a!==null){for(var l=0;lYe()-W0?_o(e,0):H0|=n),Wt(e,t)}function xx(e,t){t===0&&(e.mode&1?(t=cl,cl<<=1,!(cl&130023424)&&(cl=4194304)):t=1);var n=At();e=gr(e,t),e!==null&&(Ra(e,t,n),Wt(e,n))}function tP(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),xx(e,n)}function nP(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(G(314))}r!==null&&r.delete(t),xx(e,n)}var kx;kx=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ut.current)Bt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Bt=!1,HT(e,t,n);Bt=!!(e.flags&131072)}else Bt=!1,$e&&t.flags&1048576&&Ew(t,xc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wl(e,t),e=t.pendingProps;var o=Li(t,_t.current);Ri(t,n),o=D0(null,t,r,e,o,n);var i=$0();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ht(r)?(i=!0,bc(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,O0(t),o.updater=uu,t.stateNode=o,o._reactInternals=t,cp(t,r,e,n),t=fp(null,t,r,!0,i,n)):(t.tag=0,$e&&i&&E0(t),jt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wl(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=oP(r),e=_n(r,e),o){case 0:t=dp(null,t,r,e,n);break e;case 1:t=oy(null,t,r,e,n);break e;case 11:t=ny(null,t,r,e,n);break e;case 14:t=ry(null,t,r,_n(r.type,e),n);break e}throw Error(G(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:_n(r,o),dp(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:_n(r,o),oy(e,t,r,o,n);case 3:e:{if(ix(t),e===null)throw Error(G(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Nw(e,t),Sc(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=zi(Error(G(423)),t),t=iy(e,t,r,n,o);break e}else if(r!==o){o=zi(Error(G(424)),t),t=iy(e,t,r,n,o);break e}else for(Zt=qr(t.stateNode.containerInfo.firstChild),nn=t,$e=!0,On=null,n=Iw(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Mi(),r===o){t=yr(e,t,n);break e}jt(e,t,r,n)}t=t.child}return t;case 5:return Aw(t),e===null&&sp(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,tp(r,o)?s=null:i!==null&&tp(r,i)&&(t.flags|=32),ox(e,t),jt(e,t,s,n),t.child;case 6:return e===null&&sp(t),null;case 13:return sx(e,t,n);case 4:return I0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Di(t,null,r,n):jt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:_n(r,o),ny(e,t,r,o,n);case 7:return jt(e,t,t.pendingProps,n),t.child;case 8:return jt(e,t,t.pendingProps.children,n),t.child;case 12:return jt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,je(kc,r._currentValue),r._currentValue=s,i!==null)if(Mn(i.value,s)){if(i.children===o.children&&!Ut.current){t=yr(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=ur(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?l.next=l:(l.next=f.next,f.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),ap(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(G(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),ap(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}jt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ri(t,n),o=kn(o),r=r(o),t.flags|=1,jt(e,t,r,n),t.child;case 14:return r=t.type,o=_n(r,t.pendingProps),o=_n(r.type,o),ry(e,t,r,o,n);case 15:return nx(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:_n(r,o),Wl(e,t),t.tag=1,Ht(r)?(e=!0,bc(t)):e=!1,Ri(t,n),jw(t,r,o),cp(t,r,o,n),fp(null,t,r,!0,e,n);case 19:return ax(e,t,n);case 22:return rx(e,t,n)}throw Error(G(156,t.tag))};function Cx(e,t){return Yb(e,t)}function rP(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bn(e,t,n,r){return new rP(e,t,n,r)}function G0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function oP(e){if(typeof e=="function")return G0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===p0)return 11;if(e===m0)return 14}return 2}function Qr(e,t){var n=e.alternate;return n===null?(n=bn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ql(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")G0(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case fi:return jo(n.children,o,i,t);case f0:s=8,o|=8;break;case If:return e=bn(12,n,t,o|2),e.elementType=If,e.lanes=i,e;case Af:return e=bn(13,n,t,o),e.elementType=Af,e.lanes=i,e;case Lf:return e=bn(19,n,t,o),e.elementType=Lf,e.lanes=i,e;case Ob:return mu(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _b:s=10;break e;case jb:s=9;break e;case p0:s=11;break e;case m0:s=14;break e;case Lr:s=16,r=null;break e}throw Error(G(130,e==null?e:typeof e,""))}return t=bn(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function jo(e,t,n,r){return e=bn(7,e,r,t),e.lanes=n,e}function mu(e,t,n,r){return e=bn(22,e,r,t),e.elementType=Ob,e.lanes=n,e.stateNode={isHidden:!1},e}function Zd(e,t,n){return e=bn(6,e,null,t),e.lanes=n,e}function ef(e,t,n){return t=bn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function iP(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ad(0),this.expirationTimes=Ad(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ad(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Y0(e,t,n,r,o,i,s,a,l){return e=new iP(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=bn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},O0(i),e}function sP(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Px)}catch(e){console.error(e)}}Px(),Eb.exports=cn;var Oa=Eb.exports;const xl=nu(Oa);var yy=Oa;jf.createRoot=yy.createRoot,jf.hydrateRoot=yy.hydrateRoot;/** + * @remix-run/router v1.15.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function da(){return da=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Rx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function fP(){return Math.random().toString(36).substr(2,8)}function by(e,t){return{usr:e.state,key:e.key,idx:t}}function Sp(e,t,n,r){return n===void 0&&(n=null),da({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Xi(t):t,{state:n,key:t&&t.key||r||fP()})}function Ic(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Xi(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function pP(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=Hr.Pop,l=null,c=f();c==null&&(c=0,s.replaceState(da({},s.state,{idx:c}),""));function f(){return(s.state||{idx:null}).idx}function d(){a=Hr.Pop;let E=f(),S=E==null?null:E-c;c=E,l&&l({action:a,location:v.location,delta:S})}function h(E,S){a=Hr.Push;let y=Sp(v.location,E,S);n&&n(y,E),c=f()+1;let C=by(y,c),T=v.createHref(y);try{s.pushState(C,"",T)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;o.location.assign(T)}i&&l&&l({action:a,location:v.location,delta:1})}function b(E,S){a=Hr.Replace;let y=Sp(v.location,E,S);n&&n(y,E),c=f();let C=by(y,c),T=v.createHref(y);s.replaceState(C,"",T),i&&l&&l({action:a,location:v.location,delta:0})}function g(E){let S=o.location.origin!=="null"?o.location.origin:o.location.href,y=typeof E=="string"?E:Ic(E);return y=y.replace(/ $/,"%20"),Xe(S,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,S)}let v={get action(){return a},get location(){return e(o,s)},listen(E){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(vy,d),l=E,()=>{o.removeEventListener(vy,d),l=null}},createHref(E){return t(o,E)},createURL:g,encodeLocation(E){let S=g(E);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:h,replace:b,go(E){return s.go(E)}};return v}var wy;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(wy||(wy={}));function mP(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Xi(t):t,o=Z0(r.pathname||"/",n);if(o==null)return null;let i=Nx(e);hP(i);let s=null;for(let a=0;s==null&&a{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(Xe(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=Jr([r,l.relativePath]),f=n.concat(l);i.children&&i.children.length>0&&(Xe(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Nx(i.children,t,f,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:kP(c,i.index),routesMeta:f})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of _x(i.path))o(i,s,l)}),t}function _x(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=_x(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function hP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:CP(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const gP=/^:[\w-]+$/,yP=3,vP=2,bP=1,wP=10,xP=-2,xy=e=>e==="*";function kP(e,t){let n=e.split("/"),r=n.length;return n.some(xy)&&(r+=xP),t&&(r+=vP),n.filter(o=>!xy(o)).reduce((o,i)=>o+(gP.test(i)?yP:i===""?bP:wP),r)}function CP(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function SP(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let s=0;s{let{paramName:h,isOptional:b}=f;if(h==="*"){let v=a[d]||"";s=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const g=a[d];return b&&!g?c[h]=void 0:c[h]=(g||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:s,pattern:e}}function TP(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Rx(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function PP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Rx(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Z0(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function RP(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Xi(e):e;return{pathname:n?n.startsWith("/")?n:NP(n,t):t,search:OP(r),hash:IP(o)}}function NP(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function tf(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function _P(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function em(e,t){let n=_P(e);return t?n.map((r,o)=>o===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function tm(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Xi(e):(o=da({},e),Xe(!o.pathname||!o.pathname.includes("?"),tf("?","pathname","search",o)),Xe(!o.pathname||!o.pathname.includes("#"),tf("#","pathname","hash",o)),Xe(!o.search||!o.search.includes("#"),tf("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),d-=1;o.pathname=h.join("/")}a=d>=0?t[d]:"/"}let l=RP(o,a),c=s&&s!=="/"&&s.endsWith("/"),f=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||f)&&(l.pathname+="/"),l}const Jr=e=>e.join("/").replace(/\/\/+/g,"/"),jP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),OP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,IP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function AP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const jx=["post","put","patch","delete"];new Set(jx);const LP=["get",...jx];new Set(LP);/** + * React Router v6.22.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function fa(){return fa=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),x.useCallback(function(c,f){if(f===void 0&&(f={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let d=tm(c,JSON.parse(s),i,f.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Jr([t,d.pathname])),(f.replace?r.replace:r.push)(d,f.state,f)},[t,r,s,i,e])}const zP=x.createContext(null);function FP(e){let t=x.useContext(Zn).outlet;return t&&x.createElement(zP.Provider,{value:e},t)}function Ax(){let{matches:e}=x.useContext(Zn),t=e[e.length-1];return t?t.params:{}}function Lx(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(uo),{matches:o}=x.useContext(Zn),{pathname:i}=Ia(),s=JSON.stringify(em(o,r.v7_relativeSplatPath));return x.useMemo(()=>tm(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function BP(e,t){return UP(e,t)}function UP(e,t,n,r){Qi()||Xe(!1);let{navigator:o}=x.useContext(uo),{matches:i}=x.useContext(Zn),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let c=Ia(),f;if(t){var d;let E=typeof t=="string"?Xi(t):t;l==="/"||(d=E.pathname)!=null&&d.startsWith(l)||Xe(!1),f=E}else f=c;let h=f.pathname||"/",b=h;if(l!=="/"){let E=l.replace(/^\//,"").split("/");b="/"+h.replace(/^\//,"").split("/").slice(E.length).join("/")}let g=mP(e,{pathname:b}),v=qP(g&&g.map(E=>Object.assign({},E,{params:Object.assign({},a,E.params),pathname:Jr([l,o.encodeLocation?o.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?l:Jr([l,o.encodeLocation?o.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),i,n,r);return t&&v?x.createElement(bu.Provider,{value:{location:fa({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:Hr.Pop}},v):v}function HP(){let e=QP(),t=AP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const WP=x.createElement(HP,null);class VP extends x.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(Zn.Provider,{value:this.props.routeContext},x.createElement(Ox.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function KP(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(nm);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Zn.Provider,{value:t},r)}function qP(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let f=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id]));f>=0||Xe(!1),s=s.slice(0,Math.min(s.length,f+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((f,d,h)=>{let b,g=!1,v=null,E=null;n&&(b=a&&d.route.id?a[d.route.id]:void 0,v=d.route.errorElement||WP,l&&(c<0&&h===0?(ZP("route-fallback",!1),g=!0,E=null):c===h&&(g=!0,E=d.route.hydrateFallbackElement||null)));let S=t.concat(s.slice(0,h+1)),y=()=>{let C;return b?C=v:g?C=E:d.route.Component?C=x.createElement(d.route.Component,null):d.route.element?C=d.route.element:C=f,x.createElement(KP,{match:d,routeContext:{outlet:f,matches:S,isDataRoute:n!=null},children:C})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?x.createElement(VP,{location:n.location,revalidation:n.revalidation,component:v,error:b,children:y(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):y()},null)}var Mx=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Mx||{}),Ac=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ac||{});function GP(e){let t=x.useContext(nm);return t||Xe(!1),t}function YP(e){let t=x.useContext(MP);return t||Xe(!1),t}function XP(e){let t=x.useContext(Zn);return t||Xe(!1),t}function Dx(e){let t=XP(),n=t.matches[t.matches.length-1];return n.route.id||Xe(!1),n.route.id}function QP(){var e;let t=x.useContext(Ox),n=YP(Ac.UseRouteError),r=Dx(Ac.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function JP(){let{router:e}=GP(Mx.UseNavigateStable),t=Dx(Ac.UseNavigateStable),n=x.useRef(!1);return Ix(()=>{n.current=!0}),x.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,fa({fromRouteId:t},i)))},[e,t])}const ky={};function ZP(e,t,n){!t&&!ky[e]&&(ky[e]=!0)}function e3(e){let{to:t,replace:n,state:r,relative:o}=e;Qi()||Xe(!1);let{future:i,static:s}=x.useContext(uo),{matches:a}=x.useContext(Zn),{pathname:l}=Ia(),c=Ji(),f=tm(t,em(a,i.v7_relativeSplatPath),l,o==="path"),d=JSON.stringify(f);return x.useEffect(()=>c(JSON.parse(d),{replace:n,state:r,relative:o}),[c,d,o,n,r]),null}function $x(e){return FP(e.context)}function nt(e){Xe(!1)}function t3(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Hr.Pop,navigator:i,static:s=!1,future:a}=e;Qi()&&Xe(!1);let l=t.replace(/^\/*/,"/"),c=x.useMemo(()=>({basename:l,navigator:i,static:s,future:fa({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=Xi(r));let{pathname:f="/",search:d="",hash:h="",state:b=null,key:g="default"}=r,v=x.useMemo(()=>{let E=Z0(f,l);return E==null?null:{location:{pathname:E,search:d,hash:h,state:b,key:g},navigationType:o}},[l,f,d,h,b,g,o]);return v==null?null:x.createElement(uo.Provider,{value:c},x.createElement(bu.Provider,{children:n,value:v}))}function rm(e){let{children:t,location:n}=e;return BP(Ep(t),n)}new Promise(()=>{});function Ep(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let i=[...t,o];if(r.type===x.Fragment){n.push.apply(n,Ep(r.props.children,i));return}r.type!==nt&&Xe(!1),!r.props.index||!r.props.children||Xe(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Ep(r.props.children,i)),n.push(s)}),n}const n3="modulepreload",r3=function(e){return"/"+e},Cy={},Tn=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link");o=Promise.all(n.map(s=>{if(s=r3(s),s in Cy)return;Cy[s]=!0;const a=s.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(!!r)for(let d=i.length-1;d>=0;d--){const h=i[d];if(h.href===s&&(!a||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${l}`))return;const f=document.createElement("link");if(f.rel=a?"stylesheet":n3,a||(f.as="script",f.crossOrigin=""),f.href=s,document.head.appendChild(f),a)return new Promise((d,h)=>{f.addEventListener("load",d),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${s}`)))})}))}return o.then(()=>t()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})};function om(){return m.jsx(m.Fragment,{children:m.jsx("div",{className:"bg-background h-screen w-full flex justify-center items-center",children:m.jsxs("div",{className:"loader",children:[m.jsx("div",{}),m.jsx("div",{})]})})})}/** + * React Router DOM v6.22.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Tp(){return Tp=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function i3(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function s3(e,t){return e.button===0&&(!t||t==="_self")&&!i3(e)}const a3=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],l3="6";try{window.__reactRouterVersion=l3}catch{}const c3="startTransition",Sy=to[c3];function u3(e){let{basename:t,children:n,future:r,window:o}=e,i=x.useRef();i.current==null&&(i.current=dP({window:o,v5Compat:!0}));let s=i.current,[a,l]=x.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},f=x.useCallback(d=>{c&&Sy?Sy(()=>l(d)):l(d)},[l,c]);return x.useLayoutEffect(()=>s.listen(f),[s,f]),x.createElement(t3,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const d3=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",f3=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,p3=x.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:c,preventScrollReset:f,unstable_viewTransition:d}=t,h=o3(t,a3),{basename:b}=x.useContext(uo),g,v=!1;if(typeof c=="string"&&f3.test(c)&&(g=c,d3))try{let C=new URL(window.location.href),T=c.startsWith("//")?new URL(C.protocol+c):new URL(c),P=Z0(T.pathname,b);T.origin===C.origin&&P!=null?c=P+T.search+T.hash:v=!0}catch{}let E=DP(c,{relative:o}),S=m3(c,{replace:s,state:a,target:l,preventScrollReset:f,relative:o,unstable_viewTransition:d});function y(C){r&&r(C),C.defaultPrevented||S(C)}return x.createElement("a",Tp({},h,{href:g||E,onClick:v||i?r:y,ref:n,target:l}))});var Ey;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ey||(Ey={}));var Ty;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ty||(Ty={}));function m3(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,l=Ji(),c=Ia(),f=Lx(e,{relative:s});return x.useCallback(d=>{if(s3(d,n)){d.preventDefault();let h=r!==void 0?r:Ic(c)===Ic(f);l(e,{replace:h,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a})}},[c,l,f,r,o,n,e,i,s,a])}function h3(){const e=Ji(),t=localStorage.getItem("user"),n=JSON.parse(t);return x.useEffect(()=>{(n==null?void 0:n.role)==="ADMIN"?e("/admin"):(n==null?void 0:n.role)==="USER"&&e("/home")},[n,e]),m.jsx(m.Fragment,{children:t?null:m.jsx($x,{})})}/*! js-cookie v3.0.5 | MIT */function kl(e){for(var t=1;t"u")){s=kl({},t,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in s)s[l]&&(a+="; "+l,s[l]!==!0&&(a+="="+s[l].split(";")[0]));return document.cookie=o+"="+e.write(i,o)+a}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var i=document.cookie?document.cookie.split("; "):[],s={},a=0;a{throw new Error("uSES not initialized!")};function im(e=oo){return function(){return en.useContext(e)}}var Wx=im(),Vx=j3,O3=e=>{Vx=e},I3=(e,t)=>e===t;function A3(e=oo){const t=e===oo?Wx:im(e),n=(r,o={})=>{const{equalityFn:i=I3,devModeChecks:s={}}=typeof o=="function"?{equalityFn:o}:o,{store:a,subscription:l,getServerState:c,stabilityCheck:f,identityFunctionCheck:d}=t();en.useRef(!0);const h=en.useCallback({[r.name](g){return r(g)}}[r.name],[r,f,s.stabilityCheck]),b=Vx(l.addNestedSub,a.getState,c||a.getState,h,i);return en.useDebugValue(b),b};return Object.assign(n,{withTypes:()=>n}),n}var vr=A3();function L3(e){e()}function M3(){let e=null,t=null;return{clear(){e=null,t=null},notify(){L3(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!r||e===null||(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}var Ny={notify(){},get:()=>[]};function D3(e,t){let n,r=Ny,o=0,i=!1;function s(v){f();const E=r.subscribe(v);let S=!1;return()=>{S||(S=!0,E(),d())}}function a(){r.notify()}function l(){g.onStateChange&&g.onStateChange()}function c(){return i}function f(){o++,n||(n=t?t.addNestedSub(l):e.subscribe(l),r=M3())}function d(){o--,n&&o===0&&(n(),n=void 0,r.clear(),r=Ny)}function h(){i||(i=!0,f())}function b(){i&&(i=!1,d())}const g={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:l,isSubscribed:c,trySubscribe:h,tryUnsubscribe:b,getListeners:()=>r};return g}var $3=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",z3=$3?en.useLayoutEffect:en.useEffect;function F3({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",identityFunctionCheck:i="once"}){const s=en.useMemo(()=>{const c=D3(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:o,identityFunctionCheck:i}},[e,r,o,i]),a=en.useMemo(()=>e.getState(),[e]);z3(()=>{const{subscription:c}=s;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),a!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[s,a]);const l=t||oo;return en.createElement(l.Provider,{value:s},n)}var B3=F3;function Kx(e=oo){const t=e===oo?Wx:im(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var U3=Kx();function H3(e=oo){const t=e===oo?U3:Kx(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Ko=H3();O3(N3.useSyncExternalStoreWithSelector);function sm({role:e}){const{user:t}=vr(o=>o.auth),r=Gl.get("token")&&t&&t.role===e;return m.jsx(m.Fragment,{children:r?m.jsx($x,{}):m.jsx(e3,{to:"/"})})}sm.propTypes={role:ft.string.isRequired};var am={},qx={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(qx);var lm=qx.exports,nf={};function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=Gx(e[n])}),t}function Yn(e,t,n={clone:!0}){const r=n.clone?J({},e):e;return zr(e)&&zr(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(zr(t[o])&&o in e&&zr(e[o])?r[o]=Yn(e[o],t[o],n):n.clone?r[o]=zr(t[o])?Gx(t[o]):t[o]:r[o]=t[o])}),r}const W3=Object.freeze(Object.defineProperty({__proto__:null,default:Yn,isPlainObject:zr},Symbol.toStringTag,{value:"Module"}));function pa(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Zx(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function J3(e,t){return()=>null}function Z3(e,t){var n,r;return x.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function dr(e){return e&&e.ownerDocument||document}function Zi(e){return dr(e).defaultView||window}function eR(e,t){return()=>null}function Lc(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const tR=typeof window<"u"?x.useLayoutEffect:x.useEffect,Mc=tR;let Oy=0;function nR(e){const[t,n]=x.useState(e),r=e||t;return x.useEffect(()=>{t==null&&(Oy+=1,n(`mui-${Oy}`))},[t]),r}const Iy=to.useId;function rR(e){if(Iy!==void 0){const t=Iy();return e??t}return nR(e)}function oR(e,t,n,r,o){return null}function iR({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=x.useRef(e!==void 0),[i,s]=x.useState(t),a=o?e:i,l=x.useCallback(c=>{o||s(c)},[]);return[a,l]}function Np(e){const t=x.useRef(e);return Mc(()=>{t.current=e}),x.useRef((...n)=>(0,t.current)(...n)).current}function qo(...e){return x.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Lc(n,t)})},e)}class dm{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new dm}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}let _u=!0,_p=!1;const sR=new dm,aR={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function lR(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&aR[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function cR(e){e.metaKey||e.altKey||e.ctrlKey||(_u=!0)}function rf(){_u=!1}function uR(){this.visibilityState==="hidden"&&_p&&(_u=!0)}function dR(e){e.addEventListener("keydown",cR,!0),e.addEventListener("mousedown",rf,!0),e.addEventListener("pointerdown",rf,!0),e.addEventListener("touchstart",rf,!0),e.addEventListener("visibilitychange",uR,!0)}function fR(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return _u||lR(t)}function pR(){const e=x.useCallback(o=>{o!=null&&dR(o.ownerDocument)},[]),t=x.useRef(!1);function n(){return t.current?(_p=!0,sR.start(100,()=>{_p=!1}),t.current=!1,!0):!1}function r(o){return fR(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function mR(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function e1(e,t){const n=J({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=J({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=J({},i),Object.keys(o).forEach(s=>{n[r][s]=e1(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function La(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>{if(s){const a=t(s);a!==""&&i.push(a),n&&n[s]&&i.push(n[s])}return i},[]).join(" ")}),r}const Ay=e=>e,hR=()=>{let e=Ay;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Ay}}},t1=hR(),gR={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function es(e,t,n="Mui"){const r=gR[t];return r?`${n}-${r}`:`${t1.generate(e)}-${t}`}function Ma(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=es(e,o,n)}),r}function yR(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const vR=Object.freeze(Object.defineProperty({__proto__:null,default:yR},Symbol.toStringTag,{value:"Module"}));function xt(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function n1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>J({},n,{[r.key]:r.val}),{})};function r1(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=xt(e,wR),i=xR(t),s=Object.keys(i);function a(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n})`}function l(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-r/100}${n})`}function c(h,b){const g=s.indexOf(b);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n}) and (max-width:${(g!==-1&&typeof t[s[g]]=="number"?t[s[g]]:b)-r/100}${n})`}function f(h){return s.indexOf(h)+1`@media (min-width:${fm[e]}px)`};function br(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Ly;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const i=r.breakpoints||Ly;return Object.keys(t).reduce((s,a)=>{if(Object.keys(i.values||fm).indexOf(a)!==-1){const l=i.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function SR(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function ER(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function ju(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Dc(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=ju(e,n)||r,t&&(o=t(o,r,e)),o}function Je(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,c=ju(l,r)||{};return br(s,a,d=>{let h=Dc(c,o,d);return d===h&&typeof d=="string"&&(h=Dc(c,o,`${t}${d==="default"?"":Sn(d)}`,d)),n===!1?h:{[n]:h}})};return i.propTypes={},i.filterProps=[t],i}function TR(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const PR={m:"margin",p:"padding"},RR={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},My={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},NR=TR(e=>{if(e.length>2)if(My[e])e=My[e];else return[e];const[t,n]=e.split(""),r=PR[t],o=RR[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),pm=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],mm=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...pm,...mm];function Da(e,t,n,r){var o;const i=(o=ju(e,t,!1))!=null?o:n;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function o1(e){return Da(e,"spacing",8)}function $a(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function _R(e,t){return n=>e.reduce((r,o)=>(r[o]=$a(t,n),r),{})}function jR(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=NR(n),i=_R(o,r),s=e[n];return br(e,s,i)}function i1(e,t){const n=o1(e.theme);return Object.keys(e).map(r=>jR(e,t,r,n)).reduce(Us,{})}function We(e){return i1(e,pm)}We.propTypes={};We.filterProps=pm;function Ve(e){return i1(e,mm)}Ve.propTypes={};Ve.filterProps=mm;function OR(e=8){if(e.mui)return e;const t=o1({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Ou(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Us(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function vn(e){return typeof e!="number"?e:`${e}px solid`}function Rn(e,t){return Je({prop:e,themeKey:"borders",transform:t})}const IR=Rn("border",vn),AR=Rn("borderTop",vn),LR=Rn("borderRight",vn),MR=Rn("borderBottom",vn),DR=Rn("borderLeft",vn),$R=Rn("borderColor"),zR=Rn("borderTopColor"),FR=Rn("borderRightColor"),BR=Rn("borderBottomColor"),UR=Rn("borderLeftColor"),HR=Rn("outline",vn),WR=Rn("outlineColor"),Iu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Da(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:$a(t,r)});return br(e,e.borderRadius,n)}return null};Iu.propTypes={};Iu.filterProps=["borderRadius"];Ou(IR,AR,LR,MR,DR,$R,zR,FR,BR,UR,Iu,HR,WR);const Au=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Da(e.theme,"spacing",8),n=r=>({gap:$a(t,r)});return br(e,e.gap,n)}return null};Au.propTypes={};Au.filterProps=["gap"];const Lu=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Da(e.theme,"spacing",8),n=r=>({columnGap:$a(t,r)});return br(e,e.columnGap,n)}return null};Lu.propTypes={};Lu.filterProps=["columnGap"];const Mu=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Da(e.theme,"spacing",8),n=r=>({rowGap:$a(t,r)});return br(e,e.rowGap,n)}return null};Mu.propTypes={};Mu.filterProps=["rowGap"];const VR=Je({prop:"gridColumn"}),KR=Je({prop:"gridRow"}),qR=Je({prop:"gridAutoFlow"}),GR=Je({prop:"gridAutoColumns"}),YR=Je({prop:"gridAutoRows"}),XR=Je({prop:"gridTemplateColumns"}),QR=Je({prop:"gridTemplateRows"}),JR=Je({prop:"gridTemplateAreas"}),ZR=Je({prop:"gridArea"});Ou(Au,Lu,Mu,VR,KR,qR,GR,YR,XR,QR,JR,ZR);function _i(e,t){return t==="grey"?t:e}const eN=Je({prop:"color",themeKey:"palette",transform:_i}),tN=Je({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:_i}),nN=Je({prop:"backgroundColor",themeKey:"palette",transform:_i});Ou(eN,tN,nN);function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}const rN=Je({prop:"width",transform:Jt}),hm=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||fm[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Jt(n)}};return br(e,e.maxWidth,t)}return null};hm.filterProps=["maxWidth"];const oN=Je({prop:"minWidth",transform:Jt}),iN=Je({prop:"height",transform:Jt}),sN=Je({prop:"maxHeight",transform:Jt}),aN=Je({prop:"minHeight",transform:Jt});Je({prop:"size",cssProperty:"width",transform:Jt});Je({prop:"size",cssProperty:"height",transform:Jt});const lN=Je({prop:"boxSizing"});Ou(rN,hm,oN,iN,sN,aN,lN);const cN={border:{themeKey:"borders",transform:vn},borderTop:{themeKey:"borders",transform:vn},borderRight:{themeKey:"borders",transform:vn},borderBottom:{themeKey:"borders",transform:vn},borderLeft:{themeKey:"borders",transform:vn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:vn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Iu},color:{themeKey:"palette",transform:_i},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:_i},backgroundColor:{themeKey:"palette",transform:_i},p:{style:Ve},pt:{style:Ve},pr:{style:Ve},pb:{style:Ve},pl:{style:Ve},px:{style:Ve},py:{style:Ve},padding:{style:Ve},paddingTop:{style:Ve},paddingRight:{style:Ve},paddingBottom:{style:Ve},paddingLeft:{style:Ve},paddingX:{style:Ve},paddingY:{style:Ve},paddingInline:{style:Ve},paddingInlineStart:{style:Ve},paddingInlineEnd:{style:Ve},paddingBlock:{style:Ve},paddingBlockStart:{style:Ve},paddingBlockEnd:{style:Ve},m:{style:We},mt:{style:We},mr:{style:We},mb:{style:We},ml:{style:We},mx:{style:We},my:{style:We},margin:{style:We},marginTop:{style:We},marginRight:{style:We},marginBottom:{style:We},marginLeft:{style:We},marginX:{style:We},marginY:{style:We},marginInline:{style:We},marginInlineStart:{style:We},marginInlineEnd:{style:We},marginBlock:{style:We},marginBlockStart:{style:We},marginBlockEnd:{style:We},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Au},rowGap:{style:Mu},columnGap:{style:Lu},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Jt},maxWidth:{style:hm},minWidth:{transform:Jt},height:{transform:Jt},maxHeight:{transform:Jt},minHeight:{transform:Jt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},za=cN;function uN(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function dN(e,t){return typeof e=="function"?e(t):e}function s1(){function e(n,r,o,i){const s={[n]:r,theme:o},a=i[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:f,style:d}=a;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const h=ju(o,c)||{};return d?d(s):br(s,r,g=>{let v=Dc(h,f,g);return g===v&&typeof g=="string"&&(v=Dc(h,f,`${n}${g==="default"?"":Sn(g)}`,g)),l===!1?v:{[l]:v}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:za;function a(l){let c=l;if(typeof l=="function")c=l(i);else if(typeof l!="object")return l;if(!c)return null;const f=SR(i.breakpoints),d=Object.keys(f);let h=f;return Object.keys(c).forEach(b=>{const g=dN(c[b],i);if(g!=null)if(typeof g=="object")if(s[b])h=Us(h,e(b,g,i,s));else{const v=br({theme:i},g,E=>({[b]:E}));uN(v,g)?h[b]=t({sx:g,theme:i}):h=Us(h,v)}else h=Us(h,e(b,g,i,s))}),ER(d,h)}return Array.isArray(o)?o.map(a):a(o)}return t}const Du=s1();Du.filterProps=["sx"];function a1(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const fN=["breakpoints","palette","spacing","shape"];function gm(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=xt(e,fN),a=r1(n),l=OR(o);let c=Yn({breakpoints:a,direction:"ltr",components:{},palette:J({mode:"light"},r),spacing:l,shape:J({},CR,i)},s);return c.applyStyles=a1,c=t.reduce((f,d)=>Yn(f,d),c),c.unstable_sxConfig=J({},za,s==null?void 0:s.unstable_sxConfig),c.unstable_sx=function(d){return Du({sx:d,theme:this})},c}const pN=Object.freeze(Object.defineProperty({__proto__:null,default:gm,private_createBreakpoints:r1,unstable_applyStyles:a1},Symbol.toStringTag,{value:"Module"}));function l1(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var mN=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,hN=l1(function(e){return mN.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function gN(e){if(e.sheet)return e.sheet;for(var t=0;t0?vt(ts,--qt):0,Bi--,ot===10&&(Bi=1,zu--),ot}function rn(){return ot=qt2||ha(ot)>3?"":" "}function NN(e,t){for(;--t&&rn()&&!(ot<48||ot>102||ot>57&&ot<65||ot>70&&ot<97););return Fa(e,Yl()+(t<6&&Xn()==32&&rn()==32))}function Op(e){for(;rn();)switch(ot){case e:return qt;case 34:case 39:e!==34&&e!==39&&Op(ot);break;case 40:e===41&&Op(e);break;case 92:rn();break}return qt}function _N(e,t){for(;rn()&&e+ot!==57;)if(e+ot===84&&Xn()===47)break;return"/*"+Fa(t,qt-1)+"*"+$u(e===47?e:rn())}function jN(e){for(;!ha(Xn());)rn();return Fa(e,qt)}function ON(e){return m1(Ql("",null,null,null,[""],e=p1(e),0,[0],e))}function Ql(e,t,n,r,o,i,s,a,l){for(var c=0,f=0,d=s,h=0,b=0,g=0,v=1,E=1,S=1,y=0,C="",T=o,P=i,N=r,_=C;E;)switch(g=y,y=rn()){case 40:if(g!=108&&vt(_,d-1)==58){jp(_+=ke(Xl(y),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:_+=Xl(y);break;case 9:case 10:case 13:case 32:_+=RN(g);break;case 92:_+=NN(Yl()-1,7);continue;case 47:switch(Xn()){case 42:case 47:Cl(IN(_N(rn(),Yl()),t,n),l);break;default:_+="/"}break;case 123*v:a[c++]=Bn(_)*S;case 125*v:case 59:case 0:switch(y){case 0:case 125:E=0;case 59+f:S==-1&&(_=ke(_,/\f/g,"")),b>0&&Bn(_)-d&&Cl(b>32?$y(_+";",r,n,d-1):$y(ke(_," ","")+";",r,n,d-2),l);break;case 59:_+=";";default:if(Cl(N=Dy(_,t,n,c,f,o,a,C,T=[],P=[],d),i),y===123)if(f===0)Ql(_,t,N,N,T,i,d,a,P);else switch(h===99&&vt(_,3)===110?100:h){case 100:case 108:case 109:case 115:Ql(e,N,N,r&&Cl(Dy(e,N,N,0,0,o,a,C,o,T=[],d),P),o,P,d,a,r?T:P);break;default:Ql(_,N,N,N,[""],P,0,a,P)}}c=f=b=0,v=S=1,C=_="",d=s;break;case 58:d=1+Bn(_),b=g;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&PN()==125)continue}switch(_+=$u(y),y*v){case 38:S=f>0?1:(_+="\f",-1);break;case 44:a[c++]=(Bn(_)-1)*S,S=1;break;case 64:Xn()===45&&(_+=Xl(rn())),h=Xn(),f=d=Bn(C=_+=jN(Yl())),y++;break;case 45:g===45&&Bn(_)==2&&(v=0)}}return i}function Dy(e,t,n,r,o,i,s,a,l,c,f){for(var d=o-1,h=o===0?i:[""],b=bm(h),g=0,v=0,E=0;g0?h[S]+" "+y:ke(y,/&\f/g,h[S])))&&(l[E++]=C);return Fu(e,t,n,o===0?ym:a,l,c,f)}function IN(e,t,n){return Fu(e,t,n,c1,$u(TN()),ma(e,2,-2),0)}function $y(e,t,n,r){return Fu(e,t,n,vm,ma(e,0,r),ma(e,r+1,-1),r)}function ji(e,t){for(var n="",r=bm(e),o=0;o6)switch(vt(e,t+1)){case 109:if(vt(e,t+4)!==45)break;case 102:return ke(e,/(.+:)(.+)-([^]+)/,"$1"+xe+"$2-$3$1"+$c+(vt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~jp(e,"stretch")?h1(ke(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(vt(e,t+1)!==115)break;case 6444:switch(vt(e,Bn(e)-3-(~jp(e,"!important")&&10))){case 107:return ke(e,":",":"+xe)+e;case 101:return ke(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+xe+(vt(e,14)===45?"inline-":"")+"box$3$1"+xe+"$2$3$1"+Pt+"$2box$3")+e}break;case 5936:switch(vt(e,t+11)){case 114:return xe+e+Pt+ke(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return xe+e+Pt+ke(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return xe+e+Pt+ke(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return xe+e+Pt+e+e}return e}var UN=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case vm:t.return=h1(t.value,t.length);break;case u1:return ji([ks(t,{value:ke(t.value,"@","@"+xe)})],o);case ym:if(t.length)return EN(t.props,function(i){switch(SN(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ji([ks(t,{props:[ke(i,/:(read-\w+)/,":"+$c+"$1")]})],o);case"::placeholder":return ji([ks(t,{props:[ke(i,/:(plac\w+)/,":"+xe+"input-$1")]}),ks(t,{props:[ke(i,/:(plac\w+)/,":"+$c+"$1")]}),ks(t,{props:[ke(i,/:(plac\w+)/,Pt+"input-$1")]})],o)}return""})}},HN=[UN],g1=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var E=v.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var o=t.stylisPlugins||HN,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var E=v.getAttribute("data-emotion").split(" "),S=1;S=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var t6={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},n6=/[A-Z]|^ms/g,r6=/_EMO_([^_]+?)_([^]*?)_EMO_/g,C1=function(t){return t.charCodeAt(1)===45},Fy=function(t){return t!=null&&typeof t!="boolean"},of=l1(function(e){return C1(e)?e:e.replace(n6,"-$&").toLowerCase()}),By=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(r6,function(r,o,i){return Un={name:o,styles:i,next:Un},o})}return t6[t]!==1&&!C1(t)&&typeof n=="number"&&n!==0?n+"px":n};function ga(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Un={name:n.name,styles:n.styles,next:Un},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Un={name:r.name,styles:r.styles,next:Un},r=r.next;var o=n.styles+";";return o}return o6(e,t,n)}case"function":{if(e!==void 0){var i=Un,s=n(e);return Un=i,ga(e,t,s)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function o6(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?u6:d6},Ky=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},f6=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return x1(n,r,o),s6(function(){return k1(n,r,o)}),null},p6=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,s;n!==void 0&&(i=n.label,s=n.target);var a=Ky(t,n,r),l=a||Vy(o),c=!l("as");return function(){var f=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)d.push.apply(d,f);else{d.push(f[0][0]);for(var h=f.length,b=1;bt(g6(o)?n:o):t;return m.jsx(l6,{styles:r})}function v6(e,t){return Ip(e,t)}const b6=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},w6=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:y6,StyledEngineProvider:h6,ThemeContext:Qu,css:R1,default:v6,internal_processStyles:b6,keyframes:c6},Symbol.toStringTag,{value:"Module"}));function x6(e){return Object.keys(e).length===0}function k6(e=null){const t=x.useContext(Qu);return!t||x6(t)?e:t}const C6=gm();function N1(e=C6){return k6(e)}function S6({props:e,name:t,defaultTheme:n,themeId:r}){let o=N1(n);return r&&(o=o[r]||o),bR({theme:o,name:t,props:e})}const E6=["sx"],T6=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:za;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function P6(e){const{sx:t}=e,n=xt(e,E6),{systemProps:r,otherProps:o}=T6(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return zr(a)?J({},r,a):r}:i=J({},r,t),J({},o,{sx:i})}const R6=Object.freeze(Object.defineProperty({__proto__:null,default:Du,extendSxProp:P6,unstable_createStyleFunctionSx:s1,unstable_defaultSxConfig:za},Symbol.toStringTag,{value:"Module"}));function N6(e,t){return J({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Ze={};const _6=Cr(V3),j6=Cr(vR);var _1=lm;Object.defineProperty(Ze,"__esModule",{value:!0});var qy=Ze.alpha=A1;Ze.blend=W6;Ze.colorChannel=void 0;var O6=Ze.darken=Em;Ze.decomposeColor=En;Ze.emphasize=H6;var I6=Ze.getContrastRatio=z6;Ze.getLuminance=zc;Ze.hexToRgb=j1;Ze.hslToRgb=I1;var A6=Ze.lighten=Tm;Ze.private_safeAlpha=F6;Ze.private_safeColorChannel=void 0;Ze.private_safeDarken=B6;Ze.private_safeEmphasize=L1;Ze.private_safeLighten=U6;Ze.recomposeColor=ns;Ze.rgbToHex=$6;var Gy=_1(_6),L6=_1(j6);function Sm(e,t=0,n=1){return(0,L6.default)(e,t,n)}function j1(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function M6(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function En(e){if(e.type)return e;if(e.charAt(0)==="#")return En(j1(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Gy.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,Gy.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const O1=e=>{const t=En(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Ze.colorChannel=O1;const D6=(e,t)=>{try{return O1(e)}catch{return e}};Ze.private_safeColorChannel=D6;function ns(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function $6(e){if(e.indexOf("#")===0)return e;const{values:t}=En(e);return`#${t.map((n,r)=>M6(r===3?Math.round(255*n):n)).join("")}`}function I1(e){e=En(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(c,f=(c+n/30)%12)=>o-i*Math.max(Math.min(f-3,9-f,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),ns({type:a,values:l})}function zc(e){e=En(e);let t=e.type==="hsl"||e.type==="hsla"?En(I1(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function z6(e,t){const n=zc(e),r=zc(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function A1(e,t){return e=En(e),t=Sm(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ns(e)}function F6(e,t,n){try{return A1(e,t)}catch{return e}}function Em(e,t){if(e=En(e),t=Sm(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ns(e)}function B6(e,t,n){try{return Em(e,t)}catch{return e}}function Tm(e,t){if(e=En(e),t=Sm(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ns(e)}function U6(e,t,n){try{return Tm(e,t)}catch{return e}}function H6(e,t=.15){return zc(e)>.5?Em(e,t):Tm(e,t)}function L1(e,t,n){try{return L1(e,t)}catch{return e}}function W6(e,t,n,r=1){const o=(l,c)=>Math.round((l**(1/r)*(1-n)+c**(1/r)*n)**r),i=En(e),s=En(t),a=[o(i.values[0],s.values[0]),o(i.values[1],s.values[1]),o(i.values[2],s.values[2])];return ns({type:"rgb",values:a})}const V6={black:"#000",white:"#fff"},ya=V6,K6={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},q6=K6,G6={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ri=G6,Y6={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},oi=Y6,X6={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Cs=X6,Q6={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},ii=Q6,J6={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},si=J6,Z6={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},ai=Z6,e_=["mode","contrastThreshold","tonalOffset"],Yy={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ya.white,default:ya.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},af={text:{primary:ya.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ya.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Xy(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=A6(e.main,o):t==="dark"&&(e.dark=O6(e.main,i)))}function t_(e="light"){return e==="dark"?{main:ii[200],light:ii[50],dark:ii[400]}:{main:ii[700],light:ii[400],dark:ii[800]}}function n_(e="light"){return e==="dark"?{main:ri[200],light:ri[50],dark:ri[400]}:{main:ri[500],light:ri[300],dark:ri[700]}}function r_(e="light"){return e==="dark"?{main:oi[500],light:oi[300],dark:oi[700]}:{main:oi[700],light:oi[400],dark:oi[800]}}function o_(e="light"){return e==="dark"?{main:si[400],light:si[300],dark:si[700]}:{main:si[700],light:si[500],dark:si[900]}}function i_(e="light"){return e==="dark"?{main:ai[400],light:ai[300],dark:ai[700]}:{main:ai[800],light:ai[500],dark:ai[900]}}function s_(e="light"){return e==="dark"?{main:Cs[400],light:Cs[300],dark:Cs[700]}:{main:"#ed6c02",light:Cs[500],dark:Cs[900]}}function a_(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=xt(e,e_),i=e.primary||t_(t),s=e.secondary||n_(t),a=e.error||r_(t),l=e.info||o_(t),c=e.success||i_(t),f=e.warning||s_(t);function d(v){return I6(v,af.text.primary)>=n?af.text.primary:Yy.text.primary}const h=({color:v,name:E,mainShade:S=500,lightShade:y=300,darkShade:C=700})=>{if(v=J({},v),!v.main&&v[S]&&(v.main=v[S]),!v.hasOwnProperty("main"))throw new Error(pa(11,E?` (${E})`:"",S));if(typeof v.main!="string")throw new Error(pa(12,E?` (${E})`:"",JSON.stringify(v.main)));return Xy(v,"light",y,r),Xy(v,"dark",C,r),v.contrastText||(v.contrastText=d(v.main)),v},b={dark:af,light:Yy};return Yn(J({common:J({},ya),mode:t,primary:h({color:i,name:"primary"}),secondary:h({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:a,name:"error"}),warning:h({color:f,name:"warning"}),info:h({color:l,name:"info"}),success:h({color:c,name:"success"}),grey:q6,contrastThreshold:n,getContrastText:d,augmentColor:h,tonalOffset:r},b[t]),o)}const l_=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function c_(e){return Math.round(e*1e5)/1e5}const Qy={textTransform:"uppercase"},Jy='"Roboto", "Helvetica", "Arial", sans-serif';function u_(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Jy,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:f,pxToRem:d}=n,h=xt(n,l_),b=o/14,g=d||(S=>`${S/c*b}rem`),v=(S,y,C,T,P)=>J({fontFamily:r,fontWeight:S,fontSize:g(y),lineHeight:C},r===Jy?{letterSpacing:`${c_(T/y)}em`}:{},P,f),E={h1:v(i,96,1.167,-1.5),h2:v(i,60,1.2,-.5),h3:v(s,48,1.167,0),h4:v(s,34,1.235,.25),h5:v(s,24,1.334,0),h6:v(a,20,1.6,.15),subtitle1:v(s,16,1.75,.15),subtitle2:v(a,14,1.57,.1),body1:v(s,16,1.5,.15),body2:v(s,14,1.43,.15),button:v(a,14,1.75,.4,Qy),caption:v(s,12,1.66,.4),overline:v(s,12,2.66,1,Qy),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Yn(J({htmlFontSize:c,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},E),h,{clone:!1})}const d_=.2,f_=.14,p_=.12;function De(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${d_})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${f_})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${p_})`].join(",")}const m_=["none",De(0,2,1,-1,0,1,1,0,0,1,3,0),De(0,3,1,-2,0,2,2,0,0,1,5,0),De(0,3,3,-2,0,3,4,0,0,1,8,0),De(0,2,4,-1,0,4,5,0,0,1,10,0),De(0,3,5,-1,0,5,8,0,0,1,14,0),De(0,3,5,-1,0,6,10,0,0,1,18,0),De(0,4,5,-2,0,7,10,1,0,2,16,1),De(0,5,5,-3,0,8,10,1,0,3,14,2),De(0,5,6,-3,0,9,12,1,0,3,16,2),De(0,6,6,-3,0,10,14,1,0,4,18,3),De(0,6,7,-4,0,11,15,1,0,4,20,3),De(0,7,8,-4,0,12,17,2,0,5,22,4),De(0,7,8,-4,0,13,19,2,0,5,24,4),De(0,7,9,-4,0,14,21,2,0,5,26,4),De(0,8,9,-5,0,15,22,2,0,6,28,5),De(0,8,10,-5,0,16,24,2,0,6,30,5),De(0,8,11,-5,0,17,26,2,0,6,32,5),De(0,9,11,-5,0,18,28,2,0,7,34,6),De(0,9,12,-6,0,19,29,2,0,7,36,6),De(0,10,13,-6,0,20,31,3,0,8,38,7),De(0,10,13,-6,0,21,33,3,0,8,40,7),De(0,10,14,-6,0,22,35,3,0,8,42,7),De(0,11,14,-7,0,23,36,3,0,9,44,8),De(0,11,15,-7,0,24,38,3,0,9,46,8)],h_=["duration","easing","delay"],g_={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},y_={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Zy(e){return`${Math.round(e)}ms`}function v_(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function b_(e){const t=J({},g_,e.easing),n=J({},y_,e.duration);return J({getAutoHeightDuration:v_,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0}=i;return xt(i,h_),(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof s=="string"?s:Zy(s)} ${a} ${typeof l=="string"?l:Zy(l)}`).join(",")}},e,{easing:t,duration:n})}const w_={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},x_=w_,k_=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function C_(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,s=xt(e,k_);if(e.vars)throw new Error(pa(18));const a=a_(r),l=gm(e);let c=Yn(l,{mixins:N6(l.breakpoints,n),palette:a,shadows:m_.slice(),typography:u_(a,i),transitions:b_(o),zIndex:J({},x_)});return c=Yn(c,s),c=t.reduce((f,d)=>Yn(f,d),c),c.unstable_sxConfig=J({},za,s==null?void 0:s.unstable_sxConfig),c.unstable_sx=function(d){return Du({sx:d,theme:this})},c}const S_=C_(),Pm=S_,Rm="$$material";function Ba({props:e,name:t}){return S6({props:e,name:t,defaultTheme:Pm,themeId:Rm})}var Ua={},lf={exports:{}},ev;function E_(){return ev||(ev=1,function(e){function t(n,r){if(n==null)return{};var o={},i=Object.keys(n),s,a;for(a=0;a=0)&&(o[s]=n[s]);return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(lf)),lf.exports}const T_=Cr(w6),P_=Cr(W3),R_=Cr(Q3),N_=Cr(X3),__=Cr(pN),j_=Cr(R6);var rs=lm;Object.defineProperty(Ua,"__esModule",{value:!0});var O_=Ua.default=K_,I_=Ua.shouldForwardProp=Jl;Ua.systemDefaultTheme=void 0;var hn=rs(P1()),Lp=rs(E_()),tv=F_(T_),A_=P_;rs(R_);rs(N_);var L_=rs(__),M_=rs(j_);const D_=["ownerState"],$_=["variants"],z_=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function M1(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(M1=function(r){return r?n:t})(e)}function F_(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=M1(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function B_(e){return Object.keys(e).length===0}function U_(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Jl(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const H_=Ua.systemDefaultTheme=(0,L_.default)(),W_=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Sl({defaultTheme:e,theme:t,themeId:n}){return B_(t)?e:t[n]||t}function V_(e){return e?(t,n)=>n[e]:null}function Zl(e,t){let{ownerState:n}=t,r=(0,Lp.default)(t,D_);const o=typeof e=="function"?e((0,hn.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>Zl(i,(0,hn.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let a=(0,Lp.default)(o,$_);return i.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props((0,hn.default)({ownerState:n},r,n)):Object.keys(l.props).forEach(f=>{(n==null?void 0:n[f])!==l.props[f]&&r[f]!==l.props[f]&&(c=!1)}),c&&(Array.isArray(a)||(a=[a]),a.push(typeof l.style=="function"?l.style((0,hn.default)({ownerState:n},r,n)):l.style))}),a}return o}function K_(e={}){const{themeId:t,defaultTheme:n=H_,rootShouldForwardProp:r=Jl,slotShouldForwardProp:o=Jl}=e,i=s=>(0,M_.default)((0,hn.default)({},s,{theme:Sl((0,hn.default)({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,a={})=>{(0,tv.internal_processStyles)(s,P=>P.filter(N=>!(N!=null&&N.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:f,skipSx:d,overridesResolver:h=V_(W_(c))}=a,b=(0,Lp.default)(a,z_),g=f!==void 0?f:c&&c!=="Root"&&c!=="root"||!1,v=d||!1;let E,S=Jl;c==="Root"||c==="root"?S=r:c?S=o:U_(s)&&(S=void 0);const y=(0,tv.default)(s,(0,hn.default)({shouldForwardProp:S,label:E},b)),C=P=>typeof P=="function"&&P.__emotion_real!==P||(0,A_.isPlainObject)(P)?N=>Zl(P,(0,hn.default)({},N,{theme:Sl({theme:N.theme,defaultTheme:n,themeId:t})})):P,T=(P,...N)=>{let _=C(P);const O=N?N.map(C):[];l&&h&&O.push(q=>{const z=Sl((0,hn.default)({},q,{defaultTheme:n,themeId:t}));if(!z.components||!z.components[l]||!z.components[l].styleOverrides)return null;const H=z.components[l].styleOverrides,L={};return Object.entries(H).forEach(([D,U])=>{L[D]=Zl(U,(0,hn.default)({},q,{theme:z}))}),h(q,L)}),l&&!g&&O.push(q=>{var z;const H=Sl((0,hn.default)({},q,{defaultTheme:n,themeId:t})),L=H==null||(z=H.components)==null||(z=z[l])==null?void 0:z.variants;return Zl({variants:L},(0,hn.default)({},q,{theme:H}))}),v||O.push(i);const M=O.length-N.length;if(Array.isArray(P)&&M>0){const q=new Array(M).fill("");_=[...P,...q],_.raw=[...P.raw,...q]}const A=y(_,...O);return s.muiName&&(A.muiName=s.muiName),A};return y.withConfig&&(T.withConfig=y.withConfig),T}}const D1=e=>I_(e)&&e!=="classes",fo=O_({themeId:Rm,defaultTheme:Pm,rootShouldForwardProp:D1});function q_(e){return es("MuiSvgIcon",e)}Ma("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const G_=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Y_=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${Sn(t)}`,`fontSize${Sn(n)}`]};return La(o,q_,r)},X_=fo("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Sn(n.color)}`],t[`fontSize${Sn(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,s,a,l,c,f,d,h,b,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(s=i.pxToRem)==null?void 0:s.call(i,20))||"1.25rem",medium:((a=e.typography)==null||(l=a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem",large:((c=e.typography)==null||(f=c.pxToRem)==null?void 0:f.call(c,35))||"2.1875rem"}[t.fontSize],color:(d=(h=(e.vars||e).palette)==null||(h=h[t.color])==null?void 0:h.main)!=null?d:{action:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.active,disabled:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.disabled,inherit:void 0}[t.color]}}),Mp=x.forwardRef(function(t,n){const r=Ba({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:f=!1,titleAccess:d,viewBox:h="0 0 24 24"}=r,b=xt(r,G_),g=x.isValidElement(o)&&o.type==="svg",v=J({},r,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:h,hasSvgAsChild:g}),E={};f||(E.viewBox=h);const S=Y_(v);return m.jsxs(X_,J({as:a,className:ct(S.root,i),focusable:"false",color:c,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},E,b,g&&o.props,{ownerState:v,children:[g?o.props.children:o,d?m.jsx("title",{children:d}):null]}))});Mp.muiName="SvgIcon";function Q_(e,t){function n(r,o){return m.jsx(Mp,J({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=Mp.muiName,x.memo(x.forwardRef(n))}const J_={configure:e=>{t1.configure(e)}},Z_=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Sn,createChainedFunction:Rp,createSvgIcon:Q_,debounce:Zx,deprecatedPropType:J3,isMuiElement:Z3,ownerDocument:dr,ownerWindow:Zi,requirePropFactory:eR,setRef:Lc,unstable_ClassNameGenerator:J_,unstable_useEnhancedEffect:Mc,unstable_useId:rR,unsupportedProp:oR,useControlled:iR,useEventCallback:Np,useForkRef:qo,useIsFocusVisible:pR},Symbol.toStringTag,{value:"Module"})),ej=Cr(Z_);var nv;function tj(){return nv||(nv=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=ej}(nf)),nf}var nj=lm;Object.defineProperty(am,"__esModule",{value:!0});var Nm=am.default=void 0,rj=nj(tj()),oj=m;Nm=am.default=(0,rj.default)((0,oj.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m5 11h-4v4h-2v-4H7v-2h4V7h2v4h4z"}),"AddCircle");var $1={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},rv=ae.createContext&&ae.createContext($1),Zr=function(){return Zr=Object.assign||function(e){for(var t,n=1,r=arguments.length;na(i)))==null?void 0:s.classGroupId}const ov=/^\[(.+)\]$/;function hj(e){if(ov.test(e)){const t=ov.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function gj(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return vj(Object.entries(e.classGroups),n).forEach(([i,s])=>{Dp(s,r,i,t)}),r}function Dp(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:iv(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(yj(o)){Dp(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Dp(s,iv(t,i),n,r)})})}function iv(e,t){let n=e;return t.split(_m).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function yj(e){return e.isThemeGetter}function vj(e,t){return t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e}function bj(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(i,s){n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}}const W1="!";function wj(e){const t=e.separator,n=t.length===1,r=t[0],o=t.length;return function(s){const a=[];let l=0,c=0,f;for(let v=0;vc?f-c:void 0;return{modifiers:a,hasImportantModifier:h,baseClassName:b,maybePostfixModifierPosition:g}}}function xj(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function kj(e){return{cache:bj(e.cacheSize),splitModifiers:wj(e),...mj(e)}}const Cj=/\s+/;function Sj(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(Cj).map(s=>{const{modifiers:a,hasImportantModifier:l,baseClassName:c,maybePostfixModifierPosition:f}=n(s);let d=r(f?c.substring(0,f):c),h=!!f;if(!d){if(!f)return{isTailwindClass:!1,originalClassName:s};if(d=r(c),!d)return{isTailwindClass:!1,originalClassName:s};h=!1}const b=xj(a).join(":");return{isTailwindClass:!0,modifierId:l?b+W1:b,classGroupId:d,originalClassName:s,hasPostfixModifier:h}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:c}=s,f=a+l;return i.has(f)?!1:(i.add(f),o(l,c).forEach(d=>i.add(a+d)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function Ej(){let e=0,t,n,r="";for(;ed(f),e());return n=kj(c),r=n.cache.get,o=n.cache.set,i=a,a(l)}function a(l){const c=r(l);if(c)return c;const f=Sj(l,n);return o(l,f),f}return function(){return i(Ej.apply(null,arguments))}}function Oe(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const K1=/^\[(?:([a-z-]+):)?(.+)\]$/i,Pj=/^\d+\/\d+$/,Rj=new Set(["px","full","screen"]),Nj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_j=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,jj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Oj=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ij=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function or(e){return No(e)||Rj.has(e)||Pj.test(e)}function Or(e){return os(e,"length",Bj)}function No(e){return!!e&&!Number.isNaN(Number(e))}function El(e){return os(e,"number",No)}function Ss(e){return!!e&&Number.isInteger(Number(e))}function Aj(e){return e.endsWith("%")&&No(e.slice(0,-1))}function ce(e){return K1.test(e)}function Ir(e){return Nj.test(e)}const Lj=new Set(["length","size","percentage"]);function Mj(e){return os(e,Lj,q1)}function Dj(e){return os(e,"position",q1)}const $j=new Set(["image","url"]);function zj(e){return os(e,$j,Hj)}function Fj(e){return os(e,"",Uj)}function Es(){return!0}function os(e,t,n){const r=K1.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function Bj(e){return _j.test(e)&&!jj.test(e)}function q1(){return!1}function Uj(e){return Oj.test(e)}function Hj(e){return Ij.test(e)}function Wj(){const e=Oe("colors"),t=Oe("spacing"),n=Oe("blur"),r=Oe("brightness"),o=Oe("borderColor"),i=Oe("borderRadius"),s=Oe("borderSpacing"),a=Oe("borderWidth"),l=Oe("contrast"),c=Oe("grayscale"),f=Oe("hueRotate"),d=Oe("invert"),h=Oe("gap"),b=Oe("gradientColorStops"),g=Oe("gradientColorStopPositions"),v=Oe("inset"),E=Oe("margin"),S=Oe("opacity"),y=Oe("padding"),C=Oe("saturate"),T=Oe("scale"),P=Oe("sepia"),N=Oe("skew"),_=Oe("space"),O=Oe("translate"),M=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",ce,t],z=()=>[ce,t],H=()=>["",or,Or],L=()=>["auto",No,ce],D=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],j=()=>["start","end","center","between","around","evenly","stretch"],W=()=>["","0",ce],$=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>[No,El],X=()=>[No,ce];return{cacheSize:500,separator:":",theme:{colors:[Es],spacing:[or,Or],blur:["none","",Ir,ce],brightness:Y(),borderColor:[e],borderRadius:["none","","full",Ir,ce],borderSpacing:z(),borderWidth:H(),contrast:Y(),grayscale:W(),hueRotate:X(),invert:W(),gap:z(),gradientColorStops:[e],gradientColorStopPositions:[Aj,Or],inset:q(),margin:q(),opacity:Y(),padding:z(),saturate:Y(),scale:Y(),sepia:W(),skew:X(),space:z(),translate:z()},classGroups:{aspect:[{aspect:["auto","square","video",ce]}],container:["container"],columns:[{columns:[Ir]}],"break-after":[{"break-after":$()}],"break-before":[{"break-before":$()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...D(),ce]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ss,ce]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ce]}],grow:[{grow:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",Ss,ce]}],"grid-cols":[{"grid-cols":[Es]}],"col-start-end":[{col:["auto",{span:["full",Ss,ce]},ce]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[Es]}],"row-start-end":[{row:["auto",{span:[Ss,ce]},ce]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ce]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ce]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[E]}],mx:[{mx:[E]}],my:[{my:[E]}],ms:[{ms:[E]}],me:[{me:[E]}],mt:[{mt:[E]}],mr:[{mr:[E]}],mb:[{mb:[E]}],ml:[{ml:[E]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ce,t]}],"min-w":[{"min-w":[ce,t,"min","max","fit"]}],"max-w":[{"max-w":[ce,t,"none","full","min","max","fit","prose",{screen:[Ir]},Ir]}],h:[{h:[ce,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ce,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ce,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ce,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ir,Or]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",El]}],"font-family":[{font:[Es]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ce]}],"line-clamp":[{"line-clamp":["none",No,El]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",or,ce]}],"list-image":[{"list-image":["none",ce]}],"list-style-type":[{list:["none","disc","decimal",ce]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",or,Or]}],"underline-offset":[{"underline-offset":["auto",or,ce]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...D(),Dj]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mj]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},zj]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[S]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[S]}],"divide-style":[{divide:U()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[or,ce]}],"outline-w":[{outline:[or,Or]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[or,Or]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ir,Fj]}],"shadow-color":[{shadow:[Es]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":B()}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Ir,ce]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[d]}],saturate:[{saturate:[C]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[C]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ce]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",ce]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",ce]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[Ss,ce]}],"translate-x":[{"translate-x":[O]}],"translate-y":[{"translate-y":[O]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ce]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ce]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ce]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[or,Or,El]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const V=Tj(Wj);function xo(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function va(e){if(!xo(e))return e;const t={};for(const n in e)t[n]=va(e[n]);return t}function Q(e,t){if(xo(t)&&Object.keys(t).length===0)return va({...e,...t});const n={...e,...t};if(xo(t)&&xo(e))for(const r in t)xo(t[r])&&r in e&&xo(e[r])?n[r]=Q(e[r],t[r]):n[r]=xo(t[r])?va(t[r]):t[r];return n}const Vj={root:{base:"divide-y divide-gray-200 border-gray-200 dark:divide-gray-700 dark:border-gray-700",flush:{off:"rounded-lg border",on:"border-b"}},content:{base:"py-5 px-5 last:rounded-b-lg dark:bg-gray-900 first:rounded-t-lg"},title:{arrow:{base:"h-6 w-6 shrink-0",open:{off:"",on:"rotate-180"}},base:"flex w-full items-center justify-between first:rounded-t-lg last:rounded-b-lg py-5 px-5 text-left font-medium text-gray-500 dark:text-gray-400",flush:{off:"hover:bg-gray-100 focus:ring-4 focus:ring-gray-200 dark:hover:bg-gray-800 dark:focus:ring-gray-800",on:"bg-transparent dark:bg-transparent"},heading:"",open:{off:"",on:"text-gray-900 bg-gray-100 dark:bg-gray-800 dark:text-white"}}},Kj={base:"flex flex-col gap-2 p-4 text-sm",borderAccent:"border-t-4",closeButton:{base:"-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg p-1.5 focus:ring-2",icon:"w-5 h-5",color:{info:"bg-cyan-100 text-cyan-500 hover:bg-cyan-200 focus:ring-cyan-400 dark:bg-cyan-200 dark:text-cyan-600 dark:hover:bg-cyan-300",gray:"bg-gray-100 text-gray-500 hover:bg-gray-200 focus:ring-gray-400 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-800 dark:hover:text-white",failure:"bg-red-100 text-red-500 hover:bg-red-200 focus:ring-red-400 dark:bg-red-200 dark:text-red-600 dark:hover:bg-red-300",success:"bg-green-100 text-green-500 hover:bg-green-200 focus:ring-green-400 dark:bg-green-200 dark:text-green-600 dark:hover:bg-green-300",warning:"bg-yellow-100 text-yellow-500 hover:bg-yellow-200 focus:ring-yellow-400 dark:bg-yellow-200 dark:text-yellow-600 dark:hover:bg-yellow-300",red:"bg-red-100 text-red-500 hover:bg-red-200 focus:ring-red-400 dark:bg-red-200 dark:text-red-600 dark:hover:bg-red-300",green:"bg-green-100 text-green-500 hover:bg-green-200 focus:ring-green-400 dark:bg-green-200 dark:text-green-600 dark:hover:bg-green-300",yellow:"bg-yellow-100 text-yellow-500 hover:bg-yellow-200 focus:ring-yellow-400 dark:bg-yellow-200 dark:text-yellow-600 dark:hover:bg-yellow-300",blue:"bg-cyan-100 text-cyan-500 hover:bg-cyan-200 focus:ring-cyan-400 dark:bg-cyan-200 dark:text-cyan-600 dark:hover:bg-cyan-300",cyan:"bg-cyan-100 text-cyan-500 hover:bg-cyan-200 focus:ring-cyan-400 dark:bg-cyan-200 dark:text-cyan-600 dark:hover:bg-cyan-300",pink:"bg-pink-100 text-pink-500 hover:bg-pink-200 focus:ring-pink-400 dark:bg-pink-200 dark:text-pink-600 dark:hover:bg-pink-300",lime:"bg-lime-100 text-lime-500 hover:bg-lime-200 focus:ring-lime-400 dark:bg-lime-200 dark:text-lime-600 dark:hover:bg-lime-300",dark:"bg-gray-100 text-gray-500 hover:bg-gray-200 focus:ring-gray-400 dark:bg-gray-200 dark:text-gray-600 dark:hover:bg-gray-300",indigo:"bg-indigo-100 text-indigo-500 hover:bg-indigo-200 focus:ring-indigo-400 dark:bg-indigo-200 dark:text-indigo-600 dark:hover:bg-indigo-300",purple:"bg-purple-100 text-purple-500 hover:bg-purple-200 focus:ring-purple-400 dark:bg-purple-200 dark:text-purple-600 dark:hover:bg-purple-300",teal:"bg-teal-100 text-teal-500 hover:bg-teal-200 focus:ring-teal-400 dark:bg-teal-200 dark:text-teal-600 dark:hover:bg-teal-300",light:"bg-gray-50 text-gray-500 hover:bg-gray-100 focus:ring-gray-200 dark:bg-gray-600 dark:text-gray-200 dark:hover:bg-gray-700 dark:hover:text-white"}},color:{info:"text-cyan-700 bg-cyan-100 border-cyan-500 dark:bg-cyan-200 dark:text-cyan-800",gray:"text-gray-700 bg-gray-100 border-gray-500 dark:bg-gray-700 dark:text-gray-300",failure:"text-red-700 bg-red-100 border-red-500 dark:bg-red-200 dark:text-red-800",success:"text-green-700 bg-green-100 border-green-500 dark:bg-green-200 dark:text-green-800",warning:"text-yellow-700 bg-yellow-100 border-yellow-500 dark:bg-yellow-200 dark:text-yellow-800",red:"text-red-700 bg-red-100 border-red-500 dark:bg-red-200 dark:text-red-800",green:"text-green-700 bg-green-100 border-green-500 dark:bg-green-200 dark:text-green-800",yellow:"text-yellow-700 bg-yellow-100 border-yellow-500 dark:bg-yellow-200 dark:text-yellow-800",blue:"text-cyan-700 bg-cyan-100 border-cyan-500 dark:bg-cyan-200 dark:text-cyan-800",cyan:"text-cyan-700 bg-cyan-100 border-cyan-500 dark:bg-cyan-200 dark:text-cyan-800",pink:"text-pink-700 bg-pink-100 border-pink-500 dark:bg-pink-200 dark:text-pink-800",lime:"text-lime-700 bg-lime-100 border-lime-500 dark:bg-lime-200 dark:text-lime-800",dark:"text-gray-200 bg-gray-800 border-gray-600 dark:bg-gray-900 dark:text-gray-300",indigo:"text-indigo-700 bg-indigo-100 border-indigo-500 dark:bg-indigo-200 dark:text-indigo-800",purple:"text-purple-700 bg-purple-100 border-purple-500 dark:bg-purple-200 dark:text-purple-800",teal:"text-teal-700 bg-teal-100 border-teal-500 dark:bg-teal-200 dark:text-teal-800",light:"text-gray-600 bg-gray-50 border-gray-400 dark:bg-gray-500 dark:text-gray-200"},icon:"mr-3 inline h-5 w-5 flex-shrink-0",rounded:"rounded-lg",wrapper:"flex items-center"},qj={root:{base:"flex justify-center items-center space-x-4 rounded",bordered:"p-1 ring-2",rounded:"rounded-full",color:{dark:"ring-gray-800 dark:ring-gray-800",failure:"ring-red-500 dark:ring-red-700",gray:"ring-gray-500 dark:ring-gray-400",info:"ring-cyan-400 dark:ring-cyan-800",light:"ring-gray-300 dark:ring-gray-500",purple:"ring-purple-500 dark:ring-purple-600",success:"ring-green-500 dark:ring-green-500",warning:"ring-yellow-300 dark:ring-yellow-500",pink:"ring-pink-500 dark:ring-pink-500"},img:{base:"rounded",off:"relative overflow-hidden bg-gray-100 dark:bg-gray-600",on:"",placeholder:"absolute w-auto h-auto text-gray-400 -bottom-1"},size:{xs:"w-6 h-6",sm:"w-8 h-8",md:"w-10 h-10",lg:"w-20 h-20",xl:"w-36 h-36"},stacked:"ring-2 ring-gray-300 dark:ring-gray-500",statusPosition:{"bottom-left":"-bottom-1 -left-1","bottom-center":"-bottom-1 center","bottom-right":"-bottom-1 -right-1","top-left":"-top-1 -left-1","top-center":"-top-1 center","top-right":"-top-1 -right-1","center-right":"center -right-1",center:"center center","center-left":"center -left-1"},status:{away:"bg-yellow-400",base:"absolute h-3.5 w-3.5 rounded-full border-2 border-white dark:border-gray-800",busy:"bg-red-400",offline:"bg-gray-400",online:"bg-green-400"},initials:{text:"font-medium text-gray-600 dark:text-gray-300",base:"inline-flex overflow-hidden relative justify-center items-center bg-gray-100 dark:bg-gray-600"}},group:{base:"flex -space-x-4"},groupCounter:{base:"relative flex items-center justify-center w-10 h-10 text-xs font-medium text-white bg-gray-700 rounded-full ring-2 ring-gray-300 hover:bg-gray-600 dark:ring-gray-500"}},Gj={root:{base:"flex h-fit items-center gap-1 font-semibold",color:{info:"bg-cyan-100 text-cyan-800 dark:bg-cyan-200 dark:text-cyan-800 group-hover:bg-cyan-200 dark:group-hover:bg-cyan-300",gray:"bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300 group-hover:bg-gray-200 dark:group-hover:bg-gray-600",failure:"bg-red-100 text-red-800 dark:bg-red-200 dark:text-red-900 group-hover:bg-red-200 dark:group-hover:bg-red-300",success:"bg-green-100 text-green-800 dark:bg-green-200 dark:text-green-900 group-hover:bg-green-200 dark:group-hover:bg-green-300",warning:"bg-yellow-100 text-yellow-800 dark:bg-yellow-200 dark:text-yellow-900 group-hover:bg-yellow-200 dark:group-hover:bg-yellow-300",indigo:"bg-indigo-100 text-indigo-800 dark:bg-indigo-200 dark:text-indigo-900 group-hover:bg-indigo-200 dark:group-hover:bg-indigo-300",purple:"bg-purple-100 text-purple-800 dark:bg-purple-200 dark:text-purple-900 group-hover:bg-purple-200 dark:group-hover:bg-purple-300",pink:"bg-pink-100 text-pink-800 dark:bg-pink-200 dark:text-pink-900 group-hover:bg-pink-200 dark:group-hover:bg-pink-300",blue:"bg-cyan-100 text-cyan-800 dark:bg-cyan-200 dark:text-cyan-900 group-hover:bg-cyan-200 dark:group-hover:bg-cyan-300",cyan:"bg-cyan-100 text-cyan-800 dark:bg-cyan-200 dark:text-cyan-900 group-hover:bg-cyan-200 dark:group-hover:bg-cyan-300",dark:"bg-gray-600 text-gray-100 dark:bg-gray-900 dark:text-gray-200 group-hover:bg-gray-500 dark:group-hover:bg-gray-700",light:"bg-gray-200 text-gray-800 dark:bg-gray-400 dark:text-gray-900 group-hover:bg-gray-300 dark:group-hover:bg-gray-500",green:"bg-green-100 text-green-800 dark:bg-green-200 dark:text-green-900 group-hover:bg-green-200 dark:group-hover:bg-green-300",lime:"bg-lime-100 text-lime-800 dark:bg-lime-200 dark:text-lime-900 group-hover:bg-lime-200 dark:group-hover:bg-lime-300",red:"bg-red-100 text-red-800 dark:bg-red-200 dark:text-red-900 group-hover:bg-red-200 dark:group-hover:bg-red-300",teal:"bg-teal-100 text-teal-800 dark:bg-teal-200 dark:text-teal-900 group-hover:bg-teal-200 dark:group-hover:bg-teal-300",yellow:"bg-yellow-100 text-yellow-800 dark:bg-yellow-200 dark:text-yellow-900 group-hover:bg-yellow-200 dark:group-hover:bg-yellow-300"},href:"group",size:{xs:"p-1 text-xs",sm:"p-1.5 text-sm"}},icon:{off:"rounded px-2 py-0.5",on:"rounded-full p-1.5",size:{xs:"w-3 h-3",sm:"w-3.5 h-3.5"}}},Yj={root:{base:"text-xl italic font-semibold text-gray-900 dark:text-white"}},Xj={root:{base:"",list:"flex items-center"},item:{base:"group flex items-center",chevron:"mx-1 h-4 w-4 text-gray-400 group-first:hidden md:mx-2",href:{off:"flex items-center text-sm font-medium text-gray-500 dark:text-gray-400",on:"flex items-center text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white"},icon:"mr-2 h-4 w-4"}},Qj={base:"group flex items-stretch items-center justify-center p-0.5 text-center font-medium relative focus:z-10 focus:outline-none",fullSized:"w-full",color:{dark:"text-white bg-gray-800 border border-transparent enabled:hover:bg-gray-900 focus:ring-4 focus:ring-gray-300 dark:bg-gray-800 dark:enabled:hover:bg-gray-700 dark:focus:ring-gray-800 dark:border-gray-700",failure:"text-white bg-red-700 border border-transparent enabled:hover:bg-red-800 focus:ring-4 focus:ring-red-300 dark:bg-red-600 dark:enabled:hover:bg-red-700 dark:focus:ring-red-900",gray:"text-gray-900 bg-white border border-gray-200 enabled:hover:bg-gray-100 enabled:hover:text-cyan-700 :ring-cyan-700 focus:text-cyan-700 dark:bg-transparent dark:text-gray-400 dark:border-gray-600 dark:enabled:hover:text-white dark:enabled:hover:bg-gray-700 focus:ring-2",info:"text-white bg-cyan-700 border border-transparent enabled:hover:bg-cyan-800 focus:ring-4 focus:ring-cyan-300 dark:bg-cyan-600 dark:enabled:hover:bg-cyan-700 dark:focus:ring-cyan-800",light:"text-gray-900 bg-white border border-gray-300 enabled:hover:bg-gray-100 focus:ring-4 focus:ring-cyan-300 dark:bg-gray-600 dark:text-white dark:border-gray-600 dark:enabled:hover:bg-gray-700 dark:enabled:hover:border-gray-700 dark:focus:ring-gray-700",purple:"text-white bg-purple-700 border border-transparent enabled:hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 dark:bg-purple-600 dark:enabled:hover:bg-purple-700 dark:focus:ring-purple-900",success:"text-white bg-green-700 border border-transparent enabled:hover:bg-green-800 focus:ring-4 focus:ring-green-300 dark:bg-green-600 dark:enabled:hover:bg-green-700 dark:focus:ring-green-800",warning:"text-white bg-yellow-400 border border-transparent enabled:hover:bg-yellow-500 focus:ring-4 focus:ring-yellow-300 dark:focus:ring-yellow-900",blue:"text-white bg-blue-700 border border-transparent enabled:hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800",cyan:"text-cyan-900 bg-white border border-cyan-300 enabled:hover:bg-cyan-100 focus:ring-4 focus:ring-cyan-300 dark:bg-cyan-600 dark:text-white dark:border-cyan-600 dark:enabled:hover:bg-cyan-700 dark:enabled:hover:border-cyan-700 dark:focus:ring-cyan-700",green:"text-green-900 bg-white border border-green-300 enabled:hover:bg-green-100 focus:ring-4 focus:ring-green-300 dark:bg-green-600 dark:text-white dark:border-green-600 dark:enabled:hover:bg-green-700 dark:enabled:hover:border-green-700 dark:focus:ring-green-700",indigo:"text-indigo-900 bg-white border border-indigo-300 enabled:hover:bg-indigo-100 focus:ring-4 focus:ring-indigo-300 dark:bg-indigo-600 dark:text-white dark:border-indigo-600 dark:enabled:hover:bg-indigo-700 dark:enabled:hover:border-indigo-700 dark:focus:ring-indigo-700",lime:"text-lime-900 bg-white border border-lime-300 enabled:hover:bg-lime-100 focus:ring-4 focus:ring-lime-300 dark:bg-lime-600 dark:text-white dark:border-lime-600 dark:enabled:hover:bg-lime-700 dark:enabled:hover:border-lime-700 dark:focus:ring-lime-700",pink:"text-pink-900 bg-white border border-pink-300 enabled:hover:bg-pink-100 focus:ring-4 focus:ring-pink-300 dark:bg-pink-600 dark:text-white dark:border-pink-600 dark:enabled:hover:bg-pink-700 dark:enabled:hover:border-pink-700 dark:focus:ring-pink-700",red:"text-red-900 bg-white border border-red-300 enabled:hover:bg-red-100 focus:ring-4 focus:ring-red-300 dark:bg-red-600 dark:text-white dark:border-red-600 dark:enabled:hover:bg-red-700 dark:enabled:hover:border-red-700 dark:focus:ring-red-700",teal:"text-teal-900 bg-white border border-teal-300 enabled:hover:bg-teal-100 focus:ring-4 focus:ring-teal-300 dark:bg-teal-600 dark:text-white dark:border-teal-600 dark:enabled:hover:bg-teal-700 dark:enabled:hover:border-teal-700 dark:focus:ring-teal-700",yellow:"text-yellow-900 bg-white border border-yellow-300 enabled:hover:bg-yellow-100 focus:ring-4 focus:ring-yellow-300 dark:bg-yellow-600 dark:text-white dark:border-yellow-600 dark:enabled:hover:bg-yellow-700 dark:enabled:hover:border-yellow-700 dark:focus:ring-yellow-700"},disabled:"cursor-not-allowed opacity-50",isProcessing:"cursor-wait",spinnerSlot:"absolute h-full top-0 flex items-center animate-fade-in",spinnerLeftPosition:{xs:"left-2",sm:"left-3",md:"left-4",lg:"left-5",xl:"left-6"},gradient:{cyan:"text-white bg-gradient-to-r from-cyan-400 via-cyan-500 to-cyan-600 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800",failure:"text-white bg-gradient-to-r from-red-400 via-red-500 to-red-600 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-red-300 dark:focus:ring-red-800",info:"text-white bg-gradient-to-r from-cyan-500 via-cyan-600 to-cyan-700 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800 ",lime:"text-gray-900 bg-gradient-to-r from-lime-200 via-lime-400 to-lime-500 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-lime-300 dark:focus:ring-lime-800",pink:"text-white bg-gradient-to-r from-pink-400 via-pink-500 to-pink-600 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-pink-300 dark:focus:ring-pink-800",purple:"text-white bg-gradient-to-r from-purple-500 via-purple-600 to-purple-700 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-purple-300 dark:focus:ring-purple-800",success:"text-white bg-gradient-to-r from-green-400 via-green-500 to-green-600 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-green-300 dark:focus:ring-green-800",teal:"text-white bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 enabled:hover:bg-gradient-to-br focus:ring-4 focus:ring-teal-300 dark:focus:ring-teal-800"},gradientDuoTone:{cyanToBlue:"text-white bg-gradient-to-r from-cyan-500 to-cyan-500 enabled:hover:bg-gradient-to-bl focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800",greenToBlue:"text-white bg-gradient-to-br from-green-400 to-cyan-600 enabled:hover:bg-gradient-to-bl focus:ring-4 focus:ring-green-200 dark:focus:ring-green-800",pinkToOrange:"text-white bg-gradient-to-br from-pink-500 to-orange-400 enabled:hover:bg-gradient-to-bl focus:ring-4 focus:ring-pink-200 dark:focus:ring-pink-800",purpleToBlue:"text-white bg-gradient-to-br from-purple-600 to-cyan-500 enabled:hover:bg-gradient-to-bl focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800",purpleToPink:"text-white bg-gradient-to-r from-purple-500 to-pink-500 enabled:hover:bg-gradient-to-l focus:ring-4 focus:ring-purple-200 dark:focus:ring-purple-800",redToYellow:"text-gray-900 bg-gradient-to-r from-red-200 via-red-300 to-yellow-200 enabled:hover:bg-gradient-to-bl focus:ring-4 focus:ring-red-100 dark:focus:ring-red-400",tealToLime:"text-gray-900 bg-gradient-to-r from-teal-200 to-lime-200 enabled:hover:bg-gradient-to-l enabled:hover:from-teal-200 enabled:hover:to-lime-200 enabled:hover:text-gray-900 focus:ring-4 focus:ring-lime-200 dark:focus:ring-teal-700"},inner:{base:"flex items-stretch items-center transition-all duration-200",position:{none:"",start:"rounded-r-none",middle:"rounded-none",end:"rounded-l-none"},outline:"border border-transparent",isProcessingPadding:{xs:"pl-8",sm:"pl-10",md:"pl-12",lg:"pl-16",xl:"pl-20"}},label:"ml-2 inline-flex h-4 w-4 items-center justify-center rounded-full bg-cyan-200 text-xs font-semibold text-cyan-800",outline:{color:{gray:"border border-gray-900 dark:border-white",default:"border-0",light:""},off:"",on:"flex justify-center bg-white text-gray-900 transition-all duration-75 ease-in group-enabled:group-hover:bg-opacity-0 group-enabled:group-hover:text-inherit dark:bg-gray-900 dark:text-white w-full",pill:{off:"rounded-md",on:"rounded-full"}},pill:{off:"rounded-lg",on:"rounded-full"},size:{xs:"text-xs px-2 py-1",sm:"text-sm px-3 py-1.5",md:"text-sm px-4 py-2",lg:"text-base px-5 py-2.5",xl:"text-base px-6 py-3"}},Jj={base:"inline-flex",position:{none:"focus:ring-2",start:"rounded-r-none",middle:"rounded-none border-l-0 pl-0",end:"rounded-l-none border-l-0 pl-0"}},Zj={root:{base:"flex rounded-lg border border-gray-200 bg-white shadow-md dark:border-gray-700 dark:bg-gray-800",children:"flex h-full flex-col justify-center gap-4 p-6",horizontal:{off:"flex-col",on:"flex-col md:max-w-xl md:flex-row"},href:"hover:bg-gray-100 dark:hover:bg-gray-700"},img:{base:"",horizontal:{off:"rounded-t-lg",on:"h-96 w-full rounded-t-lg object-cover md:h-auto md:w-48 md:rounded-none md:rounded-l-lg"}}},eO={root:{base:"relative h-full w-full",leftControl:"absolute top-0 left-0 flex h-full items-center justify-center px-4 focus:outline-none",rightControl:"absolute top-0 right-0 flex h-full items-center justify-center px-4 focus:outline-none"},indicators:{active:{off:"bg-white/50 hover:bg-white dark:bg-gray-800/50 dark:hover:bg-gray-800",on:"bg-white dark:bg-gray-800"},base:"h-3 w-3 rounded-full",wrapper:"absolute bottom-5 left-1/2 flex -translate-x-1/2 space-x-3"},item:{base:"absolute top-1/2 left-1/2 block w-full -translate-x-1/2 -translate-y-1/2",wrapper:{off:"w-full flex-shrink-0 transform cursor-default snap-center",on:"w-full flex-shrink-0 transform cursor-grab snap-center"}},control:{base:"inline-flex h-8 w-8 items-center justify-center rounded-full bg-white/30 group-hover:bg-white/50 group-focus:outline-none group-focus:ring-4 group-focus:ring-white dark:bg-gray-800/30 dark:group-hover:bg-gray-800/60 dark:group-focus:ring-gray-800/70 sm:h-10 sm:w-10",icon:"h-5 w-5 text-white dark:text-gray-800 sm:h-6 sm:w-6"},scrollContainer:{base:"flex h-full snap-mandatory overflow-y-hidden overflow-x-scroll scroll-smooth rounded-lg",snap:"snap-x"}},tO={root:{base:"h-4 w-4 rounded focus:ring-2 border border-gray-300 dark:border-gray-600 dark:bg-gray-700 bg-gray-100",color:{default:"focus:ring-cyan-600 dark:ring-offset-gray-800 dark:focus:ring-cyan-600 text-cyan-600",dark:"focus:ring-gray-800 dark:ring-offset-gray-800 dark:focus:ring-gray-800 text-gray-800",failure:"focus:ring-red-900 dark:ring-offset-red-900 dark:focus:ring-red-900 text-red-900",gray:"focus:ring-gray-900 dark:ring-offset-gray-900 dark:focus:ring-gray-900 text-gray-900",info:"focus:ring-cyan-800 dark:ring-offset-gray-800 dark:focus:ring-cyan-800 text-cyan-800",light:"focus:ring-gray-900 dark:ring-offset-gray-900 dark:focus:ring-gray-900 text-gray-900",purple:"focus:ring-purple-600 dark:ring-offset-purple-600 dark:focus:ring-purple-600 text-purple-600",success:"focus:ring-green-800 dark:ring-offset-green-800 dark:focus:ring-green-800 text-green-800",warning:"focus:ring-yellow-400 dark:ring-offset-yellow-400 dark:focus:ring-yellow-400 text-yellow-400",blue:"focus:ring-blue-600 dark:ring-offset-blue-700 dark:focus:ring-blue-700 text-blue-700",cyan:"focus:ring-cyan-600 dark:ring-offset-cyan-600 dark:focus:ring-cyan-600 text-cyan-600",green:"focus:ring-green-600 dark:ring-offset-green-600 dark:focus:ring-green-600 text-green-600",indigo:"focus:ring-indigo-700 dark:ring-offset-indigo-700 dark:focus:ring-indigo-700 text-indigo-700",lime:"focus:ring-lime-700 dark:ring-offset-lime-700 dark:focus:ring-lime-700 text-lime-700",pink:"focus:ring-pink-600 dark:ring-offset-pink-600 dark:focus:ring-pink-600 text-pink-600",red:"focus:ring-red-600 dark:ring-offset-red-600 dark:focus:ring-red-600 text-red-600",teal:"focus:ring-teal-600 dark:ring-offset-teal-600 dark:focus:ring-teal-600 text-teal-600",yellow:"focus:ring-yellow-400 dark:ring-offset-yellow-400 dark:focus:ring-yellow-400 text-yellow-400"}}},nO={root:{base:"rounded-lg p-2.5 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-700",icon:"h-5 w-5"}},rO={root:{base:"relative"},popup:{root:{base:"absolute top-10 z-50 block pt-2",inline:"relative top-0 z-auto",inner:"inline-block rounded-lg bg-white p-4 shadow-lg dark:bg-gray-700"},header:{base:"",title:"px-2 py-3 text-center font-semibold text-gray-900 dark:text-white",selectors:{base:"flex justify-between mb-2",button:{base:"text-sm rounded-lg text-gray-900 dark:text-white bg-white dark:bg-gray-700 font-semibold py-2.5 px-5 hover:bg-gray-100 dark:hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-gray-200 view-switch",prev:"",next:"",view:""}}},view:{base:"p-1"},footer:{base:"flex mt-2 space-x-2",button:{base:"w-full rounded-lg px-5 py-2 text-center text-sm font-medium focus:ring-4 focus:ring-cyan-300",today:"bg-cyan-700 text-white hover:bg-cyan-800 dark:bg-cyan-600 dark:hover:bg-cyan-700",clear:"border border-gray-300 bg-white text-gray-900 hover:bg-gray-100 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:hover:bg-gray-600"}}},views:{days:{header:{base:"grid grid-cols-7 mb-1",title:"dow h-6 text-center text-sm font-medium leading-6 text-gray-500 dark:text-gray-400"},items:{base:"grid w-64 grid-cols-7",item:{base:"block flex-1 cursor-pointer rounded-lg border-0 text-center text-sm font-semibold leading-9 text-gray-900 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-600 ",selected:"bg-cyan-700 text-white hover:bg-cyan-600",disabled:"text-gray-500"}}},months:{items:{base:"grid w-64 grid-cols-4",item:{base:"block flex-1 cursor-pointer rounded-lg border-0 text-center text-sm font-semibold leading-9 text-gray-900 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-600",selected:"bg-cyan-700 text-white hover:bg-cyan-600",disabled:"text-gray-500"}}},years:{items:{base:"grid w-64 grid-cols-4",item:{base:"block flex-1 cursor-pointer rounded-lg border-0 text-center text-sm font-semibold leading-9 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-600 text-gray-900",selected:"bg-cyan-700 text-white hover:bg-cyan-600",disabled:"text-gray-500"}}},decades:{items:{base:"grid w-64 grid-cols-4",item:{base:"block flex-1 cursor-pointer rounded-lg border-0 text-center text-sm font-semibold leading-9 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-600 text-gray-900",selected:"bg-cyan-700 text-white hover:bg-cyan-600",disabled:"text-gray-500"}}}}},oO={arrowIcon:"ml-2 h-4 w-4",content:"py-1 focus:outline-none",floating:{animation:"transition-opacity",arrow:{base:"absolute z-10 h-2 w-2 rotate-45",style:{dark:"bg-gray-900 dark:bg-gray-700",light:"bg-white",auto:"bg-white dark:bg-gray-700"},placement:"-4px"},base:"z-10 w-fit rounded divide-y divide-gray-100 shadow focus:outline-none",content:"py-1 text-sm text-gray-700 dark:text-gray-200",divider:"my-1 h-px bg-gray-100 dark:bg-gray-600",header:"block py-2 px-4 text-sm text-gray-700 dark:text-gray-200",hidden:"invisible opacity-0",item:{container:"",base:"flex items-center justify-start py-2 px-4 text-sm text-gray-700 cursor-pointer w-full hover:bg-gray-100 focus:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 focus:outline-none dark:hover:text-white dark:focus:bg-gray-600 dark:focus:text-white",icon:"mr-2 h-4 w-4"},style:{dark:"bg-gray-900 text-white dark:bg-gray-700",light:"border border-gray-200 bg-white text-gray-900",auto:"border border-gray-200 bg-white text-gray-900 dark:border-none dark:bg-gray-700 dark:text-white"},target:"w-fit"},inlineWrapper:"flex items-center"},iO={root:{base:"flex"},field:{base:"relative w-full",input:{base:"rounded-lg overflow-hidden block w-full border disabled:cursor-not-allowed disabled:opacity-50",sizes:{sm:"sm:text-xs",md:"text-sm",lg:"sm:text-md"},colors:{gray:"bg-gray-50 border-gray-300 text-gray-900 focus:border-cyan-500 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",info:"border-cyan-500 bg-cyan-50 text-cyan-900 placeholder-cyan-700 focus:border-cyan-500 focus:ring-cyan-500 dark:border-cyan-400 dark:bg-cyan-100 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",failure:"border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500",warning:"border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500",success:"border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500"}}}},sO={input:{default:{filled:{sm:"peer block w-full appearance-none rounded-t-lg border-0 border-b-2 border-gray-300 bg-gray-50 px-2.5 pb-2.5 pt-5 text-xs text-gray-900 focus:border-blue-600 focus:outline-none focus:ring-0 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:focus:border-blue-500",md:"peer block w-full appearance-none rounded-t-lg border-0 border-b-2 border-gray-300 bg-gray-50 px-2.5 pb-2.5 pt-5 text-sm text-gray-900 focus:border-blue-600 focus:outline-none focus:ring-0 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:focus:border-blue-500"},outlined:{sm:"border-1 peer block w-full appearance-none rounded-lg border-gray-300 bg-transparent px-2.5 pb-2.5 pt-4 text-xs text-gray-900 focus:border-blue-600 focus:outline-none focus:ring-0 dark:border-gray-600 dark:text-white dark:focus:border-blue-500",md:"border-1 peer block w-full appearance-none rounded-lg border-gray-300 bg-transparent px-2.5 pb-2.5 pt-4 text-sm text-gray-900 focus:border-blue-600 focus:outline-none focus:ring-0 dark:border-gray-600 dark:text-white dark:focus:border-blue-500"},standard:{sm:"block py-2.5 px-0 w-full text-xs text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer",md:"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer"}},success:{filled:{sm:"block rounded-t-lg px-2.5 pb-2.5 pt-5 w-full text-xs text-gray-900 bg-gray-50 dark:bg-gray-700 border-0 border-b-2 border-green-600 dark:border-green-500 appearance-none dark:text-white dark:focus:border-green-500 focus:outline-none focus:ring-0 focus:border-green-600 peer",md:"block rounded-t-lg px-2.5 pb-2.5 pt-5 w-full text-sm text-gray-900 bg-gray-50 dark:bg-gray-700 border-0 border-b-2 border-green-600 dark:border-green-500 appearance-none dark:text-white dark:focus:border-green-500 focus:outline-none focus:ring-0 focus:border-green-600 peer"},outlined:{sm:"block px-2.5 pb-2.5 pt-4 w-full text-xs text-gray-900 bg-transparent rounded-lg border-1 border-green-600 appearance-none dark:text-white dark:border-green-500 dark:focus:border-green-500 focus:outline-none focus:ring-0 focus:border-green-600 peer",md:"block px-2.5 pb-2.5 pt-4 w-full text-sm text-gray-900 bg-transparent rounded-lg border-1 border-green-600 appearance-none dark:text-white dark:border-green-500 dark:focus:border-green-500 focus:outline-none focus:ring-0 focus:border-green-600 peer"},standard:{sm:"block py-2.5 px-0 w-full text-xs text-gray-900 bg-transparent border-0 border-b-2 border-green-600 appearance-none dark:text-white dark:border-green-500 dark:focus:border-green-500 focus:outline-none focus:ring-0 focus:border-green-600 peer",md:"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-green-600 appearance-none dark:text-white dark:border-green-500 dark:focus:border-green-500 focus:outline-none focus:ring-0 focus:border-green-600 peer"}},error:{filled:{sm:"block rounded-t-lg px-2.5 pb-2.5 pt-5 w-full text-xs text-gray-900 bg-gray-50 dark:bg-gray-700 border-0 border-b-2 appearance-none dark:text-white dark:border-red-500 focus:outline-none focus:ring-0 border-red-600 focus:border-red-600 dark:focus-border-red-500 peer",md:"block rounded-t-lg px-2.5 pb-2.5 pt-5 w-full text-sm text-gray-900 bg-gray-50 dark:bg-gray-700 border-0 border-b-2 appearance-none dark:text-white dark:border-red-500 focus:outline-none focus:ring-0 border-red-600 focus:border-red-600 dark:focus-border-red-500 peer"},outlined:{sm:"block px-2.5 pb-2.5 pt-4 w-full text-xs text-gray-900 bg-transparent rounded-lg border-1 appearance-none dark:text-white dark:border-red-500 border-red-600 dark:focus:border-red-500 focus:outline-none focus:ring-0 focus:border-red-600 peer",md:"block px-2.5 pb-2.5 pt-4 w-full text-sm text-gray-900 bg-transparent rounded-lg border-1 appearance-none dark:text-white dark:border-red-500 border-red-600 dark:focus:border-red-500 focus:outline-none focus:ring-0 focus:border-red-600 peer"},standard:{sm:"block py-2.5 px-0 w-full text-xs text-gray-900 bg-transparent border-0 border-b-2 border-red-600 appearance-none dark:text-white dark:border-red-500 dark:focus:border-red-500 focus:outline-none focus:ring-0 focus:border-red-600 peer",md:"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-red-600 appearance-none dark:text-white dark:border-red-500 dark:focus:border-red-500 focus:outline-none focus:ring-0 focus:border-red-600 peer"}}},label:{default:{filled:{sm:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 transition-transform text-xs text-gray-500 duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:text-blue-600 dark:text-gray-400 peer-focus:dark:text-blue-500",md:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 transition-transform text-sm text-gray-500 duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:text-blue-600 dark:text-gray-400 peer-focus:dark:text-blue-500"},outlined:{sm:"absolute left-1 top-2 z-10 origin-[0] -translate-y-4 scale-75 transition-transform bg-white px-2 text-xs text-gray-500 duration-300 peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-focus:top-2 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:px-2 peer-focus:text-blue-600 dark:bg-gray-900 dark:text-gray-400 peer-focus:dark:text-blue-500",md:"absolute left-1 top-2 z-10 origin-[0] -translate-y-4 scale-75 transition-transform bg-white px-2 text-sm text-gray-500 duration-300 peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-focus:top-2 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:px-2 peer-focus:text-blue-600 dark:bg-gray-900 dark:text-gray-400 peer-focus:dark:text-blue-500"},standard:{sm:"absolute text-xs text-gray-500 dark:text-gray-400 transition-transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] duration-300 peer-focus:left-0 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6",md:"absolute text-sm text-gray-500 dark:text-gray-400 transition-transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] duration-300 peer-focus:left-0 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6"}},success:{filled:{sm:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 transition-transform text-sm text-green-600 duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75 dark:text-green-500",md:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 transition-transform text-sm text-green-600 duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75 dark:text-green-500"},outlined:{sm:"absolute left-1 top-2 z-10 origin-[0] -translate-y-4 scale-75 transition-transform bg-white px-2 text-sm text-green-600 duration-300 peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-focus:top-2 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:px-2 dark:bg-gray-900 dark:text-green-500",md:"absolute left-1 top-2 z-10 origin-[0] -translate-y-4 scale-75 transition-transform bg-white px-2 text-sm text-green-600 duration-300 peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-focus:top-2 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:px-2 dark:bg-gray-900 dark:text-green-500"},standard:{sm:"absolute text-xs text-green-600 dark:text-green-500 transition-transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] duration-300 peer-focus:left-0 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6",md:"absolute text-sm text-green-600 dark:text-green-500 transition-transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] duration-300 peer-focus:left-0 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6"}},error:{filled:{sm:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 transition-transform text-xs text-red-600 duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75 dark:text-red-500",md:"absolute left-2.5 top-4 z-10 origin-[0] -translate-y-4 scale-75 transition-transform text-xs text-red-600 duration-300 peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100 peer-focus:-translate-y-4 peer-focus:scale-75 dark:text-red-500"},outlined:{sm:"absolute left-1 top-2 z-10 origin-[0] -translate-y-4 scale-75 transition-transform bg-white px-2 text-xs text-red-600 duration-300 peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-focus:top-2 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:px-2 dark:bg-gray-900 dark:text-red-500",md:"absolute left-1 top-2 z-10 origin-[0] -translate-y-4 scale-75 transition-transform bg-white px-2 text-xs text-red-600 duration-300 peer-placeholder-shown:top-1/2 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:scale-100 peer-focus:top-2 peer-focus:-translate-y-4 peer-focus:scale-75 peer-focus:px-2 dark:bg-gray-900 dark:text-red-500"},standard:{sm:"absolute text-xs text-red-600 dark:text-red-500 transition-transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] duration-300 peer-focus:left-0 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6",md:"absolute text-sm text-red-600 dark:text-red-500 transition-transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] duration-300 peer-focus:left-0 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6"}}},helperText:{default:"mt-2 text-xs text-gray-600 dark:text-gray-400",success:"mt-2 text-xs text-green-600 dark:text-green-400",error:"mt-2 text-xs text-red-600 dark:text-red-400"}},aO={root:{base:"w-full rounded-lg bg-white shadow dark:bg-gray-800 md:flex md:items-center md:justify-between",container:"w-full p-6",bgDark:"bg-gray-800"},groupLink:{base:"flex flex-wrap text-sm text-gray-500 dark:text-white",link:{base:"last:mr-0 md:mr-6 me-4",href:"hover:underline"},col:"flex-col space-y-4"},icon:{base:"text-gray-500 dark:hover:text-white",size:"h-5 w-5"},title:{base:"mb-6 text-sm font-semibold uppercase text-gray-500 dark:text-white"},divider:{base:"w-full my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8"},copyright:{base:"text-sm text-gray-500 dark:text-gray-400 sm:text-center",href:"ml-1 hover:underline",span:"ml-1"},brand:{base:"mb-4 flex items-center sm:mb-0",img:"mr-3 h-8",span:"self-center whitespace-nowrap text-2xl font-semibold text-gray-800 dark:text-white"}},lO={root:{base:"mt-2 text-sm",colors:{gray:"text-gray-500 dark:text-gray-400",info:"text-cyan-700 dark:text-cyan-800",success:"text-green-600 dark:text-green-500",failure:"text-red-600 dark:text-red-500",warning:"text-yellow-500 dark:text-yellow-600"}}},cO={root:{base:"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500",icon:"inline-block"}},uO={root:{base:"text-sm font-medium",disabled:"opacity-50",colors:{default:"text-gray-900 dark:text-white",info:"text-cyan-500 dark:text-cyan-600",failure:"text-red-700 dark:text-red-500",warning:"text-yellow-500 dark:text-yellow-600",success:"text-green-700 dark:text-green-500"}}},dO={root:{base:"space-y-1 text-gray-500 list-inside dark:text-gray-400",ordered:{off:"list-disc",on:"list-decimal"},horizontal:"flex flex-wrap items-center space-x-4 space-y-0 justify-center list-none",unstyled:"list-none",nested:"ps-5 mt-2"}},fO={root:{base:"list-none rounded-lg border border-gray-200 bg-white text-sm font-medium text-gray-900 dark:border-gray-600 dark:bg-gray-700 dark:text-white text-left"},item:{base:"[&>*]:first:rounded-t-lg [&>*]:last:rounded-b-lg [&>*]:last:border-b-0",link:{base:"flex items-center w-full border-b border-gray-200 py-2 px-4 dark:border-gray-600",active:{off:"hover:bg-gray-100 hover:text-cyan-700 focus:text-cyan-700 focus:outline-none focus:ring-2 focus:ring-cyan-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:text-white dark:focus:ring-gray-500",on:"bg-cyan-700 text-white dark:bg-gray-800"},disabled:{off:"",on:"hover:bg-gray-100 text-gray-900 hover:text-gray-900 focus:text-gray-900 bg-gray-100 cursor-not-allowed"},href:{off:"",on:""},icon:"mr-2 h-4 w-4 fill-current"}}},pO={root:{base:"fixed top-0 right-0 left-0 z-50 h-modal h-screen overflow-y-auto overflow-x-hidden md:inset-0 md:h-full",show:{on:"flex bg-gray-900 bg-opacity-50 dark:bg-opacity-80",off:"hidden"},sizes:{sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl","7xl":"max-w-7xl"},positions:{"top-left":"items-start justify-start","top-center":"items-start justify-center","top-right":"items-start justify-end","center-left":"items-center justify-start",center:"items-center justify-center","center-right":"items-center justify-end","bottom-right":"items-end justify-end","bottom-center":"items-end justify-center","bottom-left":"items-end justify-start"}},content:{base:"relative h-full w-full p-4 md:h-auto",inner:"relative rounded-lg bg-white shadow dark:bg-gray-700 flex flex-col max-h-[90vh]"},body:{base:"p-6 flex-1 overflow-auto",popup:"pt-0"},header:{base:"flex items-start justify-between rounded-t dark:border-gray-600 border-b p-5",popup:"p-2 border-b-0",title:"text-xl font-medium text-gray-900 dark:text-white",close:{base:"ml-auto inline-flex items-center rounded-lg bg-transparent p-1.5 text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white",icon:"h-5 w-5"}},footer:{base:"flex items-center space-x-2 rounded-b border-gray-200 p-6 dark:border-gray-600",popup:"border-t"}},mO={root:{base:"bg-white px-2 py-2.5 dark:border-gray-700 dark:bg-gray-800 sm:px-4",rounded:{on:"rounded",off:""},bordered:{on:"border",off:""},inner:{base:"mx-auto flex flex-wrap items-center justify-between",fluid:{on:"",off:"container"}}},brand:{base:"flex items-center"},collapse:{base:"w-full md:block md:w-auto",list:"mt-4 flex flex-col md:mt-0 md:flex-row md:space-x-8 md:text-sm md:font-medium",hidden:{on:"hidden",off:""}},link:{base:"block py-2 pr-4 pl-3 md:p-0",active:{on:"bg-cyan-700 text-white dark:text-white md:bg-transparent md:text-cyan-700",off:"border-b border-gray-100 text-gray-700 hover:bg-gray-50 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white md:border-0 md:hover:bg-transparent md:hover:text-cyan-700 md:dark:hover:bg-transparent md:dark:hover:text-white"},disabled:{on:"text-gray-400 hover:cursor-not-allowed dark:text-gray-600",off:""}},toggle:{base:"inline-flex items-center rounded-lg p-2 text-sm text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600 md:hidden",icon:"h-6 w-6 shrink-0"}},hO={base:"",layout:{table:{base:"text-sm text-gray-700 dark:text-gray-400",span:"font-semibold text-gray-900 dark:text-white"}},pages:{base:"xs:mt-0 mt-2 inline-flex items-center -space-x-px",showIcon:"inline-flex",previous:{base:"ml-0 rounded-l-lg border border-gray-300 bg-white py-2 px-3 leading-tight text-gray-500 enabled:hover:bg-gray-100 enabled:hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 enabled:dark:hover:bg-gray-700 enabled:dark:hover:text-white",icon:"h-5 w-5"},next:{base:"rounded-r-lg border border-gray-300 bg-white py-2 px-3 leading-tight text-gray-500 enabled:hover:bg-gray-100 enabled:hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 enabled:dark:hover:bg-gray-700 enabled:dark:hover:text-white",icon:"h-5 w-5"},selector:{base:"w-12 border border-gray-300 bg-white py-2 leading-tight text-gray-500 enabled:hover:bg-gray-100 enabled:hover:text-gray-700 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-400 enabled:dark:hover:bg-gray-700 enabled:dark:hover:text-white",active:"bg-cyan-50 text-cyan-600 hover:bg-cyan-100 hover:text-cyan-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white",disabled:"opacity-50 cursor-normal"}}},gO={base:"w-full overflow-hidden rounded-full bg-gray-200 dark:bg-gray-700",label:"mb-1 flex justify-between font-medium dark:text-white",bar:"rounded-full text-center font-medium leading-none text-cyan-300 dark:text-cyan-100 space-x-2",color:{dark:"bg-gray-600 dark:bg-gray-300",blue:"bg-blue-600",red:"bg-red-600 dark:bg-red-500",green:"bg-green-600 dark:bg-green-500",yellow:"bg-yellow-400",indigo:"bg-indigo-600 dark:bg-indigo-500",purple:"bg-purple-600 dark:bg-purple-500",cyan:"bg-cyan-600",gray:"bg-gray-500",lime:"bg-lime-600",pink:"bg-pink-500",teal:"bg-teal-600"},size:{sm:"h-1.5",md:"h-2.5",lg:"h-4",xl:"h-6"}},yO={root:{base:"h-4 w-4 border border-gray-300 focus:ring-2 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:focus:bg-cyan-600 dark:focus:ring-cyan-600 text-cyan-600"}},vO={root:{base:"flex"},field:{base:"relative w-full",input:{base:"w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700",sizes:{sm:"h-1 range-sm",md:"h-2",lg:"h-3 range-lg"}}}},bO={root:{base:"flex items-center"},star:{empty:"text-gray-300 dark:text-gray-500",filled:"text-yellow-400",sizes:{sm:"w-5 h-5",md:"w-7 h-7",lg:"w-10 h-10"}}},wO={base:"flex items-center",label:"text-sm font-medium text-cyan-600 dark:text-cyan-500",progress:{base:"mx-4 h-5 w-2/4 rounded bg-gray-200 dark:bg-gray-700",fill:"h-5 rounded bg-yellow-400",label:"text-sm font-medium text-cyan-600 dark:text-cyan-500"}},xO={base:"flex",addon:"inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-200 px-3 text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-600 dark:text-gray-400",field:{base:"relative w-full",icon:{base:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",svg:"h-5 w-5 text-gray-500 dark:text-gray-400"},select:{base:"block w-full border disabled:cursor-not-allowed disabled:opacity-50",withIcon:{on:"pl-10",off:""},withAddon:{on:"rounded-r-lg",off:"rounded-lg"},withShadow:{on:"shadow-sm dark:shadow-sm-light",off:""},sizes:{sm:"p-2 sm:text-xs",md:"p-2.5 text-sm",lg:"sm:text-md p-4"},colors:{gray:"bg-gray-50 border-gray-300 text-gray-900 focus:border-cyan-500 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",info:"border-cyan-500 bg-cyan-50 text-cyan-900 placeholder-cyan-700 focus:border-cyan-500 focus:ring-cyan-500 dark:border-cyan-400 dark:bg-cyan-100 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",failure:"border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500",warning:"border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500",success:"border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500"}}}},kO={root:{base:"h-full",collapsed:{on:"w-16",off:"w-64"},inner:"h-full overflow-y-auto overflow-x-hidden rounded bg-gray-50 py-4 px-3 dark:bg-gray-800"},collapse:{button:"group flex w-full items-center rounded-lg p-2 text-base font-normal text-gray-900 transition duration-75 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700",icon:{base:"h-6 w-6 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white",open:{off:"",on:"text-gray-900"}},label:{base:"ml-3 flex-1 whitespace-nowrap text-left",icon:{base:"h-6 w-6 transition ease-in-out delay-0",open:{on:"rotate-180",off:""}}},list:"space-y-2 py-2"},cta:{base:"mt-6 rounded-lg p-4 bg-gray-100 dark:bg-gray-700",color:{blue:"bg-cyan-50 dark:bg-cyan-900",dark:"bg-dark-50 dark:bg-dark-900",failure:"bg-red-50 dark:bg-red-900",gray:"bg-alternative-50 dark:bg-alternative-900",green:"bg-green-50 dark:bg-green-900",light:"bg-light-50 dark:bg-light-900",red:"bg-red-50 dark:bg-red-900",purple:"bg-purple-50 dark:bg-purple-900",success:"bg-green-50 dark:bg-green-900",yellow:"bg-yellow-50 dark:bg-yellow-900",warning:"bg-yellow-50 dark:bg-yellow-900"}},item:{base:"flex items-center justify-center rounded-lg p-2 text-base font-normal text-gray-900 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700",active:"bg-gray-100 dark:bg-gray-700",collapsed:{insideCollapse:"group w-full pl-8 transition duration-75",noIcon:"font-bold"},content:{base:"px-3 flex-1 whitespace-nowrap"},icon:{base:"h-6 w-6 flex-shrink-0 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white",active:"text-gray-700 dark:text-gray-100"},label:"",listItem:""},items:{base:""},itemGroup:{base:"mt-4 space-y-2 border-t border-gray-200 pt-4 first:mt-0 first:border-t-0 first:pt-0 dark:border-gray-700"},logo:{base:"mb-5 flex items-center pl-2.5",collapsed:{on:"hidden",off:"self-center whitespace-nowrap text-xl font-semibold dark:text-white"},img:"mr-3 h-6 sm:h-7"}},CO={base:"inline animate-spin text-gray-200",color:{failure:"fill-red-600",gray:"fill-gray-600",info:"fill-cyan-600",pink:"fill-pink-600",purple:"fill-purple-600",success:"fill-green-500",warning:"fill-yellow-400"},light:{off:{base:"dark:text-gray-600",color:{failure:"",gray:"dark:fill-gray-300",info:"",pink:"",purple:"",success:"",warning:""}},on:{base:"",color:{failure:"",gray:"",info:"",pink:"",purple:"",success:"",warning:""}}},size:{xs:"w-3 h-3",sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-10 h-10"}},SO={root:{base:"w-full text-left text-sm text-gray-500 dark:text-gray-400",shadow:"absolute bg-white dark:bg-black w-full h-full top-0 left-0 rounded-lg drop-shadow-md -z-10",wrapper:"relative"},body:{base:"group/body",cell:{base:"group-first/body:group-first/row:first:rounded-tl-lg group-first/body:group-first/row:last:rounded-tr-lg group-last/body:group-last/row:first:rounded-bl-lg group-last/body:group-last/row:last:rounded-br-lg px-6 py-4"}},head:{base:"group/head text-xs uppercase text-gray-700 dark:text-gray-400",cell:{base:"group-first/head:first:rounded-tl-lg group-first/head:last:rounded-tr-lg bg-gray-50 dark:bg-gray-700 px-6 py-3"}},row:{base:"group/row",hovered:"hover:bg-gray-50 dark:hover:bg-gray-600",striped:"odd:bg-white even:bg-gray-50 odd:dark:bg-gray-800 even:dark:bg-gray-700"}},EO={base:"flex flex-col gap-2",tablist:{base:"flex text-center",styles:{default:"flex-wrap border-b border-gray-200 dark:border-gray-700",underline:"flex-wrap -mb-px border-b border-gray-200 dark:border-gray-700",pills:"flex-wrap font-medium text-sm text-gray-500 dark:text-gray-400 space-x-2",fullWidth:"w-full text-sm font-medium divide-x divide-gray-200 shadow grid grid-flow-col dark:divide-gray-700 dark:text-gray-400 rounded-none"},tabitem:{base:"flex items-center justify-center p-4 rounded-t-lg text-sm font-medium first:ml-0 disabled:cursor-not-allowed disabled:text-gray-400 disabled:dark:text-gray-500 focus:ring-4 focus:ring-cyan-300 focus:outline-none",styles:{default:{base:"rounded-t-lg",active:{on:"bg-gray-100 text-cyan-600 dark:bg-gray-800 dark:text-cyan-500",off:"text-gray-500 hover:bg-gray-50 hover:text-gray-600 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-gray-300"}},underline:{base:"rounded-t-lg",active:{on:"text-cyan-600 rounded-t-lg border-b-2 border-cyan-600 active dark:text-cyan-500 dark:border-cyan-500",off:"border-b-2 border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300"}},pills:{base:"",active:{on:"rounded-lg bg-cyan-600 text-white",off:"rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-800 dark:hover:text-white"}},fullWidth:{base:"ml-0 first:ml-0 w-full rounded-none flex",active:{on:"p-4 text-gray-900 bg-gray-100 active dark:bg-gray-700 dark:text-white rounded-none",off:"bg-white hover:text-gray-700 hover:bg-gray-50 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700 rounded-none"}}},icon:"mr-2 h-5 w-5"}},tabitemcontainer:{base:"",styles:{default:"",underline:"",pills:"",fullWidth:""}},tabpanel:"py-3"},TO={base:"flex",addon:"inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-200 px-3 text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-600 dark:text-gray-400",field:{base:"relative w-full",icon:{base:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",svg:"h-5 w-5 text-gray-500 dark:text-gray-400"},rightIcon:{base:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3",svg:"h-5 w-5 text-gray-500 dark:text-gray-400"},input:{base:"block w-full border disabled:cursor-not-allowed disabled:opacity-50",sizes:{sm:"p-2 sm:text-xs",md:"p-2.5 text-sm",lg:"sm:text-md p-4"},colors:{gray:"bg-gray-50 border-gray-300 text-gray-900 focus:border-cyan-500 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",info:"border-cyan-500 bg-cyan-50 text-cyan-900 placeholder-cyan-700 focus:border-cyan-500 focus:ring-cyan-500 dark:border-cyan-400 dark:bg-cyan-100 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",failure:"border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500",warning:"border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500",success:"border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500"},withRightIcon:{on:"pr-10",off:""},withIcon:{on:"pl-10",off:""},withAddon:{on:"rounded-r-lg",off:"rounded-lg"},withShadow:{on:"shadow-sm dark:shadow-sm-light",off:""}}}},PO={base:"block w-full rounded-lg border disabled:cursor-not-allowed disabled:opacity-50 text-sm",colors:{gray:"bg-gray-50 border-gray-300 text-gray-900 focus:border-cyan-500 focus:ring-cyan-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",info:"border-cyan-500 bg-cyan-50 text-cyan-900 placeholder-cyan-700 focus:border-cyan-500 focus:ring-cyan-500 dark:border-cyan-400 dark:bg-cyan-100 dark:focus:border-cyan-500 dark:focus:ring-cyan-500",failure:"border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500",warning:"border-yellow-500 bg-yellow-50 text-yellow-900 placeholder-yellow-700 focus:border-yellow-500 focus:ring-yellow-500 dark:border-yellow-400 dark:bg-yellow-100 dark:focus:border-yellow-500 dark:focus:ring-yellow-500",success:"border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500"},withShadow:{on:"shadow-sm dark:shadow-sm-light",off:""}},RO={root:{direction:{horizontal:"items-base sm:flex",vertical:"relative border-l border-gray-200 dark:border-gray-700"}},item:{root:{horizontal:"relative mb-6 sm:mb-0",vertical:"mb-10 ml-6"},content:{root:{base:"mt-3 sm:pr-8"},body:{base:"mb-4 text-base font-normal text-gray-500 dark:text-gray-400"},time:{base:"mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500"},title:{base:"text-lg font-semibold text-gray-900 dark:text-white"}},point:{horizontal:"flex items-center",line:"hidden h-0.5 w-full bg-gray-200 dark:bg-gray-700 sm:flex",marker:{base:{horizontal:"absolute -left-1.5 h-3 w-3 rounded-full border border-white bg-gray-200 dark:border-gray-900 dark:bg-gray-700",vertical:"absolute -left-1.5 mt-1.5 h-3 w-3 rounded-full border border-white bg-gray-200 dark:border-gray-900 dark:bg-gray-700"},icon:{base:"h-3 w-3 text-cyan-600 dark:text-cyan-300",wrapper:"absolute -left-3 flex h-6 w-6 items-center justify-center rounded-full bg-cyan-200 ring-8 ring-white dark:bg-cyan-900 dark:ring-gray-900"}},vertical:""}}},NO={root:{base:"flex w-full max-w-xs items-center rounded-lg bg-white p-4 text-gray-500 shadow dark:bg-gray-800 dark:text-gray-400",closed:"opacity-0 ease-out"},toggle:{base:"-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",icon:"h-5 w-5 shrink-0"}},_O={root:{base:"group relative flex items-center rounded-lg focus:outline-none",active:{on:"cursor-pointer",off:"cursor-not-allowed opacity-50"},label:"ml-3 text-sm font-medium text-gray-900 dark:text-gray-300"},toggle:{base:"toggle-bg rounded-full border group-focus:ring-4 group-focus:ring-cyan-500/25",checked:{on:"after:translate-x-full after:border-white",off:"border-gray-200 bg-gray-200 dark:border-gray-600 dark:bg-gray-700",color:{blue:" bg-cyan-700 border-cyan-700",dark:"bg-dark-700 border-dark-900",failure:"bg-red-700 border-red-900",gray:"bg-gray-500 border-gray-600",green:"bg-green-600 border-green-700",light:"bg-light-700 border-light-900",red:"bg-red-700 border-red-900",purple:"bg-purple-700 border-purple-900",success:"bg-green-500 border-green-500",yellow:"bg-yellow-400 border-yellow-400",warning:"bg-yellow-600 border-yellow-600",cyan:"bg-cyan-500 border-cyan-500",lime:"bg-lime-400 border-lime-400",indigo:"bg-indigo-400 border-indigo-400",teal:"bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 hover:bg-gradient-to-br focus:ring-4",info:"bg-cyan-600 border-cyan-600",pink:"bg-pink-600 border-pink-600"}},sizes:{sm:"w-9 h-5 after:absolute after:top-[2px] after:left-[2px] after:h-4 after:w-4",md:"w-11 h-6 after:absolute after:top-[2px] after:left-[2px] after:h-5 after:w-5",lg:"w-14 h-7 after:absolute after:top-0.5 after:left-[4px] after:h-6 after:w-6"}}},jO={target:"w-fit",animation:"transition-opacity",arrow:{base:"absolute z-10 h-2 w-2 rotate-45",style:{dark:"bg-gray-900 dark:bg-gray-700",light:"bg-white",auto:"bg-white dark:bg-gray-700"},placement:"-4px"},base:"absolute inline-block z-10 rounded-lg py-2 px-3 text-sm font-medium shadow-sm",hidden:"invisible opacity-0",style:{dark:"bg-gray-900 text-white dark:bg-gray-700",light:"border border-gray-200 bg-white text-gray-900",auto:"border border-gray-200 bg-white text-gray-900 dark:border-none dark:bg-gray-700 dark:text-white"},content:"relative z-20"},OO={accordion:Vj,alert:Kj,avatar:qj,badge:Gj,blockquote:Yj,breadcrumb:Xj,button:Qj,buttonGroup:Jj,card:Zj,carousel:eO,checkbox:tO,datepicker:rO,darkThemeToggle:nO,dropdown:oO,fileInput:iO,floatingLabel:sO,footer:aO,helperText:lO,kbd:cO,label:uO,listGroup:fO,list:dO,modal:pO,navbar:mO,pagination:hO,progress:gO,radio:yO,rangeSlider:vO,rating:bO,ratingAdvanced:wO,select:xO,textInput:TO,textarea:PO,toggleSwitch:_O,sidebar:kO,spinner:CO,table:SO,tabs:EO,timeline:RO,toast:NO,tooltip:jO},IO={theme:va(OO)};function re(){return va(IO.theme)}const G1=x.createContext(void 0);function Y1(){const e=x.useContext(G1);if(!e)throw new Error("useAccordionContext should be used within the AccordionPanelContext provider!");return e}const X1=({children:e,className:t,theme:n={},...r})=>{const{isOpen:o}=Y1(),i=Q(re().accordion.content,n);return m.jsx("div",{className:V(i.base,t),"data-testid":"flowbite-accordion-content",hidden:!o,...r,children:e})},Q1=({children:e,...t})=>{const{alwaysOpen:n}=t,[r,o]=x.useState(t.isOpen),i=n?{...t,isOpen:r,setOpen:()=>o(!r)}:t;return m.jsx(G1.Provider,{value:i,children:e})},J1=({as:e="h2",children:t,className:n,theme:r={},...o})=>{const{arrowIcon:i,flush:s,isOpen:a,setOpen:l}=Y1(),c=()=>typeof l<"u"&&l(),f=Q(re().accordion.title,r);return m.jsxs("button",{className:V(f.base,f.flush[s?"on":"off"],f.open[a?"on":"off"],n),onClick:c,type:"button",...o,children:[m.jsx(e,{className:f.heading,"data-testid":"flowbite-accordion-heading",children:t}),i&&m.jsx(i,{"aria-hidden":!0,className:V(f.arrow.base,f.arrow.open[a?"on":"off"]),"data-testid":"flowbite-accordion-arrow"})]})},Z1=({alwaysOpen:e=!1,arrowIcon:t=F1,children:n,flush:r=!1,collapseAll:o=!1,className:i,theme:s={},...a})=>{const[l,c]=x.useState(o?-1:0),f=x.useMemo(()=>x.Children.map(n,(h,b)=>x.cloneElement(h,{alwaysOpen:e,arrowIcon:t,flush:r,isOpen:l===b,setOpen:()=>c(l===b?-1:b)})),[e,t,n,r,l]),d=Q(re().accordion.root,s);return m.jsx("div",{className:V(d.base,d.flush[r?"on":"off"],i),"data-testid":"flowbite-accordion",...a,children:f})};Z1.displayName="Accordion";Q1.displayName="Accordion.Panel";J1.displayName="Accordion.Title";X1.displayName="Accordion.Content";Object.assign(Z1,{Panel:Q1,Title:J1,Content:X1});const e2=({children:e,className:t,theme:n={},...r})=>{const o=Q(re().avatar.group,n);return m.jsx("div",{"data-testid":"avatar-group-element",className:V(o.base,t),...r,children:e})};e2.displayName="Avatar.Group";const t2=({className:e,href:t,theme:n={},total:r,...o})=>{const i=Q(re().avatar.groupCounter,n);return m.jsxs("a",{href:t,className:V(i.base,e),...o,children:["+",r]})};t2.displayName="Avatar.GroupCounter";const n2=({alt:e="",bordered:t=!1,children:n,className:r,color:o="light",img:i,placeholderInitials:s="",rounded:a=!1,size:l="md",stacked:c=!1,status:f,statusPosition:d="top-left",theme:h={},...b})=>{const g=Q(re().avatar,h),v=V(g.root.img.base,t&&g.root.bordered,t&&g.root.color[o],a&&g.root.rounded,c&&g.root.stacked,g.root.img.on,g.root.size[l]),E={className:V(v,g.root.img.on),"data-testid":"flowbite-avatar-img"};return m.jsxs("div",{className:V(g.root.base,r),"data-testid":"flowbite-avatar",...b,children:[m.jsxs("div",{className:"relative",children:[i?typeof i=="string"?m.jsx("img",{alt:e,src:i,...E}):i({alt:e,...E}):s?m.jsx("div",{className:V(g.root.img.off,g.root.initials.base,c&&g.root.stacked,t&&g.root.bordered,t&&g.root.color[o],g.root.size[l],a&&g.root.rounded),"data-testid":"flowbite-avatar-initials-placeholder",children:m.jsx("span",{className:V(g.root.initials.text),"data-testid":"flowbite-avatar-initials-placeholder-text",children:s})}):m.jsx("div",{className:V(v,g.root.img.off),"data-testid":"flowbite-avatar-img",children:m.jsx("svg",{className:g.root.img.placeholder,fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:m.jsx("path",{fillRule:"evenodd",d:"M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",clipRule:"evenodd"})})}),f&&m.jsx("span",{"data-testid":"flowbite-avatar-status",className:V(g.root.status.base,g.root.status[f],g.root.statusPosition[d])})]}),n&&m.jsx("div",{children:n})]})};n2.displayName="Avatar";Object.assign(n2,{Group:e2,Counter:t2});const r2=({children:e,color:t="info",href:n,icon:r,size:o="xs",className:i,theme:s={},...a})=>{const l=Q(re().badge,s),c=()=>m.jsxs("span",{className:V(l.root.base,l.root.color[t],l.root.size[o],l.icon[r?"on":"off"],i),"data-testid":"flowbite-badge",...a,children:[r&&m.jsx(r,{"aria-hidden":!0,className:l.icon.size[o],"data-testid":"flowbite-badge-icon"}),e&&m.jsx("span",{children:e})]});return n?m.jsx("a",{className:l.root.href,href:n,children:m.jsx(c,{})}):m.jsx(c,{})};r2.displayName="Badge";const o2=x.forwardRef,i2=({className:e,color:t="info",light:n,size:r="md",theme:o={},...i})=>{const s=Q(re().spinner,o);return m.jsx("span",{role:"status",...i,children:m.jsxs("svg",{fill:"none",viewBox:"0 0 100 101",className:V(s.base,s.color[t],s.light[n?"on":"off"].base,s.light[n?"on":"off"].color[t],s.size[r],e),children:[m.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),m.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})})};i2.displayName="Spinner";const AO=({children:e,as:t,href:n,type:r="button",...o},i)=>{const s=t||(n?"a":"button");return x.createElement(s,{ref:i,href:n,type:r,...o},e)},s2=o2(AO),a2=({children:e,className:t,outline:n,pill:r,theme:o={},...i})=>{const s=x.useMemo(()=>x.Children.map(e,(l,c)=>x.cloneElement(l,{outline:n,pill:r,positionInGroup:c===0?"start":c===e.length-1?"end":"middle"})),[e,n,r]),a=Q(re().buttonGroup,o);return m.jsx("div",{className:V(a.base,t),role:"group",...i,children:s})};a2.displayName="Button.Group";const l2=({children:e,className:t,color:n="info",disabled:r,fullSized:o,isProcessing:i=!1,processingLabel:s="Loading...",processingSpinner:a,gradientDuoTone:l,gradientMonochrome:c,label:f,outline:d=!1,pill:h=!1,positionInGroup:b="none",size:g="md",theme:v={},...E},S)=>{const{buttonGroup:y,button:C}=re(),T=Q(C,v),P=E;return m.jsx(s2,{ref:S,disabled:r,className:V(T.base,r&&T.disabled,!l&&!c&&T.color[n],l&&!c&&T.gradientDuoTone[l],!l&&c&&T.gradient[c],d&&(T.outline.color[n]??T.outline.color.default),T.pill[h?"on":"off"],o&&T.fullSized,y.position[b],t),...P,children:m.jsx("span",{className:V(T.inner.base,T.outline[d?"on":"off"],T.outline.pill[d&&h?"on":"off"],T.size[g],d&&!T.outline.color[n]&&T.inner.outline,i&&T.isProcessing,i&&T.inner.isProcessingPadding[g],T.inner.position[b]),children:m.jsxs(m.Fragment,{children:[i&&m.jsx("span",{className:V(T.spinnerSlot,T.spinnerLeftPosition[g]),children:a||m.jsx(i2,{size:g})}),typeof e<"u"?e:m.jsx("span",{"data-testid":"flowbite-button-label",className:V(T.label),children:i?s:f})]})})})};l2.displayName="Button";const LO=o2(l2),c2=Object.assign(LO,{Group:a2}),u2=({children:e,...t})=>{const n=r=>{const i=r.target.closest('[role="banner"]');i==null||i.remove()};return m.jsx(c2,{onClick:n,...t,children:e})};u2.displayName="Banner.CollapseButton";const d2=({children:e,...t})=>m.jsx("div",{"data-testid":"flowbite-banner",role:"banner",tabIndex:-1,...t,children:e});d2.displayName="Banner";Object.assign(d2,{CollapseButton:u2});const f2=x.forwardRef(({children:e,className:t,href:n,icon:r,theme:o={},...i},s)=>{const a=typeof n<"u",l=a?"a":"span",c=Q(re().breadcrumb.item,o);return m.jsxs("li",{className:V(c.base,t),...i,children:[m.jsx(U1,{"aria-hidden":!0,className:c.chevron,"data-testid":"flowbite-breadcrumb-separator"}),m.jsxs(l,{ref:s,className:c.href[a?"on":"off"],"data-testid":"flowbite-breadcrumb-item",href:n,children:[r&&m.jsx(r,{"aria-hidden":!0,className:c.icon}),e]})]})});f2.displayName="Breadcrumb.Item";const p2=({children:e,className:t,theme:n={},...r})=>{const o=Q(re().breadcrumb.root,n);return m.jsx("nav",{"aria-label":"Breadcrumb",className:V(o.base,t),...r,children:m.jsx("ol",{className:o.list,children:e})})};p2.displayName="Breadcrumb";Object.assign(p2,{Item:f2});/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var m2=function(e,t){return(m2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)r.hasOwnProperty(o)&&(n[o]=r[o])})(e,t)},MO,Tl,DO=(function(e){/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(){var t={}.hasOwnProperty;function n(){for(var r=[],o=0;o=0?r=setTimeout(l,t-f):(r=null,n||(a=e.apply(i,o),i=o=null))}t==null&&(t=100);var c=function(){i=this,o=arguments,s=Date.now();var f=n&&!r;return r||(r=setTimeout(l,t)),f&&(a=e.apply(i,o),i=o=null),a};return c.clear=function(){r&&(clearTimeout(r),r=null)},c.flush=function(){r&&(a=e.apply(i,o),i=o=null,clearTimeout(r),r=null)},c}$p.debounce=$p;var $O=$p;(function(e,t){t===void 0&&(t={});var n=t.insertAt;if(e&&typeof document<"u"){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}})(`.indiana-scroll-container { + overflow: auto; } + .indiana-scroll-container--dragging { + scroll-behavior: auto !important; } + .indiana-scroll-container--dragging > * { + pointer-events: none; + cursor: -webkit-grab; + cursor: grab; } + .indiana-scroll-container--hide-scrollbars { + overflow: hidden; + overflow: -moz-scrollbars-none; + -ms-overflow-style: none; + scrollbar-width: none; } + .indiana-scroll-container--hide-scrollbars::-webkit-scrollbar { + display: none !important; + height: 0 !important; + width: 0 !important; + background: transparent !important; + -webkit-appearance: none !important; } + .indiana-scroll-container--native-scroll { + overflow: auto; } + +.indiana-dragging { + cursor: -webkit-grab; + cursor: grab; } +`);var cf,zO=(cf="indiana-scroll-container",function(e,t){if(!e)return cf;var n;typeof e=="string"?n=e:t=e;var r=cf;return n&&(r+="__"+n),r+(t?Object.keys(t).reduce(function(o,i){var s=t[i];return s&&(o+=" "+(typeof s=="boolean"?r+"--"+i:r+"--"+i+"_"+s)),o},""):"")});(function(e){function t(n){var r=e.call(this,n)||this;return r.onEndScroll=function(){r.scrolling=!1,!r.pressed&&r.started&&r.processEnd()},r.onScroll=function(o){var i=r.container.current;i.scrollLeft===r.scrollLeft&&i.scrollTop===r.scrollTop||(r.scrolling=!0,r.processScroll(o),r.onEndScroll())},r.onTouchStart=function(o){var i=r.props.nativeMobileScroll;if(r.isDraggable(o.target))if(r.internal=!0,i&&r.scrolling)r.pressed=!0;else{var s=o.touches[0];r.processClick(o,s.clientX,s.clientY),!i&&r.props.stopPropagation&&o.stopPropagation()}},r.onTouchEnd=function(o){var i=r.props.nativeMobileScroll;r.pressed&&(!r.started||r.scrolling&&i?r.pressed=!1:r.processEnd(),r.forceUpdate())},r.onTouchMove=function(o){var i=r.props.nativeMobileScroll;if(r.pressed&&(!i||!r.isMobile)){var s=o.touches[0];s&&r.processMove(o,s.clientX,s.clientY),o.preventDefault(),r.props.stopPropagation&&o.stopPropagation()}},r.onMouseDown=function(o){r.isDraggable(o.target)&&r.isScrollable()&&(r.internal=!0,r.props.buttons.indexOf(o.button)!==-1&&(r.processClick(o,o.clientX,o.clientY),o.preventDefault(),r.props.stopPropagation&&o.stopPropagation()))},r.onMouseMove=function(o){r.pressed&&(r.processMove(o,o.clientX,o.clientY),o.preventDefault(),r.props.stopPropagation&&o.stopPropagation())},r.onMouseUp=function(o){r.pressed&&(r.started?r.processEnd():(r.internal=!1,r.pressed=!1,r.forceUpdate(),r.props.onClick&&r.props.onClick(o)),o.preventDefault(),r.props.stopPropagation&&o.stopPropagation())},r.container=ae.createRef(),r.onEndScroll=$O(r.onEndScroll,300),r.scrolling=!1,r.started=!1,r.pressed=!1,r.internal=!1,r.getRef=r.getRef.bind(r),r}return function(n,r){function o(){this.constructor=n}m2(n,r),n.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}(t,e),t.prototype.componentDidMount=function(){var n=this.props.nativeMobileScroll,r=this.container.current;window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd),r.addEventListener("touchstart",this.onTouchStart,{passive:!1}),r.addEventListener("mousedown",this.onMouseDown,{passive:!1}),n&&(this.isMobile=this.isMobileDevice(),this.isMobile&&this.forceUpdate())},t.prototype.componentWillUnmount=function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},t.prototype.getElement=function(){return this.container.current},t.prototype.isMobileDevice=function(){return window.orientation!==void 0||navigator.userAgent.indexOf("IEMobile")!==-1},t.prototype.isDraggable=function(n){var r=this.props.ignoreElements;if(r){var o=n.closest(r);return o===null||o.contains(this.getElement())}return!0},t.prototype.isScrollable=function(){var n=this.container.current;return n&&(n.scrollWidth>n.clientWidth||n.scrollHeight>n.clientHeight)},t.prototype.processClick=function(n,r,o){var i=this.container.current;this.scrollLeft=i.scrollLeft,this.scrollTop=i.scrollTop,this.clientX=r,this.clientY=o,this.pressed=!0},t.prototype.processStart=function(n){n===void 0&&(n=!0);var r=this.props.onStartScroll;this.started=!0,n&&document.body.classList.add("indiana-dragging"),r&&r({external:!this.internal}),this.forceUpdate()},t.prototype.processScroll=function(n){if(this.started){var r=this.props.onScroll;r&&r({external:!this.internal})}else this.processStart(!1)},t.prototype.processMove=function(n,r,o){var i=this.props,s=i.horizontal,a=i.vertical,l=i.activationDistance,c=i.onScroll,f=this.container.current;this.started?(s&&(f.scrollLeft-=r-this.clientX),a&&(f.scrollTop-=o-this.clientY),c&&c({external:!this.internal}),this.clientX=r,this.clientY=o,this.scrollLeft=f.scrollLeft,this.scrollTop=f.scrollTop):(s&&Math.abs(r-this.clientX)>l||a&&Math.abs(o-this.clientY)>l)&&(this.clientX=r,this.clientY=o,this.processStart())},t.prototype.processEnd=function(){var n=this.props.onEndScroll;this.container.current&&n&&n({external:!this.internal}),this.pressed=!1,this.started=!1,this.scrolling=!1,this.internal=!1,document.body.classList.remove("indiana-dragging"),this.forceUpdate()},t.prototype.getRef=function(n){[this.container,this.props.innerRef].forEach(function(r){r&&(typeof r=="function"?r(n):r.current=n)})},t.prototype.render=function(){var n=this.props,r=n.children,o=n.draggingClassName,i=n.className,s=n.style,a=n.hideScrollbars,l=n.component;return ae.createElement(l,{className:DO(i,this.pressed&&o,zO({dragging:this.pressed,"hide-scrollbars":a,"native-scroll":this.isMobile})),style:s,ref:this.getRef,onScroll:this.onScroll},r)},t.defaultProps={nativeMobileScroll:!0,hideScrollbars:!0,activationDistance:10,vertical:!0,horizontal:!0,stopPropagation:!1,style:{},component:"div",buttons:[0]},t})(x.PureComponent);const FO=x.forwardRef(({className:e,color:t="default",theme:n={},...r},o)=>{const i=Q(re().checkbox,n);return m.jsx("input",{ref:o,type:"checkbox",className:V(i.root.base,i.root.color[t],e),...r})});FO.displayName="Checkbox";const Ha=({children:e,className:t,color:n="default",theme:r={},value:o,...i})=>{const s=Q(re().helperText,r);return m.jsx("p",{className:V(s.root.base,s.root.colors[n],t),...i,children:o??e??""})};Ha.displayName="HelperText";const BO=x.forwardRef(({addon:e,className:t,color:n="gray",helperText:r,icon:o,rightIcon:i,shadow:s,sizing:a="md",theme:l={},...c},f)=>{const d=Q(re().textInput,l);return m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:V(d.base,t),children:[e&&m.jsx("span",{className:d.addon,children:e}),m.jsxs("div",{className:d.field.base,children:[o&&m.jsx("div",{className:d.field.icon.base,children:m.jsx(o,{className:d.field.icon.svg})}),i&&m.jsx("div",{"data-testid":"right-icon",className:d.field.rightIcon.base,children:m.jsx(i,{className:d.field.rightIcon.svg})}),m.jsx("input",{className:V(d.field.input.base,d.field.input.colors[n],d.field.input.sizes[a],d.field.input.withIcon[o?"on":"off"],d.field.input.withRightIcon[i?"on":"off"],d.field.input.withAddon[e?"on":"off"],d.field.input.withShadow[s?"on":"off"]),...c,ref:f})]})]}),r&&m.jsx(Ha,{color:n,children:r})]})});BO.displayName="TextInput";x.createContext(void 0);var sv;(function(e){e[e.Days=0]="Days",e[e.Months=1]="Months",e[e.Years=2]="Years",e[e.Decades=3]="Decades"})(sv||(sv={}));var av;(function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"})(av||(av={}));function wr(e){return h2(e)?(e.nodeName||"").toLowerCase():"#document"}function Vt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Er(e){var t;return(t=(h2(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function h2(e){return e instanceof Node||e instanceof Vt(e).Node}function Ae(e){return e instanceof Element||e instanceof Vt(e).Element}function kt(e){return e instanceof HTMLElement||e instanceof Vt(e).HTMLElement}function zp(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Vt(e).ShadowRoot}function Wa(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=sn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function UO(e){return["table","td","th"].includes(wr(e))}function jm(e){const t=Om(),n=sn(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function HO(e){let t=Fo(e);for(;kt(t)&&!Ui(t);){if(jm(t))return t;t=Fo(t)}return null}function Om(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ui(e){return["html","body","#document"].includes(wr(e))}function sn(e){return Vt(e).getComputedStyle(e)}function Ju(e){return Ae(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Fo(e){if(wr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||zp(e)&&e.host||Er(e);return zp(t)?t.host:t}function g2(e){const t=Fo(e);return Ui(t)?e.ownerDocument?e.ownerDocument.body:e.body:kt(t)&&Wa(t)?t:g2(t)}function eo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=g2(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=Vt(o);return i?t.concat(s,s.visualViewport||[],Wa(o)?o:[],s.frameElement&&n?eo(s.frameElement):[]):t.concat(o,eo(o,[],n))}function Wn(e){let t=e.activeElement;for(;((n=t)==null||(n=n.shadowRoot)==null?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function rt(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&zp(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Im(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function y2(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}function v2(e){return e.mozInputSource===0&&e.isTrusted?!0:Fp()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Am(e){return WO()?!1:!Fp()&&e.width===0&&e.height===0||Fp()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function Lm(){return/apple/i.test(navigator.vendor)}function Fp(){const e=/android/i;return e.test(Im())||e.test(y2())}function b2(){return Im().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function WO(){return y2().includes("jsdom/")}function Fc(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function VO(e){return"nativeEvent"in e}function KO(e){return e.matches("html,body")}function Ot(e){return(e==null?void 0:e.ownerDocument)||document}function uf(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function Fr(e){return"composedPath"in e?e.composedPath()[0]:e.target}const qO="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function Mm(e){return kt(e)&&e.matches(qO)}function yt(e){e.preventDefault(),e.stopPropagation()}function w2(e){return e?e.getAttribute("role")==="combobox"&&Mm(e):!1}const GO=["top","right","bottom","left"],lv=["start","end"],cv=GO.reduce((e,t)=>e.concat(t,t+"-"+lv[0],t+"-"+lv[1]),[]),Hi=Math.min,Oo=Math.max,Bc=Math.round,Ci=Math.floor,io=e=>({x:e,y:e}),YO={left:"right",right:"left",bottom:"top",top:"bottom"},XO={start:"end",end:"start"};function Bp(e,t,n){return Oo(e,Hi(t,n))}function is(e,t){return typeof e=="function"?e(t):e}function xr(e){return e.split("-")[0]}function Qn(e){return e.split("-")[1]}function x2(e){return e==="x"?"y":"x"}function Dm(e){return e==="y"?"height":"width"}function Zu(e){return["top","bottom"].includes(xr(e))?"y":"x"}function $m(e){return x2(Zu(e))}function k2(e,t,n){n===void 0&&(n=!1);const r=Qn(e),o=$m(e),i=Dm(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Hc(s)),[s,Hc(s)]}function QO(e){const t=Hc(e);return[Uc(e),t,Uc(t)]}function Uc(e){return e.replace(/start|end/g,t=>XO[t])}function JO(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function ZO(e,t,n,r){const o=Qn(e);let i=JO(xr(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Uc)))),i}function Hc(e){return e.replace(/left|right|bottom|top/g,t=>YO[t])}function eI(e){return{top:0,right:0,bottom:0,left:0,...e}}function C2(e){return typeof e!="number"?eI(e):{top:e,right:e,bottom:e,left:e}}function Wc(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function uv(e,t,n){let{reference:r,floating:o}=e;const i=Zu(t),s=$m(t),a=Dm(s),l=xr(t),c=i==="y",f=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let b;switch(l){case"top":b={x:f,y:r.y-o.height};break;case"bottom":b={x:f,y:r.y+r.height};break;case"right":b={x:r.x+r.width,y:d};break;case"left":b={x:r.x-o.width,y:d};break;default:b={x:r.x,y:r.y}}switch(Qn(t)){case"start":b[s]-=h*(n&&c?-1:1);break;case"end":b[s]+=h*(n&&c?-1:1);break}return b}const tI=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:d}=uv(c,r,l),h=r,b={},g=0;for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:f=0}=is(e,t)||{};if(c==null)return{};const d=C2(f),h={x:n,y:r},b=$m(o),g=Dm(b),v=await s.getDimensions(c),E=b==="y",S=E?"top":"left",y=E?"bottom":"right",C=E?"clientHeight":"clientWidth",T=i.reference[g]+i.reference[b]-h[b]-i.floating[g],P=h[b]-i.reference[b],N=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let _=N?N[C]:0;(!_||!await(s.isElement==null?void 0:s.isElement(N)))&&(_=a.floating[C]||i.floating[g]);const O=T/2-P/2,M=_/2-v[g]/2-1,A=Hi(d[S],M),q=Hi(d[y],M),z=A,H=_-v[g]-q,L=_/2-v[g]/2+O,D=Bp(z,L,H),U=!l.arrow&&Qn(o)!=null&&L!==D&&i.reference[g]/2-(LQn(o)===e),...n.filter(o=>Qn(o)!==e)]:n.filter(o=>xr(o)===o)).filter(o=>e?Qn(o)===e||(t?Uc(o)!==o:!1):!0)}const oI=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:s,placement:a,platform:l,elements:c}=t,{crossAxis:f=!1,alignment:d,allowedPlacements:h=cv,autoAlignment:b=!0,...g}=is(e,t),v=d!==void 0||h===cv?rI(d||null,b,h):h,E=await zm(t,g),S=((n=s.autoPlacement)==null?void 0:n.index)||0,y=v[S];if(y==null)return{};const C=k2(y,i,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==y)return{reset:{placement:v[0]}};const T=[E[xr(y)],E[C[0]],E[C[1]]],P=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:y,overflows:T}],N=v[S+1];if(N)return{data:{index:S+1,overflows:P},reset:{placement:N}};const _=P.map(A=>{const q=Qn(A.placement);return[A.placement,q&&f?A.overflows.slice(0,2).reduce((z,H)=>z+H,0):A.overflows[0],A.overflows]}).sort((A,q)=>A[1]-q[1]),M=((o=_.filter(A=>A[2].slice(0,Qn(A[0])?2:3).every(q=>q<=0))[0])==null?void 0:o[0])||_[0][0];return M!==a?{data:{index:S+1,overflows:P},reset:{placement:M}}:{}}}},iI=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...E}=is(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const S=xr(o),y=xr(a)===a,C=await(l.isRTL==null?void 0:l.isRTL(c.floating)),T=h||(y||!v?[Hc(a)]:QO(a));!h&&g!=="none"&&T.push(...ZO(a,v,g,C));const P=[a,...T],N=await zm(t,E),_=[];let O=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&_.push(N[S]),d){const z=k2(o,s,C);_.push(N[z[0]],N[z[1]])}if(O=[...O,{placement:o,overflows:_}],!_.every(z=>z<=0)){var M,A;const z=(((M=i.flip)==null?void 0:M.index)||0)+1,H=P[z];if(H)return{data:{index:z,overflows:O},reset:{placement:H}};let L=(A=O.filter(D=>D.overflows[0]<=0).sort((D,U)=>D.overflows[1]-U.overflows[1])[0])==null?void 0:A.placement;if(!L)switch(b){case"bestFit":{var q;const D=(q=O.map(U=>[U.placement,U.overflows.filter(B=>B>0).reduce((B,j)=>B+j,0)]).sort((U,B)=>U[1]-B[1])[0])==null?void 0:q[0];D&&(L=D);break}case"initialPlacement":L=a;break}if(o!==L)return{reset:{placement:L}}}return{}}}};async function sI(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=xr(n),a=Qn(n),l=Zu(n)==="y",c=["left","top"].includes(s)?-1:1,f=i&&l?-1:1,d=is(t,e);let{mainAxis:h,crossAxis:b,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&typeof g=="number"&&(b=a==="end"?g*-1:g),l?{x:b*f,y:h*c}:{x:h*c,y:b*f}}const aI=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await sI(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},lI=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:E=>{let{x:S,y}=E;return{x:S,y}}},...l}=is(e,t),c={x:n,y:r},f=await zm(t,l),d=Zu(xr(o)),h=x2(d);let b=c[h],g=c[d];if(i){const E=h==="y"?"top":"left",S=h==="y"?"bottom":"right",y=b+f[E],C=b-f[S];b=Bp(y,b,C)}if(s){const E=d==="y"?"top":"left",S=d==="y"?"bottom":"right",y=g+f[E],C=g-f[S];g=Bp(y,g,C)}const v=a.fn({...t,[h]:b,[d]:g});return{...v,data:{x:v.x-n,y:v.y-r}}}}};function S2(e){const t=sn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=kt(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Bc(n)!==i||Bc(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Fm(e){return Ae(e)?e:e.contextElement}function Oi(e){const t=Fm(e);if(!kt(t))return io(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=S2(t);let s=(i?Bc(n.width):n.width)/r,a=(i?Bc(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const cI=io(0);function E2(e){const t=Vt(e);return!Om()||!t.visualViewport?cI:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function uI(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Vt(e)?!1:t}function Bo(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Fm(e);let s=io(1);t&&(r?Ae(r)&&(s=Oi(r)):s=Oi(e));const a=uI(i,n,r)?E2(i):io(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,f=o.width/s.x,d=o.height/s.y;if(i){const h=Vt(i),b=r&&Ae(r)?Vt(r):r;let g=h,v=g.frameElement;for(;v&&r&&b!==g;){const E=Oi(v),S=v.getBoundingClientRect(),y=sn(v),C=S.left+(v.clientLeft+parseFloat(y.paddingLeft))*E.x,T=S.top+(v.clientTop+parseFloat(y.paddingTop))*E.y;l*=E.x,c*=E.y,f*=E.x,d*=E.y,l+=C,c+=T,g=Vt(v),v=g.frameElement}}return Wc({width:f,height:d,x:l,y:c})}const dI=[":popover-open",":modal"];function T2(e){return dI.some(t=>{try{return e.matches(t)}catch{return!1}})}function fI(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=Er(r),a=t?T2(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=io(1);const f=io(0),d=kt(r);if((d||!d&&!i)&&((wr(r)!=="body"||Wa(s))&&(l=Ju(r)),kt(r))){const h=Bo(r);c=Oi(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+f.x,y:n.y*c.y-l.scrollTop*c.y+f.y}}function pI(e){return Array.from(e.getClientRects())}function P2(e){return Bo(Er(e)).left+Ju(e).scrollLeft}function mI(e){const t=Er(e),n=Ju(e),r=e.ownerDocument.body,o=Oo(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Oo(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+P2(e);const a=-n.scrollTop;return sn(r).direction==="rtl"&&(s+=Oo(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function hI(e,t){const n=Vt(e),r=Er(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const c=Om();(!c||c&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}function gI(e,t){const n=Bo(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=kt(e)?Oi(e):io(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,c=r*i.y;return{width:s,height:a,x:l,y:c}}function dv(e,t,n){let r;if(t==="viewport")r=hI(e,n);else if(t==="document")r=mI(Er(e));else if(Ae(t))r=gI(t,n);else{const o=E2(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Wc(r)}function R2(e,t){const n=Fo(e);return n===t||!Ae(n)||Ui(n)?!1:sn(n).position==="fixed"||R2(n,t)}function yI(e,t){const n=t.get(e);if(n)return n;let r=eo(e,[],!1).filter(a=>Ae(a)&&wr(a)!=="body"),o=null;const i=sn(e).position==="fixed";let s=i?Fo(e):e;for(;Ae(s)&&!Ui(s);){const a=sn(s),l=jm(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Wa(s)&&!l&&R2(e,s))?r=r.filter(f=>f!==s):o=a,s=Fo(s)}return t.set(e,r),r}function vI(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?yI(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((c,f)=>{const d=dv(t,f,o);return c.top=Oo(d.top,c.top),c.right=Hi(d.right,c.right),c.bottom=Hi(d.bottom,c.bottom),c.left=Oo(d.left,c.left),c},dv(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function bI(e){const{width:t,height:n}=S2(e);return{width:t,height:n}}function wI(e,t,n){const r=kt(t),o=Er(t),i=n==="fixed",s=Bo(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=io(0);if(r||!r&&!i)if((wr(t)!=="body"||Wa(o))&&(a=Ju(t)),r){const d=Bo(t,!0,i,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else o&&(l.x=P2(o));const c=s.left+a.scrollLeft-l.x,f=s.top+a.scrollTop-l.y;return{x:c,y:f,width:s.width,height:s.height}}function fv(e,t){return!kt(e)||sn(e).position==="fixed"?null:t?t(e):e.offsetParent}function N2(e,t){const n=Vt(e);if(!kt(e)||T2(e))return n;let r=fv(e,t);for(;r&&UO(r)&&sn(r).position==="static";)r=fv(r,t);return r&&(wr(r)==="html"||wr(r)==="body"&&sn(r).position==="static"&&!jm(r))?n:r||HO(e)||n}const xI=async function(e){const t=this.getOffsetParent||N2,n=this.getDimensions;return{reference:wI(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}};function kI(e){return sn(e).direction==="rtl"}const CI={convertOffsetParentRelativeRectToViewportRelativeRect:fI,getDocumentElement:Er,getClippingRect:vI,getOffsetParent:N2,getElementRects:xI,getClientRects:pI,getDimensions:bI,getScale:Oi,isElement:Ae,isRTL:kI};function SI(e,t){let n=null,r;const o=Er(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const{left:c,top:f,width:d,height:h}=e.getBoundingClientRect();if(a||t(),!d||!h)return;const b=Ci(f),g=Ci(o.clientWidth-(c+d)),v=Ci(o.clientHeight-(f+h)),E=Ci(c),y={rootMargin:-b+"px "+-g+"px "+-v+"px "+-E+"px",threshold:Oo(0,Hi(1,l))||1};let C=!0;function T(P){const N=P[0].intersectionRatio;if(N!==l){if(!C)return s();N?s(!1,N):r=setTimeout(()=>{s(!1,1e-7)},100)}C=!1}try{n=new IntersectionObserver(T,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(T,y)}n.observe(e)}return s(!0),i}function _2(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=Fm(e),f=o||i?[...c?eo(c):[],...eo(t)]:[];f.forEach(S=>{o&&S.addEventListener("scroll",n,{passive:!0}),i&&S.addEventListener("resize",n)});const d=c&&a?SI(c,n):null;let h=-1,b=null;s&&(b=new ResizeObserver(S=>{let[y]=S;y&&y.target===c&&b&&(b.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var C;(C=b)==null||C.observe(t)})),n()}),c&&!l&&b.observe(c),b.observe(t));let g,v=l?Bo(e):null;l&&E();function E(){const S=Bo(e);v&&(S.x!==v.x||S.y!==v.y||S.width!==v.width||S.height!==v.height)&&n(),v=S,g=requestAnimationFrame(E)}return n(),()=>{var S;f.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),d==null||d(),(S=b)==null||S.disconnect(),b=null,l&&cancelAnimationFrame(g)}}const EI=oI,TI=lI,PI=iI,pv=nI,RI=(e,t,n)=>{const r=new Map,o={platform:CI,...n},i={...o.platform,_c:r};return tI(e,t,{...o,platform:i})},NI=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?pv({element:r.current,padding:o}).fn(n):{}:r?pv({element:r,padding:o}).fn(n):{}}}};var ec=typeof document<"u"?x.useLayoutEffect:x.useEffect;function Vc(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Vc(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Vc(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function j2(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function mv(e,t){const n=j2(e);return Math.round(t*n)/n}function hv(e){const t=x.useRef(e);return ec(()=>{t.current=e}),t}function _I(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[f,d]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,b]=x.useState(r);Vc(h,r)||b(r);const[g,v]=x.useState(null),[E,S]=x.useState(null),y=x.useCallback(B=>{B!==N.current&&(N.current=B,v(B))},[]),C=x.useCallback(B=>{B!==_.current&&(_.current=B,S(B))},[]),T=i||g,P=s||E,N=x.useRef(null),_=x.useRef(null),O=x.useRef(f),M=l!=null,A=hv(l),q=hv(o),z=x.useCallback(()=>{if(!N.current||!_.current)return;const B={placement:t,strategy:n,middleware:h};q.current&&(B.platform=q.current),RI(N.current,_.current,B).then(j=>{const W={...j,isPositioned:!0};H.current&&!Vc(O.current,W)&&(O.current=W,Oa.flushSync(()=>{d(W)}))})},[h,t,n,q]);ec(()=>{c===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,d(B=>({...B,isPositioned:!1})))},[c]);const H=x.useRef(!1);ec(()=>(H.current=!0,()=>{H.current=!1}),[]),ec(()=>{if(T&&(N.current=T),P&&(_.current=P),T&&P){if(A.current)return A.current(T,P,z);z()}},[T,P,z,A,M]);const L=x.useMemo(()=>({reference:N,floating:_,setReference:y,setFloating:C}),[y,C]),D=x.useMemo(()=>({reference:T,floating:P}),[T,P]),U=x.useMemo(()=>{const B={position:n,left:0,top:0};if(!D.floating)return B;const j=mv(D.floating,f.x),W=mv(D.floating,f.y);return a?{...B,transform:"translate("+j+"px, "+W+"px)",...j2(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:j,top:W}},[n,a,D.floating,f.x,f.y]);return x.useMemo(()=>({...f,update:z,refs:L,elements:D,floatingStyles:U}),[f,z,L,D,U])}/*! +* tabbable 6.2.0 +* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE +*/var jI=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Up=jI.join(","),O2=typeof Element>"u",ba=O2?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Kc=!O2&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},qc=function e(t,n){var r;n===void 0&&(n=!0);var o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),i=o===""||o==="true",s=i||n&&t&&e(t.parentNode);return s},OI=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},II=function(t,n,r){if(qc(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(Up));return n&&ba.call(t,Up)&&o.unshift(t),o=o.filter(r),o},AI=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var s=i.shift();if(!qc(s,!1))if(s.tagName==="SLOT"){var a=s.assignedElements(),l=a.length?a:s.children,c=e(l,!0,r);r.flatten?o.push.apply(o,c):o.push({scopeParent:s,candidates:c})}else{var f=ba.call(s,Up);f&&r.filter(s)&&(n||!t.includes(s))&&o.push(s);var d=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),h=!qc(d,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(s));if(d&&h){var b=e(d===!0?s.children:d.children,!0,r);r.flatten?o.push.apply(o,b):o.push({scopeParent:s,candidates:b})}else i.unshift.apply(i,s.children)}}return o},I2=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},A2=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||OI(t))&&!I2(t)?0:t.tabIndex},LI=function(t,n){var r=A2(t);return r<0&&n&&!I2(t)?0:r},MI=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},L2=function(t){return t.tagName==="INPUT"},DI=function(t){return L2(t)&&t.type==="hidden"},$I=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},zI=function(t,n){for(var r=0;rsummary:first-of-type"),s=i?t.parentElement:t;if(ba.call(s,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof o=="function"){for(var a=t;t;){var l=t.parentElement,c=Kc(t);if(l&&!l.shadowRoot&&o(l)===!0)return gv(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(HI(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return gv(t);return!1},VI=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r=0)},GI=function e(t){var n=[],r=[];return t.forEach(function(o,i){var s=!!o.scopeParent,a=s?o.scopeParent:o,l=LI(a,s),c=s?e(o.candidates):a;l===0?s?n.push.apply(n,c):n.push(a):r.push({documentOrder:i,tabIndex:l,item:o,isScope:s,content:c})}),r.sort(MI).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},Bm=function(t,n){n=n||{};var r;return n.getShadowRoot?r=AI([t],n.includeContainer,{filter:yv.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:qI}):r=II(t,n.includeContainer,yv.bind(null,n)),GI(r)};function YI(e){return x.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})},e)}const XI=to.useInsertionEffect,QI=XI||(e=>e());function Vn(e){const t=x.useRef(()=>{});return QI(()=>{t.current=e}),x.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o=e.current.length}function df(e,t){return Rt(e,{disabledIndices:t})}function vv(e,t){return Rt(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Rt(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:o,amount:i=1}=t===void 0?{}:t;const s=e.current,a=o?c=>o.includes(c):c=>{const f=s[c];return f==null||f.hasAttribute("disabled")||f.getAttribute("aria-disabled")==="true"};let l=n;do l+=r?-i:i;while(l>=0&&l<=s.length-1&&a(l));return l}function JI(e,t){let{event:n,orientation:r,loop:o,cols:i,disabledIndices:s,minIndex:a,maxIndex:l,prevIndex:c,stopEvent:f=!1}=t,d=c;if(n.key===Um){if(f&&yt(n),c===-1)d=l;else if(d=Rt(e,{startingIndex:d,amount:i,decrement:!0,disabledIndices:s}),o&&(c-ih?g:g-i}Hs(e,d)&&(d=c)}if(n.key===Va&&(f&&yt(n),c===-1?d=a:(d=Rt(e,{startingIndex:c,amount:i,disabledIndices:s}),o&&c+i>l&&(d=Rt(e,{startingIndex:c%i-i,amount:i,disabledIndices:s}))),Hs(e,d)&&(d=c)),r==="both"){const h=Ci(c/i);n.key===ss&&(f&&yt(n),c%i!==i-1?(d=Rt(e,{startingIndex:c,disabledIndices:s}),o&&Pl(d,i,h)&&(d=Rt(e,{startingIndex:c-c%i-1,disabledIndices:s}))):o&&(d=Rt(e,{startingIndex:c-c%i-1,disabledIndices:s})),Pl(d,i,h)&&(d=c)),n.key===Wi&&(f&&yt(n),c%i!==0?(d=Rt(e,{startingIndex:c,disabledIndices:s,decrement:!0}),o&&Pl(d,i,h)&&(d=Rt(e,{startingIndex:c+(i-c%i),decrement:!0,disabledIndices:s}))):o&&(d=Rt(e,{startingIndex:c+(i-c%i),decrement:!0,disabledIndices:s})),Pl(d,i,h)&&(d=c));const b=Ci(l/i)===h;Hs(e,d)&&(o&&b?d=n.key===Wi?l:Rt(e,{startingIndex:c-c%i-1,disabledIndices:s}):d=c)}return d}function ZI(e,t,n){const r=[];let o=0;return e.forEach((i,s)=>{let{width:a,height:l}=i,c=!1;for(n&&(o=0);!c;){const f=[];for(let d=0;dr[d]==null)?(f.forEach(d=>{r[d]=s}),c=!0):o++}}),[...r]}function eA(e,t,n,r,o){if(e===-1)return-1;const i=n.indexOf(e);switch(o){case"tl":return i;case"tr":return i+t[e].width-1;case"bl":return i+(t[e].height-1)*r;case"br":return n.lastIndexOf(e)}}function tA(e,t){return t.flatMap((n,r)=>e.includes(n)?[r]:[])}let bv=0;function sr(e,t){t===void 0&&(t={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame(bv);const i=()=>e==null?void 0:e.focus({preventScroll:n});o?i():bv=requestAnimationFrame(i)}var _e=typeof document<"u"?x.useLayoutEffect:x.useEffect;function nA(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}function rA(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e.entries())if(r!==t.get(n))return!1;return!0}const M2=x.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function oA(e){let{children:t,elementsRef:n,labelsRef:r}=e;const[o,i]=x.useState(()=>new Map),s=x.useCallback(l=>{i(c=>new Map(c).set(l,null))},[]),a=x.useCallback(l=>{i(c=>{const f=new Map(c);return f.delete(l),f})},[]);return _e(()=>{const l=new Map(o);Array.from(l.keys()).sort(nA).forEach((f,d)=>{l.set(f,d)}),rA(o,l)||i(l)},[o]),x.createElement(M2.Provider,{value:x.useMemo(()=>({register:s,unregister:a,map:o,elementsRef:n,labelsRef:r}),[s,a,o,n,r])},t)}function iA(e){let{label:t}=e===void 0?{}:e;const[n,r]=x.useState(null),o=x.useRef(null),{register:i,unregister:s,map:a,elementsRef:l,labelsRef:c}=x.useContext(M2),f=x.useCallback(d=>{if(o.current=d,n!==null&&(l.current[n]=d,c)){var h;const b=t!==void 0;c.current[n]=b?t:(h=d==null?void 0:d.textContent)!=null?h:null}},[n,l,c,t]);return _e(()=>{const d=o.current;if(d)return i(d),()=>{s(d)}},[i,s]),_e(()=>{const d=o.current?a.get(o.current):null;d!=null&&r(d)},[a]),x.useMemo(()=>({ref:f,index:n??-1}),[n,f])}function wa(){return wa=Object.assign?Object.assign.bind():function(e){for(var t=1;t"floating-ui-"+sA++;function aA(){const[e,t]=x.useState(()=>ff?wv():void 0);return _e(()=>{e==null&&t(wv())},[]),x.useEffect(()=>{ff||(ff=!0)},[]),e}const lA=to.useId,ed=lA||aA;function cA(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const uA=x.createContext(null),dA=x.createContext(null),td=()=>{var e;return((e=x.useContext(uA))==null?void 0:e.id)||null},Ka=()=>x.useContext(dA);function Uo(e){return"data-floating-ui-"+e}function Jn(e){const t=x.useRef(e);return _e(()=>{t.current=e}),t}const xv=Uo("safe-polygon");function pf(e,t,n){return n&&!Fc(n)?0:typeof e=="number"?e:e==null?void 0:e[t]}function fA(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:i,elements:{domReference:s,floating:a},refs:l}=e,{enabled:c=!0,delay:f=0,handleClose:d=null,mouseOnly:h=!1,restMs:b=0,move:g=!0}=t,v=Ka(),E=td(),S=Jn(d),y=Jn(f),C=x.useRef(),T=x.useRef(),P=x.useRef(),N=x.useRef(),_=x.useRef(!0),O=x.useRef(!1),M=x.useRef(()=>{}),A=x.useCallback(()=>{var L;const D=(L=o.current.openEvent)==null?void 0:L.type;return(D==null?void 0:D.includes("mouse"))&&D!=="mousedown"},[o]);x.useEffect(()=>{if(!c)return;function L(D){let{open:U}=D;U||(clearTimeout(T.current),clearTimeout(N.current),_.current=!0)}return i.on("openchange",L),()=>{i.off("openchange",L)}},[c,i]),x.useEffect(()=>{if(!c||!S.current||!n)return;function L(U){A()&&r(!1,U,"hover")}const D=Ot(a).documentElement;return D.addEventListener("mouseleave",L),()=>{D.removeEventListener("mouseleave",L)}},[a,n,r,c,S,A]);const q=x.useCallback(function(L,D,U){D===void 0&&(D=!0),U===void 0&&(U="hover");const B=pf(y.current,"close",C.current);B&&!P.current?(clearTimeout(T.current),T.current=setTimeout(()=>r(!1,L,U),B)):D&&(clearTimeout(T.current),r(!1,L,U))},[y,r]),z=x.useCallback(()=>{M.current(),P.current=void 0},[]),H=x.useCallback(()=>{if(O.current){const L=Ot(l.floating.current).body;L.style.pointerEvents="",L.removeAttribute(xv),O.current=!1}},[l]);return x.useEffect(()=>{if(!c)return;function L(){return o.current.openEvent?["click","mousedown"].includes(o.current.openEvent.type):!1}function D(j){if(clearTimeout(T.current),_.current=!1,h&&!Fc(C.current)||b>0&&pf(y.current,"open")===0)return;const W=pf(y.current,"open",C.current);W?T.current=setTimeout(()=>{r(!0,j,"hover")},W):r(!0,j,"hover")}function U(j){if(L())return;M.current();const W=Ot(a);if(clearTimeout(N.current),S.current){n||clearTimeout(T.current),P.current=S.current({...e,tree:v,x:j.clientX,y:j.clientY,onClose(){H(),z(),q(j,!0,"safe-polygon")}});const Y=P.current;W.addEventListener("mousemove",Y),M.current=()=>{W.removeEventListener("mousemove",Y)};return}(C.current==="touch"?!rt(a,j.relatedTarget):!0)&&q(j)}function B(j){L()||S.current==null||S.current({...e,tree:v,x:j.clientX,y:j.clientY,onClose(){H(),z(),q(j)}})(j)}if(Ae(s)){const j=s;return n&&j.addEventListener("mouseleave",B),a==null||a.addEventListener("mouseleave",B),g&&j.addEventListener("mousemove",D,{once:!0}),j.addEventListener("mouseenter",D),j.addEventListener("mouseleave",U),()=>{n&&j.removeEventListener("mouseleave",B),a==null||a.removeEventListener("mouseleave",B),g&&j.removeEventListener("mousemove",D),j.removeEventListener("mouseenter",D),j.removeEventListener("mouseleave",U)}}},[s,a,c,e,h,b,g,q,z,H,r,n,v,y,S,o]),_e(()=>{var L;if(c&&n&&(L=S.current)!=null&&L.__options.blockPointerEvents&&A()){const U=Ot(a).body;if(U.setAttribute(xv,""),U.style.pointerEvents="none",O.current=!0,Ae(s)&&a){var D;const B=s,j=v==null||(D=v.nodesRef.current.find(W=>W.id===E))==null||(D=D.context)==null?void 0:D.elements.floating;return j&&(j.style.pointerEvents=""),B.style.pointerEvents="auto",a.style.pointerEvents="auto",()=>{B.style.pointerEvents="",a.style.pointerEvents=""}}}},[c,n,E,a,s,v,S,A]),_e(()=>{n||(C.current=void 0,z(),H())},[n,z,H]),x.useEffect(()=>()=>{z(),clearTimeout(T.current),clearTimeout(N.current),H()},[c,s,z,H]),x.useMemo(()=>{if(!c)return{};function L(D){C.current=D.pointerType}return{reference:{onPointerDown:L,onPointerEnter:L,onMouseMove(D){n||b===0||(clearTimeout(N.current),N.current=setTimeout(()=>{_.current||r(!0,D.nativeEvent,"hover")},b))}},floating:{onMouseEnter(){clearTimeout(T.current)},onMouseLeave(D){q(D.nativeEvent,!1)}}}},[c,b,n,r,q])}function pA(e,t){var n;let r=[],o=(n=e.find(i=>i.id===t))==null?void 0:n.parentId;for(;o;){const i=e.find(s=>s.id===o);o=i==null?void 0:i.parentId,i&&(r=r.concat(i))}return r}function Io(e,t){let n=e.filter(o=>{var i;return o.parentId===t&&((i=o.context)==null?void 0:i.open)}),r=n;for(;r.length;)r=e.filter(o=>{var i;return(i=r)==null?void 0:i.some(s=>{var a;return o.parentId===s.id&&((a=o.context)==null?void 0:a.open)})}),n=n.concat(r);return n}function mA(e,t){let n,r=-1;function o(i,s){s>r&&(n=i,r=s),Io(e,i).forEach(l=>{o(l.id,s+1)})}return o(t,0),e.find(i=>i.id===n)}let li=new WeakMap,Rl=new WeakSet,Nl={},mf=0;const hA=()=>typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype,D2=e=>e&&(e.host||D2(e.parentNode)),gA=(e,t)=>t.map(n=>{if(e.contains(n))return n;const r=D2(n);return e.contains(r)?r:null}).filter(n=>n!=null);function yA(e,t,n,r){const o="data-floating-ui-inert",i=r?"inert":n?"aria-hidden":null,s=gA(t,e),a=new Set,l=new Set(s),c=[];Nl[o]||(Nl[o]=new WeakMap);const f=Nl[o];s.forEach(d),h(t),a.clear();function d(b){!b||a.has(b)||(a.add(b),b.parentNode&&d(b.parentNode))}function h(b){!b||l.has(b)||Array.prototype.forEach.call(b.children,g=>{if(a.has(g))h(g);else{const v=i?g.getAttribute(i):null,E=v!==null&&v!=="false",S=(li.get(g)||0)+1,y=(f.get(g)||0)+1;li.set(g,S),f.set(g,y),c.push(g),S===1&&E&&Rl.add(g),y===1&&g.setAttribute(o,""),!E&&i&&g.setAttribute(i,"true")}})}return mf++,()=>{c.forEach(b=>{const g=(li.get(b)||0)-1,v=(f.get(b)||0)-1;li.set(b,g),f.set(b,v),g||(!Rl.has(b)&&i&&b.removeAttribute(i),Rl.delete(b)),v||b.removeAttribute(o)}),mf--,mf||(li=new WeakMap,li=new WeakMap,Rl=new WeakSet,Nl={})}}function kv(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=Ot(e[0]).body;return yA(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}const Hm=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function $2(e,t){const n=Bm(e,Hm());t==="prev"&&n.reverse();const r=n.indexOf(Wn(Ot(e)));return n.slice(r+1)[0]}function z2(){return $2(document.body,"next")}function F2(){return $2(document.body,"prev")}function Ws(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!rt(n,r)}function vA(e){Bm(e,Hm()).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function bA(e){e.querySelectorAll("[data-tabindex]").forEach(n=>{const r=n.dataset.tabindex;delete n.dataset.tabindex,r?n.setAttribute("tabindex",r):n.removeAttribute("tabindex")})}const Wm={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};let wA;function Cv(e){e.key==="Tab"&&(e.target,clearTimeout(wA))}const Gc=x.forwardRef(function(t,n){const[r,o]=x.useState();_e(()=>(Lm()&&o("button"),document.addEventListener("keydown",Cv),()=>{document.removeEventListener("keydown",Cv)}),[]);const i={ref:n,tabIndex:0,role:r,"aria-hidden":r?void 0:!0,[Uo("focus-guard")]:"",style:Wm};return x.createElement("span",wa({},t,i))}),B2=x.createContext(null),Sv=Uo("portal");function xA(e){let{id:t,root:n}=e===void 0?{}:e;const[r,o]=x.useState(null),i=ed(),s=U2(),a=x.useRef(null);return _e(()=>()=>{r==null||r.remove(),queueMicrotask(()=>{a.current=null})},[r]),_e(()=>{if(a.current)return;const l=t?document.getElementById(t):null;if(!l)return;const c=document.createElement("div");c.id=i,c.setAttribute(Sv,""),l.appendChild(c),a.current=c,o(c)},[t,i]),_e(()=>{if(a.current)return;let l=n||(s==null?void 0:s.portalNode);l&&!Ae(l)&&(l=l.current),l=l||document.body;let c=null;t&&(c=document.createElement("div"),c.id=t,l.appendChild(c));const f=document.createElement("div");f.id=i,f.setAttribute(Sv,""),l=c||l,l.appendChild(f),a.current=f,o(f)},[t,n,i,s]),r}function kA(e){let{children:t,id:n,root:r=null,preserveTabOrder:o=!0}=e;const i=xA({id:n,root:r}),[s,a]=x.useState(null),l=x.useRef(null),c=x.useRef(null),f=x.useRef(null),d=x.useRef(null),h=!!s&&!s.modal&&s.open&&o&&!!(r||i);return x.useEffect(()=>{if(!i||!o||s!=null&&s.modal)return;function b(g){i&&Ws(g)&&(g.type==="focusin"?bA:vA)(i)}return i.addEventListener("focusin",b,!0),i.addEventListener("focusout",b,!0),()=>{i.removeEventListener("focusin",b,!0),i.removeEventListener("focusout",b,!0)}},[i,o,s==null?void 0:s.modal]),x.createElement(B2.Provider,{value:x.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:l,afterOutsideRef:c,beforeInsideRef:f,afterInsideRef:d,portalNode:i,setFocusManagerState:a}),[o,i])},h&&i&&x.createElement(Gc,{"data-type":"outside",ref:l,onFocus:b=>{if(Ws(b,i)){var g;(g=f.current)==null||g.focus()}else{const v=F2()||(s==null?void 0:s.refs.domReference.current);v==null||v.focus()}}}),h&&i&&x.createElement("span",{"aria-owns":i.id,style:Wm}),i&&Oa.createPortal(t,i),h&&i&&x.createElement(Gc,{"data-type":"outside",ref:c,onFocus:b=>{if(Ws(b,i)){var g;(g=d.current)==null||g.focus()}else{const v=z2()||(s==null?void 0:s.refs.domReference.current);v==null||v.focus(),s!=null&&s.closeOnFocusOut&&(s==null||s.onOpenChange(!1,b.nativeEvent))}}}))}const U2=()=>x.useContext(B2),Ev=20;let ko=[];function hf(e){ko=ko.filter(t=>t.isConnected),e&&wr(e)!=="body"&&(ko.push(e),ko.length>Ev&&(ko=ko.slice(-Ev)))}function Tv(){return ko.slice().reverse().find(e=>e.isConnected)}const CA=x.forwardRef(function(t,n){return x.createElement("button",wa({},t,{type:"button",ref:n,tabIndex:-1,style:Wm}))});function H2(e){const{context:t,children:n,disabled:r=!1,order:o=["content"],guards:i=!0,initialFocus:s=0,returnFocus:a=!0,modal:l=!0,visuallyHiddenDismiss:c=!1,closeOnFocusOut:f=!0}=e,{open:d,refs:h,nodeId:b,onOpenChange:g,events:v,dataRef:E,elements:{domReference:S,floating:y}}=t,C=typeof s=="number"&&s<0,T=w2(S)&&C,P=hA()?i:!0,N=Jn(o),_=Jn(s),O=Jn(a),M=Ka(),A=U2(),q=x.useRef(null),z=x.useRef(null),H=x.useRef(!1),L=x.useRef(!1),D=A!=null,U=x.useCallback(function($){return $===void 0&&($=y),$?Bm($,Hm()):[]},[y]),B=x.useCallback($=>{const Y=U($);return N.current.map(X=>S&&X==="reference"?S:y&&X==="floating"?y:Y).filter(Boolean).flat()},[S,y,N,U]);x.useEffect(()=>{if(r||!l)return;function $(X){if(X.key==="Tab"){rt(y,Wn(Ot(y)))&&U().length===0&&!T&&yt(X);const te=B(),ne=Fr(X);N.current[0]==="reference"&&ne===S&&(yt(X),X.shiftKey?sr(te[te.length-1]):sr(te[1])),N.current[1]==="floating"&&ne===y&&X.shiftKey&&(yt(X),sr(te[0]))}}const Y=Ot(y);return Y.addEventListener("keydown",$),()=>{Y.removeEventListener("keydown",$)}},[r,S,y,l,N,T,U,B]),x.useEffect(()=>{if(r||!f)return;function $(){L.current=!0,setTimeout(()=>{L.current=!1})}function Y(X){const te=X.relatedTarget;queueMicrotask(()=>{const ne=!(rt(S,te)||rt(y,te)||rt(te,y)||rt(A==null?void 0:A.portalNode,te)||te!=null&&te.hasAttribute(Uo("focus-guard"))||M&&(Io(M.nodesRef.current,b).find(I=>{var ie,ue;return rt((ie=I.context)==null?void 0:ie.elements.floating,te)||rt((ue=I.context)==null?void 0:ue.elements.domReference,te)})||pA(M.nodesRef.current,b).find(I=>{var ie,ue;return((ie=I.context)==null?void 0:ie.elements.floating)===te||((ue=I.context)==null?void 0:ue.elements.domReference)===te})));te&&ne&&!L.current&&te!==Tv()&&(H.current=!0,g(!1,X))})}if(y&&kt(S))return S.addEventListener("focusout",Y),S.addEventListener("pointerdown",$),!l&&y.addEventListener("focusout",Y),()=>{S.removeEventListener("focusout",Y),S.removeEventListener("pointerdown",$),!l&&y.removeEventListener("focusout",Y)}},[r,S,y,l,b,M,A,g,f]),x.useEffect(()=>{var $;if(r)return;const Y=Array.from((A==null||($=A.portalNode)==null?void 0:$.querySelectorAll("["+Uo("portal")+"]"))||[]);if(y){const X=[y,...Y,q.current,z.current,N.current.includes("reference")||T?S:null].filter(ne=>ne!=null),te=l||T?kv(X,P,!P):kv(X);return()=>{te()}}},[r,S,y,l,N,A,T,P]),_e(()=>{if(r||!y)return;const $=Ot(y),Y=Wn($);queueMicrotask(()=>{const X=B(y),te=_.current,ne=(typeof te=="number"?X[te]:te.current)||y,I=rt(y,Y);!C&&!I&&d&&sr(ne,{preventScroll:ne===y})})},[r,d,y,C,B,_]),_e(()=>{if(r||!y)return;let $=!1;const Y=Ot(y),X=Wn(Y),te=E.current;hf(X);function ne(I){let{reason:ie,event:ue,nested:fe}=I;ie==="escape-key"&&h.domReference.current&&hf(h.domReference.current),ie==="hover"&&ue.type==="mouseleave"&&(H.current=!0),ie==="outside-press"&&(fe?(H.current=!1,$=!0):H.current=!(v2(ue)||Am(ue)))}return v.on("openchange",ne),()=>{v.off("openchange",ne);const I=Wn(Y),ie=rt(y,I)||M&&Io(M.nodesRef.current,b).some(be=>{var we;return rt((we=be.context)==null?void 0:we.elements.floating,I)});(ie||te.openEvent&&["click","mousedown"].includes(te.openEvent.type))&&h.domReference.current&&hf(h.domReference.current);const fe=Tv();O.current&&!H.current&&kt(fe)&&(!(fe!==I&&I!==Y.body)||ie)&&sr(fe,{cancelPrevious:!1,preventScroll:$})}},[r,y,O,E,h,v,M,b]),_e(()=>{if(!(r||!A))return A.setFocusManagerState({modal:l,closeOnFocusOut:f,open:d,onOpenChange:g,refs:h}),()=>{A.setFocusManagerState(null)}},[r,A,l,d,g,h,f]),_e(()=>{if(r||!y||typeof MutationObserver!="function"||C)return;const $=()=>{const X=y.getAttribute("tabindex");N.current.includes("floating")||Wn(Ot(y))!==h.domReference.current&&U().length===0?X!=="0"&&y.setAttribute("tabindex","0"):X!=="-1"&&y.setAttribute("tabindex","-1")};$();const Y=new MutationObserver($);return Y.observe(y,{childList:!0,subtree:!0,attributes:!0}),()=>{Y.disconnect()}},[r,y,h,N,U,C]);function j($){return r||!c||!l?null:x.createElement(CA,{ref:$==="start"?q:z,onClick:Y=>g(!1,Y.nativeEvent)},typeof c=="string"?c:"Dismiss")}const W=!r&&P&&(D||l);return x.createElement(x.Fragment,null,W&&x.createElement(Gc,{"data-type":"inside",ref:A==null?void 0:A.beforeInsideRef,onFocus:$=>{if(l){const X=B();sr(o[0]==="reference"?X[0]:X[X.length-1])}else if(A!=null&&A.preserveTabOrder&&A.portalNode)if(H.current=!1,Ws($,A.portalNode)){const X=z2()||S;X==null||X.focus()}else{var Y;(Y=A.beforeOutsideRef.current)==null||Y.focus()}}}),!T&&j("start"),n,j("end"),W&&x.createElement(Gc,{"data-type":"inside",ref:A==null?void 0:A.afterInsideRef,onFocus:$=>{if(l)sr(B()[0]);else if(A!=null&&A.preserveTabOrder&&A.portalNode)if(f&&(H.current=!0),Ws($,A.portalNode)){const X=F2()||S;X==null||X.focus()}else{var Y;(Y=A.afterOutsideRef.current)==null||Y.focus()}}}))}const gf=new Set,SA=x.forwardRef(function(t,n){let{lockScroll:r=!1,...o}=t;const i=ed();return _e(()=>{if(!r)return;gf.add(i);const s=/iP(hone|ad|od)|iOS/.test(Im()),a=document.body.style,c=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",f=window.innerWidth-document.documentElement.clientWidth,d=a.left?parseFloat(a.left):window.pageXOffset,h=a.top?parseFloat(a.top):window.pageYOffset;if(a.overflow="hidden",f&&(a[c]=f+"px"),s){var b,g;const v=((b=window.visualViewport)==null?void 0:b.offsetLeft)||0,E=((g=window.visualViewport)==null?void 0:g.offsetTop)||0;Object.assign(a,{position:"fixed",top:-(h-Math.floor(E))+"px",left:-(d-Math.floor(v))+"px",right:"0"})}return()=>{gf.delete(i),gf.size===0&&(Object.assign(a,{overflow:"",[c]:""}),s&&(Object.assign(a,{position:"",top:"",left:"",right:""}),window.scrollTo(d,h)))}},[i,r]),x.createElement("div",wa({ref:n},o,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...o.style}}))});function Pv(e){return kt(e.target)&&e.target.tagName==="BUTTON"}function Rv(e){return Mm(e)}function W2(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,elements:{domReference:i}}=e,{enabled:s=!0,event:a="click",toggle:l=!0,ignoreMouse:c=!1,keyboardHandlers:f=!0}=t,d=x.useRef(),h=x.useRef(!1);return x.useMemo(()=>s?{reference:{onPointerDown(b){d.current=b.pointerType},onMouseDown(b){b.button===0&&(Fc(d.current,!0)&&c||a!=="click"&&(n&&l&&(!o.current.openEvent||o.current.openEvent.type==="mousedown")?r(!1,b.nativeEvent,"click"):(b.preventDefault(),r(!0,b.nativeEvent,"click"))))},onClick(b){if(a==="mousedown"&&d.current){d.current=void 0;return}Fc(d.current,!0)&&c||(n&&l&&(!o.current.openEvent||o.current.openEvent.type==="click")?r(!1,b.nativeEvent,"click"):r(!0,b.nativeEvent,"click"))},onKeyDown(b){d.current=void 0,!(b.defaultPrevented||!f||Pv(b))&&(b.key===" "&&!Rv(i)&&(b.preventDefault(),h.current=!0),b.key==="Enter"&&r(!(n&&l),b.nativeEvent,"click"))},onKeyUp(b){b.defaultPrevented||!f||Pv(b)||Rv(i)||b.key===" "&&h.current&&(h.current=!1,r(!(n&&l),b.nativeEvent,"click"))}}}:{},[s,o,a,c,f,i,l,n,r])}const EA={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},TA={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Nv=e=>{var t,n;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(n=e==null?void 0:e.outsidePress)!=null?n:!0}};function V2(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,nodeId:o,elements:{reference:i,domReference:s,floating:a},dataRef:l}=e,{enabled:c=!0,escapeKey:f=!0,outsidePress:d=!0,outsidePressEvent:h="pointerdown",referencePress:b=!1,referencePressEvent:g="pointerdown",ancestorScroll:v=!1,bubbles:E,capture:S}=t,y=Ka(),C=Vn(typeof d=="function"?d:()=>!1),T=typeof d=="function"?C:d,P=x.useRef(!1),N=x.useRef(!1),{escapeKey:_,outsidePress:O}=Nv(E),{escapeKey:M,outsidePress:A}=Nv(S),q=Vn(D=>{if(!n||!c||!f||D.key!=="Escape")return;const U=y?Io(y.nodesRef.current,o):[];if(!_&&(D.stopPropagation(),U.length>0)){let B=!0;if(U.forEach(j=>{var W;if((W=j.context)!=null&&W.open&&!j.context.dataRef.current.__escapeKeyBubbles){B=!1;return}}),!B)return}r(!1,VO(D)?D.nativeEvent:D,"escape-key")}),z=Vn(D=>{var U;const B=()=>{var j;q(D),(j=Fr(D))==null||j.removeEventListener("keydown",B)};(U=Fr(D))==null||U.addEventListener("keydown",B)}),H=Vn(D=>{const U=P.current;P.current=!1;const B=N.current;if(N.current=!1,h==="click"&&B||U||typeof T=="function"&&!T(D))return;const j=Fr(D),W="["+Uo("inert")+"]",$=Ot(a).querySelectorAll(W);let Y=Ae(j)?j:null;for(;Y&&!Ui(Y);){const ne=Fo(Y);if(Ui(ne)||!Ae(ne))break;Y=ne}if($.length&&Ae(j)&&!KO(j)&&!rt(j,a)&&Array.from($).every(ne=>!rt(Y,ne)))return;if(kt(j)&&a){const ne=j.clientWidth>0&&j.scrollWidth>j.clientWidth,I=j.clientHeight>0&&j.scrollHeight>j.clientHeight;let ie=I&&D.offsetX>j.clientWidth;if(I&&sn(j).direction==="rtl"&&(ie=D.offsetX<=j.offsetWidth-j.clientWidth),ie||ne&&D.offsetY>j.clientHeight)return}const X=y&&Io(y.nodesRef.current,o).some(ne=>{var I;return uf(D,(I=ne.context)==null?void 0:I.elements.floating)});if(uf(D,a)||uf(D,s)||X)return;const te=y?Io(y.nodesRef.current,o):[];if(te.length>0){let ne=!0;if(te.forEach(I=>{var ie;if((ie=I.context)!=null&&ie.open&&!I.context.dataRef.current.__outsidePressBubbles){ne=!1;return}}),!ne)return}r(!1,D,"outside-press")}),L=Vn(D=>{var U;const B=()=>{var j;H(D),(j=Fr(D))==null||j.removeEventListener(h,B)};(U=Fr(D))==null||U.addEventListener(h,B)});return x.useEffect(()=>{if(!n||!c)return;l.current.__escapeKeyBubbles=_,l.current.__outsidePressBubbles=O;function D(j){r(!1,j,"ancestor-scroll")}const U=Ot(a);f&&U.addEventListener("keydown",M?z:q,M),T&&U.addEventListener(h,A?L:H,A);let B=[];return v&&(Ae(s)&&(B=eo(s)),Ae(a)&&(B=B.concat(eo(a))),!Ae(i)&&i&&i.contextElement&&(B=B.concat(eo(i.contextElement)))),B=B.filter(j=>{var W;return j!==((W=U.defaultView)==null?void 0:W.visualViewport)}),B.forEach(j=>{j.addEventListener("scroll",D,{passive:!0})}),()=>{f&&U.removeEventListener("keydown",M?z:q,M),T&&U.removeEventListener(h,A?L:H,A),B.forEach(j=>{j.removeEventListener("scroll",D)})}},[l,a,s,i,f,T,h,n,r,v,c,_,O,q,M,z,H,A,L]),x.useEffect(()=>{P.current=!1},[T,h]),x.useMemo(()=>c?{reference:{onKeyDown:q,[EA[g]]:D=>{b&&r(!1,D.nativeEvent,"reference-press")}},floating:{onKeyDown:q,onMouseDown(){N.current=!0},onMouseUp(){N.current=!0},[TA[h]]:()=>{P.current=!0}}}:{},[c,b,h,g,r,q])}function K2(e){var t;e===void 0&&(e={});const{open:n=!1,onOpenChange:r,nodeId:o}=e,[i,s]=x.useState(null),a=((t=e.elements)==null?void 0:t.reference)||i,l=_I(e),c=Ka(),f=td()!=null,d=Vn((P,N,_)=>{P&&(b.current.openEvent=N),g.emit("openchange",{open:P,event:N,reason:_,nested:f}),r==null||r(P,N,_)}),h=x.useRef(null),b=x.useRef({}),g=x.useState(()=>cA())[0],v=ed(),E=x.useCallback(P=>{const N=Ae(P)?{getBoundingClientRect:()=>P.getBoundingClientRect(),contextElement:P}:P;l.refs.setReference(N)},[l.refs]),S=x.useCallback(P=>{(Ae(P)||P===null)&&(h.current=P,s(P)),(Ae(l.refs.reference.current)||l.refs.reference.current===null||P!==null&&!Ae(P))&&l.refs.setReference(P)},[l.refs]),y=x.useMemo(()=>({...l.refs,setReference:S,setPositionReference:E,domReference:h}),[l.refs,S,E]),C=x.useMemo(()=>({...l.elements,domReference:a}),[l.elements,a]),T=x.useMemo(()=>({...l,refs:y,elements:C,dataRef:b,nodeId:o,floatingId:v,events:g,open:n,onOpenChange:d}),[l,o,v,g,n,d,y,C]);return _e(()=>{const P=c==null?void 0:c.nodesRef.current.find(N=>N.id===o);P&&(P.context=T)}),x.useMemo(()=>({...l,context:T,refs:y,elements:C}),[l,y,C,T])}function PA(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,events:o,refs:i,elements:{domReference:s}}=e,{enabled:a=!0,visibleOnly:l=!0}=t,c=x.useRef(!1),f=x.useRef(),d=x.useRef(!0);return x.useEffect(()=>{if(!a)return;const h=Vt(s);function b(){!n&&kt(s)&&s===Wn(Ot(s))&&(c.current=!0)}function g(){d.current=!0}return h.addEventListener("blur",b),h.addEventListener("keydown",g,!0),()=>{h.removeEventListener("blur",b),h.removeEventListener("keydown",g,!0)}},[s,n,a]),x.useEffect(()=>{if(!a)return;function h(b){let{reason:g}=b;(g==="reference-press"||g==="escape-key")&&(c.current=!0)}return o.on("openchange",h),()=>{o.off("openchange",h)}},[o,a]),x.useEffect(()=>()=>{clearTimeout(f.current)},[]),x.useMemo(()=>a?{reference:{onPointerDown(h){Am(h.nativeEvent)||(d.current=!1)},onMouseLeave(){c.current=!1},onFocus(h){if(c.current)return;const b=Fr(h.nativeEvent);if(l&&Ae(b))try{if(Lm()&&b2())throw Error();if(!b.matches(":focus-visible"))return}catch{if(!d.current&&!Mm(b))return}r(!0,h.nativeEvent,"focus")},onBlur(h){c.current=!1;const b=h.relatedTarget,g=Ae(b)&&b.hasAttribute(Uo("focus-guard"))&&b.getAttribute("data-type")==="outside";f.current=window.setTimeout(()=>{const v=Wn(s?s.ownerDocument:document);!b&&v===s||rt(i.floating.current,v)||rt(s,v)||g||r(!1,h.nativeEvent,"focus")})}}}:{},[a,l,s,i,r])}const _v="active",jv="selected";function yf(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[_v]:s,[jv]:a,...l}=e;i=l}return{...n==="floating"&&{tabIndex:-1},...i,...t.map(s=>{const a=s?s[n]:null;return typeof a=="function"?e?a(e):null:a}).concat(e).reduce((s,a)=>(a&&Object.entries(a).forEach(l=>{let[c,f]=l;if(!(o&&[_v,jv].includes(c)))if(c.indexOf("on")===0){if(r.has(c)||r.set(c,[]),typeof f=="function"){var d;(d=r.get(c))==null||d.push(f),s[c]=function(){for(var h,b=arguments.length,g=new Array(b),v=0;vE(...g)).find(E=>E!==void 0)}}}else s[c]=f}),s),{})}}function q2(e){e===void 0&&(e=[]);const t=e,n=x.useCallback(i=>yf(i,e,"reference"),t),r=x.useCallback(i=>yf(i,e,"floating"),t),o=x.useCallback(i=>yf(i,e,"item"),e.map(i=>i==null?void 0:i.item));return x.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:o}),[n,r,o])}let Ov=!1;function nd(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function Iv(e,t){return nd(t,e===Um||e===Va,e===Wi||e===ss)}function vf(e,t,n){return nd(t,e===Va,n?e===Wi:e===ss)||e==="Enter"||e===" "||e===""}function RA(e,t,n){return nd(t,n?e===Wi:e===ss,e===Va)}function Av(e,t,n){return nd(t,n?e===ss:e===Wi,e===Um)}function NA(e,t){const{open:n,onOpenChange:r,refs:o,elements:{domReference:i,floating:s}}=e,{listRef:a,activeIndex:l,onNavigate:c=()=>{},enabled:f=!0,selectedIndex:d=null,allowEscape:h=!1,loop:b=!1,nested:g=!1,rtl:v=!1,virtual:E=!1,focusItemOnOpen:S="auto",focusItemOnHover:y=!0,openOnArrowKeyDown:C=!0,disabledIndices:T=void 0,orientation:P="vertical",cols:N=1,scrollItemIntoView:_=!0,virtualItemRef:O,itemSizes:M,dense:A=!1}=t,q=td(),z=Ka(),H=Vn(c),L=x.useRef(S),D=x.useRef(d??-1),U=x.useRef(null),B=x.useRef(!0),j=x.useRef(H),W=x.useRef(!!s),$=x.useRef(!1),Y=x.useRef(!1),X=Jn(T),te=Jn(n),ne=Jn(_),[I,ie]=x.useState(),[ue,fe]=x.useState(),be=Vn(function(le,Me,Pe){Pe===void 0&&(Pe=!1);const Te=le.current[Me.current];Te&&(E?(ie(Te.id),z==null||z.events.emit("virtualfocus",Te),O&&(O.current=Te)):sr(Te,{preventScroll:!0,sync:b2()&&Lm()?Ov||$.current:!1}),requestAnimationFrame(()=>{const fn=ne.current;fn&&Te&&(Pe||!B.current)&&(Te.scrollIntoView==null||Te.scrollIntoView(typeof fn=="boolean"?{block:"nearest",inline:"nearest"}:fn))}))});_e(()=>{document.createElement("div").focus({get preventScroll(){return Ov=!0,!1}})},[]),_e(()=>{f&&(n&&s?L.current&&d!=null&&(Y.current=!0,D.current=d,H(d)):W.current&&(D.current=-1,j.current(null)))},[f,n,s,d,H]),_e(()=>{if(f&&n&&s)if(l==null){if($.current=!1,d!=null)return;if(W.current&&(D.current=-1,be(a,D)),!W.current&&L.current&&(U.current!=null||L.current===!0&&U.current==null)){let le=0;const Me=()=>{a.current[0]==null?(le<2&&(le?requestAnimationFrame:queueMicrotask)(Me),le++):(D.current=U.current==null||vf(U.current,P,v)||g?df(a,X.current):vv(a,X.current),U.current=null,H(D.current))};Me()}}else Hs(a,l)||(D.current=l,be(a,D,Y.current),Y.current=!1)},[f,n,s,l,d,g,a,P,v,H,be,X]),_e(()=>{var le;if(!f||s||!z||E||!W.current)return;const Me=z.nodesRef.current,Pe=(le=Me.find(Gt=>Gt.id===q))==null||(le=le.context)==null?void 0:le.elements.floating,Te=Wn(Ot(s)),fn=Me.some(Gt=>Gt.context&&rt(Gt.context.elements.floating,Te));Pe&&!fn&&B.current&&Pe.focus({preventScroll:!0})},[f,s,z,q,E]),_e(()=>{if(!f||!z||!E||q)return;function le(Me){fe(Me.id),O&&(O.current=Me)}return z.events.on("virtualfocus",le),()=>{z.events.off("virtualfocus",le)}},[f,z,E,q,O]),_e(()=>{j.current=H,W.current=!!s}),_e(()=>{n||(U.current=null)},[n]);const we=l!=null,tt=x.useMemo(()=>{function le(Pe){if(!n)return;const Te=a.current.indexOf(Pe);Te!==-1&&H(Te)}return{onFocus(Pe){let{currentTarget:Te}=Pe;le(Te)},onClick:Pe=>{let{currentTarget:Te}=Pe;return Te.focus({preventScroll:!0})},...y&&{onMouseMove(Pe){let{currentTarget:Te}=Pe;le(Te)},onPointerLeave(Pe){let{pointerType:Te}=Pe;!B.current||Te==="touch"||(D.current=-1,be(a,D),H(null),E||sr(o.floating.current,{preventScroll:!0}))}}}},[n,o,be,y,a,H,E]);return x.useMemo(()=>{if(!f)return{};const le=X.current;function Me(oe){if(B.current=!1,$.current=!0,!te.current&&oe.currentTarget===o.floating.current)return;if(g&&Av(oe.key,P,v)){yt(oe),r(!1,oe.nativeEvent,"list-navigation"),kt(i)&&!E&&i.focus();return}const Re=D.current,Ct=df(a,le),Ue=vv(a,le);if(oe.key==="Home"&&(yt(oe),D.current=Ct,H(D.current)),oe.key==="End"&&(yt(oe),D.current=Ue,H(D.current)),N>1){const pe=M||Array.from({length:a.current.length},()=>({width:1,height:1})),Dt=ZI(pe,N,A),Yo=Dt.findIndex($t=>$t!=null&&!(le!=null&&le.includes($t))),po=Dt.reduce(($t,Pr,zt)=>Pr!=null&&!(le!=null&&le.includes(Pr))?zt:$t,-1);if(D.current=Dt[JI({current:Dt.map($t=>$t!=null?a.current[$t]:null)},{event:oe,orientation:P,loop:b,cols:N,disabledIndices:tA([...le||[],void 0],Dt),minIndex:Yo,maxIndex:po,prevIndex:eA(D.current,pe,Dt,N,oe.key===Va?"bl":oe.key===ss?"tr":"tl"),stopEvent:!0})],H(D.current),P==="both")return}if(Iv(oe.key,P)){if(yt(oe),n&&!E&&Wn(oe.currentTarget.ownerDocument)===oe.currentTarget){D.current=vf(oe.key,P,v)?Ct:Ue,H(D.current);return}vf(oe.key,P,v)?b?D.current=Re>=Ue?h&&Re!==a.current.length?-1:Ct:Rt(a,{startingIndex:Re,disabledIndices:le}):D.current=Math.min(Ue,Rt(a,{startingIndex:Re,disabledIndices:le})):b?D.current=Re<=Ct?h&&Re!==-1?a.current.length:Ue:Rt(a,{startingIndex:Re,decrement:!0,disabledIndices:le}):D.current=Math.max(Ct,Rt(a,{startingIndex:Re,decrement:!0,disabledIndices:le})),Hs(a,D.current)?H(null):H(D.current)}}function Pe(oe){S==="auto"&&v2(oe.nativeEvent)&&(L.current=!0)}function Te(oe){L.current=S,S==="auto"&&Am(oe.nativeEvent)&&(L.current=!0)}const fn=E&&n&&we&&{"aria-activedescendant":ue||I},Gt=a.current.find(oe=>(oe==null?void 0:oe.id)===I);return{reference:{...fn,onKeyDown(oe){B.current=!1;const Re=oe.key.indexOf("Arrow")===0,Ct=RA(oe.key,P,v),Ue=Av(oe.key,P,v),pe=Iv(oe.key,P),Dt=(g?Ct:pe)||oe.key==="Enter"||oe.key.trim()==="";if(E&&n){const Pr=z==null?void 0:z.nodesRef.current.find(tr=>tr.parentId==null),zt=z&&Pr?mA(z.nodesRef.current,Pr.id):null;if(Re&&zt&&O){const tr=new KeyboardEvent("keydown",{key:oe.key,bubbles:!0});if(Ct||Ue){var Yo,po;const pn=((Yo=zt.context)==null?void 0:Yo.elements.domReference)===oe.currentTarget,nr=Ue&&!pn?(po=zt.context)==null?void 0:po.elements.domReference:Ct?Gt:null;nr&&(yt(oe),nr.dispatchEvent(tr),fe(void 0))}if(pe&&zt.context&&zt.context.open&&zt.parentId&&oe.currentTarget!==zt.context.elements.domReference){var $t;yt(oe),($t=zt.context.elements.domReference)==null||$t.dispatchEvent(tr);return}}return Me(oe)}if(!(!n&&!C&&Re)){if(Dt&&(U.current=g&&pe?null:oe.key),g){Ct&&(yt(oe),n?(D.current=df(a,le),H(D.current)):r(!0,oe.nativeEvent,"list-navigation"));return}pe&&(d!=null&&(D.current=d),yt(oe),!n&&C?r(!0,oe.nativeEvent,"list-navigation"):Me(oe),n&&H(D.current))}},onFocus(){n&&H(null)},onPointerDown:Te,onMouseDown:Pe,onClick:Pe},floating:{"aria-orientation":P==="both"?void 0:P,...!w2(i)&&fn,onKeyDown:Me,onPointerMove(){B.current=!0}},item:tt}},[i,o,I,ue,X,te,a,f,P,v,E,n,we,g,d,C,h,N,b,S,H,r,tt,z,O,M,A])}const _A=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function G2(e,t){var n;t===void 0&&(t={});const{open:r,floatingId:o}=e,{enabled:i=!0,role:s="dialog"}=t,a=(n=_A.get(s))!=null?n:s,l=ed(),f=td()!=null;return x.useMemo(()=>{if(!i)return{};const d={id:o,...a&&{role:a}};return a==="tooltip"||s==="label"?{reference:{["aria-"+(s==="label"?"labelledby":"describedby")]:r?o:void 0},floating:d}:{reference:{"aria-expanded":r?"true":"false","aria-haspopup":a==="alertdialog"?"dialog":a,"aria-controls":r?o:void 0,...a==="listbox"&&{role:"combobox"},...a==="menu"&&{id:l},...a==="menu"&&f&&{role:"menuitem"},...s==="select"&&{"aria-autocomplete":"none"},...s==="combobox"&&{"aria-autocomplete":"list"}},floating:{...d,...a==="menu"&&{"aria-labelledby":l}},item(h){let{active:b,selected:g}=h;const v={role:"option",...b&&{id:o+"-option"}};switch(s){case"select":return{...v,"aria-selected":b&&g};case"combobox":return{...v,...b&&{"aria-selected":!0}}}return{}}}},[i,s,a,r,o,l,f])}function jA(e,t){var n;const{open:r,dataRef:o}=e,{listRef:i,activeIndex:s,onMatch:a,onTypingChange:l,enabled:c=!0,findMatch:f=null,resetMs:d=750,ignoreKeys:h=[],selectedIndex:b=null}=t,g=x.useRef(),v=x.useRef(""),E=x.useRef((n=b??s)!=null?n:-1),S=x.useRef(null),y=Vn(a),C=Vn(l),T=Jn(f),P=Jn(h);return _e(()=>{r&&(clearTimeout(g.current),S.current=null,v.current="")},[r]),_e(()=>{if(r&&v.current===""){var N;E.current=(N=b??s)!=null?N:-1}},[r,b,s]),x.useMemo(()=>{if(!c)return{};function N(M){M?o.current.typing||(o.current.typing=M,C(M)):o.current.typing&&(o.current.typing=M,C(M))}function _(M,A,q){const z=T.current?T.current(A,q):A.find(H=>(H==null?void 0:H.toLocaleLowerCase().indexOf(q.toLocaleLowerCase()))===0);return z?M.indexOf(z):-1}function O(M){const A=i.current;if(v.current.length>0&&v.current[0]!==" "&&(_(A,A,v.current)===-1?N(!1):M.key===" "&&yt(M)),A==null||P.current.includes(M.key)||M.key.length!==1||M.ctrlKey||M.metaKey||M.altKey)return;r&&M.key!==" "&&(yt(M),N(!0)),A.every(L=>{var D,U;return L?((D=L[0])==null?void 0:D.toLocaleLowerCase())!==((U=L[1])==null?void 0:U.toLocaleLowerCase()):!0})&&v.current===M.key&&(v.current="",E.current=S.current),v.current+=M.key,clearTimeout(g.current),g.current=setTimeout(()=>{v.current="",E.current=S.current,N(!1)},d);const z=E.current,H=_(A,[...A.slice((z||0)+1),...A.slice(0,(z||0)+1)],v.current);H!==-1?(y(H),S.current=H):M.key!==" "&&(v.current="",N(!1))}return{reference:{onKeyDown:O},floating:{onKeyDown:O,onKeyUp(M){M.key===" "&&N(!1)}}}},[c,r,o,i,d,P,T,y,C])}function Lv(e,t){const[n,r]=e;let o=!1;const i=t.length;for(let s=0,a=i-1;s=r!=d>=r&&n<=(f-l)*(r-c)/(d-c)+l&&(o=!o)}return o}function OA(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function IA(e){e===void 0&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,i=!1,s=null,a=null,l=performance.now();function c(d,h){const b=performance.now(),g=b-l;if(s===null||a===null||g===0)return s=d,a=h,l=b,null;const v=d-s,E=h-a,y=Math.sqrt(v*v+E*E)/g;return s=d,a=h,l=b,y}const f=d=>{let{x:h,y:b,placement:g,elements:v,onClose:E,nodeId:S,tree:y}=d;return function(T){function P(){clearTimeout(o),E()}if(clearTimeout(o),!v.domReference||!v.floating||g==null||h==null||b==null)return;const{clientX:N,clientY:_}=T,O=[N,_],M=Fr(T),A=T.type==="mouseleave",q=rt(v.floating,M),z=rt(v.domReference,M),H=v.domReference.getBoundingClientRect(),L=v.floating.getBoundingClientRect(),D=g.split("-")[0],U=h>L.right-L.width/2,B=b>L.bottom-L.height/2,j=OA(O,H),W=L.width>H.width,$=L.height>H.height,Y=(W?H:L).left,X=(W?H:L).right,te=($?H:L).top,ne=($?H:L).bottom;if(q&&(i=!0,!A))return;if(z&&(i=!1),z&&!A){i=!0;return}if(A&&Ae(T.relatedTarget)&&rt(v.floating,T.relatedTarget)||y&&Io(y.nodesRef.current,S).some(ue=>{let{context:fe}=ue;return fe==null?void 0:fe.open}))return;if(D==="top"&&b>=H.bottom-1||D==="bottom"&&b<=H.top+1||D==="left"&&h>=H.right-1||D==="right"&&h<=H.left+1)return P();let I=[];switch(D){case"top":I=[[Y,H.top+1],[Y,L.bottom-1],[X,L.bottom-1],[X,H.top+1]];break;case"bottom":I=[[Y,L.top+1],[Y,H.bottom-1],[X,H.bottom-1],[X,L.top+1]];break;case"left":I=[[L.right-1,ne],[L.right-1,te],[H.left+1,te],[H.left+1,ne]];break;case"right":I=[[H.right-1,ne],[H.right-1,te],[L.left+1,te],[L.left+1,ne]];break}function ie(ue){let[fe,be]=ue;switch(D){case"top":{const we=[W?fe+t/2:U?fe+t*4:fe-t*4,be+t+1],tt=[W?fe-t/2:U?fe+t*4:fe-t*4,be+t+1],le=[[L.left,U||W?L.bottom-t:L.top],[L.right,U?W?L.bottom-t:L.top:L.bottom-t]];return[we,tt,...le]}case"bottom":{const we=[W?fe+t/2:U?fe+t*4:fe-t*4,be-t],tt=[W?fe-t/2:U?fe+t*4:fe-t*4,be-t],le=[[L.left,U||W?L.top+t:L.bottom],[L.right,U?W?L.top+t:L.bottom:L.top+t]];return[we,tt,...le]}case"left":{const we=[fe+t+1,$?be+t/2:B?be+t*4:be-t*4],tt=[fe+t+1,$?be-t/2:B?be+t*4:be-t*4];return[...[[B||$?L.right-t:L.left,L.top],[B?$?L.right-t:L.left:L.right-t,L.bottom]],we,tt]}case"right":{const we=[fe-t,$?be+t/2:B?be+t*4:be-t*4],tt=[fe-t,$?be-t/2:B?be+t*4:be-t*4],le=[[B||$?L.left+t:L.right,L.top],[B?$?L.left+t:L.right:L.left+t,L.bottom]];return[we,tt,...le]}}}if(!Lv([N,_],I)){if(i&&!j)return P();if(!A&&r){const ue=c(T.clientX,T.clientY);if(ue!==null&&ue<.1)return P()}Lv([N,_],ie([h,b]))?!i&&r&&(o=window.setTimeout(P,40)):P()}}};return f.__options={blockPointerEvents:n},f}const AA=({arrowRef:e,placement:t})=>{const n=[];return n.push(aI(8)),n.push(t==="auto"?EI():PI()),n.push(TI({padding:8})),e!=null&&e.current&&n.push(NI({element:e.current})),n},LA=({placement:e})=>e==="auto"?void 0:e,MA=({placement:e})=>({top:"bottom",right:"left",bottom:"top",left:"right"})[e.split("-")[0]],Y2=({open:e,arrowRef:t,placement:n="top",setOpen:r})=>K2({placement:LA({placement:n}),open:e,onOpenChange:r,whileElementsMounted:_2,middleware:AA({placement:n,arrowRef:t})}),X2=({context:e,trigger:t,role:n="tooltip",interactions:r=[]})=>q2([W2(e,{enabled:t==="click"}),fA(e,{enabled:t==="hover",handleClose:IA()}),V2(e),G2(e,{role:n}),...r]),Q2=x.createContext(void 0);function Vm(){const e=x.useContext(Q2);if(!e)throw new Error("useDropdownContext should be used within the DropdownContext provider!");return e}const Km=({className:e,theme:t={},...n})=>{const{theme:r}=Vm(),o=t.divider??r.floating.divider;return m.jsx("div",{className:V(o,e),...n})},J2=({children:e,className:t,theme:n={},...r})=>{const{theme:o}=Vm(),i=n.header??o.floating.header;return m.jsxs(m.Fragment,{children:[m.jsx("div",{className:V(i,t),...r,children:e}),m.jsx(Km,{})]})},DA=({children:e,className:t,icon:n,onClick:r,theme:o={},...i})=>{const{ref:s,index:a}=iA({label:typeof e=="string"?e:void 0}),{theme:l,activeIndex:c,dismissOnClick:f,getItemProps:d,handleSelect:h}=Vm(),b=c===a,g=Q(l.floating.item,o),v=i;return m.jsx("li",{role:"menuitem",className:g.container,children:m.jsxs(s2,{ref:s,className:V(g.base,t),...v,...d({onClick:()=>{r&&r(),f&&h(null)}}),tabIndex:b?0:-1,children:[n&&m.jsx(n,{className:g.icon}),e]})})},$A={top:fj,right:U1,bottom:B1,left:dj},zA=({refs:e,children:t,inline:n,theme:r,disabled:o,setButtonWidth:i,getReferenceProps:s,renderTrigger:a,...l})=>{const c=e.reference,f=s();if(x.useEffect(()=>{c.current&&(i==null||i(c.current.clientWidth))},[c,i]),a){const d=a(r);return x.cloneElement(d,{ref:e.setReference,disabled:o,...f,...d.props})}return n?m.jsx("button",{type:"button",ref:e.setReference,className:r==null?void 0:r.inlineWrapper,disabled:o,...f,children:t}):m.jsx(c2,{...l,disabled:o,type:"button",ref:e.setReference,...f,children:t})},Z2=({children:e,className:t,dismissOnClick:n=!0,theme:r={},renderTrigger:o,...i})=>{const[s,a]=x.useState(!1),[l,c]=x.useState(null),[f,d]=x.useState(null),[h,b]=x.useState(void 0),g=x.useRef([]),v=x.useRef([]),E=Q(re().dropdown,r),S=i,y=i["data-testid"]||"flowbite-dropdown-target",{placement:C=i.inline?"bottom-start":"bottom",trigger:T="click",label:P,inline:N,arrowIcon:_=!0,...O}=S,M=x.useCallback($=>{d($),a(!1)},[]),A=x.useCallback($=>{s?c($):M($)},[s,M]),{context:q,floatingStyles:z,refs:H}=Y2({open:s,setOpen:a,placement:C}),L=NA(q,{listRef:g,activeIndex:l,selectedIndex:f,onNavigate:c}),D=jA(q,{listRef:v,activeIndex:l,selectedIndex:f,onMatch:A}),{getReferenceProps:U,getFloatingProps:B,getItemProps:j}=X2({context:q,role:"menu",trigger:T,interactions:[L,D]}),W=x.useMemo(()=>{const[$]=C.split("-");return $A[$]??B1},[C]);return m.jsxs(Q2.Provider,{value:{theme:E,activeIndex:l,dismissOnClick:n,getItemProps:j,handleSelect:M},children:[m.jsxs(zA,{...O,refs:H,inline:N,theme:E,"data-testid":y,className:V(E.floating.target,O.className),setButtonWidth:b,getReferenceProps:U,renderTrigger:o,children:[P,_&&m.jsx(W,{className:E.arrowIcon})]}),s&&m.jsx(H2,{context:q,modal:!1,children:m.jsx("div",{ref:H.setFloating,style:{...z,minWidth:h},"data-testid":"flowbite-dropdown","aria-expanded":s,...B({className:V(E.floating.base,E.floating.animation,"duration-100",!s&&E.floating.hidden,E.floating.style.auto,t)}),children:m.jsx(oA,{elementsRef:g,labelsRef:v,children:m.jsx("ul",{className:E.content,tabIndex:-1,children:e})})})})]})};Z2.displayName="Dropdown";J2.displayName="Dropdown.Header";Km.displayName="Dropdown.Divider";Object.assign(Z2,{Item:DA,Header:J2,Divider:Km});const FA=x.forwardRef(({className:e,color:t="gray",helperText:n,sizing:r="md",theme:o={},...i},s)=>{const a=Q(re().fileInput,o);return m.jsxs(m.Fragment,{children:[m.jsx("div",{className:V(a.root.base,e),children:m.jsx("div",{className:a.field.base,children:m.jsx("input",{className:V(a.field.input.base,a.field.input.colors[t],a.field.input.sizes[r]),...i,type:"file",ref:s})})}),n&&m.jsx(Ha,{color:t,children:n})]})});FA.displayName="FileInput";const BA=x.forwardRef(({label:e,helperText:t,color:n="default",sizing:r="md",variant:o,disabled:i=!1,theme:s={},className:a,...l},c)=>{const f=x.useId(),d=Q(re().floatingLabel,s);return m.jsxs("div",{children:[m.jsxs("div",{className:V("relative",o==="standard"?"z-0":""),children:[m.jsx("input",{type:"text",id:l.id?l.id:"floatingLabel"+f,"aria-describedby":"outlined_success_help",className:V(d.input[n][o][r],a),placeholder:" ","data-testid":"floating-label",disabled:i,...l,ref:c}),m.jsx("label",{htmlFor:l.id?l.id:"floatingLabel"+f,className:V(d.label[n][o][r],a),children:e})]}),m.jsx("p",{id:"outlined_helper_text"+f,className:V(d.helperText[n],a),children:t})]})});BA.displayName="FloatingLabel";const ek=({alt:e,className:t,children:n,href:r,name:o,src:i,theme:s={},...a})=>{const l=Q(re().footer.brand,s);return m.jsx("div",{children:r?m.jsxs("a",{"data-testid":"flowbite-footer-brand",href:r,className:V(l.base,t),...a,children:[m.jsx("img",{alt:e,src:i,className:l.img}),m.jsx("span",{"data-testid":"flowbite-footer-brand-span",className:l.span,children:o}),n]}):m.jsx("img",{alt:e,"data-testid":"flowbite-footer-brand",src:i,className:V(l.img,t),...a})})},tk=({by:e,className:t,href:n,theme:r={},year:o,...i})=>{const s=Q(re().footer.copyright,r);return m.jsxs("div",{"data-testid":"flowbite-footer-copyright",className:V(s.base,t),...i,children:["Β© ",o,n?m.jsx("a",{href:n,className:s.href,children:e}):m.jsx("span",{"data-testid":"flowbite-footer-copyright-span",className:s.span,children:e})]})},nk=({className:e,theme:t={},...n})=>{const r=Q(re().footer.divider,t);return m.jsx("hr",{"data-testid":"footer-divider",className:V(r.base,e),...n})},rk=({ariaLabel:e,className:t,href:n,icon:r,theme:o={},...i})=>{const s=Q(re().footer.icon,o);return m.jsx("div",{children:n?m.jsx("a",{"aria-label":e,"data-testid":"flowbite-footer-icon",href:n,className:V(s.base,t),...i,children:m.jsx(r,{className:s.size})}):m.jsx(r,{"data-testid":"flowbite-footer-icon",className:s.size,...i})})},ok=({as:e="a",children:t,className:n,href:r,theme:o={},...i})=>{const s=Q(re().footer.groupLink.link,o);return m.jsx("li",{className:V(s.base,n),children:m.jsx(e,{href:r,className:s.href,...i,children:t})})},ik=({children:e,className:t,col:n=!1,theme:r={},...o})=>{const i=Q(re().footer.groupLink,r);return m.jsx("ul",{"data-testid":"footer-groupLink",className:V(i.base,n&&i.col,t),...o,children:e})},sk=({as:e="h2",className:t,theme:n={},title:r,...o})=>{const i=Q(re().footer.title,n);return m.jsx(e,{"data-testid":"flowbite-footer-title",className:V(i.base,t),...o,children:r})},ak=({bgDark:e=!1,children:t,className:n,container:r=!1,theme:o={},...i})=>{const s=Q(re().footer,o);return m.jsx("footer",{"data-testid":"flowbite-footer",className:V(s.root.base,e&&s.root.bgDark,r&&s.root.container,n),...i,children:t})};ak.displayName="Footer";tk.displayName="Footer.Copyright";ok.displayName="Footer.Link";ek.displayName="Footer.Brand";ik.displayName="Footer.LinkGroup";rk.displayName="Footer.Icon";sk.displayName="Footer.Title";nk.displayName="Footer.Divider";Object.assign(ak,{Copyright:tk,Link:ok,LinkGroup:ik,Brand:ek,Icon:rk,Title:sk,Divider:nk});const UA=({children:e,className:t,color:n="default",disabled:r=!1,theme:o={},value:i,...s})=>{const a=Q(re().label,o);return m.jsx("label",{className:V(a.root.base,a.root.colors[n],r&&a.root.disabled,t),"data-testid":"flowbite-label",...s,children:i??e??""})};UA.displayName="Label";const lk=({children:e,className:t,theme:n={}})=>{const r=Q(re().listGroup.item,n);return m.jsx("li",{className:V(r.base,t),children:e})},ck=({children:e,className:t,unstyled:n,nested:r,ordered:o,horizontal:i,theme:s={},...a})=>{const l=Q(re().list,s),c=o?"ol":"ul";return m.jsx(c,{className:V(l.root.base,l.root.ordered[o?"on":"off"],n&&l.root.unstyled,r&&l.root.nested,i&&l.root.horizontal,t),...a,children:e})};ck.displayName="List";lk.displayName="List.Item";Object.assign(ck,{Item:lk});const uk=({active:e,children:t,className:n,href:r,icon:o,onClick:i,theme:s={},disabled:a,...l})=>{const c=Q(re().listGroup.item,s),f=typeof r<"u",d=f?"a":"button";return m.jsx("li",{className:V(c.base,n),children:m.jsxs(d,{href:r,onClick:i,type:f?void 0:"button",disabled:a,className:V(c.link.active[e?"on":"off"],c.link.disabled[a?"on":"off"],c.link.base,c.link.href[f?"on":"off"]),...l,children:[o&&m.jsx(o,{"aria-hidden":!0,"data-testid":"flowbite-list-group-item-icon",className:c.link.icon}),t]})})},dk=({children:e,className:t,theme:n={},...r})=>{const o=Q(re().listGroup,n);return m.jsx("ul",{className:V(o.root.base,t),...r,children:e})};dk.displayName="ListGroup";uk.displayName="ListGroup.Item";const _l=Object.assign(dk,{Item:uk}),fk=x.createContext(void 0);function qm(){const e=x.useContext(fk);if(!e)throw new Error("useModalContext should be used within the ModalContext provider!");return e}const pk=({children:e,className:t,theme:n={},...r})=>{const{theme:o,popup:i}=qm(),s=Q(o.body,n);return m.jsx("div",{className:V(s.base,i&&[s.popup],t),...r,children:e})},mk=({children:e,className:t,theme:n={},...r})=>{const{theme:o,popup:i}=qm(),s=Q(o.footer,n);return m.jsx("div",{className:V(s.base,!i&&s.popup,t),...r,children:e})},hk=({as:e="h3",children:t,className:n,theme:r={},id:o,...i})=>{const s=x.useId(),a=o||s,{theme:l,popup:c,onClose:f,setHeaderId:d}=qm(),h=Q(l.header,r);return x.useLayoutEffect(()=>(d(a),()=>d(void 0)),[a,d]),m.jsxs("div",{className:V(h.base,c&&h.popup,n),...i,children:[m.jsx(e,{id:a,className:h.title,children:t}),m.jsx("button",{"aria-label":"Close",className:h.close.base,type:"button",onClick:f,children:m.jsx(pj,{"aria-hidden":!0,className:h.close.icon})})]})},gk=x.forwardRef(({children:e,className:t,dismissible:n=!1,onClose:r,popup:o,position:i="center",root:s,show:a,size:l="2xl",theme:c={},initialFocus:f,...d},h)=>{const[b,g]=x.useState(void 0),v=Q(re().modal,c),{context:E}=K2({open:a,onOpenChange:()=>r&&r()}),S=YI([E.refs.setFloating,h]),y=W2(E),C=V2(E,{outsidePressEvent:"mousedown",enabled:n}),T=G2(E),{getFloatingProps:P}=q2([y,C,T]);return a?m.jsx(fk.Provider,{value:{theme:v,popup:o,onClose:r,setHeaderId:g},children:m.jsx(kA,{root:s,children:m.jsx(SA,{lockScroll:!0,"data-testid":"modal-overlay",className:V(v.root.base,v.root.positions[i],a?v.root.show.on:v.root.show.off,t),...d,children:m.jsx(H2,{context:E,initialFocus:f,children:m.jsx("div",{ref:S,...P(d),"aria-labelledby":b,className:V(v.content.base,v.root.sizes[l]),children:m.jsx("div",{className:v.content.inner,children:e})})})})})}):null});gk.displayName="Modal";hk.displayName="Modal.Header";pk.displayName="Modal.Body";mk.displayName="Modal.Footer";const Ii=Object.assign(gk,{Header:hk,Body:pk,Footer:mk}),yk=x.createContext(void 0);function rd(){const e=x.useContext(yk);if(!e)throw new Error("useNavBarContext should be used within the NavbarContext provider!");return e}const vk=({as:e="a",children:t,className:n,theme:r={},...o})=>{const{theme:i}=rd(),s=Q(i.brand,r);return m.jsx(e,{className:V(s.base,n),...o,children:t})},bk=({children:e,className:t,theme:n={},...r})=>{const{theme:o,isOpen:i}=rd(),s=Q(o.collapse,n);return m.jsx("div",{"data-testid":"flowbite-navbar-collapse",className:V(s.base,s.hidden[i?"off":"on"],t),...r,children:m.jsx("ul",{className:s.list,children:e})})},wk=({active:e,as:t="a",disabled:n,children:r,className:o,theme:i={},...s})=>{const{theme:a}=rd(),l=Q(a.link,i);return m.jsx("li",{children:m.jsx(t,{className:V(l.base,e&&l.active.on,!e&&!n&&l.active.off,l.disabled[n?"on":"off"],o),...s,children:r})})};function HA(e){return et({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}}]})(e)}function $9(e){return et({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M208 0c-29.9 0-54.7 20.5-61.8 48.2-.8 0-1.4-.2-2.2-.2-35.3 0-64 28.7-64 64 0 4.8.6 9.5 1.7 14C52.5 138 32 166.6 32 200c0 12.6 3.2 24.3 8.3 34.9C16.3 248.7 0 274.3 0 304c0 33.3 20.4 61.9 49.4 73.9-.9 4.6-1.4 9.3-1.4 14.1 0 39.8 32.2 72 72 72 4.1 0 8.1-.5 12-1.2 9.6 28.5 36.2 49.2 68 49.2 39.8 0 72-32.2 72-72V64c0-35.3-28.7-64-64-64zm368 304c0-29.7-16.3-55.3-40.3-69.1 5.2-10.6 8.3-22.3 8.3-34.9 0-33.4-20.5-62-49.7-74 1-4.5 1.7-9.2 1.7-14 0-35.3-28.7-64-64-64-.8 0-1.5.2-2.2.2C422.7 20.5 397.9 0 368 0c-35.3 0-64 28.6-64 64v376c0 39.8 32.2 72 72 72 31.8 0 58.4-20.7 68-49.2 3.9.7 7.9 1.2 12 1.2 39.8 0 72-32.2 72-72 0-4.8-.5-9.5-1.4-14.1 29-12 49.4-40.6 49.4-73.9z"}}]})(e)}function WA(e){return et({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32z"}}]})(e)}function VA(e){return et({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M624 208h-64v-64c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v64h-64c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h64v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-64h64c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400 48c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"}}]})(e)}function z9(e){return et({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"}}]})(e)}const xk=({barIcon:e=HA,className:t,theme:n={},...r})=>{const{theme:o,isOpen:i,setIsOpen:s}=rd(),a=Q(o.toggle,n),l=()=>{s(!i)};return m.jsxs("button",{"data-testid":"flowbite-navbar-toggle",onClick:l,className:V(a.base,t),...r,children:[m.jsx("span",{className:"sr-only",children:"Open main menu"}),m.jsx(e,{"aria-hidden":!0,className:a.icon})]})},kk=({border:e,children:t,className:n,fluid:r=!1,menuOpen:o,rounded:i,theme:s={},...a})=>{const[l,c]=x.useState(o),f=Q(re().navbar,s);return m.jsx(yk.Provider,{value:{theme:f,isOpen:l,setIsOpen:c},children:m.jsx("nav",{className:V(f.root.base,f.root.bordered[e?"on":"off"],f.root.rounded[i?"on":"off"],n),...a,children:m.jsx("div",{className:V(f.root.inner.base,f.root.inner.fluid[r?"on":"off"]),children:t})})})};kk.displayName="Navbar";vk.displayName="Navbar.Brand";bk.displayName="Navbar.Collapse";wk.displayName="Navbar.Link";xk.displayName="Navbar.Toggle";Object.assign(kk,{Brand:vk,Collapse:bk,Link:wk,Toggle:xk});const Gm=({active:e,children:t,className:n,onClick:r,theme:o={},...i})=>{const s=Q(re().pagination,o);return m.jsx("button",{type:"button",className:V(e&&s.pages.selector.active,n),onClick:r,...i,children:t})};Gm.displayName="Pagination.Button";const Hp=({children:e,className:t,onClick:n,theme:r={},disabled:o=!1,...i})=>{const s=Q(re().pagination,r);return m.jsx("button",{type:"button",className:V(o&&s.pages.selector.disabled,t),disabled:o,onClick:n,...i,children:e})};Hp.displayName="Pagination.Navigation";const KA=(e,t)=>e>=t?[]:[...Array(t-e+1).keys()].map(n=>n+e),Ck=({className:e,currentPage:t,layout:n="pagination",nextLabel:r="Next",onPageChange:o,previousLabel:i="Previous",renderPaginationButton:s=d=>m.jsx(Gm,{...d}),showIcons:a=!1,theme:l={},totalPages:c,...f})=>{const d=Q(re().pagination,l),h=Math.min(Math.max(n==="pagination"?t+2:t+4,5),c),b=Math.max(1,h-4),g=()=>{o(Math.min(t+1,c))},v=()=>{o(Math.max(t-1,1))};return m.jsxs("nav",{className:V(d.base,e),...f,children:[n==="table"&&m.jsxs("div",{className:d.layout.table.base,children:["Showing ",m.jsx("span",{className:d.layout.table.span,children:b})," toΒ ",m.jsx("span",{className:d.layout.table.span,children:h})," ofΒ ",m.jsx("span",{className:d.layout.table.span,children:c})," Entries"]}),m.jsxs("ul",{className:d.pages.base,children:[m.jsx("li",{children:m.jsxs(Hp,{className:V(d.pages.previous.base,a&&d.pages.showIcon),onClick:v,disabled:t===1,children:[a&&m.jsx(aj,{"aria-hidden":!0,className:d.pages.previous.icon}),i]})}),n==="pagination"&&KA(b,h).map(E=>m.jsx("li",{"aria-current":E===t?"page":void 0,children:s({className:V(d.pages.selector.base,t===E&&d.pages.selector.active),active:E===t,onClick:()=>o(E),children:E})},E)),m.jsx("li",{children:m.jsxs(Hp,{className:V(d.pages.next.base,a&&d.pages.showIcon),onClick:g,disabled:t===c,children:[r,a&&m.jsx(lj,{"aria-hidden":!0,className:d.pages.next.icon})]})})]})]})};Ck.displayName="Pagination";const F9=Object.assign(Ck,{Button:Gm}),qA=x.forwardRef(({className:e,theme:t={},...n},r)=>{const o=Q(re().radio,t);return m.jsx("input",{ref:r,type:"radio",className:V(o.root.base,e),...n})});qA.displayName="Radio";const GA=x.forwardRef(({className:e,sizing:t="md",theme:n={},...r},o)=>{const i=Q(re().rangeSlider,n);return m.jsx(m.Fragment,{children:m.jsx("div",{"data-testid":"flowbite-range-slider",className:V(i.root.base,e),children:m.jsx("div",{className:i.field.base,children:m.jsx("input",{ref:o,type:"range",className:V(i.field.input.base,i.field.input.sizes[t]),...r})})})})});GA.displayName="RangeSlider";const Sk=({children:e,className:t,percentFilled:n=0,theme:r={},...o})=>{const i=Q(re().ratingAdvanced,r);return m.jsxs("div",{className:V(i.base,t),...o,children:[m.jsx("span",{className:i.label,children:e}),m.jsx("div",{className:i.progress.base,children:m.jsx("div",{className:i.progress.fill,"data-testid":"flowbite-rating-fill",style:{width:`${n}%`}})}),m.jsx("span",{className:i.progress.label,children:`${n}%`})]})},Ek=x.createContext(void 0);function YA(){const e=x.useContext(Ek);if(!e)throw new Error("useRatingContext should be used within the RatingContext provider!");return e}const Tk=({className:e,filled:t=!0,starIcon:n=cj,theme:r={},...o})=>{const{theme:i,size:s="sm"}=YA(),a=Q(i.star,r);return m.jsx(n,{"data-testid":"flowbite-rating-star",className:V(a.sizes[s],a[t?"filled":"empty"],e),...o})},Pk=({children:e,className:t,size:n="sm",theme:r={},...o})=>{const i=Q(re().rating,r);return m.jsx(Ek.Provider,{value:{theme:i,size:n},children:m.jsx("div",{className:V(i.root.base,t),...o,children:e})})};Pk.displayName="Rating";Tk.displayName="Rating.Star";Sk.displayName="Rating.Advanced";Object.assign(Pk,{Star:Tk,Advanced:Sk});const XA=x.forwardRef(({addon:e,children:t,className:n,color:r="gray",helperText:o,icon:i,shadow:s,sizing:a="md",theme:l={},...c},f)=>{const d=Q(re().select,l);return m.jsxs("div",{className:V(d.base,n),children:[e&&m.jsx("span",{className:d.addon,children:e}),m.jsxs("div",{className:d.field.base,children:[i&&m.jsx("div",{className:d.field.icon.base,children:m.jsx(i,{className:d.field.icon.svg})}),m.jsx("select",{className:V(d.field.select.base,d.field.select.colors[r],d.field.select.sizes[a],d.field.select.withIcon[i?"on":"off"],d.field.select.withAddon[e?"on":"off"],d.field.select.withShadow[s?"on":"off"]),...c,ref:f,children:t}),o&&m.jsx(Ha,{color:r,children:o})]})]})});XA.displayName="Select";const Rk=x.createContext(void 0);function as(){const e=x.useContext(Rk);if(!e)throw new Error("useSidebarContext should be used within the SidebarContext provider!");return e}const Nk=({children:e,color:t="info",className:n,theme:r={},...o})=>{const{theme:i,isCollapsed:s}=as(),a=Q(i.cta,r);return m.jsx("div",{"data-testid":"sidebar-cta",hidden:s,className:V(a.base,a.color[t],n),...o,children:e})};Nk.displayName="Sidebar.CTA";const QA=({animation:e="duration-300",arrow:t=!0,children:n,className:r,content:o,placement:i="top",style:s="dark",theme:a,trigger:l="hover",minWidth:c,...f})=>{const d=x.useRef(null),[h,b]=x.useState(!1),g=Y2({open:h,placement:i,arrowRef:d,setOpen:b}),{context:v,middlewareData:{arrow:{x:E,y:S}={}},refs:y,strategy:C,update:T,x:P,y:N}=g,_=PA(v),{getFloatingProps:O,getReferenceProps:M}=X2({context:v,role:"tooltip",trigger:l,interactions:[_]});return x.useEffect(()=>{if(y.reference.current&&y.floating.current&&h)return _2(y.reference.current,y.floating.current,T)},[h,y.floating,y.reference,T]),m.jsxs(m.Fragment,{children:[m.jsx("div",{ref:y.setReference,className:a.target,"data-testid":"flowbite-tooltip-target",...M(),children:n}),m.jsxs("div",{ref:y.setFloating,"data-testid":"flowbite-tooltip",...O({className:V(a.base,e&&`${a.animation} ${e}`,!h&&a.hidden,a.style[s],r),style:{position:C,top:N??" ",left:P??" ",minWidth:c},...f}),children:[m.jsx("div",{className:a.content,children:o}),t&&m.jsx("div",{className:V(a.arrow.base,s==="dark"&&a.arrow.style.dark,s==="light"&&a.arrow.style.light,s==="auto"&&a.arrow.style.auto),"data-testid":"flowbite-tooltip-arrow",ref:d,style:{top:S??" ",left:E??" ",right:" ",bottom:" ",[MA({placement:g.placement})]:a.arrow.placement},children:"Β "})]})]})},Ym=({animation:e="duration-300",arrow:t=!0,children:n,className:r,content:o,placement:i="top",style:s="dark",theme:a={},trigger:l="hover",...c})=>{const f=Q(re().tooltip,a);return m.jsx(QA,{animation:e,arrow:t,content:o,placement:i,style:s,theme:f,trigger:l,className:r,...c,children:n})};Ym.displayName="Tooltip";const Xm=x.createContext(void 0);function JA(){const e=x.useContext(Xm);if(!e)throw new Error("useSidebarItemContext should be used within the SidebarItemContext provider!");return e}const _k=({children:e,className:t,icon:n,label:r,chevronIcon:o=F1,renderChevronIcon:i,open:s=!1,theme:a={},...l})=>{const c=x.useId(),[f,d]=x.useState(s),{theme:h,isCollapsed:b}=as(),g=Q(h.collapse,a);x.useEffect(()=>d(s),[s]);const v=({children:E})=>m.jsx("li",{children:b&&!f?m.jsx(Ym,{content:r,placement:"right",children:E}):E});return m.jsxs(v,{children:[m.jsxs("button",{id:`flowbite-sidebar-collapse-${c}`,onClick:()=>d(!f),title:r,type:"button",className:V(g.button,t),...l,children:[n&&m.jsx(n,{"aria-hidden":!0,"data-testid":"flowbite-sidebar-collapse-icon",className:V(g.icon.base,g.icon.open[f?"on":"off"])}),b?m.jsx("span",{className:"sr-only",children:r}):m.jsxs(m.Fragment,{children:[m.jsx("span",{"data-testid":"flowbite-sidebar-collapse-label",className:g.label.base,children:r}),i?i(g,f):m.jsx(o,{"aria-hidden":!0,className:V(g.label.icon.base,g.label.icon.open[f?"on":"off"])})]})]}),m.jsx("ul",{"aria-labelledby":`flowbite-sidebar-collapse-${c}`,hidden:!f,className:g.list,children:m.jsx(Xm.Provider,{value:{isInsideCollapse:!0},children:e})})]})};_k.displayName="Sidebar.Collapse";const ZA=({id:e,theme:t,isCollapsed:n,tooltipChildren:r,children:o,...i})=>m.jsx("li",{...i,children:n?m.jsx(Ym,{content:m.jsx(jk,{id:e,theme:t,children:r}),placement:"right",children:o}):o}),jk=({id:e,theme:t,children:n})=>m.jsx("span",{"data-testid":"flowbite-sidebar-item-content",id:`flowbite-sidebar-item-${e}`,className:V(t.content.base),children:n}),Ok=x.forwardRef(({active:e,as:t="a",children:n,className:r,icon:o,label:i,labelColor:s="info",theme:a={},...l},c)=>{var v,E,S,y;const f=x.useId(),{theme:d,isCollapsed:h}=as(),{isInsideCollapse:b}=JA(),g=Q(d.item,a);return m.jsx(ZA,{theme:g,className:g.listItem,id:f,isCollapsed:h,tooltipChildren:n,children:m.jsxs(t,{"aria-labelledby":`flowbite-sidebar-item-${f}`,ref:c,className:V(g.base,e&&g.active,!h&&b&&((v=g.collapsed)==null?void 0:v.insideCollapse),r),...l,children:[o&&m.jsx(o,{"aria-hidden":!0,"data-testid":"flowbite-sidebar-item-icon",className:V((E=g.icon)==null?void 0:E.base,e&&((S=g.icon)==null?void 0:S.active))}),h&&!o&&m.jsx("span",{className:(y=g.collapsed)==null?void 0:y.noIcon,children:n.charAt(0).toLocaleUpperCase()??"?"}),!h&&m.jsx(jk,{id:f,theme:g,children:n}),!h&&i&&m.jsx(r2,{color:s,"data-testid":"flowbite-sidebar-label",hidden:h,className:g.label,children:i})]})})});Ok.displayName="Sidebar.Item";const Ik=({children:e,className:t,theme:n={},...r})=>{const{theme:o}=as(),i=Q(o.itemGroup,n);return m.jsx("ul",{"data-testid":"flowbite-sidebar-item-group",className:V(i.base,t),...r,children:m.jsx(Xm.Provider,{value:{isInsideCollapse:!1},children:e})})};Ik.displayName="Sidebar.ItemGroup";const Ak=({children:e,className:t,theme:n={},...r})=>{const{theme:o}=as(),i=Q(o.items,n);return m.jsx("div",{className:V(i.base,t),"data-testid":"flowbite-sidebar-items",...r,children:e})};Ak.displayName="Sidebar.Items";const Lk=({children:e,className:t,href:n,img:r,imgAlt:o="",theme:i={},...s})=>{const a=x.useId(),{theme:l,isCollapsed:c}=as(),f=Q(l.logo,i);return m.jsxs("a",{"aria-labelledby":`flowbite-sidebar-logo-${a}`,href:n,className:V(f.base,t),...s,children:[m.jsx("img",{alt:o,src:r,className:f.img}),m.jsx("span",{className:f.collapsed[c?"on":"off"],id:`flowbite-sidebar-logo-${a}`,children:e})]})};Lk.displayName="Sidebar.Logo";const Mk=({children:e,as:t="nav",collapseBehavior:n="collapse",collapsed:r=!1,theme:o={},className:i,...s})=>{const a=Q(re().sidebar,o);return m.jsx(Rk.Provider,{value:{theme:a,isCollapsed:r},children:m.jsx(t,{"aria-label":"Sidebar",hidden:r&&n==="hide",className:V(a.root.base,a.root.collapsed[r?"on":"off"],i),...s,children:m.jsx("div",{className:a.root.inner,children:e})})})};Mk.displayName="Sidebar";Object.assign(Mk,{Collapse:_k,CTA:Nk,Item:Ok,Items:Ak,ItemGroup:Ik,Logo:Lk});const Dk=x.createContext(void 0);function e7(){const e=x.useContext(Dk);if(!e)throw new Error("useTableBodyContext should be used within the TableBodyContext provider!");return e}const $k=x.createContext(void 0);function Qm(){const e=x.useContext($k);if(!e)throw new Error("useTableContext should be used within the TableContext provider!");return e}const zk=({children:e,className:t,theme:n={},...r})=>{const{theme:o}=Qm(),i=Q(o.body,n);return m.jsx(Dk.Provider,{value:{theme:i},children:m.jsx("tbody",{className:V(i.base,t),...r,children:e})})},Fk=({children:e,className:t,theme:n={},...r})=>{const{theme:o}=e7(),i=Q(o.cell,n);return m.jsx("td",{className:V(i.base,t),...r,children:e})},Bk=x.createContext(void 0);function t7(){const e=x.useContext(Bk);if(!e)throw new Error("useTableHeadContext should be used within the TableHeadContext provider!");return e}const Uk=({children:e,className:t,theme:n={},...r})=>{const{theme:o}=Qm(),i=Q(o.head,n);return m.jsx(Bk.Provider,{value:{theme:i},children:m.jsx("thead",{className:V(i.base,t),...r,children:m.jsx("tr",{children:e})})})},Hk=({children:e,className:t,theme:n={},...r})=>{const{theme:o}=t7(),i=Q(o.cell,n);return m.jsx("th",{className:V(i.base,t),...r,children:e})},Wk=({children:e,className:t,theme:n={},...r})=>{const{theme:o,hoverable:i,striped:s}=Qm(),a=Q(o.row,n);return m.jsx("tr",{"data-testid":"table-row-element",className:V(a.base,s&&a.striped,i&&a.hovered,t),...r,children:e})},Vk=({children:e,className:t,striped:n,hoverable:r,theme:o={},...i})=>{const s=Q(re().table,o);return m.jsx("div",{"data-testid":"table-element",className:V(s.root.wrapper),children:m.jsxs($k.Provider,{value:{theme:s,striped:n,hoverable:r},children:[m.jsx("div",{className:V(s.root.shadow,t)}),m.jsx("table",{className:V(s.root.base,t),...i,children:e})]})})};Vk.displayName="Table";Uk.displayName="Table.Head";zk.displayName="Table.Body";Wk.displayName="Table.Row";Fk.displayName="Table.Cell";Hk.displayName="Table.HeadCell";Object.assign(Vk,{Head:Uk,Body:zk,Row:Wk,Cell:Fk,HeadCell:Hk});const Kk=({children:e,className:t})=>m.jsx("div",{className:t,children:e});Kk.displayName="Tabs.Item";const qk=x.forwardRef(({children:e,className:t,onActiveTabChange:n,style:r="default",theme:o={},...i},s)=>{const a=Q(re().tabs,o),l=x.useId(),c=x.useMemo(()=>x.Children.map(x.Children.toArray(e),({props:T})=>T),[e]),f=x.useRef([]),[d,h]=x.useState(Math.max(0,c.findIndex(T=>T.active))),[b,g]=x.useState(-1),v=T=>{h(T),n&&n(T)},E=({target:T})=>{v(T),g(T)},S=({event:T,target:P})=>{T.key==="ArrowLeft"&&g(Math.max(0,b-1)),T.key==="ArrowRight"&&g(Math.min(c.length-1,b+1)),T.key==="Enter"&&(v(P),g(P))},y=a.tablist.tabitem.styles[r],C=a.tabitemcontainer.styles[r];return x.useEffect(()=>{var T;(T=f.current[b])==null||T.focus()},[b]),x.useImperativeHandle(s,()=>({setActiveTab:v})),m.jsxs("div",{className:V(a.base,t),children:[m.jsx("div",{"aria-label":"Tabs",role:"tablist",className:V(a.tablist.base,a.tablist.styles[r],t),...i,children:c.map((T,P)=>m.jsxs("button",{type:"button","aria-controls":`${l}-tabpanel-${P}`,"aria-selected":P===d,className:V(a.tablist.tabitem.base,y.base,P===d&&y.active.on,P!==d&&!T.disabled&&y.active.off),disabled:T.disabled,id:`${l}-tab-${P}`,onClick:()=>E({target:P}),onKeyDown:N=>S({event:N,target:P}),ref:N=>f.current[P]=N,role:"tab",tabIndex:P===b?0:-1,style:{zIndex:P===b?2:1},children:[T.icon&&m.jsx(T.icon,{className:a.tablist.tabitem.icon}),T.title]},P))}),m.jsx("div",{className:V(a.tabitemcontainer.base,C),children:c.map((T,P)=>m.jsx("div",{"aria-labelledby":`${l}-tab-${P}`,className:a.tabpanel,hidden:P!==d,id:`${l}-tabpanel-${P}`,role:"tabpanel",tabIndex:0,children:T.children},P))})]})});qk.displayName="Tabs";Object.assign(qk,{Item:Kk});const n7=x.forwardRef(({className:e,color:t="gray",helperText:n,shadow:r,theme:o={},...i},s)=>{const a=Q(re().textarea,o);return m.jsxs(m.Fragment,{children:[m.jsx("textarea",{ref:s,className:V(a.base,a.colors[t],a.withShadow[r?"on":"off"],e),...i}),n&&m.jsx(Ha,{color:t,children:n})]})});n7.displayName="Textarea";const Gk=x.createContext(void 0);function Jm(){const e=x.useContext(Gk);if(!e)throw new Error("useTimelineContentContext should be used within the TimelineContentContext provider!");return e}const Yk=({children:e,className:t,theme:n={},...r})=>{const{theme:o}=Jm(),i=Q(o.body,n);return m.jsx("div",{className:V(i.base,t),...r,children:e})},Xk=x.createContext(void 0);function Zm(){const e=x.useContext(Xk);if(!e)throw new Error("useTimelineContext should be used within the TimelineContext provider!");return e}const Qk=x.createContext(void 0);function Jk(){const e=x.useContext(Qk);if(!e)throw new Error("useTimelineItemContext should be used within the TimelineItemContext provider!");return e}const Zk=({children:e,className:t,theme:n={},...r})=>{const{horizontal:o}=Zm(),{theme:i}=Jk(),s=Q(i.content,n);return m.jsx(Gk.Provider,{value:{theme:s},children:m.jsx("div",{"data-testid":"timeline-content",className:V(o&&s.root.base,t),...r,children:e})})},eC=({children:e,className:t,theme:n={},...r})=>{const{theme:o,horizontal:i}=Zm(),s=Q(o.item,n);return m.jsx(Qk.Provider,{value:{theme:s},children:m.jsx("li",{"data-testid":"timeline-item",className:V(i&&s.root.horizontal,!i&&s.root.vertical,t),...r,children:e})})},tC=({children:e,className:t,icon:n,theme:r={},...o})=>{const{horizontal:i}=Zm(),{theme:s}=Jk(),a=Q(s.point,r);return m.jsxs("div",{"data-testid":"timeline-point",className:V(i&&a.horizontal,!i&&a.vertical,t),...o,children:[e,n?m.jsx("span",{className:V(a.marker.icon.wrapper),children:m.jsx(n,{"aria-hidden":!0,className:V(a.marker.icon.base)})}):m.jsx("div",{className:V(i&&a.marker.base.horizontal,!i&&a.marker.base.vertical)}),i&&m.jsx("div",{className:V(a.line)})]})},nC=({children:e,className:t,theme:n={},...r})=>{const{theme:o}=Jm(),i=Q(o.time,n);return m.jsx("time",{className:V(i.base,t),...r,children:e})},rC=({as:e="h3",children:t,className:n,theme:r={},...o})=>{const{theme:i}=Jm(),s=Q(i.title,r);return m.jsx(e,{className:V(s.base,n),...o,children:t})},oC=({children:e,className:t,horizontal:n,theme:r={},...o})=>{const i=Q(re().timeline,r);return m.jsx(Xk.Provider,{value:{theme:i,horizontal:n},children:m.jsx("ol",{"data-testid":"timeline-component",className:V(n&&i.root.direction.horizontal,!n&&i.root.direction.vertical,t),...o,children:e})})};oC.displayName="Timeline";eC.displayName="Timeline.Item";tC.displayName="Timeline.Point";Zk.displayName="Timeline.Content";nC.displayName="Timeline.Time";rC.displayName="Timeline.Title";Yk.displayName="Timeline.Body";Object.assign(oC,{Item:eC,Point:tC,Content:Zk,Time:nC,Title:rC,Body:Yk});const iC=x.createContext(void 0);function r7(){const e=x.useContext(iC);if(!e)throw new Error("useToastContext should be used within the ToastContext provider!");return e}const sC=({className:e,onClick:t,theme:n={},xIcon:r=uj,onDismiss:o,...i})=>{const{theme:s,duration:a,isClosed:l,isRemoved:c,setIsClosed:f,setIsRemoved:d}=r7(),h=Q(s.toggle,n),b=g=>{if(t&&t(g),o){o();return}f(!l),setTimeout(()=>d(!c),a)};return m.jsx("button",{"aria-label":"Close",onClick:b,type:"button",className:V(h.base,e),...i,children:m.jsx(r,{"aria-hidden":!0,className:h.icon})})},o7={75:"duration-75",100:"duration-100",150:"duration-150",200:"duration-200",300:"duration-300",500:"duration-500",700:"duration-700",1e3:"duration-1000"},aC=({children:e,className:t,duration:n=300,theme:r={},...o})=>{const[i,s]=x.useState(!1),[a,l]=x.useState(!1),c=Q(re().toast,r);return a?null:m.jsx(iC.Provider,{value:{theme:c,duration:n,isClosed:i,isRemoved:a,setIsClosed:s,setIsRemoved:l},children:m.jsx("div",{"data-testid":"flowbite-toast",role:"alert",className:V(c.root.base,o7[n],i&&c.root.closed,t),...o,children:e})})};aC.displayName="Toast";sC.displayName="Toast.Toggle";Object.assign(aC,{Toggle:sC});function ht(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var i7=typeof Symbol=="function"&&Symbol.observable||"@@observable",Mv=i7,bf=()=>Math.random().toString(36).substring(7).split("").join("."),s7={INIT:`@@redux/INIT${bf()}`,REPLACE:`@@redux/REPLACE${bf()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${bf()}`},Yc=s7;function eh(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function lC(e,t,n){if(typeof e!="function")throw new Error(ht(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(ht(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ht(1));return n(lC)(e,t)}let r=e,o=t,i=new Map,s=i,a=0,l=!1;function c(){s===i&&(s=new Map,i.forEach((E,S)=>{s.set(S,E)}))}function f(){if(l)throw new Error(ht(3));return o}function d(E){if(typeof E!="function")throw new Error(ht(4));if(l)throw new Error(ht(5));let S=!0;c();const y=a++;return s.set(y,E),function(){if(S){if(l)throw new Error(ht(6));S=!1,c(),s.delete(y),i=null}}}function h(E){if(!eh(E))throw new Error(ht(7));if(typeof E.type>"u")throw new Error(ht(8));if(typeof E.type!="string")throw new Error(ht(17));if(l)throw new Error(ht(9));try{l=!0,o=r(o,E)}finally{l=!1}return(i=s).forEach(y=>{y()}),E}function b(E){if(typeof E!="function")throw new Error(ht(10));r=E,h({type:Yc.REPLACE})}function g(){const E=d;return{subscribe(S){if(typeof S!="object"||S===null)throw new Error(ht(11));function y(){const T=S;T.next&&T.next(f())}return y(),{unsubscribe:E(y)}},[Mv](){return this}}}return h({type:Yc.INIT}),{dispatch:h,subscribe:d,getState:f,replaceReducer:b,[Mv]:g}}function a7(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:Yc.INIT})>"u")throw new Error(ht(12));if(typeof n(void 0,{type:Yc.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ht(13))})}function l7(e){const t=Object.keys(e),n={};for(let i=0;i"u")throw a&&a.type,new Error(ht(14));c[d]=g,l=l||g!==b}return l=l||r.length!==Object.keys(s).length,l?c:s}}function Xc(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function c7(...e){return t=>(n,r)=>{const o=t(n,r);let i=()=>{throw new Error(ht(15))};const s={getState:o.getState,dispatch:(l,...c)=>i(l,...c)},a=e.map(l=>l(s));return i=Xc(...a)(o.dispatch),{...o,dispatch:i}}}function u7(e){return eh(e)&&"type"in e&&typeof e.type=="string"}var cC=Symbol.for("immer-nothing"),Dv=Symbol.for("immer-draftable"),an=Symbol.for("immer-state");function In(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Vi=Object.getPrototypeOf;function so(e){return!!e&&!!e[an]}function kr(e){var t;return e?uC(e)||Array.isArray(e)||!!e[Dv]||!!((t=e.constructor)!=null&&t[Dv])||id(e)||sd(e):!1}var d7=Object.prototype.constructor.toString();function uC(e){if(!e||typeof e!="object")return!1;const t=Vi(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===d7}function xa(e,t){od(e)===0?Object.entries(e).forEach(([n,r])=>{t(n,r,e)}):e.forEach((n,r)=>t(r,n,e))}function od(e){const t=e[an];return t?t.type_:Array.isArray(e)?1:id(e)?2:sd(e)?3:0}function Wp(e,t){return od(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function dC(e,t,n){const r=od(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function f7(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function id(e){return e instanceof Map}function sd(e){return e instanceof Set}function Co(e){return e.copy_||e.base_}function Vp(e,t){if(id(e))return new Map(e);if(sd(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&uC(e))return Vi(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[an];let r=Reflect.ownKeys(n);for(let o=0;o1&&(e.set=e.add=e.clear=e.delete=p7),Object.freeze(e),t&&xa(e,(n,r)=>th(r,!0))),e}function p7(){In(2)}function ad(e){return Object.isFrozen(e)}var m7={};function Ho(e){const t=m7[e];return t||In(0,e),t}var ka;function fC(){return ka}function h7(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function $v(e,t){t&&(Ho("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Kp(e){qp(e),e.drafts_.forEach(g7),e.drafts_=null}function qp(e){e===ka&&(ka=e.parent_)}function zv(e){return ka=h7(ka,e)}function g7(e){const t=e[an];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Fv(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[an].modified_&&(Kp(t),In(4)),kr(e)&&(e=Qc(t,e),t.parent_||Jc(t,e)),t.patches_&&Ho("Patches").generateReplacementPatches_(n[an].base_,e,t.patches_,t.inversePatches_)):e=Qc(t,n,[]),Kp(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==cC?e:void 0}function Qc(e,t,n){if(ad(t))return t;const r=t[an];if(!r)return xa(t,(o,i)=>Bv(e,r,t,o,i,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Jc(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const o=r.copy_;let i=o,s=!1;r.type_===3&&(i=new Set(o),o.clear(),s=!0),xa(i,(a,l)=>Bv(e,r,o,a,l,n,s)),Jc(e,o,!1),n&&e.patches_&&Ho("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Bv(e,t,n,r,o,i,s){if(so(o)){const a=i&&t&&t.type_!==3&&!Wp(t.assigned_,r)?i.concat(r):void 0,l=Qc(e,o,a);if(dC(n,r,l),so(l))e.canAutoFreeze_=!1;else return}else s&&n.add(o);if(kr(o)&&!ad(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Qc(e,o),(!t||!t.scope_.parent_)&&Jc(e,o)}}function Jc(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&th(t,n)}function y7(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:fC(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=r,i=nh;n&&(o=[r],i=Ca);const{revoke:s,proxy:a}=Proxy.revocable(o,i);return r.draft_=a,r.revoke_=s,a}var nh={get(e,t){if(t===an)return e;const n=Co(e);if(!Wp(n,t))return v7(e,n,t);const r=n[t];return e.finalized_||!kr(r)?r:r===wf(e.base_,t)?(xf(e),e.copy_[t]=Yp(r,e)):r},has(e,t){return t in Co(e)},ownKeys(e){return Reflect.ownKeys(Co(e))},set(e,t,n){const r=pC(Co(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const o=wf(Co(e),t),i=o==null?void 0:o[an];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(f7(n,o)&&(n!==void 0||Wp(e.base_,t)))return!0;xf(e),Gp(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return wf(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,xf(e),Gp(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Co(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){In(11)},getPrototypeOf(e){return Vi(e.base_)},setPrototypeOf(){In(12)}},Ca={};xa(nh,(e,t)=>{Ca[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Ca.deleteProperty=function(e,t){return Ca.set.call(this,e,t,void 0)};Ca.set=function(e,t,n){return nh.set.call(this,e[0],t,n,e[0])};function wf(e,t){const n=e[an];return(n?Co(n):e)[t]}function v7(e,t,n){var o;const r=pC(t,n);return r?"value"in r?r.value:(o=r.get)==null?void 0:o.call(e.draft_):void 0}function pC(e,t){if(!(t in e))return;let n=Vi(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Vi(n)}}function Gp(e){e.modified_||(e.modified_=!0,e.parent_&&Gp(e.parent_))}function xf(e){e.copy_||(e.copy_=Vp(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var b7=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const i=n;n=t;const s=this;return function(l=i,...c){return s.produce(l,f=>n.call(this,f,...c))}}typeof n!="function"&&In(6),r!==void 0&&typeof r!="function"&&In(7);let o;if(kr(t)){const i=zv(this),s=Yp(t,void 0);let a=!0;try{o=n(s),a=!1}finally{a?Kp(i):qp(i)}return $v(i,r),Fv(o,i)}else if(!t||typeof t!="object"){if(o=n(t),o===void 0&&(o=t),o===cC&&(o=void 0),this.autoFreeze_&&th(o,!0),r){const i=[],s=[];Ho("Patches").generateReplacementPatches_(t,o,i,s),r(i,s)}return o}else In(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,l=>t(l,...a));let r,o;return[this.produce(t,n,(s,a)=>{r=s,o=a}),r,o]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){kr(e)||In(8),so(e)&&(e=mC(e));const t=zv(this),n=Yp(e,void 0);return n[an].isManual_=!0,qp(t),n}finishDraft(e,t){const n=e&&e[an];(!n||!n.isManual_)&&In(9);const{scope_:r}=n;return $v(r,t),Fv(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const o=t[n];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}n>-1&&(t=t.slice(n+1));const r=Ho("Patches").applyPatches_;return so(e)?r(e,t):this.produce(e,o=>r(o,t))}};function Yp(e,t){const n=id(e)?Ho("MapSet").proxyMap_(e,t):sd(e)?Ho("MapSet").proxySet_(e,t):y7(e,t);return(t?t.scope_:fC()).drafts_.push(n),n}function mC(e){return so(e)||In(10,e),hC(e)}function hC(e){if(!kr(e)||ad(e))return e;const t=e[an];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Vp(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Vp(e,!0);return xa(n,(r,o)=>{dC(n,r,hC(o))}),t&&(t.finalized_=!1),n}var ln=new b7,gC=ln.produce;ln.produceWithPatches.bind(ln);ln.setAutoFreeze.bind(ln);ln.setUseStrictShallowCopy.bind(ln);ln.applyPatches.bind(ln);ln.createDraft.bind(ln);ln.finishDraft.bind(ln);function w7(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function x7(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function k7(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(r=>typeof r=="function"?`function ${r.name||"unnamed"}()`:typeof r).join(", ");throw new TypeError(`${t}[${n}]`)}}var Uv=e=>Array.isArray(e)?e:[e];function C7(e){const t=Array.isArray(e[0])?e[0]:e;return k7(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function S7(e,t){const n=[],{length:r}=e;for(let o=0;o{n=jl(),s.resetResultsCount()},s.resultsCount=()=>i,s.resetResultsCount=()=>{i=0},s}function yC(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,r=(...o)=>{let i=0,s=0,a,l={},c=o.pop();typeof c=="object"&&(l=c,c=o.pop()),w7(c,`createSelector expects an output function after the inputs, but received: [${typeof c}]`);const f={...n,...l},{memoize:d,memoizeOptions:h=[],argsMemoize:b=rh,argsMemoizeOptions:g=[],devModeChecks:v={}}=f,E=Uv(h),S=Uv(g),y=C7(o),C=d(function(){return i++,c.apply(null,arguments)},...E),T=b(function(){s++;const N=S7(y,arguments);return a=C.apply(null,N),a},...S);return Object.assign(T,{resultFunc:c,memoizedResultFunc:C,dependencies:y,dependencyRecomputations:()=>s,resetDependencyRecomputations:()=>{s=0},lastResult:()=>a,recomputations:()=>i,resetRecomputations:()=>{i=0},memoize:d,argsMemoize:b})};return Object.assign(r,{withTypes:()=>r}),r}var R7=yC(rh),N7=Object.assign((e,t=R7)=>{x7(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),r=n.map(i=>e[i]);return t(r,(...i)=>i.reduce((s,a,l)=>(s[n[l]]=a,s),{}))},{withTypes:()=>N7});function vC(e){return({dispatch:n,getState:r})=>o=>i=>typeof i=="function"?i(n,r,e):o(i)}var _7=vC(),j7=vC,O7=(...e)=>{const t=yC(...e),n=Object.assign((...r)=>{const o=t(...r),i=(s,...a)=>o(so(s)?mC(s):s,...a);return Object.assign(i,o),i},{withTypes:()=>n});return n};O7(rh);var I7=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Xc:Xc.apply(null,arguments)},A7=e=>e&&typeof e.match=="function";function fr(e,t){function n(...r){if(t){let o=t(...r);if(!o)throw new Error(Kt(0));return{type:e,payload:o.payload,..."meta"in o&&{meta:o.meta},..."error"in o&&{error:o.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>u7(r)&&r.type===e,n}var bC=class js extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,js.prototype)}static get[Symbol.species](){return js}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new js(...t[0].concat(this)):new js(...t.concat(this))}};function Wv(e){return kr(e)?gC(e,()=>{}):e}function Vv(e,t,n){if(e.has(t)){let o=e.get(t);return n.update&&(o=n.update(o,t,e),e.set(t,o)),o}if(!n.insert)throw new Error(Kt(10));const r=n.insert(t,e);return e.set(t,r),r}function L7(e){return typeof e=="boolean"}var M7=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:o=!0,actionCreatorCheck:i=!0}=t??{};let s=new bC;return n&&(L7(n)?s.push(_7):s.push(j7(n.extraArgument))),s},D7="RTK_autoBatch",wC=e=>t=>{setTimeout(t,e)},$7=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:wC(10),z7=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let o=!0,i=!1,s=!1;const a=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?$7:e.type==="callback"?e.queueNotification:wC(e.timeout),c=()=>{s=!1,i&&(i=!1,a.forEach(f=>f()))};return Object.assign({},r,{subscribe(f){const d=()=>o&&f(),h=r.subscribe(d);return a.add(f),()=>{h(),a.delete(f)}},dispatch(f){var d;try{return o=!((d=f==null?void 0:f.meta)!=null&&d[D7]),i=!o,i&&(s||(s=!0,l(c))),r.dispatch(f)}finally{o=!0}}})},F7=e=>function(n){const{autoBatch:r=!0}=n??{};let o=new bC(e);return r&&o.push(z7(typeof r=="object"?r:void 0)),o},B7=!0;function U7(e){const t=M7(),{reducer:n=void 0,middleware:r,devTools:o=!0,preloadedState:i=void 0,enhancers:s=void 0}=e||{};let a;if(typeof n=="function")a=n;else if(eh(n))a=l7(n);else throw new Error(Kt(1));let l;typeof r=="function"?l=r(t):l=t();let c=Xc;o&&(c=I7({trace:!B7,...typeof o=="object"&&o}));const f=c7(...l),d=F7(f);let h=typeof s=="function"?s(d):d();const b=c(...h);return lC(a,i,b)}function xC(e){const t={},n=[];let r;const o={addCase(i,s){const a=typeof i=="string"?i:i.type;if(!a)throw new Error(Kt(28));if(a in t)throw new Error(Kt(29));return t[a]=s,o},addMatcher(i,s){return n.push({matcher:i,reducer:s}),o},addDefaultCase(i){return r=i,o}};return e(o),[t,n,r]}function H7(e){return typeof e=="function"}function W7(e,t){let[n,r,o]=xC(t),i;if(H7(e))i=()=>Wv(e());else{const a=Wv(e);i=()=>a}function s(a=i(),l){let c=[n[l.type],...r.filter(({matcher:f})=>f(l)).map(({reducer:f})=>f)];return c.filter(f=>!!f).length===0&&(c=[o]),c.reduce((f,d)=>{if(d)if(so(f)){const b=d(f,l);return b===void 0?f:b}else{if(kr(f))return gC(f,h=>d(h,l));{const h=d(f,l);if(h===void 0){if(f===null)return f;throw new Error(Kt(9))}return h}}return f},a)}return s.getInitialState=i,s}var V7="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",kC=(e=21)=>{let t="",n=e;for(;n--;)t+=V7[Math.random()*64|0];return t},K7=(e,t)=>A7(e)?e.match(t):e(t);function q7(...e){return t=>e.some(n=>K7(n,t))}var G7=["name","message","stack","code"],kf=class{constructor(e,t){Rd(this,"_type");this.payload=e,this.meta=t}},Kv=class{constructor(e,t){Rd(this,"_type");this.payload=e,this.meta=t}},Y7=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of G7)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},Go=(()=>{function e(t,n,r){const o=fr(t+"/fulfilled",(l,c,f,d)=>({payload:l,meta:{...d||{},arg:f,requestId:c,requestStatus:"fulfilled"}})),i=fr(t+"/pending",(l,c,f)=>({payload:void 0,meta:{...f||{},arg:c,requestId:l,requestStatus:"pending"}})),s=fr(t+"/rejected",(l,c,f,d,h)=>({payload:d,error:(r&&r.serializeError||Y7)(l||"Rejected"),meta:{...h||{},arg:f,requestId:c,rejectedWithValue:!!d,requestStatus:"rejected",aborted:(l==null?void 0:l.name)==="AbortError",condition:(l==null?void 0:l.name)==="ConditionError"}}));function a(l){return(c,f,d)=>{const h=r!=null&&r.idGenerator?r.idGenerator(l):kC(),b=new AbortController;let g,v;function E(y){v=y,b.abort()}const S=async function(){var T,P;let y;try{let N=(T=r==null?void 0:r.condition)==null?void 0:T.call(r,l,{getState:f,extra:d});if(Q7(N)&&(N=await N),N===!1||b.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const _=new Promise((O,M)=>{g=()=>{M({name:"AbortError",message:v||"Aborted"})},b.signal.addEventListener("abort",g)});c(i(h,l,(P=r==null?void 0:r.getPendingMeta)==null?void 0:P.call(r,{requestId:h,arg:l},{getState:f,extra:d}))),y=await Promise.race([_,Promise.resolve(n(l,{dispatch:c,getState:f,extra:d,requestId:h,signal:b.signal,abort:E,rejectWithValue:(O,M)=>new kf(O,M),fulfillWithValue:(O,M)=>new Kv(O,M)})).then(O=>{if(O instanceof kf)throw O;return O instanceof Kv?o(O.payload,h,l,O.meta):o(O,h,l)})])}catch(N){y=N instanceof kf?s(null,h,l,N.payload,N.meta):s(N,h,l)}finally{g&&b.signal.removeEventListener("abort",g)}return r&&!r.dispatchConditionRejection&&s.match(y)&&y.meta.condition||c(y),y}();return Object.assign(S,{abort:E,requestId:h,arg:l,unwrap(){return S.then(X7)}})}}return Object.assign(a,{pending:i,rejected:s,fulfilled:o,settled:q7(s,o),typePrefix:t})}return e.withTypes=()=>e,e})();function X7(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Q7(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var J7=Symbol.for("rtk-slice-createasyncthunk");function Z7(e,t){return`${e}/${t}`}function e8({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[J7];return function(o){const{name:i,reducerPath:s=i}=o;if(!i)throw new Error(Kt(11));typeof process<"u";const a=(typeof o.reducers=="function"?o.reducers(n8()):o.reducers)||{},l=Object.keys(a),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(C,T){const P=typeof C=="string"?C:C.type;if(!P)throw new Error(Kt(12));if(P in c.sliceCaseReducersByType)throw new Error(Kt(13));return c.sliceCaseReducersByType[P]=T,f},addMatcher(C,T){return c.sliceMatchers.push({matcher:C,reducer:T}),f},exposeAction(C,T){return c.actionCreators[C]=T,f},exposeCaseReducer(C,T){return c.sliceCaseReducersByName[C]=T,f}};l.forEach(C=>{const T=a[C],P={reducerName:C,type:Z7(i,C),createNotation:typeof o.reducers=="function"};o8(T)?s8(P,T,f,t):r8(P,T,f)});function d(){const[C={},T=[],P=void 0]=typeof o.extraReducers=="function"?xC(o.extraReducers):[o.extraReducers],N={...C,...c.sliceCaseReducersByType};return W7(o.initialState,_=>{for(let O in N)_.addCase(O,N[O]);for(let O of c.sliceMatchers)_.addMatcher(O.matcher,O.reducer);for(let O of T)_.addMatcher(O.matcher,O.reducer);P&&_.addDefaultCase(P)})}const h=C=>C,b=new Map;let g;function v(C,T){return g||(g=d()),g(C,T)}function E(){return g||(g=d()),g.getInitialState()}function S(C,T=!1){function P(_){let O=_[C];return typeof O>"u"&&T&&(O=E()),O}function N(_=h){const O=Vv(b,T,{insert:()=>new WeakMap});return Vv(O,_,{insert:()=>{const M={};for(const[A,q]of Object.entries(o.selectors??{}))M[A]=t8(q,_,E,T);return M}})}return{reducerPath:C,getSelectors:N,get selectors(){return N(P)},selectSlice:P}}const y={name:i,reducer:v,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:E,...S(s),injectInto(C,{reducerPath:T,...P}={}){const N=T??s;return C.inject({reducerPath:N,reducer:v},P),{...y,...S(N,!0)}}};return y}}function t8(e,t,n,r){function o(i,...s){let a=t(i);return typeof a>"u"&&r&&(a=n()),e(a,...s)}return o.unwrapped=e,o}var CC=e8();function n8(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function r8({type:e,reducerName:t,createNotation:n},r,o){let i,s;if("reducer"in r){if(n&&!i8(r))throw new Error(Kt(17));i=r.reducer,s=r.prepare}else i=r;o.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,s?fr(e,s):fr(e))}function o8(e){return e._reducerDefinitionType==="asyncThunk"}function i8(e){return e._reducerDefinitionType==="reducerWithPrepare"}function s8({type:e,reducerName:t},n,r,o){if(!o)throw new Error(Kt(18));const{payloadCreator:i,fulfilled:s,pending:a,rejected:l,settled:c,options:f}=n,d=o(e,i,f);r.exposeAction(t,d),s&&r.addCase(d.fulfilled,s),a&&r.addCase(d.pending,a),l&&r.addCase(d.rejected,l),c&&r.addMatcher(d.settled,c),r.exposeCaseReducer(t,{fulfilled:s||Ol,pending:a||Ol,rejected:l||Ol,settled:c||Ol})}function Ol(){}var a8=(e,t)=>{if(typeof e!="function")throw new Error(Kt(32))},oh="listenerMiddleware",l8=e=>{let{type:t,actionCreator:n,matcher:r,predicate:o,effect:i}=e;if(t)o=fr(t).match;else if(n)t=n.type,o=n.match;else if(r)o=r;else if(!o)throw new Error(Kt(21));return a8(i),{predicate:o,type:t,effect:i}},c8=Object.assign(e=>{const{type:t,predicate:n,effect:r}=l8(e);return{id:kC(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(Kt(22))}}},{withTypes:()=>c8}),u8=Object.assign(fr(`${oh}/add`),{withTypes:()=>u8});fr(`${oh}/removeAll`);var d8=Object.assign(fr(`${oh}/remove`),{withTypes:()=>d8});function Kt(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}function SC(e,t){return function(){return e.apply(t,arguments)}}const{toString:f8}=Object.prototype,{getPrototypeOf:ih}=Object,ld=(e=>t=>{const n=f8.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),er=e=>(e=e.toLowerCase(),t=>ld(t)===e),cd=e=>t=>typeof t===e,{isArray:ls}=Array,Sa=cd("undefined");function p8(e){return e!==null&&!Sa(e)&&e.constructor!==null&&!Sa(e.constructor)&&xn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const EC=er("ArrayBuffer");function m8(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&EC(e.buffer),t}const h8=cd("string"),xn=cd("function"),TC=cd("number"),ud=e=>e!==null&&typeof e=="object",g8=e=>e===!0||e===!1,tc=e=>{if(ld(e)!=="object")return!1;const t=ih(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},y8=er("Date"),v8=er("File"),b8=er("Blob"),w8=er("FileList"),x8=e=>ud(e)&&xn(e.pipe),k8=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xn(e.append)&&((t=ld(e))==="formdata"||t==="object"&&xn(e.toString)&&e.toString()==="[object FormData]"))},C8=er("URLSearchParams"),S8=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qa(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),ls(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const RC=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,NC=e=>!Sa(e)&&e!==RC;function Xp(){const{caseless:e}=NC(this)&&this||{},t={},n=(r,o)=>{const i=e&&PC(t,o)||o;tc(t[i])&&tc(r)?t[i]=Xp(t[i],r):tc(r)?t[i]=Xp({},r):ls(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(qa(t,(o,i)=>{n&&xn(o)?e[i]=SC(o,n):e[i]=o},{allOwnKeys:r}),e),T8=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),P8=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},R8=(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&ih(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},N8=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},_8=e=>{if(!e)return null;if(ls(e))return e;let t=e.length;if(!TC(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},j8=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ih(Uint8Array)),O8=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},I8=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},A8=er("HTMLFormElement"),L8=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),qv=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),M8=er("RegExp"),_C=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};qa(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},D8=e=>{_C(e,(t,n)=>{if(xn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(xn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},$8=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return ls(e)?r(e):r(String(e).split(t)),n},z8=()=>{},F8=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Cf="abcdefghijklmnopqrstuvwxyz",Gv="0123456789",jC={DIGIT:Gv,ALPHA:Cf,ALPHA_DIGIT:Cf+Cf.toUpperCase()+Gv},B8=(e=16,t=jC.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function U8(e){return!!(e&&xn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const H8=e=>{const t=new Array(10),n=(r,o)=>{if(ud(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=ls(r)?[]:{};return qa(r,(s,a)=>{const l=n(s,o+1);!Sa(l)&&(i[a]=l)}),t[o]=void 0,i}}return r};return n(e,0)},W8=er("AsyncFunction"),V8=e=>e&&(ud(e)||xn(e))&&xn(e.then)&&xn(e.catch),K={isArray:ls,isArrayBuffer:EC,isBuffer:p8,isFormData:k8,isArrayBufferView:m8,isString:h8,isNumber:TC,isBoolean:g8,isObject:ud,isPlainObject:tc,isUndefined:Sa,isDate:y8,isFile:v8,isBlob:b8,isRegExp:M8,isFunction:xn,isStream:x8,isURLSearchParams:C8,isTypedArray:j8,isFileList:w8,forEach:qa,merge:Xp,extend:E8,trim:S8,stripBOM:T8,inherits:P8,toFlatObject:R8,kindOf:ld,kindOfTest:er,endsWith:N8,toArray:_8,forEachEntry:O8,matchAll:I8,isHTMLForm:A8,hasOwnProperty:qv,hasOwnProp:qv,reduceDescriptors:_C,freezeMethods:D8,toObjectSet:$8,toCamelCase:L8,noop:z8,toFiniteNumber:F8,findKey:PC,global:RC,isContextDefined:NC,ALPHABET:jC,generateString:B8,isSpecCompliantForm:U8,toJSONObject:H8,isAsyncFn:W8,isThenable:V8};function ge(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}K.inherits(ge,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const OC=ge.prototype,IC={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{IC[e]={value:e}});Object.defineProperties(ge,IC);Object.defineProperty(OC,"isAxiosError",{value:!0});ge.from=(e,t,n,r,o,i)=>{const s=Object.create(OC);return K.toFlatObject(e,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),ge.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const K8=null;function Qp(e){return K.isPlainObject(e)||K.isArray(e)}function AC(e){return K.endsWith(e,"[]")?e.slice(0,-2):e}function Yv(e,t,n){return e?e.concat(t).map(function(o,i){return o=AC(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function q8(e){return K.isArray(e)&&!e.some(Qp)}const G8=K.toFlatObject(K,{},null,function(t){return/^is[A-Z]/.test(t)});function dd(e,t,n){if(!K.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=K.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,E){return!K.isUndefined(E[v])});const r=n.metaTokens,o=n.visitor||f,i=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&K.isSpecCompliantForm(t);if(!K.isFunction(o))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(K.isDate(g))return g.toISOString();if(!l&&K.isBlob(g))throw new ge("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(g)||K.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function f(g,v,E){let S=g;if(g&&!E&&typeof g=="object"){if(K.endsWith(v,"{}"))v=r?v:v.slice(0,-2),g=JSON.stringify(g);else if(K.isArray(g)&&q8(g)||(K.isFileList(g)||K.endsWith(v,"[]"))&&(S=K.toArray(g)))return v=AC(v),S.forEach(function(C,T){!(K.isUndefined(C)||C===null)&&t.append(s===!0?Yv([v],T,i):s===null?v:v+"[]",c(C))}),!1}return Qp(g)?!0:(t.append(Yv(E,v,i),c(g)),!1)}const d=[],h=Object.assign(G8,{defaultVisitor:f,convertValue:c,isVisitable:Qp});function b(g,v){if(!K.isUndefined(g)){if(d.indexOf(g)!==-1)throw Error("Circular reference detected in "+v.join("."));d.push(g),K.forEach(g,function(S,y){(!(K.isUndefined(S)||S===null)&&o.call(t,S,K.isString(y)?y.trim():y,v,h))===!0&&b(S,v?v.concat(y):[y])}),d.pop()}}if(!K.isObject(e))throw new TypeError("data must be an object");return b(e),t}function Xv(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function sh(e,t){this._pairs=[],e&&dd(e,this,t)}const LC=sh.prototype;LC.append=function(t,n){this._pairs.push([t,n])};LC.toString=function(t){const n=t?function(r){return t.call(this,r,Xv)}:Xv;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Y8(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function MC(e,t,n){if(!t)return e;const r=n&&n.encode||Y8,o=n&&n.serialize;let i;if(o?i=o(t,n):i=K.isURLSearchParams(t)?t.toString():new sh(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Qv{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){K.forEach(this.handlers,function(r){r!==null&&t(r)})}}const DC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},X8=typeof URLSearchParams<"u"?URLSearchParams:sh,Q8=typeof FormData<"u"?FormData:null,J8=typeof Blob<"u"?Blob:null,Z8={isBrowser:!0,classes:{URLSearchParams:X8,FormData:Q8,Blob:J8},protocols:["http","https","file","blob","url","data"]},$C=typeof window<"u"&&typeof document<"u",eL=(e=>$C&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),tL=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",nL=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:$C,hasStandardBrowserEnv:eL,hasStandardBrowserWebWorkerEnv:tL},Symbol.toStringTag,{value:"Module"})),Kn={...nL,...Z8};function rL(e,t){return dd(e,new Kn.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return Kn.isNode&&K.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function oL(e){return K.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function iL(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return s=!s&&K.isArray(o)?o.length:s,l?(K.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!K.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&K.isArray(o[s])&&(o[s]=iL(o[s])),!a)}if(K.isFormData(e)&&K.isFunction(e.entries)){const n={};return K.forEachEntry(e,(r,o)=>{t(oL(r),o,n,0)}),n}return null}function sL(e,t,n){if(K.isString(e))try{return(t||JSON.parse)(e),K.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ah={transitional:DC,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=K.isObject(t);if(i&&K.isHTMLForm(t)&&(t=new FormData(t)),K.isFormData(t))return o?JSON.stringify(zC(t)):t;if(K.isArrayBuffer(t)||K.isBuffer(t)||K.isStream(t)||K.isFile(t)||K.isBlob(t))return t;if(K.isArrayBufferView(t))return t.buffer;if(K.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return rL(t,this.formSerializer).toString();if((a=K.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return dd(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),sL(t)):t}],transformResponse:[function(t){const n=this.transitional||ah.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&K.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?ge.from(a,ge.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Kn.classes.FormData,Blob:Kn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],e=>{ah.headers[e]={}});const lh=ah,aL=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),lL=e=>{const t={};let n,r,o;return e&&e.split(` +`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&aL[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Jv=Symbol("internals");function Ts(e){return e&&String(e).trim().toLowerCase()}function nc(e){return e===!1||e==null?e:K.isArray(e)?e.map(nc):String(e)}function cL(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const uL=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Sf(e,t,n,r,o){if(K.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!K.isString(t)){if(K.isString(r))return t.indexOf(r)!==-1;if(K.isRegExp(r))return r.test(t)}}function dL(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function fL(e,t){const n=K.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class fd{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(a,l,c){const f=Ts(l);if(!f)throw new Error("header name must be a non-empty string");const d=K.findKey(o,f);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=nc(a))}const s=(a,l)=>K.forEach(a,(c,f)=>i(c,f,l));return K.isPlainObject(t)||t instanceof this.constructor?s(t,n):K.isString(t)&&(t=t.trim())&&!uL(t)?s(lL(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=Ts(t),t){const r=K.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return cL(o);if(K.isFunction(n))return n.call(this,o,r);if(K.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ts(t),t){const r=K.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Sf(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=Ts(s),s){const a=K.findKey(r,s);a&&(!n||Sf(r,r[a],a,n))&&(delete r[a],o=!0)}}return K.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Sf(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return K.forEach(this,(o,i)=>{const s=K.findKey(r,i);if(s){n[s]=nc(o),delete n[i];return}const a=t?dL(i):String(i).trim();a!==i&&delete n[i],n[a]=nc(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return K.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&K.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Jv]=this[Jv]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Ts(s);r[a]||(fL(o,s),r[a]=!0)}return K.isArray(t)?t.forEach(i):i(t),this}}fd.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.reduceDescriptors(fd.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});K.freezeMethods(fd);const pr=fd;function Ef(e,t){const n=this||lh,r=t||n,o=pr.from(r.headers);let i=r.data;return K.forEach(e,function(a){i=a.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function FC(e){return!!(e&&e.__CANCEL__)}function Ga(e,t,n){ge.call(this,e??"canceled",ge.ERR_CANCELED,t,n),this.name="CanceledError"}K.inherits(Ga,ge,{__CANCEL__:!0});function pL(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ge("Request failed with status code "+n.status,[ge.ERR_BAD_REQUEST,ge.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const mL=Kn.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];K.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),K.isString(r)&&s.push("path="+r),K.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function hL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gL(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function BC(e,t){return e&&!hL(t)?gL(e,t):t}const yL=Kn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const a=K.isString(s)?o(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function vL(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function bL(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),f=r[i];s||(s=c),n[o]=l,r[o]=c;let d=i,h=0;for(;d!==o;)h+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-s{const i=o.loaded,s=o.lengthComputable?o.total:void 0,a=i-n,l=r(a),c=i<=s;n=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&c?(s-i)/l:void 0,event:o};f[t?"download":"upload"]=!0,e(f)}}const wL=typeof XMLHttpRequest<"u",xL=wL&&function(e){return new Promise(function(n,r){let o=e.data;const i=pr.from(e.headers).normalize();let{responseType:s,withXSRFToken:a}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let f;if(K.isFormData(o)){if(Kn.hasStandardBrowserEnv||Kn.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((f=i.getContentType())!==!1){const[v,...E]=f?f.split(";").map(S=>S.trim()).filter(Boolean):[];i.setContentType([v||"multipart/form-data",...E].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const v=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(v+":"+E))}const h=BC(e.baseURL,e.url);d.open(e.method.toUpperCase(),MC(h,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function b(){if(!d)return;const v=pr.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),S={data:!s||s==="text"||s==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:v,config:e,request:d};pL(function(C){n(C),c()},function(C){r(C),c()},S),d=null}if("onloadend"in d?d.onloadend=b:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(b)},d.onabort=function(){d&&(r(new ge("Request aborted",ge.ECONNABORTED,e,d)),d=null)},d.onerror=function(){r(new ge("Network Error",ge.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let E=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const S=e.transitional||DC;e.timeoutErrorMessage&&(E=e.timeoutErrorMessage),r(new ge(E,S.clarifyTimeoutError?ge.ETIMEDOUT:ge.ECONNABORTED,e,d)),d=null},Kn.hasStandardBrowserEnv&&(a&&K.isFunction(a)&&(a=a(e)),a||a!==!1&&yL(h))){const v=e.xsrfHeaderName&&e.xsrfCookieName&&mL.read(e.xsrfCookieName);v&&i.set(e.xsrfHeaderName,v)}o===void 0&&i.setContentType(null),"setRequestHeader"in d&&K.forEach(i.toJSON(),function(E,S){d.setRequestHeader(S,E)}),K.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),s&&s!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Zv(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Zv(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=v=>{d&&(r(!v||v.type?new Ga(null,e,d):v),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const g=vL(h);if(g&&Kn.protocols.indexOf(g)===-1){r(new ge("Unsupported protocol "+g+":",ge.ERR_BAD_REQUEST,e));return}d.send(o||null)})},Jp={http:K8,xhr:xL};K.forEach(Jp,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const eb=e=>`- ${e}`,kL=e=>K.isFunction(e)||e===null||e===!1,UC={getAdapter:e=>{e=K.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since : +`+i.map(eb).join(` +`):" "+eb(i[0]):"as no adapter specified";throw new ge("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Jp};function Tf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ga(null,e)}function tb(e){return Tf(e),e.headers=pr.from(e.headers),e.data=Ef.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),UC.getAdapter(e.adapter||lh.adapter)(e).then(function(r){return Tf(e),r.data=Ef.call(e,e.transformResponse,r),r.headers=pr.from(r.headers),r},function(r){return FC(r)||(Tf(e),r&&r.response&&(r.response.data=Ef.call(e,e.transformResponse,r.response),r.response.headers=pr.from(r.response.headers))),Promise.reject(r)})}const nb=e=>e instanceof pr?e.toJSON():e;function Ki(e,t){t=t||{};const n={};function r(c,f,d){return K.isPlainObject(c)&&K.isPlainObject(f)?K.merge.call({caseless:d},c,f):K.isPlainObject(f)?K.merge({},f):K.isArray(f)?f.slice():f}function o(c,f,d){if(K.isUndefined(f)){if(!K.isUndefined(c))return r(void 0,c,d)}else return r(c,f,d)}function i(c,f){if(!K.isUndefined(f))return r(void 0,f)}function s(c,f){if(K.isUndefined(f)){if(!K.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function a(c,f,d){if(d in t)return r(c,f);if(d in e)return r(void 0,c)}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,f)=>o(nb(c),nb(f),!0)};return K.forEach(Object.keys(Object.assign({},e,t)),function(f){const d=l[f]||o,h=d(e[f],t[f],f);K.isUndefined(h)&&d!==a||(n[f]=h)}),n}const HC="1.6.7",ch={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ch[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const rb={};ch.transitional=function(t,n,r){function o(i,s){return"[Axios v"+HC+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(t===!1)throw new ge(o(s," has been removed"+(n?" in "+n:"")),ge.ERR_DEPRECATED);return n&&!rb[s]&&(rb[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,a):!0}};function CL(e,t,n){if(typeof e!="object")throw new ge("options must be an object",ge.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const a=e[i],l=a===void 0||s(a,i,e);if(l!==!0)throw new ge("option "+i+" must be "+l,ge.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ge("Unknown option "+i,ge.ERR_BAD_OPTION)}}const Zp={assertOptions:CL,validators:ch},Ar=Zp.validators;class Zc{constructor(t){this.defaults=t,this.interceptors={request:new Qv,response:new Qv}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+i):r.stack=i}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ki(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Zp.assertOptions(r,{silentJSONParsing:Ar.transitional(Ar.boolean),forcedJSONParsing:Ar.transitional(Ar.boolean),clarifyTimeoutError:Ar.transitional(Ar.boolean)},!1),o!=null&&(K.isFunction(o)?n.paramsSerializer={serialize:o}:Zp.assertOptions(o,{encode:Ar.function,serialize:Ar.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&K.merge(i.common,i[n.method]);i&&K.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=pr.concat(s,i);const a=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,a.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let f,d=0,h;if(!l){const g=[tb.bind(this),void 0];for(g.unshift.apply(g,a),g.push.apply(g,c),h=g.length,f=Promise.resolve(n);d{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,a){r.reason||(r.reason=new Ga(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new uh(function(o){t=o}),cancel:t}}}const SL=uh;function EL(e){return function(n){return e.apply(null,n)}}function TL(e){return K.isObject(e)&&e.isAxiosError===!0}const e0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(e0).forEach(([e,t])=>{e0[t]=e});const PL=e0;function WC(e){const t=new rc(e),n=SC(rc.prototype.request,t);return K.extend(n,rc.prototype,t,{allOwnKeys:!0}),K.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return WC(Ki(e,o))},n}const Qe=WC(lh);Qe.Axios=rc;Qe.CanceledError=Ga;Qe.CancelToken=SL;Qe.isCancel=FC;Qe.VERSION=HC;Qe.toFormData=dd;Qe.AxiosError=ge;Qe.Cancel=Qe.CanceledError;Qe.all=function(t){return Promise.all(t)};Qe.spread=EL;Qe.isAxiosError=TL;Qe.mergeConfig=Ki;Qe.AxiosHeaders=pr;Qe.formToJSON=e=>zC(K.isHTMLForm(e)?new FormData(e):e);Qe.getAdapter=UC.getAdapter;Qe.HttpStatusCode=PL;Qe.default=Qe;const RL="http://localhost:5000/api",st=Qe.create({baseURL:RL,withCredentials:!0,headers:{"Content-Type":"application/json"}}),Ea=e=>typeof e=="number"&&!isNaN(e),Ao=e=>typeof e=="string",tn=e=>typeof e=="function",oc=e=>Ao(e)||tn(e)?e:null,t0=e=>x.isValidElement(e)||Ao(e)||tn(e)||Ea(e);function NL(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${n}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)})})}function pd(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:o=!0,collapseDuration:i=300}=e;return function(s){let{children:a,position:l,preventExitTransition:c,done:f,nodeRef:d,isIn:h,playToast:b}=s;const g=r?`${t}--${l}`:t,v=r?`${n}--${l}`:n,E=x.useRef(0);return x.useLayoutEffect(()=>{const S=d.current,y=g.split(" "),C=T=>{T.target===d.current&&(b(),S.removeEventListener("animationend",C),S.removeEventListener("animationcancel",C),E.current===0&&T.type!=="animationcancel"&&S.classList.remove(...y))};S.classList.add(...y),S.addEventListener("animationend",C),S.addEventListener("animationcancel",C)},[]),x.useEffect(()=>{const S=d.current,y=()=>{S.removeEventListener("animationend",y),o?NL(S,f,i):f()};h||(c?y():(E.current=1,S.className+=` ${v}`,S.addEventListener("animationend",y)))},[h]),ae.createElement(ae.Fragment,null,a)}}function ob(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const It=new Map;let Ta=[];const n0=new Set,_L=e=>n0.forEach(t=>t(e)),VC=()=>It.size>0;function KC(e,t){var n;if(t)return!((n=It.get(t))==null||!n.isToastActive(e));let r=!1;return It.forEach(o=>{o.isToastActive(e)&&(r=!0)}),r}function qC(e,t){t0(e)&&(VC()||Ta.push({content:e,options:t}),It.forEach(n=>{n.buildToast(e,t)}))}function ib(e,t){It.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(e,t==null?void 0:t.id):n.toggle(e,t==null?void 0:t.id)})}function jL(e){const{subscribe:t,getSnapshot:n,setProps:r}=x.useRef(function(i){const s=i.containerId||1;return{subscribe(a){const l=function(f,d,h){let b=1,g=0,v=[],E=[],S=[],y=d;const C=new Map,T=new Set,P=()=>{S=Array.from(C.values()),T.forEach(O=>O())},N=O=>{E=O==null?[]:E.filter(M=>M!==O),P()},_=O=>{const{toastId:M,onOpen:A,updateId:q,children:z}=O.props,H=q==null;O.staleId&&C.delete(O.staleId),C.set(M,O),E=[...E,O.props.toastId].filter(L=>L!==O.staleId),P(),h(ob(O,H?"added":"updated")),H&&tn(A)&&A(x.isValidElement(z)&&z.props)};return{id:f,props:y,observe:O=>(T.add(O),()=>T.delete(O)),toggle:(O,M)=>{C.forEach(A=>{M!=null&&M!==A.props.toastId||tn(A.toggle)&&A.toggle(O)})},removeToast:N,toasts:C,clearQueue:()=>{g-=v.length,v=[]},buildToast:(O,M)=>{if((X=>{let{containerId:te,toastId:ne,updateId:I}=X;const ie=te?te!==f:f!==1,ue=C.has(ne)&&I==null;return ie||ue})(M))return;const{toastId:A,updateId:q,data:z,staleId:H,delay:L}=M,D=()=>{N(A)},U=q==null;U&&g++;const B={...y,style:y.toastStyle,key:b++,...Object.fromEntries(Object.entries(M).filter(X=>{let[te,ne]=X;return ne!=null})),toastId:A,updateId:q,data:z,closeToast:D,isIn:!1,className:oc(M.className||y.toastClassName),bodyClassName:oc(M.bodyClassName||y.bodyClassName),progressClassName:oc(M.progressClassName||y.progressClassName),autoClose:!M.isLoading&&(j=M.autoClose,W=y.autoClose,j===!1||Ea(j)&&j>0?j:W),deleteToast(){const X=C.get(A),{onClose:te,children:ne}=X.props;tn(te)&&te(x.isValidElement(ne)&&ne.props),h(ob(X,"removed")),C.delete(A),g--,g<0&&(g=0),v.length>0?_(v.shift()):P()}};var j,W;B.closeButton=y.closeButton,M.closeButton===!1||t0(M.closeButton)?B.closeButton=M.closeButton:M.closeButton===!0&&(B.closeButton=!t0(y.closeButton)||y.closeButton);let $=O;x.isValidElement(O)&&!Ao(O.type)?$=x.cloneElement(O,{closeToast:D,toastProps:B,data:z}):tn(O)&&($=O({closeToast:D,toastProps:B,data:z}));const Y={content:$,props:B,staleId:H};y.limit&&y.limit>0&&g>y.limit&&U?v.push(Y):Ea(L)?setTimeout(()=>{_(Y)},L):_(Y)},setProps(O){y=O},setToggle:(O,M)=>{C.get(O).toggle=M},isToastActive:O=>E.some(M=>M===O),getSnapshot:()=>y.newestOnTop?S.reverse():S}}(s,i,_L);It.set(s,l);const c=l.observe(a);return Ta.forEach(f=>qC(f.content,f.options)),Ta=[],()=>{c(),It.delete(s)}},setProps(a){var l;(l=It.get(s))==null||l.setProps(a)},getSnapshot(){var a;return(a=It.get(s))==null?void 0:a.getSnapshot()}}}(e)).current;r(e);const o=x.useSyncExternalStore(t,n,n);return{getToastToRender:function(i){if(!o)return[];const s=new Map;return o.forEach(a=>{const{position:l}=a.props;s.has(l)||s.set(l,[]),s.get(l).push(a)}),Array.from(s,a=>i(a[0],a[1]))},isToastActive:KC,count:o==null?void 0:o.length}}function OL(e){const[t,n]=x.useState(!1),[r,o]=x.useState(!1),i=x.useRef(null),s=x.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:a,pauseOnHover:l,closeToast:c,onClick:f,closeOnClick:d}=e;var h,b;function g(){n(!0)}function v(){n(!1)}function E(C){const T=i.current;s.canDrag&&T&&(s.didMove=!0,t&&v(),s.delta=e.draggableDirection==="x"?C.clientX-s.start:C.clientY-s.start,s.start!==C.clientX&&(s.canCloseOnClick=!1),T.style.transform=`translate3d(${e.draggableDirection==="x"?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`},0)`,T.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function S(){document.removeEventListener("pointermove",E),document.removeEventListener("pointerup",S);const C=i.current;if(s.canDrag&&s.didMove&&C){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return o(!0),e.closeToast(),void e.collapseAll();C.style.transition="transform 0.2s, opacity 0.2s",C.style.removeProperty("transform"),C.style.removeProperty("opacity")}}(b=It.get((h={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||b.setToggle(h.id,h.fn),x.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||v(),window.addEventListener("focus",g),window.addEventListener("blur",v),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",v)}},[e.pauseOnFocusLoss]);const y={onPointerDown:function(C){if(e.draggable===!0||e.draggable===C.pointerType){s.didMove=!1,document.addEventListener("pointermove",E),document.addEventListener("pointerup",S);const T=i.current;s.canCloseOnClick=!0,s.canDrag=!0,T.style.transition="none",e.draggableDirection==="x"?(s.start=C.clientX,s.removalDistance=T.offsetWidth*(e.draggablePercent/100)):(s.start=C.clientY,s.removalDistance=T.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(C){const{top:T,bottom:P,left:N,right:_}=i.current.getBoundingClientRect();C.nativeEvent.type!=="touchend"&&e.pauseOnHover&&C.clientX>=N&&C.clientX<=_&&C.clientY>=T&&C.clientY<=P?v():g()}};return a&&l&&(y.onMouseEnter=v,e.stacked||(y.onMouseLeave=g)),d&&(y.onClick=C=>{f&&f(C),s.canCloseOnClick&&c()}),{playToast:g,pauseToast:v,isRunning:t,preventExitTransition:r,toastRef:i,eventHandlers:y}}function IL(e){let{delay:t,isRunning:n,closeToast:r,type:o="default",hide:i,className:s,style:a,controlledProgress:l,progress:c,rtl:f,isIn:d,theme:h}=e;const b=i||l&&c===0,g={...a,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};l&&(g.transform=`scaleX(${c})`);const v=ct("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${h}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":f}),E=tn(s)?s({rtl:f,type:o,defaultClassName:v}):ct(v,s),S={[l&&c>=1?"onTransitionEnd":"onAnimationEnd"]:l&&c<1?null:()=>{d&&r()}};return ae.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":b},ae.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${h} Toastify__progress-bar--${o}`}),ae.createElement("div",{role:"progressbar","aria-hidden":b?"true":"false","aria-label":"notification timer",className:E,style:g,...S}))}let AL=1;const GC=()=>""+AL++;function LL(e){return e&&(Ao(e.toastId)||Ea(e.toastId))?e.toastId:GC()}function Vs(e,t){return qC(e,t),t.toastId}function eu(e,t){return{...t,type:t&&t.type||e,toastId:LL(t)}}function Il(e){return(t,n)=>Vs(t,eu(e,n))}function se(e,t){return Vs(e,eu("default",t))}se.loading=(e,t)=>Vs(e,eu("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),se.promise=function(e,t,n){let r,{pending:o,error:i,success:s}=t;o&&(r=Ao(o)?se.loading(o,n):se.loading(o.render,{...n,...o}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=(f,d,h)=>{if(d==null)return void se.dismiss(r);const b={type:f,...a,...n,data:h},g=Ao(d)?{render:d}:d;return r?se.update(r,{...b,...g}):se(g.render,{...b,...g}),h},c=tn(e)?e():e;return c.then(f=>l("success",s,f)).catch(f=>l("error",i,f)),c},se.success=Il("success"),se.info=Il("info"),se.error=Il("error"),se.warning=Il("warning"),se.warn=se.warning,se.dark=(e,t)=>Vs(e,eu("default",{theme:"dark",...t})),se.dismiss=function(e){(function(t){var n;if(VC()){if(t==null||Ao(n=t)||Ea(n))It.forEach(o=>{o.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){var r;(r=It.get(t.containerId))!=null&&r.removeToast(t.id)||It.forEach(o=>{o.removeToast(t.id)})}}else Ta=Ta.filter(o=>t!=null&&o.options.toastId!==t)})(e)},se.clearWaitingQueue=function(e){e===void 0&&(e={}),It.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},se.isActive=KC,se.update=function(e,t){t===void 0&&(t={});const n=((r,o)=>{var i;let{containerId:s}=o;return(i=It.get(s||1))==null?void 0:i.toasts.get(r)})(e,t);if(n){const{props:r,content:o}=n,i={delay:100,...r,...t,toastId:t.toastId||e,updateId:GC()};i.toastId!==e&&(i.staleId=e);const s=i.render||o;delete i.render,Vs(s,i)}},se.done=e=>{se.update(e,{progress:1})},se.onChange=function(e){return n0.add(e),()=>{n0.delete(e)}},se.play=e=>ib(!0,e),se.pause=e=>ib(!1,e);const ML=typeof window<"u"?x.useLayoutEffect:x.useEffect,Al=e=>{let{theme:t,type:n,isLoading:r,...o}=e;return ae.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...o})},Pf={info:function(e){return ae.createElement(Al,{...e},ae.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return ae.createElement(Al,{...e},ae.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return ae.createElement(Al,{...e},ae.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return ae.createElement(Al,{...e},ae.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return ae.createElement("div",{className:"Toastify__spinner"})}},DL=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:o,playToast:i}=OL(e),{closeButton:s,children:a,autoClose:l,onClick:c,type:f,hideProgressBar:d,closeToast:h,transition:b,position:g,className:v,style:E,bodyClassName:S,bodyStyle:y,progressClassName:C,progressStyle:T,updateId:P,role:N,progress:_,rtl:O,toastId:M,deleteToast:A,isIn:q,isLoading:z,closeOnClick:H,theme:L}=e,D=ct("Toastify__toast",`Toastify__toast-theme--${L}`,`Toastify__toast--${f}`,{"Toastify__toast--rtl":O},{"Toastify__toast--close-on-click":H}),U=tn(v)?v({rtl:O,position:g,type:f,defaultClassName:D}):ct(D,v),B=function(Y){let{theme:X,type:te,isLoading:ne,icon:I}=Y,ie=null;const ue={theme:X,type:te};return I===!1||(tn(I)?ie=I({...ue,isLoading:ne}):x.isValidElement(I)?ie=x.cloneElement(I,ue):ne?ie=Pf.spinner():(fe=>fe in Pf)(te)&&(ie=Pf[te](ue))),ie}(e),j=!!_||!l,W={closeToast:h,type:f,theme:L};let $=null;return s===!1||($=tn(s)?s(W):x.isValidElement(s)?x.cloneElement(s,W):function(Y){let{closeToast:X,theme:te,ariaLabel:ne="close"}=Y;return ae.createElement("button",{className:`Toastify__close-button Toastify__close-button--${te}`,type:"button",onClick:I=>{I.stopPropagation(),X(I)},"aria-label":ne},ae.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},ae.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(W)),ae.createElement(b,{isIn:q,done:A,position:g,preventExitTransition:n,nodeRef:r,playToast:i},ae.createElement("div",{id:M,onClick:c,"data-in":q,className:U,...o,style:E,ref:r},ae.createElement("div",{...q&&{role:N},className:tn(S)?S({type:f}):ct("Toastify__toast-body",S),style:y},B!=null&&ae.createElement("div",{className:ct("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!z})},B),ae.createElement("div",null,a)),$,ae.createElement(IL,{...P&&!j?{key:`pb-${P}`}:{},rtl:O,theme:L,delay:l,isRunning:t,isIn:q,closeToast:h,hide:d,type:f,style:T,className:C,controlledProgress:j,progress:_||0})))},md=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},$L=pd(md("bounce",!0));pd(md("slide",!0));pd(md("zoom"));pd(md("flip"));const zL={position:"top-right",transition:$L,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function FL(e){let t={...zL,...e};const n=e.stacked,[r,o]=x.useState(!0),i=x.useRef(null),{getToastToRender:s,isToastActive:a,count:l}=jL(t),{className:c,style:f,rtl:d,containerId:h}=t;function b(v){const E=ct("Toastify__toast-container",`Toastify__toast-container--${v}`,{"Toastify__toast-container--rtl":d});return tn(c)?c({position:v,rtl:d,defaultClassName:E}):ct(E,oc(c))}function g(){n&&(o(!0),se.play())}return ML(()=>{if(n){var v;const E=i.current.querySelectorAll('[data-in="true"]'),S=12,y=(v=t.position)==null?void 0:v.includes("top");let C=0,T=0;Array.from(E).reverse().forEach((P,N)=>{const _=P;_.classList.add("Toastify__toast--stacked"),N>0&&(_.dataset.collapsed=`${r}`),_.dataset.pos||(_.dataset.pos=y?"top":"bot");const O=C*(r?.2:1)+(r?0:S*N);_.style.setProperty("--y",`${y?O:-1*O}px`),_.style.setProperty("--g",`${S}`),_.style.setProperty("--s",""+(1-(r?T:0))),C+=_.offsetHeight,T+=.025})}},[r,l,n]),ae.createElement("div",{ref:i,className:"Toastify",id:h,onMouseEnter:()=>{n&&(o(!1),se.pause())},onMouseLeave:g},s((v,E)=>{const S=E.length?{...f}:{...f,pointerEvents:"none"};return ae.createElement("div",{className:b(v),style:S,key:`container-${v}`},E.map(y=>{let{content:C,props:T}=y;return ae.createElement(DL,{...T,stacked:n,collapseAll:g,isIn:a(T.toastId,T.containerId),style:T.style,key:`toast-${T.key}`},C)}))}))}const BL=async e=>{try{return await st.get(`/community/discussions/recent?page=${e}`)}catch(t){return t}},YC=async function(e){try{return await st.get(`/community/get-details/${e}`)}catch(t){return t}},UL=async function(e){try{return await st.put(`/community/discussions/like/${e}`)}catch(t){return t}},HL=async function(e){try{return await st.put(`/community/discussions/dislike/${e}`)}catch(t){return t}},WL=async e=>{try{return await st.get(`/community/discussions/comment/${e}`)}catch(t){return t}},ic=Go("community/newCommunity",async(e,t)=>{try{const{data:n}=await st.post("/community",e);return n}catch(n){const r={status:n.response.data.status,message:n.response.data.message};return t.rejectWithValue(r)}}),Ks=Go("community/getMyCommunity",async(e,t)=>{try{const{data:n}=await st.get("/community/my-communities");return n}catch(n){const r={status:n.response.data.status,message:n.response.data.message};return t.rejectWithValue(r)}}),sc=Go("community/getAllCommunity",async(e,t)=>{try{const{data:n}=await st.get("/community/get-suggestions");return n}catch(n){const r={status:n.response.data.status,message:n.response.data.message};return t.rejectWithValue(r)}}),ac=Go("community/joinCommunity",async(e,t)=>{try{const{data:n}=await st.post("/community/join",{community_id:e});return n}catch(n){const r={status:n.response.data.status,message:n.response.data.message};return t.rejectWithValue(r)}}),lc=Go("community/acceptJoinRequest",async(e,t)=>{try{const{data:n}=await st.post("/community/accept-join",e);return n}catch(n){const r={status:n.response.data.status,message:n.response.data.message};return t.rejectWithValue(r)}}),VL=async(e,t)=>{try{return(await st.get(`/community/discussions/${e}?page=${t}`)).data}catch{se.error("error while fetching discussion")}},KL=async e=>{var t;try{return(await st.post("/community/discussions",e)).data}catch(n){se.error((t=n.response)==null?void 0:t.data.message)}};function XC({showModal:e,setShowModal:t}){const n=Ko(),[r,o]=x.useState(""),[i,s]=x.useState({community_name:"",privacy:"public",about:""});function a(c){const{name:f,value:d}=c.target;s({...i,[f]:d})}async function l(){i.community_name?(o(""),n(ic(i))):i.community_name||o("Please select a name")}return m.jsx(m.Fragment,{children:m.jsxs(Ii,{show:e,size:"2xl",onClose:()=>{o(""),t(!1)},popup:!0,children:[m.jsx(Ii.Header,{children:m.jsx("div",{className:"p-4",children:"New Community"})}),m.jsxs(Ii.Body,{children:[r&&m.jsx("small",{className:"text-sm text-red-600",children:r}),m.jsxs("div",{className:"input-group flex flex-col",children:[m.jsx("label",{htmlFor:"",className:"font-medium",children:"Community Name"}),m.jsx("input",{type:"text",name:"community_name",id:"",className:"rounded-md",onChange:a})]}),m.jsx("div",{className:"flex gap-3 w-full justify-between",children:m.jsxs("div",{className:"input-group flex flex-col mt-5 mb-5 w-full",children:[m.jsx("label",{htmlFor:"",className:"font-medium",children:"Privacy"}),m.jsxs("select",{name:"privacy",id:"",className:"rounded-md",onChange:a,children:[m.jsx("option",{value:"public",children:"Public"}),m.jsx("option",{value:"private",children:"Private"})]})]})}),m.jsxs("div",{className:"input-group flex flex-col mt-5",children:[m.jsx("label",{htmlFor:"",className:"font-medium",children:"About"}),m.jsx("textarea",{name:"about",id:"",className:"rounded-md"})]}),m.jsxs("div",{className:"btn py-5",children:[m.jsx("button",{className:"btn px-5 py-1 bg-red-700 hover:bg-red-500 rounded-md text-white",onClick:()=>{s({community_name:"",topic:null,privacy:"public",about:""})},children:"Clear"}),m.jsx("button",{className:"btn px-5 py-1 bg-primary hover:bg-primary-hover ms-3 rounded-md text-white",onClick:l,children:"Create"})]})]})]})})}XC.propTypes={showModal:ft.bool.isRequired,setShowModal:ft.func.isRequired};function B9(e){return et({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"56",r:"56"}},{tag:"path",attr:{d:"M437 128H75a27 27 0 000 54h101.88c6.91 0 15 3.09 19.58 15 5.35 13.83 2.73 40.54-.57 61.23l-4.32 24.45a.42.42 0 01-.12.35l-34.6 196.81A27.43 27.43 0 00179 511.58a27.06 27.06 0 0031.42-22.29l23.91-136.8S242 320 256 320c14.23 0 21.74 32.49 21.74 32.49l23.91 136.92a27.24 27.24 0 1053.62-9.6L320.66 283a.45.45 0 00-.11-.35l-4.33-24.45c-3.3-20.69-5.92-47.4-.57-61.23 4.56-11.88 12.91-15 19.28-15H437a27 27 0 000-54z"}}]})(e)}function QC(e){return et({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M476.59 227.05l-.16-.07L49.35 49.84A23.56 23.56 0 0027.14 52 24.65 24.65 0 0016 72.59v113.29a24 24 0 0019.52 23.57l232.93 43.07a4 4 0 010 7.86L35.53 303.45A24 24 0 0016 327v113.31A23.57 23.57 0 0026.59 460a23.94 23.94 0 0013.22 4 24.55 24.55 0 009.52-1.93L476.4 285.94l.19-.09a32 32 0 000-58.8z"}}]})(e)}function qL(e){return et({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M349.6 64c-36.4 0-70.7 16.7-93.6 43.9C233.1 80.7 198.8 64 162.4 64 97.9 64 48 114.2 48 179.1c0 79.5 70.7 143.3 177.8 241.7L256 448l30.2-27.2C393.3 322.4 464 258.6 464 179.1 464 114.2 414.1 64 349.6 64zm-80.8 329.3l-4.2 3.9-8.6 7.8-8.6-7.8-4.2-3.9c-50.4-46.3-94-86.3-122.7-122-28-34.7-40.4-63.1-40.4-92.2 0-22.9 8.4-43.9 23.7-59.3 15.2-15.4 36-23.8 58.6-23.8 26.1 0 52 12.2 69.1 32.5l24.5 29.1 24.5-29.1c17.1-20.4 43-32.5 69.1-32.5 22.6 0 43.4 8.4 58.7 23.8 15.3 15.4 23.7 36.5 23.7 59.3 0 29-12.5 57.5-40.4 92.2-28.8 35.7-72.3 75.7-122.8 122z"}}]})(e)}function GL(e){return et({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"}}]})(e)}function YL(e){return et({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,96a32,32,0,1,0,32,32A32,32,0,0,0,128,96Zm0,40a8,8,0,1,1,8-8A8,8,0,0,1,128,136Zm0-56A32,32,0,1,0,96,48,32,32,0,0,0,128,80Zm0-40a8,8,0,1,1-8,8A8,8,0,0,1,128,40Zm0,136a32,32,0,1,0,32,32A32,32,0,0,0,128,176Zm0,40a8,8,0,1,1,8-8A8,8,0,0,1,128,216Z"}}]})(e)}function JC({comment:e,discussion_id:t}){var g,v;const[n,r]=x.useState([]),[o,i]=x.useState(!1),[s,a]=x.useState(""),[l,c]=x.useState(!1),[f,d]=x.useState(!1);x.useEffect(()=>{o&&(async()=>{try{const E=await st.get(`/community/discussions/comment/reply/${e._id}`);console.log(E),E.data&&r(E.data.comment)}catch{se.error("error while fetching comments")}})()},[o,e]);function h(){i(!0),d(!0)}x.useEffect(()=>{f&&o&&(se("reply"),b())},[o,f,n]);async function b(){d(!1);try{if(s){console.log(t);const E=await st.post("/community/discussions/comment",{content:s,discussion_id:t,reply:e._id});E.data&&(a(""),c(!1),r([...n,E.data.comment]))}}catch(E){console.log(E),se.error("error while fetching comments")}}return m.jsxs("section",{className:"comment mt-5 pb-5 bg-gray-800",children:[m.jsxs("div",{className:"header flex gap-3 px-5 py-2 rounded-md",children:[m.jsx("div",{className:"profile-img-icon",children:e!=null&&e.user_details.profile_img?m.jsx("img",{src:(g=e==null?void 0:e.user_details)==null?void 0:g.profile_img,alt:"",style:{},className:"w-12 rounded-lg"}):m.jsx("div",{className:"profile-icon bg-gray-700 w-10 h-10 pe-1 flex justify-center items-center rounded-full",children:m.jsx("span",{children:(v=e==null?void 0:e.user_details)==null?void 0:v.email[0].toUpperCase()})})}),m.jsx("div",{className:"name",children:m.jsx("h1",{children:e.user_details.username})})]}),m.jsx("div",{className:"content p-5 bg-gray-800",children:m.jsx("span",{className:"font-light",children:e.content})}),l&&m.jsxs("div",{className:"add-comment flex items-center h-min my-3 px-2",children:[m.jsx("input",{type:"text",className:"rounded-md add-comment-inp mr-2 bg-gray-800 w-1/2",name:"comment",placeholder:"Add your comment",onChange:E=>a(E.target.value)}),m.jsx("div",{className:"cursor-pointer",onClick:h,children:m.jsx(QC,{})})]}),m.jsx("button",{onClick:()=>i(!o),className:"px-3 text-sm",children:o?"hide replies":"View replies"}),m.jsx("button",{className:"px-3 text-sm",onClick:()=>c(!l),children:"Reply"}),o&&m.jsx("div",{className:"replys m-5 ",children:n&&n.map((E,S)=>{var y,C;return m.jsxs("div",{className:"reply bg-gray-900 rounded-md mb-3",children:[m.jsxs("div",{className:"header flex gap-3 px-5 py-2",children:[m.jsx("div",{className:"profile-img-icon",children:E!=null&&E.user_details.profile_img?m.jsx("img",{src:(y=E==null?void 0:E.user_details)==null?void 0:y.profile_img,alt:"",style:{},className:"w-9 rounded-lg"}):m.jsx("div",{className:"profile-icon bg-gray-700 w-10 h-10 pe-1 flex justify-center items-center rounded-full",children:m.jsx("span",{children:(C=E==null?void 0:E.user_details)==null?void 0:C.email[0].toUpperCase()})})}),m.jsx("div",{className:"name",children:m.jsx("h1",{children:E.user_details.username})})]}),m.jsx("div",{className:"content p-5 font-light",children:E.content})]},S)})})]})}JC.propTypes={comment:ft.array,discussion_id:ft.string};function dh({discussion:e,type:t,setDiscussion:n}){var y;const[r,o]=x.useState(null),[i,s]=x.useState(!1),{user:a}=vr(C=>C.auth),[l,c]=x.useState("hidden"),[f,d]=x.useState([]),[h,b]=x.useState("");x.useEffect(()=>{e&&(async()=>{try{const C=await YC(e==null?void 0:e.community_id);C.data.community&&o(C.data.community)}catch{se.error("internal server error")}})()},[e]);const g=()=>{se("delete")},v=async()=>{const C=await st.post("/community/discussions/comment",{content:h,discussion_id:e._id});C.data.success&&d([C.data.comment,...f])},E=async C=>{const T=await UL(C);T.data.success?n(P=>P.map(N=>(N._id===C&&(N.likes=T.data.likedDiscussion.likes),N))):se.error("internal server error")},S=async C=>{const T=await HL(C);T.data.success?n(P=>P.map(N=>(N._id===C&&(N.likes=T.data.dislikedDiscussion.likes),N))):se.error("internal server error")};return x.useEffect(()=>{(async()=>{const C=await WL(e._id);C.data.comment?d(C.data.comment):se.error("internal server error")})()},[e]),m.jsxs("section",{className:"mb-5 bg-gray-900 w-full rounded-md p-2",children:[m.jsxs("header",{className:"header flex justify-between relative mb-5",children:[t==="RECENT"?m.jsxs("div",{className:"profile-img flex gap-3 items-start cursor-pointer",children:[r!=null&&r.icon?m.jsx("img",{src:r.icon,alt:"",className:"w-10 h-10 rounded-md"}):(r==null?void 0:r.community_name)&&m.jsx("div",{className:"profile-icon bg-gray-700 w-10 h-10 pe-1 flex justify-center items-center rounded-full",children:m.jsx("span",{className:"text-2xl font-bold",children:r.community_name[0].toUpperCase()})}),m.jsxs("div",{className:"user-name",style:{lineHeight:".5"},children:[m.jsx("h1",{className:"text-lg",children:r==null?void 0:r.community_name}),m.jsxs("span",{className:"",style:{fontSize:"10px"},children:["Posted by @",e.userProfile.username]})]})]}):m.jsxs("div",{className:"profile-img flex gap-3",children:[e.userProfile.profile_img?m.jsx("img",{src:(y=e.userProfile)==null?void 0:y.profile_img,alt:"",className:"w-10 h-10 rounded-md"}):m.jsx("div",{className:"profile-icon",children:m.jsx("span",{children:e.userProfile.email[0].toUpperCase()})}),m.jsx("div",{className:"user-name",children:m.jsx("h1",{className:"text-lg",children:e.userProfile.username})})]}),m.jsx("div",{className:"btn cursor-pointer",onClick:()=>s(!i),children:m.jsx("button",{className:"text-2xl",children:m.jsx(YL,{})})}),i&&m.jsx("div",{className:"absolute right-0 top-8",children:m.jsx(_l,{className:"w-48",children:e.user_id===(a==null?void 0:a._id)?m.jsx(_l.Item,{onClick:g,children:"Delete"}):m.jsx(_l.Item,{children:"Report"})})})]}),m.jsx("div",{className:"content py-5",children:e.content_type==="TEXT"?m.jsx("p",{children:e.content}):m.jsxs(m.Fragment,{children:[m.jsx("p",{className:"my-3 text-slate-200",children:e.caption}),m.jsx("img",{src:e.content,alt:""})]})}),m.jsxs("div",{className:"footer flex items-center gap-4 mt-3",children:[m.jsxs("div",{className:"like-section flex items-center gap-3 text-sm",children:[e.likes.includes(a==null?void 0:a._id)?m.jsx("div",{className:"dislike-button text-accent text-2xl",onClick:()=>S(e._id),children:m.jsx(GL,{})}):m.jsx("div",{className:"like-button text-2xl",onClick:()=>E(e._id),children:m.jsx(qL,{})}),e.likes.length," likes"]}),m.jsxs("div",{className:"comment text-xl text-accent flex items-center gap-4 cursor-pointer",children:[m.jsx(WA,{}),m.jsxs("div",{className:"text-sm text-white",onClick:()=>{c(l==="hidden"?"block":"hidden")},children:[e.comments," comments"]})]})]}),m.jsxs("div",{className:`comments-container ${l} py-5`,children:[m.jsx("h2",{className:"font-bold text-xl",children:"comments"}),m.jsxs("div",{className:"add-comment flex items-center h-min my-3 px-2",children:[m.jsx("input",{type:"text",className:"rounded-md add-comment-inp mr-2 bg-gray-800 w-full",name:"comment",placeholder:"Add your comment",onChange:C=>b(C.target.value)}),m.jsx("div",{className:"cursor-pointer",onClick:v,children:m.jsx(QC,{})})]}),f.map((C,T)=>m.jsx(JC,{comment:C,discussion_id:e._id},T))]})]})}dh.propTypes={discussion:ft.object,type:ft.string,setDiscussion:ft.func};function XL(){const[e,t]=x.useState([]),n=x.useRef(1);return x.useEffect(()=>{(async()=>{try{const r=await BL(n.current);r.data.success&&(t(r.data.discussions),n.current=n.current+1)}catch{se.error("Internal server error")}})()},[]),m.jsx("div",{className:"recent-discussions sm:ms-96 min-h-screen bg-gray-700 text-text p-5",children:e.map((r,o)=>m.jsx(dh,{discussion:r,setDiscussion:t,type:"RECENT"},o))})}function fh({community:e,type:t}){var c;const n=Ji(),r=Ko(),{user:o}=vr(f=>f.auth),[i,s]=x.useState([]),[a,l]=x.useState([]);return x.useEffect(()=>{var f,d;s((f=e.members)==null?void 0:f.filter(h=>h.status==="active").map(h=>h.user_id)),l((d=e.members)==null?void 0:d.filter(h=>h.status==="pending").map(h=>h.user_id))},[e.members]),m.jsxs("div",{className:"community-card rounded-md w-72 h-min bg-gray-900 shadow-lg",children:[m.jsx("div",{className:"icon w-full h-min",children:e.icon?m.jsx("img",{src:e.icon,alt:"",className:"w-full h-28 object-cover"}):m.jsx("div",{className:"icon-with-text h-full flex items-center justify-center bg-gray-500",children:m.jsx("h1",{className:"text-6xl w-full h-28 rounded-full text-center flex justify-center items-center",children:typeof(e==null?void 0:e.community_name)=="string"&&((c=e.community_name[0])==null?void 0:c.toUpperCase())})})}),m.jsxs("div",{className:"body bg-gray-900 py-3 px-2 h-44 flex flex-col justify-between",children:[m.jsx("h1",{className:"title text-wrap text-lg font-medium text-center",children:e.community_name}),m.jsx("div",{className:"stat",children:m.jsxs("h1",{className:"text-center",children:[i==null?void 0:i.length," Members"]})}),t==="my_community"||i.includes(o==null?void 0:o._id)?m.jsx("button",{className:"view-community w-full py-2 rounded-md bg-accent hover:bg-primary",onClick:()=>n(`/community/view/${e._id}`),children:"View"}):a.includes(o==null?void 0:o._id)?m.jsx("button",{className:"view-community w-full py-2 rounded-md bg-primary",children:"Pending"}):m.jsx("button",{className:"view-community w-full py-2 rounded-md bg-accent hover:bg-primary",onClick:()=>r(ac(e._id)),children:"Join"})]})]})}fh.propTypes={community:ft.object,type:ft.string};function QL(){const e=Ko(),{myCommunity:t}=vr(n=>n.community);return x.useEffect(()=>{e(Ks())},[e]),m.jsxs("div",{className:"sm:ms-96 min-h-screen bg-gray-700 text-text p-5",children:[m.jsx("h1",{className:"text-xl",children:"your communities"}),m.jsx("div",{className:"your-community flex gap-2 mt-5",children:t.map((n,r)=>m.jsx(fh,{community:n,item:"my_community"},r))})]})}const JL={community:[],myCommunity:[],isLoading:!1,isError:!1,errorMessage:"",isSuccess:!1,status:null},ZC=CC({name:"community",initialState:JL,reducers:{resetCommunity:e=>{e.isSuccess=!1,e.isError=!1,e.status=null,e.errorMessage=""}},extraReducers:e=>{e.addCase(ic.pending,t=>{t.isLoading=!0}),e.addCase(ic.fulfilled,(t,n)=>{var r,o;t.isLoading=!1,console.log(n.payload),t.myCommunity=[{...(r=n.payload)==null?void 0:r.newCommunity,members:(o=n.payload)==null?void 0:o.members},...t.myCommunity],t.isSuccess=!0,se.success("New community created")}),e.addCase(ic.rejected,t=>{t.isError=!0,t.isLoading=!1,se.error("error while creating community")}),e.addCase(Ks.pending,t=>{t.isLoading=!0}),e.addCase(Ks.fulfilled,(t,n)=>{var r;t.isLoading=!1,t.myCommunity=(r=n.payload)==null?void 0:r.community,t.isSuccess=!0}),e.addCase(Ks.rejected,t=>{t.isError=!0,t.isLoading=!1,se.error("error while fetching community")}),e.addCase(sc.pending,t=>{t.isLoading=!0}),e.addCase(sc.fulfilled,(t,n)=>{var r;t.isLoading=!1,t.community=(r=n.payload)==null?void 0:r.community,t.isSuccess=!0}),e.addCase(sc.rejected,t=>{t.isError=!0,t.isLoading=!1,se.error("error while fetching community")}),e.addCase(ac.pending,t=>{t.isLoading=!0}),e.addCase(ac.fulfilled,(t,n)=>{var r,o;t.isLoading=!1,t.community=t.community.map(i=>(i._id===n.payload.member.community_id&&i.members.push(n.payload.member),i)),t.myCommunity=[{...(r=n.payload)==null?void 0:r.community,members:(o=n.payload)==null?void 0:o.members},...t.myCommunity],t.isSuccess=!0}),e.addCase(ac.rejected,t=>{t.isError=!0,t.isLoading=!1,se.error("error while joining community")}),e.addCase(lc.pending,t=>{t.isLoading=!0}),e.addCase(lc.fulfilled,(t,n)=>{t.isLoading=!1,t.community=t.community.map(r=>(r._id===n.payload.member.community_id&&r.members.map(o=>(o.user_id===n.payload.member.user_id&&(o.status=n.payload.member.status),o)),r)),t.isSuccess=!0}),e.addCase(lc.rejected,t=>{t.isError=!0,t.isLoading=!1,se("Error while accepting request")})}}),{resetCommunity:eS}=ZC.actions,ZL=ZC.reducer;function eM(){const e=Ko(),{community:t,isSuccess:n,isError:r}=vr(i=>i.community),{user:o}=vr(i=>i.auth);return x.useEffect(()=>{e(sc())},[e]),x.useEffect(()=>{e(eS())},[n,r,e]),m.jsxs("section",{className:"your-community flex flex-col sm:ms-96 p-5 text-text flex-wrap gap-5 bg-gray-800 min-h-screen",children:[m.jsx("h1",{className:"text-xl",children:"Discover Community"}),t.map((i,s)=>{if(!i.members.filter(l=>l.status==="active").map(l=>l.user_id).includes(o==null?void 0:o._id))return m.jsx(fh,{community:i,type:"discover"},s)})]})}function tM(){const{tab:e}=Ax(),t=Ji(),[n,r]=x.useState("hidden"),[o,i]=x.useState(e.toUpperCase()),[s,a]=x.useState(!1);return m.jsxs("div",{className:"community bg-background",children:[m.jsx(XC,{showModal:s,setShowModal:a}),m.jsxs("section",{className:`sidebar fixed bg-background h-screen sm:w-96 text-text flex flex-col p-5 py-8 ${n} sm:block`,children:[m.jsx("h1",{className:"text-2xl mb-10",children:"Community"}),m.jsxs("div",{className:"nav flex flex-col gap-3",onClick:()=>r(n==="block"?"hidden":"block"),children:[m.jsx("div",{className:`item hover:bg-gray-800 ${o==="RECENT_DISCUSSIONS"&&"bg-gray-800"} rounded-md p-5 py-3`,onClick:()=>{i("RECENT_DISCUSSIONS"),t("/community/recent_discussions")},children:m.jsx("h2",{className:"text-lg",children:"Recent Discussions"})}),m.jsx("div",{className:`item hover:bg-gray-800 ${o==="DISCOVER"&&"bg-gray-800"} rounded-md p-5 py-3`,onClick:()=>{i("DISCOVER"),t("/community/discover")},children:m.jsx("h2",{className:"text-lg",children:"Discover"})}),m.jsx("div",{className:`item hover:bg-gray-800 ${o==="YOUR_COMMUNITY"&&"bg-gray-800"} rounded-md p-5 py-3`,onClick:()=>{i("YOUR_COMMUNITY"),t("/community/your_community")},children:m.jsx("h2",{className:"text-lg",children:"Your Community"})})]}),m.jsx("div",{className:"new-community mt-7 px-5 py-3 bg-gray-800 hover:bg-gray-600 cursor-pointer rounded-md",children:m.jsxs("button",{className:"text-lg flex gap-3",onClick:()=>a(!0),children:[m.jsx("div",{className:"text-primary",children:m.jsx(Nm,{})}),"Community"]})})]}),m.jsx("section",{className:"page-body",children:o==="RECENT_DISCUSSIONS"?m.jsx(XL,{}):o==="YOUR_COMMUNITY"?m.jsx(QL,{}):o==="DISCOVER"?m.jsx(eM,{}):null})]})}function nM(e){return et({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M18 8H20C20.5523 8 21 8.44772 21 9V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V9C3 8.44772 3.44772 8 4 8H6V7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7V8ZM16 8V7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7V8H16ZM7 11V13H9V11H7ZM7 14V16H9V14H7ZM7 17V19H9V17H7Z"}}]})(e)}const rM="https://thalia-ai-server.vercel.app",oM=Qe.create({baseURL:rM});function tS({openModal:e,setOpenModal:t,community:n,setDiscussion:r}){const{user:o}=vr(h=>h.auth),[i,s]=x.useState(""),[a,l]=x.useState(""),[c,f]=x.useState(!1);async function d(){if(i&&o&&n){const h={user_id:o==null?void 0:o._id,community_id:n==null?void 0:n._id,content:i,content_type:"TEXT"};f(!0);const b=await oM.post("/toxic",{text:i});if(b.data.label==="toxic"&&b.data.score>.8)f(!1),se.warning("your post contains toxicity");else{l("");const g=await KL(h);f(!1),g.discussion&&(se.success("new discussion added"),r(v=>[g.discussion,...v]),s(""),t(!1))}}else l("Enter any content")}return m.jsx(Ii,{show:e,size:"xl",onClose:()=>t(!1),popup:!0,children:m.jsx(Ii.Body,{className:"bg-gray-800 border text-white",children:c?m.jsx(om,{}):m.jsxs(m.Fragment,{children:[m.jsx(Ii.Header,{}),a&&m.jsx("span",{className:"text-red-600 text-sm",children:a}),m.jsx("h1",{className:"text-xl font-medium mt-5",children:"New Discussion"}),m.jsx("textarea",{name:"content",id:"",cols:60,rows:5,className:"rounded-md bg-gray-700 my-5 text-sm",onChange:h=>s(h.target.value),value:i}),m.jsxs("div",{className:"btn-group flex gap-3",children:[m.jsx("button",{className:"btn px-3 py-1 bg-red-600 hover:bg-red-800 rounded-md",onClick:()=>{l(""),s("")},children:"Clear"}),m.jsx("button",{className:"btn px-3 py-1 bg-primary hover:bg-primary-hover rounded-md",onClick:()=>d(),children:"Submit"})]})]})})})}tS.propTypes={openModal:ft.bool.isRequired,setOpenModal:ft.func.isRequired,community:ft.object.isRequired,setDiscussion:ft.func.isRequired};function ph(){const e=N1(Pm);return e[Rm]||e}const sb=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function r0(e,t){return r0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},r0(e,t)}function iM(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r0(e,t)}const ab={disabled:!1},nS=ae.createContext(null);var sM=function(t){return t.scrollTop},Os="unmounted",So="exited",Eo="entering",ui="entered",o0="exiting",Tr=function(e){iM(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,a=s&&!s.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?a?(l=So,i.appearStatus=Eo):l=ui:r.unmountOnExit||r.mountOnEnter?l=Os:l=So,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===Os?{status:So}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==Eo&&s!==ui&&(i=Eo):(s===Eo||s===ui)&&(i=o0)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,a;return i=s=a=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,a=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:a}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Eo){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:xl.findDOMNode(this);s&&sM(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===So&&this.setState({status:Os})},n.performEnter=function(o){var i=this,s=this.props.enter,a=this.context?this.context.isMounting:o,l=this.props.nodeRef?[a]:[xl.findDOMNode(this),a],c=l[0],f=l[1],d=this.getTimeouts(),h=a?d.appear:d.enter;if(!o&&!s||ab.disabled){this.safeSetState({status:ui},function(){i.props.onEntered(c)});return}this.props.onEnter(c,f),this.safeSetState({status:Eo},function(){i.props.onEntering(c,f),i.onTransitionEnd(h,function(){i.safeSetState({status:ui},function(){i.props.onEntered(c,f)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:xl.findDOMNode(this);if(!i||ab.disabled){this.safeSetState({status:So},function(){o.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:o0},function(){o.props.onExiting(a),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:So},function(){o.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,i.nextCallback=null,o(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:xl.findDOMNode(this),a=o==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],c=l[0],f=l[1];this.props.addEndListener(c,f)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Os)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var a=xt(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ae.createElement(nS.Provider,{value:null},typeof s=="function"?s(o,a):ae.cloneElement(ae.Children.only(s),a))},t}(ae.Component);Tr.contextType=nS;Tr.propTypes={};function ci(){}Tr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ci,onEntering:ci,onEntered:ci,onExit:ci,onExiting:ci,onExited:ci};Tr.UNMOUNTED=Os;Tr.EXITED=So;Tr.ENTERING=Eo;Tr.ENTERED=ui;Tr.EXITING=o0;const rS=Tr,oS=e=>e.scrollTop;function tu(e,t){var n,r;const{timeout:o,easing:i,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof i=="object"?i[t.mode]:i,delay:s.transitionDelay}}function aM(e){return es("MuiPaper",e)}Ma("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const lM=["className","component","elevation","square","variant"],cM=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return La(i,aM,o)},uM=fo("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return J({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&J({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${qy("#fff",sb(t.elevation))}, ${qy("#fff",sb(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),dM=x.forwardRef(function(t,n){const r=Ba({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:s=1,square:a=!1,variant:l="elevation"}=r,c=xt(r,lM),f=J({},r,{component:i,elevation:s,square:a,variant:l}),d=cM(f);return m.jsx(uM,J({as:i,ownerState:f,className:ct(d.root,o),ref:n},c))}),fM=dM;function pM(e){return typeof e=="string"}function mM(e,t,n){return e===void 0||pM(e)?t:J({},t,{ownerState:J({},t.ownerState,n)})}function iS(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function hM(e,t,n){return typeof e=="function"?e(t,n):e}function lb(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function gM(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const b=ct(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=J({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),v=J({},n,o,r);return b.length>0&&(v.className=b),Object.keys(g).length>0&&(v.style=g),{props:v,internalRef:void 0}}const s=iS(J({},o,r)),a=lb(r),l=lb(o),c=t(s),f=ct(c==null?void 0:c.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),d=J({},c==null?void 0:c.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),h=J({},c,n,l,a);return f.length>0&&(h.className=f),Object.keys(d).length>0&&(h.style=d),{props:h,internalRef:c.ref}}const yM=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function cb(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,s=xt(e,yM),a=i?{}:hM(r,o),{props:l,internalRef:c}=gM(J({},s,{externalSlotProps:a})),f=qo(c,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return mM(n,J({},l,{ref:f}),o)}const vM=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function bM(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function wM(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function xM(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||wM(e))}function kM(e){const t=[],n=[];return Array.from(e.querySelectorAll(vM)).forEach((r,o)=>{const i=bM(r);i===-1||!xM(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function CM(){return!0}function SM(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=kM,isEnabled:s=CM,open:a}=e,l=x.useRef(!1),c=x.useRef(null),f=x.useRef(null),d=x.useRef(null),h=x.useRef(null),b=x.useRef(!1),g=x.useRef(null),v=qo(t.ref,g),E=x.useRef(null);x.useEffect(()=>{!a||!g.current||(b.current=!n)},[n,a]),x.useEffect(()=>{if(!a||!g.current)return;const C=dr(g.current);return g.current.contains(C.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),b.current&&g.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),x.useEffect(()=>{if(!a||!g.current)return;const C=dr(g.current),T=_=>{E.current=_,!(r||!s()||_.key!=="Tab")&&C.activeElement===g.current&&_.shiftKey&&(l.current=!0,f.current&&f.current.focus())},P=()=>{const _=g.current;if(_===null)return;if(!C.hasFocus()||!s()||l.current){l.current=!1;return}if(_.contains(C.activeElement)||r&&C.activeElement!==c.current&&C.activeElement!==f.current)return;if(C.activeElement!==h.current)h.current=null;else if(h.current!==null)return;if(!b.current)return;let O=[];if((C.activeElement===c.current||C.activeElement===f.current)&&(O=i(g.current)),O.length>0){var M,A;const q=!!((M=E.current)!=null&&M.shiftKey&&((A=E.current)==null?void 0:A.key)==="Tab"),z=O[0],H=O[O.length-1];typeof z!="string"&&typeof H!="string"&&(q?H.focus():z.focus())}else _.focus()};C.addEventListener("focusin",P),C.addEventListener("keydown",T,!0);const N=setInterval(()=>{C.activeElement&&C.activeElement.tagName==="BODY"&&P()},50);return()=>{clearInterval(N),C.removeEventListener("focusin",P),C.removeEventListener("keydown",T,!0)}},[n,r,o,s,a,i]);const S=C=>{d.current===null&&(d.current=C.relatedTarget),b.current=!0,h.current=C.target;const T=t.props.onFocus;T&&T(C)},y=C=>{d.current===null&&(d.current=C.relatedTarget),b.current=!0};return m.jsxs(x.Fragment,{children:[m.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:c,"data-testid":"sentinelStart"}),x.cloneElement(t,{ref:v,onFocus:S}),m.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:f,"data-testid":"sentinelEnd"})]})}function EM(e){return typeof e=="function"?e():e}const TM=x.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,a]=x.useState(null),l=qo(x.isValidElement(r)?r.ref:null,n);if(Mc(()=>{i||a(EM(o)||document.body)},[o,i]),Mc(()=>{if(s&&!i)return Lc(n,s),()=>{Lc(n,null)}},[n,s,i]),i){if(x.isValidElement(r)){const c={ref:l};return x.cloneElement(r,c)}return m.jsx(x.Fragment,{children:r})}return m.jsx(x.Fragment,{children:s&&Oa.createPortal(r,s)})});function PM(e){const t=dr(e);return t.body===e?Zi(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function qs(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ub(e){return parseInt(Zi(e).getComputedStyle(e).paddingRight,10)||0}function RM(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function db(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const a=i.indexOf(s)===-1,l=!RM(s);a&&l&&qs(s,o)})}function Rf(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function NM(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(PM(r)){const s=mR(dr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${ub(r)+s}px`;const a=dr(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${ub(l)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=dr(r).body;else{const s=r.parentElement,a=Zi(r);i=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:a})=>{i?s.style.setProperty(a,i):s.style.removeProperty(a)})}}function _M(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class jM{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&qs(t.modalRef,!1);const o=_M(n);db(n,t.mount,t.modalRef,o,!0);const i=Rf(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Rf(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=NM(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Rf(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&qs(t.modalRef,n),db(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&qs(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function OM(e){return typeof e=="function"?e():e}function IM(e){return e?e.props.hasOwnProperty("in"):!1}const AM=new jM;function LM(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=AM,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:a,children:l,onClose:c,open:f,rootRef:d}=e,h=x.useRef({}),b=x.useRef(null),g=x.useRef(null),v=qo(g,d),[E,S]=x.useState(!f),y=IM(l);let C=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(C=!1);const T=()=>dr(b.current),P=()=>(h.current.modalRef=g.current,h.current.mount=b.current,h.current),N=()=>{o.mount(P(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},_=Np(()=>{const U=OM(t)||T().body;o.add(P(),U),g.current&&N()}),O=x.useCallback(()=>o.isTopModal(P()),[o]),M=Np(U=>{b.current=U,U&&(f&&O()?N():g.current&&qs(g.current,C))}),A=x.useCallback(()=>{o.remove(P(),C)},[C,o]);x.useEffect(()=>()=>{A()},[A]),x.useEffect(()=>{f?_():(!y||!i)&&A()},[f,A,y,i,_]);const q=U=>B=>{var j;(j=U.onKeyDown)==null||j.call(U,B),!(B.key!=="Escape"||B.which===229||!O())&&(n||(B.stopPropagation(),c&&c(B,"escapeKeyDown")))},z=U=>B=>{var j;(j=U.onClick)==null||j.call(U,B),B.target===B.currentTarget&&c&&c(B,"backdropClick")};return{getRootProps:(U={})=>{const B=iS(e);delete B.onTransitionEnter,delete B.onTransitionExited;const j=J({},B,U);return J({role:"presentation"},j,{onKeyDown:q(j),ref:v})},getBackdropProps:(U={})=>{const B=U;return J({"aria-hidden":!0},B,{onClick:z(B),open:f})},getTransitionProps:()=>{const U=()=>{S(!1),s&&s()},B=()=>{S(!0),a&&a(),i&&A()};return{onEnter:Rp(U,l==null?void 0:l.props.onEnter),onExited:Rp(B,l==null?void 0:l.props.onExited)}},rootRef:v,portalRef:M,isTopModal:O,exited:E,hasTransition:y}}const MM=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],DM={entering:{opacity:1},entered:{opacity:1}},$M=x.forwardRef(function(t,n){const r=ph(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:a,easing:l,in:c,onEnter:f,onEntered:d,onEntering:h,onExit:b,onExited:g,onExiting:v,style:E,timeout:S=o,TransitionComponent:y=rS}=t,C=xt(t,MM),T=x.useRef(null),P=qo(T,a.ref,n),N=L=>D=>{if(L){const U=T.current;D===void 0?L(U):L(U,D)}},_=N(h),O=N((L,D)=>{oS(L);const U=tu({style:E,timeout:S,easing:l},{mode:"enter"});L.style.webkitTransition=r.transitions.create("opacity",U),L.style.transition=r.transitions.create("opacity",U),f&&f(L,D)}),M=N(d),A=N(v),q=N(L=>{const D=tu({style:E,timeout:S,easing:l},{mode:"exit"});L.style.webkitTransition=r.transitions.create("opacity",D),L.style.transition=r.transitions.create("opacity",D),b&&b(L)}),z=N(g),H=L=>{i&&i(T.current,L)};return m.jsx(y,J({appear:s,in:c,nodeRef:T,onEnter:O,onEntered:M,onEntering:_,onExit:q,onExited:z,onExiting:A,addEndListener:H,timeout:S},C,{children:(L,D)=>x.cloneElement(a,J({style:J({opacity:0,visibility:L==="exited"&&!c?"hidden":void 0},DM[L],E,a.props.style),ref:P},D))}))}),zM=$M;function FM(e){return es("MuiBackdrop",e)}Ma("MuiBackdrop",["root","invisible"]);const BM=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],UM=e=>{const{classes:t,invisible:n}=e;return La({root:["root",n&&"invisible"]},FM,t)},HM=fo("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>J({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),WM=x.forwardRef(function(t,n){var r,o,i;const s=Ba({props:t,name:"MuiBackdrop"}),{children:a,className:l,component:c="div",components:f={},componentsProps:d={},invisible:h=!1,open:b,slotProps:g={},slots:v={},TransitionComponent:E=zM,transitionDuration:S}=s,y=xt(s,BM),C=J({},s,{component:c,invisible:h}),T=UM(C),P=(r=g.root)!=null?r:d.root;return m.jsx(E,J({in:b,timeout:S},y,{children:m.jsx(HM,J({"aria-hidden":!0},P,{as:(o=(i=v.root)!=null?i:f.Root)!=null?o:c,className:ct(T.root,l,P==null?void 0:P.className),ownerState:J({},C,P==null?void 0:P.ownerState),classes:T,ref:n,children:a}))}))}),VM=WM;function KM(e){return es("MuiModal",e)}Ma("MuiModal",["root","hidden","backdrop"]);const qM=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],GM=e=>{const{open:t,exited:n,classes:r}=e;return La({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},KM,r)},YM=fo("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>J({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),XM=fo(VM,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),QM=x.forwardRef(function(t,n){var r,o,i,s,a,l;const c=Ba({name:"MuiModal",props:t}),{BackdropComponent:f=XM,BackdropProps:d,className:h,closeAfterTransition:b=!1,children:g,container:v,component:E,components:S={},componentsProps:y={},disableAutoFocus:C=!1,disableEnforceFocus:T=!1,disableEscapeKeyDown:P=!1,disablePortal:N=!1,disableRestoreFocus:_=!1,disableScrollLock:O=!1,hideBackdrop:M=!1,keepMounted:A=!1,onBackdropClick:q,open:z,slotProps:H,slots:L}=c,D=xt(c,qM),U=J({},c,{closeAfterTransition:b,disableAutoFocus:C,disableEnforceFocus:T,disableEscapeKeyDown:P,disablePortal:N,disableRestoreFocus:_,disableScrollLock:O,hideBackdrop:M,keepMounted:A}),{getRootProps:B,getBackdropProps:j,getTransitionProps:W,portalRef:$,isTopModal:Y,exited:X,hasTransition:te}=LM(J({},U,{rootRef:n})),ne=J({},U,{exited:X}),I=GM(ne),ie={};if(g.props.tabIndex===void 0&&(ie.tabIndex="-1"),te){const{onEnter:Me,onExited:Pe}=W();ie.onEnter=Me,ie.onExited=Pe}const ue=(r=(o=L==null?void 0:L.root)!=null?o:S.Root)!=null?r:YM,fe=(i=(s=L==null?void 0:L.backdrop)!=null?s:S.Backdrop)!=null?i:f,be=(a=H==null?void 0:H.root)!=null?a:y.root,we=(l=H==null?void 0:H.backdrop)!=null?l:y.backdrop,tt=cb({elementType:ue,externalSlotProps:be,externalForwardedProps:D,getSlotProps:B,additionalProps:{ref:n,as:E},ownerState:ne,className:ct(h,be==null?void 0:be.className,I==null?void 0:I.root,!ne.open&&ne.exited&&(I==null?void 0:I.hidden))}),le=cb({elementType:fe,externalSlotProps:we,additionalProps:d,getSlotProps:Me=>j(J({},Me,{onClick:Pe=>{q&&q(Pe),Me!=null&&Me.onClick&&Me.onClick(Pe)}})),className:ct(we==null?void 0:we.className,d==null?void 0:d.className,I==null?void 0:I.backdrop),ownerState:ne});return!A&&!z&&(!te||X)?null:m.jsx(TM,{ref:$,container:v,disablePortal:N,children:m.jsxs(ue,J({},tt,{children:[!M&&f?m.jsx(fe,J({},le)):null,m.jsx(SM,{disableEnforceFocus:T,disableAutoFocus:C,disableRestoreFocus:_,isEnabled:Y,open:z,children:x.cloneElement(g,ie)})]}))})}),JM=QM,ZM=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function e9(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),i=Zi(t);let s;if(t.fakeTransform)s=t.fakeTransform;else{const c=i.getComputedStyle(t);s=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}let a=0,l=0;if(s&&s!=="none"&&typeof s=="string"){const c=s.split("(")[1].split(")")[0].split(",");a=parseInt(c[4],10),l=parseInt(c[5],10)}return e==="left"?o?`translateX(${o.right+a-r.left}px)`:`translateX(${i.innerWidth+a-r.left}px)`:e==="right"?o?`translateX(-${r.right-o.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:e==="up"?o?`translateY(${o.bottom+l-r.top}px)`:`translateY(${i.innerHeight+l-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function t9(e){return typeof e=="function"?e():e}function Ll(e,t,n){const r=t9(n),o=e9(e,t,r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const n9=x.forwardRef(function(t,n){const r=ph(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:l,container:c,direction:f="down",easing:d=o,in:h,onEnter:b,onEntered:g,onEntering:v,onExit:E,onExited:S,onExiting:y,style:C,timeout:T=i,TransitionComponent:P=rS}=t,N=xt(t,ZM),_=x.useRef(null),O=qo(l.ref,_,n),M=j=>W=>{j&&(W===void 0?j(_.current):j(_.current,W))},A=M((j,W)=>{Ll(f,j,c),oS(j),b&&b(j,W)}),q=M((j,W)=>{const $=tu({timeout:T,style:C,easing:d},{mode:"enter"});j.style.webkitTransition=r.transitions.create("-webkit-transform",J({},$)),j.style.transition=r.transitions.create("transform",J({},$)),j.style.webkitTransform="none",j.style.transform="none",v&&v(j,W)}),z=M(g),H=M(y),L=M(j=>{const W=tu({timeout:T,style:C,easing:d},{mode:"exit"});j.style.webkitTransition=r.transitions.create("-webkit-transform",W),j.style.transition=r.transitions.create("transform",W),Ll(f,j,c),E&&E(j)}),D=M(j=>{j.style.webkitTransition="",j.style.transition="",S&&S(j)}),U=j=>{s&&s(_.current,j)},B=x.useCallback(()=>{_.current&&Ll(f,_.current,c)},[f,c]);return x.useEffect(()=>{if(h||f==="down"||f==="right")return;const j=Zx(()=>{_.current&&Ll(f,_.current,c)}),W=Zi(_.current);return W.addEventListener("resize",j),()=>{j.clear(),W.removeEventListener("resize",j)}},[f,h,c]),x.useEffect(()=>{h||B()},[h,B]),m.jsx(P,J({nodeRef:_,onEnter:A,onEntered:z,onEntering:q,onExit:L,onExited:D,onExiting:H,addEndListener:U,appear:a,in:h,timeout:T},N,{children:(j,W)=>x.cloneElement(l,J({ref:O,style:J({visibility:j==="exited"&&!h?"hidden":void 0},C,l.props.style)},W))}))}),r9=n9;function o9(e){return es("MuiDrawer",e)}Ma("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const i9=["BackdropProps"],s9=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],sS=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},a9=e=>{const{classes:t,anchor:n,variant:r}=e,o={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Sn(n)}`,r!=="temporary"&&`paperAnchorDocked${Sn(n)}`]};return La(o,o9,t)},l9=fo(JM,{name:"MuiDrawer",slot:"Root",overridesResolver:sS})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),fb=fo("div",{shouldForwardProp:D1,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:sS})({flex:"0 0 auto"}),c9=fo(fM,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${Sn(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${Sn(n.anchor)}`]]}})(({theme:e,ownerState:t})=>J({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),aS={left:"right",right:"left",top:"down",bottom:"up"};function u9(e){return["left","right"].indexOf(e)!==-1}function d9(e,t){return e.direction==="rtl"&&u9(t)?aS[t]:t}const f9=x.forwardRef(function(t,n){const r=Ba({props:t,name:"MuiDrawer"}),o=ph(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:a,children:l,className:c,elevation:f=16,hideBackdrop:d=!1,ModalProps:{BackdropProps:h}={},onClose:b,open:g=!1,PaperProps:v={},SlideProps:E,TransitionComponent:S=r9,transitionDuration:y=i,variant:C="temporary"}=r,T=xt(r.ModalProps,i9),P=xt(r,s9),N=x.useRef(!1);x.useEffect(()=>{N.current=!0},[]);const _=d9(o,s),M=J({},r,{anchor:s,elevation:f,open:g,variant:C},P),A=a9(M),q=m.jsx(c9,J({elevation:C==="temporary"?f:0,square:!0},v,{className:ct(A.paper,v.className),ownerState:M,children:l}));if(C==="permanent")return m.jsx(fb,J({className:ct(A.root,A.docked,c),ownerState:M,ref:n},P,{children:q}));const z=m.jsx(S,J({in:g,direction:aS[_],timeout:y,appear:N.current},E,{children:q}));return C==="persistent"?m.jsx(fb,J({className:ct(A.root,A.docked,c),ownerState:M,ref:n},P,{children:z})):m.jsx(l9,J({BackdropProps:J({},a,h,{transitionDuration:y}),className:ct(A.root,A.modal,c),open:g,ownerState:M,onClose:b,hideBackdrop:d,ref:n},P,T,{children:z}))}),p9=f9;function lS({openDrawer:e,setOpenDrawer:t,community:n,setCommunity:r}){const o=Ko(),[i,s]=x.useState([]);x.useEffect(()=>{n&&(async()=>{var l;try{const c=await st.get(`/community/pending-request/${n._id}`);c.data.userList&&s(c.data.userList)}catch(c){se.error((l=c.response)==null?void 0:l.data.message)}})()},[n]);async function a(l){n&&(await o(lc({community_id:n._id,user_id:l}))).payload.member&&(s(f=>f.filter(d=>d.user_id!==l)),n&&r({...n,members:n.members.map(f=>(f.user_id===l&&(f.status="active"),f))}))}return m.jsx("div",{children:m.jsx(p9,{anchor:"right",open:e,onClose:()=>t(!1),children:m.jsxs("div",{className:"container bg-gray-900 w-96 h-screen p-5 flex flex-col",children:[m.jsx("h1",{className:"text-xl text-white font-medium",children:"New Requests"}),i&&i.map((l,c)=>m.jsxs("div",{className:"member-request-card w-full flex justify-between bg-gray-800 p-2 rounded-md",children:[m.jsxs("div",{className:"flex gap-3",children:[l.userProfile.profile_img?m.jsx("img",{src:l.userProfile.profile_img,alt:"",className:"w-10 h-10 rounded-full"}):m.jsx("div",{className:"w-10 h-10 bg-gray-900 rounded-full",children:m.jsx("h1",{children:l.userProfile.email[0]})}),m.jsx("h1",{className:"text-2xl text-slate-400",children:l.userProfile.username})]}),m.jsx("div",{className:"add-btn text-4xl text-white cursor-pointer",onClick:()=>a(l.user_id),children:m.jsx(Nm,{})})]},c))]})})})}lS.propTypes={openDrawer:ft.bool,setOpenDrawer:ft.func,community:ft.object,setCommunity:ft.func};function m9(){const e=Ji(),t=Ko(),[n,r]=x.useState(null),{user:o}=vr(P=>P.auth),{id:i}=Ax(),[s,a]=x.useState([]),[l,c]=x.useState("hidden"),f=x.useRef(1),[d,h]=x.useState(!1),{myCommunity:b,isSuccess:g,isError:v}=vr(P=>P.community),[E,S]=x.useState(!1),[y,C]=x.useState(null);async function T(){if(n){const P=await VL(n._id,f.current);(P.discussions.length>0||f.current===1)&&(f.current===1?a(P.discussions):a([...s,...P.discussions]))}}return x.useEffect(()=>{n&&(f.current=1,T())},[n]),x.useEffect(()=>{if(n&&o){const P=n.members.filter(N=>N.user_id===(o==null?void 0:o._id));C(P[0])}},[n,o]),x.useEffect(()=>{i&&(async()=>{const P=await YC(i);r(P.data.community)})()},[i]),x.useEffect(()=>{t(Ks())},[t]),x.useEffect(()=>{t(eS())},[g,v,t]),x.useEffect(()=>{const P=()=>{const N=document.body.clientHeight,_=window.scrollY,O=window.innerHeight;N-(_+O)<1&&s.length>=f.current*10&&(f.current=f.current+1,T())};return window.addEventListener("scroll",P),()=>{window.removeEventListener("scroll",P)}},[t,s]),m.jsxs("section",{className:"view-community grid grid-cols-12 relative text-text",children:[m.jsx("section",{className:`col-span-12 ${l} sm:block sm:col-span-3 z-20`,onClick:()=>c("hidden"),children:m.jsxs("div",{className:"left-side-bar fixed bg-gray-900 w-full sm:w-auto 2xl:w-96 pt-5 px-3",children:[m.jsx("h1",{className:"mb-8 text-2xl",children:"Community"}),m.jsx("div",{className:"discover-community w-full bg-gray-800 py-3 rounded-md hover:bg-gray-700 cursor-pointer",onClick:()=>e("/community/discover"),children:m.jsx("h1",{className:"text-center",children:"Discover Communities"})}),m.jsx("h1",{className:"your-community text-lg my-5",children:"Your Communities"}),b&&b.map((P,N)=>m.jsxs("div",{className:`community-choose-card mb-3 flex gap-3 overflow-hidden items-center ${P._id!==i?"bg-gray-800":"bg-gray-700"} hover:bg-gray-700 p-1 px-2 rounded-md cursor-pointer`,onClick:()=>{e(`/community/view/${P._id}`)},children:[m.jsx("div",{className:"icon w-14 h-14 bg-gray-700 rounded-full flex items-center justify-center shadow-lg relative",children:P!=null&&P.icon?m.jsx("img",{src:P.icon,alt:""}):m.jsx("h1",{className:"text-xl",children:P==null?void 0:P.community_name[0].toUpperCase()})}),m.jsx("div",{className:"deatils",children:m.jsx("h1",{className:"text-lg",children:P.community_name})})]},N))]})}),m.jsxs("section",{className:"body col-span-12 sm:col-span-9",children:[m.jsxs("header",{className:"header flex justify-between shadow-lg p-2 px-5",children:[m.jsxs("div",{className:"profile flex gap-3",children:[m.jsxs("div",{className:"icon h-16 w-28 rounded-md flex items-center justify-center relative",children:[n!=null&&n.icon?m.jsx("img",{src:n.icon,alt:"",className:"h-14 w-14 rounded-md"}):m.jsx("h1",{className:"text-2xl bg-gray-700 px-8 py-3 rounded-md",children:n==null?void 0:n.community_name[0].toUpperCase()}),m.jsx("button",{className:"sm:hidden cursor-pointer btn absolute z-20 w-full h-full",onClick:()=>c("block")})]}),m.jsx("h1",{className:"text-2xl",children:n==null?void 0:n.community_name})]}),y&&y.is_admin&&m.jsx("button",{className:"text-2xl",onClick:()=>h(!0),children:m.jsx(VA,{})})]}),m.jsxs("body",{className:"container grid grid-cols-12 p-5",children:[m.jsxs("section",{className:"discussion-section col-span-12 lg:col-span-8",children:[m.jsxs("div",{className:"new-discusssion flex items-center gap-3",children:[m.jsx("button",{className:"new-text-discussion-input w-5/6 ms-10 h-12 rounded bg-gray-700 flex justify-start items-center px-3 text-slate-500",onClick:()=>S(!0),children:"Write Something"}),m.jsx("div",{className:"send-icon",children:"send"})]}),m.jsx("div",{className:"discussions w-full flex flex-col items-center py-5 sm:p-5",children:s==null?void 0:s.map((P,N)=>m.jsx(dh,{discussion:P,setDiscussion:a,type:"DEFAULT"},N))})]}),m.jsxs("div",{className:"right-section hidden lg:block sm:col-span-4 bg-gray-900 p-5 rounded-md",children:[m.jsx("h1",{className:"text-lg",children:"About"}),m.jsx("p",{className:"text-sm py-2 pb-5",children:n==null?void 0:n.about}),(n==null?void 0:n.privacy)==="public"?m.jsxs("div",{className:"",children:[m.jsx("h1",{className:"text-lg",children:"Public"}),m.jsx("p",{className:"text-sm py-2 pb-5",children:"Everyone can see discussions"})]}):m.jsxs("div",{className:"",children:[m.jsxs("div",{className:"flex items-center gap-2 text-lg",children:[m.jsx(nM,{}),m.jsx("h1",{className:"text-lg",children:"Private"})]}),m.jsx("p",{className:"text-sm py-5",children:"Only the members of this community are allowed to see discussions"})]}),m.jsx("h1",{className:"text-lg",children:"Activity"}),m.jsx("div",{className:"analytics"})]})]})]}),m.jsx(tS,{openModal:E,setOpenModal:S,community:n,setDiscussion:a}),m.jsx(lS,{openDrawer:d,setOpenDrawer:h,community:n,setCommunity:r})]})}const pb=x.lazy(()=>Tn(()=>import("./Home-BZigrtH0.js"),__vite__mapDeps([0,1]))),h9=x.lazy(()=>Tn(()=>import("./Signup-BcB9jmfy.js"),__vite__mapDeps([2,3]))),g9=x.lazy(()=>Tn(()=>import("./Login-DCALq6Rt.js"),__vite__mapDeps([4,3,5]))),y9=x.lazy(()=>Tn(()=>import("./MyMindPage-SV9cbw2I.js"),__vite__mapDeps([6,7]))),v9=x.lazy(()=>Tn(()=>import("./MyLawsPage-fhUMTO4b.js"),__vite__mapDeps([8,7]))),b9=x.lazy(()=>Tn(()=>import("./MyBodyPage-BMPXa9Y3.js"),__vite__mapDeps([9,7])));function w9(){return m.jsx(m.Fragment,{children:m.jsx(x.Suspense,{fallback:m.jsx(om,{}),children:m.jsxs(rm,{children:[m.jsxs(nt,{element:m.jsx(h3,{}),children:[m.jsx(nt,{path:"/",element:m.jsx(pb,{})}),m.jsx(nt,{path:"/signup",element:m.jsx(h9,{})}),m.jsx(nt,{path:"/login",element:m.jsx(g9,{})})]}),m.jsxs(nt,{element:m.jsx(sm,{role:"USER"}),children:[m.jsx(nt,{path:"/home",element:m.jsx(pb,{})}),m.jsx(nt,{path:"/my-mind",element:m.jsx(y9,{})}),m.jsx(nt,{path:"/my-rights",element:m.jsx(v9,{})}),m.jsx(nt,{path:"/my-body",element:m.jsx(b9,{})}),m.jsx(nt,{path:"/community/:tab",element:m.jsx(tM,{})}),m.jsx(nt,{path:"/community/view/:id",element:m.jsx(m9,{})})]})]})})})}const x9=x.lazy(()=>Tn(()=>import("./Home-CXwSBz1b.js"),__vite__mapDeps([]))),k9=x.lazy(()=>Tn(()=>import("./Managment-p_2cGOcF.js"),__vite__mapDeps([]))),C9=x.lazy(()=>Tn(()=>import("./Rights-Bc-0wih6.js"),__vite__mapDeps([10,11]))),S9=x.lazy(()=>Tn(()=>import("./Sidebar-Cx7KUpOQ.js"),__vite__mapDeps([]))),E9=x.lazy(()=>Tn(()=>import("./MyBody-CZjamJp9.js"),__vite__mapDeps([12,11]))),T9=x.lazy(()=>Tn(()=>import("./MyMind-B9quhHSs.js"),__vite__mapDeps([13,11])));function P9(){return m.jsx(m.Fragment,{children:m.jsxs("div",{className:"grid grid-cols-12 h-screen bg-background",children:[m.jsx("div",{className:"col-span-3 text-text",children:m.jsx(S9,{})}),m.jsx("div",{className:"col-span-9",children:m.jsx(x.Suspense,{fallback:m.jsx(om,{}),children:m.jsxs(rm,{children:[m.jsx(nt,{path:"/",element:m.jsx(x9,{})}),m.jsx(nt,{path:"/managment",element:m.jsx(k9,{})}),m.jsx(nt,{path:"/rights",element:m.jsx(C9,{})}),m.jsx(nt,{path:"/body",element:m.jsx(E9,{})}),m.jsx(nt,{path:"/mind",element:m.jsx(T9,{})})]})})})]})})}const R9="/assets/Logo-CdXQfGpE.svg",U9=async e=>{try{const{data:t}=await st.post("/verify-mail",{email:e},{withCredentials:!0});return t}catch(t){return t}},H9=async(e,t)=>{try{const{data:n}=await st.post("/verify-otp",{email:e,otp:t});return n}catch(n){return console.log(n),{status:n.respones.data.status,message:n.respones.data.message}}},Nf=Go("auth/signup",async(e,t)=>{try{const{data:n}=await st.post("/signup",e);return n}catch(n){const r={status:n.response.data.status,message:n.response.data.message};return t.rejectWithValue(r)}}),_f=Go("auth/signin",async(e,t)=>{try{const{data:n}=await st.post("/signin",e);return n}catch(n){const r={status:n.response.data.status,message:n.response.data.message};return t.rejectWithValue(r)}}),mb=localStorage.getItem("user"),N9={isLoading:!1,isError:!1,isSuccess:!1,errorMessage:null,user:mb?JSON.parse(mb):null},cS=CC({name:"auth",initialState:N9,reducers:{reset:e=>{e.isError=!1,e.isLoading=!1,e.isLoading=!1,e.errorMessage=null},logout:e=>{e.user=null,localStorage.removeItem("user"),Gl.remove("token"),window.location.reload()}},extraReducers:e=>{e.addCase(_f.pending,t=>{t.isLoading=!0}).addCase(_f.fulfilled,(t,n)=>{t.isLoading=!1,t.isSuccess=!0,t.user=n.payload.user,localStorage.setItem("user",JSON.stringify(n.payload.user)),Gl.set("token",n.payload.token,{expires:3,sameSite:"none",secure:!0})}).addCase(_f.rejected,(t,n)=>{t.isLoading=!1,t.isError=!0,console.log("action payload",n),t.errorMessage=n.payload}).addCase(Nf.pending,t=>{t.isLoading=!0}).addCase(Nf.fulfilled,(t,n)=>{t.isLoading=!1,t.isSuccess=!0,t.user=n.payload.user,localStorage.setItem("user",JSON.stringify(n.payload.user)),Gl.set("token",n.payload.token,{expires:3,sameSite:"none",secure:!0})}).addCase(Nf.rejected,(t,n)=>{t.isLoading=!1,t.isError=!0,t.errorMessage=n.payload})}}),{reset:W9,logout:_9}=cS.actions,j9=cS.reducer;var uS={exports:{}};/*! +* sweetalert2 v11.10.6 +* Released under the MIT License. +*/(function(e,t){(function(n,r){e.exports=r()})(_r,function(){function n(k,u,p){return u=b(u),E(k,o()?Reflect.construct(u,p||[],b(k).constructor):u.apply(k,p))}function r(k,u,p){if(o())return Reflect.construct.apply(null,arguments);var w=[null];w.push.apply(w,u);var R=new(k.bind.apply(k,w));return p&&g(R,p.prototype),R}function o(){try{var k=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(o=function(){return!!k})()}function i(k,u){var p=k==null?null:typeof Symbol<"u"&&k[Symbol.iterator]||k["@@iterator"];if(p!=null){var w,R,F,Z,de=[],me=!0,He=!1;try{if(F=(p=p.call(k)).next,u===0){if(Object(p)!==p)return;me=!1}else for(;!(me=(w=F.call(p)).done)&&(de.push(w.value),de.length!==u);me=!0);}catch(ps){He=!0,R=ps}finally{try{if(!me&&p.return!=null&&(Z=p.return(),Object(Z)!==Z))return}finally{if(He)throw R}}return de}}function s(k,u){if(typeof k!="object"||!k)return k;var p=k[Symbol.toPrimitive];if(p!==void 0){var w=p.call(k,u||"default");if(typeof w!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(k)}function a(k){var u=s(k,"string");return typeof u=="symbol"?u:String(u)}function l(k){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},l(k)}function c(k,u){if(!(k instanceof u))throw new TypeError("Cannot call a class as a function")}function f(k,u){for(var p=0;pk.length)&&(u=k.length);for(var p=0,w=new Array(u);pHe?1:me .").concat(I[p]));case"checkbox":return u.querySelector(".".concat(I.popup," > .").concat(I.checkbox," input"));case"radio":return u.querySelector(".".concat(I.popup," > .").concat(I.radio," input:checked"))||u.querySelector(".".concat(I.popup," > .").concat(I.radio," input:first-child"));case"range":return u.querySelector(".".concat(I.popup," > .").concat(I.range," input"));default:return u.querySelector(".".concat(I.popup," > .").concat(I.input))}},hh=function(u){if(u.focus(),u.type!=="file"){var p=u.value;u.value="",u.value=p}},gh=function(u,p,w){!u||!p||(typeof p=="string"&&(p=p.split(/\s+/).filter(Boolean)),p.forEach(function(R){Array.isArray(u)?u.forEach(function(F){w?F.classList.add(R):F.classList.remove(R)}):w?u.classList.add(R):u.classList.remove(R)}))},ye=function(u,p){gh(u,p,!0)},Dn=function(u,p){gh(u,p,!1)},Rr=function(u,p){for(var w=Array.from(u.children),R=0;R1&&arguments[1]!==void 0?arguments[1]:"flex";u&&(u.style.display=p)},St=function(u){u&&(u.style.display="none")},vd=function(u){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"block";u&&new MutationObserver(function(){us(u,u.innerHTML,p)}).observe(u,{childList:!0,subtree:!0})},yh=function(u,p,w,R){var F=u.querySelector(p);F&&F.style.setProperty(w,R)},us=function(u,p){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"flex";p?ut(u,w):St(u)},Xt=function(u){return!!(u&&(u.offsetWidth||u.offsetHeight||u.getClientRects().length))},hS=function(){return!Xt(pn())&&!Xt(mo())&&!Xt(nr())},vh=function(u){return u.scrollHeight>u.clientHeight},bh=function(u){var p=window.getComputedStyle(u),w=parseFloat(p.getPropertyValue("animation-duration")||"0"),R=parseFloat(p.getPropertyValue("transition-duration")||"0");return w>0||R>0},bd=function(u){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,w=Ya();w&&Xt(w)&&(p&&(w.style.transition="none",w.style.width="100%"),setTimeout(function(){w.style.transition="width ".concat(u/1e3,"s linear"),w.style.width="0%"},10))},gS=function(){var u=Ya();if(u){var p=parseInt(window.getComputedStyle(u).width);u.style.removeProperty("transition"),u.style.width="100%";var w=parseInt(window.getComputedStyle(u).width),R=p/w*100;u.style.width="".concat(R,"%")}},wh=function(){return typeof window>"u"||typeof document>"u"},yS=` +
+ +
    +
    + +

    +
    + + +
    + + +
    + +
    + + +
    +
    +
    + + + +
    +
    +
    +
    +
    +
    +`).replace(/(^|\n)\s*/g,""),vS=function(){var u=Re();return u?(u.remove(),Dn([document.documentElement,document.body],[I["no-backdrop"],I["toast-shown"],I["has-column"]]),!0):!1},go=function(){$.currentInstance.resetValidationMessage()},bS=function(){var u=pe(),p=Rr(u,I.input),w=Rr(u,I.file),R=u.querySelector(".".concat(I.range," input")),F=u.querySelector(".".concat(I.range," output")),Z=Rr(u,I.select),de=u.querySelector(".".concat(I.checkbox," input")),me=Rr(u,I.textarea);p.oninput=go,w.onchange=go,Z.onchange=go,de.onchange=go,me.oninput=go,R.oninput=function(){go(),F.value=R.value},R.onchange=function(){go(),F.value=R.value}},wS=function(u){return typeof u=="string"?document.querySelector(u):u},xS=function(u){var p=pe();p.setAttribute("role",u.toast?"alert":"dialog"),p.setAttribute("aria-live",u.toast?"polite":"assertive"),u.toast||p.setAttribute("aria-modal","true")},kS=function(u){window.getComputedStyle(u).direction==="rtl"&&ye(Re(),I.rtl)},CS=function(u){var p=vS();if(wh()){tt("SweetAlert2 requires document to initialize");return}var w=document.createElement("div");w.className=I.container,p&&ye(w,I["no-transition"]),Yt(w,yS);var R=wS(u.target);R.appendChild(w),xS(u),kS(R),bS()},wd=function(u,p){u instanceof HTMLElement?p.appendChild(u):l(u)==="object"?SS(u,p):u&&Yt(p,u)},SS=function(u,p){u.jquery?ES(p,u):Yt(p,u.toString())},ES=function(u,p){if(u.textContent="",0 in p)for(var w=0;w in p;w++)u.appendChild(p[w].cloneNode(!0));else u.appendChild(p.cloneNode(!0))},yo=function(){if(wh())return!1;var k=document.createElement("div");return typeof k.style.webkitAnimation<"u"?"webkitAnimationEnd":typeof k.style.animation<"u"?"animationend":!1}(),TS=function(u,p){var w=cs(),R=Xo();!w||!R||(!p.showConfirmButton&&!p.showDenyButton&&!p.showCancelButton?St(w):ut(w),mn(w,p,"actions"),PS(w,R,p),Yt(R,p.loaderHtml||""),mn(R,p,"loader"))};function PS(k,u,p){var w=pn(),R=mo(),F=nr();!w||!R||!F||(xd(w,"confirm",p),xd(R,"deny",p),xd(F,"cancel",p),RS(w,R,F,p),p.reverseButtons&&(p.toast?(k.insertBefore(F,w),k.insertBefore(R,w)):(k.insertBefore(F,u),k.insertBefore(R,u),k.insertBefore(w,u))))}function RS(k,u,p,w){if(!w.buttonsStyling){Dn([k,u,p],I.styled);return}ye([k,u,p],I.styled),w.confirmButtonColor&&(k.style.backgroundColor=w.confirmButtonColor,ye(k,I["default-outline"])),w.denyButtonColor&&(u.style.backgroundColor=w.denyButtonColor,ye(u,I["default-outline"])),w.cancelButtonColor&&(p.style.backgroundColor=w.cancelButtonColor,ye(p,I["default-outline"]))}function xd(k,u,p){var w=be(u);us(k,p["show".concat(w,"Button")],"inline-block"),Yt(k,p["".concat(u,"ButtonText")]||""),k.setAttribute("aria-label",p["".concat(u,"ButtonAriaLabel")]||""),k.className=I[u],mn(k,p,"".concat(u,"Button"))}var NS=function(u,p){var w=hd();w&&(Yt(w,p.closeButtonHtml||""),mn(w,p,"closeButton"),us(w,p.showCloseButton),w.setAttribute("aria-label",p.closeButtonAriaLabel||""))},_S=function(u,p){var w=Re();w&&(jS(w,p.backdrop),OS(w,p.position),IS(w,p.grow),mn(w,p,"container"))};function jS(k,u){typeof u=="string"?k.style.background=u:u||ye([document.documentElement,document.body],I["no-backdrop"])}function OS(k,u){u&&(u in I?ye(k,I[u]):(we('The "position" parameter is not valid, defaulting to "center"'),ye(k,I.center)))}function IS(k,u){u&&ye(k,I["grow-".concat(u)])}var Ne={innerParams:new WeakMap,domCache:new WeakMap},AS=["input","file","range","select","radio","checkbox","textarea"],LS=function(u,p){var w=pe();if(w){var R=Ne.innerParams.get(u),F=!R||p.input!==R.input;AS.forEach(function(Z){var de=Rr(w,I[Z]);de&&($S(Z,p.inputAttributes),de.className=I[Z],F&&St(de))}),p.input&&(F&&MS(p),zS(p))}},MS=function(u){if(u.input){if(!qe[u.input]){tt("Unexpected type of input! Expected ".concat(Object.keys(qe).join(" | "),', got "').concat(u.input,'"'));return}var p=xh(u.input),w=qe[u.input](p,u);ut(p),u.inputAutoFocus&&setTimeout(function(){hh(w)})}},DS=function(u){for(var p=0;pw?pe().style.width="".concat(Z,"px"):ho(pe(),"width",u.width)}};new MutationObserver(R).observe(k,{attributes:!0,attributeFilter:["style"]})}}),k};var FS=function(u,p){var w=$t();w&&(vd(w),mn(w,p,"htmlContainer"),p.html?(wd(p.html,w),ut(w,"block")):p.text?(w.textContent=p.text,ut(w,"block")):St(w),LS(u,p))},BS=function(u,p){var w=mh();w&&(vd(w),us(w,p.footer,"block"),p.footer&&wd(p.footer,w),mn(w,p,"footer"))},US=function(u,p){var w=Ne.innerParams.get(u),R=Dt();if(R){if(w&&p.icon===w.icon){Ch(R,p),kh(R,p);return}if(!p.icon&&!p.iconHtml){St(R);return}if(p.icon&&Object.keys(ue).indexOf(p.icon)===-1){tt('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(p.icon,'"')),St(R);return}ut(R),Ch(R,p),kh(R,p),ye(R,p.showClass&&p.showClass.icon)}},kh=function(u,p){for(var w=0,R=Object.entries(ue);w + +
    +
    +`,VS=` + + + + +`,Ch=function(u,p){if(!(!p.icon&&!p.iconHtml)){var w=u.innerHTML,R="";if(p.iconHtml)R=Sh(p.iconHtml);else if(p.icon==="success")R=WS,w=w.replace(/ style=".*?"/g,"");else if(p.icon==="error")R=VS;else if(p.icon){var F={question:"?",warning:"!",info:"i"};R=Sh(F[p.icon])}w.trim()!==R.trim()&&Yt(u,R)}},KS=function(u,p){if(p.iconColor){u.style.color=p.iconColor,u.style.borderColor=p.iconColor;for(var w=0,R=[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"];w').concat(u,"")},qS=function(u,p){var w=Pr();if(w){if(!p.imageUrl){St(w);return}ut(w,""),w.setAttribute("src",p.imageUrl),w.setAttribute("alt",p.imageAlt||""),ho(w,"width",p.imageWidth),ho(w,"height",p.imageHeight),w.className=I.image,mn(w,p,"image")}},GS=function(u,p){var w=Re(),R=pe();if(!(!w||!R)){if(p.toast){ho(w,"width",p.width),R.style.width="100%";var F=Xo();F&&R.insertBefore(F,Dt())}else ho(R,"width",p.width);ho(R,"padding",p.padding),p.color&&(R.style.color=p.color),p.background&&(R.style.background=p.background),St(tr()),YS(R,p)}},YS=function(u,p){var w=p.showClass||{};u.className="".concat(I.popup," ").concat(Xt(u)?w.popup:""),p.toast?(ye([document.documentElement,document.body],I["toast-shown"]),ye(u,I.toast)):ye(u,I.modal),mn(u,p,"popup"),typeof p.customClass=="string"&&ye(u,p.customClass),p.icon&&ye(u,I["icon-".concat(p.icon)])},XS=function(u,p){var w=zt();if(w){var R=p.progressSteps,F=p.currentProgressStep;if(!R||R.length===0||F===void 0){St(w);return}ut(w),w.textContent="",F>=R.length&&we("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),R.forEach(function(Z,de){var me=QS(Z);if(w.appendChild(me),de===F&&ye(me,I["active-progress-step"]),de!==R.length-1){var He=JS(p);w.appendChild(He)}})}},QS=function(u){var p=document.createElement("li");return ye(p,I["progress-step"]),Yt(p,u),p},JS=function(u){var p=document.createElement("li");return ye(p,I["progress-step-line"]),u.progressStepsDistance&&ho(p,"width",u.progressStepsDistance),p},ZS=function(u,p){var w=po();w&&(vd(w),us(w,p.title||p.titleText,"block"),p.title&&wd(p.title,w),p.titleText&&(w.innerText=p.titleText),mn(w,p,"title"))},Eh=function(u,p){GS(u,p),_S(u,p),XS(u,p),US(u,p),qS(u,p),ZS(u,p),NS(u,p),FS(u,p),TS(u,p),BS(u,p);var w=pe();typeof p.didRender=="function"&&w&&p.didRender(w)},eE=function(){return Xt(pe())},Th=function(){var u;return(u=pn())===null||u===void 0?void 0:u.click()},tE=function(){var u;return(u=mo())===null||u===void 0?void 0:u.click()},nE=function(){var u;return(u=nr())===null||u===void 0?void 0:u.click()},Qo=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Ph=function(u){u.keydownTarget&&u.keydownHandlerAdded&&(u.keydownTarget.removeEventListener("keydown",u.keydownHandler,{capture:u.keydownListenerCapture}),u.keydownHandlerAdded=!1)},rE=function(u,p,w){Ph(u),p.toast||(u.keydownHandler=function(R){return iE(p,R,w)},u.keydownTarget=p.keydownListenerCapture?window:pe(),u.keydownListenerCapture=p.keydownListenerCapture,u.keydownTarget.addEventListener("keydown",u.keydownHandler,{capture:u.keydownListenerCapture}),u.keydownHandlerAdded=!0)},Cd=function(u,p){var w,R=gd();if(R.length){u=u+p,u===R.length?u=0:u===-1&&(u=R.length-1),R[u].focus();return}(w=pe())===null||w===void 0||w.focus()},Rh=["ArrowRight","ArrowDown"],oE=["ArrowLeft","ArrowUp"],iE=function(u,p,w){u&&(p.isComposing||p.keyCode===229||(u.stopKeydownPropagation&&p.stopPropagation(),p.key==="Enter"?sE(p,u):p.key==="Tab"?aE(p):[].concat(Rh,oE).includes(p.key)?lE(p.key):p.key==="Escape"&&cE(p,u,w)))},sE=function(u,p){if(Te(p.allowEnterKey)){var w=Qa(pe(),p.input);if(u.target&&w&&u.target instanceof HTMLElement&&u.target.outerHTML===w.outerHTML){if(["textarea","file"].includes(p.input))return;Th(),u.preventDefault()}}},aE=function(u){for(var p=u.target,w=gd(),R=-1,F=0;F1},gE=function(){if(rr(document.body,I.iosfix)){var u=parseInt(document.body.style.top,10);Dn(document.body,I.iosfix),document.body.style.top="",document.body.scrollTop=u*-1}},yE=function(){var u=document.createElement("div");u.className=I["scrollbar-measure"],document.body.appendChild(u);var p=u.getBoundingClientRect().width-u.clientWidth;return document.body.removeChild(u),p},Zo=null,vE=function(u){Zo===null&&(document.body.scrollHeight>window.innerHeight||u==="scroll")&&(Zo=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(Zo+yE(),"px"))},bE=function(){Zo!==null&&(document.body.style.paddingRight="".concat(Zo,"px"),Zo=null)};function jh(k,u,p,w){Xa()?Ih(k,w):(X(p).then(function(){return Ih(k,w)}),Ph($)),_h?(u.setAttribute("style","display:none !important"),u.removeAttribute("class"),u.innerHTML=""):u.remove(),yd()&&(bE(),gE(),Nh()),wE()}function wE(){Dn([document.documentElement,document.body],[I.shown,I["height-auto"],I["no-backdrop"],I["toast-shown"]])}function Nr(k){k=kE(k);var u=Jo.swalPromiseResolve.get(this),p=xE(this);this.isAwaitingPromise?k.isDismissed||(fs(this),u(k)):p&&u(k)}var xE=function(u){var p=pe();if(!p)return!1;var w=Ne.innerParams.get(u);if(!w||rr(p,w.hideClass.popup))return!1;Dn(p,w.showClass.popup),ye(p,w.hideClass.popup);var R=Re();return Dn(R,w.showClass.backdrop),ye(R,w.hideClass.backdrop),CE(u,p,w),!0};function Oh(k){var u=Jo.swalPromiseReject.get(this);fs(this),u&&u(k)}var fs=function(u){u.isAwaitingPromise&&(delete u.isAwaitingPromise,Ne.innerParams.get(u)||u._destroy())},kE=function(u){return typeof u>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},u)},CE=function(u,p,w){var R=Re(),F=yo&&bh(p);typeof w.willClose=="function"&&w.willClose(p),F?SE(u,p,R,w.returnFocus,w.didClose):jh(u,R,w.returnFocus,w.didClose)},SE=function(u,p,w,R,F){yo&&($.swalCloseEventFinishedCallback=jh.bind(null,u,w,R,F),p.addEventListener(yo,function(Z){Z.target===p&&($.swalCloseEventFinishedCallback(),delete $.swalCloseEventFinishedCallback)}))},Ih=function(u,p){setTimeout(function(){typeof p=="function"&&p.bind(u.params)(),u._destroy&&u._destroy()})},ei=function(u){var p=pe();if(p||new rl,p=pe(),!!p){var w=Xo();Xa()?St(Dt()):EE(p,u),ut(w),p.setAttribute("data-loading","true"),p.setAttribute("aria-busy","true"),p.focus()}},EE=function(u,p){var w=cs(),R=Xo();!w||!R||(!p&&Xt(pn())&&(p=pn()),ut(w),p&&(St(p),R.setAttribute("data-button-to-replace",p.className),w.insertBefore(R,p)),ye([u,w],I.loading))},TE=function(u,p){p.input==="select"||p.input==="radio"?jE(u,p):["text","email","number","tel","textarea"].some(function(w){return w===p.input})&&(fn(p.inputValue)||oe(p.inputValue))&&(ei(pn()),OE(u,p))},PE=function(u,p){var w=u.getInput();if(!w)return null;switch(p.input){case"checkbox":return RE(w);case"radio":return NE(w);case"file":return _E(w);default:return p.inputAutoTrim?w.value.trim():w.value}},RE=function(u){return u.checked?1:0},NE=function(u){return u.checked?u.value:null},_E=function(u){return u.files&&u.files.length?u.getAttribute("multiple")!==null?u.files:u.files[0]:null},jE=function(u,p){var w=pe();if(w){var R=function(Z){p.input==="select"?IE(w,Ah(Z),p):p.input==="radio"&&AE(w,Ah(Z),p)};fn(p.inputOptions)||oe(p.inputOptions)?(ei(pn()),Gt(p.inputOptions).then(function(F){u.hideLoading(),R(F)})):l(p.inputOptions)==="object"?R(p.inputOptions):tt("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(l(p.inputOptions)))}},OE=function(u,p){var w=u.getInput();w&&(St(w),Gt(p.inputValue).then(function(R){w.value=p.input==="number"?"".concat(parseFloat(R)||0):"".concat(R),ut(w),w.focus(),u.hideLoading()}).catch(function(R){tt("Error in inputValue promise: ".concat(R)),w.value="",ut(w),w.focus(),u.hideLoading()}))};function IE(k,u,p){var w=Rr(k,I.select);if(w){var R=function(Z,de,me){var He=document.createElement("option");He.value=me,Yt(He,de),He.selected=Lh(me,p.inputValue),Z.appendChild(He)};u.forEach(function(F){var Z=F[0],de=F[1];if(Array.isArray(de)){var me=document.createElement("optgroup");me.label=Z,me.disabled=!1,w.appendChild(me),de.forEach(function(He){return R(me,He[1],He[0])})}else R(w,de,Z)}),w.focus()}}function AE(k,u,p){var w=Rr(k,I.radio);if(w){u.forEach(function(F){var Z=F[0],de=F[1],me=document.createElement("input"),He=document.createElement("label");me.type="radio",me.name=I.radio,me.value=Z,Lh(Z,p.inputValue)&&(me.checked=!0);var ps=document.createElement("span");Yt(ps,de),ps.className=I.label,He.appendChild(me),He.appendChild(ps),w.appendChild(He)});var R=w.querySelectorAll("input");R.length&&R[0].focus()}}var Ah=function k(u){var p=[];return u instanceof Map?u.forEach(function(w,R){var F=w;l(F)==="object"&&(F=k(F)),p.push([R,F])}):Object.keys(u).forEach(function(w){var R=u[w];l(R)==="object"&&(R=k(R)),p.push([w,R])}),p},Lh=function(u,p){return!!p&&p.toString()===u.toString()},Za=void 0,LE=function(u){var p=Ne.innerParams.get(u);u.disableButtons(),p.input?Mh(u,"confirm"):Ed(u,!0)},ME=function(u){var p=Ne.innerParams.get(u);u.disableButtons(),p.returnInputValueOnDeny?Mh(u,"deny"):Sd(u,!1)},DE=function(u,p){u.disableButtons(),p(Qo.cancel)},Mh=function(u,p){var w=Ne.innerParams.get(u);if(!w.input){tt('The "input" parameter is needed to be set when using returnInputValueOn'.concat(be(p)));return}var R=u.getInput(),F=PE(u,w);w.inputValidator?$E(u,F,p):R&&!R.checkValidity()?(u.enableButtons(),u.showValidationMessage(w.validationMessage||R.validationMessage)):p==="deny"?Sd(u,F):Ed(u,F)},$E=function(u,p,w){var R=Ne.innerParams.get(u);u.disableInput();var F=Promise.resolve().then(function(){return Gt(R.inputValidator(p,R.validationMessage))});F.then(function(Z){u.enableButtons(),u.enableInput(),Z?u.showValidationMessage(Z):w==="deny"?Sd(u,p):Ed(u,p)})},Sd=function(u,p){var w=Ne.innerParams.get(u||Za);if(w.showLoaderOnDeny&&ei(mo()),w.preDeny){u.isAwaitingPromise=!0;var R=Promise.resolve().then(function(){return Gt(w.preDeny(p,w.validationMessage))});R.then(function(F){F===!1?(u.hideLoading(),fs(u)):u.close({isDenied:!0,value:typeof F>"u"?p:F})}).catch(function(F){return $h(u||Za,F)})}else u.close({isDenied:!0,value:p})},Dh=function(u,p){u.close({isConfirmed:!0,value:p})},$h=function(u,p){u.rejectPromise(p)},Ed=function(u,p){var w=Ne.innerParams.get(u||Za);if(w.showLoaderOnConfirm&&ei(),w.preConfirm){u.resetValidationMessage(),u.isAwaitingPromise=!0;var R=Promise.resolve().then(function(){return Gt(w.preConfirm(p,w.validationMessage))});R.then(function(F){Xt(tr())||F===!1?(u.hideLoading(),fs(u)):Dh(u,typeof F>"u"?p:F)}).catch(function(F){return $h(u||Za,F)})}else Dh(u,p)};function el(){var k=Ne.innerParams.get(this);if(k){var u=Ne.domCache.get(this);St(u.loader),Xa()?k.icon&&ut(Dt()):zE(u),Dn([u.popup,u.actions],I.loading),u.popup.removeAttribute("aria-busy"),u.popup.removeAttribute("data-loading"),u.confirmButton.disabled=!1,u.denyButton.disabled=!1,u.cancelButton.disabled=!1}}var zE=function(u){var p=u.popup.getElementsByClassName(u.loader.getAttribute("data-button-to-replace"));p.length?ut(p[0],"inline-block"):hS()&&St(u.actions)};function zh(){var k=Ne.innerParams.get(this),u=Ne.domCache.get(this);return u?Qa(u.popup,k.input):null}function Fh(k,u,p){var w=Ne.domCache.get(k);u.forEach(function(R){w[R].disabled=p})}function Bh(k,u){var p=pe();if(!(!p||!k))if(k.type==="radio")for(var w=p.querySelectorAll('[name="'.concat(I.radio,'"]')),R=0;R0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";Pd[k]=this,rg||(document.body.addEventListener("click",d5),rg=!0)}var d5=function(u){for(var p=u.target;p&&p!==document;p=p.parentNode)for(var w in Pd){var R=p.getAttribute(w);if(R){Pd[w].fire({template:R});return}}},f5=Object.freeze({__proto__:null,argsToParams:r5,bindClickHandler:u5,clickCancel:nE,clickConfirm:Th,clickDeny:tE,enableLoading:ei,fire:o5,getActions:cs,getCancelButton:nr,getCloseButton:hd,getConfirmButton:pn,getContainer:Re,getDenyButton:mo,getFocusableElements:gd,getFooter:mh,getHtmlContainer:$t,getIcon:Dt,getIconContent:Yo,getImage:Pr,getInputLabel:dS,getLoader:Xo,getPopup:pe,getProgressSteps:zt,getTimerLeft:s5,getTimerProgressBar:Ya,getTitle:po,getValidationMessage:tr,increaseTimer:l5,isDeprecatedParameter:Xh,isLoading:pS,isTimerRunning:c5,isUpdatableParameter:Yh,isValidParameter:Gh,isVisible:eE,mixin:i5,resumeTimer:ng,showLoading:ei,stopTimer:tg,toggleTimer:a5}),p5=function(){function k(u,p){c(this,k),this.callback=u,this.remaining=p,this.running=!1,this.start()}return d(k,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}},{key:"increase",value:function(p){var w=this.running;return w&&this.stop(),this.remaining+=p,w&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}]),k}(),og=["swal-title","swal-html","swal-footer"],m5=function(u){var p=typeof u.template=="string"?document.querySelector(u.template):u.template;if(!p)return{};var w=p.content;k5(w);var R=Object.assign(h5(w),g5(w),y5(w),v5(w),b5(w),w5(w),x5(w,og));return R},h5=function(u){var p={},w=Array.from(u.querySelectorAll("swal-param"));return w.forEach(function(R){vo(R,["name","value"]);var F=R.getAttribute("name"),Z=R.getAttribute("value");typeof ti[F]=="boolean"?p[F]=Z!=="false":l(ti[F])==="object"?p[F]=JSON.parse(Z):p[F]=Z}),p},g5=function(u){var p={},w=Array.from(u.querySelectorAll("swal-function-param"));return w.forEach(function(R){var F=R.getAttribute("name"),Z=R.getAttribute("value");p[F]=new Function("return ".concat(Z))()}),p},y5=function(u){var p={},w=Array.from(u.querySelectorAll("swal-button"));return w.forEach(function(R){vo(R,["type","color","aria-label"]);var F=R.getAttribute("type");p["".concat(F,"ButtonText")]=R.innerHTML,p["show".concat(be(F),"Button")]=!0,R.hasAttribute("color")&&(p["".concat(F,"ButtonColor")]=R.getAttribute("color")),R.hasAttribute("aria-label")&&(p["".concat(F,"ButtonAriaLabel")]=R.getAttribute("aria-label"))}),p},v5=function(u){var p={},w=u.querySelector("swal-image");return w&&(vo(w,["src","width","height","alt"]),w.hasAttribute("src")&&(p.imageUrl=w.getAttribute("src")),w.hasAttribute("width")&&(p.imageWidth=w.getAttribute("width")),w.hasAttribute("height")&&(p.imageHeight=w.getAttribute("height")),w.hasAttribute("alt")&&(p.imageAlt=w.getAttribute("alt"))),p},b5=function(u){var p={},w=u.querySelector("swal-icon");return w&&(vo(w,["type","color"]),w.hasAttribute("type")&&(p.icon=w.getAttribute("type")),w.hasAttribute("color")&&(p.iconColor=w.getAttribute("color")),p.iconHtml=w.innerHTML),p},w5=function(u){var p={},w=u.querySelector("swal-input");w&&(vo(w,["type","label","placeholder","value"]),p.input=w.getAttribute("type")||"text",w.hasAttribute("label")&&(p.inputLabel=w.getAttribute("label")),w.hasAttribute("placeholder")&&(p.inputPlaceholder=w.getAttribute("placeholder")),w.hasAttribute("value")&&(p.inputValue=w.getAttribute("value")));var R=Array.from(u.querySelectorAll("swal-input-option"));return R.length&&(p.inputOptions={},R.forEach(function(F){vo(F,["value"]);var Z=F.getAttribute("value"),de=F.innerHTML;p.inputOptions[Z]=de})),p},x5=function(u,p){var w={};for(var R in p){var F=p[R],Z=u.querySelector(F);Z&&(vo(Z,[]),w[F.replace(/^swal-/,"")]=Z.innerHTML.trim())}return w},k5=function(u){var p=og.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(u.children).forEach(function(w){var R=w.tagName.toLowerCase();p.includes(R)||we("Unrecognized element <".concat(R,">"))})},vo=function(u,p){Array.from(u.attributes).forEach(function(w){p.indexOf(w.name)===-1&&we(['Unrecognized attribute "'.concat(w.name,'" on <').concat(u.tagName.toLowerCase(),">."),"".concat(p.length?"Allowed attributes are: ".concat(p.join(", ")):"To set the value, use HTML within the element.")])})},ig=10,C5=function(u){var p=Re(),w=pe();typeof u.willOpen=="function"&&u.willOpen(w);var R=window.getComputedStyle(document.body),F=R.overflowY;P5(p,w,u),setTimeout(function(){E5(p,w)},ig),yd()&&(T5(p,u.scrollbarPadding,F),uE()),!Xa()&&!$.previousActiveElement&&($.previousActiveElement=document.activeElement),typeof u.didOpen=="function"&&setTimeout(function(){return u.didOpen(w)}),Dn(p,I["no-transition"])},S5=function k(u){var p=pe();if(!(u.target!==p||!yo)){var w=Re();p.removeEventListener(yo,k),w.style.overflowY="auto"}},E5=function(u,p){yo&&bh(p)?(u.style.overflowY="hidden",p.addEventListener(yo,S5)):u.style.overflowY="auto"},T5=function(u,p,w){dE(),p&&w!=="hidden"&&vE(w),setTimeout(function(){u.scrollTop=0})},P5=function(u,p,w){ye(u,w.showClass.backdrop),w.animation?(p.style.setProperty("opacity","0","important"),ut(p,"grid"),setTimeout(function(){ye(p,w.showClass.popup),p.style.removeProperty("opacity")},ig)):ut(p,"grid"),ye([document.documentElement,document.body],I.shown),w.heightAuto&&w.backdrop&&!w.toast&&ye([document.documentElement,document.body],I["height-auto"])},sg={email:function(u,p){return/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(u)?Promise.resolve():Promise.resolve(p||"Invalid email address")},url:function(u,p){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(u)?Promise.resolve():Promise.resolve(p||"Invalid URL")}};function R5(k){k.inputValidator||(k.input==="email"&&(k.inputValidator=sg.email),k.input==="url"&&(k.inputValidator=sg.url))}function N5(k){(!k.target||typeof k.target=="string"&&!document.querySelector(k.target)||typeof k.target!="string"&&!k.target.appendChild)&&(we('Target parameter is not valid, defaulting to "body"'),k.target="body")}function _5(k){R5(k),k.showLoaderOnConfirm&&!k.preConfirm&&we(`showLoaderOnConfirm is set to true, but preConfirm is not defined. +showLoaderOnConfirm should be used together with preConfirm, see usage example: +https://sweetalert2.github.io/#ajax-request`),N5(k),typeof k.title=="string"&&(k.title=k.title.split(` +`).join("
    ")),CS(k)}var $n,nl=new WeakMap,Ge=function(){function k(){if(c(this,k),j(this,nl,{writable:!0,value:void 0}),!(typeof window>"u")){$n=this;for(var u=arguments.length,p=new Array(u),w=0;w1&&arguments[1]!==void 0?arguments[1]:{};if(KE(Object.assign({},w,p)),$.currentInstance){var R=Jo.swalPromiseResolve.get($.currentInstance),F=$.currentInstance.isAwaitingPromise;$.currentInstance._destroy(),F||R({isDismissed:!0}),yd()&&Nh()}$.currentInstance=$n;var Z=O5(p,w);_5(Z),Object.freeze(Z),$.timeout&&($.timeout.stop(),delete $.timeout),clearTimeout($.restoreFocusTimeout);var de=I5($n);return Eh($n,Z),Ne.innerParams.set($n,Z),j5($n,de,Z)}},{key:"then",value:function(p){return z(this,nl).then(p)}},{key:"finally",value:function(p){return z(this,nl).finally(p)}}]),k}(),j5=function(u,p,w){return new Promise(function(R,F){var Z=function(me){u.close({isDismissed:!0,dismiss:me})};Jo.swalPromiseResolve.set(u,R),Jo.swalPromiseReject.set(u,F),p.confirmButton.onclick=function(){LE(u)},p.denyButton.onclick=function(){ME(u)},p.cancelButton.onclick=function(){DE(u,Z)},p.closeButton.onclick=function(){Z(Qo.close)},XE(w,p,Z),rE($,w,Z),TE(u,w),C5(w),A5($,w,Z),L5(p,w),setTimeout(function(){p.container.scrollTop=0})})},O5=function(u,p){var w=m5(u),R=Object.assign({},ti,p,w,u);return R.showClass=Object.assign({},ti.showClass,R.showClass),R.hideClass=Object.assign({},ti.hideClass,R.hideClass),R.animation===!1&&(R.showClass={backdrop:"swal2-noanimation"},R.hideClass={}),R},I5=function(u){var p={popup:pe(),container:Re(),actions:cs(),confirmButton:pn(),denyButton:mo(),cancelButton:nr(),loader:Xo(),closeButton:hd(),validationMessage:tr(),progressSteps:zt()};return Ne.domCache.set(u,p),p},A5=function(u,p,w){var R=Ya();St(R),p.timer&&(u.timeout=new p5(function(){w("timer"),delete u.timeout},p.timer),p.timerProgressBar&&(ut(R),mn(R,p,"timerProgressBar"),setTimeout(function(){u.timeout&&u.timeout.running&&bd(p.timer)})))},L5=function(u,p){if(!p.toast){if(!Te(p.allowEnterKey)){D5();return}M5(u,p)||Cd(-1,1)}},M5=function(u,p){return p.focusDeny&&Xt(u.denyButton)?(u.denyButton.focus(),!0):p.focusCancel&&Xt(u.cancelButton)?(u.cancelButton.focus(),!0):p.focusConfirm&&Xt(u.confirmButton)?(u.confirmButton.focus(),!0):!1},D5=function(){document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};if(typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){var ag=new Date,lg=localStorage.getItem("swal-initiation");lg?(ag.getTime()-Date.parse(lg))/(1e3*60*60*24)>3&&setTimeout(function(){document.body.style.pointerEvents="none";var k=document.createElement("audio");k.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",k.loop=!0,document.body.appendChild(k),setTimeout(function(){k.play().catch(function(){})},2500)},500):localStorage.setItem("swal-initiation","".concat(ag))}Ge.prototype.disableButtons=Hh,Ge.prototype.enableButtons=Uh,Ge.prototype.getInput=zh,Ge.prototype.disableInput=Vh,Ge.prototype.enableInput=Wh,Ge.prototype.hideLoading=el,Ge.prototype.disableLoading=el,Ge.prototype.showValidationMessage=Kh,Ge.prototype.resetValidationMessage=qh,Ge.prototype.close=Nr,Ge.prototype.closePopup=Nr,Ge.prototype.closeModal=Nr,Ge.prototype.closeToast=Nr,Ge.prototype.rejectPromise=Oh,Ge.prototype.update=Qh,Ge.prototype._destroy=Jh,Object.assign(Ge,f5),Object.keys(YE).forEach(function(k){Ge[k]=function(){if($n&&$n[k]){var u;return(u=$n)[k].apply(u,arguments)}return null}}),Ge.DismissReason=Qo,Ge.version="11.10.6";var rl=Ge;return rl.default=rl,rl}),typeof _r<"u"&&_r.Sweetalert2&&(_r.swal=_r.sweetAlert=_r.Swal=_r.SweetAlert=_r.Sweetalert2),typeof document<"u"&&function(n,r){var o=n.createElement("style");if(n.getElementsByTagName("head")[0].appendChild(o),o.styleSheet)o.styleSheet.disabled||(o.styleSheet.cssText=r);else try{o.innerHTML=r}catch{o.innerText=r}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:rgba(0,0,0,.4)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em;text-align:center}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em}div:where(.swal2-container) button:where(.swal2-close){z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) .swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:#fff}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:#facea8;color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:#9de0f6;color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:#c9dae1;color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}')})(uS);var O9=uS.exports;const I9=nu(O9);function A9(){const e=localStorage.getItem("user"),[t,n]=x.useState(!1),r=Ko();x.useEffect(()=>{t&&r(_9())},[t,r]);const o=i=>{i.preventDefault(),I9.fire({icon:"warning",title:"Are you sure!",showCancelButton:!0,confirmButtonText:"Logout",confirmButtonColor:"#951947"}).then(s=>{s.isConfirmed&&n(!0)})};return m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"flex items-center justify-between sticky z-40 top-0 w-full px-3 md:px-10 py-1 bg-gradient-to-r from-[#2d1525] to-background",children:[m.jsx(p3,{to:"/",children:m.jsx("img",{src:R9,className:"w-24",alt:""})}),e&&m.jsx("button",{onClick:o,className:"text-text bg-secondary font-bold px-3 py-1 rounded-md",children:"Logout"})]}),m.jsx("div",{className:"w-full h-[0.1px] z-40 bg-gray-800"})]})}function L9(){return m.jsxs(m.Fragment,{children:[m.jsx(A9,{}),m.jsxs(rm,{children:[m.jsx(nt,{element:m.jsx(sm,{role:"ADMIN"}),children:m.jsx(nt,{path:"/admin/*",element:m.jsx(P9,{})})}),m.jsx(nt,{path:"/*",element:m.jsx(w9,{})})]}),m.jsx(FL,{stacked:!0})]})}const M9=U7({reducer:{auth:j9,community:ZL}});jf.createRoot(document.getElementById("root")).render(m.jsx(ae.StrictMode,{children:m.jsx(B3,{store:M9,children:m.jsx(u3,{children:m.jsx(L9,{})})})}));export{se as B,z9 as F,et as G,B9 as I,p3 as L,Ii as M,ft as P,I9 as S,BO as T,R9 as a,x as b,oM as c,UA as d,U9 as e,vr as f,Ko as g,W9 as h,lm as i,m as j,om as k,_f as l,F9 as m,_r as n,nu as o,$9 as p,tj as r,Nf as s,st as t,Ji as u,H9 as v}; diff --git a/client/dist/assets/timeFormat-BEZOty4m.js b/client/dist/assets/timeFormat-BEZOty4m.js new file mode 100644 index 0000000..828e944 --- /dev/null +++ b/client/dist/assets/timeFormat-BEZOty4m.js @@ -0,0 +1 @@ +const o=t=>{const e=new Date(t),n={month:"2-digit",day:"2-digit",year:"numeric"};return e.toLocaleDateString("en-US",n)};export{o as t}; diff --git a/client/dist/icon.svg b/client/dist/icon.svg new file mode 100644 index 0000000..88251f5 --- /dev/null +++ b/client/dist/icon.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/client/dist/index.html b/client/dist/index.html new file mode 100644 index 0000000..f7c8ad0 --- /dev/null +++ b/client/dist/index.html @@ -0,0 +1,14 @@ + + + + + + + Thalia + + + + +
    + +