From a4c8b447a65c2cd4ab3f66199d06b935c1dec62b Mon Sep 17 00:00:00 2001 From: Jordy McNab Date: Thu, 7 Nov 2024 17:12:38 -0800 Subject: [PATCH] Updates --- assets/index-7N5teqE9.css | 1 - assets/{index-CkzEwnTi.js => index-B-rzZLBh.js} | 4 ++-- assets/index-xle68DWD.css | 1 + index.html | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 assets/index-7N5teqE9.css rename assets/{index-CkzEwnTi.js => index-B-rzZLBh.js} (98%) create mode 100644 assets/index-xle68DWD.css diff --git a/assets/index-7N5teqE9.css b/assets/index-7N5teqE9.css deleted file mode 100644 index e659b70..0000000 --- a/assets/index-7N5teqE9.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% 0%;--foreground: 0 0% 98%;--card: 0 0% 0%;--card-foreground: 0 0% 98%;--popover: 0 0% 0%;--popover-foreground: 0 0% 98%;--primary: 7.13 90% 55%;--primary-foreground: 7.13 100% 97.3%;--secondary: 270 65% 55%;--secondary-foreground: 270 65% 97.3%;--muted: 270 15% 14.9%;--muted-foreground: 270 15% 63.9%;--accent: 270 50% 65%;--accent-foreground: 270 65% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 0 0% 98%;--border: 270 15% 14.9%;--input: 270 15% 14.9%;--ring: 7.13 90% 55%;--radius: 1rem;--chart-1: 7.13 90% 55%;--chart-2: 270 65% 55%;--chart-3: 290 60% 50%;--chart-4: 250 65% 55%;--chart-5: 27.13 85% 65%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--card-foreground))}body a{color:#ff4d35}*,: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: }.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.left-\[50\%\]{left:50%}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-4{top:1rem}.top-\[50\%\]{top:50%}.z-10{z-index:10}.z-50{z-index:50}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-12{margin-bottom:3rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.aspect-square{aspect-ratio:1 / 1}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-24{height:6rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-9{height:2.25rem}.h-full{height:100%}.h-screen{height:100vh}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-auto{width:auto}.w-full{width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.animate-fade-in{animation:fade-in .3s ease-out}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-from-bottom{0%{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.animate-slide-in-from-bottom{animation:slide-in-from-bottom .3s ease-out}@keyframes slide-in-from-top{0%{transform:translateY(-10px);opacity:0}to{transform:translateY(0);opacity:1}}.animate-slide-in-from-top{animation:slide-in-from-top .3s ease-out}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.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-4{border-width:4px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-accent\/20{border-color:hsl(var(--accent) / .2)}.border-border{border-color:hsl(var(--border))}.border-destructive\/20{border-color:hsl(var(--destructive) / .2)}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-input{border-color:hsl(var(--input))}.border-muted\/50{border-color:hsl(var(--muted) / .5)}.border-primary\/20{border-color:hsl(var(--primary) / .2)}.border-secondary\/20{border-color:hsl(var(--secondary) / .2)}.border-secondary\/30{border-color:hsl(var(--secondary) / .3)}.border-b-primary{border-bottom-color:hsl(var(--primary))}.border-t-secondary{border-top-color:hsl(var(--secondary))}.bg-accent{background-color:hsl(var(--accent))}.bg-accent\/10{background-color:hsl(var(--accent) / .1)}.bg-accent\/5{background-color:hsl(var(--accent) / .05)}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background) / .8)}.bg-background\/90{background-color:hsl(var(--background) / .9)}.bg-black\/80{background-color:#000c}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-destructive\/10{background-color:hsl(var(--destructive) / .1)}.bg-destructive\/20{background-color:hsl(var(--destructive) / .2)}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/5{background-color:hsl(var(--muted) / .05)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary) / .1)}.bg-primary\/20{background-color:hsl(var(--primary) / .2)}.bg-primary\/5{background-color:hsl(var(--primary) / .05)}.bg-secondary{background-color:hsl(var(--secondary))}.bg-secondary\/10{background-color:hsl(var(--secondary) / .1)}.bg-secondary\/20{background-color:hsl(var(--secondary) / .2)}.bg-secondary\/5{background-color:hsl(var(--secondary) / .05)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.object-cover{-o-object-fit:cover;object-fit:cover}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.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-2{padding-top:.5rem;padding-bottom:.5rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-4{padding-bottom:1rem}.pt-0{padding-top:0}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.text-accent{color:hsl(var(--accent))}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--card-foreground))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary{color:hsl(var(--secondary))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline-offset-4{text-underline-offset:4px}.opacity-70{opacity:.7}.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-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.blur-xl{--tw-blur: blur(24px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@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))}}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.delay-1{animation-delay:.1s}.delay-2{animation-delay:.2s}.delay-3{animation-delay:.3s}.delay-4{animation-delay:.4s}.fill-both{animation-fill-mode:both}@keyframes spin-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}.animate-spin-reverse{animation:spin-reverse 1s linear infinite}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--card-foreground))}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\:rotate-3:hover{--tw-rotate: 3deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-accent\/10:hover{background-color:hsl(var(--accent) / .1)}.hover\:bg-accent\/90:hover{background-color:hsl(var(--accent) / .9)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-muted\/90:hover{background-color:hsl(var(--muted) / .9)}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary) / .1)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary\/10:hover{background-color:hsl(var(--secondary) / .1)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:bg-secondary\/90:hover{background-color:hsl(var(--secondary) / .9)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:border-primary:focus{border-color:hsl(var(--primary))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-primary\/30:focus{--tw-ring-color: hsl(var(--primary) / .3)}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.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\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:rotate-6{--tw-rotate: 6deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.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-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}@media (min-width: 640px){.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}}@media (min-width: 768px){.md\:text-sm{font-size:.875rem;line-height:1.25rem}}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--card-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0} diff --git a/assets/index-CkzEwnTi.js b/assets/index-B-rzZLBh.js similarity index 98% rename from assets/index-CkzEwnTi.js rename to assets/index-B-rzZLBh.js index d6ccb4b..9ec02a6 100644 --- a/assets/index-CkzEwnTi.js +++ b/assets/index-B-rzZLBh.js @@ -261,7 +261,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Zap=createLucideIcon("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),ErrorState=({error:e,onRetry:a})=>jsxRuntimeExports.jsx("div",{className:"h-full flex flex-col items-center justify-center p-6 animate-fade-in fill-both",children:jsxRuntimeExports.jsxs("div",{className:"w-full max-w-md mx-auto text-center space-y-6",children:[jsxRuntimeExports.jsxs("div",{className:"relative inline-flex",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-destructive/20 rounded-full blur-xl animate-pulse"}),jsxRuntimeExports.jsx("div",{className:"relative bg-background border border-border rounded-full p-4",children:jsxRuntimeExports.jsx(CircleAlert,{className:"w-12 h-12 text-destructive animate-fade-in"})})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2 animate-slide-in-from-bottom delay-1 fill-both",children:[jsxRuntimeExports.jsx("h1",{className:"text-2xl font-semibold text-foreground",children:"Something went wrong"}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground text-base max-w-sm mx-auto break-words",children:e})]}),a&&jsxRuntimeExports.jsx(Button,{onClick:a,className:"animate-slide-in-from-bottom delay-2 fill-both bg-secondary hover:bg-secondary/90 transition-colors duration-200",children:"Try Again"})]})}),LoadingState=({message:e="Loading..."})=>jsxRuntimeExports.jsx("div",{className:"h-full flex flex-col items-center justify-center p-6 animate-fade-in fill-both",children:jsxRuntimeExports.jsxs("div",{className:"w-full max-w-md mx-auto text-center space-y-6",children:[jsxRuntimeExports.jsxs("div",{className:"relative inline-flex",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-secondary/20 rounded-full blur-xl animate-pulse"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx("div",{className:"w-16 h-16 rounded-full border-4 border-secondary/30 border-t-secondary animate-spin"}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 w-16 h-16 rounded-full border-4 border-primary/20 border-b-primary animate-spin-reverse"}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 m-auto w-3 h-3 bg-primary rounded-full animate-pulse"})]})]}),jsxRuntimeExports.jsx("div",{className:"space-y-2 animate-slide-in-from-bottom delay-1 fill-both",children:jsxRuntimeExports.jsx("p",{className:"text-base font-medium text-foreground",children:e})})]})}),OnboardingScreen=({setScreen:e})=>{const[a,o]=reactExports.useState(!1),[c,h]=reactExports.useState(""),[d,j]=reactExports.useState(null);reactExports.useEffect(()=>{et()},[]);const et=async()=>{var nt;o(!0),h("Starting the initialization of Capsule Telegram Mini App Demo..."),j(null);try{if(_default.ready(),!_default.initDataUnsafe.user){j("Error during initialization: User data not found");return}const at=(nt=_default.initDataUnsafe.user)==null?void 0:nt.username;if(!at){j("Error during initialization: Username not found");return}h(`User authenticated successfully: ${at}`),await new Promise(gt=>setTimeout(gt,1e3)),h(`Checking Telegram cloud storage for existing wallet data associated with user ${at}...`),await new Promise(gt=>setTimeout(gt,1e3));const ot=await retrieveChunkedData("userShare",h,j);ot?(h("Existing wallet data found. Setting up your wallet..."),await capsuleClient.setUserShare(ot),h("Initialization complete. Redirecting to the app..."),await new Promise(gt=>setTimeout(gt,1e3)),e("home")):(h(`No existing wallet data found for user ${at}. Proceeding with new wallet creation...`),await new Promise(gt=>setTimeout(gt,1e3)))}catch(at){j(`Initialization error: ${at instanceof Error?at.message:String(at)}. Please try again or contact support if the issue persists.`),await new Promise(ot=>setTimeout(ot,1e3)),j("Clearing storage and retrying initialization..."),await new Promise(ot=>setTimeout(ot,1e3)),clearChunkedStorage(h,j).catch(ot=>{console.error("Failed to clear storage:",ot)}),j("Storage cleared. Retry initialization...")}finally{o(!1),h("")}},rt=async()=>{var nt;o(!0),h("Generating a new wallet..."),j(null);try{const at=(nt=_default.initDataUnsafe.user)==null?void 0:nt.username;if(!at){j("Error: Username not found. Unable to create wallet.");return}const ot=`${at+crypto.randomUUID().split("-")[0]}@test.usecapsule.com`;h("Creating wallet with pre-generated identifier...");const gt=await capsuleClient.createWalletPreGen(WalletType.EVM,ot);h(`Wallet created successfully. Address: ${gt.address||"N/A"}`),await new Promise(wt=>setTimeout(wt,1e3)),h("Retrieving user wallet share...");const bt=await capsuleClient.getUserShare()||"";await new Promise(wt=>setTimeout(wt,1e3)),h("Wallet setup complete. Redirecting to the app..."),await new Promise(wt=>setTimeout(wt,1e3)),storeWithChunking("userShare",bt,j).catch(wt=>{console.error("Failed to store wallet data:",wt)}),await new Promise(wt=>setTimeout(wt,1e3)),e("home")}catch(at){j(`Error: ${at instanceof Error?at.message:String(at)}. Please try again or contact support.`)}finally{o(!1),h("")}};return d?jsxRuntimeExports.jsx(ErrorState,{error:d,onRetry:et}):a?jsxRuntimeExports.jsx(LoadingState,{message:c}):jsxRuntimeExports.jsxs("div",{className:"h-full flex flex-col justify-between p-6 bg-background animate-fade-in fill-both",children:[jsxRuntimeExports.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center",children:[jsxRuntimeExports.jsxs("div",{className:"relative mb-8",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-primary/20 rounded-full blur-xl animate-pulse"}),jsxRuntimeExports.jsx("div",{className:"relative w-24 h-24 text-primary transition-all duration-300 hover:scale-105 hover:rotate-3",children:jsxRuntimeExports.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"w-full h-full animate-slide-in-from-top fill-both",children:[jsxRuntimeExports.jsx("path",{d:"M21 12V7H5a2 2 0 0 1 0-4h14v4"}),jsxRuntimeExports.jsx("path",{d:"M3 5v14a2 2 0 0 0 2 2h16v-5"}),jsxRuntimeExports.jsx("path",{d:"M18 12a2 2 0 0 0 0 4h4v-4Z"})]})})]}),jsxRuntimeExports.jsxs("div",{className:"text-center space-y-4 mb-12 animate-slide-in-from-bottom delay-1 fill-both",children:[jsxRuntimeExports.jsx("h1",{className:"text-4xl font-bold text-foreground",children:"Beyond Web3 Authentication"}),jsxRuntimeExports.jsx("p",{className:"text-lg text-muted-foreground max-w-sm",children:"Cross-app wallets that work everywhere"})]}),jsxRuntimeExports.jsxs("div",{className:"w-full max-w-sm space-y-4 animate-slide-in-from-bottom delay-2 fill-both",children:[jsxRuntimeExports.jsx("div",{className:"group bg-secondary/5 border border-secondary/20 rounded-lg p-4 transition-all duration-200 hover:bg-secondary/10",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx("div",{className:"p-2 rounded-full bg-secondary/10 text-secondary",children:jsxRuntimeExports.jsx(Shield,{className:"w-5 h-5"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h3",{className:"font-medium text-foreground",children:"Enterprise Security"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"Industry-leading MPC protection"})]})]})}),jsxRuntimeExports.jsx("div",{className:"group bg-primary/5 border border-primary/20 rounded-lg p-4 transition-all duration-200 hover:bg-primary/10",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx("div",{className:"p-2 rounded-full bg-primary/10 text-primary",children:jsxRuntimeExports.jsx(CircleCheckBig,{className:"w-5 h-5"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h3",{className:"font-medium text-foreground",children:"Universal Access"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"Cross-app compatibility built in"})]})]})}),jsxRuntimeExports.jsx("div",{className:"group bg-accent/5 border border-accent/20 rounded-lg p-4 transition-all duration-200 hover:bg-accent/10",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx("div",{className:"p-2 rounded-full bg-accent/10 text-accent",children:jsxRuntimeExports.jsx(Wallet,{className:"w-5 h-5"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h3",{className:"font-medium text-foreground",children:"Start Instantly"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"Ready to use in seconds"})]})]})})]})]}),jsxRuntimeExports.jsx("div",{className:"animate-slide-in-from-bottom delay-4 fill-both",children:jsxRuntimeExports.jsx(Button,{size:"lg",onClick:rt,className:"w-full h-14 bg-primary text-primary-foreground hover:bg-primary/90 transition-all duration-300 group",children:jsxRuntimeExports.jsxs("span",{className:"flex items-center gap-2",children:["Create Wallet",jsxRuntimeExports.jsx(Wallet,{className:"w-5 h-5 transition-transform duration-300 group-hover:rotate-6"})]})})})]})};function composeEventHandlers(e,a,{checkForDefaultPrevented:o=!0}={}){return function(h){if(e==null||e(h),o===!1||!h.defaultPrevented)return a==null?void 0:a(h)}}function createContext2(e,a){const o=reactExports.createContext(a),c=d=>{const{children:j,...et}=d,rt=reactExports.useMemo(()=>et,Object.values(et));return jsxRuntimeExports.jsx(o.Provider,{value:rt,children:j})};c.displayName=e+"Provider";function h(d){const j=reactExports.useContext(o);if(j)return j;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${e}\``)}return[c,h]}function createContextScope(e,a=[]){let o=[];function c(d,j){const et=reactExports.createContext(j),rt=o.length;o=[...o,j];const nt=ot=>{var Et;const{scope:gt,children:bt,...wt}=ot,$t=((Et=gt==null?void 0:gt[e])==null?void 0:Et[rt])||et,St=reactExports.useMemo(()=>wt,Object.values(wt));return jsxRuntimeExports.jsx($t.Provider,{value:St,children:bt})};nt.displayName=d+"Provider";function at(ot,gt){var $t;const bt=(($t=gt==null?void 0:gt[e])==null?void 0:$t[rt])||et,wt=reactExports.useContext(bt);if(wt)return wt;if(j!==void 0)return j;throw new Error(`\`${ot}\` must be used within \`${d}\``)}return[nt,at]}const h=()=>{const d=o.map(j=>reactExports.createContext(j));return function(et){const rt=(et==null?void 0:et[e])||d;return reactExports.useMemo(()=>({[`__scope${e}`]:{...et,[e]:rt}}),[et,rt])}};return h.scopeName=e,[c,composeContextScopes(h,...a)]}function composeContextScopes(...e){const a=e[0];if(e.length===1)return a;const o=()=>{const c=e.map(h=>({useScope:h(),scopeName:h.scopeName}));return function(d){const j=c.reduce((et,{useScope:rt,scopeName:nt})=>{const ot=rt(d)[`__scope${nt}`];return{...et,...ot}},{});return reactExports.useMemo(()=>({[`__scope${a.scopeName}`]:j}),[j])}};return o.scopeName=a.scopeName,o}var useLayoutEffect2=globalThis!=null&&globalThis.document?reactExports.useLayoutEffect:()=>{},useReactId=React$1.useId||(()=>{}),count$1=0;function useId(e){const[a,o]=reactExports.useState(useReactId());return useLayoutEffect2(()=>{e||o(c=>c??String(count$1++))},[e]),e||(a?`radix-${a}`:"")}function useCallbackRef$1(e){const a=reactExports.useRef(e);return reactExports.useEffect(()=>{a.current=e}),reactExports.useMemo(()=>(...o)=>{var c;return(c=a.current)==null?void 0:c.call(a,...o)},[])}function useControllableState({prop:e,defaultProp:a,onChange:o=()=>{}}){const[c,h]=useUncontrolledState({defaultProp:a,onChange:o}),d=e!==void 0,j=d?e:c,et=useCallbackRef$1(o),rt=reactExports.useCallback(nt=>{if(d){const ot=typeof nt=="function"?nt(e):nt;ot!==e&&et(ot)}else h(nt)},[d,e,h,et]);return[j,rt]}function useUncontrolledState({defaultProp:e,onChange:a}){const o=reactExports.useState(e),[c]=o,h=reactExports.useRef(c),d=useCallbackRef$1(a);return reactExports.useEffect(()=>{h.current!==c&&(d(c),h.current=c)},[c,h,d]),o}var NODES=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Primitive$1=NODES.reduce((e,a)=>{const o=reactExports.forwardRef((c,h)=>{const{asChild:d,...j}=c,et=d?Slot:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),jsxRuntimeExports.jsx(et,{...j,ref:h})});return o.displayName=`Primitive.${a}`,{...e,[a]:o}},{});function dispatchDiscreteCustomEvent(e,a){e&&reactDomExports.flushSync(()=>e.dispatchEvent(a))}function useEscapeKeydown(e,a=globalThis==null?void 0:globalThis.document){const o=useCallbackRef$1(e);reactExports.useEffect(()=>{const c=h=>{h.key==="Escape"&&o(h)};return a.addEventListener("keydown",c,{capture:!0}),()=>a.removeEventListener("keydown",c,{capture:!0})},[o,a])}var DISMISSABLE_LAYER_NAME="DismissableLayer",CONTEXT_UPDATE="dismissableLayer.update",POINTER_DOWN_OUTSIDE="dismissableLayer.pointerDownOutside",FOCUS_OUTSIDE="dismissableLayer.focusOutside",originalBodyPointerEvents,DismissableLayerContext=reactExports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),DismissableLayer=reactExports.forwardRef((e,a)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:c,onPointerDownOutside:h,onFocusOutside:d,onInteractOutside:j,onDismiss:et,...rt}=e,nt=reactExports.useContext(DismissableLayerContext),[at,ot]=reactExports.useState(null),gt=(at==null?void 0:at.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,bt]=reactExports.useState({}),wt=useComposedRefs(a,zt=>ot(zt)),$t=Array.from(nt.layers),[St]=[...nt.layersWithOutsidePointerEventsDisabled].slice(-1),Et=$t.indexOf(St),_t=at?$t.indexOf(at):-1,At=nt.layersWithOutsidePointerEventsDisabled.size>0,Bt=_t>=Et,kt=usePointerDownOutside(zt=>{const Xt=zt.target,Wt=[...nt.branches].some(ir=>ir.contains(Xt));!Bt||Wt||(h==null||h(zt),j==null||j(zt),zt.defaultPrevented||et==null||et())},gt),jt=useFocusOutside(zt=>{const Xt=zt.target;[...nt.branches].some(ir=>ir.contains(Xt))||(d==null||d(zt),j==null||j(zt),zt.defaultPrevented||et==null||et())},gt);return useEscapeKeydown(zt=>{_t===nt.layers.size-1&&(c==null||c(zt),!zt.defaultPrevented&&et&&(zt.preventDefault(),et()))},gt),reactExports.useEffect(()=>{if(at)return o&&(nt.layersWithOutsidePointerEventsDisabled.size===0&&(originalBodyPointerEvents=gt.body.style.pointerEvents,gt.body.style.pointerEvents="none"),nt.layersWithOutsidePointerEventsDisabled.add(at)),nt.layers.add(at),dispatchUpdate(),()=>{o&&nt.layersWithOutsidePointerEventsDisabled.size===1&&(gt.body.style.pointerEvents=originalBodyPointerEvents)}},[at,gt,o,nt]),reactExports.useEffect(()=>()=>{at&&(nt.layers.delete(at),nt.layersWithOutsidePointerEventsDisabled.delete(at),dispatchUpdate())},[at,nt]),reactExports.useEffect(()=>{const zt=()=>bt({});return document.addEventListener(CONTEXT_UPDATE,zt),()=>document.removeEventListener(CONTEXT_UPDATE,zt)},[]),jsxRuntimeExports.jsx(Primitive$1.div,{...rt,ref:wt,style:{pointerEvents:At?Bt?"auto":"none":void 0,...e.style},onFocusCapture:composeEventHandlers(e.onFocusCapture,jt.onFocusCapture),onBlurCapture:composeEventHandlers(e.onBlurCapture,jt.onBlurCapture),onPointerDownCapture:composeEventHandlers(e.onPointerDownCapture,kt.onPointerDownCapture)})});DismissableLayer.displayName=DISMISSABLE_LAYER_NAME;var BRANCH_NAME="DismissableLayerBranch",DismissableLayerBranch=reactExports.forwardRef((e,a)=>{const o=reactExports.useContext(DismissableLayerContext),c=reactExports.useRef(null),h=useComposedRefs(a,c);return reactExports.useEffect(()=>{const d=c.current;if(d)return o.branches.add(d),()=>{o.branches.delete(d)}},[o.branches]),jsxRuntimeExports.jsx(Primitive$1.div,{...e,ref:h})});DismissableLayerBranch.displayName=BRANCH_NAME;function usePointerDownOutside(e,a=globalThis==null?void 0:globalThis.document){const o=useCallbackRef$1(e),c=reactExports.useRef(!1),h=reactExports.useRef(()=>{});return reactExports.useEffect(()=>{const d=et=>{if(et.target&&!c.current){let rt=function(){handleAndDispatchCustomEvent(POINTER_DOWN_OUTSIDE,o,nt,{discrete:!0})};const nt={originalEvent:et};et.pointerType==="touch"?(a.removeEventListener("click",h.current),h.current=rt,a.addEventListener("click",h.current,{once:!0})):rt()}else a.removeEventListener("click",h.current);c.current=!1},j=window.setTimeout(()=>{a.addEventListener("pointerdown",d)},0);return()=>{window.clearTimeout(j),a.removeEventListener("pointerdown",d),a.removeEventListener("click",h.current)}},[a,o]),{onPointerDownCapture:()=>c.current=!0}}function useFocusOutside(e,a=globalThis==null?void 0:globalThis.document){const o=useCallbackRef$1(e),c=reactExports.useRef(!1);return reactExports.useEffect(()=>{const h=d=>{d.target&&!c.current&&handleAndDispatchCustomEvent(FOCUS_OUTSIDE,o,{originalEvent:d},{discrete:!1})};return a.addEventListener("focusin",h),()=>a.removeEventListener("focusin",h)},[a,o]),{onFocusCapture:()=>c.current=!0,onBlurCapture:()=>c.current=!1}}function dispatchUpdate(){const e=new CustomEvent(CONTEXT_UPDATE);document.dispatchEvent(e)}function handleAndDispatchCustomEvent(e,a,o,{discrete:c}){const h=o.originalEvent.target,d=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:o});a&&h.addEventListener(e,a,{once:!0}),c?dispatchDiscreteCustomEvent(h,d):h.dispatchEvent(d)}var AUTOFOCUS_ON_MOUNT="focusScope.autoFocusOnMount",AUTOFOCUS_ON_UNMOUNT="focusScope.autoFocusOnUnmount",EVENT_OPTIONS={bubbles:!1,cancelable:!0},FOCUS_SCOPE_NAME="FocusScope",FocusScope=reactExports.forwardRef((e,a)=>{const{loop:o=!1,trapped:c=!1,onMountAutoFocus:h,onUnmountAutoFocus:d,...j}=e,[et,rt]=reactExports.useState(null),nt=useCallbackRef$1(h),at=useCallbackRef$1(d),ot=reactExports.useRef(null),gt=useComposedRefs(a,$t=>rt($t)),bt=reactExports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;reactExports.useEffect(()=>{if(c){let $t=function(At){if(bt.paused||!et)return;const Bt=At.target;et.contains(Bt)?ot.current=Bt:focus(ot.current,{select:!0})},St=function(At){if(bt.paused||!et)return;const Bt=At.relatedTarget;Bt!==null&&(et.contains(Bt)||focus(ot.current,{select:!0}))},Et=function(At){if(document.activeElement===document.body)for(const kt of At)kt.removedNodes.length>0&&focus(et)};document.addEventListener("focusin",$t),document.addEventListener("focusout",St);const _t=new MutationObserver(Et);return et&&_t.observe(et,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",$t),document.removeEventListener("focusout",St),_t.disconnect()}}},[c,et,bt.paused]),reactExports.useEffect(()=>{if(et){focusScopesStack.add(bt);const $t=document.activeElement;if(!et.contains($t)){const Et=new CustomEvent(AUTOFOCUS_ON_MOUNT,EVENT_OPTIONS);et.addEventListener(AUTOFOCUS_ON_MOUNT,nt),et.dispatchEvent(Et),Et.defaultPrevented||(focusFirst(removeLinks(getTabbableCandidates(et)),{select:!0}),document.activeElement===$t&&focus(et))}return()=>{et.removeEventListener(AUTOFOCUS_ON_MOUNT,nt),setTimeout(()=>{const Et=new CustomEvent(AUTOFOCUS_ON_UNMOUNT,EVENT_OPTIONS);et.addEventListener(AUTOFOCUS_ON_UNMOUNT,at),et.dispatchEvent(Et),Et.defaultPrevented||focus($t??document.body,{select:!0}),et.removeEventListener(AUTOFOCUS_ON_UNMOUNT,at),focusScopesStack.remove(bt)},0)}}},[et,nt,at,bt]);const wt=reactExports.useCallback($t=>{if(!o&&!c||bt.paused)return;const St=$t.key==="Tab"&&!$t.altKey&&!$t.ctrlKey&&!$t.metaKey,Et=document.activeElement;if(St&&Et){const _t=$t.currentTarget,[At,Bt]=getTabbableEdges(_t);At&&Bt?!$t.shiftKey&&Et===Bt?($t.preventDefault(),o&&focus(At,{select:!0})):$t.shiftKey&&Et===At&&($t.preventDefault(),o&&focus(Bt,{select:!0})):Et===_t&&$t.preventDefault()}},[o,c,bt.paused]);return jsxRuntimeExports.jsx(Primitive$1.div,{tabIndex:-1,...j,ref:gt,onKeyDown:wt})});FocusScope.displayName=FOCUS_SCOPE_NAME;function focusFirst(e,{select:a=!1}={}){const o=document.activeElement;for(const c of e)if(focus(c,{select:a}),document.activeElement!==o)return}function getTabbableEdges(e){const a=getTabbableCandidates(e),o=findVisible(a,e),c=findVisible(a.reverse(),e);return[o,c]}function getTabbableCandidates(e){const a=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c=>{const h=c.tagName==="INPUT"&&c.type==="hidden";return c.disabled||c.hidden||h?NodeFilter.FILTER_SKIP:c.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)a.push(o.currentNode);return a}function findVisible(e,a){for(const o of e)if(!isHidden(o,{upTo:a}))return o}function isHidden(e,{upTo:a}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(a!==void 0&&e===a)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function isSelectableInput(e){return e instanceof HTMLInputElement&&"select"in e}function focus(e,{select:a=!1}={}){if(e&&e.focus){const o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&isSelectableInput(e)&&a&&e.select()}}var focusScopesStack=createFocusScopesStack();function createFocusScopesStack(){let e=[];return{add(a){const o=e[0];a!==o&&(o==null||o.pause()),e=arrayRemove(e,a),e.unshift(a)},remove(a){var o;e=arrayRemove(e,a),(o=e[0])==null||o.resume()}}}function arrayRemove(e,a){const o=[...e],c=o.indexOf(a);return c!==-1&&o.splice(c,1),o}function removeLinks(e){return e.filter(a=>a.tagName!=="A")}var PORTAL_NAME$1="Portal",Portal$1=reactExports.forwardRef((e,a)=>{var et;const{container:o,...c}=e,[h,d]=reactExports.useState(!1);useLayoutEffect2(()=>d(!0),[]);const j=o||h&&((et=globalThis==null?void 0:globalThis.document)==null?void 0:et.body);return j?ReactDOM.createPortal(jsxRuntimeExports.jsx(Primitive$1.div,{...c,ref:a}),j):null});Portal$1.displayName=PORTAL_NAME$1;function useStateMachine(e,a){return reactExports.useReducer((o,c)=>a[o][c]??o,e)}var Presence=e=>{const{present:a,children:o}=e,c=usePresence(a),h=typeof o=="function"?o({present:c.isPresent}):reactExports.Children.only(o),d=useComposedRefs(c.ref,getElementRef(h));return typeof o=="function"||c.isPresent?reactExports.cloneElement(h,{ref:d}):null};Presence.displayName="Presence";function usePresence(e){const[a,o]=reactExports.useState(),c=reactExports.useRef({}),h=reactExports.useRef(e),d=reactExports.useRef("none"),j=e?"mounted":"unmounted",[et,rt]=useStateMachine(j,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return reactExports.useEffect(()=>{const nt=getAnimationName(c.current);d.current=et==="mounted"?nt:"none"},[et]),useLayoutEffect2(()=>{const nt=c.current,at=h.current;if(at!==e){const gt=d.current,bt=getAnimationName(nt);e?rt("MOUNT"):bt==="none"||(nt==null?void 0:nt.display)==="none"?rt("UNMOUNT"):rt(at&>!==bt?"ANIMATION_OUT":"UNMOUNT"),h.current=e}},[e,rt]),useLayoutEffect2(()=>{if(a){let nt;const at=a.ownerDocument.defaultView??window,ot=bt=>{const $t=getAnimationName(c.current).includes(bt.animationName);if(bt.target===a&&$t&&(rt("ANIMATION_END"),!h.current)){const St=a.style.animationFillMode;a.style.animationFillMode="forwards",nt=at.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=St)})}},gt=bt=>{bt.target===a&&(d.current=getAnimationName(c.current))};return a.addEventListener("animationstart",gt),a.addEventListener("animationcancel",ot),a.addEventListener("animationend",ot),()=>{at.clearTimeout(nt),a.removeEventListener("animationstart",gt),a.removeEventListener("animationcancel",ot),a.removeEventListener("animationend",ot)}}else rt("ANIMATION_END")},[a,rt]),{isPresent:["mounted","unmountSuspended"].includes(et),ref:reactExports.useCallback(nt=>{nt&&(c.current=getComputedStyle(nt)),o(nt)},[])}}function getAnimationName(e){return(e==null?void 0:e.animationName)||"none"}function getElementRef(e){var c,h;let a=(c=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:c.get,o=a&&"isReactWarning"in a&&a.isReactWarning;return o?e.ref:(a=(h=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:h.get,o=a&&"isReactWarning"in a&&a.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var count=0;function useFocusGuards(){reactExports.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??createFocusGuard()),document.body.insertAdjacentElement("beforeend",e[1]??createFocusGuard()),count++,()=>{count===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(a=>a.remove()),count--}},[])}function createFocusGuard(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var __assign$1=function(){return __assign$1=Object.assign||function(a){for(var o,c=1,h=arguments.length;c"u")return zeroGap;var a=getOffset(e),o=document.documentElement.clientWidth,c=window.innerWidth;return{left:a[0],top:a[1],right:a[2],gap:Math.max(0,c-o+a[2]-a[0])}},Style=styleSingleton(),lockAttribute="data-scroll-locked",getStyles=function(e,a,o,c){var h=e.left,d=e.top,j=e.right,et=e.gap;return o===void 0&&(o="margin"),` + */const Zap=createLucideIcon("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),ErrorState=({error:e,onRetry:a})=>jsxRuntimeExports.jsx("div",{className:"h-full flex flex-col items-center justify-center p-6 animate-fade-in fill-both",children:jsxRuntimeExports.jsxs("div",{className:"w-full max-w-md mx-auto text-center space-y-6",children:[jsxRuntimeExports.jsxs("div",{className:"relative inline-flex",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-destructive/20 rounded-full blur-xl animate-pulse"}),jsxRuntimeExports.jsx("div",{className:"relative bg-background border border-border rounded-full p-4",children:jsxRuntimeExports.jsx(CircleAlert,{className:"w-12 h-12 text-destructive animate-fade-in"})})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2 animate-slide-in-from-bottom delay-1 fill-both",children:[jsxRuntimeExports.jsx("h1",{className:"text-2xl font-semibold text-foreground",children:"Something went wrong"}),jsxRuntimeExports.jsx("p",{className:"text-muted-foreground text-base max-w-sm mx-auto break-words",children:e})]}),a&&jsxRuntimeExports.jsx(Button,{onClick:a,className:"animate-slide-in-from-bottom delay-2 fill-both bg-secondary hover:bg-secondary/90 transition-colors duration-200",children:"Try Again"})]})}),LoadingState=({message:e="Loading..."})=>jsxRuntimeExports.jsx("div",{className:"h-full flex flex-col items-center justify-center p-6 animate-fade-in fill-both",children:jsxRuntimeExports.jsxs("div",{className:"w-full max-w-md mx-auto text-center space-y-6",children:[jsxRuntimeExports.jsxs("div",{className:"relative inline-flex",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-secondary/20 rounded-full blur-xl animate-pulse"}),jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx("div",{className:"w-16 h-16 rounded-full border-4 border-secondary/30 border-t-secondary animate-spin"}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 w-16 h-16 rounded-full border-4 border-primary/20 border-b-primary animate-spin-reverse"}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 m-auto w-3 h-3 bg-primary rounded-full animate-pulse"})]})]}),jsxRuntimeExports.jsx("div",{className:"space-y-2 animate-slide-in-from-bottom delay-1 fill-both",children:jsxRuntimeExports.jsx("p",{className:"text-base font-medium text-foreground",children:e})})]})}),OnboardingScreen=({setScreen:e})=>{const[a,o]=reactExports.useState(!1),[c,h]=reactExports.useState(""),[d,j]=reactExports.useState(null);reactExports.useEffect(()=>{et()},[]);const et=async()=>{var nt;o(!0),h("Starting the initialization of Capsule Telegram Mini App Demo..."),j(null);try{if(_default.ready(),!_default.initDataUnsafe.user){j("Error during initialization: User data not found");return}const at=(nt=_default.initDataUnsafe.user)==null?void 0:nt.username;if(!at){j("Error during initialization: Username not found");return}h(`User authenticated successfully: ${at}`),await new Promise(gt=>setTimeout(gt,1e3)),h(`Checking Telegram cloud storage for existing wallet data associated with user ${at}...`),await new Promise(gt=>setTimeout(gt,1e3));const ot=await retrieveChunkedData("userShare",h,j);ot?(h("Existing wallet data found. Setting up your wallet..."),await capsuleClient.setUserShare(ot),h("Initialization complete. Redirecting to the app..."),await new Promise(gt=>setTimeout(gt,1e3)),e("home")):(h(`No existing wallet data found for user ${at}. Proceeding with new wallet creation...`),await new Promise(gt=>setTimeout(gt,1e3)))}catch(at){j(`Initialization error: ${at instanceof Error?at.message:String(at)}. Please try again or contact support if the issue persists.`),await new Promise(ot=>setTimeout(ot,1e3)),j("Clearing storage and retrying initialization..."),await new Promise(ot=>setTimeout(ot,1e3)),clearChunkedStorage(h,j).catch(ot=>{console.error("Failed to clear storage:",ot)}),j("Storage cleared. Retry initialization...")}finally{o(!1),h(""),j(null)}},rt=async()=>{var nt;o(!0),h("Generating a new wallet..."),j(null);try{const at=(nt=_default.initDataUnsafe.user)==null?void 0:nt.username;if(!at){j("Error: Username not found. Unable to create wallet.");return}const ot=`${at+crypto.randomUUID().split("-")[0]}@test.usecapsule.com`;h("Creating wallet with pre-generated identifier...");const gt=await capsuleClient.createWalletPreGen(WalletType.EVM,ot);h(`Wallet created successfully. Address: ${gt.address||"N/A"}`),await new Promise(wt=>setTimeout(wt,1e3)),h("Retrieving user wallet share...");const bt=await capsuleClient.getUserShare()||"";await new Promise(wt=>setTimeout(wt,1e3)),h("Wallet setup complete. Redirecting to the app..."),await new Promise(wt=>setTimeout(wt,1e3)),storeWithChunking("userShare",bt,j).catch(wt=>{console.error("Failed to store wallet data:",wt)}),await new Promise(wt=>setTimeout(wt,1e3)),e("home")}catch(at){j(`Error: ${at instanceof Error?at.message:String(at)}. Please try again or contact support.`)}finally{o(!1),h("")}};return d?jsxRuntimeExports.jsx(ErrorState,{error:d,onRetry:et}):a?jsxRuntimeExports.jsx(LoadingState,{message:c}):jsxRuntimeExports.jsxs("div",{className:"h-full flex flex-col justify-between p-6 bg-background animate-fade-in fill-both",children:[jsxRuntimeExports.jsx("div",{className:"fixed top-0 right-0 overflow-hidden w-40 h-40 z-50 pointer-events-none",children:jsxRuntimeExports.jsx("div",{className:"bg-destructive text-destructive-foreground font-bold py-1 text-center w-52 absolute top-8 right-[-40px] transform rotate-45 shadow-lg",children:"Capsule Demo"})}),jsxRuntimeExports.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center",children:[jsxRuntimeExports.jsxs("div",{className:"relative mb-8",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-primary/20 rounded-full blur-xl animate-pulse"}),jsxRuntimeExports.jsx("div",{className:"relative w-24 h-24 text-primary transition-all duration-300 hover:scale-105 hover:rotate-3",children:jsxRuntimeExports.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"w-full h-full animate-slide-in-from-top fill-both",children:[jsxRuntimeExports.jsx("path",{d:"M21 12V7H5a2 2 0 0 1 0-4h14v4"}),jsxRuntimeExports.jsx("path",{d:"M3 5v14a2 2 0 0 0 2 2h16v-5"}),jsxRuntimeExports.jsx("path",{d:"M18 12a2 2 0 0 0 0 4h4v-4Z"})]})})]}),jsxRuntimeExports.jsxs("div",{className:"text-center space-y-4 mb-12 animate-slide-in-from-bottom delay-1 fill-both",children:[jsxRuntimeExports.jsx("h1",{className:"text-4xl font-bold text-foreground",children:"Beyond Web3 Authentication"}),jsxRuntimeExports.jsx("p",{className:"text-lg text-muted-foreground max-w-sm",children:"Cross-app wallets that work everywhere"})]}),jsxRuntimeExports.jsxs("div",{className:"w-full max-w-sm space-y-4 animate-slide-in-from-bottom delay-2 fill-both",children:[jsxRuntimeExports.jsx("div",{className:"group bg-secondary/5 border border-secondary/20 rounded-lg p-4 transition-all duration-200 hover:bg-secondary/10",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx("div",{className:"p-2 rounded-full bg-secondary/10 text-secondary",children:jsxRuntimeExports.jsx(Shield,{className:"w-5 h-5"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h3",{className:"font-medium text-foreground",children:"Enterprise Security"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"Industry-leading MPC protection"})]})]})}),jsxRuntimeExports.jsx("div",{className:"group bg-primary/5 border border-primary/20 rounded-lg p-4 transition-all duration-200 hover:bg-primary/10",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx("div",{className:"p-2 rounded-full bg-primary/10 text-primary",children:jsxRuntimeExports.jsx(CircleCheckBig,{className:"w-5 h-5"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h3",{className:"font-medium text-foreground",children:"Universal Access"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"Cross-app compatibility built in"})]})]})}),jsxRuntimeExports.jsx("div",{className:"group bg-accent/5 border border-accent/20 rounded-lg p-4 transition-all duration-200 hover:bg-accent/10",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx("div",{className:"p-2 rounded-full bg-accent/10 text-accent",children:jsxRuntimeExports.jsx(Wallet,{className:"w-5 h-5"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("h3",{className:"font-medium text-foreground",children:"Start Instantly"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-muted-foreground",children:"Ready to use in seconds"})]})]})})]})]}),jsxRuntimeExports.jsx("div",{className:"animate-slide-in-from-bottom delay-4 fill-both",children:jsxRuntimeExports.jsx(Button,{size:"lg",onClick:rt,className:"w-full h-14 bg-primary text-primary-foreground hover:bg-primary/90 transition-all duration-300 group",children:jsxRuntimeExports.jsxs("span",{className:"flex items-center gap-2",children:["Create Wallet",jsxRuntimeExports.jsx(Wallet,{className:"w-5 h-5 transition-transform duration-300 group-hover:rotate-6"})]})})})]})};function composeEventHandlers(e,a,{checkForDefaultPrevented:o=!0}={}){return function(h){if(e==null||e(h),o===!1||!h.defaultPrevented)return a==null?void 0:a(h)}}function createContext2(e,a){const o=reactExports.createContext(a),c=d=>{const{children:j,...et}=d,rt=reactExports.useMemo(()=>et,Object.values(et));return jsxRuntimeExports.jsx(o.Provider,{value:rt,children:j})};c.displayName=e+"Provider";function h(d){const j=reactExports.useContext(o);if(j)return j;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${e}\``)}return[c,h]}function createContextScope(e,a=[]){let o=[];function c(d,j){const et=reactExports.createContext(j),rt=o.length;o=[...o,j];const nt=ot=>{var Et;const{scope:gt,children:bt,...wt}=ot,$t=((Et=gt==null?void 0:gt[e])==null?void 0:Et[rt])||et,St=reactExports.useMemo(()=>wt,Object.values(wt));return jsxRuntimeExports.jsx($t.Provider,{value:St,children:bt})};nt.displayName=d+"Provider";function at(ot,gt){var $t;const bt=(($t=gt==null?void 0:gt[e])==null?void 0:$t[rt])||et,wt=reactExports.useContext(bt);if(wt)return wt;if(j!==void 0)return j;throw new Error(`\`${ot}\` must be used within \`${d}\``)}return[nt,at]}const h=()=>{const d=o.map(j=>reactExports.createContext(j));return function(et){const rt=(et==null?void 0:et[e])||d;return reactExports.useMemo(()=>({[`__scope${e}`]:{...et,[e]:rt}}),[et,rt])}};return h.scopeName=e,[c,composeContextScopes(h,...a)]}function composeContextScopes(...e){const a=e[0];if(e.length===1)return a;const o=()=>{const c=e.map(h=>({useScope:h(),scopeName:h.scopeName}));return function(d){const j=c.reduce((et,{useScope:rt,scopeName:nt})=>{const ot=rt(d)[`__scope${nt}`];return{...et,...ot}},{});return reactExports.useMemo(()=>({[`__scope${a.scopeName}`]:j}),[j])}};return o.scopeName=a.scopeName,o}var useLayoutEffect2=globalThis!=null&&globalThis.document?reactExports.useLayoutEffect:()=>{},useReactId=React$1.useId||(()=>{}),count$1=0;function useId(e){const[a,o]=reactExports.useState(useReactId());return useLayoutEffect2(()=>{e||o(c=>c??String(count$1++))},[e]),e||(a?`radix-${a}`:"")}function useCallbackRef$1(e){const a=reactExports.useRef(e);return reactExports.useEffect(()=>{a.current=e}),reactExports.useMemo(()=>(...o)=>{var c;return(c=a.current)==null?void 0:c.call(a,...o)},[])}function useControllableState({prop:e,defaultProp:a,onChange:o=()=>{}}){const[c,h]=useUncontrolledState({defaultProp:a,onChange:o}),d=e!==void 0,j=d?e:c,et=useCallbackRef$1(o),rt=reactExports.useCallback(nt=>{if(d){const ot=typeof nt=="function"?nt(e):nt;ot!==e&&et(ot)}else h(nt)},[d,e,h,et]);return[j,rt]}function useUncontrolledState({defaultProp:e,onChange:a}){const o=reactExports.useState(e),[c]=o,h=reactExports.useRef(c),d=useCallbackRef$1(a);return reactExports.useEffect(()=>{h.current!==c&&(d(c),h.current=c)},[c,h,d]),o}var NODES=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Primitive$1=NODES.reduce((e,a)=>{const o=reactExports.forwardRef((c,h)=>{const{asChild:d,...j}=c,et=d?Slot:a;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),jsxRuntimeExports.jsx(et,{...j,ref:h})});return o.displayName=`Primitive.${a}`,{...e,[a]:o}},{});function dispatchDiscreteCustomEvent(e,a){e&&reactDomExports.flushSync(()=>e.dispatchEvent(a))}function useEscapeKeydown(e,a=globalThis==null?void 0:globalThis.document){const o=useCallbackRef$1(e);reactExports.useEffect(()=>{const c=h=>{h.key==="Escape"&&o(h)};return a.addEventListener("keydown",c,{capture:!0}),()=>a.removeEventListener("keydown",c,{capture:!0})},[o,a])}var DISMISSABLE_LAYER_NAME="DismissableLayer",CONTEXT_UPDATE="dismissableLayer.update",POINTER_DOWN_OUTSIDE="dismissableLayer.pointerDownOutside",FOCUS_OUTSIDE="dismissableLayer.focusOutside",originalBodyPointerEvents,DismissableLayerContext=reactExports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),DismissableLayer=reactExports.forwardRef((e,a)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:c,onPointerDownOutside:h,onFocusOutside:d,onInteractOutside:j,onDismiss:et,...rt}=e,nt=reactExports.useContext(DismissableLayerContext),[at,ot]=reactExports.useState(null),gt=(at==null?void 0:at.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,bt]=reactExports.useState({}),wt=useComposedRefs(a,zt=>ot(zt)),$t=Array.from(nt.layers),[St]=[...nt.layersWithOutsidePointerEventsDisabled].slice(-1),Et=$t.indexOf(St),_t=at?$t.indexOf(at):-1,At=nt.layersWithOutsidePointerEventsDisabled.size>0,Bt=_t>=Et,kt=usePointerDownOutside(zt=>{const Xt=zt.target,Wt=[...nt.branches].some(ir=>ir.contains(Xt));!Bt||Wt||(h==null||h(zt),j==null||j(zt),zt.defaultPrevented||et==null||et())},gt),jt=useFocusOutside(zt=>{const Xt=zt.target;[...nt.branches].some(ir=>ir.contains(Xt))||(d==null||d(zt),j==null||j(zt),zt.defaultPrevented||et==null||et())},gt);return useEscapeKeydown(zt=>{_t===nt.layers.size-1&&(c==null||c(zt),!zt.defaultPrevented&&et&&(zt.preventDefault(),et()))},gt),reactExports.useEffect(()=>{if(at)return o&&(nt.layersWithOutsidePointerEventsDisabled.size===0&&(originalBodyPointerEvents=gt.body.style.pointerEvents,gt.body.style.pointerEvents="none"),nt.layersWithOutsidePointerEventsDisabled.add(at)),nt.layers.add(at),dispatchUpdate(),()=>{o&&nt.layersWithOutsidePointerEventsDisabled.size===1&&(gt.body.style.pointerEvents=originalBodyPointerEvents)}},[at,gt,o,nt]),reactExports.useEffect(()=>()=>{at&&(nt.layers.delete(at),nt.layersWithOutsidePointerEventsDisabled.delete(at),dispatchUpdate())},[at,nt]),reactExports.useEffect(()=>{const zt=()=>bt({});return document.addEventListener(CONTEXT_UPDATE,zt),()=>document.removeEventListener(CONTEXT_UPDATE,zt)},[]),jsxRuntimeExports.jsx(Primitive$1.div,{...rt,ref:wt,style:{pointerEvents:At?Bt?"auto":"none":void 0,...e.style},onFocusCapture:composeEventHandlers(e.onFocusCapture,jt.onFocusCapture),onBlurCapture:composeEventHandlers(e.onBlurCapture,jt.onBlurCapture),onPointerDownCapture:composeEventHandlers(e.onPointerDownCapture,kt.onPointerDownCapture)})});DismissableLayer.displayName=DISMISSABLE_LAYER_NAME;var BRANCH_NAME="DismissableLayerBranch",DismissableLayerBranch=reactExports.forwardRef((e,a)=>{const o=reactExports.useContext(DismissableLayerContext),c=reactExports.useRef(null),h=useComposedRefs(a,c);return reactExports.useEffect(()=>{const d=c.current;if(d)return o.branches.add(d),()=>{o.branches.delete(d)}},[o.branches]),jsxRuntimeExports.jsx(Primitive$1.div,{...e,ref:h})});DismissableLayerBranch.displayName=BRANCH_NAME;function usePointerDownOutside(e,a=globalThis==null?void 0:globalThis.document){const o=useCallbackRef$1(e),c=reactExports.useRef(!1),h=reactExports.useRef(()=>{});return reactExports.useEffect(()=>{const d=et=>{if(et.target&&!c.current){let rt=function(){handleAndDispatchCustomEvent(POINTER_DOWN_OUTSIDE,o,nt,{discrete:!0})};const nt={originalEvent:et};et.pointerType==="touch"?(a.removeEventListener("click",h.current),h.current=rt,a.addEventListener("click",h.current,{once:!0})):rt()}else a.removeEventListener("click",h.current);c.current=!1},j=window.setTimeout(()=>{a.addEventListener("pointerdown",d)},0);return()=>{window.clearTimeout(j),a.removeEventListener("pointerdown",d),a.removeEventListener("click",h.current)}},[a,o]),{onPointerDownCapture:()=>c.current=!0}}function useFocusOutside(e,a=globalThis==null?void 0:globalThis.document){const o=useCallbackRef$1(e),c=reactExports.useRef(!1);return reactExports.useEffect(()=>{const h=d=>{d.target&&!c.current&&handleAndDispatchCustomEvent(FOCUS_OUTSIDE,o,{originalEvent:d},{discrete:!1})};return a.addEventListener("focusin",h),()=>a.removeEventListener("focusin",h)},[a,o]),{onFocusCapture:()=>c.current=!0,onBlurCapture:()=>c.current=!1}}function dispatchUpdate(){const e=new CustomEvent(CONTEXT_UPDATE);document.dispatchEvent(e)}function handleAndDispatchCustomEvent(e,a,o,{discrete:c}){const h=o.originalEvent.target,d=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:o});a&&h.addEventListener(e,a,{once:!0}),c?dispatchDiscreteCustomEvent(h,d):h.dispatchEvent(d)}var AUTOFOCUS_ON_MOUNT="focusScope.autoFocusOnMount",AUTOFOCUS_ON_UNMOUNT="focusScope.autoFocusOnUnmount",EVENT_OPTIONS={bubbles:!1,cancelable:!0},FOCUS_SCOPE_NAME="FocusScope",FocusScope=reactExports.forwardRef((e,a)=>{const{loop:o=!1,trapped:c=!1,onMountAutoFocus:h,onUnmountAutoFocus:d,...j}=e,[et,rt]=reactExports.useState(null),nt=useCallbackRef$1(h),at=useCallbackRef$1(d),ot=reactExports.useRef(null),gt=useComposedRefs(a,$t=>rt($t)),bt=reactExports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;reactExports.useEffect(()=>{if(c){let $t=function(At){if(bt.paused||!et)return;const Bt=At.target;et.contains(Bt)?ot.current=Bt:focus(ot.current,{select:!0})},St=function(At){if(bt.paused||!et)return;const Bt=At.relatedTarget;Bt!==null&&(et.contains(Bt)||focus(ot.current,{select:!0}))},Et=function(At){if(document.activeElement===document.body)for(const kt of At)kt.removedNodes.length>0&&focus(et)};document.addEventListener("focusin",$t),document.addEventListener("focusout",St);const _t=new MutationObserver(Et);return et&&_t.observe(et,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",$t),document.removeEventListener("focusout",St),_t.disconnect()}}},[c,et,bt.paused]),reactExports.useEffect(()=>{if(et){focusScopesStack.add(bt);const $t=document.activeElement;if(!et.contains($t)){const Et=new CustomEvent(AUTOFOCUS_ON_MOUNT,EVENT_OPTIONS);et.addEventListener(AUTOFOCUS_ON_MOUNT,nt),et.dispatchEvent(Et),Et.defaultPrevented||(focusFirst(removeLinks(getTabbableCandidates(et)),{select:!0}),document.activeElement===$t&&focus(et))}return()=>{et.removeEventListener(AUTOFOCUS_ON_MOUNT,nt),setTimeout(()=>{const Et=new CustomEvent(AUTOFOCUS_ON_UNMOUNT,EVENT_OPTIONS);et.addEventListener(AUTOFOCUS_ON_UNMOUNT,at),et.dispatchEvent(Et),Et.defaultPrevented||focus($t??document.body,{select:!0}),et.removeEventListener(AUTOFOCUS_ON_UNMOUNT,at),focusScopesStack.remove(bt)},0)}}},[et,nt,at,bt]);const wt=reactExports.useCallback($t=>{if(!o&&!c||bt.paused)return;const St=$t.key==="Tab"&&!$t.altKey&&!$t.ctrlKey&&!$t.metaKey,Et=document.activeElement;if(St&&Et){const _t=$t.currentTarget,[At,Bt]=getTabbableEdges(_t);At&&Bt?!$t.shiftKey&&Et===Bt?($t.preventDefault(),o&&focus(At,{select:!0})):$t.shiftKey&&Et===At&&($t.preventDefault(),o&&focus(Bt,{select:!0})):Et===_t&&$t.preventDefault()}},[o,c,bt.paused]);return jsxRuntimeExports.jsx(Primitive$1.div,{tabIndex:-1,...j,ref:gt,onKeyDown:wt})});FocusScope.displayName=FOCUS_SCOPE_NAME;function focusFirst(e,{select:a=!1}={}){const o=document.activeElement;for(const c of e)if(focus(c,{select:a}),document.activeElement!==o)return}function getTabbableEdges(e){const a=getTabbableCandidates(e),o=findVisible(a,e),c=findVisible(a.reverse(),e);return[o,c]}function getTabbableCandidates(e){const a=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c=>{const h=c.tagName==="INPUT"&&c.type==="hidden";return c.disabled||c.hidden||h?NodeFilter.FILTER_SKIP:c.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)a.push(o.currentNode);return a}function findVisible(e,a){for(const o of e)if(!isHidden(o,{upTo:a}))return o}function isHidden(e,{upTo:a}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(a!==void 0&&e===a)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function isSelectableInput(e){return e instanceof HTMLInputElement&&"select"in e}function focus(e,{select:a=!1}={}){if(e&&e.focus){const o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&isSelectableInput(e)&&a&&e.select()}}var focusScopesStack=createFocusScopesStack();function createFocusScopesStack(){let e=[];return{add(a){const o=e[0];a!==o&&(o==null||o.pause()),e=arrayRemove(e,a),e.unshift(a)},remove(a){var o;e=arrayRemove(e,a),(o=e[0])==null||o.resume()}}}function arrayRemove(e,a){const o=[...e],c=o.indexOf(a);return c!==-1&&o.splice(c,1),o}function removeLinks(e){return e.filter(a=>a.tagName!=="A")}var PORTAL_NAME$1="Portal",Portal$1=reactExports.forwardRef((e,a)=>{var et;const{container:o,...c}=e,[h,d]=reactExports.useState(!1);useLayoutEffect2(()=>d(!0),[]);const j=o||h&&((et=globalThis==null?void 0:globalThis.document)==null?void 0:et.body);return j?ReactDOM.createPortal(jsxRuntimeExports.jsx(Primitive$1.div,{...c,ref:a}),j):null});Portal$1.displayName=PORTAL_NAME$1;function useStateMachine(e,a){return reactExports.useReducer((o,c)=>a[o][c]??o,e)}var Presence=e=>{const{present:a,children:o}=e,c=usePresence(a),h=typeof o=="function"?o({present:c.isPresent}):reactExports.Children.only(o),d=useComposedRefs(c.ref,getElementRef(h));return typeof o=="function"||c.isPresent?reactExports.cloneElement(h,{ref:d}):null};Presence.displayName="Presence";function usePresence(e){const[a,o]=reactExports.useState(),c=reactExports.useRef({}),h=reactExports.useRef(e),d=reactExports.useRef("none"),j=e?"mounted":"unmounted",[et,rt]=useStateMachine(j,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return reactExports.useEffect(()=>{const nt=getAnimationName(c.current);d.current=et==="mounted"?nt:"none"},[et]),useLayoutEffect2(()=>{const nt=c.current,at=h.current;if(at!==e){const gt=d.current,bt=getAnimationName(nt);e?rt("MOUNT"):bt==="none"||(nt==null?void 0:nt.display)==="none"?rt("UNMOUNT"):rt(at&>!==bt?"ANIMATION_OUT":"UNMOUNT"),h.current=e}},[e,rt]),useLayoutEffect2(()=>{if(a){let nt;const at=a.ownerDocument.defaultView??window,ot=bt=>{const $t=getAnimationName(c.current).includes(bt.animationName);if(bt.target===a&&$t&&(rt("ANIMATION_END"),!h.current)){const St=a.style.animationFillMode;a.style.animationFillMode="forwards",nt=at.setTimeout(()=>{a.style.animationFillMode==="forwards"&&(a.style.animationFillMode=St)})}},gt=bt=>{bt.target===a&&(d.current=getAnimationName(c.current))};return a.addEventListener("animationstart",gt),a.addEventListener("animationcancel",ot),a.addEventListener("animationend",ot),()=>{at.clearTimeout(nt),a.removeEventListener("animationstart",gt),a.removeEventListener("animationcancel",ot),a.removeEventListener("animationend",ot)}}else rt("ANIMATION_END")},[a,rt]),{isPresent:["mounted","unmountSuspended"].includes(et),ref:reactExports.useCallback(nt=>{nt&&(c.current=getComputedStyle(nt)),o(nt)},[])}}function getAnimationName(e){return(e==null?void 0:e.animationName)||"none"}function getElementRef(e){var c,h;let a=(c=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:c.get,o=a&&"isReactWarning"in a&&a.isReactWarning;return o?e.ref:(a=(h=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:h.get,o=a&&"isReactWarning"in a&&a.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var count=0;function useFocusGuards(){reactExports.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??createFocusGuard()),document.body.insertAdjacentElement("beforeend",e[1]??createFocusGuard()),count++,()=>{count===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(a=>a.remove()),count--}},[])}function createFocusGuard(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var __assign$1=function(){return __assign$1=Object.assign||function(a){for(var o,c=1,h=arguments.length;c"u")return zeroGap;var a=getOffset(e),o=document.documentElement.clientWidth,c=window.innerWidth;return{left:a[0],top:a[1],right:a[2],gap:Math.max(0,c-o+a[2]-a[0])}},Style=styleSingleton(),lockAttribute="data-scroll-locked",getStyles=function(e,a,o,c){var h=e.left,d=e.top,j=e.right,et=e.gap;return o===void 0&&(o="margin"),` .`.concat(noScrollbarsClassName,` { overflow: hidden `).concat(c,`; padding-right: `).concat(et,"px ").concat(c,`; @@ -340,4 +340,4 @@ __p += '`),Pn&&(en+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+en+`return __p -}`;var An=u2(function(){return Gn(ar,hn+"return "+en).apply(o,pr)});if(An.source=en,vm(An))throw An;return An}function Lx(ht){return zn(ht).toLowerCase()}function Dx(ht){return zn(ht).toUpperCase()}function Ux(ht,yt,Ct){if(ht=zn(ht),ht&&(Ct||yt===o))return yv(ht);if(!ht||!(yt=Bs(yt)))return ht;var Lt=eo(ht),Kt=eo(yt),ar=bv(Lt,Kt),pr=wv(Lt,Kt)+1;return _f(Lt,ar,pr).join("")}function Fx(ht,yt,Ct){if(ht=zn(ht),ht&&(Ct||yt===o))return ht.slice(0,_v(ht)+1);if(!ht||!(yt=Bs(yt)))return ht;var Lt=eo(ht),Kt=wv(Lt,eo(yt))+1;return _f(Lt,0,Kt).join("")}function jx(ht,yt,Ct){if(ht=zn(ht),ht&&(Ct||yt===o))return ht.replace(gn,"");if(!ht||!(yt=Bs(yt)))return ht;var Lt=eo(ht),Kt=bv(Lt,eo(yt));return _f(Lt,Kt).join("")}function Hx(ht,yt){var Ct=ir,Lt=mt;if(_a(yt)){var Kt="separator"in yt?yt.separator:Kt;Ct="length"in yt?Sn(yt.length):Ct,Lt="omission"in yt?Bs(yt.omission):Lt}ht=zn(ht);var ar=ht.length;if($l(ht)){var pr=eo(ht);ar=pr.length}if(Ct>=ar)return ht;var $r=Ct-_l(Lt);if($r<1)return Lt;var Nr=pr?_f(pr,0,$r).join(""):ht.slice(0,$r);if(Kt===o)return Nr+Lt;if(pr&&($r+=Nr.length-$r),ym(Kt)){if(ht.slice($r).search(Kt)){var Yr,Xr=Nr;for(Kt.global||(Kt=B1(Kt.source,zn(mn.exec(Kt))+"g")),Kt.lastIndex=0;Yr=Kt.exec(Xr);)var en=Yr.index;Nr=Nr.slice(0,en===o?$r:en)}}else if(ht.indexOf(Bs(Kt),$r)!=$r){var on=Nr.lastIndexOf(Kt);on>-1&&(Nr=Nr.slice(0,on))}return Nr+Lt}function qx(ht){return ht=zn(ht),ht&&br.test(ht)?ht.replace(gr,lw):ht}var Vx=Bl(function(ht,yt,Ct){return ht+(Ct?" ":"")+yt.toUpperCase()}),$m=ly("toUpperCase");function f2(ht,yt,Ct){return ht=zn(ht),yt=Ct?o:yt,yt===o?aw(ht)?hw(ht):Y2(ht):ht.match(yt)||[]}var u2=Cn(function(ht,yt){try{return Cs(ht,o,yt)}catch(Ct){return vm(Ct)?Ct:new xn(Ct)}}),Wx=Co(function(ht,yt){return Us(yt,function(Ct){Ct=ho(Ct),So(ht,Ct,gm(ht[Ct],ht))}),ht});function Kx(ht){var yt=ht==null?0:ht.length,Ct=yn();return ht=yt?$a(ht,function(Lt){if(typeof Lt[1]!="function")throw new Fs(j);return[Ct(Lt[0]),Lt[1]]}):[],Cn(function(Lt){for(var Kt=-1;++Ktvt)return[];var Ct=dt,Lt=cs(ht,dt);yt=yn(yt),ht-=dt;for(var Kt=A1(Lt,yt);++Ct0||yt<0)?new Nn(Ct):(ht<0?Ct=Ct.takeRight(-ht):ht&&(Ct=Ct.drop(ht)),yt!==o&&(yt=Sn(yt),Ct=yt<0?Ct.dropRight(-yt):Ct.take(yt-ht)),Ct)},Nn.prototype.takeRightWhile=function(ht){return this.reverse().takeWhile(ht).reverse()},Nn.prototype.toArray=function(){return this.take(dt)},lo(Nn.prototype,function(ht,yt){var Ct=/^(?:filter|find|map|reject)|While$/.test(yt),Lt=/^(?:head|last)$/.test(yt),Kt=er[Lt?"take"+(yt=="last"?"Right":""):yt],ar=Lt||/^find/.test(yt);Kt&&(er.prototype[yt]=function(){var pr=this.__wrapped__,$r=Lt?[1]:arguments,Nr=pr instanceof Nn,Yr=$r[0],Xr=Nr||En(pr),en=function(Bn){var Pn=Kt.apply(er,zo([Bn],$r));return Lt&&on?Pn[0]:Pn};Xr&&Ct&&typeof Yr=="function"&&Yr.length!=1&&(Nr=Xr=!1);var on=this.__chain__,hn=!!this.__actions__.length,$n=ar&&!on,An=Nr&&!hn;if(!ar&&Xr){pr=An?pr:new Nn(this);var _n=ht.apply(pr,$r);return _n.__actions__.push({func:qp,args:[en],thisArg:o}),new Hs(_n,on)}return $n&&An?ht.apply(this,$r):(_n=this.thru(en),$n?Lt?_n.value()[0]:_n.value():_n)})}),Us(["pop","push","shift","sort","splice","unshift"],function(ht){var yt=pp[ht],Ct=/^(?:push|sort|unshift)$/.test(ht)?"tap":"thru",Lt=/^(?:pop|shift)$/.test(ht);er.prototype[ht]=function(){var Kt=arguments;if(Lt&&!this.__chain__){var ar=this.value();return yt.apply(En(ar)?ar:[],Kt)}return this[Ct](function(pr){return yt.apply(En(pr)?pr:[],Kt)})}}),lo(Nn.prototype,function(ht,yt){var Ct=er[yt];if(Ct){var Lt=Ct.name+"";Jn.call(Al,Lt)||(Al[Lt]=[]),Al[Lt].push({name:yt,func:Ct})}}),Al[kp(o,Et).name]=[{name:"wrapper",func:o}],Nn.prototype.clone=kw,Nn.prototype.reverse=Ow,Nn.prototype.value=Lw,er.prototype.at=g_,er.prototype.chain=m_,er.prototype.commit=v_,er.prototype.next=y_,er.prototype.plant=w_,er.prototype.reverse=$_,er.prototype.toJSON=er.prototype.valueOf=er.prototype.value=x_,er.prototype.first=er.prototype.head,B0&&(er.prototype[B0]=b_),er},xl=pw();wu?((wu.exports=xl)._=xl,m1._=xl):os._=xl}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports;const _=getDefaultExportFromCjs$1(lodashExports),TransactionScreen=({setScreen:e})=>{const[a,o]=reactExports.useState(""),[c,h]=reactExports.useState("21000"),[d,j]=reactExports.useState(""),[et,rt]=reactExports.useState(""),[nt,at]=reactExports.useState(!1),[ot,gt]=reactExports.useState(""),[bt,wt]=reactExports.useState(""),[$t,St]=reactExports.useState(!1),Et=reactExports.useCallback(async()=>{if(!(!a||!bt))try{const Bt=new JsonRpcProvider("https://ethereum-sepolia-rpc.publicnode.com"),jt=21000n*120n/100n;h(jt.toString());const zt=await Bt.getFeeData();if(zt.gasPrice){const Xt=jt*zt.gasPrice,Wt=formatEther(Xt);j(Wt)}}catch{h("21000"),j("")}},[a,bt]),_t=reactExports.useCallback(_.debounce(()=>{Et()},500),[Et]);reactExports.useEffect(()=>{const Bt=new JsonRpcProvider("https://ethereum-sepolia-rpc.publicnode.com"),kt=new CapsuleEthersSigner(capsuleClient,Bt);(async()=>{try{const zt=await kt.getAddress();if(!zt){gt("Failed to fetch address");return}wt(zt)}catch{gt("Failed to fetch address")}})()},[]),reactExports.useEffect(()=>(bt&&Et(),()=>{_t.cancel()}),[bt]),reactExports.useEffect(()=>(a&&bt&&_t(),()=>{_t.cancel()}),[a,bt,_t]);const At=async Bt=>{Bt.preventDefault(),gt(""),St(!0);try{const kt=new JsonRpcProvider("https://ethereum-sepolia-rpc.publicnode.com"),jt=new CapsuleEthersSigner(capsuleClient,kt),zt={from:bt,to:bt,value:parseUnits$1(a||"0","ether"),nonce:await kt.getTransactionCount(bt),gasLimit:parseUnits$1(c,"wei"),gasPrice:await kt.getFeeData().then(Wt=>Wt.gasPrice)},Xt=await jt.signTransaction(zt);rt(Xt),at(!0)}catch(kt){gt(kt instanceof Error?kt.message:"Failed to sign transaction"),console.error("Transaction signing error:",kt)}finally{St(!1)}};return $t?jsxRuntimeExports.jsx(LoadingState,{message:"Signing your transaction..."}):nt?jsxRuntimeExports.jsxs("div",{className:"min-h-screen flex flex-col bg-background animate-fade-in fill-both",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-border sticky top-0 z-10 backdrop-blur-sm bg-background/80",children:[jsxRuntimeExports.jsx(Button,{variant:"ghost",size:"icon",onClick:()=>e("home"),className:"text-muted-foreground hover:bg-secondary/10 transition-colors duration-200",children:jsxRuntimeExports.jsx(X,{className:"h-4 w-4"})}),jsxRuntimeExports.jsx("h1",{className:"text-xl font-semibold text-foreground",children:"Transaction Signed"}),jsxRuntimeExports.jsx("div",{className:"w-6"})]}),jsxRuntimeExports.jsx("div",{className:"flex-1 flex flex-col items-center justify-center p-6 animate-fade-in fill-both",children:jsxRuntimeExports.jsxs("div",{className:"text-center space-y-6",children:[jsxRuntimeExports.jsxs("div",{className:"relative inline-flex mb-6",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-primary/20 rounded-full blur-xl animate-pulse"}),jsxRuntimeExports.jsx("div",{className:"relative bg-background border border-border rounded-full p-4",children:jsxRuntimeExports.jsx(Check,{className:"w-12 h-12 text-primary animate-fade-in"})})]}),jsxRuntimeExports.jsx("h2",{className:"text-xl font-semibold text-foreground",children:"Transaction Successfully Signed"}),jsxRuntimeExports.jsx("div",{className:"max-w-md mx-auto space-y-4",children:jsxRuntimeExports.jsxs(Alert,{className:"bg-secondary/5 border-secondary/20 text-left",children:[jsxRuntimeExports.jsxs(AlertTitle,{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Wallet,{className:"h-4 w-4"}),"Transaction Hash"]}),jsxRuntimeExports.jsx(AlertDescription,{className:"mt-2 font-mono text-xs text-muted-foreground break-all",children:et})]})})]})}),jsxRuntimeExports.jsx("div",{className:"p-4 border-t border-border animate-slide-in-from-bottom fill-both",children:jsxRuntimeExports.jsx(Button,{onClick:()=>e("home"),className:"w-full bg-secondary text-secondary-foreground hover:bg-secondary/90 transition-colors duration-200",children:"Back to Home"})})]}):jsxRuntimeExports.jsxs("div",{className:"min-h-screen flex flex-col bg-background animate-fade-in fill-both",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-border sticky top-0 z-10 backdrop-blur-sm bg-background/80 animate-slide-in-from-top fill-both",children:[jsxRuntimeExports.jsx(Button,{variant:"ghost",size:"icon",onClick:()=>e("home"),className:"text-muted-foreground hover:bg-secondary/10 transition-colors duration-200",children:jsxRuntimeExports.jsx(X,{className:"h-4 w-4"})}),jsxRuntimeExports.jsx("h1",{className:"text-xl font-semibold text-foreground animate-fade-in delay-1 fill-both",children:"Send Transaction"}),jsxRuntimeExports.jsx("div",{className:"w-6"})]}),jsxRuntimeExports.jsx("div",{className:"flex-1 p-4 animate-slide-in-from-bottom delay-2 fill-both",children:jsxRuntimeExports.jsx(Card,{className:"border-border bg-background",children:jsxRuntimeExports.jsx(CardContent,{className:"pt-6",children:jsxRuntimeExports.jsxs("form",{onSubmit:At,className:"space-y-6",children:[jsxRuntimeExports.jsxs(Alert,{className:"bg-secondary/5 border-secondary/20",children:[jsxRuntimeExports.jsxs(AlertTitle,{className:"flex items-center gap-2 text-secondary",children:[jsxRuntimeExports.jsx(Wallet,{className:"h-4 w-4"}),"From Address"]}),jsxRuntimeExports.jsx(AlertDescription,{className:"mt-2 font-mono text-sm text-muted-foreground",children:bt?`${bt.slice(0,12)}...${bt.slice(-6)}`:""})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label,{htmlFor:"value",className:"text-primary font-medium",children:"Value (in Ether)"}),jsxRuntimeExports.jsx(Input,{id:"value",type:"number",value:a,onChange:Bt=>o(Bt.target.value),placeholder:"0.0",required:!0,className:"bg-primary/5 border-primary/20 text-foreground focus:border-primary focus:ring-primary/30"})]}),jsxRuntimeExports.jsxs(Alert,{className:"bg-muted/5 border-muted/50",children:[jsxRuntimeExports.jsxs(AlertTitle,{className:"flex items-center gap-2 text-muted-foreground",children:[jsxRuntimeExports.jsx(Zap,{className:"h-4 w-4"}),"Estimated Transaction Fee"]}),jsxRuntimeExports.jsx(AlertDescription,{className:"mt-2 font-mono text-sm text-muted-foreground",children:d?`${parseFloat(d).toFixed(6)} ETH`:"Calculating..."}),jsxRuntimeExports.jsxs(AlertDescription,{className:"mt-1 text-xs text-muted-foreground",children:["Gas: ",c," units"]})]}),ot&&jsxRuntimeExports.jsx(Alert,{variant:"destructive",className:"animate-fade-in fill-both bg-destructive/10 border-destructive/20",children:jsxRuntimeExports.jsx(AlertDescription,{className:"text-destructive",children:ot})})]})})})}),jsxRuntimeExports.jsx("div",{className:"p-4 mt-auto border-t border-border animate-slide-in-from-bottom delay-3 fill-both",children:jsxRuntimeExports.jsx(Button,{onClick:At,className:"w-full bg-primary text-primary-foreground hover:bg-primary/90 transition-colors duration-200",children:"Sign Transaction"})})]})},App=()=>{const[e,a]=reactExports.useState("onboarding"),o=h=>{a(h)},c={onboarding:jsxRuntimeExports.jsx(OnboardingScreen,{setScreen:o}),home:jsxRuntimeExports.jsx(HomeScreen,{setScreen:o}),transaction:jsxRuntimeExports.jsx(TransactionScreen,{setScreen:o})};return jsxRuntimeExports.jsx("div",{className:"h-screen w-full max-w-md mx-auto bg-background",children:c[e]})};createRoot(document.getElementById("root")).render(jsxRuntimeExports.jsx(reactExports.StrictMode,{children:jsxRuntimeExports.jsx(App,{})}))});export default N6(); +}`;var An=u2(function(){return Gn(ar,hn+"return "+en).apply(o,pr)});if(An.source=en,vm(An))throw An;return An}function Lx(ht){return zn(ht).toLowerCase()}function Dx(ht){return zn(ht).toUpperCase()}function Ux(ht,yt,Ct){if(ht=zn(ht),ht&&(Ct||yt===o))return yv(ht);if(!ht||!(yt=Bs(yt)))return ht;var Lt=eo(ht),Kt=eo(yt),ar=bv(Lt,Kt),pr=wv(Lt,Kt)+1;return _f(Lt,ar,pr).join("")}function Fx(ht,yt,Ct){if(ht=zn(ht),ht&&(Ct||yt===o))return ht.slice(0,_v(ht)+1);if(!ht||!(yt=Bs(yt)))return ht;var Lt=eo(ht),Kt=wv(Lt,eo(yt))+1;return _f(Lt,0,Kt).join("")}function jx(ht,yt,Ct){if(ht=zn(ht),ht&&(Ct||yt===o))return ht.replace(gn,"");if(!ht||!(yt=Bs(yt)))return ht;var Lt=eo(ht),Kt=bv(Lt,eo(yt));return _f(Lt,Kt).join("")}function Hx(ht,yt){var Ct=ir,Lt=mt;if(_a(yt)){var Kt="separator"in yt?yt.separator:Kt;Ct="length"in yt?Sn(yt.length):Ct,Lt="omission"in yt?Bs(yt.omission):Lt}ht=zn(ht);var ar=ht.length;if($l(ht)){var pr=eo(ht);ar=pr.length}if(Ct>=ar)return ht;var $r=Ct-_l(Lt);if($r<1)return Lt;var Nr=pr?_f(pr,0,$r).join(""):ht.slice(0,$r);if(Kt===o)return Nr+Lt;if(pr&&($r+=Nr.length-$r),ym(Kt)){if(ht.slice($r).search(Kt)){var Yr,Xr=Nr;for(Kt.global||(Kt=B1(Kt.source,zn(mn.exec(Kt))+"g")),Kt.lastIndex=0;Yr=Kt.exec(Xr);)var en=Yr.index;Nr=Nr.slice(0,en===o?$r:en)}}else if(ht.indexOf(Bs(Kt),$r)!=$r){var on=Nr.lastIndexOf(Kt);on>-1&&(Nr=Nr.slice(0,on))}return Nr+Lt}function qx(ht){return ht=zn(ht),ht&&br.test(ht)?ht.replace(gr,lw):ht}var Vx=Bl(function(ht,yt,Ct){return ht+(Ct?" ":"")+yt.toUpperCase()}),$m=ly("toUpperCase");function f2(ht,yt,Ct){return ht=zn(ht),yt=Ct?o:yt,yt===o?aw(ht)?hw(ht):Y2(ht):ht.match(yt)||[]}var u2=Cn(function(ht,yt){try{return Cs(ht,o,yt)}catch(Ct){return vm(Ct)?Ct:new xn(Ct)}}),Wx=Co(function(ht,yt){return Us(yt,function(Ct){Ct=ho(Ct),So(ht,Ct,gm(ht[Ct],ht))}),ht});function Kx(ht){var yt=ht==null?0:ht.length,Ct=yn();return ht=yt?$a(ht,function(Lt){if(typeof Lt[1]!="function")throw new Fs(j);return[Ct(Lt[0]),Lt[1]]}):[],Cn(function(Lt){for(var Kt=-1;++Ktvt)return[];var Ct=dt,Lt=cs(ht,dt);yt=yn(yt),ht-=dt;for(var Kt=A1(Lt,yt);++Ct0||yt<0)?new Nn(Ct):(ht<0?Ct=Ct.takeRight(-ht):ht&&(Ct=Ct.drop(ht)),yt!==o&&(yt=Sn(yt),Ct=yt<0?Ct.dropRight(-yt):Ct.take(yt-ht)),Ct)},Nn.prototype.takeRightWhile=function(ht){return this.reverse().takeWhile(ht).reverse()},Nn.prototype.toArray=function(){return this.take(dt)},lo(Nn.prototype,function(ht,yt){var Ct=/^(?:filter|find|map|reject)|While$/.test(yt),Lt=/^(?:head|last)$/.test(yt),Kt=er[Lt?"take"+(yt=="last"?"Right":""):yt],ar=Lt||/^find/.test(yt);Kt&&(er.prototype[yt]=function(){var pr=this.__wrapped__,$r=Lt?[1]:arguments,Nr=pr instanceof Nn,Yr=$r[0],Xr=Nr||En(pr),en=function(Bn){var Pn=Kt.apply(er,zo([Bn],$r));return Lt&&on?Pn[0]:Pn};Xr&&Ct&&typeof Yr=="function"&&Yr.length!=1&&(Nr=Xr=!1);var on=this.__chain__,hn=!!this.__actions__.length,$n=ar&&!on,An=Nr&&!hn;if(!ar&&Xr){pr=An?pr:new Nn(this);var _n=ht.apply(pr,$r);return _n.__actions__.push({func:qp,args:[en],thisArg:o}),new Hs(_n,on)}return $n&&An?ht.apply(this,$r):(_n=this.thru(en),$n?Lt?_n.value()[0]:_n.value():_n)})}),Us(["pop","push","shift","sort","splice","unshift"],function(ht){var yt=pp[ht],Ct=/^(?:push|sort|unshift)$/.test(ht)?"tap":"thru",Lt=/^(?:pop|shift)$/.test(ht);er.prototype[ht]=function(){var Kt=arguments;if(Lt&&!this.__chain__){var ar=this.value();return yt.apply(En(ar)?ar:[],Kt)}return this[Ct](function(pr){return yt.apply(En(pr)?pr:[],Kt)})}}),lo(Nn.prototype,function(ht,yt){var Ct=er[yt];if(Ct){var Lt=Ct.name+"";Jn.call(Al,Lt)||(Al[Lt]=[]),Al[Lt].push({name:yt,func:Ct})}}),Al[kp(o,Et).name]=[{name:"wrapper",func:o}],Nn.prototype.clone=kw,Nn.prototype.reverse=Ow,Nn.prototype.value=Lw,er.prototype.at=g_,er.prototype.chain=m_,er.prototype.commit=v_,er.prototype.next=y_,er.prototype.plant=w_,er.prototype.reverse=$_,er.prototype.toJSON=er.prototype.valueOf=er.prototype.value=x_,er.prototype.first=er.prototype.head,B0&&(er.prototype[B0]=b_),er},xl=pw();wu?((wu.exports=xl)._=xl,m1._=xl):os._=xl}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports;const _=getDefaultExportFromCjs$1(lodashExports),TransactionScreen=({setScreen:e})=>{const[a,o]=reactExports.useState(""),[c,h]=reactExports.useState("21000"),[d,j]=reactExports.useState(""),[et,rt]=reactExports.useState(""),[nt,at]=reactExports.useState(!1),[ot,gt]=reactExports.useState(""),[bt,wt]=reactExports.useState(""),[$t,St]=reactExports.useState(!1),Et=reactExports.useCallback(async()=>{if(!(!a||!bt))try{const Bt=new JsonRpcProvider("https://ethereum-sepolia-rpc.publicnode.com"),jt=21000n*120n/100n;h(jt.toString());const zt=await Bt.getFeeData();if(zt.gasPrice){const Xt=jt*zt.gasPrice,Wt=formatEther(Xt);j(Wt)}}catch{h("21000"),j("")}},[a,bt]),_t=reactExports.useCallback(_.debounce(()=>{Et()},500),[Et]);reactExports.useEffect(()=>{const Bt=new JsonRpcProvider("https://ethereum-sepolia-rpc.publicnode.com"),kt=new CapsuleEthersSigner(capsuleClient,Bt);(async()=>{try{const zt=await kt.getAddress();if(!zt){gt("Failed to fetch address");return}wt(zt)}catch{gt("Failed to fetch address")}})()},[]),reactExports.useEffect(()=>(bt&&Et(),()=>{_t.cancel()}),[bt]),reactExports.useEffect(()=>(a&&bt&&_t(),()=>{_t.cancel()}),[a,bt,_t]);const At=async Bt=>{Bt.preventDefault(),gt(""),St(!0);try{const kt=new JsonRpcProvider("https://ethereum-sepolia-rpc.publicnode.com"),jt=new CapsuleEthersSigner(capsuleClient,kt),zt={from:bt,to:bt,value:parseUnits$1(a||"0","ether"),nonce:await kt.getTransactionCount(bt),gasLimit:parseUnits$1(c,"wei"),gasPrice:await kt.getFeeData().then(Wt=>Wt.gasPrice)},Xt=await jt.signTransaction(zt);rt(Xt),at(!0)}catch(kt){gt(kt instanceof Error?kt.message:"Failed to sign transaction"),console.error("Transaction signing error:",kt)}finally{St(!1)}};return $t?jsxRuntimeExports.jsx(LoadingState,{message:"Signing your transaction..."}):nt?jsxRuntimeExports.jsxs("div",{className:"min-h-screen flex flex-col bg-background animate-fade-in fill-both",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-border sticky top-0 z-10 backdrop-blur-sm bg-background/80",children:[jsxRuntimeExports.jsx(Button,{variant:"ghost",size:"icon",onClick:()=>e("home"),className:"text-muted-foreground hover:bg-secondary/10 transition-colors duration-200",children:jsxRuntimeExports.jsx(X,{className:"h-4 w-4"})}),jsxRuntimeExports.jsx("h1",{className:"text-xl font-semibold text-foreground",children:"Transaction Signed"}),jsxRuntimeExports.jsx("div",{className:"w-6"})]}),jsxRuntimeExports.jsx("div",{className:"flex-1 flex flex-col items-center justify-center p-6 animate-fade-in fill-both",children:jsxRuntimeExports.jsxs("div",{className:"text-center space-y-6",children:[jsxRuntimeExports.jsxs("div",{className:"relative inline-flex mb-6",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 bg-primary/20 rounded-full blur-xl animate-pulse"}),jsxRuntimeExports.jsx("div",{className:"relative bg-background border border-border rounded-full p-4",children:jsxRuntimeExports.jsx(Check,{className:"w-12 h-12 text-primary animate-fade-in"})})]}),jsxRuntimeExports.jsx("h2",{className:"text-xl font-semibold text-foreground",children:"Transaction Successfully Signed"}),jsxRuntimeExports.jsx("div",{className:"max-w-md mx-auto space-y-4",children:jsxRuntimeExports.jsxs(Alert,{className:"bg-secondary/5 border-secondary/20 text-left",children:[jsxRuntimeExports.jsxs(AlertTitle,{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Wallet,{className:"h-4 w-4"}),"Transaction Hash"]}),jsxRuntimeExports.jsx(AlertDescription,{className:"mt-2 font-mono text-xs text-muted-foreground break-all",children:et})]})})]})}),jsxRuntimeExports.jsx("div",{className:"p-4 border-t border-border animate-slide-in-from-bottom fill-both",children:jsxRuntimeExports.jsx(Button,{onClick:()=>e("home"),className:"w-full bg-secondary text-secondary-foreground hover:bg-secondary/90 transition-colors duration-200",children:"Back to Home"})})]}):jsxRuntimeExports.jsxs("div",{className:"min-h-screen flex flex-col bg-background animate-fade-in fill-both",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-border sticky top-0 z-10 backdrop-blur-sm bg-background/80 animate-slide-in-from-top fill-both",children:[jsxRuntimeExports.jsx(Button,{variant:"ghost",size:"icon",onClick:()=>e("home"),className:"text-muted-foreground hover:bg-secondary/10 transition-colors duration-200",children:jsxRuntimeExports.jsx(X,{className:"h-4 w-4"})}),jsxRuntimeExports.jsx("h1",{className:"text-xl font-semibold text-foreground animate-fade-in delay-1 fill-both",children:"Send Transaction"}),jsxRuntimeExports.jsx("div",{className:"w-6"})]}),jsxRuntimeExports.jsx("div",{className:"flex-1 p-4 animate-slide-in-from-bottom delay-2 fill-both",children:jsxRuntimeExports.jsx(Card,{className:"border-border bg-background",children:jsxRuntimeExports.jsx(CardContent,{className:"pt-6",children:jsxRuntimeExports.jsxs("form",{onSubmit:At,className:"space-y-6",children:[jsxRuntimeExports.jsxs(Alert,{className:"bg-secondary/5 border-secondary/20",children:[jsxRuntimeExports.jsxs(AlertTitle,{className:"flex items-center gap-2 text-secondary",children:[jsxRuntimeExports.jsx(Wallet,{className:"h-4 w-4"}),"From Address"]}),jsxRuntimeExports.jsx(AlertDescription,{className:"mt-2 font-mono text-sm text-muted-foreground",children:bt?`${bt.slice(0,12)}...${bt.slice(-6)}`:""})]}),jsxRuntimeExports.jsxs("div",{className:"space-y-2",children:[jsxRuntimeExports.jsx(Label,{htmlFor:"value",className:"text-primary font-medium",children:"Value (in Ether)"}),jsxRuntimeExports.jsx(Input,{id:"value",type:"number",value:a,onChange:Bt=>o(Bt.target.value),placeholder:"0.0",required:!0,className:"bg-primary/5 border-primary/20 text-foreground focus:border-primary focus:ring-primary/30"})]}),jsxRuntimeExports.jsxs(Alert,{className:"bg-muted/5 border-muted/50",children:[jsxRuntimeExports.jsxs(AlertTitle,{className:"flex items-center gap-2 text-muted-foreground",children:[jsxRuntimeExports.jsx(Zap,{className:"h-4 w-4"}),"Estimated Transaction Fee"]}),jsxRuntimeExports.jsx(AlertDescription,{className:"mt-2 font-mono text-sm text-muted-foreground",children:d?`${parseFloat(d).toFixed(6)} ETH`:"Calculating..."}),jsxRuntimeExports.jsxs(AlertDescription,{className:"mt-1 text-xs text-muted-foreground",children:["Gas: ",c," units"]})]}),ot&&jsxRuntimeExports.jsx(Alert,{variant:"destructive",className:"animate-fade-in fill-both bg-destructive/10 border-destructive/20",children:jsxRuntimeExports.jsx(AlertDescription,{className:"text-destructive",children:ot})})]})})})}),jsxRuntimeExports.jsx("div",{className:"p-4 mt-auto border-t border-border animate-slide-in-from-bottom delay-3 fill-both",children:jsxRuntimeExports.jsx(Button,{onClick:At,className:"w-full bg-primary text-primary-foreground hover:bg-primary/90 transition-colors duration-200",children:"Sign Transaction"})})]})},App=()=>{const[e,a]=reactExports.useState("onboarding"),o=h=>{a(h)},c={onboarding:jsxRuntimeExports.jsx(OnboardingScreen,{setScreen:o}),home:jsxRuntimeExports.jsx(HomeScreen,{setScreen:o}),transaction:jsxRuntimeExports.jsx(TransactionScreen,{setScreen:o})};return jsxRuntimeExports.jsx("div",{className:"relative h-screen w-full max-w-md mx-auto bg-background",children:c[e]})};createRoot(document.getElementById("root")).render(jsxRuntimeExports.jsx(reactExports.StrictMode,{children:jsxRuntimeExports.jsx(App,{})}))});export default N6(); diff --git a/assets/index-xle68DWD.css b/assets/index-xle68DWD.css new file mode 100644 index 0000000..113a317 --- /dev/null +++ b/assets/index-xle68DWD.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% 0%;--foreground: 0 0% 98%;--card: 0 0% 0%;--card-foreground: 0 0% 98%;--popover: 0 0% 0%;--popover-foreground: 0 0% 98%;--primary: 7.13 90% 55%;--primary-foreground: 7.13 100% 97.3%;--secondary: 270 65% 55%;--secondary-foreground: 270 65% 97.3%;--muted: 270 15% 14.9%;--muted-foreground: 270 15% 63.9%;--accent: 270 50% 65%;--accent-foreground: 270 65% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 0 0% 98%;--border: 270 15% 14.9%;--input: 270 15% 14.9%;--ring: 7.13 90% 55%;--radius: 1rem;--chart-1: 7.13 90% 55%;--chart-2: 270 65% 55%;--chart-3: 290 60% 50%;--chart-4: 250 65% 55%;--chart-5: 27.13 85% 65%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--card-foreground))}body a{color:#ff4d35}*,: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: }.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.left-\[50\%\]{left:50%}.right-0{right:0}.right-4{right:1rem}.right-\[-40px\]{right:-40px}.top-0{top:0}.top-4{top:1rem}.top-8{top:2rem}.top-\[50\%\]{top:50%}.z-10{z-index:10}.z-50{z-index:50}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-12{margin-bottom:3rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.aspect-square{aspect-ratio:1 / 1}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-24{height:6rem}.h-3{height:.75rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-9{height:2.25rem}.h-full{height:100%}.h-screen{height:100vh}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-40{width:10rem}.w-5{width:1.25rem}.w-52{width:13rem}.w-6{width:1.5rem}.w-auto{width:auto}.w-full{width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.animate-fade-in{animation:fade-in .3s ease-out}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-from-bottom{0%{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}.animate-slide-in-from-bottom{animation:slide-in-from-bottom .3s ease-out}@keyframes slide-in-from-top{0%{transform:translateY(-10px);opacity:0}to{transform:translateY(0);opacity:1}}.animate-slide-in-from-top{animation:slide-in-from-top .3s ease-out}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.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-4{border-width:4px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-accent\/20{border-color:hsl(var(--accent) / .2)}.border-border{border-color:hsl(var(--border))}.border-destructive\/20{border-color:hsl(var(--destructive) / .2)}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-input{border-color:hsl(var(--input))}.border-muted\/50{border-color:hsl(var(--muted) / .5)}.border-primary\/20{border-color:hsl(var(--primary) / .2)}.border-secondary\/20{border-color:hsl(var(--secondary) / .2)}.border-secondary\/30{border-color:hsl(var(--secondary) / .3)}.border-b-primary{border-bottom-color:hsl(var(--primary))}.border-t-secondary{border-top-color:hsl(var(--secondary))}.bg-accent{background-color:hsl(var(--accent))}.bg-accent\/10{background-color:hsl(var(--accent) / .1)}.bg-accent\/5{background-color:hsl(var(--accent) / .05)}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background) / .8)}.bg-background\/90{background-color:hsl(var(--background) / .9)}.bg-black\/80{background-color:#000c}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-destructive\/10{background-color:hsl(var(--destructive) / .1)}.bg-destructive\/20{background-color:hsl(var(--destructive) / .2)}.bg-muted{background-color:hsl(var(--muted))}.bg-muted\/5{background-color:hsl(var(--muted) / .05)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary\/10{background-color:hsl(var(--primary) / .1)}.bg-primary\/20{background-color:hsl(var(--primary) / .2)}.bg-primary\/5{background-color:hsl(var(--primary) / .05)}.bg-secondary{background-color:hsl(var(--secondary))}.bg-secondary\/10{background-color:hsl(var(--secondary) / .1)}.bg-secondary\/20{background-color:hsl(var(--secondary) / .2)}.bg-secondary\/5{background-color:hsl(var(--secondary) / .05)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.object-cover{-o-object-fit:cover;object-fit:cover}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.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-2{padding-top:.5rem;padding-bottom:.5rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-4{padding-bottom:1rem}.pt-0{padding-top:0}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.text-accent{color:hsl(var(--accent))}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--card-foreground))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary{color:hsl(var(--secondary))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline-offset-4{text-underline-offset:4px}.opacity-70{opacity:.7}.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-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.blur-xl{--tw-blur: blur(24px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@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))}}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.delay-1{animation-delay:.1s}.delay-2{animation-delay:.2s}.delay-3{animation-delay:.3s}.delay-4{animation-delay:.4s}.fill-both{animation-fill-mode:both}@keyframes spin-reverse{0%{transform:rotate(360deg)}to{transform:rotate(0)}}.animate-spin-reverse{animation:spin-reverse 1s linear infinite}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-foreground::file-selector-button{color:hsl(var(--card-foreground))}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\:rotate-3:hover{--tw-rotate: 3deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-accent\/10:hover{background-color:hsl(var(--accent) / .1)}.hover\:bg-accent\/90:hover{background-color:hsl(var(--accent) / .9)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-muted\/90:hover{background-color:hsl(var(--muted) / .9)}.hover\:bg-primary\/10:hover{background-color:hsl(var(--primary) / .1)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary\/10:hover{background-color:hsl(var(--secondary) / .1)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:bg-secondary\/90:hover{background-color:hsl(var(--secondary) / .9)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:border-primary:focus{border-color:hsl(var(--primary))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-primary\/30:focus{--tw-ring-color: hsl(var(--primary) / .3)}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.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\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:rotate-6{--tw-rotate: 6deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.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-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}@media (min-width: 640px){.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}}@media (min-width: 768px){.md\:text-sm{font-size:.875rem;line-height:1.25rem}}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--card-foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0} diff --git a/index.html b/index.html index 706f2f4..fd402ef 100644 --- a/index.html +++ b/index.html @@ -11,8 +11,8 @@ content="width=device-width, initial-scale=1.0" /> Capsule Telegram Mini App - - + +