From 84bde1e1b6a41adf2f87b90d50892599dc2e1dc8 Mon Sep 17 00:00:00 2001 From: Jonas Zillinger Date: Wed, 24 May 2023 16:30:22 +0200 Subject: [PATCH] new release --- dist/calendar-widget.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/dist/calendar-widget.js b/dist/calendar-widget.js index b8d5916..fcdb04d 100644 --- a/dist/calendar-widget.js +++ b/dist/calendar-widget.js @@ -1,5 +1,5 @@ -(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode(`@import"https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap";._root_1hq0z_1{--rdp-cell-size: 40px;--rdp-accent-color: #0000ff;--rdp-background-color: #e7edff;--rdp-accent-color-dark: #3003e1;--rdp-background-color-dark: #180270;--rdp-outline: 2px solid var(--rdp-accent-color);--rdp-outline-selected: 3px solid var(--rdp-accent-color);margin:1em}._vhidden_1hq0z_14{box-sizing:border-box;margin:0;background:transparent;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute!important;top:0;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px)!important;border:0!important}._button_reset_1hq0z_34{appearance:none;position:relative;margin:0;padding:0;cursor:default;color:inherit;background:none;font:inherit;-moz-appearance:none;-webkit-appearance:none}._button_reset_1hq0z_34:focus-visible{outline:none}._button_1hq0z_34{border:2px solid transparent}._button_1hq0z_34[disabled]:not(._day_selected_1hq0z_57){opacity:.25}._button_1hq0z_34:not([disabled]){cursor:pointer}._button_1hq0z_34:focus-visible:not([disabled]){color:inherit;background-color:var(--rdp-background-color);border:var(--rdp-outline)}._button_1hq0z_34:hover:not([disabled]):not(._day_selected_1hq0z_57){background-color:var(--rdp-background-color)}._months_1hq0z_75{display:flex}._month_1hq0z_75{margin:0 1em}._month_1hq0z_75:first-child{margin-left:0}._month_1hq0z_75:last-child{margin-right:0}._table_1hq0z_91{margin:0;max-width:calc(var(--rdp-cell-size) * 7);border-collapse:collapse}._with_weeknumber_1hq0z_97 ._table_1hq0z_91{max-width:calc(var(--rdp-cell-size) * 8);border-collapse:collapse}._caption_1hq0z_102{display:flex;align-items:center;justify-content:space-between;padding:0;text-align:left}._multiple_months_1hq0z_110 ._caption_1hq0z_102{position:relative;display:block;text-align:center}._caption_dropdowns_1hq0z_116{position:relative;display:inline-flex}._caption_label_1hq0z_121{position:relative;z-index:1;display:inline-flex;align-items:center;margin:0;padding:0 .25em;white-space:nowrap;color:currentColor;border:0;border:2px solid transparent;font-family:inherit;font-size:140%;font-weight:700}._nav_1hq0z_137{white-space:nowrap}._multiple_months_1hq0z_110 ._caption_start_1hq0z_141 ._nav_1hq0z_137{position:absolute;top:50%;left:0;transform:translateY(-50%)}._multiple_months_1hq0z_110 ._caption_end_1hq0z_148 ._nav_1hq0z_137{position:absolute;top:50%;right:0;transform:translateY(-50%)}._nav_button_1hq0z_155{display:inline-flex;align-items:center;justify-content:center;width:var(--rdp-cell-size);height:var(--rdp-cell-size);padding:.25em;border-radius:100%}._dropdown_year_1hq0z_169,._dropdown_month_1hq0z_170{position:relative;display:inline-flex;align-items:center}._dropdown_1hq0z_169{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;z-index:2;top:0;bottom:0;left:0;width:100%;margin:0;padding:0;cursor:inherit;opacity:0;border:none;background-color:transparent;font-family:inherit;font-size:inherit;line-height:inherit}._dropdown_1hq0z_169[disabled]{opacity:unset;color:unset}._dropdown_1hq0z_169:focus-visible:not([disabled])+._caption_label_1hq0z_121{background-color:var(--rdp-background-color);border:var(--rdp-outline);border-radius:6px}._dropdown_icon_1hq0z_206{margin:0 0 0 5px}._head_1hq0z_210{border:0}._head_row_1hq0z_214,._row_1hq0z_215{height:100%}._head_cell_1hq0z_219{vertical-align:middle;font-size:.75em;font-weight:700;text-align:center;height:100%;height:var(--rdp-cell-size);padding:0}._tbody_1hq0z_229{border:0}._tfoot_1hq0z_233{margin:.5em}._cell_1hq0z_237{width:var(--rdp-cell-size);height:100%;height:var(--rdp-cell-size);padding:0;text-align:center}._weeknumber_1hq0z_245{font-size:.75em}._weeknumber_1hq0z_245,._day_1hq0z_57{display:flex;overflow:hidden;align-items:center;justify-content:center;box-sizing:border-box;width:var(--rdp-cell-size);max-width:var(--rdp-cell-size);height:var(--rdp-cell-size);margin:0;border:2px solid transparent;border-radius:100%}._day_today_1hq0z_264:not(._day_outside_1hq0z_264){font-weight:700}._day_selected_1hq0z_57,._day_selected_1hq0z_57:focus-visible,._day_selected_1hq0z_57:hover{color:#fff;opacity:1;background-color:var(--rdp-accent-color)}._day_outside_1hq0z_264{opacity:.5}._day_selected_1hq0z_57:focus-visible{outline:var(--rdp-outline);outline-offset:2px;z-index:1}._root_1hq0z_1:not([dir="rtl"]) ._day_range_start_1hq0z_287:not(._day_range_end_1hq0z_287){border-top-right-radius:0;border-bottom-right-radius:0}._root_1hq0z_1:not([dir="rtl"]) ._day_range_end_1hq0z_287:not(._day_range_start_1hq0z_287){border-top-left-radius:0;border-bottom-left-radius:0}._root_1hq0z_1[dir=rtl] ._day_range_start_1hq0z_287:not(._day_range_end_1hq0z_287){border-top-left-radius:0;border-bottom-left-radius:0}._root_1hq0z_1[dir=rtl] ._day_range_end_1hq0z_287:not(._day_range_start_1hq0z_287){border-top-right-radius:0;border-bottom-right-radius:0}._day_range_end_1hq0z_287._day_range_start_1hq0z_287{border-radius:100%}._day_range_middle_1hq0z_311{border-radius:0}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Lato,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}.default-1.light{--color-primary-50: 255, 255, 255;--color-primary-100: 255, 255, 255;--color-primary-200: 255, 255, 255;--color-primary-300: 255, 255, 255;--color-primary-400: 255, 255, 255;--color-primary-500: 255, 255, 255;--color-primary-600: 230, 230, 230;--color-primary-700: 204, 204, 204;--color-primary-800: 179, 179, 179;--color-primary-900: 153, 153, 153;--color-primary-950: 128, 128, 128;--color-neutral-50: 244, 245, 247;--color-neutral-100: 233, 234, 238;--color-neutral-200: 214, 216, 222;--color-neutral-300: 173, 176, 185;--color-neutral-400: 108, 112, 122;--color-neutral-500: 44, 48, 57;--color-neutral-600: 34, 38, 46;--color-neutral-700: 26, 29, 36;--color-neutral-800: 18, 20, 26;--color-neutral-900: 11, 12, 16;--color-neutral-950: 7, 8, 11;--color-secondary-50: 235, 243, 255;--color-secondary-100: 207, 229, 255;--color-secondary-200: 158, 204, 255;--color-secondary-300: 96, 169, 255;--color-secondary-400: 51, 141, 255;--color-secondary-500: 6, 104, 223;--color-secondary-600: 5, 83, 178;--color-secondary-700: 4, 62, 133;--color-secondary-800: 3, 42, 89;--color-secondary-900: 2, 21, 45;--color-secondary-950: 1, 10, 22;--color-accent-50: 241, 247, 243;--color-accent-100: 221, 238, 227;--color-accent-200: 181, 217, 195;--color-accent-300: 140, 196, 164;--color-accent-400: 100, 175, 133;--color-accent-500: 58, 118, 81;--color-accent-600: 46, 94, 65;--color-accent-700: 34, 70, 49;--color-accent-800: 22, 46, 33;--color-accent-900: 10, 22, 17;--color-accent-950: 5, 11, 9;--color-error: 194, 12, 17}.default-1.dark{--color-primary-50: 244, 245, 247;--color-primary-100: 233, 234, 238;--color-primary-200: 214, 216, 222;--color-primary-300: 173, 176, 185;--color-primary-400: 108, 112, 122;--color-primary-500: 44, 48, 57;--color-primary-600: 34, 38, 46;--color-primary-700: 26, 29, 36;--color-primary-800: 18, 20, 26;--color-primary-900: 11, 12, 16;--color-primary-950: 7, 8, 11;--color-neutral-50: 255, 254, 255;--color-neutral-100: 254, 251, 254;--color-neutral-200: 251, 244, 251;--color-neutral-300: 246, 234, 246;--color-neutral-400: 241, 224, 241;--color-neutral-500: 253, 247, 253;--color-neutral-600: 226, 191, 226;--color-neutral-700: 199, 134, 199;--color-neutral-800: 173, 78, 173;--color-neutral-900: 146, 22, 146;--color-neutral-950: 118, 5, 118;--color-secondary-50: 249, 223, 240;--color-secondary-100: 244, 200, 230;--color-secondary-200: 237, 176, 219;--color-secondary-300: 231, 151, 208;--color-secondary-400: 224, 127, 198;--color-secondary-500: 224, 119, 192;--color-secondary-600: 200, 83, 167;--color-secondary-700: 175, 47, 143;--color-secondary-800: 151, 11, 118;--color-secondary-900: 127, 0, 94;--color-secondary-950: 102, 0, 69;--color-accent-50: 227, 246, 244;--color-accent-100: 203, 240, 237;--color-accent-200: 179, 233, 230;--color-accent-300: 155, 226, 223;--color-accent-400: 130, 219, 216;--color-accent-500: 77, 163, 177;--color-accent-600: 62, 130, 142;--color-accent-700: 47, 97, 107;--color-accent-800: 32, 64, 72;--color-accent-900: 17, 31, 37;--color-accent-950: 2, 7, 9;--color-error: 249, 121, 110}.custom-1.light{--color-primary-50: 255, 255, 255;--color-primary-100: 255, 255, 255;--color-primary-200: 255, 255, 255;--color-primary-300: 255, 255, 255;--color-primary-400: 255, 255, 255;--color-primary-500: 255, 254, 249;--color-primary-600: 255, 245, 193;--color-primary-700: 255, 235, 137;--color-primary-800: 255, 226, 81;--color-primary-900: 255, 217, 25;--color-neutral-50: 42, 80, 221;--color-neutral-100: 34, 71, 208;--color-neutral-200: 28, 59, 173;--color-neutral-300: 22, 47, 138;--color-neutral-400: 17, 35, 103;--color-neutral-500: 11, 23, 68;--color-neutral-600: 3, 7, 20;--color-neutral-700: 0, 0, 0;--color-neutral-800: 0, 0, 0;--color-neutral-900: 0, 0, 0;--color-secondary-50: 196, 236, 254;--color-secondary-100: 176, 230, 253;--color-secondary-200: 136, 217, 252;--color-secondary-300: 97, 204, 251;--color-secondary-400: 57, 191, 250;--color-secondary-500: 17, 178, 249;--color-secondary-600: 5, 144, 205;--color-secondary-700: 4, 105, 150;--color-secondary-800: 2, 67, 95;--color-secondary-900: 1, 28, 41;--color-accent-50: 185, 249, 235;--color-accent-100: 166, 248, 230;--color-accent-200: 129, 245, 219;--color-accent-300: 91, 242, 208;--color-accent-400: 53, 238, 198;--color-accent-500: 19, 232, 185;--color-accent-600: 15, 180, 144;--color-accent-700: 11, 128, 102;--color-accent-800: 6, 76, 61;--color-accent-900: 2, 25, 20}.custom-1.dark{--color-primary-50: 42, 80, 221;--color-primary-100: 34, 71, 208;--color-primary-200: 28, 59, 173;--color-primary-300: 22, 47, 138;--color-primary-400: 17, 35, 103;--color-primary-500: 11, 23, 68;--color-primary-600: 3, 7, 20;--color-primary-700: 0, 0, 0;--color-primary-800: 0, 0, 0;--color-primary-900: 0, 0, 0;--color-neutral-50: 255, 255, 255;--color-neutral-100: 255, 255, 255;--color-neutral-200: 255, 255, 255;--color-neutral-300: 255, 255, 255;--color-neutral-400: 255, 255, 255;--color-neutral-500: 255, 254, 249;--color-neutral-600: 255, 245, 193;--color-neutral-700: 255, 235, 137;--color-neutral-800: 255, 226, 81;--color-neutral-900: 255, 217, 25;--color-secondary-50: 185, 249, 235;--color-secondary-100: 166, 248, 230;--color-secondary-200: 129, 245, 219;--color-secondary-300: 91, 242, 208;--color-secondary-400: 53, 238, 198;--color-secondary-500: 19, 232, 185;--color-secondary-600: 15, 180, 144;--color-secondary-700: 11, 128, 102;--color-secondary-800: 6, 76, 61;--color-secondary-900: 2, 25, 20;--color-accent-50: 196, 236, 254;--color-accent-100: 176, 230, 253;--color-accent-200: 136, 217, 252;--color-accent-300: 97, 204, 251;--color-accent-400: 57, 191, 250;--color-accent-500: 17, 178, 249;--color-accent-600: 5, 144, 205;--color-accent-700: 4, 105, 150;--color-accent-800: 2, 67, 95;--color-accent-900: 1, 28, 41}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0px}.left-0{left:0px}.right-0{right:0px}.top-0{top:0px}.z-0{z-index:0}.z-10{z-index:10}.mx-8{margin-left:2rem;margin-right:2rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-0{margin-bottom:0}.mb-0\\.5{margin-bottom:.125rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.ml-3{margin-left:.75rem}.mr-1{margin-right:.25rem}.mr-1\\.5{margin-right:.375rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-96{max-height:24rem}.min-h-full{min-height:100%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-3{width:.75rem}.w-3\\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-full{min-width:100%}.max-w-\\[20rem\\]{max-width:20rem}.max-w-full{max-width:100%}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.border-spacing-0{--tw-border-spacing-x: 0px;--tw-border-spacing-y: 0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-4{--tw-translate-y: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes ping{75%,to{transform:scale(2);opacity:0}}.animate-ping{animation:ping 1s cubic-bezier(0,0,.2,1) infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-y-1{row-gap:.25rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-skin-neutral-500\\/10>:not([hidden])~:not([hidden]){border-color:rgba(var(--color-neutral-500),.1)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-skin-neutral-500{--tw-border-opacity: 1;border-color:rgba(var(--color-neutral-500),var(--tw-border-opacity))}.border-skin-neutral-500\\/50{border-color:rgba(var(--color-neutral-500),.5)}.border-skin-neutral-500\\/75{border-color:rgba(var(--color-neutral-500),.75)}.border-transparent{border-color:transparent}.bg-skin-accent-500{--tw-bg-opacity: 1;background-color:rgba(var(--color-accent-500),var(--tw-bg-opacity))}.bg-skin-neutral-100{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-100),var(--tw-bg-opacity))}.bg-skin-neutral-500{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-500),var(--tw-bg-opacity))}.bg-skin-neutral-500\\/50{background-color:rgba(var(--color-neutral-500),.5)}.bg-skin-primary-100{--tw-bg-opacity: 1;background-color:rgba(var(--color-primary-100),var(--tw-bg-opacity))}.bg-skin-primary-500{--tw-bg-opacity: 1;background-color:rgba(var(--color-primary-500),var(--tw-bg-opacity))}.bg-skin-secondary-500{--tw-bg-opacity: 1;background-color:rgba(var(--color-secondary-500),var(--tw-bg-opacity))}.bg-skin-secondary-500\\/40{background-color:rgba(var(--color-secondary-500),.4)}.bg-transparent{background-color:transparent}.p-2{padding:.5rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-1{padding-left:.25rem}.pl-3{padding-left:.75rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-3\\.5{padding-top:.875rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extralight{font-weight:200}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-6{line-height:1.5rem}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.text-skin-accent-500{--tw-text-opacity: 1;color:rgba(var(--color-accent-500),var(--tw-text-opacity))}.text-skin-error{--tw-text-opacity: 1;color:rgba(var(--color-error),var(--tw-text-opacity))}.text-skin-neutral-100{--tw-text-opacity: 1;color:rgba(var(--color-neutral-100),var(--tw-text-opacity))}.text-skin-neutral-500{--tw-text-opacity: 1;color:rgba(var(--color-neutral-500),var(--tw-text-opacity))}.text-skin-neutral-500\\/25{color:rgba(var(--color-neutral-500),.25)}.text-skin-neutral-500\\/60{color:rgba(var(--color-neutral-500),.6)}.text-skin-neutral-500\\/70{color:rgba(var(--color-neutral-500),.7)}.text-skin-neutral-500\\/75{color:rgba(var(--color-neutral-500),.75)}.text-skin-neutral-500\\/80{color:rgba(var(--color-neutral-500),.8)}.text-skin-neutral-800{--tw-text-opacity: 1;color:rgba(var(--color-neutral-800),var(--tw-text-opacity))}.text-skin-primary-500{--tw-text-opacity: 1;color:rgba(var(--color-primary-500),var(--tw-text-opacity))}.text-skin-primary-900{--tw-text-opacity: 1;color:rgba(var(--color-primary-900),var(--tw-text-opacity))}.text-skin-secondary-500{--tw-text-opacity: 1;color:rgba(var(--color-secondary-500),var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-skin-accent-500{--tw-ring-opacity: 1;--tw-ring-color: rgba(var(--color-accent-500), var(--tw-ring-opacity))}.ring-skin-neutral-500\\/30{--tw-ring-color: rgba(var(--color-neutral-500), .3)}.ring-skin-neutral-500\\/50{--tw-ring-color: rgba(var(--color-neutral-500), .5)}.ring-skin-neutral-500\\/75{--tw-ring-color: rgba(var(--color-neutral-500), .75)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.placeholder\\:text-skin-neutral-500\\/75::-moz-placeholder{color:rgba(var(--color-neutral-500),.75)}.placeholder\\:text-skin-neutral-500\\/75::placeholder{color:rgba(var(--color-neutral-500),.75)}.focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.focus-within\\:ring-2:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\\:ring-inset:focus-within{--tw-ring-inset: inset}.focus-within\\:ring-skin-secondary-500:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgba(var(--color-secondary-500), var(--tw-ring-opacity))}.hover\\:w-\\[90\\%\\]:hover{width:90%}.hover\\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:scale-125:hover{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\\:bg-skin-accent-600:hover{--tw-bg-opacity: 1;background-color:rgba(var(--color-accent-600),var(--tw-bg-opacity))}.hover\\:bg-skin-primary-600:hover{--tw-bg-opacity: 1;background-color:rgba(var(--color-primary-600),var(--tw-bg-opacity))}.hover\\:bg-skin-secondary-500\\/40:hover{background-color:rgba(var(--color-secondary-500),.4)}.hover\\:font-bold:hover{font-weight:700}.focus\\:border-skin-secondary-500:focus{--tw-border-opacity: 1;border-color:rgba(var(--color-secondary-500),var(--tw-border-opacity))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-inset:focus{--tw-ring-inset: inset}.focus\\:ring-skin-secondary-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgba(var(--color-secondary-500), var(--tw-ring-opacity))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-skin-accent-500:focus-visible{outline-color:rgb(var(--color-accent-500))}.focus-visible\\:outline-skin-secondary-500:focus-visible{outline-color:rgb(var(--color-secondary-500))}.enabled\\:opacity-50:enabled{opacity:.5}.hover\\:enabled\\:scale-125:enabled:hover{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:enabled\\:cursor-pointer:enabled:hover{cursor:pointer}.hover\\:enabled\\:bg-skin-secondary-500\\/60:enabled:hover{background-color:rgba(var(--color-secondary-500),.6)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-skin-neutral-500:disabled{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-500),var(--tw-bg-opacity))}@media (min-width: 640px){.sm\\:col-span-2{grid-column:span 2 / span 2}.sm\\:col-start-1{grid-column-start:1}.sm\\:col-start-2{grid-column-start:2}.sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\\:mt-0{margin-top:0}.sm\\:grid{display:grid}.sm\\:max-w-lg{max-width:32rem}.sm\\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:grid-flow-row-dense{grid-auto-flow:row dense}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:items-center{align-items:center}.sm\\:gap-3{gap:.75rem}.sm\\:gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.sm\\:p-0{padding:0}.sm\\:p-6{padding:1.5rem}.sm\\:py-1{padding-top:.25rem;padding-bottom:.25rem}.sm\\:py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.sm\\:py-16{padding-top:4rem;padding-bottom:4rem}.sm\\:leading-6{line-height:1.5rem}}`)),document.head.appendChild(r)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})(); -function ap(e,t){for(var n=0;nr[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function lp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ei={},sp={get exports(){return ei},set exports(e){ei=e}},ya={},g={},up={get exports(){return g},set exports(e){g=e}},q={};/** +(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode(`@import"https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap";._root_1lfh1_1{--rdp-cell-size: 40px;--rdp-caption-font-size: 18px;--rdp-accent-color: #0000ff;--rdp-background-color: #e7edff;--rdp-accent-color-dark: #3003e1;--rdp-background-color-dark: #180270;--rdp-outline: 2px solid var(--rdp-accent-color);--rdp-outline-selected: 3px solid var(--rdp-accent-color);margin:1em}._vhidden_1lfh1_15{box-sizing:border-box;margin:0;background:transparent;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute!important;top:0;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px)!important;border:0!important}._button_reset_1lfh1_35{appearance:none;position:relative;margin:0;padding:0;cursor:default;color:inherit;background:none;font:inherit;-moz-appearance:none;-webkit-appearance:none}._button_reset_1lfh1_35:focus-visible{outline:none}._button_1lfh1_35{border:2px solid transparent}._button_1lfh1_35[disabled]:not(._day_selected_1lfh1_58){opacity:.25}._button_1lfh1_35:not([disabled]){cursor:pointer}._button_1lfh1_35:focus-visible:not([disabled]){color:inherit;background-color:var(--rdp-background-color);border:var(--rdp-outline)}._button_1lfh1_35:hover:not([disabled]):not(._day_selected_1lfh1_58){background-color:var(--rdp-background-color)}._months_1lfh1_76{display:flex}._month_1lfh1_76{margin:0 1em}._month_1lfh1_76:first-child{margin-left:0}._month_1lfh1_76:last-child{margin-right:0}._table_1lfh1_92{margin:0;max-width:calc(var(--rdp-cell-size) * 7);border-collapse:collapse}._with_weeknumber_1lfh1_98 ._table_1lfh1_92{max-width:calc(var(--rdp-cell-size) * 8);border-collapse:collapse}._caption_1lfh1_103{display:flex;align-items:center;justify-content:space-between;padding:0;text-align:left}._multiple_months_1lfh1_111 ._caption_1lfh1_103{position:relative;display:block;text-align:center}._caption_dropdowns_1lfh1_117{position:relative;display:inline-flex}._caption_label_1lfh1_122{position:relative;z-index:1;display:inline-flex;align-items:center;margin:0;padding:0 .25em;white-space:nowrap;color:currentColor;border:0;border:2px solid transparent;font-family:inherit;font-size:var(--rdp-caption-font-size);font-weight:700}._nav_1lfh1_138{white-space:nowrap}._multiple_months_1lfh1_111 ._caption_start_1lfh1_142 ._nav_1lfh1_138{position:absolute;top:50%;left:0;transform:translateY(-50%)}._multiple_months_1lfh1_111 ._caption_end_1lfh1_149 ._nav_1lfh1_138{position:absolute;top:50%;right:0;transform:translateY(-50%)}._nav_button_1lfh1_156{display:inline-flex;align-items:center;justify-content:center;width:var(--rdp-cell-size);height:var(--rdp-cell-size);padding:.25em;border-radius:100%}._dropdown_year_1lfh1_170,._dropdown_month_1lfh1_171{position:relative;display:inline-flex;align-items:center}._dropdown_1lfh1_170{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:absolute;z-index:2;top:0;bottom:0;left:0;width:100%;margin:0;padding:0;cursor:inherit;opacity:0;border:none;background-color:transparent;font-family:inherit;font-size:inherit;line-height:inherit}._dropdown_1lfh1_170[disabled]{opacity:unset;color:unset}._dropdown_1lfh1_170:focus-visible:not([disabled])+._caption_label_1lfh1_122{background-color:var(--rdp-background-color);border:var(--rdp-outline);border-radius:6px}._dropdown_icon_1lfh1_207{margin:0 0 0 5px}._head_1lfh1_211{border:0}._head_row_1lfh1_215,._row_1lfh1_216{height:100%}._head_cell_1lfh1_220{vertical-align:middle;font-size:.75em;font-weight:700;text-align:center;height:100%;height:var(--rdp-cell-size);padding:0;text-transform:uppercase}._tbody_1lfh1_231{border:0}._tfoot_1lfh1_235{margin:.5em}._cell_1lfh1_239{width:var(--rdp-cell-size);height:100%;height:var(--rdp-cell-size);padding:0;text-align:center}._weeknumber_1lfh1_247{font-size:.75em}._weeknumber_1lfh1_247,._day_1lfh1_58{display:flex;overflow:hidden;align-items:center;justify-content:center;box-sizing:border-box;width:var(--rdp-cell-size);max-width:var(--rdp-cell-size);height:var(--rdp-cell-size);margin:0;border:2px solid transparent;border-radius:100%}._day_today_1lfh1_266:not(._day_outside_1lfh1_266){font-weight:700}._day_selected_1lfh1_58,._day_selected_1lfh1_58:focus-visible,._day_selected_1lfh1_58:hover{color:#fff;opacity:1;background-color:var(--rdp-accent-color)}._day_outside_1lfh1_266{opacity:.5}._day_selected_1lfh1_58:focus-visible{outline:var(--rdp-outline);outline-offset:2px;z-index:1}._root_1lfh1_1:not([dir="rtl"]) ._day_range_start_1lfh1_289:not(._day_range_end_1lfh1_289){border-top-right-radius:0;border-bottom-right-radius:0}._root_1lfh1_1:not([dir="rtl"]) ._day_range_end_1lfh1_289:not(._day_range_start_1lfh1_289){border-top-left-radius:0;border-bottom-left-radius:0}._root_1lfh1_1[dir=rtl] ._day_range_start_1lfh1_289:not(._day_range_end_1lfh1_289){border-top-left-radius:0;border-bottom-left-radius:0}._root_1lfh1_1[dir=rtl] ._day_range_end_1lfh1_289:not(._day_range_start_1lfh1_289){border-top-right-radius:0;border-bottom-right-radius:0}._day_range_end_1lfh1_289._day_range_start_1lfh1_289{border-radius:100%}._day_range_middle_1lfh1_313{border-radius:0}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Lato,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}.DEFAULT_1.light{--color-primary-50: 255, 255, 255;--color-primary-100: 255, 255, 255;--color-primary-200: 255, 255, 255;--color-primary-300: 255, 255, 255;--color-primary-400: 255, 255, 255;--color-primary-500: 255, 255, 255;--color-primary-600: 230, 230, 230;--color-primary-700: 204, 204, 204;--color-primary-800: 179, 179, 179;--color-primary-900: 153, 153, 153;--color-primary-950: 128, 128, 128;--color-neutral-50: 244, 245, 247;--color-neutral-100: 233, 234, 238;--color-neutral-200: 214, 216, 222;--color-neutral-300: 173, 176, 185;--color-neutral-400: 108, 112, 122;--color-neutral-500: 44, 48, 57;--color-neutral-600: 34, 38, 46;--color-neutral-700: 26, 29, 36;--color-neutral-800: 18, 20, 26;--color-neutral-900: 11, 12, 16;--color-neutral-950: 7, 8, 11;--color-secondary-50: 235, 243, 255;--color-secondary-100: 207, 229, 255;--color-secondary-200: 158, 204, 255;--color-secondary-300: 96, 169, 255;--color-secondary-400: 51, 141, 255;--color-secondary-500: 6, 104, 223;--color-secondary-600: 5, 83, 178;--color-secondary-700: 4, 62, 133;--color-secondary-800: 3, 42, 89;--color-secondary-900: 2, 21, 45;--color-secondary-950: 1, 10, 22;--color-accent-50: 241, 247, 243;--color-accent-100: 221, 238, 227;--color-accent-200: 181, 217, 195;--color-accent-300: 140, 196, 164;--color-accent-400: 100, 175, 133;--color-accent-500: 58, 118, 81;--color-accent-600: 46, 94, 65;--color-accent-700: 34, 70, 49;--color-accent-800: 22, 46, 33;--color-accent-900: 10, 22, 17;--color-accent-950: 5, 11, 9;--color-error: 194, 12, 17}.DEFAULT_1.dark{--color-primary-50: 244, 245, 247;--color-primary-100: 233, 234, 238;--color-primary-200: 214, 216, 222;--color-primary-300: 173, 176, 185;--color-primary-400: 108, 112, 122;--color-primary-500: 44, 48, 57;--color-primary-600: 34, 38, 46;--color-primary-700: 26, 29, 36;--color-primary-800: 18, 20, 26;--color-primary-900: 11, 12, 16;--color-primary-950: 7, 8, 11;--color-neutral-50: 255, 254, 255;--color-neutral-100: 254, 251, 254;--color-neutral-200: 251, 244, 251;--color-neutral-300: 246, 234, 246;--color-neutral-400: 241, 224, 241;--color-neutral-500: 253, 247, 253;--color-neutral-600: 226, 191, 226;--color-neutral-700: 199, 134, 199;--color-neutral-800: 173, 78, 173;--color-neutral-900: 146, 22, 146;--color-neutral-950: 118, 5, 118;--color-secondary-50: 249, 223, 240;--color-secondary-100: 244, 200, 230;--color-secondary-200: 237, 176, 219;--color-secondary-300: 231, 151, 208;--color-secondary-400: 224, 127, 198;--color-secondary-500: 224, 119, 192;--color-secondary-600: 200, 83, 167;--color-secondary-700: 175, 47, 143;--color-secondary-800: 151, 11, 118;--color-secondary-900: 127, 0, 94;--color-secondary-950: 102, 0, 69;--color-accent-50: 227, 246, 244;--color-accent-100: 203, 240, 237;--color-accent-200: 179, 233, 230;--color-accent-300: 155, 226, 223;--color-accent-400: 130, 219, 216;--color-accent-500: 77, 163, 177;--color-accent-600: 62, 130, 142;--color-accent-700: 47, 97, 107;--color-accent-800: 32, 64, 72;--color-accent-900: 17, 31, 37;--color-accent-950: 2, 7, 9;--color-error: 249, 121, 110}.CUSTOM_1.light{--color-primary-50: 255, 255, 255;--color-primary-100: 255, 255, 255;--color-primary-200: 255, 255, 255;--color-primary-300: 255, 255, 255;--color-primary-400: 255, 255, 255;--color-primary-500: 255, 254, 249;--color-primary-600: 255, 245, 193;--color-primary-700: 255, 235, 137;--color-primary-800: 255, 226, 81;--color-primary-900: 255, 217, 25;--color-neutral-50: 42, 80, 221;--color-neutral-100: 34, 71, 208;--color-neutral-200: 28, 59, 173;--color-neutral-300: 22, 47, 138;--color-neutral-400: 17, 35, 103;--color-neutral-500: 11, 23, 68;--color-neutral-600: 3, 7, 20;--color-neutral-700: 0, 0, 0;--color-neutral-800: 0, 0, 0;--color-neutral-900: 0, 0, 0;--color-secondary-50: 196, 236, 254;--color-secondary-100: 176, 230, 253;--color-secondary-200: 136, 217, 252;--color-secondary-300: 97, 204, 251;--color-secondary-400: 57, 191, 250;--color-secondary-500: 17, 178, 249;--color-secondary-600: 5, 144, 205;--color-secondary-700: 4, 105, 150;--color-secondary-800: 2, 67, 95;--color-secondary-900: 1, 28, 41;--color-accent-50: 185, 249, 235;--color-accent-100: 166, 248, 230;--color-accent-200: 129, 245, 219;--color-accent-300: 91, 242, 208;--color-accent-400: 53, 238, 198;--color-accent-500: 19, 232, 185;--color-accent-600: 15, 180, 144;--color-accent-700: 11, 128, 102;--color-accent-800: 6, 76, 61;--color-accent-900: 2, 25, 20}.CUSTOM_1.dark{--color-primary-50: 42, 80, 221;--color-primary-100: 34, 71, 208;--color-primary-200: 28, 59, 173;--color-primary-300: 22, 47, 138;--color-primary-400: 17, 35, 103;--color-primary-500: 11, 23, 68;--color-primary-600: 3, 7, 20;--color-primary-700: 0, 0, 0;--color-primary-800: 0, 0, 0;--color-primary-900: 0, 0, 0;--color-neutral-50: 255, 255, 255;--color-neutral-100: 255, 255, 255;--color-neutral-200: 255, 255, 255;--color-neutral-300: 255, 255, 255;--color-neutral-400: 255, 255, 255;--color-neutral-500: 255, 254, 249;--color-neutral-600: 255, 245, 193;--color-neutral-700: 255, 235, 137;--color-neutral-800: 255, 226, 81;--color-neutral-900: 255, 217, 25;--color-secondary-50: 185, 249, 235;--color-secondary-100: 166, 248, 230;--color-secondary-200: 129, 245, 219;--color-secondary-300: 91, 242, 208;--color-secondary-400: 53, 238, 198;--color-secondary-500: 19, 232, 185;--color-secondary-600: 15, 180, 144;--color-secondary-700: 11, 128, 102;--color-secondary-800: 6, 76, 61;--color-secondary-900: 2, 25, 20;--color-accent-50: 196, 236, 254;--color-accent-100: 176, 230, 253;--color-accent-200: 136, 217, 252;--color-accent-300: 97, 204, 251;--color-accent-400: 57, 191, 250;--color-accent-500: 17, 178, 249;--color-accent-600: 5, 144, 205;--color-accent-700: 4, 105, 150;--color-accent-800: 2, 67, 95;--color-accent-900: 1, 28, 41}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0px}.left-0{left:0px}.right-0{right:0px}.top-0{top:0px}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.mb-0{margin-bottom:0}.mb-0\\.5{margin-bottom:.125rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-3{margin-left:.75rem}.mr-1{margin-right:.25rem}.mr-1\\.5{margin-right:.375rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-full{height:100%}.max-h-96{max-height:24rem}.min-h-full{min-height:100%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-3{width:.75rem}.w-3\\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-\\[24rem\\]{width:24rem}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-\\[20rem\\]{max-width:20rem}.max-w-\\[280px\\]{max-width:280px}.max-w-full{max-width:100%}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.border-spacing-0{--tw-border-spacing-x: 0px;--tw-border-spacing-y: 0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-4{--tw-translate-y: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes ping{75%,to{transform:scale(2);opacity:0}}.animate-ping{animation:ping 1s cubic-bezier(0,0,.2,1) infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-y-1{row-gap:.25rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-skin-neutral-500\\/20>:not([hidden])~:not([hidden]){border-color:rgba(var(--color-neutral-500),.2)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-none{border-style:none}.border-skin-neutral-500{--tw-border-opacity: 1;border-color:rgba(var(--color-neutral-500),var(--tw-border-opacity))}.border-skin-neutral-500\\/25{border-color:rgba(var(--color-neutral-500),.25)}.border-skin-neutral-500\\/75{border-color:rgba(var(--color-neutral-500),.75)}.border-skin-secondary-500{--tw-border-opacity: 1;border-color:rgba(var(--color-secondary-500),var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-skin-accent-500{--tw-bg-opacity: 1;background-color:rgba(var(--color-accent-500),var(--tw-bg-opacity))}.bg-skin-neutral-500{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-500),var(--tw-bg-opacity))}.bg-skin-neutral-500\\/50{background-color:rgba(var(--color-neutral-500),.5)}.bg-skin-primary-500{--tw-bg-opacity: 1;background-color:rgba(var(--color-primary-500),var(--tw-bg-opacity))}.bg-skin-secondary-500{--tw-bg-opacity: 1;background-color:rgba(var(--color-secondary-500),var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.p-2{padding:.5rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pl-1{padding-left:.25rem}.pl-3{padding-left:.75rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.leading-6{line-height:1.5rem}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.text-skin-accent-500{--tw-text-opacity: 1;color:rgba(var(--color-accent-500),var(--tw-text-opacity))}.text-skin-error{--tw-text-opacity: 1;color:rgba(var(--color-error),var(--tw-text-opacity))}.text-skin-neutral-500{--tw-text-opacity: 1;color:rgba(var(--color-neutral-500),var(--tw-text-opacity))}.text-skin-neutral-500\\/25{color:rgba(var(--color-neutral-500),.25)}.text-skin-neutral-500\\/70{color:rgba(var(--color-neutral-500),.7)}.text-skin-neutral-500\\/75{color:rgba(var(--color-neutral-500),.75)}.text-skin-primary-500{--tw-text-opacity: 1;color:rgba(var(--color-primary-500),var(--tw-text-opacity))}.text-skin-secondary-500{--tw-text-opacity: 1;color:rgba(var(--color-secondary-500),var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-skin-accent-500{--tw-ring-opacity: 1;--tw-ring-color: rgba(var(--color-accent-500), var(--tw-ring-opacity))}.ring-skin-neutral-500\\/75{--tw-ring-color: rgba(var(--color-neutral-500), .75)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.placeholder\\:text-skin-neutral-500\\/75::-moz-placeholder{color:rgba(var(--color-neutral-500),.75)}.placeholder\\:text-skin-neutral-500\\/75::placeholder{color:rgba(var(--color-neutral-500),.75)}.focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.focus-within\\:ring-1:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\\:ring-skin-secondary-500:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgba(var(--color-secondary-500), var(--tw-ring-opacity))}.hover\\:z-20:hover{z-index:20}.hover\\:w-\\[90\\%\\]:hover{width:90%}.hover\\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:scale-125:hover{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:scale-150:hover{--tw-scale-x: 1.5;--tw-scale-y: 1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:border:hover{border-width:1px}.hover\\:border-skin-secondary-500:hover{--tw-border-opacity: 1;border-color:rgba(var(--color-secondary-500),var(--tw-border-opacity))}.hover\\:bg-skin-accent-600:hover{--tw-bg-opacity: 1;background-color:rgba(var(--color-accent-600),var(--tw-bg-opacity))}.hover\\:bg-skin-primary-600:hover{--tw-bg-opacity: 1;background-color:rgba(var(--color-primary-600),var(--tw-bg-opacity))}.hover\\:pl-2:hover{padding-left:.5rem}.hover\\:pl-2\\.5:hover{padding-left:.625rem}.hover\\:font-bold:hover{font-weight:700}.hover\\:ring-skin-secondary-500:hover{--tw-ring-opacity: 1;--tw-ring-color: rgba(var(--color-secondary-500), var(--tw-ring-opacity))}.focus\\:border-skin-secondary-500:focus{--tw-border-opacity: 1;border-color:rgba(var(--color-secondary-500),var(--tw-border-opacity))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-inset:focus{--tw-ring-inset: inset}.focus\\:ring-skin-secondary-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgba(var(--color-secondary-500), var(--tw-ring-opacity))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-skin-accent-500:focus-visible{outline-color:rgb(var(--color-accent-500))}.focus-visible\\:outline-skin-secondary-500:focus-visible{outline-color:rgb(var(--color-secondary-500))}.enabled\\:opacity-50:enabled{opacity:.5}.hover\\:enabled\\:z-10:enabled:hover{z-index:10}.hover\\:enabled\\:scale-125:enabled:hover{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:enabled\\:scale-150:enabled:hover{--tw-scale-x: 1.5;--tw-scale-y: 1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:enabled\\:cursor-pointer:enabled:hover{cursor:pointer}.hover\\:enabled\\:border-skin-secondary-500:enabled:hover{--tw-border-opacity: 1;border-color:rgba(var(--color-secondary-500),var(--tw-border-opacity))}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-skin-neutral-500:disabled{--tw-bg-opacity: 1;background-color:rgba(var(--color-neutral-500),var(--tw-bg-opacity))}@media (min-width: 640px){.sm\\:col-span-2{grid-column:span 2 / span 2}.sm\\:col-start-1{grid-column-start:1}.sm\\:col-start-2{grid-column-start:2}.sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\\:mt-0{margin-top:0}.sm\\:grid{display:grid}.sm\\:max-w-lg{max-width:32rem}.sm\\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:grid-flow-row-dense{grid-auto-flow:row dense}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:items-center{align-items:center}.sm\\:gap-3{gap:.75rem}.sm\\:gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.sm\\:p-0{padding:0}.sm\\:p-6{padding:1.5rem}.sm\\:py-1{padding-top:.25rem;padding-bottom:.25rem}.sm\\:py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.sm\\:py-16{padding-top:4rem;padding-bottom:4rem}.sm\\:leading-6{line-height:1.5rem}}`)),document.head.appendChild(r)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})(); +function Gv(e,t){for(var n=0;nr[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Xv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tf={exports:{}},ha={},nf={exports:{}},U={};/** * @license React * react.production.min.js * @@ -7,7 +7,7 @@ function ap(e,t){for(var n=0;n{this.listeners=this.listeners.filter(n=>n!==t),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const ti=typeof window>"u"||"Deno"in window;function Je(){}function Tp(e,t){return typeof e=="function"?e(t):e}function Fl(e){return typeof e=="number"&&e>=0&&e!==1/0}function bc(e,t){return e.filter(n=>t.indexOf(n)===-1)}function Rp(e,t,n){const r=e.slice(0);return r[t]=n,r}function wf(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Bn(e,t,n){return xi(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function Fp(e,t,n){return xi(e)?typeof t=="function"?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:typeof e=="function"?{...t,mutationFn:e}:{...e}}function Ht(e,t,n){return xi(e)?[{...t,queryKey:e},n]:[e||{},t]}function Ec(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:l}=e;if(xi(a)){if(r){if(t.queryHash!==iu(a,t.options))return!1}else if(!Ro(t.queryKey,a))return!1}if(n!=="all"){const s=t.isActive();if(n==="active"&&!s||n==="inactive"&&s)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||typeof i<"u"&&i!==t.state.fetchStatus||o&&!o(t))}function _c(e,t){const{exact:n,fetching:r,predicate:i,mutationKey:o}=e;if(xi(o)){if(!t.options.mutationKey)return!1;if(n){if(Jt(t.options.mutationKey)!==Jt(o))return!1}else if(!Ro(t.options.mutationKey,o))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||i&&!i(t))}function iu(e,t){return((t==null?void 0:t.queryKeyHashFn)||Jt)(e)}function Jt(e){return JSON.stringify(e,(t,n)=>$l(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Ro(e,t){return kf(e,t)}function kf(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!kf(e[n],t[n])):!1}function Sf(e,t){if(e===t)return e;const n=xc(e)&&xc(t);if(n||$l(e)&&$l(t)){const r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{};let l=0;for(let s=0;s"u")return!0;const n=t.prototype;return!(!Oc(n)||!n.hasOwnProperty("isPrototypeOf"))}function Oc(e){return Object.prototype.toString.call(e)==="[object Object]"}function xi(e){return Array.isArray(e)}function Cf(e){return new Promise(t=>{setTimeout(t,e)})}function Pc(e){Cf(0).then(e)}function Lp(){if(typeof AbortController=="function")return new AbortController}function Il(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Sf(e,t):t}class $p extends zn{constructor(){super(),this.setup=t=>{if(!ti&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const Fo=new $p;class Ip extends zn{constructor(){super(),this.setup=t=>{if(!ti&&window.addEventListener){const n=()=>t();return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setOnline(r):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const Lo=new Ip;function Ap(e){return Math.min(1e3*2**e,3e4)}function ga(e){return(e??"online")==="online"?Lo.isOnline():!0}class bf{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function io(e){return e instanceof bf}function Ef(e){let t=!1,n=0,r=!1,i,o,a;const l=new Promise((w,h)=>{o=w,a=h}),s=w=>{r||(p(new bf(w)),e.abort==null||e.abort())},u=()=>{t=!0},c=()=>{t=!1},d=()=>!Fo.isFocused()||e.networkMode!=="always"&&!Lo.isOnline(),m=w=>{r||(r=!0,e.onSuccess==null||e.onSuccess(w),i==null||i(),o(w))},p=w=>{r||(r=!0,e.onError==null||e.onError(w),i==null||i(),a(w))},y=()=>new Promise(w=>{i=h=>{const f=r||!d();return f&&w(h),f},e.onPause==null||e.onPause()}).then(()=>{i=void 0,r||e.onContinue==null||e.onContinue()}),k=()=>{if(r)return;let w;try{w=e.fn()}catch(h){w=Promise.reject(h)}Promise.resolve(w).then(m).catch(h=>{var f,v;if(r)return;const S=(f=e.retry)!=null?f:3,P=(v=e.retryDelay)!=null?v:Ap,x=typeof P=="function"?P(n,h):P,b=S===!0||typeof S=="number"&&n{if(d())return y()}).then(()=>{t?p(h):k()})})};return ga(e.networkMode)?k():y().then(k),{promise:l,cancel:s,continue:()=>(i==null?void 0:i())?l:Promise.resolve(),cancelRetry:u,continueRetry:c}}const ou=console;function zp(){let e=[],t=0,n=c=>{c()},r=c=>{c()};const i=c=>{let d;t++;try{d=c()}finally{t--,t||l()}return d},o=c=>{t?e.push(c):Pc(()=>{n(c)})},a=c=>(...d)=>{o(()=>{c(...d)})},l=()=>{const c=e;e=[],c.length&&Pc(()=>{r(()=>{c.forEach(d=>{n(d)})})})};return{batch:i,batchCalls:a,schedule:o,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c}}}const Z=zp();class _f{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Fl(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t??(ti?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class jp extends _f{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||ou,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||Wp(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,n){const r=Il(this.state.data,t,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){this.dispatch({type:"setState",state:t,setStateOptions:n})}cancel(t){var n;const r=this.promise;return(n=this.retryer)==null||n.cancel(t),r?r.then(Je).catch(Je):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!wf(this.state.dataUpdatedAt,t)}onFocus(){var t;const n=this.observers.find(r=>r.shouldFetchOnWindowFocus());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const n=this.observers.find(r=>r.shouldFetchOnReconnect());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.indexOf(t)!==-1&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,n){var r,i;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var o;return(o=this.retryer)==null||o.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const p=this.observers.find(y=>y.options.queryFn);p&&this.setOptions(p.options)}Array.isArray(this.options.queryKey);const a=Lp(),l={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},s=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};s(l);const u=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(l)):Promise.reject("Missing queryFn"),c={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:u};if(s(c),(r=this.options.behavior)==null||r.onFetch(c),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((i=c.fetchOptions)==null?void 0:i.meta)){var d;this.dispatch({type:"fetch",meta:(d=c.fetchOptions)==null?void 0:d.meta})}const m=p=>{if(io(p)&&p.silent||this.dispatch({type:"error",error:p}),!io(p)){var y,k,w,h;(y=(k=this.cache.config).onError)==null||y.call(k,p,this),(w=(h=this.cache.config).onSettled)==null||w.call(h,this.state.data,p,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Ef({fn:c.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:p=>{var y,k,w,h;if(typeof p>"u"){m(new Error("undefined"));return}this.setData(p),(y=(k=this.cache.config).onSuccess)==null||y.call(k,p,this),(w=(h=this.cache.config).onSettled)==null||w.call(h,p,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:m,onFail:(p,y)=>{this.dispatch({type:"failed",failureCount:p,error:y})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const n=r=>{var i,o;switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(i=t.meta)!=null?i:null,fetchStatus:ga(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(o=t.dataUpdatedAt)!=null?o:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=t.error;return io(a)&&a.revert&&this.revertState?{...this.revertState}:{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Z.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function Wp(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=typeof t<"u",r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}class Up extends zn{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,n,r){var i;const o=n.queryKey,a=(i=n.queryHash)!=null?i:iu(o,n);let l=this.get(a);return l||(l=new jp({cache:this,logger:t.getLogger(),queryKey:o,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(l)),l}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const n=this.queriesMap[t.queryHash];n&&(t.destroy(),this.queries=this.queries.filter(r=>r!==t),n===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){Z.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=Ht(t,n);return typeof r.exact>"u"&&(r.exact=!0),this.queries.find(i=>Ec(r,i))}findAll(t,n){const[r]=Ht(t,n);return Object.keys(r).length>0?this.queries.filter(i=>Ec(r,i)):this.queries}notify(t){Z.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Z.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){Z.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class Qp extends _f{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||ou,this.observers=[],this.state=t.state||xf(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(n=>n!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,n;return(t=(n=this.retryer)==null?void 0:n.continue())!=null?t:this.execute()}async execute(){const t=()=>{var b;return this.retryer=Ef({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(E,N)=>{this.dispatch({type:"failed",failureCount:E,error:N})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(b=this.options.retry)!=null?b:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var r,i,o,a,l,s,u,c;if(!n){var d,m,p,y;this.dispatch({type:"loading",variables:this.options.variables}),await((d=(m=this.mutationCache.config).onMutate)==null?void 0:d.call(m,this.state.variables,this));const E=await((p=(y=this.options).onMutate)==null?void 0:p.call(y,this.state.variables));E!==this.state.context&&this.dispatch({type:"loading",context:E,variables:this.state.variables})}const b=await t();return await((r=(i=this.mutationCache.config).onSuccess)==null?void 0:r.call(i,b,this.state.variables,this.state.context,this)),await((o=(a=this.options).onSuccess)==null?void 0:o.call(a,b,this.state.variables,this.state.context)),await((l=(s=this.mutationCache.config).onSettled)==null?void 0:l.call(s,b,null,this.state.variables,this.state.context,this)),await((u=(c=this.options).onSettled)==null?void 0:u.call(c,b,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:b}),b}catch(b){try{var k,w,h,f,v,S,P,x;throw await((k=(w=this.mutationCache.config).onError)==null?void 0:k.call(w,b,this.state.variables,this.state.context,this)),await((h=(f=this.options).onError)==null?void 0:h.call(f,b,this.state.variables,this.state.context)),await((v=(S=this.mutationCache.config).onSettled)==null?void 0:v.call(S,void 0,b,this.state.variables,this.state.context,this)),await((P=(x=this.options).onSettled)==null?void 0:P.call(x,void 0,b,this.state.variables,this.state.context)),b}finally{this.dispatch({type:"error",error:b})}}}dispatch(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"loading":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!ga(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"};case"setState":return{...r,...t.state}}};this.state=n(this.state),Z.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function xf(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class qp extends zn{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const i=new Qp({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(n),state:r,defaultOptions:n.mutationKey?t.getMutationDefaults(n.mutationKey):void 0});return this.add(i),i}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(n=>n!==t),this.notify({type:"removed",mutation:t})}clear(){Z.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact>"u"&&(t.exact=!0),this.mutations.find(n=>_c(t,n))}findAll(t){return this.mutations.filter(n=>_c(t,n))}notify(t){Z.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){var t;return this.resuming=((t=this.resuming)!=null?t:Promise.resolve()).then(()=>{const n=this.mutations.filter(r=>r.state.isPaused);return Z.batch(()=>n.reduce((r,i)=>r.then(()=>i.continue().catch(Je)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function Al(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,i,o,a;const l=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,s=(r=e.fetchOptions)==null||(i=r.meta)==null?void 0:i.fetchMore,u=s==null?void 0:s.pageParam,c=(s==null?void 0:s.direction)==="forward",d=(s==null?void 0:s.direction)==="backward",m=((o=e.state.data)==null?void 0:o.pages)||[],p=((a=e.state.data)==null?void 0:a.pageParams)||[];let y=p,k=!1;const w=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>{var b;if((b=e.signal)!=null&&b.aborted)k=!0;else{var E;(E=e.signal)==null||E.addEventListener("abort",()=>{k=!0})}return e.signal}})},h=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),f=(x,b,E,N)=>(y=N?[b,...y]:[...y,b],N?[E,...x]:[...x,E]),v=(x,b,E,N)=>{if(k)return Promise.reject("Cancelled");if(typeof E>"u"&&!b&&x.length)return Promise.resolve(x);const D={queryKey:e.queryKey,pageParam:E,meta:e.options.meta};w(D);const W=h(D);return Promise.resolve(W).then(G=>f(x,E,G,N))};let S;if(!m.length)S=v([]);else if(c){const x=typeof u<"u",b=x?u:zl(e.options,m);S=v(m,x,b)}else if(d){const x=typeof u<"u",b=x?u:Of(e.options,m);S=v(m,x,b,!0)}else{y=[];const x=typeof e.options.getNextPageParam>"u";S=(l&&m[0]?l(m[0],0,m):!0)?v([],x,p[0]):Promise.resolve(f([],p[0],m[0]));for(let E=1;E{if(l&&m[E]?l(m[E],E,m):!0){const W=x?p[E]:zl(e.options,N);return v(N,x,W)}return Promise.resolve(f(N,p[E],m[E]))})}return S.then(x=>({pages:x,pageParams:y}))}}}}function zl(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function Of(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}function Bp(e,t){if(e.getNextPageParam&&Array.isArray(t)){const n=zl(e,t);return typeof n<"u"&&n!==null&&n!==!1}}function Hp(e,t){if(e.getPreviousPageParam&&Array.isArray(t)){const n=Of(e,t);return typeof n<"u"&&n!==null&&n!==!1}}class Vp{constructor(t={}){this.queryCache=t.queryCache||new Up,this.mutationCache=t.mutationCache||new qp,this.logger=t.logger||ou,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=Fo.subscribe(()=>{Fo.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=Lo.subscribe(()=>{Lo.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var t,n;this.mountCount--,this.mountCount===0&&((t=this.unsubscribeFocus)==null||t.call(this),this.unsubscribeFocus=void 0,(n=this.unsubscribeOnline)==null||n.call(this),this.unsubscribeOnline=void 0)}isFetching(t,n){const[r]=Ht(t,n);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state.data}ensureQueryData(t,n,r){const i=Bn(t,n,r),o=this.getQueryData(i.queryKey);return o?Promise.resolve(o):this.fetchQuery(i)}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:n,state:r})=>{const i=r.data;return[n,i]})}setQueryData(t,n,r){const i=this.queryCache.find(t),o=i==null?void 0:i.state.data,a=Tp(n,o);if(typeof a>"u")return;const l=Bn(t),s=this.defaultQueryOptions(l);return this.queryCache.build(this,s).setData(a,{...r,manual:!0})}setQueriesData(t,n,r){return Z.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,n,r)]))}getQueryState(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state}removeQueries(t,n){const[r]=Ht(t,n),i=this.queryCache;Z.batch(()=>{i.findAll(r).forEach(o=>{i.remove(o)})})}resetQueries(t,n,r){const[i,o]=Ht(t,n,r),a=this.queryCache,l={type:"active",...i};return Z.batch(()=>(a.findAll(i).forEach(s=>{s.reset()}),this.refetchQueries(l,o)))}cancelQueries(t,n,r){const[i,o={}]=Ht(t,n,r);typeof o.revert>"u"&&(o.revert=!0);const a=Z.batch(()=>this.queryCache.findAll(i).map(l=>l.cancel(o)));return Promise.all(a).then(Je).catch(Je)}invalidateQueries(t,n,r){const[i,o]=Ht(t,n,r);return Z.batch(()=>{var a,l;if(this.queryCache.findAll(i).forEach(u=>{u.invalidate()}),i.refetchType==="none")return Promise.resolve();const s={...i,type:(a=(l=i.refetchType)!=null?l:i.type)!=null?a:"active"};return this.refetchQueries(s,o)})}refetchQueries(t,n,r){const[i,o]=Ht(t,n,r),a=Z.batch(()=>this.queryCache.findAll(i).filter(s=>!s.isDisabled()).map(s=>{var u;return s.fetch(void 0,{...o,cancelRefetch:(u=o==null?void 0:o.cancelRefetch)!=null?u:!0,meta:{refetchPage:i.refetchPage}})}));let l=Promise.all(a).then(Je);return o!=null&&o.throwOnError||(l=l.catch(Je)),l}fetchQuery(t,n,r){const i=Bn(t,n,r),o=this.defaultQueryOptions(i);typeof o.retry>"u"&&(o.retry=!1);const a=this.queryCache.build(this,o);return a.isStaleByTime(o.staleTime)?a.fetch(o):Promise.resolve(a.state.data)}prefetchQuery(t,n,r){return this.fetchQuery(t,n,r).then(Je).catch(Je)}fetchInfiniteQuery(t,n,r){const i=Bn(t,n,r);return i.behavior=Al(),this.fetchQuery(i)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(Je).catch(Je)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,n){const r=this.queryDefaults.find(i=>Jt(t)===Jt(i.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>Ro(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(i=>Jt(t)===Jt(i.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>Ro(t,r.mutationKey));return n==null?void 0:n.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const n={...this.defaultOptions.queries,...this.getQueryDefaults(t==null?void 0:t.queryKey),...t,_defaulted:!0};return!n.queryHash&&n.queryKey&&(n.queryHash=iu(n.queryKey,n)),typeof n.refetchOnReconnect>"u"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary>"u"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class au extends zn{constructor(t,n){super(),this.client=t,this.options=n,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(n)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.length===1&&(this.currentQuery.addObserver(this),Mc(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return jl(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return jl(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,n){const r=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),Ll(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();const o=this.hasListeners();o&&Nc(this.currentQuery,i,this.options,r)&&this.executeFetch(),this.updateResult(n),o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();const a=this.computeRefetchInterval();o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||a!==this.currentRefetchInterval)&&this.updateRefetchInterval(a)}getOptimisticResult(t){const n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)}getCurrentResult(){return this.currentResult}trackResult(t){const n={};return Object.keys(t).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),t[r])})}),n}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...n}={}){return this.fetch({...n,meta:{refetchPage:t}})}fetchOptimistic(t){const n=this.client.defaultQueryOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){var n;return this.executeFetch({...t,cancelRefetch:(n=t.cancelRefetch)!=null?n:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let n=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Je)),n}updateStaleTimeout(){if(this.clearStaleTimeout(),ti||this.currentResult.isStale||!Fl(this.options.staleTime))return;const n=wf(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},n)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!(ti||this.options.enabled===!1||!Fl(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||Fo.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,n){const r=this.currentQuery,i=this.options,o=this.currentResult,a=this.currentResultState,l=this.currentResultOptions,s=t!==r,u=s?t.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,{state:d}=t;let{dataUpdatedAt:m,error:p,errorUpdatedAt:y,fetchStatus:k,status:w}=d,h=!1,f=!1,v;if(n._optimisticResults){const E=this.hasListeners(),N=!E&&Mc(t,n),D=E&&Nc(t,r,n,i);(N||D)&&(k=ga(t.options.networkMode)?"fetching":"paused",m||(w="loading")),n._optimisticResults==="isRestoring"&&(k="idle")}if(n.keepPreviousData&&!d.dataUpdatedAt&&c!=null&&c.isSuccess&&w!=="error")v=c.data,m=c.dataUpdatedAt,w=c.status,h=!0;else if(n.select&&typeof d.data<"u")if(o&&d.data===(a==null?void 0:a.data)&&n.select===this.selectFn)v=this.selectResult;else try{this.selectFn=n.select,v=n.select(d.data),v=Il(o==null?void 0:o.data,v,n),this.selectResult=v,this.selectError=null}catch(E){this.selectError=E}else v=d.data;if(typeof n.placeholderData<"u"&&typeof v>"u"&&w==="loading"){let E;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(l==null?void 0:l.placeholderData))E=o.data;else if(E=typeof n.placeholderData=="function"?n.placeholderData():n.placeholderData,n.select&&typeof E<"u")try{E=n.select(E),this.selectError=null}catch(N){this.selectError=N}typeof E<"u"&&(w="success",v=Il(o==null?void 0:o.data,E,n),f=!0)}this.selectError&&(p=this.selectError,v=this.selectResult,y=Date.now(),w="error");const S=k==="fetching",P=w==="loading",x=w==="error";return{status:w,fetchStatus:k,isLoading:P,isSuccess:w==="success",isError:x,isInitialLoading:P&&S,data:v,dataUpdatedAt:m,error:p,errorUpdatedAt:y,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:S,isRefetching:S&&!P,isLoadingError:x&&d.dataUpdatedAt===0,isPaused:k==="paused",isPlaceholderData:f,isPreviousData:h,isRefetchError:x&&d.dataUpdatedAt!==0,isStale:lu(t,n),refetch:this.refetch,remove:this.remove}}updateResult(t){const n=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Ll(r,n))return;this.currentResult=r;const i={cache:!0},o=()=>{if(!n)return!0;const{notifyOnChangeProps:a}=this.options;if(a==="all"||!a&&!this.trackedProps.size)return!0;const l=new Set(a??this.trackedProps);return this.options.useErrorBoundary&&l.add("error"),Object.keys(this.currentResult).some(s=>{const u=s;return this.currentResult[u]!==n[u]&&l.has(u)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),this.notify({...i,...t})}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const n=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const n={};t.type==="success"?n.onSuccess=!t.manual:t.type==="error"&&!io(t.error)&&(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()}notify(t){Z.batch(()=>{if(t.onSuccess){var n,r,i,o;(n=(r=this.options).onSuccess)==null||n.call(r,this.currentResult.data),(i=(o=this.options).onSettled)==null||i.call(o,this.currentResult.data,null)}else if(t.onError){var a,l,s,u;(a=(l=this.options).onError)==null||a.call(l,this.currentResult.error),(s=(u=this.options).onSettled)==null||s.call(u,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(c=>{c(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function Yp(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Mc(e,t){return Yp(e,t)||e.state.dataUpdatedAt>0&&jl(e,t,t.refetchOnMount)}function jl(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&lu(e,t)}return!1}function Nc(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&lu(e,n)}function lu(e,t){return e.isStaleByTime(t.staleTime)}class Kp extends zn{constructor(t,n){super(),this.client=t,this.queries=[],this.result=[],this.observers=[],this.observersMap={},n&&this.setQueries(n)}onSubscribe(){this.listeners.length===1&&this.observers.forEach(t=>{t.subscribe(n=>{this.onUpdate(t,n)})})}onUnsubscribe(){this.listeners.length||this.destroy()}destroy(){this.listeners=[],this.observers.forEach(t=>{t.destroy()})}setQueries(t,n){this.queries=t,Z.batch(()=>{const r=this.observers,i=this.findMatchingObservers(this.queries);i.forEach(u=>u.observer.setOptions(u.defaultedQueryOptions,n));const o=i.map(u=>u.observer),a=Object.fromEntries(o.map(u=>[u.options.queryHash,u])),l=o.map(u=>u.getCurrentResult()),s=o.some((u,c)=>u!==r[c]);r.length===o.length&&!s||(this.observers=o,this.observersMap=a,this.result=l,this.hasListeners()&&(bc(r,o).forEach(u=>{u.destroy()}),bc(o,r).forEach(u=>{u.subscribe(c=>{this.onUpdate(u,c)})}),this.notify()))})}getCurrentResult(){return this.result}getQueries(){return this.observers.map(t=>t.getCurrentQuery())}getObservers(){return this.observers}getOptimisticResult(t){return this.findMatchingObservers(t).map(n=>n.observer.getOptimisticResult(n.defaultedQueryOptions))}findMatchingObservers(t){const n=this.observers,r=t.map(d=>this.client.defaultQueryOptions(d)),i=r.flatMap(d=>{const m=n.find(p=>p.options.queryHash===d.queryHash);return m!=null?[{defaultedQueryOptions:d,observer:m}]:[]}),o=i.map(d=>d.defaultedQueryOptions.queryHash),a=r.filter(d=>!o.includes(d.queryHash)),l=n.filter(d=>!i.some(m=>m.observer===d)),s=d=>{const m=this.client.defaultQueryOptions(d),p=this.observersMap[m.queryHash];return p??new au(this.client,m)},u=a.map((d,m)=>{if(d.keepPreviousData){const p=l[m];if(p!==void 0)return{defaultedQueryOptions:d,observer:p}}return{defaultedQueryOptions:d,observer:s(d)}}),c=(d,m)=>r.indexOf(d.defaultedQueryOptions)-r.indexOf(m.defaultedQueryOptions);return i.concat(u).sort(c)}onUpdate(t,n){const r=this.observers.indexOf(t);r!==-1&&(this.result=Rp(this.result,r,n),this.notify())}notify(){Z.batch(()=>{this.listeners.forEach(t=>{t(this.result)})})}}class Gp extends au{constructor(t,n){super(t,n)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t,n){super.setOptions({...t,behavior:Al()},n)}getOptimisticResult(t){return t.behavior=Al(),super.getOptimisticResult(t)}fetchNextPage({pageParam:t,...n}={}){return this.fetch({...n,meta:{fetchMore:{direction:"forward",pageParam:t}}})}fetchPreviousPage({pageParam:t,...n}={}){return this.fetch({...n,meta:{fetchMore:{direction:"backward",pageParam:t}}})}createResult(t,n){var r,i,o,a,l,s;const{state:u}=t,c=super.createResult(t,n),{isFetching:d,isRefetching:m}=c,p=d&&((r=u.fetchMeta)==null||(i=r.fetchMore)==null?void 0:i.direction)==="forward",y=d&&((o=u.fetchMeta)==null||(a=o.fetchMore)==null?void 0:a.direction)==="backward";return{...c,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Bp(n,(l=u.data)==null?void 0:l.pages),hasPreviousPage:Hp(n,(s=u.data)==null?void 0:s.pages),isFetchingNextPage:p,isFetchingPreviousPage:y,isRefetching:m&&!p&&!y}}}let Xp=class extends zn{constructor(t,n){super(),this.client=t,this.setOptions(n),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var n;const r=this.options;this.options=this.client.defaultMutationOptions(t),Ll(r,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),(n=this.currentMutation)==null||n.setOptions(this.options)}onUnsubscribe(){if(!this.listeners.length){var t;(t=this.currentMutation)==null||t.removeObserver(this)}}onMutationUpdate(t){this.updateResult();const n={listeners:!0};t.type==="success"?n.onSuccess=!0:t.type==="error"&&(n.onError=!0),this.notify(n)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(t,n){return this.mutateOptions=n,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:typeof t<"u"?t:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const t=this.currentMutation?this.currentMutation.state:xf(),n={...t,isLoading:t.status==="loading",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset};this.currentResult=n}notify(t){Z.batch(()=>{if(this.mutateOptions&&this.hasListeners()){if(t.onSuccess){var n,r,i,o;(n=(r=this.mutateOptions).onSuccess)==null||n.call(r,this.currentResult.data,this.currentResult.variables,this.currentResult.context),(i=(o=this.mutateOptions).onSettled)==null||i.call(o,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)}else if(t.onError){var a,l,s,u;(a=(l=this.mutateOptions).onError)==null||a.call(l,this.currentResult.error,this.currentResult.variables,this.currentResult.context),(s=(u=this.mutateOptions).onSettled)==null||s.call(u,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}}t.listeners&&this.listeners.forEach(c=>{c(this.currentResult)})})}};var $o={},Jp={get exports(){return $o},set exports(e){$o=e}},Ke={},Wl={},Zp={get exports(){return Wl},set exports(e){Wl=e}},Pf={};/** + */var hp=g,mp=Symbol.for("react.element"),vp=Symbol.for("react.fragment"),pp=Object.prototype.hasOwnProperty,yp=hp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,gp={key:!0,ref:!0,__self:!0,__source:!0};function df(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)pp.call(t,r)&&!gp.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:mp,type:e,key:o,ref:a,props:i,_owner:yp.current}}ha.Fragment=vp;ha.jsx=df;ha.jsxs=df;tf.exports=ha;var x=tf.exports;class In{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.push(t),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(n=>n!==t),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const Zr=typeof window>"u"||"Deno"in window;function Xe(){}function wp(e,t){return typeof e=="function"?e(t):e}function Dl(e){return typeof e=="number"&&e>=0&&e!==1/0}function vc(e,t){return e.filter(n=>t.indexOf(n)===-1)}function kp(e,t,n){const r=e.slice(0);return r[t]=n,r}function ff(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Hn(e,t,n){return Ci(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function Sp(e,t,n){return Ci(e)?typeof t=="function"?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:typeof e=="function"?{...t,mutationFn:e}:{...e}}function Ht(e,t,n){return Ci(e)?[{...t,queryKey:e},n]:[e||{},t]}function pc(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:l}=e;if(Ci(a)){if(r){if(t.queryHash!==Zs(a,t.options))return!1}else if(!Mo(t.queryKey,a))return!1}if(n!=="all"){const s=t.isActive();if(n==="active"&&!s||n==="inactive"&&s)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||typeof i<"u"&&i!==t.state.fetchStatus||o&&!o(t))}function yc(e,t){const{exact:n,fetching:r,predicate:i,mutationKey:o}=e;if(Ci(o)){if(!t.options.mutationKey)return!1;if(n){if(Xt(t.options.mutationKey)!==Xt(o))return!1}else if(!Mo(t.options.mutationKey,o))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||i&&!i(t))}function Zs(e,t){return((t==null?void 0:t.queryKeyHashFn)||Xt)(e)}function Xt(e){return JSON.stringify(e,(t,n)=>Tl(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Mo(e,t){return hf(e,t)}function hf(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!hf(e[n],t[n])):!1}function mf(e,t){if(e===t)return e;const n=gc(e)&&gc(t);if(n||Tl(e)&&Tl(t)){const r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{};let l=0;for(let s=0;s"u")return!0;const n=t.prototype;return!(!wc(n)||!n.hasOwnProperty("isPrototypeOf"))}function wc(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ci(e){return Array.isArray(e)}function vf(e){return new Promise(t=>{setTimeout(t,e)})}function kc(e){vf(0).then(e)}function Ep(){if(typeof AbortController=="function")return new AbortController}function Rl(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?mf(e,t):t}class xp extends In{constructor(){super(),this.setup=t=>{if(!Zr&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const Do=new xp;class Cp extends In{constructor(){super(),this.setup=t=>{if(!Zr&&window.addEventListener){const n=()=>t();return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setOnline(r):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const No=new Cp;function _p(e){return Math.min(1e3*2**e,3e4)}function ma(e){return(e??"online")==="online"?No.isOnline():!0}class pf{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function ro(e){return e instanceof pf}function yf(e){let t=!1,n=0,r=!1,i,o,a;const l=new Promise((k,m)=>{o=k,a=m}),s=k=>{r||(h(new pf(k)),e.abort==null||e.abort())},u=()=>{t=!0},c=()=>{t=!1},d=()=>!Do.isFocused()||e.networkMode!=="always"&&!No.isOnline(),f=k=>{r||(r=!0,e.onSuccess==null||e.onSuccess(k),i==null||i(),o(k))},h=k=>{r||(r=!0,e.onError==null||e.onError(k),i==null||i(),a(k))},y=()=>new Promise(k=>{i=m=>{const v=r||!d();return v&&k(m),v},e.onPause==null||e.onPause()}).then(()=>{i=void 0,r||e.onContinue==null||e.onContinue()}),w=()=>{if(r)return;let k;try{k=e.fn()}catch(m){k=Promise.reject(m)}Promise.resolve(k).then(f).catch(m=>{var v,p;if(r)return;const E=(v=e.retry)!=null?v:3,O=(p=e.retryDelay)!=null?p:_p,b=typeof O=="function"?O(n,m):O,S=E===!0||typeof E=="number"&&n{if(d())return y()}).then(()=>{t?h(m):w()})})};return ma(e.networkMode)?w():y().then(w),{promise:l,cancel:s,continue:()=>(i==null?void 0:i())?l:Promise.resolve(),cancelRetry:u,continueRetry:c}}const eu=console;function bp(){let e=[],t=0,n=c=>{c()},r=c=>{c()};const i=c=>{let d;t++;try{d=c()}finally{t--,t||l()}return d},o=c=>{t?e.push(c):kc(()=>{n(c)})},a=c=>(...d)=>{o(()=>{c(...d)})},l=()=>{const c=e;e=[],c.length&&kc(()=>{r(()=>{c.forEach(d=>{n(d)})})})};return{batch:i,batchCalls:a,schedule:o,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c}}}const K=bp();class gf{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Dl(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t??(Zr?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Op extends gf{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||eu,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||Pp(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,n){const r=Rl(this.state.data,t,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){this.dispatch({type:"setState",state:t,setStateOptions:n})}cancel(t){var n;const r=this.promise;return(n=this.retryer)==null||n.cancel(t),r?r.then(Xe).catch(Xe):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!ff(this.state.dataUpdatedAt,t)}onFocus(){var t;const n=this.observers.find(r=>r.shouldFetchOnWindowFocus());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const n=this.observers.find(r=>r.shouldFetchOnReconnect());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.indexOf(t)!==-1&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,n){var r,i;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var o;return(o=this.retryer)==null||o.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(y=>y.options.queryFn);h&&this.setOptions(h.options)}Array.isArray(this.options.queryKey);const a=Ep(),l={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},s=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};s(l);const u=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(l)):Promise.reject("Missing queryFn"),c={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:u};if(s(c),(r=this.options.behavior)==null||r.onFetch(c),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((i=c.fetchOptions)==null?void 0:i.meta)){var d;this.dispatch({type:"fetch",meta:(d=c.fetchOptions)==null?void 0:d.meta})}const f=h=>{if(ro(h)&&h.silent||this.dispatch({type:"error",error:h}),!ro(h)){var y,w,k,m;(y=(w=this.cache.config).onError)==null||y.call(w,h,this),(k=(m=this.cache.config).onSettled)==null||k.call(m,this.state.data,h,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=yf({fn:c.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:h=>{var y,w,k,m;if(typeof h>"u"){f(new Error(this.queryHash+" data is undefined"));return}this.setData(h),(y=(w=this.cache.config).onSuccess)==null||y.call(w,h,this),(k=(m=this.cache.config).onSettled)==null||k.call(m,h,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:f,onFail:(h,y)=>{this.dispatch({type:"failed",failureCount:h,error:y})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const n=r=>{var i,o;switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(i=t.meta)!=null?i:null,fetchStatus:ma(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(o=t.dataUpdatedAt)!=null?o:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=t.error;return ro(a)&&a.revert&&this.revertState?{...this.revertState}:{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),K.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function Pp(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=typeof t<"u",r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}class Mp extends In{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,n,r){var i;const o=n.queryKey,a=(i=n.queryHash)!=null?i:Zs(o,n);let l=this.get(a);return l||(l=new Op({cache:this,logger:t.getLogger(),queryKey:o,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(l)),l}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const n=this.queriesMap[t.queryHash];n&&(t.destroy(),this.queries=this.queries.filter(r=>r!==t),n===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){K.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=Ht(t,n);return typeof r.exact>"u"&&(r.exact=!0),this.queries.find(i=>pc(r,i))}findAll(t,n){const[r]=Ht(t,n);return Object.keys(r).length>0?this.queries.filter(i=>pc(r,i)):this.queries}notify(t){K.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){K.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){K.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class Dp extends gf{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||eu,this.observers=[],this.state=t.state||wf(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(n=>n!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,n;return(t=(n=this.retryer)==null?void 0:n.continue())!=null?t:this.execute()}async execute(){const t=()=>{var S;return this.retryer=yf({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(C,D)=>{this.dispatch({type:"failed",failureCount:C,error:D})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(S=this.options.retry)!=null?S:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var r,i,o,a,l,s,u,c;if(!n){var d,f,h,y;this.dispatch({type:"loading",variables:this.options.variables}),await((d=(f=this.mutationCache.config).onMutate)==null?void 0:d.call(f,this.state.variables,this));const C=await((h=(y=this.options).onMutate)==null?void 0:h.call(y,this.state.variables));C!==this.state.context&&this.dispatch({type:"loading",context:C,variables:this.state.variables})}const S=await t();return await((r=(i=this.mutationCache.config).onSuccess)==null?void 0:r.call(i,S,this.state.variables,this.state.context,this)),await((o=(a=this.options).onSuccess)==null?void 0:o.call(a,S,this.state.variables,this.state.context)),await((l=(s=this.mutationCache.config).onSettled)==null?void 0:l.call(s,S,null,this.state.variables,this.state.context,this)),await((u=(c=this.options).onSettled)==null?void 0:u.call(c,S,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:S}),S}catch(S){try{var w,k,m,v,p,E,O,b;throw await((w=(k=this.mutationCache.config).onError)==null?void 0:w.call(k,S,this.state.variables,this.state.context,this)),await((m=(v=this.options).onError)==null?void 0:m.call(v,S,this.state.variables,this.state.context)),await((p=(E=this.mutationCache.config).onSettled)==null?void 0:p.call(E,void 0,S,this.state.variables,this.state.context,this)),await((O=(b=this.options).onSettled)==null?void 0:O.call(b,void 0,S,this.state.variables,this.state.context)),S}finally{this.dispatch({type:"error",error:S})}}}dispatch(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"loading":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!ma(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"};case"setState":return{...r,...t.state}}};this.state=n(this.state),K.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function wf(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class Np extends In{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const i=new Dp({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(n),state:r,defaultOptions:n.mutationKey?t.getMutationDefaults(n.mutationKey):void 0});return this.add(i),i}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(n=>n!==t),this.notify({type:"removed",mutation:t})}clear(){K.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact>"u"&&(t.exact=!0),this.mutations.find(n=>yc(t,n))}findAll(t){return this.mutations.filter(n=>yc(t,n))}notify(t){K.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){var t;return this.resuming=((t=this.resuming)!=null?t:Promise.resolve()).then(()=>{const n=this.mutations.filter(r=>r.state.isPaused);return K.batch(()=>n.reduce((r,i)=>r.then(()=>i.continue().catch(Xe)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function Fl(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,i,o,a;const l=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,s=(r=e.fetchOptions)==null||(i=r.meta)==null?void 0:i.fetchMore,u=s==null?void 0:s.pageParam,c=(s==null?void 0:s.direction)==="forward",d=(s==null?void 0:s.direction)==="backward",f=((o=e.state.data)==null?void 0:o.pages)||[],h=((a=e.state.data)==null?void 0:a.pageParams)||[];let y=h,w=!1;const k=b=>{Object.defineProperty(b,"signal",{enumerable:!0,get:()=>{var S;if((S=e.signal)!=null&&S.aborted)w=!0;else{var C;(C=e.signal)==null||C.addEventListener("abort",()=>{w=!0})}return e.signal}})},m=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),v=(b,S,C,D)=>(y=D?[S,...y]:[...y,S],D?[C,...b]:[...b,C]),p=(b,S,C,D)=>{if(w)return Promise.reject("Cancelled");if(typeof C>"u"&&!S&&b.length)return Promise.resolve(b);const N={queryKey:e.queryKey,pageParam:C,meta:e.options.meta};k(N);const I=m(N);return Promise.resolve(I).then(oe=>v(b,C,oe,D))};let E;if(!f.length)E=p([]);else if(c){const b=typeof u<"u",S=b?u:Ll(e.options,f);E=p(f,b,S)}else if(d){const b=typeof u<"u",S=b?u:kf(e.options,f);E=p(f,b,S,!0)}else{y=[];const b=typeof e.options.getNextPageParam>"u";E=(l&&f[0]?l(f[0],0,f):!0)?p([],b,h[0]):Promise.resolve(v([],h[0],f[0]));for(let C=1;C{if(l&&f[C]?l(f[C],C,f):!0){const I=b?h[C]:Ll(e.options,D);return p(D,b,I)}return Promise.resolve(v(D,h[C],f[C]))})}return E.then(b=>({pages:b,pageParams:y}))}}}}function Ll(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function kf(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}function Tp(e,t){if(e.getNextPageParam&&Array.isArray(t)){const n=Ll(e,t);return typeof n<"u"&&n!==null&&n!==!1}}function Rp(e,t){if(e.getPreviousPageParam&&Array.isArray(t)){const n=kf(e,t);return typeof n<"u"&&n!==null&&n!==!1}}class Fp{constructor(t={}){this.queryCache=t.queryCache||new Mp,this.mutationCache=t.mutationCache||new Np,this.logger=t.logger||eu,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=Do.subscribe(()=>{Do.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=No.subscribe(()=>{No.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var t,n;this.mountCount--,this.mountCount===0&&((t=this.unsubscribeFocus)==null||t.call(this),this.unsubscribeFocus=void 0,(n=this.unsubscribeOnline)==null||n.call(this),this.unsubscribeOnline=void 0)}isFetching(t,n){const[r]=Ht(t,n);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state.data}ensureQueryData(t,n,r){const i=Hn(t,n,r),o=this.getQueryData(i.queryKey);return o?Promise.resolve(o):this.fetchQuery(i)}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:n,state:r})=>{const i=r.data;return[n,i]})}setQueryData(t,n,r){const i=this.queryCache.find(t),o=i==null?void 0:i.state.data,a=wp(n,o);if(typeof a>"u")return;const l=Hn(t),s=this.defaultQueryOptions(l);return this.queryCache.build(this,s).setData(a,{...r,manual:!0})}setQueriesData(t,n,r){return K.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,n,r)]))}getQueryState(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state}removeQueries(t,n){const[r]=Ht(t,n),i=this.queryCache;K.batch(()=>{i.findAll(r).forEach(o=>{i.remove(o)})})}resetQueries(t,n,r){const[i,o]=Ht(t,n,r),a=this.queryCache,l={type:"active",...i};return K.batch(()=>(a.findAll(i).forEach(s=>{s.reset()}),this.refetchQueries(l,o)))}cancelQueries(t,n,r){const[i,o={}]=Ht(t,n,r);typeof o.revert>"u"&&(o.revert=!0);const a=K.batch(()=>this.queryCache.findAll(i).map(l=>l.cancel(o)));return Promise.all(a).then(Xe).catch(Xe)}invalidateQueries(t,n,r){const[i,o]=Ht(t,n,r);return K.batch(()=>{var a,l;if(this.queryCache.findAll(i).forEach(u=>{u.invalidate()}),i.refetchType==="none")return Promise.resolve();const s={...i,type:(a=(l=i.refetchType)!=null?l:i.type)!=null?a:"active"};return this.refetchQueries(s,o)})}refetchQueries(t,n,r){const[i,o]=Ht(t,n,r),a=K.batch(()=>this.queryCache.findAll(i).filter(s=>!s.isDisabled()).map(s=>{var u;return s.fetch(void 0,{...o,cancelRefetch:(u=o==null?void 0:o.cancelRefetch)!=null?u:!0,meta:{refetchPage:i.refetchPage}})}));let l=Promise.all(a).then(Xe);return o!=null&&o.throwOnError||(l=l.catch(Xe)),l}fetchQuery(t,n,r){const i=Hn(t,n,r),o=this.defaultQueryOptions(i);typeof o.retry>"u"&&(o.retry=!1);const a=this.queryCache.build(this,o);return a.isStaleByTime(o.staleTime)?a.fetch(o):Promise.resolve(a.state.data)}prefetchQuery(t,n,r){return this.fetchQuery(t,n,r).then(Xe).catch(Xe)}fetchInfiniteQuery(t,n,r){const i=Hn(t,n,r);return i.behavior=Fl(),this.fetchQuery(i)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(Xe).catch(Xe)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,n){const r=this.queryDefaults.find(i=>Xt(t)===Xt(i.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>Mo(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(i=>Xt(t)===Xt(i.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>Mo(t,r.mutationKey));return n==null?void 0:n.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const n={...this.defaultOptions.queries,...this.getQueryDefaults(t==null?void 0:t.queryKey),...t,_defaulted:!0};return!n.queryHash&&n.queryKey&&(n.queryHash=Zs(n.queryKey,n)),typeof n.refetchOnReconnect>"u"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary>"u"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class tu extends In{constructor(t,n){super(),this.client=t,this.options=n,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(n)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.length===1&&(this.currentQuery.addObserver(this),Sc(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return jl(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return jl(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,n){const r=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),Nl(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();const o=this.hasListeners();o&&Ec(this.currentQuery,i,this.options,r)&&this.executeFetch(),this.updateResult(n),o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();const a=this.computeRefetchInterval();o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||a!==this.currentRefetchInterval)&&this.updateRefetchInterval(a)}getOptimisticResult(t){const n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)}getCurrentResult(){return this.currentResult}trackResult(t){const n={};return Object.keys(t).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),t[r])})}),n}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...n}={}){return this.fetch({...n,meta:{refetchPage:t}})}fetchOptimistic(t){const n=this.client.defaultQueryOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){var n;return this.executeFetch({...t,cancelRefetch:(n=t.cancelRefetch)!=null?n:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let n=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Xe)),n}updateStaleTimeout(){if(this.clearStaleTimeout(),Zr||this.currentResult.isStale||!Dl(this.options.staleTime))return;const n=ff(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},n)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!(Zr||this.options.enabled===!1||!Dl(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||Do.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,n){const r=this.currentQuery,i=this.options,o=this.currentResult,a=this.currentResultState,l=this.currentResultOptions,s=t!==r,u=s?t.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,{state:d}=t;let{dataUpdatedAt:f,error:h,errorUpdatedAt:y,fetchStatus:w,status:k}=d,m=!1,v=!1,p;if(n._optimisticResults){const C=this.hasListeners(),D=!C&&Sc(t,n),N=C&&Ec(t,r,n,i);(D||N)&&(w=ma(t.options.networkMode)?"fetching":"paused",f||(k="loading")),n._optimisticResults==="isRestoring"&&(w="idle")}if(n.keepPreviousData&&!d.dataUpdatedAt&&c!=null&&c.isSuccess&&k!=="error")p=c.data,f=c.dataUpdatedAt,k=c.status,m=!0;else if(n.select&&typeof d.data<"u")if(o&&d.data===(a==null?void 0:a.data)&&n.select===this.selectFn)p=this.selectResult;else try{this.selectFn=n.select,p=n.select(d.data),p=Rl(o==null?void 0:o.data,p,n),this.selectResult=p,this.selectError=null}catch(C){this.selectError=C}else p=d.data;if(typeof n.placeholderData<"u"&&typeof p>"u"&&k==="loading"){let C;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(l==null?void 0:l.placeholderData))C=o.data;else if(C=typeof n.placeholderData=="function"?n.placeholderData():n.placeholderData,n.select&&typeof C<"u")try{C=n.select(C),this.selectError=null}catch(D){this.selectError=D}typeof C<"u"&&(k="success",p=Rl(o==null?void 0:o.data,C,n),v=!0)}this.selectError&&(h=this.selectError,p=this.selectResult,y=Date.now(),k="error");const E=w==="fetching",O=k==="loading",b=k==="error";return{status:k,fetchStatus:w,isLoading:O,isSuccess:k==="success",isError:b,isInitialLoading:O&&E,data:p,dataUpdatedAt:f,error:h,errorUpdatedAt:y,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:E,isRefetching:E&&!O,isLoadingError:b&&d.dataUpdatedAt===0,isPaused:w==="paused",isPlaceholderData:v,isPreviousData:m,isRefetchError:b&&d.dataUpdatedAt!==0,isStale:nu(t,n),refetch:this.refetch,remove:this.remove}}updateResult(t){const n=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Nl(r,n))return;this.currentResult=r;const i={cache:!0},o=()=>{if(!n)return!0;const{notifyOnChangeProps:a}=this.options;if(a==="all"||!a&&!this.trackedProps.size)return!0;const l=new Set(a??this.trackedProps);return this.options.useErrorBoundary&&l.add("error"),Object.keys(this.currentResult).some(s=>{const u=s;return this.currentResult[u]!==n[u]&&l.has(u)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),this.notify({...i,...t})}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const n=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const n={};t.type==="success"?n.onSuccess=!t.manual:t.type==="error"&&!ro(t.error)&&(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()}notify(t){K.batch(()=>{if(t.onSuccess){var n,r,i,o;(n=(r=this.options).onSuccess)==null||n.call(r,this.currentResult.data),(i=(o=this.options).onSettled)==null||i.call(o,this.currentResult.data,null)}else if(t.onError){var a,l,s,u;(a=(l=this.options).onError)==null||a.call(l,this.currentResult.error),(s=(u=this.options).onSettled)==null||s.call(u,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(c=>{c(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function Lp(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Sc(e,t){return Lp(e,t)||e.state.dataUpdatedAt>0&&jl(e,t,t.refetchOnMount)}function jl(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&nu(e,t)}return!1}function Ec(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&nu(e,n)}function nu(e,t){return e.isStaleByTime(t.staleTime)}class jp extends In{constructor(t,n){super(),this.client=t,this.queries=[],this.result=[],this.observers=[],this.observersMap={},n&&this.setQueries(n)}onSubscribe(){this.listeners.length===1&&this.observers.forEach(t=>{t.subscribe(n=>{this.onUpdate(t,n)})})}onUnsubscribe(){this.listeners.length||this.destroy()}destroy(){this.listeners=[],this.observers.forEach(t=>{t.destroy()})}setQueries(t,n){this.queries=t,K.batch(()=>{const r=this.observers,i=this.findMatchingObservers(this.queries);i.forEach(u=>u.observer.setOptions(u.defaultedQueryOptions,n));const o=i.map(u=>u.observer),a=Object.fromEntries(o.map(u=>[u.options.queryHash,u])),l=o.map(u=>u.getCurrentResult()),s=o.some((u,c)=>u!==r[c]);r.length===o.length&&!s||(this.observers=o,this.observersMap=a,this.result=l,this.hasListeners()&&(vc(r,o).forEach(u=>{u.destroy()}),vc(o,r).forEach(u=>{u.subscribe(c=>{this.onUpdate(u,c)})}),this.notify()))})}getCurrentResult(){return this.result}getQueries(){return this.observers.map(t=>t.getCurrentQuery())}getObservers(){return this.observers}getOptimisticResult(t){return this.findMatchingObservers(t).map(n=>n.observer.getOptimisticResult(n.defaultedQueryOptions))}findMatchingObservers(t){const n=this.observers,r=new Map(n.map(h=>[h.options.queryHash,h])),i=t.map(h=>this.client.defaultQueryOptions(h)),o=i.flatMap(h=>{const y=r.get(h.queryHash);return y!=null?[{defaultedQueryOptions:h,observer:y}]:[]}),a=new Set(o.map(h=>h.defaultedQueryOptions.queryHash)),l=i.filter(h=>!a.has(h.queryHash)),s=new Set(o.map(h=>h.observer)),u=n.filter(h=>!s.has(h)),c=h=>{const y=this.client.defaultQueryOptions(h),w=this.observersMap[y.queryHash];return w??new tu(this.client,y)},d=l.map((h,y)=>{if(h.keepPreviousData){const w=u[y];if(w!==void 0)return{defaultedQueryOptions:h,observer:w}}return{defaultedQueryOptions:h,observer:c(h)}}),f=(h,y)=>i.indexOf(h.defaultedQueryOptions)-i.indexOf(y.defaultedQueryOptions);return o.concat(d).sort(f)}onUpdate(t,n){const r=this.observers.indexOf(t);r!==-1&&(this.result=kp(this.result,r,n),this.notify())}notify(){K.batch(()=>{this.listeners.forEach(t=>{t(this.result)})})}}class $p extends tu{constructor(t,n){super(t,n)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t,n){super.setOptions({...t,behavior:Fl()},n)}getOptimisticResult(t){return t.behavior=Fl(),super.getOptimisticResult(t)}fetchNextPage({pageParam:t,...n}={}){return this.fetch({...n,meta:{fetchMore:{direction:"forward",pageParam:t}}})}fetchPreviousPage({pageParam:t,...n}={}){return this.fetch({...n,meta:{fetchMore:{direction:"backward",pageParam:t}}})}createResult(t,n){var r,i,o,a,l,s;const{state:u}=t,c=super.createResult(t,n),{isFetching:d,isRefetching:f}=c,h=d&&((r=u.fetchMeta)==null||(i=r.fetchMore)==null?void 0:i.direction)==="forward",y=d&&((o=u.fetchMeta)==null||(a=o.fetchMore)==null?void 0:a.direction)==="backward";return{...c,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Tp(n,(l=u.data)==null?void 0:l.pages),hasPreviousPage:Rp(n,(s=u.data)==null?void 0:s.pages),isFetchingNextPage:h,isFetchingPreviousPage:y,isRefetching:f&&!h&&!y}}}let Ip=class extends In{constructor(t,n){super(),this.client=t,this.setOptions(n),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var n;const r=this.options;this.options=this.client.defaultMutationOptions(t),Nl(r,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),(n=this.currentMutation)==null||n.setOptions(this.options)}onUnsubscribe(){if(!this.listeners.length){var t;(t=this.currentMutation)==null||t.removeObserver(this)}}onMutationUpdate(t){this.updateResult();const n={listeners:!0};t.type==="success"?n.onSuccess=!0:t.type==="error"&&(n.onError=!0),this.notify(n)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(t,n){return this.mutateOptions=n,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:typeof t<"u"?t:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const t=this.currentMutation?this.currentMutation.state:wf(),n={...t,isLoading:t.status==="loading",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset};this.currentResult=n}notify(t){K.batch(()=>{if(this.mutateOptions&&this.hasListeners()){if(t.onSuccess){var n,r,i,o;(n=(r=this.mutateOptions).onSuccess)==null||n.call(r,this.currentResult.data,this.currentResult.variables,this.currentResult.context),(i=(o=this.mutateOptions).onSettled)==null||i.call(o,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)}else if(t.onError){var a,l,s,u;(a=(l=this.mutateOptions).onError)==null||a.call(l,this.currentResult.error,this.currentResult.variables,this.currentResult.context),(s=(u=this.mutateOptions).onSettled)==null||s.call(u,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}}t.listeners&&this.listeners.forEach(c=>{c(this.currentResult)})})}};var Sf={exports:{}},Ye={},Ef={exports:{}},xf={};/** * @license React * scheduler.production.min.js * @@ -23,7 +23,7 @@ function ap(e,t){for(var n=0;n>>1,fe=O[Q];if(0>>1;Qi(ne,z))hei(oe,ne)?(O[Q]=oe,O[he]=z,Q=he):(O[Q]=ne,O[_t]=z,Q=_t);else if(hei(oe,z))O[Q]=oe,O[he]=z,Q=he;else break e}}return $}function i(O,$){var z=O.sortIndex-$.sortIndex;return z!==0?z:O.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,d=null,m=3,p=!1,y=!1,k=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(O){for(var $=n(u);$!==null;){if($.callback===null)r(u);else if($.startTime<=O)r(u),$.sortIndex=$.expirationTime,t(s,$);else break;$=n(u)}}function S(O){if(k=!1,v(O),!y)if(n(s)!==null)y=!0,B(P);else{var $=n(u);$!==null&&T(S,$.startTime-O)}}function P(O,$){y=!1,k&&(k=!1,h(E),E=-1),p=!0;var z=m;try{for(v($),d=n(s);d!==null&&(!(d.expirationTime>$)||O&&!W());){var Q=d.callback;if(typeof Q=="function"){d.callback=null,m=d.priorityLevel;var fe=Q(d.expirationTime<=$);$=e.unstable_now(),typeof fe=="function"?d.callback=fe:d===n(s)&&r(s),v($)}else r(s);d=n(s)}if(d!==null)var wn=!0;else{var _t=n(u);_t!==null&&T(S,_t.startTime-$),wn=!1}return wn}finally{d=null,m=z,p=!1}}var x=!1,b=null,E=-1,N=5,D=-1;function W(){return!(e.unstable_now()-DO||125Q?(O.sortIndex=z,t(u,O),n(s)===null&&O===n(u)&&(k?(h(E),E=-1):k=!0,T(S,z-Q))):(O.sortIndex=fe,t(s,O),y||p||(y=!0,B(P))),O},e.unstable_shouldYield=W,e.unstable_wrapCallback=function(O){var $=m;return function(){var z=m;m=$;try{return O.apply(this,arguments)}finally{m=z}}}})(Pf);(function(e){e.exports=Pf})(Zp);/** + */(function(e){function t(P,L){var $=P.length;P.push(L);e:for(;0<$;){var z=$-1>>>1,ce=P[z];if(0>>1;zi(J,$))dei(te,J)?(P[z]=te,P[de]=$,z=de):(P[z]=J,P[xt]=$,z=xt);else if(dei(te,$))P[z]=te,P[de]=$,z=de;else break e}}return L}function i(P,L){var $=P.sortIndex-L.sortIndex;return $!==0?$:P.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,d=null,f=3,h=!1,y=!1,w=!1,k=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(P){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=P)r(u),L.sortIndex=L.expirationTime,t(s,L);else break;L=n(u)}}function E(P){if(w=!1,p(P),!y)if(n(s)!==null)y=!0,ae(O);else{var L=n(u);L!==null&&R(E,L.startTime-P)}}function O(P,L){y=!1,w&&(w=!1,m(C),C=-1),h=!0;var $=f;try{for(p(L),d=n(s);d!==null&&(!(d.expirationTime>L)||P&&!I());){var z=d.callback;if(typeof z=="function"){d.callback=null,f=d.priorityLevel;var ce=z(d.expirationTime<=L);L=e.unstable_now(),typeof ce=="function"?d.callback=ce:d===n(s)&&r(s),p(L)}else r(s);d=n(s)}if(d!==null)var gn=!0;else{var xt=n(u);xt!==null&&R(E,xt.startTime-L),gn=!1}return gn}finally{d=null,f=$,h=!1}}var b=!1,S=null,C=-1,D=5,N=-1;function I(){return!(e.unstable_now()-NP||125z?(P.sortIndex=$,t(u,P),n(s)===null&&P===n(u)&&(w?(m(C),C=-1):w=!0,R(E,$-z))):(P.sortIndex=ce,t(s,P),y||h||(y=!0,ae(O))),P},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(P){var L=f;return function(){var $=f;f=L;try{return P.apply(this,arguments)}finally{f=$}}}})(xf);Ef.exports=xf;var Ap=Ef.exports;/** * @license React * react-dom.production.min.js * @@ -31,14 +31,14 @@ function ap(e,t){for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ul=Object.prototype.hasOwnProperty,ey=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Dc={},Tc={};function ty(e){return Ul.call(Tc,e)?!0:Ul.call(Dc,e)?!1:ey.test(e)?Tc[e]=!0:(Dc[e]=!0,!1)}function ny(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ry(e,t,n,r){if(t===null||typeof t>"u"||ny(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Re(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var be={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){be[e]=new Re(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];be[t]=new Re(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){be[e]=new Re(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){be[e]=new Re(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){be[e]=new Re(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){be[e]=new Re(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){be[e]=new Re(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){be[e]=new Re(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){be[e]=new Re(e,5,!1,e.toLowerCase(),null,!1,!1)});var su=/[\-:]([a-z])/g;function uu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(su,uu);be[t]=new Re(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(su,uu);be[t]=new Re(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(su,uu);be[t]=new Re(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){be[e]=new Re(e,1,!1,e.toLowerCase(),null,!1,!1)});be.xlinkHref=new Re("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){be[e]=new Re(e,1,!1,e.toLowerCase(),null,!0,!0)});function cu(e,t,n,r){var i=be.hasOwnProperty(t)?be[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$l=Object.prototype.hasOwnProperty,zp=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,xc={},Cc={};function Up(e){return $l.call(Cc,e)?!0:$l.call(xc,e)?!1:zp.test(e)?Cc[e]=!0:(xc[e]=!0,!1)}function Wp(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Qp(e,t,n,r){if(t===null||typeof t>"u"||Wp(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Te(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var Se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Se[e]=new Te(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Se[t]=new Te(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Se[e]=new Te(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Se[e]=new Te(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Se[e]=new Te(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Se[e]=new Te(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Se[e]=new Te(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Se[e]=new Te(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Se[e]=new Te(e,5,!1,e.toLowerCase(),null,!1,!1)});var ru=/[\-:]([a-z])/g;function iu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ru,iu);Se[t]=new Te(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ru,iu);Se[t]=new Te(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ru,iu);Se[t]=new Te(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Se[e]=new Te(e,1,!1,e.toLowerCase(),null,!1,!1)});Se.xlinkHref=new Te("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Se[e]=new Te(e,1,!1,e.toLowerCase(),null,!0,!0)});function ou(e,t,n,r){var i=Se.hasOwnProperty(t)?Se[t]:null;(i!==null?i.type!==0:r||!(2l||i[a]!==o[l]){var s=` -`+i[a].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{Va=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ir(e):""}function iy(e){switch(e.tag){case 5:return Ir(e.type);case 16:return Ir("Lazy");case 13:return Ir("Suspense");case 19:return Ir("SuspenseList");case 0:case 2:case 15:return e=Ya(e.type,!1),e;case 11:return e=Ya(e.type.render,!1),e;case 1:return e=Ya(e.type,!0),e;default:return""}}function Hl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Vn:return"Fragment";case Hn:return"Portal";case Ql:return"Profiler";case du:return"StrictMode";case ql:return"Suspense";case Bl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Tf:return(e.displayName||"Context")+".Consumer";case Df:return(e._context.displayName||"Context")+".Provider";case fu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case hu:return t=e.displayName||null,t!==null?t:Hl(e.type)||"Memo";case Vt:t=e._payload,e=e._init;try{return Hl(e(t))}catch{}}return null}function oy(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Hl(t);case 8:return t===du?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function dn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ff(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ay(e){var t=Ff(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function zi(e){e._valueTracker||(e._valueTracker=ay(e))}function Lf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ff(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Io(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vl(e,t){var n=t.checked;return se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Fc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=dn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function $f(e,t){t=t.checked,t!=null&&cu(e,"checked",t,!1)}function Yl(e,t){$f(e,t);var n=dn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Kl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Kl(e,t.type,dn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Lc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Kl(e,t,n){(t!=="number"||Io(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ar=Array.isArray;function or(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ji.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ri(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ur={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ly=["Webkit","ms","Moz","O"];Object.keys(Ur).forEach(function(e){ly.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ur[t]=Ur[e]})});function jf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ur.hasOwnProperty(e)&&Ur[e]?(""+t).trim():t+"px"}function Wf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=jf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var sy=se({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Jl(e,t){if(t){if(sy[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function Zl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var es=null;function mu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ts=null,ar=null,lr=null;function Ac(e){if(e=Mi(e)){if(typeof ts!="function")throw Error(M(280));var t=e.stateNode;t&&(t=ba(t),ts(e.stateNode,e.type,t))}}function Uf(e){ar?lr?lr.push(e):lr=[e]:ar=e}function Qf(){if(ar){var e=ar,t=lr;if(lr=ar=null,Ac(e),t)for(e=0;e>>=0,e===0?32:31-(wy(e)/ky|0)|0}var Wi=64,Ui=4194304;function zr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Wo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~i;l!==0?r=zr(l):(o&=a,o!==0&&(r=zr(o)))}else a=n&~i,a!==0?r=zr(a):o!==0&&(r=zr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Oi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ut(t),e[t]=n}function Ey(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=qr),Vc=String.fromCharCode(32),Yc=!1;function uh(e,t){switch(e){case"keyup":return Jy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ch(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yn=!1;function e0(e,t){switch(e){case"compositionend":return ch(t);case"keypress":return t.which!==32?null:(Yc=!0,Vc);case"textInput":return e=t.data,e===Vc&&Yc?null:e;default:return null}}function t0(e,t){if(Yn)return e==="compositionend"||!Cu&&uh(e,t)?(e=lh(),ao=wu=Zt=null,Yn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Jc(n)}}function mh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?mh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function vh(){for(var e=window,t=Io();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Io(e.document)}return t}function bu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function c0(e){var t=vh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&mh(n.ownerDocument.documentElement,n)){if(r!==null&&bu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Zc(n,o);var a=Zc(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Kn=null,ls=null,Hr=null,ss=!1;function ed(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ss||Kn==null||Kn!==Io(r)||(r=Kn,"selectionStart"in r&&bu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Hr&&ui(Hr,r)||(Hr=r,r=qo(ls,"onSelect"),0Jn||(e.current=ms[Jn],ms[Jn]=null,Jn--)}function X(e,t){Jn++,ms[Jn]=e.current,e.current=t}var fn={},Me=vn(fn),ze=vn(!1),Rn=fn;function hr(e,t){var n=e.type.contextTypes;if(!n)return fn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function je(e){return e=e.childContextTypes,e!=null}function Ho(){ee(ze),ee(Me)}function ld(e,t,n){if(Me.current!==fn)throw Error(M(168));X(Me,t),X(ze,n)}function Eh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,oy(e)||"Unknown",i));return se({},n,r)}function Vo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fn,Rn=Me.current,X(Me,e),X(ze,ze.current),!0}function sd(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=Eh(e,t,Rn),r.__reactInternalMemoizedMergedChildContext=e,ee(ze),ee(Me),X(Me,e)):ee(ze),X(ze,n)}var Pt=null,Ea=!1,sl=!1;function _h(e){Pt===null?Pt=[e]:Pt.push(e)}function C0(e){Ea=!0,_h(e)}function pn(){if(!sl&&Pt!==null){sl=!0;var e=0,t=K;try{var n=Pt;for(K=1;e>=a,i-=a,Nt=1<<32-ut(t)+i|n<E?(N=b,b=null):N=b.sibling;var D=m(h,b,v[E],S);if(D===null){b===null&&(b=N);break}e&&b&&D.alternate===null&&t(h,b),f=o(D,f,E),x===null?P=D:x.sibling=D,x=D,b=N}if(E===v.length)return n(h,b),re&&Sn(h,E),P;if(b===null){for(;EE?(N=b,b=null):N=b.sibling;var W=m(h,b,D.value,S);if(W===null){b===null&&(b=N);break}e&&b&&W.alternate===null&&t(h,b),f=o(W,f,E),x===null?P=W:x.sibling=W,x=W,b=N}if(D.done)return n(h,b),re&&Sn(h,E),P;if(b===null){for(;!D.done;E++,D=v.next())D=d(h,D.value,S),D!==null&&(f=o(D,f,E),x===null?P=D:x.sibling=D,x=D);return re&&Sn(h,E),P}for(b=r(h,b);!D.done;E++,D=v.next())D=p(b,h,E,D.value,S),D!==null&&(e&&D.alternate!==null&&b.delete(D.key===null?E:D.key),f=o(D,f,E),x===null?P=D:x.sibling=D,x=D);return e&&b.forEach(function(V){return t(h,V)}),re&&Sn(h,E),P}function w(h,f,v,S){if(typeof v=="object"&&v!==null&&v.type===Vn&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Ai:e:{for(var P=v.key,x=f;x!==null;){if(x.key===P){if(P=v.type,P===Vn){if(x.tag===7){n(h,x.sibling),f=i(x,v.props.children),f.return=h,h=f;break e}}else if(x.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Vt&&vd(P)===x.type){n(h,x.sibling),f=i(x,v.props),f.ref=Tr(h,x,v),f.return=h,h=f;break e}n(h,x);break}else t(h,x);x=x.sibling}v.type===Vn?(f=Dn(v.props.children,h.mode,S,v.key),f.return=h,h=f):(S=vo(v.type,v.key,v.props,null,h.mode,S),S.ref=Tr(h,f,v),S.return=h,h=S)}return a(h);case Hn:e:{for(x=v.key;f!==null;){if(f.key===x)if(f.tag===4&&f.stateNode.containerInfo===v.containerInfo&&f.stateNode.implementation===v.implementation){n(h,f.sibling),f=i(f,v.children||[]),f.return=h,h=f;break e}else{n(h,f);break}else t(h,f);f=f.sibling}f=pl(v,h.mode,S),f.return=h,h=f}return a(h);case Vt:return x=v._init,w(h,f,x(v._payload),S)}if(Ar(v))return y(h,f,v,S);if(Or(v))return k(h,f,v,S);Ki(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,f!==null&&f.tag===6?(n(h,f.sibling),f=i(f,v),f.return=h,h=f):(n(h,f),f=vl(v,h.mode,S),f.return=h,h=f),a(h)):n(h,f)}return w}var vr=Rh(!0),Fh=Rh(!1),Ni={},kt=vn(Ni),hi=vn(Ni),mi=vn(Ni);function Pn(e){if(e===Ni)throw Error(M(174));return e}function Tu(e,t){switch(X(mi,t),X(hi,e),X(kt,Ni),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Xl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Xl(t,e)}ee(kt),X(kt,t)}function pr(){ee(kt),ee(hi),ee(mi)}function Lh(e){Pn(mi.current);var t=Pn(kt.current),n=Xl(t,e.type);t!==n&&(X(hi,e),X(kt,n))}function Ru(e){hi.current===e&&(ee(kt),ee(hi))}var ae=vn(0);function Zo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ul=[];function Fu(){for(var e=0;en?n:4,e(!0);var r=cl.transition;cl.transition={};try{e(!1),t()}finally{K=n,cl.transition=r}}function Xh(){return it().memoizedState}function x0(e,t,n){var r=un(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Jh(e))Zh(t,n);else if(n=Mh(e,t,n,r),n!==null){var i=De();ct(n,e,r,i),em(n,t,r)}}function O0(e,t,n){var r=un(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Jh(e))Zh(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,dt(l,a)){var s=t.interleaved;s===null?(i.next=i,Nu(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=Mh(e,t,i,r),n!==null&&(i=De(),ct(n,e,r,i),em(n,t,r))}}function Jh(e){var t=e.alternate;return e===le||t!==null&&t===le}function Zh(e,t){Vr=ea=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function em(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,pu(e,n)}}var ta={readContext:rt,useCallback:Ee,useContext:Ee,useEffect:Ee,useImperativeHandle:Ee,useInsertionEffect:Ee,useLayoutEffect:Ee,useMemo:Ee,useReducer:Ee,useRef:Ee,useState:Ee,useDebugValue:Ee,useDeferredValue:Ee,useTransition:Ee,useMutableSource:Ee,useSyncExternalStore:Ee,useId:Ee,unstable_isNewReconciler:!1},P0={readContext:rt,useCallback:function(e,t){return vt().memoizedState=[e,t===void 0?null:t],e},useContext:rt,useEffect:yd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,co(4194308,4,Hh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return co(4194308,4,e,t)},useInsertionEffect:function(e,t){return co(4,2,e,t)},useMemo:function(e,t){var n=vt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=x0.bind(null,le,e),[r.memoizedState,e]},useRef:function(e){var t=vt();return e={current:e},t.memoizedState=e},useState:pd,useDebugValue:zu,useDeferredValue:function(e){return vt().memoizedState=e},useTransition:function(){var e=pd(!1),t=e[0];return e=_0.bind(null,e[1]),vt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=le,i=vt();if(re){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),ge===null)throw Error(M(349));Ln&30||Ah(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,yd(jh.bind(null,r,o,e),[e]),r.flags|=2048,yi(9,zh.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=vt(),t=ge.identifierPrefix;if(re){var n=Dt,r=Nt;n=(r&~(1<<32-ut(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=vi++,0")&&(s=s.replace("",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{Wa=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ir(e):""}function Bp(e){switch(e.tag){case 5:return Ir(e.type);case 16:return Ir("Lazy");case 13:return Ir("Suspense");case 19:return Ir("SuspenseList");case 0:case 2:case 15:return e=Qa(e.type,!1),e;case 11:return e=Qa(e.type.render,!1),e;case 1:return e=Qa(e.type,!0),e;default:return""}}function Ul(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Vn:return"Fragment";case qn:return"Portal";case Il:return"Profiler";case au:return"StrictMode";case Al:return"Suspense";case zl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Of:return(e.displayName||"Context")+".Consumer";case bf:return(e._context.displayName||"Context")+".Provider";case lu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case su:return t=e.displayName||null,t!==null?t:Ul(e.type)||"Memo";case qt:t=e._payload,e=e._init;try{return Ul(e(t))}catch{}}return null}function Hp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ul(t);case 8:return t===au?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function cn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Mf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function qp(e){var t=Mf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ii(e){e._valueTracker||(e._valueTracker=qp(e))}function Df(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Mf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function To(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Wl(e,t){var n=t.checked;return ie({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function bc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=cn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Nf(e,t){t=t.checked,t!=null&&ou(e,"checked",t,!1)}function Ql(e,t){Nf(e,t);var n=cn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Bl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Bl(e,t.type,cn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Oc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Bl(e,t,n){(t!=="number"||To(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ar=Array.isArray;function or(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Ai.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ti(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Vp=["Webkit","ms","Moz","O"];Object.keys(Qr).forEach(function(e){Vp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qr[t]=Qr[e]})});function Lf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Qr.hasOwnProperty(e)&&Qr[e]?(""+t).trim():t+"px"}function jf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Lf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Yp=ie({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Vl(e,t){if(t){if(Yp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function Yl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Kl=null;function uu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Gl=null,ar=null,lr=null;function Dc(e){if(e=Oi(e)){if(typeof Gl!="function")throw Error(M(280));var t=e.stateNode;t&&(t=wa(t),Gl(e.stateNode,e.type,t))}}function $f(e){ar?lr?lr.push(e):lr=[e]:ar=e}function If(){if(ar){var e=ar,t=lr;if(lr=ar=null,Dc(e),t)for(e=0;e>>=0,e===0?32:31-(oy(e)/ay|0)|0}var zi=64,Ui=4194304;function zr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function jo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~i;l!==0?r=zr(l):(o&=a,o!==0&&(r=zr(o)))}else a=n&~i,a!==0?r=zr(a):o!==0&&(r=zr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function _i(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-st(t),e[t]=n}function cy(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Hr),Ac=String.fromCharCode(32),zc=!1;function ih(e,t){switch(e){case"keyup":return Iy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function oh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yn=!1;function zy(e,t){switch(e){case"compositionend":return oh(t);case"keypress":return t.which!==32?null:(zc=!0,Ac);case"textInput":return e=t.data,e===Ac&&zc?null:e;default:return null}}function Uy(e,t){if(Yn)return e==="compositionend"||!yu&&ih(e,t)?(e=nh(),oo=mu=Jt=null,Yn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Bc(n)}}function uh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?uh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ch(){for(var e=window,t=To();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=To(e.document)}return t}function gu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Gy(e){var t=ch(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&uh(n.ownerDocument.documentElement,n)){if(r!==null&&gu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Hc(n,o);var a=Hc(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Kn=null,ns=null,Vr=null,rs=!1;function qc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;rs||Kn==null||Kn!==To(r)||(r=Kn,"selectionStart"in r&&gu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Vr&&li(Vr,r)||(Vr=r,r=Ao(ns,"onSelect"),0Jn||(e.current=us[Jn],us[Jn]=null,Jn--)}function V(e,t){Jn++,us[Jn]=e.current,e.current=t}var dn={},be=mn(dn),Ie=mn(!1),Tn=dn;function hr(e,t){var n=e.type.contextTypes;if(!n)return dn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ae(e){return e=e.childContextTypes,e!=null}function Uo(){G(Ie),G(be)}function Zc(e,t,n){if(be.current!==dn)throw Error(M(168));V(be,t),V(Ie,n)}function wh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,Hp(e)||"Unknown",i));return ie({},n,r)}function Wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dn,Tn=be.current,V(be,e),V(Ie,Ie.current),!0}function ed(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=wh(e,t,Tn),r.__reactInternalMemoizedMergedChildContext=e,G(Ie),G(be),V(be,e)):G(Ie),V(Ie,n)}var bt=null,ka=!1,rl=!1;function kh(e){bt===null?bt=[e]:bt.push(e)}function s0(e){ka=!0,kh(e)}function vn(){if(!rl&&bt!==null){rl=!0;var e=0,t=H;try{var n=bt;for(H=1;e>=a,i-=a,Pt=1<<32-st(t)+i|n<C?(D=S,S=null):D=S.sibling;var N=f(m,S,p[C],E);if(N===null){S===null&&(S=D);break}e&&S&&N.alternate===null&&t(m,S),v=o(N,v,C),b===null?O=N:b.sibling=N,b=N,S=D}if(C===p.length)return n(m,S),Z&&kn(m,C),O;if(S===null){for(;CC?(D=S,S=null):D=S.sibling;var I=f(m,S,N.value,E);if(I===null){S===null&&(S=D);break}e&&S&&I.alternate===null&&t(m,S),v=o(I,v,C),b===null?O=I:b.sibling=I,b=I,S=D}if(N.done)return n(m,S),Z&&kn(m,C),O;if(S===null){for(;!N.done;C++,N=p.next())N=d(m,N.value,E),N!==null&&(v=o(N,v,C),b===null?O=N:b.sibling=N,b=N);return Z&&kn(m,C),O}for(S=r(m,S);!N.done;C++,N=p.next())N=h(S,m,C,N.value,E),N!==null&&(e&&N.alternate!==null&&S.delete(N.key===null?C:N.key),v=o(N,v,C),b===null?O=N:b.sibling=N,b=N);return e&&S.forEach(function(Q){return t(m,Q)}),Z&&kn(m,C),O}function k(m,v,p,E){if(typeof p=="object"&&p!==null&&p.type===Vn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case $i:e:{for(var O=p.key,b=v;b!==null;){if(b.key===O){if(O=p.type,O===Vn){if(b.tag===7){n(m,b.sibling),v=i(b,p.props.children),v.return=m,m=v;break e}}else if(b.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===qt&&ld(O)===b.type){n(m,b.sibling),v=i(b,p.props),v.ref=Rr(m,b,p),v.return=m,m=v;break e}n(m,b);break}else t(m,b);b=b.sibling}p.type===Vn?(v=Dn(p.props.children,m.mode,E,p.key),v.return=m,m=v):(E=mo(p.type,p.key,p.props,null,m.mode,E),E.ref=Rr(m,v,p),E.return=m,m=E)}return a(m);case qn:e:{for(b=p.key;v!==null;){if(v.key===b)if(v.tag===4&&v.stateNode.containerInfo===p.containerInfo&&v.stateNode.implementation===p.implementation){n(m,v.sibling),v=i(v,p.children||[]),v.return=m,m=v;break e}else{n(m,v);break}else t(m,v);v=v.sibling}v=dl(p,m.mode,E),v.return=m,m=v}return a(m);case qt:return b=p._init,k(m,v,b(p._payload),E)}if(Ar(p))return y(m,v,p,E);if(Pr(p))return w(m,v,p,E);Yi(m,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,v!==null&&v.tag===6?(n(m,v.sibling),v=i(v,p),v.return=m,m=v):(n(m,v),v=cl(p,m.mode,E),v.return=m,m=v),a(m)):n(m,v)}return k}var vr=Ph(!0),Mh=Ph(!1),Pi={},wt=mn(Pi),di=mn(Pi),fi=mn(Pi);function On(e){if(e===Pi)throw Error(M(174));return e}function Ou(e,t){switch(V(fi,t),V(di,e),V(wt,Pi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ql(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ql(t,e)}G(wt),V(wt,t)}function pr(){G(wt),G(di),G(fi)}function Dh(e){On(fi.current);var t=On(wt.current),n=ql(t,e.type);t!==n&&(V(di,e),V(wt,n))}function Pu(e){di.current===e&&(G(wt),G(di))}var ne=mn(0);function Yo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var il=[];function Mu(){for(var e=0;en?n:4,e(!0);var r=ol.transition;ol.transition={};try{e(!1),t()}finally{H=n,ol.transition=r}}function qh(){return rt().memoizedState}function f0(e,t,n){var r=sn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Vh(e))Yh(t,n);else if(n=Ch(e,t,n,r),n!==null){var i=De();ut(n,e,r,i),Kh(n,t,r)}}function h0(e,t,n){var r=sn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vh(e))Yh(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,ct(l,a)){var s=t.interleaved;s===null?(i.next=i,_u(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=Ch(e,t,i,r),n!==null&&(i=De(),ut(n,e,r,i),Kh(n,t,r))}}function Vh(e){var t=e.alternate;return e===re||t!==null&&t===re}function Yh(e,t){Yr=Ko=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Kh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,du(e,n)}}var Go={readContext:nt,useCallback:Ee,useContext:Ee,useEffect:Ee,useImperativeHandle:Ee,useInsertionEffect:Ee,useLayoutEffect:Ee,useMemo:Ee,useReducer:Ee,useRef:Ee,useState:Ee,useDebugValue:Ee,useDeferredValue:Ee,useTransition:Ee,useMutableSource:Ee,useSyncExternalStore:Ee,useId:Ee,unstable_isNewReconciler:!1},m0={readContext:nt,useCallback:function(e,t){return mt().memoizedState=[e,t===void 0?null:t],e},useContext:nt,useEffect:ud,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,uo(4194308,4,Uh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return uo(4194308,4,e,t)},useInsertionEffect:function(e,t){return uo(4,2,e,t)},useMemo:function(e,t){var n=mt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=mt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=f0.bind(null,re,e),[r.memoizedState,e]},useRef:function(e){var t=mt();return e={current:e},t.memoizedState=e},useState:sd,useDebugValue:Fu,useDeferredValue:function(e){return mt().memoizedState=e},useTransition:function(){var e=sd(!1),t=e[0];return e=d0.bind(null,e[1]),mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=re,i=mt();if(Z){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),ye===null)throw Error(M(349));Fn&30||Rh(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,ud(Lh.bind(null,r,o,e),[e]),r.flags|=2048,vi(9,Fh.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=mt(),t=ye.identifierPrefix;if(Z){var n=Mt,r=Pt;n=(r&~(1<<32-st(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=hi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[pt]=t,e[fi]=r,um(e,t,!1,!1),t.stateNode=e;e:{switch(a=Zl(n,r),n){case"dialog":J("cancel",e),J("close",e),i=r;break;case"iframe":case"object":case"embed":J("load",e),i=r;break;case"video":case"audio":for(i=0;igr&&(t.flags|=128,r=!0,Rr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Zo(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Rr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!re)return _e(t),null}else 2*de()-o.renderingStartTime>gr&&n!==1073741824&&(t.flags|=128,r=!0,Rr(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=de(),t.sibling=null,n=ae.current,X(ae,r?n&1|2:n&1),t):(_e(t),null);case 22:case 23:return Bu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Qe&1073741824&&(_e(t),t.subtreeFlags&6&&(t.flags|=8192)):_e(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function $0(e,t){switch(_u(t),t.tag){case 1:return je(t.type)&&Ho(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return pr(),ee(ze),ee(Me),Fu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ru(t),null;case 13:if(ee(ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));mr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ee(ae),null;case 4:return pr(),null;case 10:return Mu(t.type._context),null;case 22:case 23:return Bu(),null;case 24:return null;default:return null}}var Xi=!1,xe=!1,I0=typeof WeakSet=="function"?WeakSet:Set,R=null;function nr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ue(e,t,r)}else n.current=null}function xs(e,t,n){try{n()}catch(r){ue(e,t,r)}}var xd=!1;function A0(e,t){if(us=Uo,e=vh(),bu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,l=-1,s=-1,u=0,c=0,d=e,m=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(l=a+i),d!==o||r!==0&&d.nodeType!==3||(s=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(p=d.firstChild)!==null;)m=d,d=p;for(;;){if(d===e)break t;if(m===n&&++u===i&&(l=a),m===o&&++c===r&&(s=a),(p=d.nextSibling)!==null)break;d=m,m=d.parentNode}d=p}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(cs={focusedElem:e,selectionRange:n},Uo=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var k=y.memoizedProps,w=y.memoizedState,h=t.stateNode,f=h.getSnapshotBeforeUpdate(t.elementType===t.type?k:at(t.type,k),w);h.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(S){ue(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return y=xd,xd=!1,y}function Yr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&xs(t,n,o)}i=i.next}while(i!==r)}}function Oa(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Os(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function fm(e){var t=e.alternate;t!==null&&(e.alternate=null,fm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[pt],delete t[fi],delete t[hs],delete t[k0],delete t[S0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function hm(e){return e.tag===5||e.tag===3||e.tag===4}function Od(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hm(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ps(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Bo));else if(r!==4&&(e=e.child,e!==null))for(Ps(e,t,n),e=e.sibling;e!==null;)Ps(e,t,n),e=e.sibling}function Ms(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ms(e,t,n),e=e.sibling;e!==null;)Ms(e,t,n),e=e.sibling}var ke=null,lt=!1;function Qt(e,t,n){for(n=n.child;n!==null;)mm(e,t,n),n=n.sibling}function mm(e,t,n){if(wt&&typeof wt.onCommitFiberUnmount=="function")try{wt.onCommitFiberUnmount(wa,n)}catch{}switch(n.tag){case 5:xe||nr(n,t);case 6:var r=ke,i=lt;ke=null,Qt(e,t,n),ke=r,lt=i,ke!==null&&(lt?(e=ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ke.removeChild(n.stateNode));break;case 18:ke!==null&&(lt?(e=ke,n=n.stateNode,e.nodeType===8?ll(e.parentNode,n):e.nodeType===1&&ll(e,n),li(e)):ll(ke,n.stateNode));break;case 4:r=ke,i=lt,ke=n.stateNode.containerInfo,lt=!0,Qt(e,t,n),ke=r,lt=i;break;case 0:case 11:case 14:case 15:if(!xe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&xs(n,t,a),i=i.next}while(i!==r)}Qt(e,t,n);break;case 1:if(!xe&&(nr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ue(n,t,l)}Qt(e,t,n);break;case 21:Qt(e,t,n);break;case 22:n.mode&1?(xe=(r=xe)||n.memoizedState!==null,Qt(e,t,n),xe=r):Qt(e,t,n);break;default:Qt(e,t,n)}}function Pd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new I0),t.forEach(function(r){var i=V0.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function ot(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=de()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*j0(r/1960))-r,10e?16:e,en===null)var r=!1;else{if(e=en,en=null,ia=0,H&6)throw Error(M(331));var i=H;for(H|=4,R=e.current;R!==null;){var o=R,a=o.child;if(R.flags&16){var l=o.deletions;if(l!==null){for(var s=0;sde()-Qu?Nn(e,0):Uu|=n),We(e,t)}function Cm(e,t){t===0&&(e.mode&1?(t=Ui,Ui<<=1,!(Ui&130023424)&&(Ui=4194304)):t=1);var n=De();e=At(e,t),e!==null&&(Oi(e,t,n),We(e,n))}function H0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Cm(e,n)}function V0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),Cm(e,n)}var bm;bm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ze.current)Ae=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ae=!1,F0(e,t,n);Ae=!!(e.flags&131072)}else Ae=!1,re&&t.flags&1048576&&xh(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;fo(e,t),e=t.pendingProps;var i=hr(t,Me.current);ur(t,n),i=$u(null,t,r,e,i,n);var o=Iu();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,je(r)?(o=!0,Vo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Du(t),i.updater=_a,t.stateNode=i,i._reactInternals=t,ws(t,r,e,n),t=Cs(null,t,r,!0,o,n)):(t.tag=0,re&&o&&Eu(t),Ne(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(fo(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=K0(r),e=at(r,e),i){case 0:t=Ss(null,t,r,e,n);break e;case 1:t=bd(null,t,r,e,n);break e;case 11:t=Sd(null,t,r,e,n);break e;case 14:t=Cd(null,t,r,at(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:at(r,i),Ss(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:at(r,i),bd(e,t,r,i,n);case 3:e:{if(am(t),e===null)throw Error(M(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Nh(e,t),Jo(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=yr(Error(M(423)),t),t=Ed(e,t,r,n,i);break e}else if(r!==i){i=yr(Error(M(424)),t),t=Ed(e,t,r,n,i);break e}else for(Be=an(t.stateNode.containerInfo.firstChild),He=t,re=!0,st=null,n=Fh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mr(),r===i){t=zt(e,t,n);break e}Ne(e,t,r,n)}t=t.child}return t;case 5:return Lh(t),e===null&&ps(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,ds(r,i)?a=null:o!==null&&ds(r,o)&&(t.flags|=32),om(e,t),Ne(e,t,a,n),t.child;case 6:return e===null&&ps(t),null;case 13:return lm(e,t,n);case 4:return Tu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=vr(t,null,r,n):Ne(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:at(r,i),Sd(e,t,r,i,n);case 7:return Ne(e,t,t.pendingProps,n),t.child;case 8:return Ne(e,t,t.pendingProps.children,n),t.child;case 12:return Ne(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,X(Go,r._currentValue),r._currentValue=a,o!==null)if(dt(o.value,a)){if(o.children===i.children&&!ze.current){t=zt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){a=o.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Ft(-1,n&-n),s.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),ys(o.return,n,t),l.lanes|=n;break}s=s.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(M(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),ys(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Ne(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ur(t,n),i=rt(i),r=r(i),t.flags|=1,Ne(e,t,r,n),t.child;case 14:return r=t.type,i=at(r,t.pendingProps),i=at(r.type,i),Cd(e,t,r,i,n);case 15:return rm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:at(r,i),fo(e,t),t.tag=1,je(r)?(e=!0,Vo(t)):e=!1,ur(t,n),Th(t,r,i),ws(t,r,i,n),Cs(null,t,r,!0,e,n);case 19:return sm(e,t,n);case 22:return im(e,t,n)}throw Error(M(156,t.tag))};function Em(e,t){return Gf(e,t)}function Y0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function tt(e,t,n,r){return new Y0(e,t,n,r)}function Vu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function K0(e){if(typeof e=="function")return Vu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===fu)return 11;if(e===hu)return 14}return 2}function cn(e,t){var n=e.alternate;return n===null?(n=tt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function vo(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")Vu(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Vn:return Dn(n.children,i,o,t);case du:a=8,i|=8;break;case Ql:return e=tt(12,n,t,i|2),e.elementType=Ql,e.lanes=o,e;case ql:return e=tt(13,n,t,i),e.elementType=ql,e.lanes=o,e;case Bl:return e=tt(19,n,t,i),e.elementType=Bl,e.lanes=o,e;case Rf:return Ma(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Df:a=10;break e;case Tf:a=9;break e;case fu:a=11;break e;case hu:a=14;break e;case Vt:a=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=tt(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Dn(e,t,n,r){return e=tt(7,e,r,t),e.lanes=n,e}function Ma(e,t,n,r){return e=tt(22,e,r,t),e.elementType=Rf,e.lanes=n,e.stateNode={isHidden:!1},e}function vl(e,t,n){return e=tt(6,e,null,t),e.lanes=n,e}function pl(e,t,n){return t=tt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function G0(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ga(0),this.expirationTimes=Ga(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ga(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Yu(e,t,n,r,i,o,a,l,s){return e=new G0(e,t,n,l,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=tt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Du(o),e}function X0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Ke})(Jp);var Fs={},ng={get exports(){return Fs},set exports(e){Fs=e}},Pm={};/** +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function sl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function vs(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var y0=typeof WeakMap=="function"?WeakMap:Map;function Gh(e,t,n){n=Tt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Jo||(Jo=!0,_s=r),vs(e,t)},n}function Xh(e,t,n){n=Tt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){vs(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){vs(e,t),typeof r!="function"&&(ln===null?ln=new Set([this]):ln.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function cd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new y0;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=N0.bind(null,e,t,n),t.then(e,e))}function dd(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function fd(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Tt(-1,1),t.tag=2,an(n,t,1))),n.lanes|=1),e)}var g0=At.ReactCurrentOwner,$e=!1;function Pe(e,t,n,r){t.child=e===null?Mh(t,null,n,r):vr(t,e.child,n,r)}function hd(e,t,n,r,i){n=n.render;var o=t.ref;return ur(t,i),r=Nu(e,t,n,r,o,i),n=Tu(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,It(e,t,i)):(Z&&n&&wu(t),t.flags|=1,Pe(e,t,r,i),t.child)}function md(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Wu(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Jh(e,t,o,r,i)):(e=mo(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:li,n(a,r)&&e.ref===t.ref)return It(e,t,i)}return t.flags|=1,e=un(o,r),e.ref=t.ref,e.return=t,t.child=e}function Jh(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(li(o,r)&&e.ref===t.ref)if($e=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&($e=!0);else return t.lanes=e.lanes,It(e,t,i)}return ps(e,t,n,r,i)}function Zh(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},V(rr,We),We|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,V(rr,We),We|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,V(rr,We),We|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,V(rr,We),We|=r;return Pe(e,t,i,n),t.child}function em(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ps(e,t,n,r,i){var o=Ae(n)?Tn:be.current;return o=hr(t,o),ur(t,i),n=Nu(e,t,n,r,o,i),r=Tu(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,It(e,t,i)):(Z&&r&&wu(t),t.flags|=1,Pe(e,t,n,i),t.child)}function vd(e,t,n,r,i){if(Ae(n)){var o=!0;Wo(t)}else o=!1;if(ur(t,i),t.stateNode===null)co(e,t),Oh(t,n,r),ms(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=nt(u):(u=Ae(n)?Tn:be.current,u=hr(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||s!==u)&&ad(t,a,r,u),Vt=!1;var f=t.memoizedState;a.state=f,Vo(t,r,a,i),s=t.memoizedState,l!==r||f!==s||Ie.current||Vt?(typeof c=="function"&&(hs(t,n,c,r),s=t.memoizedState),(l=Vt||od(t,n,l,r,f,s,u))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,_h(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ot(t.type,l),a.props=u,d=t.pendingProps,f=a.context,s=n.contextType,typeof s=="object"&&s!==null?s=nt(s):(s=Ae(n)?Tn:be.current,s=hr(t,s));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==d||f!==s)&&ad(t,a,r,s),Vt=!1,f=t.memoizedState,a.state=f,Vo(t,r,a,i);var y=t.memoizedState;l!==d||f!==y||Ie.current||Vt?(typeof h=="function"&&(hs(t,n,h,r),y=t.memoizedState),(u=Vt||od(t,n,u,r,f,y,s)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,y,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,y,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),a.props=r,a.state=y,a.context=s,r=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return ys(e,t,n,r,o,i)}function ys(e,t,n,r,i,o){em(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return i&&ed(t,n,!1),It(e,t,o);r=t.stateNode,g0.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=vr(t,e.child,null,o),t.child=vr(t,null,l,o)):Pe(e,t,l,o),t.memoizedState=r.state,i&&ed(t,n,!0),t.child}function tm(e){var t=e.stateNode;t.pendingContext?Zc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Zc(e,t.context,!1),Ou(e,t.containerInfo)}function pd(e,t,n,r,i){return mr(),Su(i),t.flags|=256,Pe(e,t,n,r),t.child}var gs={dehydrated:null,treeContext:null,retryLane:0};function ws(e){return{baseLanes:e,cachePool:null,transitions:null}}function nm(e,t,n){var r=t.pendingProps,i=ne.current,o=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),V(ne,i&1),e===null)return ds(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=_a(a,r,0,null),e=Dn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=ws(n),t.memoizedState=gs,e):Lu(t,a));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return w0(e,t,a,r,l,i,n);if(o){o=r.fallback,a=t.mode,i=e.child,l=i.sibling;var s={mode:"hidden",children:r.children};return!(a&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=un(i,s),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=un(l,o):(o=Dn(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?ws(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=gs,r}return o=e.child,e=o.sibling,r=un(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Lu(e,t){return t=_a({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ki(e,t,n,r){return r!==null&&Su(r),vr(t,e.child,null,n),e=Lu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function w0(e,t,n,r,i,o,a){if(n)return t.flags&256?(t.flags&=-257,r=sl(Error(M(422))),Ki(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=_a({mode:"visible",children:r.children},i,0,null),o=Dn(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&vr(t,e.child,null,a),t.child.memoizedState=ws(a),t.memoizedState=gs,o);if(!(t.mode&1))return Ki(e,t,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(M(419)),r=sl(o,r,void 0),Ki(e,t,a,r)}if(l=(a&e.childLanes)!==0,$e||l){if(r=ye,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|a)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,$t(e,i),ut(r,e,i,-1))}return Uu(),r=sl(Error(M(421))),Ki(e,t,a,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=T0.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Be=on(i.nextSibling),He=t,Z=!0,lt=null,e!==null&&(Je[Ze++]=Pt,Je[Ze++]=Mt,Je[Ze++]=Rn,Pt=e.id,Mt=e.overflow,Rn=t),t=Lu(t,r.children),t.flags|=4096,t)}function yd(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),fs(e.return,t,n)}function ul(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function rm(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Pe(e,t,r.children,n),r=ne.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&yd(e,n,t);else if(e.tag===19)yd(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(V(ne,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Yo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ul(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Yo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ul(t,!0,n,null,o);break;case"together":ul(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function co(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function It(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ln|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=un(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=un(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function k0(e,t,n){switch(t.tag){case 3:tm(t),mr();break;case 5:Dh(t);break;case 1:Ae(t.type)&&Wo(t);break;case 4:Ou(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;V(Ho,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(V(ne,ne.current&1),t.flags|=128,null):n&t.child.childLanes?nm(e,t,n):(V(ne,ne.current&1),e=It(e,t,n),e!==null?e.sibling:null);V(ne,ne.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return rm(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),V(ne,ne.current),r)break;return null;case 22:case 23:return t.lanes=0,Zh(e,t,n)}return It(e,t,n)}var im,ks,om,am;im=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};ks=function(){};om=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,On(wt.current);var o=null;switch(n){case"input":i=Wl(e,i),r=Wl(e,r),o=[];break;case"select":i=ie({},i,{value:void 0}),r=ie({},r,{value:void 0}),o=[];break;case"textarea":i=Hl(e,i),r=Hl(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=zo)}Vl(n,r);var a;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ei.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var s=r[u];if(l=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(s!=null||l!=null))if(u==="style")if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(o||(o=[]),o.push(u,n)),n=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(o=o||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ei.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&Y("scroll",e),o||l===s||(o=[])):(o=o||[]).push(u,s))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};am=function(e,t,n,r){n!==r&&(t.flags|=4)};function Fr(e,t){if(!Z)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function xe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function S0(e,t,n){var r=t.pendingProps;switch(ku(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xe(t),null;case 1:return Ae(t.type)&&Uo(),xe(t),null;case 3:return r=t.stateNode,pr(),G(Ie),G(be),Mu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Vi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,lt!==null&&(Ps(lt),lt=null))),ks(e,t),xe(t),null;case 5:Pu(t);var i=On(fi.current);if(n=t.type,e!==null&&t.stateNode!=null)om(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return xe(t),null}if(e=On(wt.current),Vi(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[vt]=t,r[ci]=o,e=(t.mode&1)!==0,n){case"dialog":Y("cancel",r),Y("close",r);break;case"iframe":case"object":case"embed":Y("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[vt]=t,e[ci]=r,im(e,t,!1,!1),t.stateNode=e;e:{switch(a=Yl(n,r),n){case"dialog":Y("cancel",e),Y("close",e),i=r;break;case"iframe":case"object":case"embed":Y("load",e),i=r;break;case"video":case"audio":for(i=0;igr&&(t.flags|=128,r=!0,Fr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Yo(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Fr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Z)return xe(t),null}else 2*ue()-o.renderingStartTime>gr&&n!==1073741824&&(t.flags|=128,r=!0,Fr(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ue(),t.sibling=null,n=ne.current,V(ne,r?n&1|2:n&1),t):(xe(t),null);case 22:case 23:return zu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?We&1073741824&&(xe(t),t.subtreeFlags&6&&(t.flags|=8192)):xe(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function E0(e,t){switch(ku(t),t.tag){case 1:return Ae(t.type)&&Uo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return pr(),G(Ie),G(be),Mu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Pu(t),null;case 13:if(G(ne),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));mr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return G(ne),null;case 4:return pr(),null;case 10:return Cu(t.type._context),null;case 22:case 23:return zu(),null;case 24:return null;default:return null}}var Gi=!1,Ce=!1,x0=typeof WeakSet=="function"?WeakSet:Set,T=null;function nr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){le(e,t,r)}else n.current=null}function Ss(e,t,n){try{n()}catch(r){le(e,t,r)}}var gd=!1;function C0(e,t){if(is=$o,e=ch(),gu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,l=-1,s=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var h;d!==n||i!==0&&d.nodeType!==3||(l=a+i),d!==o||r!==0&&d.nodeType!==3||(s=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++u===i&&(l=a),f===o&&++c===r&&(s=a),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(os={focusedElem:e,selectionRange:n},$o=!1,T=t;T!==null;)if(t=T,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,T=e;else for(;T!==null;){t=T;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,k=y.memoizedState,m=t.stateNode,v=m.getSnapshotBeforeUpdate(t.elementType===t.type?w:ot(t.type,w),k);m.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(E){le(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,T=e;break}T=t.return}return y=gd,gd=!1,y}function Kr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Ss(t,n,o)}i=i.next}while(i!==r)}}function xa(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Es(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function lm(e){var t=e.alternate;t!==null&&(e.alternate=null,lm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[vt],delete t[ci],delete t[ss],delete t[a0],delete t[l0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sm(e){return e.tag===5||e.tag===3||e.tag===4}function wd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sm(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function xs(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=zo));else if(r!==4&&(e=e.child,e!==null))for(xs(e,t,n),e=e.sibling;e!==null;)xs(e,t,n),e=e.sibling}function Cs(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Cs(e,t,n),e=e.sibling;e!==null;)Cs(e,t,n),e=e.sibling}var we=null,at=!1;function Wt(e,t,n){for(n=n.child;n!==null;)um(e,t,n),n=n.sibling}function um(e,t,n){if(gt&&typeof gt.onCommitFiberUnmount=="function")try{gt.onCommitFiberUnmount(va,n)}catch{}switch(n.tag){case 5:Ce||nr(n,t);case 6:var r=we,i=at;we=null,Wt(e,t,n),we=r,at=i,we!==null&&(at?(e=we,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):we.removeChild(n.stateNode));break;case 18:we!==null&&(at?(e=we,n=n.stateNode,e.nodeType===8?nl(e.parentNode,n):e.nodeType===1&&nl(e,n),oi(e)):nl(we,n.stateNode));break;case 4:r=we,i=at,we=n.stateNode.containerInfo,at=!0,Wt(e,t,n),we=r,at=i;break;case 0:case 11:case 14:case 15:if(!Ce&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&Ss(n,t,a),i=i.next}while(i!==r)}Wt(e,t,n);break;case 1:if(!Ce&&(nr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){le(n,t,l)}Wt(e,t,n);break;case 21:Wt(e,t,n);break;case 22:n.mode&1?(Ce=(r=Ce)||n.memoizedState!==null,Wt(e,t,n),Ce=r):Wt(e,t,n);break;default:Wt(e,t,n)}}function kd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new x0),t.forEach(function(r){var i=R0.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function it(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*b0(r/1960))-r,10e?16:e,Zt===null)var r=!1;else{if(e=Zt,Zt=null,Zo=0,W&6)throw Error(M(331));var i=W;for(W|=4,T=e.current;T!==null;){var o=T,a=o.child;if(T.flags&16){var l=o.deletions;if(l!==null){for(var s=0;sue()-Iu?Mn(e,0):$u|=n),ze(e,t)}function ym(e,t){t===0&&(e.mode&1?(t=Ui,Ui<<=1,!(Ui&130023424)&&(Ui=4194304)):t=1);var n=De();e=$t(e,t),e!==null&&(_i(e,t,n),ze(e,n))}function T0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ym(e,n)}function R0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),ym(e,n)}var gm;gm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ie.current)$e=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return $e=!1,k0(e,t,n);$e=!!(e.flags&131072)}else $e=!1,Z&&t.flags&1048576&&Sh(t,Bo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;co(e,t),e=t.pendingProps;var i=hr(t,be.current);ur(t,n),i=Nu(null,t,r,e,i,n);var o=Tu();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ae(r)?(o=!0,Wo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,bu(t),i.updater=Sa,t.stateNode=i,i._reactInternals=t,ms(t,r,e,n),t=ys(null,t,r,!0,o,n)):(t.tag=0,Z&&o&&wu(t),Pe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(co(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=L0(r),e=ot(r,e),i){case 0:t=ps(null,t,r,e,n);break e;case 1:t=vd(null,t,r,e,n);break e;case 11:t=hd(null,t,r,e,n);break e;case 14:t=md(null,t,r,ot(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ot(r,i),ps(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ot(r,i),vd(e,t,r,i,n);case 3:e:{if(tm(t),e===null)throw Error(M(387));r=t.pendingProps,o=t.memoizedState,i=o.element,_h(e,t),Vo(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=yr(Error(M(423)),t),t=pd(e,t,r,n,i);break e}else if(r!==i){i=yr(Error(M(424)),t),t=pd(e,t,r,n,i);break e}else for(Be=on(t.stateNode.containerInfo.firstChild),He=t,Z=!0,lt=null,n=Mh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mr(),r===i){t=It(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return Dh(t),e===null&&ds(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,as(r,i)?a=null:o!==null&&as(r,o)&&(t.flags|=32),em(e,t),Pe(e,t,a,n),t.child;case 6:return e===null&&ds(t),null;case 13:return nm(e,t,n);case 4:return Ou(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=vr(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ot(r,i),hd(e,t,r,i,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,V(Ho,r._currentValue),r._currentValue=a,o!==null)if(ct(o.value,a)){if(o.children===i.children&&!Ie.current){t=It(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){a=o.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Tt(-1,n&-n),s.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),fs(o.return,n,t),l.lanes|=n;break}s=s.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(M(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),fs(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Pe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ur(t,n),i=nt(i),r=r(i),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,i=ot(r,t.pendingProps),i=ot(r.type,i),md(e,t,r,i,n);case 15:return Jh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ot(r,i),co(e,t),t.tag=1,Ae(r)?(e=!0,Wo(t)):e=!1,ur(t,n),Oh(t,r,i),ms(t,r,i,n),ys(null,t,r,!0,e,n);case 19:return rm(e,t,n);case 22:return Zh(e,t,n)}throw Error(M(156,t.tag))};function wm(e,t){return Hf(e,t)}function F0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function et(e,t,n,r){return new F0(e,t,n,r)}function Wu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function L0(e){if(typeof e=="function")return Wu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===lu)return 11;if(e===su)return 14}return 2}function un(e,t){var n=e.alternate;return n===null?(n=et(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function mo(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")Wu(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Vn:return Dn(n.children,i,o,t);case au:a=8,i|=8;break;case Il:return e=et(12,n,t,i|2),e.elementType=Il,e.lanes=o,e;case Al:return e=et(13,n,t,i),e.elementType=Al,e.lanes=o,e;case zl:return e=et(19,n,t,i),e.elementType=zl,e.lanes=o,e;case Pf:return _a(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case bf:a=10;break e;case Of:a=9;break e;case lu:a=11;break e;case su:a=14;break e;case qt:a=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=et(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Dn(e,t,n,r){return e=et(7,e,r,t),e.lanes=n,e}function _a(e,t,n,r){return e=et(22,e,r,t),e.elementType=Pf,e.lanes=n,e.stateNode={isHidden:!1},e}function cl(e,t,n){return e=et(6,e,null,t),e.lanes=n,e}function dl(e,t,n){return t=et(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function j0(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ha(0),this.expirationTimes=Ha(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ha(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Qu(e,t,n,r,i,o,a,l,s){return e=new j0(e,t,n,l,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=et(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},bu(o),e}function $0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xm)}catch(e){console.error(e)}}xm(),Sf.exports=Ye;var Cm=Sf.exports,_m={exports:{}},bm={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -46,7 +46,7 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var wr=g;function rg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ig=typeof Object.is=="function"?Object.is:rg,og=wr.useState,ag=wr.useEffect,lg=wr.useLayoutEffect,sg=wr.useDebugValue;function ug(e,t){var n=t(),r=og({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return lg(function(){i.value=n,i.getSnapshot=t,yl(i)&&o({inst:i})},[e,n,t]),ag(function(){return yl(i)&&o({inst:i}),e(function(){yl(i)&&o({inst:i})})},[e]),sg(n),n}function yl(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ig(e,n)}catch{return!0}}function cg(e,t){return t()}var dg=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?cg:ug;Pm.useSyncExternalStore=wr.useSyncExternalStore!==void 0?wr.useSyncExternalStore:dg;(function(e){e.exports=Pm})(ng);const Ju=Fs.useSyncExternalStore,$d=g.createContext(void 0),Mm=g.createContext(!1);function Nm(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=$d),window.ReactQueryClientContext):$d)}const Fa=({context:e}={})=>{const t=g.useContext(Nm(e,g.useContext(Mm)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},fg=({client:e,children:t,context:n,contextSharing:r=!1})=>{g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const i=Nm(n,r);return g.createElement(Mm.Provider,{value:!n&&r},g.createElement(i.Provider,{value:e},t))},Dm=g.createContext(!1),Tm=()=>g.useContext(Dm);Dm.Provider;function hg(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const mg=g.createContext(hg()),Rm=()=>g.useContext(mg);function Fm(e,t){return typeof e=="function"?e(...t):!!e}const Lm=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},$m=e=>{g.useEffect(()=>{e.clearReset()},[e])},Im=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&Fm(n,[e.error,r]),Am=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},zm=(e,t)=>e.isLoading&&e.isFetching&&!t,Ls=(e,t,n)=>(e==null?void 0:e.suspense)&&zm(t,n),$s=(e,t,n)=>t.fetchOptimistic(e).then(({data:r})=>{e.onSuccess==null||e.onSuccess(r),e.onSettled==null||e.onSettled(r,null)}).catch(r=>{n.clearReset(),e.onError==null||e.onError(r),e.onSettled==null||e.onSettled(void 0,r)});function vg({queries:e,context:t}){const n=Fa({context:t}),r=Tm(),i=g.useMemo(()=>e.map(d=>{const m=n.defaultQueryOptions(d);return m._optimisticResults=r?"isRestoring":"optimistic",m}),[e,n,r]),[o]=g.useState(()=>new Kp(n,i)),a=o.getOptimisticResult(i);Ju(g.useCallback(d=>r?()=>{}:o.subscribe(Z.batchCalls(d)),[o,r]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),g.useEffect(()=>{o.setQueries(i,{listeners:!1})},[i,o]);const l=Rm();i.forEach(d=>{Lm(d,l),Am(d)}),$m(l);const u=a.some((d,m)=>Ls(i[m],d,r))?a.flatMap((d,m)=>{const p=i[m],y=o.getObservers()[m];if(p&&y){if(Ls(p,d,r))return $s(p,y,l);zm(d,r)&&$s(p,y,l)}return[]}):[];if(u.length>0)throw Promise.all(u);const c=a.find((d,m)=>{var p,y;return Im({result:d,errorResetBoundary:l,useErrorBoundary:(p=(y=i[m])==null?void 0:y.useErrorBoundary)!=null?p:!1,query:o.getQueries()[m]})});if(c!=null&&c.error)throw c.error;return a}function jm(e,t){const n=Fa({context:e.context}),r=Tm(),i=Rm(),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=Z.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=Z.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=Z.batchCalls(o.onSettled)),Am(o),Lm(o,i),$m(i);const[a]=g.useState(()=>new t(n,o)),l=a.getOptimisticResult(o);if(Ju(g.useCallback(s=>r?()=>{}:a.subscribe(Z.batchCalls(s)),[a,r]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),g.useEffect(()=>{a.setOptions(o,{listeners:!1})},[o,a]),Ls(o,l,r))throw $s(o,a,i);if(Im({result:l,errorResetBoundary:i,useErrorBoundary:o.useErrorBoundary,query:a.getCurrentQuery()}))throw l.error;return o.notifyOnChangeProps?l:a.trackResult(l)}function pg(e,t,n){const r=Bn(e,t,n);return jm(r,au)}function yg(e,t,n){const r=Fp(e,t,n),i=Fa({context:r.context}),[o]=g.useState(()=>new Xp(i,r));g.useEffect(()=>{o.setOptions(r)},[o,r]);const a=Ju(g.useCallback(s=>o.subscribe(Z.batchCalls(s)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),l=g.useCallback((s,u)=>{o.mutate(s,u).catch(gg)},[o]);if(a.error&&Fm(o.options.useErrorBoundary,[a.error]))throw a.error;return{...a,mutate:l,mutateAsync:a.mutate}}function gg(){}function wg(e,t,n){const r=Bn(e,t,n);return jm(r,Gp)}var Is={},Id=$o;Is.createRoot=Id.createRoot,Is.hydrateRoot=Id.hydrateRoot;const po=g;function kg({title:e,titleId:t,...n},r){return po.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?po.createElement("title",{id:t},e):null,po.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99"}))}const Sg=po.forwardRef(kg);var Cg=Sg;const yo=g;function bg({title:e,titleId:t,...n},r){return yo.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?yo.createElement("title",{id:t},e):null,yo.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5m-9-6h.008v.008H12v-.008zM12 15h.008v.008H12V15zm0 2.25h.008v.008H12v-.008zM9.75 15h.008v.008H9.75V15zm0 2.25h.008v.008H9.75v-.008zM7.5 15h.008v.008H7.5V15zm0 2.25h.008v.008H7.5v-.008zm6.75-4.5h.008v.008h-.008v-.008zm0 2.25h.008v.008h-.008V15zm0 2.25h.008v.008h-.008v-.008zm2.25-4.5h.008v.008H16.5v-.008zm0 2.25h.008v.008H16.5V15z"}))}const Eg=yo.forwardRef(bg);var _g=Eg;const go=g;function xg({title:e,titleId:t,...n},r){return go.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?go.createElement("title",{id:t},e):null,go.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))}const Og=go.forwardRef(xg);var Pg=Og;const wo=g;function Mg({title:e,titleId:t,...n},r){return wo.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?wo.createElement("title",{id:t},e):null,wo.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"}))}const Ng=wo.forwardRef(Mg);var Dg=Ng;const ko=g;function Tg({title:e,titleId:t,...n},r){return ko.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?ko.createElement("title",{id:t},e):null,ko.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12a7.5 7.5 0 0015 0m-15 0a7.5 7.5 0 1115 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077l1.41-.513m14.095-5.13l1.41-.513M5.106 17.785l1.15-.964m11.49-9.642l1.149-.964M7.501 19.795l.75-1.3m7.5-12.99l.75-1.3m-6.063 16.658l.26-1.477m2.605-14.772l.26-1.477m0 17.726l-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205L12 12m6.894 5.785l-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864l-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"}))}const Rg=ko.forwardRef(Tg);var Fg=Rg;const So=g;function Lg({title:e,titleId:t,...n},r){return So.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?So.createElement("title",{id:t},e):null,So.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"}))}const $g=So.forwardRef(Lg);var Ig=$g;const Co=g;function Ag({title:e,titleId:t,...n},r){return Co.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?Co.createElement("title",{id:t},e):null,Co.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z"}))}const zg=Co.forwardRef(Ag);var jg=zg;const bo=g;function Wg({title:e,titleId:t,...n},r){return bo.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?bo.createElement("title",{id:t},e):null,bo.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386l-1.591 1.591M21 12h-2.25m-.386 6.364l-1.591-1.591M12 18.75V21m-4.773-4.227l-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0z"}))}const Ug=bo.forwardRef(Wg);var Qg=Ug,Wm=Cg,Um=_g,Qm=Pg,qg=Dg,Bg=Fg,Hg=Ig,Vg=jg,Yg=Qg;function we(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function I(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function Eo(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Eo=function(n){return typeof n}:Eo=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Eo(e)}function U(e){I(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Eo(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Oe(e,t){I(2,arguments);var n=U(e),r=we(t);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}function bt(e,t){I(2,arguments);var n=U(e),r=we(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),o=new Date(n.getTime());o.setMonth(n.getMonth()+r+1,0);var a=o.getDate();return i>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}function Kg(e,t){I(2,arguments);var n=U(e).getTime(),r=we(t);return new Date(n+r)}var Gg={};function yn(){return Gg}function Et(e,t){var n,r,i,o,a,l,s,u;I(1,arguments);var c=yn(),d=we((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&r!==void 0?r:(s=c.locale)===null||s===void 0||(u=s.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=U(e),p=m.getDay(),y=(p=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function Jg(e){I(1,arguments);var t=Xg(e),n=new Date(0);n.setFullYear(t,0,4),n.setHours(0,0,0,0);var r=An(n);return r}function wi(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function kr(e){I(1,arguments);var t=U(e);return t.setHours(0,0,0,0),t}var Zg=864e5;function Tt(e,t){I(2,arguments);var n=kr(e),r=kr(t),i=n.getTime()-wi(n),o=r.getTime()-wi(r);return Math.round((i-o)/Zg)}function As(e,t){I(2,arguments);var n=we(t),r=n*7;return Oe(e,r)}function e1(e,t){I(2,arguments);var n=we(t);return bt(e,n*12)}function _o(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_o=function(n){return typeof n}:_o=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_o(e)}function t1(e){I(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(_o(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var n;return t.forEach(function(r){var i=U(r);(n===void 0||ni||isNaN(i.getDate()))&&(n=i)}),n||new Date(NaN)}function Ie(e,t){I(2,arguments);var n=kr(e),r=kr(t);return n.getTime()===r.getTime()}function Oo(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Oo=function(n){return typeof n}:Oo=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Oo(e)}function Zu(e){return I(1,arguments),e instanceof Date||Oo(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function r1(e){if(I(1,arguments),!Zu(e)&&typeof e!="number")return!1;var t=U(e);return!isNaN(Number(t))}function ki(e,t){I(2,arguments);var n=U(e),r=U(t),i=n.getFullYear()-r.getFullYear(),o=n.getMonth()-r.getMonth();return i*12+o}var i1=6048e5;function o1(e,t,n){I(2,arguments);var r=Et(e,n),i=Et(t,n),o=r.getTime()-wi(r),a=i.getTime()-wi(i);return Math.round((o-a)/i1)}function ec(e){I(1,arguments);var t=U(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Ue(e){I(1,arguments);var t=U(e);return t.setDate(1),t.setHours(0,0,0,0),t}function a1(e){I(1,arguments);var t=U(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function tc(e,t){var n,r,i,o,a,l,s,u;I(1,arguments);var c=yn(),d=we((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&r!==void 0?r:(s=c.locale)===null||s===void 0||(u=s.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=U(e),p=m.getDay(),y=(p=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function c1(e){I(1,arguments);var t=Bm(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=la(n);return r}var d1=6048e5;function f1(e){I(1,arguments);var t=U(e),n=la(t).getTime()-c1(t).getTime();return Math.round(n/d1)+1}function sa(e,t){var n,r,i,o,a,l,s,u;I(1,arguments);var c=yn(),d=we((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&r!==void 0?r:(s=c.locale)===null||s===void 0||(u=s.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=U(e),p=m.getUTCDay(),y=(p=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(d+1,0,p),y.setUTCHours(0,0,0,0);var k=sa(y,t),w=new Date(0);w.setUTCFullYear(d,0,p),w.setUTCHours(0,0,0,0);var h=sa(w,t);return c.getTime()>=k.getTime()?d+1:c.getTime()>=h.getTime()?d:d-1}function h1(e,t){var n,r,i,o,a,l,s,u;I(1,arguments);var c=yn(),d=we((n=(r=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&i!==void 0?i:c.firstWeekContainsDate)!==null&&r!==void 0?r:(s=c.locale)===null||s===void 0||(u=s.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),m=Hm(e,t),p=new Date(0);p.setUTCFullYear(m,0,d),p.setUTCHours(0,0,0,0);var y=sa(p,t);return y}var m1=6048e5;function v1(e,t){I(1,arguments);var n=U(e),r=sa(n,t).getTime()-h1(n,t).getTime();return Math.round(r/m1)+1}function Y(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?r:1-r;return Y(n==="yy"?i%100:i,n.length)},M:function(t,n){var r=t.getUTCMonth();return n==="M"?String(r+1):Y(r+1,2)},d:function(t,n){return Y(t.getUTCDate(),n.length)},a:function(t,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,n){return Y(t.getUTCHours()%12||12,n.length)},H:function(t,n){return Y(t.getUTCHours(),n.length)},m:function(t,n){return Y(t.getUTCMinutes(),n.length)},s:function(t,n){return Y(t.getUTCSeconds(),n.length)},S:function(t,n){var r=n.length,i=t.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,r-3));return Y(o,n.length)}};const qt=p1;var qn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},y1={G:function(t,n,r){var i=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(t,n,r){if(n==="yo"){var i=t.getUTCFullYear(),o=i>0?i:1-i;return r.ordinalNumber(o,{unit:"year"})}return qt.y(t,n)},Y:function(t,n,r,i){var o=Hm(t,i),a=o>0?o:1-o;if(n==="YY"){var l=a%100;return Y(l,2)}return n==="Yo"?r.ordinalNumber(a,{unit:"year"}):Y(a,n.length)},R:function(t,n){var r=Bm(t);return Y(r,n.length)},u:function(t,n){var r=t.getUTCFullYear();return Y(r,n.length)},Q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(i);case"QQ":return Y(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(i);case"qq":return Y(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,n,r){var i=t.getUTCMonth();switch(n){case"M":case"MM":return qt.M(t,n);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(t,n,r){var i=t.getUTCMonth();switch(n){case"L":return String(i+1);case"LL":return Y(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(t,n,r,i){var o=v1(t,i);return n==="wo"?r.ordinalNumber(o,{unit:"week"}):Y(o,n.length)},I:function(t,n,r){var i=f1(t);return n==="Io"?r.ordinalNumber(i,{unit:"week"}):Y(i,n.length)},d:function(t,n,r){return n==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):qt.d(t,n)},D:function(t,n,r){var i=u1(t);return n==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):Y(i,n.length)},E:function(t,n,r){var i=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(t,n,r,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(a);case"ee":return Y(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(t,n,r,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(a);case"cc":return Y(a,n.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(t,n,r){var i=t.getUTCDay(),o=i===0?7:i;switch(n){case"i":return String(o);case"ii":return Y(o,n.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(t,n,r){var i=t.getUTCHours(),o=i/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,n,r){var i=t.getUTCHours(),o;switch(i===12?o=qn.noon:i===0?o=qn.midnight:o=i/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,n,r){var i=t.getUTCHours(),o;switch(i>=17?o=qn.evening:i>=12?o=qn.afternoon:i>=4?o=qn.morning:o=qn.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,n,r){if(n==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return qt.h(t,n)},H:function(t,n,r){return n==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):qt.H(t,n)},K:function(t,n,r){var i=t.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(i,{unit:"hour"}):Y(i,n.length)},k:function(t,n,r){var i=t.getUTCHours();return i===0&&(i=24),n==="ko"?r.ordinalNumber(i,{unit:"hour"}):Y(i,n.length)},m:function(t,n,r){return n==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):qt.m(t,n)},s:function(t,n,r){return n==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):qt.s(t,n)},S:function(t,n){return qt.S(t,n)},X:function(t,n,r,i){var o=i._originalDate||t,a=o.getTimezoneOffset();if(a===0)return"Z";switch(n){case"X":return zd(a);case"XXXX":case"XX":return bn(a);case"XXXXX":case"XXX":default:return bn(a,":")}},x:function(t,n,r,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(n){case"x":return zd(a);case"xxxx":case"xx":return bn(a);case"xxxxx":case"xxx":default:return bn(a,":")}},O:function(t,n,r,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+Ad(a,":");case"OOOO":default:return"GMT"+bn(a,":")}},z:function(t,n,r,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+Ad(a,":");case"zzzz":default:return"GMT"+bn(a,":")}},t:function(t,n,r,i){var o=i._originalDate||t,a=Math.floor(o.getTime()/1e3);return Y(a,n.length)},T:function(t,n,r,i){var o=i._originalDate||t,a=o.getTime();return Y(a,n.length)}};function Ad(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var a=t||"";return n+String(i)+a+Y(o,2)}function zd(e,t){if(e%60===0){var n=e>0?"-":"+";return n+Y(Math.abs(e)/60,2)}return bn(e,t)}function bn(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e),o=Y(Math.floor(i/60),2),a=Y(i%60,2);return r+o+n+a}const g1=y1;var jd=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Vm=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},w1=function(t,n){var r=t.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return jd(t,n);var a;switch(i){case"P":a=n.dateTime({width:"short"});break;case"PP":a=n.dateTime({width:"medium"});break;case"PPP":a=n.dateTime({width:"long"});break;case"PPPP":default:a=n.dateTime({width:"full"});break}return a.replace("{{date}}",jd(i,n)).replace("{{time}}",Vm(o,n))},k1={p:Vm,P:w1};const S1=k1;var C1=["D","DD"],b1=["YY","YYYY"];function E1(e){return C1.indexOf(e)!==-1}function _1(e){return b1.indexOf(e)!==-1}function Wd(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var x1={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},O1=function(t,n,r){var i,o=x1[t];return typeof o=="string"?i=o:n===1?i=o.one:i=o.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};const P1=O1;function dr(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var M1={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},N1={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},D1={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},T1={date:dr({formats:M1,defaultWidth:"full"}),time:dr({formats:N1,defaultWidth:"full"}),dateTime:dr({formats:D1,defaultWidth:"full"})};const R1=T1;var F1={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},L1=function(t,n,r,i){return F1[t]};const $1=L1;function yt(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):o;i=e.formattingValues[a]||e.formattingValues[o]}else{var l=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[s]||e.values[l]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var I1={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},A1={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},z1={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},j1={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},W1={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},U1={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Q1=function(t,n){var r=Number(t),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},q1={ordinalNumber:Q1,era:yt({values:I1,defaultWidth:"wide"}),quarter:yt({values:A1,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:yt({values:z1,defaultWidth:"wide"}),day:yt({values:j1,defaultWidth:"wide"}),dayPeriod:yt({values:W1,defaultWidth:"wide",formattingValues:U1,defaultFormattingWidth:"wide"})};const B1=q1;function gt(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a=o[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?V1(l,function(d){return d.test(a)}):H1(l,function(d){return d.test(a)}),u;u=e.valueCallback?e.valueCallback(s):s,u=n.valueCallback?n.valueCallback(u):u;var c=t.slice(a.length);return{value:u,rest:c}}}function H1(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function V1(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;var l=t.slice(i.length);return{value:a,rest:l}}}var Y1=/^(\d+)(th|st|nd|rd)?/i,K1=/\d+/i,G1={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},X1={any:[/^b/i,/^(a|c)/i]},J1={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Z1={any:[/1/i,/2/i,/3/i,/4/i]},ew={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},tw={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},nw={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},rw={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},iw={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},ow={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},aw={ordinalNumber:Ym({matchPattern:Y1,parsePattern:K1,valueCallback:function(t){return parseInt(t,10)}}),era:gt({matchPatterns:G1,defaultMatchWidth:"wide",parsePatterns:X1,defaultParseWidth:"any"}),quarter:gt({matchPatterns:J1,defaultMatchWidth:"wide",parsePatterns:Z1,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:gt({matchPatterns:ew,defaultMatchWidth:"wide",parsePatterns:tw,defaultParseWidth:"any"}),day:gt({matchPatterns:nw,defaultMatchWidth:"wide",parsePatterns:rw,defaultParseWidth:"any"}),dayPeriod:gt({matchPatterns:iw,defaultMatchWidth:"any",parsePatterns:ow,defaultParseWidth:"any"})};const lw=aw;var sw={code:"en-US",formatDistance:P1,formatLong:R1,formatRelative:$1,localize:B1,match:lw,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Km=sw;var uw=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,cw=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,dw=/^'([^]*?)'?$/,fw=/''/g,hw=/[a-zA-Z]/;function Un(e,t,n){var r,i,o,a,l,s,u,c,d,m,p,y,k,w,h,f,v,S;I(2,arguments);var P=String(t),x=yn(),b=(r=(i=n==null?void 0:n.locale)!==null&&i!==void 0?i:x.locale)!==null&&r!==void 0?r:Km,E=we((o=(a=(l=(s=n==null?void 0:n.firstWeekContainsDate)!==null&&s!==void 0?s:n==null||(u=n.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&l!==void 0?l:x.firstWeekContainsDate)!==null&&a!==void 0?a:(d=x.locale)===null||d===void 0||(m=d.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(E>=1&&E<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var N=we((p=(y=(k=(w=n==null?void 0:n.weekStartsOn)!==null&&w!==void 0?w:n==null||(h=n.locale)===null||h===void 0||(f=h.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&k!==void 0?k:x.weekStartsOn)!==null&&y!==void 0?y:(v=x.locale)===null||v===void 0||(S=v.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&p!==void 0?p:0);if(!(N>=0&&N<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!b.localize)throw new RangeError("locale must contain localize property");if(!b.formatLong)throw new RangeError("locale must contain formatLong property");var D=U(e);if(!r1(D))throw new RangeError("Invalid time value");var W=wi(D),V=l1(D,W),G={firstWeekContainsDate:E,weekStartsOn:N,locale:b,_originalDate:D},F=P.match(cw).map(function(L){var B=L[0];if(B==="p"||B==="P"){var T=S1[B];return T(L,b.formatLong)}return L}).join("").match(uw).map(function(L){if(L==="''")return"'";var B=L[0];if(B==="'")return mw(L);var T=g1[B];if(T)return!(n!=null&&n.useAdditionalWeekYearTokens)&&_1(L)&&Wd(L,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&E1(L)&&Wd(L,t,String(e)),T(V,L,b.localize,G);if(B.match(hw))throw new RangeError("Format string contains an unescaped latin alphabet character `"+B+"`");return L}).join("");return F}function mw(e){var t=e.match(dw);return t?t[1].replace(fw,"'"):e}function vw(e){I(1,arguments);var t=U(e),n=t.getFullYear(),r=t.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}var pw=6048e5;function yw(e){I(1,arguments);var t=U(e),n=An(t).getTime()-Jg(t).getTime();return Math.round(n/pw)+1}function gw(e){I(1,arguments);var t=U(e),n=t.getTime();return n}function ww(e){return I(1,arguments),Math.floor(gw(e)/1e3)}function kw(e,t){var n,r,i,o,a,l,s,u;I(1,arguments);var c=U(e),d=c.getFullYear(),m=yn(),p=we((n=(r=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&i!==void 0?i:m.firstWeekContainsDate)!==null&&r!==void 0?r:(s=m.locale)===null||s===void 0||(u=s.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setFullYear(d+1,0,p),y.setHours(0,0,0,0);var k=Et(y,t),w=new Date(0);w.setFullYear(d,0,p),w.setHours(0,0,0,0);var h=Et(w,t);return c.getTime()>=k.getTime()?d+1:c.getTime()>=h.getTime()?d:d-1}function Sw(e,t){var n,r,i,o,a,l,s,u;I(1,arguments);var c=yn(),d=we((n=(r=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&i!==void 0?i:c.firstWeekContainsDate)!==null&&r!==void 0?r:(s=c.locale)===null||s===void 0||(u=s.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),m=kw(e,t),p=new Date(0);p.setFullYear(m,0,d),p.setHours(0,0,0,0);var y=Et(p,t);return y}var Cw=6048e5;function bw(e,t){I(1,arguments);var n=U(e),r=Et(n,t).getTime()-Sw(n,t).getTime();return Math.round(r/Cw)+1}function Ew(e){I(1,arguments);var t=U(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t}function _w(e,t){return I(1,arguments),o1(Ew(e),Ue(e),t)+1}function Gm(e,t){I(2,arguments);var n=U(e),r=U(t);return n.getTime()>r.getTime()}function Xm(e,t){I(2,arguments);var n=U(e),r=U(t);return n.getTime()e.reduce((n,r)=>{const i=r[t];return n[i]=r,n},{}),Zm=e=>e?e.toLocaleTimeString(La(),{hour:"2-digit",minute:"2-digit"}):void 0,rc=e=>e.toLocaleString(La(),{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}),Se=(...e)=>e.filter(Boolean).join(" "),La=()=>navigator.language,Xr=()=>Intl.DateTimeFormat().resolvedOptions().timeZone;function Ow(e){return e}function Pw(e){return e.length===0?Ow:e.length===1?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}function ev(e){const t={subscribe(n){let r=null,i=!1,o=!1,a=!1;function l(){if(r===null){a=!0;return}o||(o=!0,typeof r=="function"?r():r&&r.unsubscribe())}return r=e({next(s){var u;i||(u=n.next)==null||u.call(n,s)},error(s){var u;i||(i=!0,(u=n.error)==null||u.call(n,s),l())},complete(){var s;i||(i=!0,(s=n.complete)==null||s.call(n),l())}}),a&&l(),{unsubscribe:l}},pipe(...n){return Pw(n)(t)}};return t}function Mw(e){return t=>{let n=0,r=null;const i=[];function o(){r||(r=t.subscribe({next(l){var s;for(const u of i)(s=u.next)==null||s.call(u,l)},error(l){var s;for(const u of i)(s=u.error)==null||s.call(u,l)},complete(){var l;for(const s of i)(l=s.complete)==null||l.call(s)}}))}function a(){if(n===0&&r){const l=r;r=null,l.unsubscribe()}}return{subscribe(l){return n++,i.push(l),o(),{unsubscribe(){n--,a();const s=i.findIndex(u=>u===l);s>-1&&i.splice(s,1)}}}}}}class ic extends Error{constructor(t){super(t),this.name="ObservableAbortError",Object.setPrototypeOf(this,ic.prototype)}}function Nw(e){let t;return{promise:new Promise((r,i)=>{let o=!1;function a(){o||(o=!0,i(new ic("This operation was aborted.")),l.unsubscribe())}const l=e.subscribe({next(s){o=!0,r(s),a()},error(s){o=!0,i(s),a()},complete(){o=!0,a()}});t=a}),abort:t}}class St extends Error{static from(t,n={}){return t instanceof Error?t.name==="TRPCClientError"?t:new St(t.message,{...n,cause:t,result:null}):new St(t.error.message??"",{...n,cause:void 0,result:t})}constructor(t,n){var i,o;const r=n==null?void 0:n.cause;super(t,{cause:r}),this.meta=n==null?void 0:n.meta,this.cause=r,this.shape=(i=n==null?void 0:n.result)==null?void 0:i.error,this.data=(o=n==null?void 0:n.result)==null?void 0:o.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,St.prototype)}}function Dw(e,t){if("error"in e){const r=t.transformer.deserialize(e.error);return{ok:!1,error:{...e,error:r}}}return{ok:!0,result:{...e.result,...(!e.result.type||e.result.type==="data")&&{type:"data",data:t.transformer.deserialize(e.result.data)}}}}function Bd(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}function Tw(e,t){let n;try{n=Dw(e,t)}catch{throw new St("Unable to transform response from server")}if(!n.ok&&(!Bd(n.error.error)||typeof n.error.error.code!="number"))throw new St("Badly formatted response from server");if(n.ok&&!Bd(n.result))throw new St("Badly formatted response from server");return n}function Rw(e){return ev(t=>{function n(i=0,o=e.op){const a=e.links[i];if(!a)throw new Error("No more links to execute - did you forget to add an ending link?");return a({op:o,next(s){return n(i+1,s)}})}return n().subscribe(t)})}const tv=()=>{};function nv(e,t){return new Proxy(tv,{get(r,i){if(!(typeof i!="string"||i==="then"))return nv(e,[...t,i])},apply(r,i,o){return e({args:o,path:t})}})}const $a=e=>nv(e,[]),oc=e=>new Proxy(tv,{get(t,n){if(!(typeof n!="string"||n==="then"))return e(n)}}),zs=e=>typeof e=="function";function Hd(e,t){return zs(e.bind)?e.bind(t):e}function Fw(e){if(e)return e;if(typeof window<"u"&&zs(window.fetch))return Hd(window.fetch,window);if(typeof globalThis<"u"&&zs(globalThis.fetch))return Hd(globalThis.fetch,globalThis);throw new Error("No fetch implementation found")}function Lw(e){return e||(typeof window<"u"&&window.AbortController?window.AbortController:typeof globalThis<"u"&&globalThis.AbortController?globalThis.AbortController:null)}function $w(e){const t=e.headers||(()=>({}));return{url:e.url,fetch:Fw(e.fetch),AbortController:Lw(e.AbortController),headers:typeof t=="function"?t:()=>t}}function Iw(e){const t={};for(let n=0;ne.runtime.transformer.serialize(t)))}function zw(e){let t=e.url+"/"+e.path;const n=[];if("inputs"in e&&n.push("batch=1"),e.type==="query"){const r=rv(e);r!==void 0&&n.push(`input=${encodeURIComponent(JSON.stringify(r))}`)}return n.length&&(t+="?"+n.join("&")),t}function jw(e){if(e.type==="query")return;const t=rv(e);return t!==void 0?JSON.stringify(t):void 0}function Ww(e){const{type:t}=e,n=e.AbortController?new e.AbortController:null;return{promise:new Promise((o,a)=>{const l=zw(e),s=jw(e),u={};Promise.resolve(e.headers()).then(c=>{/* istanbul ignore if -- @preserve */if(t==="subscription")throw new Error("Subscriptions should use wsLink");return e.fetch(l,{method:Aw[t],signal:n==null?void 0:n.signal,body:s,headers:{"content-type":"application/json",...c}})}).then(c=>(u.response=c,c.json())).then(c=>{o({json:c,meta:u})}).catch(a)}),cancel:()=>{n==null||n.abort()}}}function Uw(e){const t=$w(e);return n=>({op:r})=>ev(i=>{const{path:o,input:a,type:l}=r,{promise:s,cancel:u}=Ww({...t,runtime:n,type:l,path:o,input:a});return s.then(c=>{const d=Tw(c.json,n);if(!d.ok){i.error(St.from(d.error,{meta:c.meta}));return}i.next({context:c.meta,result:d.result}),i.complete()}).catch(c=>i.error(St.from(c))),()=>{u()}})}class Qw{$request({type:t,input:n,path:r,context:i={}}){return Rw({links:this.links,op:{id:++this.requestId,type:t,path:r,input:n,context:i}}).pipe(Mw())}requestAsPromise(t){const n=this.$request(t),{promise:r,abort:i}=Nw(n);return new Promise((a,l)=>{var s;(s=t.signal)==null||s.addEventListener("abort",i),r.then(u=>{a(u.result.data)}).catch(u=>{l(St.from(u))})})}query(t,n,r){return this.requestAsPromise({type:"query",path:t,input:n,context:r==null?void 0:r.context,signal:r==null?void 0:r.signal})}mutation(t,n,r){return this.requestAsPromise({type:"mutation",path:t,input:n,context:r==null?void 0:r.context,signal:r==null?void 0:r.signal})}subscription(t,n,r){return this.$request({type:"subscription",path:t,input:n,context:r==null?void 0:r.context}).subscribe({next(o){var a,l,s;o.result.type==="started"?(a=r.onStarted)==null||a.call(r):o.result.type==="stopped"?(l=r.onStopped)==null||l.call(r):(s=r.onData)==null||s.call(r,o.result.data)},error(o){var a;(a=r.onError)==null||a.call(r,o)},complete(){var o;(o=r.onComplete)==null||o.call(r)}})}constructor(t){this.requestId=0;function n(){const r=t.transformer;return r?"input"in r?{serialize:r.input.serialize,deserialize:r.output.deserialize}:r:{serialize:i=>i,deserialize:i=>i}}this.runtime={transformer:n()},this.links=t.links.map(r=>r(this.runtime))}}function qw(e){return new Qw(e)}const Bw={query:"query",mutate:"mutation",subscribe:"subscription"};function Hw(e){return oc(t=>e.hasOwnProperty(t)?e[t]:$a(({path:n,args:r})=>{const i=[t,...n],o=i.pop(),a=Bw[o],l=i.join(".");return e[a](l,...r)}))}function ce(e,t){const n=Array.isArray(e)?e:[e],[r,i]=n,o=typeof r!="string"||r===""?[]:r.split(".");return!i&&(!t||t==="any")?o.length?[o]:[]:[o,{...typeof i<"u"&&{input:i},...t&&t!=="any"&&{type:t}}]}function ca(e,t){return e.length?t===void 0?[e]:[e,t]:[]}function Vw(e,t){return $a(n=>{const r=n.args,i=[e,...n.path],o=i.pop(),a=i.join(".");if(o==="useMutation")return t[o](a,...r);const[l,...s]=r,u=ca(a,l);if(o==="getQueryKey")return ce(u,s[0]??"any");if(o==="_def")return{path:i};if(o.startsWith("useSuspense")){const c=s[0]||{},m=t[o==="useSuspenseQuery"?"useQuery":"useInfiniteQuery"](u,{...c,suspense:!0,enabled:!0});return[m.data,m]}return t[o](u,...s)})}const Yw=["client","ssrContext","ssrState","abortOnUnmount"],Kw=g.createContext(null);function Gw(e){return oc(t=>{const n=t;return n==="client"?Hw(e.client):Yw.includes(n)?e[n]:$a(({path:r,args:i})=>{const o=[t,...r],a=o.pop(),l=o.join("."),s=p=>{if(["setData","setInfiniteData"].includes(p)){const[h,f,...v]=i;return{queryKey:ca(l,h),updater:f,rest:v}}const[y,...k]=i;return{queryKey:ca(l,y),rest:k}},{queryKey:u,rest:c,updater:d}=s(a);return{fetch:()=>e.fetchQuery(u,...c),fetchInfinite:()=>e.fetchInfiniteQuery(u,...c),prefetch:()=>e.prefetchQuery(u,...c),prefetchInfinite:()=>e.prefetchInfiniteQuery(u,...c),ensureData:()=>e.ensureQueryData(u,...c),invalidate:()=>e.invalidateQueries(u,...c),reset:()=>e.resetQueries(u,...c),refetch:()=>e.refetchQueries(u,...c),cancel:()=>e.cancelQuery(u,...c),setData:()=>e.setQueryData(u,d,...c),setInfiniteData:()=>e.setInfiniteQueryData(u,d,...c),getData:()=>e.getQueryData(u),getInfiniteData:()=>e.getInfiniteQueryData(u)}[a]()})})}function Xw(e){return $a(t=>{const n=t.path.join("."),[r,...i]=t.args;return{queryKey:ca(n,r),queryFn:()=>e.query(n,r),...i[0]}})}function Bt(e,t){const[n,r]=e;return[n,r,t==null?void 0:t.trpc]}function wl(e){const t=g.useRef(e);return t.current.path=e.path,t.current}function Jw(e){var y,k;const t=((k=(y=e==null?void 0:e.unstable_overrides)==null?void 0:y.useMutation)==null?void 0:k.onSuccess)??(w=>w.originalFn()),n=(e==null?void 0:e.context)??Kw,r=e==null?void 0:e.reactQueryContext,i=w=>qw(w),o=w=>{const{abortOnUnmount:h=!1,client:f,queryClient:v,ssrContext:S}=w,[P,x]=g.useState(w.ssrState??!1);return g.useEffect(()=>{x(b=>b?"mounted":!1)},[]),_.createElement(n.Provider,{value:{abortOnUnmount:h,queryClient:v,client:f,ssrContext:S||null,ssrState:P,fetchQuery:g.useCallback((b,E)=>v.fetchQuery({...E,queryKey:ce(b,"query"),queryFn:()=>f.query(...Bt(b,E))}),[f,v]),fetchInfiniteQuery:g.useCallback((b,E)=>v.fetchInfiniteQuery({...E,queryKey:ce(b,"infinite"),queryFn:({pageParam:N})=>{const[D,W]=b,V={...W,cursor:N};return f.query(...Bt([D,V],E))}}),[f,v]),prefetchQuery:g.useCallback((b,E)=>v.prefetchQuery({...E,queryKey:ce(b,"query"),queryFn:()=>f.query(...Bt(b,E))}),[f,v]),prefetchInfiniteQuery:g.useCallback((b,E)=>v.prefetchInfiniteQuery({...E,queryKey:ce(b,"infinite"),queryFn:({pageParam:N})=>{const[D,W]=b,V={...W,cursor:N};return f.query(...Bt([D,V],E))}}),[f,v]),ensureQueryData:g.useCallback((b,E)=>v.ensureQueryData({...E,queryKey:ce(b,"query"),queryFn:()=>f.query(...Bt(b,E))}),[f,v]),invalidateQueries:g.useCallback((b,E,N)=>v.invalidateQueries({...E,queryKey:ce(b,"any")},N),[v]),resetQueries:g.useCallback((...b)=>{const[E,N,D]=b;return v.resetQueries({...N,queryKey:ce(E,"any")},D)},[v]),refetchQueries:g.useCallback((...b)=>{const[E,N,D]=b;return v.refetchQueries({...N,queryKey:ce(E,"any")},D)},[v]),cancelQuery:g.useCallback(b=>v.cancelQueries({queryKey:ce(b,"any")}),[v]),setQueryData:g.useCallback((...b)=>{const[E,...N]=b;return v.setQueryData(ce(E,"query"),...N)},[v]),getQueryData:g.useCallback((...b)=>{const[E,...N]=b;return v.getQueryData(ce(E,"query"),...N)},[v]),setInfiniteQueryData:g.useCallback((...b)=>{const[E,...N]=b;return v.setQueryData(ce(E,"infinite"),...N)},[v]),getInfiniteQueryData:g.useCallback((...b)=>{const[E,...N]=b;return v.getQueryData(ce(E,"infinite"),...N)},[v])}},w.children)};function a(){return _.useContext(n)}function l(w,h,f){var P;const{queryClient:v,ssrState:S}=a();return S&&S!=="mounted"&&((P=v.getQueryCache().find(ce(w,h)))==null?void 0:P.state.status)==="error"?{retryOnMount:!1,...f}:f}function s(w,h){var W,V;const f=a();if(!f)throw new Error("Unable to retrieve application context. Did you forget to wrap your App inside `withTRPC` HoC?");const{abortOnUnmount:v,client:S,ssrState:P,queryClient:x,prefetchQuery:b}=f;typeof window>"u"&&P==="prepass"&&((W=h==null?void 0:h.trpc)==null?void 0:W.ssr)!==!1&&(h==null?void 0:h.enabled)!==!1&&!x.getQueryCache().find(ce(w,"query"))&&b(w,h);const E=l(w,"query",h),N=((V=h==null?void 0:h.trpc)==null?void 0:V.abortOnUnmount)??(e==null?void 0:e.abortOnUnmount)??v,D=pg({...E,queryKey:ce(w,"query"),queryFn:G=>{const F={...E,trpc:{...E==null?void 0:E.trpc,...N?{signal:G.signal}:{}}};return S.query(...Bt(w,F))},context:r});return D.trpc=wl({path:w[0]}),D}function u(w,h){const{client:f}=a(),v=Fa({context:r}),S=Array.isArray(w)?w[0]:w,P=yg({...h,mutationKey:[S.split(".")],mutationFn:x=>f.mutation(...Bt([S,x],h)),context:r,onSuccess(...x){return t({originalFn:()=>{var E;return(E=h==null?void 0:h.onSuccess)==null?void 0:E.call(h,...x)},queryClient:v,meta:(h==null?void 0:h.meta)??{}})}});return P.trpc=wl({path:S}),P}/* istanbul ignore next -- @preserve */function c(w,h){const f=(h==null?void 0:h.enabled)??!0,v=Jt(w),{client:S}=a();return g.useEffect(()=>{if(!f)return;const[P,x]=w;let b=!1;const E=S.subscription(P,x??void 0,{onStarted:()=>{var N;b||(N=h.onStarted)==null||N.call(h)},onData:N=>{b||h.onData(N)},onError:N=>{var D;b||(D=h.onError)==null||D.call(h,N)}});return()=>{b=!0,E.unsubscribe()}},[v,f])}function d(w,h){var V,G;const[f,v]=w,{client:S,ssrState:P,prefetchInfiniteQuery:x,queryClient:b,abortOnUnmount:E}=a();typeof window>"u"&&P==="prepass"&&((V=h==null?void 0:h.trpc)==null?void 0:V.ssr)!==!1&&(h==null?void 0:h.enabled)!==!1&&!b.getQueryCache().find(ce(w,"infinite"))&&x(w,h);const N=l(w,"infinite",h),D=((G=h==null?void 0:h.trpc)==null?void 0:G.abortOnUnmount)??E,W=wg({...N,queryKey:ce(w,"infinite"),queryFn:F=>{const L={...N,trpc:{...N==null?void 0:N.trpc,...D?{signal:F.signal}:{}}},B={...v??{},cursor:F.pageParam??(h==null?void 0:h.initialCursor)};return S.query(...Bt([f,B],L))},context:r});return W.trpc=wl({path:f}),W}return{Provider:o,createClient:i,useContext:a,useQuery:s,useQueries:(w,h)=>{var E;const{ssrState:f,queryClient:v,prefetchQuery:S,client:P}=a(),x=Xw(P),b=w(x);if(typeof window>"u"&&f==="prepass")for(const N of b){const D=N;((E=D.trpc)==null?void 0:E.ssr)!==!1&&!v.getQueryCache().find(ce(D.queryKey,"query"))&&S(D.queryKey,D)}return vg({queries:b.map(N=>({...N,queryKey:ce(N.queryKey,"query")})),context:h})},useMutation:u,useSubscription:c,useDehydratedState:(w,h)=>g.useMemo(()=>h&&w.runtime.transformer.deserialize(h),[h,w]),useInfiniteQuery:d}}function Zw(e){return Jw(e)}function ek(e){return oc(t=>t==="useContext"?()=>{const n=e.useContext();return g.useMemo(()=>Gw(n),[n])}:e.hasOwnProperty(t)?e[t]:Vw(t,e))}function tk(e){const t=Zw(e);return ek(t)}var nk=function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(t,n){this.keyToValue.set(t,n),this.valueToKey.set(n,t)},e.prototype.getByKey=function(t){return this.keyToValue.get(t)},e.prototype.getByValue=function(t){return this.valueToKey.get(t)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e}(),iv=function(){function e(t){this.generateIdentifier=t,this.kv=new nk}return e.prototype.register=function(t,n){this.kv.getByValue(t)||(n||(n=this.generateIdentifier(t)),this.kv.set(n,t))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(t){return this.kv.getByValue(t)},e.prototype.getValue=function(t){return this.kv.getByKey(t)},e}(),rk=globalThis&&globalThis.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),ik=function(e){rk(t,e);function t(){var n=e.call(this,function(r){return r.name})||this;return n.classToAllowedProps=new Map,n}return t.prototype.register=function(n,r){typeof r=="object"?(r.allowProps&&this.classToAllowedProps.set(n,r.allowProps),e.prototype.register.call(this,n,r.identifier)):e.prototype.register.call(this,n,r)},t.prototype.getAllowedProps=function(n){return this.classToAllowedProps.get(n)},t}(iv),ok=globalThis&&globalThis.__read||function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o};function ak(e){if("values"in Object)return Object.values(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function lk(e,t){var n=ak(e);if("find"in n)return n.find(t);for(var r=n,i=0;i"u"},ck=function(e){return e===null},Si=function(e){return typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype},js=function(e){return Si(e)&&Object.keys(e).length===0},hn=function(e){return Array.isArray(e)},dk=function(e){return typeof e=="string"},fk=function(e){return typeof e=="number"&&!isNaN(e)},hk=function(e){return typeof e=="boolean"},mk=function(e){return e instanceof RegExp},Ci=function(e){return e instanceof Map},bi=function(e){return e instanceof Set},av=function(e){return uk(e)==="Symbol"},vk=function(e){return e instanceof Date&&!isNaN(e.valueOf())},pk=function(e){return e instanceof Error},Yd=function(e){return typeof e=="number"&&isNaN(e)},Kd=function(e){return hk(e)||ck(e)||ov(e)||fk(e)||dk(e)||av(e)},yk=function(e){return typeof e=="bigint"},gk=function(e){return e===1/0||e===-1/0},wk=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},kk=function(e){return e instanceof URL},lv=function(e){return e.replace(/\./g,"\\.")},kl=function(e){return e.map(String).map(lv).join(".")},Jr=function(e){for(var t=[],n="",r=0;r0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Qs=globalThis&&globalThis.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n0?"Infinity":"-Infinity"},Number),mt(function(e){return e===0&&1/e===-1/0},"number",function(){return"-0"},Number),mt(kk,"URL",function(e){return e.toString()},function(e){return new URL(e)})];function Ia(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var uv=Ia(function(e,t){if(av(e)){var n=!!t.symbolRegistry.getIdentifier(e);return n}return!1},function(e,t){var n=t.symbolRegistry.getIdentifier(e);return["symbol",n]},function(e){return e.description},function(e,t,n){var r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),Sk=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,t){return e[t.name]=t,e},{}),cv=Ia(wk,function(e){return["typed-array",e.constructor.name]},function(e){return Qs([],Us(e))},function(e,t){var n=Sk[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function dv(e,t){if(e!=null&&e.constructor){var n=!!t.classRegistry.getIdentifier(e.constructor);return n}return!1}var fv=Ia(dv,function(e,t){var n=t.classRegistry.getIdentifier(e.constructor);return["class",n]},function(e,t){var n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return Ws({},e);var r={};return n.forEach(function(i){r[i]=e[i]}),r},function(e,t,n){var r=n.classRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),hv=Ia(function(e,t){return!!t.customTransformerRegistry.findApplicable(e)},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return["custom",n.name]},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return n.serialize(e)},function(e,t,n){var r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),Ck=[fv,uv,hv,cv],Gd=function(e,t){var n=Vd(Ck,function(i){return i.isApplicable(e,t)});if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var r=Vd(sv,function(i){return i.isApplicable(e,t)});if(r)return{value:r.transform(e,t),type:r.annotation}},mv={};sv.forEach(function(e){mv[e.annotation]=e});var bk=function(e,t,n){if(hn(t))switch(t[0]){case"symbol":return uv.untransform(e,t,n);case"class":return fv.untransform(e,t,n);case"custom":return hv.untransform(e,t,n);case"typed-array":return cv.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{var r=mv[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}},ir=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function vv(e){if(Po(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Po(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Po(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Ek=function(e,t){vv(t);for(var n=0;n0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},tn=globalThis&&globalThis.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;nHs(i,t));if(!Nk(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((i,o)=>{if(Xd(t.props)&&!t.props.includes(o))return i;const a=e[o],l=Hs(a,t);return Dk(i,o,l,e,t.nonenumerable),i},{})}var En=globalThis&&globalThis.__assign||function(){return En=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0)&&!(i=r.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o},Rk=globalThis&&globalThis.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n"https://mid.online-booking.de",jt=tk(),$k=jt.createClient({transformer:Fk,links:[Uw({url:`${Lk()}/api/trpc`})]});var Ik=Object.defineProperty,Ak=(e,t,n)=>t in e?Ik(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Sl=(e,t,n)=>(Ak(e,typeof t!="symbol"?t+"":t,n),n);let zk=class{constructor(){Sl(this,"current",this.detect()),Sl(this,"handoffState","pending"),Sl(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Ct=new zk,Ye=(e,t)=>{Ct.isServer?g.useEffect(e,t):g.useLayoutEffect(e,t)};function Lt(e){let t=g.useRef(e);return Ye(()=>{t.current=e},[e]),t}function Di(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function _r(){let e=[],t={addEventListener(n,r,i,o){return n.addEventListener(r,i,o),t.add(()=>n.removeEventListener(r,i,o))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Di(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let o=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:o})})},group(n){let r=_r();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function Aa(){let[e]=g.useState(_r);return g.useEffect(()=>()=>e.dispose(),[e]),e}let ie=function(e){let t=Lt(e);return _.useCallback((...n)=>t.current(...n),[t])};function xr(){let[e,t]=g.useState(Ct.isHandoffComplete);return e&&Ct.isHandoffComplete===!1&&t(!1),g.useEffect(()=>{e!==!0&&t(!0)},[e]),g.useEffect(()=>Ct.handoff(),[]),e}var Jd;let gn=(Jd=_.useId)!=null?Jd:function(){let e=xr(),[t,n]=_.useState(e?()=>Ct.nextId():null);return Ye(()=>{t===null&&n(Ct.nextId())},[t]),t!=null?""+t:void 0};function Pe(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Pe),r}function gv(e){return Ct.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Vs=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var _n=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(_n||{}),wv=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(wv||{}),jk=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(jk||{});function Wk(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Vs)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var kv=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(kv||{});function Uk(e,t=0){var n;return e===((n=gv(e))==null?void 0:n.body)?!1:Pe(t,{[0](){return e.matches(Vs)},[1](){let r=e;for(;r!==null;){if(r.matches(Vs))return!0;r=r.parentElement}return!1}})}function Tn(e){e==null||e.focus({preventScroll:!0})}let Qk=["textarea","input"].join(",");function qk(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Qk))!=null?n:!1}function Bk(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),o=t(r);if(i===null||o===null)return 0;let a=i.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Mo(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?n?Bk(e):e:Wk(e);i.length>0&&a.length>1&&(a=a.filter(p=>!i.includes(p))),r=r??o.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,a.indexOf(r))-1;if(t&4)return Math.max(0,a.indexOf(r))+1;if(t&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},c=0,d=a.length,m;do{if(c>=d||c+d<=0)return 0;let p=s+c;if(t&16)p=(p+d)%d;else{if(p<0)return 3;if(p>=d)return 1}m=a[p],m==null||m.focus(u),c+=l}while(m!==o.activeElement);return t&6&&qk(m)&&m.select(),m.hasAttribute("tabindex")||m.setAttribute("tabindex","0"),2}function Cl(e,t,n){let r=Lt(t);g.useEffect(()=>{function i(o){r.current(o)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function Hk(e,t,n=!0){let r=g.useRef(!1);g.useEffect(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(a,l){if(!r.current||a.defaultPrevented)return;let s=function c(d){return typeof d=="function"?c(d()):Array.isArray(d)||d instanceof Set?d:[d]}(e),u=l(a);if(u!==null&&u.getRootNode().contains(u)){for(let c of s){if(c===null)continue;let d=c instanceof HTMLElement?c:c.current;if(d!=null&&d.contains(u)||a.composed&&a.composedPath().includes(d))return}return!Uk(u,kv.Loose)&&u.tabIndex!==-1&&a.preventDefault(),t(a,u)}}let o=g.useRef(null);Cl("mousedown",a=>{var l,s;r.current&&(o.current=((s=(l=a.composedPath)==null?void 0:l.call(a))==null?void 0:s[0])||a.target)},!0),Cl("click",a=>{o.current&&(i(a,()=>o.current),o.current=null)},!0),Cl("blur",a=>i(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Zd(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Vk(e,t){let[n,r]=g.useState(()=>Zd(e));return Ye(()=>{r(Zd(e))},[e.type,e.as]),Ye(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let Sv=Symbol();function Yk(e,t=!0){return Object.assign(e,{[Sv]:t})}function Xe(...e){let t=g.useRef(e);g.useEffect(()=>{t.current=e},[e]);let n=ie(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[Sv]))?void 0:n}function Cv(...e){return e.filter(Boolean).join(" ")}var da=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(da||{}),Rt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Rt||{});function Fe({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:a}){let l=bv(t,e);if(o)return eo(l,n,r,a);let s=i??0;if(s&2){let{static:u=!1,...c}=l;if(u)return eo(c,n,r,a)}if(s&1){let{unmount:u=!0,...c}=l;return Pe(u?0:1,{[0](){return null},[1](){return eo({...c,hidden:!0,style:{display:"none"}},n,r,a)}})}return eo(l,n,r,a)}function eo(e,t={},n,r){var i;let{as:o=n,children:a,refName:l="ref",...s}=bl(e,["unmount","static"]),u=e.ref!==void 0?{[l]:e.ref}:{},c=typeof a=="function"?a(t):a;"className"in s&&s.className&&typeof s.className=="function"&&(s.className=s.className(t));let d={};if(t){let m=!1,p=[];for(let[y,k]of Object.entries(t))typeof k=="boolean"&&(m=!0),k===!0&&p.push(y);m&&(d["data-headlessui-state"]=p.join(" "))}if(o===g.Fragment&&Object.keys(Ys(s)).length>0){if(!g.isValidElement(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(s).map(y=>` - ${y}`).join(` + */var wr=g;function W0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Q0=typeof Object.is=="function"?Object.is:W0,B0=wr.useState,H0=wr.useEffect,q0=wr.useLayoutEffect,V0=wr.useDebugValue;function Y0(e,t){var n=t(),r=B0({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return q0(function(){i.value=n,i.getSnapshot=t,fl(i)&&o({inst:i})},[e,n,t]),H0(function(){return fl(i)&&o({inst:i}),e(function(){fl(i)&&o({inst:i})})},[e]),V0(n),n}function fl(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Q0(e,n)}catch{return!0}}function K0(e,t){return t()}var G0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?K0:Y0;bm.useSyncExternalStore=wr.useSyncExternalStore!==void 0?wr.useSyncExternalStore:G0;_m.exports=bm;var X0=_m.exports;const Vu=X0.useSyncExternalStore,Pd=g.createContext(void 0),Om=g.createContext(!1);function Pm(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Pd),window.ReactQueryClientContext):Pd)}const Da=({context:e}={})=>{const t=g.useContext(Pm(e,g.useContext(Om)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},J0=({client:e,children:t,context:n,contextSharing:r=!1})=>{g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const i=Pm(n,r);return g.createElement(Om.Provider,{value:!n&&r},g.createElement(i.Provider,{value:e},t))},Mm=g.createContext(!1),Dm=()=>g.useContext(Mm);Mm.Provider;function Z0(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const eg=g.createContext(Z0()),Nm=()=>g.useContext(eg);function Tm(e,t){return typeof e=="function"?e(...t):!!e}const Rm=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},Fm=e=>{g.useEffect(()=>{e.clearReset()},[e])},Lm=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&Tm(n,[e.error,r]),jm=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},$m=(e,t)=>e.isLoading&&e.isFetching&&!t,Ms=(e,t,n)=>(e==null?void 0:e.suspense)&&$m(t,n),Ds=(e,t,n)=>t.fetchOptimistic(e).then(({data:r})=>{e.onSuccess==null||e.onSuccess(r),e.onSettled==null||e.onSettled(r,null)}).catch(r=>{n.clearReset(),e.onError==null||e.onError(r),e.onSettled==null||e.onSettled(void 0,r)});function tg({queries:e,context:t}){const n=Da({context:t}),r=Dm(),i=Nm(),o=g.useMemo(()=>e.map(f=>{const h=n.defaultQueryOptions(f);return h._optimisticResults=r?"isRestoring":"optimistic",h}),[e,n,r]);o.forEach(f=>{jm(f),Rm(f,i)}),Fm(i);const[a]=g.useState(()=>new jp(n,o)),l=a.getOptimisticResult(o);Vu(g.useCallback(f=>r?()=>{}:a.subscribe(K.batchCalls(f)),[a,r]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),g.useEffect(()=>{a.setQueries(o,{listeners:!1})},[o,a]);const u=l.some((f,h)=>Ms(o[h],f,r))?l.flatMap((f,h)=>{const y=o[h],w=a.getObservers()[h];if(y&&w){if(Ms(y,f,r))return Ds(y,w,i);$m(f,r)&&Ds(y,w,i)}return[]}):[];if(u.length>0)throw Promise.all(u);const c=a.getQueries(),d=l.find((f,h)=>{var y,w;return Lm({result:f,errorResetBoundary:i,useErrorBoundary:(y=(w=o[h])==null?void 0:w.useErrorBoundary)!=null?y:!1,query:c[h]})});if(d!=null&&d.error)throw d.error;return l}function Im(e,t){const n=Da({context:e.context}),r=Dm(),i=Nm(),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=K.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=K.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=K.batchCalls(o.onSettled)),jm(o),Rm(o,i),Fm(i);const[a]=g.useState(()=>new t(n,o)),l=a.getOptimisticResult(o);if(Vu(g.useCallback(s=>r?()=>{}:a.subscribe(K.batchCalls(s)),[a,r]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),g.useEffect(()=>{a.setOptions(o,{listeners:!1})},[o,a]),Ms(o,l,r))throw Ds(o,a,i);if(Lm({result:l,errorResetBoundary:i,useErrorBoundary:o.useErrorBoundary,query:a.getCurrentQuery()}))throw l.error;return o.notifyOnChangeProps?l:a.trackResult(l)}function ng(e,t,n){const r=Hn(e,t,n);return Im(r,tu)}function rg(e,t,n){const r=Sp(e,t,n),i=Da({context:r.context}),[o]=g.useState(()=>new Ip(i,r));g.useEffect(()=>{o.setOptions(r)},[o,r]);const a=Vu(g.useCallback(s=>o.subscribe(K.batchCalls(s)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),l=g.useCallback((s,u)=>{o.mutate(s,u).catch(ig)},[o]);if(a.error&&Tm(o.options.useErrorBoundary,[a.error]))throw a.error;return{...a,mutate:l,mutateAsync:a.mutate}}function ig(){}function og(e,t,n){const r=Hn(e,t,n);return Im(r,$p)}var Ns={},Md=Cm;Ns.createRoot=Md.createRoot,Ns.hydrateRoot=Md.hydrateRoot;const vo=g;function ag({title:e,titleId:t,...n},r){return vo.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?vo.createElement("title",{id:t},e):null,vo.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99"}))}const lg=vo.forwardRef(ag);var sg=lg;const po=g;function ug({title:e,titleId:t,...n},r){return po.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?po.createElement("title",{id:t},e):null,po.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5m-9-6h.008v.008H12v-.008zM12 15h.008v.008H12V15zm0 2.25h.008v.008H12v-.008zM9.75 15h.008v.008H9.75V15zm0 2.25h.008v.008H9.75v-.008zM7.5 15h.008v.008H7.5V15zm0 2.25h.008v.008H7.5v-.008zm6.75-4.5h.008v.008h-.008v-.008zm0 2.25h.008v.008h-.008V15zm0 2.25h.008v.008h-.008v-.008zm2.25-4.5h.008v.008H16.5v-.008zm0 2.25h.008v.008H16.5V15z"}))}const cg=po.forwardRef(ug);var dg=cg;const yo=g;function fg({title:e,titleId:t,...n},r){return yo.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?yo.createElement("title",{id:t},e):null,yo.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"}))}const hg=yo.forwardRef(fg);var mg=hg;const go=g;function vg({title:e,titleId:t,...n},r){return go.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?go.createElement("title",{id:t},e):null,go.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12a7.5 7.5 0 0015 0m-15 0a7.5 7.5 0 1115 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077l1.41-.513m14.095-5.13l1.41-.513M5.106 17.785l1.15-.964m11.49-9.642l1.149-.964M7.501 19.795l.75-1.3m7.5-12.99l.75-1.3m-6.063 16.658l.26-1.477m2.605-14.772l.26-1.477m0 17.726l-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205L12 12m6.894 5.785l-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864l-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"}))}const pg=go.forwardRef(vg);var yg=pg;const wo=g;function gg({title:e,titleId:t,...n},r){return wo.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?wo.createElement("title",{id:t},e):null,wo.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"}))}const wg=wo.forwardRef(gg);var kg=wg;const ko=g;function Sg({title:e,titleId:t,...n},r){return ko.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?ko.createElement("title",{id:t},e):null,ko.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z"}))}const Eg=ko.forwardRef(Sg);var xg=Eg;const So=g;function Cg({title:e,titleId:t,...n},r){return So.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?So.createElement("title",{id:t},e):null,So.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386l-1.591 1.591M21 12h-2.25m-.386 6.364l-1.591-1.591M12 18.75V21m-4.773-4.227l-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0z"}))}const _g=So.forwardRef(Cg);var bg=_g,Og=sg,Am=dg,Pg=mg,Mg=yg,Dg=kg,Ng=xg,Tg=bg,na;(e=>{(t=>{t.CreatingCalDavEvent="CALDAV_EVENT_NOT_CREATED",t.SlotBlocked="SLOT_BLOCKED",t.CalendarNotFound="CALENDAR_NOT_FOUND",t.MaxOpenBookingsExceeded="MAX_OPEN_BOOKINGS_EXCEEDED"})(e.BookEvent||(e.BookEvent={})),(t=>{t.One="CONFIRM_EVENT_001",t.Two="CONFIRM_EVENT_002"})(e.ConfirmEvent||(e.ConfirmEvent={})),(t=>{t.CancellationPeriodExceeded="CANCELLATION_PERIOD_EXCEEDED",t.NoFutureBookingFoundOrAlreadyCancelled="NO_FUTURE_BOOKING_FOUND_OR_ALREADY_CANCELLED",t.CalDavEventNotCancelled="CALDAV_EVENT_NOT_CANCELLED"})(e.CancelEvent||(e.CancelEvent={})),e.errorMessageMap={CALDAV_EVENT_NOT_CREATED:"Fehler beim Erstellen eines Kalendereintrags.",SLOT_BLOCKED:"Der gewünschte Termin ist mittlerweile belegt.",CALENDAR_NOT_FOUND:"Der angeforderte Kalender konnte nicht gefunden werden. Bitte aktualisieren Sie die Webseite.",MAX_OPEN_BOOKINGS_EXCEEDED:"Sie haben bereits die maximale Anzahl an offenen Buchungen erreicht.",CONFIRM_EVENT_001:"Error one message.",CONFIRM_EVENT_002:"Error two message.",CANCELLATION_PERIOD_EXCEEDED:"Die Stornofrist ist abgelaufen.",NO_FUTURE_BOOKING_FOUND_OR_ALREADY_CANCELLED:"Der Termin wurde bereits storniert oder konnte nicht gefunden werden.",CALDAV_EVENT_NOT_CANCELLED:"Fehler beim Stornieren des Kalendereintrags."}})(na||(na={}));const zm=e=>na.errorMessageMap[e],ra=(e,t)=>e.reduce((n,r)=>{const i=r[t];return n[i]=r,n},{}),Rg=(e=Na())=>{const t={},n=new Date(1970,0,4);for(let r=0;r<7;r++){const i=new Date(n);i.setDate(n.getDate()+r),t[r]=new Intl.DateTimeFormat(e,{weekday:"short"}).format(i)}return t},Na=()=>navigator.language,Um="themeMode",Wm=g.createContext(void 0),zt=()=>{const e=g.useContext(Wm);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e},Fg=({config:e,children:t})=>{const[n,r]=g.useState(Lg()),i=()=>{localStorage.setItem(Um,n?"light":"dark"),r(o=>!o)};return x.jsx(Wm.Provider,{value:{config:e,isDarkMode:n,toggleThemeMode:i},children:t})},Lg=()=>{const e=localStorage.getItem(Um),t=window.matchMedia("(prefers-color-scheme: dark)").matches;return e==="dark"||!e&&t};var jg=Object.defineProperty,$g=(e,t,n)=>t in e?jg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hl=(e,t,n)=>($g(e,typeof t!="symbol"?t+"":t,n),n);let Ig=class{constructor(){hl(this,"current",this.detect()),hl(this,"handoffState","pending"),hl(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Rt=new Ig,Ve=(e,t)=>{Rt.isServer?g.useEffect(e,t):g.useLayoutEffect(e,t)};function Ft(e){let t=g.useRef(e);return Ve(()=>{t.current=e},[e]),t}function Mi(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function br(){let e=[],t={addEventListener(n,r,i,o){return n.addEventListener(r,i,o),t.add(()=>n.removeEventListener(r,i,o))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Mi(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let o=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:o})})},group(n){let r=br();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function Ta(){let[e]=g.useState(br);return g.useEffect(()=>()=>e.dispose(),[e]),e}let ee=function(e){let t=Ft(e);return _.useCallback((...n)=>t.current(...n),[t])};function Or(){let[e,t]=g.useState(Rt.isHandoffComplete);return e&&Rt.isHandoffComplete===!1&&t(!1),g.useEffect(()=>{e!==!0&&t(!0)},[e]),g.useEffect(()=>Rt.handoff(),[]),e}var Dd;let pn=(Dd=_.useId)!=null?Dd:function(){let e=Or(),[t,n]=_.useState(e?()=>Rt.nextId():null);return Ve(()=>{t===null&&n(Rt.nextId())},[t]),t!=null?""+t:void 0};function _e(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,_e),r}function Qm(e){return Rt.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let Ts=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var xn=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(xn||{}),Bm=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Bm||{}),Ag=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Ag||{});function zg(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Ts)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Hm=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Hm||{});function Ug(e,t=0){var n;return e===((n=Qm(e))==null?void 0:n.body)?!1:_e(t,{[0](){return e.matches(Ts)},[1](){let r=e;for(;r!==null;){if(r.matches(Ts))return!0;r=r.parentElement}return!1}})}var Wg=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Wg||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Nn(e){e==null||e.focus({preventScroll:!0})}let Qg=["textarea","input"].join(",");function Bg(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Qg))!=null?n:!1}function Hg(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),o=t(r);if(i===null||o===null)return 0;let a=i.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Eo(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?n?Hg(e):e:zg(e);i.length>0&&a.length>1&&(a=a.filter(h=>!i.includes(h))),r=r??o.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,a.indexOf(r))-1;if(t&4)return Math.max(0,a.indexOf(r))+1;if(t&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},c=0,d=a.length,f;do{if(c>=d||c+d<=0)return 0;let h=s+c;if(t&16)h=(h+d)%d;else{if(h<0)return 3;if(h>=d)return 1}f=a[h],f==null||f.focus(u),c+=l}while(f!==o.activeElement);return t&6&&Bg(f)&&f.select(),2}function ml(e,t,n){let r=Ft(t);g.useEffect(()=>{function i(o){r.current(o)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function qg(e,t,n=!0){let r=g.useRef(!1);g.useEffect(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(a,l){if(!r.current||a.defaultPrevented)return;let s=function c(d){return typeof d=="function"?c(d()):Array.isArray(d)||d instanceof Set?d:[d]}(e),u=l(a);if(u!==null&&u.getRootNode().contains(u)){for(let c of s){if(c===null)continue;let d=c instanceof HTMLElement?c:c.current;if(d!=null&&d.contains(u)||a.composed&&a.composedPath().includes(d))return}return!Ug(u,Hm.Loose)&&u.tabIndex!==-1&&a.preventDefault(),t(a,u)}}let o=g.useRef(null);ml("mousedown",a=>{var l,s;r.current&&(o.current=((s=(l=a.composedPath)==null?void 0:l.call(a))==null?void 0:s[0])||a.target)},!0),ml("click",a=>{o.current&&(i(a,()=>o.current),o.current=null)},!0),ml("blur",a=>i(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Nd(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Vg(e,t){let[n,r]=g.useState(()=>Nd(e));return Ve(()=>{r(Nd(e))},[e.type,e.as]),Ve(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let qm=Symbol();function Yg(e,t=!0){return Object.assign(e,{[qm]:t})}function Ge(...e){let t=g.useRef(e);g.useEffect(()=>{t.current=e},[e]);let n=ee(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[qm]))?void 0:n}function Rs(...e){return e.filter(Boolean).join(" ")}var ia=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(ia||{}),Dt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Dt||{});function Re({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:a}){let l=Vm(t,e);if(o)return Zi(l,n,r,a);let s=i??0;if(s&2){let{static:u=!1,...c}=l;if(u)return Zi(c,n,r,a)}if(s&1){let{unmount:u=!0,...c}=l;return _e(u?0:1,{[0](){return null},[1](){return Zi({...c,hidden:!0,style:{display:"none"}},n,r,a)}})}return Zi(l,n,r,a)}function Zi(e,t={},n,r){let{as:i=n,children:o,refName:a="ref",...l}=vl(e,["unmount","static"]),s=e.ref!==void 0?{[a]:e.ref}:{},u=typeof o=="function"?o(t):o;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(t));let c={};if(t){let d=!1,f=[];for(let[h,y]of Object.entries(t))typeof y=="boolean"&&(d=!0),y===!0&&f.push(h);d&&(c["data-headlessui-state"]=f.join(" "))}if(i===g.Fragment&&Object.keys(Fs(l)).length>0){if(!g.isValidElement(u)||Array.isArray(u)&&u.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map(y=>` - ${y}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(y=>` - ${y}`).join(` `)].join(` -`));let m=Cv((i=c.props)==null?void 0:i.className,s.className),p=m?{className:m}:{};return g.cloneElement(c,Object.assign({},bv(c.props,Ys(bl(s,["ref"]))),d,u,Kk(c.ref,u.ref),p))}return g.createElement(o,Object.assign({},bl(s,["ref"]),o!==g.Fragment&&u,o!==g.Fragment&&d),c)}function Kk(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function bv(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...o){let a=n[r];for(let l of a){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;l(i,...o)}}});return t}function Le(e){var t;return Object.assign(g.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Ys(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function bl(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Ev(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&Gk(n)?!1:r}function Gk(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function Xk(e){var t;let n=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(n){for(let r of n.elements)if(r.tagName==="INPUT"&&r.type==="submit"||r.tagName==="BUTTON"&&r.type==="submit"||r.nodeName==="INPUT"&&r.type==="image"){r.click();return}}}let Jk="div";var Ei=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ei||{});function Zk(e,t){let{features:n=1,...r}=e,i={ref:t,"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return Fe({ourProps:i,theirProps:r,slot:{},defaultTag:Jk,name:"Hidden"})}let fa=Le(Zk),ac=g.createContext(null);ac.displayName="OpenClosedContext";var qe=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(qe||{});function lc(){return g.useContext(ac)}function eS({value:e,children:t}){return _.createElement(ac.Provider,{value:e},t)}var ha=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ha||{});function tS(e,t,n){let[r,i]=g.useState(n),o=e!==void 0,a=g.useRef(o),l=g.useRef(!1),s=g.useRef(!1);return o&&!a.current&&!l.current?(l.current=!0,a.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!o&&a.current&&!s.current&&(s.current=!0,a.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[o?e:r,ie(u=>(o||i(u),t==null?void 0:t(u)))]}function sc(e,t){let n=g.useRef([]),r=ie(e);g.useEffect(()=>{let i=[...n.current];for(let[o,a]of t.entries())if(n.current[o]!==a){let l=r(t,i);return n.current=t,l}},[r,...t])}function nS(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function rS(e,t,n){let r=Lt(t);g.useEffect(()=>{function i(o){r.current(o)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}var Wr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Wr||{});function iS(){let e=g.useRef(0);return rS("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function za(){let e=g.useRef(!1);return Ye(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function ja(...e){return g.useMemo(()=>gv(...e),[...e])}function _v(e,t,n,r){let i=Lt(n);g.useEffect(()=>{e=e??window;function o(a){i.current(a)}return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)},[e,t,r])}function xv(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let oS="div";var Ov=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Ov||{});function aS(e,t){let n=g.useRef(null),r=Xe(n,t),{initialFocus:i,containers:o,features:a=30,...l}=e;xr()||(a=1);let s=ja(n);uS({ownerDocument:s},!!(a&16));let u=cS({ownerDocument:s,container:n,initialFocus:i},!!(a&2));dS({ownerDocument:s,container:n,containers:o,previousActiveElement:u},!!(a&8));let c=iS(),d=ie(k=>{let w=n.current;w&&(h=>h())(()=>{Pe(c.current,{[Wr.Forwards]:()=>{Mo(w,_n.First,{skipElements:[k.relatedTarget]})},[Wr.Backwards]:()=>{Mo(w,_n.Last,{skipElements:[k.relatedTarget]})}})})}),m=Aa(),p=g.useRef(!1),y={ref:r,onKeyDown(k){k.key=="Tab"&&(p.current=!0,m.requestAnimationFrame(()=>{p.current=!1}))},onBlur(k){let w=xv(o);n.current instanceof HTMLElement&&w.add(n.current);let h=k.relatedTarget;h instanceof HTMLElement&&h.dataset.headlessuiFocusGuard!=="true"&&(Pv(w,h)||(p.current?Mo(n.current,Pe(c.current,{[Wr.Forwards]:()=>_n.Next,[Wr.Backwards]:()=>_n.Previous})|_n.WrapAround,{relativeTo:k.target}):k.target instanceof HTMLElement&&Tn(k.target)))}};return _.createElement(_.Fragment,null,!!(a&4)&&_.createElement(fa,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:d,features:Ei.Focusable}),Fe({ourProps:y,theirProps:l,defaultTag:oS,name:"FocusTrap"}),!!(a&4)&&_.createElement(fa,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:d,features:Ei.Focusable}))}let lS=Le(aS),Lr=Object.assign(lS,{features:Ov}),Xt=[];if(typeof window<"u"&&typeof document<"u"){let e=function(t){t.target instanceof HTMLElement&&t.target!==document.body&&Xt[0]!==t.target&&(Xt.unshift(t.target),Xt=Xt.filter(n=>n!=null&&n.isConnected),Xt.splice(10))};window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})}function sS(e=!0){let t=g.useRef(Xt.slice());return sc(([n],[r])=>{r===!0&&n===!1&&Di(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=Xt.slice())},[e,Xt,t]),ie(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function uS({ownerDocument:e},t){let n=sS(t);sc(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&Tn(n())},[t]);let r=g.useRef(!1);g.useEffect(()=>(r.current=!1,()=>{r.current=!0,Di(()=>{r.current&&Tn(n())})}),[])}function cS({ownerDocument:e,container:t,initialFocus:n},r){let i=g.useRef(null),o=za();return sc(()=>{if(!r)return;let a=t.current;a&&Di(()=>{if(!o.current)return;let l=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===l){i.current=l;return}}else if(a.contains(l)){i.current=l;return}n!=null&&n.current?Tn(n.current):Mo(a,_n.First)===wv.Error&&console.warn("There are no focusable elements inside the "),i.current=e==null?void 0:e.activeElement})},[r]),i}function dS({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let o=za();_v(e==null?void 0:e.defaultView,"focus",a=>{if(!i||!o.current)return;let l=xv(n);t.current instanceof HTMLElement&&l.add(t.current);let s=r.current;if(!s)return;let u=a.target;u&&u instanceof HTMLElement?Pv(l,u)?(r.current=u,Tn(u)):(a.preventDefault(),a.stopPropagation(),Tn(s)):Tn(r.current)},!0)}function Pv(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let Mv=g.createContext(!1);function fS(){return g.useContext(Mv)}function Ks(e){return _.createElement(Mv.Provider,{value:e.force},e.children)}function hS(e){let t=fS(),n=g.useContext(Nv),r=ja(e),[i,o]=g.useState(()=>{if(!t&&n!==null||Ct.isServer)return null;let a=r==null?void 0:r.getElementById("headlessui-portal-root");if(a)return a;if(r===null)return null;let l=r.createElement("div");return l.setAttribute("id","headlessui-portal-root"),r.body.appendChild(l)});return g.useEffect(()=>{i!==null&&(r!=null&&r.body.contains(i)||r==null||r.body.appendChild(i))},[i,r]),g.useEffect(()=>{t||n!==null&&o(n.current)},[n,o,t]),i}let mS=g.Fragment;function vS(e,t){let n=e,r=g.useRef(null),i=Xe(Yk(c=>{r.current=c}),t),o=ja(r),a=hS(r),[l]=g.useState(()=>{var c;return Ct.isServer?null:(c=o==null?void 0:o.createElement("div"))!=null?c:null}),s=xr(),u=g.useRef(!1);return Ye(()=>{if(u.current=!1,!(!a||!l))return a.contains(l)||(l.setAttribute("data-headlessui-portal",""),a.appendChild(l)),()=>{u.current=!0,Di(()=>{var c;u.current&&(!a||!l||(l instanceof Node&&a.contains(l)&&a.removeChild(l),a.childNodes.length<=0&&((c=a.parentElement)==null||c.removeChild(a))))})}},[a,l]),s?!a||!l?null:$o.createPortal(Fe({ourProps:{ref:i},theirProps:n,defaultTag:mS,name:"Portal"}),l):null}let pS=g.Fragment,Nv=g.createContext(null);function yS(e,t){let{target:n,...r}=e,i={ref:Xe(t)};return _.createElement(Nv.Provider,{value:n},Fe({ourProps:i,theirProps:r,defaultTag:pS,name:"Popover.Group"}))}let gS=Le(vS),wS=Le(yS),Gs=Object.assign(gS,{Group:wS}),Dv=g.createContext(null);function Tv(){let e=g.useContext(Dv);if(e===null){let t=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Tv),t}return e}function Rv(){let[e,t]=g.useState([]);return[e.length>0?e.join(" "):void 0,g.useMemo(()=>function(n){let r=ie(o=>(t(a=>[...a,o]),()=>t(a=>{let l=a.slice(),s=l.indexOf(o);return s!==-1&&l.splice(s,1),l}))),i=g.useMemo(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return _.createElement(Dv.Provider,{value:i},n.children)},[t])]}let kS="p";function SS(e,t){let n=gn(),{id:r=`headlessui-description-${n}`,...i}=e,o=Tv(),a=Xe(t);Ye(()=>o.register(r),[r,o.register]);let l={ref:a,...o.props,id:r};return Fe({ourProps:l,theirProps:i,slot:o.slot||{},defaultTag:kS,name:o.name||"Description"})}let CS=Le(SS),Fv=Object.assign(CS,{}),uc=g.createContext(()=>{});uc.displayName="StackContext";var Xs=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Xs||{});function bS(){return g.useContext(uc)}function ES({children:e,onUpdate:t,type:n,element:r,enabled:i}){let o=bS(),a=ie((...l)=>{t==null||t(...l),o(...l)});return Ye(()=>{let l=i===void 0||i===!0;return l&&a(0,n,r),()=>{l&&a(1,n,r)}},[a,n,r,i]),_.createElement(uc.Provider,{value:a},e)}function _S(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const xS=typeof Object.is=="function"?Object.is:_S,{useState:OS,useEffect:PS,useLayoutEffect:MS,useDebugValue:NS}=Rl;function DS(e,t,n){const r=t(),[{inst:i},o]=OS({inst:{value:r,getSnapshot:t}});return MS(()=>{i.value=r,i.getSnapshot=t,El(i)&&o({inst:i})},[e,r,t]),PS(()=>(El(i)&&o({inst:i}),e(()=>{El(i)&&o({inst:i})})),[e]),NS(r),r}function El(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!xS(n,r)}catch{return!0}}function TS(e,t,n){return t()}const RS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",FS=!RS,LS=FS?TS:DS,$S="useSyncExternalStore"in Rl?(e=>e.useSyncExternalStore)(Rl):LS;function IS(e){return $S(e.subscribe,e.getSnapshot,e.getSnapshot)}function AS(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(i){return r.add(i),()=>r.delete(i)},dispatch(i,...o){let a=t[i].call(n,...o);a&&(n=a,r.forEach(l=>l()))}}}function zS(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,o=e-i;n.style(r,"paddingRight",`${o}px`)}}}function jS(){if(!nS())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function i(a){return r.containers.flatMap(l=>l()).some(l=>l.contains(a))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let o=null;n.addEventListener(t,"click",a=>{if(a.target instanceof HTMLElement)try{let l=a.target.closest("a");if(!l)return;let{hash:s}=new URL(l.href),u=t.querySelector(s);u&&!i(u)&&(o=u)}catch{}},!0),n.addEventListener(t,"touchmove",a=>{a.target instanceof HTMLElement&&!i(a.target)&&a.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})}}}function WS(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function US(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Mn=AS(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:_r(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:US(n)},i=[jS(),zS(),WS()];i.forEach(({before:o})=>o==null?void 0:o(r)),i.forEach(({after:o})=>o==null?void 0:o(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Mn.subscribe(()=>{let e=Mn.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",i=n.count!==0;(i&&!r||!i&&r)&&Mn.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Mn.dispatch("TEARDOWN",n)}});function QS(e,t,n){let r=IS(Mn),i=e?r.get(e):void 0,o=i?i.count>0:!1;return Ye(()=>{if(!(!e||!t))return Mn.dispatch("PUSH",e,n),()=>Mn.dispatch("POP",e,n)},[t,e]),o}let _l=new Map,$r=new Map;function ef(e,t=!0){Ye(()=>{var n;if(!t)return;let r=typeof e=="function"?e():e.current;if(!r)return;function i(){var a;if(!r)return;let l=(a=$r.get(r))!=null?a:1;if(l===1?$r.delete(r):$r.set(r,l-1),l!==1)return;let s=_l.get(r);s&&(s["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",s["aria-hidden"]),r.inert=s.inert,_l.delete(r))}let o=(n=$r.get(r))!=null?n:0;return $r.set(r,o+1),o!==0||(_l.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),i},[e,t])}var qS=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(qS||{}),BS=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(BS||{});let HS={[0](e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},ma=g.createContext(null);ma.displayName="DialogContext";function Ti(e){let t=g.useContext(ma);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Ti),n}return t}function VS(e,t,n=()=>[document.body]){QS(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function YS(e,t){return Pe(t.type,HS,e,t)}let KS="div",GS=da.RenderStrategy|da.Static;function XS(e,t){let n=gn(),{id:r=`headlessui-dialog-${n}`,open:i,onClose:o,initialFocus:a,__demoMode:l=!1,...s}=e,[u,c]=g.useState(0),d=lc();i===void 0&&d!==null&&(i=(d&qe.Open)===qe.Open);let m=g.useRef(null),p=Xe(m,t),y=g.useRef(null),k=ja(m),w=e.hasOwnProperty("open")||d!==null,h=e.hasOwnProperty("onClose");if(!w&&!h)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!w)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!h)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof i!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${i}`);if(typeof o!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);let f=i?0:1,[v,S]=g.useReducer(YS,{titleId:null,descriptionId:null,panelRef:g.createRef()}),P=ie(()=>o(!1)),x=ie(ne=>S({type:0,id:ne})),b=xr()?l?!1:f===0:!1,E=u>1,N=g.useContext(ma)!==null,D=E?"parent":"leaf",W=d!==null?(d&qe.Closing)===qe.Closing:!1,V=(()=>N||W?!1:b)(),G=g.useCallback(()=>{var ne,he;return(he=Array.from((ne=k==null?void 0:k.querySelectorAll("body > *"))!=null?ne:[]).find(oe=>oe.id==="headlessui-portal-root"?!1:oe.contains(y.current)&&oe instanceof HTMLElement))!=null?he:null},[y]);ef(G,V);let F=(()=>E?!0:b)(),L=g.useCallback(()=>{var ne,he;return(he=Array.from((ne=k==null?void 0:k.querySelectorAll("[data-headlessui-portal]"))!=null?ne:[]).find(oe=>oe.contains(y.current)&&oe instanceof HTMLElement))!=null?he:null},[y]);ef(L,F);let B=ie(()=>{var ne,he;return[...Array.from((ne=k==null?void 0:k.querySelectorAll("html > *, body > *, [data-headlessui-portal]"))!=null?ne:[]).filter(oe=>!(oe===document.body||oe===document.head||!(oe instanceof HTMLElement)||oe.contains(y.current)||v.panelRef.current&&oe.contains(v.panelRef.current))),(he=v.panelRef.current)!=null?he:m.current]}),T=(()=>!(!b||E))();Hk(()=>B(),P,T);let O=(()=>!(E||f!==0))();_v(k==null?void 0:k.defaultView,"keydown",ne=>{O&&(ne.defaultPrevented||ne.key===ha.Escape&&(ne.preventDefault(),ne.stopPropagation(),P()))});let $=(()=>!(W||f!==0||N))();VS(k,$,B),g.useEffect(()=>{if(f!==0||!m.current)return;let ne=new ResizeObserver(he=>{for(let oe of he){let $i=oe.target.getBoundingClientRect();$i.x===0&&$i.y===0&&$i.width===0&&$i.height===0&&P()}});return ne.observe(m.current),()=>ne.disconnect()},[f,m,P]);let[z,Q]=Rv(),fe=g.useMemo(()=>[{dialogState:f,close:P,setTitleId:x},v],[f,v,P,x]),wn=g.useMemo(()=>({open:f===0}),[f]),_t={ref:p,id:r,role:"dialog","aria-modal":f===0?!0:void 0,"aria-labelledby":v.titleId,"aria-describedby":z};return _.createElement(ES,{type:"Dialog",enabled:f===0,element:m,onUpdate:ie((ne,he)=>{he==="Dialog"&&Pe(ne,{[Xs.Add]:()=>c(oe=>oe+1),[Xs.Remove]:()=>c(oe=>oe-1)})})},_.createElement(Ks,{force:!0},_.createElement(Gs,null,_.createElement(ma.Provider,{value:fe},_.createElement(Gs.Group,{target:m},_.createElement(Ks,{force:!1},_.createElement(Q,{slot:wn,name:"Dialog.Description"},_.createElement(Lr,{initialFocus:a,containers:B,features:b?Pe(D,{parent:Lr.features.RestoreFocus,leaf:Lr.features.All&~Lr.features.FocusLock}):Lr.features.None},Fe({ourProps:_t,theirProps:s,slot:wn,defaultTag:KS,features:GS,visible:f===0,name:"Dialog"})))))))),_.createElement(fa,{features:Ei.Hidden,ref:y}))}let JS="div";function ZS(e,t){let n=gn(),{id:r=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:o,close:a}]=Ti("Dialog.Overlay"),l=Xe(t),s=ie(c=>{if(c.target===c.currentTarget){if(Ev(c.currentTarget))return c.preventDefault();c.preventDefault(),c.stopPropagation(),a()}}),u=g.useMemo(()=>({open:o===0}),[o]);return Fe({ourProps:{ref:l,id:r,"aria-hidden":!0,onClick:s},theirProps:i,slot:u,defaultTag:JS,name:"Dialog.Overlay"})}let eC="div";function tC(e,t){let n=gn(),{id:r=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:o},a]=Ti("Dialog.Backdrop"),l=Xe(t);g.useEffect(()=>{if(a.panelRef.current===null)throw new Error("A component is being used, but a component is missing.")},[a.panelRef]);let s=g.useMemo(()=>({open:o===0}),[o]);return _.createElement(Ks,{force:!0},_.createElement(Gs,null,Fe({ourProps:{ref:l,id:r,"aria-hidden":!0},theirProps:i,slot:s,defaultTag:eC,name:"Dialog.Backdrop"})))}let nC="div";function rC(e,t){let n=gn(),{id:r=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:o},a]=Ti("Dialog.Panel"),l=Xe(t,a.panelRef),s=g.useMemo(()=>({open:o===0}),[o]),u=ie(c=>{c.stopPropagation()});return Fe({ourProps:{ref:l,id:r,onClick:u},theirProps:i,slot:s,defaultTag:nC,name:"Dialog.Panel"})}let iC="h2";function oC(e,t){let n=gn(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:o,setTitleId:a}]=Ti("Dialog.Title"),l=Xe(t);g.useEffect(()=>(a(r),()=>a(null)),[r,a]);let s=g.useMemo(()=>({open:o===0}),[o]);return Fe({ourProps:{ref:l,id:r},theirProps:i,slot:s,defaultTag:iC,name:"Dialog.Title"})}let aC=Le(XS),lC=Le(tC),sC=Le(rC),uC=Le(ZS),cC=Le(oC),va=Object.assign(aC,{Backdrop:lC,Panel:sC,Overlay:uC,Title:cC,Description:Fv});function dC(e=0){let[t,n]=g.useState(e),r=g.useCallback(l=>n(s=>s|l),[t]),i=g.useCallback(l=>!!(t&l),[t]),o=g.useCallback(l=>n(s=>s&~l),[n]),a=g.useCallback(l=>n(s=>s^l),[n]);return{flags:t,addFlag:r,hasFlag:i,removeFlag:o,toggleFlag:a}}let Lv=g.createContext(null);function $v(){let e=g.useContext(Lv);if(e===null){let t=new Error("You used a