@orbit_ui_toolkit/orbitui-kit 0.1.23 → 0.1.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/dist/index.d.ts +1 -0
- package/dist/orbitui.cjs.js +30 -24
- package/dist/orbitui.es.js +317 -249
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/orbitui.cjs.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-serif:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-900:oklch(42.1% .095 57.708);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-800:oklch(44.8% .119 151.328);--color-green-900:oklch(39.3% .095 152.535);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-200:oklch(87% .065 274.039);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-fuchsia-600:oklch(59.1% .293 322.896);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-600:oklch(59.2% .249 .584);--color-rose-50:oklch(96.9% .015 12.422);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-2xl:42rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-normal:0em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.inset-1{inset:calc(var(--spacing)*1)}.inset-\\[2px\\]{inset:2px}.inset-\\[3px\\]{inset:3px}.inset-y-0{inset-block:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\\/2{top:50%}.top-4{top:calc(var(--spacing)*4)}.top-20{top:calc(var(--spacing)*20)}.-right-3{right:calc(var(--spacing)*-3)}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.right-4{right:calc(var(--spacing)*4)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-2{left:calc(var(--spacing)*2)}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.col-span-4{grid-column:span 4/span 4}.col-span-5{grid-column:span 5/span 5}.col-span-6{grid-column:span 6/span 6}.col-span-7{grid-column:span 7/span 7}.col-span-8{grid-column:span 8/span 8}.col-span-9{grid-column:span 9/span 9}.col-span-10{grid-column:span 10/span 10}.col-span-11{grid-column:span 11/span 11}.col-span-12{grid-column:span 12/span 12}.col-span-full{grid-column:1/-1}.row-span-1{grid-row:span 1/span 1}.row-span-2{grid-row:span 2/span 2}.row-span-3{grid-row:span 3/span 3}.row-span-4{grid-row:span 4/span 4}.row-span-5{grid-row:span 5/span 5}.row-span-6{grid-row:span 6/span 6}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.-mx-1\\.5{margin-inline:calc(var(--spacing)*-1.5)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-auto{margin-inline:auto}.-my-1\\.5{margin-block:calc(var(--spacing)*-1.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-8{margin-top:calc(var(--spacing)*8)}.-mr-2{margin-right:calc(var(--spacing)*-2)}.-mr-\\[36px\\]{margin-right:-36px}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-3{margin-right:calc(var(--spacing)*3)}.mr-4{margin-right:calc(var(--spacing)*4)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.-ml-\\[36px\\]{margin-left:-36px}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-1\\.5{margin-left:calc(var(--spacing)*1.5)}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-auto{margin-left:auto}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.aspect-4\\/5{aspect-ratio:4/5}.aspect-\\[2\\/3\\]{aspect-ratio:2/3}.aspect-\\[4\\/5\\]{aspect-ratio:4/5}.h-1{height:calc(var(--spacing)*1)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\\/4{height:75%}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-14{height:calc(var(--spacing)*14)}.h-16{height:calc(var(--spacing)*16)}.h-24{height:calc(var(--spacing)*24)}.h-40{height:calc(var(--spacing)*40)}.h-64{height:calc(var(--spacing)*64)}.h-\\[1px\\]{height:1px}.h-\\[200px\\]{height:200px}.h-\\[300px\\]{height:300px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-60{max-height:calc(var(--spacing)*60)}.max-h-\\[90vh\\]{max-height:90vh}.min-h-11\\.5{min-height:calc(var(--spacing)*11.5)}.min-h-\\[100px\\]{min-height:100px}.min-h-screen{min-height:100vh}.w-1{width:calc(var(--spacing)*1)}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-1\\/2{width:50%}.w-2{width:calc(var(--spacing)*2)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-2\\/3{width:66.6667%}.w-3{width:calc(var(--spacing)*3)}.w-3\\/4{width:75%}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-28{width:calc(var(--spacing)*28)}.w-32{width:calc(var(--spacing)*32)}.w-64{width:calc(var(--spacing)*64)}.w-80{width:calc(var(--spacing)*80)}.w-\\[300px\\]{width:300px}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\\[70\\%\\]{max-width:70%}.max-w-\\[80\\%\\]{max-width:80%}.max-w-\\[300px\\]{max-width:300px}.max-w-\\[420px\\]{max-width:420px}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-prose{max-width:65ch}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[16px\\]{min-width:16px}.min-w-\\[80px\\]{min-width:80px}.min-w-\\[100px\\]{min-width:100px}.min-w-\\[120px\\]{min-width:120px}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.border-collapse{border-collapse:collapse}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-bounce{animation:var(--animate-bounce)}.animate-ping{animation:var(--animate-ping)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-y{resize:vertical}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.flex-wrap-reverse{flex-wrap:wrap-reverse}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-evenly{justify-content:space-evenly}.justify-start{justify-content:flex-start}.gap-0{gap:calc(var(--spacing)*0)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}.gap-10{gap:calc(var(--spacing)*10)}.gap-12{gap:calc(var(--spacing)*12)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-12>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*12)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*12)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-2{column-gap:calc(var(--spacing)*2)}.gap-x-8{column-gap:calc(var(--spacing)*8)}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}.gap-y-6{row-gap:calc(var(--spacing)*6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-gray-100>:not(:last-child)){border-color:var(--color-gray-100)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\\[2\\.5rem\\]{border-radius:2.5rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-tl-none{border-top-left-radius:0}.rounded-tr-none{border-top-right-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-r-2{border-right-style:var(--tw-border-style);border-right-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\\[\\#0070f3\\]{border-color:#0070f3}.border-blue-200{border-color:var(--color-blue-200)}.border-gray-50{border-color:var(--color-gray-50)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-100\\/50{border-color:#f3f4f680}@supports (color:color-mix(in lab,red,red)){.border-gray-100\\/50{border-color:color-mix(in oklab,var(--color-gray-100)50%,transparent)}}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-600{border-color:var(--color-gray-600)}.border-gray-700{border-color:var(--color-gray-700)}.border-gray-800{border-color:var(--color-gray-800)}.border-green-200{border-color:var(--color-green-200)}.border-indigo-500{border-color:var(--color-indigo-500)}.border-purple-200{border-color:var(--color-purple-200)}.border-red-200{border-color:var(--color-red-200)}.border-red-500{border-color:var(--color-red-500)}.border-transparent{border-color:#0000}.border-white{border-color:var(--color-white)}.border-white\\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-white\\/5{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.border-white\\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\\/10{border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.border-yellow-200{border-color:var(--color-yellow-200)}.border-t-transparent{border-top-color:#0000}.border-r-transparent{border-right-color:#0000}.border-b-transparent{border-bottom-color:#0000}.border-l-transparent{border-left-color:#0000}.\\!bg-\\[\\#f84464\\]{background-color:#f84464!important}.bg-\\[\\#0a0a0a\\]{background-color:#0a0a0a}.bg-\\[\\#0070f3\\]{background-color:#0070f3}.bg-\\[\\#c23b22\\]{background-color:#c23b22}.bg-black\\/20{background-color:#0003}@supports (color:color-mix(in lab,red,red)){.bg-black\\/20{background-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.bg-black\\/30{background-color:#0000004d}@supports (color:color-mix(in lab,red,red)){.bg-black\\/30{background-color:color-mix(in oklab,var(--color-black)30%,transparent)}}.bg-black\\/40{background-color:#0006}@supports (color:color-mix(in lab,red,red)){.bg-black\\/40{background-color:color-mix(in oklab,var(--color-black)40%,transparent)}}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-black\\/70{background-color:#000000b3}@supports (color:color-mix(in lab,red,red)){.bg-black\\/70{background-color:color-mix(in oklab,var(--color-black)70%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\\/50{background-color:#f9fafb80}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\\/50{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-gray-900\\/95{background-color:#101828f2}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\\/95{background-color:color-mix(in oklab,var(--color-gray-900)95%,transparent)}}.bg-gray-950{background-color:var(--color-gray-950)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-50{background-color:var(--color-indigo-50)}.bg-indigo-100{background-color:var(--color-indigo-100)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-purple-500\\/20{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.bg-purple-500\\/20{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.bg-purple-600{background-color:var(--color-purple-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-rose-500\\/10{background-color:#ff23571a}@supports (color:color-mix(in lab,red,red)){.bg-rose-500\\/10{background-color:color-mix(in oklab,var(--color-rose-500)10%,transparent)}}.bg-rose-600{background-color:var(--color-rose-600)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.bg-white\\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-white\\/80{background-color:#fffc}@supports (color:color-mix(in lab,red,red)){.bg-white\\/80{background-color:color-mix(in oklab,var(--color-white)80%,transparent)}}.bg-white\\/\\[0\\.03\\]{background-color:#ffffff08}@supports (color:color-mix(in lab,red,red)){.bg-white\\/\\[0\\.03\\]{background-color:color-mix(in oklab,var(--color-white)3%,transparent)}}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-tr{--tw-gradient-position:to top right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-black\\/80{--tw-gradient-from:#000c}@supports (color:color-mix(in lab,red,red)){.from-black\\/80{--tw-gradient-from:color-mix(in oklab,var(--color-black)80%,transparent)}}.from-black\\/80{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-gray-200{--tw-gradient-from:var(--color-gray-200);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-pink-500{--tw-gradient-from:var(--color-pink-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-red-500{--tw-gradient-from:var(--color-red-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-white\\/5{--tw-gradient-from:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.from-white\\/5{--tw-gradient-from:color-mix(in oklab,var(--color-white)5%,transparent)}}.from-white\\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-white\\/10{--tw-gradient-from:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.from-white\\/10{--tw-gradient-from:color-mix(in oklab,var(--color-white)10%,transparent)}}.from-white\\/10{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-yellow-400{--tw-gradient-from:var(--color-yellow-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-red-500{--tw-gradient-via:var(--color-red-500);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-fuchsia-600{--tw-gradient-to:var(--color-fuchsia-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-gray-400{--tw-gradient-to:var(--color-gray-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-pink-500{--tw-gradient-to:var(--color-pink-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-pink-600{--tw-gradient-to:var(--color-pink-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-600{--tw-gradient-to:var(--color-purple-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-yellow-500{--tw-gradient-to:var(--color-yellow-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-fill{object-fit:fill}.object-none{object-fit:none}.object-scale-down{object-fit:scale-down}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.p-1{padding:calc(var(--spacing)*1)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-2\\.5{padding:calc(var(--spacing)*2.5)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.p-\\[2px\\]{padding:2px}.px-0{padding-inline:calc(var(--spacing)*0)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0{padding-block:calc(var(--spacing)*0)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-3\\.5{padding-block:calc(var(--spacing)*3.5)}.py-4{padding-block:calc(var(--spacing)*4)}.py-8{padding-block:calc(var(--spacing)*8)}.py-10{padding-block:calc(var(--spacing)*10)}.py-12{padding-block:calc(var(--spacing)*12)}.py-20{padding-block:calc(var(--spacing)*20)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-6{padding-top:calc(var(--spacing)*6)}.pt-12{padding-top:calc(var(--spacing)*12)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-10{padding-right:calc(var(--spacing)*10)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-6{padding-bottom:calc(var(--spacing)*6)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-justify{text-align:justify}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.font-serif{font-family:var(--font-serif)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[8px\\]{font-size:8px}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.2em\\]{--tw-tracking:.2em;letter-spacing:.2em}.tracking-\\[0\\.8em\\]{--tw-tracking:.8em;letter-spacing:.8em}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-tighter{--tw-tracking:var(--tracking-tighter);letter-spacing:var(--tracking-tighter)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.whitespace-nowrap{white-space:nowrap}.text-\\[\\#0070f3\\]{color:#0070f3}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-blue-900{color:var(--color-blue-900)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-400{color:var(--color-green-400)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-green-800{color:var(--color-green-800)}.text-green-900{color:var(--color-green-900)}.text-indigo-500{color:var(--color-indigo-500)}.text-indigo-600{color:var(--color-indigo-600)}.text-indigo-700{color:var(--color-indigo-700)}.text-purple-200{color:var(--color-purple-200)}.text-purple-800{color:var(--color-purple-800)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-800{color:var(--color-red-800)}.text-red-900{color:var(--color-red-900)}.text-rose-500{color:var(--color-rose-500)}.text-transparent{color:#0000}.text-white{color:var(--color-white)}.text-white\\/5{color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.text-white\\/5{color:color-mix(in oklab,var(--color-white)5%,transparent)}}.text-white\\/10{color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.text-white\\/10{color:color-mix(in oklab,var(--color-white)10%,transparent)}}.text-white\\/20{color:#fff3}@supports (color:color-mix(in lab,red,red)){.text-white\\/20{color:color-mix(in oklab,var(--color-white)20%,transparent)}}.text-yellow-500{color:var(--color-yellow-500)}.text-yellow-600{color:var(--color-yellow-600)}.text-yellow-800{color:var(--color-yellow-800)}.text-yellow-900{color:var(--color-yellow-900)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.overline{text-decoration-line:overline}.placeholder-gray-400::placeholder{color:var(--color-gray-400)}.opacity-0{opacity:0}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_15px_rgba\\(244\\,63\\,94\\,0\\.3\\)\\]{--tw-shadow:0 0 15px var(--tw-shadow-color,#f43f5e4d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_30px_60px_-15px_rgba\\(0\\,0\\,0\\,0\\.6\\)\\]{--tw-shadow:0 30px 60px -15px var(--tw-shadow-color,#0009);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[inset_-8px_0_12px_rgba\\(0\\,0\\,0\\,0\\.5\\)\\]{--tw-shadow:inset -8px 0 12px var(--tw-shadow-color,#00000080);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[inset_8px_0_12px_rgba\\(0\\,0\\,0\\,0\\.5\\)\\]{--tw-shadow:inset 8px 0 12px var(--tw-shadow-color,#00000080);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-indigo-500{--tw-ring-color:var(--color-indigo-500)}.ring-purple-500{--tw-ring-color:var(--color-purple-500)}.ring-white{--tw-ring-color:var(--color-white)}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-lg{--tw-backdrop-blur:blur(var(--blur-lg));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-700{--tw-duration:.7s;transition-duration:.7s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\\[writing-mode\\:vertical-lr\\]{writing-mode:vertical-lr}@media(hover:hover){.group-hover\\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x)var(--tw-scale-y)}.group-hover\\:bg-pink-500:is(:where(.group):hover *){background-color:var(--color-pink-500)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.hover\\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\\:\\!bg-\\[\\#d63a56\\]:hover{background-color:#d63a56!important}.hover\\:bg-\\[\\#0060df\\]:hover{background-color:#0060df}.hover\\:bg-\\[\\#a0301b\\]:hover{background-color:#a0301b}.hover\\:bg-black\\/10:hover{background-color:#0000001a}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-black\\/10:hover{background-color:color-mix(in oklab,var(--color-black)10%,transparent)}}.hover\\:bg-black\\/40:hover{background-color:#0006}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-black\\/40:hover{background-color:color-mix(in oklab,var(--color-black)40%,transparent)}}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-blue-100:hover{background-color:var(--color-blue-100)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-50\\/50:hover{background-color:#f9fafb80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-gray-50\\/50:hover{background-color:color-mix(in oklab,var(--color-gray-50)50%,transparent)}}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-green-100:hover{background-color:var(--color-green-100)}.hover\\:bg-purple-700:hover{background-color:var(--color-purple-700)}.hover\\:bg-red-100:hover{background-color:var(--color-red-100)}.hover\\:bg-rose-50:hover{background-color:var(--color-rose-50)}.hover\\:bg-transparent:hover{background-color:#0000}.hover\\:bg-white\\/5:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-white\\/5:hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.hover\\:bg-yellow-100:hover{background-color:var(--color-yellow-100)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:text-gray-700:hover{color:var(--color-gray-700)}.hover\\:text-gray-800:hover{color:var(--color-gray-800)}.hover\\:text-gray-900:hover{color:var(--color-gray-900)}.hover\\:text-indigo-500:hover{color:var(--color-indigo-500)}.hover\\:text-indigo-600:hover{color:var(--color-indigo-600)}.hover\\:text-indigo-700:hover{color:var(--color-indigo-700)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-rose-500:hover{color:var(--color-rose-500)}.hover\\:text-white\\/40:hover{color:#fff6}@supports (color:color-mix(in lab,red,red)){.hover\\:text-white\\/40:hover{color:color-mix(in oklab,var(--color-white)40%,transparent)}}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-90:hover{opacity:.9}.hover\\:shadow-xl:hover{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\\:border-pink-500:focus{border-color:var(--color-pink-500)}.focus\\:border-transparent:focus{border-color:#0000}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\\:ring-indigo-200:focus{--tw-ring-color:var(--color-indigo-200)}.focus\\:ring-indigo-500:focus{--tw-ring-color:var(--color-indigo-500)}.focus\\:ring-pink-500:focus{--tw-ring-color:var(--color-pink-500)}.focus\\:ring-red-500:focus{--tw-ring-color:var(--color-red-500)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.active\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:text-gray-400:disabled{color:var(--color-gray-400)}.disabled\\:opacity-50:disabled{opacity:.5}@media(min-width:48rem){.md\\:ml-20{margin-left:calc(var(--spacing)*20)}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:w-auto{width:auto}.md\\:max-w-xs{max-width:var(--container-xs)}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}.md\\:p-6{padding:calc(var(--spacing)*6)}.md\\:px-8{padding-inline:calc(var(--spacing)*8)}.md\\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.md\\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.md\\:text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.md\\:text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.md\\:text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.md\\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.md\\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.md\\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}}@media(min-width:64rem){.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:p-8{padding:calc(var(--spacing)*8)}}@media(min-width:80rem){.xl\\:ml-64{margin-left:calc(var(--spacing)*64)}.xl\\:block{display:block}.xl\\:hidden{display:none}.xl\\:w-64{width:calc(var(--spacing)*64)}}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}')),document.head.appendChild(r)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react"),ue=require("react-dom");var
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react"),ue=require("react-dom");var I={exports:{}},P={};var Q;function fe(){if(Q)return P;Q=1;var t=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function n(r,o,l){var i=null;if(l!==void 0&&(i=""+l),o.key!==void 0&&(i=""+o.key),"key"in o){l={};for(var c in o)c!=="key"&&(l[c]=o[c])}else l=o;return o=l.ref,{$$typeof:t,type:r,key:i,ref:o!==void 0?o:null,props:l}}return P.Fragment=s,P.jsx=n,P.jsxs=n,P}var O={};var ee;function ge(){return ee||(ee=1,process.env.NODE_ENV!=="production"&&(function(){function t(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===xe?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case N:return"Fragment";case u:return"Profiler";case g:return"StrictMode";case T:return"Suspense";case S:return"SuspenseList";case de:return"Activity"}if(typeof a=="object")switch(typeof a.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),a.$$typeof){case j:return"Portal";case R:return a.displayName||"Context";case v:return(a._context.displayName||"Context")+".Consumer";case L:var h=a.render;return a=a.displayName,a||(a=h.displayName||h.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case A:return h=a.displayName||null,h!==null?h:t(a.type)||"Memo";case W:h=a._payload,a=a._init;try{return t(a(h))}catch{}}return null}function s(a){return""+a}function n(a){try{s(a);var h=!1}catch{h=!0}if(h){h=console;var k=h.error,C=typeof Symbol=="function"&&Symbol.toStringTag&&a[Symbol.toStringTag]||a.constructor.name||"Object";return k.call(h,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",C),s(a)}}function r(a){if(a===N)return"<>";if(typeof a=="object"&&a!==null&&a.$$typeof===W)return"<...>";try{var h=t(a);return h?"<"+h+">":"<...>"}catch{return"<...>"}}function o(){var a=D.A;return a===null?null:a.getOwner()}function l(){return Error("react-stack-top-frame")}function i(a){if(V.call(a,"key")){var h=Object.getOwnPropertyDescriptor(a,"key").get;if(h&&h.isReactWarning)return!1}return a.key!==void 0}function c(a,h){function k(){G||(G=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",h))}k.isReactWarning=!0,Object.defineProperty(a,"key",{get:k,configurable:!0})}function d(){var a=t(this.type);return J[a]||(J[a]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),a=this.props.ref,a!==void 0?a:null}function x(a,h,k,C,B,F){var $=k.ref;return a={$$typeof:y,type:a,key:h,props:k,_owner:C},($!==void 0?$:null)!==null?Object.defineProperty(a,"ref",{enumerable:!1,get:d}):Object.defineProperty(a,"ref",{enumerable:!1,value:null}),a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(a,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(a,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:B}),Object.defineProperty(a,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:F}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a}function m(a,h,k,C,B,F){var $=h.children;if($!==void 0)if(C)if(me($)){for(C=0;C<$.length;C++)f($[C]);Object.freeze&&Object.freeze($)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f($);if(V.call(h,"key")){$=t(a);var z=Object.keys(h).filter(function(he){return he!=="key"});C=0<z.length?"{key: someKey, "+z.join(": ..., ")+": ...}":"{key: someKey}",X[$+C]||(z=0<z.length?"{"+z.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
3
3
|
let props = %s;
|
|
4
4
|
<%s {...props} />
|
|
5
5
|
React keys must be passed directly to JSX without using spread:
|
|
6
6
|
let props = %s;
|
|
7
|
-
<%s key={someKey} {...props} />`,C,$,z,$),X[$+C]=!0)}if($=null,k!==void 0&&(
|
|
7
|
+
<%s key={someKey} {...props} />`,C,$,z,$),X[$+C]=!0)}if($=null,k!==void 0&&(n(k),$=""+k),i(h)&&(n(h.key),$=""+h.key),"key"in h){k={};for(var U in h)U!=="key"&&(k[U]=h[U])}else k=h;return $&&c(k,typeof a=="function"?a.displayName||a.name||"Unknown":a),x(a,$,k,o(),B,F)}function f(a){b(a)?a._store&&(a._store.validated=1):typeof a=="object"&&a!==null&&a.$$typeof===W&&(a._payload.status==="fulfilled"?b(a._payload.value)&&a._payload.value._store&&(a._payload.value._store.validated=1):a._store&&(a._store.validated=1))}function b(a){return typeof a=="object"&&a!==null&&a.$$typeof===y}var p=w,y=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),R=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),de=Symbol.for("react.activity"),xe=Symbol.for("react.client.reference"),D=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=Object.prototype.hasOwnProperty,me=Array.isArray,Y=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(a){return a()}};var G,J={},Z=p.react_stack_bottom_frame.bind(p,l)(),K=Y(r(l)),X={};O.Fragment=N,O.jsx=function(a,h,k){var C=1e4>D.recentlyCreatedOwnerStacks++;return m(a,h,k,!1,C?Error("react-stack-top-frame"):Z,C?Y(r(a)):K)},O.jsxs=function(a,h,k){var C=1e4>D.recentlyCreatedOwnerStacks++;return m(a,h,k,!0,C?Error("react-stack-top-frame"):Z,C?Y(r(a)):K)}})()),O}var te;function pe(){return te||(te=1,process.env.NODE_ENV==="production"?I.exports=fe():I.exports=ge()),I.exports}var e=pe();const M=({variant:t="primary",size:s="md",rounded:n="full",isLoading:r=!1,fullWidth:o=!1,leftIcon:l,rightIcon:i,className:c="",children:d,disabled:x,gradient:m,...f})=>{const b="inline-flex items-center justify-center font-medium disabled:opacity-50 disabled:pointer-events-none transition-colors duration-150",p={primary:"bg-[#0070f3] text-white hover:bg-[#0060df] border border-transparent",secondary:"bg-transparent text-[#0070f3] border border-[#0070f3] hover:bg-blue-50",tertiary:"bg-transparent text-[#0070f3] border border-gray-300 hover:border-gray-400 hover:bg-gray-50",danger:"bg-[#c23b22] text-white hover:bg-[#a0301b] border border-transparent",link:"bg-transparent text-[#0070f3] hover:underline px-0 py-0 h-auto border-none",ghost:"bg-transparent text-gray-700 hover:bg-gray-100 border-transparent",gradient:`text-white border-none hover:opacity-90 active:scale-95 ${m||"bg-gradient-to-r from-red-500 to-pink-500"}`},y={sm:"px-4 py-1.5 text-xs gap-1.5 min-w-[80px]",md:"px-6 py-2.5 text-sm gap-2 min-w-[100px]",lg:"px-8 py-3.5 text-lg gap-2 min-w-[120px]",icon:"w-10 h-10 p-0 min-w-0"},j={none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"},N=o?"w-full":"";return e.jsxs("button",{className:`${b} ${p[t]} ${y[s]} ${j[n]} ${N} ${c}`,disabled:x||r,...f,children:[r&&e.jsxs("svg",{className:"animate-spin -ml-1 mr-2 h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[e.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),e.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),!r&&l&&e.jsx("span",{className:"shrink-0",children:l}),e.jsx("span",{className:"truncate",children:r?"Loading...":d}),!r&&i&&e.jsx("span",{className:"shrink-0",children:i})]})},se=w.forwardRef(({label:t,error:s,leftIcon:n,rightIcon:r,variant:o="default",rounded:l="lg",className:i="",...c},d)=>{const x={default:"bg-white border-gray-300 text-gray-900 focus:ring-blue-500",glass:"bg-black/30 border-gray-600 text-white placeholder-gray-400 focus:ring-pink-500 focus:border-pink-500",dark:"bg-gray-900 border-gray-800 text-white focus:ring-blue-500"},m={none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"};return e.jsxs("div",{className:"flex flex-col gap-1.5 w-full",children:[t&&e.jsx("label",{className:`text-sm font-medium ${o==="default"?"text-gray-700":"text-gray-300"}`,children:t}),e.jsxs("div",{className:"relative",children:[n&&e.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-gray-400",children:n}),e.jsx("input",{ref:d,className:`
|
|
8
8
|
w-full
|
|
9
|
-
${
|
|
9
|
+
${n?"pl-10":"px-3"}
|
|
10
10
|
${r?"pr-10":"px-3"}
|
|
11
11
|
py-3
|
|
12
12
|
border
|
|
13
13
|
${s?"border-red-500":""}
|
|
14
|
-
${
|
|
14
|
+
${m[l]}
|
|
15
15
|
${c.shadow?"shadow-sm":""}
|
|
16
16
|
focus:outline-none
|
|
17
17
|
${c.focusRing?"focus:ring-2":""}
|
|
@@ -21,40 +21,40 @@ React keys must be passed directly to JSX without using spread:
|
|
|
21
21
|
duration-200
|
|
22
22
|
${x[o]}
|
|
23
23
|
${i}
|
|
24
|
-
`,style:c.focusRingColor?{"--tw-ring-color":c.focusRingColor}:void 0,...c}),r&&e.jsx("div",{className:"absolute inset-y-0 right-0 pr-3 flex items-center text-gray-400",children:r})]}),s&&e.jsx("span",{className:"text-xs text-red-500",children:s})]})});se.displayName="Input";const ae=(...t)=>t.filter((s,
|
|
24
|
+
`,style:c.focusRingColor?{"--tw-ring-color":c.focusRingColor}:void 0,...c}),r&&e.jsx("div",{className:"absolute inset-y-0 right-0 pr-3 flex items-center text-gray-400",children:r})]}),s&&e.jsx("span",{className:"text-xs text-red-500",children:s})]})});se.displayName="Input";const ae=(...t)=>t.filter((s,n,r)=>!!s&&s.trim()!==""&&r.indexOf(s)===n).join(" ").trim();const be=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const ye=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(s,n,r)=>r?r.toUpperCase():n.toLowerCase());const re=t=>{const s=ye(t);return s.charAt(0).toUpperCase()+s.slice(1)};var ve={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const je=t=>{for(const s in t)if(s.startsWith("aria-")||s==="role"||s==="title")return!0;return!1};const we=w.forwardRef(({color:t="currentColor",size:s=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:l,iconNode:i,...c},d)=>w.createElement("svg",{ref:d,...ve,width:s,height:s,stroke:t,strokeWidth:r?Number(n)*24/Number(s):n,className:ae("lucide",o),...!l&&!je(c)&&{"aria-hidden":"true"},...c},[...i.map(([x,m])=>w.createElement(x,m)),...Array.isArray(l)?l:[l]]));const E=(t,s)=>{const n=w.forwardRef(({className:r,...o},l)=>w.createElement(we,{ref:l,iconNode:s,className:ae(`lucide-${be(re(t))}`,`lucide-${t}`,r),...o}));return n.displayName=re(t),n};const Ne=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],ke=E("arrow-up-down",Ne);const Ce=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],$e=E("calendar",Ce);const _e=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ne=E("check",_e);const Ee=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],le=E("chevron-down",Ee);const Re=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Se=E("chevron-left",Re);const Me=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Le=E("chevron-right",Me);const Te=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],ze=E("clock",Te);const Ae=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Pe=E("credit-card",Ae);const Oe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Be=E("info",Oe);const Ie=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],We=E("qr-code",Ie);const De=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Ye=E("star",De);const Fe=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ue=E("x",Fe),oe=({label:t,error:s,options:n,value:r,onChange:o,placeholder:l="Select an option",variant:i="default",rounded:c="lg",className:d="",leftIcon:x})=>{const[m,f]=w.useState(!1),b=w.useRef(null),p={default:"bg-white border-gray-300 text-gray-900",glass:"bg-black/30 border-gray-600 text-white",dark:"bg-gray-900 border-gray-800 text-white"},y={default:"bg-white border-gray-200 text-gray-900",glass:"bg-gray-900/95 border-gray-700 text-white backdrop-blur-md",dark:"bg-gray-950 border-gray-800 text-white"},j={none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"};w.useEffect(()=>{const u=v=>{b.current&&!b.current.contains(v.target)&&f(!1)};return document.addEventListener("mousedown",u),()=>document.removeEventListener("mousedown",u)},[]);const N=u=>{o({target:{value:u}}),f(!1)},g=n.find(u=>u.value===r);return e.jsxs("div",{className:`flex flex-col gap-1.5 w-full ${d}`,ref:b,children:[t&&e.jsx("label",{className:`text-sm font-medium ${i==="default"?"text-gray-700":"text-gray-300"}`,children:t}),e.jsxs("div",{className:"relative",children:[e.jsxs("div",{onClick:()=>f(!m),className:`
|
|
25
25
|
w-full px-3 py-3 border flex items-center gap-3 cursor-pointer
|
|
26
26
|
${j[c]}
|
|
27
27
|
${p[i]}
|
|
28
|
-
${
|
|
28
|
+
${m?"ring-2 ring-purple-500 border-transparent":""}
|
|
29
29
|
${s?"border-red-500":""}
|
|
30
30
|
transition-all duration-200
|
|
31
|
-
`,children:[x&&e.jsx("div",{className:"flex items-center text-gray-400",children:x}),e.jsx("span",{className:`block truncate flex-1 ${g?"":"text-gray-400"}`,children:g?g.label:
|
|
31
|
+
`,children:[x&&e.jsx("div",{className:"flex items-center text-gray-400",children:x}),e.jsx("span",{className:`block truncate flex-1 ${g?"":"text-gray-400"}`,children:g?g.label:l}),e.jsx("div",{className:"flex items-center shrink-0",children:e.jsx(le,{size:18,className:`text-gray-400 transition-transform ${m?"rotate-180":""}`})})]}),m&&e.jsxs("div",{className:`
|
|
32
32
|
absolute z-50 w-full mt-1 max-h-60 overflow-auto border shadow-xl
|
|
33
33
|
${j[c]}
|
|
34
34
|
${y[i]}
|
|
35
|
-
`,children:[
|
|
35
|
+
`,children:[n.map(u=>{const v=r===u.value;return e.jsxs("div",{onClick:()=>N(u.value),className:`
|
|
36
36
|
flex items-center justify-between px-3 py-2.5 cursor-pointer text-sm transition-colors
|
|
37
37
|
${i==="default"?"hover:bg-gray-50":"hover:bg-white/5"}
|
|
38
38
|
${v?i==="default"?"bg-blue-50 text-blue-700":"bg-purple-500/20 text-purple-200":""}
|
|
39
|
-
`,children:[e.jsx("span",{children:u.label}),v&&e.jsx(
|
|
39
|
+
`,children:[e.jsx("span",{children:u.label}),v&&e.jsx(ne,{size:16})]},u.value)}),n.length===0&&e.jsx("div",{className:"px-3 py-2.5 text-sm text-gray-500 text-center",children:"No options available"})]})]}),s&&e.jsx("span",{className:"text-xs text-red-500",children:s})]})};oe.displayName="OrbitSelect";const qe=({label:t,error:s,options:n,value:r,onChange:o,placeholder:l="Select options...",variant:i="default",rounded:c="lg",className:d=""})=>{const[x,m]=w.useState(!1),f=w.useRef(null),b={default:"bg-white border-gray-300 text-gray-900",glass:"bg-black/30 border-gray-600 text-white",dark:"bg-gray-900 border-gray-800 text-white"},p={default:"bg-white border-gray-200 text-gray-900",glass:"bg-gray-900/95 border-gray-700 text-white backdrop-blur-md",dark:"bg-gray-950 border-gray-800 text-white"},y={none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"};w.useEffect(()=>{const g=u=>{f.current&&!f.current.contains(u.target)&&m(!1)};return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[]);const j=g=>{const u=r.includes(g)?r.filter(v=>v!==g):[...r,g];o(u)},N=(g,u)=>{g.stopPropagation(),o(r.filter(v=>v!==u))};return e.jsxs("div",{className:`flex flex-col gap-1.5 w-full ${d}`,ref:f,children:[t&&e.jsx("label",{className:`text-sm font-medium ${i==="default"?"text-gray-700":"text-gray-300"}`,children:t}),e.jsxs("div",{className:"relative",children:[e.jsxs("div",{onClick:()=>m(!x),className:`
|
|
40
40
|
min-h-11.5 w-full px-3 py-2 border flex flex-wrap gap-2 cursor-pointer
|
|
41
41
|
${y[c]}
|
|
42
42
|
${b[i]}
|
|
43
43
|
${x?"ring-2 ring-purple-500 border-transparent":""}
|
|
44
44
|
${s?"border-red-500":""}
|
|
45
45
|
transition-all duration-200
|
|
46
|
-
`,children:[r.length===0&&e.jsx("span",{className:"text-gray-400 py-1",children:
|
|
46
|
+
`,children:[r.length===0&&e.jsx("span",{className:"text-gray-400 py-1",children:l}),r.map(g=>{const u=n.find(v=>v.value===g);return e.jsxs("span",{className:`
|
|
47
47
|
flex items-center gap-1 px-2 py-1 text-xs font-medium rounded-md
|
|
48
48
|
${i==="default"?"bg-gray-100 text-gray-800":"bg-white/10 text-white"}
|
|
49
|
-
`,children:[u?.label||g,e.jsx("button",{onClick:v=>N(v,g),className:"hover:text-red-400 transition-colors",children:e.jsx(Ue,{size:12})})]},g)}),e.jsx("div",{className:"ml-auto flex items-center shrink-0",children:e.jsx(
|
|
49
|
+
`,children:[u?.label||g,e.jsx("button",{onClick:v=>N(v,g),className:"hover:text-red-400 transition-colors",children:e.jsx(Ue,{size:12})})]},g)}),e.jsx("div",{className:"ml-auto flex items-center shrink-0",children:e.jsx(le,{size:18,className:`text-gray-400 transition-transform ${x?"rotate-180":""}`})})]}),x&&e.jsxs("div",{className:`
|
|
50
50
|
absolute z-50 w-full mt-1 max-h-60 overflow-auto border shadow-xl
|
|
51
51
|
${y[c]}
|
|
52
52
|
${p[i]}
|
|
53
|
-
`,children:[
|
|
53
|
+
`,children:[n.map(g=>{const u=r.includes(g.value);return e.jsxs("div",{onClick:()=>j(g.value),className:`
|
|
54
54
|
flex items-center justify-between px-3 py-2.5 cursor-pointer text-sm
|
|
55
55
|
${i==="default"?"hover:bg-gray-50":"hover:bg-white/5"}
|
|
56
56
|
${u?i==="default"?"bg-blue-50 text-blue-700":"bg-purple-500/20 text-purple-200":""}
|
|
57
|
-
`,children:[e.jsx("span",{children:g.label}),u&&e.jsx(le,{size:16})]},g.value)}),l.length===0&&e.jsx("div",{className:"px-3 py-2.5 text-sm text-gray-500 text-center",children:"No options available"})]})]}),s&&e.jsx("span",{className:"text-xs text-red-500",children:s})]})},He=({title:t,subtitle:s,children:l,footer:r,className:o="",variant:n="default",noPadding:i=!1})=>{const c={default:"bg-white border-gray-200 shadow-sm",glass:"bg-black/40 backdrop-blur-lg border-gray-800 shadow-lg",transparent:"bg-transparent border-none shadow-none"};return e.jsxs("div",{className:`rounded-xl border overflow-hidden transition-all duration-300 ${c[n]} ${o}`,children:[(t||s)&&e.jsxs("div",{className:`px-6 py-4 border-b ${n==="glass"?"border-gray-800":"border-gray-100"}`,children:[t&&e.jsx("h3",{className:`text-lg font-semibold ${n==="glass"?"text-white":"text-gray-900"}`,children:t}),s&&e.jsx("p",{className:`text-sm mt-1 ${n==="glass"?"text-gray-400":"text-gray-500"}`,children:s})]}),e.jsx("div",{className:i?"":"px-6 py-4",children:l}),r&&e.jsx("div",{className:`px-6 py-4 border-t ${n==="glass"?"bg-black/20 border-gray-800":"bg-gray-50 border-gray-100"}`,children:r})]})},Ve=({username:t,profilePic:s,postImage:l,likesCount:r=0,caption:o,location:n,isLiked:i=!1,isBookmarked:c=!1,onLike:d,onComment:x,onShare:h,onBookmark:f,variant:b="social",title:p,tags:y,rating:j,voteCount:N,actionLabel:g,onAction:u})=>b==="media"?e.jsxs("div",{className:"group relative max-w-[300px] mx-auto bg-white rounded-xl overflow-hidden shadow-lg border border-gray-200 font-sans transition-all duration-300 hover:shadow-xl",children:[e.jsxs("div",{className:"relative aspect-[2/3] w-full",children:[e.jsx("img",{src:l,alt:p||"Media content",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsxs("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/80 to-transparent p-4 pt-12",children:[p&&e.jsx("h3",{className:"text-white font-bold text-xl leading-tight",children:p}),y&&e.jsx("p",{className:"text-gray-300 text-xs mt-1",children:y.join(" • ")})]})]}),e.jsxs("div",{className:"p-4 space-y-4",children:[(j||N)&&e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{className:"flex items-center gap-1 text-yellow-500",children:[j&&e.jsx("span",{className:"text-lg font-bold",children:j}),e.jsx("svg",{className:"w-4 h-4 fill-current",viewBox:"0 0 24 24",children:e.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"})}),N&&e.jsxs("span",{className:"text-gray-400 text-xs ml-1",children:["(",N,")"]})]})}),o&&e.jsx("p",{className:"text-gray-600 text-sm line-clamp-3",children:o}),g&&e.jsx(M,{fullWidth:!0,className:"!bg-[#f84464] hover:!bg-[#d63a56] text-white font-medium py-2 rounded-md transition-colors",onClick:u,children:g})]})]}):e.jsxs("div",{className:"group relative max-w-[420px] mx-auto bg-white rounded-3xl overflow-hidden shadow-sm hover:shadow-xl transition-all duration-300 border border-gray-100/50",children:[e.jsxs("div",{className:"relative w-full aspect-4/5 bg-gray-100 overflow-hidden",children:[e.jsx("img",{src:l,alt:"Post content",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsx("div",{className:"absolute top-4 right-4 opacity-0 group-hover:opacity-100 transition-opacity",children:e.jsx(M,{variant:"ghost",size:"icon",rounded:"full",className:"bg-black/20 backdrop-blur-md text-white hover:bg-black/40 border-none",children:e.jsxs("svg",{"aria-label":"More options",fill:"currentColor",height:"24",role:"img",viewBox:"0 0 24 24",width:"24",children:[e.jsx("circle",{cx:"12",cy:"12",r:"1.5"}),e.jsx("circle",{cx:"6",cy:"12",r:"1.5"}),e.jsx("circle",{cx:"18",cy:"12",r:"1.5"})]})})})]}),e.jsxs("div",{className:"p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"relative",children:e.jsx("img",{src:s||"",alt:t||"",className:"w-10 h-10 rounded-full object-cover ring-2 ring-offset-2 ring-indigo-500"})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"font-bold text-gray-900 text-sm leading-tight hover:text-indigo-600 cursor-pointer transition-colors",children:t}),n&&e.jsx("span",{className:"text-[11px] font-medium text-gray-400 uppercase tracking-wide",children:n})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(M,{variant:"ghost",size:"icon",rounded:"full",onClick:d,className:`transition-colors ${i?"text-rose-500 hover:bg-rose-50":"text-gray-400 hover:text-rose-500"}`,children:i?e.jsx("svg",{"aria-label":"Unlike",fill:"currentColor",height:"26",role:"img",viewBox:"0 0 48 48",width:"26",children:e.jsx("path",{d:"M34.6 3.1c-4.5 0-7.9 1.8-10.6 5.6-2.7-3.7-6.1-5.5-10.6-5.5C6 3.1 0 9.6 0 17.6c0 14.9 17.8 29.1 23.9 30.2h.2c6.1-1.1 23.9-15.3 23.9-30.2 0-8-6-14.5-13.4-14.5z"})}):e.jsx("svg",{"aria-label":"Like",fill:"currentColor",height:"26",role:"img",viewBox:"0 0 24 24",width:"26",children:e.jsx("path",{d:"M16.792 3.904A4.989 4.989 0 0 1 21.5 9.122c0 3.072-2.652 4.959-5.197 7.222-2.512 2.243-3.865 3.469-4.303 3.752-.477-.309-2.143-1.823-4.303-3.752C5.141 14.072 2.5 12.194 2.5 9.122a4.989 4.989 0 0 1 4.708-5.218 4.21 4.21 0 0 1 3.675 1.941c.252.342.392.545.517.545s.265-.203.517-.545a4.21 4.21 0 0 1 3.675-1.941m0-2a6.21 6.21 0 0 0-5.292 2.768 6.21 6.21 0 0 0-5.292-2.768 6.989 6.989 0 0 0-6.708 7.218c0 4.19 2.923 6.64 5.642 9.066 2.057 1.838 4.19 3.744 5.358 5.485.474-.707 2.112-2.298 5.358-5.188 2.308-2.053 5.358-4.706 5.358-9.363a6.989 6.989 0 0 0-6.708-7.218Z"})})}),e.jsx(M,{variant:"ghost",size:"icon",rounded:"full",onClick:x,className:"text-gray-400 hover:text-indigo-500",children:e.jsx("svg",{"aria-label":"Comment",fill:"currentColor",height:"26",role:"img",viewBox:"0 0 24 24",width:"26",children:e.jsx("path",{d:"M20.656 17.008a9.993 9.993 0 1 0-3.59 3.615L22 22Z",fill:"none",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"2"})})}),e.jsx(M,{variant:"ghost",size:"icon",rounded:"full",onClick:h,className:"text-gray-400 hover:text-indigo-500",children:e.jsxs("svg",{"aria-label":"Share Post",fill:"currentColor",height:"26",role:"img",viewBox:"0 0 24 24",width:"26",children:[e.jsx("line",{fill:"none",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"2",x1:"22",x2:"9.218",y1:"3",y2:"10.083"}),e.jsx("polygon",{fill:"none",points:"11.698 20.334 22 3.001 2 3.001 9.218 10.084 11.698 20.334",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"2"})]})})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx("p",{className:"text-gray-800 text-sm leading-relaxed",children:o}),e.jsxs("div",{className:"flex items-center justify-between pt-2 border-t border-gray-50",children:[e.jsxs("span",{className:"font-semibold text-xs text-gray-500",children:[r.toLocaleString()," Likes"]}),e.jsx("div",{className:"flex items-center gap-3",children:e.jsx(M,{variant:"ghost",size:"icon",rounded:"full",onClick:f,className:`transition-colors ${c?"text-gray-900":"text-gray-400 hover:text-gray-900"}`,children:c?e.jsx("svg",{"aria-label":"Remove",fill:"currentColor",height:"22",role:"img",viewBox:"0 0 24 24",width:"22",children:e.jsx("path",{d:"M20 22a.999.999 0 0 1-.687-.273L12 14.89l-7.313 6.837A1 1 0 0 1 3 21V3a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1Z"})}):e.jsx("svg",{"aria-label":"Save",fill:"currentColor",height:"22",role:"img",viewBox:"0 0 24 24",width:"22",children:e.jsx("path",{d:"M20 22a.999.999 0 0 1-.687-.273L12 14.89l-7.313 6.837A1 1 0 0 1 3 21V3a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1Z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})})})})]}),e.jsxs("div",{className:"relative mt-2",children:[e.jsx("input",{type:"text",placeholder:"Add a comment...",className:"w-full text-xs text-gray-600 bg-gray-50 rounded-full px-3 py-2 outline-none focus:ring-1 focus:ring-indigo-200 transition-all"}),e.jsx("div",{className:"absolute right-2 top-1/2 -translate-y-1/2",children:e.jsx(M,{variant:"ghost",size:"sm",className:"text-indigo-500 font-bold px-2 py-0 h-auto hover:bg-transparent hover:text-indigo-700 min-w-0",children:"Post"})})]})]})]})]}),Ge=({variant:t="spinner",size:s="md",className:l="",color:r,colors:o})=>{const n={sm:"w-4 h-4",md:"w-8 h-8",lg:"w-12 h-12",xl:"w-16 h-16"},i={sm:"w-1 h-1",md:"w-2 h-2",lg:"w-3 h-3",xl:"w-4 h-4"},c=n[s],d="bg-gradient-to-tr from-yellow-400 via-red-500 to-purple-600";if(t==="dots"){const x=i[s],h=!!r||!!o?.length,f=p=>{if(!h)return{};const y=o?.[p]||r;return y?{backgroundColor:y}:{}},b=()=>h?"":d;return e.jsx("div",{className:`flex items-center justify-center gap-1 ${l}`,children:[0,1,2].map(p=>e.jsx("div",{className:`${x} rounded-full animate-bounce ${b()}`,style:{...f(p),animationDelay:p===0?"-0.3s":p===1?"-0.15s":"0s"}},p))})}if(t==="pulse"){const x=r?"":d;return e.jsxs("div",{className:`relative flex items-center justify-center ${c} ${l}`,children:[e.jsx("span",{className:`absolute inline-flex h-full w-full rounded-full opacity-75 animate-ping ${x}`,style:r?{backgroundColor:r}:{}}),e.jsx("span",{className:`relative inline-flex rounded-full h-3/4 w-3/4 ${x}`,style:r?{backgroundColor:r}:{}})]})}return t==="multicolor"?e.jsx("div",{className:`${c} relative ${l}`,children:e.jsx("div",{className:`absolute inset-0 rounded-full ${d} animate-spin`,children:e.jsx("div",{className:"absolute inset-[3px] bg-white rounded-full"})})}):t==="orbit"?r?e.jsxs("div",{className:`relative ${c} ${l}`,children:[e.jsx("div",{className:"absolute inset-0 rounded-full border-2 border-t-transparent border-b-transparent animate-spin",style:{borderColor:r,borderTopColor:"transparent",borderBottomColor:"transparent"}}),e.jsx("div",{className:"absolute inset-1 rounded-full border-2 border-l-transparent border-r-transparent animate-spin-reverse opacity-75",style:{borderColor:r,borderLeftColor:"transparent",borderRightColor:"transparent",animationDirection:"reverse",animationDuration:"1.5s"}})]}):e.jsxs("div",{className:`relative ${c} ${l}`,children:[e.jsx("div",{className:`absolute inset-0 rounded-full ${d} animate-spin`,children:e.jsx("div",{className:"absolute inset-[2px] bg-white rounded-full"})}),e.jsx("div",{className:`absolute inset-1 rounded-full ${d} animate-spin-reverse opacity-75`,style:{animationDirection:"reverse",animationDuration:"1.5s"},children:e.jsx("div",{className:"absolute inset-[2px] bg-white rounded-full"})})]}):null},Je=({variant:t="info",title:s,children:l,onClose:r,className:o=""})=>{const i={success:{container:"bg-green-50 text-green-900 border-green-200",iconColor:"text-green-600",closeHover:"hover:bg-green-100 text-green-600",Icon:()=>e.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})},error:{container:"bg-red-50 text-red-900 border-red-200",iconColor:"text-red-600",closeHover:"hover:bg-red-100 text-red-600",Icon:()=>e.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})},warning:{container:"bg-yellow-50 text-yellow-900 border-yellow-200",iconColor:"text-yellow-600",closeHover:"hover:bg-yellow-100 text-yellow-600",Icon:()=>e.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})},info:{container:"bg-blue-50 text-blue-900 border-blue-200",iconColor:"text-blue-600",closeHover:"hover:bg-blue-100 text-blue-600",Icon:()=>e.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}}[t],c=i.Icon;return e.jsxs("div",{role:"alert",className:`flex p-4 rounded-lg border ${i.container} ${o}`,children:[e.jsx("div",{className:`shrink-0 ${i.iconColor}`,children:e.jsx(c,{})}),e.jsxs("div",{className:"ml-3 text-sm flex-1",children:[s&&e.jsx("span",{className:"font-semibold block mb-1",children:s}),e.jsx("div",{className:"leading-relaxed",children:l})]}),r&&e.jsx("button",{onClick:r,className:`ml-auto -mx-1.5 -my-1.5 rounded-lg p-1.5 inline-flex h-8 w-8 items-center justify-center transition-colors ${i.closeHover}`,"aria-label":"Close",children:e.jsx("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})},Ze=({children:t,colSpan:s,rowSpan:l,colStart:r,className:o=""})=>{const n={1:"col-span-1",2:"col-span-2",3:"col-span-3",4:"col-span-4",5:"col-span-5",6:"col-span-6",7:"col-span-7",8:"col-span-8",9:"col-span-9",10:"col-span-10",11:"col-span-11",12:"col-span-12",full:"col-span-full"},i={1:"row-span-1",2:"row-span-2",3:"row-span-3",4:"row-span-4",5:"row-span-5",6:"row-span-6"},c=[s?n[s]:"",l?i[l]:"",r?`col-start-${r}`:"",o].filter(Boolean).join(" ");return e.jsx("div",{className:c,children:t})},ie=({children:t,cols:s=1,gap:l=4,gapX:r,gapY:o,flow:n="row",align:i,justify:c,className:d=""})=>{const x={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6",8:"grid-cols-8",10:"grid-cols-10",12:"grid-cols-12"},h={0:"gap-0",1:"gap-1",2:"gap-2",3:"gap-3",4:"gap-4",5:"gap-5",6:"gap-6",8:"gap-8",10:"gap-10",12:"gap-12"},f=["grid",x[s],r===void 0&&o===void 0?h[l]:"",r?`gap-x-${r}`:"",o?`gap-y-${o}`:"",n?`grid-flow-${n}`:"",i?`items-${i}`:"",c?`justify-${c}`:"",d].filter(Boolean).join(" ");return e.jsx("div",{className:f,children:t})};ie.Item=Ze;const _=({variant:t="body1",component:s,children:l,weight:r,align:o="left",color:n,className:i="",noWrap:c=!1,gradient:d})=>{const h=s||{h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",caption:"span",overline:"span"}[t]||"p",f={h1:"text-5xl md:text-6xl tracking-tight leading-tight",h2:"text-4xl md:text-5xl tracking-tight leading-tight",h3:"text-3xl md:text-4xl tracking-tight",h4:"text-2xl md:text-3xl tracking-tight",h5:"text-xl md:text-2xl tracking-normal",h6:"text-lg md:text-xl tracking-normal",body1:"text-base md:text-lg leading-relaxed",body2:"text-sm md:text-base leading-relaxed",caption:"text-xs md:text-sm text-gray-500",overline:"text-xs uppercase tracking-widest font-semibold"},b={h1:"font-extrabold",h2:"font-bold",h3:"font-bold",h4:"font-bold",h5:"font-semibold",h6:"font-semibold",body1:"font-normal",body2:"font-normal",caption:"font-normal",overline:"font-bold"},p={normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold"},y={left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"},j=f[t],N=r?p[r]:b[t],g=y[o];let u=n||(t==="caption"?"text-gray-500":"text-gray-900");d&&(u=`${typeof d=="string"?d:"bg-gradient-to-r from-pink-500 via-red-500 to-yellow-500"} text-transparent bg-clip-text`);const R=[j,N,g,u,c?"truncate":"",i].filter(Boolean).join(" ");return e.jsx(h,{className:R,children:l})},ce=w.forwardRef(({as:t,className:s="",children:l,center:r,fullScreen:o,bgImage:n,overlay:i,glass:c,style:d,...x},h)=>{const f=t||"div",b=[r?"flex items-center justify-center":"",o?"min-h-screen w-full":"",c?"backdrop-blur-lg bg-black/40":"",s].filter(Boolean).join(" "),p={...n?{backgroundImage:`url(${n})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}:{},...d};return e.jsxs(f,{ref:h,className:`relative ${b}`,style:p,...x,children:[i&&e.jsx("div",{className:`absolute inset-0 z-0 ${typeof i=="string"?"":"bg-black/70"}`,style:typeof i=="string"?{backgroundColor:i}:{}}),e.jsx("div",{className:"relative z-10 w-full h-full flex flex-col items-center justify-center",children:l})]})});ce.displayName="Box";const Ke=({label:t,error:s,autoResize:l,className:r="",rows:o=4,...n})=>{const i=c=>{const d=c.target;l&&(d.style.height="auto",d.style.height=`${d.scrollHeight}px`)};return e.jsxs("div",{className:"flex flex-col gap-1.5 w-full",children:[t&&e.jsx("label",{className:"text-sm font-medium text-gray-700",children:t}),e.jsx("textarea",{className:`
|
|
57
|
+
`,children:[e.jsx("span",{children:g.label}),u&&e.jsx(ne,{size:16})]},g.value)}),n.length===0&&e.jsx("div",{className:"px-3 py-2.5 text-sm text-gray-500 text-center",children:"No options available"})]})]}),s&&e.jsx("span",{className:"text-xs text-red-500",children:s})]})},He=({title:t,subtitle:s,children:n,footer:r,className:o="",variant:l="default",noPadding:i=!1})=>{const c={default:"bg-white border-gray-200 shadow-sm",glass:"bg-black/40 backdrop-blur-lg border-gray-800 shadow-lg",transparent:"bg-transparent border-none shadow-none"};return e.jsxs("div",{className:`rounded-xl border overflow-hidden transition-all duration-300 ${c[l]} ${o}`,children:[(t||s)&&e.jsxs("div",{className:`px-6 py-4 border-b ${l==="glass"?"border-gray-800":"border-gray-100"}`,children:[t&&e.jsx("h3",{className:`text-lg font-semibold ${l==="glass"?"text-white":"text-gray-900"}`,children:t}),s&&e.jsx("p",{className:`text-sm mt-1 ${l==="glass"?"text-gray-400":"text-gray-500"}`,children:s})]}),e.jsx("div",{className:i?"":"px-6 py-4",children:n}),r&&e.jsx("div",{className:`px-6 py-4 border-t ${l==="glass"?"bg-black/20 border-gray-800":"bg-gray-50 border-gray-100"}`,children:r})]})},Ve=({username:t,profilePic:s,postImage:n,likesCount:r=0,caption:o,location:l,isLiked:i=!1,isBookmarked:c=!1,onLike:d,onComment:x,onShare:m,onBookmark:f,variant:b="social",title:p,tags:y,rating:j,voteCount:N,actionLabel:g,onAction:u})=>b==="media"?e.jsxs("div",{className:"group relative max-w-[300px] mx-auto bg-white rounded-xl overflow-hidden shadow-lg border border-gray-200 font-sans transition-all duration-300 hover:shadow-xl",children:[e.jsxs("div",{className:"relative aspect-[2/3] w-full",children:[e.jsx("img",{src:n,alt:p||"Media content",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsxs("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/80 to-transparent p-4 pt-12",children:[p&&e.jsx("h3",{className:"text-white font-bold text-xl leading-tight",children:p}),y&&e.jsx("p",{className:"text-gray-300 text-xs mt-1",children:y.join(" • ")})]})]}),e.jsxs("div",{className:"p-4 space-y-4",children:[(j||N)&&e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{className:"flex items-center gap-1 text-yellow-500",children:[j&&e.jsx("span",{className:"text-lg font-bold",children:j}),e.jsx("svg",{className:"w-4 h-4 fill-current",viewBox:"0 0 24 24",children:e.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"})}),N&&e.jsxs("span",{className:"text-gray-400 text-xs ml-1",children:["(",N,")"]})]})}),o&&e.jsx("p",{className:"text-gray-600 text-sm line-clamp-3",children:o}),g&&e.jsx(M,{fullWidth:!0,className:"!bg-[#f84464] hover:!bg-[#d63a56] text-white font-medium py-2 rounded-md transition-colors",onClick:u,children:g})]})]}):e.jsxs("div",{className:"group relative max-w-[420px] mx-auto bg-white rounded-3xl overflow-hidden shadow-sm hover:shadow-xl transition-all duration-300 border border-gray-100/50",children:[e.jsxs("div",{className:"relative w-full aspect-4/5 bg-gray-100 overflow-hidden",children:[e.jsx("img",{src:n,alt:"Post content",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsx("div",{className:"absolute top-4 right-4 opacity-0 group-hover:opacity-100 transition-opacity",children:e.jsx(M,{variant:"ghost",size:"icon",rounded:"full",className:"bg-black/20 backdrop-blur-md text-white hover:bg-black/40 border-none",children:e.jsxs("svg",{"aria-label":"More options",fill:"currentColor",height:"24",role:"img",viewBox:"0 0 24 24",width:"24",children:[e.jsx("circle",{cx:"12",cy:"12",r:"1.5"}),e.jsx("circle",{cx:"6",cy:"12",r:"1.5"}),e.jsx("circle",{cx:"18",cy:"12",r:"1.5"})]})})})]}),e.jsxs("div",{className:"p-5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"relative",children:e.jsx("img",{src:s||"",alt:t||"",className:"w-10 h-10 rounded-full object-cover ring-2 ring-offset-2 ring-indigo-500"})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"font-bold text-gray-900 text-sm leading-tight hover:text-indigo-600 cursor-pointer transition-colors",children:t}),l&&e.jsx("span",{className:"text-[11px] font-medium text-gray-400 uppercase tracking-wide",children:l})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(M,{variant:"ghost",size:"icon",rounded:"full",onClick:d,className:`transition-colors ${i?"text-rose-500 hover:bg-rose-50":"text-gray-400 hover:text-rose-500"}`,children:i?e.jsx("svg",{"aria-label":"Unlike",fill:"currentColor",height:"26",role:"img",viewBox:"0 0 48 48",width:"26",children:e.jsx("path",{d:"M34.6 3.1c-4.5 0-7.9 1.8-10.6 5.6-2.7-3.7-6.1-5.5-10.6-5.5C6 3.1 0 9.6 0 17.6c0 14.9 17.8 29.1 23.9 30.2h.2c6.1-1.1 23.9-15.3 23.9-30.2 0-8-6-14.5-13.4-14.5z"})}):e.jsx("svg",{"aria-label":"Like",fill:"currentColor",height:"26",role:"img",viewBox:"0 0 24 24",width:"26",children:e.jsx("path",{d:"M16.792 3.904A4.989 4.989 0 0 1 21.5 9.122c0 3.072-2.652 4.959-5.197 7.222-2.512 2.243-3.865 3.469-4.303 3.752-.477-.309-2.143-1.823-4.303-3.752C5.141 14.072 2.5 12.194 2.5 9.122a4.989 4.989 0 0 1 4.708-5.218 4.21 4.21 0 0 1 3.675 1.941c.252.342.392.545.517.545s.265-.203.517-.545a4.21 4.21 0 0 1 3.675-1.941m0-2a6.21 6.21 0 0 0-5.292 2.768 6.21 6.21 0 0 0-5.292-2.768 6.989 6.989 0 0 0-6.708 7.218c0 4.19 2.923 6.64 5.642 9.066 2.057 1.838 4.19 3.744 5.358 5.485.474-.707 2.112-2.298 5.358-5.188 2.308-2.053 5.358-4.706 5.358-9.363a6.989 6.989 0 0 0-6.708-7.218Z"})})}),e.jsx(M,{variant:"ghost",size:"icon",rounded:"full",onClick:x,className:"text-gray-400 hover:text-indigo-500",children:e.jsx("svg",{"aria-label":"Comment",fill:"currentColor",height:"26",role:"img",viewBox:"0 0 24 24",width:"26",children:e.jsx("path",{d:"M20.656 17.008a9.993 9.993 0 1 0-3.59 3.615L22 22Z",fill:"none",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"2"})})}),e.jsx(M,{variant:"ghost",size:"icon",rounded:"full",onClick:m,className:"text-gray-400 hover:text-indigo-500",children:e.jsxs("svg",{"aria-label":"Share Post",fill:"currentColor",height:"26",role:"img",viewBox:"0 0 24 24",width:"26",children:[e.jsx("line",{fill:"none",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"2",x1:"22",x2:"9.218",y1:"3",y2:"10.083"}),e.jsx("polygon",{fill:"none",points:"11.698 20.334 22 3.001 2 3.001 9.218 10.084 11.698 20.334",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"2"})]})})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx("p",{className:"text-gray-800 text-sm leading-relaxed",children:o}),e.jsxs("div",{className:"flex items-center justify-between pt-2 border-t border-gray-50",children:[e.jsxs("span",{className:"font-semibold text-xs text-gray-500",children:[r.toLocaleString()," Likes"]}),e.jsx("div",{className:"flex items-center gap-3",children:e.jsx(M,{variant:"ghost",size:"icon",rounded:"full",onClick:f,className:`transition-colors ${c?"text-gray-900":"text-gray-400 hover:text-gray-900"}`,children:c?e.jsx("svg",{"aria-label":"Remove",fill:"currentColor",height:"22",role:"img",viewBox:"0 0 24 24",width:"22",children:e.jsx("path",{d:"M20 22a.999.999 0 0 1-.687-.273L12 14.89l-7.313 6.837A1 1 0 0 1 3 21V3a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1Z"})}):e.jsx("svg",{"aria-label":"Save",fill:"currentColor",height:"22",role:"img",viewBox:"0 0 24 24",width:"22",children:e.jsx("path",{d:"M20 22a.999.999 0 0 1-.687-.273L12 14.89l-7.313 6.837A1 1 0 0 1 3 21V3a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1Z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})})})})]}),e.jsxs("div",{className:"relative mt-2",children:[e.jsx("input",{type:"text",placeholder:"Add a comment...",className:"w-full text-xs text-gray-600 bg-gray-50 rounded-full px-3 py-2 outline-none focus:ring-1 focus:ring-indigo-200 transition-all"}),e.jsx("div",{className:"absolute right-2 top-1/2 -translate-y-1/2",children:e.jsx(M,{variant:"ghost",size:"sm",className:"text-indigo-500 font-bold px-2 py-0 h-auto hover:bg-transparent hover:text-indigo-700 min-w-0",children:"Post"})})]})]})]})]}),Ge=({variant:t="spinner",size:s="md",className:n="",color:r,colors:o})=>{const l={sm:"w-4 h-4",md:"w-8 h-8",lg:"w-12 h-12",xl:"w-16 h-16"},i={sm:"w-1 h-1",md:"w-2 h-2",lg:"w-3 h-3",xl:"w-4 h-4"},c=l[s],d="bg-gradient-to-tr from-yellow-400 via-red-500 to-purple-600";if(t==="dots"){const x=i[s],m=!!r||!!o?.length,f=p=>{if(!m)return{};const y=o?.[p]||r;return y?{backgroundColor:y}:{}},b=()=>m?"":d;return e.jsx("div",{className:`flex items-center justify-center gap-1 ${n}`,children:[0,1,2].map(p=>e.jsx("div",{className:`${x} rounded-full animate-bounce ${b()}`,style:{...f(p),animationDelay:p===0?"-0.3s":p===1?"-0.15s":"0s"}},p))})}if(t==="pulse"){const x=r?"":d;return e.jsxs("div",{className:`relative flex items-center justify-center ${c} ${n}`,children:[e.jsx("span",{className:`absolute inline-flex h-full w-full rounded-full opacity-75 animate-ping ${x}`,style:r?{backgroundColor:r}:{}}),e.jsx("span",{className:`relative inline-flex rounded-full h-3/4 w-3/4 ${x}`,style:r?{backgroundColor:r}:{}})]})}return t==="multicolor"?e.jsx("div",{className:`${c} relative ${n}`,children:e.jsx("div",{className:`absolute inset-0 rounded-full ${d} animate-spin`,children:e.jsx("div",{className:"absolute inset-[3px] bg-white rounded-full"})})}):t==="orbit"?r?e.jsxs("div",{className:`relative ${c} ${n}`,children:[e.jsx("div",{className:"absolute inset-0 rounded-full border-2 border-t-transparent border-b-transparent animate-spin",style:{borderColor:r,borderTopColor:"transparent",borderBottomColor:"transparent"}}),e.jsx("div",{className:"absolute inset-1 rounded-full border-2 border-l-transparent border-r-transparent animate-spin-reverse opacity-75",style:{borderColor:r,borderLeftColor:"transparent",borderRightColor:"transparent",animationDirection:"reverse",animationDuration:"1.5s"}})]}):e.jsxs("div",{className:`relative ${c} ${n}`,children:[e.jsx("div",{className:`absolute inset-0 rounded-full ${d} animate-spin`,children:e.jsx("div",{className:"absolute inset-[2px] bg-white rounded-full"})}),e.jsx("div",{className:`absolute inset-1 rounded-full ${d} animate-spin-reverse opacity-75`,style:{animationDirection:"reverse",animationDuration:"1.5s"},children:e.jsx("div",{className:"absolute inset-[2px] bg-white rounded-full"})})]}):null},Je=({variant:t="info",title:s,children:n,onClose:r,className:o=""})=>{const i={success:{container:"bg-green-50 text-green-900 border-green-200",iconColor:"text-green-600",closeHover:"hover:bg-green-100 text-green-600",Icon:()=>e.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})},error:{container:"bg-red-50 text-red-900 border-red-200",iconColor:"text-red-600",closeHover:"hover:bg-red-100 text-red-600",Icon:()=>e.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})},warning:{container:"bg-yellow-50 text-yellow-900 border-yellow-200",iconColor:"text-yellow-600",closeHover:"hover:bg-yellow-100 text-yellow-600",Icon:()=>e.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})},info:{container:"bg-blue-50 text-blue-900 border-blue-200",iconColor:"text-blue-600",closeHover:"hover:bg-blue-100 text-blue-600",Icon:()=>e.jsx("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}}[t],c=i.Icon;return e.jsxs("div",{role:"alert",className:`flex p-4 rounded-lg border ${i.container} ${o}`,children:[e.jsx("div",{className:`shrink-0 ${i.iconColor}`,children:e.jsx(c,{})}),e.jsxs("div",{className:"ml-3 text-sm flex-1",children:[s&&e.jsx("span",{className:"font-semibold block mb-1",children:s}),e.jsx("div",{className:"leading-relaxed",children:n})]}),r&&e.jsx("button",{onClick:r,className:`ml-auto -mx-1.5 -my-1.5 rounded-lg p-1.5 inline-flex h-8 w-8 items-center justify-center transition-colors ${i.closeHover}`,"aria-label":"Close",children:e.jsx("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})},Ze=({children:t,colSpan:s,rowSpan:n,colStart:r,className:o=""})=>{const l={1:"col-span-1",2:"col-span-2",3:"col-span-3",4:"col-span-4",5:"col-span-5",6:"col-span-6",7:"col-span-7",8:"col-span-8",9:"col-span-9",10:"col-span-10",11:"col-span-11",12:"col-span-12",full:"col-span-full"},i={1:"row-span-1",2:"row-span-2",3:"row-span-3",4:"row-span-4",5:"row-span-5",6:"row-span-6"},c=[s?l[s]:"",n?i[n]:"",r?`col-start-${r}`:"",o].filter(Boolean).join(" ");return e.jsx("div",{className:c,children:t})},ie=({children:t,cols:s=1,gap:n=4,gapX:r,gapY:o,flow:l="row",align:i,justify:c,className:d=""})=>{const x={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6",8:"grid-cols-8",10:"grid-cols-10",12:"grid-cols-12"},m={0:"gap-0",1:"gap-1",2:"gap-2",3:"gap-3",4:"gap-4",5:"gap-5",6:"gap-6",8:"gap-8",10:"gap-10",12:"gap-12"},f=["grid",x[s],r===void 0&&o===void 0?m[n]:"",r?`gap-x-${r}`:"",o?`gap-y-${o}`:"",l?`grid-flow-${l}`:"",i?`items-${i}`:"",c?`justify-${c}`:"",d].filter(Boolean).join(" ");return e.jsx("div",{className:f,children:t})};ie.Item=Ze;const _=({variant:t="body1",component:s,children:n,weight:r,align:o="left",color:l,className:i="",noWrap:c=!1,gradient:d})=>{const m=s||{h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",caption:"span",overline:"span"}[t]||"p",f={h1:"text-5xl md:text-6xl tracking-tight leading-tight",h2:"text-4xl md:text-5xl tracking-tight leading-tight",h3:"text-3xl md:text-4xl tracking-tight",h4:"text-2xl md:text-3xl tracking-tight",h5:"text-xl md:text-2xl tracking-normal",h6:"text-lg md:text-xl tracking-normal",body1:"text-base md:text-lg leading-relaxed",body2:"text-sm md:text-base leading-relaxed",caption:"text-xs md:text-sm text-gray-500",overline:"text-xs uppercase tracking-widest font-semibold"},b={h1:"font-extrabold",h2:"font-bold",h3:"font-bold",h4:"font-bold",h5:"font-semibold",h6:"font-semibold",body1:"font-normal",body2:"font-normal",caption:"font-normal",overline:"font-bold"},p={normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold"},y={left:"text-left",center:"text-center",right:"text-right",justify:"text-justify"},j=f[t],N=r?p[r]:b[t],g=y[o];let u=l||(t==="caption"?"text-gray-500":"text-gray-900");d&&(u=`${typeof d=="string"?d:"bg-gradient-to-r from-pink-500 via-red-500 to-yellow-500"} text-transparent bg-clip-text`);const R=[j,N,g,u,c?"truncate":"",i].filter(Boolean).join(" ");return e.jsx(m,{className:R,children:n})},ce=w.forwardRef(({as:t,className:s="",children:n,center:r,fullScreen:o,bgImage:l,overlay:i,glass:c,style:d,...x},m)=>{const f=t||"div",b=[r?"flex items-center justify-center":"",o?"min-h-screen w-full":"",c?"backdrop-blur-lg bg-black/40":"",s].filter(Boolean).join(" "),p={...l?{backgroundImage:`url(${l})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}:{},...d};return e.jsxs(f,{ref:m,className:`relative ${b}`,style:p,...x,children:[i&&e.jsx("div",{className:`absolute inset-0 z-0 ${typeof i=="string"?"":"bg-black/70"}`,style:typeof i=="string"?{backgroundColor:i}:{}}),e.jsx("div",{className:"relative z-10 w-full h-full flex flex-col items-center justify-center",children:n})]})});ce.displayName="Box";const Ke=({label:t,error:s,autoResize:n,className:r="",rows:o=4,...l})=>{const i=c=>{const d=c.target;n&&(d.style.height="auto",d.style.height=`${d.scrollHeight}px`)};return e.jsxs("div",{className:"flex flex-col gap-1.5 w-full",children:[t&&e.jsx("label",{className:"text-sm font-medium text-gray-700",children:t}),e.jsx("textarea",{className:`
|
|
58
58
|
w-full
|
|
59
59
|
px-3
|
|
60
60
|
py-2
|
|
@@ -73,21 +73,21 @@ React keys must be passed directly to JSX without using spread:
|
|
|
73
73
|
min-h-[100px]
|
|
74
74
|
resize-y
|
|
75
75
|
${r}
|
|
76
|
-
`,rows:o,onInput:i,...
|
|
76
|
+
`,rows:o,onInput:i,...l}),s&&e.jsx("span",{className:"text-xs text-red-500",children:s})]})},Xe=({sidebar:t,header:s,children:n,footer:r,sidebarWidth:o="260px",collapsedWidth:l="72px",isCollapsible:i=!1,isCollapsed:c,onCollapse:d,layoutVariant:x="sidebar-first",className:m=""})=>{const[f,b]=w.useState(!1),[p,y]=w.useState(!1),j=c!==void 0?c:f,N=()=>{const T=!j;b(T),d?.(T)},g=j?l:o,u=()=>e.jsxs("header",{className:"flex h-16 items-center border-b border-gray-200 bg-white px-4 shrink-0 z-20",children:[t&&e.jsx("button",{className:"mr-4 p-2 md:hidden text-gray-500 hover:bg-gray-100 rounded-md",onClick:()=>y(!0),children:e.jsx("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16m-7 6h7"})})}),e.jsx("div",{className:"flex-1 flex items-center justify-between",children:s})]}),v=()=>e.jsxs(e.Fragment,{children:[e.jsxs("aside",{className:`
|
|
77
77
|
hidden md:flex flex-col h-full bg-white border-r border-gray-200 transition-all duration-300 ease-in-out relative
|
|
78
78
|
`,style:{width:g},children:[e.jsx("div",{className:"flex-1 overflow-y-auto overflow-x-hidden",children:t}),i&&e.jsx("button",{onClick:N,className:"absolute -right-3 top-20 bg-white border border-gray-200 rounded-full p-1 shadow-sm hover:bg-gray-50 focus:outline-none z-30","aria-label":j?"Expand sidebar":"Collapse sidebar",children:e.jsx("svg",{className:`h-4 w-4 text-gray-400 transition-transform duration-300 ${j?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})})]}),p&&e.jsx("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden animate-in fade-in duration-200",onClick:()=>y(!1)}),e.jsx("div",{className:`
|
|
79
79
|
fixed inset-y-0 left-0 z-50 w-64 bg-white shadow-xl transition-transform duration-300 ease-in-out md:hidden
|
|
80
80
|
${p?"translate-x-0":"-translate-x-full"}
|
|
81
|
-
`,children:e.jsxs("div",{className:"flex flex-col h-full",children:[e.jsx("div",{className:"p-4 border-b border-gray-100 flex justify-end",children:e.jsx("button",{className:"p-2 text-gray-500 hover:bg-gray-100 rounded-md",onClick:()=>y(!1),children:e.jsx("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})}),e.jsx("div",{className:"flex-1 overflow-y-auto",children:t})]})})]}),R=()=>r&&e.jsx("footer",{className:"h-14 border-t border-gray-200 bg-white px-4 flex items-center shrink-0",children:r}),
|
|
81
|
+
`,children:e.jsxs("div",{className:"flex flex-col h-full",children:[e.jsx("div",{className:"p-4 border-b border-gray-100 flex justify-end",children:e.jsx("button",{className:"p-2 text-gray-500 hover:bg-gray-100 rounded-md",onClick:()=>y(!1),children:e.jsx("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})}),e.jsx("div",{className:"flex-1 overflow-y-auto",children:t})]})})]}),R=()=>r&&e.jsx("footer",{className:"h-14 border-t border-gray-200 bg-white px-4 flex items-center shrink-0",children:r}),L=e.jsxs("div",{className:"flex flex-col flex-1 min-w-0 overflow-hidden relative",children:[x==="sidebar-first"&&u(),e.jsx("main",{className:"flex-1 overflow-y-auto p-4 md:p-6 lg:p-8",children:n}),R()]});return x==="header-first"?e.jsxs("div",{className:`flex flex-col h-screen bg-gray-50 overflow-hidden ${m}`,children:[u(),e.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[t&&v(),L]})]}):e.jsxs("div",{className:`flex h-screen bg-gray-50 overflow-hidden ${m}`,children:[t&&v(),L]})},Qe=({sidebar:t,header:s,children:n,footer:r,maxWidth:o="935px",className:l=""})=>e.jsxs("div",{className:`flex flex-col md:flex-row h-screen bg-white ${l}`,children:[t&&e.jsx("aside",{className:"hidden md:flex flex-col fixed left-0 h-screen border-r border-gray-200 transition-all duration-300 xl:w-64 w-20 z-50 bg-white",children:t}),e.jsxs("main",{className:`
|
|
82
82
|
flex-1 bg-white overflow-y-auto min-w-0
|
|
83
83
|
${t?"md:ml-20 xl:ml-64":""}
|
|
84
|
-
`,children:[s&&e.jsx("header",{className:"sticky top-0 z-40 bg-white/80 backdrop-blur-md border-b border-gray-100 md:hidden",children:s}),e.jsx("div",{className:"mx-auto px-4 md:px-8 py-8",style:{maxWidth:o},children:
|
|
84
|
+
`,children:[s&&e.jsx("header",{className:"sticky top-0 z-40 bg-white/80 backdrop-blur-md border-b border-gray-100 md:hidden",children:s}),e.jsx("div",{className:"mx-auto px-4 md:px-8 py-8",style:{maxWidth:o},children:n})]}),r&&e.jsx("nav",{className:"md:hidden fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 z-50",children:r})]}),et=({list:t,header:s,children:n,footer:r,isChatActive:o=!1,onBack:l,listWidth:i="350px",className:c=""})=>e.jsxs("div",{className:`flex h-screen bg-white overflow-hidden ${c}`,children:[e.jsx("aside",{className:`
|
|
85
85
|
flex-shrink-0 border-r border-gray-200 bg-white transition-all duration-300
|
|
86
86
|
${o?"hidden md:flex":"flex w-full md:w-auto"}
|
|
87
87
|
`,style:{width:o?i:window.innerWidth<768?"100%":i},children:e.jsx("div",{className:"flex flex-col w-full h-full",children:t})}),e.jsxs("main",{className:`
|
|
88
88
|
flex-1 flex flex-col min-w-0 bg-white transition-all duration-300
|
|
89
89
|
${o?"flex w-full":"hidden md:flex"}
|
|
90
|
-
`,children:[(s||
|
|
90
|
+
`,children:[(s||l)&&e.jsxs("header",{className:"flex h-16 items-center px-4 border-b border-gray-100 shrink-0 bg-white/80 backdrop-blur-md sticky top-0 z-10",children:[l&&e.jsx("button",{onClick:l,className:"mr-3 p-2 md:hidden text-gray-500 hover:bg-gray-100 rounded-full transition-colors","aria-label":"Go back",children:e.jsx("svg",{className:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),e.jsx("div",{className:"flex-1 min-w-0",children:s})]}),e.jsx("div",{className:"flex-1 overflow-y-auto bg-gray-50",children:n}),r&&e.jsx("footer",{className:"p-4 bg-white border-t border-gray-100 shrink-0",children:r})]})]}),q=({src:t,alt:s="User",initials:n,size:r="md",status:o,className:l="",isBordered:i=!1})=>{const c={xs:"w-6 h-6 text-xs",sm:"w-8 h-8 text-xs",md:"w-10 h-10 text-sm",lg:"w-12 h-12 text-base",xl:"w-16 h-16 text-lg","2xl":"w-24 h-24 text-xl"},d={online:"bg-green-500",offline:"bg-gray-400",busy:"bg-red-500",away:"bg-yellow-500"},x={xs:"w-1.5 h-1.5",sm:"w-2 h-2",md:"w-2.5 h-2.5",lg:"w-3 h-3",xl:"w-4 h-4","2xl":"w-5 h-5"};return e.jsxs("div",{className:`relative inline-block ${l}`,children:[e.jsx("div",{className:`
|
|
91
91
|
${c[r]}
|
|
92
92
|
rounded-full
|
|
93
93
|
flex items-center justify-center
|
|
@@ -96,23 +96,23 @@ React keys must be passed directly to JSX without using spread:
|
|
|
96
96
|
text-gray-600
|
|
97
97
|
font-bold
|
|
98
98
|
${i?"ring-2 ring-white":""}
|
|
99
|
-
`,children:t?e.jsx("img",{src:t,alt:s,className:"w-full h-full object-cover"}):e.jsx("span",{children:
|
|
99
|
+
`,children:t?e.jsx("img",{src:t,alt:s,className:"w-full h-full object-cover"}):e.jsx("span",{children:n||s.charAt(0).toUpperCase()})}),o&&e.jsx("span",{className:`
|
|
100
100
|
absolute bottom-0 right-0
|
|
101
101
|
block rounded-full
|
|
102
102
|
ring-2 ring-white
|
|
103
103
|
${d[o]}
|
|
104
104
|
${x[r]}
|
|
105
|
-
`})]})},tt=({title:t,loading:s=!1,loadingText:
|
|
105
|
+
`})]})},tt=({title:t,loading:s=!1,loadingText:n="Loading conversations...",children:r,className:o=""})=>e.jsxs("div",{className:`flex flex-col h-full ${o}`,children:[t&&e.jsx("div",{className:"p-4 border-b border-gray-100",children:e.jsx(_,{variant:"h5",className:"font-bold italic text-indigo-600",children:t})}),e.jsx("div",{className:"flex-1 overflow-y-auto",children:s?e.jsx("div",{className:"p-4 text-center text-gray-500",children:n}):r})]}),rt=({id:t,userName:s,avatar:n,status:r,isActive:o=!1,lastMessage:l,time:i,onClick:c,className:d=""})=>e.jsxs("div",{id:t,onClick:c,className:`
|
|
106
106
|
p-4 hover:bg-gray-50 cursor-pointer flex items-center space-x-3 transition-colors
|
|
107
107
|
${o?"bg-indigo-50 border-r-2 border-indigo-500":""}
|
|
108
108
|
${d}
|
|
109
|
-
`,children:[e.jsx("div",{className:"relative",children:e.jsx(q,{size:"lg",src:
|
|
109
|
+
`,children:[e.jsx("div",{className:"relative",children:e.jsx(q,{size:"lg",src:n,status:r})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex justify-between items-baseline",children:[e.jsx(_,{variant:"body2",weight:"semibold",className:"truncate text-gray-900",children:s}),i&&e.jsx(_,{variant:"caption",className:"text-gray-400",children:i})]}),l&&e.jsx(_,{variant:"caption",className:"text-gray-500 truncate block",children:l})]})]}),st=({userName:t,avatar:s,status:n,statusText:r,className:o=""})=>{const l=r||(n==="online"?"Online":n==="offline"?"Offline":n);return e.jsxs("div",{className:`flex items-center space-x-3 ${o}`,children:[e.jsx(q,{size:"md",src:s,status:n}),e.jsxs("div",{children:[e.jsx(_,{variant:"body1",weight:"bold",children:t}),l&&e.jsx(_,{variant:"caption",className:n==="online"?"text-green-500":"text-gray-400",children:l})]})]})},at=({value:t,onChange:s,onSend:n,placeholder:r="Write a message...",disabled:o=!1,className:l=""})=>{const i=c=>{c.key==="Enter"&&!c.shiftKey&&t.trim()&&(c.preventDefault(),n())};return e.jsxs("div",{className:`flex items-center space-x-3 ${l}`,children:[e.jsx("input",{type:"text",value:t,onChange:c=>s(c.target.value),onKeyDown:i,placeholder:r,disabled:o,className:"flex-1 px-4 py-2 bg-gray-100 rounded-full focus:outline-none focus:ring-2 focus:ring-indigo-500 text-sm transition-all disabled:opacity-50"}),e.jsx("button",{onClick:n,disabled:o||!t.trim(),className:`
|
|
110
110
|
text-indigo-600 font-bold px-2 hover:text-indigo-700 transition-colors
|
|
111
111
|
disabled:text-gray-400 disabled:cursor-not-allowed
|
|
112
|
-
`,children:"Send"})]})},
|
|
112
|
+
`,children:"Send"})]})},nt=({text:t,isOwn:s=!1,time:n,className:r=""})=>e.jsxs("div",{className:`flex flex-col ${s?"items-end":"items-start"} ${r}`,children:[e.jsx("div",{className:`
|
|
113
113
|
max-w-[80%] md:max-w-xs p-3 rounded-2xl shadow-sm text-sm
|
|
114
114
|
${s?"bg-indigo-600 text-white rounded-tr-none":"bg-white border border-gray-200 text-gray-800 rounded-tl-none"}
|
|
115
|
-
`,children:t}),
|
|
115
|
+
`,children:t}),n&&e.jsx(_,{variant:"caption",className:"mt-1 text-gray-400 text-[10px]",children:n})]}),lt=({children:t,loading:s=!1,loadingText:n="Loading messages...",className:r=""})=>{const o=w.useRef(null);return w.useEffect(()=>{o.current&&o.current.scrollIntoView({behavior:"smooth"})},[t]),e.jsx("div",{className:`p-4 md:p-6 space-y-4 flex flex-col flex-1 overflow-y-auto ${r}`,children:s?e.jsx("div",{className:"flex-1 flex items-center justify-center text-gray-500 italic py-10",children:n}):e.jsxs(e.Fragment,{children:[t,e.jsx("div",{ref:o})]})})},ot=({title:t="Your Messages",description:s="Select a chat from the sidebar or search for a contact to start messaging.",icon:n="💬",className:r=""})=>e.jsxs("div",{className:`h-full flex flex-col items-center justify-center text-gray-400 p-6 text-center ${r}`,children:[e.jsx("div",{className:"text-6xl mb-4 opacity-50",children:n}),e.jsx(_,{variant:"h6",className:"text-gray-600",children:t}),e.jsx(_,{variant:"body2",className:"mt-2 text-gray-500 max-w-xs",children:s})]}),H=w.forwardRef(({as:t,children:s,direction:n="column",spacing:r=0,wrap:o,flexWrap:l,divider:i,alignItems:c,justifyContent:d,className:x="",style:m,...f},b)=>{const p=t||"div",y={row:"flex-row","row-reverse":"flex-row-reverse",column:"flex-col","column-reverse":"flex-col-reverse"},j={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch",baseline:"items-baseline"},N={start:"justify-start",center:"justify-center",end:"justify-end",between:"justify-between",around:"justify-around",evenly:"justify-evenly"},g={wrap:"flex-wrap",nowrap:"flex-nowrap","wrap-reverse":"flex-wrap-reverse"};let u="",v={...m};if(typeof r=="number")v.gap=`${r*.25}rem`;else if(typeof r=="string"){const S=r.trim();/^-?\d+(\.\d+)?$/.test(S)?v.gap=`${parseFloat(S)*.25}rem`:/^[\d.]+(px|rem|em|%|vw|vh|vmin|vmax)$/.test(S)||S.startsWith("calc")||S.startsWith("var")?v.gap=S:u=S}const R=l||(o?"wrap":"nowrap"),L=["flex",y[n],g[R],c?j[c]:"",d?N[d]:"",u,x].filter(Boolean).join(" "),T=w.Children.toArray(s).filter(w.isValidElement);return e.jsx(p,{ref:b,className:L,style:v,...f,children:i?T.map((S,A)=>e.jsxs(w.Fragment,{children:[S,A<T.length-1&&i]},A)):s})});H.displayName="Stack";const it=({isOpen:t,onClose:s,title:n,children:r,size:o="md",className:l="",showCloseButton:i=!0})=>{const c=w.useRef(null);w.useEffect(()=>{const f=b=>{b.key==="Escape"&&s()};return t&&(document.addEventListener("keydown",f),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",f),document.body.style.overflow="unset"}},[t,s]);const d=f=>{c.current&&!c.current.contains(f.target)&&s()};if(!t)return null;const x={sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-2xl"},m=e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/60 backdrop-blur-sm transition-opacity duration-300",onClick:d,children:e.jsxs("div",{ref:c,className:`
|
|
116
116
|
w-full
|
|
117
117
|
bg-white
|
|
118
118
|
rounded-2xl
|
|
@@ -126,5 +126,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
126
126
|
flex flex-col
|
|
127
127
|
max-h-[90vh]
|
|
128
128
|
${x[o]}
|
|
129
|
-
${
|
|
130
|
-
`,role:"dialog","aria-modal":"true",children:[(l||i)&&e.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-b border-gray-100 bg-white sticky top-0 z-10",children:[l&&e.jsx("h3",{className:"text-lg font-bold text-gray-900 leading-6",children:l}),i&&e.jsx(M,{variant:"ghost",size:"icon",rounded:"full",onClick:s,className:"ml-auto text-gray-400 hover:text-gray-900 -mr-2","aria-label":"Close",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]}),e.jsx("div",{className:"p-6 overflow-y-auto custom-scrollbar",children:r})]})});return ue.createPortal(h,document.body)},ct=({data:t,columns:s,keyExtractor:l,isLoading:r,onSort:o,pagination:n,emptyMessage:i="No data available",className:c=""})=>e.jsxs("div",{className:`w-full bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden ${c}`,children:[e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-left border-collapse",children:[e.jsx("thead",{children:e.jsx("tr",{className:"bg-gray-50 border-b border-gray-200",children:s.map((d,x)=>e.jsx("th",{className:`px-6 py-4 text-xs font-semibold text-gray-500 uppercase tracking-wider ${d.className||""}`,style:{width:d.width},onClick:()=>o&&o(d),children:e.jsxs("div",{className:`flex items-center gap-2 ${o?"cursor-pointer hover:text-gray-700":""}`,children:[d.header,o&&e.jsx(ke,{size:14,className:"text-gray-400"})]})},x))})}),e.jsx("tbody",{className:"divide-y divide-gray-100",children:r?Array.from({length:5}).map((d,x)=>e.jsx("tr",{className:"animate-pulse",children:s.map((h,f)=>e.jsx("td",{className:"px-6 py-4",children:e.jsx("div",{className:"h-4 bg-gray-200 rounded w-3/4"})},f))},x)):t.length===0?e.jsx("tr",{children:e.jsx("td",{colSpan:s.length,className:"px-6 py-12 text-center text-gray-500",children:e.jsx(_,{variant:"body2",children:i})})}):t.map(d=>e.jsx("tr",{className:"hover:bg-gray-50/50 transition-colors",children:s.map((x,h)=>e.jsx("td",{className:`px-6 py-4 text-sm text-gray-700 ${x.className||""}`,children:typeof x.accessor=="function"?x.accessor(d):d[x.accessor]},h))},l(d)))})]})}),n&&e.jsxs(H,{direction:"row",justifyContent:"between",alignItems:"center",className:"px-6 py-4 border-t border-gray-200 bg-gray-50/50",children:[e.jsxs(_,{variant:"caption",color:"text-gray-500",children:["Page ",e.jsx("span",{className:"font-medium text-gray-900",children:n.currentPage})," of"," ",e.jsx("span",{className:"font-medium text-gray-900",children:n.totalPages})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(M,{variant:"secondary",size:"sm",disabled:n.currentPage===1||r,onClick:()=>n.onPageChange(n.currentPage-1),className:"bg-white border-gray-200 text-gray-600 hover:text-gray-800",children:e.jsx(Se,{size:16})}),e.jsx(M,{variant:"secondary",size:"sm",disabled:n.currentPage===n.totalPages||r,onClick:()=>n.onPageChange(n.currentPage+1),className:"bg-white border-gray-200 text-gray-600 hover:text-gray-800",children:e.jsx(Te,{size:16})})]})]})]}),dt=({movieTitle:t,posterUrl:s,language:l,format:r,location:o,date:n,time:i,screen:c,seats:d,rating:x="UA",duration:h="2h 15m",bookingId:f="BK928374",transactionId:b="TXN123456789",price:p="₹350.00",bookingDate:y="Oct 30, 2026",qrCodeUrl:j,isFavorite:N=!1,onFavoriteToggle:g,className:u=""})=>e.jsxs("div",{className:`relative max-w-[420px] bg-[#0a0a0a] rounded-[2.5rem] shadow-[0_30px_60px_-15px_rgba(0,0,0,0.6)] overflow-hidden font-sans border border-white/5 transition-all duration-500 group text-white ${u}`,children:[e.jsx("div",{className:"absolute top-0 bottom-0 left-2 w-1 flex flex-col justify-around py-4 opacity-20 transition-opacity",children:[...Array(12)].map((v,R)=>e.jsx("div",{className:"w-1 h-3 bg-white rounded-sm"},R))}),e.jsx("div",{className:"absolute top-0 bottom-0 right-2 w-1 flex flex-col justify-around py-4 opacity-20 transition-opacity",children:[...Array(12)].map((v,R)=>e.jsx("div",{className:"w-1 h-3 bg-white rounded-sm"},R))}),e.jsxs("div",{className:"relative p-8 pb-6 ml-4 mr-4 bg-gradient-to-b from-white/10 to-transparent",children:[e.jsxs("div",{className:"flex gap-6",children:[e.jsx("div",{className:"w-28 h-40 flex-shrink-0 rounded-2xl overflow-hidden shadow-2xl border border-white/10 transition-all duration-500",children:e.jsx("img",{src:s,alt:t,className:"w-full h-full object-cover"})}),e.jsxs("div",{className:"flex-grow pt-1",children:[e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{className:"flex-grow",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("span",{className:"px-2 py-0.5 bg-rose-600 rounded-md text-[9px] font-black tracking-tighter uppercase whitespace-nowrap",children:r}),e.jsx("span",{className:"text-[10px] font-bold text-gray-400 uppercase tracking-widest",children:l})]}),e.jsx("h2",{className:"text-2xl font-black leading-tight tracking-tight line-clamp-2",children:t})]}),e.jsx("button",{onClick:g,className:`p-2.5 rounded-2xl transition-all duration-300 ${N?"text-rose-500 bg-rose-500/10 shadow-[0_0_15px_rgba(244,63,94,0.3)]":"text-white/20 hover:bg-white/5 hover:text-white/40"}`,children:e.jsx(Ye,{size:20,fill:N?"currentColor":"none"})})]}),e.jsxs("div",{className:"flex items-center gap-4 mt-4 text-[11px] text-gray-400 font-bold uppercase tracking-wider",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(Ie,{size:12,className:"text-gray-500"}),e.jsx("span",{children:x})]}),e.jsxs("div",{className:"flex items-center gap-1.5 border-l border-white/10 pl-4",children:[e.jsx(ze,{size:12,className:"text-gray-500"}),e.jsx("span",{children:h})]})]})]})]}),e.jsxs("div",{className:"mt-8 grid grid-cols-2 gap-x-8 gap-y-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[9px] font-black text-rose-500 uppercase tracking-[0.2em] mb-1",children:"Location"}),e.jsx("p",{className:"text-xs font-bold text-gray-200 line-clamp-1",children:o})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[9px] font-black text-rose-500 uppercase tracking-[0.2em] mb-1",children:"Date & Time"}),e.jsxs("p",{className:"text-xs font-bold text-gray-200",children:[n," ",e.jsx("span",{className:"text-gray-500 mx-1",children:"@"})," ",i]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[9px] font-black text-rose-500 uppercase tracking-[0.2em] mb-1",children:"Screen"}),e.jsx("p",{className:"text-sm font-black text-white",children:c})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[9px] font-black text-rose-500 uppercase tracking-[0.2em] mb-1",children:"Seats"}),e.jsx("p",{className:"text-sm font-black text-white uppercase",children:d})]})]})]}),e.jsxs("div",{className:"relative flex items-center justify-between ml-4 mr-4",children:[e.jsx("div",{className:"w-10 h-10 bg-[#0a0a0a] rounded-full -ml-[36px] border border-white/5 shadow-[inset_-8px_0_12px_rgba(0,0,0,0.5)] z-10"}),e.jsx("div",{className:"flex-grow h-[1px] border-t-2 border-dashed border-white/10 mx-2"}),e.jsx("div",{className:"w-10 h-10 bg-[#0a0a0a] rounded-full -mr-[36px] border border-white/5 shadow-[inset_8px_0_12px_rgba(0,0,0,0.5)] z-10"})]}),e.jsxs("div",{className:"p-8 pt-6 ml-4 mr-4 bg-gradient-to-t from-white/5 to-transparent flex gap-6",children:[e.jsxs("div",{className:"w-24 h-24 bg-white/[0.03] rounded-2xl flex items-center justify-center border border-white/10 transition-all relative overflow-hidden p-2",children:[j?e.jsx("img",{src:j,alt:"QR Code",className:"w-full h-full object-contain invert"}):e.jsx(We,{size:48,className:"text-white/10 transition-all",strokeWidth:1}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-white/5 to-transparent pointer-events-none"})]}),e.jsxs("div",{className:"flex-grow space-y-4 pt-1",children:[e.jsxs("div",{className:"flex justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[9px] font-black text-gray-500 uppercase tracking-widest mb-0.5",children:"Booking ID"}),e.jsx("p",{className:"text-[11px] font-mono font-bold text-gray-300",children:f})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("p",{className:"text-[9px] font-black text-gray-500 uppercase tracking-widest mb-0.5",children:"Total Paid"}),e.jsx("p",{className:"text-sm font-black text-green-400",children:p})]})]}),e.jsxs("div",{className:"pt-3 border-t border-white/5 grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Pe,{size:10,className:"text-gray-500"}),e.jsx("p",{className:"text-[9px] font-bold text-gray-500 line-clamp-1",children:b})]}),e.jsxs("div",{className:"flex items-center gap-2 justify-end",children:[e.jsx($e,{size:10,className:"text-gray-500"}),e.jsx("p",{className:"text-[9px] font-bold text-gray-500 uppercase",children:y})]})]})]})]}),e.jsx("div",{className:"absolute right-0 top-1/2 -translate-y-1/2 [writing-mode:vertical-lr] text-[8px] font-black text-white/5 tracking-[0.8em] px-1 uppercase select-none transition-colors",children:"ELECTRONIC • ADMIT ONE • M-TICKET"}),e.jsx("div",{className:"absolute inset-0 pointer-events-none bg-gradient-to-tr from-white/5 to-transparent opacity-30 transition-opacity duration-700"})]});exports.Alert=Je;exports.AppLayout=Xe;exports.Avatar=q;exports.BaseDialog=it;exports.Box=ce;exports.Button=M;exports.Card=He;exports.ChatBody=nt;exports.ChatHeader=st;exports.ChatInput=at;exports.ChatMessage=lt;exports.ConversationItem=rt;exports.ConversationList=tt;exports.DataTable=ct;exports.EmptyChatState=ot;exports.Grid=ie;exports.InboxLayout=et;exports.Input=se;exports.Loader=Ge;exports.MovieTicket=dt;exports.MultiSelect=qe;exports.OrbitSelect=oe;exports.Post=Ve;exports.SocialLayout=Qe;exports.Stack=H;exports.TextArea=Ke;exports.Typography=_;
|
|
129
|
+
${l}
|
|
130
|
+
`,role:"dialog","aria-modal":"true",children:[(n||i)&&e.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-b border-gray-100 bg-white sticky top-0 z-10",children:[n&&e.jsx("h3",{className:"text-lg font-bold text-gray-900 leading-6",children:n}),i&&e.jsx(M,{variant:"ghost",size:"icon",rounded:"full",onClick:s,className:"ml-auto text-gray-400 hover:text-gray-900 -mr-2","aria-label":"Close",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]}),e.jsx("div",{className:"p-6 overflow-y-auto custom-scrollbar",children:r})]})});return ue.createPortal(m,document.body)},ct=({data:t,columns:s,keyExtractor:n,isLoading:r,onSort:o,pagination:l,emptyMessage:i="No data available",className:c=""})=>e.jsxs("div",{className:`w-full bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden ${c}`,children:[e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-left border-collapse",children:[e.jsx("thead",{children:e.jsx("tr",{className:"bg-gray-50 border-b border-gray-200",children:s.map((d,x)=>e.jsx("th",{className:`px-6 py-4 text-xs font-semibold text-gray-500 uppercase tracking-wider ${d.className||""}`,style:{width:d.width},onClick:()=>o&&o(d),children:e.jsxs("div",{className:`flex items-center gap-2 ${o?"cursor-pointer hover:text-gray-700":""}`,children:[d.header,o&&e.jsx(ke,{size:14,className:"text-gray-400"})]})},x))})}),e.jsx("tbody",{className:"divide-y divide-gray-100",children:r?Array.from({length:5}).map((d,x)=>e.jsx("tr",{className:"animate-pulse",children:s.map((m,f)=>e.jsx("td",{className:"px-6 py-4",children:e.jsx("div",{className:"h-4 bg-gray-200 rounded w-3/4"})},f))},x)):t.length===0?e.jsx("tr",{children:e.jsx("td",{colSpan:s.length,className:"px-6 py-12 text-center text-gray-500",children:e.jsx(_,{variant:"body2",children:i})})}):t.map(d=>e.jsx("tr",{className:"hover:bg-gray-50/50 transition-colors",children:s.map((x,m)=>e.jsx("td",{className:`px-6 py-4 text-sm text-gray-700 ${x.className||""}`,children:typeof x.accessor=="function"?x.accessor(d):d[x.accessor]},m))},n(d)))})]})}),l&&e.jsxs(H,{direction:"row",justifyContent:"between",alignItems:"center",className:"px-6 py-4 border-t border-gray-200 bg-gray-50/50",children:[e.jsxs(_,{variant:"caption",color:"text-gray-500",children:["Page ",e.jsx("span",{className:"font-medium text-gray-900",children:l.currentPage})," of"," ",e.jsx("span",{className:"font-medium text-gray-900",children:l.totalPages})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(M,{variant:"secondary",size:"sm",disabled:l.currentPage===1||r,onClick:()=>l.onPageChange(l.currentPage-1),className:"bg-white border-gray-200 text-gray-600 hover:text-gray-800",children:e.jsx(Se,{size:16})}),e.jsx(M,{variant:"secondary",size:"sm",disabled:l.currentPage===l.totalPages||r,onClick:()=>l.onPageChange(l.currentPage+1),className:"bg-white border-gray-200 text-gray-600 hover:text-gray-800",children:e.jsx(Le,{size:16})})]})]})]}),dt=({movieTitle:t,posterUrl:s,language:n,format:r,location:o,date:l,time:i,screen:c,seats:d,rating:x="UA",duration:m="2h 15m",bookingId:f="BK928374",transactionId:b="TXN123456789",price:p="₹350.00",bookingDate:y="Oct 30, 2026",qrCodeUrl:j,isFavorite:N=!1,onFavoriteToggle:g,className:u=""})=>e.jsxs("div",{className:`relative max-w-[420px] bg-[#0a0a0a] rounded-[2.5rem] shadow-[0_30px_60px_-15px_rgba(0,0,0,0.6)] overflow-hidden font-sans border border-white/5 transition-all duration-500 group text-white ${u}`,children:[e.jsx("div",{className:"absolute top-0 bottom-0 left-2 w-1 flex flex-col justify-around py-4 opacity-20 transition-opacity",children:[...Array(12)].map((v,R)=>e.jsx("div",{className:"w-1 h-3 bg-white rounded-sm"},R))}),e.jsx("div",{className:"absolute top-0 bottom-0 right-2 w-1 flex flex-col justify-around py-4 opacity-20 transition-opacity",children:[...Array(12)].map((v,R)=>e.jsx("div",{className:"w-1 h-3 bg-white rounded-sm"},R))}),e.jsxs("div",{className:"relative p-8 pb-6 ml-4 mr-4 bg-gradient-to-b from-white/10 to-transparent",children:[e.jsxs("div",{className:"flex gap-6",children:[e.jsx("div",{className:"w-28 h-40 flex-shrink-0 rounded-2xl overflow-hidden shadow-2xl border border-white/10 transition-all duration-500",children:e.jsx("img",{src:s,alt:t,className:"w-full h-full object-cover"})}),e.jsxs("div",{className:"flex-grow pt-1",children:[e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{className:"flex-grow",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("span",{className:"px-2 py-0.5 bg-rose-600 rounded-md text-[9px] font-black tracking-tighter uppercase whitespace-nowrap",children:r}),e.jsx("span",{className:"text-[10px] font-bold text-gray-400 uppercase tracking-widest",children:n})]}),e.jsx("h2",{className:"text-2xl font-black leading-tight tracking-tight line-clamp-2",children:t})]}),e.jsx("button",{onClick:g,className:`p-2.5 rounded-2xl transition-all duration-300 ${N?"text-rose-500 bg-rose-500/10 shadow-[0_0_15px_rgba(244,63,94,0.3)]":"text-white/20 hover:bg-white/5 hover:text-white/40"}`,children:e.jsx(Ye,{size:20,fill:N?"currentColor":"none"})})]}),e.jsxs("div",{className:"flex items-center gap-4 mt-4 text-[11px] text-gray-400 font-bold uppercase tracking-wider",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(Be,{size:12,className:"text-gray-500"}),e.jsx("span",{children:x})]}),e.jsxs("div",{className:"flex items-center gap-1.5 border-l border-white/10 pl-4",children:[e.jsx(ze,{size:12,className:"text-gray-500"}),e.jsx("span",{children:m})]})]})]})]}),e.jsxs("div",{className:"mt-8 grid grid-cols-2 gap-x-8 gap-y-6",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[9px] font-black text-rose-500 uppercase tracking-[0.2em] mb-1",children:"Location"}),e.jsx("p",{className:"text-xs font-bold text-gray-200 line-clamp-1",children:o})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[9px] font-black text-rose-500 uppercase tracking-[0.2em] mb-1",children:"Date & Time"}),e.jsxs("p",{className:"text-xs font-bold text-gray-200",children:[l," ",e.jsx("span",{className:"text-gray-500 mx-1",children:"@"})," ",i]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[9px] font-black text-rose-500 uppercase tracking-[0.2em] mb-1",children:"Screen"}),e.jsx("p",{className:"text-sm font-black text-white",children:c})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[9px] font-black text-rose-500 uppercase tracking-[0.2em] mb-1",children:"Seats"}),e.jsx("p",{className:"text-sm font-black text-white uppercase",children:d})]})]})]}),e.jsxs("div",{className:"relative flex items-center justify-between ml-4 mr-4",children:[e.jsx("div",{className:"w-10 h-10 bg-[#0a0a0a] rounded-full -ml-[36px] border border-white/5 shadow-[inset_-8px_0_12px_rgba(0,0,0,0.5)] z-10"}),e.jsx("div",{className:"flex-grow h-[1px] border-t-2 border-dashed border-white/10 mx-2"}),e.jsx("div",{className:"w-10 h-10 bg-[#0a0a0a] rounded-full -mr-[36px] border border-white/5 shadow-[inset_8px_0_12px_rgba(0,0,0,0.5)] z-10"})]}),e.jsxs("div",{className:"p-8 pt-6 ml-4 mr-4 bg-gradient-to-t from-white/5 to-transparent flex gap-6",children:[e.jsxs("div",{className:"w-24 h-24 bg-white/[0.03] rounded-2xl flex items-center justify-center border border-white/10 transition-all relative overflow-hidden p-2",children:[j?e.jsx("img",{src:j,alt:"QR Code",className:"w-full h-full object-contain invert"}):e.jsx(We,{size:48,className:"text-white/10 transition-all",strokeWidth:1}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-white/5 to-transparent pointer-events-none"})]}),e.jsxs("div",{className:"flex-grow space-y-4 pt-1",children:[e.jsxs("div",{className:"flex justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[9px] font-black text-gray-500 uppercase tracking-widest mb-0.5",children:"Booking ID"}),e.jsx("p",{className:"text-[11px] font-mono font-bold text-gray-300",children:f})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("p",{className:"text-[9px] font-black text-gray-500 uppercase tracking-widest mb-0.5",children:"Total Paid"}),e.jsx("p",{className:"text-sm font-black text-green-400",children:p})]})]}),e.jsxs("div",{className:"pt-3 border-t border-white/5 grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Pe,{size:10,className:"text-gray-500"}),e.jsx("p",{className:"text-[9px] font-bold text-gray-500 line-clamp-1",children:b})]}),e.jsxs("div",{className:"flex items-center gap-2 justify-end",children:[e.jsx($e,{size:10,className:"text-gray-500"}),e.jsx("p",{className:"text-[9px] font-bold text-gray-500 uppercase",children:y})]})]})]})]}),e.jsx("div",{className:"absolute right-0 top-1/2 -translate-y-1/2 [writing-mode:vertical-lr] text-[8px] font-black text-white/5 tracking-[0.8em] px-1 uppercase select-none transition-colors",children:"ELECTRONIC • ADMIT ONE • M-TICKET"}),e.jsx("div",{className:"absolute inset-0 pointer-events-none bg-gradient-to-tr from-white/5 to-transparent opacity-30 transition-opacity duration-700"})]}),xt=({variant:t="primary",size:s="md",rounded:n="full",children:r,className:o="",onRemove:l})=>{const i="inline-flex items-center justify-center font-medium transition-colors focus:outline-none",c={primary:"bg-blue-100 text-blue-800",secondary:"bg-gray-100 text-gray-800",outline:"bg-transparent border border-gray-300 text-gray-700",destructive:"bg-red-100 text-red-800",success:"bg-green-100 text-green-800",warning:"bg-yellow-100 text-yellow-800"},d={sm:"text-[10px] px-1.5 py-0.5 min-w-[16px]",md:"text-xs px-2.5 py-0.5",lg:"text-sm px-3 py-1"},x={sm:"rounded",md:"rounded-md",full:"rounded-full"};return e.jsxs("span",{className:`
|
|
131
|
+
${i}
|
|
132
|
+
${c[t]}
|
|
133
|
+
${d[s]}
|
|
134
|
+
${x[n]}
|
|
135
|
+
${o}
|
|
136
|
+
`,children:[r,l&&e.jsx("button",{onClick:m=>{m.stopPropagation(),l()},className:"ml-1.5 hover:bg-black/10 rounded-full p-0.5 inline-flex items-center justify-center transition-colors focus:outline-none","aria-label":"Remove",children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]})};exports.Alert=Je;exports.AppLayout=Xe;exports.Avatar=q;exports.Badge=xt;exports.BaseDialog=it;exports.Box=ce;exports.Button=M;exports.Card=He;exports.ChatBody=lt;exports.ChatHeader=st;exports.ChatInput=at;exports.ChatMessage=nt;exports.ConversationItem=rt;exports.ConversationList=tt;exports.DataTable=ct;exports.EmptyChatState=ot;exports.Grid=ie;exports.InboxLayout=et;exports.Input=se;exports.Loader=Ge;exports.MovieTicket=dt;exports.MultiSelect=qe;exports.OrbitSelect=oe;exports.Post=Ve;exports.SocialLayout=Qe;exports.Stack=H;exports.TextArea=Ke;exports.Typography=_;
|