@coinlist-co/react 0.12.1 → 0.12.2-rc.7b430dd
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/client/index.cjs +806 -837
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +806 -837
- package/dist/client/index.js.map +1 -1
- package/package.json +1 -1
package/dist/client/index.js
CHANGED
|
@@ -1096,7 +1096,7 @@ var CoinListProvider = CoinListContextProvider;
|
|
|
1096
1096
|
import { createContext as createContext4, useContext as useContext3 } from "react";
|
|
1097
1097
|
|
|
1098
1098
|
// src/client/generated/sdk-styles.gen.ts
|
|
1099
|
-
var sdkStyles = '/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--clcosdk-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--clcosdk-color-red-400:oklch(70.4% .191 22.216);--clcosdk-color-red-500:oklch(63.7% .237 25.331);--clcosdk-color-amber-500:oklch(76.9% .188 70.08);--clcosdk-color-gray-400:oklch(70.7% .022 261.325);--clcosdk-color-gray-500:oklch(55.1% .027 264.364);--clcosdk-color-black:#000;--clcosdk-spacing:.25rem;--clcosdk-container-sm:24rem;--clcosdk-container-md:28rem;--clcosdk-container-xl:36rem;--clcosdk-text-xs:.75rem;--clcosdk-text-xs--line-height:calc(1 / .75);--clcosdk-text-sm:.875rem;--clcosdk-text-sm--line-height:calc(1.25 / .875);--clcosdk-text-base:1rem;--clcosdk-text-base--line-height:calc(1.5 / 1);--clcosdk-text-lg:1.125rem;--clcosdk-text-lg--line-height:calc(1.75 / 1.125);--clcosdk-font-weight-normal:400;--clcosdk-font-weight-medium:500;--clcosdk-font-weight-semibold:600;--clcosdk-radius-md:.375rem;--clcosdk-radius-lg:.5rem;--clcosdk-radius-xl:.75rem;--clcosdk-radius-2xl:1rem;--clcosdk-ease-out:cubic-bezier(0, 0, .2, 1);--clcosdk-ease-in-out:cubic-bezier(.4, 0, .2, 1);--clcosdk-animate-spin:spin 1s linear infinite;--clcosdk-animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--clcosdk-color-brand-primary:var(--color-brand-primary)}}@layer base{.clco-sdk-root{--color-brand-primary:#171717;--color-brand-primary-hover:#000;--color-brand-primary-active:#262626;--color-accent:#2b3a67;--color-accent-hover:#243057;--color-accent-active:#1d2647;--color-accent-focus:#c7d2fe;--color-accent-subtle:#eef1f8;--color-text-primary:#171717;--color-text-secondary:#8c8c8c;--color-text-disabled:#d1d1d1;--color-text-inverse:#fff;--color-background:#fff;--color-surface:#fafafa;--color-section:#f3f3f3;--color-border:#e5e5e5;--color-divider:#ececec;--color-overlay:#00000080;--color-positive:#15803d;--color-positive-subtle:#dcfce7;--color-negative:#dc2626;--color-negative-subtle:#fee2e2;--color-success:#2c8c5e;--color-success-subtle:#e6f4ec;--color-success-border:#cfe9db;--color-warning:#e08a1a;--color-warning-subtle:#fff7ed;--color-warning-border:#fdead7;--color-error:#b42318;--color-error-subtle:#feeceb;--color-error-border:#fbd5d2;--shadow-step-active:0px 0px 10px 0px #0000001a;--shadow-dialog:0px 8px 32px 0px #0000001a;--btn-primary-gradient:linear-gradient(180deg, #262626 0%, #1c1c1c 50%, #0f0f0f 100%);--btn-primary-shadow:inset 0px -1px 3px 0px #00000059, inset 0px 1px 2px 0px #ffffff2e, inset 0px 1px 0px 0px #ffffff1a;--sale-card-surface:linear-gradient(to top, #0a0a0a 0%, #1a1a1a 100%);--color-sale-card-text:#f4f4f5;--color-sale-card-text-muted:#a1a1aa;--color-sale-card-text-strong:#fff;--color-sale-card-border:#ffffff40;--color-sale-card-chrome-border:#ffffff4d;--color-sale-card-chrome-bg:#ffffff26;--color-sale-card-chrome-emphasis-border:#fff6;--color-sale-card-chrome-emphasis-bg:#ffffff40;--color-sale-card-focus-ring:#ffffff80;--display-on-light:block;--display-on-dark:none}@media (prefers-color-scheme:dark){.clco-sdk-root:not(:where(.light,.light *)){--color-brand-primary:#f4f4f5;--color-brand-primary-hover:#fff;--color-brand-primary-active:#e4e4e7;--color-accent:#6f82c9;--color-accent-hover:#8799e4;--color-accent-active:#5b6fcf;--color-accent-focus:#6f82c959;--color-accent-subtle:#6f82c91f;--color-text-primary:#f4f4f5;--color-text-secondary:#a1a1aa;--color-text-disabled:#71717a;--color-text-inverse:#171717;--color-background:#0f1115;--color-surface:#161a20;--color-section:#20242c;--color-border:#2a2e35;--color-divider:#323741;--color-overlay:#000000b3;--color-positive:#22c55e;--color-positive-subtle:#22c55e1f;--color-negative:#ef4444;--color-negative-subtle:#ef44441f;--color-success:#34d399;--color-success-subtle:#34d3991f;--color-success-border:#34d39940;--color-warning:#f59e0b;--color-warning-subtle:#f59e0b1f;--color-warning-border:#f59e0b40;--color-error:#f87171;--color-error-subtle:#f871711f;--color-error-border:#f8717140;--shadow-step-active:0px 0px 10px 0px #00000080;--shadow-dialog:0px 8px 32px 0px #0009;--btn-primary-gradient:linear-gradient(180deg, #fafafa 0%, #f0f0f0 50%, #e4e4e7 100%);--btn-primary-shadow:inset 0px -1px 3px 0px #0000001f, inset 0px 1px 2px 0px #fff9, inset 0px 1px 0px 0px #fff6;--display-on-light:none;--display-on-dark:block}}:where(.dark,.dark *) .clco-sdk-root{--color-brand-primary:#f4f4f5;--color-brand-primary-hover:#fff;--color-brand-primary-active:#e4e4e7;--color-accent:#6f82c9;--color-accent-hover:#8799e4;--color-accent-active:#5b6fcf;--color-accent-focus:#6f82c959;--color-accent-subtle:#6f82c91f;--color-text-primary:#f4f4f5;--color-text-secondary:#a1a1aa;--color-text-disabled:#71717a;--color-text-inverse:#171717;--color-background:#0f1115;--color-surface:#161a20;--color-section:#20242c;--color-border:#2a2e35;--color-divider:#323741;--color-overlay:#000000b3;--color-positive:#22c55e;--color-positive-subtle:#22c55e1f;--color-negative:#ef4444;--color-negative-subtle:#ef44441f;--color-success:#34d399;--color-success-subtle:#34d3991f;--color-success-border:#34d39940;--color-warning:#f59e0b;--color-warning-subtle:#f59e0b1f;--color-warning-border:#f59e0b40;--color-error:#f87171;--color-error-subtle:#f871711f;--color-error-border:#f8717140;--shadow-step-active:0px 0px 10px 0px #00000080;--shadow-dialog:0px 8px 32px 0px #0009;--btn-primary-gradient:linear-gradient(180deg, #fafafa 0%, #f0f0f0 50%, #e4e4e7 100%);--btn-primary-shadow:inset 0px -1px 3px 0px #0000001f, inset 0px 1px 2px 0px #fff9, inset 0px 1px 0px 0px #fff6;--display-on-light:none;--display-on-dark:block}.clco-sdk-root{color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif}.clco-sdk-root *,.clco-sdk-root :before,.clco-sdk-root :after{box-sizing:border-box}.clco-sdk-root button{appearance:none;cursor:pointer;font:inherit;color:inherit;background:0 0;border:none;padding:0}.clco-sdk-root input,.clco-sdk-root textarea,.clco-sdk-root select{font:inherit;color:inherit;background:0 0;border:none;border-radius:0;padding:0}.clco-sdk-root a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}.clco-sdk-root ul,.clco-sdk-root ol{margin:0;padding:0;list-style:none}.clco-sdk-root h1,.clco-sdk-root h2,.clco-sdk-root h3,.clco-sdk-root h4,.clco-sdk-root h5,.clco-sdk-root h6,.clco-sdk-root p,.clco-sdk-root figure,.clco-sdk-root blockquote,.clco-sdk-root dl,.clco-sdk-root dd,.clco-sdk-root pre{margin:0}.clco-sdk-root img,.clco-sdk-root svg{max-width:100%;display:block}@keyframes clco-status-ping{0%{opacity:.7;transform:scale(1)}75%,to{opacity:0;transform:scale(3.25)}}.clco-sdk-root .clcosdk-status-dot-ping{animation:1.6s cubic-bezier(0,0,.2,1) infinite clco-status-ping}.clco-sdk-root .clcosdk-on-light{display:var(--display-on-light)}.clco-sdk-root .clcosdk-on-dark{display:var(--display-on-dark)}@media (prefers-reduced-motion:reduce){.clco-sdk-root .clcosdk-status-dot-ping{opacity:0;animation:none}}}@layer components;@layer utilities{.clcosdk\\:pointer-events-none{pointer-events:none}.clcosdk\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.clcosdk\\:absolute{position:absolute}.clcosdk\\:fixed{position:fixed}.clcosdk\\:relative{position:relative}.clcosdk\\:inset-0{inset:0}.clcosdk\\:top-1\\/2{top:50%}.clcosdk\\:top-4{top:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:top-full{top:100%}.clcosdk\\:-right-0\\.5{right:calc(var(--clcosdk-spacing) * -.5)}.clcosdk\\:right-4{right:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:right-\\[-14\\%\\]{right:-14%}.clcosdk\\:-bottom-0\\.5{bottom:calc(var(--clcosdk-spacing) * -.5)}.clcosdk\\:bottom-full{bottom:100%}.clcosdk\\:left-1\\/2{left:50%}.clcosdk\\:z-0{z-index:0}.clcosdk\\:z-10{z-index:10}.clcosdk\\:z-50{z-index:50}.clcosdk\\:order-1{order:1}.clcosdk\\:order-2{order:2}.clcosdk\\:-mx-2{margin-inline:calc(var(--clcosdk-spacing) * -2)}.clcosdk\\:mt-2{margin-top:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:mt-4{margin-top:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:mt-auto{margin-top:auto}.clcosdk\\:mb-2{margin-bottom:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:flex{display:flex}.clcosdk\\:grid{display:grid}.clcosdk\\:inline-flex{display:inline-flex}.clcosdk\\:size-2{width:calc(var(--clcosdk-spacing) * 2);height:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:size-3{width:calc(var(--clcosdk-spacing) * 3);height:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:size-3\\.5{width:calc(var(--clcosdk-spacing) * 3.5);height:calc(var(--clcosdk-spacing) * 3.5)}.clcosdk\\:size-4{width:calc(var(--clcosdk-spacing) * 4);height:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:size-5{width:calc(var(--clcosdk-spacing) * 5);height:calc(var(--clcosdk-spacing) * 5)}.clcosdk\\:size-10{width:calc(var(--clcosdk-spacing) * 10);height:calc(var(--clcosdk-spacing) * 10)}.clcosdk\\:size-12{width:calc(var(--clcosdk-spacing) * 12);height:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:size-16{width:calc(var(--clcosdk-spacing) * 16);height:calc(var(--clcosdk-spacing) * 16)}.clcosdk\\:size-24{width:calc(var(--clcosdk-spacing) * 24);height:calc(var(--clcosdk-spacing) * 24)}.clcosdk\\:size-\\[15rem\\]{width:15rem;height:15rem}.clcosdk\\:size-full{width:100%;height:100%}.clcosdk\\:h-1{height:var(--clcosdk-spacing)}.clcosdk\\:h-3{height:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:h-4{height:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:h-5{height:calc(var(--clcosdk-spacing) * 5)}.clcosdk\\:h-6{height:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:h-8{height:calc(var(--clcosdk-spacing) * 8)}.clcosdk\\:h-9{height:calc(var(--clcosdk-spacing) * 9)}.clcosdk\\:h-10{height:calc(var(--clcosdk-spacing) * 10)}.clcosdk\\:h-11{height:calc(var(--clcosdk-spacing) * 11)}.clcosdk\\:h-12{height:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:h-14{height:calc(var(--clcosdk-spacing) * 14)}.clcosdk\\:h-\\[1em\\]{height:1em}.clcosdk\\:h-\\[18px\\]{height:18px}.clcosdk\\:h-\\[54px\\]{height:54px}.clcosdk\\:h-\\[71px\\]{height:71px}.clcosdk\\:h-auto{height:auto}.clcosdk\\:h-full{height:100%}.clcosdk\\:h-px{height:1px}.clcosdk\\:max-h-\\[92vh\\]{max-height:92vh}.clcosdk\\:max-h-full{max-height:100%}.clcosdk\\:min-h-0{min-height:0}.clcosdk\\:min-h-9{min-height:calc(var(--clcosdk-spacing) * 9)}.clcosdk\\:min-h-40{min-height:calc(var(--clcosdk-spacing) * 40)}.clcosdk\\:min-h-\\[1lh\\]{min-height:1lh}.clcosdk\\:min-h-screen{min-height:100vh}.clcosdk\\:w-1{width:var(--clcosdk-spacing)}.clcosdk\\:w-1\\/2{width:50%}.clcosdk\\:w-2\\/5{width:40%}.clcosdk\\:w-3\\/5{width:60%}.clcosdk\\:w-4{width:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:w-5{width:calc(var(--clcosdk-spacing) * 5)}.clcosdk\\:w-6{width:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:w-8{width:calc(var(--clcosdk-spacing) * 8)}.clcosdk\\:w-10{width:calc(var(--clcosdk-spacing) * 10)}.clcosdk\\:w-12{width:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:w-16{width:calc(var(--clcosdk-spacing) * 16)}.clcosdk\\:w-20{width:calc(var(--clcosdk-spacing) * 20)}.clcosdk\\:w-24{width:calc(var(--clcosdk-spacing) * 24)}.clcosdk\\:w-28{width:calc(var(--clcosdk-spacing) * 28)}.clcosdk\\:w-32{width:calc(var(--clcosdk-spacing) * 32)}.clcosdk\\:w-40{width:calc(var(--clcosdk-spacing) * 40)}.clcosdk\\:w-48{width:calc(var(--clcosdk-spacing) * 48)}.clcosdk\\:w-80{width:calc(var(--clcosdk-spacing) * 80)}.clcosdk\\:w-96{width:calc(var(--clcosdk-spacing) * 96)}.clcosdk\\:w-\\[16px\\]{width:16px}.clcosdk\\:w-\\[28rem\\]{width:28rem}.clcosdk\\:w-\\[448px\\]{width:448px}.clcosdk\\:w-\\[calc\\(100\\%\\+16px\\)\\]{width:calc(100% + 16px)}.clcosdk\\:w-auto{width:auto}.clcosdk\\:w-component{width:448px}.clcosdk\\:w-fit{width:fit-content}.clcosdk\\:w-full{width:100%}.clcosdk\\:w-max{width:max-content}.clcosdk\\:max-w-\\[16rem\\]{max-width:16rem}.clcosdk\\:max-w-\\[28rem\\]{max-width:28rem}.clcosdk\\:max-w-\\[30rem\\]{max-width:30rem}.clcosdk\\:max-w-\\[40rem\\]{max-width:40rem}.clcosdk\\:max-w-\\[56rem\\]{max-width:56rem}.clcosdk\\:max-w-\\[64rem\\]{max-width:64rem}.clcosdk\\:max-w-\\[760px\\]{max-width:760px}.clcosdk\\:max-w-full{max-width:100%}.clcosdk\\:max-w-md{max-width:var(--clcosdk-container-md)}.clcosdk\\:max-w-sm{max-width:var(--clcosdk-container-sm)}.clcosdk\\:max-w-xl{max-width:var(--clcosdk-container-xl)}.clcosdk\\:min-w-0{min-width:0}.clcosdk\\:flex-1{flex:1}.clcosdk\\:shrink-0{flex-shrink:0}.clcosdk\\:-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.clcosdk\\:-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.clcosdk\\:rotate-90{rotate:90deg}.clcosdk\\:rotate-180{rotate:180deg}.clcosdk\\:animate-pulse{animation:var(--clcosdk-animate-pulse)}.clcosdk\\:animate-spin{animation:var(--clcosdk-animate-spin)}.clcosdk\\:cursor-pointer{cursor:pointer}.clcosdk\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.clcosdk\\:grid-rows-\\[0fr\\]{grid-template-rows:0fr}.clcosdk\\:grid-rows-\\[1fr\\]{grid-template-rows:1fr}.clcosdk\\:flex-col{flex-direction:column}.clcosdk\\:flex-row{flex-direction:row}.clcosdk\\:flex-wrap{flex-wrap:wrap}.clcosdk\\:items-center{align-items:center}.clcosdk\\:items-end{align-items:flex-end}.clcosdk\\:items-start{align-items:flex-start}.clcosdk\\:justify-between{justify-content:space-between}.clcosdk\\:justify-center{justify-content:center}.clcosdk\\:justify-end{justify-content:flex-end}.clcosdk\\:justify-start{justify-content:flex-start}.clcosdk\\:gap-1{gap:var(--clcosdk-spacing)}.clcosdk\\:gap-1\\.5{gap:calc(var(--clcosdk-spacing) * 1.5)}.clcosdk\\:gap-2{gap:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:gap-2\\.5{gap:calc(var(--clcosdk-spacing) * 2.5)}.clcosdk\\:gap-3{gap:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:gap-4{gap:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:gap-6{gap:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:gap-\\[5px\\]{gap:5px}:where(.clcosdk\\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--clcosdk-spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--clcosdk-spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.clcosdk\\:space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--clcosdk-spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--clcosdk-spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.clcosdk\\:divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.clcosdk\\:divide-divider>:not(:last-child)){border-color:var(--color-divider)}.clcosdk\\:self-start{align-self:flex-start}.clcosdk\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.clcosdk\\:overflow-hidden{overflow:hidden}.clcosdk\\:overflow-y-auto{overflow-y:auto}.clcosdk\\:rounded{border-radius:.25rem}.clcosdk\\:rounded-2xl{border-radius:var(--clcosdk-radius-2xl)}.clcosdk\\:rounded-\\[20px\\]{border-radius:20px}.clcosdk\\:rounded-\\[28px\\]{border-radius:28px}.clcosdk\\:rounded-btn{border-radius:12px}.clcosdk\\:rounded-card{border-radius:24px}.clcosdk\\:rounded-full{border-radius:3.40282e38px}.clcosdk\\:rounded-lg{border-radius:var(--clcosdk-radius-lg)}.clcosdk\\:rounded-md{border-radius:var(--clcosdk-radius-md)}.clcosdk\\:rounded-xl{border-radius:var(--clcosdk-radius-xl)}.clcosdk\\:border{border-style:var(--tw-border-style);border-width:1px}.clcosdk\\:border-2{border-style:var(--tw-border-style);border-width:2px}.clcosdk\\:border-\\[1\\.5px\\]{border-style:var(--tw-border-style);border-width:1.5px}.clcosdk\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.clcosdk\\:border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.clcosdk\\:border-accent\\/60{border-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.clcosdk\\:border-accent\\/60{border-color:color-mix(in oklab, var(--color-accent) 60%, transparent)}}.clcosdk\\:border-amber-500{border-color:var(--clcosdk-color-amber-500)}.clcosdk\\:border-background{border-color:var(--color-background)}.clcosdk\\:border-border{border-color:var(--color-border)}.clcosdk\\:border-brand-primary{border-color:var(--color-brand-primary)}.clcosdk\\:border-current{border-color:currentColor}.clcosdk\\:border-divider{border-color:var(--color-divider)}.clcosdk\\:border-error-border{border-color:var(--color-error-border)}.clcosdk\\:border-sale-card-border{border-color:var(--color-sale-card-border)}.clcosdk\\:border-sale-card-chrome-border{border-color:var(--color-sale-card-chrome-border)}.clcosdk\\:border-success-border{border-color:var(--color-success-border)}.clcosdk\\:border-text-primary{border-color:var(--color-text-primary)}.clcosdk\\:border-transparent{border-color:#0000}.clcosdk\\:border-warning-border{border-color:var(--color-warning-border)}.clcosdk\\:border-t-transparent{border-top-color:#0000}.clcosdk\\:bg-background{background-color:var(--color-background)}.clcosdk\\:bg-black\\/50{background-color:var(--clcosdk-color-black)}@supports (color:color-mix(in lab, red, red)){.clcosdk\\:bg-black\\/50{background-color:color-mix(in oklab, var(--clcosdk-color-black) 50%, transparent)}}.clcosdk\\:bg-brand-primary{background-color:var(--color-brand-primary)}.clcosdk\\:bg-divider{background-color:var(--color-divider)}.clcosdk\\:bg-error-subtle{background-color:var(--color-error-subtle)}.clcosdk\\:bg-overlay{background-color:var(--color-overlay)}.clcosdk\\:bg-positive{background-color:var(--color-positive)}.clcosdk\\:bg-positive-subtle{background-color:var(--color-positive-subtle)}.clcosdk\\:bg-sale-card-chrome-bg{background-color:var(--color-sale-card-chrome-bg)}.clcosdk\\:bg-section{background-color:var(--color-section)}.clcosdk\\:bg-success-subtle{background-color:var(--color-success-subtle)}.clcosdk\\:bg-surface{background-color:var(--color-surface)}.clcosdk\\:bg-text-disabled{background-color:var(--color-text-disabled)}.clcosdk\\:bg-text-primary{background-color:var(--color-text-primary)}.clcosdk\\:bg-transparent{background-color:#0000}.clcosdk\\:bg-warning-subtle{background-color:var(--color-warning-subtle)}.clcosdk\\:bg-\\[image\\:var\\(--btn-primary-gradient\\)\\]{background-image:var(--btn-primary-gradient)}.clcosdk\\:bg-\\[image\\:var\\(--sale-card-surface\\)\\]{background-image:var(--sale-card-surface)}.clcosdk\\:object-contain{object-fit:contain}.clcosdk\\:object-cover{object-fit:cover}.clcosdk\\:p-0{padding:0}.clcosdk\\:p-1\\.5{padding:calc(var(--clcosdk-spacing) * 1.5)}.clcosdk\\:p-3{padding:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:p-3\\.5{padding:calc(var(--clcosdk-spacing) * 3.5)}.clcosdk\\:p-4{padding:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:p-5{padding:calc(var(--clcosdk-spacing) * 5)}.clcosdk\\:p-6{padding:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:p-8{padding:calc(var(--clcosdk-spacing) * 8)}.clcosdk\\:p-16{padding:calc(var(--clcosdk-spacing) * 16)}.clcosdk\\:px-2{padding-inline:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:px-3{padding-inline:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:px-4{padding-inline:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:px-5{padding-inline:calc(var(--clcosdk-spacing) * 5)}.clcosdk\\:px-6{padding-inline:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:py-1\\.5{padding-block:calc(var(--clcosdk-spacing) * 1.5)}.clcosdk\\:py-2{padding-block:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:py-3{padding-block:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:py-8{padding-block:calc(var(--clcosdk-spacing) * 8)}.clcosdk\\:py-12{padding-block:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:pt-1{padding-top:var(--clcosdk-spacing)}.clcosdk\\:pt-4{padding-top:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:pt-14{padding-top:calc(var(--clcosdk-spacing) * 14)}.clcosdk\\:pr-1\\.5{padding-right:calc(var(--clcosdk-spacing) * 1.5)}.clcosdk\\:pr-3{padding-right:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:pr-4{padding-right:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:pb-1{padding-bottom:var(--clcosdk-spacing)}.clcosdk\\:pb-4{padding-bottom:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:pl-3{padding-left:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:text-center{text-align:center}.clcosdk\\:text-left{text-align:left}.clcosdk\\:text-right{text-align:right}.clcosdk\\:font-mono{font-family:var(--clcosdk-font-mono)}.clcosdk\\:text-base{font-size:var(--clcosdk-text-base);line-height:var(--tw-leading,var(--clcosdk-text-base--line-height))}.clcosdk\\:text-lg{font-size:var(--clcosdk-text-lg);line-height:var(--tw-leading,var(--clcosdk-text-lg--line-height))}.clcosdk\\:text-sm{font-size:var(--clcosdk-text-sm);line-height:var(--tw-leading,var(--clcosdk-text-sm--line-height))}.clcosdk\\:text-xs{font-size:var(--clcosdk-text-xs);line-height:var(--tw-leading,var(--clcosdk-text-xs--line-height))}.clcosdk\\:text-\\[11px\\]{font-size:11px}.clcosdk\\:text-\\[12px\\]{font-size:12px}.clcosdk\\:text-\\[13px\\]{font-size:13px}.clcosdk\\:text-\\[14px\\]{font-size:14px}.clcosdk\\:text-\\[15px\\]{font-size:15px}.clcosdk\\:text-\\[16px\\]{font-size:16px}.clcosdk\\:text-\\[18px\\]{font-size:18px}.clcosdk\\:text-\\[22px\\]{font-size:22px}.clcosdk\\:text-\\[28px\\]{font-size:28px}.clcosdk\\:text-\\[36px\\]{font-size:36px}.clcosdk\\:text-\\[48px\\]{font-size:48px}.clcosdk\\:text-\\[64px\\]{font-size:64px}.clcosdk\\:leading-\\[105\\%\\]{--tw-leading:105%;line-height:105%}.clcosdk\\:leading-\\[108\\%\\]{--tw-leading:108%;line-height:108%}.clcosdk\\:leading-\\[110\\%\\]{--tw-leading:110%;line-height:110%}.clcosdk\\:leading-\\[120\\%\\]{--tw-leading:120%;line-height:120%}.clcosdk\\:leading-\\[130\\%\\]{--tw-leading:130%;line-height:130%}.clcosdk\\:leading-\\[140\\%\\]{--tw-leading:140%;line-height:140%}.clcosdk\\:leading-\\[150\\%\\]{--tw-leading:150%;line-height:150%}.clcosdk\\:leading-\\[160\\%\\]{--tw-leading:160%;line-height:160%}.clcosdk\\:font-medium{--tw-font-weight:var(--clcosdk-font-weight-medium);font-weight:var(--clcosdk-font-weight-medium)}.clcosdk\\:font-normal{--tw-font-weight:var(--clcosdk-font-weight-normal);font-weight:var(--clcosdk-font-weight-normal)}.clcosdk\\:font-semibold{--tw-font-weight:var(--clcosdk-font-weight-semibold);font-weight:var(--clcosdk-font-weight-semibold)}.clcosdk\\:tracking-\\[0\\.12px\\]{--tw-tracking:.12px;letter-spacing:.12px}.clcosdk\\:tracking-\\[0\\.28px\\]{--tw-tracking:.28px;letter-spacing:.28px}.clcosdk\\:break-words{overflow-wrap:break-word}.clcosdk\\:whitespace-nowrap{white-space:nowrap}.clcosdk\\:text-background{color:var(--color-background)}.clcosdk\\:text-brand-primary{color:var(--color-brand-primary)}.clcosdk\\:text-error{color:var(--color-error)}.clcosdk\\:text-positive{color:var(--color-positive)}.clcosdk\\:text-sale-card-text{color:var(--color-sale-card-text)}.clcosdk\\:text-sale-card-text-muted{color:var(--color-sale-card-text-muted)}.clcosdk\\:text-sale-card-text-strong{color:var(--color-sale-card-text-strong)}.clcosdk\\:text-success{color:var(--color-success)}.clcosdk\\:text-text-disabled{color:var(--color-text-disabled)}.clcosdk\\:text-text-inverse{color:var(--color-text-inverse)}.clcosdk\\:text-text-primary{color:var(--color-text-primary)}.clcosdk\\:text-text-secondary{color:var(--color-text-secondary)}.clcosdk\\:text-warning{color:var(--color-warning)}.clcosdk\\:capitalize{text-transform:capitalize}.clcosdk\\:lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.clcosdk\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.clcosdk\\:no-underline{text-decoration-line:none}.clcosdk\\:underline{text-decoration-line:underline}.clcosdk\\:underline-offset-2{text-underline-offset:2px}.clcosdk\\:underline-offset-4{text-underline-offset:4px}.clcosdk\\:opacity-0{opacity:0}.clcosdk\\:opacity-60{opacity:.6}.clcosdk\\:shadow-\\[0_0_0_3px_rgba\\(59\\,130\\,246\\,0\\.2\\)\\]{--tw-shadow:0 0 0 3px var(--tw-shadow-color,#3b82f633);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:shadow-\\[0px_1px_1px_0px_rgba\\(10\\,10\\,10\\,0\\.04\\)\\,0px_8px_12px_0px_rgba\\(10\\,10\\,10\\,0\\.08\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#0a0a0a0a), 0px 8px 12px 0px var(--tw-shadow-color,#0a0a0a14);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:shadow-\\[0px_4px_12px_0px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\,0px_12px_28px_0px_rgba\\(0\\,0\\,0\\,0\\.13\\)\\]{--tw-shadow:0px 4px 12px 0px var(--tw-shadow-color,#00000014), 0px 12px 28px 0px var(--tw-shadow-color,#00000021);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:shadow-\\[var\\(--btn-primary-shadow\\)\\]{--tw-shadow:var(--btn-primary-shadow);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:shadow-card{--tw-shadow:0px 4px 6px -2px var(--tw-shadow-color,#0000000d), 0px 12px 24px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:shadow-dialog{--tw-shadow:var(--shadow-dialog);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:shadow-step-active{--tw-shadow:var(--shadow-step-active);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:transition-\\[background-color\\,border-color\\]{transition-property:background-color,border-color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.clcosdk\\:transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.clcosdk\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.clcosdk\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.clcosdk\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.clcosdk\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.clcosdk\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.clcosdk\\:duration-500{--tw-duration:.5s;transition-duration:.5s}.clcosdk\\:ease-in-out{--tw-ease:var(--clcosdk-ease-in-out);transition-timing-function:var(--clcosdk-ease-in-out)}.clcosdk\\:ease-out{--tw-ease:var(--clcosdk-ease-out);transition-timing-function:var(--clcosdk-ease-out)}.clcosdk\\:outline-none{--tw-outline-style:none;outline-style:none}.clcosdk\\:group-focus-within\\:opacity-100:is(:where(.clcosdk\\:group):focus-within *){opacity:1}@media (hover:hover){.clcosdk\\:group-hover\\:border-sale-card-chrome-emphasis-border:is(:where(.clcosdk\\:group):hover *){border-color:var(--color-sale-card-chrome-emphasis-border)}.clcosdk\\:group-hover\\:bg-sale-card-chrome-emphasis-bg:is(:where(.clcosdk\\:group):hover *){background-color:var(--color-sale-card-chrome-emphasis-bg)}.clcosdk\\:group-hover\\:opacity-100:is(:where(.clcosdk\\:group):hover *){opacity:1}}.clcosdk\\:group-focus-visible\\:border-sale-card-chrome-emphasis-border:is(:where(.clcosdk\\:group):focus-visible *){border-color:var(--color-sale-card-chrome-emphasis-border)}.clcosdk\\:group-focus-visible\\:bg-sale-card-chrome-emphasis-bg:is(:where(.clcosdk\\:group):focus-visible *){background-color:var(--color-sale-card-chrome-emphasis-bg)}.clcosdk\\:placeholder\\:text-text-disabled::placeholder{color:var(--color-text-disabled)}@media (hover:hover){.clcosdk\\:hover\\:scale-\\[1\\.02\\]:hover{scale:1.02}.clcosdk\\:hover\\:border-text-disabled:hover{border-color:var(--color-text-disabled)}.clcosdk\\:hover\\:bg-\\[\\#fcdcd8\\]:hover{background-color:#fcdcd8}.clcosdk\\:hover\\:bg-border:hover{background-color:var(--color-border)}.clcosdk\\:hover\\:bg-brand-primary:hover{background-color:var(--color-brand-primary)}.clcosdk\\:hover\\:bg-brand-primary-hover:hover{background-color:var(--color-brand-primary-hover)}.clcosdk\\:hover\\:bg-section:hover{background-color:var(--color-section)}.clcosdk\\:hover\\:bg-surface:hover{background-color:var(--color-surface)}.clcosdk\\:hover\\:text-\\[\\#8b1a13\\]:hover{color:#8b1a13}.clcosdk\\:hover\\:text-text-primary:hover{color:var(--color-text-primary)}.clcosdk\\:hover\\:underline:hover{text-decoration-line:underline}.clcosdk\\:hover\\:opacity-80:hover{opacity:.8}.clcosdk\\:hover\\:opacity-90:hover{opacity:.9}}.clcosdk\\:focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:focus-visible\\:ring-gray-400:focus-visible{--tw-ring-color:var(--clcosdk-color-gray-400)}.clcosdk\\:focus-visible\\:ring-gray-500:focus-visible{--tw-ring-color:var(--clcosdk-color-gray-500)}.clcosdk\\:focus-visible\\:ring-red-400:focus-visible{--tw-ring-color:var(--clcosdk-color-red-400)}.clcosdk\\:focus-visible\\:ring-red-500:focus-visible{--tw-ring-color:var(--clcosdk-color-red-500)}.clcosdk\\:focus-visible\\:ring-sale-card-focus-ring:focus-visible{--tw-ring-color:var(--color-sale-card-focus-ring)}.clcosdk\\:focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.clcosdk\\:focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.clcosdk\\:active\\:bg-\\[\\#d9d9d9\\]:active{background-color:#d9d9d9}.clcosdk\\:active\\:bg-\\[\\#f9c9c4\\]:active{background-color:#f9c9c4}.clcosdk\\:active\\:bg-border:active{background-color:var(--color-border)}.clcosdk\\:active\\:bg-brand-primary-active:active{background-color:var(--color-brand-primary-active)}.clcosdk\\:active\\:text-\\[\\#6d1510\\]:active{color:#6d1510}.clcosdk\\:active\\:opacity-80:active{opacity:.8}.clcosdk\\:disabled\\:pointer-events-none:disabled{pointer-events:none}.clcosdk\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.clcosdk\\:disabled\\:opacity-40:disabled{opacity:.4}.clcosdk\\:disabled\\:opacity-50:disabled{opacity:.5}.clcosdk\\:aria-disabled\\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.clcosdk\\:aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}@media not all and (min-width:48rem){.clcosdk\\:max-md\\:hidden{display:none}.clcosdk\\:max-md\\:w-full{width:100%}.clcosdk\\:max-md\\:justify-start{justify-content:flex-start}.clcosdk\\:max-md\\:gap-4{gap:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:max-md\\:rounded-none{border-radius:0}.clcosdk\\:max-md\\:border-0{border-style:var(--tw-border-style);border-width:0}.clcosdk\\:max-md\\:bg-transparent{background-color:#0000}.clcosdk\\:max-md\\:p-0{padding:0}@media (hover:hover){.clcosdk\\:max-md\\:hover\\:scale-100:hover{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}}}@media (min-width:40rem){.clcosdk\\:sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:48rem){.clcosdk\\:md\\:right-\\[-10\\%\\]{right:-10%}.clcosdk\\:md\\:order-1{order:1}.clcosdk\\:md\\:order-2{order:2}.clcosdk\\:md\\:hidden{display:none}.clcosdk\\:md\\:size-\\[20rem\\]{width:20rem;height:20rem}.clcosdk\\:md\\:h-9{height:calc(var(--clcosdk-spacing) * 9)}.clcosdk\\:md\\:h-12{height:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:md\\:h-\\[54px\\]{height:54px}.clcosdk\\:md\\:w-9{width:calc(var(--clcosdk-spacing) * 9)}.clcosdk\\:md\\:w-12{width:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.clcosdk\\:md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.clcosdk\\:md\\:grid-cols-\\[minmax\\(0\\,11fr\\)_minmax\\(0\\,8fr\\)\\]{grid-template-columns:minmax(0,11fr) minmax(0,8fr)}.clcosdk\\:md\\:flex-row{flex-direction:row}.clcosdk\\:md\\:items-center{align-items:center}.clcosdk\\:md\\:items-end{align-items:flex-end}.clcosdk\\:md\\:justify-between{justify-content:space-between}.clcosdk\\:md\\:justify-end{justify-content:flex-end}.clcosdk\\:md\\:gap-3{gap:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:md\\:gap-6{gap:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:md\\:gap-x-12{column-gap:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:md\\:self-end{align-self:flex-end}.clcosdk\\:md\\:rounded-\\[40px\\]{border-radius:40px}.clcosdk\\:md\\:rounded-card{border-radius:24px}.clcosdk\\:md\\:rounded-dialog{border-radius:32px}.clcosdk\\:md\\:p-4{padding:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:md\\:p-6{padding:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:md\\:p-8{padding:calc(var(--clcosdk-spacing) * 8)}.clcosdk\\:md\\:px-6{padding-inline:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:md\\:px-8{padding-inline:calc(var(--clcosdk-spacing) * 8)}.clcosdk\\:md\\:py-2{padding-block:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:md\\:pr-2{padding-right:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:md\\:pr-4{padding-right:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:md\\:pl-4{padding-left:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:md\\:text-base{font-size:var(--clcosdk-text-base);line-height:var(--tw-leading,var(--clcosdk-text-base--line-height))}.clcosdk\\:md\\:text-\\[14px\\]{font-size:14px}.clcosdk\\:md\\:text-\\[16px\\]{font-size:16px}.clcosdk\\:md\\:text-\\[18px\\]{font-size:18px}.clcosdk\\:md\\:text-\\[28px\\]{font-size:28px}.clcosdk\\:md\\:leading-\\[120\\%\\]{--tw-leading:120%;line-height:120%}.clcosdk\\:md\\:leading-\\[160\\%\\]{--tw-leading:160%;line-height:160%}}@media (prefers-color-scheme:dark){@media (hover:hover){.clcosdk\\:dark\\:hover\\:bg-\\[rgba\\(248\\,113\\,113\\,0\\.20\\)\\]:not(:where(.light,.light *)):hover{background-color:#f8717133}}}@media (hover:hover){.clcosdk\\:dark\\:hover\\:bg-\\[rgba\\(248\\,113\\,113\\,0\\.20\\)\\]:where(.dark,.dark *):hover{background-color:#f8717133}}@media (prefers-color-scheme:dark){@media (hover:hover){.clcosdk\\:dark\\:hover\\:text-\\[\\#fca5a5\\]:not(:where(.light,.light *)):hover{color:#fca5a5}}}@media (hover:hover){.clcosdk\\:dark\\:hover\\:text-\\[\\#fca5a5\\]:where(.dark,.dark *):hover{color:#fca5a5}}@media (prefers-color-scheme:dark){.clcosdk\\:dark\\:active\\:bg-\\[rgba\\(248\\,113\\,113\\,0\\.30\\)\\]:not(:where(.light,.light *)):active{background-color:#f871714d}}.clcosdk\\:dark\\:active\\:bg-\\[rgba\\(248\\,113\\,113\\,0\\.30\\)\\]:where(.dark,.dark *):active{background-color:#f871714d}@media (prefers-color-scheme:dark){.clcosdk\\:dark\\:active\\:bg-divider:not(:where(.light,.light *)):active{background-color:var(--color-divider)}}.clcosdk\\:dark\\:active\\:bg-divider:where(.dark,.dark *):active{background-color:var(--color-divider)}@media (prefers-color-scheme:dark){.clcosdk\\:dark\\:active\\:text-\\[\\#f87171\\]:not(:where(.light,.light *)):active{color:#f87171}}.clcosdk\\:dark\\:active\\:text-\\[\\#f87171\\]:where(.dark,.dark *):active{color:#f87171}.clcosdk\\:\\[\\&_circle\\]\\:fill-error-subtle circle{fill:var(--color-error-subtle)}.clcosdk\\:\\[\\&_circle\\]\\:fill-success-subtle circle{fill:var(--color-success-subtle)}.clcosdk\\:\\[\\&_circle\\]\\:fill-warning-subtle circle{fill:var(--color-warning-subtle)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}';
|
|
1099
|
+
var sdkStyles = '/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--clcosdk-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--clcosdk-color-red-400:oklch(70.4% .191 22.216);--clcosdk-color-red-500:oklch(63.7% .237 25.331);--clcosdk-color-amber-500:oklch(76.9% .188 70.08);--clcosdk-color-gray-400:oklch(70.7% .022 261.325);--clcosdk-color-gray-500:oklch(55.1% .027 264.364);--clcosdk-color-black:#000;--clcosdk-spacing:.25rem;--clcosdk-container-sm:24rem;--clcosdk-container-md:28rem;--clcosdk-container-xl:36rem;--clcosdk-text-xs:.75rem;--clcosdk-text-xs--line-height:calc(1 / .75);--clcosdk-text-sm:.875rem;--clcosdk-text-sm--line-height:calc(1.25 / .875);--clcosdk-text-base:1rem;--clcosdk-text-base--line-height:calc(1.5 / 1);--clcosdk-text-lg:1.125rem;--clcosdk-text-lg--line-height:calc(1.75 / 1.125);--clcosdk-font-weight-normal:400;--clcosdk-font-weight-medium:500;--clcosdk-font-weight-semibold:600;--clcosdk-radius-md:.375rem;--clcosdk-radius-lg:.5rem;--clcosdk-radius-xl:.75rem;--clcosdk-radius-2xl:1rem;--clcosdk-ease-out:cubic-bezier(0, 0, .2, 1);--clcosdk-ease-in-out:cubic-bezier(.4, 0, .2, 1);--clcosdk-animate-spin:spin 1s linear infinite;--clcosdk-animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--clcosdk-color-brand-primary:var(--color-brand-primary)}}@layer base{.clco-sdk-root{--color-brand-primary:#171717;--color-brand-primary-hover:#000;--color-brand-primary-active:#262626;--color-accent:#2b3a67;--color-accent-hover:#243057;--color-accent-active:#1d2647;--color-accent-focus:#c7d2fe;--color-accent-subtle:#eef1f8;--color-text-primary:#171717;--color-text-secondary:#8c8c8c;--color-text-disabled:#d1d1d1;--color-text-inverse:#fff;--color-background:#fff;--color-surface:#fafafa;--color-section:#f3f3f3;--color-border:#e5e5e5;--color-divider:#ececec;--color-overlay:#00000080;--color-positive:#15803d;--color-positive-subtle:#dcfce7;--color-negative:#dc2626;--color-negative-subtle:#fee2e2;--color-success:#2c8c5e;--color-success-subtle:#e6f4ec;--color-success-border:#cfe9db;--color-warning:#e08a1a;--color-warning-subtle:#fff7ed;--color-warning-border:#fdead7;--color-error:#b42318;--color-error-subtle:#feeceb;--color-error-border:#fbd5d2;--shadow-step-active:0px 0px 10px 0px #0000001a;--shadow-dialog:0px 8px 32px 0px #0000001a;--btn-primary-gradient:linear-gradient(180deg, #262626 0%, #1c1c1c 50%, #0f0f0f 100%);--btn-primary-shadow:inset 0px -1px 3px 0px #00000059, inset 0px 1px 2px 0px #ffffff2e, inset 0px 1px 0px 0px #ffffff1a;--sale-card-surface:linear-gradient(to top, #0a0a0a 0%, #1a1a1a 100%);--color-sale-card-text:#f4f4f5;--color-sale-card-text-muted:#a1a1aa;--color-sale-card-text-strong:#fff;--color-sale-card-border:#ffffff40;--color-sale-card-chrome-border:#ffffff4d;--color-sale-card-chrome-bg:#ffffff26;--color-sale-card-chrome-emphasis-border:#fff6;--color-sale-card-chrome-emphasis-bg:#ffffff40;--color-sale-card-focus-ring:#ffffff80;--display-on-light:block;--display-on-dark:none}@media (prefers-color-scheme:dark){.clco-sdk-root:not(:where(.light,.light *)){--color-brand-primary:#f4f4f5;--color-brand-primary-hover:#fff;--color-brand-primary-active:#e4e4e7;--color-accent:#6f82c9;--color-accent-hover:#8799e4;--color-accent-active:#5b6fcf;--color-accent-focus:#6f82c959;--color-accent-subtle:#6f82c91f;--color-text-primary:#f4f4f5;--color-text-secondary:#a1a1aa;--color-text-disabled:#71717a;--color-text-inverse:#171717;--color-background:#0f1115;--color-surface:#161a20;--color-section:#20242c;--color-border:#2a2e35;--color-divider:#323741;--color-overlay:#000000b3;--color-positive:#22c55e;--color-positive-subtle:#22c55e1f;--color-negative:#ef4444;--color-negative-subtle:#ef44441f;--color-success:#34d399;--color-success-subtle:#34d3991f;--color-success-border:#34d39940;--color-warning:#f59e0b;--color-warning-subtle:#f59e0b1f;--color-warning-border:#f59e0b40;--color-error:#f87171;--color-error-subtle:#f871711f;--color-error-border:#f8717140;--shadow-step-active:0px 0px 10px 0px #00000080;--shadow-dialog:0px 8px 32px 0px #0009;--btn-primary-gradient:linear-gradient(180deg, #fafafa 0%, #f0f0f0 50%, #e4e4e7 100%);--btn-primary-shadow:inset 0px -1px 3px 0px #0000001f, inset 0px 1px 2px 0px #fff9, inset 0px 1px 0px 0px #fff6;--display-on-light:none;--display-on-dark:block}}:where(.dark,.dark *) .clco-sdk-root{--color-brand-primary:#f4f4f5;--color-brand-primary-hover:#fff;--color-brand-primary-active:#e4e4e7;--color-accent:#6f82c9;--color-accent-hover:#8799e4;--color-accent-active:#5b6fcf;--color-accent-focus:#6f82c959;--color-accent-subtle:#6f82c91f;--color-text-primary:#f4f4f5;--color-text-secondary:#a1a1aa;--color-text-disabled:#71717a;--color-text-inverse:#171717;--color-background:#0f1115;--color-surface:#161a20;--color-section:#20242c;--color-border:#2a2e35;--color-divider:#323741;--color-overlay:#000000b3;--color-positive:#22c55e;--color-positive-subtle:#22c55e1f;--color-negative:#ef4444;--color-negative-subtle:#ef44441f;--color-success:#34d399;--color-success-subtle:#34d3991f;--color-success-border:#34d39940;--color-warning:#f59e0b;--color-warning-subtle:#f59e0b1f;--color-warning-border:#f59e0b40;--color-error:#f87171;--color-error-subtle:#f871711f;--color-error-border:#f8717140;--shadow-step-active:0px 0px 10px 0px #00000080;--shadow-dialog:0px 8px 32px 0px #0009;--btn-primary-gradient:linear-gradient(180deg, #fafafa 0%, #f0f0f0 50%, #e4e4e7 100%);--btn-primary-shadow:inset 0px -1px 3px 0px #0000001f, inset 0px 1px 2px 0px #fff9, inset 0px 1px 0px 0px #fff6;--display-on-light:none;--display-on-dark:block}.clco-sdk-root{color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif}.clco-sdk-root *,.clco-sdk-root :before,.clco-sdk-root :after{box-sizing:border-box}.clco-sdk-root button{appearance:none;cursor:pointer;font:inherit;color:inherit;background:0 0;border:none;padding:0}.clco-sdk-root input,.clco-sdk-root textarea,.clco-sdk-root select{font:inherit;color:inherit;background:0 0;border:none;border-radius:0;padding:0}.clco-sdk-root a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}.clco-sdk-root ul,.clco-sdk-root ol{margin:0;padding:0;list-style:none}.clco-sdk-root h1,.clco-sdk-root h2,.clco-sdk-root h3,.clco-sdk-root h4,.clco-sdk-root h5,.clco-sdk-root h6,.clco-sdk-root p,.clco-sdk-root figure,.clco-sdk-root blockquote,.clco-sdk-root dl,.clco-sdk-root dd,.clco-sdk-root pre{margin:0}.clco-sdk-root img,.clco-sdk-root svg{max-width:100%;display:block}@keyframes clco-status-ping{0%{opacity:.7;transform:scale(1)}75%,to{opacity:0;transform:scale(3.25)}}.clco-sdk-root .clcosdk-status-dot-ping{animation:1.6s cubic-bezier(0,0,.2,1) infinite clco-status-ping}.clco-sdk-root .clcosdk-on-light{display:var(--display-on-light)}.clco-sdk-root .clcosdk-on-dark{display:var(--display-on-dark)}@media (prefers-reduced-motion:reduce){.clco-sdk-root .clcosdk-status-dot-ping{opacity:0;animation:none}}}@layer components;@layer utilities{.clcosdk\\:pointer-events-none{pointer-events:none}.clcosdk\\:invisible{visibility:hidden}.clcosdk\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.clcosdk\\:absolute{position:absolute}.clcosdk\\:fixed{position:fixed}.clcosdk\\:relative{position:relative}.clcosdk\\:inset-0{inset:0}.clcosdk\\:top-1\\/2{top:50%}.clcosdk\\:top-4{top:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:top-full{top:100%}.clcosdk\\:-right-0\\.5{right:calc(var(--clcosdk-spacing) * -.5)}.clcosdk\\:right-4{right:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:right-\\[-14\\%\\]{right:-14%}.clcosdk\\:-bottom-0\\.5{bottom:calc(var(--clcosdk-spacing) * -.5)}.clcosdk\\:bottom-full{bottom:100%}.clcosdk\\:left-1\\/2{left:50%}.clcosdk\\:z-0{z-index:0}.clcosdk\\:z-10{z-index:10}.clcosdk\\:z-50{z-index:50}.clcosdk\\:order-1{order:1}.clcosdk\\:order-2{order:2}.clcosdk\\:-mx-2{margin-inline:calc(var(--clcosdk-spacing) * -2)}.clcosdk\\:mt-2{margin-top:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:mt-4{margin-top:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:mt-auto{margin-top:auto}.clcosdk\\:mb-2{margin-bottom:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:flex{display:flex}.clcosdk\\:grid{display:grid}.clcosdk\\:inline-flex{display:inline-flex}.clcosdk\\:size-2{width:calc(var(--clcosdk-spacing) * 2);height:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:size-3{width:calc(var(--clcosdk-spacing) * 3);height:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:size-3\\.5{width:calc(var(--clcosdk-spacing) * 3.5);height:calc(var(--clcosdk-spacing) * 3.5)}.clcosdk\\:size-4{width:calc(var(--clcosdk-spacing) * 4);height:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:size-5{width:calc(var(--clcosdk-spacing) * 5);height:calc(var(--clcosdk-spacing) * 5)}.clcosdk\\:size-10{width:calc(var(--clcosdk-spacing) * 10);height:calc(var(--clcosdk-spacing) * 10)}.clcosdk\\:size-12{width:calc(var(--clcosdk-spacing) * 12);height:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:size-16{width:calc(var(--clcosdk-spacing) * 16);height:calc(var(--clcosdk-spacing) * 16)}.clcosdk\\:size-24{width:calc(var(--clcosdk-spacing) * 24);height:calc(var(--clcosdk-spacing) * 24)}.clcosdk\\:size-\\[15rem\\]{width:15rem;height:15rem}.clcosdk\\:size-full{width:100%;height:100%}.clcosdk\\:h-1{height:var(--clcosdk-spacing)}.clcosdk\\:h-3{height:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:h-4{height:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:h-5{height:calc(var(--clcosdk-spacing) * 5)}.clcosdk\\:h-6{height:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:h-8{height:calc(var(--clcosdk-spacing) * 8)}.clcosdk\\:h-9{height:calc(var(--clcosdk-spacing) * 9)}.clcosdk\\:h-10{height:calc(var(--clcosdk-spacing) * 10)}.clcosdk\\:h-11{height:calc(var(--clcosdk-spacing) * 11)}.clcosdk\\:h-12{height:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:h-14{height:calc(var(--clcosdk-spacing) * 14)}.clcosdk\\:h-\\[1em\\]{height:1em}.clcosdk\\:h-\\[18px\\]{height:18px}.clcosdk\\:h-\\[54px\\]{height:54px}.clcosdk\\:h-\\[71px\\]{height:71px}.clcosdk\\:h-auto{height:auto}.clcosdk\\:h-full{height:100%}.clcosdk\\:h-px{height:1px}.clcosdk\\:max-h-\\[92vh\\]{max-height:92vh}.clcosdk\\:max-h-full{max-height:100%}.clcosdk\\:min-h-0{min-height:0}.clcosdk\\:min-h-9{min-height:calc(var(--clcosdk-spacing) * 9)}.clcosdk\\:min-h-40{min-height:calc(var(--clcosdk-spacing) * 40)}.clcosdk\\:min-h-\\[1lh\\]{min-height:1lh}.clcosdk\\:min-h-screen{min-height:100vh}.clcosdk\\:w-1{width:var(--clcosdk-spacing)}.clcosdk\\:w-1\\/2{width:50%}.clcosdk\\:w-2\\/5{width:40%}.clcosdk\\:w-3\\/5{width:60%}.clcosdk\\:w-4{width:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:w-5{width:calc(var(--clcosdk-spacing) * 5)}.clcosdk\\:w-6{width:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:w-8{width:calc(var(--clcosdk-spacing) * 8)}.clcosdk\\:w-10{width:calc(var(--clcosdk-spacing) * 10)}.clcosdk\\:w-12{width:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:w-16{width:calc(var(--clcosdk-spacing) * 16)}.clcosdk\\:w-20{width:calc(var(--clcosdk-spacing) * 20)}.clcosdk\\:w-24{width:calc(var(--clcosdk-spacing) * 24)}.clcosdk\\:w-28{width:calc(var(--clcosdk-spacing) * 28)}.clcosdk\\:w-32{width:calc(var(--clcosdk-spacing) * 32)}.clcosdk\\:w-40{width:calc(var(--clcosdk-spacing) * 40)}.clcosdk\\:w-48{width:calc(var(--clcosdk-spacing) * 48)}.clcosdk\\:w-80{width:calc(var(--clcosdk-spacing) * 80)}.clcosdk\\:w-96{width:calc(var(--clcosdk-spacing) * 96)}.clcosdk\\:w-\\[16px\\]{width:16px}.clcosdk\\:w-\\[28rem\\]{width:28rem}.clcosdk\\:w-\\[36rem\\]{width:36rem}.clcosdk\\:w-\\[448px\\]{width:448px}.clcosdk\\:w-\\[calc\\(100\\%\\+16px\\)\\]{width:calc(100% + 16px)}.clcosdk\\:w-component{width:448px}.clcosdk\\:w-fit{width:fit-content}.clcosdk\\:w-full{width:100%}.clcosdk\\:w-max{width:max-content}.clcosdk\\:max-w-\\[16rem\\]{max-width:16rem}.clcosdk\\:max-w-\\[28rem\\]{max-width:28rem}.clcosdk\\:max-w-\\[30rem\\]{max-width:30rem}.clcosdk\\:max-w-\\[40rem\\]{max-width:40rem}.clcosdk\\:max-w-\\[56rem\\]{max-width:56rem}.clcosdk\\:max-w-\\[64rem\\]{max-width:64rem}.clcosdk\\:max-w-\\[760px\\]{max-width:760px}.clcosdk\\:max-w-full{max-width:100%}.clcosdk\\:max-w-md{max-width:var(--clcosdk-container-md)}.clcosdk\\:max-w-sm{max-width:var(--clcosdk-container-sm)}.clcosdk\\:max-w-xl{max-width:var(--clcosdk-container-xl)}.clcosdk\\:min-w-0{min-width:0}.clcosdk\\:flex-1{flex:1}.clcosdk\\:shrink-0{flex-shrink:0}.clcosdk\\:-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.clcosdk\\:-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.clcosdk\\:rotate-90{rotate:90deg}.clcosdk\\:rotate-180{rotate:180deg}.clcosdk\\:animate-pulse{animation:var(--clcosdk-animate-pulse)}.clcosdk\\:animate-spin{animation:var(--clcosdk-animate-spin)}.clcosdk\\:cursor-pointer{cursor:pointer}.clcosdk\\:cursor-text{cursor:text}.clcosdk\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.clcosdk\\:grid-rows-\\[0fr\\]{grid-template-rows:0fr}.clcosdk\\:grid-rows-\\[1fr\\]{grid-template-rows:1fr}.clcosdk\\:flex-col{flex-direction:column}.clcosdk\\:flex-row{flex-direction:row}.clcosdk\\:flex-wrap{flex-wrap:wrap}.clcosdk\\:items-center{align-items:center}.clcosdk\\:items-end{align-items:flex-end}.clcosdk\\:items-start{align-items:flex-start}.clcosdk\\:justify-between{justify-content:space-between}.clcosdk\\:justify-center{justify-content:center}.clcosdk\\:justify-end{justify-content:flex-end}.clcosdk\\:justify-start{justify-content:flex-start}.clcosdk\\:gap-1{gap:var(--clcosdk-spacing)}.clcosdk\\:gap-1\\.5{gap:calc(var(--clcosdk-spacing) * 1.5)}.clcosdk\\:gap-2{gap:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:gap-2\\.5{gap:calc(var(--clcosdk-spacing) * 2.5)}.clcosdk\\:gap-3{gap:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:gap-4{gap:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:gap-6{gap:calc(var(--clcosdk-spacing) * 6)}:where(.clcosdk\\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--clcosdk-spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--clcosdk-spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.clcosdk\\:space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--clcosdk-spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--clcosdk-spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.clcosdk\\:divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.clcosdk\\:divide-divider>:not(:last-child)){border-color:var(--color-divider)}.clcosdk\\:self-start{align-self:flex-start}.clcosdk\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.clcosdk\\:overflow-hidden{overflow:hidden}.clcosdk\\:overflow-y-auto{overflow-y:auto}.clcosdk\\:rounded{border-radius:.25rem}.clcosdk\\:rounded-2xl{border-radius:var(--clcosdk-radius-2xl)}.clcosdk\\:rounded-\\[20px\\]{border-radius:20px}.clcosdk\\:rounded-\\[28px\\]{border-radius:28px}.clcosdk\\:rounded-btn{border-radius:12px}.clcosdk\\:rounded-card{border-radius:24px}.clcosdk\\:rounded-full{border-radius:3.40282e38px}.clcosdk\\:rounded-lg{border-radius:var(--clcosdk-radius-lg)}.clcosdk\\:rounded-md{border-radius:var(--clcosdk-radius-md)}.clcosdk\\:rounded-xl{border-radius:var(--clcosdk-radius-xl)}.clcosdk\\:border{border-style:var(--tw-border-style);border-width:1px}.clcosdk\\:border-2{border-style:var(--tw-border-style);border-width:2px}.clcosdk\\:border-\\[1\\.5px\\]{border-style:var(--tw-border-style);border-width:1.5px}.clcosdk\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.clcosdk\\:border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.clcosdk\\:border-accent\\/60{border-color:var(--color-accent)}@supports (color:color-mix(in lab, red, red)){.clcosdk\\:border-accent\\/60{border-color:color-mix(in oklab, var(--color-accent) 60%, transparent)}}.clcosdk\\:border-amber-500{border-color:var(--clcosdk-color-amber-500)}.clcosdk\\:border-background{border-color:var(--color-background)}.clcosdk\\:border-border{border-color:var(--color-border)}.clcosdk\\:border-brand-primary{border-color:var(--color-brand-primary)}.clcosdk\\:border-current{border-color:currentColor}.clcosdk\\:border-divider{border-color:var(--color-divider)}.clcosdk\\:border-error-border{border-color:var(--color-error-border)}.clcosdk\\:border-sale-card-border{border-color:var(--color-sale-card-border)}.clcosdk\\:border-sale-card-chrome-border{border-color:var(--color-sale-card-chrome-border)}.clcosdk\\:border-success-border{border-color:var(--color-success-border)}.clcosdk\\:border-text-primary{border-color:var(--color-text-primary)}.clcosdk\\:border-transparent{border-color:#0000}.clcosdk\\:border-warning-border{border-color:var(--color-warning-border)}.clcosdk\\:border-t-transparent{border-top-color:#0000}.clcosdk\\:bg-background{background-color:var(--color-background)}.clcosdk\\:bg-black\\/50{background-color:var(--clcosdk-color-black)}@supports (color:color-mix(in lab, red, red)){.clcosdk\\:bg-black\\/50{background-color:color-mix(in oklab, var(--clcosdk-color-black) 50%, transparent)}}.clcosdk\\:bg-brand-primary{background-color:var(--color-brand-primary)}.clcosdk\\:bg-divider{background-color:var(--color-divider)}.clcosdk\\:bg-error-subtle{background-color:var(--color-error-subtle)}.clcosdk\\:bg-overlay{background-color:var(--color-overlay)}.clcosdk\\:bg-positive{background-color:var(--color-positive)}.clcosdk\\:bg-positive-subtle{background-color:var(--color-positive-subtle)}.clcosdk\\:bg-sale-card-chrome-bg{background-color:var(--color-sale-card-chrome-bg)}.clcosdk\\:bg-section{background-color:var(--color-section)}.clcosdk\\:bg-success-subtle{background-color:var(--color-success-subtle)}.clcosdk\\:bg-surface{background-color:var(--color-surface)}.clcosdk\\:bg-text-disabled{background-color:var(--color-text-disabled)}.clcosdk\\:bg-text-primary{background-color:var(--color-text-primary)}.clcosdk\\:bg-transparent{background-color:#0000}.clcosdk\\:bg-warning-subtle{background-color:var(--color-warning-subtle)}.clcosdk\\:bg-\\[image\\:var\\(--btn-primary-gradient\\)\\]{background-image:var(--btn-primary-gradient)}.clcosdk\\:bg-\\[image\\:var\\(--sale-card-surface\\)\\]{background-image:var(--sale-card-surface)}.clcosdk\\:object-contain{object-fit:contain}.clcosdk\\:object-cover{object-fit:cover}.clcosdk\\:p-0{padding:0}.clcosdk\\:p-1\\.5{padding:calc(var(--clcosdk-spacing) * 1.5)}.clcosdk\\:p-3{padding:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:p-3\\.5{padding:calc(var(--clcosdk-spacing) * 3.5)}.clcosdk\\:p-4{padding:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:p-5{padding:calc(var(--clcosdk-spacing) * 5)}.clcosdk\\:p-6{padding:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:p-8{padding:calc(var(--clcosdk-spacing) * 8)}.clcosdk\\:p-16{padding:calc(var(--clcosdk-spacing) * 16)}.clcosdk\\:px-2{padding-inline:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:px-3{padding-inline:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:px-4{padding-inline:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:px-5{padding-inline:calc(var(--clcosdk-spacing) * 5)}.clcosdk\\:px-6{padding-inline:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:py-1\\.5{padding-block:calc(var(--clcosdk-spacing) * 1.5)}.clcosdk\\:py-2{padding-block:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:py-3{padding-block:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:py-8{padding-block:calc(var(--clcosdk-spacing) * 8)}.clcosdk\\:py-12{padding-block:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:pt-1{padding-top:var(--clcosdk-spacing)}.clcosdk\\:pt-4{padding-top:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:pt-14{padding-top:calc(var(--clcosdk-spacing) * 14)}.clcosdk\\:pr-1\\.5{padding-right:calc(var(--clcosdk-spacing) * 1.5)}.clcosdk\\:pr-3{padding-right:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:pr-4{padding-right:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:pb-1{padding-bottom:var(--clcosdk-spacing)}.clcosdk\\:pb-4{padding-bottom:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:pl-3{padding-left:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:text-center{text-align:center}.clcosdk\\:text-left{text-align:left}.clcosdk\\:text-right{text-align:right}.clcosdk\\:font-mono{font-family:var(--clcosdk-font-mono)}.clcosdk\\:text-base{font-size:var(--clcosdk-text-base);line-height:var(--tw-leading,var(--clcosdk-text-base--line-height))}.clcosdk\\:text-lg{font-size:var(--clcosdk-text-lg);line-height:var(--tw-leading,var(--clcosdk-text-lg--line-height))}.clcosdk\\:text-sm{font-size:var(--clcosdk-text-sm);line-height:var(--tw-leading,var(--clcosdk-text-sm--line-height))}.clcosdk\\:text-xs{font-size:var(--clcosdk-text-xs);line-height:var(--tw-leading,var(--clcosdk-text-xs--line-height))}.clcosdk\\:text-\\[11px\\]{font-size:11px}.clcosdk\\:text-\\[12px\\]{font-size:12px}.clcosdk\\:text-\\[13px\\]{font-size:13px}.clcosdk\\:text-\\[14px\\]{font-size:14px}.clcosdk\\:text-\\[15px\\]{font-size:15px}.clcosdk\\:text-\\[16px\\]{font-size:16px}.clcosdk\\:text-\\[18px\\]{font-size:18px}.clcosdk\\:text-\\[22px\\]{font-size:22px}.clcosdk\\:text-\\[28px\\]{font-size:28px}.clcosdk\\:text-\\[36px\\]{font-size:36px}.clcosdk\\:text-\\[48px\\]{font-size:48px}.clcosdk\\:text-\\[64px\\]{font-size:64px}.clcosdk\\:leading-\\[105\\%\\]{--tw-leading:105%;line-height:105%}.clcosdk\\:leading-\\[108\\%\\]{--tw-leading:108%;line-height:108%}.clcosdk\\:leading-\\[110\\%\\]{--tw-leading:110%;line-height:110%}.clcosdk\\:leading-\\[120\\%\\]{--tw-leading:120%;line-height:120%}.clcosdk\\:leading-\\[130\\%\\]{--tw-leading:130%;line-height:130%}.clcosdk\\:leading-\\[140\\%\\]{--tw-leading:140%;line-height:140%}.clcosdk\\:leading-\\[150\\%\\]{--tw-leading:150%;line-height:150%}.clcosdk\\:leading-\\[160\\%\\]{--tw-leading:160%;line-height:160%}.clcosdk\\:font-medium{--tw-font-weight:var(--clcosdk-font-weight-medium);font-weight:var(--clcosdk-font-weight-medium)}.clcosdk\\:font-normal{--tw-font-weight:var(--clcosdk-font-weight-normal);font-weight:var(--clcosdk-font-weight-normal)}.clcosdk\\:font-semibold{--tw-font-weight:var(--clcosdk-font-weight-semibold);font-weight:var(--clcosdk-font-weight-semibold)}.clcosdk\\:tracking-\\[0\\.28px\\]{--tw-tracking:.28px;letter-spacing:.28px}.clcosdk\\:break-words{overflow-wrap:break-word}.clcosdk\\:whitespace-nowrap{white-space:nowrap}.clcosdk\\:whitespace-pre{white-space:pre}.clcosdk\\:text-background{color:var(--color-background)}.clcosdk\\:text-brand-primary{color:var(--color-brand-primary)}.clcosdk\\:text-error{color:var(--color-error)}.clcosdk\\:text-positive{color:var(--color-positive)}.clcosdk\\:text-sale-card-text{color:var(--color-sale-card-text)}.clcosdk\\:text-sale-card-text-muted{color:var(--color-sale-card-text-muted)}.clcosdk\\:text-sale-card-text-strong{color:var(--color-sale-card-text-strong)}.clcosdk\\:text-success{color:var(--color-success)}.clcosdk\\:text-text-disabled{color:var(--color-text-disabled)}.clcosdk\\:text-text-inverse{color:var(--color-text-inverse)}.clcosdk\\:text-text-primary{color:var(--color-text-primary)}.clcosdk\\:text-text-secondary{color:var(--color-text-secondary)}.clcosdk\\:text-warning{color:var(--color-warning)}.clcosdk\\:capitalize{text-transform:capitalize}.clcosdk\\:lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.clcosdk\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.clcosdk\\:no-underline{text-decoration-line:none}.clcosdk\\:underline{text-decoration-line:underline}.clcosdk\\:underline-offset-2{text-underline-offset:2px}.clcosdk\\:underline-offset-4{text-underline-offset:4px}.clcosdk\\:opacity-0{opacity:0}.clcosdk\\:opacity-60{opacity:.6}.clcosdk\\:shadow-\\[0_0_0_3px_rgba\\(59\\,130\\,246\\,0\\.2\\)\\]{--tw-shadow:0 0 0 3px var(--tw-shadow-color,#3b82f633);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:shadow-\\[0px_1px_1px_0px_rgba\\(10\\,10\\,10\\,0\\.04\\)\\,0px_8px_12px_0px_rgba\\(10\\,10\\,10\\,0\\.08\\)\\]{--tw-shadow:0px 1px 1px 0px var(--tw-shadow-color,#0a0a0a0a), 0px 8px 12px 0px var(--tw-shadow-color,#0a0a0a14);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:shadow-\\[0px_4px_12px_0px_rgba\\(0\\,0\\,0\\,0\\.08\\)\\,0px_12px_28px_0px_rgba\\(0\\,0\\,0\\,0\\.13\\)\\]{--tw-shadow:0px 4px 12px 0px var(--tw-shadow-color,#00000014), 0px 12px 28px 0px var(--tw-shadow-color,#00000021);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:shadow-\\[var\\(--btn-primary-shadow\\)\\]{--tw-shadow:var(--btn-primary-shadow);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:shadow-card{--tw-shadow:0px 4px 6px -2px var(--tw-shadow-color,#0000000d), 0px 12px 24px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:shadow-dialog{--tw-shadow:var(--shadow-dialog);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:shadow-step-active{--tw-shadow:var(--shadow-step-active);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:transition-\\[background-color\\,border-color\\]{transition-property:background-color,border-color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.clcosdk\\:transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.clcosdk\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.clcosdk\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.clcosdk\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.clcosdk\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.clcosdk\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.clcosdk\\:duration-500{--tw-duration:.5s;transition-duration:.5s}.clcosdk\\:ease-in-out{--tw-ease:var(--clcosdk-ease-in-out);transition-timing-function:var(--clcosdk-ease-in-out)}.clcosdk\\:ease-out{--tw-ease:var(--clcosdk-ease-out);transition-timing-function:var(--clcosdk-ease-out)}.clcosdk\\:outline-none{--tw-outline-style:none;outline-style:none}.clcosdk\\:group-focus-within\\:opacity-100:is(:where(.clcosdk\\:group):focus-within *){opacity:1}@media (hover:hover){.clcosdk\\:group-hover\\:border-sale-card-chrome-emphasis-border:is(:where(.clcosdk\\:group):hover *){border-color:var(--color-sale-card-chrome-emphasis-border)}.clcosdk\\:group-hover\\:bg-sale-card-chrome-emphasis-bg:is(:where(.clcosdk\\:group):hover *){background-color:var(--color-sale-card-chrome-emphasis-bg)}.clcosdk\\:group-hover\\:opacity-100:is(:where(.clcosdk\\:group):hover *){opacity:1}}.clcosdk\\:group-focus-visible\\:border-sale-card-chrome-emphasis-border:is(:where(.clcosdk\\:group):focus-visible *){border-color:var(--color-sale-card-chrome-emphasis-border)}.clcosdk\\:group-focus-visible\\:bg-sale-card-chrome-emphasis-bg:is(:where(.clcosdk\\:group):focus-visible *){background-color:var(--color-sale-card-chrome-emphasis-bg)}.clcosdk\\:placeholder\\:text-text-disabled::placeholder{color:var(--color-text-disabled)}@media (hover:hover){.clcosdk\\:hover\\:scale-\\[1\\.02\\]:hover{scale:1.02}.clcosdk\\:hover\\:border-text-disabled:hover{border-color:var(--color-text-disabled)}.clcosdk\\:hover\\:bg-\\[\\#fcdcd8\\]:hover{background-color:#fcdcd8}.clcosdk\\:hover\\:bg-border:hover{background-color:var(--color-border)}.clcosdk\\:hover\\:bg-brand-primary:hover{background-color:var(--color-brand-primary)}.clcosdk\\:hover\\:bg-brand-primary-hover:hover{background-color:var(--color-brand-primary-hover)}.clcosdk\\:hover\\:bg-section:hover{background-color:var(--color-section)}.clcosdk\\:hover\\:bg-surface:hover{background-color:var(--color-surface)}.clcosdk\\:hover\\:text-\\[\\#8b1a13\\]:hover{color:#8b1a13}.clcosdk\\:hover\\:text-text-primary:hover{color:var(--color-text-primary)}.clcosdk\\:hover\\:underline:hover{text-decoration-line:underline}.clcosdk\\:hover\\:opacity-80:hover{opacity:.8}.clcosdk\\:hover\\:opacity-90:hover{opacity:.9}}.clcosdk\\:focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.clcosdk\\:focus-visible\\:ring-gray-400:focus-visible{--tw-ring-color:var(--clcosdk-color-gray-400)}.clcosdk\\:focus-visible\\:ring-gray-500:focus-visible{--tw-ring-color:var(--clcosdk-color-gray-500)}.clcosdk\\:focus-visible\\:ring-red-400:focus-visible{--tw-ring-color:var(--clcosdk-color-red-400)}.clcosdk\\:focus-visible\\:ring-red-500:focus-visible{--tw-ring-color:var(--clcosdk-color-red-500)}.clcosdk\\:focus-visible\\:ring-sale-card-focus-ring:focus-visible{--tw-ring-color:var(--color-sale-card-focus-ring)}.clcosdk\\:focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.clcosdk\\:focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.clcosdk\\:active\\:bg-\\[\\#d9d9d9\\]:active{background-color:#d9d9d9}.clcosdk\\:active\\:bg-\\[\\#f9c9c4\\]:active{background-color:#f9c9c4}.clcosdk\\:active\\:bg-border:active{background-color:var(--color-border)}.clcosdk\\:active\\:bg-brand-primary-active:active{background-color:var(--color-brand-primary-active)}.clcosdk\\:active\\:text-\\[\\#6d1510\\]:active{color:#6d1510}.clcosdk\\:active\\:opacity-80:active{opacity:.8}.clcosdk\\:disabled\\:pointer-events-none:disabled{pointer-events:none}.clcosdk\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.clcosdk\\:disabled\\:opacity-40:disabled{opacity:.4}.clcosdk\\:disabled\\:opacity-50:disabled{opacity:.5}.clcosdk\\:aria-disabled\\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.clcosdk\\:aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}@media not all and (min-width:48rem){.clcosdk\\:max-md\\:hidden{display:none}.clcosdk\\:max-md\\:w-full{width:100%}.clcosdk\\:max-md\\:justify-start{justify-content:flex-start}.clcosdk\\:max-md\\:gap-4{gap:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:max-md\\:rounded-none{border-radius:0}.clcosdk\\:max-md\\:border-0{border-style:var(--tw-border-style);border-width:0}.clcosdk\\:max-md\\:bg-transparent{background-color:#0000}.clcosdk\\:max-md\\:p-0{padding:0}@media (hover:hover){.clcosdk\\:max-md\\:hover\\:scale-100:hover{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}}}@media (min-width:40rem){.clcosdk\\:sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:48rem){.clcosdk\\:md\\:right-\\[-10\\%\\]{right:-10%}.clcosdk\\:md\\:order-1{order:1}.clcosdk\\:md\\:order-2{order:2}.clcosdk\\:md\\:hidden{display:none}.clcosdk\\:md\\:size-\\[20rem\\]{width:20rem;height:20rem}.clcosdk\\:md\\:h-9{height:calc(var(--clcosdk-spacing) * 9)}.clcosdk\\:md\\:h-12{height:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:md\\:h-\\[54px\\]{height:54px}.clcosdk\\:md\\:w-9{width:calc(var(--clcosdk-spacing) * 9)}.clcosdk\\:md\\:w-12{width:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.clcosdk\\:md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.clcosdk\\:md\\:grid-cols-\\[minmax\\(0\\,11fr\\)_minmax\\(0\\,8fr\\)\\]{grid-template-columns:minmax(0,11fr) minmax(0,8fr)}.clcosdk\\:md\\:flex-row{flex-direction:row}.clcosdk\\:md\\:items-center{align-items:center}.clcosdk\\:md\\:items-end{align-items:flex-end}.clcosdk\\:md\\:justify-between{justify-content:space-between}.clcosdk\\:md\\:justify-end{justify-content:flex-end}.clcosdk\\:md\\:gap-3{gap:calc(var(--clcosdk-spacing) * 3)}.clcosdk\\:md\\:gap-6{gap:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:md\\:gap-x-12{column-gap:calc(var(--clcosdk-spacing) * 12)}.clcosdk\\:md\\:self-end{align-self:flex-end}.clcosdk\\:md\\:rounded-\\[40px\\]{border-radius:40px}.clcosdk\\:md\\:rounded-card{border-radius:24px}.clcosdk\\:md\\:rounded-dialog{border-radius:32px}.clcosdk\\:md\\:p-4{padding:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:md\\:p-6{padding:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:md\\:p-8{padding:calc(var(--clcosdk-spacing) * 8)}.clcosdk\\:md\\:px-6{padding-inline:calc(var(--clcosdk-spacing) * 6)}.clcosdk\\:md\\:px-8{padding-inline:calc(var(--clcosdk-spacing) * 8)}.clcosdk\\:md\\:py-2{padding-block:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:md\\:pr-2{padding-right:calc(var(--clcosdk-spacing) * 2)}.clcosdk\\:md\\:pr-4{padding-right:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:md\\:pl-4{padding-left:calc(var(--clcosdk-spacing) * 4)}.clcosdk\\:md\\:text-base{font-size:var(--clcosdk-text-base);line-height:var(--tw-leading,var(--clcosdk-text-base--line-height))}.clcosdk\\:md\\:text-\\[14px\\]{font-size:14px}.clcosdk\\:md\\:text-\\[16px\\]{font-size:16px}.clcosdk\\:md\\:text-\\[18px\\]{font-size:18px}.clcosdk\\:md\\:text-\\[28px\\]{font-size:28px}.clcosdk\\:md\\:leading-\\[120\\%\\]{--tw-leading:120%;line-height:120%}.clcosdk\\:md\\:leading-\\[160\\%\\]{--tw-leading:160%;line-height:160%}}@media (prefers-color-scheme:dark){@media (hover:hover){.clcosdk\\:dark\\:hover\\:bg-\\[rgba\\(248\\,113\\,113\\,0\\.20\\)\\]:not(:where(.light,.light *)):hover{background-color:#f8717133}}}@media (hover:hover){.clcosdk\\:dark\\:hover\\:bg-\\[rgba\\(248\\,113\\,113\\,0\\.20\\)\\]:where(.dark,.dark *):hover{background-color:#f8717133}}@media (prefers-color-scheme:dark){@media (hover:hover){.clcosdk\\:dark\\:hover\\:text-\\[\\#fca5a5\\]:not(:where(.light,.light *)):hover{color:#fca5a5}}}@media (hover:hover){.clcosdk\\:dark\\:hover\\:text-\\[\\#fca5a5\\]:where(.dark,.dark *):hover{color:#fca5a5}}@media (prefers-color-scheme:dark){.clcosdk\\:dark\\:active\\:bg-\\[rgba\\(248\\,113\\,113\\,0\\.30\\)\\]:not(:where(.light,.light *)):active{background-color:#f871714d}}.clcosdk\\:dark\\:active\\:bg-\\[rgba\\(248\\,113\\,113\\,0\\.30\\)\\]:where(.dark,.dark *):active{background-color:#f871714d}@media (prefers-color-scheme:dark){.clcosdk\\:dark\\:active\\:bg-divider:not(:where(.light,.light *)):active{background-color:var(--color-divider)}}.clcosdk\\:dark\\:active\\:bg-divider:where(.dark,.dark *):active{background-color:var(--color-divider)}@media (prefers-color-scheme:dark){.clcosdk\\:dark\\:active\\:text-\\[\\#f87171\\]:not(:where(.light,.light *)):active{color:#f87171}}.clcosdk\\:dark\\:active\\:text-\\[\\#f87171\\]:where(.dark,.dark *):active{color:#f87171}.clcosdk\\:\\[\\&_circle\\]\\:fill-error-subtle circle{fill:var(--color-error-subtle)}.clcosdk\\:\\[\\&_circle\\]\\:fill-success-subtle circle{fill:var(--color-success-subtle)}.clcosdk\\:\\[\\&_circle\\]\\:fill-warning-subtle circle{fill:var(--color-warning-subtle)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}';
|
|
1100
1100
|
|
|
1101
1101
|
// src/client/CoinListStyleScope.tsx
|
|
1102
1102
|
import { Fragment, jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
@@ -1427,88 +1427,14 @@ function CloseButton({
|
|
|
1427
1427
|
);
|
|
1428
1428
|
}
|
|
1429
1429
|
|
|
1430
|
-
// src/client/components/design-system/logos/CoinListWordmark.tsx
|
|
1431
|
-
import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1432
|
-
function CoinListWordmark(props) {
|
|
1433
|
-
return /* @__PURE__ */ jsxs5(
|
|
1434
|
-
"svg",
|
|
1435
|
-
{
|
|
1436
|
-
width: "638",
|
|
1437
|
-
height: "125",
|
|
1438
|
-
viewBox: "0 0 638 125",
|
|
1439
|
-
fill: "none",
|
|
1440
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1441
|
-
"aria-hidden": "true",
|
|
1442
|
-
...props,
|
|
1443
|
-
children: [
|
|
1444
|
-
/* @__PURE__ */ jsx8(
|
|
1445
|
-
"path",
|
|
1446
|
-
{
|
|
1447
|
-
d: "M68.7724 123.966C74.8226 124.172 80.7696 123.519 86.5104 121.799C97.4076 118.531 106.551 112.58 113.942 103.947C113.942 103.947 113.942 103.947 113.908 103.912C111.879 102.193 109.851 100.507 107.857 98.8218L105.829 97.1363C105.451 96.8268 105.107 96.5172 104.729 96.2076C103.939 95.5197 103.148 94.8662 102.323 94.2126C95.3107 98.8562 87.6104 101.539 79.1196 101.883C74.8569 102.055 70.6287 101.642 66.5036 100.507C59.5252 98.6154 53.2688 95.1757 48.2499 89.7755C39.1059 79.938 35.8745 68.1743 38.2465 55.0348C39.7246 46.9172 43.4373 40.0723 49.1093 34.5C47.9061 34.7408 46.703 35.016 45.5342 35.3943C36.5277 38.2148 29.6181 43.6839 24.6336 51.6639C20.6803 58.0273 18.5834 64.9411 18.3428 72.4739C18.2053 76.7047 18.4803 80.7979 19.4428 84.7879C22.5023 97.2395 29.3087 107.043 39.6903 114.335H39.7934V114.403C40.1372 114.644 40.4809 114.919 40.8247 115.16C49.2812 120.801 58.5971 123.691 68.7724 124.035V123.966Z",
|
|
1448
|
-
fill: "currentColor"
|
|
1449
|
-
}
|
|
1450
|
-
),
|
|
1451
|
-
/* @__PURE__ */ jsx8(
|
|
1452
|
-
"path",
|
|
1453
|
-
{
|
|
1454
|
-
d: "M72.2101 89.052C68.1881 90.8406 64.0286 91.8725 59.6973 92.2165C64.9912 95.209 70.8007 96.688 77.1259 96.8256C79.1885 96.86 81.251 96.6536 83.4167 96.3097C88.745 95.4841 93.6951 93.5579 98.3015 90.7374C93.9358 87.057 89.6044 83.4109 85.2386 79.7305C81.526 83.6861 77.1946 86.8506 72.2101 89.052Z",
|
|
1455
|
-
fill: "currentColor"
|
|
1456
|
-
}
|
|
1457
|
-
),
|
|
1458
|
-
/* @__PURE__ */ jsx8(
|
|
1459
|
-
"path",
|
|
1460
|
-
{
|
|
1461
|
-
d: "M66.9848 0.241609C66.4348 0.276006 65.8848 0.344799 65.3691 0.413592C70.663 1.4111 75.7851 3.13093 80.6321 5.71068C90.0511 10.7326 97.3732 17.9215 102.289 27.4494L104.936 25.1448C107.652 22.7714 110.368 20.3981 113.084 18.0247C106.655 11.1797 99.092 6.15784 90.223 3.06214C84.3103 0.998336 78.2601 -0.0335643 72.0381 0.000832319C70.388 0.000832319 68.7036 0.138419 66.9848 0.241609Z",
|
|
1462
|
-
fill: "currentColor"
|
|
1463
|
-
}
|
|
1464
|
-
),
|
|
1465
|
-
/* @__PURE__ */ jsx8(
|
|
1466
|
-
"path",
|
|
1467
|
-
{
|
|
1468
|
-
d: "M25.4242 107.871C17.4833 97.9988 13.1519 86.7167 13.2207 73.818C13.2207 67.317 14.5614 61.0568 17.1396 55.1062C20.9553 46.2662 26.9711 39.1805 35.4276 34.2962C43.3685 29.687 51.9968 27.8984 61.1752 29.2743C70.5943 30.7189 78.3976 35.2249 84.6541 42.2762C84.6541 42.2762 84.8603 42.5514 84.9634 42.6546C85.8916 41.8291 86.8541 41.0035 87.7823 40.178L88.9167 39.1805C89.8792 38.355 90.8417 37.4951 91.8043 36.6696C94.0043 34.7434 96.17 32.8515 98.3357 30.9253C94.1075 22.223 87.7479 15.55 79.3258 10.8377C69.3911 5.26541 58.7002 3.54557 47.3904 5.02463C41.7528 5.78136 36.3557 7.50119 31.1993 10.0465C13.702 18.7145 1.08597 36.532 0.0546833 58.4771C-0.117196 62.0887 0.123436 65.7348 0.673452 69.3464C2.04849 78.3239 5.34859 86.4759 10.6425 93.8368C14.7676 99.5123 19.6834 104.19 25.3898 107.871H25.4242Z",
|
|
1469
|
-
fill: "currentColor"
|
|
1470
|
-
}
|
|
1471
|
-
),
|
|
1472
|
-
/* @__PURE__ */ jsx8(
|
|
1473
|
-
"path",
|
|
1474
|
-
{
|
|
1475
|
-
fillRule: "evenodd",
|
|
1476
|
-
clipRule: "evenodd",
|
|
1477
|
-
d: "M366.034 58.1654C366.034 46.8145 375.178 37.665 386.419 37.665C397.66 37.665 406.804 46.8145 406.804 58.1654V99.3727H420.727V58.1654C420.727 39.1785 405.395 23.7344 386.419 23.7344C367.444 23.7344 352.112 39.1785 352.112 58.1654V99.3727H366.034V58.1654ZM278.616 38.1466C265.141 38.1466 254.244 49.0503 254.244 62.5338C254.244 76.0173 265.141 86.9211 278.616 86.9211C292.092 86.9211 302.989 76.0173 302.989 62.5338C302.989 49.0503 292.092 38.1466 278.616 38.1466ZM240.321 62.5338C240.321 41.3799 257.475 24.2159 278.616 24.2159C299.757 24.2159 316.911 41.3799 316.911 62.5338C316.911 83.6878 299.757 100.852 278.616 100.852C257.475 100.852 240.321 83.6878 240.321 62.5338ZM208.386 38.2154C195.082 37.9402 184.048 48.5 183.738 61.8115C183.463 75.123 194.017 86.1643 207.32 86.4739C215.192 86.6459 222.274 82.9998 226.812 77.2212L237.777 85.8204C230.662 94.9011 219.455 100.645 207.011 100.37C186.007 99.923 169.335 82.5183 169.782 61.5019C170.229 40.4856 187.623 23.8032 208.627 24.2503C219.524 24.4911 229.287 29.3066 236.059 36.8051L225.712 46.1266C221.415 41.3455 215.227 38.3186 208.317 38.1466L208.386 38.2154ZM340.527 25.2134V99.3727H326.605V25.2134H340.527ZM508.282 25.2134H494.36V99.8542H508.282V25.2134ZM483.154 99.8542H448.846C439.221 99.8542 431.452 92.0462 431.452 82.4495V25.2134H445.374V82.4495C445.374 84.3757 446.921 85.9236 448.846 85.9236H483.154V99.8542ZM583.772 25.2134H567.856H542.83C530.661 25.2134 520.933 35.1885 520.933 47.2273C520.933 59.2661 530.661 69.2412 542.83 69.2412H552.421C556.821 69.2412 560.396 72.8184 560.396 77.1868V77.9435C560.396 82.3463 556.821 85.8892 552.421 85.8892H520.451V99.8198H552.421C564.522 99.8198 574.319 90.0168 574.319 77.9091V77.1524C574.319 65.0448 564.522 55.2417 552.421 55.2417H542.83C538.499 55.2417 534.855 51.6301 534.855 47.1585C534.855 42.6869 538.499 39.0753 542.83 39.0753H574.319H583.772C591.472 39.0753 597.694 45.3011 597.694 53.0059V99.3039H611.617V53.0059C611.617 37.6306 599.138 25.1446 583.772 25.1446V25.2134ZM637.021 39.1441H609.038V25.2134H637.021V39.1441Z",
|
|
1478
|
-
fill: "currentColor"
|
|
1479
|
-
}
|
|
1480
|
-
)
|
|
1481
|
-
]
|
|
1482
|
-
}
|
|
1483
|
-
);
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
// src/client/components/design-system/PoweredByCoinList.tsx
|
|
1487
|
-
import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1488
|
-
function PoweredByCoinList({ className }) {
|
|
1489
|
-
return /* @__PURE__ */ jsxs6(
|
|
1490
|
-
"div",
|
|
1491
|
-
{
|
|
1492
|
-
className: cn(
|
|
1493
|
-
"clcosdk:flex clcosdk:items-center clcosdk:justify-center clcosdk:gap-[5px] clcosdk:text-text-secondary",
|
|
1494
|
-
className
|
|
1495
|
-
),
|
|
1496
|
-
children: [
|
|
1497
|
-
/* @__PURE__ */ jsx9("span", { className: cn(typeClasses.caption, "clcosdk:tracking-[0.12px]"), children: "Powered by" }),
|
|
1498
|
-
/* @__PURE__ */ jsx9(CoinListWordmark, { className: "clcosdk:h-3 clcosdk:w-auto" })
|
|
1499
|
-
]
|
|
1500
|
-
}
|
|
1501
|
-
);
|
|
1502
|
-
}
|
|
1503
|
-
|
|
1504
1430
|
// src/client/components/auth/CoinListSignInCardView.tsx
|
|
1505
|
-
import { jsx as
|
|
1431
|
+
import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1506
1432
|
function CoinListSignInCardView({
|
|
1507
1433
|
state,
|
|
1508
1434
|
onEvent,
|
|
1509
1435
|
className
|
|
1510
1436
|
}) {
|
|
1511
|
-
return /* @__PURE__ */
|
|
1437
|
+
return /* @__PURE__ */ jsx8(CoinListStyleScope, { children: /* @__PURE__ */ jsxs5(
|
|
1512
1438
|
"div",
|
|
1513
1439
|
{
|
|
1514
1440
|
className: cn(
|
|
@@ -1516,18 +1442,18 @@ function CoinListSignInCardView({
|
|
|
1516
1442
|
className
|
|
1517
1443
|
),
|
|
1518
1444
|
children: [
|
|
1519
|
-
state.closable && /* @__PURE__ */
|
|
1445
|
+
state.closable && /* @__PURE__ */ jsx8(
|
|
1520
1446
|
CloseButton,
|
|
1521
1447
|
{
|
|
1522
1448
|
onClick: () => onEvent({ type: "ON_CLOSE" }),
|
|
1523
1449
|
className: "clcosdk:absolute clcosdk:right-4 clcosdk:top-4"
|
|
1524
1450
|
}
|
|
1525
1451
|
),
|
|
1526
|
-
/* @__PURE__ */
|
|
1527
|
-
/* @__PURE__ */
|
|
1528
|
-
/* @__PURE__ */
|
|
1452
|
+
/* @__PURE__ */ jsxs5("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-2", children: [
|
|
1453
|
+
/* @__PURE__ */ jsx8("h3", { className: cn(typeClasses.h3, "clcosdk:text-text-primary"), children: "Sign in to participate" }),
|
|
1454
|
+
/* @__PURE__ */ jsx8("p", { className: cn(typeClasses.body, "clcosdk:text-text-secondary"), children: "A CoinList account is required to participate in this sale." })
|
|
1529
1455
|
] }),
|
|
1530
|
-
/* @__PURE__ */
|
|
1456
|
+
/* @__PURE__ */ jsx8(
|
|
1531
1457
|
CoinListSignInButton,
|
|
1532
1458
|
{
|
|
1533
1459
|
onClick: () => onEvent({ type: "ON_SIGN_IN" }),
|
|
@@ -1535,7 +1461,7 @@ function CoinListSignInCardView({
|
|
|
1535
1461
|
className: "clcosdk:mt-4"
|
|
1536
1462
|
}
|
|
1537
1463
|
),
|
|
1538
|
-
state.type === "error" && /* @__PURE__ */
|
|
1464
|
+
state.type === "error" && /* @__PURE__ */ jsx8(
|
|
1539
1465
|
AlertBanner,
|
|
1540
1466
|
{
|
|
1541
1467
|
variant: "error",
|
|
@@ -1543,8 +1469,7 @@ function CoinListSignInCardView({
|
|
|
1543
1469
|
content: state.message,
|
|
1544
1470
|
className: "clcosdk:mt-4"
|
|
1545
1471
|
}
|
|
1546
|
-
)
|
|
1547
|
-
/* @__PURE__ */ jsx10(PoweredByCoinList, { className: "clcosdk:mt-4" })
|
|
1472
|
+
)
|
|
1548
1473
|
]
|
|
1549
1474
|
}
|
|
1550
1475
|
) });
|
|
@@ -1606,7 +1531,7 @@ function useCoinListSignInCardViewModel(options = {}) {
|
|
|
1606
1531
|
}
|
|
1607
1532
|
|
|
1608
1533
|
// src/client/components/auth/CoinListSignInCardContainer.tsx
|
|
1609
|
-
import { jsx as
|
|
1534
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
1610
1535
|
function CoinListSignInCardContainer({
|
|
1611
1536
|
state = "idle",
|
|
1612
1537
|
onSignIn,
|
|
@@ -1618,7 +1543,7 @@ function CoinListSignInCardContainer({
|
|
|
1618
1543
|
onSignIn,
|
|
1619
1544
|
onClose
|
|
1620
1545
|
});
|
|
1621
|
-
return /* @__PURE__ */
|
|
1546
|
+
return /* @__PURE__ */ jsx9(
|
|
1622
1547
|
CoinListSignInCardView,
|
|
1623
1548
|
{
|
|
1624
1549
|
state: uiState,
|
|
@@ -1633,7 +1558,7 @@ import { useState as useState23 } from "react";
|
|
|
1633
1558
|
|
|
1634
1559
|
// src/client/components/checkout/shared/amount/CheckoutAmountInput.tsx
|
|
1635
1560
|
import { useId } from "react";
|
|
1636
|
-
import { jsx as
|
|
1561
|
+
import { jsx as jsx10, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1637
1562
|
function CheckoutAmountInput({
|
|
1638
1563
|
label,
|
|
1639
1564
|
value,
|
|
@@ -1643,18 +1568,48 @@ function CheckoutAmountInput({
|
|
|
1643
1568
|
disabled = false,
|
|
1644
1569
|
prefix,
|
|
1645
1570
|
prefixTone = "primary",
|
|
1571
|
+
suffix,
|
|
1646
1572
|
action,
|
|
1647
1573
|
className
|
|
1648
1574
|
}) {
|
|
1649
1575
|
const inputId = useId();
|
|
1650
1576
|
const toneClass = invalid ? "clcosdk:text-error" : "clcosdk:text-text-primary";
|
|
1651
1577
|
const prefixToneClass = prefixTone === "muted" ? "clcosdk:text-text-secondary" : toneClass;
|
|
1652
|
-
|
|
1578
|
+
const measure = value || placeholder || "\xA0";
|
|
1579
|
+
const input = /* @__PURE__ */ jsx10(
|
|
1580
|
+
"input",
|
|
1581
|
+
{
|
|
1582
|
+
id: inputId,
|
|
1583
|
+
type: "text",
|
|
1584
|
+
inputMode: "decimal",
|
|
1585
|
+
autoComplete: "off",
|
|
1586
|
+
placeholder,
|
|
1587
|
+
value,
|
|
1588
|
+
disabled,
|
|
1589
|
+
"aria-invalid": invalid,
|
|
1590
|
+
onChange: (event) => {
|
|
1591
|
+
const next = event.target.value;
|
|
1592
|
+
if (!/^\d*\.?\d*$/.test(next)) return;
|
|
1593
|
+
onChange(next);
|
|
1594
|
+
},
|
|
1595
|
+
className: cn(
|
|
1596
|
+
typeClasses.h4,
|
|
1597
|
+
"clcosdk:w-full clcosdk:min-w-0 clcosdk:bg-transparent",
|
|
1598
|
+
"clcosdk:outline-none clcosdk:font-medium clcosdk:placeholder:text-text-disabled",
|
|
1599
|
+
toneClass,
|
|
1600
|
+
// Without a suffix the input fills the row. Sizing it to its text
|
|
1601
|
+
// made an empty field one character wide. With one, it covers the
|
|
1602
|
+
// measured number so the symbol can sit against the last glyph.
|
|
1603
|
+
suffix ? "clcosdk:absolute clcosdk:inset-0" : "clcosdk:flex-1"
|
|
1604
|
+
)
|
|
1605
|
+
}
|
|
1606
|
+
);
|
|
1607
|
+
return /* @__PURE__ */ jsx10(CoinListStyleScope, { children: /* @__PURE__ */ jsxs6(
|
|
1653
1608
|
"div",
|
|
1654
1609
|
{
|
|
1655
1610
|
className: cn("clcosdk:flex clcosdk:flex-col clcosdk:gap-2", className),
|
|
1656
1611
|
children: [
|
|
1657
|
-
/* @__PURE__ */
|
|
1612
|
+
/* @__PURE__ */ jsx10(
|
|
1658
1613
|
"label",
|
|
1659
1614
|
{
|
|
1660
1615
|
htmlFor: inputId,
|
|
@@ -1662,7 +1617,7 @@ function CheckoutAmountInput({
|
|
|
1662
1617
|
children: label
|
|
1663
1618
|
}
|
|
1664
1619
|
),
|
|
1665
|
-
/* @__PURE__ */
|
|
1620
|
+
/* @__PURE__ */ jsxs6(
|
|
1666
1621
|
"div",
|
|
1667
1622
|
{
|
|
1668
1623
|
className: cn(
|
|
@@ -1671,39 +1626,55 @@ function CheckoutAmountInput({
|
|
|
1671
1626
|
invalid ? "clcosdk:border-error-border" : "clcosdk:border-border"
|
|
1672
1627
|
),
|
|
1673
1628
|
children: [
|
|
1674
|
-
/* @__PURE__ */
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1629
|
+
/* @__PURE__ */ jsxs6(
|
|
1630
|
+
"label",
|
|
1631
|
+
{
|
|
1632
|
+
htmlFor: inputId,
|
|
1633
|
+
className: "clcosdk:flex clcosdk:min-w-0 clcosdk:flex-1 clcosdk:cursor-text clcosdk:items-center clcosdk:gap-1",
|
|
1634
|
+
children: [
|
|
1635
|
+
prefix && /* @__PURE__ */ jsx10(
|
|
1636
|
+
"span",
|
|
1637
|
+
{
|
|
1638
|
+
className: cn(
|
|
1639
|
+
typeClasses.h4,
|
|
1640
|
+
"clcosdk:shrink-0 clcosdk:font-medium",
|
|
1641
|
+
prefixToneClass
|
|
1642
|
+
),
|
|
1643
|
+
children: prefix
|
|
1644
|
+
}
|
|
1682
1645
|
),
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1646
|
+
suffix ? (
|
|
1647
|
+
// Only as wide as the number, so the symbol sits against it.
|
|
1648
|
+
// This is what shrinks when the value outgrows the row, which
|
|
1649
|
+
// keeps the symbol whole.
|
|
1650
|
+
/* @__PURE__ */ jsxs6("div", { className: "clcosdk:relative clcosdk:min-w-0 clcosdk:overflow-hidden", children: [
|
|
1651
|
+
/* @__PURE__ */ jsx10(
|
|
1652
|
+
"span",
|
|
1653
|
+
{
|
|
1654
|
+
"aria-hidden": true,
|
|
1655
|
+
className: cn(
|
|
1656
|
+
typeClasses.h4,
|
|
1657
|
+
"clcosdk:invisible clcosdk:whitespace-pre clcosdk:font-medium"
|
|
1658
|
+
),
|
|
1659
|
+
children: measure
|
|
1660
|
+
}
|
|
1661
|
+
),
|
|
1662
|
+
input
|
|
1663
|
+
] })
|
|
1664
|
+
) : input,
|
|
1665
|
+
suffix && /* @__PURE__ */ jsx10(
|
|
1666
|
+
"span",
|
|
1667
|
+
{
|
|
1668
|
+
className: cn(
|
|
1669
|
+
typeClasses.h4,
|
|
1670
|
+
"clcosdk:pointer-events-none clcosdk:shrink-0 clcosdk:whitespace-nowrap clcosdk:font-medium clcosdk:text-text-secondary"
|
|
1671
|
+
),
|
|
1672
|
+
children: suffix
|
|
1673
|
+
}
|
|
1703
1674
|
)
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1675
|
+
]
|
|
1676
|
+
}
|
|
1677
|
+
),
|
|
1707
1678
|
action
|
|
1708
1679
|
]
|
|
1709
1680
|
}
|
|
@@ -1714,16 +1685,16 @@ function CheckoutAmountInput({
|
|
|
1714
1685
|
}
|
|
1715
1686
|
|
|
1716
1687
|
// src/client/components/checkout/shared/common/AssetIcon.tsx
|
|
1717
|
-
import { jsx as
|
|
1688
|
+
import { jsx as jsx11, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1718
1689
|
function AssetIcon({ asset, size = 40, className }) {
|
|
1719
1690
|
const badgeSize = Math.round(size * 0.45);
|
|
1720
|
-
return /* @__PURE__ */
|
|
1691
|
+
return /* @__PURE__ */ jsx11(CoinListStyleScope, { children: /* @__PURE__ */ jsxs7(
|
|
1721
1692
|
"div",
|
|
1722
1693
|
{
|
|
1723
1694
|
className: cn("clcosdk:relative clcosdk:shrink-0", className),
|
|
1724
1695
|
style: { width: size, height: size },
|
|
1725
1696
|
children: [
|
|
1726
|
-
asset.iconUrl ? /* @__PURE__ */
|
|
1697
|
+
asset.iconUrl ? /* @__PURE__ */ jsx11(
|
|
1727
1698
|
"img",
|
|
1728
1699
|
{
|
|
1729
1700
|
src: asset.iconUrl,
|
|
@@ -1732,14 +1703,14 @@ function AssetIcon({ asset, size = 40, className }) {
|
|
|
1732
1703
|
height: size,
|
|
1733
1704
|
className: "clcosdk:size-full clcosdk:rounded-full clcosdk:object-contain"
|
|
1734
1705
|
}
|
|
1735
|
-
) : /* @__PURE__ */
|
|
1706
|
+
) : /* @__PURE__ */ jsx11(
|
|
1736
1707
|
"div",
|
|
1737
1708
|
{
|
|
1738
1709
|
className: "clcosdk:size-full clcosdk:rounded-full clcosdk:bg-section",
|
|
1739
1710
|
"aria-hidden": "true"
|
|
1740
1711
|
}
|
|
1741
1712
|
),
|
|
1742
|
-
asset.network.iconUrl && /* @__PURE__ */
|
|
1713
|
+
asset.network.iconUrl && /* @__PURE__ */ jsx11(
|
|
1743
1714
|
"div",
|
|
1744
1715
|
{
|
|
1745
1716
|
className: cn(
|
|
@@ -1748,7 +1719,7 @@ function AssetIcon({ asset, size = 40, className }) {
|
|
|
1748
1719
|
"clcosdk:border-2 clcosdk:border-background clcosdk:bg-background"
|
|
1749
1720
|
),
|
|
1750
1721
|
style: { width: badgeSize, height: badgeSize },
|
|
1751
|
-
children: /* @__PURE__ */
|
|
1722
|
+
children: /* @__PURE__ */ jsx11(
|
|
1752
1723
|
"img",
|
|
1753
1724
|
{
|
|
1754
1725
|
src: asset.network.iconUrl,
|
|
@@ -1774,12 +1745,12 @@ function selectableOptionBorderClass(selected) {
|
|
|
1774
1745
|
}
|
|
1775
1746
|
|
|
1776
1747
|
// src/client/components/checkout/shared/selection/PayWithAssetCard.tsx
|
|
1777
|
-
import { Fragment as Fragment2, jsx as
|
|
1748
|
+
import { Fragment as Fragment2, jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1778
1749
|
function PayWithAssetCard(props) {
|
|
1779
1750
|
const { asset, balance } = props;
|
|
1780
|
-
const body = /* @__PURE__ */
|
|
1751
|
+
const body = /* @__PURE__ */ jsx12(PayWithAssetBody, { asset, balance });
|
|
1781
1752
|
if (props.variant === "static") {
|
|
1782
|
-
return /* @__PURE__ */
|
|
1753
|
+
return /* @__PURE__ */ jsx12(
|
|
1783
1754
|
"div",
|
|
1784
1755
|
{
|
|
1785
1756
|
className: cn(
|
|
@@ -1791,7 +1762,7 @@ function PayWithAssetCard(props) {
|
|
|
1791
1762
|
}
|
|
1792
1763
|
);
|
|
1793
1764
|
}
|
|
1794
|
-
return /* @__PURE__ */
|
|
1765
|
+
return /* @__PURE__ */ jsx12(CoinListStyleScope, { children: /* @__PURE__ */ jsx12(
|
|
1795
1766
|
"button",
|
|
1796
1767
|
{
|
|
1797
1768
|
type: "button",
|
|
@@ -1813,10 +1784,10 @@ function PayWithAssetBody({
|
|
|
1813
1784
|
asset,
|
|
1814
1785
|
balance
|
|
1815
1786
|
}) {
|
|
1816
|
-
return /* @__PURE__ */
|
|
1817
|
-
/* @__PURE__ */
|
|
1818
|
-
/* @__PURE__ */
|
|
1819
|
-
/* @__PURE__ */
|
|
1787
|
+
return /* @__PURE__ */ jsxs8(Fragment2, { children: [
|
|
1788
|
+
/* @__PURE__ */ jsx12(AssetIcon, { asset, size: 40 }),
|
|
1789
|
+
/* @__PURE__ */ jsxs8("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:flex-col", children: [
|
|
1790
|
+
/* @__PURE__ */ jsx12(
|
|
1820
1791
|
"span",
|
|
1821
1792
|
{
|
|
1822
1793
|
className: cn(
|
|
@@ -1826,7 +1797,7 @@ function PayWithAssetBody({
|
|
|
1826
1797
|
children: asset.name
|
|
1827
1798
|
}
|
|
1828
1799
|
),
|
|
1829
|
-
/* @__PURE__ */
|
|
1800
|
+
/* @__PURE__ */ jsx12(
|
|
1830
1801
|
"span",
|
|
1831
1802
|
{
|
|
1832
1803
|
className: cn(
|
|
@@ -1841,7 +1812,7 @@ function PayWithAssetBody({
|
|
|
1841
1812
|
}
|
|
1842
1813
|
|
|
1843
1814
|
// src/client/components/checkout/shared/step/CheckoutStepCard.tsx
|
|
1844
|
-
import { Fragment as Fragment3, jsx as
|
|
1815
|
+
import { Fragment as Fragment3, jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
1845
1816
|
function CheckoutStepCard({
|
|
1846
1817
|
state,
|
|
1847
1818
|
title: title2,
|
|
@@ -1852,7 +1823,7 @@ function CheckoutStepCard({
|
|
|
1852
1823
|
}) {
|
|
1853
1824
|
const isActive = state === "active";
|
|
1854
1825
|
const showBody = state !== "inactive";
|
|
1855
|
-
return /* @__PURE__ */
|
|
1826
|
+
return /* @__PURE__ */ jsx13(CoinListStyleScope, { children: /* @__PURE__ */ jsxs9(
|
|
1856
1827
|
"div",
|
|
1857
1828
|
{
|
|
1858
1829
|
className: cn(
|
|
@@ -1866,13 +1837,13 @@ function CheckoutStepCard({
|
|
|
1866
1837
|
className
|
|
1867
1838
|
),
|
|
1868
1839
|
children: [
|
|
1869
|
-
/* @__PURE__ */
|
|
1870
|
-
/* @__PURE__ */
|
|
1840
|
+
/* @__PURE__ */ jsxs9("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:flex-col clcosdk:gap-2", children: [
|
|
1841
|
+
/* @__PURE__ */ jsx13("h2", { className: cn(typeClasses.h4, "clcosdk:text-text-primary"), children: title2 }),
|
|
1871
1842
|
description2
|
|
1872
1843
|
] }),
|
|
1873
1844
|
showBody && children,
|
|
1874
|
-
isActive && footer && /* @__PURE__ */
|
|
1875
|
-
/* @__PURE__ */
|
|
1845
|
+
isActive && footer && /* @__PURE__ */ jsxs9(Fragment3, { children: [
|
|
1846
|
+
/* @__PURE__ */ jsx13("div", { className: "clcosdk:h-px clcosdk:shrink-0 clcosdk:bg-divider" }),
|
|
1876
1847
|
footer
|
|
1877
1848
|
] })
|
|
1878
1849
|
]
|
|
@@ -1881,20 +1852,20 @@ function CheckoutStepCard({
|
|
|
1881
1852
|
}
|
|
1882
1853
|
|
|
1883
1854
|
// src/client/components/checkout/shared/step/CheckoutStepFooter.tsx
|
|
1884
|
-
import { jsx as
|
|
1855
|
+
import { jsx as jsx14, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1885
1856
|
function CheckoutStepFooter({
|
|
1886
1857
|
message,
|
|
1887
1858
|
error,
|
|
1888
1859
|
cta,
|
|
1889
1860
|
className
|
|
1890
1861
|
}) {
|
|
1891
|
-
const leftCopy = error ? /* @__PURE__ */
|
|
1862
|
+
const leftCopy = error ? /* @__PURE__ */ jsx14(
|
|
1892
1863
|
"span",
|
|
1893
1864
|
{
|
|
1894
1865
|
className: cn(typeClasses.subhead, "clcosdk:min-w-0 clcosdk:text-error"),
|
|
1895
1866
|
children: error
|
|
1896
1867
|
}
|
|
1897
|
-
) : message ? /* @__PURE__ */
|
|
1868
|
+
) : message ? /* @__PURE__ */ jsx14(
|
|
1898
1869
|
"span",
|
|
1899
1870
|
{
|
|
1900
1871
|
className: cn(
|
|
@@ -1904,7 +1875,7 @@ function CheckoutStepFooter({
|
|
|
1904
1875
|
children: message
|
|
1905
1876
|
}
|
|
1906
1877
|
) : null;
|
|
1907
|
-
return /* @__PURE__ */
|
|
1878
|
+
return /* @__PURE__ */ jsx14(CoinListStyleScope, { children: /* @__PURE__ */ jsxs10(
|
|
1908
1879
|
"div",
|
|
1909
1880
|
{
|
|
1910
1881
|
className: cn(
|
|
@@ -1915,14 +1886,14 @@ function CheckoutStepFooter({
|
|
|
1915
1886
|
),
|
|
1916
1887
|
children: [
|
|
1917
1888
|
leftCopy,
|
|
1918
|
-
/* @__PURE__ */
|
|
1889
|
+
/* @__PURE__ */ jsx14("div", { className: "clcosdk:flex clcosdk:shrink-0 clcosdk:max-md:w-full", children: cta })
|
|
1919
1890
|
]
|
|
1920
1891
|
}
|
|
1921
1892
|
) });
|
|
1922
1893
|
}
|
|
1923
1894
|
|
|
1924
1895
|
// src/client/components/checkout/shared/step/CompletedStepSummary.tsx
|
|
1925
|
-
import { jsx as
|
|
1896
|
+
import { jsx as jsx15, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1926
1897
|
function CompletedStepSummary({
|
|
1927
1898
|
icon,
|
|
1928
1899
|
title: title2,
|
|
@@ -1931,7 +1902,7 @@ function CompletedStepSummary({
|
|
|
1931
1902
|
editLabel,
|
|
1932
1903
|
className
|
|
1933
1904
|
}) {
|
|
1934
|
-
return /* @__PURE__ */
|
|
1905
|
+
return /* @__PURE__ */ jsx15(CoinListStyleScope, { children: /* @__PURE__ */ jsxs11(
|
|
1935
1906
|
"div",
|
|
1936
1907
|
{
|
|
1937
1908
|
className: cn(
|
|
@@ -1939,10 +1910,10 @@ function CompletedStepSummary({
|
|
|
1939
1910
|
className
|
|
1940
1911
|
),
|
|
1941
1912
|
children: [
|
|
1942
|
-
/* @__PURE__ */
|
|
1913
|
+
/* @__PURE__ */ jsxs11("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:items-center clcosdk:gap-3", children: [
|
|
1943
1914
|
icon,
|
|
1944
|
-
/* @__PURE__ */
|
|
1945
|
-
/* @__PURE__ */
|
|
1915
|
+
/* @__PURE__ */ jsxs11("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:flex-col", children: [
|
|
1916
|
+
/* @__PURE__ */ jsx15(
|
|
1946
1917
|
"span",
|
|
1947
1918
|
{
|
|
1948
1919
|
className: cn(
|
|
@@ -1952,7 +1923,7 @@ function CompletedStepSummary({
|
|
|
1952
1923
|
children: title2
|
|
1953
1924
|
}
|
|
1954
1925
|
),
|
|
1955
|
-
subtitle4 && /* @__PURE__ */
|
|
1926
|
+
subtitle4 && /* @__PURE__ */ jsx15(
|
|
1956
1927
|
"span",
|
|
1957
1928
|
{
|
|
1958
1929
|
className: cn(
|
|
@@ -1964,7 +1935,7 @@ function CompletedStepSummary({
|
|
|
1964
1935
|
)
|
|
1965
1936
|
] })
|
|
1966
1937
|
] }),
|
|
1967
|
-
/* @__PURE__ */
|
|
1938
|
+
/* @__PURE__ */ jsx15(
|
|
1968
1939
|
"button",
|
|
1969
1940
|
{
|
|
1970
1941
|
type: "button",
|
|
@@ -1985,14 +1956,14 @@ function CompletedStepSummary({
|
|
|
1985
1956
|
}
|
|
1986
1957
|
|
|
1987
1958
|
// src/client/components/checkout/ondo/buy/amount/OndoBuyAmountView.tsx
|
|
1988
|
-
import { jsx as
|
|
1959
|
+
import { jsx as jsx16, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1989
1960
|
var TITLE = "2. Enter amount";
|
|
1990
1961
|
var AMOUNT_LABEL = "Amount";
|
|
1991
1962
|
var AMOUNT_PLACEHOLDER = "0.00";
|
|
1992
1963
|
var PAY_WITH_LABEL = "Pay with";
|
|
1993
1964
|
var REVIEW_NOTE = "You'll review your order details before purchasing.";
|
|
1994
1965
|
function OndoBuyAmountView(props) {
|
|
1995
|
-
return /* @__PURE__ */
|
|
1966
|
+
return /* @__PURE__ */ jsx16(CoinListStyleScope, { children: /* @__PURE__ */ jsx16(OndoAmountViewBody, { ...props }) });
|
|
1996
1967
|
}
|
|
1997
1968
|
function OndoAmountViewBody({
|
|
1998
1969
|
state,
|
|
@@ -2001,7 +1972,7 @@ function OndoAmountViewBody({
|
|
|
2001
1972
|
}) {
|
|
2002
1973
|
switch (state.type) {
|
|
2003
1974
|
case "incomplete":
|
|
2004
|
-
return /* @__PURE__ */
|
|
1975
|
+
return /* @__PURE__ */ jsx16(
|
|
2005
1976
|
CheckoutStepCard,
|
|
2006
1977
|
{
|
|
2007
1978
|
state: "inactive",
|
|
@@ -2010,9 +1981,9 @@ function OndoAmountViewBody({
|
|
|
2010
1981
|
}
|
|
2011
1982
|
);
|
|
2012
1983
|
case "active":
|
|
2013
|
-
return /* @__PURE__ */
|
|
1984
|
+
return /* @__PURE__ */ jsx16(ActiveView, { state, onEvent, className });
|
|
2014
1985
|
case "complete":
|
|
2015
|
-
return /* @__PURE__ */
|
|
1986
|
+
return /* @__PURE__ */ jsx16(CompletedView, { state, onEvent, className });
|
|
2016
1987
|
default: {
|
|
2017
1988
|
const exhaustive = state;
|
|
2018
1989
|
return exhaustive;
|
|
@@ -2026,18 +1997,18 @@ function ActiveView({
|
|
|
2026
1997
|
}) {
|
|
2027
1998
|
const isLoading = state.confirmCta.type === "loading";
|
|
2028
1999
|
const selectedAsset = state.inputAssets.find((asset) => asset.selected) ?? null;
|
|
2029
|
-
return /* @__PURE__ */
|
|
2000
|
+
return /* @__PURE__ */ jsxs12(
|
|
2030
2001
|
CheckoutStepCard,
|
|
2031
2002
|
{
|
|
2032
2003
|
state: "active",
|
|
2033
2004
|
title: TITLE,
|
|
2034
2005
|
className,
|
|
2035
|
-
footer: /* @__PURE__ */
|
|
2006
|
+
footer: /* @__PURE__ */ jsx16(
|
|
2036
2007
|
CheckoutStepFooter,
|
|
2037
2008
|
{
|
|
2038
2009
|
message: state.confirmCta.type === "loading" ? state.confirmCta.message : REVIEW_NOTE,
|
|
2039
2010
|
error: state.error,
|
|
2040
|
-
cta: /* @__PURE__ */
|
|
2011
|
+
cta: /* @__PURE__ */ jsx16(
|
|
2041
2012
|
ClButton,
|
|
2042
2013
|
{
|
|
2043
2014
|
variant: "primary",
|
|
@@ -2052,7 +2023,7 @@ function ActiveView({
|
|
|
2052
2023
|
}
|
|
2053
2024
|
),
|
|
2054
2025
|
children: [
|
|
2055
|
-
/* @__PURE__ */
|
|
2026
|
+
/* @__PURE__ */ jsx16(
|
|
2056
2027
|
CheckoutAmountInput,
|
|
2057
2028
|
{
|
|
2058
2029
|
label: AMOUNT_LABEL,
|
|
@@ -2061,9 +2032,8 @@ function ActiveView({
|
|
|
2061
2032
|
placeholder: AMOUNT_PLACEHOLDER,
|
|
2062
2033
|
invalid: state.error !== null,
|
|
2063
2034
|
disabled: isLoading,
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
action: selectedAsset && /* @__PURE__ */ jsx18(
|
|
2035
|
+
suffix: selectedAsset?.symbol,
|
|
2036
|
+
action: selectedAsset && /* @__PURE__ */ jsx16(
|
|
2067
2037
|
MaxButton,
|
|
2068
2038
|
{
|
|
2069
2039
|
disabled: isLoading,
|
|
@@ -2072,7 +2042,7 @@ function ActiveView({
|
|
|
2072
2042
|
)
|
|
2073
2043
|
}
|
|
2074
2044
|
),
|
|
2075
|
-
state.inputAssets.length > 0 && /* @__PURE__ */
|
|
2045
|
+
state.inputAssets.length > 0 && /* @__PURE__ */ jsx16(
|
|
2076
2046
|
PayWithSection,
|
|
2077
2047
|
{
|
|
2078
2048
|
inputAssets: state.inputAssets,
|
|
@@ -2092,10 +2062,10 @@ function PayWithSection({
|
|
|
2092
2062
|
onEvent
|
|
2093
2063
|
}) {
|
|
2094
2064
|
const isChoice = inputAssets.length >= 2;
|
|
2095
|
-
return /* @__PURE__ */
|
|
2096
|
-
/* @__PURE__ */
|
|
2097
|
-
/* @__PURE__ */
|
|
2098
|
-
/* @__PURE__ */
|
|
2065
|
+
return /* @__PURE__ */ jsxs12("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-2", children: [
|
|
2066
|
+
/* @__PURE__ */ jsxs12("div", { className: "clcosdk:flex clcosdk:items-center clcosdk:justify-between clcosdk:gap-4", children: [
|
|
2067
|
+
/* @__PURE__ */ jsx16("span", { className: cn(typeClasses.bodySm, "clcosdk:text-text-secondary"), children: PAY_WITH_LABEL }),
|
|
2068
|
+
/* @__PURE__ */ jsxs12(
|
|
2099
2069
|
"span",
|
|
2100
2070
|
{
|
|
2101
2071
|
className: cn(
|
|
@@ -2109,14 +2079,14 @@ function PayWithSection({
|
|
|
2109
2079
|
}
|
|
2110
2080
|
)
|
|
2111
2081
|
] }),
|
|
2112
|
-
/* @__PURE__ */
|
|
2082
|
+
/* @__PURE__ */ jsx16(
|
|
2113
2083
|
"div",
|
|
2114
2084
|
{
|
|
2115
2085
|
className: cn(
|
|
2116
2086
|
isChoice ? "clcosdk:grid clcosdk:grid-cols-1 clcosdk:gap-2 clcosdk:sm:grid-cols-2" : "clcosdk:flex clcosdk:flex-col"
|
|
2117
2087
|
),
|
|
2118
2088
|
children: inputAssets.map(
|
|
2119
|
-
(inputAsset) => isChoice ? /* @__PURE__ */
|
|
2089
|
+
(inputAsset) => isChoice ? /* @__PURE__ */ jsx16(
|
|
2120
2090
|
PayWithAssetCard,
|
|
2121
2091
|
{
|
|
2122
2092
|
variant: "selectable",
|
|
@@ -2130,7 +2100,7 @@ function PayWithSection({
|
|
|
2130
2100
|
})
|
|
2131
2101
|
},
|
|
2132
2102
|
inputAsset.symbol
|
|
2133
|
-
) : /* @__PURE__ */
|
|
2103
|
+
) : /* @__PURE__ */ jsx16(
|
|
2134
2104
|
PayWithAssetCard,
|
|
2135
2105
|
{
|
|
2136
2106
|
variant: "static",
|
|
@@ -2149,10 +2119,10 @@ function CompletedView({
|
|
|
2149
2119
|
onEvent,
|
|
2150
2120
|
className
|
|
2151
2121
|
}) {
|
|
2152
|
-
return /* @__PURE__ */
|
|
2122
|
+
return /* @__PURE__ */ jsx16(CheckoutStepCard, { state: "completed", title: TITLE, className, children: /* @__PURE__ */ jsx16(
|
|
2153
2123
|
CompletedStepSummary,
|
|
2154
2124
|
{
|
|
2155
|
-
icon: /* @__PURE__ */
|
|
2125
|
+
icon: /* @__PURE__ */ jsx16(AssetIcon, { asset: state.inputAsset, size: 40 }),
|
|
2156
2126
|
title: state.amountFormatted,
|
|
2157
2127
|
editLabel: "Edit",
|
|
2158
2128
|
onEdit: () => onEvent({ type: "ON_EDIT_AMOUNT" })
|
|
@@ -2163,7 +2133,7 @@ function MaxButton({
|
|
|
2163
2133
|
disabled,
|
|
2164
2134
|
onClick
|
|
2165
2135
|
}) {
|
|
2166
|
-
return /* @__PURE__ */
|
|
2136
|
+
return /* @__PURE__ */ jsx16(
|
|
2167
2137
|
"button",
|
|
2168
2138
|
{
|
|
2169
2139
|
type: "button",
|
|
@@ -2186,7 +2156,7 @@ function MaxButton({
|
|
|
2186
2156
|
import { Check, ExternalLink } from "lucide-react";
|
|
2187
2157
|
|
|
2188
2158
|
// src/client/components/checkout/shared/common/DetailRow.tsx
|
|
2189
|
-
import { jsx as
|
|
2159
|
+
import { jsx as jsx17, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
2190
2160
|
function DetailRow({
|
|
2191
2161
|
label,
|
|
2192
2162
|
value,
|
|
@@ -2194,7 +2164,7 @@ function DetailRow({
|
|
|
2194
2164
|
emphasis = false,
|
|
2195
2165
|
className
|
|
2196
2166
|
}) {
|
|
2197
|
-
return /* @__PURE__ */
|
|
2167
|
+
return /* @__PURE__ */ jsx17(CoinListStyleScope, { children: /* @__PURE__ */ jsxs13(
|
|
2198
2168
|
"div",
|
|
2199
2169
|
{
|
|
2200
2170
|
className: cn(
|
|
@@ -2202,8 +2172,8 @@ function DetailRow({
|
|
|
2202
2172
|
className
|
|
2203
2173
|
),
|
|
2204
2174
|
children: [
|
|
2205
|
-
/* @__PURE__ */
|
|
2206
|
-
/* @__PURE__ */
|
|
2175
|
+
/* @__PURE__ */ jsxs13("div", { className: "clcosdk:flex clcosdk:shrink-0 clcosdk:items-center clcosdk:gap-2", children: [
|
|
2176
|
+
/* @__PURE__ */ jsx17(
|
|
2207
2177
|
"span",
|
|
2208
2178
|
{
|
|
2209
2179
|
className: cn(
|
|
@@ -2215,7 +2185,7 @@ function DetailRow({
|
|
|
2215
2185
|
),
|
|
2216
2186
|
tooltip
|
|
2217
2187
|
] }),
|
|
2218
|
-
/* @__PURE__ */
|
|
2188
|
+
/* @__PURE__ */ jsx17(
|
|
2219
2189
|
"span",
|
|
2220
2190
|
{
|
|
2221
2191
|
className: cn(
|
|
@@ -2231,7 +2201,7 @@ function DetailRow({
|
|
|
2231
2201
|
}
|
|
2232
2202
|
|
|
2233
2203
|
// src/client/components/checkout/shared/summary/CheckoutDetailList.tsx
|
|
2234
|
-
import { jsx as
|
|
2204
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
2235
2205
|
var densityClasses = {
|
|
2236
2206
|
compact: "clcosdk:gap-2",
|
|
2237
2207
|
default: "clcosdk:gap-3"
|
|
@@ -2243,7 +2213,7 @@ function CheckoutDetailList({
|
|
|
2243
2213
|
className
|
|
2244
2214
|
}) {
|
|
2245
2215
|
const visibleRows = rows.filter((row) => row.value !== null);
|
|
2246
|
-
return /* @__PURE__ */
|
|
2216
|
+
return /* @__PURE__ */ jsx18(CoinListStyleScope, { children: /* @__PURE__ */ jsx18(
|
|
2247
2217
|
"div",
|
|
2248
2218
|
{
|
|
2249
2219
|
id,
|
|
@@ -2252,7 +2222,7 @@ function CheckoutDetailList({
|
|
|
2252
2222
|
densityClasses[density],
|
|
2253
2223
|
className
|
|
2254
2224
|
),
|
|
2255
|
-
children: visibleRows.map((row) => /* @__PURE__ */
|
|
2225
|
+
children: visibleRows.map((row) => /* @__PURE__ */ jsx18(
|
|
2256
2226
|
DetailRow,
|
|
2257
2227
|
{
|
|
2258
2228
|
label: row.label,
|
|
@@ -2268,7 +2238,7 @@ function CheckoutDetailList({
|
|
|
2268
2238
|
|
|
2269
2239
|
// src/client/components/design-system/Modal.tsx
|
|
2270
2240
|
import { useEffect as useEffect2, useRef } from "react";
|
|
2271
|
-
import { jsx as
|
|
2241
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
2272
2242
|
function Modal({ label, onClose, children, className }) {
|
|
2273
2243
|
const surfaceRef = useRef(null);
|
|
2274
2244
|
const onCloseRef = useRef(onClose);
|
|
@@ -2290,7 +2260,7 @@ function Modal({ label, onClose, children, className }) {
|
|
|
2290
2260
|
// are how it closes. A click-to-dismiss handler here would be an
|
|
2291
2261
|
// interaction on a static element with no keyboard equivalent, and the two
|
|
2292
2262
|
// hand-rolled modals this replaces do not offer one either.
|
|
2293
|
-
/* @__PURE__ */
|
|
2263
|
+
/* @__PURE__ */ jsx19("div", { className: "clcosdk:fixed clcosdk:inset-0 clcosdk:z-50 clcosdk:flex clcosdk:items-center clcosdk:justify-center clcosdk:bg-overlay clcosdk:p-4", children: /* @__PURE__ */ jsx19(
|
|
2294
2264
|
"div",
|
|
2295
2265
|
{
|
|
2296
2266
|
ref: surfaceRef,
|
|
@@ -2312,7 +2282,7 @@ function Modal({ label, onClose, children, className }) {
|
|
|
2312
2282
|
}
|
|
2313
2283
|
|
|
2314
2284
|
// src/client/components/checkout/shared/confirmation/CheckoutConfirmationDialog.tsx
|
|
2315
|
-
import { Fragment as Fragment4, jsx as
|
|
2285
|
+
import { Fragment as Fragment4, jsx as jsx20, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
2316
2286
|
function CheckoutConfirmationDialog({
|
|
2317
2287
|
icon,
|
|
2318
2288
|
title: title2,
|
|
@@ -2323,11 +2293,11 @@ function CheckoutConfirmationDialog({
|
|
|
2323
2293
|
onClose,
|
|
2324
2294
|
className
|
|
2325
2295
|
}) {
|
|
2326
|
-
return /* @__PURE__ */
|
|
2327
|
-
/* @__PURE__ */
|
|
2296
|
+
return /* @__PURE__ */ jsx20(CoinListStyleScope, { children: /* @__PURE__ */ jsx20(Modal, { label: title2, onClose, className, children: /* @__PURE__ */ jsxs14("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-6", children: [
|
|
2297
|
+
/* @__PURE__ */ jsxs14("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:flex-col clcosdk:gap-2", children: [
|
|
2328
2298
|
icon,
|
|
2329
|
-
/* @__PURE__ */
|
|
2330
|
-
subtitle4 && /* @__PURE__ */
|
|
2299
|
+
/* @__PURE__ */ jsx20("h2", { className: cn(typeClasses.h3, "clcosdk:text-text-primary"), children: title2 }),
|
|
2300
|
+
subtitle4 && /* @__PURE__ */ jsx20(
|
|
2331
2301
|
"p",
|
|
2332
2302
|
{
|
|
2333
2303
|
className: cn(
|
|
@@ -2338,21 +2308,21 @@ function CheckoutConfirmationDialog({
|
|
|
2338
2308
|
}
|
|
2339
2309
|
)
|
|
2340
2310
|
] }),
|
|
2341
|
-
header && /* @__PURE__ */
|
|
2342
|
-
/* @__PURE__ */
|
|
2311
|
+
header && /* @__PURE__ */ jsxs14(Fragment4, { children: [
|
|
2312
|
+
/* @__PURE__ */ jsx20(Divider, {}),
|
|
2343
2313
|
header
|
|
2344
2314
|
] }),
|
|
2345
|
-
/* @__PURE__ */
|
|
2346
|
-
/* @__PURE__ */
|
|
2347
|
-
/* @__PURE__ */
|
|
2315
|
+
/* @__PURE__ */ jsx20(Divider, {}),
|
|
2316
|
+
/* @__PURE__ */ jsx20(CheckoutDetailList, { rows }),
|
|
2317
|
+
/* @__PURE__ */ jsx20("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-3", children: actions })
|
|
2348
2318
|
] }) }) });
|
|
2349
2319
|
}
|
|
2350
2320
|
function Divider() {
|
|
2351
|
-
return /* @__PURE__ */
|
|
2321
|
+
return /* @__PURE__ */ jsx20("div", { className: "clcosdk:h-px clcosdk:shrink-0 clcosdk:bg-divider" });
|
|
2352
2322
|
}
|
|
2353
2323
|
|
|
2354
2324
|
// src/client/components/checkout/shared/summary/AssetSummaryRow.tsx
|
|
2355
|
-
import { jsx as
|
|
2325
|
+
import { jsx as jsx21, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2356
2326
|
function AssetSummaryRow({
|
|
2357
2327
|
asset,
|
|
2358
2328
|
iconSize = 48,
|
|
@@ -2360,7 +2330,7 @@ function AssetSummaryRow({
|
|
|
2360
2330
|
caption,
|
|
2361
2331
|
className
|
|
2362
2332
|
}) {
|
|
2363
|
-
return /* @__PURE__ */
|
|
2333
|
+
return /* @__PURE__ */ jsx21(CoinListStyleScope, { children: /* @__PURE__ */ jsxs15(
|
|
2364
2334
|
"div",
|
|
2365
2335
|
{
|
|
2366
2336
|
className: cn(
|
|
@@ -2368,10 +2338,10 @@ function AssetSummaryRow({
|
|
|
2368
2338
|
className
|
|
2369
2339
|
),
|
|
2370
2340
|
children: [
|
|
2371
|
-
/* @__PURE__ */
|
|
2372
|
-
/* @__PURE__ */
|
|
2373
|
-
/* @__PURE__ */
|
|
2374
|
-
/* @__PURE__ */
|
|
2341
|
+
/* @__PURE__ */ jsxs15("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:items-center clcosdk:gap-3", children: [
|
|
2342
|
+
/* @__PURE__ */ jsx21(AssetIcon, { asset, size: iconSize }),
|
|
2343
|
+
/* @__PURE__ */ jsxs15("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:flex-col clcosdk:justify-center", children: [
|
|
2344
|
+
/* @__PURE__ */ jsx21(
|
|
2375
2345
|
"span",
|
|
2376
2346
|
{
|
|
2377
2347
|
className: cn(
|
|
@@ -2381,7 +2351,7 @@ function AssetSummaryRow({
|
|
|
2381
2351
|
children: asset.name
|
|
2382
2352
|
}
|
|
2383
2353
|
),
|
|
2384
|
-
/* @__PURE__ */
|
|
2354
|
+
/* @__PURE__ */ jsx21(
|
|
2385
2355
|
"span",
|
|
2386
2356
|
{
|
|
2387
2357
|
className: cn(
|
|
@@ -2393,11 +2363,11 @@ function AssetSummaryRow({
|
|
|
2393
2363
|
)
|
|
2394
2364
|
] })
|
|
2395
2365
|
] }),
|
|
2396
|
-
(value || caption) && /* @__PURE__ */
|
|
2366
|
+
(value || caption) && /* @__PURE__ */ jsxs15("div", { className: "clcosdk:flex clcosdk:shrink-0 clcosdk:flex-col clcosdk:items-end clcosdk:justify-center", children: [
|
|
2397
2367
|
value && // `min-h-[1lh]` + flex center: a Skeleton sized to `1em` (cap
|
|
2398
2368
|
// height) sits in the same line box as loaded copy, so leading
|
|
2399
2369
|
// keeps the two rows apart instead of two full-lh bars colliding.
|
|
2400
|
-
/* @__PURE__ */
|
|
2370
|
+
/* @__PURE__ */ jsx21(
|
|
2401
2371
|
"div",
|
|
2402
2372
|
{
|
|
2403
2373
|
className: cn(
|
|
@@ -2411,7 +2381,7 @@ function AssetSummaryRow({
|
|
|
2411
2381
|
caption && // Styled here so a caption passed as plain copy needs no classes of
|
|
2412
2382
|
// its own; a caption that brings its own (a `StatusIndicator`) sets
|
|
2413
2383
|
// them on the element inside and wins.
|
|
2414
|
-
/* @__PURE__ */
|
|
2384
|
+
/* @__PURE__ */ jsx21(
|
|
2415
2385
|
"div",
|
|
2416
2386
|
{
|
|
2417
2387
|
className: cn(
|
|
@@ -2429,7 +2399,7 @@ function AssetSummaryRow({
|
|
|
2429
2399
|
}
|
|
2430
2400
|
|
|
2431
2401
|
// src/client/components/checkout/ondo/buy/confirmation/OndoBuyOrderConfirmed.tsx
|
|
2432
|
-
import { Fragment as Fragment5, jsx as
|
|
2402
|
+
import { Fragment as Fragment5, jsx as jsx22, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2433
2403
|
var TITLE2 = "Order confirmed";
|
|
2434
2404
|
var SHARES_RECEIVED_CAPTION = "shares received";
|
|
2435
2405
|
var TOTAL_COST_LABEL = "Total cost";
|
|
@@ -2447,13 +2417,13 @@ function OndoBuyOrderConfirmed({
|
|
|
2447
2417
|
return null;
|
|
2448
2418
|
}
|
|
2449
2419
|
const onClose = () => onEvent({ type: "ON_CLOSE_ORDER_CONFIRMED" });
|
|
2450
|
-
return /* @__PURE__ */
|
|
2420
|
+
return /* @__PURE__ */ jsx22(CoinListStyleScope, { children: /* @__PURE__ */ jsx22(
|
|
2451
2421
|
CheckoutConfirmationDialog,
|
|
2452
2422
|
{
|
|
2453
|
-
icon: /* @__PURE__ */
|
|
2423
|
+
icon: /* @__PURE__ */ jsx22(SuccessGlyph, {}),
|
|
2454
2424
|
title: TITLE2,
|
|
2455
2425
|
subtitle: subtitle(state.outputAsset.symbol),
|
|
2456
|
-
header: /* @__PURE__ */
|
|
2426
|
+
header: /* @__PURE__ */ jsx22(
|
|
2457
2427
|
AssetSummaryRow,
|
|
2458
2428
|
{
|
|
2459
2429
|
asset: state.outputAsset,
|
|
@@ -2462,9 +2432,9 @@ function OndoBuyOrderConfirmed({
|
|
|
2462
2432
|
}
|
|
2463
2433
|
),
|
|
2464
2434
|
rows: detailRows(state),
|
|
2465
|
-
actions: /* @__PURE__ */
|
|
2466
|
-
/* @__PURE__ */
|
|
2467
|
-
/* @__PURE__ */
|
|
2435
|
+
actions: /* @__PURE__ */ jsxs16(Fragment5, { children: [
|
|
2436
|
+
/* @__PURE__ */ jsx22(ClButton, { variant: "gradient", fullWidth: true, onClick: onClose, children: DONE_LABEL }),
|
|
2437
|
+
/* @__PURE__ */ jsx22(ExplorerLink, { url: state.txExplorerUrl })
|
|
2468
2438
|
] }),
|
|
2469
2439
|
onClose,
|
|
2470
2440
|
className
|
|
@@ -2479,14 +2449,14 @@ function detailRows(state) {
|
|
|
2479
2449
|
];
|
|
2480
2450
|
}
|
|
2481
2451
|
function SuccessGlyph() {
|
|
2482
|
-
return /* @__PURE__ */
|
|
2452
|
+
return /* @__PURE__ */ jsx22(
|
|
2483
2453
|
"div",
|
|
2484
2454
|
{
|
|
2485
2455
|
className: cn(
|
|
2486
2456
|
"clcosdk:flex clcosdk:size-10 clcosdk:shrink-0 clcosdk:items-center clcosdk:justify-center",
|
|
2487
2457
|
"clcosdk:rounded-full clcosdk:bg-positive-subtle"
|
|
2488
2458
|
),
|
|
2489
|
-
children: /* @__PURE__ */
|
|
2459
|
+
children: /* @__PURE__ */ jsx22(
|
|
2490
2460
|
Check,
|
|
2491
2461
|
{
|
|
2492
2462
|
className: "clcosdk:size-5 clcosdk:text-positive",
|
|
@@ -2498,7 +2468,7 @@ function SuccessGlyph() {
|
|
|
2498
2468
|
);
|
|
2499
2469
|
}
|
|
2500
2470
|
function ExplorerLink({ url }) {
|
|
2501
|
-
return /* @__PURE__ */
|
|
2471
|
+
return /* @__PURE__ */ jsxs16(
|
|
2502
2472
|
"a",
|
|
2503
2473
|
{
|
|
2504
2474
|
href: url,
|
|
@@ -2513,7 +2483,7 @@ function ExplorerLink({ url }) {
|
|
|
2513
2483
|
),
|
|
2514
2484
|
children: [
|
|
2515
2485
|
VIEW_TRANSACTION_LABEL,
|
|
2516
|
-
/* @__PURE__ */
|
|
2486
|
+
/* @__PURE__ */ jsx22(
|
|
2517
2487
|
ExternalLink,
|
|
2518
2488
|
{
|
|
2519
2489
|
className: "clcosdk:size-3.5 clcosdk:shrink-0",
|
|
@@ -2537,14 +2507,14 @@ var COINLIST_TOS_URL = "https://coinlist.co/terms";
|
|
|
2537
2507
|
var COINLIST_PRIVACY_URL = "https://coinlist.co/privacy";
|
|
2538
2508
|
|
|
2539
2509
|
// src/client/components/design-system/Skeleton.tsx
|
|
2540
|
-
import { jsx as
|
|
2510
|
+
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
2541
2511
|
var variantClasses = {
|
|
2542
2512
|
text: "clcosdk:rounded-md",
|
|
2543
2513
|
circular: "clcosdk:rounded-full",
|
|
2544
2514
|
rectangular: "clcosdk:rounded-2xl"
|
|
2545
2515
|
};
|
|
2546
2516
|
function Skeleton({ variant = "text", className }) {
|
|
2547
|
-
return /* @__PURE__ */
|
|
2517
|
+
return /* @__PURE__ */ jsx23(
|
|
2548
2518
|
"div",
|
|
2549
2519
|
{
|
|
2550
2520
|
"aria-hidden": "true",
|
|
@@ -2559,7 +2529,7 @@ function Skeleton({ variant = "text", className }) {
|
|
|
2559
2529
|
|
|
2560
2530
|
// src/client/components/design-system/Tooltip.tsx
|
|
2561
2531
|
import { useId as useId2 } from "react";
|
|
2562
|
-
import { jsx as
|
|
2532
|
+
import { jsx as jsx24, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2563
2533
|
var positionClasses = {
|
|
2564
2534
|
top: "clcosdk:bottom-full clcosdk:mb-2",
|
|
2565
2535
|
bottom: "clcosdk:top-full clcosdk:mt-2"
|
|
@@ -2571,7 +2541,7 @@ function Tooltip({
|
|
|
2571
2541
|
className
|
|
2572
2542
|
}) {
|
|
2573
2543
|
const tooltipId = useId2();
|
|
2574
|
-
return /* @__PURE__ */
|
|
2544
|
+
return /* @__PURE__ */ jsxs17(
|
|
2575
2545
|
"span",
|
|
2576
2546
|
{
|
|
2577
2547
|
tabIndex: 0,
|
|
@@ -2586,7 +2556,7 @@ function Tooltip({
|
|
|
2586
2556
|
),
|
|
2587
2557
|
children: [
|
|
2588
2558
|
children,
|
|
2589
|
-
/* @__PURE__ */
|
|
2559
|
+
/* @__PURE__ */ jsx24(
|
|
2590
2560
|
"span",
|
|
2591
2561
|
{
|
|
2592
2562
|
id: tooltipId,
|
|
@@ -2609,7 +2579,7 @@ function Tooltip({
|
|
|
2609
2579
|
}
|
|
2610
2580
|
|
|
2611
2581
|
// src/client/components/checkout/ondo/buy/review/OndoBuyReviewView.tsx
|
|
2612
|
-
import { jsx as
|
|
2582
|
+
import { jsx as jsx25, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2613
2583
|
var TITLE3 = "3. Review and confirm";
|
|
2614
2584
|
var YOU_RECEIVE_LABEL = "You receive";
|
|
2615
2585
|
var RECEIVING_WALLET_LABEL = "Receiving wallet";
|
|
@@ -2623,7 +2593,7 @@ var LOADING_STATUS = "Loading your order details\u2026";
|
|
|
2623
2593
|
var ERROR_TITLE = "Something went wrong";
|
|
2624
2594
|
var ERROR_DESCRIPTION = "We couldn't load your order details. Please try again.";
|
|
2625
2595
|
function OndoBuyReviewView(props) {
|
|
2626
|
-
return /* @__PURE__ */
|
|
2596
|
+
return /* @__PURE__ */ jsx25(CoinListStyleScope, { children: /* @__PURE__ */ jsx25(OndoReviewViewBody, { ...props }) });
|
|
2627
2597
|
}
|
|
2628
2598
|
function OndoReviewViewBody({
|
|
2629
2599
|
state,
|
|
@@ -2632,7 +2602,7 @@ function OndoReviewViewBody({
|
|
|
2632
2602
|
}) {
|
|
2633
2603
|
switch (state.type) {
|
|
2634
2604
|
case "incomplete":
|
|
2635
|
-
return /* @__PURE__ */
|
|
2605
|
+
return /* @__PURE__ */ jsx25(
|
|
2636
2606
|
CheckoutStepCard,
|
|
2637
2607
|
{
|
|
2638
2608
|
state: "inactive",
|
|
@@ -2641,11 +2611,11 @@ function OndoReviewViewBody({
|
|
|
2641
2611
|
}
|
|
2642
2612
|
);
|
|
2643
2613
|
case "loading":
|
|
2644
|
-
return /* @__PURE__ */
|
|
2614
|
+
return /* @__PURE__ */ jsx25(LoadingView, { className });
|
|
2645
2615
|
case "error":
|
|
2646
|
-
return /* @__PURE__ */
|
|
2616
|
+
return /* @__PURE__ */ jsx25(ErrorView, { onEvent, className });
|
|
2647
2617
|
case "active":
|
|
2648
|
-
return /* @__PURE__ */
|
|
2618
|
+
return /* @__PURE__ */ jsx25(ActiveView2, { state, onEvent, className });
|
|
2649
2619
|
default: {
|
|
2650
2620
|
const exhaustive = state;
|
|
2651
2621
|
return exhaustive;
|
|
@@ -2657,42 +2627,42 @@ function ActiveView2({
|
|
|
2657
2627
|
onEvent,
|
|
2658
2628
|
className
|
|
2659
2629
|
}) {
|
|
2660
|
-
return /* @__PURE__ */
|
|
2661
|
-
/* @__PURE__ */
|
|
2662
|
-
/* @__PURE__ */
|
|
2663
|
-
/* @__PURE__ */
|
|
2664
|
-
/* @__PURE__ */
|
|
2665
|
-
/* @__PURE__ */
|
|
2630
|
+
return /* @__PURE__ */ jsxs18(CheckoutStepCard, { state: "active", title: TITLE3, className, children: [
|
|
2631
|
+
/* @__PURE__ */ jsxs18("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-4 clcosdk:rounded-2xl clcosdk:border clcosdk:border-border clcosdk:p-4", children: [
|
|
2632
|
+
/* @__PURE__ */ jsx25("span", { className: cn(typeClasses.bodySm, "clcosdk:text-text-secondary"), children: YOU_RECEIVE_LABEL }),
|
|
2633
|
+
/* @__PURE__ */ jsxs18("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:items-center clcosdk:gap-3", children: [
|
|
2634
|
+
/* @__PURE__ */ jsx25(AssetIcon, { asset: state.outputAsset, size: 40 }),
|
|
2635
|
+
/* @__PURE__ */ jsx25("span", { className: "clcosdk:min-w-0 clcosdk:break-words clcosdk:text-[22px] clcosdk:leading-[130%] clcosdk:font-medium clcosdk:text-text-primary", children: state.outputAmount })
|
|
2666
2636
|
] })
|
|
2667
2637
|
] }),
|
|
2668
|
-
/* @__PURE__ */
|
|
2669
|
-
/* @__PURE__ */
|
|
2670
|
-
/* @__PURE__ */
|
|
2638
|
+
/* @__PURE__ */ jsxs18("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-4", children: [
|
|
2639
|
+
/* @__PURE__ */ jsxs18("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-3 clcosdk:px-2", children: [
|
|
2640
|
+
/* @__PURE__ */ jsx25(
|
|
2671
2641
|
DetailRow,
|
|
2672
2642
|
{
|
|
2673
2643
|
label: RECEIVING_WALLET_LABEL,
|
|
2674
2644
|
value: state.recipientAddress
|
|
2675
2645
|
}
|
|
2676
2646
|
),
|
|
2677
|
-
/* @__PURE__ */
|
|
2647
|
+
/* @__PURE__ */ jsx25(
|
|
2678
2648
|
DetailRow,
|
|
2679
2649
|
{
|
|
2680
2650
|
label: PRICE_PER_SHARE_LABEL2,
|
|
2681
|
-
tooltip: /* @__PURE__ */
|
|
2651
|
+
tooltip: /* @__PURE__ */ jsx25(Tooltip, { content: PRICE_PER_SHARE_TOOLTIP, children: /* @__PURE__ */ jsx25(InfoIcon, {}) }),
|
|
2682
2652
|
value: state.pricePerShare
|
|
2683
2653
|
}
|
|
2684
2654
|
),
|
|
2685
|
-
state.coinlistFee !== null && /* @__PURE__ */
|
|
2655
|
+
state.coinlistFee !== null && /* @__PURE__ */ jsx25(
|
|
2686
2656
|
DetailRow,
|
|
2687
2657
|
{
|
|
2688
2658
|
label: COINLIST_FEE_LABEL,
|
|
2689
|
-
tooltip: /* @__PURE__ */
|
|
2659
|
+
tooltip: /* @__PURE__ */ jsx25(Tooltip, { content: COINLIST_FEE_TOOLTIP, children: /* @__PURE__ */ jsx25(InfoIcon, {}) }),
|
|
2690
2660
|
value: state.coinlistFee
|
|
2691
2661
|
}
|
|
2692
2662
|
)
|
|
2693
2663
|
] }),
|
|
2694
|
-
/* @__PURE__ */
|
|
2695
|
-
/* @__PURE__ */
|
|
2664
|
+
/* @__PURE__ */ jsx25("div", { className: "clcosdk:h-px clcosdk:shrink-0 clcosdk:bg-divider" }),
|
|
2665
|
+
/* @__PURE__ */ jsx25(
|
|
2696
2666
|
DetailRow,
|
|
2697
2667
|
{
|
|
2698
2668
|
label: TOTAL_LABEL,
|
|
@@ -2702,9 +2672,9 @@ function ActiveView2({
|
|
|
2702
2672
|
}
|
|
2703
2673
|
)
|
|
2704
2674
|
] }),
|
|
2705
|
-
state.error !== null && /* @__PURE__ */
|
|
2706
|
-
/* @__PURE__ */
|
|
2707
|
-
/* @__PURE__ */
|
|
2675
|
+
state.error !== null && /* @__PURE__ */ jsx25(QuoteLine, { tone: "error", children: state.error }),
|
|
2676
|
+
/* @__PURE__ */ jsx25(QuoteStatusLine, { quote: state.quote, onEvent }),
|
|
2677
|
+
/* @__PURE__ */ jsx25(
|
|
2708
2678
|
ClButton,
|
|
2709
2679
|
{
|
|
2710
2680
|
variant: "gradient",
|
|
@@ -2717,14 +2687,14 @@ function ActiveView2({
|
|
|
2717
2687
|
children: "Place order"
|
|
2718
2688
|
}
|
|
2719
2689
|
),
|
|
2720
|
-
/* @__PURE__ */
|
|
2690
|
+
/* @__PURE__ */ jsx25(Disclaimer, {})
|
|
2721
2691
|
] });
|
|
2722
2692
|
}
|
|
2723
2693
|
function QuoteStatusLine({
|
|
2724
2694
|
quote,
|
|
2725
2695
|
onEvent
|
|
2726
2696
|
}) {
|
|
2727
|
-
const refreshLink = /* @__PURE__ */
|
|
2697
|
+
const refreshLink = /* @__PURE__ */ jsx25(
|
|
2728
2698
|
"button",
|
|
2729
2699
|
{
|
|
2730
2700
|
type: "button",
|
|
@@ -2735,20 +2705,20 @@ function QuoteStatusLine({
|
|
|
2735
2705
|
);
|
|
2736
2706
|
switch (quote.type) {
|
|
2737
2707
|
case "valid":
|
|
2738
|
-
return /* @__PURE__ */
|
|
2708
|
+
return /* @__PURE__ */ jsxs18(QuoteLine, { tone: "muted", children: [
|
|
2739
2709
|
quote.expiresInLabel,
|
|
2740
2710
|
" ",
|
|
2741
2711
|
refreshLink
|
|
2742
2712
|
] });
|
|
2743
2713
|
case "refreshing":
|
|
2744
|
-
return /* @__PURE__ */
|
|
2714
|
+
return /* @__PURE__ */ jsx25(QuoteLine, { tone: "muted", children: "Refreshing quote\u2026" });
|
|
2745
2715
|
case "expired":
|
|
2746
|
-
return /* @__PURE__ */
|
|
2716
|
+
return /* @__PURE__ */ jsxs18(QuoteLine, { tone: "warning", children: [
|
|
2747
2717
|
"Quote expired. ",
|
|
2748
2718
|
refreshLink
|
|
2749
2719
|
] });
|
|
2750
2720
|
case "refresh-failed":
|
|
2751
|
-
return /* @__PURE__ */
|
|
2721
|
+
return /* @__PURE__ */ jsxs18(QuoteLine, { tone: "warning", children: [
|
|
2752
2722
|
quote.message,
|
|
2753
2723
|
" ",
|
|
2754
2724
|
refreshLink
|
|
@@ -2768,7 +2738,7 @@ function QuoteLine({
|
|
|
2768
2738
|
warning: "clcosdk:text-warning",
|
|
2769
2739
|
error: "clcosdk:text-error"
|
|
2770
2740
|
}[tone];
|
|
2771
|
-
return /* @__PURE__ */
|
|
2741
|
+
return /* @__PURE__ */ jsx25(
|
|
2772
2742
|
"p",
|
|
2773
2743
|
{
|
|
2774
2744
|
className: cn(
|
|
@@ -2781,41 +2751,41 @@ function QuoteLine({
|
|
|
2781
2751
|
);
|
|
2782
2752
|
}
|
|
2783
2753
|
function LoadingView({ className }) {
|
|
2784
|
-
return /* @__PURE__ */
|
|
2785
|
-
/* @__PURE__ */
|
|
2786
|
-
/* @__PURE__ */
|
|
2787
|
-
/* @__PURE__ */
|
|
2788
|
-
/* @__PURE__ */
|
|
2789
|
-
/* @__PURE__ */
|
|
2754
|
+
return /* @__PURE__ */ jsxs18(CheckoutStepCard, { state: "active", title: TITLE3, className, children: [
|
|
2755
|
+
/* @__PURE__ */ jsx25("output", { className: "clcosdk:sr-only", children: LOADING_STATUS }),
|
|
2756
|
+
/* @__PURE__ */ jsxs18("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-4 clcosdk:rounded-2xl clcosdk:border clcosdk:border-border clcosdk:p-4", children: [
|
|
2757
|
+
/* @__PURE__ */ jsx25(Skeleton, { className: "clcosdk:h-3 clcosdk:w-20" }),
|
|
2758
|
+
/* @__PURE__ */ jsxs18("div", { className: "clcosdk:flex clcosdk:items-center clcosdk:gap-3", children: [
|
|
2759
|
+
/* @__PURE__ */ jsx25(
|
|
2790
2760
|
Skeleton,
|
|
2791
2761
|
{
|
|
2792
2762
|
variant: "circular",
|
|
2793
2763
|
className: "clcosdk:size-10 clcosdk:shrink-0"
|
|
2794
2764
|
}
|
|
2795
2765
|
),
|
|
2796
|
-
/* @__PURE__ */
|
|
2797
|
-
/* @__PURE__ */
|
|
2798
|
-
/* @__PURE__ */
|
|
2766
|
+
/* @__PURE__ */ jsxs18("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-2", children: [
|
|
2767
|
+
/* @__PURE__ */ jsx25(Skeleton, { className: "clcosdk:h-5 clcosdk:w-32" }),
|
|
2768
|
+
/* @__PURE__ */ jsx25(Skeleton, { className: "clcosdk:h-3 clcosdk:w-24" })
|
|
2799
2769
|
] })
|
|
2800
2770
|
] })
|
|
2801
2771
|
] }),
|
|
2802
|
-
/* @__PURE__ */
|
|
2772
|
+
/* @__PURE__ */ jsx25("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-3 clcosdk:px-2", children: ["wallet", "price", "fee"].map((row) => /* @__PURE__ */ jsxs18(
|
|
2803
2773
|
"div",
|
|
2804
2774
|
{
|
|
2805
2775
|
className: "clcosdk:flex clcosdk:items-center clcosdk:justify-between clcosdk:gap-4",
|
|
2806
2776
|
children: [
|
|
2807
|
-
/* @__PURE__ */
|
|
2808
|
-
/* @__PURE__ */
|
|
2777
|
+
/* @__PURE__ */ jsx25(Skeleton, { className: "clcosdk:h-4 clcosdk:w-28" }),
|
|
2778
|
+
/* @__PURE__ */ jsx25(Skeleton, { className: "clcosdk:h-4 clcosdk:w-24" })
|
|
2809
2779
|
]
|
|
2810
2780
|
},
|
|
2811
2781
|
row
|
|
2812
2782
|
)) }),
|
|
2813
|
-
/* @__PURE__ */
|
|
2814
|
-
/* @__PURE__ */
|
|
2815
|
-
/* @__PURE__ */
|
|
2816
|
-
/* @__PURE__ */
|
|
2783
|
+
/* @__PURE__ */ jsx25("div", { className: "clcosdk:h-px clcosdk:shrink-0 clcosdk:bg-divider" }),
|
|
2784
|
+
/* @__PURE__ */ jsxs18("div", { className: "clcosdk:flex clcosdk:items-center clcosdk:justify-between clcosdk:gap-4 clcosdk:px-2", children: [
|
|
2785
|
+
/* @__PURE__ */ jsx25(Skeleton, { className: "clcosdk:h-4 clcosdk:w-16" }),
|
|
2786
|
+
/* @__PURE__ */ jsx25(Skeleton, { className: "clcosdk:h-4 clcosdk:w-20" })
|
|
2817
2787
|
] }),
|
|
2818
|
-
/* @__PURE__ */
|
|
2788
|
+
/* @__PURE__ */ jsx25(
|
|
2819
2789
|
Skeleton,
|
|
2820
2790
|
{
|
|
2821
2791
|
variant: "rectangular",
|
|
@@ -2828,9 +2798,9 @@ function ErrorView({
|
|
|
2828
2798
|
onEvent,
|
|
2829
2799
|
className
|
|
2830
2800
|
}) {
|
|
2831
|
-
return /* @__PURE__ */
|
|
2832
|
-
/* @__PURE__ */
|
|
2833
|
-
/* @__PURE__ */
|
|
2801
|
+
return /* @__PURE__ */ jsx25(CheckoutStepCard, { state: "active", title: TITLE3, className, children: /* @__PURE__ */ jsxs18("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:items-center clcosdk:gap-4 clcosdk:py-8 clcosdk:text-center", children: [
|
|
2802
|
+
/* @__PURE__ */ jsxs18("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:items-center clcosdk:gap-2", children: [
|
|
2803
|
+
/* @__PURE__ */ jsx25(
|
|
2834
2804
|
"h3",
|
|
2835
2805
|
{
|
|
2836
2806
|
className: cn(
|
|
@@ -2840,7 +2810,7 @@ function ErrorView({
|
|
|
2840
2810
|
children: ERROR_TITLE
|
|
2841
2811
|
}
|
|
2842
2812
|
),
|
|
2843
|
-
/* @__PURE__ */
|
|
2813
|
+
/* @__PURE__ */ jsx25(
|
|
2844
2814
|
"p",
|
|
2845
2815
|
{
|
|
2846
2816
|
className: cn(
|
|
@@ -2851,7 +2821,7 @@ function ErrorView({
|
|
|
2851
2821
|
}
|
|
2852
2822
|
)
|
|
2853
2823
|
] }),
|
|
2854
|
-
/* @__PURE__ */
|
|
2824
|
+
/* @__PURE__ */ jsx25(
|
|
2855
2825
|
ClButton,
|
|
2856
2826
|
{
|
|
2857
2827
|
variant: "secondary",
|
|
@@ -2862,7 +2832,7 @@ function ErrorView({
|
|
|
2862
2832
|
] }) });
|
|
2863
2833
|
}
|
|
2864
2834
|
function Disclaimer() {
|
|
2865
|
-
return /* @__PURE__ */
|
|
2835
|
+
return /* @__PURE__ */ jsxs18(
|
|
2866
2836
|
"p",
|
|
2867
2837
|
{
|
|
2868
2838
|
className: cn(
|
|
@@ -2872,13 +2842,13 @@ function Disclaimer() {
|
|
|
2872
2842
|
children: [
|
|
2873
2843
|
"By placing this order, you agree to CoinList's",
|
|
2874
2844
|
" ",
|
|
2875
|
-
/* @__PURE__ */
|
|
2845
|
+
/* @__PURE__ */ jsx25(DisclaimerLink, { href: COINLIST_TOS_URL, children: "Terms of Service" }),
|
|
2876
2846
|
" ",
|
|
2877
2847
|
"and",
|
|
2878
2848
|
" ",
|
|
2879
|
-
/* @__PURE__ */
|
|
2849
|
+
/* @__PURE__ */ jsx25(DisclaimerLink, { href: COINLIST_PRIVACY_URL, children: "Privacy Policy" }),
|
|
2880
2850
|
", and ",
|
|
2881
|
-
/* @__PURE__ */
|
|
2851
|
+
/* @__PURE__ */ jsx25(DisclaimerLink, { href: ONDO_TOS_URL, children: "Ondo's Terms" }),
|
|
2882
2852
|
"."
|
|
2883
2853
|
]
|
|
2884
2854
|
}
|
|
@@ -2888,7 +2858,7 @@ function DisclaimerLink({
|
|
|
2888
2858
|
href,
|
|
2889
2859
|
children
|
|
2890
2860
|
}) {
|
|
2891
|
-
return /* @__PURE__ */
|
|
2861
|
+
return /* @__PURE__ */ jsx25(
|
|
2892
2862
|
"a",
|
|
2893
2863
|
{
|
|
2894
2864
|
href,
|
|
@@ -2900,7 +2870,7 @@ function DisclaimerLink({
|
|
|
2900
2870
|
);
|
|
2901
2871
|
}
|
|
2902
2872
|
function InfoIcon() {
|
|
2903
|
-
return /* @__PURE__ */
|
|
2873
|
+
return /* @__PURE__ */ jsx25(
|
|
2904
2874
|
Info2,
|
|
2905
2875
|
{
|
|
2906
2876
|
className: "clcosdk:size-4 clcosdk:text-text-secondary",
|
|
@@ -2910,14 +2880,14 @@ function InfoIcon() {
|
|
|
2910
2880
|
}
|
|
2911
2881
|
|
|
2912
2882
|
// src/client/components/checkout/ondo/shared/error/OndoCheckoutError.tsx
|
|
2913
|
-
import { jsx as
|
|
2883
|
+
import { jsx as jsx26, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
2914
2884
|
var UNSUPPORTED_CHAIN_TITLE = "Not available on this network";
|
|
2915
2885
|
var UNSUPPORTED_CHAIN_DESCRIPTION = "Ondo orders cannot be placed on the selected network.";
|
|
2916
2886
|
function OndoCheckoutError({
|
|
2917
2887
|
reason,
|
|
2918
2888
|
className
|
|
2919
2889
|
}) {
|
|
2920
|
-
return /* @__PURE__ */
|
|
2890
|
+
return /* @__PURE__ */ jsx26(CoinListStyleScope, { children: /* @__PURE__ */ jsx26(
|
|
2921
2891
|
"div",
|
|
2922
2892
|
{
|
|
2923
2893
|
className: cn(
|
|
@@ -2925,8 +2895,8 @@ function OndoCheckoutError({
|
|
|
2925
2895
|
"clcosdk:items-center clcosdk:gap-4 clcosdk:py-12 clcosdk:text-center",
|
|
2926
2896
|
className
|
|
2927
2897
|
),
|
|
2928
|
-
children: /* @__PURE__ */
|
|
2929
|
-
/* @__PURE__ */
|
|
2898
|
+
children: /* @__PURE__ */ jsxs19("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:items-center clcosdk:gap-2", children: [
|
|
2899
|
+
/* @__PURE__ */ jsx26(
|
|
2930
2900
|
"h2",
|
|
2931
2901
|
{
|
|
2932
2902
|
className: cn(
|
|
@@ -2936,7 +2906,7 @@ function OndoCheckoutError({
|
|
|
2936
2906
|
children: title(reason)
|
|
2937
2907
|
}
|
|
2938
2908
|
),
|
|
2939
|
-
/* @__PURE__ */
|
|
2909
|
+
/* @__PURE__ */ jsx26(
|
|
2940
2910
|
"p",
|
|
2941
2911
|
{
|
|
2942
2912
|
className: cn(
|
|
@@ -2972,9 +2942,9 @@ function description(reason) {
|
|
|
2972
2942
|
}
|
|
2973
2943
|
|
|
2974
2944
|
// src/client/components/checkout/shared/common/StatusIndicator.tsx
|
|
2975
|
-
import { jsx as
|
|
2945
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
2976
2946
|
function StatusIndicator({ status, className }) {
|
|
2977
|
-
return /* @__PURE__ */
|
|
2947
|
+
return /* @__PURE__ */ jsx27(CoinListStyleScope, { children: /* @__PURE__ */ jsx27(
|
|
2978
2948
|
"span",
|
|
2979
2949
|
{
|
|
2980
2950
|
className: cn(
|
|
@@ -2992,9 +2962,9 @@ import { ChevronDown, ChevronUp } from "lucide-react";
|
|
|
2992
2962
|
import { useId as useId3, useState as useState2 } from "react";
|
|
2993
2963
|
|
|
2994
2964
|
// src/client/components/checkout/shared/common/CheckoutCard.tsx
|
|
2995
|
-
import { jsx as
|
|
2965
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
2996
2966
|
function CheckoutCard({ children, className }) {
|
|
2997
|
-
return /* @__PURE__ */
|
|
2967
|
+
return /* @__PURE__ */ jsx28(CoinListStyleScope, { children: /* @__PURE__ */ jsx28(
|
|
2998
2968
|
"div",
|
|
2999
2969
|
{
|
|
3000
2970
|
className: cn(
|
|
@@ -3010,7 +2980,7 @@ function CheckoutCard({ children, className }) {
|
|
|
3010
2980
|
}
|
|
3011
2981
|
|
|
3012
2982
|
// src/client/components/checkout/shared/sidebar/CheckoutSidebarCard.tsx
|
|
3013
|
-
import { jsx as
|
|
2983
|
+
import { jsx as jsx29, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
3014
2984
|
function CheckoutSidebarCard({
|
|
3015
2985
|
title: title2,
|
|
3016
2986
|
header,
|
|
@@ -3021,7 +2991,7 @@ function CheckoutSidebarCard({
|
|
|
3021
2991
|
}) {
|
|
3022
2992
|
const [expanded, setExpanded] = useState2(false);
|
|
3023
2993
|
const rowsId = useId3();
|
|
3024
|
-
return /* @__PURE__ */
|
|
2994
|
+
return /* @__PURE__ */ jsx29(CoinListStyleScope, { children: /* @__PURE__ */ jsxs20(
|
|
3025
2995
|
CheckoutCard,
|
|
3026
2996
|
{
|
|
3027
2997
|
className: cn(
|
|
@@ -3030,8 +3000,8 @@ function CheckoutSidebarCard({
|
|
|
3030
3000
|
className
|
|
3031
3001
|
),
|
|
3032
3002
|
children: [
|
|
3033
|
-
/* @__PURE__ */
|
|
3034
|
-
/* @__PURE__ */
|
|
3003
|
+
/* @__PURE__ */ jsxs20("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:flex-col clcosdk:gap-4", children: [
|
|
3004
|
+
/* @__PURE__ */ jsx29(
|
|
3035
3005
|
"h2",
|
|
3036
3006
|
{
|
|
3037
3007
|
className: cn(
|
|
@@ -3043,7 +3013,7 @@ function CheckoutSidebarCard({
|
|
|
3043
3013
|
),
|
|
3044
3014
|
header
|
|
3045
3015
|
] }),
|
|
3046
|
-
/* @__PURE__ */
|
|
3016
|
+
/* @__PURE__ */ jsx29(
|
|
3047
3017
|
"div",
|
|
3048
3018
|
{
|
|
3049
3019
|
className: cn(
|
|
@@ -3052,7 +3022,7 @@ function CheckoutSidebarCard({
|
|
|
3052
3022
|
)
|
|
3053
3023
|
}
|
|
3054
3024
|
),
|
|
3055
|
-
/* @__PURE__ */
|
|
3025
|
+
/* @__PURE__ */ jsx29(
|
|
3056
3026
|
CheckoutDetailList,
|
|
3057
3027
|
{
|
|
3058
3028
|
id: rowsId,
|
|
@@ -3061,7 +3031,7 @@ function CheckoutSidebarCard({
|
|
|
3061
3031
|
className: cn("clcosdk:px-2", !expanded && "clcosdk:max-md:hidden")
|
|
3062
3032
|
}
|
|
3063
3033
|
),
|
|
3064
|
-
/* @__PURE__ */
|
|
3034
|
+
/* @__PURE__ */ jsxs20(
|
|
3065
3035
|
"button",
|
|
3066
3036
|
{
|
|
3067
3037
|
type: "button",
|
|
@@ -3080,7 +3050,7 @@ function CheckoutSidebarCard({
|
|
|
3080
3050
|
),
|
|
3081
3051
|
children: [
|
|
3082
3052
|
expanded ? hideDetailsLabel : showDetailsLabel,
|
|
3083
|
-
expanded ? /* @__PURE__ */
|
|
3053
|
+
expanded ? /* @__PURE__ */ jsx29(ChevronUp, { className: "clcosdk:size-4", "aria-hidden": "true" }) : /* @__PURE__ */ jsx29(ChevronDown, { className: "clcosdk:size-4", "aria-hidden": "true" })
|
|
3084
3054
|
]
|
|
3085
3055
|
}
|
|
3086
3056
|
)
|
|
@@ -3090,7 +3060,7 @@ function CheckoutSidebarCard({
|
|
|
3090
3060
|
}
|
|
3091
3061
|
|
|
3092
3062
|
// src/client/components/checkout/ondo/shared/sidebar/OndoSidebarView.tsx
|
|
3093
|
-
import { jsx as
|
|
3063
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
3094
3064
|
var TITLE4 = "Asset details";
|
|
3095
3065
|
var SHOW_DETAILS_LABEL = "Show details";
|
|
3096
3066
|
var HIDE_DETAILS_LABEL = "Hide details";
|
|
@@ -3105,16 +3075,16 @@ function OndoSidebarView({
|
|
|
3105
3075
|
state,
|
|
3106
3076
|
className
|
|
3107
3077
|
}) {
|
|
3108
|
-
return /* @__PURE__ */
|
|
3078
|
+
return /* @__PURE__ */ jsx30(CoinListStyleScope, { children: /* @__PURE__ */ jsx30(
|
|
3109
3079
|
CheckoutSidebarCard,
|
|
3110
3080
|
{
|
|
3111
3081
|
title: TITLE4,
|
|
3112
|
-
header: /* @__PURE__ */
|
|
3082
|
+
header: /* @__PURE__ */ jsx30(
|
|
3113
3083
|
AssetSummaryRow,
|
|
3114
3084
|
{
|
|
3115
3085
|
asset: state.asset,
|
|
3116
|
-
value: /* @__PURE__ */
|
|
3117
|
-
caption: /* @__PURE__ */
|
|
3086
|
+
value: /* @__PURE__ */ jsx30(PriceValue, { price: state.price }),
|
|
3087
|
+
caption: /* @__PURE__ */ jsx30(PriceCaption, { price: state.price })
|
|
3118
3088
|
}
|
|
3119
3089
|
),
|
|
3120
3090
|
rows: detailRows2(state),
|
|
@@ -3137,7 +3107,7 @@ function detailRows2(state) {
|
|
|
3137
3107
|
function PriceValue({ price }) {
|
|
3138
3108
|
switch (price.type) {
|
|
3139
3109
|
case "loading":
|
|
3140
|
-
return /* @__PURE__ */
|
|
3110
|
+
return /* @__PURE__ */ jsx30(Skeleton, { className: "clcosdk:h-[1em] clcosdk:w-24" });
|
|
3141
3111
|
case "known":
|
|
3142
3112
|
return price.price;
|
|
3143
3113
|
case "unavailable":
|
|
@@ -3151,9 +3121,9 @@ function PriceValue({ price }) {
|
|
|
3151
3121
|
function PriceCaption({ price }) {
|
|
3152
3122
|
switch (price.type) {
|
|
3153
3123
|
case "loading":
|
|
3154
|
-
return /* @__PURE__ */
|
|
3124
|
+
return /* @__PURE__ */ jsx30(Skeleton, { className: "clcosdk:h-[1em] clcosdk:w-20" });
|
|
3155
3125
|
case "known":
|
|
3156
|
-
return /* @__PURE__ */
|
|
3126
|
+
return /* @__PURE__ */ jsx30(StatusIndicator, { status: price.market });
|
|
3157
3127
|
// Nothing to say about a market whose price never arrived: the order steps
|
|
3158
3128
|
// are where that failure is reported and retried.
|
|
3159
3129
|
case "unavailable":
|
|
@@ -3170,7 +3140,7 @@ import { Wallet } from "lucide-react";
|
|
|
3170
3140
|
|
|
3171
3141
|
// src/client/components/checkout/shared/selection/SelectableOptionRow.tsx
|
|
3172
3142
|
import { Children, Fragment as Fragment6 } from "react";
|
|
3173
|
-
import { jsx as
|
|
3143
|
+
import { jsx as jsx31, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
3174
3144
|
function SelectableOptionRow({
|
|
3175
3145
|
selected,
|
|
3176
3146
|
disabled = false,
|
|
@@ -3187,7 +3157,7 @@ function SelectableOptionRow({
|
|
|
3187
3157
|
onSelect();
|
|
3188
3158
|
}
|
|
3189
3159
|
};
|
|
3190
|
-
return /* @__PURE__ */
|
|
3160
|
+
return /* @__PURE__ */ jsx31(CoinListStyleScope, { children: /* @__PURE__ */ jsxs21(
|
|
3191
3161
|
"div",
|
|
3192
3162
|
{
|
|
3193
3163
|
role: "button",
|
|
@@ -3207,17 +3177,17 @@ function SelectableOptionRow({
|
|
|
3207
3177
|
className
|
|
3208
3178
|
),
|
|
3209
3179
|
children: [
|
|
3210
|
-
/* @__PURE__ */
|
|
3180
|
+
/* @__PURE__ */ jsxs21("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:items-center clcosdk:gap-3", children: [
|
|
3211
3181
|
icon,
|
|
3212
|
-
/* @__PURE__ */
|
|
3182
|
+
/* @__PURE__ */ jsx31("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:flex-col", children })
|
|
3213
3183
|
] }),
|
|
3214
|
-
/* @__PURE__ */
|
|
3184
|
+
/* @__PURE__ */ jsx31(RadioCircle, { selected })
|
|
3215
3185
|
]
|
|
3216
3186
|
}
|
|
3217
3187
|
) });
|
|
3218
3188
|
}
|
|
3219
3189
|
function RadioCircle({ selected }) {
|
|
3220
|
-
return /* @__PURE__ */
|
|
3190
|
+
return /* @__PURE__ */ jsxs21(
|
|
3221
3191
|
"svg",
|
|
3222
3192
|
{
|
|
3223
3193
|
width: "20",
|
|
@@ -3227,7 +3197,7 @@ function RadioCircle({ selected }) {
|
|
|
3227
3197
|
"aria-hidden": "true",
|
|
3228
3198
|
className: "clcosdk:shrink-0",
|
|
3229
3199
|
children: [
|
|
3230
|
-
/* @__PURE__ */
|
|
3200
|
+
/* @__PURE__ */ jsx31(
|
|
3231
3201
|
"circle",
|
|
3232
3202
|
{
|
|
3233
3203
|
cx: "10",
|
|
@@ -3238,7 +3208,7 @@ function RadioCircle({ selected }) {
|
|
|
3238
3208
|
className: selected ? "clcosdk:text-text-primary" : "clcosdk:text-text-disabled"
|
|
3239
3209
|
}
|
|
3240
3210
|
),
|
|
3241
|
-
selected && /* @__PURE__ */
|
|
3211
|
+
selected && /* @__PURE__ */ jsx31(
|
|
3242
3212
|
"circle",
|
|
3243
3213
|
{
|
|
3244
3214
|
cx: "10",
|
|
@@ -3254,26 +3224,26 @@ function RadioCircle({ selected }) {
|
|
|
3254
3224
|
}
|
|
3255
3225
|
function OptionMetaRow({ children }) {
|
|
3256
3226
|
const items = Children.toArray(children).filter(Boolean);
|
|
3257
|
-
return /* @__PURE__ */
|
|
3227
|
+
return /* @__PURE__ */ jsx31("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:items-center clcosdk:gap-1.5", children: items.map((item, index) => (
|
|
3258
3228
|
// biome-ignore lint/suspicious/noArrayIndexKey: positional separators, and the list is caller-authored JSX.
|
|
3259
|
-
/* @__PURE__ */
|
|
3260
|
-
index > 0 && /* @__PURE__ */
|
|
3229
|
+
/* @__PURE__ */ jsxs21(Fragment6, { children: [
|
|
3230
|
+
index > 0 && /* @__PURE__ */ jsx31(MetaDot, {}),
|
|
3261
3231
|
item
|
|
3262
3232
|
] }, index)
|
|
3263
3233
|
)) });
|
|
3264
3234
|
}
|
|
3265
3235
|
function MetaDot() {
|
|
3266
|
-
return /* @__PURE__ */
|
|
3236
|
+
return /* @__PURE__ */ jsx31("span", { className: "clcosdk:h-1 clcosdk:w-1 clcosdk:shrink-0 clcosdk:rounded-full clcosdk:bg-text-disabled" });
|
|
3267
3237
|
}
|
|
3268
3238
|
|
|
3269
3239
|
// src/client/components/checkout/ondo/shared/wallet/OndoWalletSelectView.tsx
|
|
3270
|
-
import { jsx as
|
|
3240
|
+
import { jsx as jsx32, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
3271
3241
|
var TITLE5 = "1. Choose your wallet";
|
|
3272
3242
|
var DEFAULT_DESCRIPTION = "Choose your wallet to fund your purchase and receive your assets.";
|
|
3273
3243
|
var EMBEDDED_WALLET_LABEL = "CoinList Wallet";
|
|
3274
3244
|
var EXTERNAL_WALLET_LABEL = "External wallet";
|
|
3275
3245
|
function OndoWalletSelectView(props) {
|
|
3276
|
-
return /* @__PURE__ */
|
|
3246
|
+
return /* @__PURE__ */ jsx32(CoinListStyleScope, { children: /* @__PURE__ */ jsx32(OndoWalletSelectViewBody, { ...props }) });
|
|
3277
3247
|
}
|
|
3278
3248
|
function OndoWalletSelectViewBody({
|
|
3279
3249
|
state,
|
|
@@ -3283,7 +3253,7 @@ function OndoWalletSelectViewBody({
|
|
|
3283
3253
|
}) {
|
|
3284
3254
|
switch (state.type) {
|
|
3285
3255
|
case "active":
|
|
3286
|
-
return /* @__PURE__ */
|
|
3256
|
+
return /* @__PURE__ */ jsx32(
|
|
3287
3257
|
ActiveView3,
|
|
3288
3258
|
{
|
|
3289
3259
|
state,
|
|
@@ -3293,7 +3263,7 @@ function OndoWalletSelectViewBody({
|
|
|
3293
3263
|
}
|
|
3294
3264
|
);
|
|
3295
3265
|
case "completed":
|
|
3296
|
-
return /* @__PURE__ */
|
|
3266
|
+
return /* @__PURE__ */ jsx32(
|
|
3297
3267
|
CompletedView2,
|
|
3298
3268
|
{
|
|
3299
3269
|
wallet: state.wallet,
|
|
@@ -3313,18 +3283,18 @@ function ActiveView3({
|
|
|
3313
3283
|
description: description2,
|
|
3314
3284
|
className
|
|
3315
3285
|
}) {
|
|
3316
|
-
return /* @__PURE__ */
|
|
3286
|
+
return /* @__PURE__ */ jsx32(
|
|
3317
3287
|
CheckoutStepCard,
|
|
3318
3288
|
{
|
|
3319
3289
|
state: "active",
|
|
3320
3290
|
title: TITLE5,
|
|
3321
|
-
description: /* @__PURE__ */
|
|
3291
|
+
description: /* @__PURE__ */ jsx32("p", { className: cn(typeClasses.bodySm, "clcosdk:text-text-secondary"), children: description2 }),
|
|
3322
3292
|
className,
|
|
3323
|
-
footer: /* @__PURE__ */
|
|
3293
|
+
footer: /* @__PURE__ */ jsx32(
|
|
3324
3294
|
CheckoutStepFooter,
|
|
3325
3295
|
{
|
|
3326
3296
|
error: state.error,
|
|
3327
|
-
cta: /* @__PURE__ */
|
|
3297
|
+
cta: /* @__PURE__ */ jsx32(
|
|
3328
3298
|
ClButton,
|
|
3329
3299
|
{
|
|
3330
3300
|
variant: "primary",
|
|
@@ -3336,8 +3306,8 @@ function ActiveView3({
|
|
|
3336
3306
|
)
|
|
3337
3307
|
}
|
|
3338
3308
|
),
|
|
3339
|
-
children: /* @__PURE__ */
|
|
3340
|
-
/* @__PURE__ */
|
|
3309
|
+
children: /* @__PURE__ */ jsxs22("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-4", children: [
|
|
3310
|
+
/* @__PURE__ */ jsx32(
|
|
3341
3311
|
ExternalWalletRow,
|
|
3342
3312
|
{
|
|
3343
3313
|
wallet: state.externalWallet,
|
|
@@ -3345,7 +3315,7 @@ function ActiveView3({
|
|
|
3345
3315
|
onEvent
|
|
3346
3316
|
}
|
|
3347
3317
|
),
|
|
3348
|
-
state.embeddedWallets.map((wallet) => /* @__PURE__ */
|
|
3318
|
+
state.embeddedWallets.map((wallet) => /* @__PURE__ */ jsx32(
|
|
3349
3319
|
EmbeddedWalletRow,
|
|
3350
3320
|
{
|
|
3351
3321
|
wallet,
|
|
@@ -3363,13 +3333,13 @@ function ExternalWalletRow({
|
|
|
3363
3333
|
onEvent
|
|
3364
3334
|
}) {
|
|
3365
3335
|
if (wallet === null) {
|
|
3366
|
-
return /* @__PURE__ */
|
|
3336
|
+
return /* @__PURE__ */ jsx32(
|
|
3367
3337
|
SelectableOptionRow,
|
|
3368
3338
|
{
|
|
3369
3339
|
selected: false,
|
|
3370
3340
|
onSelect: () => onEvent({ type: "ON_CONNECT_WALLET" }),
|
|
3371
|
-
icon: /* @__PURE__ */
|
|
3372
|
-
children: /* @__PURE__ */
|
|
3341
|
+
icon: /* @__PURE__ */ jsx32(WalletGlyph, {}),
|
|
3342
|
+
children: /* @__PURE__ */ jsx32(
|
|
3373
3343
|
"span",
|
|
3374
3344
|
{
|
|
3375
3345
|
className: cn(
|
|
@@ -3382,14 +3352,14 @@ function ExternalWalletRow({
|
|
|
3382
3352
|
}
|
|
3383
3353
|
);
|
|
3384
3354
|
}
|
|
3385
|
-
return /* @__PURE__ */
|
|
3355
|
+
return /* @__PURE__ */ jsxs22(
|
|
3386
3356
|
SelectableOptionRow,
|
|
3387
3357
|
{
|
|
3388
3358
|
selected: wallet.selected,
|
|
3389
3359
|
onSelect: () => onEvent({ type: "ON_SELECT_WALLET", value: { type: "external" } }),
|
|
3390
|
-
icon: /* @__PURE__ */
|
|
3360
|
+
icon: /* @__PURE__ */ jsx32(WalletGlyph, {}),
|
|
3391
3361
|
children: [
|
|
3392
|
-
/* @__PURE__ */
|
|
3362
|
+
/* @__PURE__ */ jsx32(
|
|
3393
3363
|
"span",
|
|
3394
3364
|
{
|
|
3395
3365
|
className: cn(
|
|
@@ -3399,22 +3369,22 @@ function ExternalWalletRow({
|
|
|
3399
3369
|
children: wallet.address
|
|
3400
3370
|
}
|
|
3401
3371
|
),
|
|
3402
|
-
canDisconnect && /* @__PURE__ */
|
|
3372
|
+
canDisconnect && /* @__PURE__ */ jsx32(
|
|
3403
3373
|
DisconnectControl,
|
|
3404
3374
|
{
|
|
3405
3375
|
onDisconnect: () => onEvent({ type: "ON_DISCONNECT_WALLET" }),
|
|
3406
3376
|
className: "clcosdk:md:hidden"
|
|
3407
3377
|
}
|
|
3408
3378
|
),
|
|
3409
|
-
/* @__PURE__ */
|
|
3410
|
-
/* @__PURE__ */
|
|
3379
|
+
/* @__PURE__ */ jsx32("div", { className: "clcosdk:max-md:hidden", children: /* @__PURE__ */ jsxs22(OptionMetaRow, { children: [
|
|
3380
|
+
/* @__PURE__ */ jsx32(
|
|
3411
3381
|
"span",
|
|
3412
3382
|
{
|
|
3413
3383
|
className: cn(typeClasses.subhead, "clcosdk:text-text-secondary"),
|
|
3414
3384
|
children: wallet.network
|
|
3415
3385
|
}
|
|
3416
3386
|
),
|
|
3417
|
-
canDisconnect && /* @__PURE__ */
|
|
3387
|
+
canDisconnect && /* @__PURE__ */ jsx32(
|
|
3418
3388
|
DisconnectControl,
|
|
3419
3389
|
{
|
|
3420
3390
|
onDisconnect: () => onEvent({ type: "ON_DISCONNECT_WALLET" })
|
|
@@ -3429,7 +3399,7 @@ function EmbeddedWalletRow({
|
|
|
3429
3399
|
wallet,
|
|
3430
3400
|
onEvent
|
|
3431
3401
|
}) {
|
|
3432
|
-
return /* @__PURE__ */
|
|
3402
|
+
return /* @__PURE__ */ jsxs22(
|
|
3433
3403
|
SelectableOptionRow,
|
|
3434
3404
|
{
|
|
3435
3405
|
selected: wallet.selected,
|
|
@@ -3437,9 +3407,9 @@ function EmbeddedWalletRow({
|
|
|
3437
3407
|
type: "ON_SELECT_WALLET",
|
|
3438
3408
|
value: { type: "embedded", address: wallet.walletAddress }
|
|
3439
3409
|
}),
|
|
3440
|
-
icon: /* @__PURE__ */
|
|
3410
|
+
icon: /* @__PURE__ */ jsx32(WalletGlyph, {}),
|
|
3441
3411
|
children: [
|
|
3442
|
-
/* @__PURE__ */
|
|
3412
|
+
/* @__PURE__ */ jsx32(
|
|
3443
3413
|
"span",
|
|
3444
3414
|
{
|
|
3445
3415
|
className: cn(
|
|
@@ -3449,7 +3419,7 @@ function EmbeddedWalletRow({
|
|
|
3449
3419
|
children: EMBEDDED_WALLET_LABEL
|
|
3450
3420
|
}
|
|
3451
3421
|
),
|
|
3452
|
-
/* @__PURE__ */
|
|
3422
|
+
/* @__PURE__ */ jsx32(
|
|
3453
3423
|
"span",
|
|
3454
3424
|
{
|
|
3455
3425
|
className: cn(
|
|
@@ -3459,8 +3429,8 @@ function EmbeddedWalletRow({
|
|
|
3459
3429
|
children: wallet.address
|
|
3460
3430
|
}
|
|
3461
3431
|
),
|
|
3462
|
-
/* @__PURE__ */
|
|
3463
|
-
/* @__PURE__ */
|
|
3432
|
+
/* @__PURE__ */ jsx32("div", { className: "clcosdk:max-md:hidden", children: /* @__PURE__ */ jsxs22(OptionMetaRow, { children: [
|
|
3433
|
+
/* @__PURE__ */ jsx32(
|
|
3464
3434
|
"span",
|
|
3465
3435
|
{
|
|
3466
3436
|
className: cn(
|
|
@@ -3470,7 +3440,7 @@ function EmbeddedWalletRow({
|
|
|
3470
3440
|
children: wallet.address
|
|
3471
3441
|
}
|
|
3472
3442
|
),
|
|
3473
|
-
/* @__PURE__ */
|
|
3443
|
+
/* @__PURE__ */ jsx32(
|
|
3474
3444
|
"span",
|
|
3475
3445
|
{
|
|
3476
3446
|
className: cn(
|
|
@@ -3490,10 +3460,10 @@ function CompletedView2({
|
|
|
3490
3460
|
onEvent,
|
|
3491
3461
|
className
|
|
3492
3462
|
}) {
|
|
3493
|
-
return /* @__PURE__ */
|
|
3463
|
+
return /* @__PURE__ */ jsx32(CheckoutStepCard, { state: "completed", title: TITLE5, className, children: /* @__PURE__ */ jsx32(
|
|
3494
3464
|
CompletedStepSummary,
|
|
3495
3465
|
{
|
|
3496
|
-
icon: /* @__PURE__ */
|
|
3466
|
+
icon: /* @__PURE__ */ jsx32(WalletGlyph, {}),
|
|
3497
3467
|
title: wallet.type === "embedded" ? EMBEDDED_WALLET_LABEL : wallet.address,
|
|
3498
3468
|
subtitle: wallet.type === "embedded" ? wallet.address : null,
|
|
3499
3469
|
editLabel: "Edit",
|
|
@@ -3505,7 +3475,7 @@ function DisconnectControl({
|
|
|
3505
3475
|
onDisconnect,
|
|
3506
3476
|
className
|
|
3507
3477
|
}) {
|
|
3508
|
-
return /* @__PURE__ */
|
|
3478
|
+
return /* @__PURE__ */ jsx32(
|
|
3509
3479
|
"button",
|
|
3510
3480
|
{
|
|
3511
3481
|
type: "button",
|
|
@@ -3524,7 +3494,7 @@ function DisconnectControl({
|
|
|
3524
3494
|
);
|
|
3525
3495
|
}
|
|
3526
3496
|
function WalletGlyph() {
|
|
3527
|
-
return /* @__PURE__ */
|
|
3497
|
+
return /* @__PURE__ */ jsx32("div", { className: "clcosdk:flex clcosdk:size-10 clcosdk:shrink-0 clcosdk:items-center clcosdk:justify-center clcosdk:rounded-xl clcosdk:bg-section", children: /* @__PURE__ */ jsx32(
|
|
3528
3498
|
Wallet,
|
|
3529
3499
|
{
|
|
3530
3500
|
className: "clcosdk:size-5 clcosdk:text-text-primary",
|
|
@@ -3534,7 +3504,7 @@ function WalletGlyph() {
|
|
|
3534
3504
|
}
|
|
3535
3505
|
|
|
3536
3506
|
// src/client/components/checkout/ondo/buy/OndoBuyCheckoutView.tsx
|
|
3537
|
-
import { jsx as
|
|
3507
|
+
import { jsx as jsx33, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
3538
3508
|
function OndoBuyCheckoutView({
|
|
3539
3509
|
state,
|
|
3540
3510
|
onEvent,
|
|
@@ -3542,10 +3512,10 @@ function OndoBuyCheckoutView({
|
|
|
3542
3512
|
}) {
|
|
3543
3513
|
switch (state.type) {
|
|
3544
3514
|
case "error":
|
|
3545
|
-
return /* @__PURE__ */
|
|
3515
|
+
return /* @__PURE__ */ jsx33(OndoCheckoutError, { reason: state.reason, className });
|
|
3546
3516
|
case "content":
|
|
3547
|
-
return /* @__PURE__ */
|
|
3548
|
-
/* @__PURE__ */
|
|
3517
|
+
return /* @__PURE__ */ jsxs23(CoinListStyleScope, { children: [
|
|
3518
|
+
/* @__PURE__ */ jsxs23(
|
|
3549
3519
|
"div",
|
|
3550
3520
|
{
|
|
3551
3521
|
className: cn(
|
|
@@ -3554,16 +3524,16 @@ function OndoBuyCheckoutView({
|
|
|
3554
3524
|
className
|
|
3555
3525
|
),
|
|
3556
3526
|
children: [
|
|
3557
|
-
/* @__PURE__ */
|
|
3558
|
-
/* @__PURE__ */
|
|
3559
|
-
/* @__PURE__ */
|
|
3560
|
-
/* @__PURE__ */
|
|
3527
|
+
/* @__PURE__ */ jsxs23("div", { className: "clcosdk:order-2 clcosdk:flex clcosdk:min-w-0 clcosdk:flex-col clcosdk:gap-4 clcosdk:md:order-1", children: [
|
|
3528
|
+
/* @__PURE__ */ jsx33(OndoWalletSelectView, { state: state.wallet, onEvent }),
|
|
3529
|
+
/* @__PURE__ */ jsx33(OndoBuyAmountView, { state: state.amount, onEvent }),
|
|
3530
|
+
/* @__PURE__ */ jsx33(OndoBuyReviewView, { state: state.review, onEvent })
|
|
3561
3531
|
] }),
|
|
3562
|
-
/* @__PURE__ */
|
|
3532
|
+
/* @__PURE__ */ jsx33("aside", { className: "clcosdk:order-1 clcosdk:min-w-0 clcosdk:md:order-2", children: /* @__PURE__ */ jsx33(OndoSidebarView, { state: state.sidebar }) })
|
|
3563
3533
|
]
|
|
3564
3534
|
}
|
|
3565
3535
|
),
|
|
3566
|
-
/* @__PURE__ */
|
|
3536
|
+
/* @__PURE__ */ jsx33(
|
|
3567
3537
|
OndoBuyOrderConfirmed,
|
|
3568
3538
|
{
|
|
3569
3539
|
state: state.orderConfirmed,
|
|
@@ -5113,7 +5083,7 @@ function toOrderConfirmedUi({
|
|
|
5113
5083
|
}
|
|
5114
5084
|
|
|
5115
5085
|
// src/client/components/checkout/ondo/buy/OndoBuyCheckoutContainer.tsx
|
|
5116
|
-
import { jsx as
|
|
5086
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
5117
5087
|
function OndoBuyCheckoutContainer({
|
|
5118
5088
|
offer,
|
|
5119
5089
|
ondoSymbol,
|
|
@@ -5131,7 +5101,7 @@ function OndoBuyCheckoutContainer({
|
|
|
5131
5101
|
enabled,
|
|
5132
5102
|
onOrderConfirmed
|
|
5133
5103
|
});
|
|
5134
|
-
return /* @__PURE__ */
|
|
5104
|
+
return /* @__PURE__ */ jsx34(
|
|
5135
5105
|
OndoBuyCheckoutView,
|
|
5136
5106
|
{
|
|
5137
5107
|
state,
|
|
@@ -5142,7 +5112,7 @@ function OndoBuyCheckoutContainer({
|
|
|
5142
5112
|
}
|
|
5143
5113
|
|
|
5144
5114
|
// src/client/components/checkout/ondo/sell/amount/OndoSellAmountView.tsx
|
|
5145
|
-
import { jsx as
|
|
5115
|
+
import { jsx as jsx35, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5146
5116
|
var TITLE6 = "Enter amount";
|
|
5147
5117
|
var AMOUNT_LABEL2 = "Amount";
|
|
5148
5118
|
var AMOUNT_PLACEHOLDER2 = "0.00";
|
|
@@ -5150,7 +5120,7 @@ var BALANCE_LABEL = "Balance";
|
|
|
5150
5120
|
var EMBEDDED_WALLET_LABEL2 = "CoinList Wallet";
|
|
5151
5121
|
var REVIEW_NOTE2 = "You'll review your order details before selling.";
|
|
5152
5122
|
function OndoSellAmountView(props) {
|
|
5153
|
-
return /* @__PURE__ */
|
|
5123
|
+
return /* @__PURE__ */ jsx35(CoinListStyleScope, { children: /* @__PURE__ */ jsx35(OndoSellAmountViewBody, { ...props }) });
|
|
5154
5124
|
}
|
|
5155
5125
|
function OndoSellAmountViewBody({
|
|
5156
5126
|
state,
|
|
@@ -5161,7 +5131,7 @@ function OndoSellAmountViewBody({
|
|
|
5161
5131
|
const title2 = `${stepNumber}. ${TITLE6}`;
|
|
5162
5132
|
switch (state.type) {
|
|
5163
5133
|
case "incomplete":
|
|
5164
|
-
return /* @__PURE__ */
|
|
5134
|
+
return /* @__PURE__ */ jsx35(
|
|
5165
5135
|
CheckoutStepCard,
|
|
5166
5136
|
{
|
|
5167
5137
|
state: "inactive",
|
|
@@ -5170,7 +5140,7 @@ function OndoSellAmountViewBody({
|
|
|
5170
5140
|
}
|
|
5171
5141
|
);
|
|
5172
5142
|
case "active":
|
|
5173
|
-
return /* @__PURE__ */
|
|
5143
|
+
return /* @__PURE__ */ jsx35(
|
|
5174
5144
|
ActiveView4,
|
|
5175
5145
|
{
|
|
5176
5146
|
state,
|
|
@@ -5180,7 +5150,7 @@ function OndoSellAmountViewBody({
|
|
|
5180
5150
|
}
|
|
5181
5151
|
);
|
|
5182
5152
|
case "complete":
|
|
5183
|
-
return /* @__PURE__ */
|
|
5153
|
+
return /* @__PURE__ */ jsx35(
|
|
5184
5154
|
CompletedView3,
|
|
5185
5155
|
{
|
|
5186
5156
|
state,
|
|
@@ -5202,18 +5172,18 @@ function ActiveView4({
|
|
|
5202
5172
|
className
|
|
5203
5173
|
}) {
|
|
5204
5174
|
const isLoading = state.confirmCta.type === "loading";
|
|
5205
|
-
return /* @__PURE__ */
|
|
5175
|
+
return /* @__PURE__ */ jsxs24(
|
|
5206
5176
|
CheckoutStepCard,
|
|
5207
5177
|
{
|
|
5208
5178
|
state: "active",
|
|
5209
5179
|
title: title2,
|
|
5210
5180
|
className,
|
|
5211
|
-
footer: /* @__PURE__ */
|
|
5181
|
+
footer: /* @__PURE__ */ jsx35(
|
|
5212
5182
|
CheckoutStepFooter,
|
|
5213
5183
|
{
|
|
5214
5184
|
message: state.confirmCta.type === "loading" ? state.confirmCta.message : REVIEW_NOTE2,
|
|
5215
5185
|
error: state.error,
|
|
5216
|
-
cta: /* @__PURE__ */
|
|
5186
|
+
cta: /* @__PURE__ */ jsx35(
|
|
5217
5187
|
ClButton,
|
|
5218
5188
|
{
|
|
5219
5189
|
variant: "primary",
|
|
@@ -5228,7 +5198,7 @@ function ActiveView4({
|
|
|
5228
5198
|
}
|
|
5229
5199
|
),
|
|
5230
5200
|
children: [
|
|
5231
|
-
/* @__PURE__ */
|
|
5201
|
+
/* @__PURE__ */ jsx35(
|
|
5232
5202
|
CheckoutAmountInput,
|
|
5233
5203
|
{
|
|
5234
5204
|
label: AMOUNT_LABEL2,
|
|
@@ -5237,9 +5207,8 @@ function ActiveView4({
|
|
|
5237
5207
|
placeholder: AMOUNT_PLACEHOLDER2,
|
|
5238
5208
|
invalid: state.error !== null,
|
|
5239
5209
|
disabled: isLoading,
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
action: state.balance !== null && /* @__PURE__ */ jsx37(
|
|
5210
|
+
suffix: state.balance?.asset.symbol,
|
|
5211
|
+
action: state.balance !== null && /* @__PURE__ */ jsx35(
|
|
5243
5212
|
MaxButton2,
|
|
5244
5213
|
{
|
|
5245
5214
|
disabled: isLoading,
|
|
@@ -5248,7 +5217,7 @@ function ActiveView4({
|
|
|
5248
5217
|
)
|
|
5249
5218
|
}
|
|
5250
5219
|
),
|
|
5251
|
-
/* @__PURE__ */
|
|
5220
|
+
/* @__PURE__ */ jsx35(BalanceSection, { state })
|
|
5252
5221
|
]
|
|
5253
5222
|
}
|
|
5254
5223
|
);
|
|
@@ -5256,10 +5225,10 @@ function ActiveView4({
|
|
|
5256
5225
|
function BalanceSection({
|
|
5257
5226
|
state
|
|
5258
5227
|
}) {
|
|
5259
|
-
return /* @__PURE__ */
|
|
5260
|
-
/* @__PURE__ */
|
|
5261
|
-
/* @__PURE__ */
|
|
5262
|
-
/* @__PURE__ */
|
|
5228
|
+
return /* @__PURE__ */ jsxs24("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-2", children: [
|
|
5229
|
+
/* @__PURE__ */ jsxs24("div", { className: "clcosdk:flex clcosdk:items-center clcosdk:justify-between clcosdk:gap-4", children: [
|
|
5230
|
+
/* @__PURE__ */ jsx35("span", { className: cn(typeClasses.bodySm, "clcosdk:text-text-secondary"), children: BALANCE_LABEL }),
|
|
5231
|
+
/* @__PURE__ */ jsxs24(
|
|
5263
5232
|
"span",
|
|
5264
5233
|
{
|
|
5265
5234
|
className: cn(
|
|
@@ -5277,14 +5246,14 @@ function BalanceSection({
|
|
|
5277
5246
|
// The asset's address and decimals arrive with the sell quote, so
|
|
5278
5247
|
// there is nothing to name until it lands - and a zero holding under
|
|
5279
5248
|
// the real symbol would be a claim rather than a wait.
|
|
5280
|
-
/* @__PURE__ */
|
|
5249
|
+
/* @__PURE__ */ jsx35(
|
|
5281
5250
|
Skeleton,
|
|
5282
5251
|
{
|
|
5283
5252
|
variant: "rectangular",
|
|
5284
5253
|
className: "clcosdk:h-[71px] clcosdk:w-full clcosdk:rounded-2xl"
|
|
5285
5254
|
}
|
|
5286
5255
|
)
|
|
5287
|
-
) : /* @__PURE__ */
|
|
5256
|
+
) : /* @__PURE__ */ jsx35(
|
|
5288
5257
|
PayWithAssetCard,
|
|
5289
5258
|
{
|
|
5290
5259
|
variant: "static",
|
|
@@ -5312,10 +5281,10 @@ function CompletedView3({
|
|
|
5312
5281
|
title: title2,
|
|
5313
5282
|
className
|
|
5314
5283
|
}) {
|
|
5315
|
-
return /* @__PURE__ */
|
|
5284
|
+
return /* @__PURE__ */ jsx35(CheckoutStepCard, { state: "completed", title: title2, className, children: /* @__PURE__ */ jsx35(
|
|
5316
5285
|
CompletedStepSummary,
|
|
5317
5286
|
{
|
|
5318
|
-
icon: /* @__PURE__ */
|
|
5287
|
+
icon: /* @__PURE__ */ jsx35(AssetIcon, { asset: state.asset, size: 40 }),
|
|
5319
5288
|
title: state.amountFormatted,
|
|
5320
5289
|
editLabel: "Edit",
|
|
5321
5290
|
onEdit: () => onEvent({ type: "ON_EDIT_SELL_AMOUNT" })
|
|
@@ -5326,7 +5295,7 @@ function MaxButton2({
|
|
|
5326
5295
|
disabled,
|
|
5327
5296
|
onClick
|
|
5328
5297
|
}) {
|
|
5329
|
-
return /* @__PURE__ */
|
|
5298
|
+
return /* @__PURE__ */ jsx35(
|
|
5330
5299
|
"button",
|
|
5331
5300
|
{
|
|
5332
5301
|
type: "button",
|
|
@@ -5347,7 +5316,7 @@ function MaxButton2({
|
|
|
5347
5316
|
|
|
5348
5317
|
// src/client/components/checkout/ondo/sell/confirmation/OndoSellOrderConfirmed.tsx
|
|
5349
5318
|
import { Check as Check2, ExternalLink as ExternalLink2 } from "lucide-react";
|
|
5350
|
-
import { Fragment as Fragment7, jsx as
|
|
5319
|
+
import { Fragment as Fragment7, jsx as jsx36, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5351
5320
|
var TITLE7 = "Order confirmed";
|
|
5352
5321
|
var SHARES_SOLD_CAPTION = "shares sold";
|
|
5353
5322
|
var RECEIVED_LABEL = "Received";
|
|
@@ -5365,10 +5334,10 @@ function OndoSellOrderConfirmed({
|
|
|
5365
5334
|
return null;
|
|
5366
5335
|
}
|
|
5367
5336
|
const onClose = () => onEvent({ type: "ON_CLOSE_SELL_ORDER_CONFIRMED" });
|
|
5368
|
-
return /* @__PURE__ */
|
|
5337
|
+
return /* @__PURE__ */ jsx36(CoinListStyleScope, { children: /* @__PURE__ */ jsx36(
|
|
5369
5338
|
CheckoutConfirmationDialog,
|
|
5370
5339
|
{
|
|
5371
|
-
icon: /* @__PURE__ */
|
|
5340
|
+
icon: /* @__PURE__ */ jsx36(SuccessGlyph2, {}),
|
|
5372
5341
|
title: TITLE7,
|
|
5373
5342
|
subtitle: subtitle2(state.soldAsset.symbol, state.proceedsSymbol),
|
|
5374
5343
|
header: (
|
|
@@ -5376,7 +5345,7 @@ function OndoSellOrderConfirmed({
|
|
|
5376
5345
|
// leads with what arrived. The proceeds are a detail row below,
|
|
5377
5346
|
// because the position that changed is the thing the user is looking
|
|
5378
5347
|
// for.
|
|
5379
|
-
/* @__PURE__ */
|
|
5348
|
+
/* @__PURE__ */ jsx36(
|
|
5380
5349
|
AssetSummaryRow,
|
|
5381
5350
|
{
|
|
5382
5351
|
asset: state.soldAsset,
|
|
@@ -5386,9 +5355,9 @@ function OndoSellOrderConfirmed({
|
|
|
5386
5355
|
)
|
|
5387
5356
|
),
|
|
5388
5357
|
rows: detailRows3(state),
|
|
5389
|
-
actions: /* @__PURE__ */
|
|
5390
|
-
/* @__PURE__ */
|
|
5391
|
-
/* @__PURE__ */
|
|
5358
|
+
actions: /* @__PURE__ */ jsxs25(Fragment7, { children: [
|
|
5359
|
+
/* @__PURE__ */ jsx36(ClButton, { variant: "gradient", fullWidth: true, onClick: onClose, children: DONE_LABEL2 }),
|
|
5360
|
+
/* @__PURE__ */ jsx36(ExplorerLink2, { url: state.txExplorerUrl })
|
|
5392
5361
|
] }),
|
|
5393
5362
|
onClose,
|
|
5394
5363
|
className
|
|
@@ -5403,14 +5372,14 @@ function detailRows3(state) {
|
|
|
5403
5372
|
];
|
|
5404
5373
|
}
|
|
5405
5374
|
function SuccessGlyph2() {
|
|
5406
|
-
return /* @__PURE__ */
|
|
5375
|
+
return /* @__PURE__ */ jsx36(
|
|
5407
5376
|
"div",
|
|
5408
5377
|
{
|
|
5409
5378
|
className: cn(
|
|
5410
5379
|
"clcosdk:flex clcosdk:size-10 clcosdk:shrink-0 clcosdk:items-center clcosdk:justify-center",
|
|
5411
5380
|
"clcosdk:rounded-full clcosdk:bg-positive-subtle"
|
|
5412
5381
|
),
|
|
5413
|
-
children: /* @__PURE__ */
|
|
5382
|
+
children: /* @__PURE__ */ jsx36(
|
|
5414
5383
|
Check2,
|
|
5415
5384
|
{
|
|
5416
5385
|
className: "clcosdk:size-5 clcosdk:text-positive",
|
|
@@ -5422,7 +5391,7 @@ function SuccessGlyph2() {
|
|
|
5422
5391
|
);
|
|
5423
5392
|
}
|
|
5424
5393
|
function ExplorerLink2({ url }) {
|
|
5425
|
-
return /* @__PURE__ */
|
|
5394
|
+
return /* @__PURE__ */ jsxs25(
|
|
5426
5395
|
"a",
|
|
5427
5396
|
{
|
|
5428
5397
|
href: url,
|
|
@@ -5437,7 +5406,7 @@ function ExplorerLink2({ url }) {
|
|
|
5437
5406
|
),
|
|
5438
5407
|
children: [
|
|
5439
5408
|
VIEW_TRANSACTION_LABEL2,
|
|
5440
|
-
/* @__PURE__ */
|
|
5409
|
+
/* @__PURE__ */ jsx36(
|
|
5441
5410
|
ExternalLink2,
|
|
5442
5411
|
{
|
|
5443
5412
|
className: "clcosdk:size-3.5 clcosdk:shrink-0",
|
|
@@ -5452,7 +5421,7 @@ function ExplorerLink2({ url }) {
|
|
|
5452
5421
|
|
|
5453
5422
|
// src/client/components/checkout/ondo/sell/review/OndoSellReviewView.tsx
|
|
5454
5423
|
import { Info as Info3 } from "lucide-react";
|
|
5455
|
-
import { jsx as
|
|
5424
|
+
import { jsx as jsx37, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5456
5425
|
var TITLE8 = "Review and confirm";
|
|
5457
5426
|
var YOU_RECEIVE_LABEL2 = "You receive";
|
|
5458
5427
|
var RECEIVING_WALLET_LABEL2 = "Receiving wallet";
|
|
@@ -5467,7 +5436,7 @@ var LOADING_STATUS2 = "Loading your order details\u2026";
|
|
|
5467
5436
|
var ERROR_TITLE2 = "Something went wrong";
|
|
5468
5437
|
var ERROR_DESCRIPTION2 = "We couldn't load your order details. Please try again.";
|
|
5469
5438
|
function OndoSellReviewView(props) {
|
|
5470
|
-
return /* @__PURE__ */
|
|
5439
|
+
return /* @__PURE__ */ jsx37(CoinListStyleScope, { children: /* @__PURE__ */ jsx37(OndoSellReviewViewBody, { ...props }) });
|
|
5471
5440
|
}
|
|
5472
5441
|
function OndoSellReviewViewBody({
|
|
5473
5442
|
state,
|
|
@@ -5478,7 +5447,7 @@ function OndoSellReviewViewBody({
|
|
|
5478
5447
|
const title2 = `${stepNumber}. ${TITLE8}`;
|
|
5479
5448
|
switch (state.type) {
|
|
5480
5449
|
case "incomplete":
|
|
5481
|
-
return /* @__PURE__ */
|
|
5450
|
+
return /* @__PURE__ */ jsx37(
|
|
5482
5451
|
CheckoutStepCard,
|
|
5483
5452
|
{
|
|
5484
5453
|
state: "inactive",
|
|
@@ -5487,11 +5456,11 @@ function OndoSellReviewViewBody({
|
|
|
5487
5456
|
}
|
|
5488
5457
|
);
|
|
5489
5458
|
case "loading":
|
|
5490
|
-
return /* @__PURE__ */
|
|
5459
|
+
return /* @__PURE__ */ jsx37(LoadingView2, { title: title2, className });
|
|
5491
5460
|
case "error":
|
|
5492
|
-
return /* @__PURE__ */
|
|
5461
|
+
return /* @__PURE__ */ jsx37(ErrorView2, { onEvent, title: title2, className });
|
|
5493
5462
|
case "active":
|
|
5494
|
-
return /* @__PURE__ */
|
|
5463
|
+
return /* @__PURE__ */ jsx37(
|
|
5495
5464
|
ActiveView5,
|
|
5496
5465
|
{
|
|
5497
5466
|
state,
|
|
@@ -5512,50 +5481,50 @@ function ActiveView5({
|
|
|
5512
5481
|
title: title2,
|
|
5513
5482
|
className
|
|
5514
5483
|
}) {
|
|
5515
|
-
return /* @__PURE__ */
|
|
5516
|
-
/* @__PURE__ */
|
|
5517
|
-
/* @__PURE__ */
|
|
5518
|
-
/* @__PURE__ */
|
|
5519
|
-
/* @__PURE__ */
|
|
5520
|
-
/* @__PURE__ */
|
|
5484
|
+
return /* @__PURE__ */ jsxs26(CheckoutStepCard, { state: "active", title: title2, className, children: [
|
|
5485
|
+
/* @__PURE__ */ jsxs26("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-4 clcosdk:rounded-2xl clcosdk:border clcosdk:border-border clcosdk:p-4", children: [
|
|
5486
|
+
/* @__PURE__ */ jsx37("span", { className: cn(typeClasses.bodySm, "clcosdk:text-text-secondary"), children: YOU_RECEIVE_LABEL2 }),
|
|
5487
|
+
/* @__PURE__ */ jsxs26("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:items-center clcosdk:gap-3", children: [
|
|
5488
|
+
/* @__PURE__ */ jsx37(AssetIcon, { asset: state.outputAsset, size: 40 }),
|
|
5489
|
+
/* @__PURE__ */ jsx37("span", { className: "clcosdk:min-w-0 clcosdk:break-words clcosdk:text-[22px] clcosdk:leading-[130%] clcosdk:font-medium clcosdk:text-text-primary", children: state.expected.amount })
|
|
5521
5490
|
] })
|
|
5522
5491
|
] }),
|
|
5523
|
-
/* @__PURE__ */
|
|
5524
|
-
/* @__PURE__ */
|
|
5492
|
+
/* @__PURE__ */ jsxs26("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-3 clcosdk:px-2", children: [
|
|
5493
|
+
/* @__PURE__ */ jsx37(
|
|
5525
5494
|
DetailRow,
|
|
5526
5495
|
{
|
|
5527
5496
|
label: RECEIVING_WALLET_LABEL2,
|
|
5528
5497
|
value: state.recipientAddress
|
|
5529
5498
|
}
|
|
5530
5499
|
),
|
|
5531
|
-
/* @__PURE__ */
|
|
5500
|
+
/* @__PURE__ */ jsx37(
|
|
5532
5501
|
DetailRow,
|
|
5533
5502
|
{
|
|
5534
5503
|
label: PRICE_PER_SHARE_LABEL4,
|
|
5535
|
-
tooltip: /* @__PURE__ */
|
|
5504
|
+
tooltip: /* @__PURE__ */ jsx37(Tooltip, { content: PRICE_PER_SHARE_TOOLTIP2, children: /* @__PURE__ */ jsx37(InfoIcon2, {}) }),
|
|
5536
5505
|
value: state.pricePerShare
|
|
5537
5506
|
}
|
|
5538
5507
|
),
|
|
5539
|
-
state.expected.fee !== null && /* @__PURE__ */
|
|
5508
|
+
state.expected.fee !== null && /* @__PURE__ */ jsx37(
|
|
5540
5509
|
DetailRow,
|
|
5541
5510
|
{
|
|
5542
5511
|
label: COINLIST_FEE_LABEL2,
|
|
5543
|
-
tooltip: /* @__PURE__ */
|
|
5512
|
+
tooltip: /* @__PURE__ */ jsx37(Tooltip, { content: COINLIST_FEE_TOOLTIP2, children: /* @__PURE__ */ jsx37(InfoIcon2, {}) }),
|
|
5544
5513
|
value: state.expected.fee
|
|
5545
5514
|
}
|
|
5546
5515
|
),
|
|
5547
|
-
/* @__PURE__ */
|
|
5516
|
+
/* @__PURE__ */ jsx37(
|
|
5548
5517
|
DetailRow,
|
|
5549
5518
|
{
|
|
5550
5519
|
label: MINIMUM_RECEIVED_LABEL,
|
|
5551
|
-
tooltip: /* @__PURE__ */
|
|
5520
|
+
tooltip: /* @__PURE__ */ jsx37(Tooltip, { content: MINIMUM_RECEIVED_TOOLTIP, children: /* @__PURE__ */ jsx37(InfoIcon2, {}) }),
|
|
5552
5521
|
value: state.minimum.amount
|
|
5553
5522
|
}
|
|
5554
5523
|
)
|
|
5555
5524
|
] }),
|
|
5556
|
-
state.error !== null && /* @__PURE__ */
|
|
5557
|
-
/* @__PURE__ */
|
|
5558
|
-
/* @__PURE__ */
|
|
5525
|
+
state.error !== null && /* @__PURE__ */ jsx37(QuoteLine2, { tone: "error", children: state.error }),
|
|
5526
|
+
/* @__PURE__ */ jsx37(QuoteStatusLine2, { quote: state.quote, onEvent }),
|
|
5527
|
+
/* @__PURE__ */ jsx37(
|
|
5559
5528
|
ClButton,
|
|
5560
5529
|
{
|
|
5561
5530
|
variant: "gradient",
|
|
@@ -5568,14 +5537,14 @@ function ActiveView5({
|
|
|
5568
5537
|
children: "Place order"
|
|
5569
5538
|
}
|
|
5570
5539
|
),
|
|
5571
|
-
/* @__PURE__ */
|
|
5540
|
+
/* @__PURE__ */ jsx37(Disclaimer2, {})
|
|
5572
5541
|
] });
|
|
5573
5542
|
}
|
|
5574
5543
|
function QuoteStatusLine2({
|
|
5575
5544
|
quote,
|
|
5576
5545
|
onEvent
|
|
5577
5546
|
}) {
|
|
5578
|
-
const refreshLink = /* @__PURE__ */
|
|
5547
|
+
const refreshLink = /* @__PURE__ */ jsx37(
|
|
5579
5548
|
"button",
|
|
5580
5549
|
{
|
|
5581
5550
|
type: "button",
|
|
@@ -5586,20 +5555,20 @@ function QuoteStatusLine2({
|
|
|
5586
5555
|
);
|
|
5587
5556
|
switch (quote.type) {
|
|
5588
5557
|
case "valid":
|
|
5589
|
-
return /* @__PURE__ */
|
|
5558
|
+
return /* @__PURE__ */ jsxs26(QuoteLine2, { tone: "muted", children: [
|
|
5590
5559
|
quote.expiresInLabel,
|
|
5591
5560
|
" ",
|
|
5592
5561
|
refreshLink
|
|
5593
5562
|
] });
|
|
5594
5563
|
case "refreshing":
|
|
5595
|
-
return /* @__PURE__ */
|
|
5564
|
+
return /* @__PURE__ */ jsx37(QuoteLine2, { tone: "muted", children: "Refreshing quote\u2026" });
|
|
5596
5565
|
case "expired":
|
|
5597
|
-
return /* @__PURE__ */
|
|
5566
|
+
return /* @__PURE__ */ jsxs26(QuoteLine2, { tone: "warning", children: [
|
|
5598
5567
|
"Quote expired. ",
|
|
5599
5568
|
refreshLink
|
|
5600
5569
|
] });
|
|
5601
5570
|
case "refresh-failed":
|
|
5602
|
-
return /* @__PURE__ */
|
|
5571
|
+
return /* @__PURE__ */ jsxs26(QuoteLine2, { tone: "warning", children: [
|
|
5603
5572
|
quote.message,
|
|
5604
5573
|
" ",
|
|
5605
5574
|
refreshLink
|
|
@@ -5619,7 +5588,7 @@ function QuoteLine2({
|
|
|
5619
5588
|
warning: "clcosdk:text-warning",
|
|
5620
5589
|
error: "clcosdk:text-error"
|
|
5621
5590
|
}[tone];
|
|
5622
|
-
return /* @__PURE__ */
|
|
5591
|
+
return /* @__PURE__ */ jsx37(
|
|
5623
5592
|
"p",
|
|
5624
5593
|
{
|
|
5625
5594
|
className: cn(
|
|
@@ -5635,36 +5604,36 @@ function LoadingView2({
|
|
|
5635
5604
|
title: title2,
|
|
5636
5605
|
className
|
|
5637
5606
|
}) {
|
|
5638
|
-
return /* @__PURE__ */
|
|
5639
|
-
/* @__PURE__ */
|
|
5640
|
-
/* @__PURE__ */
|
|
5641
|
-
/* @__PURE__ */
|
|
5642
|
-
/* @__PURE__ */
|
|
5643
|
-
/* @__PURE__ */
|
|
5607
|
+
return /* @__PURE__ */ jsxs26(CheckoutStepCard, { state: "active", title: title2, className, children: [
|
|
5608
|
+
/* @__PURE__ */ jsx37("output", { className: "clcosdk:sr-only", children: LOADING_STATUS2 }),
|
|
5609
|
+
/* @__PURE__ */ jsxs26("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-4 clcosdk:rounded-2xl clcosdk:border clcosdk:border-border clcosdk:p-4", children: [
|
|
5610
|
+
/* @__PURE__ */ jsx37(Skeleton, { className: "clcosdk:h-3 clcosdk:w-20" }),
|
|
5611
|
+
/* @__PURE__ */ jsxs26("div", { className: "clcosdk:flex clcosdk:items-center clcosdk:gap-3", children: [
|
|
5612
|
+
/* @__PURE__ */ jsx37(
|
|
5644
5613
|
Skeleton,
|
|
5645
5614
|
{
|
|
5646
5615
|
variant: "circular",
|
|
5647
5616
|
className: "clcosdk:size-10 clcosdk:shrink-0"
|
|
5648
5617
|
}
|
|
5649
5618
|
),
|
|
5650
|
-
/* @__PURE__ */
|
|
5651
|
-
/* @__PURE__ */
|
|
5652
|
-
/* @__PURE__ */
|
|
5619
|
+
/* @__PURE__ */ jsxs26("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-2", children: [
|
|
5620
|
+
/* @__PURE__ */ jsx37(Skeleton, { className: "clcosdk:h-5 clcosdk:w-32" }),
|
|
5621
|
+
/* @__PURE__ */ jsx37(Skeleton, { className: "clcosdk:h-3 clcosdk:w-24" })
|
|
5653
5622
|
] })
|
|
5654
5623
|
] })
|
|
5655
5624
|
] }),
|
|
5656
|
-
/* @__PURE__ */
|
|
5625
|
+
/* @__PURE__ */ jsx37("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-3 clcosdk:px-2", children: ["wallet", "price", "minimum"].map((row) => /* @__PURE__ */ jsxs26(
|
|
5657
5626
|
"div",
|
|
5658
5627
|
{
|
|
5659
5628
|
className: "clcosdk:flex clcosdk:items-center clcosdk:justify-between clcosdk:gap-4",
|
|
5660
5629
|
children: [
|
|
5661
|
-
/* @__PURE__ */
|
|
5662
|
-
/* @__PURE__ */
|
|
5630
|
+
/* @__PURE__ */ jsx37(Skeleton, { className: "clcosdk:h-4 clcosdk:w-28" }),
|
|
5631
|
+
/* @__PURE__ */ jsx37(Skeleton, { className: "clcosdk:h-4 clcosdk:w-24" })
|
|
5663
5632
|
]
|
|
5664
5633
|
},
|
|
5665
5634
|
row
|
|
5666
5635
|
)) }),
|
|
5667
|
-
/* @__PURE__ */
|
|
5636
|
+
/* @__PURE__ */ jsx37(
|
|
5668
5637
|
Skeleton,
|
|
5669
5638
|
{
|
|
5670
5639
|
variant: "rectangular",
|
|
@@ -5678,9 +5647,9 @@ function ErrorView2({
|
|
|
5678
5647
|
title: title2,
|
|
5679
5648
|
className
|
|
5680
5649
|
}) {
|
|
5681
|
-
return /* @__PURE__ */
|
|
5682
|
-
/* @__PURE__ */
|
|
5683
|
-
/* @__PURE__ */
|
|
5650
|
+
return /* @__PURE__ */ jsx37(CheckoutStepCard, { state: "active", title: title2, className, children: /* @__PURE__ */ jsxs26("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:items-center clcosdk:gap-4 clcosdk:py-8 clcosdk:text-center", children: [
|
|
5651
|
+
/* @__PURE__ */ jsxs26("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:items-center clcosdk:gap-2", children: [
|
|
5652
|
+
/* @__PURE__ */ jsx37(
|
|
5684
5653
|
"h3",
|
|
5685
5654
|
{
|
|
5686
5655
|
className: cn(
|
|
@@ -5690,7 +5659,7 @@ function ErrorView2({
|
|
|
5690
5659
|
children: ERROR_TITLE2
|
|
5691
5660
|
}
|
|
5692
5661
|
),
|
|
5693
|
-
/* @__PURE__ */
|
|
5662
|
+
/* @__PURE__ */ jsx37(
|
|
5694
5663
|
"p",
|
|
5695
5664
|
{
|
|
5696
5665
|
className: cn(
|
|
@@ -5701,7 +5670,7 @@ function ErrorView2({
|
|
|
5701
5670
|
}
|
|
5702
5671
|
)
|
|
5703
5672
|
] }),
|
|
5704
|
-
/* @__PURE__ */
|
|
5673
|
+
/* @__PURE__ */ jsx37(
|
|
5705
5674
|
ClButton,
|
|
5706
5675
|
{
|
|
5707
5676
|
variant: "secondary",
|
|
@@ -5712,7 +5681,7 @@ function ErrorView2({
|
|
|
5712
5681
|
] }) });
|
|
5713
5682
|
}
|
|
5714
5683
|
function Disclaimer2() {
|
|
5715
|
-
return /* @__PURE__ */
|
|
5684
|
+
return /* @__PURE__ */ jsxs26(
|
|
5716
5685
|
"p",
|
|
5717
5686
|
{
|
|
5718
5687
|
className: cn(
|
|
@@ -5722,13 +5691,13 @@ function Disclaimer2() {
|
|
|
5722
5691
|
children: [
|
|
5723
5692
|
"By placing this order, you agree to CoinList's",
|
|
5724
5693
|
" ",
|
|
5725
|
-
/* @__PURE__ */
|
|
5694
|
+
/* @__PURE__ */ jsx37(DisclaimerLink2, { href: COINLIST_TOS_URL, children: "Terms of Service" }),
|
|
5726
5695
|
" ",
|
|
5727
5696
|
"and",
|
|
5728
5697
|
" ",
|
|
5729
|
-
/* @__PURE__ */
|
|
5698
|
+
/* @__PURE__ */ jsx37(DisclaimerLink2, { href: COINLIST_PRIVACY_URL, children: "Privacy Policy" }),
|
|
5730
5699
|
", and ",
|
|
5731
|
-
/* @__PURE__ */
|
|
5700
|
+
/* @__PURE__ */ jsx37(DisclaimerLink2, { href: ONDO_TOS_URL, children: "Ondo's Terms" }),
|
|
5732
5701
|
"."
|
|
5733
5702
|
]
|
|
5734
5703
|
}
|
|
@@ -5738,7 +5707,7 @@ function DisclaimerLink2({
|
|
|
5738
5707
|
href,
|
|
5739
5708
|
children
|
|
5740
5709
|
}) {
|
|
5741
|
-
return /* @__PURE__ */
|
|
5710
|
+
return /* @__PURE__ */ jsx37(
|
|
5742
5711
|
"a",
|
|
5743
5712
|
{
|
|
5744
5713
|
href,
|
|
@@ -5750,7 +5719,7 @@ function DisclaimerLink2({
|
|
|
5750
5719
|
);
|
|
5751
5720
|
}
|
|
5752
5721
|
function InfoIcon2() {
|
|
5753
|
-
return /* @__PURE__ */
|
|
5722
|
+
return /* @__PURE__ */ jsx37(
|
|
5754
5723
|
Info3,
|
|
5755
5724
|
{
|
|
5756
5725
|
className: "clcosdk:size-4 clcosdk:text-text-secondary",
|
|
@@ -5760,7 +5729,7 @@ function InfoIcon2() {
|
|
|
5760
5729
|
}
|
|
5761
5730
|
|
|
5762
5731
|
// src/client/components/checkout/ondo/sell/OndoSellCheckoutView.tsx
|
|
5763
|
-
import { jsx as
|
|
5732
|
+
import { jsx as jsx38, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
5764
5733
|
var WALLET_DESCRIPTION = "Choose which wallet you're selling from.";
|
|
5765
5734
|
function OndoSellCheckoutView({
|
|
5766
5735
|
state,
|
|
@@ -5769,9 +5738,9 @@ function OndoSellCheckoutView({
|
|
|
5769
5738
|
}) {
|
|
5770
5739
|
switch (state.type) {
|
|
5771
5740
|
case "error":
|
|
5772
|
-
return /* @__PURE__ */
|
|
5741
|
+
return /* @__PURE__ */ jsx38(OndoCheckoutError, { reason: state.reason, className });
|
|
5773
5742
|
case "content":
|
|
5774
|
-
return /* @__PURE__ */
|
|
5743
|
+
return /* @__PURE__ */ jsx38(ContentView, { state, onEvent, className });
|
|
5775
5744
|
default: {
|
|
5776
5745
|
const exhaustive = state;
|
|
5777
5746
|
return exhaustive;
|
|
@@ -5784,8 +5753,8 @@ function ContentView({
|
|
|
5784
5753
|
className
|
|
5785
5754
|
}) {
|
|
5786
5755
|
const hasWalletStep = state.wallet !== null;
|
|
5787
|
-
return /* @__PURE__ */
|
|
5788
|
-
/* @__PURE__ */
|
|
5756
|
+
return /* @__PURE__ */ jsxs27(CoinListStyleScope, { children: [
|
|
5757
|
+
/* @__PURE__ */ jsxs27(
|
|
5789
5758
|
"div",
|
|
5790
5759
|
{
|
|
5791
5760
|
className: cn(
|
|
@@ -5794,8 +5763,8 @@ function ContentView({
|
|
|
5794
5763
|
className
|
|
5795
5764
|
),
|
|
5796
5765
|
children: [
|
|
5797
|
-
/* @__PURE__ */
|
|
5798
|
-
state.wallet !== null && /* @__PURE__ */
|
|
5766
|
+
/* @__PURE__ */ jsxs27("div", { className: "clcosdk:order-2 clcosdk:flex clcosdk:min-w-0 clcosdk:flex-col clcosdk:gap-4 clcosdk:md:order-1", children: [
|
|
5767
|
+
state.wallet !== null && /* @__PURE__ */ jsx38(
|
|
5799
5768
|
OndoWalletSelectView,
|
|
5800
5769
|
{
|
|
5801
5770
|
state: state.wallet,
|
|
@@ -5803,7 +5772,7 @@ function ContentView({
|
|
|
5803
5772
|
description: WALLET_DESCRIPTION
|
|
5804
5773
|
}
|
|
5805
5774
|
),
|
|
5806
|
-
/* @__PURE__ */
|
|
5775
|
+
/* @__PURE__ */ jsx38(
|
|
5807
5776
|
OndoSellAmountView,
|
|
5808
5777
|
{
|
|
5809
5778
|
state: state.amount,
|
|
@@ -5811,7 +5780,7 @@ function ContentView({
|
|
|
5811
5780
|
stepNumber: hasWalletStep ? 2 : 1
|
|
5812
5781
|
}
|
|
5813
5782
|
),
|
|
5814
|
-
/* @__PURE__ */
|
|
5783
|
+
/* @__PURE__ */ jsx38(
|
|
5815
5784
|
OndoSellReviewView,
|
|
5816
5785
|
{
|
|
5817
5786
|
state: state.review,
|
|
@@ -5820,11 +5789,11 @@ function ContentView({
|
|
|
5820
5789
|
}
|
|
5821
5790
|
)
|
|
5822
5791
|
] }),
|
|
5823
|
-
/* @__PURE__ */
|
|
5792
|
+
/* @__PURE__ */ jsx38("aside", { className: "clcosdk:order-1 clcosdk:min-w-0 clcosdk:md:order-2", children: /* @__PURE__ */ jsx38(OndoSidebarView, { state: state.sidebar }) })
|
|
5824
5793
|
]
|
|
5825
5794
|
}
|
|
5826
5795
|
),
|
|
5827
|
-
/* @__PURE__ */
|
|
5796
|
+
/* @__PURE__ */ jsx38(OndoSellOrderConfirmed, { state: state.orderConfirmed, onEvent })
|
|
5828
5797
|
] });
|
|
5829
5798
|
}
|
|
5830
5799
|
|
|
@@ -6739,7 +6708,7 @@ function toOrderConfirmedUi2({
|
|
|
6739
6708
|
}
|
|
6740
6709
|
|
|
6741
6710
|
// src/client/components/checkout/ondo/sell/OndoSellCheckoutContainer.tsx
|
|
6742
|
-
import { jsx as
|
|
6711
|
+
import { jsx as jsx39 } from "react/jsx-runtime";
|
|
6743
6712
|
function OndoSellCheckoutContainer({
|
|
6744
6713
|
offer,
|
|
6745
6714
|
ondoSymbol,
|
|
@@ -6757,7 +6726,7 @@ function OndoSellCheckoutContainer({
|
|
|
6757
6726
|
enabled,
|
|
6758
6727
|
onOrderConfirmed
|
|
6759
6728
|
});
|
|
6760
|
-
return /* @__PURE__ */
|
|
6729
|
+
return /* @__PURE__ */ jsx39(
|
|
6761
6730
|
OndoSellCheckoutView,
|
|
6762
6731
|
{
|
|
6763
6732
|
state,
|
|
@@ -6768,14 +6737,14 @@ function OndoSellCheckoutContainer({
|
|
|
6768
6737
|
}
|
|
6769
6738
|
|
|
6770
6739
|
// src/client/components/checkout/superstate/swap/amount/SuperstateAmountView.tsx
|
|
6771
|
-
import { jsx as
|
|
6740
|
+
import { jsx as jsx40, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6772
6741
|
var TITLE9 = "2. Enter amount";
|
|
6773
6742
|
var AMOUNT_LABEL3 = "Amount";
|
|
6774
6743
|
var AMOUNT_PLACEHOLDER3 = "0.00";
|
|
6775
6744
|
var PAY_WITH_LABEL2 = "Pay with";
|
|
6776
6745
|
var REVIEW_NOTE3 = "You'll review your order details before confirming.";
|
|
6777
6746
|
function SuperstateAmountView(props) {
|
|
6778
|
-
return /* @__PURE__ */
|
|
6747
|
+
return /* @__PURE__ */ jsx40(CoinListStyleScope, { children: /* @__PURE__ */ jsx40(SuperstateAmountViewBody, { ...props }) });
|
|
6779
6748
|
}
|
|
6780
6749
|
function SuperstateAmountViewBody({
|
|
6781
6750
|
state,
|
|
@@ -6784,7 +6753,7 @@ function SuperstateAmountViewBody({
|
|
|
6784
6753
|
}) {
|
|
6785
6754
|
switch (state.type) {
|
|
6786
6755
|
case "incomplete":
|
|
6787
|
-
return /* @__PURE__ */
|
|
6756
|
+
return /* @__PURE__ */ jsx40(
|
|
6788
6757
|
CheckoutStepCard,
|
|
6789
6758
|
{
|
|
6790
6759
|
state: "inactive",
|
|
@@ -6793,9 +6762,9 @@ function SuperstateAmountViewBody({
|
|
|
6793
6762
|
}
|
|
6794
6763
|
);
|
|
6795
6764
|
case "active":
|
|
6796
|
-
return /* @__PURE__ */
|
|
6765
|
+
return /* @__PURE__ */ jsx40(ActiveView6, { state, onEvent, className });
|
|
6797
6766
|
case "complete":
|
|
6798
|
-
return /* @__PURE__ */
|
|
6767
|
+
return /* @__PURE__ */ jsx40(CompletedView4, { state, onEvent, className });
|
|
6799
6768
|
default: {
|
|
6800
6769
|
const exhaustive = state;
|
|
6801
6770
|
return exhaustive;
|
|
@@ -6808,18 +6777,18 @@ function ActiveView6({
|
|
|
6808
6777
|
className
|
|
6809
6778
|
}) {
|
|
6810
6779
|
const selectedAsset = state.inputAssets.find((asset) => asset.selected) ?? null;
|
|
6811
|
-
return /* @__PURE__ */
|
|
6780
|
+
return /* @__PURE__ */ jsxs28(
|
|
6812
6781
|
CheckoutStepCard,
|
|
6813
6782
|
{
|
|
6814
6783
|
state: "active",
|
|
6815
6784
|
title: TITLE9,
|
|
6816
6785
|
className,
|
|
6817
|
-
footer: /* @__PURE__ */
|
|
6786
|
+
footer: /* @__PURE__ */ jsx40(
|
|
6818
6787
|
CheckoutStepFooter,
|
|
6819
6788
|
{
|
|
6820
6789
|
message: REVIEW_NOTE3,
|
|
6821
6790
|
error: state.error,
|
|
6822
|
-
cta: /* @__PURE__ */
|
|
6791
|
+
cta: /* @__PURE__ */ jsx40(
|
|
6823
6792
|
ClButton,
|
|
6824
6793
|
{
|
|
6825
6794
|
variant: "primary",
|
|
@@ -6832,7 +6801,7 @@ function ActiveView6({
|
|
|
6832
6801
|
}
|
|
6833
6802
|
),
|
|
6834
6803
|
children: [
|
|
6835
|
-
/* @__PURE__ */
|
|
6804
|
+
/* @__PURE__ */ jsx40(
|
|
6836
6805
|
CheckoutAmountInput,
|
|
6837
6806
|
{
|
|
6838
6807
|
label: AMOUNT_LABEL3,
|
|
@@ -6841,7 +6810,7 @@ function ActiveView6({
|
|
|
6841
6810
|
placeholder: AMOUNT_PLACEHOLDER3,
|
|
6842
6811
|
invalid: state.error !== null,
|
|
6843
6812
|
prefix: "$",
|
|
6844
|
-
action: selectedAsset && /* @__PURE__ */
|
|
6813
|
+
action: selectedAsset && /* @__PURE__ */ jsx40(
|
|
6845
6814
|
MaxButton3,
|
|
6846
6815
|
{
|
|
6847
6816
|
onClick: () => onEvent({ type: "ON_MAX_AMOUNT_CLICK" })
|
|
@@ -6849,7 +6818,7 @@ function ActiveView6({
|
|
|
6849
6818
|
)
|
|
6850
6819
|
}
|
|
6851
6820
|
),
|
|
6852
|
-
state.inputAssets.length > 0 && /* @__PURE__ */
|
|
6821
|
+
state.inputAssets.length > 0 && /* @__PURE__ */ jsx40(
|
|
6853
6822
|
PayWithSection2,
|
|
6854
6823
|
{
|
|
6855
6824
|
inputAssets: state.inputAssets,
|
|
@@ -6867,10 +6836,10 @@ function PayWithSection2({
|
|
|
6867
6836
|
onEvent
|
|
6868
6837
|
}) {
|
|
6869
6838
|
const isChoice = inputAssets.length >= 2;
|
|
6870
|
-
return /* @__PURE__ */
|
|
6871
|
-
/* @__PURE__ */
|
|
6872
|
-
/* @__PURE__ */
|
|
6873
|
-
/* @__PURE__ */
|
|
6839
|
+
return /* @__PURE__ */ jsxs28("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-2", children: [
|
|
6840
|
+
/* @__PURE__ */ jsxs28("div", { className: "clcosdk:flex clcosdk:items-center clcosdk:justify-between clcosdk:gap-4", children: [
|
|
6841
|
+
/* @__PURE__ */ jsx40("span", { className: cn(typeClasses.bodySm, "clcosdk:text-text-secondary"), children: PAY_WITH_LABEL2 }),
|
|
6842
|
+
/* @__PURE__ */ jsxs28(
|
|
6874
6843
|
"span",
|
|
6875
6844
|
{
|
|
6876
6845
|
className: cn(
|
|
@@ -6884,14 +6853,14 @@ function PayWithSection2({
|
|
|
6884
6853
|
}
|
|
6885
6854
|
)
|
|
6886
6855
|
] }),
|
|
6887
|
-
/* @__PURE__ */
|
|
6856
|
+
/* @__PURE__ */ jsx40(
|
|
6888
6857
|
"div",
|
|
6889
6858
|
{
|
|
6890
6859
|
className: cn(
|
|
6891
6860
|
isChoice ? "clcosdk:grid clcosdk:grid-cols-1 clcosdk:gap-2 clcosdk:sm:grid-cols-2" : "clcosdk:flex clcosdk:flex-col"
|
|
6892
6861
|
),
|
|
6893
6862
|
children: inputAssets.map(
|
|
6894
|
-
(inputAsset) => isChoice ? /* @__PURE__ */
|
|
6863
|
+
(inputAsset) => isChoice ? /* @__PURE__ */ jsx40(
|
|
6895
6864
|
PayWithAssetCard,
|
|
6896
6865
|
{
|
|
6897
6866
|
variant: "selectable",
|
|
@@ -6904,7 +6873,7 @@ function PayWithSection2({
|
|
|
6904
6873
|
})
|
|
6905
6874
|
},
|
|
6906
6875
|
inputAsset.symbol
|
|
6907
|
-
) : /* @__PURE__ */
|
|
6876
|
+
) : /* @__PURE__ */ jsx40(
|
|
6908
6877
|
PayWithAssetCard,
|
|
6909
6878
|
{
|
|
6910
6879
|
variant: "static",
|
|
@@ -6923,10 +6892,10 @@ function CompletedView4({
|
|
|
6923
6892
|
onEvent,
|
|
6924
6893
|
className
|
|
6925
6894
|
}) {
|
|
6926
|
-
return /* @__PURE__ */
|
|
6895
|
+
return /* @__PURE__ */ jsx40(CheckoutStepCard, { state: "completed", title: TITLE9, className, children: /* @__PURE__ */ jsx40(
|
|
6927
6896
|
CompletedStepSummary,
|
|
6928
6897
|
{
|
|
6929
|
-
icon: /* @__PURE__ */
|
|
6898
|
+
icon: /* @__PURE__ */ jsx40(AssetIcon, { asset: state.inputAsset, size: 40 }),
|
|
6930
6899
|
title: state.amountFormatted,
|
|
6931
6900
|
subtitle: state.inputAmountFormatted,
|
|
6932
6901
|
editLabel: "Edit",
|
|
@@ -6935,7 +6904,7 @@ function CompletedView4({
|
|
|
6935
6904
|
) });
|
|
6936
6905
|
}
|
|
6937
6906
|
function MaxButton3({ onClick }) {
|
|
6938
|
-
return /* @__PURE__ */
|
|
6907
|
+
return /* @__PURE__ */ jsx40(
|
|
6939
6908
|
"button",
|
|
6940
6909
|
{
|
|
6941
6910
|
type: "button",
|
|
@@ -6954,7 +6923,7 @@ function MaxButton3({ onClick }) {
|
|
|
6954
6923
|
|
|
6955
6924
|
// src/client/components/checkout/superstate/swap/confirmation/SuperstateOrderConfirmed.tsx
|
|
6956
6925
|
import { Check as Check3, ExternalLink as ExternalLink3 } from "lucide-react";
|
|
6957
|
-
import { Fragment as Fragment8, jsx as
|
|
6926
|
+
import { Fragment as Fragment8, jsx as jsx41, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
6958
6927
|
var TITLE10 = "Order confirmed";
|
|
6959
6928
|
var TOTAL_COST_LABEL2 = "Total cost";
|
|
6960
6929
|
var SHARES_RECEIVED_LABEL = "Shares received";
|
|
@@ -6974,13 +6943,13 @@ function SuperstateOrderConfirmed({
|
|
|
6974
6943
|
return null;
|
|
6975
6944
|
}
|
|
6976
6945
|
const onClose = () => onEvent({ type: "ON_CLOSE_ORDER_CONFIRMED" });
|
|
6977
|
-
return /* @__PURE__ */
|
|
6946
|
+
return /* @__PURE__ */ jsx41(CoinListStyleScope, { children: /* @__PURE__ */ jsx41(
|
|
6978
6947
|
CheckoutConfirmationDialog,
|
|
6979
6948
|
{
|
|
6980
|
-
icon: /* @__PURE__ */
|
|
6949
|
+
icon: /* @__PURE__ */ jsx41(SuccessGlyph3, {}),
|
|
6981
6950
|
title: TITLE10,
|
|
6982
6951
|
subtitle: subtitle3(state.asset.symbol),
|
|
6983
|
-
header: /* @__PURE__ */
|
|
6952
|
+
header: /* @__PURE__ */ jsx41(
|
|
6984
6953
|
AssetSummaryRow,
|
|
6985
6954
|
{
|
|
6986
6955
|
asset: state.asset,
|
|
@@ -6988,9 +6957,9 @@ function SuperstateOrderConfirmed({
|
|
|
6988
6957
|
}
|
|
6989
6958
|
),
|
|
6990
6959
|
rows: detailRows4(state),
|
|
6991
|
-
actions: /* @__PURE__ */
|
|
6992
|
-
/* @__PURE__ */
|
|
6993
|
-
/* @__PURE__ */
|
|
6960
|
+
actions: /* @__PURE__ */ jsxs29(Fragment8, { children: [
|
|
6961
|
+
/* @__PURE__ */ jsx41(ClButton, { variant: "gradient", fullWidth: true, onClick: onClose, children: DONE_LABEL3 }),
|
|
6962
|
+
/* @__PURE__ */ jsx41(ExplorerLink3, { url: state.txExplorerUrl })
|
|
6994
6963
|
] }),
|
|
6995
6964
|
onClose,
|
|
6996
6965
|
className
|
|
@@ -7013,14 +6982,14 @@ function detailRows4(state) {
|
|
|
7013
6982
|
];
|
|
7014
6983
|
}
|
|
7015
6984
|
function SuccessGlyph3() {
|
|
7016
|
-
return /* @__PURE__ */
|
|
6985
|
+
return /* @__PURE__ */ jsx41(
|
|
7017
6986
|
"div",
|
|
7018
6987
|
{
|
|
7019
6988
|
className: cn(
|
|
7020
6989
|
"clcosdk:flex clcosdk:size-10 clcosdk:shrink-0 clcosdk:items-center clcosdk:justify-center",
|
|
7021
6990
|
"clcosdk:rounded-full clcosdk:bg-positive-subtle"
|
|
7022
6991
|
),
|
|
7023
|
-
children: /* @__PURE__ */
|
|
6992
|
+
children: /* @__PURE__ */ jsx41(
|
|
7024
6993
|
Check3,
|
|
7025
6994
|
{
|
|
7026
6995
|
className: "clcosdk:size-5 clcosdk:text-positive",
|
|
@@ -7032,7 +7001,7 @@ function SuccessGlyph3() {
|
|
|
7032
7001
|
);
|
|
7033
7002
|
}
|
|
7034
7003
|
function ExplorerLink3({ url }) {
|
|
7035
|
-
return /* @__PURE__ */
|
|
7004
|
+
return /* @__PURE__ */ jsxs29(
|
|
7036
7005
|
"a",
|
|
7037
7006
|
{
|
|
7038
7007
|
href: url,
|
|
@@ -7047,7 +7016,7 @@ function ExplorerLink3({ url }) {
|
|
|
7047
7016
|
),
|
|
7048
7017
|
children: [
|
|
7049
7018
|
VIEW_TRANSACTION_LABEL3,
|
|
7050
|
-
/* @__PURE__ */
|
|
7019
|
+
/* @__PURE__ */ jsx41(
|
|
7051
7020
|
ExternalLink3,
|
|
7052
7021
|
{
|
|
7053
7022
|
className: "clcosdk:size-3.5 clcosdk:shrink-0",
|
|
@@ -7069,7 +7038,7 @@ var SUPERSTATE_TOS_URL = "https://superstate.com/terms";
|
|
|
7069
7038
|
// src/client/components/checkout/superstate/swap/review/SlippagePicker.tsx
|
|
7070
7039
|
import { ChevronDown as ChevronDown2 } from "lucide-react";
|
|
7071
7040
|
import { useId as useId4 } from "react";
|
|
7072
|
-
import { jsx as
|
|
7041
|
+
import { jsx as jsx42, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
7073
7042
|
function SlippagePicker({
|
|
7074
7043
|
slippage,
|
|
7075
7044
|
summary,
|
|
@@ -7078,7 +7047,7 @@ function SlippagePicker({
|
|
|
7078
7047
|
className
|
|
7079
7048
|
}) {
|
|
7080
7049
|
const optionsId = useId4();
|
|
7081
|
-
return /* @__PURE__ */
|
|
7050
|
+
return /* @__PURE__ */ jsx42(CoinListStyleScope, { children: /* @__PURE__ */ jsxs30(
|
|
7082
7051
|
"div",
|
|
7083
7052
|
{
|
|
7084
7053
|
className: cn(
|
|
@@ -7086,9 +7055,9 @@ function SlippagePicker({
|
|
|
7086
7055
|
className
|
|
7087
7056
|
),
|
|
7088
7057
|
children: [
|
|
7089
|
-
/* @__PURE__ */
|
|
7058
|
+
/* @__PURE__ */ jsxs30("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:flex-col clcosdk:gap-3 clcosdk:md:flex-row clcosdk:md:items-end clcosdk:md:justify-between", children: [
|
|
7090
7059
|
summary,
|
|
7091
|
-
/* @__PURE__ */
|
|
7060
|
+
/* @__PURE__ */ jsxs30(
|
|
7092
7061
|
"button",
|
|
7093
7062
|
{
|
|
7094
7063
|
type: "button",
|
|
@@ -7107,7 +7076,7 @@ function SlippagePicker({
|
|
|
7107
7076
|
children: [
|
|
7108
7077
|
slippage.percent,
|
|
7109
7078
|
" slippage",
|
|
7110
|
-
/* @__PURE__ */
|
|
7079
|
+
/* @__PURE__ */ jsx42(
|
|
7111
7080
|
ChevronDown2,
|
|
7112
7081
|
{
|
|
7113
7082
|
className: cn(
|
|
@@ -7122,13 +7091,13 @@ function SlippagePicker({
|
|
|
7122
7091
|
}
|
|
7123
7092
|
)
|
|
7124
7093
|
] }),
|
|
7125
|
-
slippage.expanded && /* @__PURE__ */
|
|
7094
|
+
slippage.expanded && /* @__PURE__ */ jsxs30(
|
|
7126
7095
|
"div",
|
|
7127
7096
|
{
|
|
7128
7097
|
id: optionsId,
|
|
7129
7098
|
className: "clcosdk:flex clcosdk:min-w-0 clcosdk:flex-col clcosdk:gap-3 clcosdk:pt-1",
|
|
7130
7099
|
children: [
|
|
7131
|
-
/* @__PURE__ */
|
|
7100
|
+
/* @__PURE__ */ jsx42("div", { className: "clcosdk:flex clcosdk:flex-wrap clcosdk:gap-2", children: slippage.options.map((option) => /* @__PURE__ */ jsx42(
|
|
7132
7101
|
SlippageOption,
|
|
7133
7102
|
{
|
|
7134
7103
|
option,
|
|
@@ -7136,7 +7105,7 @@ function SlippagePicker({
|
|
|
7136
7105
|
},
|
|
7137
7106
|
String(option.bps)
|
|
7138
7107
|
)) }),
|
|
7139
|
-
/* @__PURE__ */
|
|
7108
|
+
/* @__PURE__ */ jsx42(
|
|
7140
7109
|
"p",
|
|
7141
7110
|
{
|
|
7142
7111
|
className: cn(typeClasses.subhead, "clcosdk:text-text-secondary"),
|
|
@@ -7154,7 +7123,7 @@ function SlippageOption({
|
|
|
7154
7123
|
option,
|
|
7155
7124
|
onSelect
|
|
7156
7125
|
}) {
|
|
7157
|
-
return /* @__PURE__ */
|
|
7126
|
+
return /* @__PURE__ */ jsx42(
|
|
7158
7127
|
"button",
|
|
7159
7128
|
{
|
|
7160
7129
|
type: "button",
|
|
@@ -7173,7 +7142,7 @@ function SlippageOption({
|
|
|
7173
7142
|
}
|
|
7174
7143
|
|
|
7175
7144
|
// src/client/components/checkout/superstate/swap/review/SuperstateReviewView.tsx
|
|
7176
|
-
import { jsx as
|
|
7145
|
+
import { jsx as jsx43, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
7177
7146
|
var TITLE11 = "3. Review and confirm";
|
|
7178
7147
|
var YOU_RECEIVE_LABEL3 = "You receive";
|
|
7179
7148
|
var MINIMUM_RECEIVE_TOOLTIP = "The minimum amount of shares you're guaranteed to receive based on your slippage";
|
|
@@ -7188,7 +7157,7 @@ var LOADING_STATUS3 = "Loading your order details\u2026";
|
|
|
7188
7157
|
var ERROR_TITLE3 = "Unable to load quote";
|
|
7189
7158
|
var ERROR_DESCRIPTION3 = "We're having trouble fetching a price right now. Please try again.";
|
|
7190
7159
|
function SuperstateReviewView(props) {
|
|
7191
|
-
return /* @__PURE__ */
|
|
7160
|
+
return /* @__PURE__ */ jsx43(CoinListStyleScope, { children: /* @__PURE__ */ jsx43(SuperstateReviewViewBody, { ...props }) });
|
|
7192
7161
|
}
|
|
7193
7162
|
function SuperstateReviewViewBody({
|
|
7194
7163
|
state,
|
|
@@ -7197,7 +7166,7 @@ function SuperstateReviewViewBody({
|
|
|
7197
7166
|
}) {
|
|
7198
7167
|
switch (state.type) {
|
|
7199
7168
|
case "incomplete":
|
|
7200
|
-
return /* @__PURE__ */
|
|
7169
|
+
return /* @__PURE__ */ jsx43(
|
|
7201
7170
|
CheckoutStepCard,
|
|
7202
7171
|
{
|
|
7203
7172
|
state: "inactive",
|
|
@@ -7206,11 +7175,11 @@ function SuperstateReviewViewBody({
|
|
|
7206
7175
|
}
|
|
7207
7176
|
);
|
|
7208
7177
|
case "loading":
|
|
7209
|
-
return /* @__PURE__ */
|
|
7178
|
+
return /* @__PURE__ */ jsx43(LoadingView3, { className });
|
|
7210
7179
|
case "error":
|
|
7211
|
-
return /* @__PURE__ */
|
|
7180
|
+
return /* @__PURE__ */ jsx43(ErrorView3, { className });
|
|
7212
7181
|
case "active":
|
|
7213
|
-
return /* @__PURE__ */
|
|
7182
|
+
return /* @__PURE__ */ jsx43(ActiveView7, { state, onEvent, className });
|
|
7214
7183
|
default: {
|
|
7215
7184
|
const exhaustive = state;
|
|
7216
7185
|
return exhaustive;
|
|
@@ -7223,19 +7192,19 @@ function ActiveView7({
|
|
|
7223
7192
|
className
|
|
7224
7193
|
}) {
|
|
7225
7194
|
const { placeOrderCta } = state;
|
|
7226
|
-
return /* @__PURE__ */
|
|
7227
|
-
/* @__PURE__ */
|
|
7228
|
-
/* @__PURE__ */
|
|
7229
|
-
/* @__PURE__ */
|
|
7195
|
+
return /* @__PURE__ */ jsxs31(CheckoutStepCard, { state: "active", title: TITLE11, className, children: [
|
|
7196
|
+
/* @__PURE__ */ jsxs31("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-4 clcosdk:rounded-2xl clcosdk:border clcosdk:border-border clcosdk:p-4", children: [
|
|
7197
|
+
/* @__PURE__ */ jsx43("span", { className: cn(typeClasses.bodySm, "clcosdk:text-text-secondary"), children: YOU_RECEIVE_LABEL3 }),
|
|
7198
|
+
/* @__PURE__ */ jsx43(
|
|
7230
7199
|
SlippagePicker,
|
|
7231
7200
|
{
|
|
7232
7201
|
slippage: state.slippage,
|
|
7233
7202
|
onToggle: () => onEvent({ type: "ON_SLIPPAGE_CLICK" }),
|
|
7234
7203
|
onSelect: (bps) => onEvent({ type: "ON_SLIPPAGE_SELECT", bps }),
|
|
7235
|
-
summary: /* @__PURE__ */
|
|
7236
|
-
/* @__PURE__ */
|
|
7237
|
-
/* @__PURE__ */
|
|
7238
|
-
/* @__PURE__ */
|
|
7204
|
+
summary: /* @__PURE__ */ jsxs31("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:items-center clcosdk:gap-3", children: [
|
|
7205
|
+
/* @__PURE__ */ jsx43(AssetIcon, { asset: state.outputAsset, size: 40 }),
|
|
7206
|
+
/* @__PURE__ */ jsxs31("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:flex-col", children: [
|
|
7207
|
+
/* @__PURE__ */ jsx43(
|
|
7239
7208
|
"span",
|
|
7240
7209
|
{
|
|
7241
7210
|
className: cn(
|
|
@@ -7245,8 +7214,8 @@ function ActiveView7({
|
|
|
7245
7214
|
children: state.outputAmount
|
|
7246
7215
|
}
|
|
7247
7216
|
),
|
|
7248
|
-
/* @__PURE__ */
|
|
7249
|
-
/* @__PURE__ */
|
|
7217
|
+
/* @__PURE__ */ jsxs31("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:items-center clcosdk:gap-1.5", children: [
|
|
7218
|
+
/* @__PURE__ */ jsxs31(
|
|
7250
7219
|
"span",
|
|
7251
7220
|
{
|
|
7252
7221
|
className: cn(
|
|
@@ -7259,41 +7228,41 @@ function ActiveView7({
|
|
|
7259
7228
|
]
|
|
7260
7229
|
}
|
|
7261
7230
|
),
|
|
7262
|
-
/* @__PURE__ */
|
|
7231
|
+
/* @__PURE__ */ jsx43(Tooltip, { content: MINIMUM_RECEIVE_TOOLTIP, children: /* @__PURE__ */ jsx43(InfoIcon3, {}) })
|
|
7263
7232
|
] })
|
|
7264
7233
|
] })
|
|
7265
7234
|
] })
|
|
7266
7235
|
}
|
|
7267
7236
|
)
|
|
7268
7237
|
] }),
|
|
7269
|
-
/* @__PURE__ */
|
|
7270
|
-
/* @__PURE__ */
|
|
7271
|
-
/* @__PURE__ */
|
|
7238
|
+
/* @__PURE__ */ jsxs31("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-4", children: [
|
|
7239
|
+
/* @__PURE__ */ jsxs31("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-3 clcosdk:px-2", children: [
|
|
7240
|
+
/* @__PURE__ */ jsx43(
|
|
7272
7241
|
DetailRow,
|
|
7273
7242
|
{
|
|
7274
7243
|
label: RECEIVING_WALLET_LABEL3,
|
|
7275
7244
|
value: state.recipientAddress
|
|
7276
7245
|
}
|
|
7277
7246
|
),
|
|
7278
|
-
/* @__PURE__ */
|
|
7247
|
+
/* @__PURE__ */ jsx43(
|
|
7279
7248
|
DetailRow,
|
|
7280
7249
|
{
|
|
7281
7250
|
label: PRICE_PER_SHARE_LABEL6,
|
|
7282
|
-
tooltip: /* @__PURE__ */
|
|
7251
|
+
tooltip: /* @__PURE__ */ jsx43(Tooltip, { content: PRICE_PER_SHARE_TOOLTIP3, children: /* @__PURE__ */ jsx43(InfoIcon3, {}) }),
|
|
7283
7252
|
value: state.pricePerShare
|
|
7284
7253
|
}
|
|
7285
7254
|
),
|
|
7286
|
-
/* @__PURE__ */
|
|
7255
|
+
/* @__PURE__ */ jsx43(
|
|
7287
7256
|
DetailRow,
|
|
7288
7257
|
{
|
|
7289
7258
|
label: COINLIST_FEE_LABEL3,
|
|
7290
|
-
tooltip: /* @__PURE__ */
|
|
7259
|
+
tooltip: /* @__PURE__ */ jsx43(Tooltip, { content: COINLIST_FEE_TOOLTIP3, children: /* @__PURE__ */ jsx43(InfoIcon3, {}) }),
|
|
7291
7260
|
value: state.coinlistFee
|
|
7292
7261
|
}
|
|
7293
7262
|
)
|
|
7294
7263
|
] }),
|
|
7295
|
-
/* @__PURE__ */
|
|
7296
|
-
/* @__PURE__ */
|
|
7264
|
+
/* @__PURE__ */ jsx43("div", { className: "clcosdk:h-px clcosdk:shrink-0 clcosdk:bg-divider" }),
|
|
7265
|
+
/* @__PURE__ */ jsx43(
|
|
7297
7266
|
DetailRow,
|
|
7298
7267
|
{
|
|
7299
7268
|
label: TOTAL_LABEL2,
|
|
@@ -7303,9 +7272,9 @@ function ActiveView7({
|
|
|
7303
7272
|
}
|
|
7304
7273
|
)
|
|
7305
7274
|
] }),
|
|
7306
|
-
state.error && /* @__PURE__ */
|
|
7307
|
-
placeOrderCta.type === "loading" && /* @__PURE__ */
|
|
7308
|
-
/* @__PURE__ */
|
|
7275
|
+
state.error && /* @__PURE__ */ jsx43(Note, { tone: "error", children: state.error }),
|
|
7276
|
+
placeOrderCta.type === "loading" && /* @__PURE__ */ jsx43(Note, { tone: "muted", children: PROCESSING_NOTICE }),
|
|
7277
|
+
/* @__PURE__ */ jsx43(
|
|
7309
7278
|
ClButton,
|
|
7310
7279
|
{
|
|
7311
7280
|
variant: "gradient",
|
|
@@ -7318,14 +7287,14 @@ function ActiveView7({
|
|
|
7318
7287
|
children: "Place order"
|
|
7319
7288
|
}
|
|
7320
7289
|
),
|
|
7321
|
-
/* @__PURE__ */
|
|
7290
|
+
/* @__PURE__ */ jsx43(Disclaimer3, {})
|
|
7322
7291
|
] });
|
|
7323
7292
|
}
|
|
7324
7293
|
function Note({
|
|
7325
7294
|
tone,
|
|
7326
7295
|
children
|
|
7327
7296
|
}) {
|
|
7328
|
-
return /* @__PURE__ */
|
|
7297
|
+
return /* @__PURE__ */ jsx43(
|
|
7329
7298
|
"p",
|
|
7330
7299
|
{
|
|
7331
7300
|
className: cn(
|
|
@@ -7338,41 +7307,41 @@ function Note({
|
|
|
7338
7307
|
);
|
|
7339
7308
|
}
|
|
7340
7309
|
function LoadingView3({ className }) {
|
|
7341
|
-
return /* @__PURE__ */
|
|
7342
|
-
/* @__PURE__ */
|
|
7343
|
-
/* @__PURE__ */
|
|
7344
|
-
/* @__PURE__ */
|
|
7345
|
-
/* @__PURE__ */
|
|
7346
|
-
/* @__PURE__ */
|
|
7310
|
+
return /* @__PURE__ */ jsxs31(CheckoutStepCard, { state: "active", title: TITLE11, className, children: [
|
|
7311
|
+
/* @__PURE__ */ jsx43("output", { className: "clcosdk:sr-only", children: LOADING_STATUS3 }),
|
|
7312
|
+
/* @__PURE__ */ jsxs31("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-4 clcosdk:rounded-2xl clcosdk:border clcosdk:border-border clcosdk:p-4", children: [
|
|
7313
|
+
/* @__PURE__ */ jsx43(Skeleton, { className: "clcosdk:h-3 clcosdk:w-20" }),
|
|
7314
|
+
/* @__PURE__ */ jsxs31("div", { className: "clcosdk:flex clcosdk:items-center clcosdk:gap-3", children: [
|
|
7315
|
+
/* @__PURE__ */ jsx43(
|
|
7347
7316
|
Skeleton,
|
|
7348
7317
|
{
|
|
7349
7318
|
variant: "circular",
|
|
7350
7319
|
className: "clcosdk:size-10 clcosdk:shrink-0"
|
|
7351
7320
|
}
|
|
7352
7321
|
),
|
|
7353
|
-
/* @__PURE__ */
|
|
7354
|
-
/* @__PURE__ */
|
|
7355
|
-
/* @__PURE__ */
|
|
7322
|
+
/* @__PURE__ */ jsxs31("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-2", children: [
|
|
7323
|
+
/* @__PURE__ */ jsx43(Skeleton, { className: "clcosdk:h-5 clcosdk:w-32" }),
|
|
7324
|
+
/* @__PURE__ */ jsx43(Skeleton, { className: "clcosdk:h-3 clcosdk:w-24" })
|
|
7356
7325
|
] })
|
|
7357
7326
|
] })
|
|
7358
7327
|
] }),
|
|
7359
|
-
/* @__PURE__ */
|
|
7328
|
+
/* @__PURE__ */ jsx43("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-3 clcosdk:px-2", children: ["wallet", "price", "fee"].map((row) => /* @__PURE__ */ jsxs31(
|
|
7360
7329
|
"div",
|
|
7361
7330
|
{
|
|
7362
7331
|
className: "clcosdk:flex clcosdk:items-center clcosdk:justify-between clcosdk:gap-4",
|
|
7363
7332
|
children: [
|
|
7364
|
-
/* @__PURE__ */
|
|
7365
|
-
/* @__PURE__ */
|
|
7333
|
+
/* @__PURE__ */ jsx43(Skeleton, { className: "clcosdk:h-4 clcosdk:w-28" }),
|
|
7334
|
+
/* @__PURE__ */ jsx43(Skeleton, { className: "clcosdk:h-4 clcosdk:w-24" })
|
|
7366
7335
|
]
|
|
7367
7336
|
},
|
|
7368
7337
|
row
|
|
7369
7338
|
)) }),
|
|
7370
|
-
/* @__PURE__ */
|
|
7371
|
-
/* @__PURE__ */
|
|
7372
|
-
/* @__PURE__ */
|
|
7373
|
-
/* @__PURE__ */
|
|
7339
|
+
/* @__PURE__ */ jsx43("div", { className: "clcosdk:h-px clcosdk:shrink-0 clcosdk:bg-divider" }),
|
|
7340
|
+
/* @__PURE__ */ jsxs31("div", { className: "clcosdk:flex clcosdk:items-center clcosdk:justify-between clcosdk:gap-4 clcosdk:px-2", children: [
|
|
7341
|
+
/* @__PURE__ */ jsx43(Skeleton, { className: "clcosdk:h-4 clcosdk:w-16" }),
|
|
7342
|
+
/* @__PURE__ */ jsx43(Skeleton, { className: "clcosdk:h-4 clcosdk:w-20" })
|
|
7374
7343
|
] }),
|
|
7375
|
-
/* @__PURE__ */
|
|
7344
|
+
/* @__PURE__ */ jsx43(
|
|
7376
7345
|
Skeleton,
|
|
7377
7346
|
{
|
|
7378
7347
|
variant: "rectangular",
|
|
@@ -7382,8 +7351,8 @@ function LoadingView3({ className }) {
|
|
|
7382
7351
|
] });
|
|
7383
7352
|
}
|
|
7384
7353
|
function ErrorView3({ className }) {
|
|
7385
|
-
return /* @__PURE__ */
|
|
7386
|
-
/* @__PURE__ */
|
|
7354
|
+
return /* @__PURE__ */ jsx43(CheckoutStepCard, { state: "active", title: TITLE11, className, children: /* @__PURE__ */ jsxs31("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:items-center clcosdk:gap-2 clcosdk:py-8 clcosdk:text-center", children: [
|
|
7355
|
+
/* @__PURE__ */ jsx43(
|
|
7387
7356
|
"h3",
|
|
7388
7357
|
{
|
|
7389
7358
|
className: cn(
|
|
@@ -7393,7 +7362,7 @@ function ErrorView3({ className }) {
|
|
|
7393
7362
|
children: ERROR_TITLE3
|
|
7394
7363
|
}
|
|
7395
7364
|
),
|
|
7396
|
-
/* @__PURE__ */
|
|
7365
|
+
/* @__PURE__ */ jsx43(
|
|
7397
7366
|
"p",
|
|
7398
7367
|
{
|
|
7399
7368
|
className: cn(
|
|
@@ -7406,7 +7375,7 @@ function ErrorView3({ className }) {
|
|
|
7406
7375
|
] }) });
|
|
7407
7376
|
}
|
|
7408
7377
|
function Disclaimer3() {
|
|
7409
|
-
return /* @__PURE__ */
|
|
7378
|
+
return /* @__PURE__ */ jsxs31(
|
|
7410
7379
|
"p",
|
|
7411
7380
|
{
|
|
7412
7381
|
className: cn(
|
|
@@ -7416,7 +7385,7 @@ function Disclaimer3() {
|
|
|
7416
7385
|
children: [
|
|
7417
7386
|
"Final amounts may vary based on price at time of settlement. By placing this order, you agree to Superstate's",
|
|
7418
7387
|
" ",
|
|
7419
|
-
/* @__PURE__ */
|
|
7388
|
+
/* @__PURE__ */ jsx43(
|
|
7420
7389
|
"a",
|
|
7421
7390
|
{
|
|
7422
7391
|
href: SUPERSTATE_TOS_URL,
|
|
@@ -7432,7 +7401,7 @@ function Disclaimer3() {
|
|
|
7432
7401
|
);
|
|
7433
7402
|
}
|
|
7434
7403
|
function InfoIcon3() {
|
|
7435
|
-
return /* @__PURE__ */
|
|
7404
|
+
return /* @__PURE__ */ jsx43(
|
|
7436
7405
|
Info4,
|
|
7437
7406
|
{
|
|
7438
7407
|
className: "clcosdk:size-4 clcosdk:text-text-secondary",
|
|
@@ -7442,7 +7411,7 @@ function InfoIcon3() {
|
|
|
7442
7411
|
}
|
|
7443
7412
|
|
|
7444
7413
|
// src/client/components/checkout/superstate/swap/sidebar/SuperstateSidebarView.tsx
|
|
7445
|
-
import { jsx as
|
|
7414
|
+
import { jsx as jsx44, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
7446
7415
|
var TITLE12 = "Sale details";
|
|
7447
7416
|
var SHOW_DETAILS_LABEL2 = "View details";
|
|
7448
7417
|
var HIDE_DETAILS_LABEL2 = "Hide details";
|
|
@@ -7455,7 +7424,7 @@ function SuperstateSidebarView({
|
|
|
7455
7424
|
state,
|
|
7456
7425
|
className
|
|
7457
7426
|
}) {
|
|
7458
|
-
return /* @__PURE__ */
|
|
7427
|
+
return /* @__PURE__ */ jsx44(CoinListStyleScope, { children: /* @__PURE__ */ jsxs32(
|
|
7459
7428
|
"div",
|
|
7460
7429
|
{
|
|
7461
7430
|
className: cn(
|
|
@@ -7464,16 +7433,16 @@ function SuperstateSidebarView({
|
|
|
7464
7433
|
className
|
|
7465
7434
|
),
|
|
7466
7435
|
children: [
|
|
7467
|
-
/* @__PURE__ */
|
|
7468
|
-
/* @__PURE__ */
|
|
7436
|
+
/* @__PURE__ */ jsx44(SaleBanner, { sale: state.sale }),
|
|
7437
|
+
/* @__PURE__ */ jsx44(
|
|
7469
7438
|
CheckoutSidebarCard,
|
|
7470
7439
|
{
|
|
7471
7440
|
title: TITLE12,
|
|
7472
|
-
header: /* @__PURE__ */
|
|
7441
|
+
header: /* @__PURE__ */ jsx44(
|
|
7473
7442
|
AssetSummaryRow,
|
|
7474
7443
|
{
|
|
7475
7444
|
asset: state.asset,
|
|
7476
|
-
value: /* @__PURE__ */
|
|
7445
|
+
value: /* @__PURE__ */ jsx44(PriceValue2, { price: state.price }),
|
|
7477
7446
|
caption: PRICE_PER_SHARE_CAPTION
|
|
7478
7447
|
}
|
|
7479
7448
|
),
|
|
@@ -7495,7 +7464,7 @@ function detailRows5(state) {
|
|
|
7495
7464
|
];
|
|
7496
7465
|
}
|
|
7497
7466
|
function SaleBanner({ sale }) {
|
|
7498
|
-
return /* @__PURE__ */
|
|
7467
|
+
return /* @__PURE__ */ jsxs32(
|
|
7499
7468
|
"div",
|
|
7500
7469
|
{
|
|
7501
7470
|
className: cn(
|
|
@@ -7506,8 +7475,8 @@ function SaleBanner({ sale }) {
|
|
|
7506
7475
|
"clcosdk:max-md:rounded-none clcosdk:max-md:border-0 clcosdk:max-md:bg-transparent"
|
|
7507
7476
|
),
|
|
7508
7477
|
children: [
|
|
7509
|
-
sale.type === "active" && /* @__PURE__ */
|
|
7510
|
-
/* @__PURE__ */
|
|
7478
|
+
sale.type === "active" && /* @__PURE__ */ jsx44(LiveDot, {}),
|
|
7479
|
+
/* @__PURE__ */ jsx44(
|
|
7511
7480
|
"span",
|
|
7512
7481
|
{
|
|
7513
7482
|
className: cn(
|
|
@@ -7522,7 +7491,7 @@ function SaleBanner({ sale }) {
|
|
|
7522
7491
|
);
|
|
7523
7492
|
}
|
|
7524
7493
|
function LiveDot() {
|
|
7525
|
-
return /* @__PURE__ */
|
|
7494
|
+
return /* @__PURE__ */ jsx44(
|
|
7526
7495
|
"span",
|
|
7527
7496
|
{
|
|
7528
7497
|
className: "clcosdk:size-2 clcosdk:shrink-0 clcosdk:animate-pulse clcosdk:rounded-full clcosdk:bg-positive",
|
|
@@ -7533,7 +7502,7 @@ function LiveDot() {
|
|
|
7533
7502
|
function PriceValue2({ price }) {
|
|
7534
7503
|
switch (price.type) {
|
|
7535
7504
|
case "loading":
|
|
7536
|
-
return /* @__PURE__ */
|
|
7505
|
+
return /* @__PURE__ */ jsx44(Skeleton, { className: "clcosdk:h-[1em] clcosdk:w-24" });
|
|
7537
7506
|
case "known":
|
|
7538
7507
|
return price.price;
|
|
7539
7508
|
default: {
|
|
@@ -7545,14 +7514,14 @@ function PriceValue2({ price }) {
|
|
|
7545
7514
|
|
|
7546
7515
|
// src/client/components/checkout/superstate/swap/wallet/SuperstateWalletView.tsx
|
|
7547
7516
|
import { Wallet as Wallet2 } from "lucide-react";
|
|
7548
|
-
import { jsx as
|
|
7517
|
+
import { jsx as jsx45, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
7549
7518
|
var TITLE13 = "1. Choose your wallet";
|
|
7550
7519
|
var DESCRIPTION = "Choose your wallet to fund your purchase and receive your assets.";
|
|
7551
7520
|
var EMBEDDED_WALLET_LABEL3 = "CoinList Wallet";
|
|
7552
7521
|
var EXTERNAL_WALLET_LABEL2 = "External wallet";
|
|
7553
7522
|
var ALLOWLISTED_LABEL = "Allowlisted";
|
|
7554
7523
|
function SuperstateWalletView(props) {
|
|
7555
|
-
return /* @__PURE__ */
|
|
7524
|
+
return /* @__PURE__ */ jsx45(CoinListStyleScope, { children: /* @__PURE__ */ jsx45(SuperstateWalletViewBody, { ...props }) });
|
|
7556
7525
|
}
|
|
7557
7526
|
function SuperstateWalletViewBody({
|
|
7558
7527
|
state,
|
|
@@ -7561,9 +7530,9 @@ function SuperstateWalletViewBody({
|
|
|
7561
7530
|
}) {
|
|
7562
7531
|
switch (state.type) {
|
|
7563
7532
|
case "active":
|
|
7564
|
-
return /* @__PURE__ */
|
|
7533
|
+
return /* @__PURE__ */ jsx45(ActiveView8, { state, onEvent, className });
|
|
7565
7534
|
case "completed":
|
|
7566
|
-
return /* @__PURE__ */
|
|
7535
|
+
return /* @__PURE__ */ jsx45(
|
|
7567
7536
|
CompletedView5,
|
|
7568
7537
|
{
|
|
7569
7538
|
wallet: state.wallet,
|
|
@@ -7584,19 +7553,19 @@ function ActiveView8({
|
|
|
7584
7553
|
}) {
|
|
7585
7554
|
const { confirmCta } = state;
|
|
7586
7555
|
const isLoading = confirmCta.type === "loading";
|
|
7587
|
-
return /* @__PURE__ */
|
|
7556
|
+
return /* @__PURE__ */ jsx45(
|
|
7588
7557
|
CheckoutStepCard,
|
|
7589
7558
|
{
|
|
7590
7559
|
state: "active",
|
|
7591
7560
|
title: TITLE13,
|
|
7592
|
-
description: /* @__PURE__ */
|
|
7561
|
+
description: /* @__PURE__ */ jsx45("p", { className: cn(typeClasses.bodySm, "clcosdk:text-text-secondary"), children: DESCRIPTION }),
|
|
7593
7562
|
className,
|
|
7594
|
-
footer: /* @__PURE__ */
|
|
7563
|
+
footer: /* @__PURE__ */ jsx45(
|
|
7595
7564
|
CheckoutStepFooter,
|
|
7596
7565
|
{
|
|
7597
7566
|
message: confirmCta.type === "loading" ? confirmCta.message : void 0,
|
|
7598
7567
|
error: state.error,
|
|
7599
|
-
cta: /* @__PURE__ */
|
|
7568
|
+
cta: /* @__PURE__ */ jsx45(
|
|
7600
7569
|
ClButton,
|
|
7601
7570
|
{
|
|
7602
7571
|
variant: "primary",
|
|
@@ -7610,8 +7579,8 @@ function ActiveView8({
|
|
|
7610
7579
|
)
|
|
7611
7580
|
}
|
|
7612
7581
|
),
|
|
7613
|
-
children: /* @__PURE__ */
|
|
7614
|
-
/* @__PURE__ */
|
|
7582
|
+
children: /* @__PURE__ */ jsxs33("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-4", children: [
|
|
7583
|
+
/* @__PURE__ */ jsx45(
|
|
7615
7584
|
ExternalWalletRow2,
|
|
7616
7585
|
{
|
|
7617
7586
|
wallet: state.externalWallet,
|
|
@@ -7620,7 +7589,7 @@ function ActiveView8({
|
|
|
7620
7589
|
onEvent
|
|
7621
7590
|
}
|
|
7622
7591
|
),
|
|
7623
|
-
state.embeddedWallets.map((wallet) => /* @__PURE__ */
|
|
7592
|
+
state.embeddedWallets.map((wallet) => /* @__PURE__ */ jsx45(
|
|
7624
7593
|
EmbeddedWalletRow2,
|
|
7625
7594
|
{
|
|
7626
7595
|
wallet,
|
|
@@ -7640,14 +7609,14 @@ function ExternalWalletRow2({
|
|
|
7640
7609
|
onEvent
|
|
7641
7610
|
}) {
|
|
7642
7611
|
if (wallet === null) {
|
|
7643
|
-
return /* @__PURE__ */
|
|
7612
|
+
return /* @__PURE__ */ jsx45(
|
|
7644
7613
|
SelectableOptionRow,
|
|
7645
7614
|
{
|
|
7646
7615
|
selected: false,
|
|
7647
7616
|
disabled,
|
|
7648
7617
|
onSelect: () => onEvent({ type: "ON_CONNECT_WALLET" }),
|
|
7649
|
-
icon: /* @__PURE__ */
|
|
7650
|
-
children: /* @__PURE__ */
|
|
7618
|
+
icon: /* @__PURE__ */ jsx45(WalletGlyph2, {}),
|
|
7619
|
+
children: /* @__PURE__ */ jsx45(
|
|
7651
7620
|
"span",
|
|
7652
7621
|
{
|
|
7653
7622
|
className: cn(
|
|
@@ -7660,15 +7629,15 @@ function ExternalWalletRow2({
|
|
|
7660
7629
|
}
|
|
7661
7630
|
);
|
|
7662
7631
|
}
|
|
7663
|
-
return /* @__PURE__ */
|
|
7632
|
+
return /* @__PURE__ */ jsxs33(
|
|
7664
7633
|
SelectableOptionRow,
|
|
7665
7634
|
{
|
|
7666
7635
|
selected: wallet.selected,
|
|
7667
7636
|
disabled,
|
|
7668
7637
|
onSelect: () => onEvent({ type: "ON_SELECT_WALLET", value: { type: "external" } }),
|
|
7669
|
-
icon: /* @__PURE__ */
|
|
7638
|
+
icon: /* @__PURE__ */ jsx45(WalletGlyph2, {}),
|
|
7670
7639
|
children: [
|
|
7671
|
-
/* @__PURE__ */
|
|
7640
|
+
/* @__PURE__ */ jsx45(
|
|
7672
7641
|
"span",
|
|
7673
7642
|
{
|
|
7674
7643
|
className: cn(
|
|
@@ -7678,22 +7647,22 @@ function ExternalWalletRow2({
|
|
|
7678
7647
|
children: wallet.address
|
|
7679
7648
|
}
|
|
7680
7649
|
),
|
|
7681
|
-
canDisconnect && /* @__PURE__ */
|
|
7650
|
+
canDisconnect && /* @__PURE__ */ jsx45(
|
|
7682
7651
|
DisconnectControl2,
|
|
7683
7652
|
{
|
|
7684
7653
|
onDisconnect: () => onEvent({ type: "ON_DISCONNECT_WALLET" }),
|
|
7685
7654
|
className: "clcosdk:md:hidden"
|
|
7686
7655
|
}
|
|
7687
7656
|
),
|
|
7688
|
-
/* @__PURE__ */
|
|
7689
|
-
/* @__PURE__ */
|
|
7657
|
+
/* @__PURE__ */ jsx45("div", { className: "clcosdk:max-md:hidden", children: /* @__PURE__ */ jsxs33(OptionMetaRow, { children: [
|
|
7658
|
+
/* @__PURE__ */ jsx45(
|
|
7690
7659
|
"span",
|
|
7691
7660
|
{
|
|
7692
7661
|
className: cn(typeClasses.subhead, "clcosdk:text-text-secondary"),
|
|
7693
7662
|
children: wallet.network
|
|
7694
7663
|
}
|
|
7695
7664
|
),
|
|
7696
|
-
canDisconnect && /* @__PURE__ */
|
|
7665
|
+
canDisconnect && /* @__PURE__ */ jsx45(
|
|
7697
7666
|
DisconnectControl2,
|
|
7698
7667
|
{
|
|
7699
7668
|
onDisconnect: () => onEvent({ type: "ON_DISCONNECT_WALLET" })
|
|
@@ -7709,7 +7678,7 @@ function EmbeddedWalletRow2({
|
|
|
7709
7678
|
disabled,
|
|
7710
7679
|
onEvent
|
|
7711
7680
|
}) {
|
|
7712
|
-
return /* @__PURE__ */
|
|
7681
|
+
return /* @__PURE__ */ jsxs33(
|
|
7713
7682
|
SelectableOptionRow,
|
|
7714
7683
|
{
|
|
7715
7684
|
selected: wallet.selected,
|
|
@@ -7718,9 +7687,9 @@ function EmbeddedWalletRow2({
|
|
|
7718
7687
|
type: "ON_SELECT_WALLET",
|
|
7719
7688
|
value: { type: "embedded", address: wallet.walletAddress }
|
|
7720
7689
|
}),
|
|
7721
|
-
icon: /* @__PURE__ */
|
|
7690
|
+
icon: /* @__PURE__ */ jsx45(WalletGlyph2, {}),
|
|
7722
7691
|
children: [
|
|
7723
|
-
/* @__PURE__ */
|
|
7692
|
+
/* @__PURE__ */ jsx45(
|
|
7724
7693
|
"span",
|
|
7725
7694
|
{
|
|
7726
7695
|
className: cn(
|
|
@@ -7730,7 +7699,7 @@ function EmbeddedWalletRow2({
|
|
|
7730
7699
|
children: EMBEDDED_WALLET_LABEL3
|
|
7731
7700
|
}
|
|
7732
7701
|
),
|
|
7733
|
-
/* @__PURE__ */
|
|
7702
|
+
/* @__PURE__ */ jsx45(
|
|
7734
7703
|
"span",
|
|
7735
7704
|
{
|
|
7736
7705
|
className: cn(
|
|
@@ -7740,8 +7709,8 @@ function EmbeddedWalletRow2({
|
|
|
7740
7709
|
children: wallet.address
|
|
7741
7710
|
}
|
|
7742
7711
|
),
|
|
7743
|
-
/* @__PURE__ */
|
|
7744
|
-
/* @__PURE__ */
|
|
7712
|
+
/* @__PURE__ */ jsx45("div", { className: "clcosdk:max-md:hidden", children: /* @__PURE__ */ jsxs33(OptionMetaRow, { children: [
|
|
7713
|
+
/* @__PURE__ */ jsx45(
|
|
7745
7714
|
"span",
|
|
7746
7715
|
{
|
|
7747
7716
|
className: cn(
|
|
@@ -7751,7 +7720,7 @@ function EmbeddedWalletRow2({
|
|
|
7751
7720
|
children: wallet.address
|
|
7752
7721
|
}
|
|
7753
7722
|
),
|
|
7754
|
-
/* @__PURE__ */
|
|
7723
|
+
/* @__PURE__ */ jsx45(
|
|
7755
7724
|
"span",
|
|
7756
7725
|
{
|
|
7757
7726
|
className: cn(
|
|
@@ -7771,14 +7740,14 @@ function CompletedView5({
|
|
|
7771
7740
|
onEvent,
|
|
7772
7741
|
className
|
|
7773
7742
|
}) {
|
|
7774
|
-
return /* @__PURE__ */
|
|
7743
|
+
return /* @__PURE__ */ jsx45(CheckoutStepCard, { state: "completed", title: TITLE13, className, children: /* @__PURE__ */ jsx45(
|
|
7775
7744
|
CompletedStepSummary,
|
|
7776
7745
|
{
|
|
7777
|
-
icon: /* @__PURE__ */
|
|
7746
|
+
icon: /* @__PURE__ */ jsx45(WalletGlyph2, {}),
|
|
7778
7747
|
title: wallet.type === "embedded" ? EMBEDDED_WALLET_LABEL3 : wallet.address,
|
|
7779
|
-
subtitle: /* @__PURE__ */
|
|
7748
|
+
subtitle: /* @__PURE__ */ jsxs33(OptionMetaRow, { children: [
|
|
7780
7749
|
wallet.type === "embedded" ? wallet.address : null,
|
|
7781
|
-
/* @__PURE__ */
|
|
7750
|
+
/* @__PURE__ */ jsx45(AllowlistedBadge, {})
|
|
7782
7751
|
] }),
|
|
7783
7752
|
editLabel: "Edit",
|
|
7784
7753
|
onEdit: () => onEvent({ type: "ON_EDIT_WALLET" })
|
|
@@ -7786,7 +7755,7 @@ function CompletedView5({
|
|
|
7786
7755
|
) });
|
|
7787
7756
|
}
|
|
7788
7757
|
function AllowlistedBadge() {
|
|
7789
|
-
return /* @__PURE__ */
|
|
7758
|
+
return /* @__PURE__ */ jsx45(
|
|
7790
7759
|
"span",
|
|
7791
7760
|
{
|
|
7792
7761
|
className: cn(
|
|
@@ -7801,7 +7770,7 @@ function DisconnectControl2({
|
|
|
7801
7770
|
onDisconnect,
|
|
7802
7771
|
className
|
|
7803
7772
|
}) {
|
|
7804
|
-
return /* @__PURE__ */
|
|
7773
|
+
return /* @__PURE__ */ jsx45(
|
|
7805
7774
|
"button",
|
|
7806
7775
|
{
|
|
7807
7776
|
type: "button",
|
|
@@ -7820,7 +7789,7 @@ function DisconnectControl2({
|
|
|
7820
7789
|
);
|
|
7821
7790
|
}
|
|
7822
7791
|
function WalletGlyph2() {
|
|
7823
|
-
return /* @__PURE__ */
|
|
7792
|
+
return /* @__PURE__ */ jsx45("div", { className: "clcosdk:flex clcosdk:size-10 clcosdk:shrink-0 clcosdk:items-center clcosdk:justify-center clcosdk:rounded-xl clcosdk:bg-section", children: /* @__PURE__ */ jsx45(
|
|
7824
7793
|
Wallet2,
|
|
7825
7794
|
{
|
|
7826
7795
|
className: "clcosdk:size-5 clcosdk:text-text-primary",
|
|
@@ -7830,7 +7799,7 @@ function WalletGlyph2() {
|
|
|
7830
7799
|
}
|
|
7831
7800
|
|
|
7832
7801
|
// src/client/components/checkout/superstate/swap/SuperstateSwapCheckoutView.tsx
|
|
7833
|
-
import { jsx as
|
|
7802
|
+
import { jsx as jsx46, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
7834
7803
|
var ERROR_TITLE4 = "Failed to load";
|
|
7835
7804
|
var ERROR_DESCRIPTION4 = "Something went wrong while loading this sale. Please try again.";
|
|
7836
7805
|
var UNSUPPORTED_CHAIN_TITLE2 = "Not available on this network";
|
|
@@ -7843,8 +7812,8 @@ function SuperstateSwapCheckoutView({
|
|
|
7843
7812
|
}) {
|
|
7844
7813
|
switch (state.type) {
|
|
7845
7814
|
case "content":
|
|
7846
|
-
return /* @__PURE__ */
|
|
7847
|
-
/* @__PURE__ */
|
|
7815
|
+
return /* @__PURE__ */ jsxs34(CoinListStyleScope, { children: [
|
|
7816
|
+
/* @__PURE__ */ jsxs34(
|
|
7848
7817
|
"div",
|
|
7849
7818
|
{
|
|
7850
7819
|
className: cn(
|
|
@@ -7853,16 +7822,16 @@ function SuperstateSwapCheckoutView({
|
|
|
7853
7822
|
className
|
|
7854
7823
|
),
|
|
7855
7824
|
children: [
|
|
7856
|
-
/* @__PURE__ */
|
|
7857
|
-
/* @__PURE__ */
|
|
7858
|
-
/* @__PURE__ */
|
|
7859
|
-
/* @__PURE__ */
|
|
7825
|
+
/* @__PURE__ */ jsxs34("div", { className: "clcosdk:order-2 clcosdk:flex clcosdk:min-w-0 clcosdk:flex-col clcosdk:gap-4 clcosdk:md:order-1", children: [
|
|
7826
|
+
/* @__PURE__ */ jsx46(SuperstateWalletView, { state: state.wallet, onEvent }),
|
|
7827
|
+
/* @__PURE__ */ jsx46(SuperstateAmountView, { state: state.amount, onEvent }),
|
|
7828
|
+
/* @__PURE__ */ jsx46(SuperstateReviewView, { state: state.review, onEvent })
|
|
7860
7829
|
] }),
|
|
7861
|
-
/* @__PURE__ */
|
|
7830
|
+
/* @__PURE__ */ jsx46("aside", { className: "clcosdk:order-1 clcosdk:min-w-0 clcosdk:md:order-2", children: /* @__PURE__ */ jsx46(SuperstateSidebarView, { state: state.sidebar }) })
|
|
7862
7831
|
]
|
|
7863
7832
|
}
|
|
7864
7833
|
),
|
|
7865
|
-
/* @__PURE__ */
|
|
7834
|
+
/* @__PURE__ */ jsx46(
|
|
7866
7835
|
SuperstateOrderConfirmed,
|
|
7867
7836
|
{
|
|
7868
7837
|
state: state.orderConfirmed,
|
|
@@ -7871,7 +7840,7 @@ function SuperstateSwapCheckoutView({
|
|
|
7871
7840
|
)
|
|
7872
7841
|
] });
|
|
7873
7842
|
case "error":
|
|
7874
|
-
return /* @__PURE__ */
|
|
7843
|
+
return /* @__PURE__ */ jsx46(
|
|
7875
7844
|
ErrorView4,
|
|
7876
7845
|
{
|
|
7877
7846
|
reason: state.reason,
|
|
@@ -7891,7 +7860,7 @@ function ErrorView4({
|
|
|
7891
7860
|
className
|
|
7892
7861
|
}) {
|
|
7893
7862
|
const canRetry = reason === "load-failed";
|
|
7894
|
-
return /* @__PURE__ */
|
|
7863
|
+
return /* @__PURE__ */ jsx46(CoinListStyleScope, { children: /* @__PURE__ */ jsxs34(
|
|
7895
7864
|
"div",
|
|
7896
7865
|
{
|
|
7897
7866
|
className: cn(
|
|
@@ -7900,8 +7869,8 @@ function ErrorView4({
|
|
|
7900
7869
|
className
|
|
7901
7870
|
),
|
|
7902
7871
|
children: [
|
|
7903
|
-
/* @__PURE__ */
|
|
7904
|
-
/* @__PURE__ */
|
|
7872
|
+
/* @__PURE__ */ jsxs34("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:items-center clcosdk:gap-2", children: [
|
|
7873
|
+
/* @__PURE__ */ jsx46(
|
|
7905
7874
|
"h2",
|
|
7906
7875
|
{
|
|
7907
7876
|
className: cn(
|
|
@@ -7911,7 +7880,7 @@ function ErrorView4({
|
|
|
7911
7880
|
children: canRetry ? ERROR_TITLE4 : UNSUPPORTED_CHAIN_TITLE2
|
|
7912
7881
|
}
|
|
7913
7882
|
),
|
|
7914
|
-
/* @__PURE__ */
|
|
7883
|
+
/* @__PURE__ */ jsx46(
|
|
7915
7884
|
"p",
|
|
7916
7885
|
{
|
|
7917
7886
|
className: cn(
|
|
@@ -7922,7 +7891,7 @@ function ErrorView4({
|
|
|
7922
7891
|
}
|
|
7923
7892
|
)
|
|
7924
7893
|
] }),
|
|
7925
|
-
canRetry && /* @__PURE__ */
|
|
7894
|
+
canRetry && /* @__PURE__ */ jsx46(
|
|
7926
7895
|
ClButton,
|
|
7927
7896
|
{
|
|
7928
7897
|
variant: "secondary",
|
|
@@ -9090,7 +9059,7 @@ function toOrderConfirmedUi3({
|
|
|
9090
9059
|
}
|
|
9091
9060
|
|
|
9092
9061
|
// src/client/components/checkout/superstate/swap/SuperstateSwapCheckoutContainer.tsx
|
|
9093
|
-
import { jsx as
|
|
9062
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
9094
9063
|
function SuperstateSwapCheckoutContainer({
|
|
9095
9064
|
offer,
|
|
9096
9065
|
chain,
|
|
@@ -9106,7 +9075,7 @@ function SuperstateSwapCheckoutContainer({
|
|
|
9106
9075
|
enabled,
|
|
9107
9076
|
onOrderConfirmed
|
|
9108
9077
|
});
|
|
9109
|
-
return /* @__PURE__ */
|
|
9078
|
+
return /* @__PURE__ */ jsx47(
|
|
9110
9079
|
SuperstateSwapCheckoutView,
|
|
9111
9080
|
{
|
|
9112
9081
|
state,
|
|
@@ -9117,7 +9086,7 @@ function SuperstateSwapCheckoutContainer({
|
|
|
9117
9086
|
}
|
|
9118
9087
|
|
|
9119
9088
|
// src/client/components/checkout/CheckoutContainer.tsx
|
|
9120
|
-
import { jsx as
|
|
9089
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
9121
9090
|
function defaultCheckoutConfig(config) {
|
|
9122
9091
|
return { "superstate::swap": {}, ...config };
|
|
9123
9092
|
}
|
|
@@ -9130,7 +9099,7 @@ function CheckoutContainer({
|
|
|
9130
9099
|
className
|
|
9131
9100
|
}) {
|
|
9132
9101
|
return renderOffer(offer, {
|
|
9133
|
-
ondo: (ondoOffer) => /* @__PURE__ */
|
|
9102
|
+
ondo: (ondoOffer) => /* @__PURE__ */ jsx48(
|
|
9134
9103
|
OndoCheckoutContainer,
|
|
9135
9104
|
{
|
|
9136
9105
|
offer: ondoOffer,
|
|
@@ -9141,7 +9110,7 @@ function CheckoutContainer({
|
|
|
9141
9110
|
className
|
|
9142
9111
|
}
|
|
9143
9112
|
),
|
|
9144
|
-
superstate: (superstateOffer) => /* @__PURE__ */
|
|
9113
|
+
superstate: (superstateOffer) => /* @__PURE__ */ jsx48(
|
|
9145
9114
|
SuperstateSwapCheckoutContainer,
|
|
9146
9115
|
{
|
|
9147
9116
|
offer: superstateOffer,
|
|
@@ -9166,7 +9135,7 @@ function OndoCheckoutContainer({
|
|
|
9166
9135
|
const [side] = useState23(() => config.side());
|
|
9167
9136
|
const ondoSymbol = config.symbol(offer);
|
|
9168
9137
|
return renderOndoSide(side, {
|
|
9169
|
-
buy: () => /* @__PURE__ */
|
|
9138
|
+
buy: () => /* @__PURE__ */ jsx48(
|
|
9170
9139
|
OndoBuyCheckoutContainer,
|
|
9171
9140
|
{
|
|
9172
9141
|
offer,
|
|
@@ -9178,7 +9147,7 @@ function OndoCheckoutContainer({
|
|
|
9178
9147
|
className
|
|
9179
9148
|
}
|
|
9180
9149
|
),
|
|
9181
|
-
sell: () => /* @__PURE__ */
|
|
9150
|
+
sell: () => /* @__PURE__ */ jsx48(
|
|
9182
9151
|
OndoSellCheckoutContainer,
|
|
9183
9152
|
{
|
|
9184
9153
|
offer,
|
|
@@ -9220,7 +9189,7 @@ function renderOndoSide(side, branches) {
|
|
|
9220
9189
|
}
|
|
9221
9190
|
|
|
9222
9191
|
// src/client/components/design-system/ThemedImage.tsx
|
|
9223
|
-
import { Fragment as Fragment9, jsx as
|
|
9192
|
+
import { Fragment as Fragment9, jsx as jsx49, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
9224
9193
|
function ThemedImage({
|
|
9225
9194
|
light,
|
|
9226
9195
|
dark,
|
|
@@ -9233,7 +9202,7 @@ function ThemedImage({
|
|
|
9233
9202
|
}) {
|
|
9234
9203
|
const shared = { width, height, style };
|
|
9235
9204
|
if (!dark) {
|
|
9236
|
-
return /* @__PURE__ */
|
|
9205
|
+
return /* @__PURE__ */ jsx49(
|
|
9237
9206
|
"img",
|
|
9238
9207
|
{
|
|
9239
9208
|
src: light.src,
|
|
@@ -9245,8 +9214,8 @@ function ThemedImage({
|
|
|
9245
9214
|
}
|
|
9246
9215
|
);
|
|
9247
9216
|
}
|
|
9248
|
-
return /* @__PURE__ */
|
|
9249
|
-
/* @__PURE__ */
|
|
9217
|
+
return /* @__PURE__ */ jsxs35(Fragment9, { children: [
|
|
9218
|
+
/* @__PURE__ */ jsx49(
|
|
9250
9219
|
"img",
|
|
9251
9220
|
{
|
|
9252
9221
|
src: light.src,
|
|
@@ -9257,7 +9226,7 @@ function ThemedImage({
|
|
|
9257
9226
|
...shared
|
|
9258
9227
|
}
|
|
9259
9228
|
),
|
|
9260
|
-
/* @__PURE__ */
|
|
9229
|
+
/* @__PURE__ */ jsx49(
|
|
9261
9230
|
"img",
|
|
9262
9231
|
{
|
|
9263
9232
|
src: dark.src,
|
|
@@ -9279,7 +9248,7 @@ function onOfferCardKeyDown(event, onClick) {
|
|
|
9279
9248
|
}
|
|
9280
9249
|
|
|
9281
9250
|
// src/client/components/offers/shared/OfferAssetCard.tsx
|
|
9282
|
-
import { jsx as
|
|
9251
|
+
import { jsx as jsx50, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
9283
9252
|
var LOGO_SIZES = "(min-width: 768px) 48px, 40px";
|
|
9284
9253
|
function OfferAssetCard({
|
|
9285
9254
|
offer,
|
|
@@ -9288,7 +9257,7 @@ function OfferAssetCard({
|
|
|
9288
9257
|
containerClassName
|
|
9289
9258
|
}) {
|
|
9290
9259
|
const interactive = onClick !== void 0;
|
|
9291
|
-
const card = /* @__PURE__ */
|
|
9260
|
+
const card = /* @__PURE__ */ jsx50(
|
|
9292
9261
|
"article",
|
|
9293
9262
|
{
|
|
9294
9263
|
className: cn(
|
|
@@ -9302,8 +9271,8 @@ function OfferAssetCard({
|
|
|
9302
9271
|
tabIndex: interactive ? 0 : void 0,
|
|
9303
9272
|
onClick,
|
|
9304
9273
|
onKeyDown: interactive ? (event) => onOfferCardKeyDown(event, onClick) : void 0,
|
|
9305
|
-
children: /* @__PURE__ */
|
|
9306
|
-
offer.logo ? /* @__PURE__ */
|
|
9274
|
+
children: /* @__PURE__ */ jsxs36("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:flex-1 clcosdk:items-center clcosdk:gap-2.5 clcosdk:pr-3 clcosdk:md:gap-3 clcosdk:md:pr-4", children: [
|
|
9275
|
+
offer.logo ? /* @__PURE__ */ jsx50("div", { className: "clcosdk:h-10 clcosdk:w-10 clcosdk:shrink-0 clcosdk:overflow-hidden clcosdk:rounded-full clcosdk:md:h-12 clcosdk:md:w-12", children: /* @__PURE__ */ jsx50(
|
|
9307
9276
|
ThemedImage,
|
|
9308
9277
|
{
|
|
9309
9278
|
light: offer.logo.light,
|
|
@@ -9316,8 +9285,8 @@ function OfferAssetCard({
|
|
|
9316
9285
|
style: { maxWidth: "none", width: "100%", height: "100%" }
|
|
9317
9286
|
}
|
|
9318
9287
|
) }) : null,
|
|
9319
|
-
/* @__PURE__ */
|
|
9320
|
-
offer.name ? /* @__PURE__ */
|
|
9288
|
+
/* @__PURE__ */ jsxs36("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:flex-1 clcosdk:flex-col clcosdk:items-start clcosdk:justify-center", children: [
|
|
9289
|
+
offer.name ? /* @__PURE__ */ jsx50(
|
|
9321
9290
|
"h2",
|
|
9322
9291
|
{
|
|
9323
9292
|
className: cn(
|
|
@@ -9326,13 +9295,13 @@ function OfferAssetCard({
|
|
|
9326
9295
|
children: offer.name
|
|
9327
9296
|
}
|
|
9328
9297
|
) : null,
|
|
9329
|
-
offer.symbol ? /* @__PURE__ */
|
|
9298
|
+
offer.symbol ? /* @__PURE__ */ jsx50("p", { className: "clcosdk:w-full clcosdk:truncate clcosdk:text-[13px] clcosdk:leading-[150%] clcosdk:font-normal clcosdk:text-text-secondary clcosdk:md:text-[14px]", children: offer.symbol }) : null
|
|
9330
9299
|
] })
|
|
9331
9300
|
] })
|
|
9332
9301
|
}
|
|
9333
9302
|
);
|
|
9334
|
-
const wrapped = containerClassName ? /* @__PURE__ */
|
|
9335
|
-
return /* @__PURE__ */
|
|
9303
|
+
const wrapped = containerClassName ? /* @__PURE__ */ jsx50("div", { className: containerClassName, children: card }) : card;
|
|
9304
|
+
return /* @__PURE__ */ jsx50(CoinListStyleScope, { children: wrapped });
|
|
9336
9305
|
}
|
|
9337
9306
|
function cardActionLabel(offer) {
|
|
9338
9307
|
const parts = [offer.name, offer.symbol].filter(Boolean);
|
|
@@ -9340,7 +9309,7 @@ function cardActionLabel(offer) {
|
|
|
9340
9309
|
}
|
|
9341
9310
|
|
|
9342
9311
|
// src/client/components/offers/grid/OffersAssetGrid.tsx
|
|
9343
|
-
import { jsx as
|
|
9312
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
9344
9313
|
var DEFAULT_MAX_COLUMNS = 3;
|
|
9345
9314
|
function OffersAssetGrid({
|
|
9346
9315
|
offers,
|
|
@@ -9355,14 +9324,14 @@ function OffersAssetGrid({
|
|
|
9355
9324
|
);
|
|
9356
9325
|
const maxGridWidth = `calc(${cols} * 20rem + ${Math.max(cols - 1, 0)} * 1.5rem)`;
|
|
9357
9326
|
const interactive = onOfferClick !== void 0;
|
|
9358
|
-
return /* @__PURE__ */
|
|
9327
|
+
return /* @__PURE__ */ jsx51(CoinListStyleScope, { children: /* @__PURE__ */ jsx51(
|
|
9359
9328
|
"div",
|
|
9360
9329
|
{
|
|
9361
9330
|
className: cn(
|
|
9362
9331
|
"clcosdk:flex clcosdk:w-full clcosdk:justify-center",
|
|
9363
9332
|
containerClassName
|
|
9364
9333
|
),
|
|
9365
|
-
children: /* @__PURE__ */
|
|
9334
|
+
children: /* @__PURE__ */ jsx51(
|
|
9366
9335
|
"div",
|
|
9367
9336
|
{
|
|
9368
9337
|
className: cn(
|
|
@@ -9372,7 +9341,7 @@ function OffersAssetGrid({
|
|
|
9372
9341
|
className
|
|
9373
9342
|
),
|
|
9374
9343
|
style: { maxWidth: maxGridWidth },
|
|
9375
|
-
children: offers.map((offer) => /* @__PURE__ */
|
|
9344
|
+
children: offers.map((offer) => /* @__PURE__ */ jsx51(
|
|
9376
9345
|
OfferAssetCard,
|
|
9377
9346
|
{
|
|
9378
9347
|
offer,
|
|
@@ -9414,7 +9383,7 @@ function saleCardStatus({
|
|
|
9414
9383
|
}
|
|
9415
9384
|
|
|
9416
9385
|
// src/client/components/offers/shared/OfferSaleCard.tsx
|
|
9417
|
-
import { jsx as
|
|
9386
|
+
import { jsx as jsx52, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
9418
9387
|
var HEADER_LOGO_SIZES = "(min-width: 768px) 36px, 32px";
|
|
9419
9388
|
var WATERMARK_SIZES = "(min-width: 768px) 20rem, 15rem";
|
|
9420
9389
|
function OfferSaleCard({
|
|
@@ -9432,7 +9401,7 @@ function OfferSaleCard({
|
|
|
9432
9401
|
});
|
|
9433
9402
|
const interactive = onClick !== void 0;
|
|
9434
9403
|
const logo = offer.logo ? offer.logo.dark ?? offer.logo.light : null;
|
|
9435
|
-
const card = /* @__PURE__ */
|
|
9404
|
+
const card = /* @__PURE__ */ jsxs37(
|
|
9436
9405
|
"article",
|
|
9437
9406
|
{
|
|
9438
9407
|
className: cn(
|
|
@@ -9447,13 +9416,13 @@ function OfferSaleCard({
|
|
|
9447
9416
|
onClick,
|
|
9448
9417
|
onKeyDown: interactive ? (event) => onOfferCardKeyDown(event, onClick) : void 0,
|
|
9449
9418
|
children: [
|
|
9450
|
-
logo ? /* @__PURE__ */
|
|
9419
|
+
logo ? /* @__PURE__ */ jsx52(
|
|
9451
9420
|
"div",
|
|
9452
9421
|
{
|
|
9453
9422
|
"aria-hidden": "true",
|
|
9454
9423
|
className: "clcosdk:pointer-events-none clcosdk:absolute clcosdk:top-1/2 clcosdk:right-[-14%] clcosdk:z-0 clcosdk:size-[15rem] clcosdk:-translate-y-1/2 clcosdk:md:right-[-10%] clcosdk:md:size-[20rem]",
|
|
9455
9424
|
style: { mixBlendMode: "overlay" },
|
|
9456
|
-
children: /* @__PURE__ */
|
|
9425
|
+
children: /* @__PURE__ */ jsx52(
|
|
9457
9426
|
ThemedImage,
|
|
9458
9427
|
{
|
|
9459
9428
|
light: logo,
|
|
@@ -9465,9 +9434,9 @@ function OfferSaleCard({
|
|
|
9465
9434
|
)
|
|
9466
9435
|
}
|
|
9467
9436
|
) : null,
|
|
9468
|
-
/* @__PURE__ */
|
|
9469
|
-
/* @__PURE__ */
|
|
9470
|
-
logo ? /* @__PURE__ */
|
|
9437
|
+
/* @__PURE__ */ jsxs37("div", { className: "clcosdk:relative clcosdk:z-10 clcosdk:flex clcosdk:flex-col clcosdk:gap-2 clcosdk:md:gap-3", children: [
|
|
9438
|
+
/* @__PURE__ */ jsxs37("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:items-center clcosdk:gap-2.5 clcosdk:md:gap-3", children: [
|
|
9439
|
+
logo ? /* @__PURE__ */ jsx52("div", { className: "clcosdk:h-8 clcosdk:w-8 clcosdk:shrink-0 clcosdk:overflow-hidden clcosdk:rounded-full clcosdk:md:h-9 clcosdk:md:w-9", children: /* @__PURE__ */ jsx52(
|
|
9471
9440
|
ThemedImage,
|
|
9472
9441
|
{
|
|
9473
9442
|
light: logo,
|
|
@@ -9479,7 +9448,7 @@ function OfferSaleCard({
|
|
|
9479
9448
|
style: { maxWidth: "none", width: "100%", height: "100%" }
|
|
9480
9449
|
}
|
|
9481
9450
|
) }) : null,
|
|
9482
|
-
offer.name ? /* @__PURE__ */
|
|
9451
|
+
offer.name ? /* @__PURE__ */ jsx52(
|
|
9483
9452
|
"h2",
|
|
9484
9453
|
{
|
|
9485
9454
|
className: cn(
|
|
@@ -9489,7 +9458,7 @@ function OfferSaleCard({
|
|
|
9489
9458
|
}
|
|
9490
9459
|
) : null
|
|
9491
9460
|
] }),
|
|
9492
|
-
offer.tagline ? /* @__PURE__ */
|
|
9461
|
+
offer.tagline ? /* @__PURE__ */ jsx52(
|
|
9493
9462
|
"p",
|
|
9494
9463
|
{
|
|
9495
9464
|
className: cn(
|
|
@@ -9500,20 +9469,20 @@ function OfferSaleCard({
|
|
|
9500
9469
|
}
|
|
9501
9470
|
) : null
|
|
9502
9471
|
] }),
|
|
9503
|
-
/* @__PURE__ */
|
|
9504
|
-
/* @__PURE__ */
|
|
9505
|
-
status.phase === "live" ? /* @__PURE__ */
|
|
9472
|
+
/* @__PURE__ */ jsxs37("div", { className: "clcosdk:relative clcosdk:z-10 clcosdk:mt-auto clcosdk:flex clcosdk:h-11 clcosdk:w-full clcosdk:min-w-0 clcosdk:items-center clcosdk:justify-between clcosdk:gap-2 clcosdk:rounded-full clcosdk:border clcosdk:border-sale-card-chrome-border clcosdk:bg-sale-card-chrome-bg clcosdk:py-1.5 clcosdk:pr-1.5 clcosdk:pl-3 clcosdk:md:h-[54px] clcosdk:md:gap-3 clcosdk:md:py-2 clcosdk:md:pr-2 clcosdk:md:pl-4", children: [
|
|
9473
|
+
/* @__PURE__ */ jsxs37("div", { className: "clcosdk:flex clcosdk:min-w-0 clcosdk:items-center clcosdk:gap-2 clcosdk:md:gap-3", children: [
|
|
9474
|
+
status.phase === "live" ? /* @__PURE__ */ jsxs37(
|
|
9506
9475
|
"span",
|
|
9507
9476
|
{
|
|
9508
9477
|
className: "clcosdk:relative clcosdk:inline-flex clcosdk:size-2 clcosdk:shrink-0",
|
|
9509
9478
|
"aria-hidden": "true",
|
|
9510
9479
|
children: [
|
|
9511
|
-
/* @__PURE__ */
|
|
9512
|
-
/* @__PURE__ */
|
|
9480
|
+
/* @__PURE__ */ jsx52("span", { className: "clcosdk-status-dot-ping clcosdk:absolute clcosdk:inset-0 clcosdk:rounded-full clcosdk:bg-positive" }),
|
|
9481
|
+
/* @__PURE__ */ jsx52("span", { className: "clcosdk:relative clcosdk:inline-flex clcosdk:size-full clcosdk:rounded-full clcosdk:bg-positive" })
|
|
9513
9482
|
]
|
|
9514
9483
|
}
|
|
9515
9484
|
) : null,
|
|
9516
|
-
/* @__PURE__ */
|
|
9485
|
+
/* @__PURE__ */ jsx52(
|
|
9517
9486
|
"p",
|
|
9518
9487
|
{
|
|
9519
9488
|
className: cn(
|
|
@@ -9524,7 +9493,7 @@ function OfferSaleCard({
|
|
|
9524
9493
|
}
|
|
9525
9494
|
)
|
|
9526
9495
|
] }),
|
|
9527
|
-
/* @__PURE__ */
|
|
9496
|
+
/* @__PURE__ */ jsxs37(
|
|
9528
9497
|
"span",
|
|
9529
9498
|
{
|
|
9530
9499
|
className: cn(
|
|
@@ -9534,8 +9503,8 @@ function OfferSaleCard({
|
|
|
9534
9503
|
"aria-hidden": "true",
|
|
9535
9504
|
children: [
|
|
9536
9505
|
"View",
|
|
9537
|
-
/* @__PURE__ */
|
|
9538
|
-
/* @__PURE__ */
|
|
9506
|
+
/* @__PURE__ */ jsx52("span", { className: "clcosdk:max-md:hidden", children: " offer" }),
|
|
9507
|
+
/* @__PURE__ */ jsx52(ArrowRight, { className: "clcosdk:size-4", "aria-hidden": true })
|
|
9539
9508
|
]
|
|
9540
9509
|
}
|
|
9541
9510
|
)
|
|
@@ -9543,8 +9512,8 @@ function OfferSaleCard({
|
|
|
9543
9512
|
]
|
|
9544
9513
|
}
|
|
9545
9514
|
);
|
|
9546
|
-
const wrapped = containerClassName ? /* @__PURE__ */
|
|
9547
|
-
return /* @__PURE__ */
|
|
9515
|
+
const wrapped = containerClassName ? /* @__PURE__ */ jsx52("div", { className: containerClassName, children: card }) : card;
|
|
9516
|
+
return /* @__PURE__ */ jsx52(CoinListStyleScope, { children: wrapped });
|
|
9548
9517
|
}
|
|
9549
9518
|
var SALE_PHASE_LABEL = {
|
|
9550
9519
|
upcoming: "Upcoming",
|
|
@@ -9557,10 +9526,10 @@ function cardActionLabel2(offer, phase) {
|
|
|
9557
9526
|
}
|
|
9558
9527
|
|
|
9559
9528
|
// src/client/components/offers/grid/OffersGridView.tsx
|
|
9560
|
-
import { jsx as
|
|
9529
|
+
import { jsx as jsx53, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
9561
9530
|
var DEFAULT_MAX_COLUMNS2 = 2;
|
|
9562
9531
|
function OffersGridView(props) {
|
|
9563
|
-
return /* @__PURE__ */
|
|
9532
|
+
return /* @__PURE__ */ jsx53(CoinListStyleScope, { children: /* @__PURE__ */ jsx53(OffersGridViewBody, { ...props }) });
|
|
9564
9533
|
}
|
|
9565
9534
|
function OffersGridViewBody({
|
|
9566
9535
|
state,
|
|
@@ -9574,13 +9543,13 @@ function OffersGridViewBody({
|
|
|
9574
9543
|
}) {
|
|
9575
9544
|
switch (state.type) {
|
|
9576
9545
|
case "loading":
|
|
9577
|
-
return loading ?? /* @__PURE__ */
|
|
9546
|
+
return loading ?? /* @__PURE__ */ jsx53(LoadingState, {});
|
|
9578
9547
|
case "error":
|
|
9579
|
-
return error ?? /* @__PURE__ */
|
|
9548
|
+
return error ?? /* @__PURE__ */ jsx53(ErrorState, { message: state.message });
|
|
9580
9549
|
case "empty":
|
|
9581
|
-
return emptyState ?? /* @__PURE__ */
|
|
9550
|
+
return emptyState ?? /* @__PURE__ */ jsx53(EmptyState, {});
|
|
9582
9551
|
case "content":
|
|
9583
|
-
return /* @__PURE__ */
|
|
9552
|
+
return /* @__PURE__ */ jsx53(
|
|
9584
9553
|
OffersGridContent,
|
|
9585
9554
|
{
|
|
9586
9555
|
offers: state.offers,
|
|
@@ -9610,14 +9579,14 @@ function OffersGridContent({
|
|
|
9610
9579
|
Math.max(1, maxColumns ?? DEFAULT_MAX_COLUMNS2)
|
|
9611
9580
|
);
|
|
9612
9581
|
const maxGridWidth = `calc(${cols} * 28rem + ${Math.max(cols - 1, 0)} * 1.5rem)`;
|
|
9613
|
-
return /* @__PURE__ */
|
|
9582
|
+
return /* @__PURE__ */ jsx53(
|
|
9614
9583
|
"div",
|
|
9615
9584
|
{
|
|
9616
9585
|
className: cn(
|
|
9617
9586
|
"clcosdk:flex clcosdk:w-full clcosdk:justify-center",
|
|
9618
9587
|
containerClassName
|
|
9619
9588
|
),
|
|
9620
|
-
children: /* @__PURE__ */
|
|
9589
|
+
children: /* @__PURE__ */ jsx53(
|
|
9621
9590
|
"div",
|
|
9622
9591
|
{
|
|
9623
9592
|
className: cn(
|
|
@@ -9626,7 +9595,7 @@ function OffersGridContent({
|
|
|
9626
9595
|
className
|
|
9627
9596
|
),
|
|
9628
9597
|
style: { maxWidth: maxGridWidth },
|
|
9629
|
-
children: offers.map((offer) => /* @__PURE__ */
|
|
9598
|
+
children: offers.map((offer) => /* @__PURE__ */ jsx53(
|
|
9630
9599
|
OfferSaleCard,
|
|
9631
9600
|
{
|
|
9632
9601
|
offer,
|
|
@@ -9640,17 +9609,17 @@ function OffersGridContent({
|
|
|
9640
9609
|
);
|
|
9641
9610
|
}
|
|
9642
9611
|
function LoadingState() {
|
|
9643
|
-
return /* @__PURE__ */
|
|
9612
|
+
return /* @__PURE__ */ jsx53(
|
|
9644
9613
|
"output",
|
|
9645
9614
|
{
|
|
9646
9615
|
"aria-live": "polite",
|
|
9647
9616
|
className: "clcosdk:flex clcosdk:min-h-40 clcosdk:items-center clcosdk:justify-center clcosdk:rounded-2xl clcosdk:border clcosdk:border-border clcosdk:bg-background clcosdk:p-6",
|
|
9648
|
-
children: /* @__PURE__ */
|
|
9617
|
+
children: /* @__PURE__ */ jsx53("p", { className: cn(typeClasses.body, "clcosdk:text-text-secondary"), children: "Loading offers..." })
|
|
9649
9618
|
}
|
|
9650
9619
|
);
|
|
9651
9620
|
}
|
|
9652
9621
|
function ErrorState({ message }) {
|
|
9653
|
-
return /* @__PURE__ */
|
|
9622
|
+
return /* @__PURE__ */ jsx53(
|
|
9654
9623
|
AlertBanner,
|
|
9655
9624
|
{
|
|
9656
9625
|
variant: "error",
|
|
@@ -9661,13 +9630,13 @@ function ErrorState({ message }) {
|
|
|
9661
9630
|
);
|
|
9662
9631
|
}
|
|
9663
9632
|
function EmptyState() {
|
|
9664
|
-
return /* @__PURE__ */
|
|
9633
|
+
return /* @__PURE__ */ jsxs38(
|
|
9665
9634
|
"output",
|
|
9666
9635
|
{
|
|
9667
9636
|
"aria-live": "polite",
|
|
9668
9637
|
className: "clcosdk:flex clcosdk:min-h-40 clcosdk:flex-col clcosdk:items-center clcosdk:justify-center clcosdk:gap-2 clcosdk:rounded-2xl clcosdk:border clcosdk:border-border clcosdk:bg-background clcosdk:p-6 clcosdk:text-center",
|
|
9669
9638
|
children: [
|
|
9670
|
-
/* @__PURE__ */
|
|
9639
|
+
/* @__PURE__ */ jsx53(
|
|
9671
9640
|
"p",
|
|
9672
9641
|
{
|
|
9673
9642
|
className: cn(
|
|
@@ -9677,7 +9646,7 @@ function EmptyState() {
|
|
|
9677
9646
|
children: "No offers available"
|
|
9678
9647
|
}
|
|
9679
9648
|
),
|
|
9680
|
-
/* @__PURE__ */
|
|
9649
|
+
/* @__PURE__ */ jsx53("p", { className: cn(typeClasses.subhead, "clcosdk:text-text-secondary"), children: "Check back soon for upcoming opportunities." })
|
|
9681
9650
|
]
|
|
9682
9651
|
}
|
|
9683
9652
|
);
|
|
@@ -9941,7 +9910,7 @@ function toUiState(offersState, registryState, interactive) {
|
|
|
9941
9910
|
}
|
|
9942
9911
|
|
|
9943
9912
|
// src/client/components/offers/grid/OffersGridContainer.tsx
|
|
9944
|
-
import { jsx as
|
|
9913
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
9945
9914
|
function OffersGridContainer({
|
|
9946
9915
|
data,
|
|
9947
9916
|
onOfferClick,
|
|
@@ -9953,12 +9922,12 @@ function OffersGridContainer({
|
|
|
9953
9922
|
onOfferClick,
|
|
9954
9923
|
enabled
|
|
9955
9924
|
});
|
|
9956
|
-
return /* @__PURE__ */
|
|
9925
|
+
return /* @__PURE__ */ jsx54(OffersGridView, { state, onEvent, ...viewProps });
|
|
9957
9926
|
}
|
|
9958
9927
|
|
|
9959
9928
|
// src/client/components/requirements/ConnectedWalletList.tsx
|
|
9960
9929
|
import { useState as useState26 } from "react";
|
|
9961
|
-
import { jsx as
|
|
9930
|
+
import { jsx as jsx55, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
9962
9931
|
function ConnectedWalletRow({
|
|
9963
9932
|
wallet,
|
|
9964
9933
|
onRemove
|
|
@@ -9974,8 +9943,8 @@ function ConnectedWalletRow({
|
|
|
9974
9943
|
setState("error");
|
|
9975
9944
|
}
|
|
9976
9945
|
};
|
|
9977
|
-
return /* @__PURE__ */
|
|
9978
|
-
/* @__PURE__ */
|
|
9946
|
+
return /* @__PURE__ */ jsxs39("div", { className: "clcosdk:flex clcosdk:min-h-9 clcosdk:flex-wrap clcosdk:items-center clcosdk:justify-between clcosdk:gap-2", children: [
|
|
9947
|
+
/* @__PURE__ */ jsx55(
|
|
9979
9948
|
"span",
|
|
9980
9949
|
{
|
|
9981
9950
|
title: wallet.address,
|
|
@@ -9986,16 +9955,16 @@ function ConnectedWalletRow({
|
|
|
9986
9955
|
children: wallet.shortAddress
|
|
9987
9956
|
}
|
|
9988
9957
|
),
|
|
9989
|
-
onRemove != null && (state === "confirming" ? /* @__PURE__ */
|
|
9990
|
-
/* @__PURE__ */
|
|
9958
|
+
onRemove != null && (state === "confirming" ? /* @__PURE__ */ jsxs39("div", { className: "clcosdk:flex clcosdk:items-center clcosdk:gap-2", children: [
|
|
9959
|
+
/* @__PURE__ */ jsx55(
|
|
9991
9960
|
"span",
|
|
9992
9961
|
{
|
|
9993
9962
|
className: cn(typeClasses.subhead, "clcosdk:text-text-secondary"),
|
|
9994
9963
|
children: "Remove?"
|
|
9995
9964
|
}
|
|
9996
9965
|
),
|
|
9997
|
-
/* @__PURE__ */
|
|
9998
|
-
/* @__PURE__ */
|
|
9966
|
+
/* @__PURE__ */ jsx55(ClButton, { size: "sm", variant: "destructive", onClick: remove, children: "Remove" }),
|
|
9967
|
+
/* @__PURE__ */ jsx55(
|
|
9999
9968
|
ClButton,
|
|
10000
9969
|
{
|
|
10001
9970
|
size: "sm",
|
|
@@ -10004,9 +9973,9 @@ function ConnectedWalletRow({
|
|
|
10004
9973
|
children: "Cancel"
|
|
10005
9974
|
}
|
|
10006
9975
|
)
|
|
10007
|
-
] }) : state === "error" ? /* @__PURE__ */
|
|
10008
|
-
/* @__PURE__ */
|
|
10009
|
-
/* @__PURE__ */
|
|
9976
|
+
] }) : state === "error" ? /* @__PURE__ */ jsxs39("div", { className: "clcosdk:flex clcosdk:items-center clcosdk:gap-2", children: [
|
|
9977
|
+
/* @__PURE__ */ jsx55("span", { className: cn(typeClasses.subhead, "clcosdk:text-error"), children: "Couldn't remove." }),
|
|
9978
|
+
/* @__PURE__ */ jsx55(
|
|
10010
9979
|
ClButton,
|
|
10011
9980
|
{
|
|
10012
9981
|
size: "sm",
|
|
@@ -10015,7 +9984,7 @@ function ConnectedWalletRow({
|
|
|
10015
9984
|
children: "Try again"
|
|
10016
9985
|
}
|
|
10017
9986
|
)
|
|
10018
|
-
] }) : /* @__PURE__ */
|
|
9987
|
+
] }) : /* @__PURE__ */ jsx55(
|
|
10019
9988
|
ClButton,
|
|
10020
9989
|
{
|
|
10021
9990
|
size: "sm",
|
|
@@ -10028,7 +9997,7 @@ function ConnectedWalletRow({
|
|
|
10028
9997
|
] });
|
|
10029
9998
|
}
|
|
10030
9999
|
function ConnectedWalletList(props) {
|
|
10031
|
-
return /* @__PURE__ */
|
|
10000
|
+
return /* @__PURE__ */ jsx55(CoinListStyleScope, { children: /* @__PURE__ */ jsx55(ConnectedWalletListBody, { ...props }) });
|
|
10032
10001
|
}
|
|
10033
10002
|
function ConnectedWalletListBody({
|
|
10034
10003
|
wallets,
|
|
@@ -10038,18 +10007,18 @@ function ConnectedWalletListBody({
|
|
|
10038
10007
|
status = "ready",
|
|
10039
10008
|
className
|
|
10040
10009
|
}) {
|
|
10041
|
-
return /* @__PURE__ */
|
|
10010
|
+
return /* @__PURE__ */ jsxs39(
|
|
10042
10011
|
"div",
|
|
10043
10012
|
{
|
|
10044
10013
|
className: cn("clcosdk:flex clcosdk:flex-col clcosdk:gap-2", className),
|
|
10045
10014
|
children: [
|
|
10046
|
-
status === "loading" ? /* @__PURE__ */
|
|
10015
|
+
status === "loading" ? /* @__PURE__ */ jsx55(AlertBanner, { variant: "info", content: "Loading your connected wallets\u2026" }) : status === "error" ? /* @__PURE__ */ jsx55(
|
|
10047
10016
|
AlertBanner,
|
|
10048
10017
|
{
|
|
10049
10018
|
variant: "error",
|
|
10050
10019
|
content: "Couldn't load your connected wallets."
|
|
10051
10020
|
}
|
|
10052
|
-
) : wallets.length === 0 ? /* @__PURE__ */
|
|
10021
|
+
) : wallets.length === 0 ? /* @__PURE__ */ jsx55(AlertBanner, { variant: "info", content: "No wallets connected yet." }) : /* @__PURE__ */ jsx55("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:divide-y clcosdk:divide-divider", children: wallets.map((wallet) => /* @__PURE__ */ jsx55(
|
|
10053
10022
|
ConnectedWalletRow,
|
|
10054
10023
|
{
|
|
10055
10024
|
wallet,
|
|
@@ -10057,7 +10026,7 @@ function ConnectedWalletListBody({
|
|
|
10057
10026
|
},
|
|
10058
10027
|
wallet.id
|
|
10059
10028
|
)) }),
|
|
10060
|
-
onAdd != null && status !== "loading" && /* @__PURE__ */
|
|
10029
|
+
onAdd != null && status !== "loading" && /* @__PURE__ */ jsx55(
|
|
10061
10030
|
ClButton,
|
|
10062
10031
|
{
|
|
10063
10032
|
size: "sm",
|
|
@@ -10074,9 +10043,9 @@ function ConnectedWalletListBody({
|
|
|
10074
10043
|
|
|
10075
10044
|
// src/client/components/requirements/identity-verification/IdentityVerificationView.tsx
|
|
10076
10045
|
import SumsubWebSdk from "@sumsub/websdk-react";
|
|
10077
|
-
import { jsx as
|
|
10046
|
+
import { jsx as jsx56, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
10078
10047
|
function IdentityVerificationView(props) {
|
|
10079
|
-
return /* @__PURE__ */
|
|
10048
|
+
return /* @__PURE__ */ jsx56(CoinListStyleScope, { children: /* @__PURE__ */ jsx56(IdentityVerificationViewBody, { ...props }) });
|
|
10080
10049
|
}
|
|
10081
10050
|
function IdentityVerificationViewBody({
|
|
10082
10051
|
state,
|
|
@@ -10085,7 +10054,7 @@ function IdentityVerificationViewBody({
|
|
|
10085
10054
|
}) {
|
|
10086
10055
|
switch (state.type) {
|
|
10087
10056
|
case "loading":
|
|
10088
|
-
return /* @__PURE__ */
|
|
10057
|
+
return /* @__PURE__ */ jsx56(
|
|
10089
10058
|
"output",
|
|
10090
10059
|
{
|
|
10091
10060
|
"aria-live": "polite",
|
|
@@ -10093,11 +10062,11 @@ function IdentityVerificationViewBody({
|
|
|
10093
10062
|
"clcosdk:flex clcosdk:min-h-40 clcosdk:items-center clcosdk:justify-center",
|
|
10094
10063
|
className
|
|
10095
10064
|
),
|
|
10096
|
-
children: /* @__PURE__ */
|
|
10065
|
+
children: /* @__PURE__ */ jsx56("p", { className: cn(typeClasses.body, "clcosdk:text-text-secondary"), children: "Loading identity verification..." })
|
|
10097
10066
|
}
|
|
10098
10067
|
);
|
|
10099
10068
|
case "error":
|
|
10100
|
-
return /* @__PURE__ */
|
|
10069
|
+
return /* @__PURE__ */ jsxs40(
|
|
10101
10070
|
"div",
|
|
10102
10071
|
{
|
|
10103
10072
|
className: cn(
|
|
@@ -10105,13 +10074,13 @@ function IdentityVerificationViewBody({
|
|
|
10105
10074
|
className
|
|
10106
10075
|
),
|
|
10107
10076
|
children: [
|
|
10108
|
-
/* @__PURE__ */
|
|
10109
|
-
state.retryable && /* @__PURE__ */
|
|
10077
|
+
/* @__PURE__ */ jsx56(AlertBanner, { variant: "error", icon: true, content: state.message }),
|
|
10078
|
+
state.retryable && /* @__PURE__ */ jsx56(ClButton, { size: "sm", onClick: () => onEvent({ type: "ON_RETRY" }), children: "Try again" })
|
|
10110
10079
|
]
|
|
10111
10080
|
}
|
|
10112
10081
|
);
|
|
10113
10082
|
case "ready":
|
|
10114
|
-
return /* @__PURE__ */
|
|
10083
|
+
return /* @__PURE__ */ jsx56("div", { className: cn("clcosdk:w-full", className), children: /* @__PURE__ */ jsx56(
|
|
10115
10084
|
SumsubWebSdk,
|
|
10116
10085
|
{
|
|
10117
10086
|
accessToken: state.accessToken,
|
|
@@ -10262,7 +10231,7 @@ function useIdentityVerificationViewModel(options = {}) {
|
|
|
10262
10231
|
}
|
|
10263
10232
|
|
|
10264
10233
|
// src/client/components/requirements/identity-verification/IdentityVerificationContainer.tsx
|
|
10265
|
-
import { jsx as
|
|
10234
|
+
import { jsx as jsx57 } from "react/jsx-runtime";
|
|
10266
10235
|
function IdentityVerificationContainer({
|
|
10267
10236
|
levelName,
|
|
10268
10237
|
reset,
|
|
@@ -10278,7 +10247,7 @@ function IdentityVerificationContainer({
|
|
|
10278
10247
|
onSubmitted,
|
|
10279
10248
|
onError
|
|
10280
10249
|
});
|
|
10281
|
-
return /* @__PURE__ */
|
|
10250
|
+
return /* @__PURE__ */ jsx57(
|
|
10282
10251
|
IdentityVerificationView,
|
|
10283
10252
|
{
|
|
10284
10253
|
state,
|
|
@@ -10293,7 +10262,7 @@ import { ChevronRight } from "lucide-react";
|
|
|
10293
10262
|
|
|
10294
10263
|
// src/client/components/design-system/StepStatusIcon.tsx
|
|
10295
10264
|
import { CircleCheck as CircleCheck2, CircleX, Info as Info5 } from "lucide-react";
|
|
10296
|
-
import { jsx as
|
|
10265
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
10297
10266
|
var statusConfig = {
|
|
10298
10267
|
required: {
|
|
10299
10268
|
Icon: Info5,
|
|
@@ -10318,7 +10287,7 @@ var statusConfig = {
|
|
|
10318
10287
|
};
|
|
10319
10288
|
function StepStatusIcon({ status, className }) {
|
|
10320
10289
|
const { Icon, colorClass, fillClass } = statusConfig[status];
|
|
10321
|
-
return /* @__PURE__ */
|
|
10290
|
+
return /* @__PURE__ */ jsx58(
|
|
10322
10291
|
Icon,
|
|
10323
10292
|
{
|
|
10324
10293
|
className: cn(
|
|
@@ -10333,7 +10302,7 @@ function StepStatusIcon({ status, className }) {
|
|
|
10333
10302
|
}
|
|
10334
10303
|
|
|
10335
10304
|
// src/client/components/requirements/RequirementItem.tsx
|
|
10336
|
-
import { Fragment as Fragment10, jsx as
|
|
10305
|
+
import { Fragment as Fragment10, jsx as jsx59, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
10337
10306
|
var DEFAULT_PENDING = "Under review. We'll notify you when complete.";
|
|
10338
10307
|
var DEFAULT_REJECTED = "Verification rejected.";
|
|
10339
10308
|
var SUPPORT_LINK = "Contact support";
|
|
@@ -10346,9 +10315,9 @@ function VerificationActionZone({
|
|
|
10346
10315
|
switch (status) {
|
|
10347
10316
|
case "required":
|
|
10348
10317
|
if (onAction === null) return null;
|
|
10349
|
-
return /* @__PURE__ */
|
|
10318
|
+
return /* @__PURE__ */ jsx59(ClButton, { size: "sm", className: "clcosdk:self-start", onClick: onAction, children: "Continue" });
|
|
10350
10319
|
case "pending":
|
|
10351
|
-
return /* @__PURE__ */
|
|
10320
|
+
return /* @__PURE__ */ jsx59(
|
|
10352
10321
|
AlertBanner,
|
|
10353
10322
|
{
|
|
10354
10323
|
variant: "warning",
|
|
@@ -10356,7 +10325,7 @@ function VerificationActionZone({
|
|
|
10356
10325
|
}
|
|
10357
10326
|
);
|
|
10358
10327
|
case "completed":
|
|
10359
|
-
return /* @__PURE__ */
|
|
10328
|
+
return /* @__PURE__ */ jsx59(
|
|
10360
10329
|
AlertBanner,
|
|
10361
10330
|
{
|
|
10362
10331
|
variant: "success",
|
|
@@ -10364,11 +10333,11 @@ function VerificationActionZone({
|
|
|
10364
10333
|
}
|
|
10365
10334
|
);
|
|
10366
10335
|
case "rejected":
|
|
10367
|
-
return /* @__PURE__ */
|
|
10336
|
+
return /* @__PURE__ */ jsx59(
|
|
10368
10337
|
AlertBanner,
|
|
10369
10338
|
{
|
|
10370
10339
|
variant: "error",
|
|
10371
|
-
content: /* @__PURE__ */
|
|
10340
|
+
content: /* @__PURE__ */ jsx59(
|
|
10372
10341
|
RejectedMessage,
|
|
10373
10342
|
{
|
|
10374
10343
|
message: statusMessages?.rejected ?? DEFAULT_REJECTED,
|
|
@@ -10388,10 +10357,10 @@ function RejectedMessage({
|
|
|
10388
10357
|
return message;
|
|
10389
10358
|
}
|
|
10390
10359
|
if (linkAt === -1) {
|
|
10391
|
-
return /* @__PURE__ */
|
|
10360
|
+
return /* @__PURE__ */ jsxs41(Fragment10, { children: [
|
|
10392
10361
|
message,
|
|
10393
10362
|
" ",
|
|
10394
|
-
/* @__PURE__ */
|
|
10363
|
+
/* @__PURE__ */ jsx59(
|
|
10395
10364
|
"button",
|
|
10396
10365
|
{
|
|
10397
10366
|
type: "button",
|
|
@@ -10403,9 +10372,9 @@ function RejectedMessage({
|
|
|
10403
10372
|
"."
|
|
10404
10373
|
] });
|
|
10405
10374
|
}
|
|
10406
|
-
return /* @__PURE__ */
|
|
10375
|
+
return /* @__PURE__ */ jsxs41(Fragment10, { children: [
|
|
10407
10376
|
message.slice(0, linkAt),
|
|
10408
|
-
/* @__PURE__ */
|
|
10377
|
+
/* @__PURE__ */ jsx59(
|
|
10409
10378
|
"button",
|
|
10410
10379
|
{
|
|
10411
10380
|
type: "button",
|
|
@@ -10426,8 +10395,8 @@ function WalletActionZone({
|
|
|
10426
10395
|
onRemoveWallet
|
|
10427
10396
|
}) {
|
|
10428
10397
|
if (multiWallet) {
|
|
10429
|
-
return /* @__PURE__ */
|
|
10430
|
-
/* @__PURE__ */
|
|
10398
|
+
return /* @__PURE__ */ jsxs41(Fragment10, { children: [
|
|
10399
|
+
/* @__PURE__ */ jsx59(
|
|
10431
10400
|
ConnectedWalletList,
|
|
10432
10401
|
{
|
|
10433
10402
|
wallets: connectedWallets,
|
|
@@ -10436,7 +10405,7 @@ function WalletActionZone({
|
|
|
10436
10405
|
status: walletsStatus
|
|
10437
10406
|
}
|
|
10438
10407
|
),
|
|
10439
|
-
status === "rejected" && /* @__PURE__ */
|
|
10408
|
+
status === "rejected" && /* @__PURE__ */ jsx59(
|
|
10440
10409
|
AlertBanner,
|
|
10441
10410
|
{
|
|
10442
10411
|
variant: "error",
|
|
@@ -10447,8 +10416,8 @@ function WalletActionZone({
|
|
|
10447
10416
|
}
|
|
10448
10417
|
if (status === "completed") {
|
|
10449
10418
|
const connected = connectedWallets[0];
|
|
10450
|
-
return /* @__PURE__ */
|
|
10451
|
-
onAction !== null && /* @__PURE__ */
|
|
10419
|
+
return /* @__PURE__ */ jsxs41(Fragment10, { children: [
|
|
10420
|
+
onAction !== null && /* @__PURE__ */ jsx59(
|
|
10452
10421
|
ClButton,
|
|
10453
10422
|
{
|
|
10454
10423
|
size: "sm",
|
|
@@ -10458,19 +10427,19 @@ function WalletActionZone({
|
|
|
10458
10427
|
children: "Change wallet"
|
|
10459
10428
|
}
|
|
10460
10429
|
),
|
|
10461
|
-
walletsStatus === "loading" ? /* @__PURE__ */
|
|
10430
|
+
walletsStatus === "loading" ? /* @__PURE__ */ jsx59(
|
|
10462
10431
|
AlertBanner,
|
|
10463
10432
|
{
|
|
10464
10433
|
variant: "info",
|
|
10465
10434
|
content: "Loading your connected wallet\u2026"
|
|
10466
10435
|
}
|
|
10467
|
-
) : walletsStatus === "error" ? /* @__PURE__ */
|
|
10436
|
+
) : walletsStatus === "error" ? /* @__PURE__ */ jsx59(
|
|
10468
10437
|
AlertBanner,
|
|
10469
10438
|
{
|
|
10470
10439
|
variant: "error",
|
|
10471
10440
|
content: "Couldn't load your connected wallet."
|
|
10472
10441
|
}
|
|
10473
|
-
) : /* @__PURE__ */
|
|
10442
|
+
) : /* @__PURE__ */ jsx59(
|
|
10474
10443
|
AlertBanner,
|
|
10475
10444
|
{
|
|
10476
10445
|
variant: "success",
|
|
@@ -10480,9 +10449,9 @@ function WalletActionZone({
|
|
|
10480
10449
|
] });
|
|
10481
10450
|
}
|
|
10482
10451
|
if (status === "rejected") {
|
|
10483
|
-
return /* @__PURE__ */
|
|
10484
|
-
onAction !== null && /* @__PURE__ */
|
|
10485
|
-
/* @__PURE__ */
|
|
10452
|
+
return /* @__PURE__ */ jsxs41(Fragment10, { children: [
|
|
10453
|
+
onAction !== null && /* @__PURE__ */ jsx59(ClButton, { size: "sm", className: "clcosdk:self-start", onClick: onAction, children: "Connect wallet" }),
|
|
10454
|
+
/* @__PURE__ */ jsx59(
|
|
10486
10455
|
AlertBanner,
|
|
10487
10456
|
{
|
|
10488
10457
|
variant: "error",
|
|
@@ -10492,7 +10461,7 @@ function WalletActionZone({
|
|
|
10492
10461
|
] });
|
|
10493
10462
|
}
|
|
10494
10463
|
if (onAction === null) return null;
|
|
10495
|
-
return /* @__PURE__ */
|
|
10464
|
+
return /* @__PURE__ */ jsx59(ClButton, { size: "sm", className: "clcosdk:self-start", onClick: onAction, children: "Connect wallet" });
|
|
10496
10465
|
}
|
|
10497
10466
|
function RequirementItem({
|
|
10498
10467
|
ui,
|
|
@@ -10505,7 +10474,7 @@ function RequirementItem({
|
|
|
10505
10474
|
onContactSupport,
|
|
10506
10475
|
spaceBeforeNextRow = true
|
|
10507
10476
|
}) {
|
|
10508
|
-
return /* @__PURE__ */
|
|
10477
|
+
return /* @__PURE__ */ jsx59(CoinListStyleScope, { children: /* @__PURE__ */ jsxs41(
|
|
10509
10478
|
"div",
|
|
10510
10479
|
{
|
|
10511
10480
|
className: cn(
|
|
@@ -10513,7 +10482,7 @@ function RequirementItem({
|
|
|
10513
10482
|
className
|
|
10514
10483
|
),
|
|
10515
10484
|
children: [
|
|
10516
|
-
/* @__PURE__ */
|
|
10485
|
+
/* @__PURE__ */ jsxs41(
|
|
10517
10486
|
"button",
|
|
10518
10487
|
{
|
|
10519
10488
|
type: "button",
|
|
@@ -10521,9 +10490,9 @@ function RequirementItem({
|
|
|
10521
10490
|
"aria-expanded": expanded,
|
|
10522
10491
|
className: "clcosdk:-mx-2 clcosdk:flex clcosdk:h-14 clcosdk:w-[calc(100%+16px)] clcosdk:cursor-pointer clcosdk:items-center clcosdk:justify-between clcosdk:rounded-2xl clcosdk:px-2 clcosdk:transition-colors clcosdk:hover:bg-surface",
|
|
10523
10492
|
children: [
|
|
10524
|
-
/* @__PURE__ */
|
|
10525
|
-
/* @__PURE__ */
|
|
10526
|
-
/* @__PURE__ */
|
|
10493
|
+
/* @__PURE__ */ jsxs41("div", { className: "clcosdk:flex clcosdk:items-center clcosdk:gap-3", children: [
|
|
10494
|
+
/* @__PURE__ */ jsx59(StepStatusIcon, { status: ui.status }),
|
|
10495
|
+
/* @__PURE__ */ jsx59(
|
|
10527
10496
|
"span",
|
|
10528
10497
|
{
|
|
10529
10498
|
className: cn(
|
|
@@ -10534,7 +10503,7 @@ function RequirementItem({
|
|
|
10534
10503
|
}
|
|
10535
10504
|
)
|
|
10536
10505
|
] }),
|
|
10537
|
-
/* @__PURE__ */
|
|
10506
|
+
/* @__PURE__ */ jsx59(
|
|
10538
10507
|
ChevronRight,
|
|
10539
10508
|
{
|
|
10540
10509
|
className: cn(
|
|
@@ -10547,14 +10516,14 @@ function RequirementItem({
|
|
|
10547
10516
|
]
|
|
10548
10517
|
}
|
|
10549
10518
|
),
|
|
10550
|
-
/* @__PURE__ */
|
|
10519
|
+
/* @__PURE__ */ jsx59(
|
|
10551
10520
|
"div",
|
|
10552
10521
|
{
|
|
10553
10522
|
className: cn(
|
|
10554
10523
|
"clcosdk:grid clcosdk:transition-[grid-template-rows] clcosdk:duration-300 clcosdk:ease-in-out",
|
|
10555
10524
|
expanded ? "clcosdk:grid-rows-[1fr]" : "clcosdk:grid-rows-[0fr]"
|
|
10556
10525
|
),
|
|
10557
|
-
children: /* @__PURE__ */
|
|
10526
|
+
children: /* @__PURE__ */ jsx59("div", { className: "clcosdk:min-h-0 clcosdk:overflow-hidden", children: /* @__PURE__ */ jsxs41(
|
|
10558
10527
|
"div",
|
|
10559
10528
|
{
|
|
10560
10529
|
className: cn(
|
|
@@ -10562,7 +10531,7 @@ function RequirementItem({
|
|
|
10562
10531
|
spaceBeforeNextRow && "clcosdk:pb-4"
|
|
10563
10532
|
),
|
|
10564
10533
|
children: [
|
|
10565
|
-
/* @__PURE__ */
|
|
10534
|
+
/* @__PURE__ */ jsx59(
|
|
10566
10535
|
"p",
|
|
10567
10536
|
{
|
|
10568
10537
|
className: cn(
|
|
@@ -10572,7 +10541,7 @@ function RequirementItem({
|
|
|
10572
10541
|
children: ui.description
|
|
10573
10542
|
}
|
|
10574
10543
|
),
|
|
10575
|
-
ui.variant === "verification" ? /* @__PURE__ */
|
|
10544
|
+
ui.variant === "verification" ? /* @__PURE__ */ jsx59(
|
|
10576
10545
|
VerificationActionZone,
|
|
10577
10546
|
{
|
|
10578
10547
|
status: ui.status,
|
|
@@ -10580,7 +10549,7 @@ function RequirementItem({
|
|
|
10580
10549
|
onAction,
|
|
10581
10550
|
onContactSupport
|
|
10582
10551
|
}
|
|
10583
|
-
) : /* @__PURE__ */
|
|
10552
|
+
) : /* @__PURE__ */ jsx59(
|
|
10584
10553
|
WalletActionZone,
|
|
10585
10554
|
{
|
|
10586
10555
|
status: ui.status,
|
|
@@ -10602,9 +10571,9 @@ function RequirementItem({
|
|
|
10602
10571
|
}
|
|
10603
10572
|
|
|
10604
10573
|
// src/client/components/requirements/RequirementsChecklistView.tsx
|
|
10605
|
-
import { Fragment as Fragment11, jsx as
|
|
10574
|
+
import { Fragment as Fragment11, jsx as jsx60, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
10606
10575
|
function RequirementsChecklistView(props) {
|
|
10607
|
-
return /* @__PURE__ */
|
|
10576
|
+
return /* @__PURE__ */ jsx60(CoinListStyleScope, { children: /* @__PURE__ */ jsx60(RequirementsChecklistViewBody, { ...props }) });
|
|
10608
10577
|
}
|
|
10609
10578
|
function RequirementsChecklistViewBody({
|
|
10610
10579
|
state,
|
|
@@ -10615,7 +10584,7 @@ function RequirementsChecklistViewBody({
|
|
|
10615
10584
|
}) {
|
|
10616
10585
|
switch (state.type) {
|
|
10617
10586
|
case "loading":
|
|
10618
|
-
return loading ?? /* @__PURE__ */
|
|
10587
|
+
return loading ?? /* @__PURE__ */ jsx60(
|
|
10619
10588
|
LoadingState2,
|
|
10620
10589
|
{
|
|
10621
10590
|
title: state.title,
|
|
@@ -10624,7 +10593,7 @@ function RequirementsChecklistViewBody({
|
|
|
10624
10593
|
}
|
|
10625
10594
|
);
|
|
10626
10595
|
case "error":
|
|
10627
|
-
return /* @__PURE__ */
|
|
10596
|
+
return /* @__PURE__ */ jsxs42(
|
|
10628
10597
|
"div",
|
|
10629
10598
|
{
|
|
10630
10599
|
className: cn(
|
|
@@ -10632,8 +10601,8 @@ function RequirementsChecklistViewBody({
|
|
|
10632
10601
|
className
|
|
10633
10602
|
),
|
|
10634
10603
|
children: [
|
|
10635
|
-
/* @__PURE__ */
|
|
10636
|
-
error ?? /* @__PURE__ */
|
|
10604
|
+
/* @__PURE__ */ jsx60("h3", { className: cn(typeClasses.h3, "clcosdk:text-text-primary"), children: state.title }),
|
|
10605
|
+
error ?? /* @__PURE__ */ jsx60(
|
|
10637
10606
|
AlertBanner,
|
|
10638
10607
|
{
|
|
10639
10608
|
variant: "error",
|
|
@@ -10645,7 +10614,7 @@ function RequirementsChecklistViewBody({
|
|
|
10645
10614
|
}
|
|
10646
10615
|
);
|
|
10647
10616
|
case "content":
|
|
10648
|
-
return /* @__PURE__ */
|
|
10617
|
+
return /* @__PURE__ */ jsxs42(
|
|
10649
10618
|
"div",
|
|
10650
10619
|
{
|
|
10651
10620
|
className: cn(
|
|
@@ -10653,9 +10622,9 @@ function RequirementsChecklistViewBody({
|
|
|
10653
10622
|
className
|
|
10654
10623
|
),
|
|
10655
10624
|
children: [
|
|
10656
|
-
/* @__PURE__ */
|
|
10657
|
-
/* @__PURE__ */
|
|
10658
|
-
state.blockedMessage == null && /* @__PURE__ */
|
|
10625
|
+
/* @__PURE__ */ jsxs42("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-2", children: [
|
|
10626
|
+
/* @__PURE__ */ jsx60("h3", { className: cn(typeClasses.h3, "clcosdk:text-text-primary"), children: state.title }),
|
|
10627
|
+
state.blockedMessage == null && /* @__PURE__ */ jsx60(
|
|
10659
10628
|
"p",
|
|
10660
10629
|
{
|
|
10661
10630
|
className: cn(typeClasses.body, "clcosdk:text-text-secondary"),
|
|
@@ -10663,7 +10632,7 @@ function RequirementsChecklistViewBody({
|
|
|
10663
10632
|
}
|
|
10664
10633
|
)
|
|
10665
10634
|
] }),
|
|
10666
|
-
state.blockedMessage != null ? /* @__PURE__ */
|
|
10635
|
+
state.blockedMessage != null ? /* @__PURE__ */ jsx60(AlertBanner, { variant: "info", icon: true, content: state.blockedMessage }) : state.items.length === 0 ? state.continueAction && /* @__PURE__ */ jsx60(
|
|
10667
10636
|
ClButton,
|
|
10668
10637
|
{
|
|
10669
10638
|
variant: "primary",
|
|
@@ -10672,8 +10641,8 @@ function RequirementsChecklistViewBody({
|
|
|
10672
10641
|
onClick: () => onEvent({ type: "ON_CONTINUE" }),
|
|
10673
10642
|
children: "Continue"
|
|
10674
10643
|
}
|
|
10675
|
-
) : /* @__PURE__ */
|
|
10676
|
-
/* @__PURE__ */
|
|
10644
|
+
) : /* @__PURE__ */ jsxs42(Fragment11, { children: [
|
|
10645
|
+
/* @__PURE__ */ jsx60("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:divide-y clcosdk:divide-divider", children: state.items.map((row, index) => /* @__PURE__ */ jsx60(
|
|
10677
10646
|
RequirementItem,
|
|
10678
10647
|
{
|
|
10679
10648
|
ui: row.item,
|
|
@@ -10693,8 +10662,8 @@ function RequirementsChecklistViewBody({
|
|
|
10693
10662
|
},
|
|
10694
10663
|
row.id
|
|
10695
10664
|
)) }),
|
|
10696
|
-
/* @__PURE__ */
|
|
10697
|
-
/* @__PURE__ */
|
|
10665
|
+
/* @__PURE__ */ jsxs42("div", { className: "clcosdk:flex clcosdk:flex-row clcosdk:items-center clcosdk:justify-between clcosdk:gap-6", children: [
|
|
10666
|
+
/* @__PURE__ */ jsx60(
|
|
10698
10667
|
"span",
|
|
10699
10668
|
{
|
|
10700
10669
|
className: cn(
|
|
@@ -10705,7 +10674,7 @@ function RequirementsChecklistViewBody({
|
|
|
10705
10674
|
children: state.ineligible ? "You are not eligible to invest." : completedLabel(state.items)
|
|
10706
10675
|
}
|
|
10707
10676
|
),
|
|
10708
|
-
state.continueAction && /* @__PURE__ */
|
|
10677
|
+
state.continueAction && /* @__PURE__ */ jsx60(
|
|
10709
10678
|
ClButton,
|
|
10710
10679
|
{
|
|
10711
10680
|
variant: "primary",
|
|
@@ -10742,7 +10711,7 @@ function LoadingState2({
|
|
|
10742
10711
|
description: description2,
|
|
10743
10712
|
className
|
|
10744
10713
|
}) {
|
|
10745
|
-
return /* @__PURE__ */
|
|
10714
|
+
return /* @__PURE__ */ jsxs42(
|
|
10746
10715
|
"div",
|
|
10747
10716
|
{
|
|
10748
10717
|
className: cn(
|
|
@@ -10750,19 +10719,19 @@ function LoadingState2({
|
|
|
10750
10719
|
className
|
|
10751
10720
|
),
|
|
10752
10721
|
children: [
|
|
10753
|
-
/* @__PURE__ */
|
|
10754
|
-
/* @__PURE__ */
|
|
10755
|
-
/* @__PURE__ */
|
|
10756
|
-
/* @__PURE__ */
|
|
10722
|
+
/* @__PURE__ */ jsx60("output", { className: "clcosdk:sr-only", children: "Loading requirements..." }),
|
|
10723
|
+
/* @__PURE__ */ jsxs42("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-2", children: [
|
|
10724
|
+
/* @__PURE__ */ jsx60("h3", { className: cn(typeClasses.h3, "clcosdk:text-text-primary"), children: title2 }),
|
|
10725
|
+
/* @__PURE__ */ jsx60("p", { className: cn(typeClasses.body, "clcosdk:text-text-secondary"), children: description2 })
|
|
10757
10726
|
] }),
|
|
10758
|
-
/* @__PURE__ */
|
|
10727
|
+
/* @__PURE__ */ jsx60("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-3", children: LOADING_ROW_WIDTHS.map((width) => /* @__PURE__ */ jsx60(Skeleton, { className: cn("clcosdk:h-8", width) }, width)) })
|
|
10759
10728
|
]
|
|
10760
10729
|
}
|
|
10761
10730
|
);
|
|
10762
10731
|
}
|
|
10763
10732
|
|
|
10764
10733
|
// src/client/components/requirements/tax-document/TaxDocumentModalView.tsx
|
|
10765
|
-
import { jsx as
|
|
10734
|
+
import { jsx as jsx61, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
10766
10735
|
function TaxDocumentModalView({
|
|
10767
10736
|
state,
|
|
10768
10737
|
onEvent,
|
|
@@ -10771,7 +10740,7 @@ function TaxDocumentModalView({
|
|
|
10771
10740
|
if (state.type === "hidden") {
|
|
10772
10741
|
return null;
|
|
10773
10742
|
}
|
|
10774
|
-
return /* @__PURE__ */
|
|
10743
|
+
return /* @__PURE__ */ jsx61(CoinListStyleScope, { children: /* @__PURE__ */ jsx61("div", { className: "clcosdk:fixed clcosdk:inset-0 clcosdk:z-50 clcosdk:flex clcosdk:items-center clcosdk:justify-center clcosdk:bg-black/50 clcosdk:p-4", children: /* @__PURE__ */ jsxs43(
|
|
10775
10744
|
"div",
|
|
10776
10745
|
{
|
|
10777
10746
|
className: cn(
|
|
@@ -10779,11 +10748,11 @@ function TaxDocumentModalView({
|
|
|
10779
10748
|
className
|
|
10780
10749
|
),
|
|
10781
10750
|
children: [
|
|
10782
|
-
/* @__PURE__ */
|
|
10783
|
-
/* @__PURE__ */
|
|
10784
|
-
/* @__PURE__ */
|
|
10751
|
+
/* @__PURE__ */ jsxs43("div", { className: "clcosdk:flex clcosdk:items-start clcosdk:justify-between clcosdk:gap-4", children: [
|
|
10752
|
+
/* @__PURE__ */ jsx61("h3", { className: cn(typeClasses.h3, "clcosdk:text-text-primary"), children: state.title }),
|
|
10753
|
+
/* @__PURE__ */ jsx61(CloseButton, { onClick: () => onEvent({ type: "ON_CLOSE" }) })
|
|
10785
10754
|
] }),
|
|
10786
|
-
/* @__PURE__ */
|
|
10755
|
+
/* @__PURE__ */ jsx61(Screen, { screen: state.screen, onEvent })
|
|
10787
10756
|
]
|
|
10788
10757
|
}
|
|
10789
10758
|
) }) });
|
|
@@ -10794,11 +10763,11 @@ function Screen({
|
|
|
10794
10763
|
}) {
|
|
10795
10764
|
switch (screen.type) {
|
|
10796
10765
|
case "loading":
|
|
10797
|
-
return /* @__PURE__ */
|
|
10766
|
+
return /* @__PURE__ */ jsx61(LoadingScreen, {});
|
|
10798
10767
|
case "error":
|
|
10799
|
-
return /* @__PURE__ */
|
|
10768
|
+
return /* @__PURE__ */ jsx61(AlertBanner, { variant: "error", icon: true, content: screen.message });
|
|
10800
10769
|
case "review":
|
|
10801
|
-
return /* @__PURE__ */
|
|
10770
|
+
return /* @__PURE__ */ jsx61(
|
|
10802
10771
|
ReviewScreen,
|
|
10803
10772
|
{
|
|
10804
10773
|
fields: screen.fields,
|
|
@@ -10809,9 +10778,9 @@ function Screen({
|
|
|
10809
10778
|
}
|
|
10810
10779
|
);
|
|
10811
10780
|
case "editing":
|
|
10812
|
-
return /* @__PURE__ */
|
|
10781
|
+
return /* @__PURE__ */ jsx61(EditScreen, { fields: screen.fields, onEvent });
|
|
10813
10782
|
case "sign-only":
|
|
10814
|
-
return /* @__PURE__ */
|
|
10783
|
+
return /* @__PURE__ */ jsx61(
|
|
10815
10784
|
SignOnlyScreen,
|
|
10816
10785
|
{
|
|
10817
10786
|
signing: screen.signing,
|
|
@@ -10826,14 +10795,14 @@ function Screen({
|
|
|
10826
10795
|
}
|
|
10827
10796
|
}
|
|
10828
10797
|
function LoadingScreen() {
|
|
10829
|
-
return /* @__PURE__ */
|
|
10798
|
+
return /* @__PURE__ */ jsx61(
|
|
10830
10799
|
"output",
|
|
10831
10800
|
{
|
|
10832
10801
|
"aria-live": "polite",
|
|
10833
10802
|
className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-4",
|
|
10834
|
-
children: [0, 1, 2, 3, 4].map((row) => /* @__PURE__ */
|
|
10835
|
-
/* @__PURE__ */
|
|
10836
|
-
/* @__PURE__ */
|
|
10803
|
+
children: [0, 1, 2, 3, 4].map((row) => /* @__PURE__ */ jsxs43("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-1", children: [
|
|
10804
|
+
/* @__PURE__ */ jsx61("div", { className: "clcosdk:h-3 clcosdk:w-28 clcosdk:animate-pulse clcosdk:rounded clcosdk:bg-surface" }),
|
|
10805
|
+
/* @__PURE__ */ jsx61("div", { className: "clcosdk:h-5 clcosdk:w-48 clcosdk:animate-pulse clcosdk:rounded clcosdk:bg-surface" })
|
|
10837
10806
|
] }, row))
|
|
10838
10807
|
}
|
|
10839
10808
|
);
|
|
@@ -10845,9 +10814,9 @@ function ReviewScreen({
|
|
|
10845
10814
|
signError,
|
|
10846
10815
|
onEvent
|
|
10847
10816
|
}) {
|
|
10848
|
-
return /* @__PURE__ */
|
|
10849
|
-
/* @__PURE__ */
|
|
10850
|
-
piiUnavailable && /* @__PURE__ */
|
|
10817
|
+
return /* @__PURE__ */ jsxs43("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-6", children: [
|
|
10818
|
+
/* @__PURE__ */ jsx61("p", { className: cn(typeClasses.body, "clcosdk:text-text-secondary"), children: "Review your information below. If anything looks incorrect, edit before signing." }),
|
|
10819
|
+
piiUnavailable && /* @__PURE__ */ jsx61(
|
|
10851
10820
|
AlertBanner,
|
|
10852
10821
|
{
|
|
10853
10822
|
variant: "info",
|
|
@@ -10855,27 +10824,27 @@ function ReviewScreen({
|
|
|
10855
10824
|
content: "We don't have this information on file yet \u2014 please fill it in below."
|
|
10856
10825
|
}
|
|
10857
10826
|
),
|
|
10858
|
-
/* @__PURE__ */
|
|
10827
|
+
/* @__PURE__ */ jsx61("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-4 clcosdk:border-t clcosdk:border-divider clcosdk:pt-4", children: fields.map(({ field, label, displayValue }) => /* @__PURE__ */ jsxs43(
|
|
10859
10828
|
"div",
|
|
10860
10829
|
{
|
|
10861
10830
|
className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-1",
|
|
10862
10831
|
children: [
|
|
10863
|
-
/* @__PURE__ */
|
|
10832
|
+
/* @__PURE__ */ jsx61(
|
|
10864
10833
|
"span",
|
|
10865
10834
|
{
|
|
10866
10835
|
className: cn(typeClasses.label, "clcosdk:text-text-secondary"),
|
|
10867
10836
|
children: label
|
|
10868
10837
|
}
|
|
10869
10838
|
),
|
|
10870
|
-
/* @__PURE__ */
|
|
10839
|
+
/* @__PURE__ */ jsx61("span", { className: cn(typeClasses.body, "clcosdk:text-text-primary"), children: displayValue })
|
|
10871
10840
|
]
|
|
10872
10841
|
},
|
|
10873
10842
|
field
|
|
10874
10843
|
)) }),
|
|
10875
|
-
/* @__PURE__ */
|
|
10876
|
-
signError && /* @__PURE__ */
|
|
10877
|
-
/* @__PURE__ */
|
|
10878
|
-
/* @__PURE__ */
|
|
10844
|
+
/* @__PURE__ */ jsx61("p", { className: cn(typeClasses.caption, "clcosdk:text-text-secondary"), children: "By signing, you certify that the information above is accurate and that you are the beneficial owner of the income this form relates to. This document cannot be edited once signed." }),
|
|
10845
|
+
signError && /* @__PURE__ */ jsx61(AlertBanner, { variant: "error", icon: true, content: signError }),
|
|
10846
|
+
/* @__PURE__ */ jsxs43("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-2", children: [
|
|
10847
|
+
/* @__PURE__ */ jsx61(
|
|
10879
10848
|
ClButton,
|
|
10880
10849
|
{
|
|
10881
10850
|
fullWidth: true,
|
|
@@ -10885,7 +10854,7 @@ function ReviewScreen({
|
|
|
10885
10854
|
children: "Sign W-8BEN"
|
|
10886
10855
|
}
|
|
10887
10856
|
),
|
|
10888
|
-
/* @__PURE__ */
|
|
10857
|
+
/* @__PURE__ */ jsx61(
|
|
10889
10858
|
ClButton,
|
|
10890
10859
|
{
|
|
10891
10860
|
fullWidth: true,
|
|
@@ -10902,20 +10871,20 @@ function EditScreen({
|
|
|
10902
10871
|
fields,
|
|
10903
10872
|
onEvent
|
|
10904
10873
|
}) {
|
|
10905
|
-
return /* @__PURE__ */
|
|
10906
|
-
/* @__PURE__ */
|
|
10874
|
+
return /* @__PURE__ */ jsxs43("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-6", children: [
|
|
10875
|
+
/* @__PURE__ */ jsx61("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-4 clcosdk:border-t clcosdk:border-divider clcosdk:pt-4", children: fields.map(({ field, label, placeholder, value }) => /* @__PURE__ */ jsxs43(
|
|
10907
10876
|
"label",
|
|
10908
10877
|
{
|
|
10909
10878
|
className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-1",
|
|
10910
10879
|
children: [
|
|
10911
|
-
/* @__PURE__ */
|
|
10880
|
+
/* @__PURE__ */ jsx61(
|
|
10912
10881
|
"span",
|
|
10913
10882
|
{
|
|
10914
10883
|
className: cn(typeClasses.label, "clcosdk:text-text-secondary"),
|
|
10915
10884
|
children: label
|
|
10916
10885
|
}
|
|
10917
10886
|
),
|
|
10918
|
-
/* @__PURE__ */
|
|
10887
|
+
/* @__PURE__ */ jsx61(
|
|
10919
10888
|
"input",
|
|
10920
10889
|
{
|
|
10921
10890
|
type: "text",
|
|
@@ -10936,9 +10905,9 @@ function EditScreen({
|
|
|
10936
10905
|
},
|
|
10937
10906
|
field
|
|
10938
10907
|
)) }),
|
|
10939
|
-
/* @__PURE__ */
|
|
10940
|
-
/* @__PURE__ */
|
|
10941
|
-
/* @__PURE__ */
|
|
10908
|
+
/* @__PURE__ */ jsxs43("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-2", children: [
|
|
10909
|
+
/* @__PURE__ */ jsx61(ClButton, { fullWidth: true, onClick: () => onEvent({ type: "ON_SAVE_EDIT" }), children: "Save & review" }),
|
|
10910
|
+
/* @__PURE__ */ jsx61(
|
|
10942
10911
|
ClButton,
|
|
10943
10912
|
{
|
|
10944
10913
|
fullWidth: true,
|
|
@@ -10955,10 +10924,10 @@ function SignOnlyScreen({
|
|
|
10955
10924
|
signError,
|
|
10956
10925
|
onEvent
|
|
10957
10926
|
}) {
|
|
10958
|
-
return /* @__PURE__ */
|
|
10959
|
-
/* @__PURE__ */
|
|
10960
|
-
signError && /* @__PURE__ */
|
|
10961
|
-
/* @__PURE__ */
|
|
10927
|
+
return /* @__PURE__ */ jsxs43("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-6", children: [
|
|
10928
|
+
/* @__PURE__ */ jsx61("p", { className: cn(typeClasses.body, "clcosdk:text-text-secondary"), children: "As an entity investor, you must complete a W-8BEN-E to confirm your foreign tax status and claim applicable treaty benefits. You'll receive an email to complete the signing." }),
|
|
10929
|
+
signError && /* @__PURE__ */ jsx61(AlertBanner, { variant: "error", icon: true, content: signError }),
|
|
10930
|
+
/* @__PURE__ */ jsx61(
|
|
10962
10931
|
ClButton,
|
|
10963
10932
|
{
|
|
10964
10933
|
fullWidth: true,
|
|
@@ -11270,7 +11239,7 @@ function toFieldsUi(fields) {
|
|
|
11270
11239
|
}
|
|
11271
11240
|
|
|
11272
11241
|
// src/client/components/requirements/tax-document/TaxDocumentModalContainer.tsx
|
|
11273
|
-
import { jsx as
|
|
11242
|
+
import { jsx as jsx62 } from "react/jsx-runtime";
|
|
11274
11243
|
function TaxDocumentModalContainer({
|
|
11275
11244
|
isOpen,
|
|
11276
11245
|
onClose,
|
|
@@ -11282,7 +11251,7 @@ function TaxDocumentModalContainer({
|
|
|
11282
11251
|
onClose,
|
|
11283
11252
|
onSubmitted
|
|
11284
11253
|
});
|
|
11285
|
-
return /* @__PURE__ */
|
|
11254
|
+
return /* @__PURE__ */ jsx62(
|
|
11286
11255
|
TaxDocumentModalView,
|
|
11287
11256
|
{
|
|
11288
11257
|
state,
|
|
@@ -11293,26 +11262,26 @@ function TaxDocumentModalContainer({
|
|
|
11293
11262
|
}
|
|
11294
11263
|
|
|
11295
11264
|
// src/client/components/requirements/VerificationOverlay.tsx
|
|
11296
|
-
import { jsx as
|
|
11265
|
+
import { jsx as jsx63, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
11297
11266
|
function VerificationOverlay({
|
|
11298
11267
|
onClose,
|
|
11299
11268
|
children
|
|
11300
11269
|
}) {
|
|
11301
|
-
return /* @__PURE__ */
|
|
11270
|
+
return /* @__PURE__ */ jsx63(CoinListStyleScope, { children: /* @__PURE__ */ jsx63(VerificationOverlayBody, { onClose, children }) });
|
|
11302
11271
|
}
|
|
11303
11272
|
function VerificationOverlayBody({
|
|
11304
11273
|
onClose,
|
|
11305
11274
|
children
|
|
11306
11275
|
}) {
|
|
11307
|
-
return /* @__PURE__ */
|
|
11276
|
+
return /* @__PURE__ */ jsx63(
|
|
11308
11277
|
"div",
|
|
11309
11278
|
{
|
|
11310
11279
|
role: "dialog",
|
|
11311
11280
|
"aria-modal": "true",
|
|
11312
11281
|
"aria-label": "Identity verification",
|
|
11313
11282
|
className: "clcosdk:fixed clcosdk:inset-0 clcosdk:z-50 clcosdk:flex clcosdk:items-center clcosdk:justify-center clcosdk:bg-overlay clcosdk:p-4",
|
|
11314
|
-
children: /* @__PURE__ */
|
|
11315
|
-
/* @__PURE__ */
|
|
11283
|
+
children: /* @__PURE__ */ jsxs44("div", { className: "clcosdk:relative clcosdk:flex clcosdk:max-h-[92vh] clcosdk:w-full clcosdk:max-w-[760px] clcosdk:flex-col clcosdk:overflow-y-auto clcosdk:rounded-2xl clcosdk:bg-background clcosdk:p-6 clcosdk:pt-14", children: [
|
|
11284
|
+
/* @__PURE__ */ jsx63(
|
|
11316
11285
|
CloseButton,
|
|
11317
11286
|
{
|
|
11318
11287
|
onClick: onClose,
|
|
@@ -11327,7 +11296,7 @@ function VerificationOverlayBody({
|
|
|
11327
11296
|
|
|
11328
11297
|
// src/client/components/requirements/wallet/ConnectWalletModalView.tsx
|
|
11329
11298
|
import { useId as useId5 } from "react";
|
|
11330
|
-
import { jsx as
|
|
11299
|
+
import { jsx as jsx64, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
11331
11300
|
function ConnectWalletModalView({
|
|
11332
11301
|
state,
|
|
11333
11302
|
onEvent,
|
|
@@ -11337,7 +11306,7 @@ function ConnectWalletModalView({
|
|
|
11337
11306
|
if (state.type === "hidden") {
|
|
11338
11307
|
return null;
|
|
11339
11308
|
}
|
|
11340
|
-
return /* @__PURE__ */
|
|
11309
|
+
return /* @__PURE__ */ jsx64(CoinListStyleScope, { children: /* @__PURE__ */ jsx64("div", { className: "clcosdk:fixed clcosdk:inset-0 clcosdk:z-50 clcosdk:flex clcosdk:items-center clcosdk:justify-center clcosdk:bg-black/50 clcosdk:p-4", children: /* @__PURE__ */ jsxs45(
|
|
11341
11310
|
"div",
|
|
11342
11311
|
{
|
|
11343
11312
|
role: "dialog",
|
|
@@ -11348,8 +11317,8 @@ function ConnectWalletModalView({
|
|
|
11348
11317
|
className
|
|
11349
11318
|
),
|
|
11350
11319
|
children: [
|
|
11351
|
-
/* @__PURE__ */
|
|
11352
|
-
/* @__PURE__ */
|
|
11320
|
+
/* @__PURE__ */ jsxs45("div", { className: "clcosdk:flex clcosdk:items-start clcosdk:justify-between clcosdk:gap-4", children: [
|
|
11321
|
+
/* @__PURE__ */ jsx64(
|
|
11353
11322
|
"h3",
|
|
11354
11323
|
{
|
|
11355
11324
|
id: titleId,
|
|
@@ -11357,9 +11326,9 @@ function ConnectWalletModalView({
|
|
|
11357
11326
|
children: "Connect your wallet"
|
|
11358
11327
|
}
|
|
11359
11328
|
),
|
|
11360
|
-
/* @__PURE__ */
|
|
11329
|
+
/* @__PURE__ */ jsx64(CloseButton, { onClick: () => onEvent({ type: "ON_CLOSE" }) })
|
|
11361
11330
|
] }),
|
|
11362
|
-
/* @__PURE__ */
|
|
11331
|
+
/* @__PURE__ */ jsx64(
|
|
11363
11332
|
Screen2,
|
|
11364
11333
|
{
|
|
11365
11334
|
screen: state.screen,
|
|
@@ -11378,9 +11347,9 @@ function Screen2({
|
|
|
11378
11347
|
}) {
|
|
11379
11348
|
switch (screen.type) {
|
|
11380
11349
|
case "needs-wallet":
|
|
11381
|
-
return /* @__PURE__ */
|
|
11382
|
-
/* @__PURE__ */
|
|
11383
|
-
canRequestConnect && /* @__PURE__ */
|
|
11350
|
+
return /* @__PURE__ */ jsxs45("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-6", children: [
|
|
11351
|
+
/* @__PURE__ */ jsx64("p", { className: cn(typeClasses.body, "clcosdk:text-text-secondary"), children: "Connect an external wallet to prove ownership and bind it to this offer." }),
|
|
11352
|
+
canRequestConnect && /* @__PURE__ */ jsx64(
|
|
11384
11353
|
ClButton,
|
|
11385
11354
|
{
|
|
11386
11355
|
fullWidth: true,
|
|
@@ -11390,23 +11359,23 @@ function Screen2({
|
|
|
11390
11359
|
)
|
|
11391
11360
|
] });
|
|
11392
11361
|
case "ready":
|
|
11393
|
-
return /* @__PURE__ */
|
|
11394
|
-
/* @__PURE__ */
|
|
11395
|
-
/* @__PURE__ */
|
|
11396
|
-
/* @__PURE__ */
|
|
11362
|
+
return /* @__PURE__ */ jsxs45("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-6", children: [
|
|
11363
|
+
/* @__PURE__ */ jsx64("p", { className: cn(typeClasses.body, "clcosdk:text-text-secondary"), children: "Sign a message with your connected wallet to prove you own it. This does not cost gas or move any funds." }),
|
|
11364
|
+
/* @__PURE__ */ jsxs45("div", { className: "clcosdk:flex clcosdk:flex-col clcosdk:gap-1 clcosdk:border-t clcosdk:border-divider clcosdk:pt-4", children: [
|
|
11365
|
+
/* @__PURE__ */ jsx64(
|
|
11397
11366
|
"span",
|
|
11398
11367
|
{
|
|
11399
11368
|
className: cn(typeClasses.label, "clcosdk:text-text-secondary"),
|
|
11400
11369
|
children: "Wallet address"
|
|
11401
11370
|
}
|
|
11402
11371
|
),
|
|
11403
|
-
/* @__PURE__ */
|
|
11372
|
+
/* @__PURE__ */ jsx64("span", { className: cn(typeClasses.body, "clcosdk:text-text-primary"), children: screen.shortAddress })
|
|
11404
11373
|
] }),
|
|
11405
11374
|
screen.signError && // Live region: the error is inserted async after a failed attempt,
|
|
11406
11375
|
// so screen readers need it announced rather than silently
|
|
11407
11376
|
// rendered.
|
|
11408
|
-
/* @__PURE__ */
|
|
11409
|
-
/* @__PURE__ */
|
|
11377
|
+
/* @__PURE__ */ jsx64("div", { role: "alert", children: /* @__PURE__ */ jsx64(AlertBanner, { variant: "error", icon: true, content: screen.signError }) }),
|
|
11378
|
+
/* @__PURE__ */ jsx64(
|
|
11410
11379
|
ClButton,
|
|
11411
11380
|
{
|
|
11412
11381
|
fullWidth: true,
|
|
@@ -11417,7 +11386,7 @@ function Screen2({
|
|
|
11417
11386
|
children: "Sign & connect"
|
|
11418
11387
|
}
|
|
11419
11388
|
),
|
|
11420
|
-
canRequestConnect && /* @__PURE__ */
|
|
11389
|
+
canRequestConnect && /* @__PURE__ */ jsx64(
|
|
11421
11390
|
ClButton,
|
|
11422
11391
|
{
|
|
11423
11392
|
fullWidth: true,
|
|
@@ -11704,13 +11673,13 @@ function useConnectWalletModalViewModel({
|
|
|
11704
11673
|
}
|
|
11705
11674
|
|
|
11706
11675
|
// src/client/components/requirements/wallet/ConnectWalletModalContainer.tsx
|
|
11707
|
-
import { jsx as
|
|
11676
|
+
import { jsx as jsx65 } from "react/jsx-runtime";
|
|
11708
11677
|
function ConnectWalletModalContainer({
|
|
11709
11678
|
className,
|
|
11710
11679
|
...options
|
|
11711
11680
|
}) {
|
|
11712
11681
|
const { state, onEvent } = useConnectWalletModalViewModel(options);
|
|
11713
|
-
return /* @__PURE__ */
|
|
11682
|
+
return /* @__PURE__ */ jsx65(
|
|
11714
11683
|
ConnectWalletModalView,
|
|
11715
11684
|
{
|
|
11716
11685
|
state,
|
|
@@ -12281,7 +12250,7 @@ function toVerificationUi(verifyingRequirementId, statusById, identityVerificati
|
|
|
12281
12250
|
}
|
|
12282
12251
|
|
|
12283
12252
|
// src/client/components/requirements/RequirementsChecklistContainer.tsx
|
|
12284
|
-
import { Fragment as Fragment12, jsx as
|
|
12253
|
+
import { Fragment as Fragment12, jsx as jsx66, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
12285
12254
|
function RequirementsChecklistContainer({
|
|
12286
12255
|
loading,
|
|
12287
12256
|
error,
|
|
@@ -12293,8 +12262,8 @@ function RequirementsChecklistContainer({
|
|
|
12293
12262
|
...options,
|
|
12294
12263
|
enabled
|
|
12295
12264
|
});
|
|
12296
|
-
return /* @__PURE__ */
|
|
12297
|
-
/* @__PURE__ */
|
|
12265
|
+
return /* @__PURE__ */ jsxs46(Fragment12, { children: [
|
|
12266
|
+
/* @__PURE__ */ jsx66(
|
|
12298
12267
|
RequirementsChecklistView,
|
|
12299
12268
|
{
|
|
12300
12269
|
state,
|
|
@@ -12304,8 +12273,8 @@ function RequirementsChecklistContainer({
|
|
|
12304
12273
|
className
|
|
12305
12274
|
}
|
|
12306
12275
|
),
|
|
12307
|
-
state.type === "content" && /* @__PURE__ */
|
|
12308
|
-
/* @__PURE__ */
|
|
12276
|
+
state.type === "content" && /* @__PURE__ */ jsxs46(Fragment12, { children: [
|
|
12277
|
+
/* @__PURE__ */ jsx66(
|
|
12309
12278
|
TaxDocumentModalContainer,
|
|
12310
12279
|
{
|
|
12311
12280
|
isOpen: state.taxDocumentOpen,
|
|
@@ -12313,11 +12282,11 @@ function RequirementsChecklistContainer({
|
|
|
12313
12282
|
onSubmitted: () => onEvent({ type: "ON_TAX_DOCUMENT_SUBMITTED" })
|
|
12314
12283
|
}
|
|
12315
12284
|
),
|
|
12316
|
-
state.verification && /* @__PURE__ */
|
|
12285
|
+
state.verification && /* @__PURE__ */ jsx66(
|
|
12317
12286
|
VerificationOverlay,
|
|
12318
12287
|
{
|
|
12319
12288
|
onClose: () => onEvent({ type: "ON_CLOSE_VERIFICATION" }),
|
|
12320
|
-
children: /* @__PURE__ */
|
|
12289
|
+
children: /* @__PURE__ */ jsx66(
|
|
12321
12290
|
IdentityVerificationContainer,
|
|
12322
12291
|
{
|
|
12323
12292
|
levelName: state.verification.levelName,
|
|
@@ -12328,7 +12297,7 @@ function RequirementsChecklistContainer({
|
|
|
12328
12297
|
)
|
|
12329
12298
|
}
|
|
12330
12299
|
),
|
|
12331
|
-
/* @__PURE__ */
|
|
12300
|
+
/* @__PURE__ */ jsx66(
|
|
12332
12301
|
ConnectWalletModalContainer,
|
|
12333
12302
|
{
|
|
12334
12303
|
isOpen: state.connectWalletOpen,
|