@stacksjs/components 0.2.20 → 0.2.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -92
- package/dist/{Accordion-x2gjedap.stx → Accordion-sbfra0mz.stx} +2 -2
- package/dist/{Audio-0fk6p9tn.stx → Audio-vdmg1258.stx} +1 -1
- package/dist/{Avatar-5m0v0s4x.stx → Avatar-365cvrh4.stx} +1 -1
- package/dist/{Badge-ynes82vv.stx → Badge-8m3qete4.stx} +2 -2
- package/dist/{Breadcrumb-h9n427sk.stx → Breadcrumb-7f7s4d02.stx} +1 -1
- package/dist/{Button-7xtrzn14.stx → Button-3tt4vsqt.stx} +2 -2
- package/dist/{Calendar-egvx1pma.stx → Calendar-58nnkdh8.stx} +5 -5
- package/dist/{Card-r9w7vy1a.stx → Card-6wdbexqr.stx} +2 -2
- package/dist/{Checkbox-m8v46pmx.stx → Checkbox-p3q3e3nf.stx} +1 -1
- package/dist/{Checkout-vcnnr176.stx → Checkout-e4037tyy.stx} +1 -1
- package/dist/{Combobox-npb08vkp.stx → Combobox-th5ebw62.stx} +1 -1
- package/dist/{ComboboxButton-vcdyq4zw.stx → ComboboxButton-8gxwkhdx.stx} +1 -1
- package/dist/{ComboboxInput-c9d2p02m.stx → ComboboxInput-mk99z65n.stx} +1 -1
- package/dist/{ComboboxOption-7d0h9ash.stx → ComboboxOption-an9zyan6.stx} +1 -1
- package/dist/{ComboboxOptions-4dtqc0qa.stx → ComboboxOptions-6b5ywc5x.stx} +1 -1
- package/dist/{CommandPalette-ah00bf8v.stx → CommandPalette-kwmdf2np.stx} +1 -1
- package/dist/{CommandPaletteItem-2yx0gvtj.stx → CommandPaletteItem-zx2fbpts.stx} +1 -1
- package/dist/{DefaultPaymentMethod-emw5fg8s.stx → DefaultPaymentMethod-shhf6aap.stx} +1 -1
- package/dist/{Dialog-1w4rz7x0.stx → Dialog-rgmj8q2j.stx} +1 -1
- package/dist/{DialogBackdrop-qbm3y5ab.stx → DialogBackdrop-rxax3sec.stx} +1 -1
- package/dist/{DialogDescription-01w5j74b.stx → DialogDescription-76prd1m2.stx} +1 -1
- package/dist/{DialogPanel-brsszrrs.stx → DialogPanel-44d8jeqy.stx} +1 -1
- package/dist/{DialogTitle-3rxhwg21.stx → DialogTitle-x0r6k8x9.stx} +1 -1
- package/dist/{Drawer-yfaz8q7f.stx → Drawer-p7m351bn.stx} +3 -3
- package/dist/{Dropdown-ng7nx556.stx → Dropdown-jz4jy0n3.stx} +1 -1
- package/dist/{DropdownButton-vc4zpyrb.stx → DropdownButton-9w8zkfwj.stx} +1 -1
- package/dist/{DropdownItem-z491y23c.stx → DropdownItem-wagdspb8.stx} +1 -1
- package/dist/{DropdownItems-7ykf29sj.stx → DropdownItems-aygjpxkx.stx} +1 -1
- package/dist/{EmailInput-bfshpj92.stx → EmailInput-ajsp9vw6.stx} +1 -1
- package/dist/{Form-z4f7w6r1.stx → Form-1mdmx9b6.stx} +1 -1
- package/dist/{Image-ktk0451c.stx → Image-jhkm6w1f.stx} +1 -1
- package/dist/{Listbox-xcejcmyc.stx → Listbox-pqqh72g8.stx} +1 -1
- package/dist/{ListboxButton-nx5kmw19.stx → ListboxButton-spwx7513.stx} +1 -1
- package/dist/{RadioGroupLabel-aky8a73n.stx → ListboxLabel-7mymt1b8.stx} +1 -1
- package/dist/{ListboxOption-6h4hsdz5.stx → ListboxOption-7nxzaexq.stx} +1 -1
- package/dist/{ListboxOptions-2sacdtm5.stx → ListboxOptions-8kqvfp7z.stx} +1 -1
- package/dist/{Login-s2jkvd9y.stx → Login-rx9gyqhx.stx} +1 -1
- package/dist/{Navigator-tqqdgdkw.stx → Navigator-aay8bjab.stx} +3 -3
- package/dist/{Notification-sry8egea.stx → Notification-gk33gv7b.stx} +1 -1
- package/dist/{NumberInput-zm93ddfw.stx → NumberInput-nzpkx1ry.stx} +3 -3
- package/dist/{Pagination-yza9v4qw.stx → Pagination-h61eq390.stx} +6 -6
- package/dist/{PasswordInput-4xnndp5y.stx → PasswordInput-zv4hm43j.stx} +2 -2
- package/dist/{PaymentMethods-jxba6kek.stx → PaymentMethods-j42jsk5x.stx} +3 -3
- package/dist/{Popover-scbqatjq.stx → Popover-469gbt6r.stx} +1 -1
- package/dist/{PopoverButton-rbxhzj4k.stx → PopoverButton-fnaqc77g.stx} +1 -1
- package/dist/{PopoverPanel-9ng1rm6e.stx → PopoverPanel-y0vtf5w9.stx} +1 -1
- package/dist/{Portal-j111yvqp.stx → Portal-s2q37yp0.stx} +1 -1
- package/dist/{Progress-gbmw3akr.stx → Progress-vmdkm06p.stx} +1 -1
- package/dist/{Radio-1n9qamv1.stx → Radio-04bs3d21.stx} +1 -1
- package/dist/{RadioGroup-12dw2vhk.stx → RadioGroup-bvb1mrhd.stx} +1 -1
- package/dist/{RadioGroupDescription-bjm3mdht.stx → RadioGroupDescription-yej78fak.stx} +1 -1
- package/dist/{ListboxLabel-aky8a73n.stx → RadioGroupLabel-7mymt1b8.stx} +1 -1
- package/dist/{RadioGroupOption-9pcxgwmd.stx → RadioGroupOption-cpdwgnhw.stx} +1 -1
- package/dist/{SearchInput-g240e2nq.stx → SearchInput-2521m475.stx} +1 -1
- package/dist/{Select-p9f94b20.stx → Select-g4mmvfv8.stx} +1 -1
- package/dist/{Sidebar-gwxw8q38.stx → Sidebar-40ckbzh8.stx} +1 -1
- package/dist/{SidebarFooter-887kxret.stx → SidebarFooter-hnth56mg.stx} +1 -1
- package/dist/{SidebarHeader-qjeyx0hv.stx → SidebarHeader-3wrte2p2.stx} +1 -1
- package/dist/{SidebarItem-4dpwtmb4.stx → SidebarItem-zqtvvzpc.stx} +1 -1
- package/dist/{SidebarSection-kh92fk4m.stx → SidebarSection-3etwnbjr.stx} +1 -1
- package/dist/{Signup-3nxq5zag.stx → Signup-c4dyv6f3.stx} +1 -1
- package/dist/{Skeleton-g0nx1njm.stx → Skeleton-v1pwa8nr.stx} +1 -1
- package/dist/{Spinner-w4zj58xp.stx → Spinner-7dahavkd.stx} +1 -1
- package/dist/{Stepper-rwc5actp.stx → Stepper-rgbk76hd.stx} +1 -1
- package/dist/{StepperStep-h0k657nm.stx → StepperStep-en4r00zv.stx} +1 -1
- package/dist/{SubscriptionCheckout-4cbxdg7w.stx → SubscriptionCheckout-gawjzf3q.stx} +2 -2
- package/dist/{Switch-kjq8qd2p.stx → Switch-036j9vm1.stx} +1 -1
- package/dist/{Table-59j9qwp0.stx → Table-6cx8az9h.stx} +1 -1
- package/dist/{TableBody-reka2gwv.stx → TableBody-wf6t13j9.stx} +1 -1
- package/dist/{TableCell-j7nh4sgr.stx → TableCell-ntx0edbn.stx} +1 -1
- package/dist/{TableHead-ecbrwpqm.stx → TableHead-3k4hnm2k.stx} +1 -1
- package/dist/{TableHeader-jn2shwsv.stx → TableHeader-ydys9rzz.stx} +1 -1
- package/dist/{TableRow-xz8rrxhc.stx → TableRow-z09p2ebf.stx} +1 -1
- package/dist/{Tabs-kb6ex6m7.stx → Tabs-svh721m0.stx} +2 -2
- package/dist/{Teleport-819cg9zm.stx → Teleport-qfch3w0b.stx} +1 -1
- package/dist/{TextInput-zx9kgr79.stx → TextInput-k2kfkgy1.stx} +2 -2
- package/dist/{Textarea-5xvmrb0z.stx → Textarea-szad57dz.stx} +1 -1
- package/dist/{Tooltip-5ehqsy49.stx → Tooltip-em7t551n.stx} +1 -1
- package/dist/{Transition-2j39s044.stx → Transition-0hmr6zxb.stx} +1 -1
- package/dist/{TwoFactorChallenge-2q4gg89m.stx → TwoFactorChallenge-an9yvxvq.stx} +2 -2
- package/dist/{Video-6aq4shh4.stx → Video-crxva65p.stx} +1 -1
- package/dist/{VirtualList-weh5qtm1.stx → VirtualList-cndhjejh.stx} +1 -1
- package/dist/{VirtualTable-59a1eskc.stx → VirtualTable-ng0b48yp.stx} +1 -1
- package/dist/components/CodeBlock.stx +12 -0
- package/dist/components/Footer.stx +8 -0
- package/dist/components/Hero.stx +3 -0
- package/dist/components/Installation.stx +5 -0
- package/dist/index.js +9 -9
- package/dist/ui/accordion/Accordion.stx +10 -0
- package/dist/ui/audio/Audio.stx +11 -0
- package/dist/ui/auth/Login.stx +10 -0
- package/dist/ui/auth/Signup.stx +5 -0
- package/dist/ui/auth/TwoFactorChallenge.stx +9 -0
- package/dist/ui/avatar/Avatar.stx +15 -0
- package/dist/ui/badge/Badge.stx +9 -0
- package/dist/ui/breadcrumb/Breadcrumb.stx +9 -0
- package/dist/ui/button/Button.stx +14 -0
- package/dist/ui/button/index.d.ts +2 -2
- package/dist/ui/calendar/Calendar.stx +10 -0
- package/dist/ui/card/Card.stx +12 -0
- package/dist/ui/checkbox/Checkbox.stx +15 -0
- package/dist/ui/combobox/Combobox.stx +4 -0
- package/dist/ui/combobox/ComboboxButton.stx +2 -0
- package/dist/ui/combobox/ComboboxInput.stx +8 -0
- package/dist/ui/combobox/ComboboxOption.stx +13 -0
- package/dist/ui/combobox/ComboboxOptions.stx +3 -0
- package/dist/ui/command-palette/CommandPalette.stx +8 -0
- package/dist/ui/command-palette/CommandPaletteItem.stx +8 -0
- package/dist/ui/dialog/Dialog.stx +5 -0
- package/dist/ui/dialog/DialogBackdrop.stx +2 -0
- package/dist/ui/dialog/DialogDescription.stx +2 -0
- package/dist/ui/dialog/DialogPanel.stx +2 -0
- package/dist/ui/dialog/DialogTitle.stx +2 -0
- package/dist/ui/drawer/Drawer.stx +9 -0
- package/dist/ui/dropdown/Dropdown.stx +7 -0
- package/dist/ui/dropdown/DropdownButton.stx +6 -0
- package/dist/ui/dropdown/DropdownItem.stx +10 -0
- package/dist/ui/dropdown/DropdownItems.stx +3 -0
- package/dist/ui/form/Form.stx +11 -0
- package/dist/ui/form/index.d.ts +2 -2
- package/dist/ui/image/Image.stx +26 -0
- package/dist/ui/input/EmailInput.stx +11 -0
- package/dist/ui/input/NumberInput.stx +19 -0
- package/dist/ui/input/PasswordInput.stx +19 -0
- package/dist/ui/input/SearchInput.stx +12 -0
- package/dist/ui/input/TextInput.stx +22 -0
- package/dist/ui/input/index.d.ts +6 -6
- package/dist/ui/listbox/Listbox.stx +5 -0
- package/dist/ui/listbox/ListboxButton.stx +3 -0
- package/dist/ui/listbox/ListboxLabel.stx +2 -0
- package/dist/ui/listbox/ListboxOption.stx +13 -0
- package/dist/ui/listbox/ListboxOptions.stx +3 -0
- package/dist/ui/navigator/Navigator.stx +8 -0
- package/dist/ui/notification/Notification.stx +12 -0
- package/dist/ui/pagination/Pagination.stx +12 -0
- package/dist/ui/payment/Checkout.stx +13 -0
- package/dist/ui/payment/DefaultPaymentMethod.stx +4 -0
- package/dist/ui/payment/PaymentMethods.stx +6 -0
- package/dist/ui/payment/SubscriptionCheckout.stx +191 -0
- package/dist/ui/popover/Popover.stx +7 -0
- package/dist/ui/popover/PopoverButton.stx +6 -0
- package/dist/ui/popover/PopoverPanel.stx +4 -0
- package/dist/ui/portal/Portal.stx +2 -0
- package/dist/ui/progress/Progress.stx +14 -0
- package/dist/ui/radio/Radio.stx +14 -0
- package/dist/ui/radio-group/RadioGroup.stx +4 -0
- package/dist/ui/radio-group/RadioGroupDescription.stx +2 -0
- package/dist/ui/radio-group/RadioGroupLabel.stx +2 -0
- package/dist/ui/radio-group/RadioGroupOption.stx +13 -0
- package/dist/ui/select/Select.stx +14 -0
- package/dist/ui/sidebar/Sidebar.stx +33 -0
- package/dist/ui/sidebar/SidebarFooter.stx +27 -0
- package/dist/ui/sidebar/SidebarHeader.stx +26 -0
- package/dist/ui/sidebar/SidebarItem.stx +28 -0
- package/dist/ui/sidebar/SidebarSection.stx +25 -0
- package/dist/ui/skeleton/Skeleton.stx +9 -0
- package/dist/ui/spinner/Spinner.stx +9 -0
- package/dist/ui/stepper/Stepper.stx +4 -0
- package/dist/ui/stepper/StepperStep.stx +12 -0
- package/dist/ui/switch/Switch.stx +15 -0
- package/dist/ui/table/Table.stx +3 -0
- package/dist/ui/table/TableBody.stx +1 -0
- package/dist/ui/table/TableCell.stx +1 -0
- package/dist/ui/table/TableHead.stx +1 -0
- package/dist/ui/table/TableHeader.stx +3 -0
- package/dist/ui/table/TableRow.stx +2 -0
- package/dist/ui/tabs/Tabs.stx +9 -0
- package/dist/ui/teleport/Teleport.stx +3 -0
- package/dist/ui/textarea/Textarea.stx +18 -0
- package/dist/ui/tooltip/Tooltip.stx +9 -0
- package/dist/ui/transition/Transition.stx +27 -0
- package/dist/ui/video/Video.stx +15 -0
- package/dist/ui/virtual-list/VirtualList.stx +9 -0
- package/dist/ui/virtual-table/VirtualTable.stx +16 -0
- package/dist/utils/accessibility.d.ts +10 -25
- package/dist/utils/animation/easing.d.ts +75 -0
- package/dist/utils/error-handling.d.ts +8 -21
- package/dist/utils/i18n.d.ts +36 -86
- package/package.json +5 -3
- package/src/ui/accordion/Accordion.stx +2 -2
- package/src/ui/audio/Audio.stx +1 -1
- package/src/ui/audio/README.md +5 -6
- package/src/ui/auth/Login.stx +1 -1
- package/src/ui/auth/README.md +30 -33
- package/src/ui/auth/Signup.stx +1 -1
- package/src/ui/auth/TwoFactorChallenge.stx +2 -2
- package/src/ui/avatar/Avatar.stx +1 -1
- package/src/ui/badge/Badge.stx +2 -2
- package/src/ui/breadcrumb/Breadcrumb.stx +1 -1
- package/src/ui/button/Button.stx +2 -2
- package/src/ui/button/README.md +12 -32
- package/src/ui/calendar/Calendar.stx +5 -5
- package/src/ui/card/Card.stx +2 -2
- package/src/ui/checkbox/Checkbox.stx +1 -1
- package/src/ui/combobox/Combobox.stx +1 -1
- package/src/ui/combobox/ComboboxButton.stx +1 -1
- package/src/ui/combobox/ComboboxInput.stx +1 -1
- package/src/ui/combobox/ComboboxOption.stx +1 -1
- package/src/ui/combobox/ComboboxOptions.stx +1 -1
- package/src/ui/combobox/README.md +25 -29
- package/src/ui/command-palette/CommandPalette.stx +1 -1
- package/src/ui/command-palette/CommandPaletteItem.stx +1 -1
- package/src/ui/command-palette/README.md +8 -8
- package/src/ui/dialog/Dialog.stx +1 -1
- package/src/ui/dialog/DialogBackdrop.stx +1 -1
- package/src/ui/dialog/DialogDescription.stx +1 -1
- package/src/ui/dialog/DialogPanel.stx +1 -1
- package/src/ui/dialog/DialogTitle.stx +1 -1
- package/src/ui/dialog/README.md +26 -38
- package/src/ui/drawer/Drawer.stx +3 -3
- package/src/ui/drawer/README.md +13 -33
- package/src/ui/dropdown/Dropdown.stx +1 -1
- package/src/ui/dropdown/DropdownButton.stx +1 -1
- package/src/ui/dropdown/DropdownItem.stx +1 -1
- package/src/ui/dropdown/DropdownItems.stx +1 -1
- package/src/ui/dropdown/README.md +28 -56
- package/src/ui/form/Form.stx +1 -1
- package/src/ui/image/Image.stx +1 -1
- package/src/ui/image/README.md +45 -52
- package/src/ui/input/EmailInput.stx +1 -1
- package/src/ui/input/NumberInput.stx +3 -3
- package/src/ui/input/PasswordInput.stx +2 -2
- package/src/ui/input/SearchInput.stx +1 -1
- package/src/ui/input/TextInput.stx +2 -2
- package/src/ui/listbox/Listbox.stx +1 -1
- package/src/ui/listbox/ListboxButton.stx +1 -1
- package/src/ui/listbox/ListboxLabel.stx +1 -1
- package/src/ui/listbox/ListboxOption.stx +1 -1
- package/src/ui/listbox/ListboxOptions.stx +1 -1
- package/src/ui/listbox/README.md +21 -29
- package/src/ui/navigator/Navigator.stx +3 -3
- package/src/ui/notification/Notification.stx +1 -1
- package/src/ui/notification/README.md +28 -32
- package/src/ui/pagination/Pagination.stx +6 -6
- package/src/ui/payment/Checkout.stx +1 -1
- package/src/ui/payment/DefaultPaymentMethod.stx +1 -1
- package/src/ui/payment/PaymentMethods.stx +3 -3
- package/src/ui/payment/README.md +59 -141
- package/src/ui/payment/SubscriptionCheckout.stx +2 -2
- package/src/ui/popover/Popover.stx +1 -1
- package/src/ui/popover/PopoverButton.stx +1 -1
- package/src/ui/popover/PopoverPanel.stx +1 -1
- package/src/ui/popover/README.md +10 -14
- package/src/ui/portal/Portal.stx +1 -1
- package/src/ui/progress/Progress.stx +1 -1
- package/src/ui/radio/Radio.stx +1 -1
- package/src/ui/radio-group/README.md +29 -35
- package/src/ui/radio-group/RadioGroup.stx +1 -1
- package/src/ui/radio-group/RadioGroupDescription.stx +1 -1
- package/src/ui/radio-group/RadioGroupLabel.stx +1 -1
- package/src/ui/radio-group/RadioGroupOption.stx +1 -1
- package/src/ui/select/README.md +49 -73
- package/src/ui/select/Select.stx +1 -1
- package/src/ui/sidebar/Sidebar.stx +1 -1
- package/src/ui/sidebar/SidebarFooter.stx +1 -1
- package/src/ui/sidebar/SidebarHeader.stx +1 -1
- package/src/ui/sidebar/SidebarItem.stx +1 -1
- package/src/ui/sidebar/SidebarSection.stx +1 -1
- package/src/ui/skeleton/Skeleton.stx +1 -1
- package/src/ui/spinner/Spinner.stx +1 -1
- package/src/ui/stepper/README.md +8 -8
- package/src/ui/stepper/Stepper.stx +1 -1
- package/src/ui/stepper/StepperStep.stx +1 -1
- package/src/ui/switch/README.md +10 -29
- package/src/ui/switch/Switch.stx +1 -1
- package/src/ui/table/README.md +17 -17
- package/src/ui/table/Table.stx +1 -1
- package/src/ui/table/TableBody.stx +1 -1
- package/src/ui/table/TableCell.stx +1 -1
- package/src/ui/table/TableHead.stx +1 -1
- package/src/ui/table/TableHeader.stx +1 -1
- package/src/ui/table/TableRow.stx +1 -1
- package/src/ui/tabs/Tabs.stx +2 -2
- package/src/ui/teleport/Teleport.stx +1 -1
- package/src/ui/textarea/Textarea.stx +1 -1
- package/src/ui/tooltip/Tooltip.stx +1 -1
- package/src/ui/transition/README.md +4 -4
- package/src/ui/transition/Transition.stx +1 -1
- package/src/ui/video/README.md +7 -8
- package/src/ui/video/Video.stx +1 -1
- package/src/ui/virtual-list/VirtualList.stx +1 -1
- package/src/ui/virtual-table/VirtualTable.stx +1 -1
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
function
|
|
3
|
-
`)}function N(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function
|
|
2
|
+
function fa(e){let{code:s,onSuccess:t,onError:r,timeout:a=2000}=e,o=!1,i=null;return{copied:o,copy:async()=>{try{if(!navigator.clipboard)throw Error("Clipboard API not available");await navigator.clipboard.writeText(s),o=!0,t?.(),i=setTimeout(()=>{o=!1,i=null},a)}catch(c){let u=c instanceof Error?c:Error("Failed to copy code");r?.(u),console.error("Failed to copy code:",u)}},reset:()=>{if(o=!1,i)clearTimeout(i),i=null}}}async function ba(e){try{return await navigator.clipboard.writeText(e),!0}catch(s){return console.error("Failed to copy to clipboard:",s),!1}}function le(){if(typeof window>"u")return"light";return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function X(e){return e==="system"?le():e}function ma(e={}){let{storageKey:s="theme",defaultTheme:t="system"}=e,r=t;if(typeof window<"u"&&typeof localStorage<"u"){let d=localStorage.getItem(s);if(d)r=d}let a=X(r)==="dark",o=(d)=>{let c=X(d);if(typeof document<"u")if(c==="dark")document.documentElement.classList.add("dark");else document.documentElement.classList.remove("dark");if(typeof localStorage<"u")localStorage.setItem(s,d)},i=(d)=>{r=d,o(d)},n=()=>{let c=X(r)==="dark"?"light":"dark";i(c)};if(o(r),typeof window<"u"&&r==="system")window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(d)=>{if(r==="system")o("system")});return{isDark:a,theme:r,toggle:n,setTheme:i}}function de(e,s){if(typeof document>"u")return;document.title=s?s.replace("%s",e):e}function S(e,s,t=!1){if(typeof document>"u")return;let r=t?"property":"name",a=document.querySelector(`meta[${r}="${e}"]`);if(!a)a=document.createElement("meta"),a.setAttribute(r,e),document.head.appendChild(a);a.setAttribute("content",s)}function ce(e,s){if(typeof document>"u")return;let t=document.querySelector(`link[rel="${e}"]`);if(!t)t=document.createElement("link"),t.setAttribute("rel",e),document.head.appendChild(t);t.setAttribute("href",s)}function va(e){let{title:s,description:t,author:r,keywords:a,ogImage:o,ogImageWidth:i,ogImageHeight:n,twitterCard:d="summary_large_image",twitterSite:c,twitterCreator:u,canonical:p}=e;if(s)de(s),S("og:title",s,!0),S("twitter:title",s);if(t)S("description",t),S("og:description",t,!0),S("twitter:description",t);if(r)S("author",r);if(a&&a.length>0)S("keywords",a.join(", "));if(o)S("og:image",o,!0),S("twitter:image",o);if(i)S("og:image:width",i,!0);if(n)S("og:image:height",n,!0);if(S("twitter:card",d),c)S("twitter:site",c);if(u)S("twitter:creator",u);if(p)ce("canonical",p);if(S("og:type","website",!0),typeof window<"u")S("og:url",window.location.href,!0)}function Ca(e){let s=[],{title:t,description:r,author:a,keywords:o,ogImage:i,ogImageWidth:n,ogImageHeight:d,twitterCard:c="summary_large_image",twitterSite:u,twitterCreator:p,canonical:x}=e;if(t)s.push(`<title>${N(t)}</title>`),s.push(`<meta property="og:title" content="${N(t)}" />`),s.push(`<meta name="twitter:title" content="${N(t)}" />`);if(r)s.push(`<meta name="description" content="${N(r)}" />`),s.push(`<meta property="og:description" content="${N(r)}" />`),s.push(`<meta name="twitter:description" content="${N(r)}" />`);if(a)s.push(`<meta name="author" content="${N(a)}" />`);if(o&&o.length>0)s.push(`<meta name="keywords" content="${N(o.join(", "))}" />`);if(i)s.push(`<meta property="og:image" content="${N(i)}" />`),s.push(`<meta name="twitter:image" content="${N(i)}" />`);if(n)s.push(`<meta property="og:image:width" content="${N(n)}" />`);if(d)s.push(`<meta property="og:image:height" content="${N(d)}" />`);if(s.push(`<meta name="twitter:card" content="${N(c)}" />`),u)s.push(`<meta name="twitter:site" content="${N(u)}" />`);if(p)s.push(`<meta name="twitter:creator" content="${N(p)}" />`);if(x)s.push(`<link rel="canonical" href="${N(x)}" />`);return s.push('<meta property="og:type" content="website" />'),s.join(`
|
|
3
|
+
`)}function N(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function wa(e,s,t={}){let{enabled:r=!0,ignore:a=[]}=t,o=(i)=>{if(!r||!e)return;let n=i.target;if(!e.contains(n)){if(!a.some((c)=>{let u=document.querySelectorAll(c);return Array.from(u).some((p)=>p.contains(n))}))s(i)}};if(typeof document<"u")document.addEventListener("mousedown",o),document.addEventListener("touchstart",o);return()=>{if(typeof document<"u")document.removeEventListener("mousedown",o),document.removeEventListener("touchstart",o)}}function ka(e,s={}){let{enabled:t=!0,initialFocus:r=null,returnFocus:a=!0,fallbackFocus:o=null}=s,i=null,n=!1;function d(){if(!e)return[];let f=["a[href]","button:not([disabled])","textarea:not([disabled])","input:not([disabled])","select:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");return Array.from(e.querySelectorAll(f))}function c(f){if(!t||!n||!e)return;let C=d();if(C.length===0){f.preventDefault();return}let v=C[0],k=C[C.length-1];if(f.shiftKey){if(document.activeElement===v||document.activeElement===e)f.preventDefault(),k.focus()}else if(document.activeElement===k)f.preventDefault(),v.focus()}function u(f){if(f.key==="Escape"&&t&&n)x()}function p(){if(!t||!e||n)return;if(i=document.activeElement,r)r.focus();else{let f=d();if(f.length>0)f[0].focus();else if(o)o.focus();else e.focus()}document.addEventListener("keydown",c),document.addEventListener("keydown",u),n=!0}function x(){if(!n)return;if(document.removeEventListener("keydown",c),document.removeEventListener("keydown",u),a&&i)i.focus();n=!1}return{activate:p,deactivate:x}}function Na(e,s={}){let{enabled:t=!0,preventDefault:r=!0,stopPropagation:a=!1,target:o=typeof document<"u"?document:null}=s,i=Array.isArray(e)?e:[e],n=(d)=>{if(!t)return;i.forEach((c)=>{if(!(Array.isArray(c.key)?c.key:[c.key]).some((x)=>x.toLowerCase()===d.key.toLowerCase()))return;if(c.ctrl!==void 0&&c.ctrl!==d.ctrlKey)return;if(c.shift!==void 0&&c.shift!==d.shiftKey)return;if(c.alt!==void 0&&c.alt!==d.altKey)return;if(c.meta!==void 0&&c.meta!==d.metaKey)return;if(r)d.preventDefault();if(a)d.stopPropagation();c.handler(d)})};if(o)o.addEventListener("keydown",n);return()=>{if(o)o.removeEventListener("keydown",n)}}var za={ESCAPE:"Escape",ENTER:"Enter",SPACE:" ",TAB:"Tab",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",HOME:"Home",END:"End",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown"};function La(e,s,t={}){let{serializer:r=JSON.stringify,deserializer:a=JSON.parse,onError:o=console.error}=t,i=s;try{if(typeof window<"u"){let p=window.localStorage.getItem(e);if(p!==null)i=a(p)}}catch(p){o(p)}let n=i,d=new Set;function c(p){try{let x=typeof p==="function"?p(n):p;if(n=x,typeof window<"u")window.localStorage.setItem(e,r(x));d.forEach((f)=>f(x))}catch(x){o(x)}}function u(){try{if(n=s,typeof window<"u")window.localStorage.removeItem(e);d.forEach((p)=>p(s))}catch(p){o(p)}}if(typeof window<"u"){let p=(x)=>{if(x.key===e&&x.newValue!==null)try{let f=a(x.newValue);n=f,d.forEach((C)=>C(f))}catch(f){o(f)}else if(x.key===e&&x.newValue===null)n=s,d.forEach((f)=>f(s))};window.addEventListener("storage",p)}return{value:n,setValue:c,removeValue:u}}function j(e,s={}){let{defaultValue:t=!1}=s,r=t,a=null;if(typeof window<"u"&&"matchMedia"in window){a=window.matchMedia(e),r=a.matches;let i=(n)=>{r=n.matches};if(a.addEventListener)a.addEventListener("change",i);else a.addListener(i)}function o(){if(a)r=a.matches}return{matches:r,updateMatches:o}}var q={xs:"(min-width: 320px)",sm:"(min-width: 640px)",md:"(min-width: 768px)",lg:"(min-width: 1024px)",xl:"(min-width: 1280px)","2xl":"(min-width: 1536px)",mobile:"(max-width: 767px)",tablet:"(min-width: 768px) and (max-width: 1023px)",desktop:"(min-width: 1024px)",dark:"(prefers-color-scheme: dark)",light:"(prefers-color-scheme: light)",reducedMotion:"(prefers-reduced-motion: reduce)",portrait:"(orientation: portrait)",landscape:"(orientation: landscape)"};function Ia(e){return j(q[e])}function Ta(){return j(q.mobile)}function Pa(){return j(q.desktop)}function Ba(){return j(q.dark)}function ja(){return j(q.reducedMotion)}var ge="./Accordion-sbfra0mz.stx";var fe="./Audio-vdmg1258.stx";var xe="./Login-rx9gyqhx.stx";var he="./Signup-c4dyv6f3.stx";var Ce="./TwoFactorChallenge-an9yvxvq.stx";var we="./Avatar-365cvrh4.stx";var ke="./Badge-8m3qete4.stx";var Ne="./Breadcrumb-7f7s4d02.stx";import R from"process";var ze="https://stacksjs.com/components";class z extends Error{component;context;constructor(e,s,t={}){let r=z.formatMessage(e,s,t);super(r);if(this.name="ComponentError",this.component=e,this.context={component:e,...t},Error.captureStackTrace)Error.captureStackTrace(this,z)}static formatMessage(e,s,t){let r=`[${e}] ${s}`;if(t.prop)r+=`
|
|
4
4
|
Prop: "${t.prop}"`;if(t.received!==void 0)r+=`
|
|
5
|
-
Received: ${JSON.stringify(t.received)}`;if(t.expected!==void 0){let
|
|
6
|
-
Expected: ${
|
|
5
|
+
Received: ${JSON.stringify(t.received)}`;if(t.expected!==void 0){let a=Array.isArray(t.expected)?t.expected.map((o)=>JSON.stringify(o)).join(", "):JSON.stringify(t.expected);r+=`
|
|
6
|
+
Expected: ${a}`}if(t.details)r+=`
|
|
7
7
|
Details: ${t.details}`;if(t.docsUrl)r+=`
|
|
8
8
|
Documentation: ${t.docsUrl}`;else if(e)r+=`
|
|
9
|
-
Documentation: ${ze}/${e.toLowerCase()}`;return r}toJSON(){return{name:this.name,message:this.message,component:this.component,context:this.context,stack:this.stack}}}var B={invalidProp(e,s,t,r){return new z(e,`Invalid prop value for "${s}"`,{prop:s,received:t,expected:r,details:Array.isArray(r)?`The "${s}" prop must be one of the allowed values`:`The "${s}" prop does not match the expected type`})},requiredProp(e,s){return new z(e,`Required prop "${s}" is missing`,{prop:s,details:`The "${s}" prop is required for ${e} to function correctly`})},invalidType(e,s,t,r){return new z(e,`Invalid type for prop "${s}"`,{prop:s,received:typeof t,expected:r,details:`Expected "${s}" to be of type ${r}, but received ${typeof t}`})},componentNotFound(e){return new z("ComponentLoader",`Component "${e}" not found`,{component:e,details:"Make sure the component is properly imported and registered"})},invalidChildren(e,s,t){return new z(e,"Invalid children",{received:typeof s,expected:t,details:`${e} expects ${t} as children`})},stateUpdate(e,s,t){return new z(e,`Failed to update state "${s}"`,{details:t.message})},eventHandler(e,s,t){return new z(e,`Error in "${s}" event handler`,{details:t.message})},render(e,s){return new z(e,"Failed to render component",{details:s.message})}},A=null;function
|
|
9
|
+
Documentation: ${ze}/${e.toLowerCase()}`;return r}toJSON(){return{name:this.name,message:this.message,component:this.component,context:this.context,stack:this.stack}}}var B={invalidProp(e,s,t,r){return new z(e,`Invalid prop value for "${s}"`,{prop:s,received:t,expected:r,details:Array.isArray(r)?`The "${s}" prop must be one of the allowed values`:`The "${s}" prop does not match the expected type`})},requiredProp(e,s){return new z(e,`Required prop "${s}" is missing`,{prop:s,details:`The "${s}" prop is required for ${e} to function correctly`})},invalidType(e,s,t,r){return new z(e,`Invalid type for prop "${s}"`,{prop:s,received:typeof t,expected:r,details:`Expected "${s}" to be of type ${r}, but received ${typeof t}`})},componentNotFound(e){return new z("ComponentLoader",`Component "${e}" not found`,{component:e,details:"Make sure the component is properly imported and registered"})},invalidChildren(e,s,t){return new z(e,"Invalid children",{received:typeof s,expected:t,details:`${e} expects ${t} as children`})},stateUpdate(e,s,t){return new z(e,`Failed to update state "${s}"`,{details:t.message})},eventHandler(e,s,t){return new z(e,`Error in "${s}" event handler`,{details:t.message})},render(e,s){return new z(e,"Failed to render component",{details:s.message})}},A=null;function io(e){A=e}function no(){A=null}function O(e,s={}){let{throwError:t=!0,logError:r=!0}=s;if(r&&R.env.NODE_ENV!=="production"){if(console.error("Component Error:",e),e instanceof z)console.group("Error Details"),console.log("Component:",e.component),console.log("Context:",e.context),console.groupEnd()}if(A)try{A(e)}catch(a){console.error("Error in error handler:",a)}if(t)throw e}function re(e,s,t){return(...r)=>{try{let a=e(...r);if(a instanceof Promise)return a.catch((o)=>{let i=B.eventHandler(s,t,o);throw O(i,{throwError:!1}),i});return a}catch(a){let o=B.eventHandler(s,t,a);throw O(o,{throwError:!1}),o}}}function De(e,s){if(!e)throw s}function Le(e,s,t={}){if(R.env.NODE_ENV==="production")return;let r=z.formatMessage(e,s,t);console.warn(`\u26A0\uFE0F ${r}`)}function lo(e,s){if(R.env.NODE_ENV==="production")return;De(e,s)}function co(e){let s=typeof R<"u"&&R.env.DEBUG==="true";return{log(...t){if(s)console.log(`[${e}]`,...t)},warn(t,r){Le(e,t,r)},error(t,r){let a=new z(e,t,r);O(a,{throwError:!1})}}}function po(e,s,t){try{return s()}catch(r){let a=B.render(e,r);return O(a,{throwError:!1}),t}}import Me from"process";var F=Me.env.NODE_ENV!=="production";class ${validate;message;isRequired;constructor(e,s,t=!1){this.validate=e;this.message=s;this.isRequired=t}get required(){return new $(this.validate,this.message,!0)}}var l={string:new $((e)=>typeof e==="string",(e,s,t)=>`Invalid prop \`${s}\` of type \`${typeof e}\` supplied to \`${t}\`, expected \`string\`.`),number:new $((e)=>typeof e==="number"&&!Number.isNaN(e),(e,s,t)=>`Invalid prop \`${s}\` of type \`${typeof e}\` supplied to \`${t}\`, expected \`number\`.`),boolean:new $((e)=>typeof e==="boolean",(e,s,t)=>`Invalid prop \`${s}\` of type \`${typeof e}\` supplied to \`${t}\`, expected \`boolean\`.`),func:new $((e)=>typeof e==="function",(e,s,t)=>`Invalid prop \`${s}\` of type \`${typeof e}\` supplied to \`${t}\`, expected \`function\`.`),object:new $((e)=>typeof e==="object"&&e!==null&&!Array.isArray(e),(e,s,t)=>`Invalid prop \`${s}\` of type \`${typeof e}\` supplied to \`${t}\`, expected \`object\`.`),array:new $((e)=>Array.isArray(e),(e,s,t)=>`Invalid prop \`${s}\` of type \`${typeof e}\` supplied to \`${t}\`, expected \`array\`.`),any:new $(()=>!0,()=>""),oneOf(e){return new $((s)=>e.includes(s),(s,t,r)=>`Invalid prop \`${t}\` of value \`${s}\` supplied to \`${r}\`, expected one of [${e.map((a)=>JSON.stringify(a)).join(", ")}].`)},oneOfType(e){return new $((s,t,r)=>e.some((a)=>a.validate(s,t,r)),(s,t,r)=>`Invalid prop \`${t}\` supplied to \`${r}\`, expected one of the specified types.`)},arrayOf(e){return new $((s,t,r)=>{if(!Array.isArray(s))return!1;return s.every((a,o)=>e.validate(a,`${t}[${o}]`,r))},(s,t,r)=>`Invalid prop \`${t}\` supplied to \`${r}\`, expected array of specified type.`)},shape(e){return new $((s,t,r)=>{if(typeof s!=="object"||s===null||Array.isArray(s))return!1;for(let[a,o]of Object.entries(e)){if(o.isRequired&&!(a in s))return!1;if(a in s&&!o.validate(s[a],`${t}.${a}`,r))return!1}return!0},(s,t,r)=>`Invalid prop \`${t}\` supplied to \`${r}\`, expected object matching specified shape.`)},instanceOf(e){return new $((s)=>s instanceof e,(s,t,r)=>`Invalid prop \`${t}\` supplied to \`${r}\`, expected instance of \`${e.name}\`.`)},custom(e,s){return new $(e,typeof s==="string"?()=>s:s)},min(e){return new $((s)=>typeof s==="number"&&s>=e,(s,t,r)=>`Invalid prop \`${t}\` of value \`${s}\` supplied to \`${r}\`, expected value >= ${e}.`)},max(e){return new $((s)=>typeof s==="number"&&s<=e,(s,t,r)=>`Invalid prop \`${t}\` of value \`${s}\` supplied to \`${r}\`, expected value <= ${e}.`)},range(e,s){return new $((t)=>typeof t==="number"&&t>=e&&t<=s,(t,r,a)=>`Invalid prop \`${r}\` of value \`${t}\` supplied to \`${a}\`, expected value between ${e} and ${s}.`)},pattern(e){return new $((s)=>typeof s==="string"&&e.test(s),(s,t,r)=>`Invalid prop \`${t}\` of value \`${s}\` supplied to \`${r}\`, expected value matching pattern ${e}.`)},email:new $((e)=>typeof e==="string"&&/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),(e,s,t)=>`Invalid prop \`${s}\` of value \`${e}\` supplied to \`${t}\`, expected valid email address.`),url:new $((e)=>{if(typeof e!=="string")return!1;try{let s=new URL(e);return!0}catch{return!1}},(e,s,t)=>`Invalid prop \`${s}\` of value \`${e}\` supplied to \`${t}\`, expected valid URL.`)};function Ie(e,s,t,r={}){let{throwOnError:a=!1,logWarnings:o=F}=r,i=[];if(!F)return{valid:!0,errors:[]};for(let[n,d]of Object.entries(t)){let c=s[n],u=c===void 0;if(d.isRequired&&u){let p=`Required prop \`${n}\` was not specified in \`${e}\`.`;i.push(p);continue}if(u)continue;if(!d.validate(c,n,e)){let p=d.message(c,n,e);i.push(p)}}if(i.length>0){if(o)console.group(`\u26A0\uFE0F Prop validation failed for \`${e}\``),i.forEach((n)=>console.warn(n)),console.groupEnd();if(a)throw Error(`Prop validation failed for \`${e}\`:
|
|
10
10
|
${i.join(`
|
|
11
|
-
`)}`)}return{valid:i.length===0,errors:i}}function M(e,s,t){return(r)=>Ie(e,r,s,t)}function fa(e,s,t="value"){if(!F)return;if(!s.validate(e,t,"assertion"))throw Error(s.message(e,t,"assertion"))}function ba(e,s,t="value"){if(!F)return;if(!s.validate(e,t,"warning"))console.warn(s.message(e,t,"warning"))}var Pe="./Button-7xtrzn14.stx";var Be={variant:l.oneOf(["primary","secondary","outline","ghost","danger"]),size:l.oneOf(["xs","sm","md","lg","xl"]),disabled:l.boolean,loading:l.boolean,type:l.oneOf(["button","submit","reset"]),fullWidth:l.boolean,leftIcon:l.string,rightIcon:l.string,className:l.string,onClick:l.func},Ca=M("Button",Be);function ya(e){return re(e,"Button","onClick")}function wa(e){if(e&&!["primary","secondary","outline","ghost","danger"].includes(e))throw B.invalidProp("Button","variant",e,["primary","secondary","outline","ghost","danger"])}function $a(e){if(e&&!["xs","sm","md","lg","xl"].includes(e))throw B.invalidProp("Button","size",e,["xs","sm","md","lg","xl"])}var qe="./Calendar-egvx1pma.stx";var He="./Card-r9w7vy1a.stx";var Ae="./Checkbox-m8v46pmx.stx";var Fe="./Combobox-npb08vkp.stx";var Ue="./ComboboxButton-vcdyq4zw.stx";var Ye="./ComboboxInput-c9d2p02m.stx";var Ve="./ComboboxOption-7d0h9ash.stx";var Xe="./ComboboxOptions-4dtqc0qa.stx";var Ke="./CommandPalette-ah00bf8v.stx";var es="./CommandPaletteItem-2yx0gvtj.stx";var ts="./Dialog-1w4rz7x0.stx";var os="./DialogBackdrop-qbm3y5ab.stx";var is="./DialogDescription-01w5j74b.stx";var ls="./DialogPanel-brsszrrs.stx";var cs="./DialogTitle-3rxhwg21.stx";var gs="./Drawer-yfaz8q7f.stx";var fs="./Dropdown-ng7nx556.stx";var xs="./DropdownButton-vc4zpyrb.stx";var hs="./DropdownItem-z491y23c.stx";var Cs="./DropdownItems-7ykf29sj.stx";var ws="./Form-z4f7w6r1.stx";var $s={action:l.string,method:l.oneOf(["GET","POST","PUT","DELETE","PATCH"]),validationSchema:l.object,initialValues:l.object,validateOnChange:l.boolean,validateOnBlur:l.boolean,onSubmit:l.func,onError:l.func,className:l.string},wi=M("Form",$s);var Ss="./Image-ktk0451c.stx";var zs="./EmailInput-bfshpj92.stx";var Ls="./NumberInput-zm93ddfw.stx";var Is="./PasswordInput-4xnndp5y.stx";var Ps="./SearchInput-g240e2nq.stx";var js="./TextInput-zx9kgr79.stx";var qs={value:l.string,onChange:l.func,placeholder:l.string,disabled:l.boolean,readonly:l.boolean,size:l.oneOf(["sm","md","lg"]),error:l.boolean,label:l.string,helperText:l.string,required:l.boolean,className:l.string,inputClassName:l.string},Rs={value:l.string,onChange:l.func,placeholder:l.string,disabled:l.boolean,readonly:l.boolean,size:l.oneOf(["sm","md","lg"]),error:l.boolean,label:l.string,helperText:l.string,required:l.boolean,className:l.string,inputClassName:l.string,leftIcon:l.string,rightIcon:l.string,clearable:l.boolean,maxLength:l.number,showCount:l.boolean},Hs={value:l.string,onChange:l.func,placeholder:l.string,disabled:l.boolean,readonly:l.boolean,size:l.oneOf(["sm","md","lg"]),error:l.boolean,label:l.string,helperText:l.string,required:l.boolean,className:l.string,inputClassName:l.string,min:l.number,max:l.number,step:l.number,showControls:l.boolean},Es={value:l.string,onChange:l.func,placeholder:l.string,disabled:l.boolean,readonly:l.boolean,size:l.oneOf(["sm","md","lg"]),error:l.boolean,label:l.string,helperText:l.string,required:l.boolean,className:l.string,inputClassName:l.string,showStrength:l.boolean},As={value:l.string,onChange:l.func,placeholder:l.string,disabled:l.boolean,readonly:l.boolean,size:l.oneOf(["sm","md","lg"]),error:l.boolean,label:l.string,helperText:l.string,required:l.boolean,className:l.string,inputClassName:l.string,onSearch:l.func,loading:l.boolean},Bi=M("TextInput",Rs),ji=M("EmailInput",qs),qi=M("PasswordInput",Es),Ri=M("NumberInput",Hs),Hi=M("SearchInput",As);var Fs="./Listbox-xcejcmyc.stx";var Us="./ListboxButton-nx5kmw19.stx";var Ys="./ListboxLabel-aky8a73n.stx";var Vs="./ListboxOption-6h4hsdz5.stx";var Xs="./ListboxOptions-2sacdtm5.stx";var Ks="./Navigator-tqqdgdkw.stx";var et="./Notification-sry8egea.stx";var tt="./Pagination-yza9v4qw.stx";var ot="./Checkout-vcnnr176.stx";var it="./DefaultPaymentMethod-emw5fg8s.stx";var lt="./PaymentMethods-jxba6kek.stx";var ct="./SubscriptionCheckout-4cbxdg7w.stx";var gt="./Popover-scbqatjq.stx";var ft="./PopoverButton-rbxhzj4k.stx";var xt="./PopoverPanel-9ng1rm6e.stx";var ht="./Portal-j111yvqp.stx";var Ct="./Progress-gbmw3akr.stx";var wt="./Radio-1n9qamv1.stx";var kt="./RadioGroup-12dw2vhk.stx";var Nt="./RadioGroupDescription-bjm3mdht.stx";var Dt="./RadioGroupLabel-aky8a73n.stx";var Mt="./RadioGroupOption-9pcxgwmd.stx";var Tt="./Select-p9f94b20.stx";var Bt="./Sidebar-gwxw8q38.stx";var qt="./SidebarSection-kh92fk4m.stx";var Ht="./SidebarItem-4dpwtmb4.stx";var At="./SidebarHeader-qjeyx0hv.stx";var Ft="./SidebarFooter-887kxret.stx";var Ut="./Skeleton-g0nx1njm.stx";var Yt="./Spinner-w4zj58xp.stx";var Vt="./Stepper-rwc5actp.stx";var Xt="./StepperStep-h0k657nm.stx";class G{storage;namespace;watchers=new Map;encryptionKey="stx-storage-key";constructor(e="local",s=""){if(this.storage=e==="local"?globalThis.localStorage:globalThis.sessionStorage,this.namespace=s,typeof window<"u")window.addEventListener("storage",this.handleStorageEvent.bind(this))}handleStorageEvent(e){if(!e.key)return;let s=this.namespace&&e.key.startsWith(`${this.namespace}:`)?e.key.slice(this.namespace.length+1):e.key,t=this.watchers.get(s);if(t){let r=e.oldValue?JSON.parse(e.oldValue).value:null,o=e.newValue?JSON.parse(e.newValue).value:null;t.forEach((a)=>a(o,r,s))}}encrypt(e){let s="";for(let t=0;t<e.length;t++)s+=String.fromCharCode(e.charCodeAt(t)^this.encryptionKey.charCodeAt(t%this.encryptionKey.length));return btoa(s)}decrypt(e){try{let s=atob(e),t="";for(let r=0;r<s.length;r++)t+=String.fromCharCode(s.charCodeAt(r)^this.encryptionKey.charCodeAt(r%this.encryptionKey.length));return t}catch{return e}}compress(e){if(e.length<100)return e;let s={},t=256,r=[],o="";for(let a=0;a<e.length;a++){let i=e.charAt(a),n=o+i;if(s[n]!==void 0)o=n;else r.push(o.length>1?s[o]:o.charCodeAt(0)),s[n]=t++,o=i}if(o!=="")r.push(o.length>1?s[o]:o.charCodeAt(0));return JSON.stringify(r)}decompress(e){try{let s=JSON.parse(e);if(!Array.isArray(s))return e;let t={},r=256,o=String.fromCharCode(s[0]),a=o;for(let i=1;i<s.length;i++){let n=s[i],d;if(t[n]!==void 0)d=t[n];else if(n===r)d=o+o.charAt(0);else return e;a+=d,t[r++]=o+d.charAt(0),o=d}return a}catch{return e}}getKey(e){return this.namespace?`${this.namespace}:${e}`:e}set(e,s,t){let r=this.getKey(e),o=this.get(e),a={value:s,timestamp:Date.now(),expire:t?.expire,encrypted:t?.encrypt||!1,compressed:t?.compress||!1};try{let i=JSON.stringify(a);if(t?.compress)i=this.compress(i);if(t?.encrypt)i=this.encrypt(i);this.storage.setItem(r,i),this.notifyWatchers(e,s,o)}catch(i){console.error("Storage set error:",i)}}get(e){let s=this.getKey(e);try{let t=this.storage.getItem(s);if(!t)return null;if(t.match(/^[A-Z0-9+/]+=*$/i))try{t=this.decrypt(t)}catch{}if(t.startsWith("["))try{t=this.decompress(t)}catch{}let r=JSON.parse(t);if(r.expire&&Date.now()-r.timestamp>r.expire)return this.remove(e),null;return r.value}catch(t){return console.error("Storage get error:",t),null}}watch(e,s){if(!this.watchers.has(e))this.watchers.set(e,new Set);return this.watchers.get(e).add(s),()=>{let t=this.watchers.get(e);if(t){if(t.delete(s),t.size===0)this.watchers.delete(e)}}}notifyWatchers(e,s,t){let r=this.watchers.get(e);if(r)r.forEach((o)=>o(s,t,e))}remove(e){let s=this.getKey(e),t=this.get(e);this.storage.removeItem(s),this.notifyWatchers(e,null,t)}clear(){if(this.namespace)this.keys().forEach((s)=>this.remove(s));else this.storage.clear()}has(e){return this.get(e)!==null}keys(){let e=Object.keys(this.storage);if(this.namespace){let s=`${this.namespace}:`;return e.filter((t)=>t.startsWith(s)).map((t)=>t.slice(s.length))}return e}size(){return this.keys().length}getQuota(){if("storage"in navigator&&"estimate"in navigator.storage)return null;try{let e=0;for(let t=0;t<this.storage.length;t++){let r=this.storage.key(t);if(r){let o=this.storage.getItem(r)||"";e+=r.length+o.length}}let s=5242880;return{usage:e*2,quota:s,percentage:e*2/s*100}}catch{return null}}setMany(e,s){Object.entries(e).forEach(([t,r])=>{this.set(t,r,s)})}getMany(e){let s={};return e.forEach((t)=>{s[t]=this.get(t)}),s}removeMany(e){e.forEach((s)=>this.remove(s))}}var ml={local:new G("local"),session:new G("session")};function hl(e="local",s){return new G(e,s)}var Kt="./Switch-kjq8qd2p.stx";var er="./Table-59j9qwp0.stx";var tr="./TableBody-reka2gwv.stx";var or="./TableCell-j7nh4sgr.stx";var ir="./TableHead-ecbrwpqm.stx";var lr="./TableHeader-jn2shwsv.stx";var cr="./TableRow-xz8rrxhc.stx";var gr="./Tabs-kb6ex6m7.stx";var fr="./Teleport-819cg9zm.stx";var xr="./Textarea-5xvmrb0z.stx";var hr="./Tooltip-5ehqsy49.stx";var Cr="./Transition-2j39s044.stx";var wr="./Video-6aq4shh4.stx";var kr="./VirtualList-weh5qtm1.stx";var Nr="./VirtualTable-59a1eskc.stx";var zr=0;function oe(e="a11y"){return`${e}-${++zr}-${Date.now()}`}function id(e,s,t={}){let{visible:r=!1,id:o=oe("label")}=t,a=document.createElement(r?"label":"span");if(a.id=o,a.textContent=e,!r)Object.assign(a.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:"0"});if(s)if(s.setAttribute("aria-labelledby",o),s.parentElement)s.parentElement.insertBefore(a,s);else document.body.appendChild(a);return o}function nd(e,s){let t=oe("desc"),r=document.createElement("span");if(r.id=t,r.textContent=e,Object.assign(r.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:"0"}),s)if(s.setAttribute("aria-describedby",t),s.parentElement)s.parentElement.insertBefore(r,s);else document.body.appendChild(r);return t}function ld(e,s="polite"){let t=document.createElement("div");t.setAttribute("role","status"),t.setAttribute("aria-live",s),t.setAttribute("aria-atomic","true"),Object.assign(t.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:"0"}),document.body.appendChild(t),setTimeout(()=>{t.textContent=e},100),setTimeout(()=>{document.body.removeChild(t)},1000)}function J(e){let s=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(",");return Array.from(e.querySelectorAll(s)).filter((t)=>t.offsetParent!==null)}function dd(e,s={}){let{initialFocus:t,returnFocus:r,escapeDeactivates:o=!0,clickOutsideDeactivates:a=!0,allowOutsideClick:i=!1,onActivate:n,onDeactivate:d}=s,c=!1,u=!1,p=null,x=(h)=>{if(u)return;if(o&&h.key==="Escape"){h.preventDefault(),v();return}if(h.key==="Tab"){let w=J(e);if(w.length===0){h.preventDefault();return}let D=w[0],T=w[w.length-1];if(h.shiftKey){if(document.activeElement===D)h.preventDefault(),T.focus()}else if(document.activeElement===T)h.preventDefault(),D.focus()}},f=(h)=>{if(u)return;if(!e.contains(h.target)){if(typeof i==="function"){if(!i(h)&&a)v()}else if(!i&&a)v()}};function C(){if(c)return;c=!0,p=document.activeElement;let h=t||J(e)[0];if(h&&typeof h.focus==="function")h.focus();document.addEventListener("keydown",x),document.addEventListener("click",f),n?.()}function v(){if(!c)return;c=!1;let h=r||p;if(h&&typeof h.focus==="function")h.focus();document.removeEventListener("keydown",x),document.removeEventListener("click",f),d?.()}function k(){u=!0}function m(){u=!1}return{activate:C,deactivate:v,pause:k,unpause:m}}function cd(e,s={}){let{selector:t='[role="option"], [role="menuitem"], [role="tab"], button',initialIndex:r=0,orientation:o="both",loop:a=!0,onFocusChange:i}=s,n=r,d=()=>{return Array.from(e.querySelectorAll(t))},c=(p)=>{let x=d();if(p<0||p>=x.length)return;x.forEach((f,C)=>{if(C===p){if(f.setAttribute("tabindex","0"),typeof f.focus==="function")f.focus()}else f.setAttribute("tabindex","-1")}),n=p,i?.(p,x[p])},u=(p)=>{let f=d().length-1,C=!1,v=n;switch(p.key){case"ArrowRight":if(o==="horizontal"||o==="both"){if(v=n+1,v>f)v=a?0:f;C=!0}break;case"ArrowLeft":if(o==="horizontal"||o==="both"){if(v=n-1,v<0)v=a?f:0;C=!0}break;case"ArrowDown":if(o==="vertical"||o==="both"){if(v=n+1,v>f)v=a?0:f;C=!0}break;case"ArrowUp":if(o==="vertical"||o==="both"){if(v=n-1,v<0)v=a?f:0;C=!0}break;case"Home":v=0,C=!0;break;case"End":v=f,C=!0;break}if(C)p.preventDefault(),c(v)};return c(r),e.addEventListener("keydown",u),()=>{e.removeEventListener("keydown",u)}}var pd={Enter:"Enter",Space:" ",Escape:"Escape",ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",Tab:"Tab",Home:"Home",End:"End",PageUp:"PageUp",PageDown:"PageDown"};function gd(e){return document.activeElement===e}function ud(e,s){let t=s||document.activeElement,r=J(document.body),o=r.indexOf(t);if(o===-1)return;let a=e==="next"?o+1:o-1,i=r[a];if(i)i.focus()}function fd(e){if(e.getAttribute("aria-hidden")==="true")return!1;let s=window.getComputedStyle(e);if(s.display==="none"||s.visibility==="hidden")return!1;return!0}var bd={setExpanded(e,s){e.setAttribute("aria-expanded",String(s))},setSelected(e,s){e.setAttribute("aria-selected",String(s))},setChecked(e,s){e.setAttribute("aria-checked",String(s))},setDisabled(e,s){if(e.setAttribute("aria-disabled",String(s)),s)e.setAttribute("tabindex","-1");else e.removeAttribute("tabindex")},setHidden(e,s){if(s)e.setAttribute("aria-hidden","true");else e.removeAttribute("aria-hidden")},setPressed(e,s){e.setAttribute("aria-pressed",String(s))},setInvalid(e,s){e.setAttribute("aria-invalid",String(s))},setRequired(e,s){e.setAttribute("aria-required",String(s))},setLive(e,s){e.setAttribute("aria-live",s)},setBusy(e,s){e.setAttribute("aria-busy",String(s))}};function xd(e){let s=document.createElement("span");return s.textContent=e,s.className="sr-only",Object.assign(s.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:"0"}),s}function md(){if(typeof window.matchMedia==="function")return window.matchMedia("(prefers-reduced-motion: reduce)").matches;return!1}function hd(){if(typeof window.matchMedia==="function")return window.matchMedia("(prefers-contrast: high)").matches;return!1}function vd(){if(typeof window.matchMedia==="function"){if(window.matchMedia("(prefers-color-scheme: dark)").matches)return"dark";if(window.matchMedia("(prefers-color-scheme: light)").matches)return"light"}return null}function Cd(e,s="Skip to main content"){let t=document.createElement("a");return t.href=`#${e}`,t.textContent=s,t.className="skip-link",Object.assign(t.style,{position:"absolute",top:"-40px",left:"0",background:"#000",color:"#fff",padding:"8px",textDecoration:"none",zIndex:"100"}),t.addEventListener("focus",()=>{t.style.top="0"}),t.addEventListener("blur",()=>{t.style.top="-40px"}),t}function yd(e){let s=[],t=(r)=>{let o=e.getAttribute(r);if(o){let a=o.split(" ");for(let i of a)if(!document.getElementById(i))s.push(`${r} references non-existent ID: ${i}`)}};return t("aria-labelledby"),t("aria-describedby"),t("aria-controls"),t("aria-owns"),t("aria-activedescendant"),s}var Dr=(e,s,t,r)=>{return t*e/r+s},Lr=(e,s,t,r)=>{return e/=r,t*e*e+s},Mr=(e,s,t,r)=>{return e/=r,-t*e*(e-2)+s},Ir=(e,s,t,r)=>{if(e/=r/2,e<1)return t/2*e*e+s;return e--,-t/2*(e*(e-2)-1)+s},Tr=(e,s,t,r)=>{return e/=r,t*e*e*e+s},Pr=(e,s,t,r)=>{return e/=r,e--,t*(e*e*e+1)+s},Br=(e,s,t,r)=>{if(e/=r/2,e<1)return t/2*e*e*e+s;return e-=2,t/2*(e*e*e+2)+s},jr=(e,s,t,r)=>{return e/=r,t*e*e*e*e+s},qr=(e,s,t,r)=>{return e/=r,e--,-t*(e*e*e*e-1)+s},Rr=(e,s,t,r)=>{if(e/=r/2,e<1)return t/2*e*e*e*e+s;return e-=2,-t/2*(e*e*e*e-2)+s},Hr=(e,s,t,r)=>{return e/=r,t*e*e*e*e*e+s},Er=(e,s,t,r)=>{return e/=r,e--,t*(e*e*e*e*e+1)+s},Ar=(e,s,t,r)=>{if(e/=r/2,e<1)return t/2*e*e*e*e*e+s;return e-=2,t/2*(e*e*e*e*e+2)+s},Or=(e,s,t,r)=>{return-t*Math.cos(e/r*(Math.PI/2))+t+s},Fr=(e,s,t,r)=>{return t*Math.sin(e/r*(Math.PI/2))+s},Gr=(e,s,t,r)=>{return-t/2*(Math.cos(Math.PI*e/r)-1)+s},Ur=(e,s,t,r)=>{return e===0?s:t*2**(10*(e/r-1))+s},Wr=(e,s,t,r)=>{return e===r?s+t:t*(-(2**(-10*e/r))+1)+s},Yr=(e,s,t,r)=>{if(e===0)return s;if(e===r)return s+t;if(e/=r/2,e<1)return t/2*2**(10*(e-1))+s;return e--,t/2*(-(2**(-10*e))+2)+s},_r=(e,s,t,r)=>{return e/=r,-t*(Math.sqrt(1-e*e)-1)+s},Vr=(e,s,t,r)=>{return e/=r,e--,t*Math.sqrt(1-e*e)+s},Zr=(e,s,t,r)=>{if(e/=r/2,e<1)return-t/2*(Math.sqrt(1-e*e)-1)+s;return e-=2,t/2*(Math.sqrt(1-e*e)+1)+s},Xr=(e,s,t,r)=>{let o=1.70158,a=0,i=t;if(e===0)return s;if(e/=r,e===1)return s+t;if(!a)a=r*0.3;if(i<Math.abs(t))i=t,o=a/4;else o=a/(2*Math.PI)*Math.asin(t/i);return e-=1,-(i*2**(10*e)*Math.sin((e*r-o)*(2*Math.PI)/a))+s},Jr=(e,s,t,r)=>{let o=1.70158,a=0,i=t;if(e===0)return s;if(e/=r,e===1)return s+t;if(!a)a=r*0.3;if(i<Math.abs(t))i=t,o=a/4;else o=a/(2*Math.PI)*Math.asin(t/i);return i*2**(-10*e)*Math.sin((e*r-o)*(2*Math.PI)/a)+t+s},Kr=(e,s,t,r)=>{let o=1.70158,a=0,i=t;if(e===0)return s;if(e/=r/2,e===2)return s+t;if(!a)a=r*0.44999999999999996;if(i<Math.abs(t))i=t,o=a/4;else o=a/(2*Math.PI)*Math.asin(t/i);if(e<1)return e-=1,-0.5*(i*2**(10*e)*Math.sin((e*r-o)*(2*Math.PI)/a))+s;return e-=1,i*2**(-10*e)*Math.sin((e*r-o)*(2*Math.PI)/a)*0.5+t+s},Qr=(e,s,t,r)=>{return e/=r,t*e*e*(2.70158*e-1.70158)+s},eo=(e,s,t,r)=>{return e/=r,e--,t*(e*e*(2.70158*e+1.70158)+1)+s},so=(e,s,t,r)=>{let o=1.70158;if(e/=r/2,e<1)return o*=1.525,t/2*(e*e*((o+1)*e-o))+s;return e-=2,o*=1.525,t/2*(e*e*((o+1)*e+o)+2)+s},K=(e,s,t,r)=>{if(e/=r,e<0.36363636363636365)return t*(7.5625*e*e)+s;else if(e<0.7272727272727273)return e-=0.5454545454545454,t*(7.5625*e*e+0.75)+s;else if(e<0.9090909090909091)return e-=0.8181818181818182,t*(7.5625*e*e+0.9375)+s;else return e-=0.9545454545454546,t*(7.5625*e*e+0.984375)+s},ae=(e,s,t,r)=>{return t-K(r-e,0,t,r)+s},to=(e,s,t,r)=>{if(e<r/2)return ae(e*2,0,t,r)*0.5+s;return K(e*2-r,0,t,r)*0.5+t*0.5+s},$d={linear:Dr,easeInQuad:Lr,easeOutQuad:Mr,easeInOutQuad:Ir,easeInCubic:Tr,easeOutCubic:Pr,easeInOutCubic:Br,easeInQuart:jr,easeOutQuart:qr,easeInOutQuart:Rr,easeInQuint:Hr,easeOutQuint:Er,easeInOutQuint:Ar,easeInSine:Or,easeOutSine:Fr,easeInOutSine:Gr,easeInExpo:Ur,easeOutExpo:Wr,easeInOutExpo:Yr,easeInCirc:_r,easeOutCirc:Vr,easeInOutCirc:Zr,easeInElastic:Xr,easeOutElastic:Jr,easeInOutElastic:Kr,easeInBack:Qr,easeOutBack:eo,easeInOutBack:so,easeInBounce:ae,easeOutBounce:K,easeInOutBounce:to};function ro(e,s={}){let{duration:t="1s",timing:r="ease",delay:o="0s",iteration:a="1",direction:i="normal",fill:n="both",playState:d="running"}=s;return`${e} ${t} ${r} ${o} ${a} ${i} ${n} ${d}`}function ie(e,s,t={}){e.style.animation=ro(s,t)}function Sd(e){e.style.animation=""}function oo(e){return new Promise((s)=>{let t=()=>{e.removeEventListener("animationend",t),s()};e.addEventListener("animationend",t)})}function Nd(e,s,t={}){let{stagger:r=100,...o}=t;e.forEach((a,i)=>{let n=`${i*r}ms`;ie(a,s,{...o,delay:n})})}async function zd(e,s){for(let t of s)ie(e,t.name,t.options),await oo(e)}var Dd={fadeIn:"animate-fade-in",fadeOut:"animate-fade-out",slideInUp:"animate-slide-in-up",slideInDown:"animate-slide-in-down",slideInLeft:"animate-slide-in-left",slideInRight:"animate-slide-in-right",zoomIn:"animate-zoom-in",zoomOut:"animate-zoom-out",bounce:"animate-bounce",spin:"animate-spin",ping:"animate-ping",pulse:"animate-pulse"};function Ld(e,s,t=1000){return new Promise((r)=>{e.classList.add(s),setTimeout(()=>{e.classList.remove(s),r()},t)})}function Md(e,s){let t=`
|
|
11
|
+
`)}`)}return{valid:i.length===0,errors:i}}function M(e,s,t){return(r)=>Ie(e,r,s,t)}function fo(e,s,t="value"){if(!F)return;if(!s.validate(e,t,"assertion"))throw Error(s.message(e,t,"assertion"))}function bo(e,s,t="value"){if(!F)return;if(!s.validate(e,t,"warning"))console.warn(s.message(e,t,"warning"))}var Pe="./Button-3tt4vsqt.stx";var Be={variant:l.oneOf(["primary","secondary","outline","ghost","danger"]),size:l.oneOf(["xs","sm","md","lg","xl"]),disabled:l.boolean,loading:l.boolean,type:l.oneOf(["button","submit","reset"]),fullWidth:l.boolean,leftIcon:l.string,rightIcon:l.string,className:l.string,onClick:l.func},Co=M("Button",Be);function yo(e){return re(e,"Button","onClick")}function wo(e){if(e&&!["primary","secondary","outline","ghost","danger"].includes(e))throw B.invalidProp("Button","variant",e,["primary","secondary","outline","ghost","danger"])}function $o(e){if(e&&!["xs","sm","md","lg","xl"].includes(e))throw B.invalidProp("Button","size",e,["xs","sm","md","lg","xl"])}var qe="./Calendar-58nnkdh8.stx";var He="./Card-6wdbexqr.stx";var Ae="./Checkbox-p3q3e3nf.stx";var Fe="./Combobox-th5ebw62.stx";var Ue="./ComboboxButton-8gxwkhdx.stx";var Ye="./ComboboxInput-mk99z65n.stx";var Ve="./ComboboxOption-an9zyan6.stx";var Xe="./ComboboxOptions-6b5ywc5x.stx";var Ke="./CommandPalette-kwmdf2np.stx";var es="./CommandPaletteItem-zx2fbpts.stx";var ts="./Dialog-rgmj8q2j.stx";var as="./DialogBackdrop-rxax3sec.stx";var is="./DialogDescription-76prd1m2.stx";var ls="./DialogPanel-44d8jeqy.stx";var cs="./DialogTitle-x0r6k8x9.stx";var gs="./Drawer-p7m351bn.stx";var fs="./Dropdown-jz4jy0n3.stx";var xs="./DropdownButton-9w8zkfwj.stx";var hs="./DropdownItem-wagdspb8.stx";var Cs="./DropdownItems-aygjpxkx.stx";var ws="./Form-1mdmx9b6.stx";var $s={action:l.string,method:l.oneOf(["GET","POST","PUT","DELETE","PATCH"]),validationSchema:l.object,initialValues:l.object,validateOnChange:l.boolean,validateOnBlur:l.boolean,onSubmit:l.func,onError:l.func,className:l.string},wi=M("Form",$s);var Ss="./Image-jhkm6w1f.stx";var zs="./EmailInput-ajsp9vw6.stx";var Ls="./NumberInput-nzpkx1ry.stx";var Is="./PasswordInput-zv4hm43j.stx";var Ps="./SearchInput-2521m475.stx";var js="./TextInput-k2kfkgy1.stx";var qs={value:l.string,onChange:l.func,placeholder:l.string,disabled:l.boolean,readonly:l.boolean,size:l.oneOf(["sm","md","lg"]),error:l.boolean,label:l.string,helperText:l.string,required:l.boolean,className:l.string,inputClassName:l.string},Rs={value:l.string,onChange:l.func,placeholder:l.string,disabled:l.boolean,readonly:l.boolean,size:l.oneOf(["sm","md","lg"]),error:l.boolean,label:l.string,helperText:l.string,required:l.boolean,className:l.string,inputClassName:l.string,leftIcon:l.string,rightIcon:l.string,clearable:l.boolean,maxLength:l.number,showCount:l.boolean},Hs={value:l.string,onChange:l.func,placeholder:l.string,disabled:l.boolean,readonly:l.boolean,size:l.oneOf(["sm","md","lg"]),error:l.boolean,label:l.string,helperText:l.string,required:l.boolean,className:l.string,inputClassName:l.string,min:l.number,max:l.number,step:l.number,showControls:l.boolean},Es={value:l.string,onChange:l.func,placeholder:l.string,disabled:l.boolean,readonly:l.boolean,size:l.oneOf(["sm","md","lg"]),error:l.boolean,label:l.string,helperText:l.string,required:l.boolean,className:l.string,inputClassName:l.string,showStrength:l.boolean},As={value:l.string,onChange:l.func,placeholder:l.string,disabled:l.boolean,readonly:l.boolean,size:l.oneOf(["sm","md","lg"]),error:l.boolean,label:l.string,helperText:l.string,required:l.boolean,className:l.string,inputClassName:l.string,onSearch:l.func,loading:l.boolean},Bi=M("TextInput",Rs),ji=M("EmailInput",qs),qi=M("PasswordInput",Es),Ri=M("NumberInput",Hs),Hi=M("SearchInput",As);var Fs="./Listbox-pqqh72g8.stx";var Us="./ListboxButton-spwx7513.stx";var Ys="./ListboxLabel-7mymt1b8.stx";var Vs="./ListboxOption-7nxzaexq.stx";var Xs="./ListboxOptions-8kqvfp7z.stx";var Ks="./Navigator-aay8bjab.stx";var et="./Notification-gk33gv7b.stx";var tt="./Pagination-h61eq390.stx";var at="./Checkout-e4037tyy.stx";var it="./DefaultPaymentMethod-shhf6aap.stx";var lt="./PaymentMethods-j42jsk5x.stx";var ct="./SubscriptionCheckout-gawjzf3q.stx";var gt="./Popover-469gbt6r.stx";var ft="./PopoverButton-fnaqc77g.stx";var xt="./PopoverPanel-y0vtf5w9.stx";var ht="./Portal-s2q37yp0.stx";var Ct="./Progress-vmdkm06p.stx";var wt="./Radio-04bs3d21.stx";var kt="./RadioGroup-bvb1mrhd.stx";var Nt="./RadioGroupDescription-yej78fak.stx";var Dt="./RadioGroupLabel-7mymt1b8.stx";var Mt="./RadioGroupOption-cpdwgnhw.stx";var Tt="./Select-g4mmvfv8.stx";var Bt="./Sidebar-40ckbzh8.stx";var qt="./SidebarSection-3etwnbjr.stx";var Ht="./SidebarItem-zqtvvzpc.stx";var At="./SidebarHeader-3wrte2p2.stx";var Ft="./SidebarFooter-hnth56mg.stx";var Ut="./Skeleton-v1pwa8nr.stx";var Yt="./Spinner-7dahavkd.stx";var Vt="./Stepper-rgbk76hd.stx";var Xt="./StepperStep-en4r00zv.stx";class G{storage;namespace;watchers=new Map;encryptionKey="stx-storage-key";constructor(e="local",s=""){if(this.storage=e==="local"?globalThis.localStorage:globalThis.sessionStorage,this.namespace=s,typeof window<"u")window.addEventListener("storage",this.handleStorageEvent.bind(this))}handleStorageEvent(e){if(!e.key)return;let s=this.namespace&&e.key.startsWith(`${this.namespace}:`)?e.key.slice(this.namespace.length+1):e.key,t=this.watchers.get(s);if(t){let r=e.oldValue?JSON.parse(e.oldValue).value:null,a=e.newValue?JSON.parse(e.newValue).value:null;t.forEach((o)=>o(a,r,s))}}encrypt(e){let s="";for(let t=0;t<e.length;t++)s+=String.fromCharCode(e.charCodeAt(t)^this.encryptionKey.charCodeAt(t%this.encryptionKey.length));return btoa(s)}decrypt(e){try{let s=atob(e),t="";for(let r=0;r<s.length;r++)t+=String.fromCharCode(s.charCodeAt(r)^this.encryptionKey.charCodeAt(r%this.encryptionKey.length));return t}catch{return e}}compress(e){if(e.length<100)return e;let s={},t=256,r=[],a="";for(let o=0;o<e.length;o++){let i=e.charAt(o),n=a+i;if(s[n]!==void 0)a=n;else r.push(a.length>1?s[a]:a.charCodeAt(0)),s[n]=t++,a=i}if(a!=="")r.push(a.length>1?s[a]:a.charCodeAt(0));return JSON.stringify(r)}decompress(e){try{let s=JSON.parse(e);if(!Array.isArray(s))return e;let t={},r=256,a=String.fromCharCode(s[0]),o=a;for(let i=1;i<s.length;i++){let n=s[i],d;if(t[n]!==void 0)d=t[n];else if(n===r)d=a+a.charAt(0);else return e;o+=d,t[r++]=a+d.charAt(0),a=d}return o}catch{return e}}getKey(e){return this.namespace?`${this.namespace}:${e}`:e}set(e,s,t){let r=this.getKey(e),a=this.get(e),o={value:s,timestamp:Date.now(),expire:t?.expire,encrypted:t?.encrypt||!1,compressed:t?.compress||!1};try{let i=JSON.stringify(o);if(t?.compress)i=this.compress(i);if(t?.encrypt)i=this.encrypt(i);this.storage.setItem(r,i),this.notifyWatchers(e,s,a)}catch(i){console.error("Storage set error:",i)}}get(e){let s=this.getKey(e);try{let t=this.storage.getItem(s);if(!t)return null;if(t.match(/^[A-Z0-9+/]+=*$/i))try{t=this.decrypt(t)}catch{}if(t.startsWith("["))try{t=this.decompress(t)}catch{}let r=JSON.parse(t);if(r.expire&&Date.now()-r.timestamp>r.expire)return this.remove(e),null;return r.value}catch(t){return console.error("Storage get error:",t),null}}watch(e,s){if(!this.watchers.has(e))this.watchers.set(e,new Set);return this.watchers.get(e).add(s),()=>{let t=this.watchers.get(e);if(t){if(t.delete(s),t.size===0)this.watchers.delete(e)}}}notifyWatchers(e,s,t){let r=this.watchers.get(e);if(r)r.forEach((a)=>a(s,t,e))}remove(e){let s=this.getKey(e),t=this.get(e);this.storage.removeItem(s),this.notifyWatchers(e,null,t)}clear(){if(this.namespace)this.keys().forEach((s)=>this.remove(s));else this.storage.clear()}has(e){return this.get(e)!==null}keys(){let e=Object.keys(this.storage);if(this.namespace){let s=`${this.namespace}:`;return e.filter((t)=>t.startsWith(s)).map((t)=>t.slice(s.length))}return e}size(){return this.keys().length}getQuota(){if("storage"in navigator&&"estimate"in navigator.storage)return null;try{let e=0;for(let t=0;t<this.storage.length;t++){let r=this.storage.key(t);if(r){let a=this.storage.getItem(r)||"";e+=r.length+a.length}}let s=5242880;return{usage:e*2,quota:s,percentage:e*2/s*100}}catch{return null}}setMany(e,s){Object.entries(e).forEach(([t,r])=>{this.set(t,r,s)})}getMany(e){let s={};return e.forEach((t)=>{s[t]=this.get(t)}),s}removeMany(e){e.forEach((s)=>this.remove(s))}}var ml={local:new G("local"),session:new G("session")};function hl(e="local",s){return new G(e,s)}var Kt="./Switch-036j9vm1.stx";var er="./Table-6cx8az9h.stx";var tr="./TableBody-wf6t13j9.stx";var ar="./TableCell-ntx0edbn.stx";var ir="./TableHead-3k4hnm2k.stx";var lr="./TableHeader-ydys9rzz.stx";var cr="./TableRow-z09p2ebf.stx";var gr="./Tabs-svh721m0.stx";var fr="./Teleport-qfch3w0b.stx";var xr="./Textarea-szad57dz.stx";var hr="./Tooltip-em7t551n.stx";var Cr="./Transition-0hmr6zxb.stx";var wr="./Video-crxva65p.stx";var kr="./VirtualList-cndhjejh.stx";var Nr="./VirtualTable-ng0b48yp.stx";var zr=0;function ae(e="a11y"){return`${e}-${++zr}-${Date.now()}`}function id(e,s,t={}){let{visible:r=!1,id:a=ae("label")}=t,o=document.createElement(r?"label":"span");if(o.id=a,o.textContent=e,!r)Object.assign(o.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:"0"});if(s)if(s.setAttribute("aria-labelledby",a),s.parentElement)s.parentElement.insertBefore(o,s);else document.body.appendChild(o);return a}function nd(e,s){let t=ae("desc"),r=document.createElement("span");if(r.id=t,r.textContent=e,Object.assign(r.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:"0"}),s)if(s.setAttribute("aria-describedby",t),s.parentElement)s.parentElement.insertBefore(r,s);else document.body.appendChild(r);return t}function ld(e,s="polite"){let t=document.createElement("div");t.setAttribute("role","status"),t.setAttribute("aria-live",s),t.setAttribute("aria-atomic","true"),Object.assign(t.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:"0"}),document.body.appendChild(t),setTimeout(()=>{t.textContent=e},100),setTimeout(()=>{document.body.removeChild(t)},1000)}function J(e){let s=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(",");return Array.from(e.querySelectorAll(s)).filter((t)=>t.offsetParent!==null)}function dd(e,s={}){let{initialFocus:t,returnFocus:r,escapeDeactivates:a=!0,clickOutsideDeactivates:o=!0,allowOutsideClick:i=!1,onActivate:n,onDeactivate:d}=s,c=!1,u=!1,p=null,x=(h)=>{if(u)return;if(a&&h.key==="Escape"){h.preventDefault(),v();return}if(h.key==="Tab"){let w=J(e);if(w.length===0){h.preventDefault();return}let D=w[0],T=w[w.length-1];if(h.shiftKey){if(document.activeElement===D)h.preventDefault(),T.focus()}else if(document.activeElement===T)h.preventDefault(),D.focus()}},f=(h)=>{if(u)return;if(!e.contains(h.target)){if(typeof i==="function"){if(!i(h)&&o)v()}else if(!i&&o)v()}};function C(){if(c)return;c=!0,p=document.activeElement;let h=t||J(e)[0];if(h&&typeof h.focus==="function")h.focus();document.addEventListener("keydown",x),document.addEventListener("click",f),n?.()}function v(){if(!c)return;c=!1;let h=r||p;if(h&&typeof h.focus==="function")h.focus();document.removeEventListener("keydown",x),document.removeEventListener("click",f),d?.()}function k(){u=!0}function m(){u=!1}return{activate:C,deactivate:v,pause:k,unpause:m}}function cd(e,s={}){let{selector:t='[role="option"], [role="menuitem"], [role="tab"], button',initialIndex:r=0,orientation:a="both",loop:o=!0,onFocusChange:i}=s,n=r,d=()=>{return Array.from(e.querySelectorAll(t))},c=(p)=>{let x=d();if(p<0||p>=x.length)return;x.forEach((f,C)=>{if(C===p){if(f.setAttribute("tabindex","0"),typeof f.focus==="function")f.focus()}else f.setAttribute("tabindex","-1")}),n=p,i?.(p,x[p])},u=(p)=>{let f=d().length-1,C=!1,v=n;switch(p.key){case"ArrowRight":if(a==="horizontal"||a==="both"){if(v=n+1,v>f)v=o?0:f;C=!0}break;case"ArrowLeft":if(a==="horizontal"||a==="both"){if(v=n-1,v<0)v=o?f:0;C=!0}break;case"ArrowDown":if(a==="vertical"||a==="both"){if(v=n+1,v>f)v=o?0:f;C=!0}break;case"ArrowUp":if(a==="vertical"||a==="both"){if(v=n-1,v<0)v=o?f:0;C=!0}break;case"Home":v=0,C=!0;break;case"End":v=f,C=!0;break}if(C)p.preventDefault(),c(v)};return c(r),e.addEventListener("keydown",u),()=>{e.removeEventListener("keydown",u)}}var pd={Enter:"Enter",Space:" ",Escape:"Escape",ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",Tab:"Tab",Home:"Home",End:"End",PageUp:"PageUp",PageDown:"PageDown"};function gd(e){return document.activeElement===e}function ud(e,s){let t=s||document.activeElement,r=J(document.body),a=r.indexOf(t);if(a===-1)return;let o=e==="next"?a+1:a-1,i=r[o];if(i)i.focus()}function fd(e){if(e.getAttribute("aria-hidden")==="true")return!1;let s=window.getComputedStyle(e);if(s.display==="none"||s.visibility==="hidden")return!1;return!0}var bd={setExpanded(e,s){e.setAttribute("aria-expanded",String(s))},setSelected(e,s){e.setAttribute("aria-selected",String(s))},setChecked(e,s){e.setAttribute("aria-checked",String(s))},setDisabled(e,s){if(e.setAttribute("aria-disabled",String(s)),s)e.setAttribute("tabindex","-1");else e.removeAttribute("tabindex")},setHidden(e,s){if(s)e.setAttribute("aria-hidden","true");else e.removeAttribute("aria-hidden")},setPressed(e,s){e.setAttribute("aria-pressed",String(s))},setInvalid(e,s){e.setAttribute("aria-invalid",String(s))},setRequired(e,s){e.setAttribute("aria-required",String(s))},setLive(e,s){e.setAttribute("aria-live",s)},setBusy(e,s){e.setAttribute("aria-busy",String(s))}};function xd(e){let s=document.createElement("span");return s.textContent=e,s.className="sr-only",Object.assign(s.style,{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:"0"}),s}function md(){if(typeof window.matchMedia==="function")return window.matchMedia("(prefers-reduced-motion: reduce)").matches;return!1}function hd(){if(typeof window.matchMedia==="function")return window.matchMedia("(prefers-contrast: high)").matches;return!1}function vd(){if(typeof window.matchMedia==="function"){if(window.matchMedia("(prefers-color-scheme: dark)").matches)return"dark";if(window.matchMedia("(prefers-color-scheme: light)").matches)return"light"}return null}function Cd(e,s="Skip to main content"){let t=document.createElement("a");return t.href=`#${e}`,t.textContent=s,t.className="skip-link",Object.assign(t.style,{position:"absolute",top:"-40px",left:"0",background:"#000",color:"#fff",padding:"8px",textDecoration:"none",zIndex:"100"}),t.addEventListener("focus",()=>{t.style.top="0"}),t.addEventListener("blur",()=>{t.style.top="-40px"}),t}function yd(e){let s=[],t=(r)=>{let a=e.getAttribute(r);if(a){let o=a.split(" ");for(let i of o)if(!document.getElementById(i))s.push(`${r} references non-existent ID: ${i}`)}};return t("aria-labelledby"),t("aria-describedby"),t("aria-controls"),t("aria-owns"),t("aria-activedescendant"),s}var Dr=(e,s,t,r)=>{return t*e/r+s},Lr=(e,s,t,r)=>{return e/=r,t*e*e+s},Mr=(e,s,t,r)=>{return e/=r,-t*e*(e-2)+s},Ir=(e,s,t,r)=>{if(e/=r/2,e<1)return t/2*e*e+s;return e--,-t/2*(e*(e-2)-1)+s},Tr=(e,s,t,r)=>{return e/=r,t*e*e*e+s},Pr=(e,s,t,r)=>{return e/=r,e--,t*(e*e*e+1)+s},Br=(e,s,t,r)=>{if(e/=r/2,e<1)return t/2*e*e*e+s;return e-=2,t/2*(e*e*e+2)+s},jr=(e,s,t,r)=>{return e/=r,t*e*e*e*e+s},qr=(e,s,t,r)=>{return e/=r,e--,-t*(e*e*e*e-1)+s},Rr=(e,s,t,r)=>{if(e/=r/2,e<1)return t/2*e*e*e*e+s;return e-=2,-t/2*(e*e*e*e-2)+s},Hr=(e,s,t,r)=>{return e/=r,t*e*e*e*e*e+s},Er=(e,s,t,r)=>{return e/=r,e--,t*(e*e*e*e*e+1)+s},Ar=(e,s,t,r)=>{if(e/=r/2,e<1)return t/2*e*e*e*e*e+s;return e-=2,t/2*(e*e*e*e*e+2)+s},Or=(e,s,t,r)=>{return-t*Math.cos(e/r*(Math.PI/2))+t+s},Fr=(e,s,t,r)=>{return t*Math.sin(e/r*(Math.PI/2))+s},Gr=(e,s,t,r)=>{return-t/2*(Math.cos(Math.PI*e/r)-1)+s},Ur=(e,s,t,r)=>{return e===0?s:t*2**(10*(e/r-1))+s},Wr=(e,s,t,r)=>{return e===r?s+t:t*(-(2**(-10*e/r))+1)+s},Yr=(e,s,t,r)=>{if(e===0)return s;if(e===r)return s+t;if(e/=r/2,e<1)return t/2*2**(10*(e-1))+s;return e--,t/2*(-(2**(-10*e))+2)+s},_r=(e,s,t,r)=>{return e/=r,-t*(Math.sqrt(1-e*e)-1)+s},Vr=(e,s,t,r)=>{return e/=r,e--,t*Math.sqrt(1-e*e)+s},Zr=(e,s,t,r)=>{if(e/=r/2,e<1)return-t/2*(Math.sqrt(1-e*e)-1)+s;return e-=2,t/2*(Math.sqrt(1-e*e)+1)+s},Xr=(e,s,t,r)=>{let a=1.70158,o=0,i=t;if(e===0)return s;if(e/=r,e===1)return s+t;if(!o)o=r*0.3;if(i<Math.abs(t))i=t,a=o/4;else a=o/(2*Math.PI)*Math.asin(t/i);return e-=1,-(i*2**(10*e)*Math.sin((e*r-a)*(2*Math.PI)/o))+s},Jr=(e,s,t,r)=>{let a=1.70158,o=0,i=t;if(e===0)return s;if(e/=r,e===1)return s+t;if(!o)o=r*0.3;if(i<Math.abs(t))i=t,a=o/4;else a=o/(2*Math.PI)*Math.asin(t/i);return i*2**(-10*e)*Math.sin((e*r-a)*(2*Math.PI)/o)+t+s},Kr=(e,s,t,r)=>{let a=1.70158,o=0,i=t;if(e===0)return s;if(e/=r/2,e===2)return s+t;if(!o)o=r*0.44999999999999996;if(i<Math.abs(t))i=t,a=o/4;else a=o/(2*Math.PI)*Math.asin(t/i);if(e<1)return e-=1,-0.5*(i*2**(10*e)*Math.sin((e*r-a)*(2*Math.PI)/o))+s;return e-=1,i*2**(-10*e)*Math.sin((e*r-a)*(2*Math.PI)/o)*0.5+t+s},Qr=(e,s,t,r)=>{return e/=r,t*e*e*(2.70158*e-1.70158)+s},ea=(e,s,t,r)=>{return e/=r,e--,t*(e*e*(2.70158*e+1.70158)+1)+s},sa=(e,s,t,r)=>{let a=1.70158;if(e/=r/2,e<1)return a*=1.525,t/2*(e*e*((a+1)*e-a))+s;return e-=2,a*=1.525,t/2*(e*e*((a+1)*e+a)+2)+s},K=(e,s,t,r)=>{if(e/=r,e<0.36363636363636365)return t*(7.5625*e*e)+s;else if(e<0.7272727272727273)return e-=0.5454545454545454,t*(7.5625*e*e+0.75)+s;else if(e<0.9090909090909091)return e-=0.8181818181818182,t*(7.5625*e*e+0.9375)+s;else return e-=0.9545454545454546,t*(7.5625*e*e+0.984375)+s},oe=(e,s,t,r)=>{return t-K(r-e,0,t,r)+s},ta=(e,s,t,r)=>{if(e<r/2)return oe(e*2,0,t,r)*0.5+s;return K(e*2-r,0,t,r)*0.5+t*0.5+s},$d={linear:Dr,easeInQuad:Lr,easeOutQuad:Mr,easeInOutQuad:Ir,easeInCubic:Tr,easeOutCubic:Pr,easeInOutCubic:Br,easeInQuart:jr,easeOutQuart:qr,easeInOutQuart:Rr,easeInQuint:Hr,easeOutQuint:Er,easeInOutQuint:Ar,easeInSine:Or,easeOutSine:Fr,easeInOutSine:Gr,easeInExpo:Ur,easeOutExpo:Wr,easeInOutExpo:Yr,easeInCirc:_r,easeOutCirc:Vr,easeInOutCirc:Zr,easeInElastic:Xr,easeOutElastic:Jr,easeInOutElastic:Kr,easeInBack:Qr,easeOutBack:ea,easeInOutBack:sa,easeInBounce:oe,easeOutBounce:K,easeInOutBounce:ta};function ra(e,s={}){let{duration:t="1s",timing:r="ease",delay:a="0s",iteration:o="1",direction:i="normal",fill:n="both",playState:d="running"}=s;return`${e} ${t} ${r} ${a} ${o} ${i} ${n} ${d}`}function ie(e,s,t={}){e.style.animation=ra(s,t)}function Sd(e){e.style.animation=""}function aa(e){return new Promise((s)=>{let t=()=>{e.removeEventListener("animationend",t),s()};e.addEventListener("animationend",t)})}function Nd(e,s,t={}){let{stagger:r=100,...a}=t;e.forEach((o,i)=>{let n=`${i*r}ms`;ie(o,s,{...a,delay:n})})}async function zd(e,s){for(let t of s)ie(e,t.name,t.options),await aa(e)}var Dd={fadeIn:"animate-fade-in",fadeOut:"animate-fade-out",slideInUp:"animate-slide-in-up",slideInDown:"animate-slide-in-down",slideInLeft:"animate-slide-in-left",slideInRight:"animate-slide-in-right",zoomIn:"animate-zoom-in",zoomOut:"animate-zoom-out",bounce:"animate-bounce",spin:"animate-spin",ping:"animate-ping",pulse:"animate-pulse"};function Ld(e,s,t=1000){return new Promise((r)=>{e.classList.add(s),setTimeout(()=>{e.classList.remove(s),r()},t)})}function Md(e,s){let t=`
|
|
12
12
|
@keyframes ${e} {
|
|
13
|
-
${Object.entries(s).map(([o
|
|
13
|
+
${Object.entries(s).map(([a,o])=>{let i=Object.entries(o).map(([n,d])=>`${n}: ${d};`).join(" ");return`${a} { ${i} }`}).join(`
|
|
14
14
|
`)}
|
|
15
15
|
}
|
|
16
|
-
`,r=document.createElement("style");r.textContent=t,document.head.appendChild(r)}function ao(e,s,t={}){if(typeof e.animate!=="function")return console.warn("Web Animations API not supported"),null;let{duration:r=1000,easing:o="ease",delay:a=0,iterations:i=1,direction:n="normal",fill:d="both"}=t;return e.animate([...s],{duration:r,easing:o,delay:a,iterations:i,direction:n,fill:d})}var io={fadeIn:[{offset:0,opacity:0},{offset:1,opacity:1}],fadeOut:[{offset:0,opacity:1},{offset:1,opacity:0}],slideInUp:[{offset:0,transform:"translateY(100%)",opacity:0},{offset:1,transform:"translateY(0)",opacity:1}],slideInDown:[{offset:0,transform:"translateY(-100%)",opacity:0},{offset:1,transform:"translateY(0)",opacity:1}],slideInLeft:[{offset:0,transform:"translateX(-100%)",opacity:0},{offset:1,transform:"translateX(0)",opacity:1}],slideInRight:[{offset:0,transform:"translateX(100%)",opacity:0},{offset:1,transform:"translateX(0)",opacity:1}],slideOutUp:[{offset:0,transform:"translateY(0)",opacity:1},{offset:1,transform:"translateY(-100%)",opacity:0}],slideOutDown:[{offset:0,transform:"translateY(0)",opacity:1},{offset:1,transform:"translateY(100%)",opacity:0}],slideOutLeft:[{offset:0,transform:"translateX(0)",opacity:1},{offset:1,transform:"translateX(-100%)",opacity:0}],slideOutRight:[{offset:0,transform:"translateX(0)",opacity:1},{offset:1,transform:"translateX(100%)",opacity:0}],zoomIn:[{offset:0,transform:"scale(0)",opacity:0},{offset:0.5,opacity:1},{offset:1,transform:"scale(1)"}],zoomOut:[{offset:0,transform:"scale(1)",opacity:1},{offset:0.5,opacity:1},{offset:1,transform:"scale(0)",opacity:0}],rotate:[{offset:0,transform:"rotate(0deg)"},{offset:1,transform:"rotate(360deg)"}],bounce:[{offset:0,transform:"translateY(0)"},{offset:0.2,transform:"translateY(0)"},{offset:0.4,transform:"translateY(-30px)"},{offset:0.43,transform:"translateY(-30px)"},{offset:0.53,transform:"translateY(0)"},{offset:0.7,transform:"translateY(-15px)"},{offset:0.8,transform:"translateY(0)"},{offset:0.9,transform:"translateY(-4px)"},{offset:1,transform:"translateY(0)"}],pulse:[{offset:0,transform:"scale(1)"},{offset:0.5,transform:"scale(1.05)"},{offset:1,transform:"scale(1)"}],shake:[{offset:0,transform:"translateX(0)"},{offset:0.1,transform:"translateX(-10px)"},{offset:0.2,transform:"translateX(10px)"},{offset:0.3,transform:"translateX(-10px)"},{offset:0.4,transform:"translateX(10px)"},{offset:0.5,transform:"translateX(-10px)"},{offset:0.6,transform:"translateX(10px)"},{offset:0.7,transform:"translateX(-10px)"},{offset:0.8,transform:"translateX(10px)"},{offset:0.9,transform:"translateX(-10px)"},{offset:1,transform:"translateX(0)"}],swing:[{offset:0,transform:"rotate(0deg)"},{offset:0.2,transform:"rotate(15deg)"},{offset:0.4,transform:"rotate(-10deg)"},{offset:0.6,transform:"rotate(5deg)"},{offset:0.8,transform:"rotate(-5deg)"},{offset:1,transform:"rotate(0deg)"}],flip:[{offset:0,transform:"perspective(400px) rotateY(0)",animationTimingFunction:"ease-out"},{offset:0.4,transform:"perspective(400px) translateZ(150px) rotateY(170deg)",animationTimingFunction:"ease-out"},{offset:0.5,transform:"perspective(400px) translateZ(150px) rotateY(190deg)",animationTimingFunction:"ease-in"},{offset:0.8,transform:"perspective(400px) rotateY(360deg)",animationTimingFunction:"ease-in"},{offset:1,transform:"perspective(400px)",animationTimingFunction:"ease-in"}],rubberBand:[{offset:0,transform:"scale(1)"},{offset:0.3,transform:"scaleX(1.25) scaleY(0.75)"},{offset:0.4,transform:"scaleX(0.75) scaleY(1.25)"},{offset:0.5,transform:"scaleX(1.15) scaleY(0.85)"},{offset:0.65,transform:"scaleX(0.95) scaleY(1.05)"},{offset:0.75,transform:"scaleX(1.05) scaleY(0.95)"},{offset:1,transform:"scale(1)"}],heartbeat:[{offset:0,transform:"scale(1)"},{offset:0.14,transform:"scale(1.3)"},{offset:0.28,transform:"scale(1)"},{offset:0.42,transform:"scale(1.3)"},{offset:0.7,transform:"scale(1)"}]};function Td(e,s,t={}){return ao(e,io[s],t)}import{createHighlighter as no}from"ts-syntax-highlighter";var Q=null;async function lo(){if(!Q)Q=await no({theme:"github-light"});return Q}async function jd(e,s={}){let{theme:t="auto",language:r="typescript",lineNumbers:o=!1,wrapLines:a=!0}=s,i=await lo(),n=t==="auto"?globalThis.matchMedia?.("(prefers-color-scheme: dark)").matches?"github-dark":"github-light":t==="dark"?"github-dark":"github-light",d=await i.highlight(e,r);return{html:typeof d==="string"?d:String(d),language:r,theme:n}}function qd(e){if(e.includes("<!DOCTYPE")||e.includes("<html"))return"html";if(e.includes("<?php"))return"php";if(e.includes("import")&&e.includes("from"))return"typescript";if(e.includes("function")||e.includes("const"))return"javascript";if(e.includes("{")&&e.includes("}"))return"json";if(e.includes("$")&&e.includes("|"))return"bash";if(e.includes("#")&&e.includes("##"))return"markdown";return"typescript"}function Rd(e,s){return`<div class="${s?`rounded-md overflow-auto text-sm leading-relaxed font-mono ${s}`:"rounded-md overflow-auto text-sm leading-relaxed font-mono"}">${e}</div>`}var I=null,co=(e)=>{return e===1?0:1};function U(e,s){return s.split(".").reduce((t,r)=>t?.[r],e)}function ee(e,s={}){return e.replace(/\{(\w+)\}/g,(t,r)=>{return s[r]!==void 0?String(s[r]):t})}function Ed(e){let{locale:s,fallbackLocale:t="en",messages:r,pluralRules:o={},dateTimeFormats:a={},numberFormats:i={},missing:n,warnMissing:d=!0}=e;function c(m,h={}){let w=U(r[s],m);if(w===void 0&&t)w=U(r[t],m);if(w===void 0){if(n){let D=n(s,m);if(D)return ee(D,h)}if(d&&typeof console<"u")console.warn(`[i18n] Missing translation for key "${m}" in locale "${s}"`);return m}if(typeof w==="string")return ee(w,h);return String(w)}function u(m,h,w={}){let D=c(m,{...w,count:h});if(D.includes("|")){let T=D.split("|").map((Z)=>Z.trim()),_=(o[s]||co)(h,s),V=T[_]||T[T.length-1];return ee(V,{...w,count:h})}return D}function p(m,h="default"){let w=typeof m==="number"?new Date(m):m,D=a[h]||a.default||{};return new Intl.DateTimeFormat(s,D).format(w)}function x(m,h="default"){let w=i[h]||i.default||{};return new Intl.NumberFormat(s,w).format(m)}function f(m){if(U(r[s],m)!==void 0)return!0;if(t)return U(r[t],m)!==void 0;return!1}function C(m){if(!r[m]){console.warn(`[i18n] Locale "${m}" not found. Available locales: ${Object.keys(r).join(", ")}`);return}s=m}function v(m,h){if(!r[m])r[m]={};r[m]={...r[m],...h}}function k(m){delete r[m]}return{get locale(){return s},get availableLocales(){return Object.keys(r)},setLocale:C,t:c,tc:u,d:p,n:x,te:f,addMessages:v,removeLocale:k}}function Ad(e){I=e}function Od(){return I}function Fd(e,s){if(!I)return console.warn("[i18n] No global i18n instance set. Call setI18n() first."),e;return I.t(e,s)}function Gd(e,s,t){if(!I)return console.warn("[i18n] No global i18n instance set. Call setI18n() first."),e;return I.tc(e,s,t)}function Ud(e,s){if(!I)return console.warn("[i18n] No global i18n instance set. Call setI18n() first."),String(e);return I.d(e,s)}function Wd(e,s){if(!I)return console.warn("[i18n] No global i18n instance set. Call setI18n() first."),String(e);return I.n(e,s)}var Yd={en:(e)=>e===1?0:1,de:(e)=>e===1?0:1,nl:(e)=>e===1?0:1,sv:(e)=>e===1?0:1,fr:(e)=>e===0||e===1?0:1,pt_BR:(e)=>e===0||e===1?0:1,ru:(e)=>{if(e%10===1&&e%100!==11)return 0;if(e%10>=2&&e%10<=4&&(e%100<10||e%100>=20))return 1;return 2},pl:(e)=>{if(e===1)return 0;if(e%10>=2&&e%10<=4&&(e%100<10||e%100>=20))return 1;return 2},cs:(e)=>{if(e===1)return 0;if(e>=2&&e<=4)return 1;return 2},ar:(e)=>{if(e===0)return 0;if(e===1)return 1;if(e===2)return 2;if(e%100>=3&&e%100<=10)return 3;if(e%100>=11)return 4;return 5},ja:()=>0,ko:()=>0,zh:()=>0,th:()=>0,vi:()=>0},_d={short:{year:"numeric",month:"numeric",day:"numeric"},long:{year:"numeric",month:"long",day:"numeric"},full:{weekday:"long",year:"numeric",month:"long",day:"numeric"},time:{hour:"numeric",minute:"numeric"},datetime:{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"}},Vd={decimal:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2},currency:{style:"currency",currency:"USD"},percent:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:2},compact:{notation:"compact"}};function Zd(e){let s=["ar","he","fa","ur","yi"],t=e.split("-")[0].toLowerCase();return s.includes(t)}async function Xd(e,s){try{return await s()}catch(t){return console.error(`[i18n] Failed to load messages for locale "${e}":`,t),{}}}var Jd={en:{common:{loading:"Loading...",error:"Error",retry:"Retry",cancel:"Cancel",confirm:"Confirm",close:"Close",save:"Save",delete:"Delete",edit:"Edit",search:"Search",clear:"Clear",submit:"Submit",reset:"Reset"},form:{required:"This field is required",invalid:"Invalid value",tooShort:"Value is too short (minimum {min} characters)",tooLong:"Value is too long (maximum {max} characters)",invalidEmail:"Invalid email address",invalidUrl:"Invalid URL"},pagination:{previous:"Previous",next:"Next",page:"Page {page}",of:"of {total}"}},es:{common:{loading:"Cargando...",error:"Error",retry:"Reintentar",cancel:"Cancelar",confirm:"Confirmar",close:"Cerrar",save:"Guardar",delete:"Eliminar",edit:"Editar",search:"Buscar",clear:"Limpiar",submit:"Enviar",reset:"Restablecer"},form:{required:"Este campo es obligatorio",invalid:"Valor inv\xE1lido",tooShort:"El valor es demasiado corto (m\xEDnimo {min} caracteres)",tooLong:"El valor es demasiado largo (m\xE1ximo {max} caracteres)",invalidEmail:"Direcci\xF3n de correo electr\xF3nico inv\xE1lida",invalidUrl:"URL inv\xE1lida"},pagination:{previous:"Anterior",next:"Siguiente",page:"P\xE1gina {page}",of:"de {total}"}},fr:{common:{loading:"Chargement...",error:"Erreur",retry:"R\xE9essayer",cancel:"Annuler",confirm:"Confirmer",close:"Fermer",save:"Enregistrer",delete:"Supprimer",edit:"Modifier",search:"Rechercher",clear:"Effacer",submit:"Soumettre",reset:"R\xE9initialiser"},form:{required:"Ce champ est obligatoire",invalid:"Valeur invalide",tooShort:"La valeur est trop courte (minimum {min} caract\xE8res)",tooLong:"La valeur est trop longue (maximum {max} caract\xE8res)",invalidEmail:"Adresse e-mail invalide",invalidUrl:"URL invalide"},pagination:{previous:"Pr\xE9c\xE9dent",next:"Suivant",page:"Page {page}",of:"sur {total}"}}};function Qd(e={}){let{max:s=10,ttl:t=0,include:r,exclude:o,hooks:a,debug:i=!1}=e,n=new Map,d=0,c=0;function u(...g){if(i)console.log("[KeepAlive]",...g)}function p(g){if(o){if(o instanceof RegExp&&o.test(g))return!1;if(Array.isArray(o)&&o.includes(g))return!1}if(r){if(r instanceof RegExp&&!r.test(g))return!1;if(Array.isArray(r)&&!r.includes(g))return!1}return!0}function x(g){if(!t||!g.expiresAt)return!1;return Date.now()>g.expiresAt}function f(g){let b=n.get(g);if(b)b.lastAccessedAt=Date.now(),b.accessCount++,b.instance.lastAccessedAt=b.lastAccessedAt,n.delete(g),n.set(g,b),u(`Touched: ${g} (access count: ${b.accessCount})`)}function C(){if(n.size===0)return!1;let g=n.keys().next().value;if(!g)return!1;let b=n.get(g);if(b){u(`Evicting LRU: ${g}`);let y=b.instance.hooks;if(y?.onDeactivate)y.onDeactivate(b.instance);if(a?.onDeactivate)a.onDeactivate(b.instance);return n.delete(g),!0}return!1}function v(g,b,y){if(!p(b.type))return u(`Type not cacheable: ${b.type}`),b;if(n.size>=s)C();let L=Date.now(),E={instance:{...b,hooks:y||b.hooks,createdAt:b.createdAt||L,lastAccessedAt:L},accessCount:0,createdAt:L,lastAccessedAt:L,expiresAt:t?L+t:void 0};if(n.set(g,E),u(`Cached: ${g} (size: ${n.size}/${s})`),y?.onMount)y.onMount(E.instance);if(a?.onMount)a.onMount(E.instance);return E.instance}function k(g){let b=n.get(g);if(!b)return c++,u(`Miss: ${g}`),null;if(x(b))return u(`Expired: ${g}`),n.delete(g),c++,null;return d++,f(g),u(`Hit: ${g}`),b.instance}function m(g){let b=n.get(g);if(!b)return!1;if(x(b))return n.delete(g),!1;return!0}function h(g){let b=n.get(g);if(!b)return!1;u(`Removing: ${g}`);let y=b.instance.hooks;if(y?.onUnmount)y.onUnmount(b.instance);if(a?.onUnmount)a.onUnmount(b.instance);return n.delete(g)}function w(){u("Clearing cache"),n.forEach((g)=>{let b=g.instance.hooks;if(b?.onUnmount)b.onUnmount(g.instance);if(a?.onUnmount)a.onUnmount(g.instance)}),n.clear(),d=0,c=0}function D(){let g=0,b=Date.now();for(let[y,L]of n.entries())if(x(L))u(`Pruning expired: ${y}`),h(y),g++;while(n.size>s)if(C())g++;else break;if(g>0)u(`Pruned ${g} entries`);return g}function T(g){let b=k(g);if(!b)return null;u(`Activating: ${g}`);let y=b.hooks;if(y?.onActivate)y.onActivate(b);if(a?.onActivate)a.onActivate(b);if(b.state&&y?.onRestore)y.onRestore(b,b.state);return b}function te(g){let b=n.get(g);if(!b)return!1;u(`Deactivating: ${g}`);let y=b.instance,L=y.hooks;if(L?.onSave)y.state=L.onSave(y);if(L?.onDeactivate)L.onDeactivate(y);if(a?.onDeactivate)a.onDeactivate(y);return!0}function _(){let g=d+c;return{hits:d,misses:c,size:n.size,max:s,hitRate:g>0?d/g:0,keys:Array.from(n.keys())}}function V(){return Array.from(n.keys())}function Z(){return n.size}return{cache:v,get:k,has:m,remove:h,clear:w,prune:D,activate:T,deactivate:te,getStats:_,keys:V,size:Z}}function ec(e){let s=new Map;return{set(t,r){if(s.has(t))s.delete(t);if(s.set(t,r),s.size>e){let o=s.keys().next().value;if(o)s.delete(o)}},get(t){if(!s.has(t))return;let r=s.get(t);return s.delete(t),s.set(t,r),r},has(t){return s.has(t)},delete(t){return s.delete(t)},clear(){s.clear()},get size(){return s.size},keys(){return Array.from(s.keys())},values(){return Array.from(s.values())},forEach(t){s.forEach(t)}}}function sc(){let e=new Map;return{save(s,t){e.set(s,JSON.parse(JSON.stringify(t)))},restore(s){let t=e.get(s);return t?JSON.parse(JSON.stringify(t)):null},has(s){return e.has(s)},remove(s){return e.delete(s)},clear(){e.clear()},keys(){return Array.from(e.keys())},get size(){return e.size}}}function tc(e,s={}){let{maxSize:t=100,reset:r}=s,o=[];return{acquire(){if(o.length>0)return o.pop();return e()},release(a){if(o.length<t){if(r)r(a);o.push(a)}},clear(){o.length=0},get size(){return o.length},get maxSize(){return t}}}var P=new Map;async function W(e,s){let t=s||e.toString();if(P.has(t))return P.get(t);let r=e();P.set(t,r);try{return await r}catch(o){throw P.delete(t),o}}function oc(e,s={}){let{retryAttempts:t=3,retryDelay:r=1000,onLoading:o,onLoaded:a,onError:i}=s,n="idle",d,c,u=async(p=0)=>{try{if(n==="loading"||n==="loaded"){if(d)return d}n="loading",o?.();let x=await W(e);return d=x,n="loaded",a?.(x),x}catch(x){let f=x;if(p<t)return await new Promise((C)=>setTimeout(C,r*(p+1))),u(p+1);throw n="error",c=f,i?.(f),f}};return{get state(){return n},get module(){return d},get error(){return c},load:()=>u(),preload:()=>u()}}function po(e,s,t={}){if(!e)return console.warn("lazyLoad: element is null"),()=>{};let{root:r=null,rootMargin:o="0px",threshold:a=0.01,placeholder:i,errorContent:n,onLoading:d,onLoaded:c,onError:u}=t,p=!1,x=null;if(i)if(typeof i==="string")e.innerHTML=i;else e.innerHTML="",e.appendChild(i);return x=new IntersectionObserver(async(C)=>{for(let v of C)if(v.isIntersecting&&!p){p=!0,x?.disconnect();try{d?.();let k=await W(s);if(c?.(k),k&&typeof k.default?.render==="function"){let m=await k.default.render();e.innerHTML=m}}catch(k){let m=k;if(u?.(m),n)if(typeof n==="string")e.innerHTML=n;else e.innerHTML="",e.appendChild(n);else e.innerHTML=`<div style="color: red;">Failed to load component: ${m.message}</div>`}}},{root:r,rootMargin:o,threshold:a}),x.observe(e),()=>{x?.disconnect(),x=null}}function ac(e,s,t={}){let r=[],o=Array.from(e);for(let a of o){let i=typeof s==="function"&&s.length>0?()=>s(a):s,n=po(a,i,t);r.push(n)}return()=>{r.forEach((a)=>a())}}function go(e){return W(e)}function ic(e){return Promise.all(e.map((s)=>go(s)))}function nc(e){if(e)P.delete(e);else P.clear()}function lc(){return{size:P.size,keys:Array.from(P.keys())}}function dc(e){return{async load(s){let t=e[s];if(!t)throw Error(`No route found for path: ${s}`);return W(t,`route:${s}`)},async preload(s){return this.load(s)},async preloadRoutes(s){return Promise.all(s.map((t)=>this.preload(t)))}}}function uo(e,s,t={}){if(!e)return()=>{};let{root:r=null,rootMargin:o="50px",threshold:a=0.01,placeholder:i,onLoading:n,onLoaded:d,onError:c}=t;if(i&&typeof i==="string")e.src=i;let u=!1,p=null;return p=new IntersectionObserver((f)=>{for(let C of f)if(C.isIntersecting&&!u)u=!0,p?.disconnect(),n?.(),e.src=s,e.addEventListener("load",()=>{d?.(e),e.classList.add("loaded")},{once:!0}),e.addEventListener("error",(v)=>{let k=Error(`Failed to load image: ${s}`);c?.(k),e.classList.add("error")},{once:!0})},{root:r,rootMargin:o,threshold:a}),p.observe(e),()=>{p?.disconnect(),p=null}}function cc(e=document,s={}){let t=e.querySelectorAll("img[data-lazy-src]"),r=[];return t.forEach((o)=>{let a=o.getAttribute("data-lazy-src");if(a){let i=uo(o,a,s);r.push(i)}}),()=>{r.forEach((o)=>o())}}var se={colors:{primary:"#3b82f6",secondary:"#8b5cf6",success:"#10b981",warning:"#f59e0b",danger:"#ef4444",info:"#06b6d4",gray:"#6b7280",white:"#ffffff",black:"#000000"},typography:{fontFamily:{sans:'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',serif:'Georgia, Cambria, "Times New Roman", Times, serif',mono:'Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},fontSize:{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem"},fontWeight:{light:"300",normal:"400",medium:"500",semibold:"600",bold:"700"},lineHeight:{tight:"1.25",normal:"1.5",relaxed:"1.75"}},spacing:{xs:"0.25rem",sm:"0.5rem",md:"1rem",lg:"1.5rem",xl:"2rem","2xl":"3rem","3xl":"4rem","4xl":"6rem"},borderRadius:{none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",full:"9999px"},shadows:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",none:"none"},components:{button:{borderRadius:"0.375rem",padding:"0.5rem 1rem",fontSize:"0.875rem",fontWeight:"500"},input:{borderRadius:"0.375rem",padding:"0.5rem 0.75rem",fontSize:"0.875rem",borderWidth:"1px"},card:{borderRadius:"0.5rem",padding:"1.5rem",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1)"}}};function ne(e,s){let t={...e};for(let r in s)if(s[r]instanceof Object&&r in e)t[r]=ne(e[r],s[r]);else t[r]=s[r];return t}function H(e){return ne(se,e)}var Y=se;function gc(){return Y}function fo(e){let s=[];if(e.colors)Object.entries(e.colors).forEach(([t,r])=>{if(r)s.push(`--color-${t}: ${r};`)});if(e.typography?.fontFamily)Object.entries(e.typography.fontFamily).forEach(([t,r])=>{if(r)s.push(`--font-${t}: ${r};`)});if(e.typography?.fontSize)Object.entries(e.typography.fontSize).forEach(([t,r])=>{if(r)s.push(`--text-${t}: ${r};`)});if(e.typography?.fontWeight)Object.entries(e.typography.fontWeight).forEach(([t,r])=>{if(r)s.push(`--font-weight-${t}: ${r};`)});if(e.typography?.lineHeight)Object.entries(e.typography.lineHeight).forEach(([t,r])=>{if(r)s.push(`--leading-${t}: ${r};`)});if(e.spacing)Object.entries(e.spacing).forEach(([t,r])=>{if(r)s.push(`--spacing-${t}: ${r};`)});if(e.borderRadius)Object.entries(e.borderRadius).forEach(([t,r])=>{if(r)s.push(`--radius-${t}: ${r};`)});if(e.shadows)Object.entries(e.shadows).forEach(([t,r])=>{if(r)s.push(`--shadow-${t}: ${r};`)});if(e.components?.button)Object.entries(e.components.button).forEach(([t,r])=>{if(r)s.push(`--button-${t.replace(/([A-Z])/g,"-$1").toLowerCase()}: ${r};`)});if(e.components?.input)Object.entries(e.components.input).forEach(([t,r])=>{if(r)s.push(`--input-${t.replace(/([A-Z])/g,"-$1").toLowerCase()}: ${r};`)});if(e.components?.card)Object.entries(e.components.card).forEach(([t,r])=>{if(r)s.push(`--card-${t.replace(/([A-Z])/g,"-$1").toLowerCase()}: ${r};`)});return`:root {
|
|
16
|
+
`,r=document.createElement("style");r.textContent=t,document.head.appendChild(r)}function oa(e,s,t={}){if(typeof e.animate!=="function")return console.warn("Web Animations API not supported"),null;let{duration:r=1000,easing:a="ease",delay:o=0,iterations:i=1,direction:n="normal",fill:d="both"}=t;return e.animate([...s],{duration:r,easing:a,delay:o,iterations:i,direction:n,fill:d})}var ia={fadeIn:[{offset:0,opacity:0},{offset:1,opacity:1}],fadeOut:[{offset:0,opacity:1},{offset:1,opacity:0}],slideInUp:[{offset:0,transform:"translateY(100%)",opacity:0},{offset:1,transform:"translateY(0)",opacity:1}],slideInDown:[{offset:0,transform:"translateY(-100%)",opacity:0},{offset:1,transform:"translateY(0)",opacity:1}],slideInLeft:[{offset:0,transform:"translateX(-100%)",opacity:0},{offset:1,transform:"translateX(0)",opacity:1}],slideInRight:[{offset:0,transform:"translateX(100%)",opacity:0},{offset:1,transform:"translateX(0)",opacity:1}],slideOutUp:[{offset:0,transform:"translateY(0)",opacity:1},{offset:1,transform:"translateY(-100%)",opacity:0}],slideOutDown:[{offset:0,transform:"translateY(0)",opacity:1},{offset:1,transform:"translateY(100%)",opacity:0}],slideOutLeft:[{offset:0,transform:"translateX(0)",opacity:1},{offset:1,transform:"translateX(-100%)",opacity:0}],slideOutRight:[{offset:0,transform:"translateX(0)",opacity:1},{offset:1,transform:"translateX(100%)",opacity:0}],zoomIn:[{offset:0,transform:"scale(0)",opacity:0},{offset:0.5,opacity:1},{offset:1,transform:"scale(1)"}],zoomOut:[{offset:0,transform:"scale(1)",opacity:1},{offset:0.5,opacity:1},{offset:1,transform:"scale(0)",opacity:0}],rotate:[{offset:0,transform:"rotate(0deg)"},{offset:1,transform:"rotate(360deg)"}],bounce:[{offset:0,transform:"translateY(0)"},{offset:0.2,transform:"translateY(0)"},{offset:0.4,transform:"translateY(-30px)"},{offset:0.43,transform:"translateY(-30px)"},{offset:0.53,transform:"translateY(0)"},{offset:0.7,transform:"translateY(-15px)"},{offset:0.8,transform:"translateY(0)"},{offset:0.9,transform:"translateY(-4px)"},{offset:1,transform:"translateY(0)"}],pulse:[{offset:0,transform:"scale(1)"},{offset:0.5,transform:"scale(1.05)"},{offset:1,transform:"scale(1)"}],shake:[{offset:0,transform:"translateX(0)"},{offset:0.1,transform:"translateX(-10px)"},{offset:0.2,transform:"translateX(10px)"},{offset:0.3,transform:"translateX(-10px)"},{offset:0.4,transform:"translateX(10px)"},{offset:0.5,transform:"translateX(-10px)"},{offset:0.6,transform:"translateX(10px)"},{offset:0.7,transform:"translateX(-10px)"},{offset:0.8,transform:"translateX(10px)"},{offset:0.9,transform:"translateX(-10px)"},{offset:1,transform:"translateX(0)"}],swing:[{offset:0,transform:"rotate(0deg)"},{offset:0.2,transform:"rotate(15deg)"},{offset:0.4,transform:"rotate(-10deg)"},{offset:0.6,transform:"rotate(5deg)"},{offset:0.8,transform:"rotate(-5deg)"},{offset:1,transform:"rotate(0deg)"}],flip:[{offset:0,transform:"perspective(400px) rotateY(0)",animationTimingFunction:"ease-out"},{offset:0.4,transform:"perspective(400px) translateZ(150px) rotateY(170deg)",animationTimingFunction:"ease-out"},{offset:0.5,transform:"perspective(400px) translateZ(150px) rotateY(190deg)",animationTimingFunction:"ease-in"},{offset:0.8,transform:"perspective(400px) rotateY(360deg)",animationTimingFunction:"ease-in"},{offset:1,transform:"perspective(400px)",animationTimingFunction:"ease-in"}],rubberBand:[{offset:0,transform:"scale(1)"},{offset:0.3,transform:"scaleX(1.25) scaleY(0.75)"},{offset:0.4,transform:"scaleX(0.75) scaleY(1.25)"},{offset:0.5,transform:"scaleX(1.15) scaleY(0.85)"},{offset:0.65,transform:"scaleX(0.95) scaleY(1.05)"},{offset:0.75,transform:"scaleX(1.05) scaleY(0.95)"},{offset:1,transform:"scale(1)"}],heartbeat:[{offset:0,transform:"scale(1)"},{offset:0.14,transform:"scale(1.3)"},{offset:0.28,transform:"scale(1)"},{offset:0.42,transform:"scale(1.3)"},{offset:0.7,transform:"scale(1)"}]};function Td(e,s,t={}){return oa(e,ia[s],t)}import{createHighlighter as na}from"ts-syntax-highlighter";var Q=null;async function la(){if(!Q)Q=await na({theme:"github-light"});return Q}async function jd(e,s={}){let{theme:t="auto",language:r="typescript",lineNumbers:a=!1,wrapLines:o=!0}=s,i=await la(),n=t==="auto"?globalThis.matchMedia?.("(prefers-color-scheme: dark)").matches?"github-dark":"github-light":t==="dark"?"github-dark":"github-light",d=await i.highlight(e,r);return{html:typeof d==="string"?d:String(d),language:r,theme:n}}function qd(e){if(e.includes("<!DOCTYPE")||e.includes("<html"))return"html";if(e.includes("<?php"))return"php";if(e.includes("import")&&e.includes("from"))return"typescript";if(e.includes("function")||e.includes("const"))return"javascript";if(e.includes("{")&&e.includes("}"))return"json";if(e.includes("$")&&e.includes("|"))return"bash";if(e.includes("#")&&e.includes("##"))return"markdown";return"typescript"}function Rd(e,s){return`<div class="${s?`rounded-md overflow-auto text-sm leading-relaxed font-mono ${s}`:"rounded-md overflow-auto text-sm leading-relaxed font-mono"}">${e}</div>`}var I=null,da=(e)=>{return e===1?0:1};function U(e,s){return s.split(".").reduce((t,r)=>t?.[r],e)}function ee(e,s={}){return e.replace(/\{(\w+)\}/g,(t,r)=>{return s[r]!==void 0?String(s[r]):t})}function Ed(e){let{locale:s,fallbackLocale:t="en",messages:r,pluralRules:a={},dateTimeFormats:o={},numberFormats:i={},missing:n,warnMissing:d=!0}=e;function c(m,h={}){let w=U(r[s],m);if(w===void 0&&t)w=U(r[t],m);if(w===void 0){if(n){let D=n(s,m);if(D)return ee(D,h)}if(d&&typeof console<"u")console.warn(`[i18n] Missing translation for key "${m}" in locale "${s}"`);return m}if(typeof w==="string")return ee(w,h);return String(w)}function u(m,h,w={}){let D=c(m,{...w,count:h});if(D.includes("|")){let T=D.split("|").map((Z)=>Z.trim()),_=(a[s]||da)(h,s),V=T[_]||T[T.length-1];return ee(V,{...w,count:h})}return D}function p(m,h="default"){let w=typeof m==="number"?new Date(m):m,D=o[h]||o.default||{};return new Intl.DateTimeFormat(s,D).format(w)}function x(m,h="default"){let w=i[h]||i.default||{};return new Intl.NumberFormat(s,w).format(m)}function f(m){if(U(r[s],m)!==void 0)return!0;if(t)return U(r[t],m)!==void 0;return!1}function C(m){if(!r[m]){console.warn(`[i18n] Locale "${m}" not found. Available locales: ${Object.keys(r).join(", ")}`);return}s=m}function v(m,h){if(!r[m])r[m]={};r[m]={...r[m],...h}}function k(m){delete r[m]}return{get locale(){return s},get availableLocales(){return Object.keys(r)},setLocale:C,t:c,tc:u,d:p,n:x,te:f,addMessages:v,removeLocale:k}}function Ad(e){I=e}function Od(){return I}function Fd(e,s){if(!I)return console.warn("[i18n] No global i18n instance set. Call setI18n() first."),e;return I.t(e,s)}function Gd(e,s,t){if(!I)return console.warn("[i18n] No global i18n instance set. Call setI18n() first."),e;return I.tc(e,s,t)}function Ud(e,s){if(!I)return console.warn("[i18n] No global i18n instance set. Call setI18n() first."),String(e);return I.d(e,s)}function Wd(e,s){if(!I)return console.warn("[i18n] No global i18n instance set. Call setI18n() first."),String(e);return I.n(e,s)}var Yd={en:(e)=>e===1?0:1,de:(e)=>e===1?0:1,nl:(e)=>e===1?0:1,sv:(e)=>e===1?0:1,fr:(e)=>e===0||e===1?0:1,pt_BR:(e)=>e===0||e===1?0:1,ru:(e)=>{if(e%10===1&&e%100!==11)return 0;if(e%10>=2&&e%10<=4&&(e%100<10||e%100>=20))return 1;return 2},pl:(e)=>{if(e===1)return 0;if(e%10>=2&&e%10<=4&&(e%100<10||e%100>=20))return 1;return 2},cs:(e)=>{if(e===1)return 0;if(e>=2&&e<=4)return 1;return 2},ar:(e)=>{if(e===0)return 0;if(e===1)return 1;if(e===2)return 2;if(e%100>=3&&e%100<=10)return 3;if(e%100>=11)return 4;return 5},ja:()=>0,ko:()=>0,zh:()=>0,th:()=>0,vi:()=>0},_d={short:{year:"numeric",month:"numeric",day:"numeric"},long:{year:"numeric",month:"long",day:"numeric"},full:{weekday:"long",year:"numeric",month:"long",day:"numeric"},time:{hour:"numeric",minute:"numeric"},datetime:{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"}},Vd={decimal:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2},currency:{style:"currency",currency:"USD"},percent:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:2},compact:{notation:"compact"}};function Zd(e){let s=["ar","he","fa","ur","yi"],t=e.split("-")[0].toLowerCase();return s.includes(t)}async function Xd(e,s){try{return await s()}catch(t){return console.error(`[i18n] Failed to load messages for locale "${e}":`,t),{}}}var Jd={en:{common:{loading:"Loading...",error:"Error",retry:"Retry",cancel:"Cancel",confirm:"Confirm",close:"Close",save:"Save",delete:"Delete",edit:"Edit",search:"Search",clear:"Clear",submit:"Submit",reset:"Reset"},form:{required:"This field is required",invalid:"Invalid value",tooShort:"Value is too short (minimum {min} characters)",tooLong:"Value is too long (maximum {max} characters)",invalidEmail:"Invalid email address",invalidUrl:"Invalid URL"},pagination:{previous:"Previous",next:"Next",page:"Page {page}",of:"of {total}"}},es:{common:{loading:"Cargando...",error:"Error",retry:"Reintentar",cancel:"Cancelar",confirm:"Confirmar",close:"Cerrar",save:"Guardar",delete:"Eliminar",edit:"Editar",search:"Buscar",clear:"Limpiar",submit:"Enviar",reset:"Restablecer"},form:{required:"Este campo es obligatorio",invalid:"Valor inv\xE1lido",tooShort:"El valor es demasiado corto (m\xEDnimo {min} caracteres)",tooLong:"El valor es demasiado largo (m\xE1ximo {max} caracteres)",invalidEmail:"Direcci\xF3n de correo electr\xF3nico inv\xE1lida",invalidUrl:"URL inv\xE1lida"},pagination:{previous:"Anterior",next:"Siguiente",page:"P\xE1gina {page}",of:"de {total}"}},fr:{common:{loading:"Chargement...",error:"Erreur",retry:"R\xE9essayer",cancel:"Annuler",confirm:"Confirmer",close:"Fermer",save:"Enregistrer",delete:"Supprimer",edit:"Modifier",search:"Rechercher",clear:"Effacer",submit:"Soumettre",reset:"R\xE9initialiser"},form:{required:"Ce champ est obligatoire",invalid:"Valeur invalide",tooShort:"La valeur est trop courte (minimum {min} caract\xE8res)",tooLong:"La valeur est trop longue (maximum {max} caract\xE8res)",invalidEmail:"Adresse e-mail invalide",invalidUrl:"URL invalide"},pagination:{previous:"Pr\xE9c\xE9dent",next:"Suivant",page:"Page {page}",of:"sur {total}"}}};function Qd(e={}){let{max:s=10,ttl:t=0,include:r,exclude:a,hooks:o,debug:i=!1}=e,n=new Map,d=0,c=0;function u(...g){if(i)console.log("[KeepAlive]",...g)}function p(g){if(a){if(a instanceof RegExp&&a.test(g))return!1;if(Array.isArray(a)&&a.includes(g))return!1}if(r){if(r instanceof RegExp&&!r.test(g))return!1;if(Array.isArray(r)&&!r.includes(g))return!1}return!0}function x(g){if(!t||!g.expiresAt)return!1;return Date.now()>g.expiresAt}function f(g){let b=n.get(g);if(b)b.lastAccessedAt=Date.now(),b.accessCount++,b.instance.lastAccessedAt=b.lastAccessedAt,n.delete(g),n.set(g,b),u(`Touched: ${g} (access count: ${b.accessCount})`)}function C(){if(n.size===0)return!1;let g=n.keys().next().value;if(!g)return!1;let b=n.get(g);if(b){u(`Evicting LRU: ${g}`);let y=b.instance.hooks;if(y?.onDeactivate)y.onDeactivate(b.instance);if(o?.onDeactivate)o.onDeactivate(b.instance);return n.delete(g),!0}return!1}function v(g,b,y){if(!p(b.type))return u(`Type not cacheable: ${b.type}`),b;if(n.size>=s)C();let L=Date.now(),E={instance:{...b,hooks:y||b.hooks,createdAt:b.createdAt||L,lastAccessedAt:L},accessCount:0,createdAt:L,lastAccessedAt:L,expiresAt:t?L+t:void 0};if(n.set(g,E),u(`Cached: ${g} (size: ${n.size}/${s})`),y?.onMount)y.onMount(E.instance);if(o?.onMount)o.onMount(E.instance);return E.instance}function k(g){let b=n.get(g);if(!b)return c++,u(`Miss: ${g}`),null;if(x(b))return u(`Expired: ${g}`),n.delete(g),c++,null;return d++,f(g),u(`Hit: ${g}`),b.instance}function m(g){let b=n.get(g);if(!b)return!1;if(x(b))return n.delete(g),!1;return!0}function h(g){let b=n.get(g);if(!b)return!1;u(`Removing: ${g}`);let y=b.instance.hooks;if(y?.onUnmount)y.onUnmount(b.instance);if(o?.onUnmount)o.onUnmount(b.instance);return n.delete(g)}function w(){u("Clearing cache"),n.forEach((g)=>{let b=g.instance.hooks;if(b?.onUnmount)b.onUnmount(g.instance);if(o?.onUnmount)o.onUnmount(g.instance)}),n.clear(),d=0,c=0}function D(){let g=0,b=Date.now();for(let[y,L]of n.entries())if(x(L))u(`Pruning expired: ${y}`),h(y),g++;while(n.size>s)if(C())g++;else break;if(g>0)u(`Pruned ${g} entries`);return g}function T(g){let b=k(g);if(!b)return null;u(`Activating: ${g}`);let y=b.hooks;if(y?.onActivate)y.onActivate(b);if(o?.onActivate)o.onActivate(b);if(b.state&&y?.onRestore)y.onRestore(b,b.state);return b}function te(g){let b=n.get(g);if(!b)return!1;u(`Deactivating: ${g}`);let y=b.instance,L=y.hooks;if(L?.onSave)y.state=L.onSave(y);if(L?.onDeactivate)L.onDeactivate(y);if(o?.onDeactivate)o.onDeactivate(y);return!0}function _(){let g=d+c;return{hits:d,misses:c,size:n.size,max:s,hitRate:g>0?d/g:0,keys:Array.from(n.keys())}}function V(){return Array.from(n.keys())}function Z(){return n.size}return{cache:v,get:k,has:m,remove:h,clear:w,prune:D,activate:T,deactivate:te,getStats:_,keys:V,size:Z}}function ec(e){let s=new Map;return{set(t,r){if(s.has(t))s.delete(t);if(s.set(t,r),s.size>e){let a=s.keys().next().value;if(a)s.delete(a)}},get(t){if(!s.has(t))return;let r=s.get(t);return s.delete(t),s.set(t,r),r},has(t){return s.has(t)},delete(t){return s.delete(t)},clear(){s.clear()},get size(){return s.size},keys(){return Array.from(s.keys())},values(){return Array.from(s.values())},forEach(t){s.forEach(t)}}}function sc(){let e=new Map;return{save(s,t){e.set(s,JSON.parse(JSON.stringify(t)))},restore(s){let t=e.get(s);return t?JSON.parse(JSON.stringify(t)):null},has(s){return e.has(s)},remove(s){return e.delete(s)},clear(){e.clear()},keys(){return Array.from(e.keys())},get size(){return e.size}}}function tc(e,s={}){let{maxSize:t=100,reset:r}=s,a=[];return{acquire(){if(a.length>0)return a.pop();return e()},release(o){if(a.length<t){if(r)r(o);a.push(o)}},clear(){a.length=0},get size(){return a.length},get maxSize(){return t}}}var P=new Map;async function W(e,s){let t=s||e.toString();if(P.has(t))return P.get(t);let r=e();P.set(t,r);try{return await r}catch(a){throw P.delete(t),a}}function ac(e,s={}){let{retryAttempts:t=3,retryDelay:r=1000,onLoading:a,onLoaded:o,onError:i}=s,n="idle",d,c,u=async(p=0)=>{try{if(n==="loading"||n==="loaded"){if(d)return d}n="loading",a?.();let x=await W(e);return d=x,n="loaded",o?.(x),x}catch(x){let f=x;if(p<t)return await new Promise((C)=>setTimeout(C,r*(p+1))),u(p+1);throw n="error",c=f,i?.(f),f}};return{get state(){return n},get module(){return d},get error(){return c},load:()=>u(),preload:()=>u()}}function ca(e,s,t={}){if(!e)return console.warn("lazyLoad: element is null"),()=>{};let{root:r=null,rootMargin:a="0px",threshold:o=0.01,placeholder:i,errorContent:n,onLoading:d,onLoaded:c,onError:u}=t,p=!1,x=null;if(i)if(typeof i==="string")e.innerHTML=i;else e.innerHTML="",e.appendChild(i);return x=new IntersectionObserver(async(C)=>{for(let v of C)if(v.isIntersecting&&!p){p=!0,x?.disconnect();try{d?.();let k=await W(s);if(c?.(k),k&&typeof k.default?.render==="function"){let m=await k.default.render();e.innerHTML=m}}catch(k){let m=k;if(u?.(m),n)if(typeof n==="string")e.innerHTML=n;else e.innerHTML="",e.appendChild(n);else e.innerHTML=`<div style="color: red;">Failed to load component: ${m.message}</div>`}}},{root:r,rootMargin:a,threshold:o}),x.observe(e),()=>{x?.disconnect(),x=null}}function oc(e,s,t={}){let r=[],a=Array.from(e);for(let o of a){let i=typeof s==="function"&&s.length>0?()=>s(o):s,n=ca(o,i,t);r.push(n)}return()=>{r.forEach((o)=>o())}}function pa(e){return W(e)}function ic(e){return Promise.all(e.map((s)=>pa(s)))}function nc(e){if(e)P.delete(e);else P.clear()}function lc(){return{size:P.size,keys:Array.from(P.keys())}}function dc(e){return{async load(s){let t=e[s];if(!t)throw Error(`No route found for path: ${s}`);return W(t,`route:${s}`)},async preload(s){return this.load(s)},async preloadRoutes(s){return Promise.all(s.map((t)=>this.preload(t)))}}}function ga(e,s,t={}){if(!e)return()=>{};let{root:r=null,rootMargin:a="50px",threshold:o=0.01,placeholder:i,onLoading:n,onLoaded:d,onError:c}=t;if(i&&typeof i==="string")e.src=i;let u=!1,p=null;return p=new IntersectionObserver((f)=>{for(let C of f)if(C.isIntersecting&&!u)u=!0,p?.disconnect(),n?.(),e.src=s,e.addEventListener("load",()=>{d?.(e),e.classList.add("loaded")},{once:!0}),e.addEventListener("error",(v)=>{let k=Error(`Failed to load image: ${s}`);c?.(k),e.classList.add("error")},{once:!0})},{root:r,rootMargin:a,threshold:o}),p.observe(e),()=>{p?.disconnect(),p=null}}function cc(e=document,s={}){let t=e.querySelectorAll("img[data-lazy-src]"),r=[];return t.forEach((a)=>{let o=a.getAttribute("data-lazy-src");if(o){let i=ga(a,o,s);r.push(i)}}),()=>{r.forEach((a)=>a())}}var se={colors:{primary:"#3b82f6",secondary:"#8b5cf6",success:"#10b981",warning:"#f59e0b",danger:"#ef4444",info:"#06b6d4",gray:"#6b7280",white:"#ffffff",black:"#000000"},typography:{fontFamily:{sans:'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',serif:'Georgia, Cambria, "Times New Roman", Times, serif',mono:'Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},fontSize:{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem"},fontWeight:{light:"300",normal:"400",medium:"500",semibold:"600",bold:"700"},lineHeight:{tight:"1.25",normal:"1.5",relaxed:"1.75"}},spacing:{xs:"0.25rem",sm:"0.5rem",md:"1rem",lg:"1.5rem",xl:"2rem","2xl":"3rem","3xl":"4rem","4xl":"6rem"},borderRadius:{none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",full:"9999px"},shadows:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",none:"none"},components:{button:{borderRadius:"0.375rem",padding:"0.5rem 1rem",fontSize:"0.875rem",fontWeight:"500"},input:{borderRadius:"0.375rem",padding:"0.5rem 0.75rem",fontSize:"0.875rem",borderWidth:"1px"},card:{borderRadius:"0.5rem",padding:"1.5rem",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1)"}}};function ne(e,s){let t={...e};for(let r in s)if(s[r]instanceof Object&&r in e)t[r]=ne(e[r],s[r]);else t[r]=s[r];return t}function H(e){return ne(se,e)}var Y=se;function gc(){return Y}function ua(e){let s=[];if(e.colors)Object.entries(e.colors).forEach(([t,r])=>{if(r)s.push(`--color-${t}: ${r};`)});if(e.typography?.fontFamily)Object.entries(e.typography.fontFamily).forEach(([t,r])=>{if(r)s.push(`--font-${t}: ${r};`)});if(e.typography?.fontSize)Object.entries(e.typography.fontSize).forEach(([t,r])=>{if(r)s.push(`--text-${t}: ${r};`)});if(e.typography?.fontWeight)Object.entries(e.typography.fontWeight).forEach(([t,r])=>{if(r)s.push(`--font-weight-${t}: ${r};`)});if(e.typography?.lineHeight)Object.entries(e.typography.lineHeight).forEach(([t,r])=>{if(r)s.push(`--leading-${t}: ${r};`)});if(e.spacing)Object.entries(e.spacing).forEach(([t,r])=>{if(r)s.push(`--spacing-${t}: ${r};`)});if(e.borderRadius)Object.entries(e.borderRadius).forEach(([t,r])=>{if(r)s.push(`--radius-${t}: ${r};`)});if(e.shadows)Object.entries(e.shadows).forEach(([t,r])=>{if(r)s.push(`--shadow-${t}: ${r};`)});if(e.components?.button)Object.entries(e.components.button).forEach(([t,r])=>{if(r)s.push(`--button-${t.replace(/([A-Z])/g,"-$1").toLowerCase()}: ${r};`)});if(e.components?.input)Object.entries(e.components.input).forEach(([t,r])=>{if(r)s.push(`--input-${t.replace(/([A-Z])/g,"-$1").toLowerCase()}: ${r};`)});if(e.components?.card)Object.entries(e.components.card).forEach(([t,r])=>{if(r)s.push(`--card-${t.replace(/([A-Z])/g,"-$1").toLowerCase()}: ${r};`)});return`:root {
|
|
17
17
|
${s.join(`
|
|
18
18
|
`)}
|
|
19
|
-
}`}function uc(e,s){if(Y=e,typeof document>"u")return;let t=s||document.documentElement;if(e.colors)Object.entries(e.colors).forEach(([r,
|
|
19
|
+
}`}function uc(e,s){if(Y=e,typeof document>"u")return;let t=s||document.documentElement;if(e.colors)Object.entries(e.colors).forEach(([r,a])=>{if(a)t.style.setProperty(`--color-${r}`,a)});if(e.typography?.fontFamily)Object.entries(e.typography.fontFamily).forEach(([r,a])=>{if(a)t.style.setProperty(`--font-${r}`,a)});if(e.typography?.fontSize)Object.entries(e.typography.fontSize).forEach(([r,a])=>{if(a)t.style.setProperty(`--text-${r}`,a)});if(e.typography?.fontWeight)Object.entries(e.typography.fontWeight).forEach(([r,a])=>{if(a)t.style.setProperty(`--font-weight-${r}`,a)});if(e.typography?.lineHeight)Object.entries(e.typography.lineHeight).forEach(([r,a])=>{if(a)t.style.setProperty(`--leading-${r}`,a)});if(e.spacing)Object.entries(e.spacing).forEach(([r,a])=>{if(a)t.style.setProperty(`--spacing-${r}`,a)});if(e.borderRadius)Object.entries(e.borderRadius).forEach(([r,a])=>{if(a)t.style.setProperty(`--radius-${r}`,a)});if(e.shadows)Object.entries(e.shadows).forEach(([r,a])=>{if(a)t.style.setProperty(`--shadow-${r}`,a)});if(e.components?.button)Object.entries(e.components.button).forEach(([r,a])=>{if(a)t.style.setProperty(`--button-${r.replace(/([A-Z])/g,"-$1").toLowerCase()}`,a)});if(e.components?.input)Object.entries(e.components.input).forEach(([r,a])=>{if(a)t.style.setProperty(`--input-${r.replace(/([A-Z])/g,"-$1").toLowerCase()}`,a)});if(e.components?.card)Object.entries(e.components.card).forEach(([r,a])=>{if(a)t.style.setProperty(`--card-${r.replace(/([A-Z])/g,"-$1").toLowerCase()}`,a)})}function fc(){return Y}function bc(e){let s=e.split("."),t=Y;for(let r of s)if(t&&typeof t==="object"&&r in t)t=t[r];else return;return t}var xc={default:se,purple:H({colors:{primary:"#8b5cf6",secondary:"#a78bfa"}}),green:H({colors:{primary:"#10b981",secondary:"#34d399"}}),orange:H({colors:{primary:"#f97316",secondary:"#fb923c"}}),dark:H({colors:{primary:"#60a5fa",secondary:"#a78bfa",gray:"#9ca3af",white:"#1f2937",black:"#f9fafb"}}),minimal:H({borderRadius:{none:"0",sm:"0",md:"0.125rem",lg:"0.25rem",full:"0.25rem"},shadows:{sm:"none",md:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",lg:"0 1px 3px 0 rgba(0, 0, 0, 0.1)",xl:"0 4px 6px -1px rgba(0, 0, 0, 0.1)","2xl":"0 10px 15px -3px rgba(0, 0, 0, 0.1)",none:"none"}})};function mc(e){return ua(e)}export{re as wrapErrorHandler,bo as warnProp,Le as warn,aa as waitForAnimation,wo as validateVariant,Bi as validateTextInputProps,$o as validateSize,Hi as validateSearchInputProps,Ie as validateProps,qi as validatePasswordInputProps,Ri as validateNumberInputProps,wi as validateFormProps,ji as validateEmailInputProps,Co as validateButtonProps,yd as validateAriaRelationships,fc as useTheme,va as useSEO,ja as usePrefersReducedMotion,j as useMediaQuery,La as useLocalStorage,Na as useKeyboard,Ta as useIsMobile,Pa as useIsDesktop,Ba as useIsDarkMode,ka as useFocusTrap,ma as useDarkMode,fa as useCopyCode,wa as useClickOutside,Ia as useBreakpoint,ua as themeToCSSProperties,xc as themePresets,Rs as textInputPropSchema,Gd as tc,Fd as t,ml as storage,Nd as staggerAnimation,de as setTitle,S as setMeta,ce as setLink,Ad as setI18n,io as setErrorHandler,zd as sequenceAnimations,Sd as removeAnimation,ic as preloadModules,pa as preloadModule,md as prefersReducedMotion,hd as prefersHighContrast,Yd as pluralRules,Hs as numberInputPropSchema,Vd as numberFormats,Wd as n,ud as moveFocus,Xd as loadLocaleMessages,Dr as linear,W as lazyLoadModule,cc as lazyLoadImages,ga as lazyLoadImage,ac as lazyLoadComponent,oc as lazyLoadAll,ca as lazyLoad,fd as isVisibleToScreenReader,Zd as isRTL,jd as highlight,gd as hasFocus,O as handleError,bc as getThemeValue,gc as getTheme,le as getSystemTheme,Od as getI18n,la as getHighlighter,J as getFocusableElements,X as getEffectiveTheme,vd as getColorSchemePreference,lc as getCacheStats,mc as generateThemeCSS,Ca as generateSEOTags,ae as generateId,$s as formPropSchema,po as errorBoundary,Fr as easeOutSine,Er as easeOutQuint,qr as easeOutQuart,Mr as easeOutQuad,Wr as easeOutExpo,Jr as easeOutElastic,Pr as easeOutCubic,Vr as easeOutCirc,K as easeOutBounce,ea as easeOutBack,Or as easeInSine,Hr as easeInQuint,jr as easeInQuart,Lr as easeInQuad,Gr as easeInOutSine,Ar as easeInOutQuint,Rr as easeInOutQuart,Ir as easeInOutQuad,Yr as easeInOutExpo,Kr as easeInOutElastic,Br as easeInOutCubic,Zr as easeInOutCirc,ta as easeInOutBounce,sa as easeInOutBack,Ur as easeInExpo,Xr as easeInElastic,Tr as easeInCubic,_r as easeInCirc,oe as easeInBounce,Qr as easeInBack,lo as devAssert,qd as detectLanguage,se as defaultTheme,_d as dateTimeFormats,Ud as d,ra as cssAnimation,H as createTheme,hl as createStorage,sc as createStateManager,Cd as createSkipLink,xd as createScreenReaderText,yo as createSafeClickHandler,cd as createRovingTabindex,dc as createRouteLoader,M as createPropValidator,ec as createLRUCache,Md as createKeyframes,oa as createKeyframeAnimation,Qd as createKeepAlive,Ed as createI18n,dd as createFocusTrap,co as createDebugger,tc as createComponentPool,id as createAriaLabel,nd as createAriaDescription,ba as copyToClipboard,Jd as componentMessages,nc as clearModuleCache,no as clearErrorHandler,Be as buttonPropSchema,fo as assertProp,De as assert,bd as aria,uc as applyTheme,Rd as applyHeadwindClasses,ie as applyAnimation,ld as announceToScreenReader,Ld as animateWithClass,Td as animate,Nr as VirtualTable,kr as VirtualList,wr as Video,Ce as TwoFactorChallenge,Cr as Transition,hr as Tooltip,xr as Textarea,js as TextInput,fr as Teleport,gr as Tabs,cr as TableRow,lr as TableHeader,ir as TableHead,ar as TableCell,tr as TableBody,er as Table,Kt as Switch,ct as SubscriptionCheckout,G as StorageManager,Xt as StepperStep,Vt as Stepper,Yt as Spinner,Ut as Skeleton,he as Signup,qt as SidebarSection,Ht as SidebarItem,At as SidebarHeader,Ft as SidebarFooter,Bt as Sidebar,Tt as Select,Ps as SearchInput,Mt as RadioGroupOption,Dt as RadioGroupLabel,Nt as RadioGroupDescription,kt as RadioGroup,wt as Radio,l as PropTypes,Ct as Progress,ht as Portal,xt as PopoverPanel,ft as PopoverButton,gt as Popover,lt as PaymentMethods,Is as PasswordInput,tt as Pagination,Ls as NumberInput,et as Notification,Ks as Navigator,xe as Login,Xs as ListboxOptions,Vs as ListboxOption,Ys as ListboxLabel,Us as ListboxButton,Fs as Listbox,ia as KeyframeAnimations,za as KeyboardShortcuts,pd as KeyboardKeys,zc as Installation,Ss as Image,Sc as Hero,ws as Form,$c as Footer,B as ErrorTypes,zs as EmailInput,$d as Easing,Cs as DropdownItems,hs as DropdownItem,xs as DropdownButton,fs as Dropdown,gs as Drawer,cs as DialogTitle,ls as DialogPanel,is as DialogDescription,as as DialogBackdrop,ts as Dialog,it as DefaultPaymentMethod,z as ComponentError,es as CommandPaletteItem,Ke as CommandPalette,Xe as ComboboxOptions,Ve as ComboboxOption,Ye as ComboboxInput,Ue as ComboboxButton,Fe as Combobox,yc as CodeBlock,at as Checkout,Ae as Checkbox,He as Card,qe as Calendar,Pe as Button,q as Breakpoints,Ne as Breadcrumb,ke as Badge,we as Avatar,fe as Audio,Dd as AnimationClasses,ge as Accordion};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const items: unknown;
|
|
2
|
+
export declare const allowMultiple: unknown;
|
|
3
|
+
export declare const defaultOpen: unknown;
|
|
4
|
+
export declare const className: unknown;
|
|
5
|
+
export declare const onChange: unknown;
|
|
6
|
+
export declare const accordionClasses: unknown;
|
|
7
|
+
export declare const itemClasses: unknown;
|
|
8
|
+
export declare const headerClasses: unknown;
|
|
9
|
+
export declare const iconClasses: unknown;
|
|
10
|
+
export declare const contentClasses: (...args: any[]) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const src: unknown;
|
|
2
|
+
export declare const autoplay: unknown;
|
|
3
|
+
export declare const loop: unknown;
|
|
4
|
+
export declare const muted: unknown;
|
|
5
|
+
export declare const controls: unknown;
|
|
6
|
+
export declare const preload: unknown;
|
|
7
|
+
export declare const className: unknown;
|
|
8
|
+
export declare const showWaveform: unknown;
|
|
9
|
+
export declare const title: unknown;
|
|
10
|
+
export declare const containerClasses: unknown;
|
|
11
|
+
export declare const audioClasses: unknown;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const showLogo: unknown;
|
|
2
|
+
export declare const headingText: unknown;
|
|
3
|
+
export declare const showSocialLogin: unknown;
|
|
4
|
+
export declare const showRememberMe: unknown;
|
|
5
|
+
export declare const showForgotPassword: unknown;
|
|
6
|
+
export declare const showSignup: unknown;
|
|
7
|
+
export declare const signupText: unknown;
|
|
8
|
+
export declare const onSubmit: () => unknown;
|
|
9
|
+
export declare const className: unknown;
|
|
10
|
+
export declare const containerClasses: () => unknown;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const headingText: unknown;
|
|
2
|
+
export declare const labelText: unknown;
|
|
3
|
+
export declare const instructionText: unknown;
|
|
4
|
+
export declare const codeLength: unknown;
|
|
5
|
+
export declare const onSubmit: () => unknown;
|
|
6
|
+
export declare const onUseRecoveryCode: unknown;
|
|
7
|
+
export declare const className: unknown;
|
|
8
|
+
export declare const containerClasses: unknown;
|
|
9
|
+
export declare const codes: unknown;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const src: unknown;
|
|
2
|
+
export declare const alt: unknown;
|
|
3
|
+
export declare const initials: unknown;
|
|
4
|
+
export declare const size: unknown;
|
|
5
|
+
export declare const shape: unknown;
|
|
6
|
+
export declare const status: unknown;
|
|
7
|
+
export declare const className: unknown;
|
|
8
|
+
export declare const onError: unknown;
|
|
9
|
+
export declare const containerClasses: unknown;
|
|
10
|
+
export declare const avatarClasses: unknown;
|
|
11
|
+
export declare const imageClasses: unknown;
|
|
12
|
+
export declare const initialsClasses: unknown;
|
|
13
|
+
export declare const statusClasses: unknown;
|
|
14
|
+
// Generate initials from name if not provided
|
|
15
|
+
export declare const displayInitials: () => unknown;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const variant: unknown;
|
|
2
|
+
export declare const size: unknown;
|
|
3
|
+
export declare const dot: unknown;
|
|
4
|
+
export declare const removable: unknown;
|
|
5
|
+
export declare const className: unknown;
|
|
6
|
+
export declare const onRemove: unknown;
|
|
7
|
+
export declare const badgeClasses: unknown;
|
|
8
|
+
export declare const dotClasses: unknown;
|
|
9
|
+
export declare const removeButtonClasses: unknown;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const items: unknown;
|
|
2
|
+
export declare const separator: unknown;
|
|
3
|
+
export declare const maxItems: unknown;
|
|
4
|
+
export declare const className: unknown;
|
|
5
|
+
export declare const breadcrumbClasses: unknown;
|
|
6
|
+
export declare const itemClasses: unknown;
|
|
7
|
+
export declare const activeItemClasses: unknown;
|
|
8
|
+
export declare const separatorClasses: unknown;
|
|
9
|
+
export declare const collapsedClasses: unknown;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const variant: unknown;
|
|
2
|
+
export declare const size: unknown;
|
|
3
|
+
export declare const disabled: unknown;
|
|
4
|
+
export declare const loading: unknown;
|
|
5
|
+
export declare const type: unknown;
|
|
6
|
+
export declare const fullWidth: unknown;
|
|
7
|
+
export declare const leftIcon: unknown;
|
|
8
|
+
export declare const rightIcon: unknown;
|
|
9
|
+
export declare const className: unknown;
|
|
10
|
+
export declare const onClick: unknown;
|
|
11
|
+
// Combine classes
|
|
12
|
+
export declare const buttonClasses: unknown;
|
|
13
|
+
export declare const iconClasses: unknown;
|
|
14
|
+
export declare const spinnerClasses: unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PropSchema } from '../../utils/prop-validation';
|
|
1
|
+
import type { PropSchema, ValidationResult } from '../../utils/prop-validation';
|
|
2
2
|
/**
|
|
3
3
|
* Create a safe onClick handler that catches and reports errors
|
|
4
4
|
*
|
|
@@ -29,7 +29,7 @@ export declare const buttonPropSchema: PropSchema;
|
|
|
29
29
|
* Validate Button component props
|
|
30
30
|
* Only runs in development mode
|
|
31
31
|
*/
|
|
32
|
-
export declare const validateButtonProps: (props: Record<string, any>);
|
|
32
|
+
export declare const validateButtonProps: (props: Record<string, any>) => ValidationResult;
|
|
33
33
|
export declare interface ButtonProps {
|
|
34
34
|
variant?: 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger'
|
|
35
35
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Calendar Component Props
|
|
2
|
+
export declare const value: unknown;
|
|
3
|
+
export declare const onChange: unknown;
|
|
4
|
+
export declare const minDate: unknown;
|
|
5
|
+
export declare const maxDate: unknown;
|
|
6
|
+
export declare const disabledDates: unknown;
|
|
7
|
+
export declare const locale: unknown;
|
|
8
|
+
export declare const firstDayOfWeek: unknown;
|
|
9
|
+
export declare const className: unknown;
|
|
10
|
+
export declare const highlightToday: unknown;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const variant: unknown;
|
|
2
|
+
export declare const padding: unknown;
|
|
3
|
+
export declare const hover: unknown;
|
|
4
|
+
export declare const clickable: unknown;
|
|
5
|
+
export declare const image: unknown;
|
|
6
|
+
export declare const imageAlt: unknown;
|
|
7
|
+
export declare const imagePosition: unknown;
|
|
8
|
+
export declare const className: unknown;
|
|
9
|
+
export declare const onClick: unknown;
|
|
10
|
+
export declare const cardClasses: unknown;
|
|
11
|
+
export declare const imageClasses: unknown;
|
|
12
|
+
export declare const contentClasses: unknown;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const checked: unknown;
|
|
2
|
+
export declare const onChange: () => unknown;
|
|
3
|
+
export declare const disabled: unknown;
|
|
4
|
+
export declare const indeterminate: unknown;
|
|
5
|
+
export declare const size: unknown;
|
|
6
|
+
export declare const label: unknown;
|
|
7
|
+
export declare const description: unknown;
|
|
8
|
+
export declare const error: unknown;
|
|
9
|
+
export declare const required: unknown;
|
|
10
|
+
export declare const value: unknown;
|
|
11
|
+
export declare const name: unknown;
|
|
12
|
+
export declare const className: unknown;
|
|
13
|
+
export declare const checkboxClasses: unknown;
|
|
14
|
+
export declare const labelClasses: unknown;
|
|
15
|
+
export declare const descriptionClasses: () => unknown;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function handleChange(e: unknown): void;
|
|
2
|
+
export declare const displayValue: unknown;
|
|
3
|
+
export declare const onChange: unknown;
|
|
4
|
+
export declare const className: unknown;
|
|
5
|
+
export declare const placeholder: unknown;
|
|
6
|
+
export declare const disabled: unknown;
|
|
7
|
+
declare type = "text";
|
|
8
|
+
declare class AnonymousClass {}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare function handleClick(): void;
|
|
2
|
+
export declare function handleMouseEnter(): void;
|
|
3
|
+
export declare function handleMouseLeave(): void;
|
|
4
|
+
export declare const value: unknown;
|
|
5
|
+
export declare const disabled: unknown;
|
|
6
|
+
export declare const className: unknown;
|
|
7
|
+
export declare const as: unknown;
|
|
8
|
+
export declare const currentValue: unknown;
|
|
9
|
+
export declare const onChange: unknown;
|
|
10
|
+
/** @defaultValue false */
|
|
11
|
+
export declare let active: boolean;
|
|
12
|
+
export declare const selected: unknown;
|
|
13
|
+
declare class AnonymousClass {}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function handleClose(): void;
|
|
2
|
+
export declare const open: unknown;
|
|
3
|
+
export declare const onClose: unknown;
|
|
4
|
+
export declare const query: unknown;
|
|
5
|
+
export declare const onQueryChange: unknown;
|
|
6
|
+
export declare const className: unknown;
|
|
7
|
+
declare type = "text";
|
|
8
|
+
declare class AnonymousClass {}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function handleClick(): void;
|
|
2
|
+
export declare function handleMouseEnter(): void;
|
|
3
|
+
export declare function handleMouseLeave(): void;
|
|
4
|
+
export declare const className: unknown;
|
|
5
|
+
export declare const onClick: unknown;
|
|
6
|
+
/** @defaultValue false */
|
|
7
|
+
export declare let active: boolean;
|
|
8
|
+
declare class AnonymousClass {}
|