@embarkai/ui-kit 0.4.8 → 0.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/iframe/index.html +1 -1
- package/dist/iframe/main.js +1 -1
- package/dist/index.cjs +310 -248
- package/dist/index.d.cts +20 -10
- package/dist/index.d.ts +20 -10
- package/dist/index.js +341 -280
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24,7 +24,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
24
24
|
var built_default;
|
|
25
25
|
var init_built = __esm({
|
|
26
26
|
"src/styles/built.css"() {
|
|
27
|
-
built_default = `.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.embarkai-ui-scope .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}.embarkai-ui-scope .pointer-events-none{pointer-events:none}.embarkai-ui-scope .pointer-events-auto{pointer-events:auto}.embarkai-ui-scope .visible{visibility:visible}.embarkai-ui-scope .invisible{visibility:hidden}.embarkai-ui-scope .static{position:static}.embarkai-ui-scope .fixed{position:fixed}.embarkai-ui-scope .absolute{position:absolute}.embarkai-ui-scope .relative{position:relative}.embarkai-ui-scope .sticky{position:sticky}.embarkai-ui-scope .inset-0{inset:0}.embarkai-ui-scope .-right-0\\.5{right:-.125rem}.embarkai-ui-scope .-right-1{right:-.25rem}.embarkai-ui-scope .-right-2{right:-.5rem}.embarkai-ui-scope .-top-0\\.5{top:-.125rem}.embarkai-ui-scope .-top-1{top:-.25rem}.embarkai-ui-scope .-top-2{top:-.5rem}.embarkai-ui-scope .bottom-0{bottom:0}.embarkai-ui-scope .bottom-full{bottom:100%}.embarkai-ui-scope .left-0{left:0}.embarkai-ui-scope .left-1\\/2{left:50%}.embarkai-ui-scope .left-4{left:1rem}.embarkai-ui-scope .right-0{right:0}.embarkai-ui-scope .right-3{right:.75rem}.embarkai-ui-scope .right-4{right:1rem}.embarkai-ui-scope .right-\\[var\\(--ui-kit-pd\\)\\]{right:var(--ui-kit-pd)}.embarkai-ui-scope .right-full{right:100%}.embarkai-ui-scope .top-0{top:0}.embarkai-ui-scope .top-1\\/2{top:50%}.embarkai-ui-scope .top-4{top:1rem}.embarkai-ui-scope .top-\\[var\\(--ui-kit-pd\\)\\]{top:var(--ui-kit-pd)}.embarkai-ui-scope .z-10{z-index:10}.embarkai-ui-scope .z-50{z-index:50}.embarkai-ui-scope .z-\\[9998\\]{z-index:9998}.embarkai-ui-scope .z-\\[9999\\]{z-index:9999}.embarkai-ui-scope .-m-px{margin:-1px}.embarkai-ui-scope .-mx-1{margin-left:-.25rem;margin-right:-.25rem}.embarkai-ui-scope .mx-auto{margin-left:auto;margin-right:auto}.embarkai-ui-scope .my-1{margin-top:.25rem;margin-bottom:.25rem}.embarkai-ui-scope .mb-1{margin-bottom:.25rem}.embarkai-ui-scope .mb-2{margin-bottom:.5rem}.embarkai-ui-scope .mb-3{margin-bottom:.75rem}.embarkai-ui-scope .mb-4{margin-bottom:1rem}.embarkai-ui-scope .ml-1{margin-left:.25rem}.embarkai-ui-scope .ml-2{margin-left:.5rem}.embarkai-ui-scope .ml-auto{margin-left:auto}.embarkai-ui-scope .mr-1{margin-right:.25rem}.embarkai-ui-scope .mt-0\\.5{margin-top:.125rem}.embarkai-ui-scope .mt-1{margin-top:.25rem}.embarkai-ui-scope .mt-2{margin-top:.5rem}.embarkai-ui-scope .mt-4{margin-top:1rem}.embarkai-ui-scope .block{display:block}.embarkai-ui-scope .inline-block{display:inline-block}.embarkai-ui-scope .inline{display:inline}.embarkai-ui-scope .flex{display:flex}.embarkai-ui-scope .inline-flex{display:inline-flex}.embarkai-ui-scope .grid{display:grid}.embarkai-ui-scope .hidden{display:none}.embarkai-ui-scope .aspect-square{aspect-ratio:1/1}.embarkai-ui-scope .size-4{width:1rem;height:1rem}.embarkai-ui-scope .size-5{width:1.25rem;height:1.25rem}.embarkai-ui-scope .size-auto{width:auto;height:auto}.embarkai-ui-scope .h-1{height:.25rem}.embarkai-ui-scope .h-10{height:2.5rem}.embarkai-ui-scope .h-12{height:3rem}.embarkai-ui-scope .h-16{height:4rem}.embarkai-ui-scope .h-2{height:.5rem}.embarkai-ui-scope .h-3{height:.75rem}.embarkai-ui-scope .h-3\\.5{height:.875rem}.embarkai-ui-scope .h-4{height:1rem}.embarkai-ui-scope .h-48{height:12rem}.embarkai-ui-scope .h-5{height:1.25rem}.embarkai-ui-scope .h-6{height:1.5rem}.embarkai-ui-scope .h-7{height:1.75rem}.embarkai-ui-scope .h-8{height:2rem}.embarkai-ui-scope .h-\\[100dvh\\]{height:100dvh}.embarkai-ui-scope .h-\\[48px\\]{height:48px}.embarkai-ui-scope .h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.embarkai-ui-scope .h-auto{height:auto}.embarkai-ui-scope .h-fit{height:-moz-fit-content;height:fit-content}.embarkai-ui-scope .h-full{height:100%}.embarkai-ui-scope .h-px{height:1px}.embarkai-ui-scope .max-h-64{max-height:16rem}.embarkai-ui-scope .max-h-96{max-height:24rem}.embarkai-ui-scope .max-h-\\[95dvh\\]{max-height:95dvh}.embarkai-ui-scope .min-h-10{min-height:2.5rem}.embarkai-ui-scope .w-1{width:.25rem}.embarkai-ui-scope .w-1\\/2{width:50%}.embarkai-ui-scope .w-10{width:2.5rem}.embarkai-ui-scope .w-12{width:3rem}.embarkai-ui-scope .w-16{width:4rem}.embarkai-ui-scope .w-2{width:.5rem}.embarkai-ui-scope .w-3{width:.75rem}.embarkai-ui-scope .w-3\\.5{width:.875rem}.embarkai-ui-scope .w-4{width:1rem}.embarkai-ui-scope .w-48{width:12rem}.embarkai-ui-scope .w-5{width:1.25rem}.embarkai-ui-scope .w-6{width:1.5rem}.embarkai-ui-scope .w-7{width:1.75rem}.embarkai-ui-scope .w-72{width:18rem}.embarkai-ui-scope .w-8{width:2rem}.embarkai-ui-scope .w-\\[100dvw\\]{width:100dvw}.embarkai-ui-scope .w-\\[40px\\]{width:40px}.embarkai-ui-scope .w-\\[var\\(--ui-kit-maw\\)\\]{width:var(--ui-kit-maw)}.embarkai-ui-scope .w-fit{width:-moz-fit-content;width:fit-content}.embarkai-ui-scope .w-full{width:100%}.embarkai-ui-scope .w-px{width:1px}.embarkai-ui-scope .min-w-0{min-width:0}.embarkai-ui-scope .min-w-10{min-width:2.5rem}.embarkai-ui-scope .min-w-16{min-width:4rem}.embarkai-ui-scope .min-w-\\[256px\\]{min-width:256px}.embarkai-ui-scope .min-w-\\[8rem\\]{min-width:8rem}.embarkai-ui-scope .min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.embarkai-ui-scope .max-w-\\[144px\\]{max-width:144px}.embarkai-ui-scope .max-w-\\[150px\\]{max-width:150px}.embarkai-ui-scope .max-w-\\[160px\\]{max-width:160px}.embarkai-ui-scope .max-w-\\[256px\\]{max-width:256px}.embarkai-ui-scope .max-w-\\[680px\\]{max-width:680px}.embarkai-ui-scope .max-w-\\[80px\\]{max-width:80px}.embarkai-ui-scope .max-w-full{max-width:100%}.embarkai-ui-scope .max-w-sm{max-width:24rem}.embarkai-ui-scope .flex-1{flex:1 1 0%}.embarkai-ui-scope .flex-none{flex:none}.embarkai-ui-scope .flex-shrink-0,.embarkai-ui-scope .shrink-0{flex-shrink:0}.embarkai-ui-scope .-translate-x-1\\/2{--tw-translate-x:-50%}.embarkai-ui-scope .-translate-x-1\\/2,.embarkai-ui-scope .-translate-x-\\[var\\(--ui-kit-gap\\)\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.embarkai-ui-scope .-translate-x-\\[var\\(--ui-kit-gap\\)\\]{--tw-translate-x:calc(var(--ui-kit-gap)*-1)}.embarkai-ui-scope .-translate-y-1\\/2{--tw-translate-y:-50%}.embarkai-ui-scope .-translate-y-1\\/2,.embarkai-ui-scope .-translate-y-1\\/3{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.embarkai-ui-scope .-translate-y-1\\/3{--tw-translate-y:-33.333333%}.embarkai-ui-scope .rotate-180{--tw-rotate:180deg}.embarkai-ui-scope .rotate-180,.embarkai-ui-scope .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes glow-warning{0%,to{transform:scale(1);box-shadow:0 0 16px var(--ui-kit-bg-warning)}50%{transform:scale(.97);box-shadow:0 0 4px var(--ui-kit-bg-warning)}}.embarkai-ui-scope .animate-glow-warning{animation:glow-warning 2s ease infinite}@keyframes pulse{50%{opacity:.5}}.embarkai-ui-scope .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.embarkai-ui-scope .animate-spin{animation:spin 1s linear infinite}.embarkai-ui-scope .cursor-default{cursor:default}.embarkai-ui-scope .cursor-help{cursor:help}.embarkai-ui-scope .cursor-not-allowed{cursor:not-allowed}.embarkai-ui-scope .cursor-pointer{cursor:pointer}.embarkai-ui-scope .cursor-text{cursor:text}.embarkai-ui-scope .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.embarkai-ui-scope .select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.embarkai-ui-scope .scroll-my-1{scroll-margin-top:.25rem;scroll-margin-bottom:.25rem}.embarkai-ui-scope .list-inside{list-style-position:inside}.embarkai-ui-scope .list-disc{list-style-type:disc}.embarkai-ui-scope .grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.embarkai-ui-scope .flex-col{flex-direction:column}.embarkai-ui-scope .flex-col-reverse{flex-direction:column-reverse}.embarkai-ui-scope .flex-wrap{flex-wrap:wrap}.embarkai-ui-scope .place-content-center{place-content:center}.embarkai-ui-scope .items-start{align-items:flex-start}.embarkai-ui-scope .items-end{align-items:flex-end}.embarkai-ui-scope .items-center{align-items:center}.embarkai-ui-scope .justify-start{justify-content:flex-start}.embarkai-ui-scope .justify-end{justify-content:flex-end}.embarkai-ui-scope .justify-center{justify-content:center}.embarkai-ui-scope .justify-between{justify-content:space-between}.embarkai-ui-scope .gap-0{gap:0}.embarkai-ui-scope .gap-1{gap:.25rem}.embarkai-ui-scope .gap-1\\.5{gap:.375rem}.embarkai-ui-scope .gap-2{gap:.5rem}.embarkai-ui-scope .gap-3{gap:.75rem}.embarkai-ui-scope .gap-4{gap:1rem}.embarkai-ui-scope .gap-\\[10px\\]{gap:10px}.embarkai-ui-scope .gap-\\[var\\(--ui-kit-gap\\)\\]{gap:var(--ui-kit-gap)}.embarkai-ui-scope :is(.space-x-1>:not([hidden])~:not([hidden])){--tw-space-x-reverse:0;margin-right:calc(.25rem*var(--tw-space-x-reverse));margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)))}.embarkai-ui-scope :is(.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*(1 - var(--tw-space-x-reverse)))}.embarkai-ui-scope :is(.space-y-0\\.5>:not([hidden])~:not([hidden])){--tw-space-y-reverse:0;margin-top:calc(.125rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem*var(--tw-space-y-reverse))}.embarkai-ui-scope :is(.space-y-1>:not([hidden])~:not([hidden])){--tw-space-y-reverse:0;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem*var(--tw-space-y-reverse))}.embarkai-ui-scope :is(.space-y-1\\.5>:not([hidden])~:not([hidden])){--tw-space-y-reverse:0;margin-top:calc(.375rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem*var(--tw-space-y-reverse))}.embarkai-ui-scope :is(.space-y-2>:not([hidden])~:not([hidden])){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.embarkai-ui-scope .overflow-hidden{overflow:hidden}.embarkai-ui-scope .overflow-y-auto{overflow-y:auto}.embarkai-ui-scope .overflow-x-hidden{overflow-x:hidden}.embarkai-ui-scope .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.embarkai-ui-scope .text-ellipsis{text-overflow:ellipsis}.embarkai-ui-scope .whitespace-nowrap{white-space:nowrap}.embarkai-ui-scope .whitespace-pre-line{white-space:pre-line}.embarkai-ui-scope .whitespace-pre-wrap{white-space:pre-wrap}.embarkai-ui-scope .break-normal{overflow-wrap:normal;word-break:normal}.embarkai-ui-scope .break-words{overflow-wrap:break-word}.embarkai-ui-scope .break-all{word-break:break-all}.embarkai-ui-scope .rounded{border-radius:.25rem}.embarkai-ui-scope .rounded-\\[10px\\]{border-radius:10px}.embarkai-ui-scope .rounded-\\[5px\\]{border-radius:5px}.embarkai-ui-scope .rounded-\\[var\\(--ui-kit-bdrs\\)\\]{border-radius:var(--ui-kit-bdrs)}.embarkai-ui-scope .rounded-\\[var\\(--ui-kit-el-bdrs\\)\\]{border-radius:var(--ui-kit-el-bdrs)}.embarkai-ui-scope .rounded-full{border-radius:9999px}.embarkai-ui-scope .rounded-lg{border-radius:.5rem}.embarkai-ui-scope .rounded-md{border-radius:.375rem}.embarkai-ui-scope .rounded-xl{border-radius:.75rem}.embarkai-ui-scope .border{border-width:1px}.embarkai-ui-scope .border-0{border-width:0}.embarkai-ui-scope .border-2{border-width:2px}.embarkai-ui-scope .border-b{border-bottom-width:1px}.embarkai-ui-scope .border-t{border-top-width:1px}.embarkai-ui-scope .border-dashed{border-style:dashed}.embarkai-ui-scope .border-\\[var\\(--ui-kit-bd\\)\\]{border-color:var(--ui-kit-bd)}.embarkai-ui-scope .border-\\[var\\(--ui-kit-bg-error\\)\\]{border-color:var(--ui-kit-bg-error)}.embarkai-ui-scope .border-\\[var\\(--ui-kit-bg-success\\)\\]{border-color:var(--ui-kit-bg-success)}.embarkai-ui-scope .border-\\[var\\(--ui-kit-bg-warning\\)\\]{border-color:var(--ui-kit-bg-warning)}.embarkai-ui-scope .border-\\[var\\(--ui-kit-error\\)\\]{border-color:var(--ui-kit-error)}.embarkai-ui-scope .border-\\[var\\(--ui-kit-secondary\\)\\]{border-color:var(--ui-kit-secondary)}.embarkai-ui-scope .border-current{border-color:currentColor}.embarkai-ui-scope .border-transparent{border-color:transparent}.embarkai-ui-scope .border-t-transparent{border-top-color:transparent}.embarkai-ui-scope .bg-\\[\\#002c15\\]{--tw-bg-opacity:1;background-color:rgb(0 44 21/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-\\[\\#081f2c\\]{--tw-bg-opacity:1;background-color:rgb(8 31 44/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-\\[\\#f0f6f8\\]{--tw-bg-opacity:1;background-color:rgb(240 246 248/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-\\[\\#f3ba2f\\]{--tw-bg-opacity:1;background-color:rgb(243 186 47/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-accent\\)\\]{background-color:var(--ui-kit-accent)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-bg\\)\\]{background-color:var(--ui-kit-bg)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-bg-error\\)\\]{background-color:var(--ui-kit-bg-error)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-bg-info\\)\\]{background-color:var(--ui-kit-bg-info)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-bg-secondary\\)\\]{background-color:var(--ui-kit-bg-secondary)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-bg-success\\)\\]{background-color:var(--ui-kit-bg-success)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-bg-warning\\)\\]{background-color:var(--ui-kit-bg-warning)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-fg\\)\\]{background-color:var(--ui-kit-fg)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-overlay\\)\\]{background-color:var(--ui-kit-overlay)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-primary\\)\\]{background-color:var(--ui-kit-primary)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-secondary\\)\\]{background-color:var(--ui-kit-secondary)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-secondary-h\\)\\]{background-color:var(--ui-kit-secondary-h)}.embarkai-ui-scope .bg-amber-500{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-transparent{background-color:transparent}.embarkai-ui-scope .fill-\\[var\\(--ui-kit-bg-warning\\)\\]{fill:var(--ui-kit-bg-warning)}.embarkai-ui-scope .object-contain{-o-object-fit:contain;object-fit:contain}.embarkai-ui-scope .object-cover{-o-object-fit:cover;object-fit:cover}.embarkai-ui-scope .p-0{padding:0}.embarkai-ui-scope .p-1{padding:.25rem}.embarkai-ui-scope .p-2{padding:.5rem}.embarkai-ui-scope .p-3{padding:.75rem}.embarkai-ui-scope .p-4{padding:1rem}.embarkai-ui-scope .p-5{padding:1.25rem}.embarkai-ui-scope .p-6{padding:1.5rem}.embarkai-ui-scope .p-8{padding:2rem}.embarkai-ui-scope .p-\\[2px\\]{padding:2px}.embarkai-ui-scope .p-\\[var\\(--ui-kit-gap\\)\\]{padding:var(--ui-kit-gap)}.embarkai-ui-scope .p-\\[var\\(--ui-kit-pd\\)\\]{padding:var(--ui-kit-pd)}.embarkai-ui-scope .px-0{padding-left:0;padding-right:0}.embarkai-ui-scope .px-1{padding-left:.25rem;padding-right:.25rem}.embarkai-ui-scope .px-2{padding-left:.5rem;padding-right:.5rem}.embarkai-ui-scope .px-3{padding-left:.75rem;padding-right:.75rem}.embarkai-ui-scope .px-4{padding-left:1rem;padding-right:1rem}.embarkai-ui-scope .px-5{padding-left:1.25rem;padding-right:1.25rem}.embarkai-ui-scope .px-8{padding-left:2rem;padding-right:2rem}.embarkai-ui-scope .px-\\[var\\(--ui-kit-gap\\)\\]{padding-left:var(--ui-kit-gap);padding-right:var(--ui-kit-gap)}.embarkai-ui-scope .px-\\[var\\(--ui-kit-pd\\)\\]{padding-left:var(--ui-kit-pd);padding-right:var(--ui-kit-pd)}.embarkai-ui-scope .py-0{padding-top:0;padding-bottom:0}.embarkai-ui-scope .py-1{padding-top:.25rem;padding-bottom:.25rem}.embarkai-ui-scope .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.embarkai-ui-scope .py-2{padding-top:.5rem;padding-bottom:.5rem}.embarkai-ui-scope .py-3{padding-top:.75rem;padding-bottom:.75rem}.embarkai-ui-scope .py-4{padding-top:1rem;padding-bottom:1rem}.embarkai-ui-scope .py-8{padding-top:2rem;padding-bottom:2rem}.embarkai-ui-scope .py-\\[10px\\]{padding-top:10px;padding-bottom:10px}.embarkai-ui-scope .py-\\[var\\(--ui-kit-gap\\)\\]{padding-top:var(--ui-kit-gap);padding-bottom:var(--ui-kit-gap)}.embarkai-ui-scope .py-\\[var\\(--ui-kit-pd\\)\\]{padding-top:var(--ui-kit-pd);padding-bottom:var(--ui-kit-pd)}.embarkai-ui-scope .pb-2{padding-bottom:.5rem}.embarkai-ui-scope .pb-5{padding-bottom:1.25rem}.embarkai-ui-scope .pb-6{padding-bottom:1.5rem}.embarkai-ui-scope .pl-\\[var\\(--ui-kit-pd\\)\\]{padding-left:var(--ui-kit-pd)}.embarkai-ui-scope .pr-8{padding-right:2rem}.embarkai-ui-scope .pt-3{padding-top:.75rem}.embarkai-ui-scope .pt-4{padding-top:1rem}.embarkai-ui-scope .pt-5{padding-top:1.25rem}.embarkai-ui-scope .text-left{text-align:left}.embarkai-ui-scope .text-center{text-align:center}.embarkai-ui-scope .text-right{text-align:right}.embarkai-ui-scope .font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.embarkai-ui-scope .font-sans{font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.embarkai-ui-scope .text-2xl{font-size:1.5rem;line-height:2rem}.embarkai-ui-scope .text-\\[10px\\]{font-size:10px}.embarkai-ui-scope .text-\\[14px\\]{font-size:14px}.embarkai-ui-scope .text-\\[16px\\]{font-size:16px}.embarkai-ui-scope .text-\\[8px\\]{font-size:8px}.embarkai-ui-scope .text-lg{font-size:1.125rem;line-height:1.75rem}.embarkai-ui-scope .text-sm{font-size:.875rem;line-height:1.25rem}.embarkai-ui-scope .text-xl{font-size:1.25rem;line-height:1.75rem}.embarkai-ui-scope .text-xs{font-size:.75rem;line-height:1rem}.embarkai-ui-scope .font-bold{font-weight:700}.embarkai-ui-scope .font-medium{font-weight:500}.embarkai-ui-scope .font-normal{font-weight:400}.embarkai-ui-scope .font-semibold{font-weight:600}.embarkai-ui-scope .uppercase{text-transform:uppercase}.embarkai-ui-scope .lowercase{text-transform:lowercase}.embarkai-ui-scope .leading-3{line-height:.75rem}.embarkai-ui-scope .leading-4{line-height:1rem}.embarkai-ui-scope .leading-5{line-height:1.25rem}.embarkai-ui-scope .leading-6{line-height:1.5rem}.embarkai-ui-scope .leading-8{line-height:2rem}.embarkai-ui-scope .leading-\\[8px\\]{line-height:8px}.embarkai-ui-scope .leading-none{line-height:1}.embarkai-ui-scope .leading-tight{line-height:1.25}.embarkai-ui-scope .tracking-\\[0\\.3em\\]{letter-spacing:.3em}.embarkai-ui-scope .tracking-tight{letter-spacing:-.025em}.embarkai-ui-scope .tracking-wider{letter-spacing:.05em}.embarkai-ui-scope .text-\\[\\#c3f53c\\]{--tw-text-opacity:1;color:rgb(195 245 60/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-\\[var\\(--ui-kit-bg-error\\)\\]{color:var(--ui-kit-bg-error)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-bg-success\\)\\]{color:var(--ui-kit-bg-success)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-bg-warning\\)\\]{color:var(--ui-kit-bg-warning)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-error\\)\\]{color:var(--ui-kit-error)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-fg\\)\\]{color:var(--ui-kit-fg)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-fg-inverted\\)\\]{color:var(--ui-kit-fg-inverted)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-fg-muted\\)\\]{color:var(--ui-kit-fg-muted)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-info\\)\\]{color:var(--ui-kit-info)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-primary\\)\\]{color:var(--ui-kit-primary)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-success\\)\\]{color:var(--ui-kit-success)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-text-secondary\\)\\]{color:var(--ui-kit-text-secondary)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-warning\\)\\]{color:var(--ui-kit-warning)}.embarkai-ui-scope .text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.embarkai-ui-scope .underline{text-decoration-line:underline}.embarkai-ui-scope .underline-offset-2{text-underline-offset:2px}.embarkai-ui-scope .underline-offset-4{text-underline-offset:4px}.embarkai-ui-scope .antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.embarkai-ui-scope .opacity-0{opacity:0}.embarkai-ui-scope .opacity-100{opacity:1}.embarkai-ui-scope .opacity-50{opacity:.5}.embarkai-ui-scope .opacity-60{opacity:.6}.embarkai-ui-scope .opacity-70{opacity:.7}.embarkai-ui-scope .opacity-90{opacity:.9}.embarkai-ui-scope .shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.embarkai-ui-scope .shadow,.embarkai-ui-scope .shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.embarkai-ui-scope .shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.embarkai-ui-scope .outline-none{outline:2px solid transparent;outline-offset:2px}.embarkai-ui-scope .outline{outline-style:solid}.embarkai-ui-scope .blur{--tw-blur:blur(8px)}.embarkai-ui-scope .blur,.embarkai-ui-scope .grayscale{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)}.embarkai-ui-scope .grayscale{--tw-grayscale:grayscale(100%)}.embarkai-ui-scope .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)}.embarkai-ui-scope .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.embarkai-ui-scope .transition-\\[color\\2c box-shadow\\]{transition-property:color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.embarkai-ui-scope .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}.embarkai-ui-scope .transition-none{transition-property:none}.embarkai-ui-scope .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.embarkai-ui-scope .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.embarkai-ui-scope .duration-200{transition-duration:.2s}.embarkai-ui-scope .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.embarkai-ui-scope{--ui-kit-ff:var(--embark-ui-ff,-apple-system,BlinkMacSystemFont,"Inter",system-ui,sans-serif);--ui-kit-maw:var(--embark-ui-maw,384px);--ui-kit-pd:var(--embark-ui-pd,12px);--ui-kit-gap:var(--embark-ui-gap,10px);--ui-kit-bdrs:var(--embark-ui-bdrs,20px);--ui-kit-el-bdrs:var(--embark-ui-element-bdrs,10px);--ui-kit-backdrop-blur:var(--embark-ui-backdrop-blur,10px)}.embarkai-ui-scope[data-current-theme-mode=light]{--ui-kit-overlay:var(--embark-ui-overlay,hsla(0,0%,100%,.8));--ui-kit-bg:var(--embark-ui-bg,#fff);--ui-kit-fg:var(--embark-ui-fg,#000);--ui-kit-fg-h:var(--embark-ui-fg-h,rgba(0,0,0,.6));--ui-kit-fg-a:var(--embark-ui-fg-a,rgba(0,0,0,.4));--ui-kit-fg-inverted:var(--embark-ui-fg-inverted,#fff);--ui-kit-fg-muted:var(--embark-ui-fg-muted,rgba(0,0,0,.6));--ui-kit-primary:var(--embark-ui-primary,#000);--ui-kit-primary-h:var(--embark-ui-primary-h,rgba(0,0,0,.8));--ui-kit-primary-a:var(--embark-ui-primary-a,rgba(0,0,0,.6));--ui-kit-secondary:var(--embark-ui-secondary,#e4e4e4);--ui-kit-secondary-h:var(--embark-ui-secondary-h,hsla(0,0%,89%,.8));--ui-kit-secondary-a:var(--embark-ui-secondary-a,hsla(0,0%,89%,.6));--ui-kit-bd:var(--embark-ui-bd,#ebebeb);--ui-kit-bd-intense:var(--embark-ui-bd-intense,#a9a9a9);--ui-kit-shadow:var(--embark-ui-shadow,0 0 0 0 transparent);--ui-kit-shadow-c:var(--embark-ui-shadow-c,rgba(0,0,0,.1));--ui-kit-info:var(--embark-ui-info,var(--ui-kit-fg));--ui-kit-bg-info:var(--embark-ui-bg-info,var(--ui-kit-secondary));--ui-kit-success:var(--embark-ui-success,#000);--ui-kit-bg-success:var(--embark-ui-bg-success,#21ff51);--ui-kit-warning:var(--embark-ui-warning,#000);--ui-kit-bg-warning:var(--embark-ui-bg-warning,#e9fa00);--ui-kit-error:var(--embark-ui-error,#fff);--ui-kit-bg-error:var(--embark-ui-bg-error,#d6204e)}.embarkai-ui-scope[data-current-theme-mode=dark]{--ui-kit-overlay:var(--embark-ui-overlay,rgba(0,0,0,.8));--ui-kit-bg:var(--embark-ui-bg,#1a1a1a);--ui-kit-fg:var(--embark-ui-fg,#fff);--ui-kit-fg-h:var(--embark-ui-fg-h,hsla(0,0%,100%,.6));--ui-kit-fg-a:var(--embark-ui-fg-a,hsla(0,0%,100%,.4));--ui-kit-fg-inverted:var(--embark-ui-fg-inverted,#000);--ui-kit-fg-muted:var(--embark-ui-fg-muted,hsla(0,0%,100%,.6));--ui-kit-primary:var(--embark-ui-primary,#fff);--ui-kit-primary-h:var(--embark-ui-primary-h,hsla(0,0%,100%,.8));--ui-kit-primary-a:var(--embark-ui-primary-a,hsla(0,0%,100%,.6));--ui-kit-secondary:var(--embark-ui-secondary,#2a2a2a);--ui-kit-secondary-h:var(--embark-ui-secondary-h,rgba(42,42,42,.6));--ui-kit-secondary-a:var(--embark-ui-secondary-a,rgba(42,42,42,.4));--ui-kit-bd:var(--embark-ui-bd,#3a3a3a);--ui-kit-bd-intense:var(--embark-ui-bd-intense,#4a4a4a);--ui-kit-shadow:var(--embark-ui-shadow,0 0 0 0 transparent);--ui-kit-shadow-c:var(--embark-ui-shadow-c,rgba(0,0,0,.1));--ui-kit-info:var(--embark-ui-info,var(--ui-kit-fg));--ui-kit-bg-info:var(--embark-ui-bg-info,var(--ui-kit-secondary));--ui-kit-success:var(--embark-ui-success,#000);--ui-kit-bg-success:var(--embark-ui-bg-success,#21ff51);--ui-kit-warning:var(--embark-ui-warning,#000);--ui-kit-bg-warning:var(--embark-ui-bg-warning,#e9fa00);--ui-kit-error:var(--embark-ui-error,#fff);--ui-kit-bg-error:var(--embark-ui-bg-error,#d6204e)}.embarkai-ui-scope,.embarkai-ui-scope *{margin:0;box-sizing:border-box;font-family:var(--ui-kit-ff);font-optical-sizing:auto;-webkit-tap-highlight-color:transparent;-moz-tap-highlight-color:transparent;-ms-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.embarkai-ui-scope button,.embarkai-ui-scope h1,.embarkai-ui-scope h2,.embarkai-ui-scope h3,.embarkai-ui-scope h4,.embarkai-ui-scope h5,.embarkai-ui-scope h6,.embarkai-ui-scope input,.embarkai-ui-scope p,.embarkai-ui-scope select,.embarkai-ui-scope textarea{font-family:var(--ui-kit-ff)!important;margin:0}.embarkai-ui-scope button,.embarkai-ui-scope input,.embarkai-ui-scope select,.embarkai-ui-scope textarea{border-style:solid;outline:none!important;appearance:none!important;-webkit-appearance:none;-moz-appearance:none}.embarkai-ui-scope input,.embarkai-ui-scope textarea{font-size:16px!important}.embarkai-ui-scope .account-connect-button{box-shadow:0 4px 20px var(--ui-kit-shadow-c),inset 0 0 0 1px var(--ui-kit-bd);transition:transform .25s ease}.embarkai-ui-scope .account-connect-button:hover{transform:scale(1.02)}.embarkai-ui-scope .account-connect-button:active{transform:scale(1)}@keyframes lumia-mobile-dialog-fade-in{0%{opacity:0;transform:translateY(64px)}to{opacity:1;transform:translateY(0)}}@keyframes lumia-mobile-dialog-fade-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(64px)}}.embarkai-ui-scope .animate-mobile-dialog-in{animation:lumia-mobile-dialog-fade-in 375ms ease}.embarkai-ui-scope .animate-mobile-dialog-out{animation:lumia-mobile-dialog-fade-out 375ms ease}@keyframes lumia-dialog-fade-in{0%{opacity:0}to{opacity:1}}@keyframes lumia-dialog-fade-out{0%{opacity:1}to{opacity:0}}.embarkai-ui-scope .animate-dialog-in{animation:lumia-dialog-fade-in 375ms ease}.embarkai-ui-scope .animate-dialog-out{animation:lumia-dialog-fade-out 375ms ease}.embarkai-ui-scope .list-scrollbar-y{width:100%;padding-right:var(--ui-kit-list-scrollbar-pd-r,0);overflow-y:auto;overflow-x:hidden;max-height:var(--ui-kit-scrollbar-mah,300px)}.embarkai-ui-scope .list-scrollbar-y::-webkit-scrollbar{width:4px;height:4px}.embarkai-ui-scope .list-scrollbar-y::-webkit-scrollbar-thumb{cursor:pointer;width:4px;border-radius:2px;background-color:var(--ui-kit-bd)}.embarkai-ui-scope .list-scrollbar-y::-webkit-scrollbar-track{margin-top:10px;margin-bottom:10px;background-color:transparent}.embarkai-ui-scope .noScrollbars::-webkit-scrollbar{display:none}.embarkai-ui-scope div[data-radix-popper-content-wrapper]{z-index:10000!important}.embarkai-ui-scope .file\\:mr-\\[var\\(--ui-kit-gap\\)\\]::file-selector-button{margin-right:var(--ui-kit-gap)}.embarkai-ui-scope .file\\:h-12::file-selector-button{height:3rem}.embarkai-ui-scope .file\\:cursor-pointer::file-selector-button{cursor:pointer}.embarkai-ui-scope .file\\:rounded-\\[var\\(--ui-kit-el-bdrs\\)\\]::file-selector-button{border-radius:var(--ui-kit-el-bdrs)}.embarkai-ui-scope .file\\:border-0::file-selector-button{border-width:0}.embarkai-ui-scope .file\\:bg-\\[var\\(--ui-kit-primary\\)\\]::file-selector-button{background-color:var(--ui-kit-primary)}.embarkai-ui-scope .file\\:bg-transparent::file-selector-button{background-color:transparent}.embarkai-ui-scope .file\\:px-\\[var\\(--ui-kit-pd\\)\\]::file-selector-button{padding-left:var(--ui-kit-pd);padding-right:var(--ui-kit-pd)}.embarkai-ui-scope .file\\:text-\\[16px\\]::file-selector-button{font-size:16px}.embarkai-ui-scope .file\\:text-base::file-selector-button{font-size:1rem;line-height:1.5rem}.embarkai-ui-scope .file\\:font-medium::file-selector-button{font-weight:500}.embarkai-ui-scope .file\\:text-\\[var\\(--ui-kit-fg-inverted\\)\\]::file-selector-button{color:var(--ui-kit-fg-inverted)}.embarkai-ui-scope .placeholder\\:text-\\[var\\(--ui-kit-fg-muted\\)\\]::-moz-placeholder{color:var(--ui-kit-fg-muted)}.embarkai-ui-scope .placeholder\\:text-\\[var\\(--ui-kit-fg-muted\\)\\]::placeholder{color:var(--ui-kit-fg-muted)}.embarkai-ui-scope .focus-within\\:bg-\\[var\\(--ui-kit-secondary-a\\)\\]:focus-within{background-color:var(--ui-kit-secondary-a)}.embarkai-ui-scope .focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.embarkai-ui-scope .hover\\:bg-\\[\\#002c15\\]:hover{--tw-bg-opacity:1;background-color:rgb(0 44 21/var(--tw-bg-opacity,1))}.embarkai-ui-scope .hover\\:bg-\\[\\#081f2c\\]:hover{--tw-bg-opacity:1;background-color:rgb(8 31 44/var(--tw-bg-opacity,1))}.embarkai-ui-scope .hover\\:bg-\\[\\#f0f6f8\\]:hover{--tw-bg-opacity:1;background-color:rgb(240 246 248/var(--tw-bg-opacity,1))}.embarkai-ui-scope .hover\\:bg-\\[\\#f3ba2f\\]:hover{--tw-bg-opacity:1;background-color:rgb(243 186 47/var(--tw-bg-opacity,1))}.embarkai-ui-scope .hover\\:bg-\\[var\\(--ui-kit-bg\\)\\]:hover{background-color:var(--ui-kit-bg)}.embarkai-ui-scope .hover\\:bg-\\[var\\(--ui-kit-bg-secondary\\)\\]:hover{background-color:var(--ui-kit-bg-secondary)}.embarkai-ui-scope .hover\\:bg-\\[var\\(--ui-kit-primary-h\\)\\]:hover{background-color:var(--ui-kit-primary-h)}.embarkai-ui-scope .hover\\:bg-\\[var\\(--ui-kit-secondary\\)\\]:hover{background-color:var(--ui-kit-secondary)}.embarkai-ui-scope .hover\\:bg-\\[var\\(--ui-kit-secondary-h\\)\\]:hover{background-color:var(--ui-kit-secondary-h)}.embarkai-ui-scope .hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.embarkai-ui-scope .hover\\:text-\\[\\#c3f53c\\]:hover{--tw-text-opacity:1;color:rgb(195 245 60/var(--tw-text-opacity,1))}.embarkai-ui-scope .hover\\:text-\\[var\\(--ui-kit-fg\\)\\]:hover{color:var(--ui-kit-fg)}.embarkai-ui-scope .hover\\:text-\\[var\\(--ui-kit-fg-h\\)\\]:hover{color:var(--ui-kit-fg-h)}.embarkai-ui-scope .hover\\:text-gray-600:hover{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.embarkai-ui-scope .hover\\:text-gray-700:hover{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.embarkai-ui-scope .hover\\:underline:hover{text-decoration-line:underline}.embarkai-ui-scope .hover\\:opacity-100:hover{opacity:1}.embarkai-ui-scope .hover\\:opacity-80:hover{opacity:.8}.embarkai-ui-scope .hover\\:brightness-110:hover{--tw-brightness:brightness(1.1);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)}.embarkai-ui-scope .file\\:hover\\:opacity-90:hover::file-selector-button{opacity:.9}.embarkai-ui-scope .focus\\:border-\\[var\\(--ui-kit-primary\\)\\]:focus{border-color:var(--ui-kit-primary)}.embarkai-ui-scope .focus\\:bg-\\[var\\(--ui-kit-secondary-a\\)\\]:focus{background-color:var(--ui-kit-secondary-a)}.embarkai-ui-scope .focus\\:bg-transparent:focus{background-color:transparent}.embarkai-ui-scope .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.embarkai-ui-scope .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.embarkai-ui-scope .focus-visible\\:ring-0: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(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)}.embarkai-ui-scope .focus-visible\\:ring-\\[2px\\]: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)}.embarkai-ui-scope .focus-visible\\:ring-transparent:focus-visible{--tw-ring-color:transparent}.embarkai-ui-scope .focus-visible\\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px}.embarkai-ui-scope .active\\:bg-\\[\\#f3ba2f\\]:active{--tw-bg-opacity:1;background-color:rgb(243 186 47/var(--tw-bg-opacity,1))}.embarkai-ui-scope .active\\:bg-\\[var\\(--ui-kit-bg\\)\\]:active{background-color:var(--ui-kit-bg)}.embarkai-ui-scope .active\\:bg-\\[var\\(--ui-kit-primary-a\\)\\]:active{background-color:var(--ui-kit-primary-a)}.embarkai-ui-scope .active\\:bg-\\[var\\(--ui-kit-secondary-a\\)\\]:active{background-color:var(--ui-kit-secondary-a)}.embarkai-ui-scope .active\\:text-\\[\\#c3f53c\\]:active{--tw-text-opacity:1;color:rgb(195 245 60/var(--tw-text-opacity,1))}.embarkai-ui-scope .active\\:text-\\[var\\(--ui-kit-fg-a\\)\\]:active{color:var(--ui-kit-fg-a)}.embarkai-ui-scope .file\\:active\\:opacity-80:active::file-selector-button{opacity:.8}.embarkai-ui-scope .disabled\\:cursor-default:disabled{cursor:default}.embarkai-ui-scope .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.embarkai-ui-scope .disabled\\:opacity-50:disabled{opacity:.5}.embarkai-ui-scope .disabled\\:hover\\:bg-\\[var\\(--ui-kit-bg\\)\\]:hover:disabled{background-color:var(--ui-kit-bg)}.embarkai-ui-scope .disabled\\:hover\\:bg-\\[var\\(--ui-kit-primary\\)\\]:hover:disabled{background-color:var(--ui-kit-primary)}.embarkai-ui-scope .disabled\\:hover\\:bg-\\[var\\(--ui-kit-secondary\\)\\]:hover:disabled{background-color:var(--ui-kit-secondary)}.embarkai-ui-scope .disabled\\:hover\\:text-\\[var\\(--ui-kit-fg\\)\\]:hover:disabled{color:var(--ui-kit-fg)}.embarkai-ui-scope .disabled\\:active\\:bg-\\[var\\(--ui-kit-bg\\)\\]:active:disabled{background-color:var(--ui-kit-bg)}.embarkai-ui-scope .disabled\\:active\\:bg-\\[var\\(--ui-kit-primary\\)\\]:active:disabled{background-color:var(--ui-kit-primary)}.embarkai-ui-scope .disabled\\:active\\:text-\\[var\\(--ui-kit-fg\\)\\]:active:disabled{color:var(--ui-kit-fg)}.embarkai-ui-scope :is(.group:hover .group-hover\\:opacity-100){opacity:1}.embarkai-ui-scope :is(.group:hover .group-hover\\:opacity-60){opacity:.6}.embarkai-ui-scope .data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.embarkai-ui-scope .data-\\[size\\=default\\]\\:h-12[data-size=default]{height:3rem}.embarkai-ui-scope .data-\\[size\\=sm\\]\\:h-10[data-size=sm]{height:2.5rem}.embarkai-ui-scope .data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.embarkai-ui-scope .data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom],.embarkai-ui-scope .data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.embarkai-ui-scope .data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:-0.25rem}.embarkai-ui-scope .data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:0.25rem}.embarkai-ui-scope .data-\\[side\\=right\\]\\:translate-x-1[data-side=right],.embarkai-ui-scope .data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.embarkai-ui-scope .data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.embarkai-ui-scope .data-\\[state\\=checked\\]\\:border-\\[var\\(--ui-kit-bd-intense\\)\\][data-state=checked]{border-color:var(--ui-kit-bd-intense)}.embarkai-ui-scope .data-\\[state\\=checked\\]\\:bg-\\[var\\(--ui-kit-secondary\\)\\][data-state=checked]{background-color:var(--ui-kit-secondary)}.embarkai-ui-scope .data-\\[state\\=checked\\]\\:text-\\[var\\(--ui-kit-fg\\)\\][data-state=checked]{color:var(--ui-kit-fg)}.embarkai-ui-scope .data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.embarkai-ui-scope :is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1[data-slot=select-value]>*){overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.embarkai-ui-scope :is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex[data-slot=select-value]>*){display:flex}.embarkai-ui-scope :is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center[data-slot=select-value]>*){align-items:center}.embarkai-ui-scope :is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-\\[var\\(--ui-kit-gap\\)\\][data-slot=select-value]>*){gap:var(--ui-kit-gap)}@media (min-width:640px){.embarkai-ui-scope .sm\\:flex-row{flex-direction:row}.embarkai-ui-scope .sm\\:justify-end{justify-content:flex-end}.embarkai-ui-scope :is(.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*(1 - var(--tw-space-x-reverse)))}.embarkai-ui-scope .sm\\:text-left{text-align:left}}@media (min-width:768px){.embarkai-ui-scope .md\\:h-8{height:2rem}.embarkai-ui-scope .md\\:w-8{width:2rem}.embarkai-ui-scope .md\\:gap-\\[var\\(--ui-kit-gap\\)\\]{gap:var(--ui-kit-gap)}.embarkai-ui-scope .md\\:py-1{padding-top:.25rem;padding-bottom:.25rem}.embarkai-ui-scope .md\\:text-sm{font-size:.875rem;line-height:1.25rem}.embarkai-ui-scope .md\\:text-xs{font-size:.75rem;line-height:1rem}}.embarkai-ui-scope :is(.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-])){width:1rem;height:1rem}.embarkai-ui-scope :is(.\\[\\&_svg\\]\\:pointer-events-none svg){pointer-events:none}.embarkai-ui-scope :is(.\\[\\&_svg\\]\\:shrink-0 svg){flex-shrink:0}`;
|
|
27
|
+
built_default = `.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.embarkai-ui-scope .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}.embarkai-ui-scope .pointer-events-none{pointer-events:none}.embarkai-ui-scope .pointer-events-auto{pointer-events:auto}.embarkai-ui-scope .visible{visibility:visible}.embarkai-ui-scope .invisible{visibility:hidden}.embarkai-ui-scope .static{position:static}.embarkai-ui-scope .fixed{position:fixed}.embarkai-ui-scope .absolute{position:absolute}.embarkai-ui-scope .relative{position:relative}.embarkai-ui-scope .sticky{position:sticky}.embarkai-ui-scope .inset-0{inset:0}.embarkai-ui-scope .-right-0\\.5{right:-.125rem}.embarkai-ui-scope .-right-1{right:-.25rem}.embarkai-ui-scope .-right-2{right:-.5rem}.embarkai-ui-scope .-top-0\\.5{top:-.125rem}.embarkai-ui-scope .-top-1{top:-.25rem}.embarkai-ui-scope .-top-2{top:-.5rem}.embarkai-ui-scope .bottom-0{bottom:0}.embarkai-ui-scope .bottom-full{bottom:100%}.embarkai-ui-scope .left-0{left:0}.embarkai-ui-scope .left-1\\/2{left:50%}.embarkai-ui-scope .left-4{left:1rem}.embarkai-ui-scope .right-0{right:0}.embarkai-ui-scope .right-3{right:.75rem}.embarkai-ui-scope .right-4{right:1rem}.embarkai-ui-scope .right-\\[var\\(--ui-kit-pd\\)\\]{right:var(--ui-kit-pd)}.embarkai-ui-scope .right-full{right:100%}.embarkai-ui-scope .top-0{top:0}.embarkai-ui-scope .top-1\\/2{top:50%}.embarkai-ui-scope .top-4{top:1rem}.embarkai-ui-scope .top-\\[var\\(--ui-kit-pd\\)\\]{top:var(--ui-kit-pd)}.embarkai-ui-scope .z-10{z-index:10}.embarkai-ui-scope .z-50{z-index:50}.embarkai-ui-scope .z-\\[9998\\]{z-index:9998}.embarkai-ui-scope .z-\\[9999\\]{z-index:9999}.embarkai-ui-scope .-m-px{margin:-1px}.embarkai-ui-scope .-mx-1{margin-left:-.25rem;margin-right:-.25rem}.embarkai-ui-scope .mx-auto{margin-left:auto;margin-right:auto}.embarkai-ui-scope .my-1{margin-top:.25rem;margin-bottom:.25rem}.embarkai-ui-scope .mb-1{margin-bottom:.25rem}.embarkai-ui-scope .mb-2{margin-bottom:.5rem}.embarkai-ui-scope .mb-3{margin-bottom:.75rem}.embarkai-ui-scope .mb-4{margin-bottom:1rem}.embarkai-ui-scope .ml-1{margin-left:.25rem}.embarkai-ui-scope .ml-2{margin-left:.5rem}.embarkai-ui-scope .ml-auto{margin-left:auto}.embarkai-ui-scope .mr-1{margin-right:.25rem}.embarkai-ui-scope .mt-0\\.5{margin-top:.125rem}.embarkai-ui-scope .mt-1{margin-top:.25rem}.embarkai-ui-scope .mt-2{margin-top:.5rem}.embarkai-ui-scope .mt-4{margin-top:1rem}.embarkai-ui-scope .block{display:block}.embarkai-ui-scope .inline-block{display:inline-block}.embarkai-ui-scope .inline{display:inline}.embarkai-ui-scope .flex{display:flex}.embarkai-ui-scope .inline-flex{display:inline-flex}.embarkai-ui-scope .grid{display:grid}.embarkai-ui-scope .hidden{display:none}.embarkai-ui-scope .aspect-square{aspect-ratio:1/1}.embarkai-ui-scope .size-4{width:1rem;height:1rem}.embarkai-ui-scope .size-5{width:1.25rem;height:1.25rem}.embarkai-ui-scope .size-auto{width:auto;height:auto}.embarkai-ui-scope .h-1{height:.25rem}.embarkai-ui-scope .h-10{height:2.5rem}.embarkai-ui-scope .h-12{height:3rem}.embarkai-ui-scope .h-16{height:4rem}.embarkai-ui-scope .h-2{height:.5rem}.embarkai-ui-scope .h-3{height:.75rem}.embarkai-ui-scope .h-3\\.5{height:.875rem}.embarkai-ui-scope .h-4{height:1rem}.embarkai-ui-scope .h-48{height:12rem}.embarkai-ui-scope .h-5{height:1.25rem}.embarkai-ui-scope .h-6{height:1.5rem}.embarkai-ui-scope .h-7{height:1.75rem}.embarkai-ui-scope .h-8{height:2rem}.embarkai-ui-scope .h-\\[100dvh\\]{height:100dvh}.embarkai-ui-scope .h-\\[48px\\]{height:48px}.embarkai-ui-scope .h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.embarkai-ui-scope .h-auto{height:auto}.embarkai-ui-scope .h-fit{height:-moz-fit-content;height:fit-content}.embarkai-ui-scope .h-full{height:100%}.embarkai-ui-scope .h-px{height:1px}.embarkai-ui-scope .max-h-64{max-height:16rem}.embarkai-ui-scope .max-h-96{max-height:24rem}.embarkai-ui-scope .max-h-\\[95dvh\\]{max-height:95dvh}.embarkai-ui-scope .min-h-10{min-height:2.5rem}.embarkai-ui-scope .w-1{width:.25rem}.embarkai-ui-scope .w-1\\/2{width:50%}.embarkai-ui-scope .w-10{width:2.5rem}.embarkai-ui-scope .w-12{width:3rem}.embarkai-ui-scope .w-16{width:4rem}.embarkai-ui-scope .w-2{width:.5rem}.embarkai-ui-scope .w-3{width:.75rem}.embarkai-ui-scope .w-3\\.5{width:.875rem}.embarkai-ui-scope .w-4{width:1rem}.embarkai-ui-scope .w-48{width:12rem}.embarkai-ui-scope .w-5{width:1.25rem}.embarkai-ui-scope .w-6{width:1.5rem}.embarkai-ui-scope .w-7{width:1.75rem}.embarkai-ui-scope .w-72{width:18rem}.embarkai-ui-scope .w-8{width:2rem}.embarkai-ui-scope .w-\\[100dvw\\]{width:100dvw}.embarkai-ui-scope .w-\\[40px\\]{width:40px}.embarkai-ui-scope .w-\\[var\\(--ui-kit-maw\\)\\]{width:var(--ui-kit-maw)}.embarkai-ui-scope .w-fit{width:-moz-fit-content;width:fit-content}.embarkai-ui-scope .w-full{width:100%}.embarkai-ui-scope .w-px{width:1px}.embarkai-ui-scope .min-w-0{min-width:0}.embarkai-ui-scope .min-w-10{min-width:2.5rem}.embarkai-ui-scope .min-w-16{min-width:4rem}.embarkai-ui-scope .min-w-\\[256px\\]{min-width:256px}.embarkai-ui-scope .min-w-\\[8rem\\]{min-width:8rem}.embarkai-ui-scope .min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.embarkai-ui-scope .max-w-\\[144px\\]{max-width:144px}.embarkai-ui-scope .max-w-\\[150px\\]{max-width:150px}.embarkai-ui-scope .max-w-\\[160px\\]{max-width:160px}.embarkai-ui-scope .max-w-\\[256px\\]{max-width:256px}.embarkai-ui-scope .max-w-\\[680px\\]{max-width:680px}.embarkai-ui-scope .max-w-\\[80px\\]{max-width:80px}.embarkai-ui-scope .max-w-full{max-width:100%}.embarkai-ui-scope .max-w-sm{max-width:24rem}.embarkai-ui-scope .flex-1{flex:1 1 0%}.embarkai-ui-scope .flex-none{flex:none}.embarkai-ui-scope .flex-shrink-0,.embarkai-ui-scope .shrink-0{flex-shrink:0}.embarkai-ui-scope .-translate-x-1\\/2{--tw-translate-x:-50%}.embarkai-ui-scope .-translate-x-1\\/2,.embarkai-ui-scope .-translate-x-\\[var\\(--ui-kit-gap\\)\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.embarkai-ui-scope .-translate-x-\\[var\\(--ui-kit-gap\\)\\]{--tw-translate-x:calc(var(--ui-kit-gap)*-1)}.embarkai-ui-scope .-translate-y-1\\/2{--tw-translate-y:-50%}.embarkai-ui-scope .-translate-y-1\\/2,.embarkai-ui-scope .-translate-y-1\\/3{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.embarkai-ui-scope .-translate-y-1\\/3{--tw-translate-y:-33.333333%}.embarkai-ui-scope .rotate-180{--tw-rotate:180deg}.embarkai-ui-scope .rotate-180,.embarkai-ui-scope .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes glow-warning{0%,to{transform:scale(1);box-shadow:0 0 16px var(--ui-kit-bg-warning)}50%{transform:scale(.97);box-shadow:0 0 4px var(--ui-kit-bg-warning)}}.embarkai-ui-scope .animate-glow-warning{animation:glow-warning 2s ease infinite}@keyframes pulse{50%{opacity:.5}}.embarkai-ui-scope .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(1turn)}}.embarkai-ui-scope .animate-spin{animation:spin 1s linear infinite}.embarkai-ui-scope .cursor-default{cursor:default}.embarkai-ui-scope .cursor-help{cursor:help}.embarkai-ui-scope .cursor-not-allowed{cursor:not-allowed}.embarkai-ui-scope .cursor-pointer{cursor:pointer}.embarkai-ui-scope .cursor-text{cursor:text}.embarkai-ui-scope .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.embarkai-ui-scope .select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.embarkai-ui-scope .scroll-my-1{scroll-margin-top:.25rem;scroll-margin-bottom:.25rem}.embarkai-ui-scope .list-inside{list-style-position:inside}.embarkai-ui-scope .list-disc{list-style-type:disc}.embarkai-ui-scope .grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-11{grid-template-columns:repeat(11,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.embarkai-ui-scope .grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.embarkai-ui-scope .flex-col{flex-direction:column}.embarkai-ui-scope .flex-col-reverse{flex-direction:column-reverse}.embarkai-ui-scope .flex-wrap{flex-wrap:wrap}.embarkai-ui-scope .place-content-center{place-content:center}.embarkai-ui-scope .items-start{align-items:flex-start}.embarkai-ui-scope .items-end{align-items:flex-end}.embarkai-ui-scope .items-center{align-items:center}.embarkai-ui-scope .justify-start{justify-content:flex-start}.embarkai-ui-scope .justify-end{justify-content:flex-end}.embarkai-ui-scope .justify-center{justify-content:center}.embarkai-ui-scope .justify-between{justify-content:space-between}.embarkai-ui-scope .gap-0{gap:0}.embarkai-ui-scope .gap-1{gap:.25rem}.embarkai-ui-scope .gap-1\\.5{gap:.375rem}.embarkai-ui-scope .gap-2{gap:.5rem}.embarkai-ui-scope .gap-3{gap:.75rem}.embarkai-ui-scope .gap-4{gap:1rem}.embarkai-ui-scope .gap-\\[10px\\]{gap:10px}.embarkai-ui-scope .gap-\\[var\\(--ui-kit-gap\\)\\]{gap:var(--ui-kit-gap)}.embarkai-ui-scope :is(.space-x-1>:not([hidden])~:not([hidden])){--tw-space-x-reverse:0;margin-right:calc(.25rem*var(--tw-space-x-reverse));margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)))}.embarkai-ui-scope :is(.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*(1 - var(--tw-space-x-reverse)))}.embarkai-ui-scope :is(.space-y-0\\.5>:not([hidden])~:not([hidden])){--tw-space-y-reverse:0;margin-top:calc(.125rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem*var(--tw-space-y-reverse))}.embarkai-ui-scope :is(.space-y-1>:not([hidden])~:not([hidden])){--tw-space-y-reverse:0;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem*var(--tw-space-y-reverse))}.embarkai-ui-scope :is(.space-y-1\\.5>:not([hidden])~:not([hidden])){--tw-space-y-reverse:0;margin-top:calc(.375rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem*var(--tw-space-y-reverse))}.embarkai-ui-scope :is(.space-y-2>:not([hidden])~:not([hidden])){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.embarkai-ui-scope .overflow-hidden{overflow:hidden}.embarkai-ui-scope .overflow-y-auto{overflow-y:auto}.embarkai-ui-scope .overflow-x-hidden{overflow-x:hidden}.embarkai-ui-scope .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.embarkai-ui-scope .text-ellipsis{text-overflow:ellipsis}.embarkai-ui-scope .whitespace-nowrap{white-space:nowrap}.embarkai-ui-scope .whitespace-pre-line{white-space:pre-line}.embarkai-ui-scope .whitespace-pre-wrap{white-space:pre-wrap}.embarkai-ui-scope .break-normal{overflow-wrap:normal;word-break:normal}.embarkai-ui-scope .break-words{overflow-wrap:break-word}.embarkai-ui-scope .break-all{word-break:break-all}.embarkai-ui-scope .rounded{border-radius:.25rem}.embarkai-ui-scope .rounded-\\[10px\\]{border-radius:10px}.embarkai-ui-scope .rounded-\\[5px\\]{border-radius:5px}.embarkai-ui-scope .rounded-\\[var\\(--ui-kit-bdrs\\)\\]{border-radius:var(--ui-kit-bdrs)}.embarkai-ui-scope .rounded-\\[var\\(--ui-kit-el-bdrs\\)\\]{border-radius:var(--ui-kit-el-bdrs)}.embarkai-ui-scope .rounded-full{border-radius:9999px}.embarkai-ui-scope .rounded-lg{border-radius:.5rem}.embarkai-ui-scope .rounded-md{border-radius:.375rem}.embarkai-ui-scope .rounded-xl{border-radius:.75rem}.embarkai-ui-scope .border{border-width:1px}.embarkai-ui-scope .border-0{border-width:0}.embarkai-ui-scope .border-2{border-width:2px}.embarkai-ui-scope .border-b{border-bottom-width:1px}.embarkai-ui-scope .border-t{border-top-width:1px}.embarkai-ui-scope .border-dashed{border-style:dashed}.embarkai-ui-scope .border-\\[var\\(--ui-kit-bd\\)\\]{border-color:var(--ui-kit-bd)}.embarkai-ui-scope .border-\\[var\\(--ui-kit-bg-error\\)\\]{border-color:var(--ui-kit-bg-error)}.embarkai-ui-scope .border-\\[var\\(--ui-kit-bg-success\\)\\]{border-color:var(--ui-kit-bg-success)}.embarkai-ui-scope .border-\\[var\\(--ui-kit-bg-warning\\)\\]{border-color:var(--ui-kit-bg-warning)}.embarkai-ui-scope .border-\\[var\\(--ui-kit-error\\)\\]{border-color:var(--ui-kit-error)}.embarkai-ui-scope .border-\\[var\\(--ui-kit-secondary\\)\\]{border-color:var(--ui-kit-secondary)}.embarkai-ui-scope .border-current{border-color:currentColor}.embarkai-ui-scope .border-transparent{border-color:transparent}.embarkai-ui-scope .border-t-transparent{border-top-color:transparent}.embarkai-ui-scope .bg-\\[\\#002c15\\]{--tw-bg-opacity:1;background-color:rgb(0 44 21/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-\\[\\#081f2c\\]{--tw-bg-opacity:1;background-color:rgb(8 31 44/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-\\[\\#f0f6f8\\]{--tw-bg-opacity:1;background-color:rgb(240 246 248/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-\\[\\#f3ba2f\\]{--tw-bg-opacity:1;background-color:rgb(243 186 47/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-accent\\)\\]{background-color:var(--ui-kit-accent)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-bg\\)\\]{background-color:var(--ui-kit-bg)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-bg-error\\)\\]{background-color:var(--ui-kit-bg-error)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-bg-info\\)\\]{background-color:var(--ui-kit-bg-info)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-bg-secondary\\)\\]{background-color:var(--ui-kit-bg-secondary)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-bg-success\\)\\]{background-color:var(--ui-kit-bg-success)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-bg-warning\\)\\]{background-color:var(--ui-kit-bg-warning)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-fg\\)\\]{background-color:var(--ui-kit-fg)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-overlay\\)\\]{background-color:var(--ui-kit-overlay)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-primary\\)\\]{background-color:var(--ui-kit-primary)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-secondary\\)\\]{background-color:var(--ui-kit-secondary)}.embarkai-ui-scope .bg-\\[var\\(--ui-kit-secondary-h\\)\\]{background-color:var(--ui-kit-secondary-h)}.embarkai-ui-scope .bg-amber-500{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity,1))}.embarkai-ui-scope .bg-transparent{background-color:transparent}.embarkai-ui-scope .fill-\\[var\\(--ui-kit-bg-warning\\)\\]{fill:var(--ui-kit-bg-warning)}.embarkai-ui-scope .object-contain{-o-object-fit:contain;object-fit:contain}.embarkai-ui-scope .object-cover{-o-object-fit:cover;object-fit:cover}.embarkai-ui-scope .p-0{padding:0}.embarkai-ui-scope .p-1{padding:.25rem}.embarkai-ui-scope .p-2{padding:.5rem}.embarkai-ui-scope .p-3{padding:.75rem}.embarkai-ui-scope .p-4{padding:1rem}.embarkai-ui-scope .p-5{padding:1.25rem}.embarkai-ui-scope .p-6{padding:1.5rem}.embarkai-ui-scope .p-8{padding:2rem}.embarkai-ui-scope .p-\\[2px\\]{padding:2px}.embarkai-ui-scope .p-\\[var\\(--ui-kit-gap\\)\\]{padding:var(--ui-kit-gap)}.embarkai-ui-scope .p-\\[var\\(--ui-kit-pd\\)\\]{padding:var(--ui-kit-pd)}.embarkai-ui-scope .px-0{padding-left:0;padding-right:0}.embarkai-ui-scope .px-1{padding-left:.25rem;padding-right:.25rem}.embarkai-ui-scope .px-2{padding-left:.5rem;padding-right:.5rem}.embarkai-ui-scope .px-3{padding-left:.75rem;padding-right:.75rem}.embarkai-ui-scope .px-4{padding-left:1rem;padding-right:1rem}.embarkai-ui-scope .px-5{padding-left:1.25rem;padding-right:1.25rem}.embarkai-ui-scope .px-8{padding-left:2rem;padding-right:2rem}.embarkai-ui-scope .px-\\[var\\(--ui-kit-gap\\)\\]{padding-left:var(--ui-kit-gap);padding-right:var(--ui-kit-gap)}.embarkai-ui-scope .px-\\[var\\(--ui-kit-pd\\)\\]{padding-left:var(--ui-kit-pd);padding-right:var(--ui-kit-pd)}.embarkai-ui-scope .py-0{padding-top:0;padding-bottom:0}.embarkai-ui-scope .py-1{padding-top:.25rem;padding-bottom:.25rem}.embarkai-ui-scope .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.embarkai-ui-scope .py-2{padding-top:.5rem;padding-bottom:.5rem}.embarkai-ui-scope .py-3{padding-top:.75rem;padding-bottom:.75rem}.embarkai-ui-scope .py-4{padding-top:1rem;padding-bottom:1rem}.embarkai-ui-scope .py-8{padding-top:2rem;padding-bottom:2rem}.embarkai-ui-scope .py-\\[10px\\]{padding-top:10px;padding-bottom:10px}.embarkai-ui-scope .py-\\[var\\(--ui-kit-gap\\)\\]{padding-top:var(--ui-kit-gap);padding-bottom:var(--ui-kit-gap)}.embarkai-ui-scope .py-\\[var\\(--ui-kit-pd\\)\\]{padding-top:var(--ui-kit-pd);padding-bottom:var(--ui-kit-pd)}.embarkai-ui-scope .pb-2{padding-bottom:.5rem}.embarkai-ui-scope .pb-5{padding-bottom:1.25rem}.embarkai-ui-scope .pb-6{padding-bottom:1.5rem}.embarkai-ui-scope .pl-\\[var\\(--ui-kit-pd\\)\\]{padding-left:var(--ui-kit-pd)}.embarkai-ui-scope .pr-8{padding-right:2rem}.embarkai-ui-scope .pt-3{padding-top:.75rem}.embarkai-ui-scope .pt-4{padding-top:1rem}.embarkai-ui-scope .pt-5{padding-top:1.25rem}.embarkai-ui-scope .text-left{text-align:left}.embarkai-ui-scope .text-center{text-align:center}.embarkai-ui-scope .text-right{text-align:right}.embarkai-ui-scope .font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.embarkai-ui-scope .font-sans{font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.embarkai-ui-scope .text-2xl{font-size:1.5rem;line-height:2rem}.embarkai-ui-scope .text-\\[10px\\]{font-size:10px}.embarkai-ui-scope .text-\\[14px\\]{font-size:14px}.embarkai-ui-scope .text-\\[16px\\]{font-size:16px}.embarkai-ui-scope .text-\\[8px\\]{font-size:8px}.embarkai-ui-scope .text-lg{font-size:1.125rem;line-height:1.75rem}.embarkai-ui-scope .text-sm{font-size:.875rem;line-height:1.25rem}.embarkai-ui-scope .text-xl{font-size:1.25rem;line-height:1.75rem}.embarkai-ui-scope .text-xs{font-size:.75rem;line-height:1rem}.embarkai-ui-scope .font-bold{font-weight:700}.embarkai-ui-scope .font-medium{font-weight:500}.embarkai-ui-scope .font-normal{font-weight:400}.embarkai-ui-scope .font-semibold{font-weight:600}.embarkai-ui-scope .uppercase{text-transform:uppercase}.embarkai-ui-scope .lowercase{text-transform:lowercase}.embarkai-ui-scope .leading-3{line-height:.75rem}.embarkai-ui-scope .leading-4{line-height:1rem}.embarkai-ui-scope .leading-5{line-height:1.25rem}.embarkai-ui-scope .leading-6{line-height:1.5rem}.embarkai-ui-scope .leading-8{line-height:2rem}.embarkai-ui-scope .leading-\\[8px\\]{line-height:8px}.embarkai-ui-scope .leading-none{line-height:1}.embarkai-ui-scope .leading-tight{line-height:1.25}.embarkai-ui-scope .tracking-\\[0\\.3em\\]{letter-spacing:.3em}.embarkai-ui-scope .tracking-tight{letter-spacing:-.025em}.embarkai-ui-scope .tracking-wider{letter-spacing:.05em}.embarkai-ui-scope .text-\\[\\#c3f53c\\]{--tw-text-opacity:1;color:rgb(195 245 60/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-\\[var\\(--ui-kit-bg-error\\)\\]{color:var(--ui-kit-bg-error)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-bg-success\\)\\]{color:var(--ui-kit-bg-success)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-bg-warning\\)\\]{color:var(--ui-kit-bg-warning)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-error\\)\\]{color:var(--ui-kit-error)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-fg\\)\\]{color:var(--ui-kit-fg)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-fg-inverted\\)\\]{color:var(--ui-kit-fg-inverted)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-fg-muted\\)\\]{color:var(--ui-kit-fg-muted)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-info\\)\\]{color:var(--ui-kit-info)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-primary\\)\\]{color:var(--ui-kit-primary)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-success\\)\\]{color:var(--ui-kit-success)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-text-secondary\\)\\]{color:var(--ui-kit-text-secondary)}.embarkai-ui-scope .text-\\[var\\(--ui-kit-warning\\)\\]{color:var(--ui-kit-warning)}.embarkai-ui-scope .text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.embarkai-ui-scope .text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.embarkai-ui-scope .underline{text-decoration-line:underline}.embarkai-ui-scope .underline-offset-2{text-underline-offset:2px}.embarkai-ui-scope .underline-offset-4{text-underline-offset:4px}.embarkai-ui-scope .antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.embarkai-ui-scope .opacity-0{opacity:0}.embarkai-ui-scope .opacity-100{opacity:1}.embarkai-ui-scope .opacity-50{opacity:.5}.embarkai-ui-scope .opacity-60{opacity:.6}.embarkai-ui-scope .opacity-70{opacity:.7}.embarkai-ui-scope .opacity-90{opacity:.9}.embarkai-ui-scope .shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.embarkai-ui-scope .shadow,.embarkai-ui-scope .shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.embarkai-ui-scope .shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.embarkai-ui-scope .outline-none{outline:2px solid transparent;outline-offset:2px}.embarkai-ui-scope .outline{outline-style:solid}.embarkai-ui-scope .blur{--tw-blur:blur(8px)}.embarkai-ui-scope .blur,.embarkai-ui-scope .grayscale{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)}.embarkai-ui-scope .grayscale{--tw-grayscale:grayscale(100%)}.embarkai-ui-scope .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)}.embarkai-ui-scope .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.embarkai-ui-scope .transition-\\[color\\2c box-shadow\\]{transition-property:color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.embarkai-ui-scope .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}.embarkai-ui-scope .transition-none{transition-property:none}.embarkai-ui-scope .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.embarkai-ui-scope .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.embarkai-ui-scope .duration-200{transition-duration:.2s}.embarkai-ui-scope .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.embarkai-ui-scope{--ui-kit-ff:var(--embark-ui-ff,-apple-system,BlinkMacSystemFont,"Inter",system-ui,sans-serif);--ui-kit-maw:var(--embark-ui-maw,384px);--ui-kit-pd:var(--embark-ui-pd,12px);--ui-kit-gap:var(--embark-ui-gap,10px);--ui-kit-bdrs:var(--embark-ui-bdrs,20px);--ui-kit-el-bdrs:var(--embark-ui-element-bdrs,10px);--ui-kit-backdrop-blur:var(--embark-ui-backdrop-blur,10px)}.embarkai-ui-scope[data-current-theme-mode=light]{--ui-kit-overlay:var(--embark-ui-overlay,hsla(0,0%,100%,.8));--ui-kit-bg:var(--embark-ui-bg,#fff);--ui-kit-fg:var(--embark-ui-fg,#000);--ui-kit-fg-h:var(--embark-ui-fg-h,rgba(0,0,0,.6));--ui-kit-fg-a:var(--embark-ui-fg-a,rgba(0,0,0,.4));--ui-kit-fg-inverted:var(--embark-ui-fg-inverted,#fff);--ui-kit-fg-muted:var(--embark-ui-fg-muted,rgba(0,0,0,.6));--ui-kit-primary:var(--embark-ui-primary,#000);--ui-kit-primary-h:var(--embark-ui-primary-h,rgba(0,0,0,.8));--ui-kit-primary-a:var(--embark-ui-primary-a,rgba(0,0,0,.6));--ui-kit-secondary:var(--embark-ui-secondary,#e4e4e4);--ui-kit-secondary-h:var(--embark-ui-secondary-h,hsla(0,0%,89%,.8));--ui-kit-secondary-a:var(--embark-ui-secondary-a,hsla(0,0%,89%,.6));--ui-kit-bd:var(--embark-ui-bd,#ebebeb);--ui-kit-bd-intense:var(--embark-ui-bd-intense,#a9a9a9);--ui-kit-shadow:var(--embark-ui-shadow,0 0 0 0 transparent);--ui-kit-shadow-c:var(--embark-ui-shadow-c,rgba(0,0,0,.1));--ui-kit-info:var(--embark-ui-info,var(--ui-kit-fg));--ui-kit-bg-info:var(--embark-ui-bg-info,var(--ui-kit-secondary));--ui-kit-success:var(--embark-ui-success,#000);--ui-kit-bg-success:var(--embark-ui-bg-success,#21ff51);--ui-kit-warning:var(--embark-ui-warning,#000);--ui-kit-bg-warning:var(--embark-ui-bg-warning,#e9fa00);--ui-kit-error:var(--embark-ui-error,#fff);--ui-kit-bg-error:var(--embark-ui-bg-error,#d6204e)}.embarkai-ui-scope[data-current-theme-mode=dark]{--ui-kit-overlay:var(--embark-ui-overlay,rgba(0,0,0,.8));--ui-kit-bg:var(--embark-ui-bg,#1a1a1a);--ui-kit-fg:var(--embark-ui-fg,#fff);--ui-kit-fg-h:var(--embark-ui-fg-h,hsla(0,0%,100%,.6));--ui-kit-fg-a:var(--embark-ui-fg-a,hsla(0,0%,100%,.4));--ui-kit-fg-inverted:var(--embark-ui-fg-inverted,#000);--ui-kit-fg-muted:var(--embark-ui-fg-muted,hsla(0,0%,100%,.6));--ui-kit-primary:var(--embark-ui-primary,#fff);--ui-kit-primary-h:var(--embark-ui-primary-h,hsla(0,0%,100%,.8));--ui-kit-primary-a:var(--embark-ui-primary-a,hsla(0,0%,100%,.6));--ui-kit-secondary:var(--embark-ui-secondary,#2a2a2a);--ui-kit-secondary-h:var(--embark-ui-secondary-h,rgba(42,42,42,.6));--ui-kit-secondary-a:var(--embark-ui-secondary-a,rgba(42,42,42,.4));--ui-kit-bd:var(--embark-ui-bd,#3a3a3a);--ui-kit-bd-intense:var(--embark-ui-bd-intense,#4a4a4a);--ui-kit-shadow:var(--embark-ui-shadow,0 0 0 0 transparent);--ui-kit-shadow-c:var(--embark-ui-shadow-c,rgba(0,0,0,.1));--ui-kit-info:var(--embark-ui-info,var(--ui-kit-fg));--ui-kit-bg-info:var(--embark-ui-bg-info,var(--ui-kit-secondary));--ui-kit-success:var(--embark-ui-success,#000);--ui-kit-bg-success:var(--embark-ui-bg-success,#21ff51);--ui-kit-warning:var(--embark-ui-warning,#000);--ui-kit-bg-warning:var(--embark-ui-bg-warning,#e9fa00);--ui-kit-error:var(--embark-ui-error,#fff);--ui-kit-bg-error:var(--embark-ui-bg-error,#d6204e)}.embarkai-ui-scope,.embarkai-ui-scope *{margin:0;box-sizing:border-box;font-family:var(--ui-kit-ff);font-optical-sizing:auto;-webkit-tap-highlight-color:transparent;-moz-tap-highlight-color:transparent;-ms-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.embarkai-ui-scope button,.embarkai-ui-scope h1,.embarkai-ui-scope h2,.embarkai-ui-scope h3,.embarkai-ui-scope h4,.embarkai-ui-scope h5,.embarkai-ui-scope h6,.embarkai-ui-scope input,.embarkai-ui-scope p,.embarkai-ui-scope select,.embarkai-ui-scope textarea{font-family:var(--ui-kit-ff)!important;margin:0}.embarkai-ui-scope button,.embarkai-ui-scope input,.embarkai-ui-scope select,.embarkai-ui-scope textarea{border-style:solid;outline:none!important;appearance:none!important;-webkit-appearance:none;-moz-appearance:none}.embarkai-ui-scope input,.embarkai-ui-scope textarea{font-size:16px!important}.embarkai-ui-scope .account-connect-button{box-shadow:0 4px 20px var(--ui-kit-shadow-c),inset 0 0 0 1px var(--ui-kit-bd);transition:transform .25s ease}.embarkai-ui-scope .account-connect-button:hover{transform:scale(1.02)}.embarkai-ui-scope .account-connect-button:active{transform:scale(1)}@keyframes lumia-mobile-dialog-fade-in{0%{opacity:0;transform:translateY(64px)}to{opacity:1;transform:translateY(0)}}@keyframes lumia-mobile-dialog-fade-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(64px)}}.embarkai-ui-scope .animate-mobile-dialog-in{animation:lumia-mobile-dialog-fade-in 375ms ease}.embarkai-ui-scope .animate-mobile-dialog-out{animation:lumia-mobile-dialog-fade-out 375ms ease}@keyframes lumia-dialog-fade-in{0%{opacity:0}to{opacity:1}}@keyframes lumia-dialog-fade-out{0%{opacity:1}to{opacity:0}}.embarkai-ui-scope .animate-dialog-in{animation:lumia-dialog-fade-in 375ms ease}.embarkai-ui-scope .animate-dialog-out{animation:lumia-dialog-fade-out 375ms ease}.embarkai-ui-scope .list-scrollbar-y{width:100%;padding-right:var(--ui-kit-list-scrollbar-pd-r,0);overflow-y:auto;overflow-x:hidden;max-height:var(--ui-kit-scrollbar-mah,300px)}.embarkai-ui-scope .list-scrollbar-y::-webkit-scrollbar{width:4px;height:4px}.embarkai-ui-scope .list-scrollbar-y::-webkit-scrollbar-thumb{cursor:pointer;width:4px;border-radius:2px;background-color:var(--ui-kit-bd)}.embarkai-ui-scope .list-scrollbar-y::-webkit-scrollbar-track{margin-top:10px;margin-bottom:10px;background-color:transparent}.embarkai-ui-scope .noScrollbars::-webkit-scrollbar{display:none}.embarkai-ui-scope div[data-radix-popper-content-wrapper]{z-index:10000!important}.embarkai-ui-scope .file\\:mr-\\[var\\(--ui-kit-gap\\)\\]::file-selector-button{margin-right:var(--ui-kit-gap)}.embarkai-ui-scope .file\\:h-12::file-selector-button{height:3rem}.embarkai-ui-scope .file\\:cursor-pointer::file-selector-button{cursor:pointer}.embarkai-ui-scope .file\\:rounded-\\[var\\(--ui-kit-el-bdrs\\)\\]::file-selector-button{border-radius:var(--ui-kit-el-bdrs)}.embarkai-ui-scope .file\\:border-0::file-selector-button{border-width:0}.embarkai-ui-scope .file\\:bg-\\[var\\(--ui-kit-primary\\)\\]::file-selector-button{background-color:var(--ui-kit-primary)}.embarkai-ui-scope .file\\:bg-transparent::file-selector-button{background-color:transparent}.embarkai-ui-scope .file\\:px-\\[var\\(--ui-kit-pd\\)\\]::file-selector-button{padding-left:var(--ui-kit-pd);padding-right:var(--ui-kit-pd)}.embarkai-ui-scope .file\\:text-\\[16px\\]::file-selector-button{font-size:16px}.embarkai-ui-scope .file\\:text-base::file-selector-button{font-size:1rem;line-height:1.5rem}.embarkai-ui-scope .file\\:font-medium::file-selector-button{font-weight:500}.embarkai-ui-scope .file\\:text-\\[var\\(--ui-kit-fg-inverted\\)\\]::file-selector-button{color:var(--ui-kit-fg-inverted)}.embarkai-ui-scope .placeholder\\:text-\\[var\\(--ui-kit-fg-muted\\)\\]::-moz-placeholder{color:var(--ui-kit-fg-muted)}.embarkai-ui-scope .placeholder\\:text-\\[var\\(--ui-kit-fg-muted\\)\\]::placeholder{color:var(--ui-kit-fg-muted)}.embarkai-ui-scope .focus-within\\:bg-\\[var\\(--ui-kit-secondary-a\\)\\]:focus-within{background-color:var(--ui-kit-secondary-a)}.embarkai-ui-scope .focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.embarkai-ui-scope .hover\\:bg-\\[\\#002c15\\]:hover{--tw-bg-opacity:1;background-color:rgb(0 44 21/var(--tw-bg-opacity,1))}.embarkai-ui-scope .hover\\:bg-\\[\\#081f2c\\]:hover{--tw-bg-opacity:1;background-color:rgb(8 31 44/var(--tw-bg-opacity,1))}.embarkai-ui-scope .hover\\:bg-\\[\\#f0f6f8\\]:hover{--tw-bg-opacity:1;background-color:rgb(240 246 248/var(--tw-bg-opacity,1))}.embarkai-ui-scope .hover\\:bg-\\[\\#f3ba2f\\]:hover{--tw-bg-opacity:1;background-color:rgb(243 186 47/var(--tw-bg-opacity,1))}.embarkai-ui-scope .hover\\:bg-\\[var\\(--ui-kit-bg\\)\\]:hover{background-color:var(--ui-kit-bg)}.embarkai-ui-scope .hover\\:bg-\\[var\\(--ui-kit-bg-secondary\\)\\]:hover{background-color:var(--ui-kit-bg-secondary)}.embarkai-ui-scope .hover\\:bg-\\[var\\(--ui-kit-primary-h\\)\\]:hover{background-color:var(--ui-kit-primary-h)}.embarkai-ui-scope .hover\\:bg-\\[var\\(--ui-kit-secondary\\)\\]:hover{background-color:var(--ui-kit-secondary)}.embarkai-ui-scope .hover\\:bg-\\[var\\(--ui-kit-secondary-h\\)\\]:hover{background-color:var(--ui-kit-secondary-h)}.embarkai-ui-scope .hover\\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity,1))}.embarkai-ui-scope .hover\\:text-\\[\\#c3f53c\\]:hover{--tw-text-opacity:1;color:rgb(195 245 60/var(--tw-text-opacity,1))}.embarkai-ui-scope .hover\\:text-\\[var\\(--ui-kit-fg\\)\\]:hover{color:var(--ui-kit-fg)}.embarkai-ui-scope .hover\\:text-\\[var\\(--ui-kit-fg-h\\)\\]:hover{color:var(--ui-kit-fg-h)}.embarkai-ui-scope .hover\\:text-gray-600:hover{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.embarkai-ui-scope .hover\\:text-gray-700:hover{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.embarkai-ui-scope .hover\\:underline:hover{text-decoration-line:underline}.embarkai-ui-scope .hover\\:opacity-100:hover{opacity:1}.embarkai-ui-scope .hover\\:opacity-80:hover{opacity:.8}.embarkai-ui-scope .hover\\:brightness-110:hover{--tw-brightness:brightness(1.1);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)}.embarkai-ui-scope .file\\:hover\\:opacity-90:hover::file-selector-button{opacity:.9}.embarkai-ui-scope .focus\\:border-\\[var\\(--ui-kit-primary\\)\\]:focus{border-color:var(--ui-kit-primary)}.embarkai-ui-scope .focus\\:bg-\\[var\\(--ui-kit-secondary-a\\)\\]:focus{background-color:var(--ui-kit-secondary-a)}.embarkai-ui-scope .focus\\:bg-transparent:focus{background-color:transparent}.embarkai-ui-scope .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.embarkai-ui-scope .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.embarkai-ui-scope .focus-visible\\:ring-0: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(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)}.embarkai-ui-scope .focus-visible\\:ring-\\[2px\\]: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)}.embarkai-ui-scope .focus-visible\\:ring-transparent:focus-visible{--tw-ring-color:transparent}.embarkai-ui-scope .focus-visible\\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px}.embarkai-ui-scope .active\\:bg-\\[\\#f3ba2f\\]:active{--tw-bg-opacity:1;background-color:rgb(243 186 47/var(--tw-bg-opacity,1))}.embarkai-ui-scope .active\\:bg-\\[var\\(--ui-kit-bg\\)\\]:active{background-color:var(--ui-kit-bg)}.embarkai-ui-scope .active\\:bg-\\[var\\(--ui-kit-primary-a\\)\\]:active{background-color:var(--ui-kit-primary-a)}.embarkai-ui-scope .active\\:bg-\\[var\\(--ui-kit-secondary-a\\)\\]:active{background-color:var(--ui-kit-secondary-a)}.embarkai-ui-scope .active\\:text-\\[\\#c3f53c\\]:active{--tw-text-opacity:1;color:rgb(195 245 60/var(--tw-text-opacity,1))}.embarkai-ui-scope .active\\:text-\\[var\\(--ui-kit-fg-a\\)\\]:active{color:var(--ui-kit-fg-a)}.embarkai-ui-scope .file\\:active\\:opacity-80:active::file-selector-button{opacity:.8}.embarkai-ui-scope .disabled\\:cursor-default:disabled{cursor:default}.embarkai-ui-scope .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.embarkai-ui-scope .disabled\\:opacity-50:disabled{opacity:.5}.embarkai-ui-scope .disabled\\:hover\\:bg-\\[var\\(--ui-kit-bg\\)\\]:hover:disabled{background-color:var(--ui-kit-bg)}.embarkai-ui-scope .disabled\\:hover\\:bg-\\[var\\(--ui-kit-primary\\)\\]:hover:disabled{background-color:var(--ui-kit-primary)}.embarkai-ui-scope .disabled\\:hover\\:bg-\\[var\\(--ui-kit-secondary\\)\\]:hover:disabled{background-color:var(--ui-kit-secondary)}.embarkai-ui-scope .disabled\\:hover\\:text-\\[var\\(--ui-kit-fg\\)\\]:hover:disabled{color:var(--ui-kit-fg)}.embarkai-ui-scope .disabled\\:active\\:bg-\\[var\\(--ui-kit-bg\\)\\]:active:disabled{background-color:var(--ui-kit-bg)}.embarkai-ui-scope .disabled\\:active\\:bg-\\[var\\(--ui-kit-primary\\)\\]:active:disabled{background-color:var(--ui-kit-primary)}.embarkai-ui-scope .disabled\\:active\\:text-\\[var\\(--ui-kit-fg\\)\\]:active:disabled{color:var(--ui-kit-fg)}.embarkai-ui-scope :is(.group:hover .group-hover\\:opacity-100){opacity:1}.embarkai-ui-scope :is(.group:hover .group-hover\\:opacity-60){opacity:.6}.embarkai-ui-scope .data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.embarkai-ui-scope .data-\\[size\\=default\\]\\:h-12[data-size=default]{height:3rem}.embarkai-ui-scope .data-\\[size\\=sm\\]\\:h-10[data-size=sm]{height:2.5rem}.embarkai-ui-scope .data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.embarkai-ui-scope .data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom],.embarkai-ui-scope .data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.embarkai-ui-scope .data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:-0.25rem}.embarkai-ui-scope .data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:0.25rem}.embarkai-ui-scope .data-\\[side\\=right\\]\\:translate-x-1[data-side=right],.embarkai-ui-scope .data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.embarkai-ui-scope .data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.embarkai-ui-scope .data-\\[state\\=checked\\]\\:border-\\[var\\(--ui-kit-bd-intense\\)\\][data-state=checked]{border-color:var(--ui-kit-bd-intense)}.embarkai-ui-scope .data-\\[state\\=checked\\]\\:bg-\\[var\\(--ui-kit-secondary\\)\\][data-state=checked]{background-color:var(--ui-kit-secondary)}.embarkai-ui-scope .data-\\[state\\=checked\\]\\:text-\\[var\\(--ui-kit-fg\\)\\][data-state=checked]{color:var(--ui-kit-fg)}.embarkai-ui-scope .data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.embarkai-ui-scope :is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1[data-slot=select-value]>*){overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.embarkai-ui-scope :is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex[data-slot=select-value]>*){display:flex}.embarkai-ui-scope :is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center[data-slot=select-value]>*){align-items:center}.embarkai-ui-scope :is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-\\[var\\(--ui-kit-gap\\)\\][data-slot=select-value]>*){gap:var(--ui-kit-gap)}@media (min-width:640px){.embarkai-ui-scope .sm\\:flex-row{flex-direction:row}.embarkai-ui-scope .sm\\:justify-end{justify-content:flex-end}.embarkai-ui-scope :is(.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*(1 - var(--tw-space-x-reverse)))}.embarkai-ui-scope .sm\\:text-left{text-align:left}}@media (min-width:768px){.embarkai-ui-scope .md\\:h-8{height:2rem}.embarkai-ui-scope .md\\:w-8{width:2rem}.embarkai-ui-scope .md\\:gap-\\[var\\(--ui-kit-gap\\)\\]{gap:var(--ui-kit-gap)}.embarkai-ui-scope .md\\:py-1{padding-top:.25rem;padding-bottom:.25rem}.embarkai-ui-scope .md\\:text-sm{font-size:.875rem;line-height:1.25rem}.embarkai-ui-scope .md\\:text-xs{font-size:.75rem;line-height:1rem}}.embarkai-ui-scope :is(.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-])){width:1rem;height:1rem}.embarkai-ui-scope :is(.\\[\\&_svg\\]\\:pointer-events-none svg){pointer-events:none}.embarkai-ui-scope :is(.\\[\\&_svg\\]\\:shrink-0 svg){flex-shrink:0}`;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
|
|
@@ -3237,10 +3237,13 @@ var init_en = __esm({
|
|
|
3237
3237
|
},
|
|
3238
3238
|
securityMenu: {
|
|
3239
3239
|
title: "Security",
|
|
3240
|
-
|
|
3240
|
+
connectedApps: {
|
|
3241
|
+
connectedApp: "Connected Application",
|
|
3241
3242
|
trustedApp: "Trusted Application",
|
|
3242
|
-
|
|
3243
|
-
|
|
3243
|
+
trustedAt: "Trusted at {{time}}",
|
|
3244
|
+
connectedAt: "Connected at {{time}}",
|
|
3245
|
+
connectedApps: "Connected Applications",
|
|
3246
|
+
noConnectedApps: "No Connected Applications found",
|
|
3244
3247
|
removalNoteTitle: "After removing this application:",
|
|
3245
3248
|
removalNoteMsg1: "All transactions will require confirmation",
|
|
3246
3249
|
removalNoteMsg2: 'You can re-add it anytime by checking "Trust this app"'
|
|
@@ -3490,10 +3493,13 @@ var init_ru = __esm({
|
|
|
3490
3493
|
},
|
|
3491
3494
|
securityMenu: {
|
|
3492
3495
|
title: "\u0411\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u044C",
|
|
3493
|
-
|
|
3496
|
+
connectedApps: {
|
|
3497
|
+
connectedApp: "\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435",
|
|
3494
3498
|
trustedApp: "\u0414\u043E\u0432\u0435\u0440\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435",
|
|
3495
|
-
|
|
3496
|
-
|
|
3499
|
+
trustedAt: "\u0414\u043E\u0432\u0435\u0440\u0435\u043D\u043E {{time}}",
|
|
3500
|
+
connectedAt: "\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043E {{time}}",
|
|
3501
|
+
connectedApps: "\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F",
|
|
3502
|
+
noConnectedApps: "\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B",
|
|
3497
3503
|
removalNoteTitle: "\u041F\u043E\u0441\u043B\u0435 \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u044F \u044D\u0442\u043E\u0433\u043E \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F",
|
|
3498
3504
|
removalNoteMsg1: "\u0412\u0441\u0435 \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438 \u043F\u043E\u0442\u0440\u0435\u0431\u0443\u044E\u0442 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F",
|
|
3499
3505
|
removalNoteMsg2: "\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0435\u0433\u043E \u0441\u043D\u043E\u0432\u0430 \u0432 \u043B\u044E\u0431\u043E\u0435 \u0432\u0440\u0435\u043C\u044F, \u043E\u0442\u043C\u0435\u0442\u0438\u0432 \xAB\u0414\u043E\u0432\u0435\u0440\u044F\u0442\u044C \u044D\u0442\u043E\u043C\u0443 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044E\xBB"
|
|
@@ -3722,13 +3728,16 @@ var init_zh = __esm({
|
|
|
3722
3728
|
},
|
|
3723
3729
|
securityMenu: {
|
|
3724
3730
|
title: "\u5B89\u5168",
|
|
3725
|
-
|
|
3731
|
+
connectedApps: {
|
|
3732
|
+
connectedApp: "\u5DF2\u8FDE\u63A5\u7684\u5E94\u7528\u7A0B\u5E8F",
|
|
3726
3733
|
trustedApp: "\u53D7\u4FE1\u4EFB\u7684\u5E94\u7528\u7A0B\u5E8F",
|
|
3727
|
-
|
|
3728
|
-
|
|
3734
|
+
trustedAt: "\u53D7\u4FE1\u4EFB\u4E8E {{time}}",
|
|
3735
|
+
connectedAt: "\u5DF2\u8FDE\u63A5\u4E8E {{time}}",
|
|
3736
|
+
connectedApps: "\u5DF2\u8FDE\u63A5\u7684\u5E94\u7528\u7A0B\u5E8F",
|
|
3737
|
+
noConnectedApps: "\u672A\u627E\u5230\u5DF2\u8FDE\u63A5\u7684\u5E94\u7528\u7A0B\u5E8F",
|
|
3729
3738
|
removalNoteTitle: "\u79FB\u9664\u6B64\u5E94\u7528\u7A0B\u5E8F\u540E\uFF1A",
|
|
3730
3739
|
removalNoteMsg1: "\u6240\u6709\u4EA4\u6613\u90FD\u9700\u8981\u786E\u8BA4",
|
|
3731
|
-
removalNoteMsg2: "
|
|
3740
|
+
removalNoteMsg2: "\u60A8\u53EF\u4EE5\u968F\u65F6\u901A\u8FC7\u52FE\u9009\u201C\u4FE1\u4EFB\u6B64\u5E94\u7528\u7A0B\u5E8F\u201D\u91CD\u65B0\u6DFB\u52A0\u5B83"
|
|
3732
3741
|
},
|
|
3733
3742
|
keyshareStatus: {
|
|
3734
3743
|
title: "\u5BC6\u94A5\u5171\u4EAB\u72B6\u6001",
|
|
@@ -15117,7 +15126,7 @@ function mapBlockscoutToAsset(balance) {
|
|
|
15117
15126
|
}
|
|
15118
15127
|
const asset = {
|
|
15119
15128
|
type,
|
|
15120
|
-
address: token.
|
|
15129
|
+
address: token.address_hash,
|
|
15121
15130
|
name: token.name || "Unknown Token",
|
|
15122
15131
|
symbol: token.symbol || "???",
|
|
15123
15132
|
balance: value,
|
|
@@ -15148,7 +15157,7 @@ function mapBlockscoutNftToAsset(nft) {
|
|
|
15148
15157
|
const imageUrl = image_url || (metadata?.image ? resolveIpfsUri(metadata.image) : void 0);
|
|
15149
15158
|
const asset = {
|
|
15150
15159
|
type,
|
|
15151
|
-
address: token.
|
|
15160
|
+
address: token.address_hash,
|
|
15152
15161
|
name: token.name || "Unknown NFT",
|
|
15153
15162
|
symbol: token.symbol || "???",
|
|
15154
15163
|
balance: value || "1",
|
|
@@ -15271,7 +15280,7 @@ function useBlockscoutAssets(options) {
|
|
|
15271
15280
|
});
|
|
15272
15281
|
const erc20TokenAddresses = useMemo5(() => {
|
|
15273
15282
|
if (!tokenBalances) return [];
|
|
15274
|
-
return tokenBalances.filter((tb) => tb.token.type === "ERC-20").map((tb) => tb.token.
|
|
15283
|
+
return tokenBalances.filter((tb) => tb.token.type === "ERC-20").map((tb) => tb.token.address_hash);
|
|
15275
15284
|
}, [tokenBalances]);
|
|
15276
15285
|
const { data: erc3643Results } = useQuery16({
|
|
15277
15286
|
queryKey: [ERC3643_DETECTION_QUERY_KEY, address, erc20TokenAddresses],
|
|
@@ -15728,21 +15737,134 @@ var init_PortfolioMenu2 = __esm({
|
|
|
15728
15737
|
});
|
|
15729
15738
|
|
|
15730
15739
|
// src/internal/components/SecurityMenu/constants.ts
|
|
15731
|
-
var KEYSHARE_RECOVERY_STATS_QUERY;
|
|
15740
|
+
var KEYSHARE_RECOVERY_STATS_QUERY, CONNECTED_TRUSTED_APPS_QUERY;
|
|
15732
15741
|
var init_constants6 = __esm({
|
|
15733
15742
|
"src/internal/components/SecurityMenu/constants.ts"() {
|
|
15734
15743
|
KEYSHARE_RECOVERY_STATS_QUERY = "keyshare-recovery-stats-query";
|
|
15744
|
+
CONNECTED_TRUSTED_APPS_QUERY = "connected-trusted-apps-query";
|
|
15745
|
+
}
|
|
15746
|
+
});
|
|
15747
|
+
|
|
15748
|
+
// src/internal/components/SecurityMenu/ConnectedApps.tsx
|
|
15749
|
+
import { useQuery as useQuery18 } from "@tanstack/react-query";
|
|
15750
|
+
import dayjs5 from "dayjs";
|
|
15751
|
+
import { omit } from "lodash-es";
|
|
15752
|
+
import { AppWindowMac, Info as Info5, ShieldBanIcon, ShieldCheckIcon } from "lucide-react";
|
|
15753
|
+
import { Fragment as Fragment32, jsx as jsx82, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
15754
|
+
function Application(props) {
|
|
15755
|
+
const { appLogo, appName, origin, trustedAt, untrustApp } = props;
|
|
15756
|
+
const { t } = useT();
|
|
15757
|
+
const isAppTrusted = trustedAt && dayjs5(trustedAt).isValid() && dayjs5(trustedAt).isBefore(dayjs5());
|
|
15758
|
+
return /* @__PURE__ */ jsxs75(
|
|
15759
|
+
"div",
|
|
15760
|
+
{
|
|
15761
|
+
className: cn(
|
|
15762
|
+
"flex items-center gap-[var(--ui-kit-gap)]",
|
|
15763
|
+
"text-[10px] leading-tight",
|
|
15764
|
+
"p-2 rounded-[var(--ui-kit-el-bdrs)] bg-[var(--ui-kit-bg-info)]"
|
|
15765
|
+
),
|
|
15766
|
+
children: [
|
|
15767
|
+
/* @__PURE__ */ jsxs75(
|
|
15768
|
+
"div",
|
|
15769
|
+
{
|
|
15770
|
+
className: cn(
|
|
15771
|
+
"w-12 h-12 relative flex-none",
|
|
15772
|
+
"flex items-center justify-center",
|
|
15773
|
+
"rounded-[var(--ui-kit-el-bdrs)] bg-[var(--ui-kit-bg)]"
|
|
15774
|
+
),
|
|
15775
|
+
children: [
|
|
15776
|
+
appLogo ? /* @__PURE__ */ jsx82("div", { className: "w-full h-full p-1", children: /* @__PURE__ */ jsx82("img", { src: appLogo, alt: appName, className: "w-full h-full object-contain" }) }) : /* @__PURE__ */ jsx82(AppWindowMac, { className: "w-6 h-6 text-[var(--ui-kit-fg)]" }),
|
|
15777
|
+
isAppTrusted && /* @__PURE__ */ jsx82(
|
|
15778
|
+
"div",
|
|
15779
|
+
{
|
|
15780
|
+
className: cn(
|
|
15781
|
+
"flex items-center justify-center",
|
|
15782
|
+
"absolute -top-1 -right-1 h-5 w-5 rounded-full bg-[var(--ui-kit-bg-success)]"
|
|
15783
|
+
),
|
|
15784
|
+
children: /* @__PURE__ */ jsx82(ShieldCheckIcon, { className: "w-4 h-4 text-black" })
|
|
15785
|
+
}
|
|
15786
|
+
)
|
|
15787
|
+
]
|
|
15788
|
+
}
|
|
15789
|
+
),
|
|
15790
|
+
/* @__PURE__ */ jsxs75("div", { className: "flex-1 min-w-0", children: [
|
|
15791
|
+
/* @__PURE__ */ jsx82("div", { className: "font-semibold truncate", children: appName || new URL(origin).hostname }),
|
|
15792
|
+
/* @__PURE__ */ jsx82("div", { className: "text-[var(--ui-kit-fg-muted)] truncate", children: new URL(origin).hostname }),
|
|
15793
|
+
isAppTrusted ? /* @__PURE__ */ jsx82("div", { className: "text-[var(--ui-kit-fg)] truncate", children: t("passport:securityMenu.connectedApps.trustedAt", {
|
|
15794
|
+
time: dayjs5(trustedAt).format("MMM D, YYYY HH:mm")
|
|
15795
|
+
}) }) : /* @__PURE__ */ jsx82("div", { className: "text-[var(--ui-kit-fg-muted)] truncate", children: t("passport:securityMenu.connectedApps.connectedAt", {
|
|
15796
|
+
time: dayjs5(trustedAt).format("MMM D, YYYY HH:mm")
|
|
15797
|
+
}) })
|
|
15798
|
+
] }),
|
|
15799
|
+
isAppTrusted && /* @__PURE__ */ jsx82(
|
|
15800
|
+
Button,
|
|
15801
|
+
{
|
|
15802
|
+
variant: "outline",
|
|
15803
|
+
size: "icon",
|
|
15804
|
+
className: "text-[var(--ui-kit-bg-error)] flex-none rounded-[var(--ui-kit-el-bdrs)]",
|
|
15805
|
+
onClick: () => untrustApp({ ...omit(props, "untrustApp"), hostname: new URL(origin).hostname }),
|
|
15806
|
+
children: /* @__PURE__ */ jsx82(ShieldBanIcon, { className: "h-4 w-4" })
|
|
15807
|
+
}
|
|
15808
|
+
)
|
|
15809
|
+
]
|
|
15810
|
+
}
|
|
15811
|
+
);
|
|
15812
|
+
}
|
|
15813
|
+
function ConnectedApps(props) {
|
|
15814
|
+
const { isLoading: isParentLoading, untrustApp } = props;
|
|
15815
|
+
const { t } = useT();
|
|
15816
|
+
const session = useSession((st) => st.session);
|
|
15817
|
+
const userId = session?.mpcUserId || null;
|
|
15818
|
+
const { data: connectedApps = [], isLoading: isConnectedAppsLoading } = useQuery18({
|
|
15819
|
+
retry: false,
|
|
15820
|
+
enabled: !!userId,
|
|
15821
|
+
queryKey: [CONNECTED_TRUSTED_APPS_QUERY, userId],
|
|
15822
|
+
queryFn: async () => {
|
|
15823
|
+
const iframeManager = getIframeManager();
|
|
15824
|
+
return await iframeManager.getTrustedApps(userId).catch(() => {
|
|
15825
|
+
console.error("[ConnectedApps] Failed to load connected apps from iframe");
|
|
15826
|
+
return [];
|
|
15827
|
+
});
|
|
15828
|
+
}
|
|
15829
|
+
});
|
|
15830
|
+
const isLoading = isConnectedAppsLoading || isParentLoading;
|
|
15831
|
+
if (isLoading) return null;
|
|
15832
|
+
if (!isLoading && connectedApps.length === 0)
|
|
15833
|
+
return /* @__PURE__ */ jsxs75(Highlight, { type: "info", className: "flex gap-[var(--ui-kit-gap)] ", children: [
|
|
15834
|
+
/* @__PURE__ */ jsx82(Info5, { className: "w-4 h-4" }),
|
|
15835
|
+
/* @__PURE__ */ jsx82("span", { children: t("passport:securityMenu.connectedApps.noConnectedApps") })
|
|
15836
|
+
] });
|
|
15837
|
+
return /* @__PURE__ */ jsxs75(Fragment32, { children: [
|
|
15838
|
+
/* @__PURE__ */ jsxs75("span", { className: "font-medium text-xs text-[var(--ui-kit-fg)]", children: [
|
|
15839
|
+
/* @__PURE__ */ jsx82("span", { children: t("passport:securityMenu.connectedApps.connectedApps") }),
|
|
15840
|
+
connectedApps.length > 0 && /* @__PURE__ */ jsxs75("span", { children: [
|
|
15841
|
+
" ",
|
|
15842
|
+
connectedApps.length
|
|
15843
|
+
] })
|
|
15844
|
+
] }),
|
|
15845
|
+
/* @__PURE__ */ jsx82("div", { className: "w-full flex flex-col gap-[var(--ui-kit-gap)]", children: connectedApps.map((app, index) => /* @__PURE__ */ jsx82(Application, { ...app, untrustApp }, index)) })
|
|
15846
|
+
] });
|
|
15847
|
+
}
|
|
15848
|
+
var init_ConnectedApps = __esm({
|
|
15849
|
+
"src/internal/components/SecurityMenu/ConnectedApps.tsx"() {
|
|
15850
|
+
init_utils2();
|
|
15851
|
+
init_SessionContext();
|
|
15852
|
+
init_i18n();
|
|
15853
|
+
init_iframe_manager();
|
|
15854
|
+
init_button();
|
|
15855
|
+
init_highlight();
|
|
15856
|
+
init_constants6();
|
|
15735
15857
|
}
|
|
15736
15858
|
});
|
|
15737
15859
|
|
|
15738
15860
|
// src/internal/assets/NegativeIcon.tsx
|
|
15739
|
-
import { jsx as
|
|
15861
|
+
import { jsx as jsx83, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
15740
15862
|
function NegativeIcon(props) {
|
|
15741
15863
|
const { width = "16", height = "16", ...rest } = props;
|
|
15742
|
-
return /* @__PURE__ */
|
|
15743
|
-
/* @__PURE__ */
|
|
15744
|
-
/* @__PURE__ */
|
|
15745
|
-
/* @__PURE__ */
|
|
15864
|
+
return /* @__PURE__ */ jsxs76("svg", { ...rest, width, height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
15865
|
+
/* @__PURE__ */ jsx83("rect", { width: "16", height: "16", rx: "8", fill: "var(--ui-kit-bg-error)" }),
|
|
15866
|
+
/* @__PURE__ */ jsx83("path", { d: "M10.8048 5.19482L5.19434 10.8055", stroke: "var(--ui-kit-fg)", strokeLinecap: "round" }),
|
|
15867
|
+
/* @__PURE__ */ jsx83("path", { d: "M5.19421 5.19482L10.8047 10.8055", stroke: "var(--ui-kit-fg)", strokeLinecap: "round" })
|
|
15746
15868
|
] });
|
|
15747
15869
|
}
|
|
15748
15870
|
var init_NegativeIcon = __esm({
|
|
@@ -15752,13 +15874,13 @@ var init_NegativeIcon = __esm({
|
|
|
15752
15874
|
|
|
15753
15875
|
// src/internal/components/SecurityMenu/Keyshare/KeyshareStatus.tsx
|
|
15754
15876
|
import { Loader as Loader28 } from "lucide-react";
|
|
15755
|
-
import { jsx as
|
|
15877
|
+
import { jsx as jsx84, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
15756
15878
|
function KeyshareStatus(props) {
|
|
15757
15879
|
const { isLoading, content, icon: Icon2, children } = props;
|
|
15758
|
-
if (isLoading) return /* @__PURE__ */
|
|
15759
|
-
return /* @__PURE__ */
|
|
15880
|
+
if (isLoading) return /* @__PURE__ */ jsx84(Loader28, { className: "w-4 h-4 animate-spin" });
|
|
15881
|
+
return /* @__PURE__ */ jsxs77("div", { className: "group relative w-full h-full", children: [
|
|
15760
15882
|
children,
|
|
15761
|
-
/* @__PURE__ */
|
|
15883
|
+
/* @__PURE__ */ jsx84(
|
|
15762
15884
|
"div",
|
|
15763
15885
|
{
|
|
15764
15886
|
className: cn(
|
|
@@ -15766,10 +15888,10 @@ function KeyshareStatus(props) {
|
|
|
15766
15888
|
"rounded-full bg-[var(--ui-kit-bg)]"
|
|
15767
15889
|
// 'border border-[var(--ui-kit-bd)]'
|
|
15768
15890
|
),
|
|
15769
|
-
children: /* @__PURE__ */
|
|
15891
|
+
children: /* @__PURE__ */ jsx84(Icon2, { className: "w-4 h-4" })
|
|
15770
15892
|
}
|
|
15771
15893
|
),
|
|
15772
|
-
/* @__PURE__ */
|
|
15894
|
+
/* @__PURE__ */ jsx84(
|
|
15773
15895
|
"div",
|
|
15774
15896
|
{
|
|
15775
15897
|
style: { transform: "translateY(calc(var(--ui-kit-gap) * -4))" },
|
|
@@ -15792,11 +15914,11 @@ var init_KeyshareStatus = __esm({
|
|
|
15792
15914
|
});
|
|
15793
15915
|
|
|
15794
15916
|
// src/internal/components/SecurityMenu/Keyshare/LastBackup.tsx
|
|
15795
|
-
import
|
|
15917
|
+
import dayjs6 from "dayjs";
|
|
15796
15918
|
import {
|
|
15797
15919
|
DatabaseBackup
|
|
15798
15920
|
} from "lucide-react";
|
|
15799
|
-
import { Fragment as
|
|
15921
|
+
import { Fragment as Fragment33, jsx as jsx85, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
15800
15922
|
function parseOS(ua) {
|
|
15801
15923
|
if (!ua) return null;
|
|
15802
15924
|
if (ua.includes("Mac OS X")) return "macOS";
|
|
@@ -15818,15 +15940,15 @@ function LastBackup(props) {
|
|
|
15818
15940
|
// country: recoveryCountry
|
|
15819
15941
|
} = createdRecoveryStats || {};
|
|
15820
15942
|
const hasBackupData = backup?.server?.enabled && backup.server.lastBackup || !backup.server.lastBackup && recoveryCreatedAt || backup.cloud.enabled && backup.cloud?.lastBackup || backup.local.enabled && backup.local.lastBackup;
|
|
15821
|
-
if (!hasBackupData) return null;
|
|
15822
|
-
return /* @__PURE__ */
|
|
15823
|
-
/* @__PURE__ */
|
|
15824
|
-
/* @__PURE__ */
|
|
15825
|
-
/* @__PURE__ */
|
|
15943
|
+
if (!hasBackupData || !createdRecoveryStats) return null;
|
|
15944
|
+
return /* @__PURE__ */ jsxs78(Highlight, { type: "info", className: "text-[10px] leading-4", children: [
|
|
15945
|
+
/* @__PURE__ */ jsxs78("span", { className: "flex items-center gap-[var(--ui-kit-gap)]", children: [
|
|
15946
|
+
/* @__PURE__ */ jsx85(DatabaseBackup, { className: "w-4 h-4 flex-none" }),
|
|
15947
|
+
/* @__PURE__ */ jsx85("span", { className: "font-medium text-xs", children: t("passport:securityMenu.lastBackup") })
|
|
15826
15948
|
] }),
|
|
15827
|
-
recoveryCreatedAt && /* @__PURE__ */
|
|
15828
|
-
/* @__PURE__ */
|
|
15829
|
-
/* @__PURE__ */
|
|
15949
|
+
recoveryCreatedAt && /* @__PURE__ */ jsxs78(Fragment33, { children: [
|
|
15950
|
+
/* @__PURE__ */ jsx85("span", { className: "block block font-mono!", children: dayjs6(recoveryCreatedAt).format("MMMM DD, YYYY HH:mm") }),
|
|
15951
|
+
/* @__PURE__ */ jsx85("span", { className: "block font-mono!", children: t("passport:securityMenu.lastBackupMeta", {
|
|
15830
15952
|
browser: recoveryBrowser || "UNKNOWN",
|
|
15831
15953
|
deviceName: recoveryDeviceName || "UNKNOWN",
|
|
15832
15954
|
os: parseOS(recoveryUa) || "UNKNOWN"
|
|
@@ -15838,79 +15960,82 @@ var init_LastBackup = __esm({
|
|
|
15838
15960
|
"src/internal/components/SecurityMenu/Keyshare/LastBackup.tsx"() {
|
|
15839
15961
|
init_useT();
|
|
15840
15962
|
init_highlight();
|
|
15963
|
+
{
|
|
15964
|
+
}
|
|
15965
|
+
{
|
|
15966
|
+
}
|
|
15841
15967
|
}
|
|
15842
15968
|
});
|
|
15843
15969
|
|
|
15844
15970
|
// src/internal/components/SecurityMenu/Keyshare/Keyshare.tsx
|
|
15845
|
-
import { Cloud as Cloud3, Laptop,
|
|
15846
|
-
import { Fragment as
|
|
15971
|
+
import { Cloud as Cloud3, Laptop, LoaderIcon as LoaderIcon9, Server as Server2 } from "lucide-react";
|
|
15972
|
+
import { Fragment as Fragment34, jsx as jsx86, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
15847
15973
|
function Keyshare(props) {
|
|
15848
|
-
const { userId, serverHasKeyshare, localInfo, hasServerBackup, createdRecoveryStats, isLoading
|
|
15974
|
+
const { userId, serverHasKeyshare, localInfo, hasServerBackup, createdRecoveryStats, isLoading } = props;
|
|
15849
15975
|
const { t } = useT();
|
|
15850
15976
|
const backup = userId ? getBackupStatus(userId) : { server: { enabled: false }, cloud: { enabled: false }, local: { enabled: false } };
|
|
15851
|
-
|
|
15852
|
-
/* @__PURE__ */
|
|
15853
|
-
|
|
15854
|
-
|
|
15855
|
-
] }),
|
|
15856
|
-
/* @__PURE__ */
|
|
15857
|
-
/* @__PURE__ */
|
|
15977
|
+
if (isLoading) {
|
|
15978
|
+
return /* @__PURE__ */ jsx86("div", { className: "w-full flex items-center justify-center p-[var(--ui-kit-pd)]", children: /* @__PURE__ */ jsx86(LoaderIcon9, { className: "h-4 w-4 animate-spin" }) });
|
|
15979
|
+
}
|
|
15980
|
+
return /* @__PURE__ */ jsxs79(Fragment34, { children: [
|
|
15981
|
+
/* @__PURE__ */ jsx86("span", { className: "font-medium text-xs text-[var(--ui-kit-fg)]", children: t("passport:securityMenu.keyshareStatus.title") }),
|
|
15982
|
+
/* @__PURE__ */ jsxs79("div", { className: "grid grid-cols-3 gap-[var(--ui-kit-gap)] px-[var(--ui-kit-gap)]", children: [
|
|
15983
|
+
/* @__PURE__ */ jsx86(
|
|
15858
15984
|
KeyshareStatus,
|
|
15859
15985
|
{
|
|
15860
15986
|
content: serverHasKeyshare ? t("passport:securityMenu.keyshareStatus.serverReady") : t("passport:securityMenu.keyshareStatus.serverMissing"),
|
|
15861
15987
|
icon: serverHasKeyshare ? PositiveIcon : NegativeIcon,
|
|
15862
|
-
children: /* @__PURE__ */
|
|
15988
|
+
children: /* @__PURE__ */ jsxs79(
|
|
15863
15989
|
Highlight,
|
|
15864
15990
|
{
|
|
15865
15991
|
type: serverHasKeyshare ? "success" : "warning",
|
|
15866
15992
|
className: "w-full h-full flex flex-col items-center gap-0",
|
|
15867
15993
|
children: [
|
|
15868
|
-
/* @__PURE__ */
|
|
15869
|
-
/* @__PURE__ */
|
|
15994
|
+
/* @__PURE__ */ jsx86(Cloud3, { className: "h-6 w-6" }),
|
|
15995
|
+
/* @__PURE__ */ jsx86("span", { className: "text-[10px] font-medium leading-4", children: "Server Share" })
|
|
15870
15996
|
]
|
|
15871
15997
|
}
|
|
15872
15998
|
)
|
|
15873
15999
|
}
|
|
15874
16000
|
),
|
|
15875
|
-
/* @__PURE__ */
|
|
16001
|
+
/* @__PURE__ */ jsx86(
|
|
15876
16002
|
KeyshareStatus,
|
|
15877
16003
|
{
|
|
15878
16004
|
content: localInfo?.hasKeyshare ? t("passport:securityMenu.keyshareStatus.localReady") : t("passport:securityMenu.keyshareStatus.localMissing"),
|
|
15879
16005
|
icon: localInfo?.hasKeyshare ? PositiveIcon : NegativeIcon,
|
|
15880
|
-
children: /* @__PURE__ */
|
|
16006
|
+
children: /* @__PURE__ */ jsxs79(
|
|
15881
16007
|
Highlight,
|
|
15882
16008
|
{
|
|
15883
16009
|
type: localInfo?.hasKeyshare ? "success" : "warning",
|
|
15884
16010
|
className: "w-full h-full flex flex-col items-center gap-0",
|
|
15885
16011
|
children: [
|
|
15886
|
-
/* @__PURE__ */
|
|
15887
|
-
/* @__PURE__ */
|
|
16012
|
+
/* @__PURE__ */ jsx86(Laptop, { className: "h-6 w-6" }),
|
|
16013
|
+
/* @__PURE__ */ jsx86("span", { className: "text-[10px] font-medium leading-4", children: "Local Share" })
|
|
15888
16014
|
]
|
|
15889
16015
|
}
|
|
15890
16016
|
)
|
|
15891
16017
|
}
|
|
15892
16018
|
),
|
|
15893
|
-
/* @__PURE__ */
|
|
16019
|
+
/* @__PURE__ */ jsx86(
|
|
15894
16020
|
KeyshareStatus,
|
|
15895
16021
|
{
|
|
15896
16022
|
content: hasServerBackup ? t("passport:securityMenu.keyshareStatus.valutBackupCreated") : t("passport:securityMenu.keyshareStatus.valutBackupMissing"),
|
|
15897
16023
|
icon: hasServerBackup ? PositiveIcon : NegativeIcon,
|
|
15898
|
-
children: /* @__PURE__ */
|
|
16024
|
+
children: /* @__PURE__ */ jsxs79(
|
|
15899
16025
|
Highlight,
|
|
15900
16026
|
{
|
|
15901
16027
|
type: hasServerBackup ? "success" : "warning",
|
|
15902
16028
|
className: "w-full h-full flex flex-col items-center gap-0",
|
|
15903
16029
|
children: [
|
|
15904
|
-
/* @__PURE__ */
|
|
15905
|
-
/* @__PURE__ */
|
|
16030
|
+
/* @__PURE__ */ jsx86(Server2, { className: "h-6 w-6" }),
|
|
16031
|
+
/* @__PURE__ */ jsx86("span", { className: "text-[10px] font-medium leading-4", children: "Vault Backup" })
|
|
15906
16032
|
]
|
|
15907
16033
|
}
|
|
15908
16034
|
)
|
|
15909
16035
|
}
|
|
15910
16036
|
)
|
|
15911
16037
|
] }),
|
|
15912
|
-
|
|
15913
|
-
/* @__PURE__ */ jsx85("div", { className: "w-full", style: { borderTop: "1px solid var(--ui-kit-bd)" } })
|
|
16038
|
+
/* @__PURE__ */ jsx86(LastBackup, { backup, createdRecoveryStats })
|
|
15914
16039
|
] });
|
|
15915
16040
|
}
|
|
15916
16041
|
var init_Keyshare = __esm({
|
|
@@ -15919,10 +16044,13 @@ var init_Keyshare = __esm({
|
|
|
15919
16044
|
init_NegativeIcon();
|
|
15920
16045
|
init_PositiveIcon();
|
|
15921
16046
|
init_vaultClient();
|
|
15922
|
-
init_button();
|
|
15923
16047
|
init_highlight();
|
|
15924
16048
|
init_KeyshareStatus();
|
|
15925
16049
|
init_LastBackup();
|
|
16050
|
+
{
|
|
16051
|
+
}
|
|
16052
|
+
{
|
|
16053
|
+
}
|
|
15926
16054
|
}
|
|
15927
16055
|
});
|
|
15928
16056
|
|
|
@@ -15933,25 +16061,25 @@ var init_Keyshare2 = __esm({
|
|
|
15933
16061
|
}
|
|
15934
16062
|
});
|
|
15935
16063
|
|
|
15936
|
-
// src/internal/components/SecurityMenu/
|
|
15937
|
-
import { AppWindowMac, Loader as
|
|
15938
|
-
import { jsx as
|
|
15939
|
-
function
|
|
15940
|
-
const { appToRemove,
|
|
16064
|
+
// src/internal/components/SecurityMenu/UntrustApplication.tsx
|
|
16065
|
+
import { AppWindowMac as AppWindowMac2, Loader as Loader29 } from "lucide-react";
|
|
16066
|
+
import { jsx as jsx87, jsxs as jsxs80 } from "react/jsx-runtime";
|
|
16067
|
+
function UntrustApplication(props) {
|
|
16068
|
+
const { appToRemove, isPending, setAppToRemove, handleUntrustApp } = props;
|
|
15941
16069
|
const { t } = useT();
|
|
15942
|
-
return /* @__PURE__ */
|
|
15943
|
-
/* @__PURE__ */
|
|
15944
|
-
/* @__PURE__ */
|
|
16070
|
+
return /* @__PURE__ */ jsxs80("div", { className: "flex flex-col gap-[var(--ui-kit-gap)]", children: [
|
|
16071
|
+
/* @__PURE__ */ jsxs80(Highlight, { className: "flex flex-col gap-[var(--ui-kit-gap)]", type: "warning", children: [
|
|
16072
|
+
/* @__PURE__ */ jsxs80("span", { className: "text-sm leading-5 font-bold", children: [
|
|
15945
16073
|
t("passport:common.delete"),
|
|
15946
16074
|
" ",
|
|
15947
|
-
t("passport:securityMenu.
|
|
16075
|
+
t("passport:securityMenu.connectedApps.trustedApp"),
|
|
15948
16076
|
"?"
|
|
15949
16077
|
] }),
|
|
15950
|
-
/* @__PURE__ */
|
|
15951
|
-
appToRemove.appLogo ? /* @__PURE__ */
|
|
15952
|
-
/* @__PURE__ */
|
|
15953
|
-
/* @__PURE__ */
|
|
15954
|
-
/* @__PURE__ */
|
|
16078
|
+
/* @__PURE__ */ jsxs80("div", { className: "w-full flex items-center justify-center gap-[var(--ui-kit-gap)]", children: [
|
|
16079
|
+
appToRemove.appLogo ? /* @__PURE__ */ jsx87("div", { className: "w-12 h-12 rounded-[var(--ui-kit-el-bdrs)] bg-[var(--ui-kit-bg)] flex-shrink-0 p-1", children: /* @__PURE__ */ jsx87("img", { src: appToRemove.appLogo, alt: appToRemove.appName, className: "w-full h-full object-contain" }) }) : /* @__PURE__ */ jsx87("div", { className: "w-12 h-12 rounded-[var(--ui-kit-el-bdrs)] bg-[var(--ui-kit-bg)] flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx87(AppWindowMac2, { className: "w-6 h-6" }) }),
|
|
16080
|
+
/* @__PURE__ */ jsxs80("div", { className: "flex-1 text-left", children: [
|
|
16081
|
+
/* @__PURE__ */ jsx87("div", { className: "font-medium", children: appToRemove.appName || appToRemove.hostname }),
|
|
16082
|
+
/* @__PURE__ */ jsxs80("div", { className: "text-[10px]", children: [
|
|
15955
16083
|
"(",
|
|
15956
16084
|
appToRemove.hostname,
|
|
15957
16085
|
")"
|
|
@@ -15959,98 +16087,34 @@ function RemoveTrustedApp(props) {
|
|
|
15959
16087
|
] })
|
|
15960
16088
|
] })
|
|
15961
16089
|
] }),
|
|
15962
|
-
/* @__PURE__ */
|
|
15963
|
-
/* @__PURE__ */
|
|
15964
|
-
t("passport:securityMenu.
|
|
16090
|
+
/* @__PURE__ */ jsxs80("div", { className: "text-[10px] text-[var(--ui-kit-fg-muted)] text-left space-y-1", children: [
|
|
16091
|
+
/* @__PURE__ */ jsxs80("p", { children: [
|
|
16092
|
+
t("passport:securityMenu.connectedApps.removalNoteTitle"),
|
|
15965
16093
|
":"
|
|
15966
16094
|
] }),
|
|
15967
|
-
/* @__PURE__ */
|
|
15968
|
-
/* @__PURE__ */
|
|
15969
|
-
/* @__PURE__ */
|
|
16095
|
+
/* @__PURE__ */ jsxs80("ul", { className: "list-disc list-inside ml-2 space-y-0.5", children: [
|
|
16096
|
+
/* @__PURE__ */ jsx87("li", { children: t("passport:securityMenu.connectedApps.removalNoteMsg1") }),
|
|
16097
|
+
/* @__PURE__ */ jsx87("li", { children: t("passport:securityMenu.connectedApps.removalNoteMsg2") })
|
|
15970
16098
|
] })
|
|
15971
16099
|
] }),
|
|
15972
|
-
/* @__PURE__ */
|
|
15973
|
-
/* @__PURE__ */
|
|
16100
|
+
/* @__PURE__ */ jsxs80("div", { className: "w-full flex gap-[var(--ui-kit-gap)]", children: [
|
|
16101
|
+
/* @__PURE__ */ jsx87(
|
|
15974
16102
|
Button,
|
|
15975
16103
|
{
|
|
15976
16104
|
variant: "outline",
|
|
15977
16105
|
size: "large",
|
|
15978
16106
|
className: "flex-1",
|
|
15979
16107
|
onClick: () => setAppToRemove(null),
|
|
15980
|
-
disabled:
|
|
16108
|
+
disabled: isPending,
|
|
15981
16109
|
children: t("passport:common.cancel")
|
|
15982
16110
|
}
|
|
15983
16111
|
),
|
|
15984
|
-
/* @__PURE__ */
|
|
15985
|
-
Button,
|
|
15986
|
-
{
|
|
15987
|
-
variant: "default",
|
|
15988
|
-
size: "large",
|
|
15989
|
-
className: "flex-1",
|
|
15990
|
-
onClick: handleRemoveTrustedApp,
|
|
15991
|
-
disabled: isRemoving,
|
|
15992
|
-
children: isRemoving ? /* @__PURE__ */ jsx86(Loader30, { className: "h-4 w-4 animate-spin" }) : t("passport:common.delete")
|
|
15993
|
-
}
|
|
15994
|
-
)
|
|
16112
|
+
/* @__PURE__ */ jsx87(Button, { variant: "default", size: "large", className: "flex-1", onClick: handleUntrustApp, disabled: isPending, children: isPending ? /* @__PURE__ */ jsx87(Loader29, { className: "h-4 w-4 animate-spin" }) : t("passport:common.delete") })
|
|
15995
16113
|
] })
|
|
15996
16114
|
] });
|
|
15997
16115
|
}
|
|
15998
|
-
var
|
|
15999
|
-
"src/internal/components/SecurityMenu/
|
|
16000
|
-
init_i18n();
|
|
16001
|
-
init_button();
|
|
16002
|
-
init_highlight();
|
|
16003
|
-
}
|
|
16004
|
-
});
|
|
16005
|
-
|
|
16006
|
-
// src/internal/components/SecurityMenu/TrustedApps.tsx
|
|
16007
|
-
import dayjs6 from "dayjs";
|
|
16008
|
-
import { AppWindowMac as AppWindowMac2, Info as Info5, Trash2 as Trash24 } from "lucide-react";
|
|
16009
|
-
import { Fragment as Fragment34, jsx as jsx87, jsxs as jsxs80 } from "react/jsx-runtime";
|
|
16010
|
-
function TrustedApps(props) {
|
|
16011
|
-
const { trustedApps, setAppToRemove } = props;
|
|
16012
|
-
const { t } = useT();
|
|
16013
|
-
if (trustedApps.length === 0)
|
|
16014
|
-
return /* @__PURE__ */ jsxs80(Highlight, { type: "info", className: "flex gap-[var(--ui-kit-gap)] ", children: [
|
|
16015
|
-
/* @__PURE__ */ jsx87(Info5, { className: "w-4 h-4" }),
|
|
16016
|
-
/* @__PURE__ */ jsx87("span", { children: t("passport:securityMenu.trustedApps.noTrustedApps") })
|
|
16017
|
-
] });
|
|
16018
|
-
return /* @__PURE__ */ jsxs80(Fragment34, { children: [
|
|
16019
|
-
/* @__PURE__ */ jsx87("span", { className: "font-medium text-xs text-[var(--ui-kit-fg)]", children: `${t("passport:securityMenu.trustedApps.trustedApps")} (${trustedApps.length}):` }),
|
|
16020
|
-
/* @__PURE__ */ jsx87("div", { className: "w-full flex flex-col gap-[var(--ui-kit-gap)]", children: trustedApps.map((app, index) => /* @__PURE__ */ jsxs80(
|
|
16021
|
-
"div",
|
|
16022
|
-
{
|
|
16023
|
-
className: "text-[10px] leading-tight p-2 rounded-[var(--ui-kit-el-bdrs)] flex items-center gap-[var(--ui-kit-gap)] bg-[var(--ui-kit-bg-info)]",
|
|
16024
|
-
children: [
|
|
16025
|
-
app.appLogo ? /* @__PURE__ */ jsx87("div", { className: "w-12 h-12 rounded-[var(--ui-kit-el-bdrs)] bg-[var(--ui-kit-bg)] flex-shrink-0 p-1", children: /* @__PURE__ */ jsx87("img", { src: app.appLogo, alt: app.appName, className: "w-full h-full object-contain" }) }) : /* @__PURE__ */ jsx87("div", { className: "w-12 h-12 rounded-[var(--ui-kit-el-bdrs)] bg-[var(--ui-kit-bg)] flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ jsx87(AppWindowMac2, { className: "w-6 h-6" }) }),
|
|
16026
|
-
/* @__PURE__ */ jsxs80("div", { className: "flex-1 min-w-0", children: [
|
|
16027
|
-
/* @__PURE__ */ jsx87("div", { className: "font-semibold truncate", children: app.appName || new URL(app.origin).hostname }),
|
|
16028
|
-
/* @__PURE__ */ jsx87("div", { className: "text-[var(--ui-kit-fg-muted)] truncate", children: new URL(app.origin).hostname }),
|
|
16029
|
-
/* @__PURE__ */ jsxs80("div", { className: "text-[var(--ui-kit-fg-muted)] truncate", children: [
|
|
16030
|
-
t("passport:common.added"),
|
|
16031
|
-
": ",
|
|
16032
|
-
dayjs6(app.trustedAt).format("MMM D, YYYY HH:mm")
|
|
16033
|
-
] })
|
|
16034
|
-
] }),
|
|
16035
|
-
/* @__PURE__ */ jsx87(
|
|
16036
|
-
Button,
|
|
16037
|
-
{
|
|
16038
|
-
variant: "ghost",
|
|
16039
|
-
size: "icon",
|
|
16040
|
-
title: "Remove from trusted",
|
|
16041
|
-
className: "text-[var(--ui-kit-bg-error)] flex-shrink-0",
|
|
16042
|
-
onClick: () => setAppToRemove({ ...app, hostname: new URL(app.origin).hostname }),
|
|
16043
|
-
children: /* @__PURE__ */ jsx87(Trash24, { className: "h-4 w-4" })
|
|
16044
|
-
}
|
|
16045
|
-
)
|
|
16046
|
-
]
|
|
16047
|
-
},
|
|
16048
|
-
index
|
|
16049
|
-
)) })
|
|
16050
|
-
] });
|
|
16051
|
-
}
|
|
16052
|
-
var init_TrustedApps = __esm({
|
|
16053
|
-
"src/internal/components/SecurityMenu/TrustedApps.tsx"() {
|
|
16116
|
+
var init_UntrustApplication = __esm({
|
|
16117
|
+
"src/internal/components/SecurityMenu/UntrustApplication.tsx"() {
|
|
16054
16118
|
init_i18n();
|
|
16055
16119
|
init_button();
|
|
16056
16120
|
init_highlight();
|
|
@@ -16058,10 +16122,10 @@ var init_TrustedApps = __esm({
|
|
|
16058
16122
|
});
|
|
16059
16123
|
|
|
16060
16124
|
// src/internal/components/SecurityMenu/SecurityMenu.tsx
|
|
16061
|
-
import { useQuery as
|
|
16062
|
-
import { ArrowLeft as ArrowLeft17
|
|
16125
|
+
import { useMutation as useMutation17, useQuery as useQuery19, useQueryClient as useQueryClient22 } from "@tanstack/react-query";
|
|
16126
|
+
import { ArrowLeft as ArrowLeft17 } from "lucide-react";
|
|
16063
16127
|
import { useState as useState23 } from "react";
|
|
16064
|
-
import {
|
|
16128
|
+
import { jsx as jsx88, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
16065
16129
|
function SecurityMenu() {
|
|
16066
16130
|
const qc = useQueryClient22();
|
|
16067
16131
|
const { t } = useT();
|
|
@@ -16069,13 +16133,8 @@ function SecurityMenu() {
|
|
|
16069
16133
|
const setPage = useLayoutDataStore((st) => st.setPage);
|
|
16070
16134
|
const userId = jwtTokenManager2.getUserId();
|
|
16071
16135
|
const serverHasKeyshare = jwtTokenManager2.getHasKeyshare() ?? false;
|
|
16072
|
-
const [
|
|
16073
|
-
const
|
|
16074
|
-
const {
|
|
16075
|
-
data: recoveryData,
|
|
16076
|
-
isFetching: isRecoveryLoading,
|
|
16077
|
-
isLoading: isRecoveryLoadingInitial
|
|
16078
|
-
} = useQuery18({
|
|
16136
|
+
const [appToUntrust, untrustApp] = useState23(null);
|
|
16137
|
+
const { data: recoveryData, isLoading: isRecoveryLoading } = useQuery19({
|
|
16079
16138
|
enabled: !!userId,
|
|
16080
16139
|
queryKey: [KEYSHARE_RECOVERY_STATS_QUERY, userId],
|
|
16081
16140
|
queryFn: async () => {
|
|
@@ -16083,37 +16142,38 @@ function SecurityMenu() {
|
|
|
16083
16142
|
if (!iframeManager) {
|
|
16084
16143
|
throw new Error("Iframe manager not available");
|
|
16085
16144
|
}
|
|
16086
|
-
const trustedApps2 = await iframeManager.getTrustedApps(userId);
|
|
16087
16145
|
const keyshareInfo = await getKeyshareInfo(userId);
|
|
16088
16146
|
const shareRecoveryStats = await getShareRecoveryStats();
|
|
16089
|
-
return {
|
|
16147
|
+
return {
|
|
16148
|
+
keyshareInfo,
|
|
16149
|
+
shareRecoveryStats
|
|
16150
|
+
};
|
|
16090
16151
|
}
|
|
16091
16152
|
});
|
|
16092
16153
|
const localInfo = recoveryData?.keyshareInfo || {};
|
|
16093
|
-
const trustedApps = recoveryData?.trustedApps || [];
|
|
16094
16154
|
const hasServerBackup = !!recoveryData?.shareRecoveryStats?.created || recoveryData?.shareRecoveryStats?.devices?.length > 0;
|
|
16095
|
-
const
|
|
16096
|
-
|
|
16097
|
-
|
|
16098
|
-
setIsRemoving(true);
|
|
16099
|
-
try {
|
|
16155
|
+
const { mutate: handleUntrustApp, isPending: isUntrustingApp } = useMutation17({
|
|
16156
|
+
mutationFn: async () => {
|
|
16157
|
+
if (!userId || !appToUntrust) return;
|
|
16100
16158
|
const iframeManager = getIframeManager();
|
|
16101
16159
|
if (!iframeManager) {
|
|
16102
16160
|
throw new Error("Iframe manager not available");
|
|
16103
16161
|
}
|
|
16104
|
-
|
|
16105
|
-
|
|
16106
|
-
|
|
16107
|
-
|
|
16108
|
-
|
|
16109
|
-
|
|
16162
|
+
return await iframeManager.removeTrustedApp(userId, appToUntrust.projectId, appToUntrust.origin);
|
|
16163
|
+
},
|
|
16164
|
+
onSuccess: (success) => {
|
|
16165
|
+
if (!success) {
|
|
16166
|
+
console.error("[SecurityMenu] Failed to remove trusted app from iframe");
|
|
16167
|
+
return;
|
|
16110
16168
|
}
|
|
16111
|
-
|
|
16112
|
-
|
|
16113
|
-
}
|
|
16114
|
-
|
|
16169
|
+
qc.invalidateQueries({ queryKey: [CONNECTED_TRUSTED_APPS_QUERY, userId] });
|
|
16170
|
+
untrustApp(null);
|
|
16171
|
+
},
|
|
16172
|
+
onError: (error) => {
|
|
16173
|
+
const errorMessage = error instanceof Error ? error.message : "Unknown error";
|
|
16174
|
+
console.error("[SecurityMenu] Error removing trusted app:", errorMessage);
|
|
16115
16175
|
}
|
|
16116
|
-
};
|
|
16176
|
+
});
|
|
16117
16177
|
return /* @__PURE__ */ jsx88(
|
|
16118
16178
|
"div",
|
|
16119
16179
|
{
|
|
@@ -16131,7 +16191,7 @@ function SecurityMenu() {
|
|
|
16131
16191
|
size: "icon",
|
|
16132
16192
|
title: t("passport:common.back"),
|
|
16133
16193
|
onClick: () => {
|
|
16134
|
-
if (!!
|
|
16194
|
+
if (!!appToUntrust) untrustApp(null);
|
|
16135
16195
|
else setPage("settings" /* SETTINGS */);
|
|
16136
16196
|
},
|
|
16137
16197
|
children: /* @__PURE__ */ jsx88(ArrowLeft17, { className: "h-4 w-4" })
|
|
@@ -16139,31 +16199,27 @@ function SecurityMenu() {
|
|
|
16139
16199
|
),
|
|
16140
16200
|
/* @__PURE__ */ jsx88("span", { className: "text-xl font-semibold", children: t("passport:securityMenu.title") })
|
|
16141
16201
|
] }),
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
/* @__PURE__ */ jsx88(
|
|
16145
|
-
Keyshare,
|
|
16146
|
-
{
|
|
16147
|
-
userId,
|
|
16148
|
-
serverHasKeyshare,
|
|
16149
|
-
localInfo,
|
|
16150
|
-
hasServerBackup,
|
|
16151
|
-
isLoading: isRecoveryLoading,
|
|
16152
|
-
createdRecoveryStats: recoveryData?.shareRecoveryStats?.created,
|
|
16153
|
-
refresh: () => qc.invalidateQueries({ queryKey: [KEYSHARE_RECOVERY_STATS_QUERY, userId] })
|
|
16154
|
-
}
|
|
16155
|
-
),
|
|
16156
|
-
/* @__PURE__ */ jsx88(TrustedApps, { trustedApps, setAppToRemove })
|
|
16157
|
-
] }),
|
|
16158
|
-
!isRecoveryLoadingInitial && !!appToRemove && /* @__PURE__ */ jsx88(
|
|
16159
|
-
RemoveTrustedApp,
|
|
16202
|
+
appToUntrust && /* @__PURE__ */ jsx88(
|
|
16203
|
+
UntrustApplication,
|
|
16160
16204
|
{
|
|
16161
|
-
appToRemove,
|
|
16162
|
-
setAppToRemove,
|
|
16163
|
-
|
|
16164
|
-
|
|
16205
|
+
appToRemove: appToUntrust,
|
|
16206
|
+
setAppToRemove: untrustApp,
|
|
16207
|
+
handleUntrustApp: async () => await handleUntrustApp(),
|
|
16208
|
+
isPending: isRecoveryLoading || isUntrustingApp
|
|
16165
16209
|
}
|
|
16166
|
-
)
|
|
16210
|
+
),
|
|
16211
|
+
!appToUntrust && /* @__PURE__ */ jsx88(
|
|
16212
|
+
Keyshare,
|
|
16213
|
+
{
|
|
16214
|
+
userId,
|
|
16215
|
+
serverHasKeyshare,
|
|
16216
|
+
localInfo,
|
|
16217
|
+
hasServerBackup,
|
|
16218
|
+
isLoading: isRecoveryLoading,
|
|
16219
|
+
createdRecoveryStats: recoveryData?.shareRecoveryStats?.created
|
|
16220
|
+
}
|
|
16221
|
+
),
|
|
16222
|
+
!appToUntrust && /* @__PURE__ */ jsx88(ConnectedApps, { isLoading: isRecoveryLoading, untrustApp })
|
|
16167
16223
|
] })
|
|
16168
16224
|
}
|
|
16169
16225
|
);
|
|
@@ -16179,10 +16235,10 @@ var init_SecurityMenu = __esm({
|
|
|
16179
16235
|
init_vaultClient();
|
|
16180
16236
|
init_Expandable2();
|
|
16181
16237
|
init_button();
|
|
16238
|
+
init_ConnectedApps();
|
|
16182
16239
|
init_constants6();
|
|
16183
16240
|
init_Keyshare2();
|
|
16184
|
-
|
|
16185
|
-
init_TrustedApps();
|
|
16241
|
+
init_UntrustApplication();
|
|
16186
16242
|
}
|
|
16187
16243
|
});
|
|
16188
16244
|
|
|
@@ -16338,7 +16394,7 @@ var init_nickname_fingerprint = __esm({
|
|
|
16338
16394
|
});
|
|
16339
16395
|
|
|
16340
16396
|
// src/hooks/useNicknameResolve.ts
|
|
16341
|
-
import { useQuery as
|
|
16397
|
+
import { useQuery as useQuery20 } from "@tanstack/react-query";
|
|
16342
16398
|
import { useState as useState24, useEffect as useEffect34, useMemo as useMemo6 } from "react";
|
|
16343
16399
|
function looksLikeNickname(input) {
|
|
16344
16400
|
if (!input) return false;
|
|
@@ -16368,7 +16424,7 @@ function useNicknameResolve(input, options) {
|
|
|
16368
16424
|
clearTimeout(timer);
|
|
16369
16425
|
};
|
|
16370
16426
|
}, [normalized, isNicknameInput, enabled]);
|
|
16371
|
-
const query =
|
|
16427
|
+
const query = useQuery20({
|
|
16372
16428
|
queryKey: [...QUERY_KEYS.nicknameResolve(debouncedInput), chainId],
|
|
16373
16429
|
queryFn: () => resolveNickname(debouncedInput, chainId),
|
|
16374
16430
|
enabled: enabled && isNicknameInput && debouncedInput.length > 0,
|
|
@@ -16747,7 +16803,7 @@ var init_useSendStore = __esm({
|
|
|
16747
16803
|
|
|
16748
16804
|
// src/internal/components/SendRecieveMenu/components/AssetList.tsx
|
|
16749
16805
|
import { formatUnits as formatUnits7 } from "viem";
|
|
16750
|
-
import { Fragment as
|
|
16806
|
+
import { Fragment as Fragment35, jsx as jsx91, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
16751
16807
|
function getAssetBalance2(asset) {
|
|
16752
16808
|
if (isNftAsset2(asset)) return "1";
|
|
16753
16809
|
const balance = Number(formatUnits7(BigInt(asset?.balance || "0"), asset?.decimals || 18));
|
|
@@ -16779,13 +16835,13 @@ function AssetListItem(props) {
|
|
|
16779
16835
|
/* @__PURE__ */ jsx91(AssetInputIcon, { asset, size: "large" }),
|
|
16780
16836
|
/* @__PURE__ */ jsxs84("div", { className: "flex-1 flex flex-col items-start", children: [
|
|
16781
16837
|
/* @__PURE__ */ jsx91("div", { className: "text-[10px] truncate leading-4", children: isNft ? asset.nftMetadata?.name || asset.name : asset.name }),
|
|
16782
|
-
/* @__PURE__ */ jsx91("span", { className: "block text-lg font-bold", children: isNft ? /* @__PURE__ */ jsxs84(
|
|
16838
|
+
/* @__PURE__ */ jsx91("span", { className: "block text-lg font-bold", children: isNft ? /* @__PURE__ */ jsxs84(Fragment35, { children: [
|
|
16783
16839
|
asset.symbol,
|
|
16784
16840
|
asset.tokenId && /* @__PURE__ */ jsxs84("span", { className: "ml-1", children: [
|
|
16785
16841
|
"#",
|
|
16786
16842
|
asset.tokenId.length > 6 ? `${asset.tokenId.slice(0, 4)}...` : asset.tokenId
|
|
16787
16843
|
] })
|
|
16788
|
-
] }) : /* @__PURE__ */ jsxs84(
|
|
16844
|
+
] }) : /* @__PURE__ */ jsxs84(Fragment35, { children: [
|
|
16789
16845
|
BALANCE_PREFIXES[asset.symbol] || null,
|
|
16790
16846
|
/* @__PURE__ */ jsx91("span", { children: getAssetBalance2(asset) }),
|
|
16791
16847
|
" ",
|
|
@@ -16810,20 +16866,20 @@ function AssetList(props) {
|
|
|
16810
16866
|
const tokenAssets = transferableAssets.filter((a) => a.type === "erc20");
|
|
16811
16867
|
const securityAssets = transferableAssets.filter((a) => a.type === "erc3643");
|
|
16812
16868
|
const nftAssets = transferableAssets.filter((a) => a.type === "erc721" || a.type === "erc1155");
|
|
16813
|
-
return /* @__PURE__ */ jsxs84(
|
|
16814
|
-
nativeAssets.length > 0 && /* @__PURE__ */ jsxs84(
|
|
16869
|
+
return /* @__PURE__ */ jsxs84(Fragment35, { children: [
|
|
16870
|
+
nativeAssets.length > 0 && /* @__PURE__ */ jsxs84(Fragment35, { children: [
|
|
16815
16871
|
/* @__PURE__ */ jsx91("div", { className: "text-[10px] text-[var(--ui-kit-fg-muted)] uppercase", children: "Crypto" }),
|
|
16816
16872
|
nativeAssets.map((asset) => /* @__PURE__ */ jsx91(AssetListItem, { asset }, `native-${asset.symbol}`))
|
|
16817
16873
|
] }),
|
|
16818
|
-
tokenAssets.length > 0 && /* @__PURE__ */ jsxs84(
|
|
16874
|
+
tokenAssets.length > 0 && /* @__PURE__ */ jsxs84(Fragment35, { children: [
|
|
16819
16875
|
/* @__PURE__ */ jsx91("div", { className: "text-[10px] text-[var(--ui-kit-fg-muted)] uppercase", children: "Tokens" }),
|
|
16820
16876
|
tokenAssets.map((asset) => /* @__PURE__ */ jsx91(AssetListItem, { asset }, `token-${asset.address}`))
|
|
16821
16877
|
] }),
|
|
16822
|
-
securityAssets.length > 0 && /* @__PURE__ */ jsxs84(
|
|
16878
|
+
securityAssets.length > 0 && /* @__PURE__ */ jsxs84(Fragment35, { children: [
|
|
16823
16879
|
/* @__PURE__ */ jsx91("div", { className: "text-[10px] text-[var(--ui-kit-fg-muted)] uppercase", children: "Security Tokens" }),
|
|
16824
16880
|
securityAssets.map((asset) => /* @__PURE__ */ jsx91(AssetListItem, { asset }, `security-${asset.address}`))
|
|
16825
16881
|
] }),
|
|
16826
|
-
nftAssets.length > 0 && /* @__PURE__ */ jsxs84(
|
|
16882
|
+
nftAssets.length > 0 && /* @__PURE__ */ jsxs84(Fragment35, { children: [
|
|
16827
16883
|
/* @__PURE__ */ jsx91("div", { className: "text-[10px] text-[var(--ui-kit-fg-muted)] uppercase", children: "NFTs" }),
|
|
16828
16884
|
nftAssets.map((asset) => /* @__PURE__ */ jsx91(AssetListItem, { asset }, `nft-${asset.address}-${asset.tokenId}`))
|
|
16829
16885
|
] }),
|
|
@@ -16929,9 +16985,9 @@ var init_components3 = __esm({
|
|
|
16929
16985
|
});
|
|
16930
16986
|
|
|
16931
16987
|
// src/internal/components/SendRecieveMenu/sendSteps/InputSendStep.tsx
|
|
16932
|
-
import { AlertCircle as AlertCircle6, AtSign as AtSign3, CheckCircle2 as CheckCircle24, Loader as
|
|
16988
|
+
import { AlertCircle as AlertCircle6, AtSign as AtSign3, CheckCircle2 as CheckCircle24, Loader as Loader30, Wallet2 as Wallet24 } from "lucide-react";
|
|
16933
16989
|
import { formatUnits as formatUnits8, isAddress as isAddress2 } from "viem";
|
|
16934
|
-
import { Fragment as
|
|
16990
|
+
import { Fragment as Fragment36, jsx as jsx93, jsxs as jsxs86 } from "react/jsx-runtime";
|
|
16935
16991
|
function InputSendStep(props) {
|
|
16936
16992
|
const { erc3643Compliance, isNicknameInput, resolvedNicknameData, isTransactionPending, isAssetsLoading } = props;
|
|
16937
16993
|
const address = useSession((st) => st.address);
|
|
@@ -17030,14 +17086,14 @@ function InputSendStep(props) {
|
|
|
17030
17086
|
setSendError(null);
|
|
17031
17087
|
return true;
|
|
17032
17088
|
};
|
|
17033
|
-
return /* @__PURE__ */ jsxs86(
|
|
17089
|
+
return /* @__PURE__ */ jsxs86(Fragment36, { children: [
|
|
17034
17090
|
/* @__PURE__ */ jsx93("span", { className: "block text-[10px] text-[var(--ui-kit-fg-muted)]", children: t("passport:sendMenu.selectAsset") }),
|
|
17035
17091
|
/* @__PURE__ */ jsxs86(Button, { variant: "outline", size: "large", onClick: () => setTxStep("select-asset"), className: "justify-between", children: [
|
|
17036
17092
|
selectedAsset ? /* @__PURE__ */ jsxs86("span", { className: "flex items-center gap-[var(--ui-kit-gap)]", children: [
|
|
17037
17093
|
/* @__PURE__ */ jsx93(AssetInputIcon, { asset: selectedAsset }),
|
|
17038
17094
|
/* @__PURE__ */ jsx93("span", { children: (isNft ? selectedAsset.nftMetadata?.name || selectedAsset.symbol : selectedAsset.name).toUpperCase() })
|
|
17039
17095
|
] }) : /* @__PURE__ */ jsx93("span", { className: "text-[var(--ui-kit-fg-muted)]", children: "No Asset Selected" }),
|
|
17040
|
-
isAssetsLoading && /* @__PURE__ */ jsx93(
|
|
17096
|
+
isAssetsLoading && /* @__PURE__ */ jsx93(Loader30, { className: "w-4 h-4 animate-spin" })
|
|
17041
17097
|
] }),
|
|
17042
17098
|
/* @__PURE__ */ jsx93("span", { className: "block text-[10px] text-[var(--ui-kit-fg-muted)]", children: t("passport:sendMenu.recipient") }),
|
|
17043
17099
|
/* @__PURE__ */ jsx93(
|
|
@@ -17048,7 +17104,7 @@ function InputSendStep(props) {
|
|
|
17048
17104
|
value: recipient,
|
|
17049
17105
|
onChange: (e) => setRecipient(e.target.value),
|
|
17050
17106
|
placeholder: "0x... or @nickname",
|
|
17051
|
-
element: isNicknameInput && isResolving ? /* @__PURE__ */ jsx93(
|
|
17107
|
+
element: isNicknameInput && isResolving ? /* @__PURE__ */ jsx93(Loader30, { className: "w-4 h-4 animate-spin text-[var(--ui-kit-fg-muted)]" }) : null
|
|
17052
17108
|
}
|
|
17053
17109
|
),
|
|
17054
17110
|
/* @__PURE__ */ jsx93(NicknameData, { resolvedNicknameData, isNicknameInput }),
|
|
@@ -17082,13 +17138,13 @@ function InputSendStep(props) {
|
|
|
17082
17138
|
{
|
|
17083
17139
|
type: isComplianceLoading ? "info" : erc3643CanTransfer ? "success" : "error",
|
|
17084
17140
|
className: "flex gap-[var(--ui-kit-gap)]",
|
|
17085
|
-
children: isComplianceLoading ? /* @__PURE__ */ jsxs86(
|
|
17086
|
-
/* @__PURE__ */ jsx93(
|
|
17141
|
+
children: isComplianceLoading ? /* @__PURE__ */ jsxs86(Fragment36, { children: [
|
|
17142
|
+
/* @__PURE__ */ jsx93(Loader30, { className: "h-4 w-4 animate-spin" }),
|
|
17087
17143
|
/* @__PURE__ */ jsx93("span", { children: "Checking compliance..." })
|
|
17088
|
-
] }) : erc3643CanTransfer ? /* @__PURE__ */ jsxs86(
|
|
17144
|
+
] }) : erc3643CanTransfer ? /* @__PURE__ */ jsxs86(Fragment36, { children: [
|
|
17089
17145
|
/* @__PURE__ */ jsx93(CheckCircle24, { className: "h-4 w-4" }),
|
|
17090
17146
|
/* @__PURE__ */ jsx93("span", { children: "Transfer compliant" })
|
|
17091
|
-
] }) : /* @__PURE__ */ jsxs86(
|
|
17147
|
+
] }) : /* @__PURE__ */ jsxs86(Fragment36, { children: [
|
|
17092
17148
|
/* @__PURE__ */ jsx93(AlertCircle6, { className: "h-4 w-4" }),
|
|
17093
17149
|
/* @__PURE__ */ jsx93("span", { children: complianceError || "Transfer not allowed" })
|
|
17094
17150
|
] })
|
|
@@ -17124,8 +17180,8 @@ var init_InputSendStep = __esm({
|
|
|
17124
17180
|
});
|
|
17125
17181
|
|
|
17126
17182
|
// src/internal/components/SendRecieveMenu/sendSteps/ConfirmSendStep.tsx
|
|
17127
|
-
import { AlertTriangle as AlertTriangle7, AtSign as AtSign4, Loader as
|
|
17128
|
-
import { Fragment as
|
|
17183
|
+
import { AlertTriangle as AlertTriangle7, AtSign as AtSign4, Loader as Loader31, Shield, ShieldAlert as ShieldAlert3, ShieldCheck as ShieldCheck3 } from "lucide-react";
|
|
17184
|
+
import { Fragment as Fragment37, jsx as jsx94, jsxs as jsxs87 } from "react/jsx-runtime";
|
|
17129
17185
|
function ConfirmSendStep(props) {
|
|
17130
17186
|
const {
|
|
17131
17187
|
sendTransaction,
|
|
@@ -17162,7 +17218,7 @@ function ConfirmSendStep(props) {
|
|
|
17162
17218
|
setTxStep("input");
|
|
17163
17219
|
}
|
|
17164
17220
|
};
|
|
17165
|
-
return /* @__PURE__ */ jsxs87(
|
|
17221
|
+
return /* @__PURE__ */ jsxs87(Fragment37, { children: [
|
|
17166
17222
|
isNicknameInput && isFrozen && /* @__PURE__ */ jsxs87(Highlight, { type: "warning", className: "flex gap-[var(--ui-kit-gap)]", children: [
|
|
17167
17223
|
/* @__PURE__ */ jsx94(AlertTriangle7, { className: "h-4 w-4" }),
|
|
17168
17224
|
/* @__PURE__ */ jsx94("span", { children: "This handle is frozen. Proceed with caution." })
|
|
@@ -17182,7 +17238,7 @@ function ConfirmSendStep(props) {
|
|
|
17182
17238
|
selectedAsset.symbol
|
|
17183
17239
|
] })
|
|
17184
17240
|
] }),
|
|
17185
|
-
/* @__PURE__ */ jsx94(Highlight, { type: "info", className: "flex flex-col gap-[var(--ui-kit-gap)]", children: isNicknameInput && nicknameData ? /* @__PURE__ */ jsxs87(
|
|
17241
|
+
/* @__PURE__ */ jsx94(Highlight, { type: "info", className: "flex flex-col gap-[var(--ui-kit-gap)]", children: isNicknameInput && nicknameData ? /* @__PURE__ */ jsxs87(Fragment37, { children: [
|
|
17186
17242
|
/* @__PURE__ */ jsxs87("div", { className: "flex items-start gap-[var(--ui-kit-gap)]", children: [
|
|
17187
17243
|
nicknameData.avatarSvg ? /* @__PURE__ */ jsx94(
|
|
17188
17244
|
"img",
|
|
@@ -17240,7 +17296,7 @@ function ConfirmSendStep(props) {
|
|
|
17240
17296
|
/* @__PURE__ */ jsx94("span", { className: "text-sm font-bold", children: chainConfig.name })
|
|
17241
17297
|
] })
|
|
17242
17298
|
] })
|
|
17243
|
-
] }) : /* @__PURE__ */ jsxs87(
|
|
17299
|
+
] }) : /* @__PURE__ */ jsxs87(Fragment37, { children: [
|
|
17244
17300
|
/* @__PURE__ */ jsx94("h3", { className: "font-medium mb-3 text-[var(--ui-kit-fg)]", children: "Transaction Details" }),
|
|
17245
17301
|
/* @__PURE__ */ jsxs87("div", { className: "space-y-2 text-sm text-[var(--ui-kit-fg)]", children: [
|
|
17246
17302
|
/* @__PURE__ */ jsxs87("div", { className: "flex justify-between", children: [
|
|
@@ -17249,7 +17305,7 @@ function ConfirmSendStep(props) {
|
|
|
17249
17305
|
] }),
|
|
17250
17306
|
isNft ? (
|
|
17251
17307
|
// NFT details
|
|
17252
|
-
/* @__PURE__ */ jsx94(
|
|
17308
|
+
/* @__PURE__ */ jsx94(Fragment37, { children: /* @__PURE__ */ jsxs87("div", { className: "flex justify-between items-start", children: [
|
|
17253
17309
|
/* @__PURE__ */ jsx94("span", { className: "text-[var(--ui-kit-fg-muted)]", children: "NFT:" }),
|
|
17254
17310
|
/* @__PURE__ */ jsxs87("div", { className: "text-right", children: [
|
|
17255
17311
|
/* @__PURE__ */ jsx94("span", { className: "font-semibold block", children: selectedAsset.nftMetadata?.name || selectedAsset.name }),
|
|
@@ -17277,7 +17333,7 @@ function ConfirmSendStep(props) {
|
|
|
17277
17333
|
] })
|
|
17278
17334
|
] }) }),
|
|
17279
17335
|
/* @__PURE__ */ jsx94("div", { className: "w-full", children: /* @__PURE__ */ jsxs87(Button, { onClick: handleConfirm, disabled: isTransactionPending, className: "w-full", size: "large", children: [
|
|
17280
|
-
isTransactionPending && /* @__PURE__ */ jsx94(
|
|
17336
|
+
isTransactionPending && /* @__PURE__ */ jsx94(Loader31, { className: "h-4 w-4 animate-spin" }),
|
|
17281
17337
|
"CONFIRM"
|
|
17282
17338
|
] }) })
|
|
17283
17339
|
] });
|
|
@@ -17303,10 +17359,10 @@ var init_sendSteps = __esm({
|
|
|
17303
17359
|
});
|
|
17304
17360
|
|
|
17305
17361
|
// src/internal/components/SendRecieveMenu/SendLumiaMenu.tsx
|
|
17306
|
-
import { AlertCircle as AlertCircle7, ArrowLeft as ArrowLeft18, CheckCircle2 as CheckCircle25, Loader as
|
|
17362
|
+
import { AlertCircle as AlertCircle7, ArrowLeft as ArrowLeft18, CheckCircle2 as CheckCircle25, Loader as Loader32 } from "lucide-react";
|
|
17307
17363
|
import { useEffect as useEffect35, useMemo as useMemo7 } from "react";
|
|
17308
17364
|
import { parseUnits as parseUnits2 } from "viem";
|
|
17309
|
-
import { Fragment as
|
|
17365
|
+
import { Fragment as Fragment38, jsx as jsx95, jsxs as jsxs88 } from "react/jsx-runtime";
|
|
17310
17366
|
function SendLumiaMenu() {
|
|
17311
17367
|
const address = useSession((st) => st.address);
|
|
17312
17368
|
const activeChainId = useSession((st) => st.activeChainId);
|
|
@@ -17438,13 +17494,13 @@ function SendLumiaMenu() {
|
|
|
17438
17494
|
}
|
|
17439
17495
|
),
|
|
17440
17496
|
txStep === "pending" && /* @__PURE__ */ jsxs88(Highlight, { type: "info", className: "flex gap-[var(--ui-kit-gap)]", children: [
|
|
17441
|
-
/* @__PURE__ */ jsx95(
|
|
17497
|
+
/* @__PURE__ */ jsx95(Loader32, { className: "h-4 w-4 animate-spin" }),
|
|
17442
17498
|
/* @__PURE__ */ jsxs88("span", { className: "flex-1", children: [
|
|
17443
17499
|
/* @__PURE__ */ jsx95("span", { className: "block leading-4 font-semibold", children: t("passport:sendMenu.pendingStep") }),
|
|
17444
17500
|
/* @__PURE__ */ jsx95("span", { children: t("passport:sendMenu.pendingStepMsg") })
|
|
17445
17501
|
] })
|
|
17446
17502
|
] }),
|
|
17447
|
-
txStep === "success" && userOpHash && /* @__PURE__ */ jsxs88(
|
|
17503
|
+
txStep === "success" && userOpHash && /* @__PURE__ */ jsxs88(Fragment38, { children: [
|
|
17448
17504
|
/* @__PURE__ */ jsxs88(Highlight, { type: "success", className: "flex gap-[var(--ui-kit-gap)]", children: [
|
|
17449
17505
|
/* @__PURE__ */ jsx95(CheckCircle25, { className: "h-4 w-4" }),
|
|
17450
17506
|
/* @__PURE__ */ jsxs88("span", { className: "flex-1", children: [
|
|
@@ -17483,10 +17539,10 @@ var init_SendLumiaMenu = __esm({
|
|
|
17483
17539
|
});
|
|
17484
17540
|
|
|
17485
17541
|
// src/internal/components/SendRecieveMenu/ReceiveLumiaMenu.tsx
|
|
17486
|
-
import { ArrowLeft as ArrowLeft19, CheckCircle2 as CheckCircle26, Copy as Copy3, Info as Info6, Loader as
|
|
17542
|
+
import { ArrowLeft as ArrowLeft19, CheckCircle2 as CheckCircle26, Copy as Copy3, Info as Info6, Loader as Loader33, Shield as Shield2 } from "lucide-react";
|
|
17487
17543
|
import QRCode from "qrcode";
|
|
17488
17544
|
import { useCallback as useCallback22, useEffect as useEffect36, useMemo as useMemo8, useState as useState27 } from "react";
|
|
17489
|
-
import { Fragment as
|
|
17545
|
+
import { Fragment as Fragment39, jsx as jsx96, jsxs as jsxs89 } from "react/jsx-runtime";
|
|
17490
17546
|
function ReceiveLumiaMenu() {
|
|
17491
17547
|
const session = useSession((st) => st.session);
|
|
17492
17548
|
const address = session?.smartAccountAddress ?? null;
|
|
@@ -17557,7 +17613,7 @@ function ReceiveLumiaMenu() {
|
|
|
17557
17613
|
/* @__PURE__ */ jsx96("strong", { className: "block w-full", children: `${t("passport:common.network")}: ${chainConfig.name}` }),
|
|
17558
17614
|
/* @__PURE__ */ jsx96("span", { className: "block w-full", children: t("passport:receiveMenu.warning") })
|
|
17559
17615
|
] }),
|
|
17560
|
-
/* @__PURE__ */ jsx96("div", { className: "flex items-center justify-center p-[var(--ui-kit-pd)]", style: { minHeight: "216px" }, children: qrCodeUrl ? /* @__PURE__ */ jsx96("img", { src: qrCodeUrl, alt: "Wallet QR Code", className: "w-48 h-48" }) : /* @__PURE__ */ jsx96(
|
|
17616
|
+
/* @__PURE__ */ jsx96("div", { className: "flex items-center justify-center p-[var(--ui-kit-pd)]", style: { minHeight: "216px" }, children: qrCodeUrl ? /* @__PURE__ */ jsx96("img", { src: qrCodeUrl, alt: "Wallet QR Code", className: "w-48 h-48" }) : /* @__PURE__ */ jsx96(Loader33, { className: "w-4 h-4 animate-spin" }) }),
|
|
17561
17617
|
fingerprint && /* @__PURE__ */ jsxs89("div", { className: "flex items-center justify-center gap-2 p-3 rounded-[var(--ui-kit-el-bdrs)] bg-[var(--ui-kit-bg-secondary)]", children: [
|
|
17562
17618
|
/* @__PURE__ */ jsx96(Shield2, { className: "w-4 h-4 text-[var(--ui-kit-bg-success)]" }),
|
|
17563
17619
|
/* @__PURE__ */ jsx96("span", { className: "text-sm text-[var(--ui-kit-fg-muted)]", children: t("passport:common.fingerprint") }),
|
|
@@ -17578,10 +17634,10 @@ function ReceiveLumiaMenu() {
|
|
|
17578
17634
|
] }),
|
|
17579
17635
|
/* @__PURE__ */ jsxs89(Highlight, { type: "info", children: [
|
|
17580
17636
|
/* @__PURE__ */ jsx96("span", { className: "block w-full text-center font-mono text-[10px] break-all mb-2", children: address }),
|
|
17581
|
-
/* @__PURE__ */ jsx96(Button, { onClick: handleCopy, className: "w-full", size: "large", children: copied ? /* @__PURE__ */ jsxs89(
|
|
17637
|
+
/* @__PURE__ */ jsx96(Button, { onClick: handleCopy, className: "w-full", size: "large", children: copied ? /* @__PURE__ */ jsxs89(Fragment39, { children: [
|
|
17582
17638
|
/* @__PURE__ */ jsx96(CheckCircle26, { className: "h-4 w-4" }),
|
|
17583
17639
|
/* @__PURE__ */ jsx96("span", { children: "Copied!" })
|
|
17584
|
-
] }) : /* @__PURE__ */ jsxs89(
|
|
17640
|
+
] }) : /* @__PURE__ */ jsxs89(Fragment39, { children: [
|
|
17585
17641
|
/* @__PURE__ */ jsx96(Copy3, { className: "h-4 w-4" }),
|
|
17586
17642
|
/* @__PURE__ */ jsx96("span", { children: t("passport:receiveMenu.copyAddress") })
|
|
17587
17643
|
] }) })
|
|
@@ -17688,7 +17744,7 @@ var init_constants7 = __esm({
|
|
|
17688
17744
|
});
|
|
17689
17745
|
|
|
17690
17746
|
// src/internal/components/SettingsMenu/SettingsMenu.tsx
|
|
17691
|
-
import { useQuery as
|
|
17747
|
+
import { useQuery as useQuery21 } from "@tanstack/react-query";
|
|
17692
17748
|
import { ArrowLeft as ArrowLeft20, HardDrive as HardDrive3 } from "lucide-react";
|
|
17693
17749
|
import { useEffect as useEffect37 } from "react";
|
|
17694
17750
|
import { jsx as jsx98, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
@@ -17731,7 +17787,7 @@ function SettingsMenu() {
|
|
|
17731
17787
|
const setPage = useLayoutDataStore((st) => st.setPage);
|
|
17732
17788
|
const settingsButtons = useSettingsButtons();
|
|
17733
17789
|
useProvidersList();
|
|
17734
|
-
|
|
17790
|
+
useQuery21({
|
|
17735
17791
|
retry: 1,
|
|
17736
17792
|
enabled: !!address,
|
|
17737
17793
|
queryKey: [QUERY_KEYS.nicknameInfo, address],
|
|
@@ -18570,7 +18626,7 @@ var init_utils9 = __esm({
|
|
|
18570
18626
|
|
|
18571
18627
|
// src/internal/components/TransactionsMenu/TransactionsGroup.tsx
|
|
18572
18628
|
import { ChevronDown, ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight6, ChevronUp, Copy as Copy4 } from "lucide-react";
|
|
18573
|
-
import { Fragment as
|
|
18629
|
+
import { Fragment as Fragment40, jsx as jsx101, jsxs as jsxs93 } from "react/jsx-runtime";
|
|
18574
18630
|
function InternalTransaction({ internal, assetSymbol, assetDecimals }) {
|
|
18575
18631
|
const internalSymbol = internal.assetSymbol || assetSymbol;
|
|
18576
18632
|
const internalDecimals = internal.decimals ?? assetDecimals;
|
|
@@ -18659,7 +18715,7 @@ function TransactionsGroup(props) {
|
|
|
18659
18715
|
)
|
|
18660
18716
|
] })
|
|
18661
18717
|
] }),
|
|
18662
|
-
internalsToRender.length > 0 && /* @__PURE__ */ jsxs93(
|
|
18718
|
+
internalsToRender.length > 0 && /* @__PURE__ */ jsxs93(Fragment40, { children: [
|
|
18663
18719
|
/* @__PURE__ */ jsx101("div", { className: "w-full flex items-center h-4", children: /* @__PURE__ */ jsx101("div", { style: { borderTop: "1px solid var(--ui-kit-bd)" }, className: "flex-1" }) }),
|
|
18664
18720
|
/* @__PURE__ */ jsxs93(
|
|
18665
18721
|
"div",
|
|
@@ -18715,8 +18771,8 @@ var init_TransactionsGroup = __esm({
|
|
|
18715
18771
|
});
|
|
18716
18772
|
|
|
18717
18773
|
// src/internal/components/TransactionsMenu/TransactionsMenu.tsx
|
|
18718
|
-
import { useQuery as
|
|
18719
|
-
import { ArrowLeft as ArrowLeft22, Loader as
|
|
18774
|
+
import { useQuery as useQuery22, useQueryClient as useQueryClient23 } from "@tanstack/react-query";
|
|
18775
|
+
import { ArrowLeft as ArrowLeft22, Loader as Loader34, RefreshCw as RefreshCw3, XCircle } from "lucide-react";
|
|
18720
18776
|
import { useCallback as useCallback23, useState as useState28 } from "react";
|
|
18721
18777
|
import { jsx as jsx102, jsxs as jsxs94 } from "react/jsx-runtime";
|
|
18722
18778
|
function TransactionsMenu() {
|
|
@@ -18733,7 +18789,7 @@ function TransactionsMenu() {
|
|
|
18733
18789
|
isLoading: isTxHistoryLoading,
|
|
18734
18790
|
isFetching: isTxHistoryFetching,
|
|
18735
18791
|
error: txHistoryError
|
|
18736
|
-
} =
|
|
18792
|
+
} = useQuery22({
|
|
18737
18793
|
retry: false,
|
|
18738
18794
|
enabled: !!address && !!chainConfig?.id && historySupported,
|
|
18739
18795
|
queryKey: [TRANSACTIONS_HISTORY_QUERY_KEY, chainConfig.id, address],
|
|
@@ -18764,12 +18820,12 @@ function TransactionsMenu() {
|
|
|
18764
18820
|
onClick: refreshTxHistory,
|
|
18765
18821
|
disabled: isTxHistoryFetching,
|
|
18766
18822
|
title: "Refresh transactions",
|
|
18767
|
-
children: isTxHistoryFetching ? /* @__PURE__ */ jsx102(
|
|
18823
|
+
children: isTxHistoryFetching ? /* @__PURE__ */ jsx102(Loader34, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ jsx102(RefreshCw3, { className: "h-4 w-4" })
|
|
18768
18824
|
}
|
|
18769
18825
|
)
|
|
18770
18826
|
] }),
|
|
18771
18827
|
!historySupported && /* @__PURE__ */ jsx102(Highlight, { type: "warning", children: /* @__PURE__ */ jsx102("span", { children: t("passport:transactionsMenu.comingSoon") }) }),
|
|
18772
|
-
historySupported && isTxHistoryLoading && /* @__PURE__ */ jsx102("div", { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ jsx102(
|
|
18828
|
+
historySupported && isTxHistoryLoading && /* @__PURE__ */ jsx102("div", { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ jsx102(Loader34, { className: "w-4 h-4 animate-spin" }) }),
|
|
18773
18829
|
historySupported && !isTxHistoryLoading && txHistoryResolvedError && /* @__PURE__ */ jsxs94(Highlight, { type: "error", className: "flex gap-[var(--ui-kit-gap)]", children: [
|
|
18774
18830
|
/* @__PURE__ */ jsx102(XCircle, { className: "w-4 h-4 flex-none" }),
|
|
18775
18831
|
/* @__PURE__ */ jsx102("span", { className: "block w-full flex-1 text-center text-xs", children: txHistoryResolvedError })
|
|
@@ -19033,14 +19089,14 @@ var init_usePageMapper = __esm({
|
|
|
19033
19089
|
});
|
|
19034
19090
|
|
|
19035
19091
|
// src/internal/hooks/useSettingsNotifications.ts
|
|
19036
|
-
import { useQuery as
|
|
19092
|
+
import { useQuery as useQuery23 } from "@tanstack/react-query";
|
|
19037
19093
|
import { useEffect as useEffect39 } from "react";
|
|
19038
19094
|
function useSettingsNotifications() {
|
|
19039
19095
|
const address = useSession((st) => st.address);
|
|
19040
19096
|
const setSettingsNotifications = useLayoutDataStore((st) => st.setSettingsNotifications);
|
|
19041
19097
|
const providers = jwtTokenManager2.getProviders();
|
|
19042
19098
|
const hasEmail = providers.includes("email");
|
|
19043
|
-
const { data: userProfile = null } =
|
|
19099
|
+
const { data: userProfile = null } = useQuery23({
|
|
19044
19100
|
retry: false,
|
|
19045
19101
|
enabled: !!address,
|
|
19046
19102
|
queryKey: [QUERY_KEYS.userProfile, address],
|
|
@@ -19086,7 +19142,7 @@ var init_package = __esm({
|
|
|
19086
19142
|
"package.json"() {
|
|
19087
19143
|
package_default = {
|
|
19088
19144
|
name: "@embarkai/ui-kit",
|
|
19089
|
-
version: "0.4.
|
|
19145
|
+
version: "0.4.10",
|
|
19090
19146
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
19091
19147
|
type: "module",
|
|
19092
19148
|
main: "./dist/index.cjs",
|
|
@@ -19185,8 +19241,8 @@ var init_package = __esm({
|
|
|
19185
19241
|
});
|
|
19186
19242
|
|
|
19187
19243
|
// src/internal/components/Footer/Footer.tsx
|
|
19188
|
-
import { useMutation as
|
|
19189
|
-
import { Loader as
|
|
19244
|
+
import { useMutation as useMutation18, useQueryClient as useQueryClient24 } from "@tanstack/react-query";
|
|
19245
|
+
import { Loader as Loader35, LogOut } from "lucide-react";
|
|
19190
19246
|
import { jsx as jsx104, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
19191
19247
|
function Footer() {
|
|
19192
19248
|
const qc = useQueryClient24();
|
|
@@ -19196,7 +19252,7 @@ function Footer() {
|
|
|
19196
19252
|
const { t } = useT();
|
|
19197
19253
|
const setPage = useLayoutDataStore((st) => st.setPage);
|
|
19198
19254
|
const setIsDialogForced = useLayoutStore((st) => st.setIsDialogForced);
|
|
19199
|
-
const { mutate: disconnect, isPending: isDisconnecting } =
|
|
19255
|
+
const { mutate: disconnect, isPending: isDisconnecting } = useMutation18({
|
|
19200
19256
|
mutationFn: async (disconnectAddress) => {
|
|
19201
19257
|
if (!disconnectAddress) throw new Error("No address to disconnect");
|
|
19202
19258
|
setIsDialogForced(true);
|
|
@@ -19259,7 +19315,7 @@ function Footer() {
|
|
|
19259
19315
|
disabled: isDisconnecting,
|
|
19260
19316
|
children: [
|
|
19261
19317
|
/* @__PURE__ */ jsx104("span", { children: t("passport:auth.logout") }),
|
|
19262
|
-
isDisconnecting ? /* @__PURE__ */ jsx104(
|
|
19318
|
+
isDisconnecting ? /* @__PURE__ */ jsx104(Loader35, { className: "w-4 h-4 animate-spin" }) : /* @__PURE__ */ jsx104(LogOut, { className: "w-4 h-4" })
|
|
19263
19319
|
]
|
|
19264
19320
|
}
|
|
19265
19321
|
) : null
|
|
@@ -19303,10 +19359,10 @@ var init_Footer2 = __esm({
|
|
|
19303
19359
|
});
|
|
19304
19360
|
|
|
19305
19361
|
// src/internal/components/Header/Header.tsx
|
|
19306
|
-
import { useQuery as
|
|
19307
|
-
import { Copy as Copy5, Loader as
|
|
19362
|
+
import { useQuery as useQuery24 } from "@tanstack/react-query";
|
|
19363
|
+
import { Copy as Copy5, Loader as Loader36 } from "lucide-react";
|
|
19308
19364
|
import { useCallback as useCallback25, useRef as useRef17, useState as useState29 } from "react";
|
|
19309
|
-
import { Fragment as
|
|
19365
|
+
import { Fragment as Fragment41, jsx as jsx105, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
19310
19366
|
function formatAddress2(addr) {
|
|
19311
19367
|
if (!addr) return "";
|
|
19312
19368
|
return `${addr.slice(0, 10)}...${addr.slice(-4)}`;
|
|
@@ -19339,7 +19395,7 @@ function Header() {
|
|
|
19339
19395
|
}, 1e3);
|
|
19340
19396
|
}
|
|
19341
19397
|
}, []);
|
|
19342
|
-
const { data: profile, isLoading: isProfileLoading } =
|
|
19398
|
+
const { data: profile, isLoading: isProfileLoading } = useQuery24({
|
|
19343
19399
|
retry: false,
|
|
19344
19400
|
enabled: !!address,
|
|
19345
19401
|
queryKey: [QUERY_KEYS.userProfile, address],
|
|
@@ -19372,8 +19428,8 @@ function Header() {
|
|
|
19372
19428
|
style: { width: "calc(100% - 48px - var(--ui-kit-gap))" },
|
|
19373
19429
|
className: "flex-1 flex flex-col justify-center gap-1",
|
|
19374
19430
|
children: [
|
|
19375
|
-
isProfileLoading && /* @__PURE__ */ jsx105(
|
|
19376
|
-
!!address && !isProfileLoading && !!profile && /* @__PURE__ */ jsxs96(
|
|
19431
|
+
isProfileLoading && /* @__PURE__ */ jsx105(Loader36, { className: "w-4 h-4 animate-spin" }),
|
|
19432
|
+
!!address && !isProfileLoading && !!profile && /* @__PURE__ */ jsxs96(Fragment41, { children: [
|
|
19377
19433
|
/* @__PURE__ */ jsxs96("div", { className: "w-full flex items-center gap-[var(--ui-kit-gap)]", children: [
|
|
19378
19434
|
/* @__PURE__ */ jsx105(
|
|
19379
19435
|
"span",
|
|
@@ -19503,11 +19559,12 @@ var init_dialog = __esm({
|
|
|
19503
19559
|
const isDialogForced = useLayoutStore((st) => st.isDialogForced);
|
|
19504
19560
|
const setPage = useLayoutDataStore((st) => st.setPage);
|
|
19505
19561
|
const settingsNotifications = useLayoutDataStore((st) => st.settingsNotifications);
|
|
19562
|
+
const isWalletLinking = useLayoutDataStore((st) => st.isWalletLinking);
|
|
19506
19563
|
const { isMobileView, isClosing, style } = useDecideContentStyles();
|
|
19507
19564
|
const animationCnPrefix = isMobileView ? "animate-mobile-dialog" : "animate-dialog";
|
|
19508
19565
|
const dialogAnimationCn = isClosing ? `${animationCnPrefix}-out` : `${animationCnPrefix}-in`;
|
|
19509
19566
|
return /* @__PURE__ */ jsx106(DialogPortal, { children: /* @__PURE__ */ jsxs97("div", { className: "embarkai-ui-scope", "data-current-theme-mode": colorMode, style: { ...style, outline: "none" }, children: [
|
|
19510
|
-
/* @__PURE__ */ jsx106(DialogOverlay, { closing: isClosing }),
|
|
19567
|
+
/* @__PURE__ */ jsx106(DialogOverlay, { closing: isClosing, className: cn(isWalletLinking && "pointer-events-none") }),
|
|
19511
19568
|
/* @__PURE__ */ jsx106(
|
|
19512
19569
|
"div",
|
|
19513
19570
|
{
|
|
@@ -19522,7 +19579,8 @@ var init_dialog = __esm({
|
|
|
19522
19579
|
ref,
|
|
19523
19580
|
style: !!className ? void 0 : CONTENT_BG_SETUP,
|
|
19524
19581
|
className: cn(
|
|
19525
|
-
"relative
|
|
19582
|
+
"relative max-h-[95dvh] outline-none",
|
|
19583
|
+
isWalletLinking ? "pointer-events-none" : "pointer-events-auto",
|
|
19526
19584
|
"p-0 gap-0 text-[var(--ui-kit-fg)]",
|
|
19527
19585
|
"rounded-[var(--ui-kit-bdrs)] overflow-hidden",
|
|
19528
19586
|
isMobileView ? "w-[100dvw]" : "w-[var(--ui-kit-maw)]",
|
|
@@ -19630,6 +19688,7 @@ function Dialog2() {
|
|
|
19630
19688
|
const hasServerVault = useSession((st) => st.hasServerVault);
|
|
19631
19689
|
const page = useLayoutDataStore((st) => st.page);
|
|
19632
19690
|
const transitionPageHeight = useLayoutDataStore((st) => st.transitionPageHeight);
|
|
19691
|
+
const isWalletLinking = useLayoutDataStore((st) => st.isWalletLinking);
|
|
19633
19692
|
const setPage = useLayoutDataStore((st) => st.setPage);
|
|
19634
19693
|
const { colorMode, isDialogOpen, dialogTitle, dialogDescription, dialogContent, isDialogForced, setIsSettings } = useLayoutStore();
|
|
19635
19694
|
useEffect40(() => setIsSettings(!!session), [session, setIsSettings]);
|
|
@@ -19643,6 +19702,7 @@ function Dialog2() {
|
|
|
19643
19702
|
return /* @__PURE__ */ jsx108(
|
|
19644
19703
|
Dialog,
|
|
19645
19704
|
{
|
|
19705
|
+
modal: !isWalletLinking,
|
|
19646
19706
|
open: isDialogOpen,
|
|
19647
19707
|
onOpenChange: (open) => {
|
|
19648
19708
|
if (isDialogForced) return;
|
|
@@ -19874,7 +19934,7 @@ var init_useExternalWalletStore = __esm({
|
|
|
19874
19934
|
|
|
19875
19935
|
// src/internal/components/WalletConnectHandler.tsx
|
|
19876
19936
|
import { useConnectModal } from "@rainbow-me/rainbowkit";
|
|
19877
|
-
import { useMutation as
|
|
19937
|
+
import { useMutation as useMutation19, useQueryClient as useQueryClient25 } from "@tanstack/react-query";
|
|
19878
19938
|
import React9, { useCallback as useCallback27, useEffect as useEffect41 } from "react";
|
|
19879
19939
|
import { useAccount, useDisconnect, useSignMessage } from "wagmi";
|
|
19880
19940
|
function WalletConnectHandler() {
|
|
@@ -20006,7 +20066,7 @@ function WalletConnectHandler() {
|
|
|
20006
20066
|
}
|
|
20007
20067
|
}, [isWalletLinking, setIsWalletLinking, disconnect]);
|
|
20008
20068
|
const isAuthFlow = !passportWalletAddress;
|
|
20009
|
-
const { mutate: handleWalletSign, isPending: isWalletSigning } =
|
|
20069
|
+
const { mutate: handleWalletSign, isPending: isWalletSigning } = useMutation19({
|
|
20010
20070
|
mutationFn: async (payload) => {
|
|
20011
20071
|
const { chainId, signingWalletAddress } = payload;
|
|
20012
20072
|
if (!signingWalletAddress || !chainId) {
|
|
@@ -20216,7 +20276,7 @@ import {
|
|
|
20216
20276
|
getChainConfig as getChainConfig9,
|
|
20217
20277
|
getViemChain as getViemChain2
|
|
20218
20278
|
} from "@embarkai/core/read";
|
|
20219
|
-
import { Fragment as
|
|
20279
|
+
import { Fragment as Fragment42 } from "react";
|
|
20220
20280
|
import { create as create8 } from "zustand";
|
|
20221
20281
|
import { persist } from "zustand/middleware";
|
|
20222
20282
|
import { jsx as jsx109, jsxs as jsxs99 } from "react/jsx-runtime";
|
|
@@ -20237,7 +20297,7 @@ function waitForStoreHydration() {
|
|
|
20237
20297
|
}
|
|
20238
20298
|
function SessionProvider({ children }) {
|
|
20239
20299
|
const config = useProviderConfig().config;
|
|
20240
|
-
return /* @__PURE__ */ jsxs99(
|
|
20300
|
+
return /* @__PURE__ */ jsxs99(Fragment42, { children: [
|
|
20241
20301
|
children,
|
|
20242
20302
|
config.current?.wallet?.enabled && /* @__PURE__ */ jsx109(WalletConnectHandler, {}),
|
|
20243
20303
|
config.current?.wallet?.enabled && (config.current?.wallet?.mode === "direct" || config.current?.wallet?.mode === "both") && /* @__PURE__ */ jsx109(DirectWalletHandler, {}),
|
|
@@ -22939,7 +22999,7 @@ import { darkTheme, lightTheme, RainbowKitProvider as NativeRainbowKitProvider }
|
|
|
22939
22999
|
import { useMemo as useMemo9 } from "react";
|
|
22940
23000
|
import { WagmiProvider } from "wagmi";
|
|
22941
23001
|
import "@rainbow-me/rainbowkit/styles.css";
|
|
22942
|
-
import { Fragment as
|
|
23002
|
+
import { Fragment as Fragment43, jsx as jsx110 } from "react/jsx-runtime";
|
|
22943
23003
|
function RainbowKitProvider({ children }) {
|
|
22944
23004
|
const config = useProviderConfig().config;
|
|
22945
23005
|
const colorMode = useLayoutStore((st) => st.colorMode);
|
|
@@ -22971,7 +23031,7 @@ function RainbowKitProvider({ children }) {
|
|
|
22971
23031
|
radii: rainbowTheme.lightMode.radii
|
|
22972
23032
|
};
|
|
22973
23033
|
}, [colorMode]);
|
|
22974
|
-
if (!config.current?.wallet?.enabled) return /* @__PURE__ */ jsx110(
|
|
23034
|
+
if (!config.current?.wallet?.enabled) return /* @__PURE__ */ jsx110(Fragment43, { children });
|
|
22975
23035
|
return /* @__PURE__ */ jsx110(WagmiProvider, { config: rainbowConfig, children: /* @__PURE__ */ jsx110(NativeRainbowKitProvider, { theme: customTheme, modalSize: "compact", showRecentTransactions: true, children }) });
|
|
22976
23036
|
}
|
|
22977
23037
|
var init_RainbowKitContext = __esm({
|
|
@@ -23200,10 +23260,10 @@ var init_ProviderContext = __esm({
|
|
|
23200
23260
|
});
|
|
23201
23261
|
|
|
23202
23262
|
// src/components/ConnectWalletButton.tsx
|
|
23203
|
-
import { useQuery as
|
|
23204
|
-
import { Cloud as Cloud4, Laptop as Laptop2, Loader as
|
|
23263
|
+
import { useQuery as useQuery25 } from "@tanstack/react-query";
|
|
23264
|
+
import { Cloud as Cloud4, Laptop as Laptop2, Loader as Loader37, Shield as Shield3 } from "lucide-react";
|
|
23205
23265
|
import { useEffect as useEffect44, useMemo as useMemo11 } from "react";
|
|
23206
|
-
import { Fragment as
|
|
23266
|
+
import { Fragment as Fragment44, jsx as jsx113, jsxs as jsxs100 } from "react/jsx-runtime";
|
|
23207
23267
|
function getFormattedStatus(label, status, showStatus) {
|
|
23208
23268
|
const isStatus = showStatus && status && status !== "idle" && status !== "ready";
|
|
23209
23269
|
if (!isStatus) return label;
|
|
@@ -23223,7 +23283,7 @@ function ConnectWalletButton(props) {
|
|
|
23223
23283
|
const { session, address, hasServerVault, isLoading, isIframeReady, status, setUsePaymaster } = useSession();
|
|
23224
23284
|
const connectButtonLabel = getFormattedStatus(label || "Connect", status, isIframeReady);
|
|
23225
23285
|
useEffect44(() => setUsePaymaster(usePaymaster), [setUsePaymaster, usePaymaster]);
|
|
23226
|
-
const { data: profile, isLoading: isProfileLoading } =
|
|
23286
|
+
const { data: profile, isLoading: isProfileLoading } = useQuery25({
|
|
23227
23287
|
retry: false,
|
|
23228
23288
|
enabled: !!address,
|
|
23229
23289
|
queryKey: [QUERY_KEYS.userProfile, address],
|
|
@@ -23241,14 +23301,14 @@ function ConnectWalletButton(props) {
|
|
|
23241
23301
|
const isConnecting = connectButtonLabel !== label || isLoading;
|
|
23242
23302
|
return /* @__PURE__ */ jsx113("div", { "data-current-theme-mode": colorMode, className: cn("embarkai-ui-scope w-fit h-fit", className), children: !address ? (
|
|
23243
23303
|
/** external Buttons can be provided */
|
|
23244
|
-
/* @__PURE__ */ jsx113(
|
|
23304
|
+
/* @__PURE__ */ jsx113(Fragment44, { children: ConnectButton ? /* @__PURE__ */ jsxs100(
|
|
23245
23305
|
ConnectButton,
|
|
23246
23306
|
{
|
|
23247
23307
|
type: "button",
|
|
23248
23308
|
disabled: isConnecting,
|
|
23249
23309
|
onClick: () => setPage("auth" /* AUTH */),
|
|
23250
23310
|
children: [
|
|
23251
|
-
isConnecting && /* @__PURE__ */ jsx113(
|
|
23311
|
+
isConnecting && /* @__PURE__ */ jsx113(Loader37, { className: "w-4 h-4 animate-spin" }),
|
|
23252
23312
|
connectButtonLabel
|
|
23253
23313
|
]
|
|
23254
23314
|
}
|
|
@@ -23269,7 +23329,7 @@ function ConnectWalletButton(props) {
|
|
|
23269
23329
|
"disabled:hover:bg-[var(--ui-kit-bg)] disabled:active:bg-[var(--ui-kit-bg)]"
|
|
23270
23330
|
),
|
|
23271
23331
|
children: [
|
|
23272
|
-
isConnecting && /* @__PURE__ */ jsx113(
|
|
23332
|
+
isConnecting && /* @__PURE__ */ jsx113(Loader37, { className: "w-4 h-4 animate-spin" }),
|
|
23273
23333
|
connectButtonLabel.toUpperCase()
|
|
23274
23334
|
]
|
|
23275
23335
|
}
|
|
@@ -23293,7 +23353,7 @@ function ConnectWalletButton(props) {
|
|
|
23293
23353
|
] }),
|
|
23294
23354
|
/* @__PURE__ */ jsxs100("div", { className: "text-left flex-1 min-w-0 text-[var(--ui-kit-fg)]", children: [
|
|
23295
23355
|
/* @__PURE__ */ jsxs100("div", { className: "flex items-center gap-[var(--ui-kit-gap)]", children: [
|
|
23296
|
-
isProfileLoading ? /* @__PURE__ */ jsx113(
|
|
23356
|
+
isProfileLoading ? /* @__PURE__ */ jsx113(Loader37, { className: "w-4 h-4 animate-spin" }) : /* @__PURE__ */ jsx113("span", { className: "w-fit text-[14px] leading-4 truncate max-w-[144px] text-[var(--ui-kit-fg)]", children: displayName }),
|
|
23297
23357
|
!isProfileLoading && /* @__PURE__ */ jsx113(KYCStatus, {})
|
|
23298
23358
|
] }),
|
|
23299
23359
|
/* @__PURE__ */ jsx113(BalanceView, {})
|
|
@@ -23676,7 +23736,7 @@ var init_Address = __esm({
|
|
|
23676
23736
|
});
|
|
23677
23737
|
|
|
23678
23738
|
// src/internal/components/UserOpStatus.tsx
|
|
23679
|
-
import { AlertCircle as AlertCircle8, CheckCircle2 as CheckCircle27, Clock as Clock2, Copy as Copy7, ExternalLink as ExternalLink3, RefreshCw as
|
|
23739
|
+
import { AlertCircle as AlertCircle8, CheckCircle2 as CheckCircle27, Clock as Clock2, Copy as Copy7, ExternalLink as ExternalLink3, RefreshCw as RefreshCw4 } from "lucide-react";
|
|
23680
23740
|
import * as React11 from "react";
|
|
23681
23741
|
import { jsx as jsx117, jsxs as jsxs102 } from "react/jsx-runtime";
|
|
23682
23742
|
var UserOpStatus;
|
|
@@ -23845,7 +23905,7 @@ var init_UserOpStatus = __esm({
|
|
|
23845
23905
|
/* @__PURE__ */ jsx117("span", { className: "text-xs text-muted-foreground", children: "This is a UserOperation hash (EIP-4337), not a L2 tx hash." })
|
|
23846
23906
|
] }),
|
|
23847
23907
|
/* @__PURE__ */ jsxs102(Button, { variant: "ghost", size: "small", onClick: () => tick(), disabled: refreshing, className: "h-8", children: [
|
|
23848
|
-
/* @__PURE__ */ jsx117(
|
|
23908
|
+
/* @__PURE__ */ jsx117(RefreshCw4, { className: cn2("h-3.5 w-3.5 mr-1", refreshing && "animate-spin") }),
|
|
23849
23909
|
/* @__PURE__ */ jsx117("span", { className: "text-xs", children: "Refresh" })
|
|
23850
23910
|
] })
|
|
23851
23911
|
] }),
|
|
@@ -25021,6 +25081,7 @@ init_index();
|
|
|
25021
25081
|
export {
|
|
25022
25082
|
AccountAbstractionError,
|
|
25023
25083
|
Address,
|
|
25084
|
+
CONNECTED_TRUSTED_APPS_QUERY as CONNECTED_TRUSTED_APPS_QUERY_KEY,
|
|
25024
25085
|
ConnectWalletButton,
|
|
25025
25086
|
ErrorCodes,
|
|
25026
25087
|
Hash,
|