@techlabi/kycrazy-ui-kit 0.10.0 → 0.11.0

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.
Files changed (72) hide show
  1. package/dist/index.es.js +3585 -0
  2. package/dist/index.umd.js +56 -0
  3. package/dist/types/App.d.ts +2 -0
  4. package/dist/types/components/CameraCard.d.ts +10 -0
  5. package/dist/types/components/KYCrazy.d.ts +7 -0
  6. package/dist/types/components/steps/DocumentSelectionStep.d.ts +10 -0
  7. package/dist/types/components/steps/LandingStep.d.ts +6 -0
  8. package/dist/types/components/steps/NameStep.d.ts +9 -0
  9. package/dist/types/components/steps/PhotoConfirmationStep.d.ts +10 -0
  10. package/dist/types/components/steps/PreSelfieStep.d.ts +7 -0
  11. package/dist/types/components/steps/ProcessingStep.d.ts +6 -0
  12. package/dist/types/components/steps/VerifyStep.d.ts +8 -0
  13. package/dist/types/components/steps/shared/KycStepCardHeader.d.ts +7 -0
  14. package/dist/types/components/ui/accordion.d.ts +7 -0
  15. package/dist/types/components/ui/alert-dialog.d.ts +20 -0
  16. package/dist/types/components/ui/alert.d.ts +8 -0
  17. package/dist/types/components/ui/aspect-ratio.d.ts +3 -0
  18. package/dist/types/components/ui/avatar.d.ts +6 -0
  19. package/dist/types/components/ui/badge.d.ts +9 -0
  20. package/dist/types/components/ui/breadcrumb.d.ts +19 -0
  21. package/dist/types/components/ui/button.d.ts +11 -0
  22. package/dist/types/components/ui/calendar.d.ts +8 -0
  23. package/dist/types/components/ui/card.d.ts +8 -0
  24. package/dist/types/components/ui/carousel.d.ts +18 -0
  25. package/dist/types/components/ui/chart.d.ts +62 -0
  26. package/dist/types/components/ui/checkbox.d.ts +4 -0
  27. package/dist/types/components/ui/collapsible.d.ts +5 -0
  28. package/dist/types/components/ui/command.d.ts +82 -0
  29. package/dist/types/components/ui/context-menu.d.ts +27 -0
  30. package/dist/types/components/ui/dialog.d.ts +19 -0
  31. package/dist/types/components/ui/drawer.d.ts +22 -0
  32. package/dist/types/components/ui/dropdown-menu.d.ts +27 -0
  33. package/dist/types/components/ui/form.d.ts +23 -0
  34. package/dist/types/components/ui/hover-card.d.ts +6 -0
  35. package/dist/types/components/ui/input-otp.d.ts +34 -0
  36. package/dist/types/components/ui/input.d.ts +3 -0
  37. package/dist/types/components/ui/label.d.ts +5 -0
  38. package/dist/types/components/ui/navigation-menu.d.ts +12 -0
  39. package/dist/types/components/ui/pagination.d.ts +28 -0
  40. package/dist/types/components/ui/popover.d.ts +6 -0
  41. package/dist/types/components/ui/progress.d.ts +4 -0
  42. package/dist/types/components/ui/radio-group.d.ts +5 -0
  43. package/dist/types/components/ui/resizable.d.ts +23 -0
  44. package/dist/types/components/ui/scroll-area.d.ts +5 -0
  45. package/dist/types/components/ui/select.d.ts +13 -0
  46. package/dist/types/components/ui/separator.d.ts +4 -0
  47. package/dist/types/components/ui/sheet.d.ts +25 -0
  48. package/dist/types/components/ui/sidebar.d.ts +66 -0
  49. package/dist/types/components/ui/skeleton.d.ts +2 -0
  50. package/dist/types/components/ui/slider.d.ts +4 -0
  51. package/dist/types/components/ui/sonner.d.ts +4 -0
  52. package/dist/types/components/ui/switch.d.ts +4 -0
  53. package/dist/types/components/ui/table.d.ts +10 -0
  54. package/dist/types/components/ui/tabs.d.ts +7 -0
  55. package/dist/types/components/ui/textarea.d.ts +5 -0
  56. package/dist/types/components/ui/toast.d.ts +15 -0
  57. package/dist/types/components/ui/toaster.d.ts +1 -0
  58. package/dist/types/components/ui/toggle-group.d.ts +12 -0
  59. package/dist/types/components/ui/toggle.d.ts +12 -0
  60. package/dist/types/components/ui/tooltip.d.ts +7 -0
  61. package/dist/types/components/ui/use-toast.d.ts +2 -0
  62. package/dist/types/hooks/use-mobile.d.ts +1 -0
  63. package/dist/types/hooks/use-toast.d.ts +44 -0
  64. package/dist/types/index.d.ts +1 -0
  65. package/dist/types/lib/index.d.ts +2 -0
  66. package/dist/types/lib/utils.d.ts +2 -0
  67. package/dist/types/main.d.ts +0 -0
  68. package/dist/types/types.d.ts +1 -0
  69. package/package.json +1 -1
  70. package/dist/assets/index-B9Nnpd6w.css +0 -1
  71. package/dist/assets/index-CxkFjrTL.js +0 -101
  72. package/dist/index.html +0 -16
@@ -0,0 +1,56 @@
1
+ (function(y,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],o):(y=typeof globalThis<"u"?globalThis:y||self,o(y.KycrazyUIKit={},y.jsxRuntime,y.React))})(this,function(y,o,p){"use strict";var tt=y=>{throw TypeError(y)};var ke=(y,o,p)=>o.has(y)||tt("Cannot "+p);var k=(y,o,p)=>(ke(y,o,"read from private field"),p?p.call(y):o.get(y)),J=(y,o,p)=>o.has(y)?tt("Cannot add the same private member more than once"):o instanceof WeakSet?o.add(y):o.set(y,p),Z=(y,o,p,oe)=>(ke(y,o,"write to private field"),oe?oe.call(y,p):o.set(y,p),p),X=(y,o,p)=>(ke(y,o,"access private method"),p);var U,$,T,L,_,le,Ne,Je;function oe(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const b=oe(p),rt=1,ot=1e6;let ce=0;function st(){return ce=(ce+1)%Number.MAX_SAFE_INTEGER,ce.toString()}const de=new Map,Se=e=>{if(de.has(e))return;const t=setTimeout(()=>{de.delete(e),R({type:"REMOVE_TOAST",toastId:e})},ot);de.set(e,t)},nt=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,rt)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=t;return r?Se(r):e.toasts.forEach(s=>{Se(s.id)}),{...e,toasts:e.toasts.map(s=>s.id===r||r===void 0?{...s,open:!1}:s)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},se=[];let ne={toasts:[]};function R(e){ne=nt(ne,e),se.forEach(t=>{t(ne)})}function at({...e}){const t=st(),r=n=>R({type:"UPDATE_TOAST",toast:{...n,id:t}}),s=()=>R({type:"DISMISS_TOAST",toastId:t});return R({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:n=>{n||s()}}}),{id:t,dismiss:s,update:r}}function Me(){const[e,t]=b.useState(ne);return b.useEffect(()=>(se.push(t),()=>{const r=se.indexOf(t);r>-1&&se.splice(r,1)}),[e]),{...e,toast:at,dismiss:r=>R({type:"DISMISS_TOAST",toastId:r})}}/**
2
+ * @license lucide-react v0.462.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const it=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Oe=(...e)=>e.filter((t,r,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===r).join(" ").trim();/**
7
+ * @license lucide-react v0.462.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */var lt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
12
+ * @license lucide-react v0.462.0 - ISC
13
+ *
14
+ * This source code is licensed under the ISC license.
15
+ * See the LICENSE file in the root directory of this source tree.
16
+ */const ct=p.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:s,className:n="",children:a,iconNode:l,...i},c)=>p.createElement("svg",{ref:c,...lt,width:t,height:t,stroke:e,strokeWidth:s?Number(r)*24/Number(t):r,className:Oe("lucide",n),...i},[...l.map(([d,u])=>p.createElement(d,u)),...Array.isArray(a)?a:[a]]));/**
17
+ * @license lucide-react v0.462.0 - ISC
18
+ *
19
+ * This source code is licensed under the ISC license.
20
+ * See the LICENSE file in the root directory of this source tree.
21
+ */const W=(e,t)=>{const r=p.forwardRef(({className:s,...n},a)=>p.createElement(ct,{ref:a,iconNode:t,className:Oe(`lucide-${it(e)}`,s),...n}));return r.displayName=`${e}`,r};/**
22
+ * @license lucide-react v0.462.0 - ISC
23
+ *
24
+ * This source code is licensed under the ISC license.
25
+ * See the LICENSE file in the root directory of this source tree.
26
+ */const Te=W("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
27
+ * @license lucide-react v0.462.0 - ISC
28
+ *
29
+ * This source code is licensed under the ISC license.
30
+ * See the LICENSE file in the root directory of this source tree.
31
+ */const dt=W("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
32
+ * @license lucide-react v0.462.0 - ISC
33
+ *
34
+ * This source code is licensed under the ISC license.
35
+ * See the LICENSE file in the root directory of this source tree.
36
+ */const ut=W("Car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]]);/**
37
+ * @license lucide-react v0.462.0 - ISC
38
+ *
39
+ * This source code is licensed under the ISC license.
40
+ * See the LICENSE file in the root directory of this source tree.
41
+ */const Ae=W("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
42
+ * @license lucide-react v0.462.0 - ISC
43
+ *
44
+ * This source code is licensed under the ISC license.
45
+ * See the LICENSE file in the root directory of this source tree.
46
+ */const ft=W("IdCard",[["path",{d:"M16 10h2",key:"8sgtl7"}],["path",{d:"M16 14h2",key:"epxaof"}],["path",{d:"M6.17 15a3 3 0 0 1 5.66 0",key:"n6f512"}],["circle",{cx:"9",cy:"11",r:"2",key:"yxgjnd"}],["rect",{x:"2",y:"5",width:"20",height:"14",rx:"2",key:"qneu4z"}]]);/**
47
+ * @license lucide-react v0.462.0 - ISC
48
+ *
49
+ * This source code is licensed under the ISC license.
50
+ * See the LICENSE file in the root directory of this source tree.
51
+ */const pt=W("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
52
+ * @license lucide-react v0.462.0 - ISC
53
+ *
54
+ * This source code is licensed under the ISC license.
55
+ * See the LICENSE file in the root directory of this source tree.
56
+ */const ht=W("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);function Pe(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function bt(...e){return t=>{let r=!1;const s=e.map(n=>{const a=Pe(n,t);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let n=0;n<s.length;n++){const a=s[n];typeof a=="function"?a():Pe(e[n],null)}}}}function je(e){const t=gt(e),r=b.forwardRef((s,n)=>{const{children:a,...l}=s,i=b.Children.toArray(a),c=i.find(vt);if(c){const d=c.props.children,u=i.map(h=>h===c?b.Children.count(d)>1?b.Children.only(null):b.isValidElement(d)?d.props.children:null:h);return o.jsx(t,{...l,ref:n,children:b.isValidElement(d)?b.cloneElement(d,void 0,u):null})}return o.jsx(t,{...l,ref:n,children:a})});return r.displayName=`${e}.Slot`,r}var mt=je("Slot");function gt(e){const t=b.forwardRef((r,s)=>{const{children:n,...a}=r;if(b.isValidElement(n)){const l=wt(n),i=xt(a,n.props);return n.type!==b.Fragment&&(i.ref=s?bt(s,l):l),b.cloneElement(n,i)}return b.Children.count(n)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var yt=Symbol("radix.slottable");function vt(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===yt}function xt(e,t){const r={...t};for(const s in t){const n=e[s],a=t[s];/^on[A-Z]/.test(s)?n&&a?r[s]=(...i)=>{const c=a(...i);return n(...i),c}:n&&(r[s]=n):s==="style"?r[s]={...n,...a}:s==="className"&&(r[s]=[n,a].filter(Boolean).join(" "))}return{...e,...r}}function wt(e){var s,n;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function Ee(e){var t,r,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=Ee(e[t]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}function Ie(){for(var e,t,r=0,s="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=Ee(e))&&(s&&(s+=" "),s+=t);return s}const ze=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Le=Ie,_e=(e,t)=>r=>{var s;if((t==null?void 0:t.variants)==null)return Le(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:n,defaultVariants:a}=t,l=Object.keys(n).map(d=>{const u=r==null?void 0:r[d],h=a==null?void 0:a[d];if(u===null)return null;const g=ze(u)||ze(h);return n[d][g]}),i=r&&Object.entries(r).reduce((d,u)=>{let[h,g]=u;return g===void 0||(d[h]=g),d},{}),c=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((d,u)=>{let{class:h,className:g,...x}=u;return Object.entries(x).every(M=>{let[w,m]=M;return Array.isArray(m)?m.includes({...a,...i}[w]):{...a,...i}[w]===m})?[...d,h,g]:d},[]);return Le(e,l,c,r==null?void 0:r.class,r==null?void 0:r.className)},ue="-",Ct=e=>{const t=Nt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:l=>{const i=l.split(ue);return i[0]===""&&i.length!==1&&i.shift(),Ve(i,t)||kt(l)},getConflictingClassGroupIds:(l,i)=>{const c=r[l]||[];return i&&s[l]?[...c,...s[l]]:c}}},Ve=(e,t)=>{var l;if(e.length===0)return t.classGroupId;const r=e[0],s=t.nextPart.get(r),n=s?Ve(e.slice(1),s):void 0;if(n)return n;if(t.validators.length===0)return;const a=e.join(ue);return(l=t.validators.find(({validator:i})=>i(a)))==null?void 0:l.classGroupId},De=/^\[(.+)\]$/,kt=e=>{if(De.test(e)){const t=De.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Nt=e=>{const{theme:t,prefix:r}=e,s={nextPart:new Map,validators:[]};return Mt(Object.entries(e.classGroups),r).forEach(([a,l])=>{fe(l,s,a,t)}),s},fe=(e,t,r,s)=>{e.forEach(n=>{if(typeof n=="string"){const a=n===""?t:Fe(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(St(n)){fe(n(s),t,r,s);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,l])=>{fe(l,Fe(t,a),r,s)})})},Fe=(e,t)=>{let r=e;return t.split(ue).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},St=e=>e.isThemeGetter,Mt=(e,t)=>t?e.map(([r,s])=>{const n=s.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([l,i])=>[t+l,i])):a);return[r,n]}):e,Ot=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,s=new Map;const n=(a,l)=>{r.set(a,l),t++,t>e&&(t=0,s=r,r=new Map)};return{get(a){let l=r.get(a);if(l!==void 0)return l;if((l=s.get(a))!==void 0)return n(a,l),l},set(a,l){r.has(a)?r.set(a,l):n(a,l)}}},Ge="!",Tt=e=>{const{separator:t,experimentalParseClassName:r}=e,s=t.length===1,n=t[0],a=t.length,l=i=>{const c=[];let d=0,u=0,h;for(let m=0;m<i.length;m++){let S=i[m];if(d===0){if(S===n&&(s||i.slice(m,m+a)===t)){c.push(i.slice(u,m)),u=m+a;continue}if(S==="/"){h=m;continue}}S==="["?d++:S==="]"&&d--}const g=c.length===0?i:i.substring(u),x=g.startsWith(Ge),M=x?g.substring(1):g,w=h&&h>u?h-u:void 0;return{modifiers:c,hasImportantModifier:x,baseClassName:M,maybePostfixModifierPosition:w}};return r?i=>r({className:i,parseClassName:l}):l},At=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(s=>{s[0]==="["?(t.push(...r.sort(),s),r=[]):r.push(s)}),t.push(...r.sort()),t},Pt=e=>({cache:Ot(e.cacheSize),parseClassName:Tt(e),...Ct(e)}),jt=/\s+/,Et=(e,t)=>{const{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:n}=t,a=[],l=e.trim().split(jt);let i="";for(let c=l.length-1;c>=0;c-=1){const d=l[c],{modifiers:u,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:x}=r(d);let M=!!x,w=s(M?g.substring(0,x):g);if(!w){if(!M){i=d+(i.length>0?" "+i:i);continue}if(w=s(g),!w){i=d+(i.length>0?" "+i:i);continue}M=!1}const m=At(u).join(":"),S=h?m+Ge:m,O=S+w;if(a.includes(O))continue;a.push(O);const V=n(w,M);for(let N=0;N<V.length;++N){const P=V[N];a.push(S+P)}i=d+(i.length>0?" "+i:i)}return i};function It(){let e=0,t,r,s="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Be(t))&&(s&&(s+=" "),s+=r);return s}const Be=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=Be(e[s]))&&(r&&(r+=" "),r+=t);return r};function zt(e,...t){let r,s,n,a=l;function l(c){const d=t.reduce((u,h)=>h(u),e());return r=Pt(d),s=r.cache.get,n=r.cache.set,a=i,i(c)}function i(c){const d=s(c);if(d)return d;const u=Et(c,r);return n(c,u),u}return function(){return a(It.apply(null,arguments))}}const v=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ue=/^\[(?:([a-z-]+):)?(.+)\]$/i,Lt=/^\d+\/\d+$/,_t=new Set(["px","full","screen"]),Vt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Dt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ft=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Gt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Bt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>q(e)||_t.has(e)||Lt.test(e),G=e=>H(e,"length",Yt),q=e=>!!e&&!Number.isNaN(Number(e)),pe=e=>H(e,"number",q),ee=e=>!!e&&Number.isInteger(Number(e)),Ut=e=>e.endsWith("%")&&q(e.slice(0,-1)),f=e=>Ue.test(e),B=e=>Vt.test(e),$t=new Set(["length","size","percentage"]),Wt=e=>H(e,$t,$e),Kt=e=>H(e,"position",$e),qt=new Set(["image","url"]),Ht=e=>H(e,qt,Zt),Qt=e=>H(e,"",Jt),te=()=>!0,H=(e,t,r)=>{const s=Ue.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):r(s[2]):!1},Yt=e=>Dt.test(e)&&!Ft.test(e),$e=()=>!1,Jt=e=>Gt.test(e),Zt=e=>Bt.test(e),Xt=zt(()=>{const e=v("colors"),t=v("spacing"),r=v("blur"),s=v("brightness"),n=v("borderColor"),a=v("borderRadius"),l=v("borderSpacing"),i=v("borderWidth"),c=v("contrast"),d=v("grayscale"),u=v("hueRotate"),h=v("invert"),g=v("gap"),x=v("gradientColorStops"),M=v("gradientColorStopPositions"),w=v("inset"),m=v("margin"),S=v("opacity"),O=v("padding"),V=v("saturate"),N=v("scale"),P=v("sepia"),D=v("skew"),K=v("space"),Y=v("translate"),ve=()=>["auto","contain","none"],xe=()=>["auto","hidden","clip","visible","scroll"],we=()=>["auto",f,t],C=()=>[f,t],Ze=()=>["",E,G],ae=()=>["auto",q,f],Xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ie=()=>["solid","dashed","dotted","double","none"],Re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ce=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",f],et=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[q,f];return{cacheSize:500,separator:":",theme:{colors:[te],spacing:[E,G],blur:["none","",B,f],brightness:F(),borderColor:[e],borderRadius:["none","","full",B,f],borderSpacing:C(),borderWidth:Ze(),contrast:F(),grayscale:re(),hueRotate:F(),invert:re(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[Ut,G],inset:we(),margin:we(),opacity:F(),padding:C(),saturate:F(),scale:F(),sepia:re(),skew:F(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",f]}],container:["container"],columns:[{columns:[B]}],"break-after":[{"break-after":et()}],"break-before":[{"break-before":et()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Xe(),f]}],overflow:[{overflow:xe()}],"overflow-x":[{"overflow-x":xe()}],"overflow-y":[{"overflow-y":xe()}],overscroll:[{overscroll:ve()}],"overscroll-x":[{"overscroll-x":ve()}],"overscroll-y":[{"overscroll-y":ve()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ee,f]}],basis:[{basis:we()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",f]}],grow:[{grow:re()}],shrink:[{shrink:re()}],order:[{order:["first","last","none",ee,f]}],"grid-cols":[{"grid-cols":[te]}],"col-start-end":[{col:["auto",{span:["full",ee,f]},f]}],"col-start":[{"col-start":ae()}],"col-end":[{"col-end":ae()}],"grid-rows":[{"grid-rows":[te]}],"row-start-end":[{row:["auto",{span:[ee,f]},f]}],"row-start":[{"row-start":ae()}],"row-end":[{"row-end":ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",f]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",f]}],gap:[{gap:[g]}],"gap-x":[{"gap-x":[g]}],"gap-y":[{"gap-y":[g]}],"justify-content":[{justify:["normal",...Ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[O]}],px:[{px:[O]}],py:[{py:[O]}],ps:[{ps:[O]}],pe:[{pe:[O]}],pt:[{pt:[O]}],pr:[{pr:[O]}],pb:[{pb:[O]}],pl:[{pl:[O]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[K]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[K]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",f,t]}],"min-w":[{"min-w":[f,t,"min","max","fit"]}],"max-w":[{"max-w":[f,t,"none","full","min","max","fit","prose",{screen:[B]},B]}],h:[{h:[f,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[f,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[f,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[f,t,"auto","min","max","fit"]}],"font-size":[{text:["base",B,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",pe]}],"font-family":[{font:[te]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",f]}],"line-clamp":[{"line-clamp":["none",q,pe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",E,f]}],"list-image":[{"list-image":["none",f]}],"list-style-type":[{list:["none","disc","decimal",f]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ie(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,G]}],"underline-offset":[{"underline-offset":["auto",E,f]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",f]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",f]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Xe(),Kt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Wt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ht]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[M]}],"gradient-via-pos":[{via:[M]}],"gradient-to-pos":[{to:[M]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[S]}],"border-style":[{border:[...ie(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[S]}],"divide-style":[{divide:ie()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...ie()]}],"outline-offset":[{"outline-offset":[E,f]}],"outline-w":[{outline:[E,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ze()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[E,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",B,Qt]}],"shadow-color":[{shadow:[te]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":[...Re(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Re()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[s]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",B,f]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[h]}],saturate:[{saturate:[V]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[V]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",f]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",f]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",f]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[ee,f]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[D]}],"skew-y":[{"skew-y":[D]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",f]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",f]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",f]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[E,G,pe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function j(...e){return Xt(Ie(e))}const Rt=_e("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),A=b.forwardRef(({className:e,variant:t,size:r,asChild:s=!1,...n},a)=>{const l=s?mt:"button";return o.jsx(l,{className:j(Rt({variant:t,size:r,className:e})),ref:a,...n})});A.displayName="Button";const I=b.forwardRef(({className:e,...t},r)=>o.jsx("div",{ref:r,className:j("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));I.displayName="Card";const he=b.forwardRef(({className:e,...t},r)=>o.jsx("div",{ref:r,className:j("flex flex-col space-y-1.5 p-6",e),...t}));he.displayName="CardHeader";const be=b.forwardRef(({className:e,...t},r)=>o.jsx("h3",{ref:r,className:j("text-2xl font-semibold leading-none tracking-tight",e),...t}));be.displayName="CardTitle";const er=b.forwardRef(({className:e,...t},r)=>o.jsx("p",{ref:r,className:j("text-sm text-muted-foreground",e),...t}));er.displayName="CardDescription";const z=b.forwardRef(({className:e,...t},r)=>o.jsx("div",{ref:r,className:j("p-6 pt-0",e),...t}));z.displayName="CardContent";const tr=b.forwardRef(({className:e,...t},r)=>o.jsx("div",{ref:r,className:j("flex items-center p-6 pt-0",e),...t}));tr.displayName="CardFooter";const rr=({onContinue:e})=>o.jsx(I,{className:"w-full max-w-md mx-auto",children:o.jsxs(z,{className:"pt-8 text-center",children:[o.jsx("div",{className:"bg-gradient-to-br from-primary/10 to-primary/5 rounded-3xl p-8 mb-8",children:o.jsx("div",{className:"relative mb-8",children:o.jsxs("div",{className:"relative mx-auto w-48 h-32",children:[o.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary to-primary/80 rounded-2xl transform rotate-3 shadow-lg",children:o.jsx("div",{className:"flex items-center justify-center h-full",children:o.jsx("div",{className:"w-12 h-12 bg-white/20 rounded-full flex items-center justify-center",children:o.jsx("svg",{viewBox:"0 0 24 24",className:"w-6 h-6 text-white",fill:"currentColor",children:o.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})})})})}),o.jsx("div",{className:"absolute top-4 right-0 bg-card rounded-xl shadow-lg p-4 transform -rotate-3",children:o.jsxs("div",{className:"flex items-center space-x-2",children:[o.jsx("div",{className:"w-8 h-8 bg-primary/20 rounded-full"}),o.jsxs("div",{className:"space-y-1",children:[o.jsx("div",{className:"w-12 h-2 bg-primary rounded"}),o.jsx("div",{className:"w-8 h-2 bg-primary/60 rounded"})]})]})}),o.jsx("div",{className:"absolute -top-2 -right-2 w-10 h-10 bg-primary rounded-full flex items-center justify-center shadow-lg",children:o.jsx(Ae,{className:"w-6 h-6 text-white"})})]})})}),o.jsx("h1",{className:"text-3xl font-bold text-foreground mb-4",children:"Verify your identity"}),o.jsx("p",{className:"text-lg text-muted-foreground mb-12",children:"We need some information to help us confirm your identity."}),o.jsx(A,{className:"w-full h-14 text-lg font-semibold",onClick:e,children:"Start"}),o.jsx("p",{className:"text-sm text-muted-foreground mt-6",children:"Verifying usually takes a few seconds."})]})}),We=b.forwardRef(({className:e,type:t,...r},s)=>o.jsx("input",{type:t,className:j("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:s,...r}));We.displayName="Input";var or=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],sr=or.reduce((e,t)=>{const r=je(`Primitive.${t}`),s=b.forwardRef((n,a)=>{const{asChild:l,...i}=n,c=l?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),o.jsx(c,{...i,ref:a})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{}),nr="Label",Ke=b.forwardRef((e,t)=>o.jsx(sr.label,{...e,ref:t,onMouseDown:r=>{var n;r.target.closest("button, input, select, textarea")||((n=e.onMouseDown)==null||n.call(e,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));Ke.displayName=nr;var qe=Ke;const ar=_e("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Q=b.forwardRef(({className:e,...t},r)=>o.jsx(qe,{ref:r,className:j(ar(),e),...t}));Q.displayName=qe.displayName;const ir=({fullName:e,onNameChange:t,onContinue:r,renderProgress:s})=>o.jsxs(I,{className:"w-full max-w-md mx-auto",children:[o.jsxs(he,{className:"text-center",children:[o.jsx(pt,{className:"w-12 h-12 mx-auto mb-4 text-primary"}),o.jsx(be,{children:"Personal Information"}),o.jsx("p",{className:"text-muted-foreground",children:"Please enter your full legal name"})]}),o.jsxs(z,{children:[o.jsxs("div",{className:"space-y-4",children:[o.jsxs("div",{children:[o.jsx(Q,{htmlFor:"fullName",children:"Full Name"}),o.jsx(We,{id:"fullName",placeholder:"Enter your full name",value:e,onChange:n=>t(n.target.value)})]}),o.jsx(A,{className:"w-full",onClick:r,disabled:!e.trim(),children:"Continue"})]}),o.jsx("div",{className:"mt-6",children:s()})]})]}),me=({title:e,subTitle:t,onBack:r})=>o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"flex items-center mb-6",children:[o.jsx(A,{variant:"ghost",size:"icon",className:"mr-2",onClick:r,children:o.jsx(Te,{className:"w-6 h-6"})}),o.jsx("h1",{className:"text-2xl font-semibold ml-4",children:e})]}),o.jsx("p",{className:"text-center text-muted-foreground mb-6",children:t})]}),lr=({selectedDocumentType:e,onDocumentTypeChange:t,onContinue:r,onBack:s,renderProgress:n})=>{const a=[{id:"id-card",title:"ID Card",description:"Government-issued personal ID.",icon:ft},{id:"drivers-license",title:"Drivers license",description:"Government-issued Drivers license",icon:ut},{id:"passport",title:"Passport",description:"Your official travel document.",icon:dt},{id:"voter-id",title:"Voter ID",description:"Government-issued Voter ID",icon:ht}];return o.jsx(I,{className:"w-full max-w-md mx-auto",children:o.jsxs(z,{className:"p-6",children:[o.jsx(me,{title:"Upload ID",subTitle:"Choose the document type you would like to identify with",onBack:s}),o.jsx("div",{className:"space-y-3",children:a.map(l=>{const i=l.icon;return o.jsx("button",{className:`w-full p-4 rounded-lg border text-left transition-colors hover:bg-muted/50 ${e===l.id?"border-primary bg-primary/5":"border-border"}`,onClick:()=>t(l.id),children:o.jsxs("div",{className:"flex items-center space-x-4",children:[o.jsx("div",{className:"w-12 h-12 bg-primary rounded-full flex items-center justify-center",children:o.jsx(i,{className:"w-6 h-6 text-white"})}),o.jsxs("div",{className:"flex-1",children:[o.jsx("h3",{className:"font-semibold text-foreground",children:l.title}),o.jsx("p",{className:"text-sm text-muted-foreground",children:l.description})]})]})},l.id)})}),o.jsx(A,{className:"w-full mt-6",onClick:r,disabled:!e,children:"Continue"}),o.jsx("div",{className:"mt-6",children:n()})]})})},cr=e=>{switch(e){case"selfie":return{title:"Selfie",description:"Place your face inside the frame and take a picture. Make sure it is clearly visible.",frameType:"circular"};case"id-front":return{title:"Upload ID",description:"Place your ID inside the frame and take a picture. Make sure it is not cut or has any glare.",frameType:"rectangular"};case"id-back":return{title:"Upload ID Back",description:"Place the back of your ID inside the frame and take a picture. Make sure it is not cut or has any glare.",frameType:"rectangular"};default:return{title:"Take Photo",description:"Position your document inside the frame and take a picture.",frameType:"rectangular"}}},ge=({acceptedFile:e,currentStep:t,setCurrentStep:r,setSelfiePhoto:s,setIdCardFront:n,setIdCardBack:a})=>{const[l,i]=p.useState(null),c=p.useRef(null),d=p.useRef(null),u=!!l,{toast:h}=Me();p.useEffect(()=>{l&&c.current&&(c.current.srcObject=l)},[l]);const g=p.useCallback(async()=>{try{const N=await navigator.mediaDevices.getUserMedia({video:{facingMode:t==="selfie"?"user":"environment",width:{ideal:1280},height:{ideal:720}}});i(N)}catch{h({title:"Camera Error",description:"Unable to access camera. Please check permissions.",variant:"destructive"})}},[t,h]);p.useEffect(()=>{!l&&!e&&g()},[t,g,l,e]);const x=p.useCallback(()=>{l&&(l.getTracks().forEach(N=>N.stop()),i(null))},[l]),M=p.useCallback(()=>{if(!c.current||!d.current)return;const N=c.current,P=d.current,D=P.getContext("2d");D&&(P.width=N.videoWidth,P.height=N.videoHeight,D.drawImage(N,0,0),P.toBlob(K=>{if(K){const Y=new File([K],`${t}-${Date.now()}.jpg`,{type:"image/jpeg"});switch(t){case"selfie":s(Y),x(),r("selfie-confirm");break;case"id-front":n(Y),x(),r("id-front-confirm");break;case"id-back":a(Y),x(),r("id-back-confirm");break}h({title:"Photo Captured",description:"Photo captured successfully"})}},"image/jpeg",.8))},[t,x,h]);p.useEffect(()=>()=>{x()},[x]);const w=cr(t),{title:m,description:S,frameType:O}=w,V=()=>{switch(x(),t){case"selfie":r("pre-selfie");break;case"id-front":r("document-selection");break;case"id-back":r("document-selection");break}};return o.jsx(I,{className:"w-full max-w-md mx-auto border-gray-900 bg-gray-900",children:o.jsxs(z,{className:" text-white flex flex-col",children:[o.jsxs("div",{className:"flex items-center p-6",children:[o.jsx(A,{variant:"ghost",size:"sm",onClick:V,className:"text-white hover:bg-gray-800",children:o.jsx(Te,{className:"h-6 w-6"})}),o.jsx("h1",{className:"text-xl font-semibold ml-4",children:m})]}),o.jsx("div",{className:"px-6 mb-8",children:o.jsx("p",{className:"text-gray-300 text-center",children:S})}),o.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center px-6",children:[o.jsx("div",{className:"relative mb-16",children:u?o.jsxs(o.Fragment,{children:[o.jsx("video",{ref:c,autoPlay:!0,playsInline:!0,className:`bg-gray-800 object-cover ${O==="circular"?"w-80 h-80 rounded-full":"w-80 h-48 rounded-2xl"}`}),o.jsx("canvas",{ref:d,className:"hidden"})]}):o.jsx("div",{className:`bg-gray-700 flex items-center justify-center ${O==="circular"?"w-80 h-80 rounded-full":"w-80 h-48 rounded-2xl"}`,children:o.jsx("p",{className:"text-gray-400",children:"Camera loading..."})})}),o.jsx(A,{onClick:u?M:g,size:"lg",className:"w-16 h-16 rounded-full bg-white hover:bg-gray-100 border-4 border-gray-600 p-0",disabled:!u,children:o.jsx("div",{className:"w-8 h-8 rounded-full bg-white"})})]})]})})},dr=({onContinue:e,onBack:t})=>o.jsx(I,{className:"w-full max-w-md mx-auto",children:o.jsxs(z,{className:"p-6",children:[o.jsx(me,{title:"Selfie",subTitle:"Make sure your face is clear and is fully inside the frame.",onBack:t}),o.jsx("div",{className:"m-auto w-44 h-80 bg-gradient-to-br from-primary/20 to-primary/40 rounded-3xl p-4 shadow-2xl",children:o.jsx("div",{className:"w-full h-full bg-background rounded-2xl overflow-hidden relative",children:o.jsx("div",{className:"flex items-center justify-center h-full bg-muted/30",children:o.jsxs("div",{className:"text-center",children:[o.jsx("div",{className:"w-16 h-16 bg-primary rounded-full flex items-center justify-center mx-auto mb-2"}),o.jsx("div",{className:"w-28 h-32 bg-primary/30 rounded-2xl mx-auto"})]})})})}),o.jsx("div",{className:"mt-8",children:o.jsx(A,{onClick:e,className:"w-full h-12 text-lg font-semibold",children:"Take a selfie"})})]})}),ye=({photo:e,onRetake:t,onConfirm:r,onBack:s,renderProgress:n})=>{const a=p.useMemo(()=>URL.createObjectURL(e),[e]);return p.useEffect(()=>()=>{URL.revokeObjectURL(a)},[a]),o.jsx(I,{className:"w-full max-w-md mx-auto",children:o.jsxs(z,{className:"p-6",children:[o.jsx(me,{title:"Review picture",subTitle:"Make sure the information is seen clearly, with no blur or glare.",onBack:s}),o.jsx("div",{className:"mb-8",children:o.jsx("div",{className:"relative",children:o.jsx("img",{src:a,alt:"Captured photo",className:"w-full h-64 object-cover rounded-2xl bg-muted"})})}),o.jsxs("div",{className:"flex gap-4",children:[o.jsx(A,{variant:"outline",onClick:t,className:"flex-1 text-md",children:"Take again"}),o.jsx(A,{onClick:r,className:"flex-1 text-md",children:"Looks good"})]})]})})},ur=({fullName:e,onComplete:t,onStartOver:r})=>o.jsxs(I,{className:"w-full max-w-md mx-auto",children:[o.jsxs(he,{className:"text-center",children:[o.jsx(Ae,{className:"w-12 h-12 mx-auto mb-4 text-green-500"}),o.jsx(be,{children:"Review Information"}),o.jsx("p",{className:"text-muted-foreground",children:"Please review your information before submitting"})]}),o.jsx(z,{children:o.jsxs("div",{className:"space-y-4",children:[o.jsxs("div",{children:[o.jsx(Q,{children:"Full Name"}),o.jsx("p",{className:"font-medium",children:e})]}),o.jsxs("div",{className:"grid grid-cols-3 gap-2 text-center",children:[o.jsxs("div",{children:[o.jsx(Q,{className:"text-xs",children:"Selfie"}),o.jsx("div",{className:"text-green-500",children:"✓"})]}),o.jsxs("div",{children:[o.jsx(Q,{className:"text-xs",children:"ID Front"}),o.jsx("div",{className:"text-green-500",children:"✓"})]}),o.jsxs("div",{children:[o.jsx(Q,{className:"text-xs",children:"ID Back"}),o.jsx("div",{className:"text-green-500",children:"✓"})]})]}),o.jsx(A,{className:"w-full text-md",onClick:t,children:"Complete Verification"}),o.jsx(A,{variant:"outline",className:"w-full text-md",onClick:r,children:"Start Over"})]})})]}),fr=({onComplete:e})=>(p.useEffect(()=>{const t=setTimeout(()=>{e()},3e3);return()=>clearTimeout(t)},[e]),o.jsx(I,{className:"w-full max-w-md mx-auto min-h-[500px] flex items-center justify-center",children:o.jsxs(z,{className:"text-center space-y-8",children:[o.jsx("div",{children:o.jsx("h2",{className:"text-2xl font-semibold text-foreground mb-2",children:"We're verifying your documents"})}),o.jsx("div",{className:"flex justify-center",children:o.jsx("div",{className:"w-16 h-16 border-4 border-primary border-t-transparent rounded-full animate-spin"})})]})}));var pr=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};function hr(){}function He(e){return JSON.stringify(e,(t,r)=>mr(r)?Object.keys(r).sort().reduce((s,n)=>(s[n]=r[n],s),{}):r)}function br(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function mr(e){if(!Qe(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!Qe(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Qe(e){return Object.prototype.toString.call(e)==="[object Object]"}function gr(e,t){return typeof e=="function"?e(...t):!!e}var yr=e=>setTimeout(e,0);function vr(){let e=[],t=0,r=i=>{i()},s=i=>{i()},n=yr;const a=i=>{t?e.push(i):n(()=>{r(i)})},l=()=>{const i=e;e=[],i.length&&n(()=>{s(()=>{i.forEach(c=>{r(c)})})})};return{batch:i=>{let c;t++;try{c=i()}finally{t--,t||l()}return c},batchCalls:i=>(...c)=>{a(()=>{i(...c)})},schedule:a,setNotifyFunction:i=>{r=i},setBatchNotifyFunction:i=>{s=i},setScheduler:i=>{n=i}}}var Ye=vr();function xr(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var wr=(Je=class extends pr{constructor(t,r){super();J(this,_);J(this,U);J(this,$);J(this,T);J(this,L);Z(this,U,t),this.setOptions(r),this.bindMethods(),X(this,_,le).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var s;const r=this.options;this.options=k(this,U).defaultMutationOptions(t),br(this.options,r)||k(this,U).getMutationCache().notify({type:"observerOptionsUpdated",mutation:k(this,T),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&He(r.mutationKey)!==He(this.options.mutationKey)?this.reset():((s=k(this,T))==null?void 0:s.state.status)==="pending"&&k(this,T).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=k(this,T))==null||t.removeObserver(this)}onMutationUpdate(t){X(this,_,le).call(this),X(this,_,Ne).call(this,t)}getCurrentResult(){return k(this,$)}reset(){var t;(t=k(this,T))==null||t.removeObserver(this),Z(this,T,void 0),X(this,_,le).call(this),X(this,_,Ne).call(this)}mutate(t,r){var s;return Z(this,L,r),(s=k(this,T))==null||s.removeObserver(this),Z(this,T,k(this,U).getMutationCache().build(k(this,U),this.options)),k(this,T).addObserver(this),k(this,T).execute(t)}},U=new WeakMap,$=new WeakMap,T=new WeakMap,L=new WeakMap,_=new WeakSet,le=function(){var r;const t=((r=k(this,T))==null?void 0:r.state)??xr();Z(this,$,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},Ne=function(t){Ye.batch(()=>{var r,s,n,a,l,i,c,d;if(k(this,L)&&this.hasListeners()){const u=k(this,$).variables,h=k(this,$).context;(t==null?void 0:t.type)==="success"?((s=(r=k(this,L)).onSuccess)==null||s.call(r,t.data,u,h),(a=(n=k(this,L)).onSettled)==null||a.call(n,t.data,null,u,h)):(t==null?void 0:t.type)==="error"&&((i=(l=k(this,L)).onError)==null||i.call(l,t.error,u,h),(d=(c=k(this,L)).onSettled)==null||d.call(c,void 0,t.error,u,h))}this.listeners.forEach(u=>{u(k(this,$))})})},Je),Cr=b.createContext(void 0),kr=e=>{const t=b.useContext(Cr);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t};function Nr(e,t){const r=kr(),[s]=b.useState(()=>new wr(r,e));b.useEffect(()=>{s.setOptions(e)},[s,e]);const n=b.useSyncExternalStore(b.useCallback(l=>s.subscribe(Ye.batchCalls(l)),[s]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),a=b.useCallback((l,i)=>{s.mutate(l,i).catch(hr)},[s]);if(n.error&&gr(s.options.throwOnError,[n.error]))throw n.error;return{...n,mutate:a,mutateAsync:n.mutate}}const Sr=({apiEndpoint:e,hideNameStep:t,hideDocumentSelectionStep:r})=>{const[s,n]=p.useState("landing"),[a,l]=p.useState(""),[i,c]=p.useState(""),[d,u]=p.useState(null),[h,g]=p.useState(null),[x,M]=p.useState(null),w=Nr({mutationFn:Mr}),{toast:m}=Me(),S=p.useMemo(()=>[...t?[]:["name"],...r?[]:["document-selection"],"selfie","selfie-confirm","pre-selfie","id-front","id-front-confirm","id-back","id-back-confirm","verify"],[t,r]),O=()=>t?r?"id-front":"document-selection":"name",V=()=>{(t||!!a)&&d&&h&&x&&(w.mutate({endpoint:e,data:{fullName:a,selfiePhoto:d,idCardFront:h,idCardBack:x}}),m({title:"KYC Complete",description:"Identity verification completed successfully"}),l(""),u(null),g(null),M(null),n("landing"))},N=()=>o.jsx(o.Fragment,{children:s!=="landing"&&o.jsx("div",{className:"flex justify-center",children:o.jsx("div",{className:"flex space-x-2",children:S.map((D,K)=>o.jsx("div",{className:`w-3 h-3 rounded-full ${S.indexOf(s)>=K?"bg-primary":"bg-muted"}`},D))})})}),P=()=>{switch(s){case"landing":return o.jsx(rr,{onContinue:()=>n(O())});case"name":return o.jsx(ir,{fullName:a,onNameChange:l,onContinue:()=>n(r?"id-front":"document-selection"),renderProgress:N});case"document-selection":return o.jsx(lr,{selectedDocumentType:i,onDocumentTypeChange:c,onContinue:()=>n("id-front"),onBack:()=>n(t?"landing":"name"),renderProgress:N});case"id-front":return o.jsx(ge,{acceptedFile:h,currentStep:s,setCurrentStep:n,setSelfiePhoto:u,setIdCardFront:g,setIdCardBack:M});case"id-back":return o.jsx(ge,{acceptedFile:x,currentStep:s,setCurrentStep:n,setSelfiePhoto:u,setIdCardFront:g,setIdCardBack:M});case"pre-selfie":return o.jsx(dr,{onContinue:()=>n("selfie"),onBack:()=>n("name")});case"selfie":return o.jsx(ge,{acceptedFile:d,currentStep:s,setCurrentStep:n,setSelfiePhoto:u,setIdCardFront:g,setIdCardBack:M});case"selfie-confirm":return d?o.jsx(ye,{photo:d,onRetake:()=>{u(null),n("selfie")},onConfirm:()=>n("verify"),onBack:()=>n("selfie"),renderProgress:N}):null;case"id-front-confirm":return h?o.jsx(ye,{photo:h,onRetake:()=>{g(null),n("id-front")},onConfirm:()=>n("id-back"),onBack:()=>n("id-front"),renderProgress:N}):null;case"id-back-confirm":return x?o.jsx(ye,{photo:x,onRetake:()=>{M(null),n("id-back")},onConfirm:()=>n("pre-selfie"),onBack:()=>n("id-back"),renderProgress:N}):null;case"verify":return o.jsx(ur,{fullName:a,onComplete:()=>n("processing"),onStartOver:()=>n("landing")});case"processing":return o.jsx(fr,{onComplete:V});default:return null}};return o.jsx("div",{className:"w-[430px]",children:P()})};async function Mr({endpoint:e,data:t}){const r=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!r.ok)throw new Error("Network response was not ok");return r.json()}y.KYCrazy=Sr,y.cn=j,Object.defineProperty(y,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,2 @@
1
+ declare const App: () => import("react/jsx-runtime").JSX.Element;
2
+ export default App;
@@ -0,0 +1,10 @@
1
+ import { KYCStep } from '../types';
2
+ declare const CameraCard: ({ acceptedFile, currentStep, setCurrentStep, setSelfiePhoto, setIdCardFront, setIdCardBack, }: {
3
+ acceptedFile?: File | null;
4
+ currentStep: KYCStep;
5
+ setCurrentStep: (step: KYCStep) => void;
6
+ setSelfiePhoto: (file: File | null) => void;
7
+ setIdCardFront: (file: File | null) => void;
8
+ setIdCardBack: (file: File | null) => void;
9
+ }) => import("react/jsx-runtime").JSX.Element;
10
+ export default CameraCard;
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ export interface KYCrazyProps {
3
+ apiEndpoint?: string;
4
+ hideNameStep?: boolean;
5
+ hideDocumentSelectionStep?: boolean;
6
+ }
7
+ export declare const KYCrazy: React.FC<KYCrazyProps>;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ interface DocumentSelectionStepProps {
3
+ selectedDocumentType: string;
4
+ onDocumentTypeChange: (type: string) => void;
5
+ onContinue: () => void;
6
+ onBack: () => void;
7
+ renderProgress: () => React.ReactNode;
8
+ }
9
+ declare const DocumentSelectionStep: React.FC<DocumentSelectionStepProps>;
10
+ export default DocumentSelectionStep;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ interface LandingStepProps {
3
+ onContinue: () => void;
4
+ }
5
+ declare const LandingStep: React.FC<LandingStepProps>;
6
+ export default LandingStep;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ interface NameStepProps {
3
+ fullName: string;
4
+ onNameChange: (name: string) => void;
5
+ onContinue: () => void;
6
+ renderProgress: () => React.ReactNode;
7
+ }
8
+ declare const NameStep: React.FC<NameStepProps>;
9
+ export default NameStep;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ interface PhotoConfirmationStepProps {
3
+ photo: File;
4
+ onRetake: () => void;
5
+ onConfirm: () => void;
6
+ onBack: () => void;
7
+ renderProgress: () => React.ReactNode;
8
+ }
9
+ declare const PhotoConfirmationStep: React.FC<PhotoConfirmationStepProps>;
10
+ export default PhotoConfirmationStep;
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ interface PreSelfieStepProps {
3
+ onContinue: () => void;
4
+ onBack: () => void;
5
+ }
6
+ declare const PreSelfieStep: React.FC<PreSelfieStepProps>;
7
+ export default PreSelfieStep;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ interface ProcessingStepProps {
3
+ onComplete: () => void;
4
+ }
5
+ declare const ProcessingStep: React.FC<ProcessingStepProps>;
6
+ export default ProcessingStep;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ interface VerifyStepProps {
3
+ fullName: string;
4
+ onComplete: () => void;
5
+ onStartOver: () => void;
6
+ }
7
+ declare const VerifyStep: React.FC<VerifyStepProps>;
8
+ export default VerifyStep;
@@ -0,0 +1,7 @@
1
+ interface KycStepCardHeaderProps {
2
+ title: string;
3
+ subTitle: string;
4
+ onBack: () => void;
5
+ }
6
+ declare const KycStepCardHeader: React.FC<KycStepCardHeaderProps>;
7
+ export default KycStepCardHeader;
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import * as AccordionPrimitive from "@radix-ui/react-accordion";
3
+ declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
4
+ declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
@@ -0,0 +1,20 @@
1
+ import * as React from "react";
2
+ import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
3
+ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
4
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
6
+ declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
+ declare const AlertDialogHeader: {
9
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
12
+ declare const AlertDialogFooter: {
13
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
14
+ displayName: string;
15
+ };
16
+ declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
17
+ declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
18
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
19
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
20
+ export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
@@ -0,0 +1,8 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: {
4
+ variant?: "default" | "destructive";
5
+ } & import('class-variance-authority/types').ClassProp) => string> & React.RefAttributes<HTMLDivElement>>;
6
+ declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
7
+ declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
8
+ export { Alert, AlertTitle, AlertDescription };
@@ -0,0 +1,3 @@
1
+ import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
2
+ declare const AspectRatio: import('react').ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & import('react').RefAttributes<HTMLDivElement>>;
3
+ export { AspectRatio };
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ import * as AvatarPrimitive from "@radix-ui/react-avatar";
3
+ declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
4
+ declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
5
+ declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
+ export { Avatar, AvatarImage, AvatarFallback };
@@ -0,0 +1,9 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const badgeVariants: (props?: {
4
+ variant?: "default" | "destructive" | "outline" | "secondary";
5
+ } & import('class-variance-authority/types').ClassProp) => string;
6
+ export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
7
+ }
8
+ declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
9
+ export { Badge, badgeVariants };
@@ -0,0 +1,19 @@
1
+ import * as React from "react";
2
+ declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
3
+ separator?: React.ReactNode;
4
+ } & React.RefAttributes<HTMLElement>>;
5
+ declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
6
+ declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
7
+ declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
8
+ asChild?: boolean;
9
+ } & React.RefAttributes<HTMLAnchorElement>>;
10
+ declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
11
+ declare const BreadcrumbSeparator: {
12
+ ({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
13
+ displayName: string;
14
+ };
15
+ declare const BreadcrumbEllipsis: {
16
+ ({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
17
+ displayName: string;
18
+ };
19
+ export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
@@ -0,0 +1,11 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const buttonVariants: (props?: {
4
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost";
5
+ size?: "default" | "sm" | "lg" | "icon";
6
+ } & import('class-variance-authority/types').ClassProp) => string;
7
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
8
+ asChild?: boolean;
9
+ }
10
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
11
+ export { Button, buttonVariants };
@@ -0,0 +1,8 @@
1
+ import { DayPicker } from 'react-day-picker';
2
+ import * as React from "react";
3
+ export type CalendarProps = React.ComponentProps<typeof DayPicker>;
4
+ declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
5
+ declare namespace Calendar {
6
+ var displayName: string;
7
+ }
8
+ export { Calendar };
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
5
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
6
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
+ export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
@@ -0,0 +1,18 @@
1
+ import { default as useEmblaCarousel, UseEmblaCarouselType } from 'embla-carousel-react';
2
+ import * as React from "react";
3
+ type CarouselApi = UseEmblaCarouselType[1];
4
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
5
+ type CarouselOptions = UseCarouselParameters[0];
6
+ type CarouselPlugin = UseCarouselParameters[1];
7
+ type CarouselProps = {
8
+ opts?: CarouselOptions;
9
+ plugins?: CarouselPlugin;
10
+ orientation?: "horizontal" | "vertical";
11
+ setApi?: (api: CarouselApi) => void;
12
+ };
13
+ declare const Carousel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & CarouselProps & React.RefAttributes<HTMLDivElement>>;
14
+ declare const CarouselContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
15
+ declare const CarouselItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
16
+ declare const CarouselPrevious: React.ForwardRefExoticComponent<Omit<import('./button').ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
17
+ declare const CarouselNext: React.ForwardRefExoticComponent<Omit<import('./button').ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
18
+ export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, };
@@ -0,0 +1,62 @@
1
+ import * as React from "react";
2
+ import * as RechartsPrimitive from "recharts";
3
+ declare const THEMES: {
4
+ readonly light: "";
5
+ readonly dark: ".dark";
6
+ };
7
+ export type ChartConfig = {
8
+ [k in string]: {
9
+ label?: React.ReactNode;
10
+ icon?: React.ComponentType;
11
+ } & ({
12
+ color?: string;
13
+ theme?: never;
14
+ } | {
15
+ color?: never;
16
+ theme: Record<keyof typeof THEMES, string>;
17
+ });
18
+ };
19
+ declare const ChartContainer: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
20
+ config: ChartConfig;
21
+ children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
22
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
+ declare const ChartStyle: ({ id, config }: {
24
+ id: string;
25
+ config: ChartConfig;
26
+ }) => import("react/jsx-runtime").JSX.Element;
27
+ declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
28
+ declare const ChartTooltipContent: React.ForwardRefExoticComponent<Omit<RechartsPrimitive.DefaultTooltipContentProps<import('recharts/types/component/DefaultTooltipContent').ValueType, import('recharts/types/component/DefaultTooltipContent').NameType> & {
29
+ accessibilityLayer?: boolean;
30
+ active?: boolean | undefined;
31
+ includeHidden?: boolean | undefined;
32
+ allowEscapeViewBox?: import('recharts/types/util/types').AllowInDimension;
33
+ animationDuration?: import('recharts/types/util/types').AnimationDuration;
34
+ animationEasing?: import('recharts/types/util/types').AnimationTiming;
35
+ content?: import('recharts/types/component/Tooltip').ContentType<import('recharts/types/component/DefaultTooltipContent').ValueType, import('recharts/types/component/DefaultTooltipContent').NameType>;
36
+ coordinate?: Partial<import('recharts/types/util/types').Coordinate>;
37
+ cursor?: boolean | React.ReactElement | React.SVGProps<SVGElement>;
38
+ filterNull?: boolean;
39
+ defaultIndex?: number;
40
+ isAnimationActive?: boolean;
41
+ offset?: number;
42
+ payloadUniqBy?: import('recharts/types/util/payload/getUniqPayload').UniqueOption<import('recharts/types/component/DefaultTooltipContent').Payload<import('recharts/types/component/DefaultTooltipContent').ValueType, import('recharts/types/component/DefaultTooltipContent').NameType>>;
43
+ position?: Partial<import('recharts/types/util/types').Coordinate>;
44
+ reverseDirection?: import('recharts/types/util/types').AllowInDimension;
45
+ shared?: boolean;
46
+ trigger?: "hover" | "click";
47
+ useTranslate3d?: boolean;
48
+ viewBox?: import('recharts/types/util/types').CartesianViewBox;
49
+ wrapperStyle?: React.CSSProperties;
50
+ } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
51
+ hideLabel?: boolean;
52
+ hideIndicator?: boolean;
53
+ indicator?: "line" | "dot" | "dashed";
54
+ nameKey?: string;
55
+ labelKey?: string;
56
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
57
+ declare const ChartLegend: typeof RechartsPrimitive.Legend;
58
+ declare const ChartLegendContent: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
59
+ hideIcon?: boolean;
60
+ nameKey?: string;
61
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
62
+ export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, };
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
+ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ export { Checkbox };
@@ -0,0 +1,5 @@
1
+ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
2
+ declare const Collapsible: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & import('react').RefAttributes<HTMLDivElement>>;
3
+ declare const CollapsibleTrigger: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
4
+ declare const CollapsibleContent: import('react').ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & import('react').RefAttributes<HTMLDivElement>>;
5
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent };
@@ -0,0 +1,82 @@
1
+ import { DialogProps } from '@radix-ui/react-dialog';
2
+ import * as React from "react";
3
+ declare const Command: React.ForwardRefExoticComponent<Omit<{
4
+ children?: React.ReactNode;
5
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
6
+ ref?: React.Ref<HTMLDivElement>;
7
+ } & {
8
+ asChild?: boolean;
9
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
10
+ label?: string;
11
+ shouldFilter?: boolean;
12
+ filter?: (value: string, search: string, keywords?: string[]) => number;
13
+ defaultValue?: string;
14
+ value?: string;
15
+ onValueChange?: (value: string) => void;
16
+ loop?: boolean;
17
+ disablePointerSelection?: boolean;
18
+ vimBindings?: boolean;
19
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
+ interface CommandDialogProps extends DialogProps {
21
+ }
22
+ declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => import("react/jsx-runtime").JSX.Element;
23
+ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
24
+ ref?: React.Ref<HTMLInputElement>;
25
+ } & {
26
+ asChild?: boolean;
27
+ }, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "type" | "onChange" | "value"> & {
28
+ value?: string;
29
+ onValueChange?: (search: string) => void;
30
+ } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
31
+ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
32
+ children?: React.ReactNode;
33
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
34
+ ref?: React.Ref<HTMLDivElement>;
35
+ } & {
36
+ asChild?: boolean;
37
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
38
+ label?: string;
39
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
40
+ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
41
+ children?: React.ReactNode;
42
+ } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
43
+ ref?: React.Ref<HTMLDivElement>;
44
+ } & {
45
+ asChild?: boolean;
46
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
47
+ declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
48
+ children?: React.ReactNode;
49
+ } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
50
+ ref?: React.Ref<HTMLDivElement>;
51
+ } & {
52
+ asChild?: boolean;
53
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
54
+ heading?: React.ReactNode;
55
+ value?: string;
56
+ forceMount?: boolean;
57
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
58
+ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
59
+ ref?: React.Ref<HTMLDivElement>;
60
+ } & {
61
+ asChild?: boolean;
62
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
63
+ alwaysRender?: boolean;
64
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
65
+ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
66
+ children?: React.ReactNode;
67
+ } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
68
+ ref?: React.Ref<HTMLDivElement>;
69
+ } & {
70
+ asChild?: boolean;
71
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
72
+ disabled?: boolean;
73
+ onSelect?: (value: string) => void;
74
+ value?: string;
75
+ keywords?: string[];
76
+ forceMount?: boolean;
77
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
78
+ declare const CommandShortcut: {
79
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
80
+ displayName: string;
81
+ };
82
+ export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };