diff --git a/public/assets/index-DYjA7P7p.css b/public/assets/index-DYjA7P7p.css deleted file mode 100644 index 989b079..0000000 --- a/public/assets/index-DYjA7P7p.css +++ /dev/null @@ -1 +0,0 @@ -*{margin:0;padding:0;box-sizing:border-box}html{overflow-x:hidden}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media screen and (max-width: 768px){.content{padding:.7rem}}.content{padding:1.5rem;z-index:1;width:100%;min-height:100vh;display:flex;flex-direction:column;justify-content:space-between}a{font-weight:500;color:#646cff;text-decoration:inherit}body{margin:0;display:flex;place-items:center;width:100%;min-width:320px;min-height:100vh}.glassCard{padding:10px 20px;background:#ffffff8a;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);border-radius:20px;border:1px solid rgba(255,255,255,.2);box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff4d,inset 0 -1px #ffffff0d,inset 0 0 8px 4px #fff3}.glassBorder{border-radius:20px;border:none;background:#ffffff40;box-shadow:inset 1.25px 1.25px 1px #fff,inset -1.25px -1.25px 1px #fff,inset -.25px .25px 1px #0003,inset .25px -.25px 1px #0003}h1{font-size:3.2em;line-height:1.1}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}._footer_a24ek_1{width:100%;padding:1.5rem 2rem;margin-top:auto}._footerContent_a24ek_7{display:flex;flex-direction:row;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;width:100%}._footerNav_a24ek_17{display:flex;align-items:center}._link_a24ek_22{color:#000!important;text-decoration:none;font-size:.95rem;transition:color .2s ease;padding:0!important}._link_a24ek_22:hover{color:#019aff!important}._separator_a24ek_34{width:1px;height:16px;background-color:#000;margin:0 1rem}._copyright_a24ek_41{color:#000;font-size:.9rem;white-space:nowrap}._section_a24ek_47{margin-top:2rem;display:flex;flex-direction:column;gap:2rem}@media screen and (max-width: 768px){._footerContent_a24ek_7{flex-direction:column-reverse;gap:1rem;text-align:center}._footerNav_a24ek_17{flex-wrap:wrap;justify-content:center}._link_a24ek_22{margin:.5rem 1rem}._separator_a24ek_34{display:none}}._overlay_mqisg_1{position:fixed;inset:0;background-color:#00000040;display:flex;justify-content:center;z-index:1000;align-items:flex-start;overflow-y:auto;padding:40px 0}._modal_mqisg_16{padding:20px;border-radius:8px;min-width:300px;max-width:70%;max-height:none;position:relative;box-shadow:0 4px 15px #0003;width:clamp(300px,50vw,600px);border:1px solid rgba(200,200,200,.3);background:#ffffff80;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#000;outline:none}._modalFooter_mqisg_33{display:flex;align-items:center;justify-content:center;margin-top:20px}._btn_ibuap_1{padding:.2rem .8rem;width:fit-content;border-radius:20px}._btn_ibuap_1:hover{cursor:pointer;filter:brightness(.95)}._primary_ibuap_12{color:#fff;background-color:#019aff}._danger_ibuap_17{color:#fff;background-color:#ff073a}._transparent_ibuap_22{color:#019aff}._default_ibuap_26{color:#000;font-weight:700;background:#ffffffa6;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);border-radius:20px;border:1px solid rgba(255,255,255,.3);box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80,inset 0 -1px #ffffff1a,inset 0 0 8px 4px #fff6}._headerContainer_1vf8a_1{position:relative;height:fit-content;overflow:visible}._header_1vf8a_1{display:flex;align-items:center;padding:.8rem;height:fit-content;z-index:2;position:relative;justify-content:space-between}._activeHeaderContent_1vf8a_20{display:flex;justify-content:space-between;width:100%;opacity:1;transition:opacity .3s ease;pointer-events:auto}._inactiveHeaderContent_1vf8a_28,._inactiveMobileMenu_1vf8a_33{display:none}._activeMobileMenu_1vf8a_37{height:fit-content;display:flex;flex-direction:column;align-items:start;gap:.5rem}._headerLeftContent_1vf8a_48{display:flex;width:fit-content;align-items:center;gap:1.5rem;font-size:1.2rem}._headerRightContent_1vf8a_56{width:fit-content;display:flex;align-items:center}._logo_1vf8a_62{height:4rem;width:auto;flex-shrink:0}._logoLink_1vf8a_68{display:inline-flex;align-items:center;justify-content:center;width:fit-content;height:fit-content;flex-shrink:0}._link_1vf8a_78{color:#000;width:fit-content;text-align:center;font-weight:700;border-bottom:2px solid transparent}._link_1vf8a_78:hover{border-bottom:2px solid #019AFF}._activeLink_1vf8a_91{width:fit-content;text-align:center;font-weight:700;color:#019aff;border-bottom:2px solid #019AFF}._bellBtn_1vf8a_99,._profileLink_1vf8a_99{display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;transition:transform .5s ease;background:none;padding:7px;border-radius:50%;width:55px;height:55px;position:relative}._notificationsImg_1vf8a_114{stroke:#000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;height:28px}._bellBtn_1vf8a_99:focus{outline:none}._bellBtn_1vf8a_99:focus-visible{outline:2px solid black}._activeBellBtn_1vf8a_129,._bellBtn_1vf8a_99:hover,._profileLink_1vf8a_99:hover{transform:translateY(-4px);background:#bfbfbf80}._profileImg_1vf8a_147{height:40px}._notificationDiv_1vf8a_151{position:absolute;width:300px;top:105%;right:2rem;opacity:0;transform:translateY(-10px);transition:opacity .3s ease,transform .3s ease;z-index:0;max-height:60vh;overflow:scroll;scrollbar-width:none}._activeNotificationDiv_1vf8a_165{opacity:1;transform:translateY(0);z-index:5}._notification_1vf8a_114{padding:.5em 1em;display:flex;justify-content:space-between;align-items:center;border-radius:15px}._notificationBadge_1vf8a_179{position:absolute;top:6px;right:9px;width:15px;height:15px;background-color:red;border-radius:50%}._closeBtn_1vf8a_190:focus{outline:none}._closeBtn_1vf8a_190:focus-visible{outline:2px solid black}._burgerBtn_1vf8a_197{flex-direction:column;justify-content:space-between;width:30px;height:22px;border:none;cursor:pointer;display:none;z-index:10;background:none}._burgerBar_1vf8a_209{width:100%;height:3px;background-color:#000;border-radius:2px;transition:all .3s ease}._activeBurgerBtn_1vf8a_217 ._burgerBar_1vf8a_209:nth-child(1){transform:translateY(10px) rotate(45deg)}._activeBurgerBtn_1vf8a_217 ._burgerBar_1vf8a_209:nth-child(2){opacity:0}._activeBurgerBtn_1vf8a_217 ._burgerBar_1vf8a_209:nth-child(3){transform:translateY(-9px) rotate(-45deg)}._navLinks_1vf8a_228{display:flex;align-items:center;justify-content:center;gap:1rem}@media screen and (max-width: 768px){._navLinks_1vf8a_228{display:none}._burgerBtn_1vf8a_197{display:flex}}._notificationCard_1o9nk_1{padding:1.25rem;display:flex;flex-direction:column;gap:.75rem;border-bottom:1px solid rgba(0,0,0,.08);transition:background .2s ease}._cardHeader_1o9nk_10{display:flex;justify-content:space-between;align-items:center}._timeTag_1o9nk_16{color:#019aff;letter-spacing:.2px}._message_1o9nk_21{margin:0;font-size:1.1rem;line-height:1.5;color:#2c3e50;font-weight:400}._closeIconButton_1o9nk_29{background:none;border:none;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1.1rem;color:#2c3e50}._closeIconButton_1o9nk_29:hover{color:#c00}._backgroundContainer_1gf63_1{z-index:0;margin:0;padding:0;min-height:100vh;overflow:hidden;position:relative;width:100vw;display:flex;justify-content:center;align-items:center}._backgroundLight_1gf63_14{background:#00f0ff}._backgroundDark_1gf63_18{background:#001c83}._circle_1gf63_22{position:absolute;border-radius:50%;opacity:.8;z-index:1}._circle-1_1gf63_29{width:600px;height:600px;background-color:#019aff;top:-10%;left:-10%}._circle-2_1gf63_37{width:250px;height:250px;background-color:#91fcff;top:51%;left:10%}._circle-3_1gf63_45{width:280px;height:280px;background-color:#91fcff;top:28%;right:9%}._circle-4_1gf63_53{width:500px;height:500px;background-color:#019aff;bottom:0;right:0}._circle-5_1gf63_61{width:240px;height:240px;background-color:#015aff;top:2%;right:2%}._circle-1_1gf63_29,._circle-2_1gf63_37,._circle-3_1gf63_45,._circle-4_1gf63_53,._circle-5_1gf63_61,._circle_1gf63_22{animation:_float_1gf63_1 6s ease-in-out infinite}@keyframes _float_1gf63_1{0%,to{transform:translate(0)}50%{transform:translate(var(--random-x),var(--random-y))}}@media (max-width:600px){._circle-1_1gf63_29{width:300px;height:300px;top:-5%;left:-5%}._circle-2_1gf63_37{width:175px;height:175px;top:58%;left:10%}._circle-3_1gf63_45{width:140px;height:140px;top:29%;right:9%}._circle-4_1gf63_53{width:250px;height:250px;bottom:0;right:0}._circle-5_1gf63_61{width:240px;height:240px;top:2%;right:10%}}._allContent_l4uvy_1{display:flex;flex-direction:row;justify-content:center;gap:80px}@media (max-width: 768px){._allContent_l4uvy_1{display:flex;flex-direction:column;gap:0}}._calendarContainer_16ers_1{padding:20px;display:flex;flex-direction:column;align-items:center}._calendarHeader_16ers_8{display:flex;width:100%;flex-direction:row;justify-content:space-between;align-items:center;gap:10px}._calendarHeader_16ers_8 p{width:auto;text-align:center;font-weight:700;font-size:40px}._calendarHeader_16ers_8 button{top:50%;left:50%;width:40px;height:40px;border-radius:50%;border:none;background:transparent;box-shadow:inset 1.25px 1.25px 1px #fff,inset -1.25px -1.25px 1px #fff,inset -.25px .25px 1px #0003,inset .25px -.25px 1px #0003;font-size:15px;color:#019aff;cursor:pointer}._calendar_16ers_1{border-collapse:collapse;width:80%;max-width:500px}._calendar_16ers_1 th,._calendar_16ers_1 td{border:none;padding:10px;width:14.2%;line-height:130%;text-align:center;cursor:pointer}._today_16ers_57{color:#007bff}._hasEvent_16ers_61{position:relative}._hasEvent_16ers_61:before{content:"";position:absolute;left:50%;bottom:10px;width:20px;height:2px;background-color:#007bff;transform:translate(-50%);border-radius:10px}._hasEvent_16ers_61._selected_16ers_77:before{width:25px;height:2px;bottom:10px}._selected_16ers_77{position:relative;font-size:18px;font-weight:600}._selected_16ers_77:after{content:"";position:absolute;top:50%;left:50%;width:40px;height:40px;transform:translate(-50%,-50%);border-radius:38%;pointer-events:none;background:transparent;box-shadow:inset 1.25px 1.25px 1px #fff,inset -1.25px -1.25px 1px #fff,inset -.25px .25px 1px #0003,inset .25px -.25px 1px #0003}._eventBox_16ers_107{width:100%;padding:15px;margin-top:16px}._eventBox_16ers_107 ul{list-style:none}._eventGroup_16ers_117{border-radius:20px;padding:15px;margin-top:16px;border:none;background:#ffffff40;box-shadow:inset 1.25px 1.25px 1px #fff,inset -1.25px -1.25px 1px #fff,inset -.25px .25px 1px #0003,inset .25px -.25px 1px #0003}._glassCard_16ers_130{width:45%;max-height:79vh;margin:16px 0;padding:10px 20px;height:fit-content;background:#ffffffa6;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);border-radius:20px;border:1px solid rgba(255,255,255,.3);box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80,inset 0 -1px #ffffff1a,inset 0 0 8px 4px #fff6;overflow:scroll}._glassCard_16ers_130::-webkit-scrollbar{display:none}@media (max-width: 768px){._glassCard_16ers_130{width:100%;margin-top:16px;margin-bottom:16px;max-height:450px}._calendarContainer_16ers_1{padding:20px;display:flex;flex-direction:column;align-items:center}}._glassCard_yq5ms_1{width:45%;max-height:79vh;margin:16px 0;padding:10px 20px;height:fit-content;background:#ffffffa6;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);border-radius:20px;border:1px solid rgba(255,255,255,.3);box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80,inset 0 -1px #ffffff1a,inset 0 0 8px 4px #fff6;overflow:scroll}._glassCard_yq5ms_1::-webkit-scrollbar{display:none}._allContent_yq5ms_23{display:flex;flex-direction:row;justify-content:center;gap:76px}._eventList_yq5ms_30{list-style:none;padding:0;margin:0}._eventDetails_yq5ms_36{margin-top:10px;padding:0}._dateSelected_yq5ms_41{font-size:100px}h2{font-size:30px;display:flex;justify-content:center}._eventGroup_yq5ms_51{margin:16px 0;padding:10px 20px}._eventGroup_yq5ms_51:hover{cursor:pointer}._eventTitle_yq5ms_60{display:flex;flex-direction:row;justify-content:space-between}._title_yq5ms_66{font-weight:700}._eventTasks_yq5ms_70{display:flex;flex-direction:row;justify-content:space-between}@media (max-width: 768px){._glassCard_yq5ms_1{width:100%;margin-top:16px;margin-bottom:16px;max-height:450px;display:flex;flex-direction:column}}._container_27624_1{position:relative;z-index:9999;touch-action:manipulation;display:flex;flex-direction:column;align-items:center;justify-content:center;width:90%;max-width:420px;padding:20px;border-radius:14px;margin:auto}._title_27624_35{font-size:1.8rem;color:#fff;text-align:center;margin-bottom:20px;text-shadow:0 2px 8px rgba(0,0,0,.3)}@media (min-width: 600px){._container_27624_1{max-width:460px;padding:24px}._title_27624_35{font-size:2.2rem}}@media (min-width: 1024px){._container_27624_1{max-width:600px;padding:32px}._title_27624_35{font-size:2.6rem}}input{width:100%;height:60px;padding:0 10px;border:none;border-radius:10px;font-size:19px;color:#111;background:var(--glass-bg);box-shadow:0 2px 6px #5b5a5a0f inset}input::placeholder{font-size:20px;color:#00000073}._formgroup_bybvf_22{margin-top:23px}._logButton_bybvf_26{display:flex;justify-content:center;flex-direction:column;align-items:center;margin-top:12px}._inputContainer_bybvf_34{padding:15px;width:100%}._loginButton_bybvf_39{display:inline-block;height:50px;width:90%;border-radius:16px;margin-bottom:3%;margin-top:3%;background-color:#fff5;color:#000;font-weight:600;border:none;cursor:pointer;transition:background-color .16s ease,transform .12s ease,box-shadow .16s ease;font-size:15px}._loginButton_bybvf_39:hover{background-color:#54585e;transform:translateY(-2px);box-shadow:0 6px 14px #2b6cb02e}._loginButton_bybvf_39:active{transform:translateY(0);box-shadow:0 3px 8px #2b6cb01f}._input_1f0ls_1{border:1px solid rgba(200,200,200,.3);background:#ffffff4d;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#000;font-size:16px;outline:none;transition:all .3s ease;width:fit-content;padding:8px 10px;height:fit-content}._input_1f0ls_1::placeholder{color:#00000080}._input_1f0ls_1:focus{border-color:#c8c8c899;box-shadow:0 4px 30px #fff3;background:#ffffff61}._rounded_1f0ls_25{border-radius:25px}._square_1f0ls_29{border-radius:12px}._passwordContainer_1f0ls_33{position:relative;width:100%}._passwordInput_1f0ls_38{width:100%}._passwordBtn_1f0ls_42{position:absolute;width:30px;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;font-size:16px}._container_zjxd2_1{position:relative;z-index:9999;touch-action:manipulation;display:flex;flex-direction:column;align-items:center;justify-content:center;width:90%;max-width:420px;padding:20px;border-radius:14px;margin:auto}._title_zjxd2_17{font-size:1.8rem;color:#fff;text-align:center;margin-bottom:20px;text-shadow:0 2px 8px rgba(0,0,0,.3)}.glassCard{--glass-bg: #ffffff9f}._inputContainer_zjxd2_29{width:100%;padding:16px}._formGroup_zjxd2_35{margin-top:18px}._logButton_zjxd2_39{display:flex;flex-direction:column;gap:10px;align-items:center;margin-top:20px}._logButton_zjxd2_39 button{width:100%}@media (min-width: 600px){._container_zjxd2_1{max-width:480px;padding:24px}._title_zjxd2_17{font-size:2.2rem}._inputContainer_zjxd2_29{padding:20px}}@media (min-width: 1024px){._container_zjxd2_1{max-width:600px;padding:32px}._title_zjxd2_17{font-size:2.6rem}._logButton_zjxd2_39{flex-direction:row;justify-content:space-between}._logButton_zjxd2_39 button{width:auto;min-width:180px}}h1{overflow:visible;text-align:center}._container_v3y57_1{width:100%;position:relative;padding:10px}._userName_v3y57_6{display:flex;gap:5px;font-weight:700;font-size:1rem;overflow:hidden}._firstName_v3y57_14{white-space:nowrap;flex-shrink:0}._lastName_v3y57_19{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:1;max-width:100px}._usersList_v3y57_27{display:flex;flex-direction:column;align-items:center;gap:10px}._profileboard_v3y57_33{width:100%;max-width:380px;display:flex;flex-direction:column;gap:10px;box-sizing:border-box;margin:1rem 0;padding:12px 10px;border-radius:12px}._header_v3y57_44{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}._header_v3y57_44 h2{margin:0;font-size:1rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70%}._expandButton_v3y57_61{width:30px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:transparent;border:none;font-size:16px}._moreButtonClicked_v3y57_73{transform:rotate(90deg)}._mainContent_v3y57_77{display:flex;flex-direction:column;width:100%}._basicInfo_v3y57_82{flex:1}._expandedContent_v3y57_85{display:flex;flex-direction:column;width:100%;gap:10px}._textInfo_v3y57_91{display:flex;flex-direction:column;flex:1}._contactInfo_v3y57_96{margin-top:8px}._contactInfo_v3y57_96 p{margin:4px 0;font-size:.9rem}._bottomBar_v3y57_103{display:flex;justify-content:flex-end;margin-top:10px}._profilePictureContainer_v3y57_108{width:100px;height:100px;margin-bottom:10px}._profilePicture_v3y57_108{width:100%;height:100%;border-radius:50%;object-fit:cover}@keyframes _slideInMember_v3y57_1{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media screen and (min-width: 768px){._profileboard_v3y57_33{max-width:600px;padding:16px 12px}._header_v3y57_44 h2{font-size:1.2rem;max-width:75%}._profilePictureContainer_v3y57_108{width:150px;height:150px;margin-right:15px}._expandedContent_v3y57_85{flex-direction:row;gap:15px}}@media screen and (min-width: 1024px){._container_v3y57_1{padding:20px}._usersList_v3y57_27{gap:20px}._profileboard_v3y57_33{max-width:700px;padding:20px;flex-direction:column}._header_v3y57_44 h2{font-size:1.4rem;max-width:80%}._expandedContent_v3y57_85{flex-direction:row;gap:20px}._profilePictureContainer_v3y57_108{width:200px;height:auto}._contactInfo_v3y57_96 p{font-size:1rem}}._eventsButtons_q81e3_1{overflow:visible;position:fixed;top:10rem;right:2rem;display:flex;flex-direction:column;align-items:flex-end;width:fit-content;height:fit-content;gap:1rem;z-index:4}._filterContainer_q81e3_16{padding:0;border-radius:30px;overflow:visible;display:flex;align-items:center;flex-direction:column}._filterMenu_q81e3_25{padding:5px;width:fit-content}._createButton_q81e3_30,._searchButton_q81e3_30,._sortButton_q81e3_30{display:flex;align-items:center;justify-content:center;border:none;border-radius:50%!important;width:55px!important;height:55px!important;transition:all .5s ease}._createButton_q81e3_30:hover,._searchButton_q81e3_30:hover,._mobileFilter_q81e3_41:hover{transform:translateY(-5px);cursor:pointer}._searchBarOverlay_q81e3_47{position:fixed;top:0;left:0;width:100%;height:100%;z-index:100;background-color:#0000004d;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}._searchBarContainer_q81e3_57{display:flex;justify-content:center}._sortButton_q81e3_30:focus,._searchButton_q81e3_30:focus{outline:none}@media screen and (max-width: 768px){._createButton_q81e3_30,._searchButton_q81e3_30,._sortButton_q81e3_30{flex:0 0 55px;width:55px!important;height:55px!important}._eventsButtons_q81e3_1{flex-direction:row;position:relative;top:0;right:0;align-items:flex-start;width:100%;margin-top:16px}._filterContainer_q81e3_16{width:fit-content;flex-direction:row}._filterMenu_q81e3_25{width:fit-content}._createButton_q81e3_30:hover,._searchButton_q81e3_30:hover,._mobileFilter_q81e3_41:hover{transform:none!important}}._filterContainer_1kce1_1{display:flex;flex-direction:column;gap:.4rem;overflow:hidden;max-height:0;opacity:0;transition:max-height .5s ease,opacity .8s ease,transform .5s ease}._filterOpen_1kce1_11{max-height:200px;opacity:1;transform:translateY(0)}._filterClose_1kce1_17{max-height:200px;opacity:0;display:none}._filterTag_1kce1_24{border:none;background:none;display:flex;align-items:center;justify-content:center;border-radius:50%;width:45px;height:45px}._filterTag_1kce1_24:focus{outline:none}._filterTag_1kce1_24:hover{cursor:pointer}._active_1kce1_45{border:2px solid #019AFF}@media screen and (max-width: 768px){._filterContainer_1kce1_1{flex-direction:row;flex-wrap:wrap}._filterOpen_1kce1_11{display:flex}._filterClose_1kce1_17{display:none}._filterMenu_1kce1_62{width:100%}abbr{width:fit-content}}._searchBarContainer_1g2jl_1{position:fixed;top:4rem;z-index:100;width:60%;background:#fff;padding:.5rem}._searchBarForm_1g2jl_10{display:flex}._elementList_1g2jl_14{max-height:60vh;overflow-y:auto}._eventImageDiv_1g2jl_21{display:flex;align-items:center;justify-content:center;margin-right:1rem;width:auto;height:2rem;flex-shrink:0}._searchedEvent_1g2jl_31{display:flex;padding:.5rem;align-items:center}._searchedEvent_1g2jl_31:hover{background:#afafaf;cursor:pointer}._searchedEvent_1g2jl_31 p{display:flex;align-items:center;text-decoration:none;color:#000}._lineContainer_1g2jl_50{display:flex;justify-content:center;align-items:center}._line_1g2jl_50{height:0;width:96%;border:#606060 solid 1px;margin:.5rem 0}._eventImage_1g2jl_21{max-width:100%;max-height:100%;object-fit:contain;border-radius:20px}._searchBarForm_1g2jl_10 input{background:none;box-shadow:none;height:2em}._searchBarForm_1g2jl_10 input:focus{outline:none}@media screen and (max-width: 480px){._searchBarContainer_1g2jl_1{width:80%}}._createButton_yh4gy_1{font-size:1.5rem;color:#000}._createButton_yh4gy_1{display:flex;align-items:center;justify-content:center;border:none;border-radius:50%!important;width:55px!important;height:55px!important;transition:all .5s ease}._createButton_yh4gy_1:hover{transform:translateY(-5px);cursor:pointer}._inputContainer_yh4gy_22{margin:1em;display:flex;flex-direction:column;align-items:center;justify-content:center}._inputContainer_yh4gy_22 h2{margin-bottom:.5rem}._input_yh4gy_22{width:70%}._create_yh4gy_1{align-self:center}._section_yh4gy_43{display:flex;flex-direction:column;gap:10px;margin-top:15px;margin-bottom:15px}._dateInputContainer_yh4gy_51{display:flex;flex-direction:row;justify-content:space-evenly}._dateInput_yh4gy_51{margin:1em}@media screen and (max-width: 760px){._dateInputContainer_yh4gy_51{flex-direction:column}}._container_rz0s3_1{width:100%;padding:12px;box-sizing:border-box}._profileboard_rz0s3_6{width:100%;padding:16px;border-radius:20px;box-sizing:border-box}._contentWrapper_rz0s3_13{display:flex;flex-direction:column;align-items:center;width:100%}._profilePictureContainer_rz0s3_20{width:120px;height:120px;margin-bottom:16px}._profilePicture_rz0s3_20{width:100%;height:100%;border-radius:50%;object-fit:cover}._description_rz0s3_33{width:100%;text-align:left}._headerProfile_rz0s3_38{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}._description_rz0s3_33 h2{font-size:1.6rem;margin-bottom:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._description_rz0s3_33 button{width:44px;height:44px;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;padding:0;background:transparent;border:none;cursor:pointer}._modifyIcon_rz0s3_67{width:22px;height:22px;display:block;margin:0}._topDescription_rz0s3_74{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}._infoBlock_rz0s3_81{width:100%;padding:12px}._eventTasks_rz0s3_86{max-height:0;overflow:hidden;transition:max-height .3s ease,opacity .2s ease;opacity:0;padding-left:16px}._eventTasks_rz0s3_86._expanded_rz0s3_94{max-height:500px;opacity:1;margin-top:10px}@media (min-width: 768px){._contentWrapper_rz0s3_13{flex-direction:row;align-items:flex-start}._profilePictureContainer_rz0s3_20{width:150px;height:150px;margin-right:24px;margin-bottom:0}._description_rz0s3_33{width:calc(100% - 180px)}._topDescription_rz0s3_74{flex-direction:row;justify-content:space-between}._infoBlock_rz0s3_81{width:48%}._description_rz0s3_33 h2{font-size:1.8rem}}@media (min-width: 1024px){._container_rz0s3_1{max-width:1200px;margin:0 auto;padding:24px}._profileboard_rz0s3_6{padding:28px}._profilePictureContainer_rz0s3_20{width:180px;height:180px}._description_rz0s3_33{width:calc(100% - 220px)}._description_rz0s3_33 h2{font-size:2rem}}._task_1vyft_1{width:100%;padding:12px;margin-bottom:10px;border-radius:8px}._content_1vyft_8{display:flex;justify-content:space-between;flex-direction:column}._desc_1vyft_14{font-size:.8rem;color:#666;margin:0}._date_1vyft_20{font-size:.8rem}._content_1bkvb_1{width:100%;padding:16px;display:flex;flex-direction:column;gap:20px}._modifyIcon_1bkvb_9{height:28px;width:28px}._section_1bkvb_14{display:flex;flex-direction:column;gap:12px;margin-top:10px}._section_1bkvb_14 h3{font-size:1.1rem;margin-bottom:5px}._section_1bkvb_14 h4{font-size:.95rem;font-weight:500}._submitBtn_1bkvb_31{width:100%;margin-top:15px}._section_1bkvb_14 button{width:100%}@media (min-width: 600px){._content_1bkvb_1{padding:24px}._section_1bkvb_14 h3{font-size:1.2rem}._submitBtn_1bkvb_31{width:auto;align-self:center;min-width:200px}._section_1bkvb_14 button{width:fit-content}}@media (min-width: 900px){._content_1bkvb_1{padding:30px;gap:30px}._section_1bkvb_14{gap:14px}._modifyIcon_1bkvb_9{height:30px;width:30px}}._themeBtn_1wz4m_1{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px}._themeIcon_1wz4m_9{height:20px;width:20px}._eventContainer_1hqt4_1{display:flex;flex-direction:column;margin:1rem 0;width:80%;padding:1rem .5rem}._eventContainerTop_1hqt4_9{display:flex;justify-content:space-between}._eventContainerBottom_1hqt4_14{display:flex;align-items:center;justify-content:end}._moreLink_1hqt4_20{width:fit-content}._eventImageDiv_1hqt4_24{display:flex;align-items:center;justify-content:center;margin-right:1rem;width:auto;height:6rem;flex-shrink:0}._eventImage_1hqt4_24{max-width:100%;max-height:100%;object-fit:contain;border-radius:20px}._eventContent_1hqt4_42{display:flex;width:100%}._eventTitle_1hqt4_47{font-size:2rem}._eventButtons_1hqt4_51{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;width:fit-content;overflow:visible}._eventButtons_1hqt4_51 a{white-space:nowrap}._moreButton_1hqt4_64{background:none;border:none;color:#019aff;font-size:1.5rem;transition:all .2s ease;cursor:pointer;border-radius:50%;width:55px;height:55px}._moreButton_1hqt4_64:hover{font-size:2rem;background:#bfbfbf80}._moreButton_1hqt4_64:focus{outline:none}._moreButton_1hqt4_64:focus-visible{outline:2px solid black}._moreButtonClicked_1hqt4_88{rotate:90deg}._eventMenuOpen_1hqt4_92{display:flex;flex-direction:column;margin-left:1.5em}._eventMenuClose_1hqt4_98{display:none}@media screen and (max-width: 768px){._eventImage_1hqt4_24{width:100%;height:auto;display:block;object-fit:cover;border-bottom-right-radius:0;border-bottom-left-radius:0}._eventContainer_1hqt4_1{padding:0}._eventImageDiv_1hqt4_24{margin:0}._eventContent_1hqt4_42{flex-direction:column}._eventInfos_1hqt4_124,._eventContainerBottom_1hqt4_14{padding:10px}}._eventsContainer_1yjhn_1{width:100%;position:relative;padding:10px;box-sizing:border-box}._eventsList_1yjhn_8{display:flex;flex-direction:column;align-items:center;gap:10px}._eventCard_1yjhn_15{width:100%;max-width:360px;padding:12px 10px;border-radius:12px;box-sizing:border-box;display:flex;flex-direction:column;background-color:#fffc;box-shadow:0 2px 8px #0000001a}._eventCard_1yjhn_15 h3{margin:0 0 5px;font-size:1rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._eventCard_1yjhn_15 p{margin:0;font-size:.9rem;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._eventImage_1yjhn_43{width:100%;height:120px;object-fit:cover;border-radius:8px;margin-bottom:8px}@media screen and (min-width: 768px){._eventCard_1yjhn_15{max-width:600px;padding:16px 12px}._eventCard_1yjhn_15 h3{font-size:1.2rem;white-space:normal;overflow:visible;text-overflow:clip}._eventCard_1yjhn_15 p{font-size:1rem;white-space:normal;overflow:visible;text-overflow:clip}}@media screen and (min-width: 1024px){._eventsContainer_1yjhn_1{padding:20px}._eventsList_1yjhn_8{gap:20px}._eventCard_1yjhn_15{max-width:700px;padding:20px}._eventCard_1yjhn_15 h3{font-size:1.4rem}._eventCard_1yjhn_15 p{font-size:1.1rem}._eventImage_1yjhn_43{height:180px}}._container_17f2p_1{display:flex;flex-direction:row;width:100%;padding:20px;box-sizing:border-box;gap:20px}._rightSection_17f2p_9{width:60%;display:flex;flex-direction:column;gap:20px}@media screen and (max-width: 760px){._container_17f2p_1{flex-direction:column;width:100%;padding:0;margin-top:25px}._rightSection_17f2p_9{width:100%;margin:0 0 25px}}._leftBlock_c45g9_1{width:40%;display:flex;flex-direction:column;align-items:center;height:100%;min-height:calc(100vh - 260px);box-sizing:border-box;padding:20px;margin:0}._participationHeader_c45g9_13{display:flex;align-items:center;width:100%;margin-bottom:10px}._partiText_c45g9_20{display:flex;width:100%;flex-direction:column;align-items:center;justify-content:center;margin-bottom:2%;margin-top:2%;animation:_slideInEvent_c45g9_1 2s}._partiText_c45g9_20 label{font-size:20px;text-align:center;transition:all .3s ease;width:100%}._chartContainer_c45g9_37{width:80%;max-width:400px;height:auto;aspect-ratio:1/1;margin:0 auto;position:relative;animation:_slideEvent2_c45g9_1 2s}._chartWrapper_c45g9_47{position:relative;width:100%;height:100%;display:flex;justify-content:center}._chartPercentage_c45g9_55{position:absolute;top:50%;left:50%;text-align:center;transform:translate(-50%,-50%);font-size:60px;font-weight:700;color:#333}._formControl_c45g9_66{display:flex;justify-content:center;width:100%;margin-top:10px}._formDesign_c45g9_73{margin:0 auto;width:fit-content}._selectRoot_c45g9_78{width:100px;height:35px;font-size:19px;border:none}._selectRoot_c45g9_78 ._MuiOutlinedInput-notchedOutline_c45g9_85{border:none}._selectRoot_c45g9_78 ._MuiSelect-select_c45g9_89{padding:8px 24px 8px 8px}._selectRoot_c45g9_78 ._MuiSvgIcon-root_c45g9_94{font-size:20px}._selectRoot_c45g9_78 ._MuiMenu-paper_c45g9_98{border-radius:7px;width:100px;max-width:100px}._selectRoot_c45g9_78 ._MuiMenuItem-root_c45g9_104{font-size:18px}._selectMenuPaper_c45g9_108{border-radius:7px;width:100px;max-width:120px;max-height:300px;overflow-y:auto;border:none}._selectMenuItem_c45g9_117{font-size:18px;min-height:40px;display:flex;align-items:center}@keyframes _slideEvent2_c45g9_1{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes _slideInEvent_c45g9_1{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@media screen and (max-width: 760px){._leftBlock_c45g9_1{width:100%;height:auto;min-height:auto}._chartContainer_c45g9_37{width:90%;max-width:300px;height:auto;aspect-ratio:1/1}._partiText_c45g9_20 label{font-size:18px}._chartPercentage_c45g9_55{font-size:48px}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent;border-radius:10px}::-webkit-scrollbar-thumb{background:#6464644d;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#64646480}._rightBlock_k1jyg_1{width:100%}._rightBlock_k1jyg_1>h2{font-size:29px}._eventsContainer_k1jyg_9{display:flex;flex-direction:row;gap:10px;margin-top:5px;overflow-x:auto;overflow-y:hidden;padding-bottom:10px;scroll-behavior:smooth}._eventCard_k1jyg_20{min-width:calc((100% - 20px) / 3);max-width:calc((100% - 20px) / 3);min-height:250px;max-height:250px;overflow-y:auto;text-align:center;box-sizing:border-box;opacity:0;transform:translate(20px);animation:_slideInEvent_k1jyg_1 1s ease forwards;flex-shrink:0}._eventCard_k1jyg_20 ul{align-items:center;margin-left:8%;padding-left:15px}._eventCard_k1jyg_20 ul li{text-align:left;list-style-type:circle}._eventCard_k1jyg_20>h3{font-size:24px}._eventCard_k1jyg_20:nth-child(1){animation-delay:0s}._eventCard_k1jyg_20:nth-child(2){animation-delay:.1s}._eventCard_k1jyg_20:nth-child(3){animation-delay:.2s}._eventCard_k1jyg_20:nth-child(4){animation-delay:.3s}._eventCard_k1jyg_20:nth-child(5){animation-delay:.4s}._eventCard_k1jyg_20:nth-child(6){animation-delay:.5s}._emptyEvent_k1jyg_57{min-width:calc((100% - 20px) / 3);max-width:calc((100% - 20px) / 3);min-height:250px;max-height:250px;padding:10px;text-align:center;box-sizing:border-box;display:flex;justify-content:center;align-items:center;opacity:1;flex-shrink:0}@keyframes _slideInEvent_k1jyg_1{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@media screen and (max-width: 760px){._eventCard_k1jyg_20{min-width:100%;min-height:200px;max-height:fit-content;padding-bottom:0}._eventCard_k1jyg_20 h3{font-size:17px}._eventsContainer_k1jyg_9{flex-direction:column;max-height:300px;margin-top:15px;height:fit-content;overflow-y:auto;padding-bottom:0}._rightBlock_k1jyg_1>h2{font-size:18px}._emptyEvent_k1jyg_57{min-width:100%;min-height:200px;max-height:fit-content}}._rightBlock_scril_1{width:100%}._rightBlock_scril_1>h2{font-size:29px}._membersContainer_scril_9{display:flex;flex-direction:column;gap:10px;margin-top:20px;max-height:185px;overflow-y:auto;padding-right:5px;scroll-behavior:smooth}._memberCard_scril_20{display:flex;justify-content:space-between;align-items:center;padding:10px;flex-shrink:0;opacity:0;transform:translateY(20px);animation:_slideInMember_scril_1 .5s ease forwards}._memberCard_scril_20:nth-child(1){animation-delay:0s}._memberCard_scril_20:nth-child(2){animation-delay:.1s}._memberCard_scril_20:nth-child(3){animation-delay:.2s}._memberCard_scril_20 p{font-weight:700;font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:250px}._buttonGroup_scril_44{display:flex;gap:10px;justify-content:right}@keyframes _slideInMember_scril_1{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media screen and (max-width: 760px){._membersContainer_scril_9{max-height:200px}._rightBlock_scril_1>h2{font-size:18px}._memberCard_scril_20 p{font-size:15px;max-width:150px}}@media screen and (min-width: 761px){._memberCard_scril_20 p{white-space:normal;overflow:visible;text-overflow:clip;max-width:none}}._title_zo6o4_1{color:#fff;font-size:xx-large;margin-bottom:20px}._content_zo6o4_7{display:flex;flex-direction:column;z-index:2;padding:10px}._container_zo6o4_14{padding:20px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px}._container_zo6o4_14 p{font-size:large}._container_1vjv0_1{width:100%;padding:10px;box-sizing:border-box}._profileboard_1vjv0_7{width:100%;padding:15px;border-radius:20px;box-sizing:border-box}._contentWrapper_1vjv0_14{display:flex;flex-direction:column;align-items:center;width:100%}._profilePictureContainer_1vjv0_21{width:120px;height:120px;margin-bottom:15px}._profilePicture_1vjv0_21{width:100%;height:100%;border-radius:50%;object-fit:cover}._description_1vjv0_34{width:100%;text-align:left;margin-left:4%}._topDescription_1vjv0_40{display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:15px}._infoBlock_1vjv0_48{width:100%;background:#ffffff1a;padding:10px;border-radius:5px}._eventTasks_1vjv0_55{max-height:0;overflow:hidden;transition:max-height .3s ease-out,opacity .2s ease;opacity:0;padding-left:20px}._eventTasks_1vjv0_55._expanded_1vjv0_63{max-height:500px;opacity:1;margin-top:10px}._description_1vjv0_34 h2{font-size:30px}._profilePicture_1vjv0_21{width:90%}._settingsBtns_1vjv0_76{display:flex;gap:5px;justify-content:right}@media screen and (min-width: 768px){._contentWrapper_1vjv0_14{flex-direction:row;justify-content:flex-start;align-items:flex-start}._profilePictureContainer_1vjv0_21{width:150px;height:150px;margin-right:20px;margin-bottom:0}._description_1vjv0_34{width:calc(100% - 170px);margin-left:4%}._topDescription_1vjv0_40{flex-direction:row;justify-content:space-between}._infoBlock_1vjv0_48{width:48%}._event_1vjv0_55{padding:15px}._description_1vjv0_34 h2{font-size:30px}._profilePicture_1vjv0_21{width:90%}}._description_1vjv0_34 button{width:50px;height:50px}._headerProfile_1vjv0_126{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:20px}@media screen and (min-width: 1024px){._container_1vjv0_1{max-width:100%;margin:0 auto;padding:20px}._profileboard_1vjv0_7{padding:25px}._profilePictureContainer_1vjv0_21{width:30%;height:auto}._profilePicture_1vjv0_21{width:90%}._description_1vjv0_34{width:calc(100% - 200px);margin-left:4%}._event_1vjv0_55{padding:18px}._description_1vjv0_34 h2{font-size:30px}}._icon_gtlpf_1{width:24px}._manageBtn_gtlpf_5{display:flex;flex-direction:row}._manageSection_gtlpf_10{display:flex;flex-direction:column;gap:8px;margin:1.5em}._manageBlockContent_gtlpf_17{margin:.5em}._modifyRole_gtlpf_21{display:flex;flex-direction:row;justify-content:space-evenly;align-items:center}._select_gtlpf_28{width:70%;padding:10px 14px;font-size:14px;font-weight:500;color:#1d1d1f;background-color:#fff;border:1px solid #d2d2d7;border-radius:10px;appearance:none;-webkit-appearance:none;-moz-appearance:none}._modalContent_gtlpf_45{text-align:center}._title_thj4b_1{color:#fff;font-size:xx-large;margin-bottom:20px}._content_thj4b_7{display:flex;flex-direction:column;z-index:2;padding:10px}._container_thj4b_14{padding:20px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px}._container_thj4b_14 p{font-size:large}._redirectSpan_thj4b_26{color:#00f;text-decoration:underline}._redirectSpan_thj4b_26:hover{cursor:pointer}._allContent_193nd_1{margin:16px 0;align-self:center;width:90%}._textImage_193nd_8{display:flex;gap:24px}._eventImage_193nd_13{width:40%;aspect-ratio:16 / 9;background-color:#e0e0e0;border-radius:16px;flex-shrink:0}._eventInfo_193nd_21{flex:1;min-width:0;overflow-wrap:break-word}._eventInfo_193nd_21 p{white-space:normal;overflow-wrap:break-word}._eventImage_193nd_13{width:40%;height:100%;aspect-ratio:16 / 9;background-color:#e0e0e0;border-radius:16px;flex-shrink:0}._registerButton_193nd_41:hover{opacity:.85}._tasks_193nd_45{list-style:none;padding:0}._eventContent_193nd_50{display:flex;justify-content:space-between}._manageBtn_193nd_55{height:fit-content}._modalContent_193nd_59{display:flex;flex-direction:column;align-items:center;gap:24px}._manageEvent_193nd_66{display:flex;flex-direction:row;gap:10px}@media screen and (max-width: 768px){._eventContent_193nd_50,._textImage_193nd_8{flex-direction:column}._manageEvent_193nd_66{justify-content:center}._eventImage_193nd_13{width:100%}}._task_rg8ue_1{display:flex;align-items:center;justify-content:space-between;gap:16px}._taskDate_rg8ue_8{opacity:.5}._content_rg8ue_12{margin:16px 0;padding:10px 20px;border-radius:20px;border:none;background:transparent;box-shadow:inset 1.25px 1.25px 1px #fff,inset -1.25px -1.25px 1px #fff,inset -.25px .25px 1px #0003,inset .25px -.25px 1px #0003;opacity:0;animation:_fadeInUp_rg8ue_1 .6s ease-out forwards;animation-delay:calc(var(--i) * .1s)}._modalContent_rg8ue_28{text-align:center}@keyframes _fadeInUp_rg8ue_1{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media screen and (max-width: 768px){._task_rg8ue_1{flex-direction:column}}._h2_aibqo_1{justify-content:left}._section_aibqo_5{margin:2rem 0}._section_aibqo_5 ul{padding:0 2em}._legalNotices_aibqo_14{margin:16px 2em}._h2_11j61_1{justify-content:left}._section_11j61_5{margin:2rem 0}._section_11j61_5 ul{padding:0 2em}._RGPD_11j61_13{margin:16px 2em} diff --git a/public/assets/index-cYGdr2ka.js b/public/assets/index-cYGdr2ka.js deleted file mode 100644 index 8ee8646..0000000 --- a/public/assets/index-cYGdr2ka.js +++ /dev/null @@ -1,180 +0,0 @@ -function gE(e,t){for(var i=0;ia[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function i(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function a(s){if(s.ep)return;s.ep=!0;const l=i(s);fetch(s.href,l)}})();function wg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mm={exports:{}},lc={};/** - * @license React - * react-jsx-runtime.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Hb;function vE(){if(Hb)return lc;Hb=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function i(a,s,l){var c=null;if(l!==void 0&&(c=""+l),s.key!==void 0&&(c=""+s.key),"key"in s){l={};for(var f in s)f!=="key"&&(l[f]=s[f])}else l=s;return s=l.ref,{$$typeof:e,type:a,key:c,ref:s!==void 0?s:null,props:l}}return lc.Fragment=t,lc.jsx=i,lc.jsxs=i,lc}var Ib;function yE(){return Ib||(Ib=1,mm.exports=vE()),mm.exports}var y=yE(),gm={exports:{}},qe={};/** - * @license React - * react.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Fb;function bE(){if(Fb)return qe;Fb=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),x=Symbol.iterator;function S($){return $===null||typeof $!="object"?null:($=x&&$[x]||$["@@iterator"],typeof $=="function"?$:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,M={};function O($,Z,pe){this.props=$,this.context=Z,this.refs=M,this.updater=pe||T}O.prototype.isReactComponent={},O.prototype.setState=function($,Z){if(typeof $!="object"&&typeof $!="function"&&$!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,$,Z,"setState")},O.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function D(){}D.prototype=O.prototype;function N($,Z,pe){this.props=$,this.context=Z,this.refs=M,this.updater=pe||T}var B=N.prototype=new D;B.constructor=N,R(B,O.prototype),B.isPureReactComponent=!0;var L=Array.isArray;function H(){}var k={H:null,A:null,T:null,S:null},K=Object.prototype.hasOwnProperty;function X($,Z,pe){var ge=pe.ref;return{$$typeof:e,type:$,key:Z,ref:ge!==void 0?ge:null,props:pe}}function ae($,Z){return X($.type,Z,$.props)}function se($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function A($){var Z={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(pe){return Z[pe]})}var ie=/\/+/g;function W($,Z){return typeof $=="object"&&$!==null&&$.key!=null?A(""+$.key):Z.toString(36)}function G($){switch($.status){case"fulfilled":return $.value;case"rejected":throw $.reason;default:switch(typeof $.status=="string"?$.then(H,H):($.status="pending",$.then(function(Z){$.status==="pending"&&($.status="fulfilled",$.value=Z)},function(Z){$.status==="pending"&&($.status="rejected",$.reason=Z)})),$.status){case"fulfilled":return $.value;case"rejected":throw $.reason}}throw $}function P($,Z,pe,ge,ve){var be=typeof $;(be==="undefined"||be==="boolean")&&($=null);var ze=!1;if($===null)ze=!0;else switch(be){case"bigint":case"string":case"number":ze=!0;break;case"object":switch($.$$typeof){case e:case t:ze=!0;break;case v:return ze=$._init,P(ze($._payload),Z,pe,ge,ve)}}if(ze)return ve=ve($),ze=ge===""?"."+W($,0):ge,L(ve)?(pe="",ze!=null&&(pe=ze.replace(ie,"$&/")+"/"),P(ve,Z,pe,"",function(Ue){return Ue})):ve!=null&&(se(ve)&&(ve=ae(ve,pe+(ve.key==null||$&&$.key===ve.key?"":(""+ve.key).replace(ie,"$&/")+"/")+ze)),Z.push(ve)),1;ze=0;var nt=ge===""?".":ge+":";if(L($))for(var Be=0;Be<$.length;Be++)ge=$[Be],be=nt+W(ge,Be),ze+=P(ge,Z,pe,be,ve);else if(Be=S($),typeof Be=="function")for($=Be.call($),Be=0;!(ge=$.next()).done;)ge=ge.value,be=nt+W(ge,Be++),ze+=P(ge,Z,pe,be,ve);else if(be==="object"){if(typeof $.then=="function")return P(G($),Z,pe,ge,ve);throw Z=String($),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}return ze}function Q($,Z,pe){if($==null)return $;var ge=[],ve=0;return P($,ge,"","",function(be){return Z.call(pe,be,ve++)}),ge}function ce($){if($._status===-1){var Z=$._result;Z=Z(),Z.then(function(pe){($._status===0||$._status===-1)&&($._status=1,$._result=pe)},function(pe){($._status===0||$._status===-1)&&($._status=2,$._result=pe)}),$._status===-1&&($._status=0,$._result=Z)}if($._status===1)return $._result.default;throw $._result}var fe=typeof reportError=="function"?reportError:function($){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $=="object"&&$!==null&&typeof $.message=="string"?String($.message):String($),error:$});if(!window.dispatchEvent(Z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",$);return}console.error($)},Se={map:Q,forEach:function($,Z,pe){Q($,function(){Z.apply(this,arguments)},pe)},count:function($){var Z=0;return Q($,function(){Z++}),Z},toArray:function($){return Q($,function(Z){return Z})||[]},only:function($){if(!se($))throw Error("React.Children.only expected to receive a single React element child.");return $}};return qe.Activity=b,qe.Children=Se,qe.Component=O,qe.Fragment=i,qe.Profiler=s,qe.PureComponent=N,qe.StrictMode=a,qe.Suspense=d,qe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,qe.__COMPILER_RUNTIME={__proto__:null,c:function($){return k.H.useMemoCache($)}},qe.cache=function($){return function(){return $.apply(null,arguments)}},qe.cacheSignal=function(){return null},qe.cloneElement=function($,Z,pe){if($==null)throw Error("The argument must be a React element, but you passed "+$+".");var ge=R({},$.props),ve=$.key;if(Z!=null)for(be in Z.key!==void 0&&(ve=""+Z.key),Z)!K.call(Z,be)||be==="key"||be==="__self"||be==="__source"||be==="ref"&&Z.ref===void 0||(ge[be]=Z[be]);var be=arguments.length-2;if(be===1)ge.children=pe;else if(1>>1,Se=P[fe];if(0>>1;fe<$;){var Z=2*(fe+1)-1,pe=P[Z],ge=Z+1,ve=P[ge];if(0>s(pe,ce))ges(ve,pe)?(P[fe]=ve,P[ge]=ce,fe=ge):(P[fe]=pe,P[Z]=ce,fe=Z);else if(ges(ve,ce))P[fe]=ve,P[ge]=ce,fe=ge;else break e}}return Q}function s(P,Q){var ce=P.sortIndex-Q.sortIndex;return ce!==0?ce:P.id-Q.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var c=Date,f=c.now();e.unstable_now=function(){return c.now()-f}}var d=[],p=[],v=1,b=null,x=3,S=!1,T=!1,R=!1,M=!1,O=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;function B(P){for(var Q=i(p);Q!==null;){if(Q.callback===null)a(p);else if(Q.startTime<=P)a(p),Q.sortIndex=Q.expirationTime,t(d,Q);else break;Q=i(p)}}function L(P){if(R=!1,B(P),!T)if(i(d)!==null)T=!0,H||(H=!0,A());else{var Q=i(p);Q!==null&&G(L,Q.startTime-P)}}var H=!1,k=-1,K=5,X=-1;function ae(){return M?!0:!(e.unstable_now()-XP&&ae());){var fe=b.callback;if(typeof fe=="function"){b.callback=null,x=b.priorityLevel;var Se=fe(b.expirationTime<=P);if(P=e.unstable_now(),typeof Se=="function"){b.callback=Se,B(P),Q=!0;break t}b===i(d)&&a(d),B(P)}else a(d);b=i(d)}if(b!==null)Q=!0;else{var $=i(p);$!==null&&G(L,$.startTime-P),Q=!1}}break e}finally{b=null,x=ce,S=!1}Q=void 0}}finally{Q?A():H=!1}}}var A;if(typeof N=="function")A=function(){N(se)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,W=ie.port2;ie.port1.onmessage=se,A=function(){W.postMessage(null)}}else A=function(){O(se,0)};function G(P,Q){k=O(function(){P(e.unstable_now())},Q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_forceFrameRate=function(P){0>P||125fe?(P.sortIndex=ce,t(p,P),i(d)===null&&P===i(p)&&(R?(D(k),k=-1):R=!0,G(L,ce-fe))):(P.sortIndex=Se,t(d,P),T||S||(T=!0,H||(H=!0,A()))),P},e.unstable_shouldYield=ae,e.unstable_wrapCallback=function(P){var Q=x;return function(){var ce=x;x=Q;try{return P.apply(this,arguments)}finally{x=ce}}}})(bm)),bm}var Yb;function _E(){return Yb||(Yb=1,ym.exports=xE()),ym.exports}var xm={exports:{}},Fn={};/** - * @license React - * react-dom.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Xb;function SE(){if(Xb)return Fn;Xb=1;var e=Eg();function t(d){var p="https://react.dev/errors/"+d;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),xm.exports=SE(),xm.exports}/** - * @license React - * react-dom-client.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Kb;function CE(){if(Kb)return cc;Kb=1;var e=_E(),t=Eg(),i=DS();function a(n){var r="https://react.dev/errors/"+n;if(1Se||(n.current=fe[Se],fe[Se]=null,Se--)}function pe(n,r){Se++,fe[Se]=n.current,n.current=r}var ge=$(null),ve=$(null),be=$(null),ze=$(null);function nt(n,r){switch(pe(be,r),pe(ve,n),pe(ge,null),r.nodeType){case 9:case 11:n=(n=r.documentElement)&&(n=n.namespaceURI)?ub(n):0;break;default:if(n=r.tagName,r=r.namespaceURI)r=ub(r),n=fb(r,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}Z(ge),pe(ge,n)}function Be(){Z(ge),Z(ve),Z(be)}function Ue(n){n.memoizedState!==null&&pe(ze,n);var r=ge.current,o=fb(r,n.type);r!==o&&(pe(ve,n),pe(ge,o))}function We(n){ve.current===n&&(Z(ge),Z(ve)),ze.current===n&&(Z(ze),rc._currentValue=ce)}var Pe,Xt;function $e(n){if(Pe===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);Pe=r&&r[1]||"",Xt=-1)":-1h||F[u]!==ee[h]){var oe=` -`+F[u].replace(" at new "," at ");return n.displayName&&oe.includes("")&&(oe=oe.replace("",n.displayName)),oe}while(1<=u&&0<=h);break}}}finally{ct=!1,Error.prepareStackTrace=o}return(o=n?n.displayName||n.name:"")?$e(o):""}function yn(n,r){switch(n.tag){case 26:case 27:case 5:return $e(n.type);case 16:return $e("Lazy");case 13:return n.child!==r&&r!==null?$e("Suspense Fallback"):$e("Suspense");case 19:return $e("SuspenseList");case 0:case 15:return Pt(n.type,!1);case 11:return Pt(n.type.render,!1);case 1:return Pt(n.type,!0);case 31:return $e("Activity");default:return""}}function $t(n){try{var r="",o=null;do r+=yn(n,o),o=n,n=n.return;while(n);return r}catch(u){return` -Error generating stack: `+u.message+` -`+u.stack}}var En=Object.prototype.hasOwnProperty,Tn=e.unstable_scheduleCallback,Ut=e.unstable_cancelCallback,De=e.unstable_shouldYield,oi=e.unstable_requestPaint,Ge=e.unstable_now,it=e.unstable_getCurrentPriorityLevel,Bn=e.unstable_ImmediatePriority,Pn=e.unstable_UserBlockingPriority,rn=e.unstable_NormalPriority,un=e.unstable_LowPriority,li=e.unstable_IdlePriority,wt=e.log,Rn=e.unstable_setDisableYieldValue,Sn=null,gt=null;function Wn(n){if(typeof wt=="function"&&Rn(n),gt&&typeof gt.setStrictMode=="function")try{gt.setStrictMode(Sn,n)}catch{}}var an=Math.clz32?Math.clz32:Lt,ke=Math.log,vt=Math.LN2;function Lt(n){return n>>>=0,n===0?32:31-(ke(n)/vt|0)|0}var Bt=256,Ni=262144,Qn=4194304;function tr(n){var r=n&42;if(r!==0)return r;switch(n&-n){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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function hr(n,r,o){var u=n.pendingLanes;if(u===0)return 0;var h=0,m=n.suspendedLanes,_=n.pingedLanes;n=n.warmLanes;var j=u&134217727;return j!==0?(u=j&~m,u!==0?h=tr(u):(_&=j,_!==0?h=tr(_):o||(o=j&~n,o!==0&&(h=tr(o))))):(j=u&~m,j!==0?h=tr(j):_!==0?h=tr(_):o||(o=u&~n,o!==0&&(h=tr(o)))),h===0?0:r!==0&&r!==h&&(r&m)===0&&(m=h&-h,o=r&-r,m>=o||m===32&&(o&4194048)!==0)?r:h}function pr(n,r){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&r)===0}function hs(n,r){switch(n){case 1:case 2:case 4:case 8:case 64:return r+250;case 16:case 32: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 r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function mr(){var n=Qn;return Qn<<=1,(Qn&62914560)===0&&(Qn=4194304),n}function gr(n){for(var r=[],o=0;31>o;o++)r.push(n);return r}function vr(n,r){n.pendingLanes|=r,r!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function al(n,r,o,u,h,m){var _=n.pendingLanes;n.pendingLanes=o,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=o,n.entangledLanes&=o,n.errorRecoveryDisabledLanes&=o,n.shellSuspendCounter=0;var j=n.entanglements,F=n.expirationTimes,ee=n.hiddenUpdates;for(o=_&~o;0"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var ps=/[\n"\\]/g;function ui(n){return n.replace(ps,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function Xr(n,r,o,u,h,m,_,j){n.name="",_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?n.type=_:n.removeAttribute("type"),r!=null?_==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=""+bn(r)):n.value!==""+bn(r)&&(n.value=""+bn(r)):_!=="submit"&&_!=="reset"||n.removeAttribute("value"),r!=null?cl(n,_,bn(r)):o!=null?cl(n,_,bn(o)):u!=null&&n.removeAttribute("value"),h==null&&m!=null&&(n.defaultChecked=!!m),h!=null&&(n.checked=h&&typeof h!="function"&&typeof h!="symbol"),j!=null&&typeof j!="function"&&typeof j!="symbol"&&typeof j!="boolean"?n.name=""+bn(j):n.removeAttribute("name")}function ou(n,r,o,u,h,m,_,j){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(n.type=m),r!=null||o!=null){if(!(m!=="submit"&&m!=="reset"||r!=null)){ol(n);return}o=o!=null?""+bn(o):"",r=r!=null?""+bn(r):o,j||r===n.value||(n.value=r),n.defaultValue=r}u=u??h,u=typeof u!="function"&&typeof u!="symbol"&&!!u,n.checked=j?n.checked:!!u,n.defaultChecked=!!u,_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"&&(n.name=_),ol(n)}function cl(n,r,o){r==="number"&&Yr(n.ownerDocument)===n||n.defaultValue===""+o||(n.defaultValue=""+o)}function Ea(n,r,o,u){if(n=n.options,r){r={};for(var h=0;h"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hl=!1;if(nr)try{var gs={};Object.defineProperty(gs,"passive",{get:function(){hl=!0}}),window.addEventListener("test",gs,gs),window.removeEventListener("test",gs,gs)}catch{hl=!1}var ir=null,pl=null,io=null;function He(){if(io)return io;var n,r=pl,o=r.length,u,h="value"in ir?ir.value:ir.textContent,m=h.length;for(n=0;n=ot),gu=" ",xl=!1;function vu(n,r){switch(n){case"keyup":return Ie.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _l(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var ja=!1;function yu(n,r){switch(n){case"compositionend":return _l(r);case"keypress":return r.which!==32?null:(xl=!0,gu);case"textInput":return n=r.data,n===gu&&xl?null:n;default:return null}}function Sh(n,r){if(ja)return n==="compositionend"||!rt&&vu(n,r)?(n=He(),io=pl=ir=null,ja=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1=r)return{node:o,offset:r-n};n=u}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Mv(o)}}function jv(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?jv(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function Av(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var r=Yr(n.document);r instanceof n.HTMLIFrameElement;){try{var o=typeof r.contentWindow.location.href=="string"}catch{o=!1}if(o)n=r.contentWindow;else break;r=Yr(n.document)}return r}function wh(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}var KC=nr&&"documentMode"in document&&11>=document.documentMode,oo=null,Eh=null,Ol=null,Th=!1;function kv(n,r,o){var u=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Th||oo==null||oo!==Yr(u)||(u=oo,"selectionStart"in u&&wh(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Ol&&Ml(Ol,u)||(Ol=u,u=cf(Eh,"onSelect"),0>=_,h-=_,_r=1<<32-an(r)+h|o<Xe?(st=Oe,Oe=null):st=Oe.sibling;var mt=te(V,Oe,J[Xe],de);if(mt===null){Oe===null&&(Oe=st);break}n&&Oe&&mt.alternate===null&&r(V,Oe),q=m(mt,q,Xe),pt===null?Ne=mt:pt.sibling=mt,pt=mt,Oe=st}if(Xe===J.length)return o(V,Oe),lt&&Qr(V,Xe),Ne;if(Oe===null){for(;XeXe?(st=Oe,Oe=null):st=Oe.sibling;var Ja=te(V,Oe,mt.value,de);if(Ja===null){Oe===null&&(Oe=st);break}n&&Oe&&Ja.alternate===null&&r(V,Oe),q=m(Ja,q,Xe),pt===null?Ne=Ja:pt.sibling=Ja,pt=Ja,Oe=st}if(mt.done)return o(V,Oe),lt&&Qr(V,Xe),Ne;if(Oe===null){for(;!mt.done;Xe++,mt=J.next())mt=he(V,mt.value,de),mt!==null&&(q=m(mt,q,Xe),pt===null?Ne=mt:pt.sibling=mt,pt=mt);return lt&&Qr(V,Xe),Ne}for(Oe=u(Oe);!mt.done;Xe++,mt=J.next())mt=re(Oe,V,Xe,mt.value,de),mt!==null&&(n&&mt.alternate!==null&&Oe.delete(mt.key===null?Xe:mt.key),q=m(mt,q,Xe),pt===null?Ne=mt:pt.sibling=mt,pt=mt);return n&&Oe.forEach(function(mE){return r(V,mE)}),lt&&Qr(V,Xe),Ne}function Dt(V,q,J,de){if(typeof J=="object"&&J!==null&&J.type===R&&J.key===null&&(J=J.props.children),typeof J=="object"&&J!==null){switch(J.$$typeof){case S:e:{for(var Ne=J.key;q!==null;){if(q.key===Ne){if(Ne=J.type,Ne===R){if(q.tag===7){o(V,q.sibling),de=h(q,J.props.children),de.return=V,V=de;break e}}else if(q.elementType===Ne||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===K&&Ms(Ne)===q.type){o(V,q.sibling),de=h(q,J.props),zl(de,J),de.return=V,V=de;break e}o(V,q);break}else r(V,q);q=q.sibling}J.type===R?(de=Cs(J.props.children,V.mode,de,J.key),de.return=V,V=de):(de=Eu(J.type,J.key,J.props,null,V.mode,de),zl(de,J),de.return=V,V=de)}return _(V);case T:e:{for(Ne=J.key;q!==null;){if(q.key===Ne)if(q.tag===4&&q.stateNode.containerInfo===J.containerInfo&&q.stateNode.implementation===J.implementation){o(V,q.sibling),de=h(q,J.children||[]),de.return=V,V=de;break e}else{o(V,q);break}else r(V,q);q=q.sibling}de=Dh(J,V.mode,de),de.return=V,V=de}return _(V);case K:return J=Ms(J),Dt(V,q,J,de)}if(G(J))return Te(V,q,J,de);if(A(J)){if(Ne=A(J),typeof Ne!="function")throw Error(a(150));return J=Ne.call(J),Le(V,q,J,de)}if(typeof J.then=="function")return Dt(V,q,ku(J),de);if(J.$$typeof===N)return Dt(V,q,Mu(V,J),de);Du(V,J)}return typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint"?(J=""+J,q!==null&&q.tag===6?(o(V,q.sibling),de=h(q,J),de.return=V,V=de):(o(V,q),de=kh(J,V.mode,de),de.return=V,V=de),_(V)):o(V,q)}return function(V,q,J,de){try{Nl=0;var Ne=Dt(V,q,J,de);return bo=null,Ne}catch(Oe){if(Oe===yo||Oe===ju)throw Oe;var pt=Si(29,Oe,null,V.mode);return pt.lanes=de,pt.return=V,pt}finally{}}}var js=ty(!0),ny=ty(!1),La=!1;function Vh(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Yh(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Ba(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Pa(n,r,o){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,(yt&2)!==0){var h=u.pending;return h===null?r.next=r:(r.next=h.next,h.next=r),u.pending=r,r=wu(n),$v(n,null,o),r}return Cu(n,u,r,o),wu(n)}function Ll(n,r,o){if(r=r.updateQueue,r!==null&&(r=r.shared,(o&4194048)!==0)){var u=r.lanes;u&=n.pendingLanes,o|=u,r.lanes=o,I(n,o)}}function Xh(n,r){var o=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,o===u)){var h=null,m=null;if(o=o.firstBaseUpdate,o!==null){do{var _={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};m===null?h=m=_:m=m.next=_,o=o.next}while(o!==null);m===null?h=m=r:m=m.next=r}else h=m=r;o={baseState:u.baseState,firstBaseUpdate:h,lastBaseUpdate:m,shared:u.shared,callbacks:u.callbacks},n.updateQueue=o;return}n=o.lastBaseUpdate,n===null?o.firstBaseUpdate=r:n.next=r,o.lastBaseUpdate=r}var Gh=!1;function Bl(){if(Gh){var n=vo;if(n!==null)throw n}}function Pl(n,r,o,u){Gh=!1;var h=n.updateQueue;La=!1;var m=h.firstBaseUpdate,_=h.lastBaseUpdate,j=h.shared.pending;if(j!==null){h.shared.pending=null;var F=j,ee=F.next;F.next=null,_===null?m=ee:_.next=ee,_=F;var oe=n.alternate;oe!==null&&(oe=oe.updateQueue,j=oe.lastBaseUpdate,j!==_&&(j===null?oe.firstBaseUpdate=ee:j.next=ee,oe.lastBaseUpdate=F))}if(m!==null){var he=h.baseState;_=0,oe=ee=F=null,j=m;do{var te=j.lane&-536870913,re=te!==j.lane;if(re?(at&te)===te:(u&te)===te){te!==0&&te===go&&(Gh=!0),oe!==null&&(oe=oe.next={lane:0,tag:j.tag,payload:j.payload,callback:null,next:null});e:{var Te=n,Le=j;te=r;var Dt=o;switch(Le.tag){case 1:if(Te=Le.payload,typeof Te=="function"){he=Te.call(Dt,he,te);break e}he=Te;break e;case 3:Te.flags=Te.flags&-65537|128;case 0:if(Te=Le.payload,te=typeof Te=="function"?Te.call(Dt,he,te):Te,te==null)break e;he=b({},he,te);break e;case 2:La=!0}}te=j.callback,te!==null&&(n.flags|=64,re&&(n.flags|=8192),re=h.callbacks,re===null?h.callbacks=[te]:re.push(te))}else re={lane:te,tag:j.tag,payload:j.payload,callback:j.callback,next:null},oe===null?(ee=oe=re,F=he):oe=oe.next=re,_|=te;if(j=j.next,j===null){if(j=h.shared.pending,j===null)break;re=j,j=re.next,re.next=null,h.lastBaseUpdate=re,h.shared.pending=null}}while(!0);oe===null&&(F=he),h.baseState=F,h.firstBaseUpdate=ee,h.lastBaseUpdate=oe,m===null&&(h.shared.lanes=0),Fa|=_,n.lanes=_,n.memoizedState=he}}function iy(n,r){if(typeof n!="function")throw Error(a(191,n));n.call(r)}function ry(n,r){var o=n.callbacks;if(o!==null)for(n.callbacks=null,n=0;nm?m:8;var _=P.T,j={};P.T=j,hp(n,!1,r,o);try{var F=h(),ee=P.S;if(ee!==null&&ee(j,F),F!==null&&typeof F=="object"&&typeof F.then=="function"){var oe=rw(F,u);Hl(n,r,oe,Ri(n))}else Hl(n,r,u,Ri(n))}catch(he){Hl(n,r,{then:function(){},status:"rejected",reason:he},Ri())}finally{Q.p=m,_!==null&&j.types!==null&&(_.types=j.types),P.T=_}}function uw(){}function fp(n,r,o,u){if(n.tag!==5)throw Error(a(476));var h=Ly(n).queue;zy(n,h,r,ce,o===null?uw:function(){return By(n),o(u)})}function Ly(n){var r=n.memoizedState;if(r!==null)return r;r={memoizedState:ce,baseState:ce,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ta,lastRenderedState:ce},next:null};var o={};return r.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ta,lastRenderedState:o},next:null},n.memoizedState=r,n=n.alternate,n!==null&&(n.memoizedState=r),r}function By(n){var r=Ly(n);r.next===null&&(r=n.alternate.memoizedState),Hl(n,r.next.queue,{},Ri())}function dp(){return On(rc)}function Py(){return on().memoizedState}function $y(){return on().memoizedState}function fw(n){for(var r=n.return;r!==null;){switch(r.tag){case 24:case 3:var o=Ri();n=Ba(o);var u=Pa(r,n,o);u!==null&&(mi(u,r,o),Ll(u,r,o)),r={cache:Hh()},n.payload=r;return}r=r.return}}function dw(n,r,o){var u=Ri();o={lane:u,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Fu(n)?Hy(r,o):(o=jh(n,r,o,u),o!==null&&(mi(o,n,u),Iy(o,r,u)))}function Uy(n,r,o){var u=Ri();Hl(n,r,o,u)}function Hl(n,r,o,u){var h={lane:u,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(Fu(n))Hy(r,h);else{var m=n.alternate;if(n.lanes===0&&(m===null||m.lanes===0)&&(m=r.lastRenderedReducer,m!==null))try{var _=r.lastRenderedState,j=m(_,o);if(h.hasEagerState=!0,h.eagerState=j,_i(j,_))return Cu(n,r,h,0),zt===null&&Su(),!1}catch{}finally{}if(o=jh(n,r,h,u),o!==null)return mi(o,n,u),Iy(o,r,u),!0}return!1}function hp(n,r,o,u){if(u={lane:2,revertLane:Vp(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Fu(n)){if(r)throw Error(a(479))}else r=jh(n,o,u,2),r!==null&&mi(r,n,2)}function Fu(n){var r=n.alternate;return n===Ve||r!==null&&r===Ve}function Hy(n,r){_o=Lu=!0;var o=n.pending;o===null?r.next=r:(r.next=o.next,o.next=r),n.pending=r}function Iy(n,r,o){if((o&4194048)!==0){var u=r.lanes;u&=n.pendingLanes,o|=u,r.lanes=o,I(n,o)}}var Il={readContext:On,use:$u,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useLayoutEffect:Wt,useInsertionEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useSyncExternalStore:Wt,useId:Wt,useHostTransitionStatus:Wt,useFormState:Wt,useActionState:Wt,useOptimistic:Wt,useMemoCache:Wt,useCacheRefresh:Wt};Il.useEffectEvent=Wt;var Fy={readContext:On,use:$u,useCallback:function(n,r){return ti().memoizedState=[n,r===void 0?null:r],n},useContext:On,useEffect:Ty,useImperativeHandle:function(n,r,o){o=o!=null?o.concat([n]):null,Hu(4194308,4,jy.bind(null,r,n),o)},useLayoutEffect:function(n,r){return Hu(4194308,4,n,r)},useInsertionEffect:function(n,r){Hu(4,2,n,r)},useMemo:function(n,r){var o=ti();r=r===void 0?null:r;var u=n();if(As){Wn(!0);try{n()}finally{Wn(!1)}}return o.memoizedState=[u,r],u},useReducer:function(n,r,o){var u=ti();if(o!==void 0){var h=o(r);if(As){Wn(!0);try{o(r)}finally{Wn(!1)}}}else h=r;return u.memoizedState=u.baseState=h,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:h},u.queue=n,n=n.dispatch=dw.bind(null,Ve,n),[u.memoizedState,n]},useRef:function(n){var r=ti();return n={current:n},r.memoizedState=n},useState:function(n){n=sp(n);var r=n.queue,o=Uy.bind(null,Ve,r);return r.dispatch=o,[n.memoizedState,o]},useDebugValue:cp,useDeferredValue:function(n,r){var o=ti();return up(o,n,r)},useTransition:function(){var n=sp(!1);return n=zy.bind(null,Ve,n.queue,!0,!1),ti().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,r,o){var u=Ve,h=ti();if(lt){if(o===void 0)throw Error(a(407));o=o()}else{if(o=r(),zt===null)throw Error(a(349));(at&127)!==0||uy(u,r,o)}h.memoizedState=o;var m={value:o,getSnapshot:r};return h.queue=m,Ty(dy.bind(null,u,m,n),[n]),u.flags|=2048,Co(9,{destroy:void 0},fy.bind(null,u,m,o,r),null),o},useId:function(){var n=ti(),r=zt.identifierPrefix;if(lt){var o=Sr,u=_r;o=(u&~(1<<32-an(u)-1)).toString(32)+o,r="_"+r+"R_"+o,o=Bu++,0<\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof u.is=="string"?_.createElement("select",{is:u.is}):_.createElement("select"),u.multiple?m.multiple=!0:u.size&&(m.size=u.size);break;default:m=typeof u.is=="string"?_.createElement(h,{is:u.is}):_.createElement(h)}}m[_e]=r,m[Ce]=u;e:for(_=r.child;_!==null;){if(_.tag===5||_.tag===6)m.appendChild(_.stateNode);else if(_.tag!==4&&_.tag!==27&&_.child!==null){_.child.return=_,_=_.child;continue}if(_===r)break e;for(;_.sibling===null;){if(_.return===null||_.return===r)break e;_=_.return}_.sibling.return=_.return,_=_.sibling}r.stateNode=m;e:switch(An(m,h,u),h){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&ia(r)}}return It(r),Rp(r,r.type,n===null?null:n.memoizedProps,r.pendingProps,o),null;case 6:if(n&&r.stateNode!=null)n.memoizedProps!==u&&ia(r);else{if(typeof u!="string"&&r.stateNode===null)throw Error(a(166));if(n=be.current,po(r)){if(n=r.stateNode,o=r.memoizedProps,u=null,h=Mn,h!==null)switch(h.tag){case 27:case 5:u=h.memoizedProps}n[_e]=r,n=!!(n.nodeValue===o||u!==null&&u.suppressHydrationWarning===!0||lb(n.nodeValue,o)),n||Na(r,!0)}else n=uf(n).createTextNode(u),n[_e]=r,r.stateNode=n}return It(r),null;case 31:if(o=r.memoizedState,n===null||n.memoizedState!==null){if(u=po(r),o!==null){if(n===null){if(!u)throw Error(a(318));if(n=r.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(a(557));n[_e]=r}else ws(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;It(r),n=!1}else o=Bh(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=o),n=!0;if(!n)return r.flags&256?(wi(r),r):(wi(r),null);if((r.flags&128)!==0)throw Error(a(558))}return It(r),null;case 13:if(u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(h=po(r),u!==null&&u.dehydrated!==null){if(n===null){if(!h)throw Error(a(318));if(h=r.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(a(317));h[_e]=r}else ws(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;It(r),h=!1}else h=Bh(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=h),h=!0;if(!h)return r.flags&256?(wi(r),r):(wi(r),null)}return wi(r),(r.flags&128)!==0?(r.lanes=o,r):(o=u!==null,n=n!==null&&n.memoizedState!==null,o&&(u=r.child,h=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(h=u.alternate.memoizedState.cachePool.pool),m=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(m=u.memoizedState.cachePool.pool),m!==h&&(u.flags|=2048)),o!==n&&o&&(r.child.flags|=8192),Gu(r,r.updateQueue),It(r),null);case 4:return Be(),n===null&&Kp(r.stateNode.containerInfo),It(r),null;case 10:return Jr(r.type),It(r),null;case 19:if(Z(sn),u=r.memoizedState,u===null)return It(r),null;if(h=(r.flags&128)!==0,m=u.rendering,m===null)if(h)ql(u,!1);else{if(Qt!==0||n!==null&&(n.flags&128)!==0)for(n=r.child;n!==null;){if(m=zu(n),m!==null){for(r.flags|=128,ql(u,!1),n=m.updateQueue,r.updateQueue=n,Gu(r,n),r.subtreeFlags=0,n=o,o=r.child;o!==null;)Uv(o,n),o=o.sibling;return pe(sn,sn.current&1|2),lt&&Qr(r,u.treeForkCount),r.child}n=n.sibling}u.tail!==null&&Ge()>Ju&&(r.flags|=128,h=!0,ql(u,!1),r.lanes=4194304)}else{if(!h)if(n=zu(m),n!==null){if(r.flags|=128,h=!0,n=n.updateQueue,r.updateQueue=n,Gu(r,n),ql(u,!0),u.tail===null&&u.tailMode==="hidden"&&!m.alternate&&!lt)return It(r),null}else 2*Ge()-u.renderingStartTime>Ju&&o!==536870912&&(r.flags|=128,h=!0,ql(u,!1),r.lanes=4194304);u.isBackwards?(m.sibling=r.child,r.child=m):(n=u.last,n!==null?n.sibling=m:r.child=m,u.last=m)}return u.tail!==null?(n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=Ge(),n.sibling=null,o=sn.current,pe(sn,h?o&1|2:o&1),lt&&Qr(r,u.treeForkCount),n):(It(r),null);case 22:case 23:return wi(r),Wh(),u=r.memoizedState!==null,n!==null?n.memoizedState!==null!==u&&(r.flags|=8192):u&&(r.flags|=8192),u?(o&536870912)!==0&&(r.flags&128)===0&&(It(r),r.subtreeFlags&6&&(r.flags|=8192)):It(r),o=r.updateQueue,o!==null&&Gu(r,o.retryQueue),o=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),u=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),u!==o&&(r.flags|=2048),n!==null&&Z(Rs),null;case 24:return o=null,n!==null&&(o=n.memoizedState.cache),r.memoizedState.cache!==o&&(r.flags|=2048),Jr(fn),It(r),null;case 25:return null;case 30:return null}throw Error(a(156,r.tag))}function vw(n,r){switch(zh(r),r.tag){case 1:return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return Jr(fn),Be(),n=r.flags,(n&65536)!==0&&(n&128)===0?(r.flags=n&-65537|128,r):null;case 26:case 27:case 5:return We(r),null;case 31:if(r.memoizedState!==null){if(wi(r),r.alternate===null)throw Error(a(340));ws()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 13:if(wi(r),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(a(340));ws()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return Z(sn),null;case 4:return Be(),null;case 10:return Jr(r.type),null;case 22:case 23:return wi(r),Wh(),n!==null&&Z(Rs),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 24:return Jr(fn),null;case 25:return null;default:return null}}function h0(n,r){switch(zh(r),r.tag){case 3:Jr(fn),Be();break;case 26:case 27:case 5:We(r);break;case 4:Be();break;case 31:r.memoizedState!==null&&wi(r);break;case 13:wi(r);break;case 19:Z(sn);break;case 10:Jr(r.type);break;case 22:case 23:wi(r),Wh(),n!==null&&Z(Rs);break;case 24:Jr(fn)}}function Vl(n,r){try{var o=r.updateQueue,u=o!==null?o.lastEffect:null;if(u!==null){var h=u.next;o=h;do{if((o.tag&n)===n){u=void 0;var m=o.create,_=o.inst;u=m(),_.destroy=u}o=o.next}while(o!==h)}}catch(j){Mt(r,r.return,j)}}function Ha(n,r,o){try{var u=r.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var m=h.next;u=m;do{if((u.tag&n)===n){var _=u.inst,j=_.destroy;if(j!==void 0){_.destroy=void 0,h=r;var F=o,ee=j;try{ee()}catch(oe){Mt(h,F,oe)}}}u=u.next}while(u!==m)}}catch(oe){Mt(r,r.return,oe)}}function p0(n){var r=n.updateQueue;if(r!==null){var o=n.stateNode;try{ry(r,o)}catch(u){Mt(n,n.return,u)}}}function m0(n,r,o){o.props=ks(n.type,n.memoizedProps),o.state=n.memoizedState;try{o.componentWillUnmount()}catch(u){Mt(n,r,u)}}function Yl(n,r){try{var o=n.ref;if(o!==null){switch(n.tag){case 26:case 27:case 5:var u=n.stateNode;break;case 30:u=n.stateNode;break;default:u=n.stateNode}typeof o=="function"?n.refCleanup=o(u):o.current=u}}catch(h){Mt(n,r,h)}}function Cr(n,r){var o=n.ref,u=n.refCleanup;if(o!==null)if(typeof u=="function")try{u()}catch(h){Mt(n,r,h)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(h){Mt(n,r,h)}else o.current=null}function g0(n){var r=n.type,o=n.memoizedProps,u=n.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":o.autoFocus&&u.focus();break e;case"img":o.src?u.src=o.src:o.srcSet&&(u.srcset=o.srcSet)}}catch(h){Mt(n,n.return,h)}}function Mp(n,r,o){try{var u=n.stateNode;$w(u,n.type,o,r),u[Ce]=r}catch(h){Mt(n,n.return,h)}}function v0(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Ga(n.type)||n.tag===4}function Op(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||v0(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Ga(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function jp(n,r,o){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(n,r):(r=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,r.appendChild(n),o=o._reactRootContainer,o!=null||r.onclick!==null||(r.onclick=zi));else if(u!==4&&(u===27&&Ga(n.type)&&(o=n.stateNode,r=null),n=n.child,n!==null))for(jp(n,r,o),n=n.sibling;n!==null;)jp(n,r,o),n=n.sibling}function Ku(n,r,o){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?o.insertBefore(n,r):o.appendChild(n);else if(u!==4&&(u===27&&Ga(n.type)&&(o=n.stateNode),n=n.child,n!==null))for(Ku(n,r,o),n=n.sibling;n!==null;)Ku(n,r,o),n=n.sibling}function y0(n){var r=n.stateNode,o=n.memoizedProps;try{for(var u=n.type,h=r.attributes;h.length;)r.removeAttributeNode(h[0]);An(r,u,o),r[_e]=n,r[Ce]=o}catch(m){Mt(n,n.return,m)}}var ra=!1,pn=!1,Ap=!1,b0=typeof WeakSet=="function"?WeakSet:Set,Cn=null;function yw(n,r){if(n=n.containerInfo,Zp=vf,n=Av(n),wh(n)){if("selectionStart"in n)var o={start:n.selectionStart,end:n.selectionEnd};else e:{o=(o=n.ownerDocument)&&o.defaultView||window;var u=o.getSelection&&o.getSelection();if(u&&u.rangeCount!==0){o=u.anchorNode;var h=u.anchorOffset,m=u.focusNode;u=u.focusOffset;try{o.nodeType,m.nodeType}catch{o=null;break e}var _=0,j=-1,F=-1,ee=0,oe=0,he=n,te=null;t:for(;;){for(var re;he!==o||h!==0&&he.nodeType!==3||(j=_+h),he!==m||u!==0&&he.nodeType!==3||(F=_+u),he.nodeType===3&&(_+=he.nodeValue.length),(re=he.firstChild)!==null;)te=he,he=re;for(;;){if(he===n)break t;if(te===o&&++ee===h&&(j=_),te===m&&++oe===u&&(F=_),(re=he.nextSibling)!==null)break;he=te,te=he.parentNode}he=re}o=j===-1||F===-1?null:{start:j,end:F}}else o=null}o=o||{start:0,end:0}}else o=null;for(Jp={focusedElem:n,selectionRange:o},vf=!1,Cn=r;Cn!==null;)if(r=Cn,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Cn=n;else for(;Cn!==null;){switch(r=Cn,m=r.alternate,n=r.flags,r.tag){case 0:if((n&4)!==0&&(n=r.updateQueue,n=n!==null?n.events:null,n!==null))for(o=0;o title"))),An(m,u,o),m[_e]=n,Tt(m),u=m;break e;case"link":var _=Eb("link","href",h).get(u+(o.href||""));if(_){for(var j=0;j<_.length;j++)if(m=_[j],m.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&m.getAttribute("rel")===(o.rel==null?null:o.rel)&&m.getAttribute("title")===(o.title==null?null:o.title)&&m.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){_.splice(j,1);break t}}m=h.createElement(u),An(m,u,o),h.head.appendChild(m);break;case"meta":if(_=Eb("meta","content",h).get(u+(o.content||""))){for(j=0;j<_.length;j++)if(m=_[j],m.getAttribute("content")===(o.content==null?null:""+o.content)&&m.getAttribute("name")===(o.name==null?null:o.name)&&m.getAttribute("property")===(o.property==null?null:o.property)&&m.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&m.getAttribute("charset")===(o.charSet==null?null:o.charSet)){_.splice(j,1);break t}}m=h.createElement(u),An(m,u,o),h.head.appendChild(m);break;default:throw Error(a(468,u))}m[_e]=n,Tt(m),u=m}n.stateNode=u}else Tb(h,n.type,n.stateNode);else n.stateNode=wb(h,u,n.memoizedProps);else m!==u?(m===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):m.count--,u===null?Tb(h,n.type,n.stateNode):wb(h,u,n.memoizedProps)):u===null&&n.stateNode!==null&&Mp(n,n.memoizedProps,o.memoizedProps)}break;case 27:di(r,n),hi(n),u&512&&(pn||o===null||Cr(o,o.return)),o!==null&&u&4&&Mp(n,n.memoizedProps,o.memoizedProps);break;case 5:if(di(r,n),hi(n),u&512&&(pn||o===null||Cr(o,o.return)),n.flags&32){h=n.stateNode;try{Ta(h,"")}catch(Te){Mt(n,n.return,Te)}}u&4&&n.stateNode!=null&&(h=n.memoizedProps,Mp(n,h,o!==null?o.memoizedProps:h)),u&1024&&(Ap=!0);break;case 6:if(di(r,n),hi(n),u&4){if(n.stateNode===null)throw Error(a(162));u=n.memoizedProps,o=n.stateNode;try{o.nodeValue=u}catch(Te){Mt(n,n.return,Te)}}break;case 3:if(hf=null,h=ar,ar=ff(r.containerInfo),di(r,n),ar=h,hi(n),u&4&&o!==null&&o.memoizedState.isDehydrated)try{zo(r.containerInfo)}catch(Te){Mt(n,n.return,Te)}Ap&&(Ap=!1,T0(n));break;case 4:u=ar,ar=ff(n.stateNode.containerInfo),di(r,n),hi(n),ar=u;break;case 12:di(r,n),hi(n);break;case 31:di(r,n),hi(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,Wu(n,u)));break;case 13:di(r,n),hi(n),n.child.flags&8192&&n.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Zu=Ge()),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,Wu(n,u)));break;case 22:h=n.memoizedState!==null;var F=o!==null&&o.memoizedState!==null,ee=ra,oe=pn;if(ra=ee||h,pn=oe||F,di(r,n),pn=oe,ra=ee,hi(n),u&8192)e:for(r=n.stateNode,r._visibility=h?r._visibility&-2:r._visibility|1,h&&(o===null||F||ra||pn||Ds(n)),o=null,r=n;;){if(r.tag===5||r.tag===26){if(o===null){F=o=r;try{if(m=F.stateNode,h)_=m.style,typeof _.setProperty=="function"?_.setProperty("display","none","important"):_.display="none";else{j=F.stateNode;var he=F.memoizedProps.style,te=he!=null&&he.hasOwnProperty("display")?he.display:null;j.style.display=te==null||typeof te=="boolean"?"":(""+te).trim()}}catch(Te){Mt(F,F.return,Te)}}}else if(r.tag===6){if(o===null){F=r;try{F.stateNode.nodeValue=h?"":F.memoizedProps}catch(Te){Mt(F,F.return,Te)}}}else if(r.tag===18){if(o===null){F=r;try{var re=F.stateNode;h?mb(re,!0):mb(F.stateNode,!1)}catch(Te){Mt(F,F.return,Te)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===n)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break e;for(;r.sibling===null;){if(r.return===null||r.return===n)break e;o===r&&(o=null),r=r.return}o===r&&(o=null),r.sibling.return=r.return,r=r.sibling}u&4&&(u=n.updateQueue,u!==null&&(o=u.retryQueue,o!==null&&(u.retryQueue=null,Wu(n,o))));break;case 19:di(r,n),hi(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,Wu(n,u)));break;case 30:break;case 21:break;default:di(r,n),hi(n)}}function hi(n){var r=n.flags;if(r&2){try{for(var o,u=n.return;u!==null;){if(v0(u)){o=u;break}u=u.return}if(o==null)throw Error(a(160));switch(o.tag){case 27:var h=o.stateNode,m=Op(n);Ku(n,m,h);break;case 5:var _=o.stateNode;o.flags&32&&(Ta(_,""),o.flags&=-33);var j=Op(n);Ku(n,j,_);break;case 3:case 4:var F=o.stateNode.containerInfo,ee=Op(n);jp(n,ee,F);break;default:throw Error(a(161))}}catch(oe){Mt(n,n.return,oe)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function T0(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var r=n;T0(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),n=n.sibling}}function sa(n,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)x0(n,r.alternate,r),r=r.sibling}function Ds(n){for(n=n.child;n!==null;){var r=n;switch(r.tag){case 0:case 11:case 14:case 15:Ha(4,r,r.return),Ds(r);break;case 1:Cr(r,r.return);var o=r.stateNode;typeof o.componentWillUnmount=="function"&&m0(r,r.return,o),Ds(r);break;case 27:tc(r.stateNode);case 26:case 5:Cr(r,r.return),Ds(r);break;case 22:r.memoizedState===null&&Ds(r);break;case 30:Ds(r);break;default:Ds(r)}n=n.sibling}}function oa(n,r,o){for(o=o&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var u=r.alternate,h=n,m=r,_=m.flags;switch(m.tag){case 0:case 11:case 15:oa(h,m,o),Vl(4,m);break;case 1:if(oa(h,m,o),u=m,h=u.stateNode,typeof h.componentDidMount=="function")try{h.componentDidMount()}catch(ee){Mt(u,u.return,ee)}if(u=m,h=u.updateQueue,h!==null){var j=u.stateNode;try{var F=h.shared.hiddenCallbacks;if(F!==null)for(h.shared.hiddenCallbacks=null,h=0;hDt&&(_=Dt,Dt=Le,Le=_);var V=Ov(j,Le),q=Ov(j,Dt);if(V&&q&&(re.rangeCount!==1||re.anchorNode!==V.node||re.anchorOffset!==V.offset||re.focusNode!==q.node||re.focusOffset!==q.offset)){var J=he.createRange();J.setStart(V.node,V.offset),re.removeAllRanges(),Le>Dt?(re.addRange(J),re.extend(q.node,q.offset)):(J.setEnd(q.node,q.offset),re.addRange(J))}}}}for(he=[],re=j;re=re.parentNode;)re.nodeType===1&&he.push({element:re,left:re.scrollLeft,top:re.scrollTop});for(typeof j.focus=="function"&&j.focus(),j=0;jo?32:o,P.T=null,o=Pp,Pp=null;var m=Va,_=ca;if(_n=0,Mo=Va=null,ca=0,(yt&6)!==0)throw Error(a(331));var j=yt;if(yt|=4,j0(m.current),R0(m,m.current,_,o),yt=j,Zl(0,!1),gt&&typeof gt.onPostCommitFiberRoot=="function")try{gt.onPostCommitFiberRoot(Sn,m)}catch{}return!0}finally{Q.p=h,P.T=u,G0(n,r)}}function W0(n,r,o){r=Bi(o,r),r=vp(n.stateNode,r,2),n=Pa(n,r,2),n!==null&&(vr(n,2),wr(n))}function Mt(n,r,o){if(n.tag===3)W0(n,n,o);else for(;r!==null;){if(r.tag===3){W0(r,n,o);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(qa===null||!qa.has(u))){n=Bi(o,n),o=Qy(2),u=Pa(r,o,2),u!==null&&(Zy(o,u,r,n),vr(u,2),wr(u));break}}r=r.return}}function Ip(n,r,o){var u=n.pingCache;if(u===null){u=n.pingCache=new _w;var h=new Set;u.set(r,h)}else h=u.get(r),h===void 0&&(h=new Set,u.set(r,h));h.has(o)||(Np=!0,h.add(o),n=Tw.bind(null,n,r,o),r.then(n,n))}function Tw(n,r,o){var u=n.pingCache;u!==null&&u.delete(r),n.pingedLanes|=n.suspendedLanes&o,n.warmLanes&=~o,zt===n&&(at&o)===o&&(Qt===4||Qt===3&&(at&62914560)===at&&300>Ge()-Zu?(yt&2)===0&&Oo(n,0):zp|=o,Ro===at&&(Ro=0)),wr(n)}function Q0(n,r){r===0&&(r=mr()),n=Ss(n,r),n!==null&&(vr(n,r),wr(n))}function Rw(n){var r=n.memoizedState,o=0;r!==null&&(o=r.retryLane),Q0(n,o)}function Mw(n,r){var o=0;switch(n.tag){case 31:case 13:var u=n.stateNode,h=n.memoizedState;h!==null&&(o=h.retryLane);break;case 19:u=n.stateNode;break;case 22:u=n.stateNode._retryCache;break;default:throw Error(a(314))}u!==null&&u.delete(r),Q0(n,o)}function Ow(n,r){return Tn(n,r)}var sf=null,Ao=null,Fp=!1,of=!1,qp=!1,Xa=0;function wr(n){n!==Ao&&n.next===null&&(Ao===null?sf=Ao=n:Ao=Ao.next=n),of=!0,Fp||(Fp=!0,Aw())}function Zl(n,r){if(!qp&&of){qp=!0;do for(var o=!1,u=sf;u!==null;){if(n!==0){var h=u.pendingLanes;if(h===0)var m=0;else{var _=u.suspendedLanes,j=u.pingedLanes;m=(1<<31-an(42|n)+1)-1,m&=h&~(_&~j),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(o=!0,tb(u,m))}else m=at,m=hr(u,u===zt?m:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(m&3)===0||pr(u,m)||(o=!0,tb(u,m));u=u.next}while(o);qp=!1}}function jw(){Z0()}function Z0(){of=Fp=!1;var n=0;Xa!==0&&Hw()&&(n=Xa);for(var r=Ge(),o=null,u=sf;u!==null;){var h=u.next,m=J0(u,r);m===0?(u.next=null,o===null?sf=h:o.next=h,h===null&&(Ao=o)):(o=u,(n!==0||(m&3)!==0)&&(of=!0)),u=h}_n!==0&&_n!==5||Zl(n),Xa!==0&&(Xa=0)}function J0(n,r){for(var o=n.suspendedLanes,u=n.pingedLanes,h=n.expirationTimes,m=n.pendingLanes&-62914561;0j)break;var oe=F.transferSize,he=F.initiatorType;oe&&cb(he)&&(F=F.responseEnd,_+=oe*(F"u"?null:document;function _b(n,r,o){var u=ko;if(u&&typeof r=="string"&&r){var h=ui(r);h='link[rel="'+n+'"][href="'+h+'"]',typeof o=="string"&&(h+='[crossorigin="'+o+'"]'),xb.has(h)||(xb.add(h),n={rel:n,crossOrigin:o,href:r},u.querySelector(h)===null&&(r=u.createElement("link"),An(r,"link",n),Tt(r),u.head.appendChild(r)))}}function Ww(n){ua.D(n),_b("dns-prefetch",n,null)}function Qw(n,r){ua.C(n,r),_b("preconnect",n,r)}function Zw(n,r,o){ua.L(n,r,o);var u=ko;if(u&&n&&r){var h='link[rel="preload"][as="'+ui(r)+'"]';r==="image"&&o&&o.imageSrcSet?(h+='[imagesrcset="'+ui(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(h+='[imagesizes="'+ui(o.imageSizes)+'"]')):h+='[href="'+ui(n)+'"]';var m=h;switch(r){case"style":m=Do(n);break;case"script":m=No(n)}Fi.has(m)||(n=b({rel:"preload",href:r==="image"&&o&&o.imageSrcSet?void 0:n,as:r},o),Fi.set(m,n),u.querySelector(h)!==null||r==="style"&&u.querySelector(nc(m))||r==="script"&&u.querySelector(ic(m))||(r=u.createElement("link"),An(r,"link",n),Tt(r),u.head.appendChild(r)))}}function Jw(n,r){ua.m(n,r);var o=ko;if(o&&n){var u=r&&typeof r.as=="string"?r.as:"script",h='link[rel="modulepreload"][as="'+ui(u)+'"][href="'+ui(n)+'"]',m=h;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=No(n)}if(!Fi.has(m)&&(n=b({rel:"modulepreload",href:n},r),Fi.set(m,n),o.querySelector(h)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(ic(m)))return}u=o.createElement("link"),An(u,"link",n),Tt(u),o.head.appendChild(u)}}}function eE(n,r,o){ua.S(n,r,o);var u=ko;if(u&&n){var h=$n(u).hoistableStyles,m=Do(n);r=r||"default";var _=h.get(m);if(!_){var j={loading:0,preload:null};if(_=u.querySelector(nc(m)))j.loading=5;else{n=b({rel:"stylesheet",href:n,"data-precedence":r},o),(o=Fi.get(m))&&sm(n,o);var F=_=u.createElement("link");Tt(F),An(F,"link",n),F._p=new Promise(function(ee,oe){F.onload=ee,F.onerror=oe}),F.addEventListener("load",function(){j.loading|=1}),F.addEventListener("error",function(){j.loading|=2}),j.loading|=4,df(_,r,u)}_={type:"stylesheet",instance:_,count:1,state:j},h.set(m,_)}}}function tE(n,r){ua.X(n,r);var o=ko;if(o&&n){var u=$n(o).hoistableScripts,h=No(n),m=u.get(h);m||(m=o.querySelector(ic(h)),m||(n=b({src:n,async:!0},r),(r=Fi.get(h))&&om(n,r),m=o.createElement("script"),Tt(m),An(m,"link",n),o.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},u.set(h,m))}}function nE(n,r){ua.M(n,r);var o=ko;if(o&&n){var u=$n(o).hoistableScripts,h=No(n),m=u.get(h);m||(m=o.querySelector(ic(h)),m||(n=b({src:n,async:!0,type:"module"},r),(r=Fi.get(h))&&om(n,r),m=o.createElement("script"),Tt(m),An(m,"link",n),o.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},u.set(h,m))}}function Sb(n,r,o,u){var h=(h=be.current)?ff(h):null;if(!h)throw Error(a(446));switch(n){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(r=Do(o.href),o=$n(h).hoistableStyles,u=o.get(r),u||(u={type:"style",instance:null,count:0,state:null},o.set(r,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){n=Do(o.href);var m=$n(h).hoistableStyles,_=m.get(n);if(_||(h=h.ownerDocument||h,_={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(n,_),(m=h.querySelector(nc(n)))&&!m._p&&(_.instance=m,_.state.loading=5),Fi.has(n)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Fi.set(n,o),m||iE(h,n,o,_.state))),r&&u===null)throw Error(a(528,""));return _}if(r&&u!==null)throw Error(a(529,""));return null;case"script":return r=o.async,o=o.src,typeof o=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=No(o),o=$n(h).hoistableScripts,u=o.get(r),u||(u={type:"script",instance:null,count:0,state:null},o.set(r,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,n))}}function Do(n){return'href="'+ui(n)+'"'}function nc(n){return'link[rel="stylesheet"]['+n+"]"}function Cb(n){return b({},n,{"data-precedence":n.precedence,precedence:null})}function iE(n,r,o,u){n.querySelector('link[rel="preload"][as="style"]['+r+"]")?u.loading=1:(r=n.createElement("link"),u.preload=r,r.addEventListener("load",function(){return u.loading|=1}),r.addEventListener("error",function(){return u.loading|=2}),An(r,"link",o),Tt(r),n.head.appendChild(r))}function No(n){return'[src="'+ui(n)+'"]'}function ic(n){return"script[async]"+n}function wb(n,r,o){if(r.count++,r.instance===null)switch(r.type){case"style":var u=n.querySelector('style[data-href~="'+ui(o.href)+'"]');if(u)return r.instance=u,Tt(u),u;var h=b({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return u=(n.ownerDocument||n).createElement("style"),Tt(u),An(u,"style",h),df(u,o.precedence,n),r.instance=u;case"stylesheet":h=Do(o.href);var m=n.querySelector(nc(h));if(m)return r.state.loading|=4,r.instance=m,Tt(m),m;u=Cb(o),(h=Fi.get(h))&&sm(u,h),m=(n.ownerDocument||n).createElement("link"),Tt(m);var _=m;return _._p=new Promise(function(j,F){_.onload=j,_.onerror=F}),An(m,"link",u),r.state.loading|=4,df(m,o.precedence,n),r.instance=m;case"script":return m=No(o.src),(h=n.querySelector(ic(m)))?(r.instance=h,Tt(h),h):(u=o,(h=Fi.get(m))&&(u=b({},o),om(u,h)),n=n.ownerDocument||n,h=n.createElement("script"),Tt(h),An(h,"link",u),n.head.appendChild(h),r.instance=h);case"void":return null;default:throw Error(a(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(u=r.instance,r.state.loading|=4,df(u,o.precedence,n));return r.instance}function df(n,r,o){for(var u=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=u.length?u[u.length-1]:null,m=h,_=0;_ title"):null)}function rE(n,r,o){if(o===1||r.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof r.precedence!="string"||typeof r.href!="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!="string"||typeof r.href!="string"||r.href===""||r.onLoad||r.onError)break;switch(r.rel){case"stylesheet":return n=r.disabled,typeof r.precedence=="string"&&n==null;default:return!0}case"script":if(r.async&&typeof r.async!="function"&&typeof r.async!="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src=="string")return!0}return!1}function Rb(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function aE(n,r,o,u){if(o.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var h=Do(u.href),m=r.querySelector(nc(h));if(m){r=m._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(n.count++,n=pf.bind(n),r.then(n,n)),o.state.loading|=4,o.instance=m,Tt(m);return}m=r.ownerDocument||r,u=Cb(u),(h=Fi.get(h))&&sm(u,h),m=m.createElement("link"),Tt(m);var _=m;_._p=new Promise(function(j,F){_.onload=j,_.onerror=F}),An(m,"link",u),o.instance=m}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(o,r),(r=o.state.preload)&&(o.state.loading&3)===0&&(n.count++,o=pf.bind(n),r.addEventListener("load",o),r.addEventListener("error",o))}}var lm=0;function sE(n,r){return n.stylesheets&&n.count===0&&gf(n,n.stylesheets),0lm?50:800)+r);return n.unsuspend=o,function(){n.unsuspend=null,clearTimeout(u),clearTimeout(h)}}:null}function pf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)gf(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var mf=null;function gf(n,r){n.stylesheets=null,n.unsuspend!==null&&(n.count++,mf=new Map,r.forEach(oE,n),mf=null,pf.call(n))}function oE(n,r){if(!(r.state.loading&4)){var o=mf.get(n);if(o)var u=o.get(null);else{o=new Map,mf.set(n,o);for(var h=n.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),vm.exports=CE(),vm.exports}var EE=wE();/** - * react-router v7.10.1 - * - * 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 - */var NS=e=>{throw TypeError(e)},TE=(e,t,i)=>t.has(e)||NS("Cannot "+i),_m=(e,t,i)=>(TE(e,t,"read from private field"),i?i.call(e):t.get(e)),RE=(e,t,i)=>t.has(e)?NS("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),Qb="popstate";function ME(e={}){function t(a,s){let{pathname:l,search:c,hash:f}=a.location;return Pc("",{pathname:l,search:c,hash:f},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function i(a,s){return typeof s=="string"?s:Hr(s)}return jE(t,i,null,e)}function Ke(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function nn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function OE(){return Math.random().toString(36).substring(2,10)}function Zb(e,t){return{usr:e.state,key:e.key,idx:t}}function Pc(e,t,i=null,a){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ds(t):t,state:i,key:t&&t.key||a||OE()}}function Hr({pathname:e="/",search:t="",hash:i=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function ds(e){let t={};if(e){let i=e.indexOf("#");i>=0&&(t.hash=e.substring(i),e=e.substring(0,i));let a=e.indexOf("?");a>=0&&(t.search=e.substring(a),e=e.substring(0,a)),e&&(t.pathname=e)}return t}function jE(e,t,i,a={}){let{window:s=document.defaultView,v5Compat:l=!1}=a,c=s.history,f="POP",d=null,p=v();p==null&&(p=0,c.replaceState({...c.state,idx:p},""));function v(){return(c.state||{idx:null}).idx}function b(){f="POP";let M=v(),O=M==null?null:M-p;p=M,d&&d({action:f,location:R.location,delta:O})}function x(M,O){f="PUSH";let D=Pc(R.location,M,O);p=v()+1;let N=Zb(D,p),B=R.createHref(D);try{c.pushState(N,"",B)}catch(L){if(L instanceof DOMException&&L.name==="DataCloneError")throw L;s.location.assign(B)}l&&d&&d({action:f,location:R.location,delta:1})}function S(M,O){f="REPLACE";let D=Pc(R.location,M,O);p=v();let N=Zb(D,p),B=R.createHref(D);c.replaceState(N,"",B),l&&d&&d({action:f,location:R.location,delta:0})}function T(M){return zS(M)}let R={get action(){return f},get location(){return e(s,c)},listen(M){if(d)throw new Error("A history only accepts one active listener");return s.addEventListener(Qb,b),d=M,()=>{s.removeEventListener(Qb,b),d=null}},createHref(M){return t(s,M)},createURL:T,encodeLocation(M){let O=T(M);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:x,replace:S,go(M){return c.go(M)}};return R}function zS(e,t=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),Ke(i,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:Hr(e);return a=a.replace(/ $/,"%20"),!t&&a.startsWith("//")&&(a=i+a),new URL(a,i)}var Ec,Jb=class{constructor(e){if(RE(this,Ec,new Map),e)for(let[t,i]of e)this.set(t,i)}get(e){if(_m(this,Ec).has(e))return _m(this,Ec).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,t){_m(this,Ec).set(e,t)}};Ec=new WeakMap;var AE=new Set(["lazy","caseSensitive","path","id","index","children"]);function kE(e){return AE.has(e)}var DE=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function NE(e){return DE.has(e)}function zE(e){return e.index===!0}function $c(e,t,i=[],a={},s=!1){return e.map((l,c)=>{let f=[...i,String(c)],d=typeof l.id=="string"?l.id:f.join("-");if(Ke(l.index!==!0||!l.children,"Cannot specify children on an index route"),Ke(s||!a[d],`Found a route id collision on id "${d}". Route id's must be globally unique within Data Router usages`),zE(l)){let p={...l,id:d};return a[d]=ex(p,t(p)),p}else{let p={...l,id:d,children:void 0};return a[d]=ex(p,t(p)),l.children&&(p.children=$c(l.children,t,f,a,s)),p}})}function ex(e,t){return Object.assign(e,{...t,...typeof t.lazy=="object"&&t.lazy!=null?{lazy:{...e.lazy,...t.lazy}}:{}})}function ns(e,t,i="/"){return Tc(e,t,i,!1)}function Tc(e,t,i,a){let s=typeof t=="string"?ds(t):t,l=Wi(s.pathname||"/",i);if(l==null)return null;let c=LS(e);BE(c);let f=null;for(let d=0;f==null&&d{let v={relativePath:p===void 0?c.path||"":p,caseSensitive:c.caseSensitive===!0,childrenIndex:f,route:c};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(a)&&d)return;Ke(v.relativePath.startsWith(a),`Absolute route path "${v.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(a.length)}let b=Pr([a,v.relativePath]),x=i.concat(v);c.children&&c.children.length>0&&(Ke(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),LS(c.children,t,x,b,d)),!(c.path==null&&!c.index)&&t.push({path:b,score:qE(b,c.index),routesMeta:x})};return e.forEach((c,f)=>{if(c.path===""||!c.path?.includes("?"))l(c,f);else for(let d of BS(c.path))l(c,f,!0,d)}),t}function BS(e){let t=e.split("/");if(t.length===0)return[];let[i,...a]=t,s=i.endsWith("?"),l=i.replace(/\?$/,"");if(a.length===0)return s?[l,""]:[l];let c=BS(a.join("/")),f=[];return f.push(...c.map(d=>d===""?l:[l,d].join("/"))),s&&f.push(...c),f.map(d=>e.startsWith("/")&&d===""?"/":d)}function BE(e){e.sort((t,i)=>t.score!==i.score?i.score-t.score:VE(t.routesMeta.map(a=>a.childrenIndex),i.routesMeta.map(a=>a.childrenIndex)))}var PE=/^:[\w-]+$/,$E=3,UE=2,HE=1,IE=10,FE=-2,tx=e=>e==="*";function qE(e,t){let i=e.split("/"),a=i.length;return i.some(tx)&&(a+=FE),t&&(a+=UE),i.filter(s=>!tx(s)).reduce((s,l)=>s+(PE.test(l)?$E:l===""?HE:IE),a)}function VE(e,t){return e.length===t.length&&e.slice(0,-1).every((a,s)=>a===t[s])?e[e.length-1]-t[t.length-1]:0}function YE(e,t,i=!1){let{routesMeta:a}=e,s={},l="/",c=[];for(let f=0;f{if(v==="*"){let T=f[x]||"";c=l.slice(0,l.length-T.length).replace(/(.)\/+$/,"$1")}const S=f[x];return b&&!S?p[v]=void 0:p[v]=(S||"").replace(/%2F/g,"/"),p},{}),pathname:l,pathnameBase:c,pattern:e}}function XE(e,t=!1,i=!0){nn(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 a=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,f,d)=>(a.push({paramName:f,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(a.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),a]}function GE(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return nn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Wi(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let i=t.endsWith("/")?t.length-1:t.length,a=e.charAt(i);return a&&a!=="/"?null:e.slice(i)||"/"}function KE({basename:e,pathname:t}){return t==="/"?e:Pr([e,t])}var WE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Od=e=>WE.test(e);function QE(e,t="/"){let{pathname:i,search:a="",hash:s=""}=typeof e=="string"?ds(e):e,l;if(i)if(Od(i))l=i;else{if(i.includes("//")){let c=i;i=i.replace(/\/\/+/g,"/"),nn(!1,`Pathnames cannot have embedded double slashes - normalizing ${c} -> ${i}`)}i.startsWith("/")?l=nx(i.substring(1),"/"):l=nx(i,t)}else l=t;return{pathname:l,search:JE(a),hash:eT(s)}}function nx(e,t){let i=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?i.length>1&&i.pop():s!=="."&&i.push(s)}),i.length>1?i.join("/"):"/"}function Sm(e,t,i,a){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(a)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function PS(e){return e.filter((t,i)=>i===0||t.route.path&&t.route.path.length>0)}function jd(e){let t=PS(e);return t.map((i,a)=>a===t.length-1?i.pathname:i.pathnameBase)}function Ad(e,t,i,a=!1){let s;typeof e=="string"?s=ds(e):(s={...e},Ke(!s.pathname||!s.pathname.includes("?"),Sm("?","pathname","search",s)),Ke(!s.pathname||!s.pathname.includes("#"),Sm("#","pathname","hash",s)),Ke(!s.search||!s.search.includes("#"),Sm("#","search","hash",s)));let l=e===""||s.pathname==="",c=l?"/":s.pathname,f;if(c==null)f=i;else{let b=t.length-1;if(!a&&c.startsWith("..")){let x=c.split("/");for(;x[0]==="..";)x.shift(),b-=1;s.pathname=x.join("/")}f=b>=0?t[b]:"/"}let d=QE(s,f),p=c&&c!=="/"&&c.endsWith("/"),v=(l||c===".")&&i.endsWith("/");return!d.pathname.endsWith("/")&&(p||v)&&(d.pathname+="/"),d}var Pr=e=>e.join("/").replace(/\/\/+/g,"/"),ZE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),JE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,eT=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,kd=class{constructor(e,t,i,a=!1){this.status=e,this.statusText=t||"",this.internal=a,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function Uc(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function Wc(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var rs=Symbol("Uninstrumented");function tT(e,t){let i={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};e.forEach(s=>s({id:t.id,index:t.index,path:t.path,instrument(l){let c=Object.keys(i);for(let f of c)l[f]&&i[f].push(l[f])}}));let a={};if(typeof t.lazy=="function"&&i.lazy.length>0){let s=Xo(i.lazy,t.lazy,()=>{});s&&(a.lazy=s)}if(typeof t.lazy=="object"){let s=t.lazy;["middleware","loader","action"].forEach(l=>{let c=s[l],f=i[`lazy.${l}`];if(typeof c=="function"&&f.length>0){let d=Xo(f,c,()=>{});d&&(a.lazy=Object.assign(a.lazy||{},{[l]:d}))}})}return["loader","action"].forEach(s=>{let l=t[s];if(typeof l=="function"&&i[s].length>0){let c=l[rs]??l,f=Xo(i[s],c,(...d)=>ix(d[0]));f&&(f[rs]=c,a[s]=f)}}),t.middleware&&t.middleware.length>0&&i.middleware.length>0&&(a.middleware=t.middleware.map(s=>{let l=s[rs]??s,c=Xo(i.middleware,l,(...f)=>ix(f[0]));return c?(c[rs]=l,c):s})),a}function nT(e,t){let i={navigate:[],fetch:[]};if(t.forEach(a=>a({instrument(s){let l=Object.keys(s);for(let c of l)s[c]&&i[c].push(s[c])}})),i.navigate.length>0){let a=e.navigate[rs]??e.navigate,s=Xo(i.navigate,a,(...l)=>{let[c,f]=l;return{to:typeof c=="number"||typeof c=="string"?c:c?Hr(c):".",...rx(e,f??{})}});s&&(s[rs]=a,e.navigate=s)}if(i.fetch.length>0){let a=e.fetch[rs]??e.fetch,s=Xo(i.fetch,a,(...l)=>{let[c,,f,d]=l;return{href:f??".",fetcherKey:c,...rx(e,d??{})}});s&&(s[rs]=a,e.fetch=s)}return e}function Xo(e,t,i){return e.length===0?null:async(...a)=>{let s=await $S(e,i(...a),()=>t(...a),e.length-1);if(s.type==="error")throw s.value;return s.value}}async function $S(e,t,i,a){let s=e[a],l;if(s){let c,f=async()=>(c?console.error("You cannot call instrumented handlers more than once"):c=$S(e,t,i,a-1),l=await c,Ke(l,"Expected a result"),l.type==="error"&&l.value instanceof Error?{status:"error",error:l.value}:{status:"success",error:void 0});try{await s(f,t)}catch(d){console.error("An instrumentation function threw an error:",d)}c||await f(),await c}else try{l={type:"success",value:await i()}}catch(c){l={type:"error",value:c}}return l||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function ix(e){let{request:t,context:i,params:a,unstable_pattern:s}=e;return{request:iT(t),params:{...a},unstable_pattern:s,context:rT(i)}}function rx(e,t){return{currentUrl:Hr(e.state.location),..."formMethod"in t?{formMethod:t.formMethod}:{},..."formEncType"in t?{formEncType:t.formEncType}:{},..."formData"in t?{formData:t.formData}:{},..."body"in t?{body:t.body}:{}}}function iT(e){return{method:e.method,url:e.url,headers:{get:(...t)=>e.headers.get(...t)}}}function rT(e){if(sT(e)){let t={...e};return Object.freeze(t),t}else return{get:t=>e.get(t)}}var aT=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function sT(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getOwnPropertyNames(t).sort().join("\0")===aT}var US=["POST","PUT","PATCH","DELETE"],oT=new Set(US),lT=["GET",...US],cT=new Set(lT),uT=new Set([301,302,303,307,308]),fT=new Set([307,308]),Cm={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},dT={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},uc={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},hT=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),HS="remix-router-transitions",IS=Symbol("ResetLoaderData");function pT(e){const t=e.window?e.window:typeof window<"u"?window:void 0,i=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";Ke(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let a=e.hydrationRouteProperties||[],s=e.mapRouteProperties||hT,l=s;if(e.unstable_instrumentations){let I=e.unstable_instrumentations;l=Y=>({...s(Y),...tT(I.map(ne=>ne.route).filter(Boolean),Y)})}let c={},f=$c(e.routes,l,void 0,c),d,p=e.basename||"/";p.startsWith("/")||(p=`/${p}`);let v=e.dataStrategy||bT,b={...e.future},x=null,S=new Set,T=null,R=null,M=null,O=e.hydrationData!=null,D=ns(f,e.history.location,p),N=!1,B=null,L;if(D==null&&!e.patchRoutesOnNavigation){let I=Yi(404,{pathname:e.history.location.pathname}),{matches:Y,route:ne}=wf(f);L=!0,D=Y,B={[ne.id]:I}}else if(D&&!e.hydrationData&&mr(D,f,e.history.location.pathname).active&&(D=null),D)if(D.some(I=>I.route.lazy))L=!1;else if(!D.some(I=>Tg(I.route)))L=!0;else{let I=e.hydrationData?e.hydrationData.loaderData:null,Y=e.hydrationData?e.hydrationData.errors:null;if(Y){let ne=D.findIndex(me=>Y[me.route.id]!==void 0);L=D.slice(0,ne+1).every(me=>!Zm(me.route,I,Y))}else L=D.every(ne=>!Zm(ne.route,I,Y))}else{L=!1,D=[];let I=mr(null,f,e.history.location.pathname);I.active&&I.matches&&(N=!0,D=I.matches)}let H,k={historyAction:e.history.action,location:e.history.location,matches:D,initialized:L,navigation:Cm,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||B,fetchers:new Map,blockers:new Map},K="POP",X=null,ae=!1,se,A=!1,ie=new Map,W=null,G=!1,P=!1,Q=new Set,ce=new Map,fe=0,Se=-1,$=new Map,Z=new Set,pe=new Map,ge=new Map,ve=new Set,be=new Map,ze,nt=null;function Be(){if(x=e.history.listen(({action:I,location:Y,delta:ne})=>{if(ze){ze(),ze=void 0;return}nn(be.size===0||ne!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let me=Ni({currentLocation:k.location,nextLocation:Y,historyAction:I});if(me&&ne!=null){let xe=new Promise(Me=>{ze=Me});e.history.go(ne*-1),Bt(me,{state:"blocked",location:Y,proceed(){Bt(me,{state:"proceeding",proceed:void 0,reset:void 0,location:Y}),xe.then(()=>e.history.go(ne))},reset(){let Me=new Map(k.blockers);Me.set(me,uc),Pe({blockers:Me})}}),X?.resolve(),X=null;return}return Pt(I,Y)}),i){zT(t,ie);let I=()=>LT(t,ie);t.addEventListener("pagehide",I),W=()=>t.removeEventListener("pagehide",I)}return k.initialized||Pt("POP",k.location,{initialHydration:!0}),H}function Ue(){x&&x(),W&&W(),S.clear(),se&&se.abort(),k.fetchers.forEach((I,Y)=>Rn(Y)),k.blockers.forEach((I,Y)=>Lt(Y))}function We(I){return S.add(I),()=>S.delete(I)}function Pe(I,Y={}){I.matches&&(I.matches=I.matches.map(xe=>{let Me=c[xe.route.id],Ee=xe.route;return Ee.element!==Me.element||Ee.errorElement!==Me.errorElement||Ee.hydrateFallbackElement!==Me.hydrateFallbackElement?{...xe,route:Me}:xe})),k={...k,...I};let ne=[],me=[];k.fetchers.forEach((xe,Me)=>{xe.state==="idle"&&(ve.has(Me)?ne.push(Me):me.push(Me))}),ve.forEach(xe=>{!k.fetchers.has(xe)&&!ce.has(xe)&&ne.push(xe)}),[...S].forEach(xe=>xe(k,{deletedFetchers:ne,newErrors:I.errors??null,viewTransitionOpts:Y.viewTransitionOpts,flushSync:Y.flushSync===!0})),ne.forEach(xe=>Rn(xe)),me.forEach(xe=>k.fetchers.delete(xe))}function Xt(I,Y,{flushSync:ne}={}){let me=k.actionData!=null&&k.navigation.formMethod!=null&&ni(k.navigation.formMethod)&&k.navigation.state==="loading"&&I.state?._isRedirect!==!0,xe;Y.actionData?Object.keys(Y.actionData).length>0?xe=Y.actionData:xe=null:me?xe=k.actionData:xe=null;let Me=Y.loaderData?px(k.loaderData,Y.loaderData,Y.matches||[],Y.errors):k.loaderData,Ee=k.blockers;Ee.size>0&&(Ee=new Map(Ee),Ee.forEach((je,Ae)=>Ee.set(Ae,uc)));let _e=G?!1:hs(I,Y.matches||k.matches),Ce=ae===!0||k.navigation.formMethod!=null&&ni(k.navigation.formMethod)&&I.state?._isRedirect!==!0;d&&(f=d,d=void 0),G||K==="POP"||(K==="PUSH"?e.history.push(I,I.state):K==="REPLACE"&&e.history.replace(I,I.state));let we;if(K==="POP"){let je=ie.get(k.location.pathname);je&&je.has(I.pathname)?we={currentLocation:k.location,nextLocation:I}:ie.has(I.pathname)&&(we={currentLocation:I,nextLocation:k.location})}else if(A){let je=ie.get(k.location.pathname);je?je.add(I.pathname):(je=new Set([I.pathname]),ie.set(k.location.pathname,je)),we={currentLocation:k.location,nextLocation:I}}Pe({...Y,actionData:xe,loaderData:Me,historyAction:K,location:I,initialized:!0,navigation:Cm,revalidation:"idle",restoreScrollPosition:_e,preventScrollReset:Ce,blockers:Ee},{viewTransitionOpts:we,flushSync:ne===!0}),K="POP",ae=!1,A=!1,G=!1,P=!1,X?.resolve(),X=null,nt?.resolve(),nt=null}async function $e(I,Y){if(X?.resolve(),X=null,typeof I=="number"){X||(X=yx());let ht=X.promise;return e.history.go(I),ht}let ne=Qm(k.location,k.matches,p,I,Y?.fromRouteId,Y?.relative),{path:me,submission:xe,error:Me}=ax(!1,ne,Y),Ee=k.location,_e=Pc(k.location,me,Y&&Y.state);_e={..._e,...e.history.encodeLocation(_e)};let Ce=Y&&Y.replace!=null?Y.replace:void 0,we="PUSH";Ce===!0?we="REPLACE":Ce===!1||xe!=null&&ni(xe.formMethod)&&xe.formAction===k.location.pathname+k.location.search&&(we="REPLACE");let je=Y&&"preventScrollReset"in Y?Y.preventScrollReset===!0:void 0,Ae=(Y&&Y.flushSync)===!0,Qe=Ni({currentLocation:Ee,nextLocation:_e,historyAction:we});if(Qe){Bt(Qe,{state:"blocked",location:_e,proceed(){Bt(Qe,{state:"proceeding",proceed:void 0,reset:void 0,location:_e}),$e(I,Y)},reset(){let ht=new Map(k.blockers);ht.set(Qe,uc),Pe({blockers:ht})}});return}await Pt(we,_e,{submission:xe,pendingError:Me,preventScrollReset:je,replace:Y&&Y.replace,enableViewTransition:Y&&Y.viewTransition,flushSync:Ae})}function ct(){nt||(nt=yx()),Pn(),Pe({revalidation:"loading"});let I=nt.promise;return k.navigation.state==="submitting"?I:k.navigation.state==="idle"?(Pt(k.historyAction,k.location,{startUninterruptedRevalidation:!0}),I):(Pt(K||k.historyAction,k.navigation.location,{overrideNavigation:k.navigation,enableViewTransition:A===!0}),I)}async function Pt(I,Y,ne){se&&se.abort(),se=null,K=I,G=(ne&&ne.startUninterruptedRevalidation)===!0,pr(k.location,k.matches),ae=(ne&&ne.preventScrollReset)===!0,A=(ne&&ne.enableViewTransition)===!0;let me=d||f,xe=ne&&ne.overrideNavigation,Me=ne?.initialHydration&&k.matches&&k.matches.length>0&&!N?k.matches:ns(me,Y,p),Ee=(ne&&ne.flushSync)===!0;if(Me&&k.initialized&&!P&&RT(k.location,Y)&&!(ne&&ne.submission&&ni(ne.submission.formMethod))){Xt(Y,{matches:Me},{flushSync:Ee});return}let _e=mr(Me,me,Y.pathname);if(_e.active&&_e.matches&&(Me=_e.matches),!Me){let{error:qt,notFoundMatches:ut,route:ft}=Qn(Y.pathname);Xt(Y,{matches:ut,loaderData:{},errors:{[ft.id]:qt}},{flushSync:Ee});return}se=new AbortController;let Ce=Vo(e.history,Y,se.signal,ne&&ne.submission),we=e.getContext?await e.getContext():new Jb,je;if(ne&&ne.pendingError)je=[is(Me).route.id,{type:"error",error:ne.pendingError}];else if(ne&&ne.submission&&ni(ne.submission.formMethod)){let qt=await yn(Ce,Y,ne.submission,Me,we,_e.active,ne&&ne.initialHydration===!0,{replace:ne.replace,flushSync:Ee});if(qt.shortCircuited)return;if(qt.pendingActionResult){let[ut,ft]=qt.pendingActionResult;if(Oi(ft)&&Uc(ft.error)&&ft.error.status===404){se=null,Xt(Y,{matches:qt.matches,loaderData:{},errors:{[ut]:ft.error}});return}}Me=qt.matches||Me,je=qt.pendingActionResult,xe=wm(Y,ne.submission),Ee=!1,_e.active=!1,Ce=Vo(e.history,Ce.url,Ce.signal)}let{shortCircuited:Ae,matches:Qe,loaderData:ht,errors:Et}=await $t(Ce,Y,Me,we,_e.active,xe,ne&&ne.submission,ne&&ne.fetcherSubmission,ne&&ne.replace,ne&&ne.initialHydration===!0,Ee,je);Ae||(se=null,Xt(Y,{matches:Qe||Me,...mx(je),loaderData:ht,errors:Et}))}async function yn(I,Y,ne,me,xe,Me,Ee,_e={}){Pn();let Ce=DT(Y,ne);if(Pe({navigation:Ce},{flushSync:_e.flushSync===!0}),Me){let Ae=await gr(me,Y.pathname,I.signal);if(Ae.type==="aborted")return{shortCircuited:!0};if(Ae.type==="error"){if(Ae.partialMatches.length===0){let{matches:ht,route:Et}=wf(f);return{matches:ht,pendingActionResult:[Et.id,{type:"error",error:Ae.error}]}}let Qe=is(Ae.partialMatches).route.id;return{matches:Ae.partialMatches,pendingActionResult:[Qe,{type:"error",error:Ae.error}]}}else if(Ae.matches)me=Ae.matches;else{let{notFoundMatches:Qe,error:ht,route:Et}=Qn(Y.pathname);return{matches:Qe,pendingActionResult:[Et.id,{type:"error",error:ht}]}}}let we,je=Jf(me,Y);if(!je.route.action&&!je.route.lazy)we={type:"error",error:Yi(405,{method:I.method,pathname:Y.pathname,routeId:je.route.id})};else{let Ae=Go(l,c,I,me,je,Ee?[]:a,xe),Qe=await it(I,Ae,xe,null);if(we=Qe[je.route.id],!we){for(let ht of me)if(Qe[ht.route.id]){we=Qe[ht.route.id];break}}if(I.signal.aborted)return{shortCircuited:!0}}if(Ys(we)){let Ae;return _e&&_e.replace!=null?Ae=_e.replace:Ae=fx(we.response.headers.get("Location"),new URL(I.url),p)===k.location.pathname+k.location.search,await Ge(I,we,!0,{submission:ne,replace:Ae}),{shortCircuited:!0}}if(Oi(we)){let Ae=is(me,je.route.id);return(_e&&_e.replace)!==!0&&(K="PUSH"),{matches:me,pendingActionResult:[Ae.route.id,we,je.route.id]}}return{matches:me,pendingActionResult:[je.route.id,we]}}async function $t(I,Y,ne,me,xe,Me,Ee,_e,Ce,we,je,Ae){let Qe=Me||wm(Y,Ee),ht=Ee||_e||vx(Qe),Et=!G&&!we;if(xe){if(Et){let Gt=En(Ae);Pe({navigation:Qe,...Gt!==void 0?{actionData:Gt}:{}},{flushSync:je})}let Fe=await gr(ne,Y.pathname,I.signal);if(Fe.type==="aborted")return{shortCircuited:!0};if(Fe.type==="error"){if(Fe.partialMatches.length===0){let{matches:xi,route:ci}=wf(f);return{matches:xi,loaderData:{},errors:{[ci.id]:Fe.error}}}let Gt=is(Fe.partialMatches).route.id;return{matches:Fe.partialMatches,loaderData:{},errors:{[Gt]:Fe.error}}}else if(Fe.matches)ne=Fe.matches;else{let{error:Gt,notFoundMatches:xi,route:ci}=Qn(Y.pathname);return{matches:xi,loaderData:{},errors:{[ci.id]:Gt}}}}let qt=d||f,{dsMatches:ut,revalidatingFetchers:ft}=sx(I,me,l,c,e.history,k,ne,ht,Y,we?[]:a,we===!0,P,Q,ve,pe,Z,qt,p,e.patchRoutesOnNavigation!=null,Ae);if(Se=++fe,!e.dataStrategy&&!ut.some(Fe=>Fe.shouldLoad)&&!ut.some(Fe=>Fe.route.middleware&&Fe.route.middleware.length>0)&&ft.length===0){let Fe=an();return Xt(Y,{matches:ne,loaderData:{},errors:Ae&&Oi(Ae[1])?{[Ae[0]]:Ae[1].error}:null,...mx(Ae),...Fe?{fetchers:new Map(k.fetchers)}:{}},{flushSync:je}),{shortCircuited:!0}}if(Et){let Fe={};if(!xe){Fe.navigation=Qe;let Gt=En(Ae);Gt!==void 0&&(Fe.actionData=Gt)}ft.length>0&&(Fe.fetchers=Tn(ft)),Pe(Fe,{flushSync:je})}ft.forEach(Fe=>{gt(Fe.key),Fe.controller&&ce.set(Fe.key,Fe.controller)});let Zn=()=>ft.forEach(Fe=>gt(Fe.key));se&&se.signal.addEventListener("abort",Zn);let{loaderResults:$n,fetcherResults:Tt}=await Bn(ut,ft,I,me);if(I.signal.aborted)return{shortCircuited:!0};se&&se.signal.removeEventListener("abort",Zn),ft.forEach(Fe=>ce.delete(Fe.key));let Jn=Ef($n);if(Jn)return await Ge(I,Jn.result,!0,{replace:Ce}),{shortCircuited:!0};if(Jn=Ef(Tt),Jn)return Z.add(Jn.key),await Ge(I,Jn.result,!0,{replace:Ce}),{shortCircuited:!0};let{loaderData:wa,errors:ei}=hx(k,ne,$n,Ae,ft,Tt);we&&k.errors&&(ei={...k.errors,...ei});let Un=an(),Hn=ke(Se),yr=Un||Hn||ft.length>0;return{matches:ne,loaderData:wa,errors:ei,...yr?{fetchers:new Map(k.fetchers)}:{}}}function En(I){if(I&&!Oi(I[1]))return{[I[0]]:I[1].data};if(k.actionData)return Object.keys(k.actionData).length===0?null:k.actionData}function Tn(I){return I.forEach(Y=>{let ne=k.fetchers.get(Y.key),me=fc(void 0,ne?ne.data:void 0);k.fetchers.set(Y.key,me)}),new Map(k.fetchers)}async function Ut(I,Y,ne,me){gt(I);let xe=(me&&me.flushSync)===!0,Me=d||f,Ee=Qm(k.location,k.matches,p,ne,Y,me?.relative),_e=ns(Me,Ee,p),Ce=mr(_e,Me,Ee);if(Ce.active&&Ce.matches&&(_e=Ce.matches),!_e){un(I,Y,Yi(404,{pathname:Ee}),{flushSync:xe});return}let{path:we,submission:je,error:Ae}=ax(!0,Ee,me);if(Ae){un(I,Y,Ae,{flushSync:xe});return}let Qe=e.getContext?await e.getContext():new Jb,ht=(me&&me.preventScrollReset)===!0;if(je&&ni(je.formMethod)){await De(I,Y,we,_e,Qe,Ce.active,xe,ht,je);return}pe.set(I,{routeId:Y,path:we}),await oi(I,Y,we,_e,Qe,Ce.active,xe,ht,je)}async function De(I,Y,ne,me,xe,Me,Ee,_e,Ce){Pn(),pe.delete(I);let we=k.fetchers.get(I);rn(I,NT(Ce,we),{flushSync:Ee});let je=new AbortController,Ae=Vo(e.history,ne,je.signal,Ce);if(Me){let dt=await gr(me,new URL(Ae.url).pathname,Ae.signal,I);if(dt.type==="aborted")return;if(dt.type==="error"){un(I,Y,dt.error,{flushSync:Ee});return}else if(dt.matches)me=dt.matches;else{un(I,Y,Yi(404,{pathname:ne}),{flushSync:Ee});return}}let Qe=Jf(me,ne);if(!Qe.route.action&&!Qe.route.lazy){let dt=Yi(405,{method:Ce.formMethod,pathname:ne,routeId:Y});un(I,Y,dt,{flushSync:Ee});return}ce.set(I,je);let ht=fe,Et=Go(l,c,Ae,me,Qe,a,xe),qt=await it(Ae,Et,xe,I),ut=qt[Qe.route.id];if(!ut){for(let dt of Et)if(qt[dt.route.id]){ut=qt[dt.route.id];break}}if(Ae.signal.aborted){ce.get(I)===je&&ce.delete(I);return}if(ve.has(I)){if(Ys(ut)||Oi(ut)){rn(I,pa(void 0));return}}else{if(Ys(ut))if(ce.delete(I),Se>ht){rn(I,pa(void 0));return}else return Z.add(I),rn(I,fc(Ce)),Ge(Ae,ut,!1,{fetcherSubmission:Ce,preventScrollReset:_e});if(Oi(ut)){un(I,Y,ut.error);return}}let ft=k.navigation.location||k.location,Zn=Vo(e.history,ft,je.signal),$n=d||f,Tt=k.navigation.state!=="idle"?ns($n,k.navigation.location,p):k.matches;Ke(Tt,"Didn't find any matches after fetcher action");let Jn=++fe;$.set(I,Jn);let wa=fc(Ce,ut.data);k.fetchers.set(I,wa);let{dsMatches:ei,revalidatingFetchers:Un}=sx(Zn,xe,l,c,e.history,k,Tt,Ce,ft,a,!1,P,Q,ve,pe,Z,$n,p,e.patchRoutesOnNavigation!=null,[Qe.route.id,ut]);Un.filter(dt=>dt.key!==I).forEach(dt=>{let bn=dt.key,Vr=k.fetchers.get(bn),sl=fc(void 0,Vr?Vr.data:void 0);k.fetchers.set(bn,sl),gt(bn),dt.controller&&ce.set(bn,dt.controller)}),Pe({fetchers:new Map(k.fetchers)});let Hn=()=>Un.forEach(dt=>gt(dt.key));je.signal.addEventListener("abort",Hn);let{loaderResults:yr,fetcherResults:Fe}=await Bn(ei,Un,Zn,xe);if(je.signal.aborted)return;if(je.signal.removeEventListener("abort",Hn),$.delete(I),ce.delete(I),Un.forEach(dt=>ce.delete(dt.key)),k.fetchers.has(I)){let dt=pa(ut.data);k.fetchers.set(I,dt)}let Gt=Ef(yr);if(Gt)return Ge(Zn,Gt.result,!1,{preventScrollReset:_e});if(Gt=Ef(Fe),Gt)return Z.add(Gt.key),Ge(Zn,Gt.result,!1,{preventScrollReset:_e});let{loaderData:xi,errors:ci}=hx(k,Tt,yr,void 0,Un,Fe);ke(Jn),k.navigation.state==="loading"&&Jn>Se?(Ke(K,"Expected pending action"),se&&se.abort(),Xt(k.navigation.location,{matches:Tt,loaderData:xi,errors:ci,fetchers:new Map(k.fetchers)})):(Pe({errors:ci,loaderData:px(k.loaderData,xi,Tt,ci),fetchers:new Map(k.fetchers)}),P=!1)}async function oi(I,Y,ne,me,xe,Me,Ee,_e,Ce){let we=k.fetchers.get(I);rn(I,fc(Ce,we?we.data:void 0),{flushSync:Ee});let je=new AbortController,Ae=Vo(e.history,ne,je.signal);if(Me){let ft=await gr(me,new URL(Ae.url).pathname,Ae.signal,I);if(ft.type==="aborted")return;if(ft.type==="error"){un(I,Y,ft.error,{flushSync:Ee});return}else if(ft.matches)me=ft.matches;else{un(I,Y,Yi(404,{pathname:ne}),{flushSync:Ee});return}}let Qe=Jf(me,ne);ce.set(I,je);let ht=fe,Et=Go(l,c,Ae,me,Qe,a,xe),ut=(await it(Ae,Et,xe,I))[Qe.route.id];if(ce.get(I)===je&&ce.delete(I),!Ae.signal.aborted){if(ve.has(I)){rn(I,pa(void 0));return}if(Ys(ut))if(Se>ht){rn(I,pa(void 0));return}else{Z.add(I),await Ge(Ae,ut,!1,{preventScrollReset:_e});return}if(Oi(ut)){un(I,Y,ut.error);return}rn(I,pa(ut.data))}}async function Ge(I,Y,ne,{submission:me,fetcherSubmission:xe,preventScrollReset:Me,replace:Ee}={}){ne||(X?.resolve(),X=null),Y.response.headers.has("X-Remix-Revalidate")&&(P=!0);let _e=Y.response.headers.get("Location");Ke(_e,"Expected a Location header on the redirect Response"),_e=fx(_e,new URL(I.url),p);let Ce=Pc(k.location,_e,{_isRedirect:!0});if(i){let Et=!1;if(Y.response.headers.has("X-Remix-Reload-Document"))Et=!0;else if(Od(_e)){const qt=zS(_e,!0);Et=qt.origin!==t.location.origin||Wi(qt.pathname,p)==null}if(Et){Ee?t.location.replace(_e):t.location.assign(_e);return}}se=null;let we=Ee===!0||Y.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:je,formAction:Ae,formEncType:Qe}=k.navigation;!me&&!xe&&je&&Ae&&Qe&&(me=vx(k.navigation));let ht=me||xe;if(fT.has(Y.response.status)&&ht&&ni(ht.formMethod))await Pt(we,Ce,{submission:{...ht,formAction:_e},preventScrollReset:Me||ae,enableViewTransition:ne?A:void 0});else{let Et=wm(Ce,me);await Pt(we,Ce,{overrideNavigation:Et,fetcherSubmission:xe,preventScrollReset:Me||ae,enableViewTransition:ne?A:void 0})}}async function it(I,Y,ne,me){let xe,Me={};try{xe=await _T(v,I,Y,me,ne,!1)}catch(Ee){return Y.filter(_e=>_e.shouldLoad).forEach(_e=>{Me[_e.route.id]={type:"error",error:Ee}}),Me}if(I.signal.aborted)return Me;for(let[Ee,_e]of Object.entries(xe))if(AT(_e)){let Ce=_e.result;Me[Ee]={type:"redirect",response:ET(Ce,I,Ee,Y,p)}}else Me[Ee]=await wT(_e);return Me}async function Bn(I,Y,ne,me){let xe=it(ne,I,me,null),Me=Promise.all(Y.map(async Ce=>{if(Ce.matches&&Ce.match&&Ce.request&&Ce.controller){let je=(await it(Ce.request,Ce.matches,me,Ce.key))[Ce.match.route.id];return{[Ce.key]:je}}else return Promise.resolve({[Ce.key]:{type:"error",error:Yi(404,{pathname:Ce.path})}})})),Ee=await xe,_e=(await Me).reduce((Ce,we)=>Object.assign(Ce,we),{});return{loaderResults:Ee,fetcherResults:_e}}function Pn(){P=!0,pe.forEach((I,Y)=>{ce.has(Y)&&Q.add(Y),gt(Y)})}function rn(I,Y,ne={}){k.fetchers.set(I,Y),Pe({fetchers:new Map(k.fetchers)},{flushSync:(ne&&ne.flushSync)===!0})}function un(I,Y,ne,me={}){let xe=is(k.matches,Y);Rn(I),Pe({errors:{[xe.route.id]:ne},fetchers:new Map(k.fetchers)},{flushSync:(me&&me.flushSync)===!0})}function li(I){return ge.set(I,(ge.get(I)||0)+1),ve.has(I)&&ve.delete(I),k.fetchers.get(I)||dT}function wt(I,Y){gt(I,Y?.reason),rn(I,pa(null))}function Rn(I){let Y=k.fetchers.get(I);ce.has(I)&&!(Y&&Y.state==="loading"&&$.has(I))&>(I),pe.delete(I),$.delete(I),Z.delete(I),ve.delete(I),Q.delete(I),k.fetchers.delete(I)}function Sn(I){let Y=(ge.get(I)||0)-1;Y<=0?(ge.delete(I),ve.add(I)):ge.set(I,Y),Pe({fetchers:new Map(k.fetchers)})}function gt(I,Y){let ne=ce.get(I);ne&&(ne.abort(Y),ce.delete(I))}function Wn(I){for(let Y of I){let ne=li(Y),me=pa(ne.data);k.fetchers.set(Y,me)}}function an(){let I=[],Y=!1;for(let ne of Z){let me=k.fetchers.get(ne);Ke(me,`Expected fetcher: ${ne}`),me.state==="loading"&&(Z.delete(ne),I.push(ne),Y=!0)}return Wn(I),Y}function ke(I){let Y=[];for(let[ne,me]of $)if(me0}function vt(I,Y){let ne=k.blockers.get(I)||uc;return be.get(I)!==Y&&be.set(I,Y),ne}function Lt(I){k.blockers.delete(I),be.delete(I)}function Bt(I,Y){let ne=k.blockers.get(I)||uc;Ke(ne.state==="unblocked"&&Y.state==="blocked"||ne.state==="blocked"&&Y.state==="blocked"||ne.state==="blocked"&&Y.state==="proceeding"||ne.state==="blocked"&&Y.state==="unblocked"||ne.state==="proceeding"&&Y.state==="unblocked",`Invalid blocker state transition: ${ne.state} -> ${Y.state}`);let me=new Map(k.blockers);me.set(I,Y),Pe({blockers:me})}function Ni({currentLocation:I,nextLocation:Y,historyAction:ne}){if(be.size===0)return;be.size>1&&nn(!1,"A router only supports one blocker at a time");let me=Array.from(be.entries()),[xe,Me]=me[me.length-1],Ee=k.blockers.get(xe);if(!(Ee&&Ee.state==="proceeding")&&Me({currentLocation:I,nextLocation:Y,historyAction:ne}))return xe}function Qn(I){let Y=Yi(404,{pathname:I}),ne=d||f,{matches:me,route:xe}=wf(ne);return{notFoundMatches:me,route:xe,error:Y}}function tr(I,Y,ne){if(T=I,M=Y,R=ne||null,!O&&k.navigation===Cm){O=!0;let me=hs(k.location,k.matches);me!=null&&Pe({restoreScrollPosition:me})}return()=>{T=null,M=null,R=null}}function hr(I,Y){return R&&R(I,Y.map(me=>LE(me,k.loaderData)))||I.key}function pr(I,Y){if(T&&M){let ne=hr(I,Y);T[ne]=M()}}function hs(I,Y){if(T){let ne=hr(I,Y),me=T[ne];if(typeof me=="number")return me}return null}function mr(I,Y,ne){if(e.patchRoutesOnNavigation)if(I){if(Object.keys(I[0].params).length>0)return{active:!0,matches:Tc(Y,ne,p,!0)}}else return{active:!0,matches:Tc(Y,ne,p,!0)||[]};return{active:!1,matches:null}}async function gr(I,Y,ne,me){if(!e.patchRoutesOnNavigation)return{type:"success",matches:I};let xe=I;for(;;){let Me=d==null,Ee=d||f,_e=c;try{await e.patchRoutesOnNavigation({signal:ne,path:Y,matches:xe,fetcherKey:me,patch:(je,Ae)=>{ne.aborted||ox(je,Ae,Ee,_e,l,!1)}})}catch(je){return{type:"error",error:je,partialMatches:xe}}finally{Me&&!ne.aborted&&(f=[...f])}if(ne.aborted)return{type:"aborted"};let Ce=ns(Ee,Y,p),we=null;if(Ce){if(Object.keys(Ce[0].params).length===0)return{type:"success",matches:Ce};if(we=Tc(Ee,Y,p,!0),!(we&&xe.lengthne.route.id===Y[me].route.id)}function al(I){c={},d=$c(I,l,void 0,c)}function qr(I,Y,ne=!1){let me=d==null;ox(I,Y,d||f,c,l,ne),me&&(f=[...f],Pe({}))}return H={get basename(){return p},get future(){return b},get state(){return k},get routes(){return f},get window(){return t},initialize:Be,subscribe:We,enableScrollRestoration:tr,navigate:$e,fetch:Ut,revalidate:ct,createHref:I=>e.history.createHref(I),encodeLocation:I=>e.history.encodeLocation(I),getFetcher:li,resetFetcher:wt,deleteFetcher:Sn,dispose:Ue,getBlocker:vt,deleteBlocker:Lt,patchRoutes:qr,_internalFetchControllers:ce,_internalSetRoutes:al,_internalSetStateDoNotUseOrYouWillBreakYourApp(I){Pe(I)}},e.unstable_instrumentations&&(H=nT(H,e.unstable_instrumentations.map(I=>I.router).filter(Boolean))),H}function mT(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Qm(e,t,i,a,s,l){let c,f;if(s){c=[];for(let p of t)if(c.push(p),p.route.id===s){f=p;break}}else c=t,f=t[t.length-1];let d=Ad(a||".",jd(c),Wi(e.pathname,i)||e.pathname,l==="path");if(a==null&&(d.search=e.search,d.hash=e.hash),(a==null||a===""||a===".")&&f){let p=Rg(d.search);if(f.route.index&&!p)d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index";else if(!f.route.index&&p){let v=new URLSearchParams(d.search),b=v.getAll("index");v.delete("index"),b.filter(S=>S).forEach(S=>v.append("index",S));let x=v.toString();d.search=x?`?${x}`:""}}return i!=="/"&&(d.pathname=KE({basename:i,pathname:d.pathname})),Hr(d)}function ax(e,t,i){if(!i||!mT(i))return{path:t};if(i.formMethod&&!kT(i.formMethod))return{path:t,error:Yi(405,{method:i.formMethod})};let a=()=>({path:t,error:Yi(400,{type:"invalid-body"})}),l=(i.formMethod||"get").toUpperCase(),c=GS(t);if(i.body!==void 0){if(i.formEncType==="text/plain"){if(!ni(l))return a();let b=typeof i.body=="string"?i.body:i.body instanceof FormData||i.body instanceof URLSearchParams?Array.from(i.body.entries()).reduce((x,[S,T])=>`${x}${S}=${T} -`,""):String(i.body);return{path:t,submission:{formMethod:l,formAction:c,formEncType:i.formEncType,formData:void 0,json:void 0,text:b}}}else if(i.formEncType==="application/json"){if(!ni(l))return a();try{let b=typeof i.body=="string"?JSON.parse(i.body):i.body;return{path:t,submission:{formMethod:l,formAction:c,formEncType:i.formEncType,formData:void 0,json:b,text:void 0}}}catch{return a()}}}Ke(typeof FormData=="function","FormData is not available in this environment");let f,d;if(i.formData)f=eg(i.formData),d=i.formData;else if(i.body instanceof FormData)f=eg(i.body),d=i.body;else if(i.body instanceof URLSearchParams)f=i.body,d=dx(f);else if(i.body==null)f=new URLSearchParams,d=new FormData;else try{f=new URLSearchParams(i.body),d=dx(f)}catch{return a()}let p={formMethod:l,formAction:c,formEncType:i&&i.formEncType||"application/x-www-form-urlencoded",formData:d,json:void 0,text:void 0};if(ni(p.formMethod))return{path:t,submission:p};let v=ds(t);return e&&v.search&&Rg(v.search)&&f.append("index",""),v.search=`?${f}`,{path:Hr(v),submission:p}}function sx(e,t,i,a,s,l,c,f,d,p,v,b,x,S,T,R,M,O,D,N){let B=N?Oi(N[1])?N[1].error:N[1].data:void 0,L=s.createURL(l.location),H=s.createURL(d),k;if(v&&l.errors){let W=Object.keys(l.errors)[0];k=c.findIndex(G=>G.route.id===W)}else if(N&&Oi(N[1])){let W=N[0];k=c.findIndex(G=>G.route.id===W)-1}let K=N?N[1].statusCode:void 0,X=K&&K>=400,ae={currentUrl:L,currentParams:l.matches[0]?.params||{},nextUrl:H,nextParams:c[0].params,...f,actionResult:B,actionStatus:K},se=Wc(c),A=c.map((W,G)=>{let{route:P}=W,Q=null;if(k!=null&&G>k?Q=!1:P.lazy?Q=!0:Tg(P)?v?Q=Zm(P,l.loaderData,l.errors):gT(l.loaderData,l.matches[G],W)&&(Q=!0):Q=!1,Q!==null)return Jm(i,a,e,se,W,p,t,Q);let ce=X?!1:b||L.pathname+L.search===H.pathname+H.search||L.search!==H.search||vT(l.matches[G],W),fe={...ae,defaultShouldRevalidate:ce},Se=ud(W,fe);return Jm(i,a,e,se,W,p,t,Se,fe)}),ie=[];return T.forEach((W,G)=>{if(v||!c.some(pe=>pe.route.id===W.routeId)||S.has(G))return;let P=l.fetchers.get(G),Q=P&&P.state!=="idle"&&P.data===void 0,ce=ns(M,W.path,O);if(!ce){if(D&&Q)return;ie.push({key:G,routeId:W.routeId,path:W.path,matches:null,match:null,request:null,controller:null});return}if(R.has(G))return;let fe=Jf(ce,W.path),Se=new AbortController,$=Vo(s,W.path,Se.signal),Z=null;if(x.has(G))x.delete(G),Z=Go(i,a,$,ce,fe,p,t);else if(Q)b&&(Z=Go(i,a,$,ce,fe,p,t));else{let pe={...ae,defaultShouldRevalidate:X?!1:b};ud(fe,pe)&&(Z=Go(i,a,$,ce,fe,p,t,pe))}Z&&ie.push({key:G,routeId:W.routeId,path:W.path,matches:Z,match:fe,request:$,controller:Se})}),{dsMatches:A,revalidatingFetchers:ie}}function Tg(e){return e.loader!=null||e.middleware!=null&&e.middleware.length>0}function Zm(e,t,i){if(e.lazy)return!0;if(!Tg(e))return!1;let a=t!=null&&e.id in t,s=i!=null&&i[e.id]!==void 0;return!a&&s?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!a&&!s}function gT(e,t,i){let a=!t||i.route.id!==t.route.id,s=!e.hasOwnProperty(i.route.id);return a||s}function vT(e,t){let i=e.route.path;return e.pathname!==t.pathname||i!=null&&i.endsWith("*")&&e.params["*"]!==t.params["*"]}function ud(e,t){if(e.route.shouldRevalidate){let i=e.route.shouldRevalidate(t);if(typeof i=="boolean")return i}return t.defaultShouldRevalidate}function ox(e,t,i,a,s,l){let c;if(e){let p=a[e];Ke(p,`No route found to patch children into: routeId = ${e}`),p.children||(p.children=[]),c=p.children}else c=i;let f=[],d=[];if(t.forEach(p=>{let v=c.find(b=>FS(p,b));v?d.push({existingRoute:v,newRoute:p}):f.push(p)}),f.length>0){let p=$c(f,s,[e||"_","patch",String(c?.length||"0")],a);c.push(...p)}if(l&&d.length>0)for(let p=0;pt.children?.some(s=>FS(i,s))):!1}var lx=new WeakMap,qS=({key:e,route:t,manifest:i,mapRouteProperties:a})=>{let s=i[t.id];if(Ke(s,"No route found in manifest"),!s.lazy||typeof s.lazy!="object")return;let l=s.lazy[e];if(!l)return;let c=lx.get(s);c||(c={},lx.set(s,c));let f=c[e];if(f)return f;let d=(async()=>{let p=kE(e),b=s[e]!==void 0&&e!=="hasErrorBoundary";if(p)nn(!p,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),c[e]=Promise.resolve();else if(b)nn(!1,`Route "${s.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let x=await l();x!=null&&(Object.assign(s,{[e]:x}),Object.assign(s,a(s)))}typeof s.lazy=="object"&&(s.lazy[e]=void 0,Object.values(s.lazy).every(x=>x===void 0)&&(s.lazy=void 0))})();return c[e]=d,d},cx=new WeakMap;function yT(e,t,i,a,s){let l=i[e.id];if(Ke(l,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy=="function"){let v=cx.get(l);if(v)return{lazyRoutePromise:v,lazyHandlerPromise:v};let b=(async()=>{Ke(typeof e.lazy=="function","No lazy route function found");let x=await e.lazy(),S={};for(let T in x){let R=x[T];if(R===void 0)continue;let M=NE(T),D=l[T]!==void 0&&T!=="hasErrorBoundary";M?nn(!M,"Route property "+T+" is not a supported property to be returned from a lazy route function. This property will be ignored."):D?nn(!D,`Route "${l.id}" has a static property "${T}" defined but its lazy function is also returning a value for this property. The lazy route property "${T}" will be ignored.`):S[T]=R}Object.assign(l,S),Object.assign(l,{...a(l),lazy:void 0})})();return cx.set(l,b),b.catch(()=>{}),{lazyRoutePromise:b,lazyHandlerPromise:b}}let c=Object.keys(e.lazy),f=[],d;for(let v of c){if(s&&s.includes(v))continue;let b=qS({key:v,route:e,manifest:i,mapRouteProperties:a});b&&(f.push(b),v===t&&(d=b))}let p=f.length>0?Promise.all(f).then(()=>{}):void 0;return p?.catch(()=>{}),d?.catch(()=>{}),{lazyRoutePromise:p,lazyHandlerPromise:d}}async function ux(e){let t=e.matches.filter(s=>s.shouldLoad),i={};return(await Promise.all(t.map(s=>s.resolve()))).forEach((s,l)=>{i[t[l].route.id]=s}),i}async function bT(e){return e.matches.some(t=>t.route.middleware)?VS(e,()=>ux(e)):ux(e)}function VS(e,t){return xT(e,t,a=>a,OT,i);function i(a,s,l){if(l)return Promise.resolve(Object.assign(l.value,{[s]:{type:"error",result:a}}));{let{matches:c}=e,f=Math.min(Math.max(c.findIndex(p=>p.route.id===s),0),Math.max(c.findIndex(p=>p.shouldCallHandler()),0)),d=is(c,c[f].route.id).route.id;return Promise.resolve({[d]:{type:"error",result:a}})}}}async function xT(e,t,i,a,s){let{matches:l,request:c,params:f,context:d,unstable_pattern:p}=e,v=l.flatMap(x=>x.route.middleware?x.route.middleware.map(S=>[x.route.id,S]):[]);return await YS({request:c,params:f,context:d,unstable_pattern:p},v,t,i,a,s)}async function YS(e,t,i,a,s,l,c=0){let{request:f}=e;if(f.signal.aborted)throw f.signal.reason??new Error(`Request aborted: ${f.method} ${f.url}`);let d=t[c];if(!d)return await i();let[p,v]=d,b,x=async()=>{if(b)throw new Error("You may only call `next()` once per middleware");try{return b={value:await YS(e,t,i,a,s,l,c+1)},b.value}catch(S){return b={value:await l(S,p,b)},b.value}};try{let S=await v(e,x),T=S!=null?a(S):void 0;return s(T)?T:b?T??b.value:(b={value:await x()},b.value)}catch(S){return await l(S,p,b)}}function XS(e,t,i,a,s){let l=qS({key:"middleware",route:a.route,manifest:t,mapRouteProperties:e}),c=yT(a.route,ni(i.method)?"action":"loader",t,e,s);return{middleware:l,route:c.lazyRoutePromise,handler:c.lazyHandlerPromise}}function Jm(e,t,i,a,s,l,c,f,d=null){let p=!1,v=XS(e,t,i,s,l);return{...s,_lazyPromises:v,shouldLoad:f,shouldRevalidateArgs:d,shouldCallHandler(b){return p=!0,d?typeof b=="boolean"?ud(s,{...d,defaultShouldRevalidate:b}):ud(s,d):f},resolve(b){let{lazy:x,loader:S,middleware:T}=s.route,R=p||f||b&&!ni(i.method)&&(x||S),M=T&&T.length>0&&!S&&!x;return R&&(ni(i.method)||!M)?ST({request:i,unstable_pattern:a,match:s,lazyHandlerPromise:v?.handler,lazyRoutePromise:v?.route,handlerOverride:b,scopedContext:c}):Promise.resolve({type:"data",result:void 0})}}}function Go(e,t,i,a,s,l,c,f=null){return a.map(d=>d.route.id!==s.route.id?{...d,shouldLoad:!1,shouldRevalidateArgs:f,shouldCallHandler:()=>!1,_lazyPromises:XS(e,t,i,d,l),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Jm(e,t,i,Wc(a),d,l,c,!0,f))}async function _T(e,t,i,a,s,l){i.some(p=>p._lazyPromises?.middleware)&&await Promise.all(i.map(p=>p._lazyPromises?.middleware));let c={request:t,unstable_pattern:Wc(i),params:i[0].params,context:s,matches:i},d=await e({...c,fetcherKey:a,runClientMiddleware:p=>{let v=c;return VS(v,()=>p({...v,fetcherKey:a,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(i.flatMap(p=>[p._lazyPromises?.handler,p._lazyPromises?.route]))}catch{}return d}async function ST({request:e,unstable_pattern:t,match:i,lazyHandlerPromise:a,lazyRoutePromise:s,handlerOverride:l,scopedContext:c}){let f,d,p=ni(e.method),v=p?"action":"loader",b=x=>{let S,T=new Promise((O,D)=>S=D);d=()=>S(),e.signal.addEventListener("abort",d);let R=O=>typeof x!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${v}" [routeId: ${i.route.id}]`)):x({request:e,unstable_pattern:t,params:i.params,context:c},...O!==void 0?[O]:[]),M=(async()=>{try{return{type:"data",result:await(l?l(D=>R(D)):R())}}catch(O){return{type:"error",result:O}}})();return Promise.race([M,T])};try{let x=p?i.route.action:i.route.loader;if(a||s)if(x){let S,[T]=await Promise.all([b(x).catch(R=>{S=R}),a,s]);if(S!==void 0)throw S;f=T}else{await a;let S=p?i.route.action:i.route.loader;if(S)[f]=await Promise.all([b(S),s]);else if(v==="action"){let T=new URL(e.url),R=T.pathname+T.search;throw Yi(405,{method:e.method,pathname:R,routeId:i.route.id})}else return{type:"data",result:void 0}}else if(x)f=await b(x);else{let S=new URL(e.url),T=S.pathname+S.search;throw Yi(404,{pathname:T})}}catch(x){return{type:"error",result:x}}finally{d&&e.signal.removeEventListener("abort",d)}return f}async function CT(e){let t=e.headers.get("Content-Type");return t&&/\bapplication\/json\b/.test(t)?e.body==null?null:e.json():e.text()}async function wT(e){let{result:t,type:i}=e;if(KS(t)){let a;try{a=await CT(t)}catch(s){return{type:"error",error:s}}return i==="error"?{type:"error",error:new kd(t.status,t.statusText,a),statusCode:t.status,headers:t.headers}:{type:"data",data:a,statusCode:t.status,headers:t.headers}}return i==="error"?gx(t)?t.data instanceof Error?{type:"error",error:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"error",error:MT(t),statusCode:Uc(t)?t.status:void 0,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:Uc(t)?t.status:void 0}:gx(t)?{type:"data",data:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function ET(e,t,i,a,s){let l=e.headers.get("Location");if(Ke(l,"Redirects returned/thrown from loaders/actions must have a Location header"),!Od(l)){let c=a.slice(0,a.findIndex(f=>f.route.id===i)+1);l=Qm(new URL(t.url),c,s,l),e.headers.set("Location",l)}return e}function fx(e,t,i){if(Od(e)){let a=e,s=a.startsWith("//")?new URL(t.protocol+a):new URL(a),l=Wi(s.pathname,i)!=null;if(s.origin===t.origin&&l)return s.pathname+s.search+s.hash}return e}function Vo(e,t,i,a){let s=e.createURL(GS(t)).toString(),l={signal:i};if(a&&ni(a.formMethod)){let{formMethod:c,formEncType:f}=a;l.method=c.toUpperCase(),f==="application/json"?(l.headers=new Headers({"Content-Type":f}),l.body=JSON.stringify(a.json)):f==="text/plain"?l.body=a.text:f==="application/x-www-form-urlencoded"&&a.formData?l.body=eg(a.formData):l.body=a.formData}return new Request(s,l)}function eg(e){let t=new URLSearchParams;for(let[i,a]of e.entries())t.append(i,typeof a=="string"?a:a.name);return t}function dx(e){let t=new FormData;for(let[i,a]of e.entries())t.append(i,a);return t}function TT(e,t,i,a=!1,s=!1){let l={},c=null,f,d=!1,p={},v=i&&Oi(i[1])?i[1].error:void 0;return e.forEach(b=>{if(!(b.route.id in t))return;let x=b.route.id,S=t[x];if(Ke(!Ys(S),"Cannot handle redirect results in processLoaderData"),Oi(S)){let T=S.error;if(v!==void 0&&(T=v,v=void 0),c=c||{},s)c[x]=T;else{let R=is(e,x);c[R.route.id]==null&&(c[R.route.id]=T)}a||(l[x]=IS),d||(d=!0,f=Uc(S.error)?S.error.status:500),S.headers&&(p[x]=S.headers)}else l[x]=S.data,S.statusCode&&S.statusCode!==200&&!d&&(f=S.statusCode),S.headers&&(p[x]=S.headers)}),v!==void 0&&i&&(c={[i[0]]:v},i[2]&&(l[i[2]]=void 0)),{loaderData:l,errors:c,statusCode:f||200,loaderHeaders:p}}function hx(e,t,i,a,s,l){let{loaderData:c,errors:f}=TT(t,i,a);return s.filter(d=>!d.matches||d.matches.some(p=>p.shouldLoad)).forEach(d=>{let{key:p,match:v,controller:b}=d;if(b&&b.signal.aborted)return;let x=l[p];if(Ke(x,"Did not find corresponding fetcher result"),Oi(x)){let S=is(e.matches,v?.route.id);f&&f[S.route.id]||(f={...f,[S.route.id]:x.error}),e.fetchers.delete(p)}else if(Ys(x))Ke(!1,"Unhandled fetcher revalidation redirect");else{let S=pa(x.data);e.fetchers.set(p,S)}}),{loaderData:c,errors:f}}function px(e,t,i,a){let s=Object.entries(t).filter(([,l])=>l!==IS).reduce((l,[c,f])=>(l[c]=f,l),{});for(let l of i){let c=l.route.id;if(!t.hasOwnProperty(c)&&e.hasOwnProperty(c)&&l.route.loader&&(s[c]=e[c]),a&&a.hasOwnProperty(c))break}return s}function mx(e){return e?Oi(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function is(e,t){return(t?e.slice(0,e.findIndex(a=>a.route.id===t)+1):[...e]).reverse().find(a=>a.route.hasErrorBoundary===!0)||e[0]}function wf(e){let t=e.length===1?e[0]:e.find(i=>i.index||!i.path||i.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Yi(e,{pathname:t,routeId:i,method:a,type:s,message:l}={}){let c="Unknown Server Error",f="Unknown @remix-run/router error";return e===400?(c="Bad Request",a&&t&&i?f=`You made a ${a} request to "${t}" but did not provide a \`loader\` for route "${i}", so there is no way to handle the request.`:s==="invalid-body"&&(f="Unable to encode submission body")):e===403?(c="Forbidden",f=`Route "${i}" does not match URL "${t}"`):e===404?(c="Not Found",f=`No route matches URL "${t}"`):e===405&&(c="Method Not Allowed",a&&t&&i?f=`You made a ${a.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${i}", so there is no way to handle the request.`:a&&(f=`Invalid request method "${a.toUpperCase()}"`)),new kd(e||500,c,new Error(f),!0)}function Ef(e){let t=Object.entries(e);for(let i=t.length-1;i>=0;i--){let[a,s]=t[i];if(Ys(s))return{key:a,result:s}}}function GS(e){let t=typeof e=="string"?ds(e):e;return Hr({...t,hash:""})}function RT(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function MT(e){return new kd(e.init?.status??500,e.init?.statusText??"Internal Server Error",e.data)}function OT(e){return e!=null&&typeof e=="object"&&Object.entries(e).every(([t,i])=>typeof t=="string"&&jT(i))}function jT(e){return e!=null&&typeof e=="object"&&"type"in e&&"result"in e&&(e.type==="data"||e.type==="error")}function AT(e){return KS(e.result)&&uT.has(e.result.status)}function Oi(e){return e.type==="error"}function Ys(e){return(e&&e.type)==="redirect"}function gx(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function KS(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function kT(e){return cT.has(e.toUpperCase())}function ni(e){return oT.has(e.toUpperCase())}function Rg(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Jf(e,t){let i=typeof t=="string"?ds(t).search:t.search;if(e[e.length-1].route.index&&Rg(i||""))return e[e.length-1];let a=PS(e);return a[a.length-1]}function vx(e){let{formMethod:t,formAction:i,formEncType:a,text:s,formData:l,json:c}=e;if(!(!t||!i||!a)){if(s!=null)return{formMethod:t,formAction:i,formEncType:a,formData:void 0,json:void 0,text:s};if(l!=null)return{formMethod:t,formAction:i,formEncType:a,formData:l,json:void 0,text:void 0};if(c!==void 0)return{formMethod:t,formAction:i,formEncType:a,formData:void 0,json:c,text:void 0}}}function wm(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function DT(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function fc(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function NT(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function pa(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function zT(e,t){try{let i=e.sessionStorage.getItem(HS);if(i){let a=JSON.parse(i);for(let[s,l]of Object.entries(a||{}))l&&Array.isArray(l)&&t.set(s,new Set(l||[]))}}catch{}}function LT(e,t){if(t.size>0){let i={};for(let[a,s]of t)i[a]=[...s];try{e.sessionStorage.setItem(HS,JSON.stringify(i))}catch(a){nn(!1,`Failed to save applied view transitions in sessionStorage (${a}).`)}}}function yx(){let e,t,i=new Promise((a,s)=>{e=async l=>{a(l);try{await i}catch{}},t=async l=>{s(l);try{await i}catch{}}});return{promise:i,resolve:e,reject:t}}var Js=E.createContext(null);Js.displayName="DataRouter";var Qc=E.createContext(null);Qc.displayName="DataRouterState";E.createContext(!1);var Mg=E.createContext({isTransitioning:!1});Mg.displayName="ViewTransition";var WS=E.createContext(new Map);WS.displayName="Fetchers";var BT=E.createContext(null);BT.displayName="Await";var Zi=E.createContext(null);Zi.displayName="Navigation";var Dd=E.createContext(null);Dd.displayName="Location";var Ji=E.createContext({outlet:null,matches:[],isDataRoute:!1});Ji.displayName="Route";var Og=E.createContext(null);Og.displayName="RouteError";function PT(e,{relative:t}={}){Ke(il(),"useHref() may be used only in the context of a component.");let{basename:i,navigator:a}=E.useContext(Zi),{hash:s,pathname:l,search:c}=Zc(e,{relative:t}),f=l;return i!=="/"&&(f=l==="/"?i:Pr([i,l])),a.createHref({pathname:f,search:c,hash:s})}function il(){return E.useContext(Dd)!=null}function Ca(){return Ke(il(),"useLocation() may be used only in the context of a component."),E.useContext(Dd).location}var QS="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ZS(e){E.useContext(Zi).static||E.useLayoutEffect(e)}function ki(){let{isDataRoute:e}=E.useContext(Ji);return e?JT():$T()}function $T(){Ke(il(),"useNavigate() may be used only in the context of a component.");let e=E.useContext(Js),{basename:t,navigator:i}=E.useContext(Zi),{matches:a}=E.useContext(Ji),{pathname:s}=Ca(),l=JSON.stringify(jd(a)),c=E.useRef(!1);return ZS(()=>{c.current=!0}),E.useCallback((d,p={})=>{if(nn(c.current,QS),!c.current)return;if(typeof d=="number"){i.go(d);return}let v=Ad(d,JSON.parse(l),s,p.relative==="path");e==null&&t!=="/"&&(v.pathname=v.pathname==="/"?t:Pr([t,v.pathname])),(p.replace?i.replace:i.push)(v,p.state,p)},[t,i,l,s,e])}var UT=E.createContext(null);function HT(e){let t=E.useContext(Ji).outlet;return E.useMemo(()=>t&&E.createElement(UT.Provider,{value:e},t),[t,e])}function JS(){let{matches:e}=E.useContext(Ji),t=e[e.length-1];return t?t.params:{}}function Zc(e,{relative:t}={}){let{matches:i}=E.useContext(Ji),{pathname:a}=Ca(),s=JSON.stringify(jd(i));return E.useMemo(()=>Ad(e,JSON.parse(s),a,t==="path"),[e,s,a,t])}function IT(e,t,i,a,s){Ke(il(),"useRoutes() may be used only in the context of a component.");let{navigator:l}=E.useContext(Zi),{matches:c}=E.useContext(Ji),f=c[c.length-1],d=f?f.params:{},p=f?f.pathname:"/",v=f?f.pathnameBase:"/",b=f&&f.route;{let D=b&&b.path||"";e1(p,!b||D.endsWith("*")||D.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${p}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. - -Please change the parent to .`)}let x=Ca(),S;S=x;let T=S.pathname||"/",R=T;if(v!=="/"){let D=v.replace(/^\//,"").split("/");R="/"+T.replace(/^\//,"").split("/").slice(D.length).join("/")}let M=ns(e,{pathname:R});return nn(b||M!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),nn(M==null||M[M.length-1].route.element!==void 0||M[M.length-1].route.Component!==void 0||M[M.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`),XT(M&&M.map(D=>Object.assign({},D,{params:Object.assign({},d,D.params),pathname:Pr([v,l.encodeLocation?l.encodeLocation(D.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:D.pathname]),pathnameBase:D.pathnameBase==="/"?v:Pr([v,l.encodeLocation?l.encodeLocation(D.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:D.pathnameBase])})),c,i,a,s)}function FT(){let e=ZT(),t=Uc(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:a},l={padding:"2px 4px",backgroundColor:a},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=E.createElement(E.Fragment,null,E.createElement("p",null,"💿 Hey developer 👋"),E.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",E.createElement("code",{style:l},"ErrorBoundary")," or"," ",E.createElement("code",{style:l},"errorElement")," prop on your route.")),E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),i?E.createElement("pre",{style:s},i):null,c)}var qT=E.createElement(FT,null),VT=class extends E.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){return this.state.error!==void 0?E.createElement(Ji.Provider,{value:this.props.routeContext},E.createElement(Og.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function YT({routeContext:e,match:t,children:i}){let a=E.useContext(Js);return a&&a.static&&a.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=t.route.id),E.createElement(Ji.Provider,{value:e},i)}function XT(e,t=[],i=null,a=null,s=null){if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(t.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let l=e,c=i?.errors;if(c!=null){let v=l.findIndex(b=>b.route.id&&c?.[b.route.id]!==void 0);Ke(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),l=l.slice(0,Math.min(l.length,v+1))}let f=!1,d=-1;if(i)for(let v=0;v=0?l=l.slice(0,d+1):l=[l[0]];break}}}let p=i&&a?(v,b)=>{a(v,{location:i.location,params:i.matches?.[0]?.params??{},unstable_pattern:Wc(i.matches),errorInfo:b})}:void 0;return l.reduceRight((v,b,x)=>{let S,T=!1,R=null,M=null;i&&(S=c&&b.route.id?c[b.route.id]:void 0,R=b.route.errorElement||qT,f&&(d<0&&x===0?(e1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),T=!0,M=null):d===x&&(T=!0,M=b.route.hydrateFallbackElement||null)));let O=t.concat(l.slice(0,x+1)),D=()=>{let N;return S?N=R:T?N=M:b.route.Component?N=E.createElement(b.route.Component,null):b.route.element?N=b.route.element:N=v,E.createElement(YT,{match:b,routeContext:{outlet:v,matches:O,isDataRoute:i!=null},children:N})};return i&&(b.route.ErrorBoundary||b.route.errorElement||x===0)?E.createElement(VT,{location:i.location,revalidation:i.revalidation,component:R,error:S,children:D(),routeContext:{outlet:null,matches:O,isDataRoute:!0},onError:p}):D()},null)}function jg(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function GT(e){let t=E.useContext(Js);return Ke(t,jg(e)),t}function KT(e){let t=E.useContext(Qc);return Ke(t,jg(e)),t}function WT(e){let t=E.useContext(Ji);return Ke(t,jg(e)),t}function Ag(e){let t=WT(e),i=t.matches[t.matches.length-1];return Ke(i.route.id,`${e} can only be used on routes that contain a unique "id"`),i.route.id}function QT(){return Ag("useRouteId")}function ZT(){let e=E.useContext(Og),t=KT("useRouteError"),i=Ag("useRouteError");return e!==void 0?e:t.errors?.[i]}function JT(){let{router:e}=GT("useNavigate"),t=Ag("useNavigate"),i=E.useRef(!1);return ZS(()=>{i.current=!0}),E.useCallback(async(s,l={})=>{nn(i.current,QS),i.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:t,...l}))},[e,t])}var bx={};function e1(e,t,i){!t&&!bx[e]&&(bx[e]=!0,nn(!1,i))}var xx={};function _x(e,t){!e&&!xx[t]&&(xx[t]=!0,console.warn(t))}var e2="useOptimistic",Sx=ld[e2],t2=()=>{};function n2(e){return Sx?Sx(e):[e,t2]}function i2(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&nn(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:E.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&nn(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:E.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&nn(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:E.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var r2=["HydrateFallback","hydrateFallbackElement"],a2=class{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=i=>{this.status==="pending"&&(this.status="resolved",e(i))},this.reject=i=>{this.status==="pending"&&(this.status="rejected",t(i))}})}};function s2({router:e,flushSync:t,unstable_onError:i,unstable_useTransitions:a}){let[s,l]=E.useState(e.state),[c,f]=n2(s),[d,p]=E.useState(),[v,b]=E.useState({isTransitioning:!1}),[x,S]=E.useState(),[T,R]=E.useState(),[M,O]=E.useState(),D=E.useRef(new Map),N=E.useCallback((k,{deletedFetchers:K,newErrors:X,flushSync:ae,viewTransitionOpts:se})=>{X&&i&&Object.values(X).forEach(ie=>i(ie,{location:k.location,params:k.matches[0]?.params??{},unstable_pattern:Wc(k.matches)})),k.fetchers.forEach((ie,W)=>{ie.data!==void 0&&D.current.set(W,ie.data)}),K.forEach(ie=>D.current.delete(ie)),_x(ae===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let A=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(_x(se==null||A,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!se||!A){t&&ae?t(()=>l(k)):a===!1?l(k):E.startTransition(()=>{a===!0&&f(ie=>Cx(ie,k)),l(k)});return}if(t&&ae){t(()=>{T&&(x?.resolve(),T.skipTransition()),b({isTransitioning:!0,flushSync:!0,currentLocation:se.currentLocation,nextLocation:se.nextLocation})});let ie=e.window.document.startViewTransition(()=>{t(()=>l(k))});ie.finished.finally(()=>{t(()=>{S(void 0),R(void 0),p(void 0),b({isTransitioning:!1})})}),t(()=>R(ie));return}T?(x?.resolve(),T.skipTransition(),O({state:k,currentLocation:se.currentLocation,nextLocation:se.nextLocation})):(p(k),b({isTransitioning:!0,flushSync:!1,currentLocation:se.currentLocation,nextLocation:se.nextLocation}))},[e.window,t,T,x,a,f,i]);E.useLayoutEffect(()=>e.subscribe(N),[e,N]),E.useEffect(()=>{v.isTransitioning&&!v.flushSync&&S(new a2)},[v]),E.useEffect(()=>{if(x&&d&&e.window){let k=d,K=x.promise,X=e.window.document.startViewTransition(async()=>{a===!1?l(k):E.startTransition(()=>{a===!0&&f(ae=>Cx(ae,k)),l(k)}),await K});X.finished.finally(()=>{S(void 0),R(void 0),p(void 0),b({isTransitioning:!1})}),R(X)}},[d,x,e.window,a,f]),E.useEffect(()=>{x&&d&&c.location.key===d.location.key&&x.resolve()},[x,T,c.location,d]),E.useEffect(()=>{!v.isTransitioning&&M&&(p(M.state),b({isTransitioning:!0,flushSync:!1,currentLocation:M.currentLocation,nextLocation:M.nextLocation}),O(void 0))},[v.isTransitioning,M]);let B=E.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:k=>e.navigate(k),push:(k,K,X)=>e.navigate(k,{state:K,preventScrollReset:X?.preventScrollReset}),replace:(k,K,X)=>e.navigate(k,{replace:!0,state:K,preventScrollReset:X?.preventScrollReset})}),[e]),L=e.basename||"/",H=E.useMemo(()=>({router:e,navigator:B,static:!1,basename:L,unstable_onError:i}),[e,B,L,i]);return E.createElement(E.Fragment,null,E.createElement(Js.Provider,{value:H},E.createElement(Qc.Provider,{value:c},E.createElement(WS.Provider,{value:D.current},E.createElement(Mg.Provider,{value:v},E.createElement(u2,{basename:L,location:c.location,navigationType:c.historyAction,navigator:B,unstable_useTransitions:a===!0},E.createElement(o2,{routes:e.routes,future:e.future,state:c,unstable_onError:i})))))),null)}function Cx(e,t){return{...e,navigation:t.navigation.state!=="idle"?t.navigation:e.navigation,revalidation:t.revalidation!=="idle"?t.revalidation:e.revalidation,actionData:t.navigation.state!=="submitting"?t.actionData:e.actionData,fetchers:t.fetchers}}var o2=E.memo(l2);function l2({routes:e,future:t,state:i,unstable_onError:a}){return IT(e,void 0,i,a,t)}function tg({to:e,replace:t,state:i,relative:a}){Ke(il()," may be used only in the context of a component.");let{static:s}=E.useContext(Zi);nn(!s," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:l}=E.useContext(Ji),{pathname:c}=Ca(),f=ki(),d=Ad(e,jd(l),c,a==="path"),p=JSON.stringify(d);return E.useEffect(()=>{f(JSON.parse(p),{replace:t,state:i,relative:a})},[f,p,a,t,i]),null}function c2(e){return HT(e.context)}function u2({basename:e="/",children:t=null,location:i,navigationType:a="POP",navigator:s,static:l=!1,unstable_useTransitions:c}){Ke(!il(),"You cannot render a inside another . You should never have more than one in your app.");let f=e.replace(/^\/*/,"/"),d=E.useMemo(()=>({basename:f,navigator:s,static:l,unstable_useTransitions:c,future:{}}),[f,s,l,c]);typeof i=="string"&&(i=ds(i));let{pathname:p="/",search:v="",hash:b="",state:x=null,key:S="default"}=i,T=E.useMemo(()=>{let R=Wi(p,f);return R==null?null:{location:{pathname:R,search:v,hash:b,state:x,key:S},navigationType:a}},[f,p,v,b,x,S,a]);return nn(T!=null,` is not able to match the URL "${p}${v}${b}" because it does not start with the basename, so the won't render anything.`),T==null?null:E.createElement(Zi.Provider,{value:d},E.createElement(Dd.Provider,{children:t,value:T}))}var ed="get",td="application/x-www-form-urlencoded";function Nd(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function f2(e){return Nd(e)&&e.tagName.toLowerCase()==="button"}function d2(e){return Nd(e)&&e.tagName.toLowerCase()==="form"}function h2(e){return Nd(e)&&e.tagName.toLowerCase()==="input"}function p2(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function m2(e,t){return e.button===0&&(!t||t==="_self")&&!p2(e)}var Tf=null;function g2(){if(Tf===null)try{new FormData(document.createElement("form"),0),Tf=!1}catch{Tf=!0}return Tf}var v2=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Em(e){return e!=null&&!v2.has(e)?(nn(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${td}"`),null):e}function y2(e,t){let i,a,s,l,c;if(d2(e)){let f=e.getAttribute("action");a=f?Wi(f,t):null,i=e.getAttribute("method")||ed,s=Em(e.getAttribute("enctype"))||td,l=new FormData(e)}else if(f2(e)||h2(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a