@ss-dev/agnostic-checkout 0.1.12

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 (94) hide show
  1. package/README.md +439 -0
  2. package/dist/components/accordion-layout.d.ts +3 -0
  3. package/dist/components/accordion-layout.d.ts.map +1 -0
  4. package/dist/components/checkout-content.d.ts +5 -0
  5. package/dist/components/checkout-content.d.ts.map +1 -0
  6. package/dist/components/checkout-layout.d.ts +3 -0
  7. package/dist/components/checkout-layout.d.ts.map +1 -0
  8. package/dist/components/checkout.d.ts +4 -0
  9. package/dist/components/checkout.d.ts.map +1 -0
  10. package/dist/components/dev-tools.d.ts +3 -0
  11. package/dist/components/dev-tools.d.ts.map +1 -0
  12. package/dist/components/feedback-screen.d.ts +3 -0
  13. package/dist/components/feedback-screen.d.ts.map +1 -0
  14. package/dist/components/mobile-bar.d.ts +3 -0
  15. package/dist/components/mobile-bar.d.ts.map +1 -0
  16. package/dist/components/mobile-order-bar.d.ts +3 -0
  17. package/dist/components/mobile-order-bar.d.ts.map +1 -0
  18. package/dist/components/order-sidebar-summary.d.ts +3 -0
  19. package/dist/components/order-sidebar-summary.d.ts.map +1 -0
  20. package/dist/components/order-summary.d.ts +4 -0
  21. package/dist/components/order-summary.d.ts.map +1 -0
  22. package/dist/components/payment-form.d.ts +2 -0
  23. package/dist/components/payment-form.d.ts.map +1 -0
  24. package/dist/components/payment-methods.d.ts +4 -0
  25. package/dist/components/payment-methods.d.ts.map +1 -0
  26. package/dist/components/shipping-methods.d.ts +3 -0
  27. package/dist/components/shipping-methods.d.ts.map +1 -0
  28. package/dist/components/types.d.ts +105 -0
  29. package/dist/components/types.d.ts.map +1 -0
  30. package/dist/components/ui/badge.d.ts +9 -0
  31. package/dist/components/ui/badge.d.ts.map +1 -0
  32. package/dist/components/ui/button.d.ts +16 -0
  33. package/dist/components/ui/button.d.ts.map +1 -0
  34. package/dist/components/ui/card.d.ts +19 -0
  35. package/dist/components/ui/card.d.ts.map +1 -0
  36. package/dist/components/ui/index.d.ts +6 -0
  37. package/dist/components/ui/index.d.ts.map +1 -0
  38. package/dist/components/ui/selectable-card.d.ts +15 -0
  39. package/dist/components/ui/selectable-card.d.ts.map +1 -0
  40. package/dist/components/ui/spinner.d.ts +7 -0
  41. package/dist/components/ui/spinner.d.ts.map +1 -0
  42. package/dist/core/checkout-context.d.ts +67 -0
  43. package/dist/core/checkout-context.d.ts.map +1 -0
  44. package/dist/core/checkout-machine.d.ts +3 -0
  45. package/dist/core/checkout-machine.d.ts.map +1 -0
  46. package/dist/core/event-system.d.ts +35 -0
  47. package/dist/core/event-system.d.ts.map +1 -0
  48. package/dist/core/i18n-context.d.ts +17 -0
  49. package/dist/core/i18n-context.d.ts.map +1 -0
  50. package/dist/core/license.d.ts +18 -0
  51. package/dist/core/license.d.ts.map +1 -0
  52. package/dist/core/provider.interface.d.ts +7 -0
  53. package/dist/core/provider.interface.d.ts.map +1 -0
  54. package/dist/core/types.d.ts +76 -0
  55. package/dist/core/types.d.ts.map +1 -0
  56. package/dist/hooks/useCheckout.d.ts +37 -0
  57. package/dist/hooks/useCheckout.d.ts.map +1 -0
  58. package/dist/hooks/useLicense.d.ts +8 -0
  59. package/dist/hooks/useLicense.d.ts.map +1 -0
  60. package/dist/index.cjs +157 -0
  61. package/dist/index.d.ts +21 -0
  62. package/dist/index.d.ts.map +1 -0
  63. package/dist/index.js +5069 -0
  64. package/dist/locales/en.d.ts +3 -0
  65. package/dist/locales/en.d.ts.map +1 -0
  66. package/dist/locales/es.d.ts +3 -0
  67. package/dist/locales/es.d.ts.map +1 -0
  68. package/dist/locales/index.d.ts +14 -0
  69. package/dist/locales/index.d.ts.map +1 -0
  70. package/dist/locales/pt-BR.d.ts +3 -0
  71. package/dist/locales/pt-BR.d.ts.map +1 -0
  72. package/dist/locales/types.d.ts +46 -0
  73. package/dist/locales/types.d.ts.map +1 -0
  74. package/dist/plugins/cart-edit-plugin.d.ts +10 -0
  75. package/dist/plugins/cart-edit-plugin.d.ts.map +1 -0
  76. package/dist/plugins/discount-plugin.d.ts +4 -0
  77. package/dist/plugins/discount-plugin.d.ts.map +1 -0
  78. package/dist/plugins/index.d.ts +8 -0
  79. package/dist/plugins/index.d.ts.map +1 -0
  80. package/dist/plugins/plugin-context.d.ts +10 -0
  81. package/dist/plugins/plugin-context.d.ts.map +1 -0
  82. package/dist/plugins/shipping-plugin.d.ts +27 -0
  83. package/dist/plugins/shipping-plugin.d.ts.map +1 -0
  84. package/dist/plugins/types.d.ts +35 -0
  85. package/dist/plugins/types.d.ts.map +1 -0
  86. package/dist/theme/color-utils.d.ts +39 -0
  87. package/dist/theme/color-utils.d.ts.map +1 -0
  88. package/dist/theme/theme-provider.d.ts +11 -0
  89. package/dist/theme/theme-provider.d.ts.map +1 -0
  90. package/dist/theme/tokens.d.ts +30 -0
  91. package/dist/theme/tokens.d.ts.map +1 -0
  92. package/dist/utils/utils.d.ts +7 -0
  93. package/dist/utils/utils.d.ts.map +1 -0
  94. package/package.json +56 -0
package/dist/index.cjs ADDED
@@ -0,0 +1,157 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),C=require("react");function q(e){const r=e.replace("#",""),s=r.length===3?r.split("").map(o=>o+o).join(""):r;return{r:parseInt(s.slice(0,2),16),g:parseInt(s.slice(2,4),16),b:parseInt(s.slice(4,6),16)}}function de({r:e,g:r,b:s}){const o=n=>Math.max(0,Math.min(255,Math.round(n))).toString(16).padStart(2,"0");return`#${o(e)}${o(r)}${o(s)}`}function Ce(e){const{r,g:s,b:o}=q(e),[n,i,a]=[r/255,s/255,o/255].map(c=>c<=.03928?c/12.92:Math.pow((c+.055)/1.055,2.4));return .2126*n+.7152*i+.0722*a}function tt(e){return Ce(e)>.179?"#000000":"#FFFFFF"}function Ft(e){return Ce(e)<.179}function $t(e,r){const s=q(e),o=1-r/100;return de({r:s.r*o,g:s.g*o,b:s.b*o})}function Vt(e,r){const s=q(e),o=r/100;return de({r:s.r+(255-s.r)*o,g:s.g+(255-s.g)*o,b:s.b+(255-s.b)*o})}function Bt(e,r,s){const o=q(e),n=q(r);return de({r:o.r+(n.r-o.r)*s,g:o.g+(n.g-o.g)*s,b:o.b+(n.b-o.b)*s})}const rt={colors:{primary:"#6366f1",background:"#f8fafc",surface:"#ffffff",text:"#0f172a",border:"#e2e8f0",success:"#22c55e",error:"#ef4444"},radius:"0.75rem",fontFamily:"Inter, system-ui, sans-serif"},Gt={colors:{primary:"#818cf8",background:"#0f172a",surface:"#1e293b",text:"#f1f5f9",border:"#334155",success:"#34d399",error:"#fb7185"},radius:"0.75rem",fontFamily:"Inter, system-ui, sans-serif"},qt={colors:{primary:"#0f172a",background:"#ffffff",surface:"#ffffff",text:"#0f172a",border:"#e5e7eb",success:"#059669",error:"#dc2626"},radius:"0.375rem",fontFamily:"'Helvetica Neue', Helvetica, Arial, sans-serif"},Ut={colors:{primary:"#1d4ed8",background:"#f0f4f8",surface:"#ffffff",text:"#1e293b",border:"#cbd5e1",success:"#16a34a",error:"#dc2626"},radius:"0.5rem",fontFamily:"'Segoe UI', Roboto, 'Helvetica Neue', sans-serif"},Ht={colors:{primary:"#a855f7",background:"#0a0a0a",surface:"#171717",text:"#fafafa",border:"#2e2e2e",success:"#22d3ee",error:"#f43f5e"},radius:"1rem",fontFamily:"'Space Grotesk', system-ui, sans-serif"},st={light:rt,dark:Gt,minimal:qt,corporate:Ut,neon:Ht},ve=rt;function we(e,r){return r?{colors:{...e.colors,...r.colors},radius:r.radius??e.radius,fontFamily:r.fontFamily??e.fontFamily}:e}function ot(e){const r=e.colors.primary?q(e.colors.primary):null,s=e.colors.background?q(e.colors.background):null;return{"--ac-primary":e.colors.primary,"--ac-primary-rgb":r?`${r.r}, ${r.g}, ${r.b}`:void 0,"--ac-background":e.colors.background,"--ac-background-rgb":s?`${s.r}, ${s.g}, ${s.b}`:void 0,"--ac-surface":e.colors.surface,"--ac-text":e.colors.text,"--ac-border":e.colors.border,"--ac-success":e.colors.success,"--ac-error":e.colors.error,"--ac-radius":e.radius,"--ac-font":e.fontFamily}}function nt(e){const r="#FFFFFF",s=tt(r);return{colors:{primary:e,background:r,surface:"#F9FAFB",text:s,border:"#E5E7EB",success:"#16A34A",error:"#DC2626"},radius:"0.75rem",fontFamily:"Inter, system-ui, sans-serif"}}function at(e,r,s){let o;return r?o=nt(r):typeof e=="string"?o=st[e]??ve:o=we(ve,e),we(o,s)}/**
2
+ * @license lucide-react v0.575.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.filter((r,s,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===s).join(" ").trim();/**
7
+ * @license lucide-react v0.575.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
+ */const Qt=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
12
+ * @license lucide-react v0.575.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 Wt=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,s,o)=>o?o.toUpperCase():s.toLowerCase());/**
17
+ * @license lucide-react v0.575.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 Fe=e=>{const r=Wt(e);return r.charAt(0).toUpperCase()+r.slice(1)};/**
22
+ * @license lucide-react v0.575.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
+ */var Yt={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"};/**
27
+ * @license lucide-react v0.575.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 Xt=e=>{for(const r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};/**
32
+ * @license lucide-react v0.575.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 Jt=C.forwardRef(({color:e="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:n="",children:i,iconNode:a,...c},l)=>C.createElement("svg",{ref:l,...Yt,width:r,height:r,stroke:e,strokeWidth:o?Number(s)*24/Number(r):s,className:it("lucide",n),...!i&&!Xt(c)&&{"aria-hidden":"true"},...c},[...a.map(([d,p])=>C.createElement(d,p)),...Array.isArray(i)?i:[i]]));/**
37
+ * @license lucide-react v0.575.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 _=(e,r)=>{const s=C.forwardRef(({className:o,...n},i)=>C.createElement(Jt,{ref:i,iconNode:r,className:it(`lucide-${Qt(Fe(e))}`,`lucide-${e}`,o),...n}));return s.displayName=Fe(e),s};/**
42
+ * @license lucide-react v0.575.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 Zt=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Kt=_("check",Zt);/**
47
+ * @license lucide-react v0.575.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 er=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],lt=_("chevron-down",er);/**
52
+ * @license lucide-react v0.575.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 tr=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ct=_("chevron-left",tr);/**
57
+ * @license lucide-react v0.575.0 - ISC
58
+ *
59
+ * This source code is licensed under the ISC license.
60
+ * See the LICENSE file in the root directory of this source tree.
61
+ */const rr=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],sr=_("chevron-right",rr);/**
62
+ * @license lucide-react v0.575.0 - ISC
63
+ *
64
+ * This source code is licensed under the ISC license.
65
+ * See the LICENSE file in the root directory of this source tree.
66
+ */const or=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],nr=_("chevron-up",or);/**
67
+ * @license lucide-react v0.575.0 - ISC
68
+ *
69
+ * This source code is licensed under the ISC license.
70
+ * See the LICENSE file in the root directory of this source tree.
71
+ */const ar=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ir=_("circle-check",ar);/**
72
+ * @license lucide-react v0.575.0 - ISC
73
+ *
74
+ * This source code is licensed under the ISC license.
75
+ * See the LICENSE file in the root directory of this source tree.
76
+ */const lr=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],cr=_("circle-x",lr);/**
77
+ * @license lucide-react v0.575.0 - ISC
78
+ *
79
+ * This source code is licensed under the ISC license.
80
+ * See the LICENSE file in the root directory of this source tree.
81
+ */const dr=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],pr=_("clock",dr);/**
82
+ * @license lucide-react v0.575.0 - ISC
83
+ *
84
+ * This source code is licensed under the ISC license.
85
+ * See the LICENSE file in the root directory of this source tree.
86
+ */const mr=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],$e=_("code-xml",mr);/**
87
+ * @license lucide-react v0.575.0 - ISC
88
+ *
89
+ * This source code is licensed under the ISC license.
90
+ * See the LICENSE file in the root directory of this source tree.
91
+ */const ur=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],hr=_("credit-card",ur);/**
92
+ * @license lucide-react v0.575.0 - ISC
93
+ *
94
+ * This source code is licensed under the ISC license.
95
+ * See the LICENSE file in the root directory of this source tree.
96
+ */const xr=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],fr=_("external-link",xr);/**
97
+ * @license lucide-react v0.575.0 - ISC
98
+ *
99
+ * This source code is licensed under the ISC license.
100
+ * See the LICENSE file in the root directory of this source tree.
101
+ */const br=[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.12 2.198a2 2 0 0 1 1.76.006l7.866 3.847c.476.233.31.949-.22.949H3.474c-.53 0-.695-.716-.22-.949z",key:"1m329m"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]],gr=_("landmark",br);/**
102
+ * @license lucide-react v0.575.0 - ISC
103
+ *
104
+ * This source code is licensed under the ISC license.
105
+ * See the LICENSE file in the root directory of this source tree.
106
+ */const yr=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],ee=_("loader-circle",yr);/**
107
+ * @license lucide-react v0.575.0 - ISC
108
+ *
109
+ * This source code is licensed under the ISC license.
110
+ * See the LICENSE file in the root directory of this source tree.
111
+ */const vr=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],wr=_("map-pin",vr);/**
112
+ * @license lucide-react v0.575.0 - ISC
113
+ *
114
+ * This source code is licensed under the ISC license.
115
+ * See the LICENSE file in the root directory of this source tree.
116
+ */const kr=[["path",{d:"M5 12h14",key:"1ays0h"}]],jr=_("minus",kr);/**
117
+ * @license lucide-react v0.575.0 - ISC
118
+ *
119
+ * This source code is licensed under the ISC license.
120
+ * See the LICENSE file in the root directory of this source tree.
121
+ */const Nr=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Cr=_("package",Nr);/**
122
+ * @license lucide-react v0.575.0 - ISC
123
+ *
124
+ * This source code is licensed under the ISC license.
125
+ * See the LICENSE file in the root directory of this source tree.
126
+ */const Sr=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Mr=_("plus",Sr);/**
127
+ * @license lucide-react v0.575.0 - ISC
128
+ *
129
+ * This source code is licensed under the ISC license.
130
+ * See the LICENSE file in the root directory of this source tree.
131
+ */const Er=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],dt=_("shield-check",Er);/**
132
+ * @license lucide-react v0.575.0 - ISC
133
+ *
134
+ * This source code is licensed under the ISC license.
135
+ * See the LICENSE file in the root directory of this source tree.
136
+ */const Pr=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],_r=_("store",Pr);/**
137
+ * @license lucide-react v0.575.0 - ISC
138
+ *
139
+ * This source code is licensed under the ISC license.
140
+ * See the LICENSE file in the root directory of this source tree.
141
+ */const Tr=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],Rr=_("tag",Tr);/**
142
+ * @license lucide-react v0.575.0 - ISC
143
+ *
144
+ * This source code is licensed under the ISC license.
145
+ * See the LICENSE file in the root directory of this source tree.
146
+ */const Ar=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],pt=_("trash-2",Ar);/**
147
+ * @license lucide-react v0.575.0 - ISC
148
+ *
149
+ * This source code is licensed under the ISC license.
150
+ * See the LICENSE file in the root directory of this source tree.
151
+ */const Ir=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],Ve=_("wallet",Ir);/**
152
+ * @license lucide-react v0.575.0 - ISC
153
+ *
154
+ * This source code is licensed under the ISC license.
155
+ * See the LICENSE file in the root directory of this source tree.
156
+ */const Dr=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],zr=_("x",Dr),Be=({onApply:e,t:r,compact:s})=>{const[o,n]=C.useState(""),[i,a]=C.useState("idle"),c=()=>{o.trim()&&(a("loading"),e(o.trim()),n(""),setTimeout(()=>a("idle"),500))},l=i==="loading"||!o.trim();return t.jsxs("div",{className:"flex gap-2",children:[t.jsxs("div",{className:"flex-1 flex items-center gap-2 border border-border/60 focus-within:border-primary/50 focus-within:ring-2 focus-within:ring-primary/5 rounded-xs px-3 py-2 transition-all bg-white",children:[t.jsx(Rr,{className:`${s?"w-3 h-3":"w-3.5 h-3.5"} text-text/30 shrink-0`}),t.jsx("input",{type:"text",value:o,onChange:d=>n(d.target.value),onKeyDown:d=>d.key==="Enter"&&c(),placeholder:r.couponPlaceholder,className:`bg-transparent outline-none w-full placeholder:text-text/30 text-text font-semibold ${s?"text-xs":"text-sm"}`})]}),t.jsx("button",{type:"button",onClick:c,disabled:l,className:`font-bold bg-primary text-surface rounded-xs hover:brightness-110 disabled:opacity-40 transition-all ${s?"px-3 py-2 text-xs":"px-4 py-2 text-sm"} ${l?"cursor-not-allowed":"cursor-pointer"}`,children:i==="loading"?t.jsx(ee,{className:"w-3.5 h-3.5 animate-spin"}):r.couponApply})]})},Lr=({onRemove:e,t:r})=>t.jsx("button",{type:"button",onClick:e,className:"p-0.5 rounded text-error hover:text-error hover:bg-error/10 transition-colors","aria-label":r.couponRemove,children:t.jsx(pt,{className:"w-3 h-3"})});function Or(e){return{id:"discount",slots:{sidebarBeforeTotals:({step:r,t:s})=>r!=="review"?null:t.jsx("div",{className:"mb-6",children:t.jsx(Be,{onApply:o=>e({type:"COUPON_APPLY_REQUESTED",code:o}),t:s,compact:!0})}),mobileBarExpanded:({step:r,t:s})=>r!=="review"?null:t.jsx("div",{className:"mb-3 pb-3 border-b border-border/40",children:t.jsx(Be,{onApply:o=>e({type:"COUPON_APPLY_REQUESTED",code:o}),t:s})}),totalsDiscountAction:({step:r,t:s})=>r!=="review"?null:t.jsx(Lr,{onRemove:()=>e({type:"COUPON_REMOVE_REQUESTED"}),t:s})}}}const Fr=({quantity:e,min:r,max:s,loading:o,onChange:n})=>t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsxs("div",{className:"flex items-center border border-border/60 rounded-xl bg-background/30 p-0.5 overflow-hidden",children:[t.jsx("button",{type:"button",onClick:()=>n(e-1),disabled:o||e<=r,className:"w-8 h-8 flex items-center justify-center text-text/60 hover:bg-border/30 rounded-lg transition-colors disabled:opacity-30",children:t.jsx(jr,{className:"w-3.5 h-3.5"})}),t.jsx("span",{className:"text-sm font-bold w-7 text-center select-none",children:e}),t.jsx("button",{type:"button",onClick:()=>n(e+1),disabled:o||e>=s,className:"w-8 h-8 flex items-center justify-center text-text/60 hover:bg-border/30 rounded-lg transition-colors disabled:opacity-30",children:t.jsx(Mr,{className:"w-3.5 h-3.5"})})]}),o&&t.jsx(ee,{className:"w-4 h-4 animate-spin text-primary"})]}),$r=({loading:e,onRemove:r,label:s})=>t.jsx("button",{type:"button",onClick:r,disabled:e,className:"p-2 -mr-1 rounded-full text-text/20 hover:text-error hover:bg-error/10 transition-all disabled:opacity-50","aria-label":s,children:e?t.jsx(ee,{className:"w-4 h-4 animate-spin"}):t.jsx(pt,{className:"w-5 h-5"})}),Vr=({props:e,emit:r,options:s})=>{const[o,n]=C.useState(!1),{item:i,t:a}=e,c=l=>{l<s.minQuantity||l>s.maxQuantity||(n(!0),r({type:"ITEM_QUANTITY_UPDATE_REQUESTED",itemId:i.id,quantity:l}),setTimeout(()=>n(!1),2e3))};return s.allowQuantityEdit?t.jsx("div",{className:"mt-3",children:t.jsx(Fr,{quantity:i.quantity,min:s.minQuantity,max:s.maxQuantity,loading:o,onChange:c})}):t.jsxs("span",{className:"text-sm text-text/40 mt-1 block font-semibold uppercase tracking-wider",children:[a.quantityShort,": ",i.quantity]})},Br=({props:e,emit:r,options:s})=>{const[o,n]=C.useState(!1),{item:i,t:a}=e;if(!s.allowRemove)return null;const c=()=>{n(!0),r({type:"ITEM_REMOVE_REQUESTED",itemId:i.id}),setTimeout(()=>n(!1),2e3)};return t.jsx($r,{loading:o,onRemove:c,label:a.removeItem})};function Gr(e,r){const s={allowRemove:!!(r!=null&&r.allowRemove),allowQuantityEdit:!!(r!=null&&r.allowQuantityEdit),minQuantity:(r==null?void 0:r.minQuantity)??1,maxQuantity:(r==null?void 0:r.maxQuantity)??99};return{id:"cart-edit",slots:{orderItemActions:o=>t.jsx(Vr,{props:o,emit:e,options:s}),orderItemEnd:o=>t.jsx(Br,{props:o,emit:e,options:s})}}}function qr(e){return{id:"shipping",slots:{},shippingMethods:e.methods}}const Ur={basic:["core"],pro:["core","plugins","themes","analytics"]};let O={isValid:!0,plan:"basic",loading:!1},Ge=!1;const ke=new Set,be=()=>{ke.forEach(e=>e(O))},Hr=e=>(ke.add(e),()=>{ke.delete(e)}),Qr=()=>O,mt=e=>(Ur[O.plan]||[]).includes(e),ut=async({licenseKey:e})=>{if(Ge)return;Ge=!0,O={...O,loading:!0},be();const r=typeof window<"u"?window.location.hostname:"",s=`agnostic_checkout_license_${e}_${r}`;try{const o=localStorage.getItem(s);if(o){const n=JSON.parse(o);if(Date.now()-n.timestamp<24*60*60*1e3){O={isValid:n.valid!==!1,plan:n.plan||"basic",loading:!1,reason:n.reason},n.reason==="max_domains_reached"&&console.warn("[Agnostic Checkout] License Error: Maximum allowed domains reached (10 limit max)."),be();return}}}catch{}try{const o=await fetch("https://dusty-marmot-888.convex.site/validate-license",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({key:e,domain:r})});if(!o.ok)throw new Error("Validation request failed");const n=await o.json();n.reason==="max_domains_reached"?console.warn("[Agnostic Checkout] License Error: Maximum allowed domains reached (10 limit max)."):n.valid===!1&&console.warn(`[Agnostic Checkout] License Validation Warning: ${n.reason}`),O={isValid:n.valid!==!1,plan:n.valid&&n.plan||"basic",loading:!1,reason:n.reason};try{localStorage.setItem(s,JSON.stringify({valid:O.isValid,plan:O.plan,reason:O.reason,timestamp:Date.now()}))}catch{}}catch{console.warn("[Agnostic Checkout] Validation server unreachable, defaulting to basic plan."),O={isValid:!0,plan:"basic",loading:!1}}be()},ht=C.createContext(null),Wr=(e,r)=>{switch(r.type){case"SET_STEP":return{...e,step:r.step};case"SELECT_METHOD":return{...e,selectedMethodId:r.methodId};case"SELECT_SHIPPING_METHOD":return{...e,selectedShippingMethodId:r.methodId};case"SET_ERROR":return{...e,error:r.error};case"SET_CART":return{...e,items:r.cartState.items,totals:r.cartState.totals};case"SYNC_PROPS":return{...e,items:r.items,totals:r.totals};case"SET_PAYMENT_RESULT":return{...e,paymentResult:r.result};case"SET_METHOD_READY":return{...e,readyMap:{...e.readyMap,[r.methodId]:r.ready}};default:return e}},Yr=({children:e,config:r,initialStatus:s,onEvent:o,defaultShippingMethodId:n,defaultPaymentMethodId:i})=>{const[a,c]=C.useReducer(Wr,{...r,step:s?s.status:"review",selectedMethodId:i??null,selectedShippingMethodId:n??null,error:null,paymentResult:s,readyMap:{}});C.useEffect(()=>{c({type:"SYNC_PROPS",items:r.items,totals:r.totals})},[r.items,r.totals]);const[l,d]=C.useState([]),p=C.useCallback(m=>{o==null||o(m),d(k=>[`[${new Date().toLocaleTimeString()}] ${m.type}`,...k].slice(0,20))},[o]);return t.jsx(ht.Provider,{value:{state:a,dispatch:c,emitEvent:p,eventLog:l},children:e})},pe=()=>{const e=C.useContext(ht);if(!e)throw new Error("useCheckoutContext must be used within a CheckoutProvider");return e},xt=C.createContext({plugins:[]}),Xr=({plugins:e,children:r})=>{const s=C.useMemo(()=>({plugins:e}),[e]);return t.jsx(xt.Provider,{value:s,children:r})},U=()=>C.useContext(xt);function le(e,r,s){return e.filter(o=>o.slots[r]).map(o=>{const n=o.slots[r];return t.jsx(C.Fragment,{children:n(s)},o.id)})}function qe(e,r,s){return e.filter(o=>o.slots[r]).map(o=>{const n=o.slots[r];return t.jsx(C.Fragment,{children:n(s)},o.id)})}const H=()=>{var f;const{state:e,dispatch:r,emitEvent:s}=pe(),{plugins:o}=U(),n=w=>{r({type:"SET_STEP",step:w}),s({type:"STEP_CHANGED",step:w})},i=w=>{r({type:"SELECT_METHOD",methodId:w}),s({type:"PAYMENT_METHOD_SELECTED",methodId:w})},a=w=>{r({type:"SELECT_SHIPPING_METHOD",methodId:w}),s({type:"SHIPPING_METHOD_SELECTED",methodId:w})},c=(w,x)=>{r({type:"SET_METHOD_READY",methodId:w,ready:x})},l=e.paymentMethods.find(w=>w.id===e.selectedMethodId),d=l?l.renderComponent?!!e.readyMap[l.id]:!0:!1,p=async w=>{var x;if(e.selectedMethodId){s({type:"PAYMENT_SUBMITTED"}),n("processing"),r({type:"SET_ERROR",error:null});try{const N=await e.provider.createPayment(w);switch(r({type:"SET_PAYMENT_RESULT",result:N}),console.log(N),N.status){case"success":s({type:"PAYMENT_SUCCESS",transactionId:"unknown"}),n("success");break;case"pending":s({type:"STEP_CHANGED",step:"pending"}),n("pending");break;case"redirect":s({type:"STEP_CHANGED",step:"redirect"}),n("redirect");break;case"error":{const b=((x=N.feedback)==null?void 0:x.description)??"Payment failed";r({type:"SET_ERROR",error:b}),s({type:"PAYMENT_ERROR",error:b}),n("error");break}}}catch(N){const b=N instanceof Error?N.message:"Unknown error";r({type:"SET_ERROR",error:b}),s({type:"PAYMENT_ERROR",error:b}),n("error")}}},m=w=>{r({type:"SET_ERROR",error:w}),s({type:"PAYMENT_ERROR",error:w})},k=async(w,x)=>{if(!e.cartController)return;const N=await e.cartController.updateQuantity(w,x);r({type:"SET_CART",cartState:N})},M=async w=>{if(!e.cartController)return;const x=await e.cartController.removeItem(w);r({type:"SET_CART",cartState:x})},P=async w=>{if(!e.cartController)return!1;try{const x=await e.cartController.applyCoupon(w);return r({type:"SET_CART",cartState:x}),!0}catch{return!1}},v=async()=>{var w;if(!((w=e.cartController)!=null&&w.removeCoupon))return!1;try{const x=await e.cartController.removeCoupon();return r({type:"SET_CART",cartState:x}),!0}catch{return!1}},S={...e.totals};if(o.some(w=>w.shippingMethods&&w.shippingMethods.length>0)){if(e.selectedShippingMethodId){const w=o.flatMap(x=>x.shippingMethods??[]).find(x=>x.id===e.selectedShippingMethodId);w?S.shipping=w.price??0:delete S.shipping}else delete S.shipping;S.total=e.totals.total-(e.totals.shipping||0)+(S.shipping||0)}return{...e,totals:S,setStep:n,selectMethod:i,selectShippingMethod:a,submitPayment:p,setError:m,setMethodReady:c,isMethodReady:d,updateQuantity:k,removeItem:M,applyCoupon:P,removeCoupon:v,hasCartController:!!e.cartController,hasRemoveCoupon:!!((f=e.cartController)!=null&&f.removeCoupon)}};function ft(){const[e,r]=C.useState(Qr());return C.useEffect(()=>Hr(r),[]),{isValid:e.isValid,plan:e.plan,loading:e.loading,reason:e.reason,hasFeature:mt}}function bt(e){var r,s,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(s=bt(e[r]))&&(o&&(o+=" "),o+=s)}else for(s in e)e[s]&&(o&&(o+=" "),o+=s);return o}function Jr(){for(var e,r,s=0,o="",n=arguments.length;s<n;s++)(e=arguments[s])&&(r=bt(e))&&(o&&(o+=" "),o+=r);return o}const Zr=(e,r)=>{const s=new Array(e.length+r.length);for(let o=0;o<e.length;o++)s[o]=e[o];for(let o=0;o<r.length;o++)s[e.length+o]=r[o];return s},Kr=(e,r)=>({classGroupId:e,validator:r}),gt=(e=new Map,r=null,s)=>({nextPart:e,validators:r,classGroupId:s}),ce="-",Ue=[],es="arbitrary..",ts=e=>{const r=ss(e),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return rs(a);const c=a.split(ce),l=c[0]===""&&c.length>1?1:0;return yt(c,l,r)},getConflictingClassGroupIds:(a,c)=>{if(c){const l=o[a],d=s[a];return l?d?Zr(d,l):l:d||Ue}return s[a]||Ue}}},yt=(e,r,s)=>{if(e.length-r===0)return s.classGroupId;const n=e[r],i=s.nextPart.get(n);if(i){const d=yt(e,r+1,i);if(d)return d}const a=s.validators;if(a===null)return;const c=r===0?e.join(ce):e.slice(r).join(ce),l=a.length;for(let d=0;d<l;d++){const p=a[d];if(p.validator(c))return p.classGroupId}},rs=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),s=r.indexOf(":"),o=r.slice(0,s);return o?es+o:void 0})(),ss=e=>{const{theme:r,classGroups:s}=e;return os(s,r)},os=(e,r)=>{const s=gt();for(const o in e){const n=e[o];Se(n,s,o,r)}return s},Se=(e,r,s,o)=>{const n=e.length;for(let i=0;i<n;i++){const a=e[i];ns(a,r,s,o)}},ns=(e,r,s,o)=>{if(typeof e=="string"){as(e,r,s);return}if(typeof e=="function"){is(e,r,s,o);return}ls(e,r,s,o)},as=(e,r,s)=>{const o=e===""?r:vt(r,e);o.classGroupId=s},is=(e,r,s,o)=>{if(cs(e)){Se(e(o),r,s,o);return}r.validators===null&&(r.validators=[]),r.validators.push(Kr(s,e))},ls=(e,r,s,o)=>{const n=Object.entries(e),i=n.length;for(let a=0;a<i;a++){const[c,l]=n[a];Se(l,vt(r,c),s,o)}},vt=(e,r)=>{let s=e;const o=r.split(ce),n=o.length;for(let i=0;i<n;i++){const a=o[i];let c=s.nextPart.get(a);c||(c=gt(),s.nextPart.set(a,c)),s=c}return s},cs=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,ds=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,s=Object.create(null),o=Object.create(null);const n=(i,a)=>{s[i]=a,r++,r>e&&(r=0,o=s,s=Object.create(null))};return{get(i){let a=s[i];if(a!==void 0)return a;if((a=o[i])!==void 0)return n(i,a),a},set(i,a){i in s?s[i]=a:n(i,a)}}},je="!",He=":",ps=[],Qe=(e,r,s,o,n)=>({modifiers:e,hasImportantModifier:r,baseClassName:s,maybePostfixModifierPosition:o,isExternal:n}),ms=e=>{const{prefix:r,experimentalParseClassName:s}=e;let o=n=>{const i=[];let a=0,c=0,l=0,d;const p=n.length;for(let v=0;v<p;v++){const S=n[v];if(a===0&&c===0){if(S===He){i.push(n.slice(l,v)),l=v+1;continue}if(S==="/"){d=v;continue}}S==="["?a++:S==="]"?a--:S==="("?c++:S===")"&&c--}const m=i.length===0?n:n.slice(l);let k=m,M=!1;m.endsWith(je)?(k=m.slice(0,-1),M=!0):m.startsWith(je)&&(k=m.slice(1),M=!0);const P=d&&d>l?d-l:void 0;return Qe(i,M,k,P)};if(r){const n=r+He,i=o;o=a=>a.startsWith(n)?i(a.slice(n.length)):Qe(ps,!1,a,void 0,!0)}if(s){const n=o;o=i=>s({className:i,parseClassName:n})}return o},us=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((s,o)=>{r.set(s,1e6+o)}),s=>{const o=[];let n=[];for(let i=0;i<s.length;i++){const a=s[i],c=a[0]==="[",l=r.has(a);c||l?(n.length>0&&(n.sort(),o.push(...n),n=[]),o.push(a)):n.push(a)}return n.length>0&&(n.sort(),o.push(...n)),o}},hs=e=>({cache:ds(e.cacheSize),parseClassName:ms(e),sortModifiers:us(e),...ts(e)}),xs=/\s+/,fs=(e,r)=>{const{parseClassName:s,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:i}=r,a=[],c=e.trim().split(xs);let l="";for(let d=c.length-1;d>=0;d-=1){const p=c[d],{isExternal:m,modifiers:k,hasImportantModifier:M,baseClassName:P,maybePostfixModifierPosition:v}=s(p);if(m){l=p+(l.length>0?" "+l:l);continue}let S=!!v,E=o(S?P.substring(0,v):P);if(!E){if(!S){l=p+(l.length>0?" "+l:l);continue}if(E=o(P),!E){l=p+(l.length>0?" "+l:l);continue}S=!1}const f=k.length===0?"":k.length===1?k[0]:i(k).join(":"),w=M?f+je:f,x=w+E;if(a.indexOf(x)>-1)continue;a.push(x);const N=n(E,S);for(let b=0;b<N.length;++b){const V=N[b];a.push(w+V)}l=p+(l.length>0?" "+l:l)}return l},bs=(...e)=>{let r=0,s,o,n="";for(;r<e.length;)(s=e[r++])&&(o=wt(s))&&(n&&(n+=" "),n+=o);return n},wt=e=>{if(typeof e=="string")return e;let r,s="";for(let o=0;o<e.length;o++)e[o]&&(r=wt(e[o]))&&(s&&(s+=" "),s+=r);return s},gs=(e,...r)=>{let s,o,n,i;const a=l=>{const d=r.reduce((p,m)=>m(p),e());return s=hs(d),o=s.cache.get,n=s.cache.set,i=c,c(l)},c=l=>{const d=o(l);if(d)return d;const p=fs(l,s);return n(l,p),p};return i=a,(...l)=>i(bs(...l))},ys=[],R=e=>{const r=s=>s[e]||ys;return r.isThemeGetter=!0,r},kt=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,jt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,vs=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ws=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ks=/\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$/,js=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ns=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Cs=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>vs.test(e),j=e=>!!e&&!Number.isNaN(Number(e)),G=e=>!!e&&Number.isInteger(Number(e)),ge=e=>e.endsWith("%")&&j(e.slice(0,-1)),F=e=>ws.test(e),Nt=()=>!0,Ss=e=>ks.test(e)&&!js.test(e),Me=()=>!1,Ms=e=>Ns.test(e),Es=e=>Cs.test(e),Ps=e=>!u(e)&&!h(e),_s=e=>Q(e,Mt,Me),u=e=>kt.test(e),Y=e=>Q(e,Et,Ss),We=e=>Q(e,Os,j),Ts=e=>Q(e,_t,Nt),Rs=e=>Q(e,Pt,Me),Ye=e=>Q(e,Ct,Me),As=e=>Q(e,St,Es),ae=e=>Q(e,Tt,Ms),h=e=>jt.test(e),K=e=>J(e,Et),Is=e=>J(e,Pt),Xe=e=>J(e,Ct),Ds=e=>J(e,Mt),zs=e=>J(e,St),ie=e=>J(e,Tt,!0),Ls=e=>J(e,_t,!0),Q=(e,r,s)=>{const o=kt.exec(e);return o?o[1]?r(o[1]):s(o[2]):!1},J=(e,r,s=!1)=>{const o=jt.exec(e);return o?o[1]?r(o[1]):s:!1},Ct=e=>e==="position"||e==="percentage",St=e=>e==="image"||e==="url",Mt=e=>e==="length"||e==="size"||e==="bg-size",Et=e=>e==="length",Os=e=>e==="number",Pt=e=>e==="family-name",_t=e=>e==="number"||e==="weight",Tt=e=>e==="shadow",Fs=()=>{const e=R("color"),r=R("font"),s=R("text"),o=R("font-weight"),n=R("tracking"),i=R("leading"),a=R("breakpoint"),c=R("container"),l=R("spacing"),d=R("radius"),p=R("shadow"),m=R("inset-shadow"),k=R("text-shadow"),M=R("drop-shadow"),P=R("blur"),v=R("perspective"),S=R("aspect"),E=R("ease"),f=R("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],N=()=>[...x(),h,u],b=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto","contain","none"],g=()=>[h,u,l],z=()=>[B,"full","auto",...g()],Te=()=>[G,"none","subgrid",h,u],Re=()=>["auto",{span:["full",G,h,u]},G,h,u],te=()=>[G,"auto",h,u],Ae=()=>["auto","min","max","fr",h,u],me=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Z=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...g()],W=()=>[B,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...g()],ue=()=>[B,"screen","full","dvw","lvw","svw","min","max","fit",...g()],he=()=>[B,"screen","full","lh","dvh","lvh","svh","min","max","fit",...g()],y=()=>[e,h,u],Ie=()=>[...x(),Xe,Ye,{position:[h,u]}],De=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ze=()=>["auto","cover","contain",Ds,_s,{size:[h,u]}],xe=()=>[ge,K,Y],I=()=>["","none","full",d,h,u],D=()=>["",j,K,Y],re=()=>["solid","dashed","dotted","double"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>[j,ge,Xe,Ye],Oe=()=>["","none",P,h,u],se=()=>["none",j,h,u],oe=()=>["none",j,h,u],fe=()=>[j,h,u],ne=()=>[B,"full",...g()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[F],breakpoint:[F],color:[Nt],container:[F],"drop-shadow":[F],ease:["in","out","in-out"],font:[Ps],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[F],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[F],shadow:[F],spacing:["px",j],text:[F],"text-shadow":[F],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",B,u,h,S]}],container:["container"],columns:[{columns:[j,u,h,c]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"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"],sr:["sr-only","not-sr-only"],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:N()}],overflow:[{overflow:b()}],"overflow-x":[{"overflow-x":b()}],"overflow-y":[{"overflow-y":b()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:z()}],"inset-x":[{"inset-x":z()}],"inset-y":[{"inset-y":z()}],start:[{"inset-s":z(),start:z()}],end:[{"inset-e":z(),end:z()}],"inset-bs":[{"inset-bs":z()}],"inset-be":[{"inset-be":z()}],top:[{top:z()}],right:[{right:z()}],bottom:[{bottom:z()}],left:[{left:z()}],visibility:["visible","invisible","collapse"],z:[{z:[G,"auto",h,u]}],basis:[{basis:[B,"full","auto",c,...g()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[j,B,"auto","initial","none",u]}],grow:[{grow:["",j,h,u]}],shrink:[{shrink:["",j,h,u]}],order:[{order:[G,"first","last","none",h,u]}],"grid-cols":[{"grid-cols":Te()}],"col-start-end":[{col:Re()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":Te()}],"row-start-end":[{row:Re()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ae()}],"auto-rows":[{"auto-rows":Ae()}],gap:[{gap:g()}],"gap-x":[{"gap-x":g()}],"gap-y":[{"gap-y":g()}],"justify-content":[{justify:[...me(),"normal"]}],"justify-items":[{"justify-items":[...Z(),"normal"]}],"justify-self":[{"justify-self":["auto",...Z()]}],"align-content":[{content:["normal",...me()]}],"align-items":[{items:[...Z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Z(),{baseline:["","last"]}]}],"place-content":[{"place-content":me()}],"place-items":[{"place-items":[...Z(),"baseline"]}],"place-self":[{"place-self":["auto",...Z()]}],p:[{p:g()}],px:[{px:g()}],py:[{py:g()}],ps:[{ps:g()}],pe:[{pe:g()}],pbs:[{pbs:g()}],pbe:[{pbe:g()}],pt:[{pt:g()}],pr:[{pr:g()}],pb:[{pb:g()}],pl:[{pl:g()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mbs:[{mbs:L()}],mbe:[{mbe:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":g()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":g()}],"space-y-reverse":["space-y-reverse"],size:[{size:W()}],"inline-size":[{inline:["auto",...ue()]}],"min-inline-size":[{"min-inline":["auto",...ue()]}],"max-inline-size":[{"max-inline":["none",...ue()]}],"block-size":[{block:["auto",...he()]}],"min-block-size":[{"min-block":["auto",...he()]}],"max-block-size":[{"max-block":["none",...he()]}],w:[{w:[c,"screen",...W()]}],"min-w":[{"min-w":[c,"screen","none",...W()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[a]},...W()]}],h:[{h:["screen","lh",...W()]}],"min-h":[{"min-h":["screen","lh","none",...W()]}],"max-h":[{"max-h":["screen","lh",...W()]}],"font-size":[{text:["base",s,K,Y]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Ls,Ts]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ge,u]}],"font-family":[{font:[Is,Rs,r]}],"font-features":[{"font-features":[u]}],"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:[n,h,u]}],"line-clamp":[{"line-clamp":[j,"none",h,We]}],leading:[{leading:[i,...g()]}],"list-image":[{"list-image":["none",h,u]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",h,u]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:y()}],"text-color":[{text:y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...re(),"wavy"]}],"text-decoration-thickness":[{decoration:[j,"from-font","auto",h,Y]}],"text-decoration-color":[{decoration:y()}],"underline-offset":[{"underline-offset":[j,"auto",h,u]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h,u]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",h,u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ie()}],"bg-repeat":[{bg:De()}],"bg-size":[{bg:ze()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},G,h,u],radial:["",h,u],conic:[G,h,u]},zs,As]}],"bg-color":[{bg:y()}],"gradient-from-pos":[{from:xe()}],"gradient-via-pos":[{via:xe()}],"gradient-to-pos":[{to:xe()}],"gradient-from":[{from:y()}],"gradient-via":[{via:y()}],"gradient-to":[{to:y()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:D()}],"border-w-x":[{"border-x":D()}],"border-w-y":[{"border-y":D()}],"border-w-s":[{"border-s":D()}],"border-w-e":[{"border-e":D()}],"border-w-bs":[{"border-bs":D()}],"border-w-be":[{"border-be":D()}],"border-w-t":[{"border-t":D()}],"border-w-r":[{"border-r":D()}],"border-w-b":[{"border-b":D()}],"border-w-l":[{"border-l":D()}],"divide-x":[{"divide-x":D()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":D()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...re(),"hidden","none"]}],"divide-style":[{divide:[...re(),"hidden","none"]}],"border-color":[{border:y()}],"border-color-x":[{"border-x":y()}],"border-color-y":[{"border-y":y()}],"border-color-s":[{"border-s":y()}],"border-color-e":[{"border-e":y()}],"border-color-bs":[{"border-bs":y()}],"border-color-be":[{"border-be":y()}],"border-color-t":[{"border-t":y()}],"border-color-r":[{"border-r":y()}],"border-color-b":[{"border-b":y()}],"border-color-l":[{"border-l":y()}],"divide-color":[{divide:y()}],"outline-style":[{outline:[...re(),"none","hidden"]}],"outline-offset":[{"outline-offset":[j,h,u]}],"outline-w":[{outline:["",j,K,Y]}],"outline-color":[{outline:y()}],shadow:[{shadow:["","none",p,ie,ae]}],"shadow-color":[{shadow:y()}],"inset-shadow":[{"inset-shadow":["none",m,ie,ae]}],"inset-shadow-color":[{"inset-shadow":y()}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:y()}],"ring-offset-w":[{"ring-offset":[j,Y]}],"ring-offset-color":[{"ring-offset":y()}],"inset-ring-w":[{"inset-ring":D()}],"inset-ring-color":[{"inset-ring":y()}],"text-shadow":[{"text-shadow":["none",k,ie,ae]}],"text-shadow-color":[{"text-shadow":y()}],opacity:[{opacity:[j,h,u]}],"mix-blend":[{"mix-blend":[...Le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[j]}],"mask-image-linear-from-pos":[{"mask-linear-from":A()}],"mask-image-linear-to-pos":[{"mask-linear-to":A()}],"mask-image-linear-from-color":[{"mask-linear-from":y()}],"mask-image-linear-to-color":[{"mask-linear-to":y()}],"mask-image-t-from-pos":[{"mask-t-from":A()}],"mask-image-t-to-pos":[{"mask-t-to":A()}],"mask-image-t-from-color":[{"mask-t-from":y()}],"mask-image-t-to-color":[{"mask-t-to":y()}],"mask-image-r-from-pos":[{"mask-r-from":A()}],"mask-image-r-to-pos":[{"mask-r-to":A()}],"mask-image-r-from-color":[{"mask-r-from":y()}],"mask-image-r-to-color":[{"mask-r-to":y()}],"mask-image-b-from-pos":[{"mask-b-from":A()}],"mask-image-b-to-pos":[{"mask-b-to":A()}],"mask-image-b-from-color":[{"mask-b-from":y()}],"mask-image-b-to-color":[{"mask-b-to":y()}],"mask-image-l-from-pos":[{"mask-l-from":A()}],"mask-image-l-to-pos":[{"mask-l-to":A()}],"mask-image-l-from-color":[{"mask-l-from":y()}],"mask-image-l-to-color":[{"mask-l-to":y()}],"mask-image-x-from-pos":[{"mask-x-from":A()}],"mask-image-x-to-pos":[{"mask-x-to":A()}],"mask-image-x-from-color":[{"mask-x-from":y()}],"mask-image-x-to-color":[{"mask-x-to":y()}],"mask-image-y-from-pos":[{"mask-y-from":A()}],"mask-image-y-to-pos":[{"mask-y-to":A()}],"mask-image-y-from-color":[{"mask-y-from":y()}],"mask-image-y-to-color":[{"mask-y-to":y()}],"mask-image-radial":[{"mask-radial":[h,u]}],"mask-image-radial-from-pos":[{"mask-radial-from":A()}],"mask-image-radial-to-pos":[{"mask-radial-to":A()}],"mask-image-radial-from-color":[{"mask-radial-from":y()}],"mask-image-radial-to-color":[{"mask-radial-to":y()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[j]}],"mask-image-conic-from-pos":[{"mask-conic-from":A()}],"mask-image-conic-to-pos":[{"mask-conic-to":A()}],"mask-image-conic-from-color":[{"mask-conic-from":y()}],"mask-image-conic-to-color":[{"mask-conic-to":y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ie()}],"mask-repeat":[{mask:De()}],"mask-size":[{mask:ze()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",h,u]}],filter:[{filter:["","none",h,u]}],blur:[{blur:Oe()}],brightness:[{brightness:[j,h,u]}],contrast:[{contrast:[j,h,u]}],"drop-shadow":[{"drop-shadow":["","none",M,ie,ae]}],"drop-shadow-color":[{"drop-shadow":y()}],grayscale:[{grayscale:["",j,h,u]}],"hue-rotate":[{"hue-rotate":[j,h,u]}],invert:[{invert:["",j,h,u]}],saturate:[{saturate:[j,h,u]}],sepia:[{sepia:["",j,h,u]}],"backdrop-filter":[{"backdrop-filter":["","none",h,u]}],"backdrop-blur":[{"backdrop-blur":Oe()}],"backdrop-brightness":[{"backdrop-brightness":[j,h,u]}],"backdrop-contrast":[{"backdrop-contrast":[j,h,u]}],"backdrop-grayscale":[{"backdrop-grayscale":["",j,h,u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[j,h,u]}],"backdrop-invert":[{"backdrop-invert":["",j,h,u]}],"backdrop-opacity":[{"backdrop-opacity":[j,h,u]}],"backdrop-saturate":[{"backdrop-saturate":[j,h,u]}],"backdrop-sepia":[{"backdrop-sepia":["",j,h,u]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":g()}],"border-spacing-x":[{"border-spacing-x":g()}],"border-spacing-y":[{"border-spacing-y":g()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",h,u]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[j,"initial",h,u]}],ease:[{ease:["linear","initial",E,h,u]}],delay:[{delay:[j,h,u]}],animate:[{animate:["none",f,h,u]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,h,u]}],"perspective-origin":[{"perspective-origin":N()}],rotate:[{rotate:se()}],"rotate-x":[{"rotate-x":se()}],"rotate-y":[{"rotate-y":se()}],"rotate-z":[{"rotate-z":se()}],scale:[{scale:oe()}],"scale-x":[{"scale-x":oe()}],"scale-y":[{"scale-y":oe()}],"scale-z":[{"scale-z":oe()}],"scale-3d":["scale-3d"],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[h,u,"","none","gpu","cpu"]}],"transform-origin":[{origin:N()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ne()}],"translate-x":[{"translate-x":ne()}],"translate-y":[{"translate-y":ne()}],"translate-z":[{"translate-z":ne()}],"translate-none":["translate-none"],accent:[{accent:y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:y()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",h,u]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mbs":[{"scroll-mbs":g()}],"scroll-mbe":[{"scroll-mbe":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pbs":[{"scroll-pbs":g()}],"scroll-pbe":[{"scroll-pbe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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",h,u]}],fill:[{fill:["none",...y()]}],"stroke-w":[{stroke:[j,K,Y,We]}],stroke:[{stroke:["none",...y()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","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-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},$s=gs(Fs);function T(...e){return $s(Jr(e))}const Ee=e=>e==="payment_method"||e==="payment_details",Pe=e=>e==="review",_e=e=>e==="shipping_method",Rt=(e,r)=>new Intl.NumberFormat("en-US",{style:"currency",currency:r}).format(e),Vs=({theme:e,brandColor:r,customTheme:s,children:o})=>{const n=at(e,r,s),i=ot(n);return t.jsx("div",{style:{...i,fontFamily:"var(--ac-font)"},className:"ac-root bg-background text-text h-full w-full",children:o})},At={orderSummary:"Order Summary",quantity:"Qty",quantityShort:"Qty",removeItem:"Remove item",subtotal:"Subtotal",discount:"Discount",shipping:"Shipping",shippingFree:"Free",taxes:"Taxes",total:"Total",couponPlaceholder:"Promo code",couponApply:"Apply",couponApplied:"✓ Coupon applied",couponInvalid:"✗ Invalid code",couponRemove:"Remove coupon",orderSummaryTitle:"Order Summary",securePayment:"Secure Payment",confirmOrder:"Confirm",continueToPay:"Continue to payment",payNow:"Pay now",pay:"Pay",processing:"Processing…",continueNow:"Continue now",paymentMethod:"Payment method",back:"Back",completeDetails:"Complete details",selectMethod:"Select a method",processingPayment:"Processing payment…",processingDescription:"Don't close or reload this window.",redirecting:"Redirecting…",redirectDescription:"You will be redirected to complete your payment securely.",redirectingIn:"Redirecting in {time}s…",showOrderDetails:"Show order details",hideOrderDetails:"Hide order details",continue:"Continue",shippingMethod:"Shipping method",continueToShipping:"Select shipping",freeShipping:"Free"},Bs={orderSummary:"Resumen del pedido",quantity:"Cant",quantityShort:"Cant",removeItem:"Eliminar item",subtotal:"Subtotal",discount:"Descuento",shipping:"Envío",shippingFree:"Gratis",taxes:"Impuestos",total:"Total",couponPlaceholder:"Código promo",couponApply:"Aplicar",couponApplied:"✓ Cupón aplicado",couponInvalid:"✗ Código inválido",couponRemove:"Eliminar cupón",orderSummaryTitle:"Resumen de compra",securePayment:"Pago y envío seguro",confirmOrder:"Confirmar",continueToPay:"Continuar al pago",payNow:"Pagar ahora",pay:"Pagar",processing:"Procesando…",continueNow:"Continuar ahora",paymentMethod:"Método de pago",back:"Volver",completeDetails:"Completa los datos",selectMethod:"Selecciona un método",processingPayment:"Procesando pago…",processingDescription:"No cierres ni recargues esta ventana.",redirecting:"Redirigiendo…",redirectDescription:"Serás redirigido para completar tu pago de forma segura.",redirectingIn:"Redirigiendo en {time}s…",showOrderDetails:"Ver detalle del pedido",hideOrderDetails:"Ocultar detalle del pedido",continue:"Continuar",shippingMethod:"Método de envío",continueToShipping:"Seleccionar envío",freeShipping:"Gratis"},Gs={orderSummary:"Resumo do pedido",quantity:"Qtd",quantityShort:"Qtd",removeItem:"Remover item",subtotal:"Subtotal",discount:"Desconto",shipping:"Frete",shippingFree:"Grátis",taxes:"Impostos",total:"Total",couponPlaceholder:"Código promocional",couponApply:"Aplicar",couponApplied:"✓ Cupom aplicado",couponInvalid:"✗ Código inválido",couponRemove:"Remover cupom",orderSummaryTitle:"Resumo do Pedido",securePayment:"Pagamento Seguro",confirmOrder:"Confirmar",continueToPay:"Continuar para pagamento",payNow:"Pagar agora",pay:"Pagar",processing:"Processando…",continueNow:"Continuar agora",paymentMethod:"Método de pagamento",back:"Voltar",completeDetails:"Complete os dados",selectMethod:"Selecione um método",processingPayment:"Processando pagamento…",processingDescription:"Não feche nem recarregue esta janela.",redirecting:"Redirecionando…",redirectDescription:"Você será redirecionado para completar seu pagamento com segurança.",redirectingIn:"Redirecionando em {time}s…",showOrderDetails:"Ver detalhes do pedido",hideOrderDetails:"Ocultar detalhes do pedido",continue:"Continuar",shippingMethod:"Método de envio",continueToShipping:"Selecionar envio",freeShipping:"Grátis"},It={en:At,es:Bs,"pt-BR":Gs},Je=Object.keys(It);function qs(){if(typeof navigator>"u")return"en";const e=navigator.languages??[navigator.language];for(const r of e){if(Je.includes(r))return r;const s=r.split("-")[0];if(Je.includes(s))return s;if(s==="pt")return"pt-BR"}return"en"}function Us(e){return e==="auto"?qs():e}function Hs(e){const r=Us(e);return It[r]??At}function Qs(e,r){const s=Hs(e);return r?{...s,...r}:s}const Dt=C.createContext(null),Ws=({locale:e,currency:r,messages:s,formatters:o,children:n})=>{const i=Qs(e,s),a=o!=null&&o.currency?o.currency:c=>Rt(c,r);return t.jsx(Dt.Provider,{value:{t:i,fmt:a},children:n})},$=()=>{const e=C.useContext(Dt);if(!e)throw new Error("useI18n must be used within an I18nProvider");return e},X=({label:e,onPress:r,variant:s="solid",size:o="md",icon:n,loading:i,disabled:a,className:c,type:l="button",id:d})=>{const p=a||i;return t.jsxs("button",{id:d,type:l,onClick:r,disabled:p,className:T("flex items-center justify-center gap-2 rounded-DEFAULT font-bold transition-all active:scale-[0.98] disabled:cursor-not-allowed",(s==="solid"||s==="primary")&&"bg-primary text-surface hover:brightness-110 disabled:opacity-40 shadow-sm",s==="outline"&&"border border-primary text-primary hover:bg-primary/5 disabled:opacity-40",s==="ghost"&&"text-text/70 hover:bg-border/50 hover:text-text disabled:opacity-40",o==="sm"&&"px-4 py-1.5 text-xs",o==="md"&&"px-6 py-2.5 text-sm",o==="lg"&&"px-8 py-4 text-base",c),children:[i?t.jsx(ee,{className:"w-4 h-4 animate-spin"}):n&&t.jsx("span",{className:"shrink-0",children:n}),t.jsx("span",{children:e})]})},Ze=({children:e,className:r,variant:s="default",onClick:o,id:n})=>t.jsx("div",{id:n,onClick:o,className:T("rounded-xl transition-all duration-300",s==="default"&&"border border-border/60 bg-surface shadow-sm",s==="active"&&"border border-primary/40 bg-surface shadow-md ring-1 ring-primary/5",s==="flat"&&"bg-background/40",o&&"cursor-pointer hover:border-primary/30",r),children:e}),Ys=({children:e,className:r})=>t.jsx("div",{className:T("p-5",r),children:e}),Xs=({children:e,variant:r="default",className:s})=>t.jsx("span",{className:T("px-2 py-0.5 rounded-md text-[10px] font-black uppercase tracking-widest border",r==="default"&&"bg-border/20 text-text/60 border-border/30",r==="success"&&"bg-success/10 text-success border-success/20",r==="error"&&"bg-error/10 text-error border-error/20",r==="primary"&&"bg-primary/10 text-primary border-primary/20",r==="outline"&&"bg-transparent text-text/40 border-border/40",s),children:e}),zt=({isSelected:e,onClick:r,icon:s,title:o,description:n,rightElement:i,children:a,className:c,disabled:l})=>t.jsxs("div",{className:T("flex flex-col w-full",c),children:[t.jsxs("button",{type:"button",onClick:r,disabled:l,className:T("flex items-center gap-3 p-3.5 border transition-all duration-200 text-left w-full",e?"border-primary bg-primary/5 ring-1 ring-primary shadow-sm":"border-border/60 hover:border-primary/50 bg-background/50 hover:bg-background",e&&a?"rounded-t-DEFAULT":"rounded-DEFAULT",l&&"opacity-50 cursor-not-allowed"),children:[s&&t.jsx("div",{className:T("p-1.5 rounded-lg shrink-0",e?"text-primary":"text-text/50"),children:s}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsx("span",{className:"font-bold text-sm tracking-tight block",children:o}),n&&t.jsx("div",{className:"text-xs text-text/50 block mt-0.5",children:n})]}),i&&t.jsx("div",{className:"shrink-0",children:i}),t.jsx("div",{className:T("w-5 h-5 rounded-full border-2 flex items-center justify-center transition-all shrink-0 ml-2",e?"border-primary bg-primary/10":"border-text/20"),children:e&&t.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-primary shadow-sm"})})]}),e&&a&&t.jsx("div",{className:"border border-t-0 border-primary/20 bg-background/50 rounded-b-DEFAULT px-5 pt-5 pb-5 animate-in fade-in slide-in-from-top-2 duration-300",children:a})]}),Js=({className:e,size:r="md"})=>t.jsx(ee,{className:T("animate-spin text-primary/60",r==="sm"&&"w-4 h-4",r==="md"&&"w-8 h-8",r==="lg"&&"w-12 h-12",e)}),Ne=({hideHeader:e}={})=>{const{items:r,step:s}=H(),{t:o,fmt:n}=$(),{plugins:i}=U(),a=i.some(d=>d.slots.orderItemActions),c=i.some(d=>d.slots.orderItemEnd),l={items:r,totals:{subtotal:0,total:0},step:s,t:o,fmt:n};return t.jsxs("div",{className:"flex flex-col h-full animate-in fade-in slide-in-from-bottom-4 duration-500 overflow-hidden",children:[!e&&t.jsx("h2",{className:"text-xl font-bold mb-6 shrink-0",children:o.orderSummary}),t.jsx("div",{className:"flex-1 overflow-y-auto pr-3 custom-scrollbar flex flex-col divide-y divide-border/30",children:r.map(d=>{const p=!!d.discount,m={...l,item:d};return t.jsxs("div",{className:"py-5 flex items-start gap-5 transition-opacity",children:[d.image&&t.jsx("img",{src:d.image,alt:d.name,className:"w-20 h-20 rounded-2xl object-cover border border-border/40 shrink-0 shadow-sm transition-transform hover:scale-105 duration-300"}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsx("span",{className:"font-bold text-lg text-text/90 block truncate leading-tight mb-1",children:d.name}),a?qe(i,"orderItemActions",m):t.jsxs("span",{className:"text-sm text-text/40 mt-1 block font-semibold uppercase tracking-wider",children:[o.quantityShort,": ",d.quantity]}),p&&t.jsxs("div",{className:"flex items-center gap-2 mt-3 flex-wrap",children:[d.discount.label&&t.jsx(Xs,{variant:"success",children:d.discount.label}),t.jsx("span",{className:"text-xs text-success font-black",children:d.discount.type==="percentage"?`-${d.discount.value}%`:`-${n(d.discount.value)}`})]})]}),t.jsxs("div",{className:"flex flex-col items-end gap-2 shrink-0",children:[c&&qe(i,"orderItemEnd",m),p?t.jsxs("div",{className:T("flex flex-col items-end",c?"":"mt-1"),children:[t.jsx("span",{className:"text-xs line-through text-text/30 font-medium tracking-tight",children:n(d.unitPrice*d.quantity)}),t.jsx("span",{className:"text-lg font-black text-success tracking-tight",children:n(d.total)})]}):t.jsx("span",{className:T("text-lg font-bold text-text/80 tracking-tight",c?"":"mt-1"),children:n(d.total)})]})]},d.id)})})]})},Zs=e=>{switch(e){case"card":return t.jsx(hr,{className:"w-5 h-5"});case"wallet":return t.jsx(Ve,{className:"w-5 h-5"});case"bank":return t.jsx(gr,{className:"w-5 h-5"});default:return t.jsx(Ve,{className:"w-5 h-5"})}},Lt=({hideHeader:e}={})=>{const{paymentMethods:r,selectedMethodId:s,selectMethod:o,setStep:n,submitPayment:i,error:a,setMethodReady:c,isMethodReady:l}=H(),{t:d}=$(),{plugins:p}=U(),k=p.flatMap(f=>f.shippingMethods??[]).length>0,[M,P]=C.useState(!1),v=f=>{o(f)},S=C.useCallback(f=>w=>{c(f,w)},[c]),E=async f=>{f.preventDefault(),!(!s||!l)&&(P(!0),await i({methodId:s}),P(!1))};return t.jsxs("form",{id:"checkout-payment-form",onSubmit:E,className:"flex flex-col gap-3 animate-in fade-in slide-in-from-right-4 duration-500",children:[!e&&t.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[t.jsx("button",{type:"button",onClick:f=>{f.preventDefault(),n(k?"shipping_method":"review")},className:"p-1 hover:bg-border/50 rounded-full transition-colors text-text/80","aria-label":d.back,children:t.jsx(ct,{className:"w-5 h-5"})}),t.jsx("h2",{className:"text-xl font-semibold",children:d.paymentMethod})]}),t.jsx("div",{className:"flex-1 overflow-y-auto pr-1 custom-scrollbar flex flex-col gap-2",children:r.map(f=>t.jsx(zt,{isSelected:s===f.id,onClick:()=>v(f.id),disabled:M,title:f.label,icon:Zs(f.type),children:f.renderComponent&&f.renderComponent({onReadyChange:S(f.id)})},f.id))}),a&&!M&&t.jsx("p",{className:"text-sm text-error text-center font-medium animate-in fade-in duration-300 -mt-1",children:a})]})},Ks=e=>{const r=[t.jsx(_r,{className:"w-5 h-5"}),t.jsx(wr,{className:"w-5 h-5"}),t.jsx(Cr,{className:"w-5 h-5"})];return r[e%r.length]},Ot=({methods:e,hideHeader:r})=>{const{setStep:s,selectedShippingMethodId:o,selectShippingMethod:n,setMethodReady:i}=H(),{t:a,fmt:c}=$(),l=p=>{n(p)},d=C.useCallback(p=>m=>{i(p,m)},[i]);return t.jsxs("div",{className:"flex flex-col gap-3 animate-in fade-in slide-in-from-right-4 duration-500",children:[!r&&t.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[t.jsx("button",{type:"button",onClick:()=>s("review"),className:"p-1 hover:bg-border/50 rounded-full transition-colors text-text/80","aria-label":a.back,children:t.jsx(ct,{className:"w-5 h-5"})}),t.jsx("h2",{className:"text-xl font-semibold",children:a.shippingMethod})]}),t.jsx("div",{className:"flex-1 overflow-y-auto pr-1 custom-scrollbar flex flex-col gap-2",children:e.map((p,m)=>t.jsx(zt,{isSelected:o===p.id,onClick:()=>l(p.id),title:p.label,description:p.description,icon:p.icon??Ks(m),rightElement:p.price!==void 0&&t.jsx("span",{className:T("text-sm font-semibold shrink-0",p.price===0?"text-success":"text-text/70"),children:p.price===0?a.freeShipping:c(p.price)}),children:p.renderComponent&&p.renderComponent({onReadyChange:d(p.id)})},p.id))})]})},Ke=2,eo={success:{icon:t.jsx(ir,{className:"w-10 h-10"}),iconBg:"bg-success/10",iconColor:"text-success"},pending:{icon:t.jsx(pr,{className:"w-10 h-10"}),iconBg:"bg-orange-500/10",iconColor:"text-orange-500"},error:{icon:t.jsx(cr,{className:"w-10 h-10"}),iconBg:"bg-error/10",iconColor:"text-error"},redirect:{icon:t.jsx(fr,{className:"w-10 h-10"}),iconBg:"bg-primary/10",iconColor:"text-primary"}},et=({title:e,description:r,actions:s=[],variant:o="success",actionsLayout:n="column",children:i})=>{const{t:a}=$(),c=eo[o],[l,d]=C.useState(o==="redirect"?Ke:0);return C.useEffect(()=>{if(o!=="redirect")return;if(l<=0){const m=s.find(k=>!k.variant||k.variant==="solid");m==null||m.onPress();return}const p=setInterval(()=>d(m=>m-1),1e3);return()=>clearInterval(p)},[l,o]),t.jsxs("div",{className:"flex flex-col items-center justify-center h-full py-8 gap-5 animate-in zoom-in-95 fade-in duration-500",children:[t.jsx("div",{className:T("w-20 h-20 rounded-full flex items-center justify-center",c.iconBg,c.iconColor),children:c.icon}),t.jsxs("div",{className:"text-center",children:[t.jsx("h2",{className:"text-2xl font-bold mb-1",children:e}),r&&t.jsx("p",{className:"text-text/60 text-sm max-w-[280px] mx-auto leading-relaxed",children:r})]}),o==="redirect"&&l>0&&t.jsxs("div",{className:"flex flex-col items-center gap-2",children:[t.jsxs("div",{className:"relative w-14 h-14",children:[t.jsxs("svg",{className:"w-14 h-14 -rotate-90",viewBox:"0 0 56 56",children:[t.jsx("circle",{cx:"28",cy:"28",r:"24",fill:"none",stroke:"currentColor",strokeWidth:"4",className:"text-border"}),t.jsx("circle",{cx:"28",cy:"28",r:"24",fill:"none",stroke:"currentColor",strokeWidth:"4",strokeLinecap:"round",strokeDasharray:`${2*Math.PI*24}`,strokeDashoffset:`${2*Math.PI*24*(1-l/Ke)}`,className:"text-primary transition-all duration-1000"})]}),t.jsx("span",{className:"absolute inset-0 flex items-center justify-center text-xl font-bold text-primary",children:l})]}),t.jsx("p",{className:"text-xs text-text/50",children:a.redirectingIn.replace("{time}",l.toString())})]}),i&&t.jsx("div",{className:"w-full",children:i}),s.length>0&&t.jsx("div",{className:T("flex gap-3 justify-center w-full mt-auto",n==="row"?"flex-row flex-wrap":"flex-col"),children:s.map((p,m)=>t.jsx(X,{label:p.label,onPress:p.onPress,variant:p.variant??"solid",icon:p.icon,className:p.variant==="solid"?"flex-1":void 0},m))})]})},to=({children:e,sidebar:r,className:s,...o})=>{const n=!!r;return t.jsxs("div",{className:T("w-full h-full bg-surface text-text rounded-lg shadow-2xl border border-border","overflow-hidden flex flex-col md:flex-row",s),...o,children:[t.jsx("div",{className:T("flex-1 min-w-0 min-h-0 flex flex-col overflow-scroll p-4"),children:e}),n&&t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"hidden md:block w-px bg-border/60 shrink-0"}),t.jsx("div",{className:"hidden md:flex w-[320px] shrink-0 flex-col overflow-y-auto p-4 bg-background/60",children:r})]})]})},ro=["success","pending","error","redirect"],so={success:"✅ Éxito",pending:"⏳ Pendiente",error:"❌ Error",redirect:"↗️ Redirect"},oo=()=>{const{state:e,eventLog:r}=pe(),[s,o]=C.useState(!1),[n,i]=C.useState("success"),[a,c]=C.useState(!1);return t.jsxs(t.Fragment,{children:[t.jsx("button",{onClick:()=>o(!0),className:"fixed top-4 right-4 z-40 bg-surface text-text/50 hover:text-primary p-3 rounded-full shadow-md border border-border transition-all hover:scale-105","aria-label":"Open Dev Tools",children:t.jsx($e,{className:"w-5 h-5"})}),t.jsxs("div",{className:"fixed top-0 right-0 h-full w-80 bg-surface shadow-2xl z-50 p-6 flex flex-col gap-6 overflow-y-auto transition-transform duration-300 border-l border-border/20",style:{transform:s?"translateX(0)":"translateX(100%)"},children:[t.jsxs("div",{className:"flex items-center justify-between pb-4 border-b border-border/50",children:[t.jsxs("h2",{className:"text-lg font-bold text-text flex items-center gap-2",children:[t.jsx($e,{className:"w-5 h-5 text-primary"}),"Dev Tools"]}),t.jsx("button",{onClick:()=>o(!1),className:"text-text/50 hover:text-text p-1 hover:bg-border/50 rounded-full transition-colors",children:t.jsx(zr,{className:"w-5 h-5"})})]}),t.jsxs("div",{children:[t.jsx("h2",{className:"text-sm font-bold mb-3 text-text/40 uppercase tracking-wider",children:"Escenario de pago"}),t.jsx("div",{className:"flex flex-col gap-1",children:ro.map(l=>t.jsxs("label",{className:"flex items-center gap-2 cursor-pointer p-2 hover:bg-border/10 rounded-lg transition-colors group",children:[t.jsx("input",{type:"radio",name:"scenario",checked:n===l,onChange:()=>{i(l),e.provider&&"setScenario"in e.provider&&typeof e.provider.setScenario=="function"&&e.provider.setScenario(l)},className:"accent-primary w-4 h-4 cursor-pointer"}),t.jsx("span",{className:"text-sm text-text/80 group-hover:text-text transition-colors",children:so[l]})]},l))}),t.jsxs("label",{className:"flex items-center gap-2 cursor-pointer mt-3 p-3 bg-border/5 border border-border/20 rounded-xl hover:bg-border/10 transition-colors group",children:[t.jsx("input",{type:"checkbox",checked:a,onChange:l=>{const d=l.target.checked;c(d),e.provider&&"setWithChildren"in e.provider&&typeof e.provider.setWithChildren=="function"&&e.provider.setWithChildren(d)},className:"accent-primary w-4 h-4 rounded cursor-pointer"}),t.jsx("span",{className:"text-sm font-medium text-text/70 group-hover:text-text transition-colors",children:"Inyectar UI custom (children)"})]}),t.jsxs("p",{className:"text-[11px] text-text/40 mt-3 p-3 bg-border/5 rounded-xl border border-border/10 leading-relaxed font-medium",children:["Cupón de prueba: ",t.jsx("code",{className:"font-mono font-bold text-primary/80 px-1.5 py-0.5 bg-primary/10 rounded-md",children:"SAVE10"})]})]}),t.jsxs("div",{children:[t.jsxs("h2",{className:"text-sm font-bold mb-3 text-text/40 uppercase tracking-wider flex items-center gap-2",children:["Event Logger ",t.jsx("span",{className:"text-[10px] bg-primary/10 text-primary px-2.5 py-0.5 rounded-full font-bold border border-primary/20",children:"Live"})]}),t.jsx("div",{className:"bg-black/40 text-primary font-mono text-[10px] p-4 rounded-2xl h-56 overflow-y-auto flex flex-col gap-1.5 border border-border/20 custom-scrollbar backdrop-blur-sm",children:r.length===0?t.jsx("span",{className:"text-text/30 italic",children:"Sin eventos aún…"}):r.map((l,d)=>t.jsx("div",{className:"border-b border-white/5 pb-1.5 last:border-0 last:pb-0",children:l},d))})]}),t.jsxs("div",{className:"flex flex-col gap-2",children:[t.jsx("h2",{className:"text-sm font-bold text-text/40 uppercase tracking-wider",children:"Estado interno"}),t.jsx("pre",{className:"text-[10px] bg-black/40 text-primary/90 p-4 rounded-2xl overflow-x-auto border border-border/20 backdrop-blur-sm",children:JSON.stringify({...e,provider:"PaymentProvider instance"},null,2)})]})]})]})},no=({showItems:e,isLoading:r,hasShipping:s,layout:o="single-page"})=>{const{items:n,totals:i,step:a,setStep:c,isMethodReady:l,selectedShippingMethodId:d,readyMap:p}=H(),{t:m,fmt:k}=$(),{plugins:M}=U(),P=e??a!=="review",v=()=>{if(a==="review")c(s?"shipping_method":"payment_method");else if(a==="shipping_method")c("payment_method");else{const b=document.getElementById("checkout-payment-form");b==null||b.requestSubmit()}},S=a==="review"&&s?m.continueToShipping:a==="review"||a==="shipping_method"?m.continueToPay:m.payNow,E=M.flatMap(b=>b.shippingMethods??[]).find(b=>b.id===d),f=E?E.renderComponent?!!p[E.id]:!0:!1,w=a==="review"?!0:a==="shipping_method"?f:l,x={items:n,totals:i,step:a,t:m,fmt:k},N=M.some(b=>b.slots.totalsDiscountAction);return t.jsxs("div",{className:"flex flex-col h-full animate-in fade-in duration-500",children:[t.jsx("h3",{className:"text-xs font-bold text-text/60 uppercase tracking-widest mb-6",children:m.orderSummaryTitle}),P&&t.jsx("div",{className:"flex flex-col gap-4 overflow-y-auto pr-2 custom-scrollbar",children:n.map(b=>t.jsxs("div",{className:"flex items-start gap-3",children:[b.image&&t.jsx("img",{src:b.image,alt:b.name,className:"w-10 h-10 rounded-lg object-cover border border-border/40 shrink-0 shadow-sm"}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsx("p",{className:"text-[13px] font-semibold leading-tight truncate text-text/95",children:b.name}),t.jsxs("p",{className:"text-[11px] text-text/60 mt-0.5 font-medium",children:[m.quantityShort,": ",b.quantity]})]}),t.jsx("div",{className:"text-right shrink-0",children:t.jsx("span",{className:"text-[13px] font-bold text-text/95",children:k(b.total)})})]},b.id))}),t.jsxs("div",{className:"flex flex-col gap-2",children:[le(M,"sidebarBeforeTotals",x),t.jsxs("div",{className:"flex border-t border-border/50 justify-between text-sm text-text/75 font-medium",children:[t.jsx("span",{children:m.subtotal}),t.jsx("span",{children:k(i.subtotal)})]}),i.discount!==void 0&&i.discount>0&&t.jsxs("div",{className:"flex justify-between items-center text-sm font-semibold text-success",children:[t.jsx("span",{children:m.discount}),t.jsxs("span",{className:"flex items-center gap-1.5",children:["-",k(i.discount),N&&le(M,"totalsDiscountAction",x)]})]}),i.shipping!==void 0&&t.jsxs("div",{className:"flex justify-between text-sm text-text/75 font-medium",children:[t.jsx("span",{children:m.shipping}),t.jsx("span",{children:i.shipping===0?m.shippingFree:k(i.shipping)})]}),i.taxes!==void 0&&t.jsxs("div",{className:"flex justify-between text-sm text-text/75 font-medium",children:[t.jsx("span",{children:m.taxes}),t.jsx("span",{children:k(i.taxes)})]}),t.jsxs("div",{className:"flex justify-between items-center pt-4 border-t border-border/50 mt-2",children:[t.jsx("span",{className:"font-bold text-base text-text/90",children:m.total}),t.jsx("span",{className:"text-2xl font-black text-primary tracking-tight",children:k(i.total)})]})]}),t.jsxs("div",{className:"flex flex-col gap-2 mt-auto",children:[o==="single-page"&&t.jsx(X,{label:S,onPress:v,disabled:!w,loading:r,icon:a==="review"||a==="shipping_method"?t.jsx(sr,{className:"w-5 h-5"}):void 0,className:"w-full mt-6 py-4 px-6 shadow-lg"}),t.jsxs("div",{className:"flex items-center justify-center gap-2 mt-4 text-[11px] text-text/50 font-semibold tracking-wide",children:[t.jsx(dt,{className:"w-4 h-4 opacity-50"}),t.jsx("span",{children:m.securePayment})]})]})]})},ye=({onAction:e,actionLabel:r,actionDisabled:s,isSubmitting:o,showItems:n=!1})=>{const{totals:i,items:a,step:c}=H(),{t:l,fmt:d}=$(),{plugins:p}=U(),[m,k]=C.useState(!1),M={items:a,totals:i,step:c,t:l,fmt:d},P=p.some(v=>v.slots.totalsDiscountAction);return t.jsxs("div",{className:"fixed bottom-0 left-0 right-0 z-30 md:hidden",children:[t.jsx("div",{className:`bg-surface border-t border-border overflow-hidden transition-all duration-300 ease-in-out ${m?"max-h-[70vh] opacity-100":"max-h-0 opacity-0 pointer-events-none"}`,children:t.jsxs("div",{className:"px-4 pt-4 pb-2 flex flex-col gap-0",children:[n&&t.jsx("div",{className:"overflow-y-auto max-h-52 divide-y divide-border/40 mb-3",children:a.map(v=>t.jsxs("div",{className:"flex items-center gap-3 py-2.5",children:[v.image&&t.jsx("img",{src:v.image,alt:v.name,className:"w-10 h-10 rounded-lg object-cover border border-border/30 shrink-0"}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsx("p",{className:"text-sm font-medium truncate",children:v.name}),t.jsxs("p",{className:"text-xs text-text/50",children:[l.quantityShort,": ",v.quantity]}),v.discount&&t.jsxs("p",{className:"text-[10px] text-success font-medium",children:[v.discount.label&&`${v.discount.label} · `,v.discount.type==="percentage"?`-${v.discount.value}%`:`-${d(v.discount.value)}`]})]}),t.jsx("div",{className:"text-right shrink-0",children:v.discount?t.jsxs("div",{className:"flex flex-col items-end",children:[t.jsx("span",{className:"text-[11px] line-through text-text/40",children:d(v.unitPrice*v.quantity)}),t.jsx("span",{className:"text-sm font-semibold text-success",children:d(v.total)})]}):t.jsx("span",{className:"text-sm font-medium",children:d(v.total)})})]},v.id))}),le(p,"mobileBarExpanded",M),t.jsxs("div",{className:`flex flex-col gap-1.5 text-sm pb-3 ${n?"border-t border-border/50 pt-3":"pt-1"}`,children:[t.jsxs("div",{className:"flex justify-between text-text/60",children:[t.jsx("span",{children:l.subtotal}),t.jsx("span",{children:d(i.subtotal)})]}),i.discount!==void 0&&i.discount>0&&t.jsxs("div",{className:"flex justify-between items-center text-success font-medium",children:[t.jsx("span",{children:l.discount}),t.jsxs("span",{className:"flex items-center gap-1.5",children:["-",d(i.discount),P&&le(p,"totalsDiscountAction",M)]})]}),i.shipping!==void 0&&t.jsxs("div",{className:"flex justify-between text-text/60",children:[t.jsx("span",{children:l.shipping}),t.jsx("span",{children:i.shipping===0?l.shippingFree:d(i.shipping)})]}),i.taxes!==void 0&&t.jsxs("div",{className:"flex justify-between text-text/60",children:[t.jsx("span",{children:l.taxes}),t.jsx("span",{children:d(i.taxes)})]})]})]})}),t.jsxs("div",{className:"bg-surface border-t border-border shadow-[0_-4px_20px_rgba(0,0,0,0.1)] px-4 pt-3 pb-4 flex flex-col gap-3",children:[t.jsxs("button",{type:"button",onClick:()=>k(v=>!v),className:"flex items-center justify-between w-full","aria-label":m?l.hideOrderDetails:l.showOrderDetails,children:[t.jsx("span",{className:"text-sm font-medium text-text/60",children:l.total}),t.jsxs("span",{className:"flex items-center gap-1.5",children:[t.jsx("span",{className:"text-lg font-bold text-primary",children:d(i.total)}),m?t.jsx(lt,{className:"w-4 h-4 text-text/40"}):t.jsx(nr,{className:"w-4 h-4 text-text/40"})]})]}),e&&t.jsx(X,{label:o?l.processing:r??l.continue,onPress:e,disabled:s,loading:o,className:"w-full py-3"})]})]})},ao=({step:e,hasShipping:r,layout:s="single-page"})=>{const{setStep:o,isMethodReady:n,selectedShippingMethodId:i,readyMap:a}=H(),{plugins:c}=U(),{t:l}=$(),d=c.flatMap(m=>m.shippingMethods??[]).find(m=>m.id===i),p=d?d.renderComponent?!!a[d.id]:!0:!1;return Pe(e)?t.jsx(ye,{onAction:s==="single-page"?()=>o(r?"shipping_method":"payment_method"):void 0,actionLabel:r?`${l.continueToShipping} →`:`${l.continueToPay} →`,showItems:!1}):_e(e)?t.jsx(ye,{onAction:s==="single-page"?()=>o("payment_method"):void 0,actionLabel:`${l.continueToPay} →`,actionDisabled:!p,showItems:!0}):Ee(e)?t.jsx(ye,{onAction:s==="single-page"?()=>{const m=document.getElementById("checkout-payment-form");m==null||m.requestSubmit()}:void 0,actionLabel:l.pay,actionDisabled:!n,showItems:!0}):null},io=({hasShipping:e})=>{const{state:r}=pe(),{setStep:s,isMethodReady:o,selectedShippingMethodId:n,readyMap:i,totals:a}=H(),{t:c,fmt:l}=$(),{plugins:d}=U(),p=[{id:"review",label:c.orderSummaryTitle||"1. Review"},...e?[{id:"shipping_method",label:c.shippingMethod||"2. Delivery"}]:[],{id:"payment_method",label:c.paymentMethod||(e?"3. Payment":"2. Payment")},{id:"payment_details",label:c.confirmOrder||(e?"4. Confirm":"3. Confirm")}],k=(()=>{const x=p.findIndex(N=>N.id===r.step);return x!==-1?x:["processing","success","error","pending","redirect"].includes(r.step)?p.length-1:0})(),[M,P]=C.useState(k),v=d.flatMap(x=>x.shippingMethods??[]).find(x=>x.id===n),S=v?v.renderComponent?!!i[v.id]:!0:!1,E=x=>{if(x===0)return!0;for(let N=0;N<x;N++){const b=p[N].id;if(b==="shipping_method"&&!S||b==="payment_method"&&!o)return!1}return!0};C.useEffect(()=>{P(k)},[r.step,e]);const f=x=>{if(M===x){P(-1);return}const N=p[x].id;s(N),P(x),setTimeout(()=>{const b=document.getElementById(`accordion-step-${x}`);b&&b.scrollIntoView({behavior:"smooth",block:"start"})},350)},w=x=>{switch(x){case"review":return t.jsxs("div",{className:"flex flex-col gap-4",children:[t.jsx(Ne,{hideHeader:!0}),t.jsx("div",{className:"flex justify-end mt-4",children:t.jsx(X,{label:c.continueToShipping||c.continueToPay||"Continue",onPress:()=>f(1)})})]});case"shipping_method":const N=d.flatMap(b=>b.shippingMethods??[]);return t.jsxs("div",{className:"flex flex-col gap-4",children:[t.jsx(Ot,{methods:N,hideHeader:!0}),t.jsx("div",{className:"flex justify-end mt-4",children:t.jsx(X,{label:c.continueToPay||"Continue",disabled:!n||!S,onPress:()=>f(2)})})]});case"payment_method":return t.jsxs("div",{className:"flex flex-col gap-4",children:[t.jsx(Lt,{hideHeader:!0}),t.jsx("div",{className:"flex justify-end mt-4",children:t.jsx(X,{label:c.continueNow||"Continue",disabled:!o,onPress:()=>f(p.length-1)})})]});case"payment_details":return t.jsxs("div",{className:"flex flex-col gap-6",children:[t.jsx(Ze,{variant:"flat",children:t.jsxs(Ys,{className:"p-4",children:[t.jsxs("div",{className:"flex justify-between text-sm text-text/60 font-medium mb-2",children:[t.jsx("span",{children:c.subtotal}),t.jsx("span",{children:l(a.subtotal)})]}),a.discount!==void 0&&a.discount>0&&t.jsxs("div",{className:"flex justify-between text-sm font-semibold text-success mb-2",children:[t.jsx("span",{children:c.discount}),t.jsxs("span",{children:["-",l(a.discount)]})]}),a.shipping!==void 0&&t.jsxs("div",{className:"flex justify-between text-sm text-text/60 font-medium mb-2",children:[t.jsx("span",{children:c.shipping}),t.jsx("span",{children:a.shipping===0?c.shippingFree:l(a.shipping)})]}),a.taxes!==void 0&&t.jsxs("div",{className:"flex justify-between text-sm text-text/60 font-medium mb-4",children:[t.jsx("span",{children:c.taxes}),t.jsx("span",{children:l(a.taxes)})]}),t.jsxs("div",{className:"flex justify-between items-center pt-4 border-t border-border/50",children:[t.jsx("span",{className:"font-bold text-base text-text/90",children:c.total}),t.jsx("span",{className:"text-2xl font-black text-primary tracking-tight",children:l(a.total)})]})]})}),t.jsx(X,{label:c.payNow||"Pay Now",loading:r.step==="processing",disabled:!o,onPress:()=>{const b=document.getElementById("checkout-payment-form");b==null||b.requestSubmit()},className:"w-full py-4 text-base shadow-lg"}),t.jsxs("div",{className:"flex items-center justify-center gap-2 text-[11px] text-text/30 font-semibold tracking-wide mt-[-8px]",children:[t.jsx(dt,{className:"w-4 h-4 opacity-50"}),t.jsx("span",{children:c.securePayment})]})]});default:return null}};return t.jsx("div",{className:"w-full flex flex-col gap-4",children:p.map((x,N)=>{const b=M===N,V=x.id==="review"?!0:x.id==="shipping_method"?!!n&&S:x.id==="payment_method"?o:!1;return t.jsxs(Ze,{id:`accordion-step-${N}`,variant:b?"active":"default",children:[t.jsxs("button",{type:"button",disabled:!E(N),onClick:()=>f(N),className:T("w-full flex items-center justify-between p-5 text-left transition-colors",b?"bg-primary/5 border-b border-primary/20":"hover:bg-background/50",E(N)?"cursor-pointer":"opacity-50 cursor-not-allowed"),children:[t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx("div",{className:T("w-8 h-8 rounded-full flex items-center justify-center text-sm font-black transition-all",b?"bg-primary text-white shadow-[0_0_15px_-3px_rgba(var(--ac-primary-rgb),0.5)]":V?"bg-success text-white":"bg-border/30 text-text/40 border border-border/50"),children:V&&!b?t.jsx(Kt,{className:"w-5 h-5 stroke-3"}):N+1}),t.jsx("span",{className:T("font-bold text-lg tracking-tight transition-colors",b?"text-primary":"text-text/70"),children:x.label})]}),t.jsx(lt,{className:T("w-5 h-5 transition-transform duration-300 text-text/30",b&&"rotate-180 text-primary")})]}),t.jsx("div",{className:T("grid transition-all duration-300 ease-in-out",b?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0"),children:t.jsx("div",{className:"overflow-auto min-h-0 max-h-[500px] custom-scrollbar",children:t.jsx("div",{className:"p-5 pt-4",children:w(x.id)})})})]},x.id)})})},lo=({devTools:e,layout:r="single-page"})=>{const{state:s}=pe(),{t:o}=$(),{plugins:n}=U(),{step:i,paymentResult:a}=s,c=n.flatMap(k=>k.shippingMethods??[]),l=c.length>0,d=Pe(i)||Ee(i)||_e(i),p=d,m=()=>{var k,M,P,v,S;if(r==="accordion"&&(i==="review"||i==="shipping_method"||i==="payment_method"||i==="payment_details"))return t.jsx(io,{hasShipping:l});switch(i){case"review":return t.jsx(Ne,{});case"shipping_method":return t.jsx(Ot,{methods:c});case"payment_method":return t.jsx(Lt,{});case"processing":return t.jsxs("div",{className:"flex flex-col items-center justify-center py-16 gap-4",children:[t.jsx(Js,{size:"lg"}),t.jsx("p",{className:"font-medium text-lg animate-pulse",children:o.processingPayment}),t.jsx("p",{className:"text-sm text-text/50",children:o.processingDescription})]});case"success":case"pending":case"error":return t.jsx(et,{variant:a==null?void 0:a.status,title:((k=a==null?void 0:a.feedback)==null?void 0:k.title)??"",description:(M=a==null?void 0:a.feedback)==null?void 0:M.description,actions:(P=a==null?void 0:a.feedback)==null?void 0:P.actions,actionsLayout:(v=a==null?void 0:a.feedback)==null?void 0:v.actionsLayout,children:(S=a==null?void 0:a.feedback)==null?void 0:S.children});case"redirect":{const E=(a==null?void 0:a.status)==="redirect"?a:void 0,f=E==null?void 0:E.feedback;return t.jsx(et,{variant:"redirect",title:(f==null?void 0:f.title)??o.redirecting,description:(f==null?void 0:f.description)??o.redirectDescription,actions:(f==null?void 0:f.actions)??[{label:o.continueNow,variant:"solid",onPress:()=>{E!=null&&E.url&&(window.location.href=E.url)}}],actionsLayout:f==null?void 0:f.actionsLayout,children:f==null?void 0:f.children})}default:return t.jsx(Ne,{})}};return t.jsxs("div",{className:"h-[80vh] md:h-full w-full flex flex-col",children:[t.jsx(to,{sidebar:d?t.jsx(no,{hasShipping:l,layout:r}):void 0,children:m()}),p&&t.jsx(ao,{step:i,hasShipping:l,layout:r}),e&&t.jsx(oo,{})]})},co=({items:e,totals:r,paymentMethods:s,provider:o,currency:n,locale:i="es",theme:a="light",brandColor:c,customTheme:l,onEvent:d,cartController:p,initialState:m,devTools:k,messages:M,formatters:P,plugins:v=[],layout:S="single-page",defaultShippingMethodId:E,defaultPaymentMethodId:f,licenseKey:w})=>{const x=ft();C.useEffect(()=>{w&&ut({licenseKey:w})},[w]);const N=x.isValid&&x.hasFeature("plugins")?v:[];return t.jsx(Vs,{theme:a,brandColor:c,customTheme:l,children:t.jsx(Ws,{locale:i,currency:n,messages:M,formatters:P,children:t.jsx(Xr,{plugins:N,children:t.jsx(Yr,{config:{items:e,totals:r,paymentMethods:s,provider:o,currency:n,locale:i,cartController:p},initialStatus:m,onEvent:d,defaultShippingMethodId:E,defaultPaymentMethodId:f,children:t.jsx(lo,{devTools:k,layout:S})})})})})};exports.Checkout=co;exports.checkoutThemes=st;exports.cn=T;exports.createCartEditPlugin=Gr;exports.createCssVars=ot;exports.createDiscountPlugin=Or;exports.createShippingPlugin=qr;exports.darken=$t;exports.defaultTheme=ve;exports.formatNumber=Rt;exports.generateBrandTheme=nt;exports.getContrastColor=tt;exports.getLuminance=Ce;exports.hasFeature=mt;exports.hexToRgb=q;exports.initCheckout=ut;exports.isDark=Ft;exports.isPaymentStep=Ee;exports.isReviewStep=Pe;exports.isShippingStep=_e;exports.lighten=Vt;exports.mergeTheme=we;exports.mix=Bt;exports.resolveTheme=at;exports.rgbToHex=de;exports.useCheckout=H;exports.useLicense=ft;
157
+ (function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking: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-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-orange-500:oklch(70.5% .213 47.604);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-black:900;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-relaxed:1.625;--radius-xs:.125rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--color-primary:var(--ac-primary,#6366f1);--color-background:var(--ac-background,#f8fafc);--color-surface:var(--ac-surface,#fff);--color-text:var(--ac-text,#0f172a);--color-border:var(--ac-border,#e2e8f0);--color-success:var(--ac-success,#22c55e);--color-error:var(--ac-error,#ef4444);--radius-DEFAULT:var(--ac-radius,.75rem)}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.top-0{top:calc(var(--spacing) * 0)}.top-4{top:calc(var(--spacing) * 4)}.right-0{right:calc(var(--spacing) * 0)}.right-4{right:calc(var(--spacing) * 4)}.bottom-0{bottom:calc(var(--spacing) * 0)}.left-0{left:calc(var(--spacing) * 0)}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.mx-auto{margin-inline:auto}.-mt-1{margin-top:calc(var(--spacing) * -1)}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-\\[-8px\\]{margin-top:-8px}.mt-auto{margin-top:auto}.-mr-1{margin-right:calc(var(--spacing) * -1)}.mr-3{margin-right:calc(var(--spacing) * 3)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.ml-2{margin-left:calc(var(--spacing) * 2)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.h-2\\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-20{height:calc(var(--spacing) * 20)}.h-56{height:calc(var(--spacing) * 56)}.h-\\[80vh\\]{height:80vh}.h-full{height:100%}.max-h-0{max-height:calc(var(--spacing) * 0)}.max-h-52{max-height:calc(var(--spacing) * 52)}.max-h-\\[70vh\\]{max-height:70vh}.max-h-\\[500px\\]{max-height:500px}.min-h-0{min-height:calc(var(--spacing) * 0)}.w-2\\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3\\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-20{width:calc(var(--spacing) * 20)}.w-80{width:calc(var(--spacing) * 80)}.w-\\[320px\\]{width:320px}.w-full{width:100%}.w-px{width:1px}.max-w-\\[280px\\]{max-width:280px}.min-w-0{min-width:calc(var(--spacing) * 0)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.-rotate-90{rotate:-90deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:calc(var(--spacing) * 0)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}:where(.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(.divide-border\\/30>:not(:last-child)){border-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){:where(.divide-border\\/30>:not(:last-child)){border-color:color-mix(in oklab,var(--color-border) 30%,transparent)}}:where(.divide-border\\/40>:not(:last-child)){border-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){:where(.divide-border\\/40>:not(:last-child)){border-color:color-mix(in oklab,var(--color-border) 40%,transparent)}}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-DEFAULT{border-radius:var(--radius-DEFAULT)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-t-DEFAULT{border-top-left-radius:var(--radius-DEFAULT);border-top-right-radius:var(--radius-DEFAULT)}.rounded-b-DEFAULT{border-bottom-right-radius:var(--radius-DEFAULT);border-bottom-left-radius:var(--radius-DEFAULT)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-border,.border-border\\/10{border-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.border-border\\/10{border-color:color-mix(in oklab,var(--color-border) 10%,transparent)}}.border-border\\/20{border-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.border-border\\/20{border-color:color-mix(in oklab,var(--color-border) 20%,transparent)}}.border-border\\/30{border-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.border-border\\/30{border-color:color-mix(in oklab,var(--color-border) 30%,transparent)}}.border-border\\/40{border-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.border-border\\/40{border-color:color-mix(in oklab,var(--color-border) 40%,transparent)}}.border-border\\/50{border-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.border-border\\/50{border-color:color-mix(in oklab,var(--color-border) 50%,transparent)}}.border-border\\/60{border-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.border-border\\/60{border-color:color-mix(in oklab,var(--color-border) 60%,transparent)}}.border-error\\/20{border-color:var(--color-error)}@supports (color:color-mix(in lab,red,red)){.border-error\\/20{border-color:color-mix(in oklab,var(--color-error) 20%,transparent)}}.border-primary,.border-primary\\/20{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.border-primary\\/20{border-color:color-mix(in oklab,var(--color-primary) 20%,transparent)}}.border-primary\\/40{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.border-primary\\/40{border-color:color-mix(in oklab,var(--color-primary) 40%,transparent)}}.border-success\\/20{border-color:var(--color-success)}@supports (color:color-mix(in lab,red,red)){.border-success\\/20{border-color:color-mix(in oklab,var(--color-success) 20%,transparent)}}.border-text\\/20{border-color:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.border-text\\/20{border-color:color-mix(in oklab,var(--color-text) 20%,transparent)}}.border-white\\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-white\\/5{border-color:color-mix(in oklab,var(--color-white) 5%,transparent)}}.bg-background,.bg-background\\/30{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/30{background-color:color-mix(in oklab,var(--color-background) 30%,transparent)}}.bg-background\\/40{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/40{background-color:color-mix(in oklab,var(--color-background) 40%,transparent)}}.bg-background\\/50{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/50{background-color:color-mix(in oklab,var(--color-background) 50%,transparent)}}.bg-background\\/60{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/60{background-color:color-mix(in oklab,var(--color-background) 60%,transparent)}}.bg-background\\/80{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.bg-background\\/80{background-color:color-mix(in oklab,var(--color-background) 80%,transparent)}}.bg-black\\/40{background-color:#0006}@supports (color:color-mix(in lab,red,red)){.bg-black\\/40{background-color:color-mix(in oklab,var(--color-black) 40%,transparent)}}.bg-border\\/5{background-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.bg-border\\/5{background-color:color-mix(in oklab,var(--color-border) 5%,transparent)}}.bg-border\\/20{background-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.bg-border\\/20{background-color:color-mix(in oklab,var(--color-border) 20%,transparent)}}.bg-border\\/30{background-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.bg-border\\/30{background-color:color-mix(in oklab,var(--color-border) 30%,transparent)}}.bg-border\\/60{background-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.bg-border\\/60{background-color:color-mix(in oklab,var(--color-border) 60%,transparent)}}.bg-error\\/10{background-color:var(--color-error)}@supports (color:color-mix(in lab,red,red)){.bg-error\\/10{background-color:color-mix(in oklab,var(--color-error) 10%,transparent)}}.bg-orange-500\\/10{background-color:#fe6e001a}@supports (color:color-mix(in lab,red,red)){.bg-orange-500\\/10{background-color:color-mix(in oklab,var(--color-orange-500) 10%,transparent)}}.bg-primary,.bg-primary\\/5{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/5{background-color:color-mix(in oklab,var(--color-primary) 5%,transparent)}}.bg-primary\\/10{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/10{background-color:color-mix(in oklab,var(--color-primary) 10%,transparent)}}.bg-success,.bg-success\\/10{background-color:var(--color-success)}@supports (color:color-mix(in lab,red,red)){.bg-success\\/10{background-color:color-mix(in oklab,var(--color-success) 10%,transparent)}}.bg-surface{background-color:var(--color-surface)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.stroke-3{stroke-width:3px}.object-cover{object-fit:cover}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:calc(var(--spacing) * 1)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-3\\.5{padding:calc(var(--spacing) * 3.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-16{padding-block:calc(var(--spacing) * 16)}.pt-1{padding-top:calc(var(--spacing) * 1)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pr-1{padding-right:calc(var(--spacing) * 1)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1\\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[13px\\]{font-size:13px}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-border{color:var(--color-border)}.text-error{color:var(--color-error)}.text-orange-500{color:var(--color-orange-500)}.text-primary,.text-primary\\/60{color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.text-primary\\/60{color:color-mix(in oklab,var(--color-primary) 60%,transparent)}}.text-primary\\/80{color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.text-primary\\/80{color:color-mix(in oklab,var(--color-primary) 80%,transparent)}}.text-primary\\/90{color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.text-primary\\/90{color:color-mix(in oklab,var(--color-primary) 90%,transparent)}}.text-success{color:var(--color-success)}.text-surface{color:var(--color-surface)}.text-text,.text-text\\/20{color:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.text-text\\/20{color:color-mix(in oklab,var(--color-text) 20%,transparent)}}.text-text\\/30{color:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.text-text\\/30{color:color-mix(in oklab,var(--color-text) 30%,transparent)}}.text-text\\/40{color:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.text-text\\/40{color:color-mix(in oklab,var(--color-text) 40%,transparent)}}.text-text\\/50{color:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.text-text\\/50{color:color-mix(in oklab,var(--color-text) 50%,transparent)}}.text-text\\/60{color:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.text-text\\/60{color:color-mix(in oklab,var(--color-text) 60%,transparent)}}.text-text\\/70{color:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.text-text\\/70{color:color-mix(in oklab,var(--color-text) 70%,transparent)}}.text-text\\/75{color:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.text-text\\/75{color:color-mix(in oklab,var(--color-text) 75%,transparent)}}.text-text\\/80{color:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.text-text\\/80{color:color-mix(in oklab,var(--color-text) 80%,transparent)}}.text-text\\/90{color:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.text-text\\/90{color:color-mix(in oklab,var(--color-text) 90%,transparent)}}.text-text\\/95{color:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.text-text\\/95{color:color-mix(in oklab,var(--color-text) 95%,transparent)}}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.accent-primary{accent-color:var(--color-primary)}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_-4px_20px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--tw-shadow:0 -4px 20px 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)}.shadow-\\[0_0_15px_-3px_rgba\\(var\\(--ac-primary-rgb\\)\\,0\\.5\\)\\]{--tw-shadow:0 0 15px -3px var(--tw-shadow-color,rgba(var(--ac-primary-rgb),.5));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -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)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px 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)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px 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)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + 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)}.ring-primary,.ring-primary\\/5{--tw-ring-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.ring-primary\\/5{--tw-ring-color:color-mix(in oklab, var(--color-primary) 5%, transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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))}.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))}.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))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-1000{--tw-duration:1s;transition-duration:1s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.group-hover\\:text-text:is(:where(.group):hover *){color:var(--color-text)}}.placeholder\\:text-text\\/30::placeholder{color:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.placeholder\\:text-text\\/30::placeholder{color:color-mix(in oklab,var(--color-text) 30%,transparent)}}.placeholder\\:text-text\\/40::placeholder{color:var(--color-text)}@supports (color:color-mix(in lab,red,red)){.placeholder\\:text-text\\/40::placeholder{color:color-mix(in oklab,var(--color-text) 40%,transparent)}}.last\\:border-0:last-child{border-style:var(--tw-border-style);border-width:0}.last\\:pb-0:last-child{padding-bottom:calc(var(--spacing) * 0)}.focus-within\\:border-primary:focus-within,.focus-within\\:border-primary\\/50:focus-within{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.focus-within\\:border-primary\\/50:focus-within{border-color:color-mix(in oklab,var(--color-primary) 50%,transparent)}}.focus-within\\:ring-2:focus-within{--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)}.focus-within\\:ring-primary\\/5:focus-within{--tw-ring-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.focus-within\\:ring-primary\\/5:focus-within{--tw-ring-color:color-mix(in oklab, var(--color-primary) 5%, transparent)}}.focus-within\\:ring-primary\\/20:focus-within{--tw-ring-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.focus-within\\:ring-primary\\/20:focus-within{--tw-ring-color:color-mix(in oklab, var(--color-primary) 20%, transparent)}}@media (hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:border-primary\\/30:hover{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:border-primary\\/30:hover{border-color:color-mix(in oklab,var(--color-primary) 30%,transparent)}}.hover\\:border-primary\\/50:hover{border-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:border-primary\\/50:hover{border-color:color-mix(in oklab,var(--color-primary) 50%,transparent)}}.hover\\:bg-background:hover,.hover\\:bg-background\\/50:hover{background-color:var(--color-background)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-background\\/50:hover{background-color:color-mix(in oklab,var(--color-background) 50%,transparent)}}.hover\\:bg-border\\/10:hover{background-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-border\\/10:hover{background-color:color-mix(in oklab,var(--color-border) 10%,transparent)}}.hover\\:bg-border\\/30:hover{background-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-border\\/30:hover{background-color:color-mix(in oklab,var(--color-border) 30%,transparent)}}.hover\\:bg-border\\/50:hover{background-color:var(--color-border)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-border\\/50:hover{background-color:color-mix(in oklab,var(--color-border) 50%,transparent)}}.hover\\:bg-error\\/10:hover{background-color:var(--color-error)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-error\\/10:hover{background-color:color-mix(in oklab,var(--color-error) 10%,transparent)}}.hover\\:bg-primary\\/5:hover{background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-primary\\/5:hover{background-color:color-mix(in oklab,var(--color-primary) 5%,transparent)}}.hover\\:text-error:hover{color:var(--color-error)}.hover\\:text-primary:hover{color:var(--color-primary)}.hover\\:text-text:hover{color:var(--color-text)}.hover\\:brightness-110:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}@media (min-width:48rem){.md\\:block{display:block}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:h-full{height:100%}.md\\:flex-row{flex-direction:row}}.ac-root .bg-primary,.ac-root .bg-primary\\/3{background-color:var(--ac-primary,#6366f1)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .bg-primary\\/3{background-color:color-mix(in oklab,var(--ac-primary,#6366f1) 3%,transparent)!important}}.ac-root .bg-primary\\/5{background-color:var(--ac-primary,#6366f1)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .bg-primary\\/5{background-color:color-mix(in oklab,var(--ac-primary,#6366f1) 5%,transparent)!important}}.ac-root .bg-primary\\/10{background-color:var(--ac-primary,#6366f1)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .bg-primary\\/10{background-color:color-mix(in oklab,var(--ac-primary,#6366f1) 10%,transparent)!important}}.ac-root .bg-primary\\/40{background-color:var(--ac-primary,#6366f1)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .bg-primary\\/40{background-color:color-mix(in oklab,var(--ac-primary,#6366f1) 40%,transparent)!important}}.ac-root .text-primary{color:var(--ac-primary,#6366f1)!important}.ac-root .border-primary,.ac-root .border-primary\\/10{border-color:var(--ac-primary,#6366f1)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .border-primary\\/10{border-color:color-mix(in oklab,var(--ac-primary,#6366f1) 10%,transparent)!important}}.ac-root .border-primary\\/20{border-color:var(--ac-primary,#6366f1)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .border-primary\\/20{border-color:color-mix(in oklab,var(--ac-primary,#6366f1) 20%,transparent)!important}}.ac-root .border-primary\\/50{border-color:var(--ac-primary,#6366f1)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .border-primary\\/50{border-color:color-mix(in oklab,var(--ac-primary,#6366f1) 50%,transparent)!important}}.ac-root .ring-primary\\/5{--tw-ring-color:var(--ac-primary,#6366f1)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .ring-primary\\/5{--tw-ring-color:color-mix(in oklab, var(--ac-primary,#6366f1) 5%, transparent)!important}}.ac-root .ring-primary\\/20{--tw-ring-color:var(--ac-primary,#6366f1)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .ring-primary\\/20{--tw-ring-color:color-mix(in oklab, var(--ac-primary,#6366f1) 20%, transparent)!important}}.ac-root .bg-background,.ac-root .bg-background\\/30{background-color:var(--ac-background,#f8fafc)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .bg-background\\/30{background-color:color-mix(in oklab,var(--ac-background,#f8fafc) 30%,transparent)!important}}.ac-root .bg-background\\/50{background-color:var(--ac-background,#f8fafc)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .bg-background\\/50{background-color:color-mix(in oklab,var(--ac-background,#f8fafc) 50%,transparent)!important}}.ac-root .bg-background\\/60{background-color:var(--ac-background,#f8fafc)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .bg-background\\/60{background-color:color-mix(in oklab,var(--ac-background,#f8fafc) 60%,transparent)!important}}.ac-root .bg-background\\/80{background-color:var(--ac-background,#f8fafc)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .bg-background\\/80{background-color:color-mix(in oklab,var(--ac-background,#f8fafc) 80%,transparent)!important}}.ac-root .bg-surface{background-color:var(--ac-surface,#fff)!important}.ac-root .text-text,.ac-root .text-text\\/10{color:var(--ac-text,#0f172a)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .text-text\\/10{color:color-mix(in oklab,var(--ac-text,#0f172a) 10%,transparent)!important}}.ac-root .text-text\\/20{color:var(--ac-text,#0f172a)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .text-text\\/20{color:color-mix(in oklab,var(--ac-text,#0f172a) 20%,transparent)!important}}.ac-root .text-text\\/30{color:var(--ac-text,#0f172a)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .text-text\\/30{color:color-mix(in oklab,var(--ac-text,#0f172a) 30%,transparent)!important}}.ac-root .text-text\\/40{color:var(--ac-text,#0f172a)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .text-text\\/40{color:color-mix(in oklab,var(--ac-text,#0f172a) 40%,transparent)!important}}.ac-root .text-text\\/50{color:var(--ac-text,#0f172a)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .text-text\\/50{color:color-mix(in oklab,var(--ac-text,#0f172a) 50%,transparent)!important}}.ac-root .text-text\\/60{color:var(--ac-text,#0f172a)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .text-text\\/60{color:color-mix(in oklab,var(--ac-text,#0f172a) 60%,transparent)!important}}.ac-root .text-text\\/70{color:var(--ac-text,#0f172a)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .text-text\\/70{color:color-mix(in oklab,var(--ac-text,#0f172a) 70%,transparent)!important}}.ac-root .text-text\\/75{color:var(--ac-text,#0f172a)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .text-text\\/75{color:color-mix(in oklab,var(--ac-text,#0f172a) 75%,transparent)!important}}.ac-root .text-text\\/80{color:var(--ac-text,#0f172a)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .text-text\\/80{color:color-mix(in oklab,var(--ac-text,#0f172a) 80%,transparent)!important}}.ac-root .text-text\\/90{color:var(--ac-text,#0f172a)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .text-text\\/90{color:color-mix(in oklab,var(--ac-text,#0f172a) 90%,transparent)!important}}.ac-root .text-text\\/95{color:var(--ac-text,#0f172a)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .text-text\\/95{color:color-mix(in oklab,var(--ac-text,#0f172a) 95%,transparent)!important}}.ac-root .border-border,.ac-root .border-border\\/40{border-color:var(--ac-border,#e2e8f0)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .border-border\\/40{border-color:color-mix(in oklab,var(--ac-border,#e2e8f0) 40%,transparent)!important}}.ac-root .border-border\\/50{border-color:var(--ac-border,#e2e8f0)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .border-border\\/50{border-color:color-mix(in oklab,var(--ac-border,#e2e8f0) 50%,transparent)!important}}.ac-root .border-border\\/60{border-color:var(--ac-border,#e2e8f0)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .border-border\\/60{border-color:color-mix(in oklab,var(--ac-border,#e2e8f0) 60%,transparent)!important}}.ac-root .border-border\\/70{border-color:var(--ac-border,#e2e8f0)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .border-border\\/70{border-color:color-mix(in oklab,var(--ac-border,#e2e8f0) 70%,transparent)!important}}.ac-root .border-border\\/80{border-color:var(--ac-border,#e2e8f0)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .border-border\\/80{border-color:color-mix(in oklab,var(--ac-border,#e2e8f0) 80%,transparent)!important}}.ac-root .border-success\\/20{border-color:var(--ac-success,#22c55e)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .border-success\\/20{border-color:color-mix(in oklab,var(--ac-success,#22c55e) 20%,transparent)!important}}.ac-root .divide-border\\/30>:not(:last-child){border-color:var(--ac-border,#e2e8f0)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .divide-border\\/30>:not(:last-child){border-color:color-mix(in oklab,var(--ac-border,#e2e8f0) 30%,transparent)!important}}.ac-root .divide-border\\/40>:not(:last-child){border-color:var(--ac-border,#e2e8f0)!important}@supports (color:color-mix(in lab,red,red)){.ac-root .divide-border\\/40>:not(:last-child){border-color:color-mix(in oklab,var(--ac-border,#e2e8f0) 40%,transparent)!important}}.ac-root .text-error{color:var(--ac-error,#ef4444)!important}.ac-root .text-success{color:var(--ac-success,#22c55e)!important}.ac-root .text-surface{color:var(--ac-surface,#fff)!important}.ac-root .translate-x-0{transform:translate(0)!important}.ac-root .translate-x-full{transform:translate(100%)!important}.ac-root .rounded-xs{border-radius:calc(var(--ac-radius) * .25)!important}.ac-root .rounded-sm{border-radius:calc(var(--ac-radius) * .5)!important}.ac-root .rounded,.ac-root .rounded-DEFAULT{border-radius:var(--ac-radius)!important}.ac-root .rounded-md{border-radius:calc(var(--ac-radius) * .8)!important}.ac-root .rounded-lg{border-radius:var(--ac-radius)!important}.ac-root .rounded-xl{border-radius:calc(var(--ac-radius) * 1.5)!important}.ac-root .rounded-2xl{border-radius:calc(var(--ac-radius) * 2)!important}.ac-root .rounded-3xl{border-radius:calc(var(--ac-radius) * 3)!important}.ac-root .rounded-full{border-radius:9999px!important}.ac-root .rounded-t-DEFAULT,.ac-root .rounded-t{border-top-left-radius:var(--ac-radius)!important;border-top-right-radius:var(--ac-radius)!important}.ac-root .rounded-b-DEFAULT,.ac-root .rounded-b{border-bottom-left-radius:var(--ac-radius)!important;border-bottom-right-radius:var(--ac-radius)!important}.ac-root .rounded-l-DEFAULT,.ac-root .rounded-l{border-top-left-radius:var(--ac-radius)!important;border-bottom-left-radius:var(--ac-radius)!important}.ac-root .rounded-r-DEFAULT,.ac-root .rounded-r{border-top-right-radius:var(--ac-radius)!important;border-bottom-right-radius:var(--ac-radius)!important}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@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-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-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@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}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}')),document.head.appendChild(r)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
@@ -0,0 +1,21 @@
1
+ export type { CheckoutItem, CheckoutTotals, CartState, CartController, PaymentMethod, PaymentMethodComponentProps, PaymentResult, FeedbackProps, PaymentPayload, FractalButtonVariant } from './core/types';
2
+ export type { PaymentProvider } from './core/provider.interface';
3
+ export type { CheckoutEvent, EventHandler } from './core/event-system';
4
+ export type { CheckoutState } from './core/checkout-machine';
5
+ export type { CheckoutTheme, CheckoutThemeColors, CheckoutThemeName } from './theme/tokens';
6
+ export { checkoutThemes, defaultTheme, mergeTheme, createCssVars, generateBrandTheme, resolveTheme } from './theme/tokens';
7
+ export { hexToRgb, rgbToHex, getLuminance, getContrastColor, isDark, darken, lighten, mix } from './theme/color-utils';
8
+ export type { CheckoutMessages, CheckoutFormatters, CheckoutLocale, SupportedCurrency } from './locales/types';
9
+ export type { CheckoutPlugin, PluginSlots, PluginSlotProps, PluginItemSlotProps } from './plugins/types';
10
+ export type { CartEditPluginOptions } from './plugins/cart-edit-plugin';
11
+ export type { ShippingMethod, ShippingMethodComponentProps, ShippingPluginConfig } from './plugins/shipping-plugin';
12
+ export { createDiscountPlugin } from './plugins/discount-plugin';
13
+ export { createCartEditPlugin } from './plugins/cart-edit-plugin';
14
+ export { createShippingPlugin } from './plugins/shipping-plugin';
15
+ export { initCheckout, hasFeature } from './core/license';
16
+ export type { LicenseInitOptions, PlanType, LicenseState } from './core/license';
17
+ export { useCheckout } from './hooks/useCheckout';
18
+ export { useLicense } from './hooks/useLicense';
19
+ export { cn, formatNumber, isPaymentStep, isReviewStep, isShippingStep } from './utils/utils';
20
+ export { Checkout } from './components/checkout';
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAGtB,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,aAAa,EAAE,2BAA2B,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAC5M,YAAY,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACvE,YAAY,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC3H,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAGvH,YAAY,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAG/G,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACzG,YAAY,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,YAAY,EAAE,cAAc,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACpH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGjE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC1D,YAAY,EAAE,kBAAkB,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGjF,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD,OAAO,EAAE,EAAE,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAG9F,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC"}