diff --git a/assets/index-BCblHp-L.css b/assets/index-BCblHp-L.css deleted file mode 100644 index 95094ae..0000000 --- a/assets/index-BCblHp-L.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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}:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--ring: 222.2 84% 4.9%;--radius: .5rem}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,: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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.left-2{left:.5rem}.z-50{z-index:50}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.ml-auto{margin-left:auto}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-video{aspect-ratio:16 / 9}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-12{max-height:3rem}.max-h-full{max-height:100%}.min-h-\[100dvh\]{min-height:100dvh}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-20{width:5rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-full{width:100%}.min-w-\[8rem\]{min-width:8rem}.max-w-12{max-width:3rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.grow{flex-grow:1}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.content-center{align-content:center}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.place-self-center{place-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-primary{border-color:hsl(var(--primary))}.bg-background{background-color:hsl(var(--background))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-destructive{background-color:hsl(var(--destructive))}.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-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-4{padding:1rem}.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}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.text-center{text-align:center}.text-right{text-align:right}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.fade-in-80{--tw-enter-opacity: .8}.zoom-in-95{--tw-enter-scale: .95}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}@keyframes fadeInLeft{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.group:hover .group-hover\:animate-fadeInLeft{animation:fadeInLeft .5s ease-in-out}.group:hover .group-hover\:opacity-100{opacity:1}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.dark\:border-gray-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.dark\:bg-gray-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.dark\:bg-white:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-gray-50:is(.dark *){--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}}@media (min-width: 1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem}} diff --git a/assets/index-D2GI67P3.css b/assets/index-D2GI67P3.css new file mode 100644 index 0000000..58204b2 --- /dev/null +++ b/assets/index-D2GI67P3.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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}:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--ring: 222.2 84% 4.9%;--radius: .5rem}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,: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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.left-2{left:.5rem}.z-50{z-index:50}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.ml-1{margin-left:.25rem}.ml-auto{margin-left:auto}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-video{aspect-ratio:16 / 9}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-12{max-height:3rem}.max-h-full{max-height:100%}.min-h-\[100dvh\]{min-height:100dvh}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-20{width:5rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-full{width:100%}.min-w-\[8rem\]{min-width:8rem}.max-w-12{max-width:3rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.grow{flex-grow:1}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.content-center{align-content:center}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.place-self-center{place-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-primary{border-color:hsl(var(--primary))}.bg-background{background-color:hsl(var(--background))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-destructive{background-color:hsl(var(--destructive))}.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-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-4{padding:1rem}.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}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.text-center{text-align:center}.text-right{text-align:right}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.fade-in-80{--tw-enter-opacity: .8}.zoom-in-95{--tw-enter-scale: .95}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}@keyframes fadeInLeft{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.group:hover .group-hover\:animate-fadeInLeft{animation:fadeInLeft .5s ease-in-out}.group:hover .group-hover\:opacity-100{opacity:1}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.dark\:border-gray-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.dark\:bg-gray-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.dark\:bg-white:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-gray-50:is(.dark *){--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}}@media (min-width: 1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem}} diff --git a/assets/index-Bg2Pnpe-.js b/assets/index-j0_Qgfbj.js similarity index 97% rename from assets/index-Bg2Pnpe-.js rename to assets/index-j0_Qgfbj.js index 0b65508..12ec8a0 100644 --- a/assets/index-Bg2Pnpe-.js +++ b/assets/index-j0_Qgfbj.js @@ -123,4 +123,4 @@ dompurify/dist/purify.es.mjs: `)},np=function(){var e=parseInt(document.body.getAttribute(Xr)||"0",10);return isFinite(e)?e:0},ok=function(){c.useEffect(function(){return document.body.setAttribute(Xr,(np()+1).toString()),function(){var e=np()-1;e<=0?document.body.removeAttribute(Xr):document.body.setAttribute(Xr,e.toString())}},[])},ik=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;ok();var i=c.useMemo(function(){return tk(o)},[o]);return c.createElement(nk,{styles:rk(i,!t,o,n?"":"!important")})},Ou=!1;if(typeof window<"u")try{var ts=Object.defineProperty({},"passive",{get:function(){return Ou=!0,!0}});window.addEventListener("test",ts,ts),window.removeEventListener("test",ts,ts)}catch{Ou=!1}var br=Ou?{passive:!1}:!1,sk=function(e){return e.tagName==="TEXTAREA"},uv=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!sk(e)&&n[t]==="visible")},lk=function(e){return uv(e,"overflowY")},ak=function(e){return uv(e,"overflowX")},rp=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=cv(e,r);if(o){var i=dv(e,r),s=i[1],l=i[2];if(s>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},uk=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ck=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},cv=function(e,t){return e==="v"?lk(t):ak(t)},dv=function(e,t){return e==="v"?uk(t):ck(t)},dk=function(e,t){return e==="h"&&t==="rtl"?-1:1},fk=function(e,t,n,r,o){var i=dk(e,window.getComputedStyle(t).direction),s=i*r,l=n.target,a=t.contains(l),u=!1,f=s>0,d=0,p=0;do{var v=dv(e,l),g=v[0],y=v[1],S=v[2],m=y-S-i*g;(g||m)&&cv(e,l)&&(d+=m,p+=g),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!a&&l!==document.body||a&&(t.contains(l)||t===l));return(f&&(Math.abs(d)<1||!o)||!f&&(Math.abs(p)<1||!o))&&(u=!0),u},ns=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},op=function(e){return[e.deltaX,e.deltaY]},ip=function(e){return e&&"current"in e?e.current:e},pk=function(e,t){return e[0]===t[0]&&e[1]===t[1]},mk=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},hk=0,kr=[];function gk(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),o=c.useState(hk++)[0],i=c.useState(av)[0],s=c.useRef(e);c.useEffect(function(){s.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var y=Db([e.lockRef.current],(e.shards||[]).map(ip),!0).filter(Boolean);return y.forEach(function(S){return S.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),y.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=c.useCallback(function(y,S){if("touches"in y&&y.touches.length===2)return!s.current.allowPinchZoom;var m=ns(y),h=n.current,x="deltaX"in y?y.deltaX:h[0]-m[0],C="deltaY"in y?y.deltaY:h[1]-m[1],b,R=y.target,k=Math.abs(x)>Math.abs(C)?"h":"v";if("touches"in y&&k==="h"&&R.type==="range")return!1;var T=rp(k,R);if(!T)return!0;if(T?b=k:(b=k==="v"?"h":"v",T=rp(k,R)),!T)return!1;if(!r.current&&"changedTouches"in y&&(x||C)&&(r.current=b),!b)return!0;var z=r.current||b;return fk(z,S,y,z==="h"?x:C,!0)},[]),a=c.useCallback(function(y){var S=y;if(!(!kr.length||kr[kr.length-1]!==i)){var m="deltaY"in S?op(S):ns(S),h=t.current.filter(function(b){return b.name===S.type&&(b.target===S.target||S.target===b.shadowParent)&&pk(b.delta,m)})[0];if(h&&h.should){S.cancelable&&S.preventDefault();return}if(!h){var x=(s.current.shards||[]).map(ip).filter(Boolean).filter(function(b){return b.contains(S.target)}),C=x.length>0?l(S,x[0]):!s.current.noIsolation;C&&S.cancelable&&S.preventDefault()}}},[]),u=c.useCallback(function(y,S,m,h){var x={name:y,delta:S,target:m,should:h,shadowParent:vk(m)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(C){return C!==x})},1)},[]),f=c.useCallback(function(y){n.current=ns(y),r.current=void 0},[]),d=c.useCallback(function(y){u(y.type,op(y),y.target,l(y,e.lockRef.current))},[]),p=c.useCallback(function(y){u(y.type,ns(y),y.target,l(y,e.lockRef.current))},[]);c.useEffect(function(){return kr.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",a,br),document.addEventListener("touchmove",a,br),document.addEventListener("touchstart",f,br),function(){kr=kr.filter(function(y){return y!==i}),document.removeEventListener("wheel",a,br),document.removeEventListener("touchmove",a,br),document.removeEventListener("touchstart",f,br)}},[]);var v=e.removeScrollBar,g=e.inert;return c.createElement(c.Fragment,null,g?c.createElement(i,{styles:mk(o)}):null,v?c.createElement(ik,{gapMode:e.gapMode}):null)}function vk(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const yk=Kb(lv,gk);var fv=c.forwardRef(function(e,t){return c.createElement(kl,Yt({},e,{ref:t,sideCar:yk}))});fv.classNames=kl.classNames;var Iu=["Enter"," "],xk=["ArrowDown","PageUp","Home"],pv=["ArrowUp","PageDown","End"],wk=[...xk,...pv],Sk={ltr:[...Iu,"ArrowRight"],rtl:[...Iu,"ArrowLeft"]},Ck={ltr:["ArrowLeft"],rtl:["ArrowRight"]},ki="Menu",[pi,Ek,bk]=$E(ki),[gr,mv]=Bg(ki,[bk,yl,qg]),Rl=yl(),hv=qg(),[kk,vr]=gr(ki),[Rk,Ri]=gr(ki),gv=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:s=!0}=e,l=Rl(t),[a,u]=c.useState(null),f=c.useRef(!1),d=fr(i),p=DE(o);return c.useEffect(()=>{const v=()=>{f.current=!0,document.addEventListener("pointerdown",g,{capture:!0,once:!0}),document.addEventListener("pointermove",g,{capture:!0,once:!0})},g=()=>f.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",g,{capture:!0}),document.removeEventListener("pointermove",g,{capture:!0})}},[]),w.jsx(bg,{...l,children:w.jsx(kk,{scope:t,open:n,onOpenChange:d,content:a,onContentChange:u,children:w.jsx(Rk,{scope:t,onClose:c.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:f,dir:p,modal:s,children:r})})})};gv.displayName=ki;var Nk="MenuAnchor",Vc=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Rl(n);return w.jsx(kg,{...o,...r,ref:t})});Vc.displayName=Nk;var Wc="MenuPortal",[Pk,vv]=gr(Wc,{forceMount:void 0}),yv=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=vr(Wc,t);return w.jsx(Pk,{scope:t,forceMount:n,children:w.jsx(bi,{present:n||i.open,children:w.jsx(Yg,{asChild:!0,container:o,children:r})})})};yv.displayName=Wc;var bt="MenuContent",[Tk,Hc]=gr(bt),xv=c.forwardRef((e,t)=>{const n=vv(bt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=vr(bt,e.__scopeMenu),s=Ri(bt,e.__scopeMenu);return w.jsx(pi.Provider,{scope:e.__scopeMenu,children:w.jsx(bi,{present:r||i.open,children:w.jsx(pi.Slot,{scope:e.__scopeMenu,children:s.modal?w.jsx(_k,{...o,ref:t}):w.jsx(Mk,{...o,ref:t})})})})}),_k=c.forwardRef((e,t)=>{const n=vr(bt,e.__scopeMenu),r=c.useRef(null),o=Vt(t,r);return c.useEffect(()=>{const i=r.current;if(i)return Lb(i)},[]),w.jsx(Kc,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Se(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Mk=c.forwardRef((e,t)=>{const n=vr(bt,e.__scopeMenu);return w.jsx(Kc,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Kc=c.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:l,onEntryFocus:a,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:p,onDismiss:v,disableOutsideScroll:g,...y}=e,S=vr(bt,n),m=Ri(bt,n),h=Rl(n),x=hv(n),C=Ek(n),[b,R]=c.useState(null),k=c.useRef(null),T=Vt(t,k,S.onContentChange),z=c.useRef(0),O=c.useRef(""),W=c.useRef(0),B=c.useRef(null),Y=c.useRef("right"),D=c.useRef(0),H=g?fv:c.Fragment,K=g?{as:fi,allowPinchZoom:!0}:void 0,G=N=>{var xe,A;const $=O.current+N,L=C().filter(_=>!_.disabled),F=document.activeElement,ie=(xe=L.find(_=>_.ref.current===F))==null?void 0:xe.textValue,X=L.map(_=>_.textValue),ye=Vk(X,$,ie),J=(A=L.find(_=>_.textValue===ye))==null?void 0:A.ref.current;(function _(Q){O.current=Q,window.clearTimeout(z.current),Q!==""&&(z.current=window.setTimeout(()=>_(""),1e3))})($),J&&setTimeout(()=>J.focus())};c.useEffect(()=>()=>window.clearTimeout(z.current),[]),GE();const P=c.useCallback(N=>{var L,F;return Y.current===((L=B.current)==null?void 0:L.side)&&Hk(N,(F=B.current)==null?void 0:F.area)},[]);return w.jsx(Tk,{scope:n,searchRef:O,onItemEnter:c.useCallback(N=>{P(N)&&N.preventDefault()},[P]),onItemLeave:c.useCallback(N=>{var $;P(N)||(($=k.current)==null||$.focus(),R(null))},[P]),onTriggerLeave:c.useCallback(N=>{P(N)&&N.preventDefault()},[P]),pointerGraceTimerRef:W,onPointerGraceIntentChange:c.useCallback(N=>{B.current=N},[]),children:w.jsx(H,{...K,children:w.jsx(Kg,{asChild:!0,trapped:o,onMountAutoFocus:Se(i,N=>{var $;N.preventDefault(),($=k.current)==null||$.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:w.jsx(Wg,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:p,onDismiss:v,children:w.jsx(Mb,{asChild:!0,...x,dir:m.dir,orientation:"vertical",loop:r,currentTabStopId:b,onCurrentTabStopIdChange:R,onEntryFocus:Se(a,N=>{m.isUsingKeyboardRef.current||N.preventDefault()}),preventScrollOnEntryFocus:!0,children:w.jsx(Rg,{role:"menu","aria-orientation":"vertical","data-state":$v(S.open),"data-radix-menu-content":"",dir:m.dir,...h,...y,ref:T,style:{outline:"none",...y.style},onKeyDown:Se(y.onKeyDown,N=>{const L=N.target.closest("[data-radix-menu-content]")===N.currentTarget,F=N.ctrlKey||N.altKey||N.metaKey,ie=N.key.length===1;L&&(N.key==="Tab"&&N.preventDefault(),!F&&ie&&G(N.key));const X=k.current;if(N.target!==X||!wk.includes(N.key))return;N.preventDefault();const J=C().filter(xe=>!xe.disabled).map(xe=>xe.ref.current);pv.includes(N.key)&&J.reverse(),Bk(J)}),onBlur:Se(e.onBlur,N=>{N.currentTarget.contains(N.target)||(window.clearTimeout(z.current),O.current="")}),onPointerMove:Se(e.onPointerMove,mi(N=>{const $=N.target,L=D.current!==N.clientX;if(N.currentTarget.contains($)&&L){const F=N.clientX>D.current?"right":"left";Y.current=F,D.current=N.clientX}}))})})})})})})});xv.displayName=bt;var Ak="MenuGroup",Gc=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return w.jsx(xn.div,{role:"group",...r,ref:t})});Gc.displayName=Ak;var Ok="MenuLabel",wv=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return w.jsx(xn.div,{...r,ref:t})});wv.displayName=Ok;var Qs="MenuItem",sp="menu.itemSelect",Nl=c.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=c.useRef(null),s=Ri(Qs,e.__scopeMenu),l=Hc(Qs,e.__scopeMenu),a=Vt(t,i),u=c.useRef(!1),f=()=>{const d=i.current;if(!n&&d){const p=new CustomEvent(sp,{bubbles:!0,cancelable:!0});d.addEventListener(sp,v=>r==null?void 0:r(v),{once:!0}),Ug(d,p),p.defaultPrevented?u.current=!1:s.onClose()}};return w.jsx(Sv,{...o,ref:a,disabled:n,onClick:Se(e.onClick,f),onPointerDown:d=>{var p;(p=e.onPointerDown)==null||p.call(e,d),u.current=!0},onPointerUp:Se(e.onPointerUp,d=>{var p;u.current||(p=d.currentTarget)==null||p.click()}),onKeyDown:Se(e.onKeyDown,d=>{const p=l.searchRef.current!=="";n||p&&d.key===" "||Iu.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});Nl.displayName=Qs;var Sv=c.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,s=Hc(Qs,n),l=hv(n),a=c.useRef(null),u=Vt(t,a),[f,d]=c.useState(!1),[p,v]=c.useState("");return c.useEffect(()=>{const g=a.current;g&&v((g.textContent??"").trim())},[i.children]),w.jsx(pi.ItemSlot,{scope:n,disabled:r,textValue:o??p,children:w.jsx(Ab,{asChild:!0,...l,focusable:!r,children:w.jsx(xn.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:u,onPointerMove:Se(e.onPointerMove,mi(g=>{r?s.onItemLeave(g):(s.onItemEnter(g),g.defaultPrevented||g.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Se(e.onPointerLeave,mi(g=>s.onItemLeave(g))),onFocus:Se(e.onFocus,()=>d(!0)),onBlur:Se(e.onBlur,()=>d(!1))})})})}),Ik="MenuCheckboxItem",Cv=c.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return w.jsx(Nv,{scope:e.__scopeMenu,checked:n,children:w.jsx(Nl,{role:"menuitemcheckbox","aria-checked":Zs(n)?"mixed":n,...o,ref:t,"data-state":Xc(n),onSelect:Se(o.onSelect,()=>r==null?void 0:r(Zs(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Cv.displayName=Ik;var Ev="MenuRadioGroup",[$k,Lk]=gr(Ev,{value:void 0,onValueChange:()=>{}}),bv=c.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,i=fr(r);return w.jsx($k,{scope:e.__scopeMenu,value:n,onValueChange:i,children:w.jsx(Gc,{...o,ref:t})})});bv.displayName=Ev;var kv="MenuRadioItem",Rv=c.forwardRef((e,t)=>{const{value:n,...r}=e,o=Lk(kv,e.__scopeMenu),i=n===o.value;return w.jsx(Nv,{scope:e.__scopeMenu,checked:i,children:w.jsx(Nl,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":Xc(i),onSelect:Se(r.onSelect,()=>{var s;return(s=o.onValueChange)==null?void 0:s.call(o,n)},{checkForDefaultPrevented:!1})})})});Rv.displayName=kv;var Yc="MenuItemIndicator",[Nv,Dk]=gr(Yc,{checked:!1}),Pv=c.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=Dk(Yc,n);return w.jsx(bi,{present:r||Zs(i.checked)||i.checked===!0,children:w.jsx(xn.span,{...o,ref:t,"data-state":Xc(i.checked)})})});Pv.displayName=Yc;var jk="MenuSeparator",Tv=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return w.jsx(xn.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});Tv.displayName=jk;var zk="MenuArrow",_v=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Rl(n);return w.jsx(Ng,{...o,...r,ref:t})});_v.displayName=zk;var Fk="MenuSub",[H2,Mv]=gr(Fk),$o="MenuSubTrigger",Av=c.forwardRef((e,t)=>{const n=vr($o,e.__scopeMenu),r=Ri($o,e.__scopeMenu),o=Mv($o,e.__scopeMenu),i=Hc($o,e.__scopeMenu),s=c.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:a}=i,u={__scopeMenu:e.__scopeMenu},f=c.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return c.useEffect(()=>f,[f]),c.useEffect(()=>{const d=l.current;return()=>{window.clearTimeout(d),a(null)}},[l,a]),w.jsx(Vc,{asChild:!0,...u,children:w.jsx(Sv,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":$v(n.open),...e,ref:Bc(t,o.onTriggerChange),onClick:d=>{var p;(p=e.onClick)==null||p.call(e,d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Se(e.onPointerMove,mi(d=>{i.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!n.open&&!s.current&&(i.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:Se(e.onPointerLeave,mi(d=>{var v,g;f();const p=(v=n.content)==null?void 0:v.getBoundingClientRect();if(p){const y=(g=n.content)==null?void 0:g.dataset.side,S=y==="right",m=S?-5:5,h=p[S?"left":"right"],x=p[S?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+m,y:d.clientY},{x:h,y:p.top},{x,y:p.top},{x,y:p.bottom},{x:h,y:p.bottom}],side:y}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d),d.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:Se(e.onKeyDown,d=>{var v;const p=i.searchRef.current!=="";e.disabled||p&&d.key===" "||Sk[r.dir].includes(d.key)&&(n.onOpenChange(!0),(v=n.content)==null||v.focus(),d.preventDefault())})})})});Av.displayName=$o;var Ov="MenuSubContent",Iv=c.forwardRef((e,t)=>{const n=vv(bt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=vr(bt,e.__scopeMenu),s=Ri(bt,e.__scopeMenu),l=Mv(Ov,e.__scopeMenu),a=c.useRef(null),u=Vt(t,a);return w.jsx(pi.Provider,{scope:e.__scopeMenu,children:w.jsx(bi,{present:r||i.open,children:w.jsx(pi.Slot,{scope:e.__scopeMenu,children:w.jsx(Kc,{id:l.contentId,"aria-labelledby":l.triggerId,...o,ref:u,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var d;s.isUsingKeyboardRef.current&&((d=a.current)==null||d.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:Se(e.onFocusOutside,f=>{f.target!==l.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:Se(e.onEscapeKeyDown,f=>{s.onClose(),f.preventDefault()}),onKeyDown:Se(e.onKeyDown,f=>{var v;const d=f.currentTarget.contains(f.target),p=Ck[s.dir].includes(f.key);d&&p&&(i.onOpenChange(!1),(v=l.trigger)==null||v.focus(),f.preventDefault())})})})})})});Iv.displayName=Ov;function $v(e){return e?"open":"closed"}function Zs(e){return e==="indeterminate"}function Xc(e){return Zs(e)?"indeterminate":e?"checked":"unchecked"}function Bk(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Uk(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Vk(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=Uk(e,Math.max(i,0));o.length===1&&(s=s.filter(u=>u!==n));const a=s.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}function Wk(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;ir!=f>r&&n<(u-l)*(r-a)/(f-a)+l&&(o=!o)}return o}function Hk(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return Wk(n,t)}function mi(e){return t=>t.pointerType==="mouse"?e(t):void 0}var Kk=gv,Gk=Vc,Yk=yv,Xk=xv,Qk=Gc,Zk=wv,Jk=Nl,qk=Cv,e2=bv,t2=Rv,n2=Pv,r2=Tv,o2=_v,i2=Av,s2=Iv;function l2(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}var Qc="ContextMenu",[a2,K2]=xE(Qc,[mv]),Je=mv(),[u2,Lv]=a2(Qc),Dv=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,dir:o,modal:i=!0}=e,[s,l]=c.useState(!1),a=Je(t),u=l2(r),f=c.useCallback(d=>{l(d),u(d)},[u]);return w.jsx(u2,{scope:t,open:s,onOpenChange:f,modal:i,children:w.jsx(Kk,{...a,dir:o,open:s,onOpenChange:f,modal:i,children:n})})};Dv.displayName=Qc;var jv="ContextMenuTrigger",zv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,disabled:r=!1,...o}=e,i=Lv(jv,n),s=Je(n),l=c.useRef({x:0,y:0}),a=c.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...l.current})}),u=c.useRef(0),f=c.useCallback(()=>window.clearTimeout(u.current),[]),d=p=>{l.current={x:p.clientX,y:p.clientY},i.onOpenChange(!0)};return c.useEffect(()=>f,[f]),c.useEffect(()=>void(r&&f()),[r,f]),w.jsxs(w.Fragment,{children:[w.jsx(Gk,{...s,virtualRef:a}),w.jsx(PE.span,{"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,...o,ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:r?e.onContextMenu:_o(e.onContextMenu,p=>{f(),d(p),p.preventDefault()}),onPointerDown:r?e.onPointerDown:_o(e.onPointerDown,rs(p=>{f(),u.current=window.setTimeout(()=>d(p),700)})),onPointerMove:r?e.onPointerMove:_o(e.onPointerMove,rs(f)),onPointerCancel:r?e.onPointerCancel:_o(e.onPointerCancel,rs(f)),onPointerUp:r?e.onPointerUp:_o(e.onPointerUp,rs(f))})]})});zv.displayName=jv;var c2="ContextMenuPortal",Fv=e=>{const{__scopeContextMenu:t,...n}=e,r=Je(t);return w.jsx(Yk,{...r,...n})};Fv.displayName=c2;var Bv="ContextMenuContent",Uv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Lv(Bv,n),i=Je(n),s=c.useRef(!1);return w.jsx(Xk,{...i,...r,ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:l=>{var a;(a=e.onCloseAutoFocus)==null||a.call(e,l),!l.defaultPrevented&&s.current&&l.preventDefault(),s.current=!1},onInteractOutside:l=>{var a;(a=e.onInteractOutside)==null||a.call(e,l),!l.defaultPrevented&&!o.modal&&(s.current=!0)},style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Uv.displayName=Bv;var d2="ContextMenuGroup",f2=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(Qk,{...o,...r,ref:t})});f2.displayName=d2;var p2="ContextMenuLabel",Vv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(Zk,{...o,...r,ref:t})});Vv.displayName=p2;var m2="ContextMenuItem",Wv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(Jk,{...o,...r,ref:t})});Wv.displayName=m2;var h2="ContextMenuCheckboxItem",Hv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(qk,{...o,...r,ref:t})});Hv.displayName=h2;var g2="ContextMenuRadioGroup",v2=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(e2,{...o,...r,ref:t})});v2.displayName=g2;var y2="ContextMenuRadioItem",Kv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(t2,{...o,...r,ref:t})});Kv.displayName=y2;var x2="ContextMenuItemIndicator",Gv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(n2,{...o,...r,ref:t})});Gv.displayName=x2;var w2="ContextMenuSeparator",Yv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(r2,{...o,...r,ref:t})});Yv.displayName=w2;var S2="ContextMenuArrow",C2=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(o2,{...o,...r,ref:t})});C2.displayName=S2;var E2="ContextMenuSubTrigger",Xv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(i2,{...o,...r,ref:t})});Xv.displayName=E2;var b2="ContextMenuSubContent",Qv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(s2,{...o,...r,ref:t,style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Qv.displayName=b2;function rs(e){return t=>t.pointerType!=="mouse"?e(t):void 0}var k2=Dv,R2=zv,N2=Fv,Zv=Uv,Jv=Vv,qv=Wv,ey=Hv,ty=Kv,ny=Gv,ry=Yv,oy=Xv,iy=Qv;const P2=k2,T2=R2,_2=c.forwardRef(({className:e,inset:t,children:n,...r},o)=>w.jsxs(oy,{ref:o,className:Pt("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...r,children:[n,w.jsx(vE,{className:"ml-auto h-4 w-4"})]}));_2.displayName=oy.displayName;const M2=c.forwardRef(({className:e,...t},n)=>w.jsx(iy,{ref:n,className:Pt("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));M2.displayName=iy.displayName;const sy=c.forwardRef(({className:e,...t},n)=>w.jsx(N2,{children:w.jsx(Zv,{ref:n,className:Pt("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})}));sy.displayName=Zv.displayName;const Lo=c.forwardRef(({className:e,inset:t,...n},r)=>w.jsx(qv,{ref:r,className:Pt("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n}));Lo.displayName=qv.displayName;const A2=c.forwardRef(({className:e,children:t,checked:n,...r},o)=>w.jsxs(ey,{ref:o,className:Pt("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[w.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:w.jsx(ny,{children:w.jsx(gE,{className:"h-4 w-4"})})}),t]}));A2.displayName=ey.displayName;const O2=c.forwardRef(({className:e,children:t,...n},r)=>w.jsxs(ty,{ref:r,className:Pt("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[w.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:w.jsx(ny,{children:w.jsx(yE,{className:"h-2 w-2 fill-current"})})}),t]}));O2.displayName=ty.displayName;const I2=c.forwardRef(({className:e,inset:t,...n},r)=>w.jsx(Jv,{ref:r,className:Pt("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",e),...n}));I2.displayName=Jv.displayName;const ly=c.forwardRef(({className:e,...t},n)=>w.jsx(ry,{ref:n,className:Pt("-mx-1 my-1 h-px bg-border",e),...t}));ly.displayName=ry.displayName;const ws=({className:e,...t})=>w.jsx("span",{className:Pt("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});ws.displayName="ContextMenuShortcut";function $2(){const[e,t]=c.useState(null),[n,r]=c.useState(!1),[o,i]=c.useState(0),[s,l]=c.useState(85),[a,u]=c.useState(65),[f,d]=c.useState(255),[p,v]=c.useState(0),[g,y]=c.useState(0),[S,m]=c.useState("#FF0000"),[h,x]=c.useState("hsl"),C=(A,_,Q)=>`#${((1<<24)+(A<<16)+(_<<8)+Q).toString(16).slice(1)}`;c.useEffect(()=>{localStorage.removeItem("uploadedImage")},[]),c.useEffect(()=>{const A=k(o,s,a);d(A.r),v(A.g),y(A.b),m(C(A.r,A.g,A.b))},[]),c.useEffect(()=>{const A=localStorage.getItem("uploadedImage");A&&(t(A),b(A))},[n]);const b=A=>{const _=new Image;_.src=A,_.onload=()=>{const Q=document.createElement("canvas"),ne=Q.getContext("2d");Q.width=_.width,Q.height=_.height,ne.drawImage(_,0,0,_.width,_.height);const le=ne.getImageData(0,0,_.width,_.height).data,me=[];for(let te=0;te0){const Mt=C(Tt,vt,_t);me.push(Mt)}}const ee={};me.forEach(te=>{te in ee?ee[te]+=1:ee[te]=1});const Oe=Object.keys(ee).sort((te,Tt)=>ee[Tt]-ee[te])[0],Ie=T(Oe);z(Ie.r,Ie.g,Ie.b)}},R=A=>{const _=A.target,Q=document.createElement("canvas"),ne=Q.getContext("2d");Q.width=_.width,Q.height=_.height,ne.drawImage(_,0,0,_.width,_.height);const se=_.getBoundingClientRect(),le=_.width/se.width,me=_.height/se.height,ee=(A.clientX-se.left)*le,de=(A.clientY-se.top)*me,Oe=ne.getImageData(ee,de,1,1).data,[Ie,te,Tt]=Oe;d(Ie),v(te),y(Tt),m(C(Ie,te,Tt));const vt=z(Ie,te,Tt);i(vt.h),l(vt.s),u(vt.l),Le.success("Color picked from image",{action:{label:"Close",onClick:()=>Le.dismiss()}})},k=(A,_,Q)=>{A/=360,_/=100,Q/=100;let ne,se,le;if(_===0)ne=se=le=Q;else{const me=(Oe,Ie,te)=>(te<0&&(te+=1),te>1&&(te-=1),te<.16666666666666666?Oe+(Ie-Oe)*6*te:te<.5?Ie:te<.6666666666666666?Oe+(Ie-Oe)*(.6666666666666666-te)*6:Oe),ee=Q<.5?Q*(1+_):Q+_-Q*_,de=2*Q-ee;ne=me(de,ee,A+1/3),se=me(de,ee,A),le=me(de,ee,A-1/3)}return{r:Math.round(ne*255),g:Math.round(se*255),b:Math.round(le*255)}},T=A=>{const _=A.replace(/#/,"").match(/.{1,2}/g);return{r:parseInt(_[0],16),g:parseInt(_[1],16),b:parseInt(_[2],16)}},z=(A,_,Q)=>{A/=255,_/=255,Q/=255;const ne=Math.max(A,_,Q),se=Math.min(A,_,Q);let le,me,ee=(ne+se)/2;if(ne===se)le=me=0;else{const de=ne-se;switch(me=ee>.5?de/(2-ne-se):de/(ne+se),ne){case A:le=(_-Q)/de+(_Le.dismiss()}})}function W(){navigator.clipboard.writeText(S),Le.success("Copied HEX value to clipboard",{action:{label:"Close",onClick:()=>Le.dismiss()}})}function B(){navigator.clipboard.writeText(`${o}°, ${s}%, ${a}%`),Le.success("Copied HSL value to clipboard",{action:{label:"Close",onClick:()=>Le.dismiss()}})}const Y=A=>{i(A);const _=k(A,s,a);d(_.r),v(_.g),y(_.b),m(C(_.r,_.g,_.b))},D=A=>{l(A);const _=k(o,A,a);d(_.r),v(_.g),y(_.b),m(C(_.r,_.g,_.b))},H=A=>{u(A);const _=k(o,s,A);d(_.r),v(_.g),y(_.b),m(C(_.r,_.g,_.b))},K=(A,_,Q)=>{const ne=k(A,_,Q);return C(ne.r,ne.g,ne.b)},G=A=>{d(A);const _=z(A,p,g);i(_.h),l(_.s),u(_.l),m(K(_.h,_.s,_.l))},P=A=>{v(A);const _=z(f,A,g);i(_.h),l(_.s),u(_.l),m(K(_.h,_.s,_.l))},N=A=>{y(A);const _=z(f,p,A);i(_.h),l(_.s),u(_.l),m(K(_.h,_.s,_.l))},$=()=>{x(h==="hsl"?"rgb":"hsl"),Le.success(`Successfully Switched to ${h==="hsl"?"RGB":"HSL"} mode`,{action:{label:"Close",onClick:()=>Le.dismiss()}})},L=()=>{x("hsl"),Le.success("Successfully Switched to HSL mode",{action:{label:"Close",onClick:()=>Le.dismiss()}})},F=()=>{x("rgb"),Le.success("Successfully Switched to RGB mode",{action:{label:"Close",onClick:()=>Le.dismiss()}})},ie=navigator.userAgent.includes("Macintosh")||navigator.userAgent.includes("MacIntel"),X=ie?"⌘Z":"Ctrl+Z",ye=ie?"⌘X":"Ctrl+X",J=ie?"⌘C":"Ctrl+C",xe=A=>{const _=A.metaKey||A.ctrlKey,Q=A.shiftKey,ne=A.altKey,se=A.key==="z"||A.key==="Z",le=A.key==="x"||A.key==="X",me=A.key==="c"||A.key==="C";_&&se&&!Q&&!ne?(A.preventDefault(),W()):_&&le&&!Q&&!ne?(A.preventDefault(),O()):_&&me&&!Q&&!ne&&(A.preventDefault(),B())};return c.useEffect(()=>(window.addEventListener("keydown",xe),()=>{window.removeEventListener("keydown",xe)}),[]),n?w.jsxs(P2,{children:[w.jsx(T2,{children:w.jsxs("div",{className:"flex flex-col items-center justify-center p-4 h-screen bg-gray-100 dark:bg-gray-950 ",children:[w.jsx($h,{}),w.jsx("div",{className:"max-w-3xl w-full bg-white dark:bg-gray-900 rounded-lg shadow-lg overflow-hidden",style:{minHeight:"300px",minWidth:"700px"},children:w.jsxs("div",{className:"grid grid-cols-2 gap-6 p-6",children:[w.jsxs("div",{className:"relative flex justify-center items-center h-full",children:[w.jsx("img",{alt:"Uploaded Image",className:"w-full h-full object-cover rounded-lg",height:500,src:"/placeholder.svg",style:{aspectRatio:"500/500",objectFit:"cover"},width:500}),w.jsx("div",{className:"absolute inset-0 flex items-center justify-center border-black",style:{userSelect:"none",overflow:"hidden",scrollbarWidth:"none"},children:w.jsx("div",{className:"max-w-full max-h-full relative bg-black dark:bg-white rounded-lg border-black shadow-lg object-cover content-center overflow-auto",style:{aspectRatio:"500/500",objectFit:"cover",scrollbarWidth:"none"},children:e!==null?w.jsx("img",{src:e,onClick:R,alt:"Uploaded Image",className:"object-contain place-self-center"}):w.jsx(L2,{className:"w-6 h-6 text-gray-500 dark:text-gray-400"})})})]}),w.jsxs("div",{className:"flex flex-col gap-6",children:[w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 h-16 rounded-full border-4 border-gray-200 dark:border-gray-800 flex items-center justify-center",children:w.jsx("div",{className:"w-10 h-10 rounded-full border",style:{backgroundColor:C(f,p,g)}})}),w.jsxs("div",{className:"flex-1 grid gap-1",children:[w.jsx("div",{className:"w-20 text-sm font-medium text-gray-500 dark:text-gray-400",children:"HEX"}),w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"text-lg font-semibold text-gray-900 dark:text-gray-50",children:S}),w.jsx(No,{children:w.jsxs(Po,{children:[w.jsx(To,{children:w.jsx(Rr,{variant:"ghost",onClick:W,className:"max-h-12 max-w-12",children:w.jsx(D2,{className:"w-4 h-4 text-gray-500 dark:text-gray-400"})})}),w.jsx(Nr,{children:w.jsx("span",{className:"text-sm text-muted-foreground",children:"Copy HEX"})})]})})]})]})]}),h==="hsl"?w.jsxs("div",{className:"grid gap-4",children:[w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Hue"}),w.jsx(qn,{className:"flex-1",value:[o],max:360,step:1,onValueChange:A=>Y(A)}),w.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[o,"°"]})]}),w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Saturation"}),w.jsx(qn,{className:"flex-1",value:[s],max:100,step:1,onValueChange:A=>D(A)}),w.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[s,"%"]})]}),w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Lightness"}),w.jsx(qn,{className:"flex-1",value:[a],max:100,step:1,onValueChange:A=>H(A)}),w.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[a,"%"]})]})]}):h==="rgb"?w.jsxs("div",{className:"grid gap-4",children:[w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Red"}),w.jsx(qn,{className:"flex-1",value:[f],max:255,step:1,onValueChange:A=>G(A)}),w.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[f,"/255"]})]}),w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Green"}),w.jsx(qn,{className:"flex-1",value:[p],max:255,step:1,onValueChange:A=>P(A)}),w.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[p,"/255"]})]}),w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Blue"}),w.jsx(qn,{className:"flex-1",value:[g],max:255,step:1,onValueChange:A=>N(A)}),w.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[g,"/255"]})]})]}):null,w.jsxs("div",{className:"grid gap-2",children:[w.jsxs("div",{className:"flex items-center gap-4 group",children:[w.jsx(No,{children:w.jsxs(Po,{children:[w.jsx(To,{children:w.jsx(Rr,{variant:"ghost",onClick:O,className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"RGB"})}),w.jsx(Nr,{children:w.jsx("span",{className:"text-sm text-muted-foreground",children:"Copy RGB"})})]})}),w.jsxs("div",{className:"flex-1 text-lg font-semibold text-gray-900 dark:text-gray-50",children:[f,", ",p,", ",g]}),w.jsx(No,{children:w.jsxs(Po,{children:[w.jsx(To,{children:w.jsx(Rr,{variant:"outline",size:"icon",className:"h-8 w-8 text-right opacity-0 group-hover:opacity-100 group-hover:animate-fadeInLeft",onClick:F,children:w.jsx(Gf,{className:"w-4 h-4"})})}),w.jsx(Nr,{children:w.jsx("span",{className:"text-sm text-muted-foreground",children:"Switch to RGB"})})]})})]}),w.jsxs("div",{className:"flex items-center gap-4 group",children:[w.jsx(No,{children:w.jsxs(Po,{children:[w.jsx(To,{children:w.jsx(Rr,{variant:"ghost",onClick:B,className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"HSL"})}),w.jsx(Nr,{children:w.jsx("span",{className:"text-sm text-muted-foreground",children:"Copy HSL"})})]})}),w.jsxs("div",{className:"flex-1 text-lg font-semibold text-gray-900 dark:text-gray-50",children:[o,"°, ",s,"%, ",a,"%"]}),w.jsx(No,{children:w.jsxs(Po,{children:[w.jsx(To,{children:w.jsx(Rr,{variant:"outline",size:"icon",className:"h-8 w-8 text-right opacity-0 group-hover:opacity-100 group-hover:animate-fadeInLeft",onClick:L,children:w.jsx(Gf,{className:"w-4 h-4"})})}),w.jsx(Nr,{children:w.jsx("span",{className:"text-sm text-muted-foreground",children:"Switch to HSL"})})]})})]})]})]})]})})]})}),w.jsxs(sy,{className:"w-64",children:[w.jsxs(Lo,{inset:!0,onClick:W,children:["Copy HEX",w.jsx(ws,{children:X})]}),w.jsxs(Lo,{inset:!0,onClick:O,children:["Copy RGB",w.jsx(ws,{children:ye})]}),w.jsxs(Lo,{inset:!0,onClick:B,children:["Copy HSL",w.jsx(ws,{children:J})]}),w.jsx(ly,{}),w.jsx(Lo,{inset:!0,onClick:()=>$(),children:h==="hsl"?"Switch to RGB":"Switch to HSL"})]})]}):w.jsx(fw,{setImage:t,setImageUploaded:r,image:e,imageUploaded:n})}function L2(e){return w.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[w.jsx("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"}),w.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function D2(e){return w.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 115.77 122.88",style:{enableBackground:"new 0 0 115.77 122.88"},xmlSpace:"preserve",children:[w.jsx("style",{type:"text/css",children:".st0{fill-rule:evenodd;clip-rule:evenodd;}"}),w.jsx("g",{children:w.jsx("path",{className:"st0",d:"M89.62,13.96v7.73h12.19h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02v0.02 v73.27v0.01h-0.02c-0.01,3.84-1.57,7.33-4.1,9.86c-2.51,2.5-5.98,4.06-9.82,4.07v0.02h-0.02h-61.7H40.1v-0.02 c-3.84-0.01-7.34-1.57-9.86-4.1c-2.5-2.51-4.06-5.98-4.07-9.82h-0.02v-0.02V92.51H13.96h-0.01v-0.02c-3.84-0.01-7.34-1.57-9.86-4.1 c-2.5-2.51-4.06-5.98-4.07-9.82H0v-0.02V13.96v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07V0h0.02h61.7 h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02V13.96L89.62,13.96z M79.04,21.69v-7.73v-0.02h0.02 c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v64.59v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h12.19V35.65 v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07v-0.02h0.02H79.04L79.04,21.69z M105.18,108.92V35.65v-0.02 h0.02c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v73.27v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h61.7h0.02 v0.02c0.91,0,1.75-0.39,2.37-1.01c0.61-0.61,1-1.46,1-2.37h-0.02V108.92L105.18,108.92z"})})]})}function j2(){return w.jsx("div",{className:"flex min-h-[100dvh] flex-col items-center justify-center bg-background px-4 py-12 sm:px-6 lg:px-8",children:w.jsxs("div",{className:"mx-auto max-w-md text-center",children:[w.jsx(z2,{className:"mx-auto h-12 w-12 text-primary"}),w.jsx("h1",{className:"mt-4 text-3xl font-bold tracking-tight text-foreground sm:text-4xl",children:"Sorry, this website is only available for desktop"}),w.jsx("p",{className:"mt-4 text-muted-foreground",children:"We apologize for the inconvenience, but our website is currently optimized for desktop devices only. Please try accessing this site from a computer or laptop."})]})})}function z2(e){return w.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"blue",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[w.jsx("rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2"}),w.jsx("path",{d:"M12 18h.01"})]})}const F2=()=>{const e=window.navigator.userAgent.toLowerCase(),t=/mobile|android|iphone|ipad|tablet|touch|samsung|fridge/i.test(e),n=window.innerWidth<=1024;return!t&&!n};function B2(){const[e,t]=M.useState(null);return M.useEffect(()=>{t(F2())},[]),e===!0?w.jsx($2,{}):w.jsx(j2,{})}ga.createRoot(document.getElementById("root")).render(w.jsx(M.StrictMode,{children:w.jsx(B2,{})})); +`)},hk=0,kr=[];function gk(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),o=c.useState(hk++)[0],i=c.useState(av)[0],s=c.useRef(e);c.useEffect(function(){s.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var y=Db([e.lockRef.current],(e.shards||[]).map(ip),!0).filter(Boolean);return y.forEach(function(S){return S.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),y.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=c.useCallback(function(y,S){if("touches"in y&&y.touches.length===2)return!s.current.allowPinchZoom;var m=ns(y),h=n.current,x="deltaX"in y?y.deltaX:h[0]-m[0],C="deltaY"in y?y.deltaY:h[1]-m[1],b,R=y.target,k=Math.abs(x)>Math.abs(C)?"h":"v";if("touches"in y&&k==="h"&&R.type==="range")return!1;var T=rp(k,R);if(!T)return!0;if(T?b=k:(b=k==="v"?"h":"v",T=rp(k,R)),!T)return!1;if(!r.current&&"changedTouches"in y&&(x||C)&&(r.current=b),!b)return!0;var z=r.current||b;return fk(z,S,y,z==="h"?x:C,!0)},[]),a=c.useCallback(function(y){var S=y;if(!(!kr.length||kr[kr.length-1]!==i)){var m="deltaY"in S?op(S):ns(S),h=t.current.filter(function(b){return b.name===S.type&&(b.target===S.target||S.target===b.shadowParent)&&pk(b.delta,m)})[0];if(h&&h.should){S.cancelable&&S.preventDefault();return}if(!h){var x=(s.current.shards||[]).map(ip).filter(Boolean).filter(function(b){return b.contains(S.target)}),C=x.length>0?l(S,x[0]):!s.current.noIsolation;C&&S.cancelable&&S.preventDefault()}}},[]),u=c.useCallback(function(y,S,m,h){var x={name:y,delta:S,target:m,should:h,shadowParent:vk(m)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(C){return C!==x})},1)},[]),f=c.useCallback(function(y){n.current=ns(y),r.current=void 0},[]),d=c.useCallback(function(y){u(y.type,op(y),y.target,l(y,e.lockRef.current))},[]),p=c.useCallback(function(y){u(y.type,ns(y),y.target,l(y,e.lockRef.current))},[]);c.useEffect(function(){return kr.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",a,br),document.addEventListener("touchmove",a,br),document.addEventListener("touchstart",f,br),function(){kr=kr.filter(function(y){return y!==i}),document.removeEventListener("wheel",a,br),document.removeEventListener("touchmove",a,br),document.removeEventListener("touchstart",f,br)}},[]);var v=e.removeScrollBar,g=e.inert;return c.createElement(c.Fragment,null,g?c.createElement(i,{styles:mk(o)}):null,v?c.createElement(ik,{gapMode:e.gapMode}):null)}function vk(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const yk=Kb(lv,gk);var fv=c.forwardRef(function(e,t){return c.createElement(kl,Yt({},e,{ref:t,sideCar:yk}))});fv.classNames=kl.classNames;var Iu=["Enter"," "],xk=["ArrowDown","PageUp","Home"],pv=["ArrowUp","PageDown","End"],wk=[...xk,...pv],Sk={ltr:[...Iu,"ArrowRight"],rtl:[...Iu,"ArrowLeft"]},Ck={ltr:["ArrowLeft"],rtl:["ArrowRight"]},ki="Menu",[pi,Ek,bk]=$E(ki),[gr,mv]=Bg(ki,[bk,yl,qg]),Rl=yl(),hv=qg(),[kk,vr]=gr(ki),[Rk,Ri]=gr(ki),gv=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:s=!0}=e,l=Rl(t),[a,u]=c.useState(null),f=c.useRef(!1),d=fr(i),p=DE(o);return c.useEffect(()=>{const v=()=>{f.current=!0,document.addEventListener("pointerdown",g,{capture:!0,once:!0}),document.addEventListener("pointermove",g,{capture:!0,once:!0})},g=()=>f.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",g,{capture:!0}),document.removeEventListener("pointermove",g,{capture:!0})}},[]),w.jsx(bg,{...l,children:w.jsx(kk,{scope:t,open:n,onOpenChange:d,content:a,onContentChange:u,children:w.jsx(Rk,{scope:t,onClose:c.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:f,dir:p,modal:s,children:r})})})};gv.displayName=ki;var Nk="MenuAnchor",Vc=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Rl(n);return w.jsx(kg,{...o,...r,ref:t})});Vc.displayName=Nk;var Wc="MenuPortal",[Pk,vv]=gr(Wc,{forceMount:void 0}),yv=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=vr(Wc,t);return w.jsx(Pk,{scope:t,forceMount:n,children:w.jsx(bi,{present:n||i.open,children:w.jsx(Yg,{asChild:!0,container:o,children:r})})})};yv.displayName=Wc;var bt="MenuContent",[Tk,Hc]=gr(bt),xv=c.forwardRef((e,t)=>{const n=vv(bt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=vr(bt,e.__scopeMenu),s=Ri(bt,e.__scopeMenu);return w.jsx(pi.Provider,{scope:e.__scopeMenu,children:w.jsx(bi,{present:r||i.open,children:w.jsx(pi.Slot,{scope:e.__scopeMenu,children:s.modal?w.jsx(_k,{...o,ref:t}):w.jsx(Mk,{...o,ref:t})})})})}),_k=c.forwardRef((e,t)=>{const n=vr(bt,e.__scopeMenu),r=c.useRef(null),o=Vt(t,r);return c.useEffect(()=>{const i=r.current;if(i)return Lb(i)},[]),w.jsx(Kc,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Se(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Mk=c.forwardRef((e,t)=>{const n=vr(bt,e.__scopeMenu);return w.jsx(Kc,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Kc=c.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:l,onEntryFocus:a,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:p,onDismiss:v,disableOutsideScroll:g,...y}=e,S=vr(bt,n),m=Ri(bt,n),h=Rl(n),x=hv(n),C=Ek(n),[b,R]=c.useState(null),k=c.useRef(null),T=Vt(t,k,S.onContentChange),z=c.useRef(0),O=c.useRef(""),W=c.useRef(0),B=c.useRef(null),Y=c.useRef("right"),D=c.useRef(0),H=g?fv:c.Fragment,K=g?{as:fi,allowPinchZoom:!0}:void 0,G=N=>{var xe,A;const $=O.current+N,L=C().filter(_=>!_.disabled),F=document.activeElement,ie=(xe=L.find(_=>_.ref.current===F))==null?void 0:xe.textValue,X=L.map(_=>_.textValue),ye=Vk(X,$,ie),J=(A=L.find(_=>_.textValue===ye))==null?void 0:A.ref.current;(function _(Q){O.current=Q,window.clearTimeout(z.current),Q!==""&&(z.current=window.setTimeout(()=>_(""),1e3))})($),J&&setTimeout(()=>J.focus())};c.useEffect(()=>()=>window.clearTimeout(z.current),[]),GE();const P=c.useCallback(N=>{var L,F;return Y.current===((L=B.current)==null?void 0:L.side)&&Hk(N,(F=B.current)==null?void 0:F.area)},[]);return w.jsx(Tk,{scope:n,searchRef:O,onItemEnter:c.useCallback(N=>{P(N)&&N.preventDefault()},[P]),onItemLeave:c.useCallback(N=>{var $;P(N)||(($=k.current)==null||$.focus(),R(null))},[P]),onTriggerLeave:c.useCallback(N=>{P(N)&&N.preventDefault()},[P]),pointerGraceTimerRef:W,onPointerGraceIntentChange:c.useCallback(N=>{B.current=N},[]),children:w.jsx(H,{...K,children:w.jsx(Kg,{asChild:!0,trapped:o,onMountAutoFocus:Se(i,N=>{var $;N.preventDefault(),($=k.current)==null||$.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:w.jsx(Wg,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:u,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:p,onDismiss:v,children:w.jsx(Mb,{asChild:!0,...x,dir:m.dir,orientation:"vertical",loop:r,currentTabStopId:b,onCurrentTabStopIdChange:R,onEntryFocus:Se(a,N=>{m.isUsingKeyboardRef.current||N.preventDefault()}),preventScrollOnEntryFocus:!0,children:w.jsx(Rg,{role:"menu","aria-orientation":"vertical","data-state":$v(S.open),"data-radix-menu-content":"",dir:m.dir,...h,...y,ref:T,style:{outline:"none",...y.style},onKeyDown:Se(y.onKeyDown,N=>{const L=N.target.closest("[data-radix-menu-content]")===N.currentTarget,F=N.ctrlKey||N.altKey||N.metaKey,ie=N.key.length===1;L&&(N.key==="Tab"&&N.preventDefault(),!F&&ie&&G(N.key));const X=k.current;if(N.target!==X||!wk.includes(N.key))return;N.preventDefault();const J=C().filter(xe=>!xe.disabled).map(xe=>xe.ref.current);pv.includes(N.key)&&J.reverse(),Bk(J)}),onBlur:Se(e.onBlur,N=>{N.currentTarget.contains(N.target)||(window.clearTimeout(z.current),O.current="")}),onPointerMove:Se(e.onPointerMove,mi(N=>{const $=N.target,L=D.current!==N.clientX;if(N.currentTarget.contains($)&&L){const F=N.clientX>D.current?"right":"left";Y.current=F,D.current=N.clientX}}))})})})})})})});xv.displayName=bt;var Ak="MenuGroup",Gc=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return w.jsx(xn.div,{role:"group",...r,ref:t})});Gc.displayName=Ak;var Ok="MenuLabel",wv=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return w.jsx(xn.div,{...r,ref:t})});wv.displayName=Ok;var Qs="MenuItem",sp="menu.itemSelect",Nl=c.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=c.useRef(null),s=Ri(Qs,e.__scopeMenu),l=Hc(Qs,e.__scopeMenu),a=Vt(t,i),u=c.useRef(!1),f=()=>{const d=i.current;if(!n&&d){const p=new CustomEvent(sp,{bubbles:!0,cancelable:!0});d.addEventListener(sp,v=>r==null?void 0:r(v),{once:!0}),Ug(d,p),p.defaultPrevented?u.current=!1:s.onClose()}};return w.jsx(Sv,{...o,ref:a,disabled:n,onClick:Se(e.onClick,f),onPointerDown:d=>{var p;(p=e.onPointerDown)==null||p.call(e,d),u.current=!0},onPointerUp:Se(e.onPointerUp,d=>{var p;u.current||(p=d.currentTarget)==null||p.click()}),onKeyDown:Se(e.onKeyDown,d=>{const p=l.searchRef.current!=="";n||p&&d.key===" "||Iu.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});Nl.displayName=Qs;var Sv=c.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,s=Hc(Qs,n),l=hv(n),a=c.useRef(null),u=Vt(t,a),[f,d]=c.useState(!1),[p,v]=c.useState("");return c.useEffect(()=>{const g=a.current;g&&v((g.textContent??"").trim())},[i.children]),w.jsx(pi.ItemSlot,{scope:n,disabled:r,textValue:o??p,children:w.jsx(Ab,{asChild:!0,...l,focusable:!r,children:w.jsx(xn.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:u,onPointerMove:Se(e.onPointerMove,mi(g=>{r?s.onItemLeave(g):(s.onItemEnter(g),g.defaultPrevented||g.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Se(e.onPointerLeave,mi(g=>s.onItemLeave(g))),onFocus:Se(e.onFocus,()=>d(!0)),onBlur:Se(e.onBlur,()=>d(!1))})})})}),Ik="MenuCheckboxItem",Cv=c.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return w.jsx(Nv,{scope:e.__scopeMenu,checked:n,children:w.jsx(Nl,{role:"menuitemcheckbox","aria-checked":Zs(n)?"mixed":n,...o,ref:t,"data-state":Xc(n),onSelect:Se(o.onSelect,()=>r==null?void 0:r(Zs(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Cv.displayName=Ik;var Ev="MenuRadioGroup",[$k,Lk]=gr(Ev,{value:void 0,onValueChange:()=>{}}),bv=c.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,i=fr(r);return w.jsx($k,{scope:e.__scopeMenu,value:n,onValueChange:i,children:w.jsx(Gc,{...o,ref:t})})});bv.displayName=Ev;var kv="MenuRadioItem",Rv=c.forwardRef((e,t)=>{const{value:n,...r}=e,o=Lk(kv,e.__scopeMenu),i=n===o.value;return w.jsx(Nv,{scope:e.__scopeMenu,checked:i,children:w.jsx(Nl,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":Xc(i),onSelect:Se(r.onSelect,()=>{var s;return(s=o.onValueChange)==null?void 0:s.call(o,n)},{checkForDefaultPrevented:!1})})})});Rv.displayName=kv;var Yc="MenuItemIndicator",[Nv,Dk]=gr(Yc,{checked:!1}),Pv=c.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=Dk(Yc,n);return w.jsx(bi,{present:r||Zs(i.checked)||i.checked===!0,children:w.jsx(xn.span,{...o,ref:t,"data-state":Xc(i.checked)})})});Pv.displayName=Yc;var jk="MenuSeparator",Tv=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return w.jsx(xn.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});Tv.displayName=jk;var zk="MenuArrow",_v=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Rl(n);return w.jsx(Ng,{...o,...r,ref:t})});_v.displayName=zk;var Fk="MenuSub",[H2,Mv]=gr(Fk),$o="MenuSubTrigger",Av=c.forwardRef((e,t)=>{const n=vr($o,e.__scopeMenu),r=Ri($o,e.__scopeMenu),o=Mv($o,e.__scopeMenu),i=Hc($o,e.__scopeMenu),s=c.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:a}=i,u={__scopeMenu:e.__scopeMenu},f=c.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return c.useEffect(()=>f,[f]),c.useEffect(()=>{const d=l.current;return()=>{window.clearTimeout(d),a(null)}},[l,a]),w.jsx(Vc,{asChild:!0,...u,children:w.jsx(Sv,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":$v(n.open),...e,ref:Bc(t,o.onTriggerChange),onClick:d=>{var p;(p=e.onClick)==null||p.call(e,d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Se(e.onPointerMove,mi(d=>{i.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!n.open&&!s.current&&(i.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:Se(e.onPointerLeave,mi(d=>{var v,g;f();const p=(v=n.content)==null?void 0:v.getBoundingClientRect();if(p){const y=(g=n.content)==null?void 0:g.dataset.side,S=y==="right",m=S?-5:5,h=p[S?"left":"right"],x=p[S?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+m,y:d.clientY},{x:h,y:p.top},{x,y:p.top},{x,y:p.bottom},{x:h,y:p.bottom}],side:y}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d),d.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:Se(e.onKeyDown,d=>{var v;const p=i.searchRef.current!=="";e.disabled||p&&d.key===" "||Sk[r.dir].includes(d.key)&&(n.onOpenChange(!0),(v=n.content)==null||v.focus(),d.preventDefault())})})})});Av.displayName=$o;var Ov="MenuSubContent",Iv=c.forwardRef((e,t)=>{const n=vv(bt,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=vr(bt,e.__scopeMenu),s=Ri(bt,e.__scopeMenu),l=Mv(Ov,e.__scopeMenu),a=c.useRef(null),u=Vt(t,a);return w.jsx(pi.Provider,{scope:e.__scopeMenu,children:w.jsx(bi,{present:r||i.open,children:w.jsx(pi.Slot,{scope:e.__scopeMenu,children:w.jsx(Kc,{id:l.contentId,"aria-labelledby":l.triggerId,...o,ref:u,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var d;s.isUsingKeyboardRef.current&&((d=a.current)==null||d.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:Se(e.onFocusOutside,f=>{f.target!==l.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:Se(e.onEscapeKeyDown,f=>{s.onClose(),f.preventDefault()}),onKeyDown:Se(e.onKeyDown,f=>{var v;const d=f.currentTarget.contains(f.target),p=Ck[s.dir].includes(f.key);d&&p&&(i.onOpenChange(!1),(v=l.trigger)==null||v.focus(),f.preventDefault())})})})})})});Iv.displayName=Ov;function $v(e){return e?"open":"closed"}function Zs(e){return e==="indeterminate"}function Xc(e){return Zs(e)?"indeterminate":e?"checked":"unchecked"}function Bk(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Uk(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Vk(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=Uk(e,Math.max(i,0));o.length===1&&(s=s.filter(u=>u!==n));const a=s.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}function Wk(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;ir!=f>r&&n<(u-l)*(r-a)/(f-a)+l&&(o=!o)}return o}function Hk(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return Wk(n,t)}function mi(e){return t=>t.pointerType==="mouse"?e(t):void 0}var Kk=gv,Gk=Vc,Yk=yv,Xk=xv,Qk=Gc,Zk=wv,Jk=Nl,qk=Cv,e2=bv,t2=Rv,n2=Pv,r2=Tv,o2=_v,i2=Av,s2=Iv;function l2(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}var Qc="ContextMenu",[a2,K2]=xE(Qc,[mv]),Je=mv(),[u2,Lv]=a2(Qc),Dv=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,dir:o,modal:i=!0}=e,[s,l]=c.useState(!1),a=Je(t),u=l2(r),f=c.useCallback(d=>{l(d),u(d)},[u]);return w.jsx(u2,{scope:t,open:s,onOpenChange:f,modal:i,children:w.jsx(Kk,{...a,dir:o,open:s,onOpenChange:f,modal:i,children:n})})};Dv.displayName=Qc;var jv="ContextMenuTrigger",zv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,disabled:r=!1,...o}=e,i=Lv(jv,n),s=Je(n),l=c.useRef({x:0,y:0}),a=c.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...l.current})}),u=c.useRef(0),f=c.useCallback(()=>window.clearTimeout(u.current),[]),d=p=>{l.current={x:p.clientX,y:p.clientY},i.onOpenChange(!0)};return c.useEffect(()=>f,[f]),c.useEffect(()=>void(r&&f()),[r,f]),w.jsxs(w.Fragment,{children:[w.jsx(Gk,{...s,virtualRef:a}),w.jsx(PE.span,{"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,...o,ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:r?e.onContextMenu:_o(e.onContextMenu,p=>{f(),d(p),p.preventDefault()}),onPointerDown:r?e.onPointerDown:_o(e.onPointerDown,rs(p=>{f(),u.current=window.setTimeout(()=>d(p),700)})),onPointerMove:r?e.onPointerMove:_o(e.onPointerMove,rs(f)),onPointerCancel:r?e.onPointerCancel:_o(e.onPointerCancel,rs(f)),onPointerUp:r?e.onPointerUp:_o(e.onPointerUp,rs(f))})]})});zv.displayName=jv;var c2="ContextMenuPortal",Fv=e=>{const{__scopeContextMenu:t,...n}=e,r=Je(t);return w.jsx(Yk,{...r,...n})};Fv.displayName=c2;var Bv="ContextMenuContent",Uv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Lv(Bv,n),i=Je(n),s=c.useRef(!1);return w.jsx(Xk,{...i,...r,ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:l=>{var a;(a=e.onCloseAutoFocus)==null||a.call(e,l),!l.defaultPrevented&&s.current&&l.preventDefault(),s.current=!1},onInteractOutside:l=>{var a;(a=e.onInteractOutside)==null||a.call(e,l),!l.defaultPrevented&&!o.modal&&(s.current=!0)},style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Uv.displayName=Bv;var d2="ContextMenuGroup",f2=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(Qk,{...o,...r,ref:t})});f2.displayName=d2;var p2="ContextMenuLabel",Vv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(Zk,{...o,...r,ref:t})});Vv.displayName=p2;var m2="ContextMenuItem",Wv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(Jk,{...o,...r,ref:t})});Wv.displayName=m2;var h2="ContextMenuCheckboxItem",Hv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(qk,{...o,...r,ref:t})});Hv.displayName=h2;var g2="ContextMenuRadioGroup",v2=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(e2,{...o,...r,ref:t})});v2.displayName=g2;var y2="ContextMenuRadioItem",Kv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(t2,{...o,...r,ref:t})});Kv.displayName=y2;var x2="ContextMenuItemIndicator",Gv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(n2,{...o,...r,ref:t})});Gv.displayName=x2;var w2="ContextMenuSeparator",Yv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(r2,{...o,...r,ref:t})});Yv.displayName=w2;var S2="ContextMenuArrow",C2=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(o2,{...o,...r,ref:t})});C2.displayName=S2;var E2="ContextMenuSubTrigger",Xv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(i2,{...o,...r,ref:t})});Xv.displayName=E2;var b2="ContextMenuSubContent",Qv=c.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,o=Je(n);return w.jsx(s2,{...o,...r,ref:t,style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Qv.displayName=b2;function rs(e){return t=>t.pointerType!=="mouse"?e(t):void 0}var k2=Dv,R2=zv,N2=Fv,Zv=Uv,Jv=Vv,qv=Wv,ey=Hv,ty=Kv,ny=Gv,ry=Yv,oy=Xv,iy=Qv;const P2=k2,T2=R2,_2=c.forwardRef(({className:e,inset:t,children:n,...r},o)=>w.jsxs(oy,{ref:o,className:Pt("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...r,children:[n,w.jsx(vE,{className:"ml-auto h-4 w-4"})]}));_2.displayName=oy.displayName;const M2=c.forwardRef(({className:e,...t},n)=>w.jsx(iy,{ref:n,className:Pt("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));M2.displayName=iy.displayName;const sy=c.forwardRef(({className:e,...t},n)=>w.jsx(N2,{children:w.jsx(Zv,{ref:n,className:Pt("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})}));sy.displayName=Zv.displayName;const Lo=c.forwardRef(({className:e,inset:t,...n},r)=>w.jsx(qv,{ref:r,className:Pt("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n}));Lo.displayName=qv.displayName;const A2=c.forwardRef(({className:e,children:t,checked:n,...r},o)=>w.jsxs(ey,{ref:o,className:Pt("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[w.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:w.jsx(ny,{children:w.jsx(gE,{className:"h-4 w-4"})})}),t]}));A2.displayName=ey.displayName;const O2=c.forwardRef(({className:e,children:t,...n},r)=>w.jsxs(ty,{ref:r,className:Pt("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[w.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:w.jsx(ny,{children:w.jsx(yE,{className:"h-2 w-2 fill-current"})})}),t]}));O2.displayName=ty.displayName;const I2=c.forwardRef(({className:e,inset:t,...n},r)=>w.jsx(Jv,{ref:r,className:Pt("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",e),...n}));I2.displayName=Jv.displayName;const ly=c.forwardRef(({className:e,...t},n)=>w.jsx(ry,{ref:n,className:Pt("-mx-1 my-1 h-px bg-border",e),...t}));ly.displayName=ry.displayName;const ws=({className:e,...t})=>w.jsx("span",{className:Pt("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});ws.displayName="ContextMenuShortcut";function $2(){const[e,t]=c.useState(null),[n,r]=c.useState(!1),[o,i]=c.useState(0),[s,l]=c.useState(85),[a,u]=c.useState(65),[f,d]=c.useState(255),[p,v]=c.useState(0),[g,y]=c.useState(0),[S,m]=c.useState("#FF0000"),[h,x]=c.useState("hsl"),C=(A,_,Q)=>`#${((1<<24)+(A<<16)+(_<<8)+Q).toString(16).slice(1)}`;c.useEffect(()=>{localStorage.removeItem("uploadedImage")},[]),c.useEffect(()=>{const A=k(o,s,a);d(A.r),v(A.g),y(A.b),m(C(A.r,A.g,A.b))},[]),c.useEffect(()=>{const A=localStorage.getItem("uploadedImage");A&&(t(A),b(A))},[n]);const b=A=>{const _=new Image;_.src=A,_.onload=()=>{const Q=document.createElement("canvas"),ne=Q.getContext("2d");Q.width=_.width,Q.height=_.height,ne.drawImage(_,0,0,_.width,_.height);const le=ne.getImageData(0,0,_.width,_.height).data,me=[];for(let te=0;te0){const Mt=C(Tt,vt,_t);me.push(Mt)}}const ee={};me.forEach(te=>{te in ee?ee[te]+=1:ee[te]=1});const Oe=Object.keys(ee).sort((te,Tt)=>ee[Tt]-ee[te])[0],Ie=T(Oe);z(Ie.r,Ie.g,Ie.b)}},R=A=>{const _=A.target,Q=document.createElement("canvas"),ne=Q.getContext("2d");Q.width=_.width,Q.height=_.height,ne.drawImage(_,0,0,_.width,_.height);const se=_.getBoundingClientRect(),le=_.width/se.width,me=_.height/se.height,ee=(A.clientX-se.left)*le,de=(A.clientY-se.top)*me,Oe=ne.getImageData(ee,de,1,1).data,[Ie,te,Tt]=Oe;d(Ie),v(te),y(Tt),m(C(Ie,te,Tt));const vt=z(Ie,te,Tt);i(vt.h),l(vt.s),u(vt.l),Le.success("Color picked from image",{action:{label:"Close",onClick:()=>Le.dismiss()}})},k=(A,_,Q)=>{A/=360,_/=100,Q/=100;let ne,se,le;if(_===0)ne=se=le=Q;else{const me=(Oe,Ie,te)=>(te<0&&(te+=1),te>1&&(te-=1),te<.16666666666666666?Oe+(Ie-Oe)*6*te:te<.5?Ie:te<.6666666666666666?Oe+(Ie-Oe)*(.6666666666666666-te)*6:Oe),ee=Q<.5?Q*(1+_):Q+_-Q*_,de=2*Q-ee;ne=me(de,ee,A+1/3),se=me(de,ee,A),le=me(de,ee,A-1/3)}return{r:Math.round(ne*255),g:Math.round(se*255),b:Math.round(le*255)}},T=A=>{const _=A.replace(/#/,"").match(/.{1,2}/g);return{r:parseInt(_[0],16),g:parseInt(_[1],16),b:parseInt(_[2],16)}},z=(A,_,Q)=>{A/=255,_/=255,Q/=255;const ne=Math.max(A,_,Q),se=Math.min(A,_,Q);let le,me,ee=(ne+se)/2;if(ne===se)le=me=0;else{const de=ne-se;switch(me=ee>.5?de/(2-ne-se):de/(ne+se),ne){case A:le=(_-Q)/de+(_Le.dismiss()}})}function W(){navigator.clipboard.writeText(S),Le.success("Copied HEX value to clipboard",{action:{label:"Close",onClick:()=>Le.dismiss()}})}function B(){navigator.clipboard.writeText(`${o}°, ${s}%, ${a}%`),Le.success("Copied HSL value to clipboard",{action:{label:"Close",onClick:()=>Le.dismiss()}})}const Y=A=>{i(A);const _=k(A,s,a);d(_.r),v(_.g),y(_.b),m(C(_.r,_.g,_.b))},D=A=>{l(A);const _=k(o,A,a);d(_.r),v(_.g),y(_.b),m(C(_.r,_.g,_.b))},H=A=>{u(A);const _=k(o,s,A);d(_.r),v(_.g),y(_.b),m(C(_.r,_.g,_.b))},K=(A,_,Q)=>{const ne=k(A,_,Q);return C(ne.r,ne.g,ne.b)},G=A=>{d(A);const _=z(A,p,g);i(_.h),l(_.s),u(_.l),m(K(_.h,_.s,_.l))},P=A=>{v(A);const _=z(f,A,g);i(_.h),l(_.s),u(_.l),m(K(_.h,_.s,_.l))},N=A=>{y(A);const _=z(f,p,A);i(_.h),l(_.s),u(_.l),m(K(_.h,_.s,_.l))},$=()=>{x(h==="hsl"?"rgb":"hsl"),Le.success(`Successfully Switched to ${h==="hsl"?"RGB":"HSL"} mode`,{action:{label:"Close",onClick:()=>Le.dismiss()}})},L=()=>{x("hsl"),Le.success("Successfully Switched to HSL mode",{action:{label:"Close",onClick:()=>Le.dismiss()}})},F=()=>{x("rgb"),Le.success("Successfully Switched to RGB mode",{action:{label:"Close",onClick:()=>Le.dismiss()}})},ie=navigator.userAgent.includes("Macintosh")||navigator.userAgent.includes("MacIntel"),X=ie?"⌘Z":"Ctrl+Z",ye=ie?"⌘X":"Ctrl+X",J=ie?"⌘C":"Ctrl+C",xe=A=>{const _=A.metaKey||A.ctrlKey,Q=A.shiftKey,ne=A.altKey,se=A.key==="z"||A.key==="Z",le=A.key==="x"||A.key==="X",me=A.key==="c"||A.key==="C";_&&se&&!Q&&!ne?(A.preventDefault(),W()):_&&le&&!Q&&!ne?(A.preventDefault(),O()):_&&me&&!Q&&!ne&&(A.preventDefault(),B())};return c.useEffect(()=>(window.addEventListener("keydown",xe),()=>{window.removeEventListener("keydown",xe)}),[]),n?w.jsxs(P2,{children:[w.jsx(T2,{children:w.jsxs("div",{className:"flex flex-col items-center justify-center p-4 h-screen bg-gray-100 dark:bg-gray-950 ",children:[w.jsx($h,{}),w.jsx("div",{className:"max-w-3xl w-full bg-white dark:bg-gray-900 rounded-lg shadow-lg overflow-hidden",style:{minHeight:"300px",minWidth:"700px"},children:w.jsxs("div",{className:"grid grid-cols-2 gap-6 p-6",children:[w.jsxs("div",{className:"relative flex justify-center items-center h-full",children:[w.jsx("img",{alt:"Uploaded Image",className:"w-full h-full object-cover rounded-lg",height:500,src:"/placeholder.svg",style:{aspectRatio:"500/500",objectFit:"cover"},width:500}),w.jsx("div",{className:"absolute inset-0 flex items-center justify-center border-black",style:{userSelect:"none",overflow:"hidden",scrollbarWidth:"none"},children:w.jsx("div",{className:"max-w-full max-h-full relative bg-black dark:bg-white rounded-lg border-black shadow-lg object-cover content-center overflow-auto",style:{aspectRatio:"500/500",objectFit:"cover",scrollbarWidth:"none"},children:e!==null?w.jsx("img",{src:e,onClick:R,alt:"Uploaded Image",className:"object-contain place-self-center"}):w.jsx(L2,{className:"w-6 h-6 text-gray-500 dark:text-gray-400"})})})]}),w.jsxs("div",{className:"flex flex-col gap-6",children:[w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 h-16 rounded-full border-4 border-gray-200 dark:border-gray-800 flex items-center justify-center",children:w.jsx("div",{className:"w-10 h-10 rounded-full border",style:{backgroundColor:C(f,p,g)}})}),w.jsxs("div",{className:"flex-1 grid gap-1",children:[w.jsx("div",{className:"w-20 text-sm font-medium text-gray-500 dark:text-gray-400",children:"HEX"}),w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"text-lg font-semibold text-gray-900 dark:text-gray-50",children:S}),w.jsx(No,{children:w.jsxs(Po,{children:[w.jsx(To,{children:w.jsx(Rr,{variant:"ghost",onClick:W,className:"max-h-12 max-w-12 ml-1",size:"icon",children:w.jsx(D2,{className:"w-4 h-4 text-gray-500 dark:text-gray-400"})})}),w.jsx(Nr,{children:w.jsx("span",{className:"text-sm text-muted-foreground",children:"Copy HEX"})})]})})]})]})]}),h==="hsl"?w.jsxs("div",{className:"grid gap-4",children:[w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Hue"}),w.jsx(qn,{className:"flex-1",value:[o],max:360,step:1,onValueChange:A=>Y(A)}),w.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[o,"°"]})]}),w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Saturation"}),w.jsx(qn,{className:"flex-1",value:[s],max:100,step:1,onValueChange:A=>D(A)}),w.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[s,"%"]})]}),w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Lightness"}),w.jsx(qn,{className:"flex-1",value:[a],max:100,step:1,onValueChange:A=>H(A)}),w.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[a,"%"]})]})]}):h==="rgb"?w.jsxs("div",{className:"grid gap-4",children:[w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Red"}),w.jsx(qn,{className:"flex-1",value:[f],max:255,step:1,onValueChange:A=>G(A)}),w.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[f,"/255"]})]}),w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Green"}),w.jsx(qn,{className:"flex-1",value:[p],max:255,step:1,onValueChange:A=>P(A)}),w.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[p,"/255"]})]}),w.jsxs("div",{className:"flex items-center gap-4",children:[w.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Blue"}),w.jsx(qn,{className:"flex-1",value:[g],max:255,step:1,onValueChange:A=>N(A)}),w.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[g,"/255"]})]})]}):null,w.jsxs("div",{className:"grid gap-2",children:[w.jsxs("div",{className:"flex items-center gap-4 group",children:[w.jsx(No,{children:w.jsxs(Po,{children:[w.jsx(To,{children:w.jsx(Rr,{variant:"ghost",onClick:O,className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"RGB"})}),w.jsx(Nr,{children:w.jsx("span",{className:"text-sm text-muted-foreground",children:"Copy RGB"})})]})}),w.jsxs("div",{className:"flex-1 text-lg font-semibold text-gray-900 dark:text-gray-50",children:[f,", ",p,", ",g]}),w.jsx(No,{children:w.jsxs(Po,{children:[w.jsx(To,{children:w.jsx(Rr,{variant:"outline",size:"icon",className:"h-8 w-8 text-right opacity-0 group-hover:opacity-100 group-hover:animate-fadeInLeft",onClick:F,children:w.jsx(Gf,{className:"w-4 h-4"})})}),w.jsx(Nr,{children:w.jsx("span",{className:"text-sm text-muted-foreground",children:"Switch to RGB"})})]})})]}),w.jsxs("div",{className:"flex items-center gap-4 group",children:[w.jsx(No,{children:w.jsxs(Po,{children:[w.jsx(To,{children:w.jsx(Rr,{variant:"ghost",onClick:B,className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"HSL"})}),w.jsx(Nr,{children:w.jsx("span",{className:"text-sm text-muted-foreground",children:"Copy HSL"})})]})}),w.jsxs("div",{className:"flex-1 text-lg font-semibold text-gray-900 dark:text-gray-50",children:[o,"°, ",s,"%, ",a,"%"]}),w.jsx(No,{children:w.jsxs(Po,{children:[w.jsx(To,{children:w.jsx(Rr,{variant:"outline",size:"icon",className:"h-8 w-8 text-right opacity-0 group-hover:opacity-100 group-hover:animate-fadeInLeft",onClick:L,children:w.jsx(Gf,{className:"w-4 h-4"})})}),w.jsx(Nr,{children:w.jsx("span",{className:"text-sm text-muted-foreground",children:"Switch to HSL"})})]})})]})]})]})]})})]})}),w.jsxs(sy,{className:"w-64",children:[w.jsxs(Lo,{inset:!0,onClick:W,children:["Copy HEX",w.jsx(ws,{children:X})]}),w.jsxs(Lo,{inset:!0,onClick:O,children:["Copy RGB",w.jsx(ws,{children:ye})]}),w.jsxs(Lo,{inset:!0,onClick:B,children:["Copy HSL",w.jsx(ws,{children:J})]}),w.jsx(ly,{}),w.jsx(Lo,{inset:!0,onClick:()=>$(),children:h==="hsl"?"Switch to RGB":"Switch to HSL"})]})]}):w.jsx(fw,{setImage:t,setImageUploaded:r,image:e,imageUploaded:n})}function L2(e){return w.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[w.jsx("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"}),w.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function D2(e){return w.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 115.77 122.88",style:{enableBackground:"new 0 0 115.77 122.88"},xmlSpace:"preserve",children:[w.jsx("style",{type:"text/css",children:".st0{fill-rule:evenodd;clip-rule:evenodd;}"}),w.jsx("g",{children:w.jsx("path",{className:"st0",d:"M89.62,13.96v7.73h12.19h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02v0.02 v73.27v0.01h-0.02c-0.01,3.84-1.57,7.33-4.1,9.86c-2.51,2.5-5.98,4.06-9.82,4.07v0.02h-0.02h-61.7H40.1v-0.02 c-3.84-0.01-7.34-1.57-9.86-4.1c-2.5-2.51-4.06-5.98-4.07-9.82h-0.02v-0.02V92.51H13.96h-0.01v-0.02c-3.84-0.01-7.34-1.57-9.86-4.1 c-2.5-2.51-4.06-5.98-4.07-9.82H0v-0.02V13.96v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07V0h0.02h61.7 h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02V13.96L89.62,13.96z M79.04,21.69v-7.73v-0.02h0.02 c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v64.59v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h12.19V35.65 v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07v-0.02h0.02H79.04L79.04,21.69z M105.18,108.92V35.65v-0.02 h0.02c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v73.27v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h61.7h0.02 v0.02c0.91,0,1.75-0.39,2.37-1.01c0.61-0.61,1-1.46,1-2.37h-0.02V108.92L105.18,108.92z"})})]})}function j2(){return w.jsx("div",{className:"flex min-h-[100dvh] flex-col items-center justify-center bg-background px-4 py-12 sm:px-6 lg:px-8",children:w.jsxs("div",{className:"mx-auto max-w-md text-center",children:[w.jsx(z2,{className:"mx-auto h-12 w-12 text-primary"}),w.jsx("h1",{className:"mt-4 text-3xl font-bold tracking-tight text-foreground sm:text-4xl",children:"Sorry, this website is only available for desktop"}),w.jsx("p",{className:"mt-4 text-muted-foreground",children:"We apologize for the inconvenience, but our website is currently optimized for desktop devices only. Please try accessing this site from a computer or laptop."})]})})}function z2(e){return w.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"blue",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[w.jsx("rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2"}),w.jsx("path",{d:"M12 18h.01"})]})}const F2=()=>{const e=window.navigator.userAgent.toLowerCase(),t=/mobile|android|iphone|ipad|tablet|touch|samsung|fridge/i.test(e),n=window.innerWidth<=1024;return!t&&!n};function B2(){const[e,t]=M.useState(null);return M.useEffect(()=>{t(F2())},[]),e===!0?w.jsx($2,{}):w.jsx(j2,{})}ga.createRoot(document.getElementById("root")).render(w.jsx(M.StrictMode,{children:w.jsx(B2,{})})); diff --git a/index.html b/index.html index 41e73fb..777d00a 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ Tint Tracker - - + +