diff --git a/assets/index-d1fb4718.css b/assets/index-0ee845ab.css similarity index 76% rename from assets/index-d1fb4718.css rename to assets/index-0ee845ab.css index c6681d1..c7e4644 100644 --- a/assets/index-d1fb4718.css +++ b/assets/index-0ee845ab.css @@ -1 +1 @@ -:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: #e74c3c;--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-toast-width: 320px;--toastify-toast-background: #fff;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient( to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55 );--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error)}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;padding:4px;width:var(--toastify-toast-width);box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:1em;left:1em}.Toastify__toast-container--top-center{top:1em;left:50%;transform:translate(-50%)}.Toastify__toast-container--top-right{top:1em;right:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width : 480px){.Toastify__toast-container{width:100vw;padding:0;left:0;margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:0;transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:0;transform:translate(0)}.Toastify__toast-container--rtl{right:0;left:initial}}.Toastify__toast{position:relative;min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:4px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;display:flex;justify-content:space-between;max-height:var(--toastify-toast-max-height);overflow:hidden;font-family:var(--toastify-font-family);cursor:default;direction:ltr;z-index:0}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-body{margin:auto 0;flex:1 1 auto;padding:6px;display:flex;align-items:center}.Toastify__toast-body>div:last-child{word-break:break-word;flex:1}.Toastify__toast-icon{margin-inline-end:10px;width:20px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.7s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}@media only screen and (max-width : 480px){.Toastify__toast{margin-bottom:0;border-radius:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;align-self:flex-start}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:var(--toastify-z-index);opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._fadein_1n7e8_1[fadein="1"]{animation:_fadein_1n7e8_1 .5s 1}@keyframes _fadein_1n7e8_1{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}._blink_1gtj0_1[blink="1"]{animation:_blink_1gtj0_1 ease-in-out .5s 1}@keyframes _blink_1gtj0_1{0%{background-color:green}}*,: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:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";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-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,: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: }.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0px}.left-0{left:0px}.z-0{z-index:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mr-3{margin-right:.75rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-32{height:8rem}.h-5{height:1.25rem}.h-72{height:18rem}.h-full{height:100%}.w-12{width:3rem}.w-5{width:1.25rem}.w-full{width:100%}.max-w-3xl{max-width:48rem}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-decimal{list-style-type:decimal}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.leading-tight{line-height:1.25}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-80{opacity:.8}.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)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.noblink{background-color:transparent!important}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:underline:hover{text-decoration-line:underline}.focus\:border-blue-300:focus{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring: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(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.group:hover .group-hover\:opacity-70{opacity:.7}.peer:checked~.peer-checked\:bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:font-bold{font-weight:700}.peer:checked~.peer-checked\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:w-1\/2{width:50%}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}} +:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: #e74c3c;--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-toast-width: 320px;--toastify-toast-background: #fff;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient( to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55 );--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error)}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;padding:4px;width:var(--toastify-toast-width);box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:1em;left:1em}.Toastify__toast-container--top-center{top:1em;left:50%;transform:translate(-50%)}.Toastify__toast-container--top-right{top:1em;right:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width : 480px){.Toastify__toast-container{width:100vw;padding:0;left:0;margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:0;transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:0;transform:translate(0)}.Toastify__toast-container--rtl{right:0;left:initial}}.Toastify__toast{position:relative;min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:4px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;display:flex;justify-content:space-between;max-height:var(--toastify-toast-max-height);overflow:hidden;font-family:var(--toastify-font-family);cursor:default;direction:ltr;z-index:0}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-body{margin:auto 0;flex:1 1 auto;padding:6px;display:flex;align-items:center}.Toastify__toast-body>div:last-child{word-break:break-word;flex:1}.Toastify__toast-icon{margin-inline-end:10px;width:20px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.7s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}@media only screen and (max-width : 480px){.Toastify__toast{margin-bottom:0;border-radius:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;align-self:flex-start}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:var(--toastify-z-index);opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._fadein_1n7e8_1[fadein="1"]{animation:_fadein_1n7e8_1 .5s 1}@keyframes _fadein_1n7e8_1{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}._blink_1gtj0_1[blink="1"]{animation:_blink_1gtj0_1 ease-in-out .5s 1}@keyframes _blink_1gtj0_1{0%{background-color:green}}*,: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:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";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-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,: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: }.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0px}.left-0{left:0px}.z-0{z-index:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mr-3{margin-right:.75rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-5{height:1.25rem}.h-72{height:18rem}.h-full{height:100%}.w-12{width:3rem}.w-5{width:1.25rem}.w-full{width:100%}.max-w-3xl{max-width:48rem}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.list-decimal{list-style-type:decimal}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.leading-tight{line-height:1.25}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-80{opacity:.8}.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)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.noblink{background-color:transparent!important}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:underline:hover{text-decoration-line:underline}.focus\:border-blue-300:focus{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring: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(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.group:hover .group-hover\:opacity-70{opacity:.7}.peer:checked~.peer-checked\:bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:font-bold{font-weight:700}.peer:checked~.peer-checked\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:w-1\/2{width:50%}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}} diff --git a/assets/index-16ca5d9f.js b/assets/index-16ca5d9f.js deleted file mode 100644 index c364634..0000000 --- a/assets/index-16ca5d9f.js +++ /dev/null @@ -1,42 +0,0 @@ -var Oc=Object.defineProperty;var Ic=(e,n,t)=>n in e?Oc(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var $l=(e,n,t)=>(Ic(e,typeof n!="symbol"?n+"":n,t),t);(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function t(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=t(l);fetch(l.href,o)}})();function jc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vs={exports:{}},wl={},gs={exports:{}},j={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ar=Symbol.for("react.element"),Mc=Symbol.for("react.portal"),Fc=Symbol.for("react.fragment"),Dc=Symbol.for("react.strict_mode"),$c=Symbol.for("react.profiler"),Uc=Symbol.for("react.provider"),Ac=Symbol.for("react.context"),Bc=Symbol.for("react.forward_ref"),Vc=Symbol.for("react.suspense"),Hc=Symbol.for("react.memo"),Qc=Symbol.for("react.lazy"),ru=Symbol.iterator;function Wc(e){return e===null||typeof e!="object"?null:(e=ru&&e[ru]||e["@@iterator"],typeof e=="function"?e:null)}var ys={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ws=Object.assign,ks={};function wt(e,n,t){this.props=e,this.context=n,this.refs=ks,this.updater=t||ys}wt.prototype.isReactComponent={};wt.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")};wt.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ss(){}Ss.prototype=wt.prototype;function ai(e,n,t){this.props=e,this.context=n,this.refs=ks,this.updater=t||ys}var ci=ai.prototype=new Ss;ci.constructor=ai;ws(ci,wt.prototype);ci.isPureReactComponent=!0;var lu=Array.isArray,xs=Object.prototype.hasOwnProperty,fi={current:null},Es={key:!0,ref:!0,__self:!0,__source:!0};function _s(e,n,t){var r,l={},o=null,i=null;if(n!=null)for(r in n.ref!==void 0&&(i=n.ref),n.key!==void 0&&(o=""+n.key),n)xs.call(n,r)&&!Es.hasOwnProperty(r)&&(l[r]=n[r]);var u=arguments.length-2;if(u===1)l.children=t;else if(1>>1,ne=E[X];if(0>>1;Xl(Dl,I))znl(hr,Dl)?(E[X]=hr,E[zn]=I,X=zn):(E[X]=Dl,E[Ln]=I,X=Ln);else if(znl(hr,I))E[X]=hr,E[zn]=I,X=zn;else break e}}return z}function l(E,z){var I=E.sortIndex-z.sortIndex;return I!==0?I:E.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],d=[],v=1,h=null,m=3,y=!1,w=!1,k=!1,_=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=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(E){for(var z=t(d);z!==null;){if(z.callback===null)r(d);else if(z.startTime<=E)r(d),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(d)}}function g(E){if(k=!1,p(E),!w)if(t(s)!==null)w=!0,le(x);else{var z=t(d);z!==null&&_e(g,z.startTime-E)}}function x(E,z){w=!1,k&&(k=!1,f(C),C=-1),y=!0;var I=m;try{for(p(z),h=t(s);h!==null&&(!(h.expirationTime>z)||E&&!J());){var X=h.callback;if(typeof X=="function"){h.callback=null,m=h.priorityLevel;var ne=X(h.expirationTime<=z);z=e.unstable_now(),typeof ne=="function"?h.callback=ne:h===t(s)&&r(s),p(z)}else r(s);h=t(s)}if(h!==null)var mr=!0;else{var Ln=t(d);Ln!==null&&_e(g,Ln.startTime-z),mr=!1}return mr}finally{h=null,m=I,y=!1}}var T=!1,P=null,C=-1,F=5,O=-1;function J(){return!(e.unstable_now()-OE||125X?(E.sortIndex=I,n(d,E),t(s)===null&&E===t(d)&&(k?(f(C),C=-1):k=!0,_e(g,I-X))):(E.sortIndex=ne,n(s,E),w||y||(w=!0,le(x))),E},e.unstable_shouldYield=J,e.unstable_wrapCallback=function(E){var z=m;return function(){var I=m;m=z;try{return E.apply(this,arguments)}finally{m=I}}}})(Ps);Ts.exports=Ps;var tf=Ts.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Ls=R,Pe=tf;function S(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vo=Object.prototype.hasOwnProperty,rf=/^[: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]*$/,iu={},uu={};function lf(e){return vo.call(uu,e)?!0:vo.call(iu,e)?!1:rf.test(e)?uu[e]=!0:(iu[e]=!0,!1)}function of(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function uf(e,n,t,r){if(n===null||typeof n>"u"||of(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ge(e,n,t,r,l,o,i){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=i}var ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ue[e]=new ge(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];ue[n]=new ge(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ue[e]=new ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ue[e]=new ge(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){ue[e]=new ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ue[e]=new ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ue[e]=new ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ue[e]=new ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ue[e]=new ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var pi=/[\-:]([a-z])/g;function mi(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 n=e.replace(pi,mi);ue[n]=new ge(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(pi,mi);ue[n]=new ge(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(pi,mi);ue[n]=new ge(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ue[e]=new ge(e,1,!1,e.toLowerCase(),null,!1,!1)});ue.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ue[e]=new ge(e,1,!1,e.toLowerCase(),null,!0,!0)});function hi(e,n,t,r){var l=ue.hasOwnProperty(n)?ue[n]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` -`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Bl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?zt(e):""}function sf(e){switch(e.tag){case 5:return zt(e.type);case 16:return zt("Lazy");case 13:return zt("Suspense");case 19:return zt("SuspenseList");case 0:case 2:case 15:return e=Vl(e.type,!1),e;case 11:return e=Vl(e.type.render,!1),e;case 1:return e=Vl(e.type,!0),e;default:return""}}function ko(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 Gn:return"Fragment";case Xn:return"Portal";case go:return"Profiler";case vi:return"StrictMode";case yo:return"Suspense";case wo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Os:return(e.displayName||"Context")+".Consumer";case Rs:return(e._context.displayName||"Context")+".Provider";case gi:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case yi:return n=e.displayName||null,n!==null?n:ko(e.type)||"Memo";case an:n=e._payload,e=e._init;try{return ko(e(n))}catch{}}return null}function af(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ko(n);case 8:return n===vi?"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 n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function _n(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function js(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function cf(e){var n=js(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function yr(e){e._valueTracker||(e._valueTracker=cf(e))}function Ms(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=js(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Xr(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 So(e,n){var t=n.checked;return K({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function au(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=_n(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Fs(e,n){n=n.checked,n!=null&&hi(e,"checked",n,!1)}function xo(e,n){Fs(e,n);var t=_n(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Eo(e,n.type,t):n.hasOwnProperty("defaultValue")&&Eo(e,n.type,_n(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function cu(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Eo(e,n,t){(n!=="number"||Xr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var Rt=Array.isArray;function it(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=wr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Yt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Mt={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},ff=["Webkit","ms","Moz","O"];Object.keys(Mt).forEach(function(e){ff.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Mt[n]=Mt[e]})});function As(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Mt.hasOwnProperty(e)&&Mt[e]?(""+n).trim():n+"px"}function Bs(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=As(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var df=K({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 No(e,n){if(n){if(df[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(S(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(S(61))}if(n.style!=null&&typeof n.style!="object")throw Error(S(62))}}function To(e,n){if(e.indexOf("-")===-1)return typeof n.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 Po=null;function wi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Lo=null,ut=null,st=null;function pu(e){if(e=dr(e)){if(typeof Lo!="function")throw Error(S(280));var n=e.stateNode;n&&(n=_l(n),Lo(e.stateNode,e.type,n))}}function Vs(e){ut?st?st.push(e):st=[e]:ut=e}function Hs(){if(ut){var e=ut,n=st;if(st=ut=null,pu(e),n)for(e=0;e>>=0,e===0?32:31-(Ef(e)/_f|0)|0}var kr=64,Sr=4194304;function Ot(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 qr(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=t&268435455;if(i!==0){var u=i&~l;u!==0?r=Ot(u):(o&=i,o!==0&&(r=Ot(o)))}else i=t&~l,i!==0?r=Ot(i):o!==0&&(r=Ot(o));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,o=n&-n,l>=o||l===16&&(o&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function cr(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Ve(n),e[n]=t}function Pf(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Dt),xu=String.fromCharCode(32),Eu=!1;function aa(e,n){switch(e){case"keyup":return td.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ca(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zn=!1;function ld(e,n){switch(e){case"compositionend":return ca(n);case"keypress":return n.which!==32?null:(Eu=!0,xu);case"textInput":return e=n.data,e===xu&&Eu?null:e;default:return null}}function od(e,n){if(Zn)return e==="compositionend"||!Ti&&aa(e,n)?(e=ua(),$r=_i=pn=null,Zn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Tu(t)}}function ma(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?ma(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function ha(){for(var e=window,n=Xr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Xr(e.document)}return n}function Pi(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function md(e){var n=ha(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&ma(t.ownerDocument.documentElement,t)){if(r!==null&&Pi(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Pu(t,o);var i=Pu(t,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(n),e.extend(i.node,i.offset)):(n.setEnd(i.node,i.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Jn=null,Mo=null,Ut=null,Fo=!1;function Lu(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;Fo||Jn==null||Jn!==Xr(r)||(r=Jn,"selectionStart"in r&&Pi(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}),Ut&&bt(Ut,r)||(Ut=r,r=nl(Mo,"onSelect"),0et||(e.current=Vo[et],Vo[et]=null,et--)}function U(e,n){et++,Vo[et]=e.current,e.current=n}var Cn={},de=Tn(Cn),Se=Tn(!1),Un=Cn;function pt(e,n){var t=e.type.contextTypes;if(!t)return Cn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in t)l[o]=n[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function xe(e){return e=e.childContextTypes,e!=null}function rl(){B(Se),B(de)}function Fu(e,n,t){if(de.current!==Cn)throw Error(S(168));U(de,n),U(Se,t)}function _a(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(S(108,af(e)||"Unknown",l));return K({},t,r)}function ll(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Cn,Un=de.current,U(de,e),U(Se,Se.current),!0}function Du(e,n,t){var r=e.stateNode;if(!r)throw Error(S(169));t?(e=_a(e,n,Un),r.__reactInternalMemoizedMergedChildContext=e,B(Se),B(de),U(de,e)):B(Se),U(Se,t)}var qe=null,Cl=!1,to=!1;function Ca(e){qe===null?qe=[e]:qe.push(e)}function Nd(e){Cl=!0,Ca(e)}function Pn(){if(!to&&qe!==null){to=!0;var e=0,n=D;try{var t=qe;for(D=1;e>=i,l-=i,be=1<<32-Ve(n)+l|t<C?(F=P,P=null):F=P.sibling;var O=m(f,P,p[C],g);if(O===null){P===null&&(P=F);break}e&&P&&O.alternate===null&&n(f,P),c=o(O,c,C),T===null?x=O:T.sibling=O,T=O,P=F}if(C===p.length)return t(f,P),H&&Rn(f,C),x;if(P===null){for(;CC?(F=P,P=null):F=P.sibling;var J=m(f,P,O.value,g);if(J===null){P===null&&(P=F);break}e&&P&&J.alternate===null&&n(f,P),c=o(J,c,C),T===null?x=J:T.sibling=J,T=J,P=F}if(O.done)return t(f,P),H&&Rn(f,C),x;if(P===null){for(;!O.done;C++,O=p.next())O=h(f,O.value,g),O!==null&&(c=o(O,c,C),T===null?x=O:T.sibling=O,T=O);return H&&Rn(f,C),x}for(P=r(f,P);!O.done;C++,O=p.next())O=y(P,f,C,O.value,g),O!==null&&(e&&O.alternate!==null&&P.delete(O.key===null?C:O.key),c=o(O,c,C),T===null?x=O:T.sibling=O,T=O);return e&&P.forEach(function(ee){return n(f,ee)}),H&&Rn(f,C),x}function _(f,c,p,g){if(typeof p=="object"&&p!==null&&p.type===Gn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case gr:e:{for(var x=p.key,T=c;T!==null;){if(T.key===x){if(x=p.type,x===Gn){if(T.tag===7){t(f,T.sibling),c=l(T,p.props.children),c.return=f,f=c;break e}}else if(T.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===an&&Qu(x)===T.type){t(f,T.sibling),c=l(T,p.props),c.ref=Tt(f,T,p),c.return=f,f=c;break e}t(f,T);break}else n(f,T);T=T.sibling}p.type===Gn?(c=$n(p.props.children,f.mode,g,p.key),c.return=f,f=c):(g=Kr(p.type,p.key,p.props,null,f.mode,g),g.ref=Tt(f,c,p),g.return=f,f=g)}return i(f);case Xn:e:{for(T=p.key;c!==null;){if(c.key===T)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){t(f,c.sibling),c=l(c,p.children||[]),c.return=f,f=c;break e}else{t(f,c);break}else n(f,c);c=c.sibling}c=co(p,f.mode,g),c.return=f,f=c}return i(f);case an:return T=p._init,_(f,c,T(p._payload),g)}if(Rt(p))return w(f,c,p,g);if(xt(p))return k(f,c,p,g);Pr(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(t(f,c.sibling),c=l(c,p),c.return=f,f=c):(t(f,c),c=ao(p,f.mode,g),c.return=f,f=c),i(f)):t(f,c)}return _}var ht=Ia(!0),ja=Ia(!1),pr={},Ge=Tn(pr),rr=Tn(pr),lr=Tn(pr);function Fn(e){if(e===pr)throw Error(S(174));return e}function Di(e,n){switch(U(lr,n),U(rr,e),U(Ge,pr),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Co(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Co(n,e)}B(Ge),U(Ge,n)}function vt(){B(Ge),B(rr),B(lr)}function Ma(e){Fn(lr.current);var n=Fn(Ge.current),t=Co(n,e.type);n!==t&&(U(rr,e),U(Ge,t))}function $i(e){rr.current===e&&(B(Ge),B(rr))}var Q=Tn(0);function cl(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var ro=[];function Ui(){for(var e=0;et?t:4,e(!0);var r=lo.transition;lo.transition={};try{e(!1),n()}finally{D=t,lo.transition=r}}function Ja(){return De().memoizedState}function zd(e,n,t){var r=xn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},qa(e))ba(n,t);else if(t=La(e,n,t,r),t!==null){var l=he();He(t,e,r,l),ec(t,n,r)}}function Rd(e,n,t){var r=xn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(qa(e))ba(n,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=n.lastRenderedReducer,o!==null))try{var i=n.lastRenderedState,u=o(i,t);if(l.hasEagerState=!0,l.eagerState=u,Qe(u,i)){var s=n.interleaved;s===null?(l.next=l,Mi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=La(e,n,l,r),t!==null&&(l=he(),He(t,e,r,l),ec(t,n,r))}}function qa(e){var n=e.alternate;return e===W||n!==null&&n===W}function ba(e,n){At=fl=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function ec(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Si(e,t)}}var dl={readContext:Fe,useCallback:ae,useContext:ae,useEffect:ae,useImperativeHandle:ae,useInsertionEffect:ae,useLayoutEffect:ae,useMemo:ae,useReducer:ae,useRef:ae,useState:ae,useDebugValue:ae,useDeferredValue:ae,useTransition:ae,useMutableSource:ae,useSyncExternalStore:ae,useId:ae,unstable_isNewReconciler:!1},Od={readContext:Fe,useCallback:function(e,n){return Ke().memoizedState=[e,n===void 0?null:n],e},useContext:Fe,useEffect:Ku,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Vr(4194308,4,Ka.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Vr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Vr(4,2,e,n)},useMemo:function(e,n){var t=Ke();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Ke();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=zd.bind(null,W,e),[r.memoizedState,e]},useRef:function(e){var n=Ke();return e={current:e},n.memoizedState=e},useState:Wu,useDebugValue:Qi,useDeferredValue:function(e){return Ke().memoizedState=e},useTransition:function(){var e=Wu(!1),n=e[0];return e=Ld.bind(null,e[1]),Ke().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=W,l=Ke();if(H){if(t===void 0)throw Error(S(407));t=t()}else{if(t=n(),re===null)throw Error(S(349));Bn&30||$a(r,n,t)}l.memoizedState=t;var o={value:t,getSnapshot:n};return l.queue=o,Ku(Aa.bind(null,r,o,e),[e]),r.flags|=2048,ur(9,Ua.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=Ke(),n=re.identifierPrefix;if(H){var t=en,r=be;t=(r&~(1<<32-Ve(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=or++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(t,{is:r.is}):(e=i.createElement(t),t==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,t),e[Ye]=n,e[tr]=r,ac(e,n,!1,!1),n.stateNode=e;e:{switch(i=To(t,r),t){case"dialog":A("cancel",e),A("close",e),l=r;break;case"iframe":case"object":case"embed":A("load",e),l=r;break;case"video":case"audio":for(l=0;lyt&&(n.flags|=128,r=!0,Pt(o,!1),n.lanes=4194304)}else{if(!r)if(e=cl(i),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),Pt(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!H)return ce(n),null}else 2*G()-o.renderingStartTime>yt&&t!==1073741824&&(n.flags|=128,r=!0,Pt(o,!1),n.lanes=4194304);o.isBackwards?(i.sibling=n.child,n.child=i):(t=o.last,t!==null?t.sibling=i:n.child=i,o.last=i)}return o.tail!==null?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=G(),n.sibling=null,t=Q.current,U(Q,r?t&1|2:t&1),n):(ce(n),null);case 22:case 23:return Zi(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?Ce&1073741824&&(ce(n),n.subtreeFlags&6&&(n.flags|=8192)):ce(n),null;case 24:return null;case 25:return null}throw Error(S(156,n.tag))}function Ad(e,n){switch(zi(n),n.tag){case 1:return xe(n.type)&&rl(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return vt(),B(Se),B(de),Ui(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return $i(n),null;case 13:if(B(Q),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(S(340));mt()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return B(Q),null;case 4:return vt(),null;case 10:return ji(n.type._context),null;case 22:case 23:return Zi(),null;case 24:return null;default:return null}}var zr=!1,fe=!1,Bd=typeof WeakSet=="function"?WeakSet:Set,L=null;function lt(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){Y(e,n,r)}else t.current=null}function ei(e,n,t){try{t()}catch(r){Y(e,n,r)}}var ns=!1;function Vd(e,n){if(Do=br,e=ha(),Pi(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var i=0,u=-1,s=-1,d=0,v=0,h=e,m=null;n:for(;;){for(var y;h!==t||l!==0&&h.nodeType!==3||(u=i+l),h!==o||r!==0&&h.nodeType!==3||(s=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(y=h.firstChild)!==null;)m=h,h=y;for(;;){if(h===e)break n;if(m===t&&++d===l&&(u=i),m===o&&++v===r&&(s=i),(y=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=y}t=u===-1||s===-1?null:{start:u,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for($o={focusedElem:e,selectionRange:t},br=!1,L=n;L!==null;)if(n=L,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,L=e;else for(;L!==null;){n=L;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,_=w.memoizedState,f=n.stateNode,c=f.getSnapshotBeforeUpdate(n.elementType===n.type?k:Ue(n.type,k),_);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=n.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(S(163))}}catch(g){Y(n,n.return,g)}if(e=n.sibling,e!==null){e.return=n.return,L=e;break}L=n.return}return w=ns,ns=!1,w}function Bt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&ei(n,t,o)}l=l.next}while(l!==r)}}function Pl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function ni(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function dc(e){var n=e.alternate;n!==null&&(e.alternate=null,dc(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ye],delete n[tr],delete n[Bo],delete n[_d],delete n[Cd])),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 pc(e){return e.tag===5||e.tag===3||e.tag===4}function ts(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||pc(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 ti(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=tl));else if(r!==4&&(e=e.child,e!==null))for(ti(e,n,t),e=e.sibling;e!==null;)ti(e,n,t),e=e.sibling}function ri(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ri(e,n,t),e=e.sibling;e!==null;)ri(e,n,t),e=e.sibling}var oe=null,Ae=!1;function sn(e,n,t){for(t=t.child;t!==null;)mc(e,n,t),t=t.sibling}function mc(e,n,t){if(Xe&&typeof Xe.onCommitFiberUnmount=="function")try{Xe.onCommitFiberUnmount(kl,t)}catch{}switch(t.tag){case 5:fe||lt(t,n);case 6:var r=oe,l=Ae;oe=null,sn(e,n,t),oe=r,Ae=l,oe!==null&&(Ae?(e=oe,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):oe.removeChild(t.stateNode));break;case 18:oe!==null&&(Ae?(e=oe,t=t.stateNode,e.nodeType===8?no(e.parentNode,t):e.nodeType===1&&no(e,t),Jt(e)):no(oe,t.stateNode));break;case 4:r=oe,l=Ae,oe=t.stateNode.containerInfo,Ae=!0,sn(e,n,t),oe=r,Ae=l;break;case 0:case 11:case 14:case 15:if(!fe&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&ei(t,n,i),l=l.next}while(l!==r)}sn(e,n,t);break;case 1:if(!fe&&(lt(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(u){Y(t,n,u)}sn(e,n,t);break;case 21:sn(e,n,t);break;case 22:t.mode&1?(fe=(r=fe)||t.memoizedState!==null,sn(e,n,t),fe=r):sn(e,n,t);break;default:sn(e,n,t)}}function rs(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new Bd),n.forEach(function(r){var l=Jd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function $e(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=G()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Qd(r/1960))-r,10e?16:e,mn===null)var r=!1;else{if(e=mn,mn=null,hl=0,M&6)throw Error(S(331));var l=M;for(M|=4,L=e.current;L!==null;){var o=L,i=o.child;if(L.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sG()-Xi?Dn(e,0):Yi|=t),Ee(e,n)}function xc(e,n){n===0&&(e.mode&1?(n=Sr,Sr<<=1,!(Sr&130023424)&&(Sr=4194304)):n=1);var t=he();e=ln(e,n),e!==null&&(cr(e,n,t),Ee(e,t))}function Zd(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),xc(e,t)}function Jd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(n),xc(e,t)}var Ec;Ec=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||Se.current)we=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return we=!1,$d(e,n,t);we=!!(e.flags&131072)}else we=!1,H&&n.flags&1048576&&Na(n,il,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Hr(e,n),e=n.pendingProps;var l=pt(n,de.current);ct(n,t),l=Bi(null,n,r,e,l,t);var o=Vi();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,xe(r)?(o=!0,ll(n)):o=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Fi(n),l.updater=Nl,n.stateNode=l,l._reactInternals=n,Yo(n,r,e,t),n=Zo(null,n,r,!0,o,t)):(n.tag=0,H&&o&&Li(n),me(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Hr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=bd(r),e=Ue(r,e),l){case 0:n=Go(null,n,r,e,t);break e;case 1:n=qu(null,n,r,e,t);break e;case 11:n=Zu(null,n,r,e,t);break e;case 14:n=Ju(null,n,r,Ue(r.type,e),t);break e}throw Error(S(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ue(r,l),Go(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ue(r,l),qu(e,n,r,l,t);case 3:e:{if(ic(n),e===null)throw Error(S(387));r=n.pendingProps,o=n.memoizedState,l=o.element,za(e,n),al(n,r,null,t);var i=n.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},n.updateQueue.baseState=o,n.memoizedState=o,n.flags&256){l=gt(Error(S(423)),n),n=bu(e,n,r,t,l);break e}else if(r!==l){l=gt(Error(S(424)),n),n=bu(e,n,r,t,l);break e}else for(Ne=wn(n.stateNode.containerInfo.firstChild),Te=n,H=!0,Be=null,t=ja(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(mt(),r===l){n=on(e,n,t);break e}me(e,n,r,t)}n=n.child}return n;case 5:return Ma(n),e===null&&Qo(n),r=n.type,l=n.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Uo(r,l)?i=null:o!==null&&Uo(r,o)&&(n.flags|=32),oc(e,n),me(e,n,i,t),n.child;case 6:return e===null&&Qo(n),null;case 13:return uc(e,n,t);case 4:return Di(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=ht(n,null,r,t):me(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ue(r,l),Zu(e,n,r,l,t);case 7:return me(e,n,n.pendingProps,t),n.child;case 8:return me(e,n,n.pendingProps.children,t),n.child;case 12:return me(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,o=n.memoizedProps,i=l.value,U(ul,r._currentValue),r._currentValue=i,o!==null)if(Qe(o.value,i)){if(o.children===l.children&&!Se.current){n=on(e,n,t);break e}}else for(o=n.child,o!==null&&(o.return=n);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=nn(-1,t&-t),s.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var v=d.pending;v===null?s.next=s:(s.next=v.next,v.next=s),d.pending=s}}o.lanes|=t,s=o.alternate,s!==null&&(s.lanes|=t),Wo(o.return,t,n),u.lanes|=t;break}s=s.next}}else if(o.tag===10)i=o.type===n.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(S(341));i.lanes|=t,u=i.alternate,u!==null&&(u.lanes|=t),Wo(i,t,n),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===n){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}me(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,ct(n,t),l=Fe(l),r=r(l),n.flags|=1,me(e,n,r,t),n.child;case 14:return r=n.type,l=Ue(r,n.pendingProps),l=Ue(r.type,l),Ju(e,n,r,l,t);case 15:return rc(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ue(r,l),Hr(e,n),n.tag=1,xe(r)?(e=!0,ll(n)):e=!1,ct(n,t),Oa(n,r,l),Yo(n,r,l,t),Zo(null,n,r,!0,e,t);case 19:return sc(e,n,t);case 22:return lc(e,n,t)}throw Error(S(156,n.tag))};function _c(e,n){return Zs(e,n)}function qd(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,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 je(e,n,t,r){return new qd(e,n,t,r)}function qi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function bd(e){if(typeof e=="function")return qi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===gi)return 11;if(e===yi)return 14}return 2}function En(e,n){var t=e.alternate;return t===null?(t=je(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Kr(e,n,t,r,l,o){var i=2;if(r=e,typeof e=="function")qi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Gn:return $n(t.children,l,o,n);case vi:i=8,l|=8;break;case go:return e=je(12,t,n,l|2),e.elementType=go,e.lanes=o,e;case yo:return e=je(13,t,n,l),e.elementType=yo,e.lanes=o,e;case wo:return e=je(19,t,n,l),e.elementType=wo,e.lanes=o,e;case Is:return zl(t,l,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Rs:i=10;break e;case Os:i=9;break e;case gi:i=11;break e;case yi:i=14;break e;case an:i=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return n=je(i,t,n,l),n.elementType=e,n.type=r,n.lanes=o,n}function $n(e,n,t,r){return e=je(7,e,r,n),e.lanes=t,e}function zl(e,n,t,r){return e=je(22,e,r,n),e.elementType=Is,e.lanes=t,e.stateNode={isHidden:!1},e}function ao(e,n,t){return e=je(6,e,null,n),e.lanes=t,e}function co(e,n,t){return n=je(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function ep(e,n,t,r,l){this.tag=n,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=Ql(0),this.expirationTimes=Ql(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ql(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function bi(e,n,t,r,l,o,i,u,s){return e=new ep(e,n,t,u,s),n===1?(n=1,o===!0&&(n|=8)):n=0,o=je(3,null,null,n),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fi(o),e}function np(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pc)}catch(e){console.error(e)}}Pc(),Ns.exports=Le;var ip=Ns.exports,fs=ip;ho.createRoot=fs.createRoot,ho.hydrateRoot=fs.hydrateRoot;class a{constructor(n,t){$l(this,"_char");$l(this,"_dots");this._char=n,this._dots=t}set letter(n){this._char=n}get letter(){return this._char}set dots(n){this._dots=n}get dots(){return this._dots}}function up(){return[new a("À",6),new a("Á",6),new a("Â",6),new a("È",6),new a("Ê",6),new a("Ë",6),new a("Í",4),new a("Ó",6),new a("Ô",6),new a("Õ",6),new a("Ú",6),new a("ß",6),new a("ã",6),new a("õ",6),new a("ğ",6),new a("İ",4),new a("ı",4),new a("Œ",6),new a("œ",7),new a("Ş",6),new a("ş",6),new a("Ŵ",6),new a("ŵ",6),new a("ž",6),new a("ȇ",6),new a("!",2),new a('"',5),new a("#",6),new a("$",6),new a("%",6),new a("&",6),new a("'",3),new a("(",5),new a(")",5),new a("*",5),new a("+",6),new a(",",2),new a("-",6),new a(".",2),new a("/",6),new a("0",6),new a("1",6),new a("2",6),new a("3",6),new a("4",6),new a("5",6),new a("6",6),new a("7",6),new a("8",6),new a("9",6),new a(":",2),new a(";",2),new a("<",5),new a("=",6),new a(">",5),new a("?",6),new a("@",7),new a("A",6),new a("B",6),new a("C",6),new a("D",6),new a("E",6),new a("F",6),new a("G",6),new a("H",6),new a("I",4),new a("J",6),new a("K",6),new a("L",6),new a("M",6),new a("N",6),new a("O",6),new a("P",6),new a("Q",6),new a("R",6),new a("S",6),new a("T",6),new a("U",6),new a("V",6),new a("W",6),new a("X",6),new a("Y",6),new a("Z",6),new a("[",4),new a("]",4),new a("^",6),new a("_",6),new a("`",3),new a("a",6),new a("b",6),new a("c",6),new a("d",6),new a("e",6),new a("f",5),new a("g",6),new a("h",6),new a("i",2),new a("j",6),new a("k",5),new a("l",3),new a("m",6),new a("n",6),new a("o",6),new a("p",6),new a("q",6),new a("r",6),new a("s",6),new a("t",4),new a("u",6),new a("v",6),new a("w",6),new a("x",6),new a("y",6),new a("z",6),new a("‘",3),new a("’",3),new a("{",5),new a("|",2),new a("}",5),new a("~",7),new a("–",7),new a("Ç",6),new a("ü",6),new a("é",6),new a("â",6),new a("ä",6),new a("à",6),new a("å",6),new a("ç",6),new a("ê",6),new a("ë",6),new a("è",6),new a("ï",4),new a("î",6),new a("ì",3),new a("Ä",6),new a("Å",6),new a("É",6),new a("æ",6),new a("Æ",6),new a("ô",6),new a("ö",6),new a("ò",6),new a("û",6),new a("ù",6),new a("ÿ",6),new a("Ö",6),new a("Ü",6),new a("ø",6),new a("£",6),new a("Ø",6),new a("×",4),new a("ƒ",6),new a("á",6),new a("í",3),new a("ó",6),new a("ú",6),new a("ñ",6),new a("Ñ",6),new a("ª",6),new a("º",6),new a("¿",6),new a("®",7),new a("¬",6),new a("½",6),new a("¼",6),new a("¡",2),new a("«",6),new a("»",6),new a("░",8),new a("▒",9),new a("▓",9),new a("│",6),new a("┤",6),new a("╡",6),new a("╢",8),new a("╖",8),new a("╕",6),new a("╣",8),new a("║",8),new a("╗",8),new a("╝",8),new a("╜",8),new a("╛",6),new a("┐",6),new a("└",9),new a("┴",9),new a("┬",9),new a("├",9),new a("─",9),new a("┼",9),new a("╞",9),new a("╟",9),new a("╚",9),new a("╔",9),new a("╩",9),new a("╦",9),new a("╠",9),new a("═",9),new a("╬",9),new a("╧",9),new a("╨",9),new a("╤",9),new a("╥",9),new a("╙",9),new a("╘",9),new a("╒",9),new a("╓",9),new a("╫",9),new a("╪",9),new a("┘",6),new a("┌",9),new a("█",9),new a("▄",9),new a("▌",5),new a("▐",9),new a("▀",9),new a("α",8),new a("β",7),new a("Γ",7),new a("π",8),new a("Σ",7),new a("σ",8),new a("μ",8),new a("τ",8),new a("Φ",7),new a("Θ",8),new a("Ω",8),new a("δ",7),new a("∞",9),new a("∅",9),new a("∈",6),new a("∩",7),new a("≡",7),new a("±",7),new a("≥",7),new a("≤",7),new a("⌠",9),new a("⌡",6),new a("÷",7),new a("≈",8),new a("°",7),new a("∙",6),new a("·",6),new a("√",9),new a("ⁿ",7),new a("²",6),new a("■",7),new a(" ",4),new a(` -`,0)]}function sp(e,n,t,r){const l=cp(e);return r?pp(l):fp(l,n,t)}function ap(e){const n=[],t=up(),r=114;let l=0,o="";for(let i=0;is.letter==e.charAt(i));if(!u){e=e.substring(0,i)+e.substring(i+1),i--;continue}l+=u.dots,o=e.substring(0,i+1),l>r&&(o=o.substring(0,o.length-1),n.push({word:o,value:l}),e=e.substring(i),l=0,i=-1)}return n.push({word:e,value:l}),n}function cp(e){let n=[],t=[],r=[],l=0;const o=[];n=e.split(/(\n|\s+)/g);for(let i=0;i114)&&(l=r[u].value,o.push(t.join("")),t=[]),t.push(r[u].word)}return o.push(t.join("")),o.forEach((i,u)=>{u%14===0&&u!==0&&(o[u]=i.replace(/\n/,""))}),o.filter(i=>i!="")}function fp(e,n,t){const r=[],l=[...e];let o=0,i=0;for(let u=0;u<=e.length;u++)if(o++,o==1400||u==e.length){const s={lines:l.splice(0,o),author:n==""?"Author":n,title:`${t==""?"Book":t} [${i}]`},d=dp(s.lines,s.author,s.title);o=0,i++,r.push(d)}return r}function dp(e,n,t){let r="",l=0;const o=e.map(s=>{if(r+=s,l++,l==14){r=r.replace(/"/g,'\\\\"').replace(/'/g,"\\'"),r=r.replace(/\n/g,"\\\\n");const d=`'{"text":"${r}"}'`;return r="",l=0,d}else return null}).filter(s=>s!==null);if(r.length>0){r=r.replace(/"/g,'\\\\"').replace(/'/g,"\\'"),r=r.replace(/\n/g,"\\\\n");const s=`'{"text":"${r}"}'`;o.push(s)}const i={id:"minecraft:written_book",author:n,title:t,pages:o};return`/give @p ${i.id}{pages:[${i.pages}], title: "${i.title}", author: "${i.author}"}`}function pp(e){const n=[],t=[...e];let r=0;for(let l=0;l<=e.length;l++)if(r++,r==14||l==e.length){const i={lines:t.splice(0,r)}.lines.join("");r=0,n.push(i)}return n}const mp="_fadein_1n7e8_1",hp={fadein:mp},vp="/Text2Book/assets/loader-ffcf15c0.svg";function gp(e){const[n,t]=R.useState(""),r=l=>{var i;const o=(i=l.target.files)==null?void 0:i.item(0);if((o==null?void 0:o.type)==="text/plain"){const u=new FileReader;u.readAsText(o),t(o.name),u.onload=()=>{e.callback(u.result)}}};return N.jsx("div",{children:N.jsxs("div",{className:"relative mb-3",children:[N.jsx("input",{id:"file-upload",type:"file",onChange:r,accept:".txt",className:"opacity-0 absolute z-0 w-full h-full",required:e.useFileUpload}),N.jsxs("div",{className:"bg-white rounded-md border border-gray-400 px-4 py-2 flex items-center justify-between",children:[N.jsx("span",{className:"text-gray-700",children:n||"Choose a file"}),N.jsx("button",{type:"button",className:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline hover:cursor-pointer",children:"Browse"})]})]})})}function yp(e){const[n,t]=R.useState(""),[r,l]=R.useState(""),[o,i]=R.useState(""),[u,s]=R.useState(!1),[d,v]=R.useState(!1),[h,m]=R.useState(!1),y=c=>{c.preventDefault();const p=async()=>{await new Promise(g=>{setTimeout(g,500)}),e.callback(n,r,o,h,s)};s(!0),p()},w=()=>u?N.jsx("div",{className:"flex justify-center text-white",children:N.jsx("img",{className:"h-5 w-5 mr-3",src:vp})}):"Generate",k=c=>{const p=c.target;t(p.value),localStorage.setItem("text",p.value)},_=c=>{const p=c.target;l(p.value),localStorage.setItem("author",p.value)},f=c=>{const p=c.target;i(p.value),localStorage.setItem("title",p.value)};return R.useEffect(()=>{t(localStorage.getItem("text")||""),l(localStorage.getItem("author")||""),i(localStorage.getItem("title")||"")},[]),N.jsxs(N.Fragment,{children:[N.jsxs("div",{className:"grid w-full grid-cols-1 sm:grid-cols-2 gap-2 rounded-xl bg-gray-200 p-2",children:[N.jsxs("div",{children:[N.jsx("input",{type:"radio",name:"input_method",id:"use-text-input",className:"peer hidden",onChange:()=>v(!1),checked:!d}),N.jsx("label",{htmlFor:"use-text-input",className:"block cursor-pointer select-none rounded-xl p-2 text-center peer-checked:bg-blue-500 peer-checked:font-bold peer-checked:text-white hover:bg-blue-200 transition",children:"Text Input"})]}),N.jsxs("div",{children:[N.jsx("input",{type:"radio",name:"input_method",id:"use-file-upload",className:"peer hidden",onChange:()=>v(!0),checked:d}),N.jsx("label",{htmlFor:"use-file-upload",className:"block cursor-pointer select-none rounded-xl p-2 text-center peer-checked:bg-blue-500 peer-checked:font-bold peer-checked:text-white hover:bg-blue-200 transition",children:"File Input"})]})]}),N.jsxs("div",{className:"grid w-full grid-cols-1 sm:grid-cols-2 gap-2 rounded-xl bg-gray-200 p-2 mt-2",children:[N.jsxs("div",{children:[N.jsx("input",{type:"radio",name:"generation_method",id:"command-output",className:"peer hidden",onChange:()=>m(!1),checked:!h}),N.jsx("label",{htmlFor:"command-output",className:"block cursor-pointer select-none rounded-xl p-2 text-center peer-checked:bg-blue-500 peer-checked:font-bold peer-checked:text-white hover:bg-blue-200 transition",children:"Generate Commands"})]}),N.jsxs("div",{children:[N.jsx("input",{type:"radio",name:"generation_method",id:"raw-output",className:"peer hidden",onChange:()=>m(!0),checked:h}),N.jsx("label",{htmlFor:"raw-output",className:"block cursor-pointer select-none rounded-xl p-2 text-center peer-checked:bg-blue-500 peer-checked:font-bold peer-checked:text-white hover:bg-blue-200 transition",children:"Generate Text"})]})]}),N.jsx("hr",{className:"mb-4 mt-4"}),N.jsxs("form",{onSubmit:y,children:[N.jsxs("div",{className:"flex flex-wrap mb-4",children:[N.jsxs("div",{className:"w-full sm:w-1/2 px-2",children:[N.jsx("label",{htmlFor:"author",className:"block text-gray-700 text-sm font-bold mb-2",children:"Author"}),N.jsx("input",{type:"text",id:"author",placeholder:"Lewis Carroll",className:"w-full border rounded-md py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring focus:border-blue-300",value:r,onChange:_,maxLength:50,required:!0})]}),N.jsxs("div",{className:"w-full sm:w-1/2 px-2",children:[N.jsx("label",{htmlFor:"title",className:"block text-gray-700 text-sm font-bold mb-2",children:"Title"}),N.jsx("input",{type:"text",id:"title",placeholder:"Alice in Wonderland",className:"w-full border rounded-md py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring focus:border-blue-300",value:o,onChange:f,maxLength:15,required:!0})]})]}),N.jsxs("div",{className:"mb-4",children:[N.jsx("label",{htmlFor:"text",className:"block text-gray-700 text-sm font-bold mb-2",children:"Text"}),N.jsxs("div",{children:[N.jsx("div",{className:`${d?"":"hidden"}`,children:N.jsx(gp,{callback:c=>t(c),useFileUpload:d})}),N.jsx("div",{className:`${d?"hidden":""}`,children:N.jsx("textarea",{id:"text",placeholder:"Once upon a time, there was a girl...",className:"w-full h-72 border rounded-md py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring focus:border-blue-300 h-32 resize-none",value:n,onChange:k,required:!d})})]})]}),N.jsx("button",{type:"submit",className:"w-full h-10 bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline",children:w()})]})]})}function Lc(e){var n,t,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(n=0;ntypeof e=="number"&&!isNaN(e),Qn=e=>typeof e=="string",ke=e=>typeof e=="function",Yr=e=>Qn(e)||ke(e)?e:null,fo=e=>R.isValidElement(e)||Qn(e)||ke(e)||Qt(e);function wp(e,n,t){t===void 0&&(t=300);const{scrollHeight:r,style:l}=e;requestAnimationFrame(()=>{l.minHeight="initial",l.height=r+"px",l.transition=`all ${t}ms`,requestAnimationFrame(()=>{l.height="0",l.padding="0",l.margin="0",setTimeout(n,t)})})}function Ml(e){let{enter:n,exit:t,appendPosition:r=!1,collapse:l=!0,collapseDuration:o=300}=e;return function(i){let{children:u,position:s,preventExitTransition:d,done:v,nodeRef:h,isIn:m}=i;const y=r?`${n}--${s}`:n,w=r?`${t}--${s}`:t,k=R.useRef(0);return R.useLayoutEffect(()=>{const _=h.current,f=y.split(" "),c=p=>{p.target===h.current&&(_.dispatchEvent(new Event("d")),_.removeEventListener("animationend",c),_.removeEventListener("animationcancel",c),k.current===0&&p.type!=="animationcancel"&&_.classList.remove(...f))};_.classList.add(...f),_.addEventListener("animationend",c),_.addEventListener("animationcancel",c)},[]),R.useEffect(()=>{const _=h.current,f=()=>{_.removeEventListener("animationend",f),l?wp(_,v,o):v()};m||(d?f():(k.current=1,_.className+=` ${w}`,_.addEventListener("animationend",f)))},[m]),$.createElement($.Fragment,null,u)}}function ds(e,n){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:n}:{}}const Re={list:new Map,emitQueue:new Map,on(e,n){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(n),this},off(e,n){if(n){const t=this.list.get(e).filter(r=>r!==n);return this.list.set(e,t),this}return this.list.delete(e),this},cancelEmit(e){const n=this.emitQueue.get(e);return n&&(n.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach(n=>{const t=setTimeout(()=>{n(...[].slice.call(arguments,1))},0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(t)})}},Ir=e=>{let{theme:n,type:t,...r}=e;return $.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:n==="colored"?"currentColor":`var(--toastify-icon-color-${t})`,...r})},po={info:function(e){return $.createElement(Ir,{...e},$.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return $.createElement(Ir,{...e},$.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return $.createElement(Ir,{...e},$.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return $.createElement(Ir,{...e},$.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return $.createElement("div",{className:"Toastify__spinner"})}};function kp(e){const[,n]=R.useReducer(y=>y+1,0),[t,r]=R.useState([]),l=R.useRef(null),o=R.useRef(new Map).current,i=y=>t.indexOf(y)!==-1,u=R.useRef({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:i,getToast:y=>o.get(y)}).current;function s(y){let{containerId:w}=y;const{limit:k}=u.props;!k||w&&u.containerId!==w||(u.count-=u.queue.length,u.queue=[])}function d(y){r(w=>y==null?[]:w.filter(k=>k!==y))}function v(){const{toastContent:y,toastProps:w,staleId:k}=u.queue.shift();m(y,w,k)}function h(y,w){let{delay:k,staleId:_,...f}=w;if(!fo(y)||function(ee){return!l.current||u.props.enableMultiContainer&&ee.containerId!==u.props.containerId||o.has(ee.toastId)&&ee.updateId==null}(f))return;const{toastId:c,updateId:p,data:g}=f,{props:x}=u,T=()=>d(c),P=p==null;P&&u.count++;const C={...x,style:x.toastStyle,key:u.toastKey++,...Object.fromEntries(Object.entries(f).filter(ee=>{let[pe,se]=ee;return se!=null})),toastId:c,updateId:p,data:g,closeToast:T,isIn:!1,className:Yr(f.className||x.toastClassName),bodyClassName:Yr(f.bodyClassName||x.bodyClassName),progressClassName:Yr(f.progressClassName||x.progressClassName),autoClose:!f.isLoading&&(F=f.autoClose,O=x.autoClose,F===!1||Qt(F)&&F>0?F:O),deleteToast(){const ee=ds(o.get(c),"removed");o.delete(c),Re.emit(4,ee);const pe=u.queue.length;if(u.count=c==null?u.count-u.displayedToast:u.count-1,u.count<0&&(u.count=0),pe>0){const se=c==null?u.props.limit:1;if(pe===1||se===1)u.displayedToast++,v();else{const Ze=se>pe?pe:se;u.displayedToast=Ze;for(let le=0;lez in po)(se)&&(_e=po[se](E))),_e}(C),ke(f.onOpen)&&(C.onOpen=f.onOpen),ke(f.onClose)&&(C.onClose=f.onClose),C.closeButton=x.closeButton,f.closeButton===!1||fo(f.closeButton)?C.closeButton=f.closeButton:f.closeButton===!0&&(C.closeButton=!fo(x.closeButton)||x.closeButton);let J=y;R.isValidElement(y)&&!Qn(y.type)?J=R.cloneElement(y,{closeToast:T,toastProps:C,data:g}):ke(y)&&(J=y({closeToast:T,toastProps:C,data:g})),x.limit&&x.limit>0&&u.count>x.limit&&P?u.queue.push({toastContent:J,toastProps:C,staleId:_}):Qt(k)?setTimeout(()=>{m(J,C,_)},k):m(J,C,_)}function m(y,w,k){const{toastId:_}=w;k&&o.delete(k);const f={content:y,props:w};o.set(_,f),r(c=>[...c,_].filter(p=>p!==k)),Re.emit(4,ds(f,f.props.updateId==null?"added":"updated"))}return R.useEffect(()=>(u.containerId=e.containerId,Re.cancelEmit(3).on(0,h).on(1,y=>l.current&&d(y)).on(5,s).emit(2,u),()=>{o.clear(),Re.emit(3,u)}),[]),R.useEffect(()=>{u.props=e,u.isToastActive=i,u.displayedToast=t.length}),{getToastToRender:function(y){const w=new Map,k=Array.from(o.values());return e.newestOnTop&&k.reverse(),k.forEach(_=>{const{position:f}=_.props;w.has(f)||w.set(f,[]),w.get(f).push(_)}),Array.from(w,_=>y(_[0],_[1]))},containerRef:l,isToastActive:i}}function ps(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function ms(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function Sp(e){const[n,t]=R.useState(!1),[r,l]=R.useState(!1),o=R.useRef(null),i=R.useRef({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,u=R.useRef(e),{autoClose:s,pauseOnHover:d,closeToast:v,onClick:h,closeOnClick:m}=e;function y(g){if(e.draggable){g.nativeEvent.type==="touchstart"&&g.nativeEvent.preventDefault(),i.didMove=!1,document.addEventListener("mousemove",f),document.addEventListener("mouseup",c),document.addEventListener("touchmove",f),document.addEventListener("touchend",c);const x=o.current;i.canCloseOnClick=!0,i.canDrag=!0,i.boundingRect=x.getBoundingClientRect(),x.style.transition="",i.x=ps(g.nativeEvent),i.y=ms(g.nativeEvent),e.draggableDirection==="x"?(i.start=i.x,i.removalDistance=x.offsetWidth*(e.draggablePercent/100)):(i.start=i.y,i.removalDistance=x.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent/100))}}function w(g){if(i.boundingRect){const{top:x,bottom:T,left:P,right:C}=i.boundingRect;g.nativeEvent.type!=="touchend"&&e.pauseOnHover&&i.x>=P&&i.x<=C&&i.y>=x&&i.y<=T?_():k()}}function k(){t(!0)}function _(){t(!1)}function f(g){const x=o.current;i.canDrag&&x&&(i.didMove=!0,n&&_(),i.x=ps(g),i.y=ms(g),i.delta=e.draggableDirection==="x"?i.x-i.start:i.y-i.start,i.start!==i.x&&(i.canCloseOnClick=!1),x.style.transform=`translate${e.draggableDirection}(${i.delta}px)`,x.style.opacity=""+(1-Math.abs(i.delta/i.removalDistance)))}function c(){document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",c),document.removeEventListener("touchmove",f),document.removeEventListener("touchend",c);const g=o.current;if(i.canDrag&&i.didMove&&g){if(i.canDrag=!1,Math.abs(i.delta)>i.removalDistance)return l(!0),void e.closeToast();g.style.transition="transform 0.2s, opacity 0.2s",g.style.transform=`translate${e.draggableDirection}(0)`,g.style.opacity="1"}}R.useEffect(()=>{u.current=e}),R.useEffect(()=>(o.current&&o.current.addEventListener("d",k,{once:!0}),ke(e.onOpen)&&e.onOpen(R.isValidElement(e.children)&&e.children.props),()=>{const g=u.current;ke(g.onClose)&&g.onClose(R.isValidElement(g.children)&&g.children.props)}),[]),R.useEffect(()=>(e.pauseOnFocusLoss&&(document.hasFocus()||_(),window.addEventListener("focus",k),window.addEventListener("blur",_)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",k),window.removeEventListener("blur",_))}),[e.pauseOnFocusLoss]);const p={onMouseDown:y,onTouchStart:y,onMouseUp:w,onTouchEnd:w};return s&&d&&(p.onMouseEnter=_,p.onMouseLeave=k),m&&(p.onClick=g=>{h&&h(g),i.canCloseOnClick&&v()}),{playToast:k,pauseToast:_,isRunning:n,preventExitTransition:r,toastRef:o,eventHandlers:p}}function zc(e){let{closeToast:n,theme:t,ariaLabel:r="close"}=e;return $.createElement("button",{className:`Toastify__close-button Toastify__close-button--${t}`,type:"button",onClick:l=>{l.stopPropagation(),n(l)},"aria-label":r},$.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},$.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function xp(e){let{delay:n,isRunning:t,closeToast:r,type:l="default",hide:o,className:i,style:u,controlledProgress:s,progress:d,rtl:v,isIn:h,theme:m}=e;const y=o||s&&d===0,w={...u,animationDuration:`${n}ms`,animationPlayState:t?"running":"paused",opacity:y?0:1};s&&(w.transform=`scaleX(${d})`);const k=hn("Toastify__progress-bar",s?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${l}`,{"Toastify__progress-bar--rtl":v}),_=ke(i)?i({rtl:v,type:l,defaultClassName:k}):hn(k,i);return $.createElement("div",{role:"progressbar","aria-hidden":y?"true":"false","aria-label":"notification timer",className:_,style:w,[s&&d>=1?"onTransitionEnd":"onAnimationEnd"]:s&&d<1?null:()=>{h&&r()}})}const Ep=e=>{const{isRunning:n,preventExitTransition:t,toastRef:r,eventHandlers:l}=Sp(e),{closeButton:o,children:i,autoClose:u,onClick:s,type:d,hideProgressBar:v,closeToast:h,transition:m,position:y,className:w,style:k,bodyClassName:_,bodyStyle:f,progressClassName:c,progressStyle:p,updateId:g,role:x,progress:T,rtl:P,toastId:C,deleteToast:F,isIn:O,isLoading:J,iconOut:ee,closeOnClick:pe,theme:se}=e,Ze=hn("Toastify__toast",`Toastify__toast-theme--${se}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":P},{"Toastify__toast--close-on-click":pe}),le=ke(w)?w({rtl:P,position:y,type:d,defaultClassName:Ze}):hn(Ze,w),_e=!!T||!u,E={closeToast:h,type:d,theme:se};let z=null;return o===!1||(z=ke(o)?o(E):R.isValidElement(o)?R.cloneElement(o,E):zc(E)),$.createElement(m,{isIn:O,done:F,position:y,preventExitTransition:t,nodeRef:r},$.createElement("div",{id:C,onClick:s,className:le,...l,style:k,ref:r},$.createElement("div",{...O&&{role:x},className:ke(_)?_({type:d}):hn("Toastify__toast-body",_),style:f},ee!=null&&$.createElement("div",{className:hn("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!J})},ee),$.createElement("div",null,i)),z,$.createElement(xp,{...g&&!_e?{key:`pb-${g}`}:{},rtl:P,theme:se,delay:u,isRunning:n,isIn:O,closeToast:h,hide:v,type:d,style:p,className:c,controlledProgress:_e,progress:T||0})))},Fl=function(e,n){return n===void 0&&(n=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:n}},_p=Ml(Fl("bounce",!0));Ml(Fl("slide",!0));Ml(Fl("zoom"));Ml(Fl("flip"));const si=R.forwardRef((e,n)=>{const{getToastToRender:t,containerRef:r,isToastActive:l}=kp(e),{className:o,style:i,rtl:u,containerId:s}=e;function d(v){const h=hn("Toastify__toast-container",`Toastify__toast-container--${v}`,{"Toastify__toast-container--rtl":u});return ke(o)?o({position:v,rtl:u,defaultClassName:h}):hn(h,Yr(o))}return R.useEffect(()=>{n&&(n.current=r.current)},[]),$.createElement("div",{ref:r,className:"Toastify",id:s},t((v,h)=>{const m=h.length?{...i}:{...i,pointerEvents:"none"};return $.createElement("div",{className:d(v),style:m,key:`container-${v}`},h.map((y,w)=>{let{content:k,props:_}=y;return $.createElement(Ep,{..._,isIn:l(_.toastId),style:{..._.style,"--nth":w+1,"--len":h.length},key:`toast-${_.key}`},k)}))}))});si.displayName="ToastContainer",si.defaultProps={position:"top-right",transition:_p,autoClose:5e3,closeButton:zc,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let mo,In=new Map,jt=[],Cp=1;function Rc(){return""+Cp++}function Np(e){return e&&(Qn(e.toastId)||Qt(e.toastId))?e.toastId:Rc()}function Wt(e,n){return In.size>0?Re.emit(0,e,n):jt.push({content:e,options:n}),n.toastId}function yl(e,n){return{...n,type:n&&n.type||e,toastId:Np(n)}}function jr(e){return(n,t)=>Wt(n,yl(e,t))}function V(e,n){return Wt(e,yl("default",n))}V.loading=(e,n)=>Wt(e,yl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...n})),V.promise=function(e,n,t){let r,{pending:l,error:o,success:i}=n;l&&(r=Qn(l)?V.loading(l,t):V.loading(l.render,{...t,...l}));const u={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},s=(v,h,m)=>{if(h==null)return void V.dismiss(r);const y={type:v,...u,...t,data:m},w=Qn(h)?{render:h}:h;return r?V.update(r,{...y,...w}):V(w.render,{...y,...w}),m},d=ke(e)?e():e;return d.then(v=>s("success",i,v)).catch(v=>s("error",o,v)),d},V.success=jr("success"),V.info=jr("info"),V.error=jr("error"),V.warning=jr("warning"),V.warn=V.warning,V.dark=(e,n)=>Wt(e,yl("default",{theme:"dark",...n})),V.dismiss=e=>{In.size>0?Re.emit(1,e):jt=jt.filter(n=>e!=null&&n.options.toastId!==e)},V.clearWaitingQueue=function(e){return e===void 0&&(e={}),Re.emit(5,e)},V.isActive=e=>{let n=!1;return In.forEach(t=>{t.isToastActive&&t.isToastActive(e)&&(n=!0)}),n},V.update=function(e,n){n===void 0&&(n={}),setTimeout(()=>{const t=function(r,l){let{containerId:o}=l;const i=In.get(o||mo);return i&&i.getToast(r)}(e,n);if(t){const{props:r,content:l}=t,o={delay:100,...r,...n,toastId:n.toastId||e,updateId:Rc()};o.toastId!==e&&(o.staleId=e);const i=o.render||l;delete o.render,Wt(i,o)}},0)},V.done=e=>{V.update(e,{progress:1})},V.onChange=e=>(Re.on(4,e),()=>{Re.off(4,e)}),V.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},V.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},Re.on(2,e=>{mo=e.containerId||e,In.set(mo,e),jt.forEach(n=>{Re.emit(0,n.content,n.options)}),jt=[]}).on(3,e=>{In.delete(e.containerId||e),In.size===0&&Re.off(0).off(1).off(5)});const Tp="/Text2Book/assets/copy-icon-c3cc64a5.png",Pp="_blink_1gtj0_1",hs={blink:Pp};function Lp(e){const[n,t]=R.useState(0),r={blink:n},l=(i,u)=>{V(N.jsx("div",{className:"font-bold text-green-600",children:" Copied! "}));const s=i.target.closest(".listitem");s&&s.classList.remove("noblink"),t(1),navigator.clipboard.writeText(u)},o=i=>{t(0);const u=i.target.closest(".listitem");u&&u.classList.add("noblink")};return e.results.map((i,u)=>N.jsxs("li",{className:`flex rounded border overflow-hidden h-12 mb-1 listitem noblink ${hs.blink} ${hs.noblink}`,...r,onAnimationEnd:o,children:[N.jsx("button",{onClick:s=>l(s,i),className:"w-12 bg-gray-300 h-full p-2 border-right group",children:N.jsx("img",{className:"p-1 group-hover:opacity-70 transition",src:Tp})}),N.jsx("input",{className:"w-full p-2 opacity-80 font-mono h-full outline-none",type:"text",value:i,readOnly:!0}),N.jsx("div",{className:"text-xl p-2 bg-gray-300 select-none",children:u+1})]},u))}function zp(){return N.jsx("footer",{className:"fixed bottom-0 p-2 left-0 w-full bg-white",children:N.jsxs("div",{className:"text-center w-full font-bold",children:["Made with ❤️ by ",N.jsx("a",{className:"text-blue-700 hover:underline",href:"https://github.com/TheWilley/text2book",target:"_blank",children:" TheWilley "})]})})}function Rp(){const[e,n]=R.useState([]),[t,r]=R.useState(0),l={fadein:t},o=(s,d,v,h,m)=>{n(sp(s,d,v,h)),r(1),m(!1)},i=()=>N.jsx(si,{position:"top-right",autoClose:1e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0,theme:"light"}),u=()=>N.jsxs(N.Fragment,{children:[N.jsx(i,{}),N.jsxs("div",{children:[N.jsx("h1",{className:"text-5xl font-mono mb-3",children:" Text2Book "}),N.jsx("p",{className:"mb-3 text-md",children:" Text to Minecraft book generator "})]})]});return N.jsxs(N.Fragment,{children:[N.jsxs("div",{className:"flex flex-col items-center bg-white",children:[N.jsx(u,{}),N.jsxs("div",{className:"max-w-3xl w-full bg-gray-100 p-6 rounded-lg shadow-md",children:[N.jsx(yp,{callback:o}),N.jsx("div",{className:"mt-3",children:N.jsx("ol",{className:`list-decimal ${hp.fadein}`,onAnimationEnd:()=>r(0),...l,children:N.jsx(Lp,{results:e})})})]})]}),N.jsx(zp,{})]})}ho.createRoot(document.getElementById("root")).render(N.jsx($.StrictMode,{children:N.jsx(Rp,{})})); diff --git a/assets/index-c05da312.js b/assets/index-c05da312.js new file mode 100644 index 0000000..6241bcd --- /dev/null +++ b/assets/index-c05da312.js @@ -0,0 +1,46 @@ +var Fc=Object.defineProperty;var Mc=(e,t,n)=>t in e?Fc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var $l=(e,t,n)=>(Mc(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function gs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ys={exports:{}},wl={},ws={exports:{}},j={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ar=Symbol.for("react.element"),Dc=Symbol.for("react.portal"),$c=Symbol.for("react.fragment"),Ac=Symbol.for("react.strict_mode"),Uc=Symbol.for("react.profiler"),Bc=Symbol.for("react.provider"),Vc=Symbol.for("react.context"),Hc=Symbol.for("react.forward_ref"),Qc=Symbol.for("react.suspense"),Wc=Symbol.for("react.memo"),Kc=Symbol.for("react.lazy"),lu=Symbol.iterator;function Yc(e){return e===null||typeof e!="object"?null:(e=lu&&e[lu]||e["@@iterator"],typeof e=="function"?e:null)}var ks={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ss=Object.assign,xs={};function wn(e,t,n){this.props=e,this.context=t,this.refs=xs,this.updater=n||ks}wn.prototype.isReactComponent={};wn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};wn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Es(){}Es.prototype=wn.prototype;function ci(e,t,n){this.props=e,this.context=t,this.refs=xs,this.updater=n||ks}var fi=ci.prototype=new Es;fi.constructor=ci;Ss(fi,wn.prototype);fi.isPureReactComponent=!0;var ou=Array.isArray,Cs=Object.prototype.hasOwnProperty,di={current:null},_s={key:!0,ref:!0,__self:!0,__source:!0};function Ns(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Cs.call(t,r)&&!_s.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,te=E[X];if(0>>1;Xl(Dl,I))Ltl(hr,Dl)?(E[X]=hr,E[Lt]=I,X=Lt):(E[X]=Dl,E[Pt]=I,X=Pt);else if(Ltl(hr,I))E[X]=hr,E[Lt]=I,X=Lt;else break e}}return z}function l(E,z){var I=E.sortIndex-z.sortIndex;return I!==0?I:E.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],d=[],v=1,h=null,m=3,g=!1,w=!1,k=!1,C=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=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(E){for(var z=n(d);z!==null;){if(z.callback===null)r(d);else if(z.startTime<=E)r(d),z.sortIndex=z.expirationTime,t(s,z);else break;z=n(d)}}function y(E){if(k=!1,p(E),!w)if(n(s)!==null)w=!0,le(x);else{var z=n(d);z!==null&&Ce(y,z.startTime-E)}}function x(E,z){w=!1,k&&(k=!1,f(_),_=-1),g=!0;var I=m;try{for(p(z),h=n(s);h!==null&&(!(h.expirationTime>z)||E&&!J());){var X=h.callback;if(typeof X=="function"){h.callback=null,m=h.priorityLevel;var te=X(h.expirationTime<=z);z=e.unstable_now(),typeof te=="function"?h.callback=te:h===n(s)&&r(s),p(z)}else r(s);h=n(s)}if(h!==null)var mr=!0;else{var Pt=n(d);Pt!==null&&Ce(y,Pt.startTime-z),mr=!1}return mr}finally{h=null,m=I,g=!1}}var T=!1,P=null,_=-1,M=5,O=-1;function J(){return!(e.unstable_now()-OE||125X?(E.sortIndex=I,t(d,E),n(s)===null&&E===n(d)&&(k?(f(_),_=-1):k=!0,Ce(y,I-X))):(E.sortIndex=te,t(s,E),w||g||(w=!0,le(x))),E},e.unstable_shouldYield=J,e.unstable_wrapCallback=function(E){var z=m;return function(){var I=m;m=z;try{return E.apply(this,arguments)}finally{m=I}}}})(zs);Ls.exports=zs;var lf=Ls.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Rs=R,Pe=lf;function S(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),go=Object.prototype.hasOwnProperty,of=/^[: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]*$/,uu={},su={};function uf(e){return go.call(su,e)?!0:go.call(uu,e)?!1:of.test(e)?su[e]=!0:(uu[e]=!0,!1)}function sf(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 af(e,t,n,r){if(t===null||typeof t>"u"||sf(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 ge(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ue[e]=new ge(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ue[t]=new ge(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ue[e]=new ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ue[e]=new ge(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){ue[e]=new ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ue[e]=new ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ue[e]=new ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ue[e]=new ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ue[e]=new ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var mi=/[\-:]([a-z])/g;function hi(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(mi,hi);ue[t]=new ge(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(mi,hi);ue[t]=new ge(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(mi,hi);ue[t]=new ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ue[e]=new ge(e,1,!1,e.toLowerCase(),null,!1,!1)});ue.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ue[e]=new ge(e,1,!1,e.toLowerCase(),null,!0,!0)});function vi(e,t,n,r){var l=ue.hasOwnProperty(t)?ue[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` +`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Bl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?zn(e):""}function cf(e){switch(e.tag){case 5:return zn(e.type);case 16:return zn("Lazy");case 13:return zn("Suspense");case 19:return zn("SuspenseList");case 0:case 2:case 15:return e=Vl(e.type,!1),e;case 11:return e=Vl(e.type.render,!1),e;case 1:return e=Vl(e.type,!0),e;default:return""}}function So(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 Xt:return"Fragment";case Yt:return"Portal";case yo:return"Profiler";case gi:return"StrictMode";case wo:return"Suspense";case ko:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case js:return(e.displayName||"Context")+".Consumer";case Is:return(e._context.displayName||"Context")+".Provider";case yi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wi:return t=e.displayName||null,t!==null?t:So(e.type)||"Memo";case st:t=e._payload,e=e._init;try{return So(e(t))}catch{}}return null}function ff(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 So(t);case 8:return t===gi?"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 Et(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ms(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function df(e){var t=Ms(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 l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function yr(e){e._valueTracker||(e._valueTracker=df(e))}function Ds(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ms(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Xr(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 xo(e,t){var n=t.checked;return K({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function cu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Et(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 $s(e,t){t=t.checked,t!=null&&vi(e,"checked",t,!1)}function Eo(e,t){$s(e,t);var n=Et(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")?Co(e,t.type,n):t.hasOwnProperty("defaultValue")&&Co(e,t.type,Et(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function fu(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 Co(e,t,n){(t!=="number"||Xr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Rn=Array.isArray;function on(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=wr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Yn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Fn={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},pf=["Webkit","ms","Moz","O"];Object.keys(Fn).forEach(function(e){pf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Fn[t]=Fn[e]})});function Vs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Fn.hasOwnProperty(e)&&Fn[e]?(""+t).trim():t+"px"}function Hs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Vs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var mf=K({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 To(e,t){if(t){if(mf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function Po(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 Lo=null;function ki(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zo=null,un=null,sn=null;function mu(e){if(e=dr(e)){if(typeof zo!="function")throw Error(S(280));var t=e.stateNode;t&&(t=Cl(t),zo(e.stateNode,e.type,t))}}function Qs(e){un?sn?sn.push(e):sn=[e]:un=e}function Ws(){if(un){var e=un,t=sn;if(sn=un=null,mu(e),t)for(e=0;e>>=0,e===0?32:31-(_f(e)/Nf|0)|0}var kr=64,Sr=4194304;function On(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 qr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=On(u):(o&=i,o!==0&&(r=On(o)))}else i=n&~l,i!==0?r=On(i):o!==0&&(r=On(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===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 cr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ve(t),e[t]=n}function zf(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=Dn),Eu=String.fromCharCode(32),Cu=!1;function fa(e,t){switch(e){case"keyup":return ld.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function da(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gt=!1;function id(e,t){switch(e){case"compositionend":return da(t);case"keypress":return t.which!==32?null:(Cu=!0,Eu);case"textInput":return e=t.data,e===Eu&&Cu?null:e;default:return null}}function ud(e,t){if(Gt)return e==="compositionend"||!Pi&&fa(e,t)?(e=aa(),$r=_i=dt=null,Gt=!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=Pu(n)}}function va(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?va(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ga(){for(var e=window,t=Xr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Xr(e.document)}return t}function Li(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 vd(e){var t=ga(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&va(n.ownerDocument.documentElement,n)){if(r!==null&&Li(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 l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Lu(n,o);var i=Lu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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,Zt=null,Mo=null,An=null,Do=!1;function zu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Do||Zt==null||Zt!==Xr(r)||(r=Zt,"selectionStart"in r&&Li(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}),An&&bn(An,r)||(An=r,r=tl(Mo,"onSelect"),0bt||(e.current=Ho[bt],Ho[bt]=null,bt--)}function A(e,t){bt++,Ho[bt]=e.current,e.current=t}var Ct={},de=Nt(Ct),Se=Nt(!1),$t=Ct;function pn(e,t){var n=e.type.contextTypes;if(!n)return Ct;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function xe(e){return e=e.childContextTypes,e!=null}function rl(){B(Se),B(de)}function Du(e,t,n){if(de.current!==Ct)throw Error(S(168));A(de,t),A(Se,n)}function Na(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(S(108,ff(e)||"Unknown",l));return K({},n,r)}function ll(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ct,$t=de.current,A(de,e),A(Se,Se.current),!0}function $u(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=Na(e,t,$t),r.__reactInternalMemoizedMergedChildContext=e,B(Se),B(de),A(de,e)):B(Se),A(Se,n)}var qe=null,_l=!1,no=!1;function Ta(e){qe===null?qe=[e]:qe.push(e)}function Pd(e){_l=!0,Ta(e)}function Tt(){if(!no&&qe!==null){no=!0;var e=0,t=D;try{var n=qe;for(D=1;e>=i,l-=i,be=1<<32-Ve(t)+l|n<_?(M=P,P=null):M=P.sibling;var O=m(f,P,p[_],y);if(O===null){P===null&&(P=M);break}e&&P&&O.alternate===null&&t(f,P),c=o(O,c,_),T===null?x=O:T.sibling=O,T=O,P=M}if(_===p.length)return n(f,P),H&&zt(f,_),x;if(P===null){for(;__?(M=P,P=null):M=P.sibling;var J=m(f,P,O.value,y);if(J===null){P===null&&(P=M);break}e&&P&&J.alternate===null&&t(f,P),c=o(J,c,_),T===null?x=J:T.sibling=J,T=J,P=M}if(O.done)return n(f,P),H&&zt(f,_),x;if(P===null){for(;!O.done;_++,O=p.next())O=h(f,O.value,y),O!==null&&(c=o(O,c,_),T===null?x=O:T.sibling=O,T=O);return H&&zt(f,_),x}for(P=r(f,P);!O.done;_++,O=p.next())O=g(P,f,_,O.value,y),O!==null&&(e&&O.alternate!==null&&P.delete(O.key===null?_:O.key),c=o(O,c,_),T===null?x=O:T.sibling=O,T=O);return e&&P.forEach(function(ee){return t(f,ee)}),H&&zt(f,_),x}function C(f,c,p,y){if(typeof p=="object"&&p!==null&&p.type===Xt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case gr:e:{for(var x=p.key,T=c;T!==null;){if(T.key===x){if(x=p.type,x===Xt){if(T.tag===7){n(f,T.sibling),c=l(T,p.props.children),c.return=f,f=c;break e}}else if(T.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===st&&Wu(x)===T.type){n(f,T.sibling),c=l(T,p.props),c.ref=Tn(f,T,p),c.return=f,f=c;break e}n(f,T);break}else t(f,T);T=T.sibling}p.type===Xt?(c=Dt(p.props.children,f.mode,y,p.key),c.return=f,f=c):(y=Kr(p.type,p.key,p.props,null,f.mode,y),y.ref=Tn(f,c,p),y.return=f,f=y)}return i(f);case Yt:e:{for(T=p.key;c!==null;){if(c.key===T)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=l(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=co(p,f.mode,y),c.return=f,f=c}return i(f);case st:return T=p._init,C(f,c,T(p._payload),y)}if(Rn(p))return w(f,c,p,y);if(xn(p))return k(f,c,p,y);Pr(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,p),c.return=f,f=c):(n(f,c),c=ao(p,f.mode,y),c.return=f,f=c),i(f)):n(f,c)}return C}var hn=Fa(!0),Ma=Fa(!1),pr={},Ge=Nt(pr),rr=Nt(pr),lr=Nt(pr);function Ft(e){if(e===pr)throw Error(S(174));return e}function $i(e,t){switch(A(lr,t),A(rr,e),A(Ge,pr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:No(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=No(t,e)}B(Ge),A(Ge,t)}function vn(){B(Ge),B(rr),B(lr)}function Da(e){Ft(lr.current);var t=Ft(Ge.current),n=No(t,e.type);t!==n&&(A(rr,e),A(Ge,n))}function Ai(e){rr.current===e&&(B(Ge),B(rr))}var Q=Nt(0);function cl(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 ro=[];function Ui(){for(var e=0;en?n:4,e(!0);var r=lo.transition;lo.transition={};try{e(!1),t()}finally{D=n,lo.transition=r}}function ba(){return De().memoizedState}function Od(e,t,n){var r=St(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ec(e))tc(t,n);else if(n=Ra(e,t,n,r),n!==null){var l=he();He(n,e,r,l),nc(n,t,r)}}function Id(e,t,n){var r=St(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ec(e))tc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Qe(u,i)){var s=t.interleaved;s===null?(l.next=l,Mi(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=Ra(e,t,l,r),n!==null&&(l=he(),He(n,e,r,l),nc(n,t,r))}}function ec(e){var t=e.alternate;return e===W||t!==null&&t===W}function tc(e,t){Un=fl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xi(e,n)}}var dl={readContext:Me,useCallback:ae,useContext:ae,useEffect:ae,useImperativeHandle:ae,useInsertionEffect:ae,useLayoutEffect:ae,useMemo:ae,useReducer:ae,useRef:ae,useState:ae,useDebugValue:ae,useDeferredValue:ae,useTransition:ae,useMutableSource:ae,useSyncExternalStore:ae,useId:ae,unstable_isNewReconciler:!1},jd={readContext:Me,useCallback:function(e,t){return Ke().memoizedState=[e,t===void 0?null:t],e},useContext:Me,useEffect:Yu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vr(4194308,4,Xa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vr(4,2,e,t)},useMemo:function(e,t){var n=Ke();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ke();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=Od.bind(null,W,e),[r.memoizedState,e]},useRef:function(e){var t=Ke();return e={current:e},t.memoizedState=e},useState:Ku,useDebugValue:Wi,useDeferredValue:function(e){return Ke().memoizedState=e},useTransition:function(){var e=Ku(!1),t=e[0];return e=Rd.bind(null,e[1]),Ke().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=W,l=Ke();if(H){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),re===null)throw Error(S(349));Ut&30||Ua(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,Yu(Va.bind(null,r,o,e),[e]),r.flags|=2048,ur(9,Ba.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ke(),t=re.identifierPrefix;if(H){var n=et,r=be;n=(r&~(1<<32-Ve(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=or++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ye]=t,e[nr]=r,fc(e,t,!1,!1),t.stateNode=e;e:{switch(i=Po(n,r),n){case"dialog":U("cancel",e),U("close",e),l=r;break;case"iframe":case"object":case"embed":U("load",e),l=r;break;case"video":case"audio":for(l=0;lyn&&(t.flags|=128,r=!0,Pn(o,!1),t.lanes=4194304)}else{if(!r)if(e=cl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Pn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!H)return ce(t),null}else 2*G()-o.renderingStartTime>yn&&n!==1073741824&&(t.flags|=128,r=!0,Pn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=G(),t.sibling=null,n=Q.current,A(Q,r?n&1|2:n&1),t):(ce(t),null);case 22:case 23:return Ji(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_e&1073741824&&(ce(t),t.subtreeFlags&6&&(t.flags|=8192)):ce(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function Vd(e,t){switch(Ri(t),t.tag){case 1:return xe(t.type)&&rl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vn(),B(Se),B(de),Ui(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ai(t),null;case 13:if(B(Q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return B(Q),null;case 4:return vn(),null;case 10:return Fi(t.type._context),null;case 22:case 23:return Ji(),null;case 24:return null;default:return null}}var zr=!1,fe=!1,Hd=typeof WeakSet=="function"?WeakSet:Set,L=null;function rn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Y(e,t,r)}else n.current=null}function ti(e,t,n){try{n()}catch(r){Y(e,t,r)}}var ns=!1;function Qd(e,t){if($o=br,e=ga(),Li(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 l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,d=0,v=0,h=e,m=null;t:for(;;){for(var g;h!==n||l!==0&&h.nodeType!==3||(u=i+l),h!==o||r!==0&&h.nodeType!==3||(s=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(g=h.firstChild)!==null;)m=h,h=g;for(;;){if(h===e)break t;if(m===n&&++d===l&&(u=i),m===o&&++v===r&&(s=i),(g=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=g}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ao={focusedElem:e,selectionRange:n},br=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,C=w.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:Ae(t.type,k),C);f.__reactInternalSnapshotBeforeUpdate=c}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(S(163))}}catch(y){Y(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return w=ns,ns=!1,w}function Bn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&ti(t,n,o)}l=l.next}while(l!==r)}}function Pl(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 ni(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 mc(e){var t=e.alternate;t!==null&&(e.alternate=null,mc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ye],delete t[nr],delete t[Vo],delete t[Nd],delete t[Td])),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 hc(e){return e.tag===5||e.tag===3||e.tag===4}function rs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hc(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 ri(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=nl));else if(r!==4&&(e=e.child,e!==null))for(ri(e,t,n),e=e.sibling;e!==null;)ri(e,t,n),e=e.sibling}function li(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(li(e,t,n),e=e.sibling;e!==null;)li(e,t,n),e=e.sibling}var oe=null,Ue=!1;function ut(e,t,n){for(n=n.child;n!==null;)vc(e,t,n),n=n.sibling}function vc(e,t,n){if(Xe&&typeof Xe.onCommitFiberUnmount=="function")try{Xe.onCommitFiberUnmount(kl,n)}catch{}switch(n.tag){case 5:fe||rn(n,t);case 6:var r=oe,l=Ue;oe=null,ut(e,t,n),oe=r,Ue=l,oe!==null&&(Ue?(e=oe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):oe.removeChild(n.stateNode));break;case 18:oe!==null&&(Ue?(e=oe,n=n.stateNode,e.nodeType===8?to(e.parentNode,n):e.nodeType===1&&to(e,n),Jn(e)):to(oe,n.stateNode));break;case 4:r=oe,l=Ue,oe=n.stateNode.containerInfo,Ue=!0,ut(e,t,n),oe=r,Ue=l;break;case 0:case 11:case 14:case 15:if(!fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&ti(n,t,i),l=l.next}while(l!==r)}ut(e,t,n);break;case 1:if(!fe&&(rn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){Y(n,t,u)}ut(e,t,n);break;case 21:ut(e,t,n);break;case 22:n.mode&1?(fe=(r=fe)||n.memoizedState!==null,ut(e,t,n),fe=r):ut(e,t,n);break;default:ut(e,t,n)}}function ls(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Hd),t.forEach(function(r){var l=bd.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function $e(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=G()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Kd(r/1960))-r,10e?16:e,pt===null)var r=!1;else{if(e=pt,pt=null,hl=0,F&6)throw Error(S(331));var l=F;for(F|=4,L=e.current;L!==null;){var o=L,i=o.child;if(L.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sG()-Gi?Mt(e,0):Xi|=n),Ee(e,t)}function Cc(e,t){t===0&&(e.mode&1?(t=Sr,Sr<<=1,!(Sr&130023424)&&(Sr=4194304)):t=1);var n=he();e=lt(e,t),e!==null&&(cr(e,t,n),Ee(e,n))}function qd(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Cc(e,n)}function bd(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(t),Cc(e,n)}var _c;_c=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Se.current)we=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return we=!1,Ud(e,t,n);we=!!(e.flags&131072)}else we=!1,H&&t.flags&1048576&&Pa(t,il,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hr(e,t),e=t.pendingProps;var l=pn(t,de.current);cn(t,n),l=Vi(null,t,r,e,l,n);var o=Hi();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,xe(r)?(o=!0,ll(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Di(t),l.updater=Nl,t.stateNode=l,l._reactInternals=t,Xo(t,r,e,n),t=Jo(null,t,r,!0,o,n)):(t.tag=0,H&&o&&zi(t),me(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=tp(r),e=Ae(r,e),l){case 0:t=Zo(null,t,r,e,n);break e;case 1:t=bu(null,t,r,e,n);break e;case 11:t=Ju(null,t,r,e,n);break e;case 14:t=qu(null,t,r,Ae(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ae(r,l),Zo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ae(r,l),bu(e,t,r,l,n);case 3:e:{if(sc(t),e===null)throw Error(S(387));r=t.pendingProps,o=t.memoizedState,l=o.element,Oa(e,t),al(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=gn(Error(S(423)),t),t=es(e,t,r,n,l);break e}else if(r!==l){l=gn(Error(S(424)),t),t=es(e,t,r,n,l);break e}else for(Ne=yt(t.stateNode.containerInfo.firstChild),Te=t,H=!0,Be=null,n=Ma(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mn(),r===l){t=ot(e,t,n);break e}me(e,t,r,n)}t=t.child}return t;case 5:return Da(t),e===null&&Wo(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Uo(r,l)?i=null:o!==null&&Uo(r,o)&&(t.flags|=32),uc(e,t),me(e,t,i,n),t.child;case 6:return e===null&&Wo(t),null;case 13:return ac(e,t,n);case 4:return $i(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=hn(t,null,r,n):me(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ae(r,l),Ju(e,t,r,l,n);case 7:return me(e,t,t.pendingProps,n),t.child;case 8:return me(e,t,t.pendingProps.children,n),t.child;case 12:return me(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,A(ul,r._currentValue),r._currentValue=i,o!==null)if(Qe(o.value,i)){if(o.children===l.children&&!Se.current){t=ot(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=tt(-1,n&-n),s.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var v=d.pending;v===null?s.next=s:(s.next=v.next,v.next=s),d.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Ko(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(S(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Ko(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}me(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,cn(t,n),l=Me(l),r=r(l),t.flags|=1,me(e,t,r,n),t.child;case 14:return r=t.type,l=Ae(r,t.pendingProps),l=Ae(r.type,l),qu(e,t,r,l,n);case 15:return oc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ae(r,l),Hr(e,t),t.tag=1,xe(r)?(e=!0,ll(t)):e=!1,cn(t,n),ja(t,r,l),Xo(t,r,l,n),Jo(null,t,r,!0,e,n);case 19:return cc(e,t,n);case 22:return ic(e,t,n)}throw Error(S(156,t.tag))};function Nc(e,t){return qs(e,t)}function ep(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 je(e,t,n,r){return new ep(e,t,n,r)}function bi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function tp(e){if(typeof e=="function")return bi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yi)return 11;if(e===wi)return 14}return 2}function xt(e,t){var n=e.alternate;return n===null?(n=je(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 Kr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")bi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Xt:return Dt(n.children,l,o,t);case gi:i=8,l|=8;break;case yo:return e=je(12,n,t,l|2),e.elementType=yo,e.lanes=o,e;case wo:return e=je(13,n,t,l),e.elementType=wo,e.lanes=o,e;case ko:return e=je(19,n,t,l),e.elementType=ko,e.lanes=o,e;case Fs:return zl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Is:i=10;break e;case js:i=9;break e;case yi:i=11;break e;case wi:i=14;break e;case st:i=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=je(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Dt(e,t,n,r){return e=je(7,e,r,t),e.lanes=n,e}function zl(e,t,n,r){return e=je(22,e,r,t),e.elementType=Fs,e.lanes=n,e.stateNode={isHidden:!1},e}function ao(e,t,n){return e=je(6,e,null,t),e.lanes=n,e}function co(e,t,n){return t=je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function np(e,t,n,r,l){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=Ql(0),this.expirationTimes=Ql(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ql(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function eu(e,t,n,r,l,o,i,u,s){return e=new np(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=je(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Di(o),e}function rp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(zc)}catch(e){console.error(e)}}zc(),Ps.exports=Le;var sp=Ps.exports,ds=sp;vo.createRoot=ds.createRoot,vo.hydrateRoot=ds.hydrateRoot;const ap="_fadein_1n7e8_1",cp={fadein:ap},fp="/Text2Book/assets/loader-ffcf15c0.svg";function dp(e){const[t,n]=R.useState("");return{fileName:t,handleFileChange:l=>{var i;const o=(i=l.target.files)==null?void 0:i.item(0);if((o==null?void 0:o.type)==="text/plain"){const u=new FileReader;u.readAsText(o),n(o.name),u.onload=()=>{e(u.result)}}}}}function pp(e){const{fileName:t,handleFileChange:n}=dp(e.callback);return N.jsx("div",{children:N.jsxs("div",{className:"relative mb-3",children:[N.jsx("input",{id:"file-upload",type:"file",onChange:n,accept:".txt",className:"opacity-0 absolute z-0 w-full h-full",required:e.useFileUpload}),N.jsxs("div",{className:"bg-white rounded-md border border-gray-400 px-4 py-2 flex items-center justify-between",children:[N.jsx("span",{className:"text-gray-700",children:t||"Choose a file"}),N.jsx("button",{type:"button",className:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline hover:cursor-pointer",children:"Browse"})]})]})})}function mp(e){const[t,n]=R.useState(""),[r,l]=R.useState(""),[o,i]=R.useState(""),[u,s]=R.useState(!1),[d,v]=R.useState("text"),[h,m]=R.useState("commands"),g=f=>{f.preventDefault();const c=async()=>{await new Promise(p=>{setTimeout(p,500)}),e(t,r,o,h),s(!1)};s(!0),c()},w=f=>{const c=f.target;n(c.value),localStorage.setItem("text",c.value)},k=f=>{const c=f.target;l(c.value),localStorage.setItem("author",c.value)},C=f=>{const c=f.target;i(c.value),localStorage.setItem("title",c.value)};return R.useEffect(()=>{n(localStorage.getItem("text")||""),l(localStorage.getItem("author")||""),i(localStorage.getItem("title")||"")},[]),{loading:u,inputFormat:d,setInputFormat:v,outputFormat:h,setOutputFormat:m,handleSubmit:g,text:t,setText:n,handleChangeText:w,author:r,handleChangeAuthor:k,title:o,handleChangeTitle:C}}var Rc={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",i=0;it?N.jsx("div",{className:"flex justify-center text-white",children:N.jsx("img",{className:"h-5 w-5 mr-3",src:fp})}):"Generate";return N.jsxs(N.Fragment,{children:[N.jsxs("div",{className:"grid w-full grid-cols-1 sm:grid-cols-2 gap-2 rounded-xl bg-gray-200 p-2",children:[N.jsxs("div",{children:[N.jsx("input",{type:"radio",name:"input_method",id:"use-text-input",className:"peer hidden",onChange:()=>o("text"),checked:l==="text"}),N.jsx("label",{htmlFor:"use-text-input",className:"block cursor-pointer select-none rounded-xl p-2 text-center peer-checked:bg-blue-500 peer-checked:font-bold peer-checked:text-white hover:bg-blue-200 transition",children:"Text Input"})]}),N.jsxs("div",{children:[N.jsx("input",{type:"radio",name:"input_method",id:"use-file-upload",className:"peer hidden",onChange:()=>o("file"),checked:l==="file"}),N.jsx("label",{htmlFor:"use-file-upload",className:"block cursor-pointer select-none rounded-xl p-2 text-center peer-checked:bg-blue-500 peer-checked:font-bold peer-checked:text-white hover:bg-blue-200 transition",children:"File Input"})]})]}),N.jsxs("div",{className:"grid w-full grid-cols-1 sm:grid-cols-2 gap-2 rounded-xl bg-gray-200 p-2 mt-2",children:[N.jsxs("div",{children:[N.jsx("input",{type:"radio",name:"generation_method",id:"command-output",className:"peer hidden",onChange:()=>r("commands"),checked:n==="commands"}),N.jsx("label",{htmlFor:"command-output",className:"block cursor-pointer select-none rounded-xl p-2 text-center peer-checked:bg-blue-500 peer-checked:font-bold peer-checked:text-white hover:bg-blue-200 transition",children:"Generate Commands"})]}),N.jsxs("div",{children:[N.jsx("input",{type:"radio",name:"generation_method",id:"raw-output",className:"peer hidden",onChange:()=>r("text"),checked:n==="text"}),N.jsx("label",{htmlFor:"raw-output",className:"block cursor-pointer select-none rounded-xl p-2 text-center peer-checked:bg-blue-500 peer-checked:font-bold peer-checked:text-white hover:bg-blue-200 transition",children:"Generate Text"})]})]}),N.jsx("hr",{className:"mb-4 mt-4"}),N.jsxs("form",{onSubmit:i,children:[N.jsxs("div",{className:fo("flex flex-wrap mb-4",{hidden:n==="text"}),children:[N.jsxs("div",{className:"w-full sm:w-1/2 px-2",children:[N.jsx("label",{htmlFor:"author",className:"block text-gray-700 text-sm font-bold mb-2",children:"Author"}),N.jsx("input",{type:"text",id:"author",placeholder:"Lewis Carroll",className:"w-full border rounded-md py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring focus:border-blue-300",value:v,onChange:h,maxLength:50,required:!0})]}),N.jsxs("div",{className:"w-full sm:w-1/2 px-2",children:[N.jsx("label",{htmlFor:"title",className:"block text-gray-700 text-sm font-bold mb-2",children:"Title"}),N.jsx("input",{type:"text",id:"title",placeholder:"Alice in Wonderland",className:"w-full border rounded-md py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring focus:border-blue-300",value:m,onChange:g,maxLength:15,required:!0})]})]}),N.jsxs("div",{className:"mb-4",children:[N.jsx("label",{htmlFor:"text",className:"block text-gray-700 text-sm font-bold mb-2",children:"Text"}),N.jsxs("div",{children:[N.jsx("div",{className:fo({hidden:l==="text"}),children:N.jsx(pp,{callback:k=>s(k),useFileUpload:l==="file"})}),N.jsx("div",{className:fo({hidden:l==="file"}),children:N.jsx("textarea",{id:"text",placeholder:"Once upon a time, there was a girl...",className:"w-full h-72 border rounded-md py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:ring focus:border-blue-300 resize-none",value:u,onChange:d,required:l==="text"})})]})]}),N.jsx("button",{type:"submit",className:"w-full h-10 bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline",children:N.jsx(w,{})})]})]})}function Oc(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="number"&&!isNaN(e),Ht=e=>typeof e=="string",ke=e=>typeof e=="function",Yr=e=>Ht(e)||ke(e)?e:null,po=e=>R.isValidElement(e)||Ht(e)||ke(e)||Qn(e);function gp(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:l}=e;requestAnimationFrame(()=>{l.minHeight="initial",l.height=r+"px",l.transition=`all ${n}ms`,requestAnimationFrame(()=>{l.height="0",l.padding="0",l.margin="0",setTimeout(t,n)})})}function Fl(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:l=!0,collapseDuration:o=300}=e;return function(i){let{children:u,position:s,preventExitTransition:d,done:v,nodeRef:h,isIn:m}=i;const g=r?`${t}--${s}`:t,w=r?`${n}--${s}`:n,k=R.useRef(0);return R.useLayoutEffect(()=>{const C=h.current,f=g.split(" "),c=p=>{p.target===h.current&&(C.dispatchEvent(new Event("d")),C.removeEventListener("animationend",c),C.removeEventListener("animationcancel",c),k.current===0&&p.type!=="animationcancel"&&C.classList.remove(...f))};C.classList.add(...f),C.addEventListener("animationend",c),C.addEventListener("animationcancel",c)},[]),R.useEffect(()=>{const C=h.current,f=()=>{C.removeEventListener("animationend",f),l?gp(C,v,o):v()};m||(d?f():(k.current=1,C.className+=` ${w}`,C.addEventListener("animationend",f)))},[m]),$.createElement($.Fragment,null,u)}}function ps(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const Re={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const n=this.list.get(e).filter(r=>r!==t);return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach(t=>{const n=setTimeout(()=>{t(...[].slice.call(arguments,1))},0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)})}},Ir=e=>{let{theme:t,type:n,...r}=e;return $.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...r})},mo={info:function(e){return $.createElement(Ir,{...e},$.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return $.createElement(Ir,{...e},$.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return $.createElement(Ir,{...e},$.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return $.createElement(Ir,{...e},$.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return $.createElement("div",{className:"Toastify__spinner"})}};function yp(e){const[,t]=R.useReducer(g=>g+1,0),[n,r]=R.useState([]),l=R.useRef(null),o=R.useRef(new Map).current,i=g=>n.indexOf(g)!==-1,u=R.useRef({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:i,getToast:g=>o.get(g)}).current;function s(g){let{containerId:w}=g;const{limit:k}=u.props;!k||w&&u.containerId!==w||(u.count-=u.queue.length,u.queue=[])}function d(g){r(w=>g==null?[]:w.filter(k=>k!==g))}function v(){const{toastContent:g,toastProps:w,staleId:k}=u.queue.shift();m(g,w,k)}function h(g,w){let{delay:k,staleId:C,...f}=w;if(!po(g)||function(ee){return!l.current||u.props.enableMultiContainer&&ee.containerId!==u.props.containerId||o.has(ee.toastId)&&ee.updateId==null}(f))return;const{toastId:c,updateId:p,data:y}=f,{props:x}=u,T=()=>d(c),P=p==null;P&&u.count++;const _={...x,style:x.toastStyle,key:u.toastKey++,...Object.fromEntries(Object.entries(f).filter(ee=>{let[pe,se]=ee;return se!=null})),toastId:c,updateId:p,data:y,closeToast:T,isIn:!1,className:Yr(f.className||x.toastClassName),bodyClassName:Yr(f.bodyClassName||x.bodyClassName),progressClassName:Yr(f.progressClassName||x.progressClassName),autoClose:!f.isLoading&&(M=f.autoClose,O=x.autoClose,M===!1||Qn(M)&&M>0?M:O),deleteToast(){const ee=ps(o.get(c),"removed");o.delete(c),Re.emit(4,ee);const pe=u.queue.length;if(u.count=c==null?u.count-u.displayedToast:u.count-1,u.count<0&&(u.count=0),pe>0){const se=c==null?u.props.limit:1;if(pe===1||se===1)u.displayedToast++,v();else{const Ze=se>pe?pe:se;u.displayedToast=Ze;for(let le=0;lez in mo)(se)&&(Ce=mo[se](E))),Ce}(_),ke(f.onOpen)&&(_.onOpen=f.onOpen),ke(f.onClose)&&(_.onClose=f.onClose),_.closeButton=x.closeButton,f.closeButton===!1||po(f.closeButton)?_.closeButton=f.closeButton:f.closeButton===!0&&(_.closeButton=!po(x.closeButton)||x.closeButton);let J=g;R.isValidElement(g)&&!Ht(g.type)?J=R.cloneElement(g,{closeToast:T,toastProps:_,data:y}):ke(g)&&(J=g({closeToast:T,toastProps:_,data:y})),x.limit&&x.limit>0&&u.count>x.limit&&P?u.queue.push({toastContent:J,toastProps:_,staleId:C}):Qn(k)?setTimeout(()=>{m(J,_,C)},k):m(J,_,C)}function m(g,w,k){const{toastId:C}=w;k&&o.delete(k);const f={content:g,props:w};o.set(C,f),r(c=>[...c,C].filter(p=>p!==k)),Re.emit(4,ps(f,f.props.updateId==null?"added":"updated"))}return R.useEffect(()=>(u.containerId=e.containerId,Re.cancelEmit(3).on(0,h).on(1,g=>l.current&&d(g)).on(5,s).emit(2,u),()=>{o.clear(),Re.emit(3,u)}),[]),R.useEffect(()=>{u.props=e,u.isToastActive=i,u.displayedToast=n.length}),{getToastToRender:function(g){const w=new Map,k=Array.from(o.values());return e.newestOnTop&&k.reverse(),k.forEach(C=>{const{position:f}=C.props;w.has(f)||w.set(f,[]),w.get(f).push(C)}),Array.from(w,C=>g(C[0],C[1]))},containerRef:l,isToastActive:i}}function ms(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function hs(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function wp(e){const[t,n]=R.useState(!1),[r,l]=R.useState(!1),o=R.useRef(null),i=R.useRef({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,u=R.useRef(e),{autoClose:s,pauseOnHover:d,closeToast:v,onClick:h,closeOnClick:m}=e;function g(y){if(e.draggable){y.nativeEvent.type==="touchstart"&&y.nativeEvent.preventDefault(),i.didMove=!1,document.addEventListener("mousemove",f),document.addEventListener("mouseup",c),document.addEventListener("touchmove",f),document.addEventListener("touchend",c);const x=o.current;i.canCloseOnClick=!0,i.canDrag=!0,i.boundingRect=x.getBoundingClientRect(),x.style.transition="",i.x=ms(y.nativeEvent),i.y=hs(y.nativeEvent),e.draggableDirection==="x"?(i.start=i.x,i.removalDistance=x.offsetWidth*(e.draggablePercent/100)):(i.start=i.y,i.removalDistance=x.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent/100))}}function w(y){if(i.boundingRect){const{top:x,bottom:T,left:P,right:_}=i.boundingRect;y.nativeEvent.type!=="touchend"&&e.pauseOnHover&&i.x>=P&&i.x<=_&&i.y>=x&&i.y<=T?C():k()}}function k(){n(!0)}function C(){n(!1)}function f(y){const x=o.current;i.canDrag&&x&&(i.didMove=!0,t&&C(),i.x=ms(y),i.y=hs(y),i.delta=e.draggableDirection==="x"?i.x-i.start:i.y-i.start,i.start!==i.x&&(i.canCloseOnClick=!1),x.style.transform=`translate${e.draggableDirection}(${i.delta}px)`,x.style.opacity=""+(1-Math.abs(i.delta/i.removalDistance)))}function c(){document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",c),document.removeEventListener("touchmove",f),document.removeEventListener("touchend",c);const y=o.current;if(i.canDrag&&i.didMove&&y){if(i.canDrag=!1,Math.abs(i.delta)>i.removalDistance)return l(!0),void e.closeToast();y.style.transition="transform 0.2s, opacity 0.2s",y.style.transform=`translate${e.draggableDirection}(0)`,y.style.opacity="1"}}R.useEffect(()=>{u.current=e}),R.useEffect(()=>(o.current&&o.current.addEventListener("d",k,{once:!0}),ke(e.onOpen)&&e.onOpen(R.isValidElement(e.children)&&e.children.props),()=>{const y=u.current;ke(y.onClose)&&y.onClose(R.isValidElement(y.children)&&y.children.props)}),[]),R.useEffect(()=>(e.pauseOnFocusLoss&&(document.hasFocus()||C(),window.addEventListener("focus",k),window.addEventListener("blur",C)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",k),window.removeEventListener("blur",C))}),[e.pauseOnFocusLoss]);const p={onMouseDown:g,onTouchStart:g,onMouseUp:w,onTouchEnd:w};return s&&d&&(p.onMouseEnter=C,p.onMouseLeave=k),m&&(p.onClick=y=>{h&&h(y),i.canCloseOnClick&&v()}),{playToast:k,pauseToast:C,isRunning:t,preventExitTransition:r,toastRef:o,eventHandlers:p}}function Ic(e){let{closeToast:t,theme:n,ariaLabel:r="close"}=e;return $.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:l=>{l.stopPropagation(),t(l)},"aria-label":r},$.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},$.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function kp(e){let{delay:t,isRunning:n,closeToast:r,type:l="default",hide:o,className:i,style:u,controlledProgress:s,progress:d,rtl:v,isIn:h,theme:m}=e;const g=o||s&&d===0,w={...u,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused",opacity:g?0:1};s&&(w.transform=`scaleX(${d})`);const k=mt("Toastify__progress-bar",s?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${l}`,{"Toastify__progress-bar--rtl":v}),C=ke(i)?i({rtl:v,type:l,defaultClassName:k}):mt(k,i);return $.createElement("div",{role:"progressbar","aria-hidden":g?"true":"false","aria-label":"notification timer",className:C,style:w,[s&&d>=1?"onTransitionEnd":"onAnimationEnd"]:s&&d<1?null:()=>{h&&r()}})}const Sp=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:l}=wp(e),{closeButton:o,children:i,autoClose:u,onClick:s,type:d,hideProgressBar:v,closeToast:h,transition:m,position:g,className:w,style:k,bodyClassName:C,bodyStyle:f,progressClassName:c,progressStyle:p,updateId:y,role:x,progress:T,rtl:P,toastId:_,deleteToast:M,isIn:O,isLoading:J,iconOut:ee,closeOnClick:pe,theme:se}=e,Ze=mt("Toastify__toast",`Toastify__toast-theme--${se}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":P},{"Toastify__toast--close-on-click":pe}),le=ke(w)?w({rtl:P,position:g,type:d,defaultClassName:Ze}):mt(Ze,w),Ce=!!T||!u,E={closeToast:h,type:d,theme:se};let z=null;return o===!1||(z=ke(o)?o(E):R.isValidElement(o)?R.cloneElement(o,E):Ic(E)),$.createElement(m,{isIn:O,done:M,position:g,preventExitTransition:n,nodeRef:r},$.createElement("div",{id:_,onClick:s,className:le,...l,style:k,ref:r},$.createElement("div",{...O&&{role:x},className:ke(C)?C({type:d}):mt("Toastify__toast-body",C),style:f},ee!=null&&$.createElement("div",{className:mt("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!J})},ee),$.createElement("div",null,i)),z,$.createElement(kp,{...y&&!Ce?{key:`pb-${y}`}:{},rtl:P,theme:se,delay:u,isRunning:t,isIn:O,closeToast:h,hide:v,type:d,style:p,className:c,controlledProgress:Ce,progress:T||0})))},Ml=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},xp=Fl(Ml("bounce",!0));Fl(Ml("slide",!0));Fl(Ml("zoom"));Fl(Ml("flip"));const ai=R.forwardRef((e,t)=>{const{getToastToRender:n,containerRef:r,isToastActive:l}=yp(e),{className:o,style:i,rtl:u,containerId:s}=e;function d(v){const h=mt("Toastify__toast-container",`Toastify__toast-container--${v}`,{"Toastify__toast-container--rtl":u});return ke(o)?o({position:v,rtl:u,defaultClassName:h}):mt(h,Yr(o))}return R.useEffect(()=>{t&&(t.current=r.current)},[]),$.createElement("div",{ref:r,className:"Toastify",id:s},n((v,h)=>{const m=h.length?{...i}:{...i,pointerEvents:"none"};return $.createElement("div",{className:d(v),style:m,key:`container-${v}`},h.map((g,w)=>{let{content:k,props:C}=g;return $.createElement(Sp,{...C,isIn:l(C.toastId),style:{...C.style,"--nth":w+1,"--len":h.length},key:`toast-${C.key}`},k)}))}))});ai.displayName="ToastContainer",ai.defaultProps={position:"top-right",transition:xp,autoClose:5e3,closeButton:Ic,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let ho,Ot=new Map,jn=[],Ep=1;function jc(){return""+Ep++}function Cp(e){return e&&(Ht(e.toastId)||Qn(e.toastId))?e.toastId:jc()}function Wn(e,t){return Ot.size>0?Re.emit(0,e,t):jn.push({content:e,options:t}),t.toastId}function yl(e,t){return{...t,type:t&&t.type||e,toastId:Cp(t)}}function jr(e){return(t,n)=>Wn(t,yl(e,n))}function V(e,t){return Wn(e,yl("default",t))}V.loading=(e,t)=>Wn(e,yl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),V.promise=function(e,t,n){let r,{pending:l,error:o,success:i}=t;l&&(r=Ht(l)?V.loading(l,n):V.loading(l.render,{...n,...l}));const u={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},s=(v,h,m)=>{if(h==null)return void V.dismiss(r);const g={type:v,...u,...n,data:m},w=Ht(h)?{render:h}:h;return r?V.update(r,{...g,...w}):V(w.render,{...g,...w}),m},d=ke(e)?e():e;return d.then(v=>s("success",i,v)).catch(v=>s("error",o,v)),d},V.success=jr("success"),V.info=jr("info"),V.error=jr("error"),V.warning=jr("warning"),V.warn=V.warning,V.dark=(e,t)=>Wn(e,yl("default",{theme:"dark",...t})),V.dismiss=e=>{Ot.size>0?Re.emit(1,e):jn=jn.filter(t=>e!=null&&t.options.toastId!==e)},V.clearWaitingQueue=function(e){return e===void 0&&(e={}),Re.emit(5,e)},V.isActive=e=>{let t=!1;return Ot.forEach(n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)}),t},V.update=function(e,t){t===void 0&&(t={}),setTimeout(()=>{const n=function(r,l){let{containerId:o}=l;const i=Ot.get(o||ho);return i&&i.getToast(r)}(e,t);if(n){const{props:r,content:l}=n,o={delay:100,...r,...t,toastId:t.toastId||e,updateId:jc()};o.toastId!==e&&(o.staleId=e);const i=o.render||l;delete o.render,Wn(i,o)}},0)},V.done=e=>{V.update(e,{progress:1})},V.onChange=e=>(Re.on(4,e),()=>{Re.off(4,e)}),V.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},V.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},Re.on(2,e=>{ho=e.containerId||e,Ot.set(ho,e),jn.forEach(t=>{Re.emit(0,t.content,t.options)}),jn=[]}).on(3,e=>{Ot.delete(e.containerId||e),Ot.size===0&&Re.off(0).off(1).off(5)});const _p="/Text2Book/assets/copy-icon-c3cc64a5.png",Np="_blink_1gtj0_1",vs={blink:Np};function Tp(){const[e,t]=R.useState(0);return{blinkProps:{blink:e},onAnimationEnd:o=>{t(0);const i=o.target.closest(".listitem");i&&i.classList.add("noblink")},copyAndNotify:(o,i)=>{V("Copied!",{className:"font-bold text-green-600"});const u=o.target.closest(".listitem");u&&u.classList.remove("noblink"),t(1),navigator.clipboard.writeText(i)}}}function Pp(e){const{onAnimationEnd:t,copyAndNotify:n,blinkProps:r}=Tp();return e.results.map((l,o)=>N.jsxs("li",{className:`flex rounded border overflow-hidden h-12 mb-1 listitem noblink ${vs.blink} ${vs.noblink}`,...r,onAnimationEnd:t,children:[N.jsx("button",{onClick:i=>n(i,l),className:"w-12 bg-gray-300 h-full p-2 border-right group",children:N.jsx("img",{className:"p-1 group-hover:opacity-70 transition",src:_p})}),N.jsx("input",{className:"w-full p-2 opacity-80 font-mono h-full outline-none",type:"text",value:l,readOnly:!0}),N.jsx("div",{className:"text-xl p-2 bg-gray-300 select-none",children:o+1})]},o))}function Lp(){return N.jsx("footer",{className:"fixed bottom-0 p-2 left-0 w-full bg-white",children:N.jsxs("div",{className:"text-center w-full font-bold",children:["Made with ❤️ by ",N.jsx("a",{className:"text-blue-700 hover:underline",href:"https://github.com/TheWilley/text2book",target:"_blank",children:" TheWilley "})]})})}class a{constructor(t,n){$l(this,"_char");$l(this,"_dots");this._char=t,this._dots=n}set letter(t){this._char=t}get letter(){return this._char}set dots(t){this._dots=t}get dots(){return this._dots}}function zp(){return[new a("À",6),new a("Á",6),new a("Â",6),new a("È",6),new a("Ê",6),new a("Ë",6),new a("Í",4),new a("Ó",6),new a("Ô",6),new a("Õ",6),new a("Ú",6),new a("ß",6),new a("ã",6),new a("õ",6),new a("ğ",6),new a("İ",4),new a("ı",4),new a("Œ",6),new a("œ",7),new a("Ş",6),new a("ş",6),new a("Ŵ",6),new a("ŵ",6),new a("ž",6),new a("ȇ",6),new a("!",2),new a('"',5),new a("#",6),new a("$",6),new a("%",6),new a("&",6),new a("'",3),new a("(",5),new a(")",5),new a("*",5),new a("+",6),new a(",",2),new a("-",6),new a(".",2),new a("/",6),new a("0",6),new a("1",6),new a("2",6),new a("3",6),new a("4",6),new a("5",6),new a("6",6),new a("7",6),new a("8",6),new a("9",6),new a(":",2),new a(";",2),new a("<",5),new a("=",6),new a(">",5),new a("?",6),new a("@",7),new a("A",6),new a("B",6),new a("C",6),new a("D",6),new a("E",6),new a("F",6),new a("G",6),new a("H",6),new a("I",4),new a("J",6),new a("K",6),new a("L",6),new a("M",6),new a("N",6),new a("O",6),new a("P",6),new a("Q",6),new a("R",6),new a("S",6),new a("T",6),new a("U",6),new a("V",6),new a("W",6),new a("X",6),new a("Y",6),new a("Z",6),new a("[",4),new a("]",4),new a("^",6),new a("_",6),new a("`",3),new a("a",6),new a("b",6),new a("c",6),new a("d",6),new a("e",6),new a("f",5),new a("g",6),new a("h",6),new a("i",2),new a("j",6),new a("k",5),new a("l",3),new a("m",6),new a("n",6),new a("o",6),new a("p",6),new a("q",6),new a("r",6),new a("s",6),new a("t",4),new a("u",6),new a("v",6),new a("w",6),new a("x",6),new a("y",6),new a("z",6),new a("‘",3),new a("’",3),new a("{",5),new a("|",2),new a("}",5),new a("~",7),new a("–",7),new a("Ç",6),new a("ü",6),new a("é",6),new a("â",6),new a("ä",6),new a("à",6),new a("å",6),new a("ç",6),new a("ê",6),new a("ë",6),new a("è",6),new a("ï",4),new a("î",6),new a("ì",3),new a("Ä",6),new a("Å",6),new a("É",6),new a("æ",6),new a("Æ",6),new a("ô",6),new a("ö",6),new a("ò",6),new a("û",6),new a("ù",6),new a("ÿ",6),new a("Ö",6),new a("Ü",6),new a("ø",6),new a("£",6),new a("Ø",6),new a("×",4),new a("ƒ",6),new a("á",6),new a("í",3),new a("ó",6),new a("ú",6),new a("ñ",6),new a("Ñ",6),new a("ª",6),new a("º",6),new a("¿",6),new a("®",7),new a("¬",6),new a("½",6),new a("¼",6),new a("¡",2),new a("«",6),new a("»",6),new a("░",8),new a("▒",9),new a("▓",9),new a("│",6),new a("┤",6),new a("╡",6),new a("╢",8),new a("╖",8),new a("╕",6),new a("╣",8),new a("║",8),new a("╗",8),new a("╝",8),new a("╜",8),new a("╛",6),new a("┐",6),new a("└",9),new a("┴",9),new a("┬",9),new a("├",9),new a("─",9),new a("┼",9),new a("╞",9),new a("╟",9),new a("╚",9),new a("╔",9),new a("╩",9),new a("╦",9),new a("╠",9),new a("═",9),new a("╬",9),new a("╧",9),new a("╨",9),new a("╤",9),new a("╥",9),new a("╙",9),new a("╘",9),new a("╒",9),new a("╓",9),new a("╫",9),new a("╪",9),new a("┘",6),new a("┌",9),new a("█",9),new a("▄",9),new a("▌",5),new a("▐",9),new a("▀",9),new a("α",8),new a("β",7),new a("Γ",7),new a("π",8),new a("Σ",7),new a("σ",8),new a("μ",8),new a("τ",8),new a("Φ",7),new a("Θ",8),new a("Ω",8),new a("δ",7),new a("∞",9),new a("∅",9),new a("∈",6),new a("∩",7),new a("≡",7),new a("±",7),new a("≥",7),new a("≤",7),new a("⌠",9),new a("⌡",6),new a("÷",7),new a("≈",8),new a("°",7),new a("∙",6),new a("·",6),new a("√",9),new a("ⁿ",7),new a("²",6),new a("■",7),new a(" ",4),new a(` +`,0)]}function Rp(e,t,n,r){const l=Ip(e);return r==="text"?Mp(l):jp(l,t,n)}function Op(e){const t=[],n=zp(),r=114;let l=0,o="";for(let i=0;is.letter==e.charAt(i));if(!u){e=e.substring(0,i)+e.substring(i+1),i--;continue}l+=u.dots,o=e.substring(0,i+1),l>r&&(o=o.substring(0,o.length-1),t.push({word:o,value:l}),e=e.substring(i),l=0,i=-1)}return t.push({word:e,value:l}),t}function Ip(e){let t=[],n=[],r=0;const l=[],o=e.split(/(\n|\s+)/g);for(let i=0;i114)&&(r=n[u].value,l.push(t.join("")),t=[]),t.push(n[u].word)}return l.push(t.join("")),l.filter(i=>i!="")}function jp(e,t,n){const r=[],l=[...e];let o=0,i=0;for(let u=0;u<=e.length;u++)if(o++,o==1400||u==e.length){const s={lines:l.splice(0,o),author:t==""?"Author":t,title:`${n==""?"Book":n} [${i}]`},d=Fp(s.lines,s.author,s.title);o=0,i++,r.push(d)}return r}function Fp(e,t,n){let r="",l=0;const o=e.map(u=>{if(r+=u,l++,l==14){r=r.replace(/"/g,'\\\\"').replace(/'/g,"\\'"),r=r.trim(),r=r.replace(/\n/g,"\\\\n");const s=`'{"text":"${r}"}'`;return r="",l=0,s}else return null}).filter(u=>u!==null);if(r.length>0){r=r.replace(/"/g,'\\\\"').replace(/'/g,"\\'"),r=r.trim(),r=r.replace(/\n/g,"\\\\n");const u=`'{"text":"${r}"}'`;o.push(u)}const i={id:"minecraft:written_book",author:t,title:n,pages:o};return`/give @p ${i.id}{pages:[${i.pages.toString()}], title: "${i.title}", author: "${i.author}"}`}function Mp(e){const t=[],n=[...e];let r=0;for(let l=0;l<=e.length;l++)if(r++,r==14||l==e.length){const i={lines:n.splice(0,r)}.lines.join("");r=0,t.push(i)}return t}function Dp(){const[e,t]=R.useState([]),[n,r]=R.useState(0);return{results:e,allowedProps:{fadein:n},showResults:(i,u,s,d)=>{t(Rp(i,u,s,d)),r(1)},setFadeIn:r}}function $p(){const{results:e,showResults:t,allowedProps:n,setFadeIn:r}=Dp(),l=()=>N.jsx(ai,{position:"top-right",autoClose:1e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0,theme:"light"}),o=()=>N.jsxs(N.Fragment,{children:[N.jsx(l,{}),N.jsxs("div",{children:[N.jsx("h1",{className:"text-5xl font-mono mb-3",children:" Text2Book "}),N.jsx("p",{className:"mb-3 text-md",children:" Text to Minecraft book generator "})]})]});return N.jsxs(N.Fragment,{children:[N.jsxs("div",{className:"flex flex-col items-center bg-white",children:[N.jsx(o,{}),N.jsxs("div",{className:"max-w-3xl w-full bg-gray-100 p-6 rounded-lg shadow-md",children:[N.jsx(vp,{showResults:t}),N.jsx("div",{className:"mt-3",children:N.jsx("ol",{className:`list-decimal ${cp.fadein}`,onAnimationEnd:()=>r(0),...n,children:N.jsx(Pp,{results:e})})})]})]}),N.jsx(Lp,{})]})}vo.createRoot(document.getElementById("root")).render(N.jsx($.StrictMode,{children:N.jsx($p,{})})); diff --git a/index.html b/index.html index 3b83cdf..81a30c8 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,8 @@ Text2Book - - + +