@orbit_ui_toolkit/orbitui-kit 0.1.7 → 0.1.9
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/components/Chat/ChatHeader.d.ts +9 -0
- package/dist/components/Chat/ChatInput.d.ts +10 -0
- package/dist/components/Chat/ConversationItem.d.ts +13 -0
- package/dist/components/Chat/ConversationList.d.ts +9 -0
- package/dist/components/Chat/index.d.ts +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/orbitui.cjs.js +31 -23
- package/dist/orbitui.es.js +421 -302
- package/package.json +14 -13
package/dist/orbitui.es.js
CHANGED
|
@@ -1,66 +1,67 @@
|
|
|
1
|
-
import z, { useState as te } from "react";
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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-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-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}}}@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-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-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-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-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-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-black:#000;--color-white:#fff;--spacing:.25rem;--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;--tracking-tight:-.025em;--tracking-normal:0em;--tracking-wide:.025em;--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;--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)}.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)}.z-0{z-index:0}.z-10{z-index:10}.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-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)}.-mr-2{margin-right:calc(var(--spacing)*-2)}.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-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-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-auto{margin-left:auto}.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-\\[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-\\[200px\\]{height:200px}.h-\\[300px\\]{height:300px}.h-auto{height:auto}.h-full{height:100%}.h-screen{height:100vh}.max-h-\\[90vh\\]{max-height:90vh}.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-32{width:calc(var(--spacing)*32)}.w-64{width:calc(var(--spacing)*64)}.w-\\[300px\\]{width:300px}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-\\[70\\%\\]{max-width:70%}.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)}.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}.-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)}.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-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}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.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)))}: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)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow: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-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-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-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-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-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-\\[\\#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-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-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-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-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.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-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-r{--tw-gradient-position:to right 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-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-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-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}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.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\\.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-12{padding-block:calc(var(--spacing)*12)}.py-20{padding-block:calc(var(--spacing)*20)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-4{padding-top:calc(var(--spacing)*4)}.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)}.pl-3{padding-left:calc(var(--spacing)*3)}.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-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-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.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-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-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-\\[\\#0070f3\\]{color:#0070f3}.text-blue-600{color:var(--color-blue-600)}.text-blue-800{color:var(--color-blue-800)}.text-blue-900{color:var(--color-blue-900)}.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-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-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-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-25{opacity:.25}.opacity-75{opacity:.75}.opacity-100{opacity:1}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-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-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}.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-700{--tw-duration:.7s;transition-duration:.7s}.outline-none{--tw-outline-style:none;outline-style:none}@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-\\[\\#0060df\\]:hover{background-color:#0060df}.hover\\:bg-\\[\\#a0301b\\]:hover{background-color:#a0301b}.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-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-yellow-100:hover{background-color:var(--color-yellow-100)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.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-rose-500:hover{color:var(--color-rose-500)}.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\\: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-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-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}@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
|
+
import I, { useState as ne } from "react";
|
|
3
|
+
var T = { exports: {} }, $ = {};
|
|
4
|
+
var H;
|
|
5
|
+
function oe() {
|
|
6
|
+
if (H) return $;
|
|
7
|
+
H = 1;
|
|
8
|
+
var s = /* @__PURE__ */ Symbol.for("react.transitional.element"), a = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
9
|
+
function l(t, o, n) {
|
|
10
|
+
var c = null;
|
|
11
|
+
if (n !== void 0 && (c = "" + n), o.key !== void 0 && (c = "" + o.key), "key" in o) {
|
|
11
12
|
n = {};
|
|
12
|
-
for (var
|
|
13
|
-
|
|
14
|
-
} else n =
|
|
15
|
-
return
|
|
13
|
+
for (var i in o)
|
|
14
|
+
i !== "key" && (n[i] = o[i]);
|
|
15
|
+
} else n = o;
|
|
16
|
+
return o = n.ref, {
|
|
16
17
|
$$typeof: s,
|
|
17
18
|
type: t,
|
|
18
|
-
key:
|
|
19
|
-
ref:
|
|
19
|
+
key: c,
|
|
20
|
+
ref: o !== void 0 ? o : null,
|
|
20
21
|
props: n
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
|
-
return
|
|
24
|
+
return $.Fragment = a, $.jsx = l, $.jsxs = l, $;
|
|
24
25
|
}
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
return
|
|
26
|
+
var E = {};
|
|
27
|
+
var J;
|
|
28
|
+
function ae() {
|
|
29
|
+
return J || (J = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
29
30
|
function s(r) {
|
|
30
31
|
if (r == null) return null;
|
|
31
32
|
if (typeof r == "function")
|
|
32
|
-
return r.$$typeof ===
|
|
33
|
+
return r.$$typeof === re ? null : r.displayName || r.name || null;
|
|
33
34
|
if (typeof r == "string") return r;
|
|
34
35
|
switch (r) {
|
|
35
36
|
case j:
|
|
36
37
|
return "Fragment";
|
|
37
38
|
case _:
|
|
38
39
|
return "Profiler";
|
|
39
|
-
case
|
|
40
|
+
case S:
|
|
40
41
|
return "StrictMode";
|
|
41
|
-
case
|
|
42
|
+
case X:
|
|
42
43
|
return "Suspense";
|
|
43
|
-
case
|
|
44
|
+
case K:
|
|
44
45
|
return "SuspenseList";
|
|
45
|
-
case
|
|
46
|
+
case ee:
|
|
46
47
|
return "Activity";
|
|
47
48
|
}
|
|
48
49
|
if (typeof r == "object")
|
|
49
50
|
switch (typeof r.tag == "number" && console.error(
|
|
50
51
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
51
52
|
), r.$$typeof) {
|
|
52
|
-
case
|
|
53
|
+
case C:
|
|
53
54
|
return "Portal";
|
|
54
|
-
case
|
|
55
|
+
case A:
|
|
55
56
|
return r.displayName || "Context";
|
|
56
57
|
case W:
|
|
57
58
|
return (r._context.displayName || "Context") + ".Consumer";
|
|
58
|
-
case
|
|
59
|
+
case D:
|
|
59
60
|
var d = r.render;
|
|
60
61
|
return r = r.displayName, r || (r = d.displayName || d.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
|
|
61
|
-
case
|
|
62
|
+
case Q:
|
|
62
63
|
return d = r.displayName || null, d !== null ? d : s(r.type) || "Memo";
|
|
63
|
-
case
|
|
64
|
+
case O:
|
|
64
65
|
d = r._payload, r = r._init;
|
|
65
66
|
try {
|
|
66
67
|
return s(r(d));
|
|
@@ -69,29 +70,29 @@ function ne() {
|
|
|
69
70
|
}
|
|
70
71
|
return null;
|
|
71
72
|
}
|
|
72
|
-
function
|
|
73
|
+
function a(r) {
|
|
73
74
|
return "" + r;
|
|
74
75
|
}
|
|
75
|
-
function
|
|
76
|
+
function l(r) {
|
|
76
77
|
try {
|
|
77
|
-
|
|
78
|
+
a(r);
|
|
78
79
|
var d = !1;
|
|
79
80
|
} catch {
|
|
80
81
|
d = !0;
|
|
81
82
|
}
|
|
82
83
|
if (d) {
|
|
83
84
|
d = console;
|
|
84
|
-
var
|
|
85
|
-
return
|
|
85
|
+
var u = d.error, m = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
|
|
86
|
+
return u.call(
|
|
86
87
|
d,
|
|
87
88
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
88
89
|
m
|
|
89
|
-
),
|
|
90
|
+
), a(r);
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
93
|
function t(r) {
|
|
93
94
|
if (r === j) return "<>";
|
|
94
|
-
if (typeof r == "object" && r !== null && r.$$typeof ===
|
|
95
|
+
if (typeof r == "object" && r !== null && r.$$typeof === O)
|
|
95
96
|
return "<...>";
|
|
96
97
|
try {
|
|
97
98
|
var d = s(r);
|
|
@@ -100,49 +101,49 @@ function ne() {
|
|
|
100
101
|
return "<...>";
|
|
101
102
|
}
|
|
102
103
|
}
|
|
103
|
-
function
|
|
104
|
-
var r =
|
|
104
|
+
function o() {
|
|
105
|
+
var r = L.A;
|
|
105
106
|
return r === null ? null : r.getOwner();
|
|
106
107
|
}
|
|
107
108
|
function n() {
|
|
108
109
|
return Error("react-stack-top-frame");
|
|
109
110
|
}
|
|
110
|
-
function
|
|
111
|
+
function c(r) {
|
|
111
112
|
if (B.call(r, "key")) {
|
|
112
113
|
var d = Object.getOwnPropertyDescriptor(r, "key").get;
|
|
113
114
|
if (d && d.isReactWarning) return !1;
|
|
114
115
|
}
|
|
115
116
|
return r.key !== void 0;
|
|
116
117
|
}
|
|
117
|
-
function
|
|
118
|
-
function
|
|
119
|
-
|
|
118
|
+
function i(r, d) {
|
|
119
|
+
function u() {
|
|
120
|
+
Y || (Y = !0, console.error(
|
|
120
121
|
"%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)",
|
|
121
122
|
d
|
|
122
123
|
));
|
|
123
124
|
}
|
|
124
|
-
|
|
125
|
-
get:
|
|
125
|
+
u.isReactWarning = !0, Object.defineProperty(r, "key", {
|
|
126
|
+
get: u,
|
|
126
127
|
configurable: !0
|
|
127
128
|
});
|
|
128
129
|
}
|
|
129
|
-
function
|
|
130
|
+
function x() {
|
|
130
131
|
var r = s(this.type);
|
|
131
|
-
return
|
|
132
|
+
return F[r] || (F[r] = !0, console.error(
|
|
132
133
|
"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."
|
|
133
134
|
)), r = this.props.ref, r !== void 0 ? r : null;
|
|
134
135
|
}
|
|
135
|
-
function h(r, d,
|
|
136
|
-
var f =
|
|
136
|
+
function h(r, d, u, m, R, z) {
|
|
137
|
+
var f = u.ref;
|
|
137
138
|
return r = {
|
|
138
139
|
$$typeof: y,
|
|
139
140
|
type: r,
|
|
140
141
|
key: d,
|
|
141
|
-
props:
|
|
142
|
+
props: u,
|
|
142
143
|
_owner: m
|
|
143
144
|
}, (f !== void 0 ? f : null) !== null ? Object.defineProperty(r, "ref", {
|
|
144
145
|
enumerable: !1,
|
|
145
|
-
get:
|
|
146
|
+
get: x
|
|
146
147
|
}) : Object.defineProperty(r, "ref", { enumerable: !1, value: null }), r._store = {}, Object.defineProperty(r._store, "validated", {
|
|
147
148
|
configurable: !1,
|
|
148
149
|
enumerable: !1,
|
|
@@ -157,19 +158,19 @@ function ne() {
|
|
|
157
158
|
configurable: !1,
|
|
158
159
|
enumerable: !1,
|
|
159
160
|
writable: !0,
|
|
160
|
-
value:
|
|
161
|
+
value: R
|
|
161
162
|
}), Object.defineProperty(r, "_debugTask", {
|
|
162
163
|
configurable: !1,
|
|
163
164
|
enumerable: !1,
|
|
164
165
|
writable: !0,
|
|
165
|
-
value:
|
|
166
|
+
value: z
|
|
166
167
|
}), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
|
|
167
168
|
}
|
|
168
|
-
function g(r, d,
|
|
169
|
+
function g(r, d, u, m, R, z) {
|
|
169
170
|
var f = d.children;
|
|
170
171
|
if (f !== void 0)
|
|
171
172
|
if (m)
|
|
172
|
-
if (
|
|
173
|
+
if (te(f)) {
|
|
173
174
|
for (m = 0; m < f.length; m++)
|
|
174
175
|
p(f[m]);
|
|
175
176
|
Object.freeze && Object.freeze(f);
|
|
@@ -180,10 +181,10 @@ function ne() {
|
|
|
180
181
|
else p(f);
|
|
181
182
|
if (B.call(d, "key")) {
|
|
182
183
|
f = s(r);
|
|
183
|
-
var w = Object.keys(d).filter(function(
|
|
184
|
-
return
|
|
184
|
+
var w = Object.keys(d).filter(function(se) {
|
|
185
|
+
return se !== "key";
|
|
185
186
|
});
|
|
186
|
-
m = 0 < w.length ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}",
|
|
187
|
+
m = 0 < w.length ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}", G[f + m] || (w = 0 < w.length ? "{" + w.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
187
188
|
`A props object containing a "key" prop is being spread into JSX:
|
|
188
189
|
let props = %s;
|
|
189
190
|
<%s {...props} />
|
|
@@ -194,32 +195,32 @@ React keys must be passed directly to JSX without using spread:
|
|
|
194
195
|
f,
|
|
195
196
|
w,
|
|
196
197
|
f
|
|
197
|
-
),
|
|
198
|
+
), G[f + m] = !0);
|
|
198
199
|
}
|
|
199
|
-
if (f = null,
|
|
200
|
-
|
|
200
|
+
if (f = null, u !== void 0 && (l(u), f = "" + u), c(d) && (l(d.key), f = "" + d.key), "key" in d) {
|
|
201
|
+
u = {};
|
|
201
202
|
for (var M in d)
|
|
202
|
-
M !== "key" && (
|
|
203
|
-
} else
|
|
204
|
-
return f &&
|
|
205
|
-
|
|
203
|
+
M !== "key" && (u[M] = d[M]);
|
|
204
|
+
} else u = d;
|
|
205
|
+
return f && i(
|
|
206
|
+
u,
|
|
206
207
|
typeof r == "function" ? r.displayName || r.name || "Unknown" : r
|
|
207
208
|
), h(
|
|
208
209
|
r,
|
|
209
210
|
f,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
211
|
+
u,
|
|
212
|
+
o(),
|
|
213
|
+
R,
|
|
214
|
+
z
|
|
214
215
|
);
|
|
215
216
|
}
|
|
216
217
|
function p(r) {
|
|
217
|
-
v(r) ? r._store && (r._store.validated = 1) : typeof r == "object" && r !== null && r.$$typeof ===
|
|
218
|
+
v(r) ? r._store && (r._store.validated = 1) : typeof r == "object" && r !== null && r.$$typeof === O && (r._payload.status === "fulfilled" ? v(r._payload.value) && r._payload.value._store && (r._payload.value._store.validated = 1) : r._store && (r._store.validated = 1));
|
|
218
219
|
}
|
|
219
220
|
function v(r) {
|
|
220
221
|
return typeof r == "object" && r !== null && r.$$typeof === y;
|
|
221
222
|
}
|
|
222
|
-
var b =
|
|
223
|
+
var b = I, y = /* @__PURE__ */ Symbol.for("react.transitional.element"), C = /* @__PURE__ */ Symbol.for("react.portal"), j = /* @__PURE__ */ Symbol.for("react.fragment"), S = /* @__PURE__ */ Symbol.for("react.strict_mode"), _ = /* @__PURE__ */ Symbol.for("react.profiler"), W = /* @__PURE__ */ Symbol.for("react.consumer"), A = /* @__PURE__ */ Symbol.for("react.context"), D = /* @__PURE__ */ Symbol.for("react.forward_ref"), X = /* @__PURE__ */ Symbol.for("react.suspense"), K = /* @__PURE__ */ Symbol.for("react.suspense_list"), Q = /* @__PURE__ */ Symbol.for("react.memo"), O = /* @__PURE__ */ Symbol.for("react.lazy"), ee = /* @__PURE__ */ Symbol.for("react.activity"), re = /* @__PURE__ */ Symbol.for("react.client.reference"), L = b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, B = Object.prototype.hasOwnProperty, te = Array.isArray, P = console.createTask ? console.createTask : function() {
|
|
223
224
|
return null;
|
|
224
225
|
};
|
|
225
226
|
b = {
|
|
@@ -227,48 +228,48 @@ React keys must be passed directly to JSX without using spread:
|
|
|
227
228
|
return r();
|
|
228
229
|
}
|
|
229
230
|
};
|
|
230
|
-
var
|
|
231
|
+
var Y, F = {}, U = b.react_stack_bottom_frame.bind(
|
|
231
232
|
b,
|
|
232
233
|
n
|
|
233
|
-
)(),
|
|
234
|
-
|
|
235
|
-
var m = 1e4 >
|
|
234
|
+
)(), V = P(t(n)), G = {};
|
|
235
|
+
E.Fragment = j, E.jsx = function(r, d, u) {
|
|
236
|
+
var m = 1e4 > L.recentlyCreatedOwnerStacks++;
|
|
236
237
|
return g(
|
|
237
238
|
r,
|
|
238
239
|
d,
|
|
239
|
-
|
|
240
|
+
u,
|
|
240
241
|
!1,
|
|
241
|
-
m ? Error("react-stack-top-frame") :
|
|
242
|
-
m ? P(t(r)) :
|
|
242
|
+
m ? Error("react-stack-top-frame") : U,
|
|
243
|
+
m ? P(t(r)) : V
|
|
243
244
|
);
|
|
244
|
-
},
|
|
245
|
-
var m = 1e4 >
|
|
245
|
+
}, E.jsxs = function(r, d, u) {
|
|
246
|
+
var m = 1e4 > L.recentlyCreatedOwnerStacks++;
|
|
246
247
|
return g(
|
|
247
248
|
r,
|
|
248
249
|
d,
|
|
249
|
-
|
|
250
|
+
u,
|
|
250
251
|
!0,
|
|
251
|
-
m ? Error("react-stack-top-frame") :
|
|
252
|
-
m ? P(t(r)) :
|
|
252
|
+
m ? Error("react-stack-top-frame") : U,
|
|
253
|
+
m ? P(t(r)) : V
|
|
253
254
|
);
|
|
254
255
|
};
|
|
255
|
-
})()),
|
|
256
|
+
})()), E;
|
|
256
257
|
}
|
|
257
|
-
var
|
|
258
|
-
function
|
|
259
|
-
return
|
|
258
|
+
var q;
|
|
259
|
+
function le() {
|
|
260
|
+
return q || (q = 1, process.env.NODE_ENV === "production" ? T.exports = oe() : T.exports = ae()), T.exports;
|
|
260
261
|
}
|
|
261
|
-
var e =
|
|
262
|
-
const
|
|
262
|
+
var e = le();
|
|
263
|
+
const N = ({
|
|
263
264
|
variant: s = "primary",
|
|
264
|
-
size:
|
|
265
|
-
rounded:
|
|
265
|
+
size: a = "md",
|
|
266
|
+
rounded: l = "full",
|
|
266
267
|
isLoading: t = !1,
|
|
267
|
-
fullWidth:
|
|
268
|
+
fullWidth: o = !1,
|
|
268
269
|
leftIcon: n,
|
|
269
|
-
rightIcon:
|
|
270
|
-
className:
|
|
271
|
-
children:
|
|
270
|
+
rightIcon: c,
|
|
271
|
+
className: i = "",
|
|
272
|
+
children: x,
|
|
272
273
|
disabled: h,
|
|
273
274
|
gradient: g,
|
|
274
275
|
...p
|
|
@@ -291,17 +292,17 @@ const k = ({
|
|
|
291
292
|
md: "px-6 py-2.5 text-sm gap-2 min-w-[100px]",
|
|
292
293
|
lg: "px-8 py-3.5 text-lg gap-2 min-w-[120px]",
|
|
293
294
|
icon: "w-10 h-10 p-0 min-w-0"
|
|
294
|
-
},
|
|
295
|
+
}, C = {
|
|
295
296
|
none: "rounded-none",
|
|
296
297
|
sm: "rounded-sm",
|
|
297
298
|
md: "rounded-md",
|
|
298
299
|
lg: "rounded-lg",
|
|
299
300
|
full: "rounded-full"
|
|
300
|
-
}, j =
|
|
301
|
+
}, j = o ? "w-full" : "";
|
|
301
302
|
return /* @__PURE__ */ e.jsxs(
|
|
302
303
|
"button",
|
|
303
304
|
{
|
|
304
|
-
className: `${v} ${b[s]} ${y[
|
|
305
|
+
className: `${v} ${b[s]} ${y[a]} ${C[l]} ${j} ${i}`,
|
|
305
306
|
disabled: h || t,
|
|
306
307
|
...p,
|
|
307
308
|
children: [
|
|
@@ -310,21 +311,21 @@ const k = ({
|
|
|
310
311
|
/* @__PURE__ */ 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" })
|
|
311
312
|
] }),
|
|
312
313
|
!t && n && /* @__PURE__ */ e.jsx("span", { className: "shrink-0", children: n }),
|
|
313
|
-
/* @__PURE__ */ e.jsx("span", { className: "truncate", children: t ? "Loading..." :
|
|
314
|
-
!t &&
|
|
314
|
+
/* @__PURE__ */ e.jsx("span", { className: "truncate", children: t ? "Loading..." : x }),
|
|
315
|
+
!t && c && /* @__PURE__ */ e.jsx("span", { className: "shrink-0", children: c })
|
|
315
316
|
]
|
|
316
317
|
}
|
|
317
318
|
);
|
|
318
|
-
},
|
|
319
|
+
}, ie = I.forwardRef(({
|
|
319
320
|
label: s,
|
|
320
|
-
error:
|
|
321
|
-
leftIcon:
|
|
321
|
+
error: a,
|
|
322
|
+
leftIcon: l,
|
|
322
323
|
rightIcon: t,
|
|
323
|
-
variant:
|
|
324
|
+
variant: o = "default",
|
|
324
325
|
rounded: n = "lg",
|
|
325
|
-
className:
|
|
326
|
-
...
|
|
327
|
-
},
|
|
326
|
+
className: c = "",
|
|
327
|
+
...i
|
|
328
|
+
}, x) => {
|
|
328
329
|
const h = {
|
|
329
330
|
default: "bg-white border-gray-300 text-gray-900 focus:ring-blue-500",
|
|
330
331
|
glass: "bg-black/30 border-gray-600 text-white placeholder-gray-400 focus:ring-pink-500 focus:border-pink-500",
|
|
@@ -337,72 +338,72 @@ const k = ({
|
|
|
337
338
|
full: "rounded-full"
|
|
338
339
|
};
|
|
339
340
|
return /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-1.5 w-full", children: [
|
|
340
|
-
s && /* @__PURE__ */ e.jsx("label", { className: `text-sm font-medium ${
|
|
341
|
+
s && /* @__PURE__ */ e.jsx("label", { className: `text-sm font-medium ${o === "default" ? "text-gray-700" : "text-gray-300"}`, children: s }),
|
|
341
342
|
/* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
|
|
342
|
-
|
|
343
|
+
l && /* @__PURE__ */ e.jsx("div", { className: "absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-gray-400", children: l }),
|
|
343
344
|
/* @__PURE__ */ e.jsx(
|
|
344
345
|
"input",
|
|
345
346
|
{
|
|
346
|
-
ref:
|
|
347
|
+
ref: x,
|
|
347
348
|
className: `
|
|
348
349
|
w-full
|
|
349
|
-
${
|
|
350
|
+
${l ? "pl-10" : "px-3"}
|
|
350
351
|
${t ? "pr-10" : "px-3"}
|
|
351
352
|
py-3
|
|
352
353
|
border
|
|
353
|
-
${
|
|
354
|
+
${a ? "border-red-500" : ""}
|
|
354
355
|
${g[n]}
|
|
355
356
|
shadow-sm
|
|
356
357
|
focus:outline-none
|
|
357
358
|
focus:ring-2
|
|
358
|
-
${
|
|
359
|
+
${a ? "focus:ring-red-500" : ""}
|
|
359
360
|
focus:border-transparent
|
|
360
361
|
transition-all
|
|
361
362
|
duration-200
|
|
362
|
-
${h[
|
|
363
|
-
${
|
|
363
|
+
${h[o]}
|
|
364
|
+
${c}
|
|
364
365
|
`,
|
|
365
|
-
...
|
|
366
|
+
...i
|
|
366
367
|
}
|
|
367
368
|
),
|
|
368
369
|
t && /* @__PURE__ */ e.jsx("div", { className: "absolute inset-y-0 right-0 pr-3 flex items-center text-gray-400", children: t })
|
|
369
370
|
] }),
|
|
370
|
-
|
|
371
|
+
a && /* @__PURE__ */ e.jsx("span", { className: "text-xs text-red-500", children: a })
|
|
371
372
|
] });
|
|
372
373
|
});
|
|
373
|
-
|
|
374
|
-
const
|
|
374
|
+
ie.displayName = "Input";
|
|
375
|
+
const he = ({
|
|
375
376
|
title: s,
|
|
376
|
-
subtitle:
|
|
377
|
-
children:
|
|
377
|
+
subtitle: a,
|
|
378
|
+
children: l,
|
|
378
379
|
footer: t,
|
|
379
|
-
className:
|
|
380
|
+
className: o = "",
|
|
380
381
|
variant: n = "default",
|
|
381
|
-
noPadding:
|
|
382
|
+
noPadding: c = !1
|
|
382
383
|
}) => {
|
|
383
|
-
const
|
|
384
|
+
const i = {
|
|
384
385
|
default: "bg-white border-gray-200 shadow-sm",
|
|
385
386
|
glass: "bg-black/40 backdrop-blur-lg border-gray-800 shadow-lg",
|
|
386
387
|
transparent: "bg-transparent border-none shadow-none"
|
|
387
388
|
};
|
|
388
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `rounded-xl border overflow-hidden transition-all duration-300 ${
|
|
389
|
-
(s ||
|
|
389
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `rounded-xl border overflow-hidden transition-all duration-300 ${i[n]} ${o}`, children: [
|
|
390
|
+
(s || a) && /* @__PURE__ */ e.jsxs("div", { className: `px-6 py-4 border-b ${n === "glass" ? "border-gray-800" : "border-gray-100"}`, children: [
|
|
390
391
|
s && /* @__PURE__ */ e.jsx("h3", { className: `text-lg font-semibold ${n === "glass" ? "text-white" : "text-gray-900"}`, children: s }),
|
|
391
|
-
|
|
392
|
+
a && /* @__PURE__ */ e.jsx("p", { className: `text-sm mt-1 ${n === "glass" ? "text-gray-400" : "text-gray-500"}`, children: a })
|
|
392
393
|
] }),
|
|
393
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
394
|
+
/* @__PURE__ */ e.jsx("div", { className: c ? "" : "px-6 py-4", children: l }),
|
|
394
395
|
t && /* @__PURE__ */ 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: t })
|
|
395
396
|
] });
|
|
396
|
-
},
|
|
397
|
+
}, me = ({
|
|
397
398
|
username: s,
|
|
398
|
-
profilePic:
|
|
399
|
-
postImage:
|
|
399
|
+
profilePic: a,
|
|
400
|
+
postImage: l,
|
|
400
401
|
likesCount: t,
|
|
401
|
-
caption:
|
|
402
|
+
caption: o,
|
|
402
403
|
location: n,
|
|
403
|
-
isLiked:
|
|
404
|
-
isBookmarked:
|
|
405
|
-
onLike:
|
|
404
|
+
isLiked: c = !1,
|
|
405
|
+
isBookmarked: i = !1,
|
|
406
|
+
onLike: x,
|
|
406
407
|
onComment: h,
|
|
407
408
|
onShare: g,
|
|
408
409
|
onBookmark: p
|
|
@@ -411,13 +412,13 @@ const ue = ({
|
|
|
411
412
|
/* @__PURE__ */ e.jsx(
|
|
412
413
|
"img",
|
|
413
414
|
{
|
|
414
|
-
src:
|
|
415
|
+
src: l,
|
|
415
416
|
alt: "Post content",
|
|
416
417
|
className: "w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"
|
|
417
418
|
}
|
|
418
419
|
),
|
|
419
420
|
/* @__PURE__ */ e.jsx("div", { className: "absolute top-4 right-4 opacity-0 group-hover:opacity-100 transition-opacity", children: /* @__PURE__ */ e.jsx(
|
|
420
|
-
|
|
421
|
+
N,
|
|
421
422
|
{
|
|
422
423
|
variant: "ghost",
|
|
423
424
|
size: "icon",
|
|
@@ -437,7 +438,7 @@ const ue = ({
|
|
|
437
438
|
/* @__PURE__ */ e.jsx("div", { className: "relative", children: /* @__PURE__ */ e.jsx(
|
|
438
439
|
"img",
|
|
439
440
|
{
|
|
440
|
-
src:
|
|
441
|
+
src: a,
|
|
441
442
|
alt: s,
|
|
442
443
|
className: "w-10 h-10 rounded-full object-cover ring-2 ring-offset-2 ring-indigo-500"
|
|
443
444
|
}
|
|
@@ -449,18 +450,18 @@ const ue = ({
|
|
|
449
450
|
] }),
|
|
450
451
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
451
452
|
/* @__PURE__ */ e.jsx(
|
|
452
|
-
|
|
453
|
+
N,
|
|
453
454
|
{
|
|
454
455
|
variant: "ghost",
|
|
455
456
|
size: "icon",
|
|
456
457
|
rounded: "full",
|
|
457
|
-
onClick:
|
|
458
|
-
className: `transition-colors ${
|
|
459
|
-
children:
|
|
458
|
+
onClick: x,
|
|
459
|
+
className: `transition-colors ${c ? "text-rose-500 hover:bg-rose-50" : "text-gray-400 hover:text-rose-500"}`,
|
|
460
|
+
children: c ? /* @__PURE__ */ e.jsx("svg", { "aria-label": "Unlike", fill: "currentColor", height: "26", role: "img", viewBox: "0 0 48 48", width: "26", children: /* @__PURE__ */ 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" }) }) : /* @__PURE__ */ e.jsx("svg", { "aria-label": "Like", fill: "currentColor", height: "26", role: "img", viewBox: "0 0 24 24", width: "26", children: /* @__PURE__ */ 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" }) })
|
|
460
461
|
}
|
|
461
462
|
),
|
|
462
463
|
/* @__PURE__ */ e.jsx(
|
|
463
|
-
|
|
464
|
+
N,
|
|
464
465
|
{
|
|
465
466
|
variant: "ghost",
|
|
466
467
|
size: "icon",
|
|
@@ -471,7 +472,7 @@ const ue = ({
|
|
|
471
472
|
}
|
|
472
473
|
),
|
|
473
474
|
/* @__PURE__ */ e.jsx(
|
|
474
|
-
|
|
475
|
+
N,
|
|
475
476
|
{
|
|
476
477
|
variant: "ghost",
|
|
477
478
|
size: "icon",
|
|
@@ -487,21 +488,21 @@ const ue = ({
|
|
|
487
488
|
] })
|
|
488
489
|
] }),
|
|
489
490
|
/* @__PURE__ */ e.jsxs("div", { className: "space-y-3", children: [
|
|
490
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-gray-800 text-sm leading-relaxed", children:
|
|
491
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-gray-800 text-sm leading-relaxed", children: o }),
|
|
491
492
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between pt-2 border-t border-gray-50", children: [
|
|
492
493
|
/* @__PURE__ */ e.jsxs("span", { className: "font-semibold text-xs text-gray-500", children: [
|
|
493
494
|
t.toLocaleString(),
|
|
494
495
|
" Likes"
|
|
495
496
|
] }),
|
|
496
497
|
/* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-3", children: /* @__PURE__ */ e.jsx(
|
|
497
|
-
|
|
498
|
+
N,
|
|
498
499
|
{
|
|
499
500
|
variant: "ghost",
|
|
500
501
|
size: "icon",
|
|
501
502
|
rounded: "full",
|
|
502
503
|
onClick: p,
|
|
503
|
-
className: `transition-colors ${
|
|
504
|
-
children:
|
|
504
|
+
className: `transition-colors ${i ? "text-gray-900" : "text-gray-400 hover:text-gray-900"}`,
|
|
505
|
+
children: i ? /* @__PURE__ */ e.jsx("svg", { "aria-label": "Remove", fill: "currentColor", height: "22", role: "img", viewBox: "0 0 24 24", width: "22", children: /* @__PURE__ */ 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" }) }) : /* @__PURE__ */ e.jsx("svg", { "aria-label": "Save", fill: "currentColor", height: "22", role: "img", viewBox: "0 0 24 24", width: "22", children: /* @__PURE__ */ 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" }) })
|
|
505
506
|
}
|
|
506
507
|
) })
|
|
507
508
|
] }),
|
|
@@ -514,35 +515,35 @@ const ue = ({
|
|
|
514
515
|
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"
|
|
515
516
|
}
|
|
516
517
|
),
|
|
517
|
-
/* @__PURE__ */ e.jsx("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ e.jsx(
|
|
518
|
+
/* @__PURE__ */ e.jsx("div", { className: "absolute right-2 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ e.jsx(N, { 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" }) })
|
|
518
519
|
] })
|
|
519
520
|
] })
|
|
520
521
|
] })
|
|
521
|
-
] }),
|
|
522
|
+
] }), fe = ({
|
|
522
523
|
variant: s = "spinner",
|
|
523
|
-
size:
|
|
524
|
-
className:
|
|
524
|
+
size: a = "md",
|
|
525
|
+
className: l = "",
|
|
525
526
|
color: t,
|
|
526
|
-
colors:
|
|
527
|
+
colors: o
|
|
527
528
|
}) => {
|
|
528
529
|
const n = {
|
|
529
530
|
sm: "w-4 h-4",
|
|
530
531
|
md: "w-8 h-8",
|
|
531
532
|
lg: "w-12 h-12",
|
|
532
533
|
xl: "w-16 h-16"
|
|
533
|
-
},
|
|
534
|
+
}, c = {
|
|
534
535
|
sm: "w-1 h-1",
|
|
535
536
|
md: "w-2 h-2",
|
|
536
537
|
lg: "w-3 h-3",
|
|
537
538
|
xl: "w-4 h-4"
|
|
538
|
-
},
|
|
539
|
+
}, i = n[a], x = "bg-gradient-to-tr from-yellow-400 via-red-500 to-purple-600";
|
|
539
540
|
if (s === "dots") {
|
|
540
|
-
const h = a
|
|
541
|
+
const h = c[a], g = !!t || !!o?.length, p = (b) => {
|
|
541
542
|
if (!g) return {};
|
|
542
|
-
const y =
|
|
543
|
+
const y = o?.[b] || t;
|
|
543
544
|
return y ? { backgroundColor: y } : {};
|
|
544
|
-
}, v = () => g ? "" :
|
|
545
|
-
return /* @__PURE__ */ e.jsx("div", { className: `flex items-center justify-center gap-1 ${
|
|
545
|
+
}, v = () => g ? "" : x;
|
|
546
|
+
return /* @__PURE__ */ e.jsx("div", { className: `flex items-center justify-center gap-1 ${l}`, children: [0, 1, 2].map((b) => /* @__PURE__ */ e.jsx(
|
|
546
547
|
"div",
|
|
547
548
|
{
|
|
548
549
|
className: `${h} rounded-full animate-bounce ${v()}`,
|
|
@@ -555,8 +556,8 @@ const ue = ({
|
|
|
555
556
|
)) });
|
|
556
557
|
}
|
|
557
558
|
if (s === "pulse") {
|
|
558
|
-
const h = t ? "" :
|
|
559
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `relative flex items-center justify-center ${
|
|
559
|
+
const h = t ? "" : x;
|
|
560
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `relative flex items-center justify-center ${i} ${l}`, children: [
|
|
560
561
|
/* @__PURE__ */ e.jsx(
|
|
561
562
|
"span",
|
|
562
563
|
{
|
|
@@ -573,7 +574,7 @@ const ue = ({
|
|
|
573
574
|
)
|
|
574
575
|
] });
|
|
575
576
|
}
|
|
576
|
-
return s === "multicolor" ? /* @__PURE__ */ e.jsx("div", { className: `${
|
|
577
|
+
return s === "multicolor" ? /* @__PURE__ */ e.jsx("div", { className: `${i} relative ${l}`, children: /* @__PURE__ */ e.jsx("div", { className: `absolute inset-0 rounded-full ${x} animate-spin`, children: /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[3px] bg-white rounded-full" }) }) }) : s === "orbit" ? t ? /* @__PURE__ */ e.jsxs("div", { className: `relative ${i} ${l}`, children: [
|
|
577
578
|
/* @__PURE__ */ e.jsx(
|
|
578
579
|
"div",
|
|
579
580
|
{
|
|
@@ -588,18 +589,18 @@ const ue = ({
|
|
|
588
589
|
style: { borderColor: t, borderLeftColor: "transparent", borderRightColor: "transparent", animationDirection: "reverse", animationDuration: "1.5s" }
|
|
589
590
|
}
|
|
590
591
|
)
|
|
591
|
-
] }) : /* @__PURE__ */ e.jsxs("div", { className: `relative ${
|
|
592
|
-
/* @__PURE__ */ e.jsx("div", { className: `absolute inset-0 rounded-full ${
|
|
593
|
-
/* @__PURE__ */ e.jsx("div", { className: `absolute inset-1 rounded-full ${
|
|
592
|
+
] }) : /* @__PURE__ */ e.jsxs("div", { className: `relative ${i} ${l}`, children: [
|
|
593
|
+
/* @__PURE__ */ e.jsx("div", { className: `absolute inset-0 rounded-full ${x} animate-spin`, children: /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[2px] bg-white rounded-full" }) }),
|
|
594
|
+
/* @__PURE__ */ e.jsx("div", { className: `absolute inset-1 rounded-full ${x} animate-spin-reverse opacity-75`, style: { animationDirection: "reverse", animationDuration: "1.5s" }, children: /* @__PURE__ */ e.jsx("div", { className: "absolute inset-[2px] bg-white rounded-full" }) })
|
|
594
595
|
] }) : null;
|
|
595
|
-
},
|
|
596
|
+
}, ge = ({
|
|
596
597
|
variant: s = "info",
|
|
597
|
-
title:
|
|
598
|
-
children:
|
|
598
|
+
title: a,
|
|
599
|
+
children: l,
|
|
599
600
|
onClose: t,
|
|
600
|
-
className:
|
|
601
|
+
className: o = ""
|
|
601
602
|
}) => {
|
|
602
|
-
const
|
|
603
|
+
const c = {
|
|
603
604
|
success: {
|
|
604
605
|
container: "bg-green-50 text-green-900 border-green-200",
|
|
605
606
|
iconColor: "text-green-600",
|
|
@@ -624,23 +625,23 @@ const ue = ({
|
|
|
624
625
|
closeHover: "hover:bg-blue-100 text-blue-600",
|
|
625
626
|
Icon: () => /* @__PURE__ */ e.jsx("svg", { className: "w-5 h-5", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ 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" }) })
|
|
626
627
|
}
|
|
627
|
-
}[s],
|
|
628
|
+
}[s], i = c.Icon;
|
|
628
629
|
return /* @__PURE__ */ e.jsxs(
|
|
629
630
|
"div",
|
|
630
631
|
{
|
|
631
632
|
role: "alert",
|
|
632
|
-
className: `flex p-4 rounded-lg border ${
|
|
633
|
+
className: `flex p-4 rounded-lg border ${c.container} ${o}`,
|
|
633
634
|
children: [
|
|
634
|
-
/* @__PURE__ */ e.jsx("div", { className: `shrink-0 ${
|
|
635
|
+
/* @__PURE__ */ e.jsx("div", { className: `shrink-0 ${c.iconColor}`, children: /* @__PURE__ */ e.jsx(i, {}) }),
|
|
635
636
|
/* @__PURE__ */ e.jsxs("div", { className: "ml-3 text-sm flex-1", children: [
|
|
636
|
-
|
|
637
|
-
/* @__PURE__ */ e.jsx("div", { className: "leading-relaxed", children:
|
|
637
|
+
a && /* @__PURE__ */ e.jsx("span", { className: "font-semibold block mb-1", children: a }),
|
|
638
|
+
/* @__PURE__ */ e.jsx("div", { className: "leading-relaxed", children: l })
|
|
638
639
|
] }),
|
|
639
640
|
t && /* @__PURE__ */ e.jsx(
|
|
640
641
|
"button",
|
|
641
642
|
{
|
|
642
643
|
onClick: t,
|
|
643
|
-
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 ${
|
|
644
|
+
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 ${c.closeHover}`,
|
|
644
645
|
"aria-label": "Close",
|
|
645
646
|
children: /* @__PURE__ */ e.jsx("svg", { className: "w-4 h-4", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ e.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) })
|
|
646
647
|
}
|
|
@@ -648,12 +649,12 @@ const ue = ({
|
|
|
648
649
|
]
|
|
649
650
|
}
|
|
650
651
|
);
|
|
651
|
-
},
|
|
652
|
+
}, ce = ({
|
|
652
653
|
children: s,
|
|
653
|
-
colSpan:
|
|
654
|
-
rowSpan:
|
|
654
|
+
colSpan: a,
|
|
655
|
+
rowSpan: l,
|
|
655
656
|
colStart: t,
|
|
656
|
-
className:
|
|
657
|
+
className: o = ""
|
|
657
658
|
}) => {
|
|
658
659
|
const n = {
|
|
659
660
|
1: "col-span-1",
|
|
@@ -669,30 +670,30 @@ const ue = ({
|
|
|
669
670
|
11: "col-span-11",
|
|
670
671
|
12: "col-span-12",
|
|
671
672
|
full: "col-span-full"
|
|
672
|
-
},
|
|
673
|
+
}, c = {
|
|
673
674
|
1: "row-span-1",
|
|
674
675
|
2: "row-span-2",
|
|
675
676
|
3: "row-span-3",
|
|
676
677
|
4: "row-span-4",
|
|
677
678
|
5: "row-span-5",
|
|
678
679
|
6: "row-span-6"
|
|
679
|
-
},
|
|
680
|
-
|
|
681
|
-
|
|
680
|
+
}, i = [
|
|
681
|
+
a ? n[a] : "",
|
|
682
|
+
l ? c[l] : "",
|
|
682
683
|
t ? `col-start-${t}` : "",
|
|
683
|
-
|
|
684
|
+
o
|
|
684
685
|
].filter(Boolean).join(" ");
|
|
685
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
686
|
-
},
|
|
686
|
+
return /* @__PURE__ */ e.jsx("div", { className: i, children: s });
|
|
687
|
+
}, de = ({
|
|
687
688
|
children: s,
|
|
688
|
-
cols:
|
|
689
|
-
gap:
|
|
689
|
+
cols: a = 1,
|
|
690
|
+
gap: l = 4,
|
|
690
691
|
gapX: t,
|
|
691
|
-
gapY:
|
|
692
|
+
gapY: o,
|
|
692
693
|
flow: n = "row",
|
|
693
|
-
align:
|
|
694
|
-
justify:
|
|
695
|
-
className:
|
|
694
|
+
align: c,
|
|
695
|
+
justify: i,
|
|
696
|
+
className: x = ""
|
|
696
697
|
}) => {
|
|
697
698
|
const h = {
|
|
698
699
|
1: "grid-cols-1",
|
|
@@ -717,31 +718,31 @@ const ue = ({
|
|
|
717
718
|
12: "gap-12"
|
|
718
719
|
}, p = [
|
|
719
720
|
"grid",
|
|
720
|
-
h[
|
|
721
|
-
t === void 0 &&
|
|
721
|
+
h[a],
|
|
722
|
+
t === void 0 && o === void 0 ? g[l] : "",
|
|
722
723
|
// Use standard gap if no X/Y overrides
|
|
723
724
|
t ? `gap-x-${t}` : "",
|
|
724
|
-
|
|
725
|
+
o ? `gap-y-${o}` : "",
|
|
725
726
|
n ? `grid-flow-${n}` : "",
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
727
|
+
c ? `items-${c}` : "",
|
|
728
|
+
i ? `justify-${i}` : "",
|
|
729
|
+
x
|
|
729
730
|
].filter(Boolean).join(" ");
|
|
730
731
|
return /* @__PURE__ */ e.jsx("div", { className: p, children: s });
|
|
731
732
|
};
|
|
732
|
-
|
|
733
|
-
const
|
|
733
|
+
de.Item = ce;
|
|
734
|
+
const k = ({
|
|
734
735
|
variant: s = "body1",
|
|
735
|
-
component:
|
|
736
|
-
children:
|
|
736
|
+
component: a,
|
|
737
|
+
children: l,
|
|
737
738
|
weight: t,
|
|
738
|
-
align:
|
|
739
|
+
align: o = "left",
|
|
739
740
|
color: n,
|
|
740
|
-
className:
|
|
741
|
-
noWrap:
|
|
742
|
-
gradient:
|
|
741
|
+
className: c = "",
|
|
742
|
+
noWrap: i = !1,
|
|
743
|
+
gradient: x
|
|
743
744
|
}) => {
|
|
744
|
-
const g =
|
|
745
|
+
const g = a || {
|
|
745
746
|
h1: "h1",
|
|
746
747
|
h2: "h2",
|
|
747
748
|
h3: "h3",
|
|
@@ -785,35 +786,35 @@ const fe = ({
|
|
|
785
786
|
center: "text-center",
|
|
786
787
|
right: "text-right",
|
|
787
788
|
justify: "text-justify"
|
|
788
|
-
},
|
|
789
|
+
}, C = p[s], j = t ? b[t] : v[s], S = y[o];
|
|
789
790
|
let _ = n || (s === "caption" ? "text-gray-500" : "text-gray-900");
|
|
790
|
-
|
|
791
|
-
const
|
|
792
|
-
|
|
791
|
+
x && (_ = `${typeof x == "string" ? x : "bg-gradient-to-r from-pink-500 via-red-500 to-yellow-500"} text-transparent bg-clip-text`);
|
|
792
|
+
const A = [
|
|
793
|
+
C,
|
|
793
794
|
j,
|
|
794
|
-
|
|
795
|
+
S,
|
|
795
796
|
_,
|
|
796
|
-
|
|
797
|
-
|
|
797
|
+
i ? "truncate" : "",
|
|
798
|
+
c
|
|
798
799
|
].filter(Boolean).join(" ");
|
|
799
|
-
return /* @__PURE__ */ e.jsx(g, { className:
|
|
800
|
-
},
|
|
800
|
+
return /* @__PURE__ */ e.jsx(g, { className: A, children: l });
|
|
801
|
+
}, xe = I.forwardRef(({
|
|
801
802
|
as: s,
|
|
802
|
-
className:
|
|
803
|
-
children:
|
|
803
|
+
className: a = "",
|
|
804
|
+
children: l,
|
|
804
805
|
center: t,
|
|
805
|
-
fullScreen:
|
|
806
|
+
fullScreen: o,
|
|
806
807
|
bgImage: n,
|
|
807
|
-
overlay:
|
|
808
|
-
glass:
|
|
809
|
-
style:
|
|
808
|
+
overlay: c,
|
|
809
|
+
glass: i,
|
|
810
|
+
style: x,
|
|
810
811
|
...h
|
|
811
812
|
}, g) => {
|
|
812
813
|
const p = s || "div", v = [
|
|
813
814
|
t ? "flex items-center justify-center" : "",
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
815
|
+
o ? "min-h-screen w-full" : "",
|
|
816
|
+
i ? "backdrop-blur-lg bg-black/40" : "",
|
|
817
|
+
a
|
|
817
818
|
].filter(Boolean).join(" "), b = {
|
|
818
819
|
...n ? {
|
|
819
820
|
backgroundImage: `url(${n})`,
|
|
@@ -821,30 +822,30 @@ const fe = ({
|
|
|
821
822
|
backgroundPosition: "center",
|
|
822
823
|
backgroundRepeat: "no-repeat"
|
|
823
824
|
} : {},
|
|
824
|
-
...
|
|
825
|
+
...x
|
|
825
826
|
};
|
|
826
827
|
return /* @__PURE__ */ e.jsxs(p, { ref: g, className: `relative ${v}`, style: b, ...h, children: [
|
|
827
|
-
|
|
828
|
+
c && /* @__PURE__ */ e.jsx(
|
|
828
829
|
"div",
|
|
829
830
|
{
|
|
830
|
-
className: `absolute inset-0 z-0 ${typeof
|
|
831
|
-
style: typeof
|
|
831
|
+
className: `absolute inset-0 z-0 ${typeof c == "string" ? "" : "bg-black/70"}`,
|
|
832
|
+
style: typeof c == "string" ? { backgroundColor: c } : {}
|
|
832
833
|
}
|
|
833
834
|
),
|
|
834
|
-
/* @__PURE__ */ e.jsx("div", { className: "relative z-10 w-full h-full flex flex-col items-center justify-center", children:
|
|
835
|
+
/* @__PURE__ */ e.jsx("div", { className: "relative z-10 w-full h-full flex flex-col items-center justify-center", children: l })
|
|
835
836
|
] });
|
|
836
837
|
});
|
|
837
|
-
|
|
838
|
-
const
|
|
838
|
+
xe.displayName = "Box";
|
|
839
|
+
const be = ({
|
|
839
840
|
label: s,
|
|
840
|
-
error:
|
|
841
|
-
autoResize:
|
|
841
|
+
error: a,
|
|
842
|
+
autoResize: l,
|
|
842
843
|
className: t = "",
|
|
843
|
-
rows:
|
|
844
|
+
rows: o = 4,
|
|
844
845
|
...n
|
|
845
846
|
}) => {
|
|
846
|
-
const
|
|
847
|
-
|
|
847
|
+
const c = (i) => {
|
|
848
|
+
l && (i.target.style.height = "auto", i.target.style.height = `${i.target.scrollHeight}px`), n.onChange?.(i);
|
|
848
849
|
};
|
|
849
850
|
return /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-1.5 w-full", children: [
|
|
850
851
|
s && /* @__PURE__ */ e.jsx("label", { className: "text-sm font-medium text-gray-700", children: s }),
|
|
@@ -857,12 +858,12 @@ const ge = ({
|
|
|
857
858
|
py-2
|
|
858
859
|
bg-white
|
|
859
860
|
border
|
|
860
|
-
${
|
|
861
|
+
${a ? "border-red-500" : "border-gray-300"}
|
|
861
862
|
rounded-md
|
|
862
863
|
shadow-sm
|
|
863
864
|
focus:outline-none
|
|
864
865
|
focus:ring-2
|
|
865
|
-
${
|
|
866
|
+
${a ? "focus:ring-red-500" : "focus:ring-blue-500"}
|
|
866
867
|
focus:border-transparent
|
|
867
868
|
transition-all
|
|
868
869
|
duration-200
|
|
@@ -871,36 +872,36 @@ const ge = ({
|
|
|
871
872
|
resize-y
|
|
872
873
|
${t}
|
|
873
874
|
`,
|
|
874
|
-
rows:
|
|
875
|
-
onInput:
|
|
875
|
+
rows: o,
|
|
876
|
+
onInput: c,
|
|
876
877
|
...n
|
|
877
878
|
}
|
|
878
879
|
),
|
|
879
|
-
|
|
880
|
+
a && /* @__PURE__ */ e.jsx("span", { className: "text-xs text-red-500", children: a })
|
|
880
881
|
] });
|
|
881
|
-
},
|
|
882
|
+
}, pe = ({
|
|
882
883
|
sidebar: s,
|
|
883
|
-
header:
|
|
884
|
-
children:
|
|
884
|
+
header: a,
|
|
885
|
+
children: l,
|
|
885
886
|
footer: t,
|
|
886
|
-
sidebarWidth:
|
|
887
|
+
sidebarWidth: o = "260px",
|
|
887
888
|
className: n = ""
|
|
888
889
|
}) => {
|
|
889
|
-
const [
|
|
890
|
+
const [c, i] = ne(!1);
|
|
890
891
|
return /* @__PURE__ */ e.jsxs("div", { className: `flex h-screen bg-gray-50 overflow-hidden ${n}`, children: [
|
|
891
892
|
s && /* @__PURE__ */ e.jsx(
|
|
892
893
|
"div",
|
|
893
894
|
{
|
|
894
895
|
className: "hidden md:flex flex-col h-full bg-white border-r border-gray-200",
|
|
895
|
-
style: { width:
|
|
896
|
+
style: { width: o },
|
|
896
897
|
children: s
|
|
897
898
|
}
|
|
898
899
|
),
|
|
899
|
-
s &&
|
|
900
|
+
s && c && /* @__PURE__ */ e.jsx(
|
|
900
901
|
"div",
|
|
901
902
|
{
|
|
902
903
|
className: "fixed inset-0 z-40 bg-black/50 md:hidden",
|
|
903
|
-
onClick: () =>
|
|
904
|
+
onClick: () => i(!1)
|
|
904
905
|
}
|
|
905
906
|
),
|
|
906
907
|
s && /* @__PURE__ */ e.jsx(
|
|
@@ -908,7 +909,7 @@ const ge = ({
|
|
|
908
909
|
{
|
|
909
910
|
className: `
|
|
910
911
|
fixed inset-y-0 left-0 z-50 w-64 bg-white shadow-xl transition-transform duration-300 md:hidden
|
|
911
|
-
${
|
|
912
|
+
${c ? "translate-x-0" : "-translate-x-full"}
|
|
912
913
|
`,
|
|
913
914
|
children: s
|
|
914
915
|
}
|
|
@@ -919,22 +920,22 @@ const ge = ({
|
|
|
919
920
|
"button",
|
|
920
921
|
{
|
|
921
922
|
className: "mr-4 p-2 md:hidden text-gray-500 hover:bg-gray-100 rounded-md",
|
|
922
|
-
onClick: () =>
|
|
923
|
+
onClick: () => i(!0),
|
|
923
924
|
children: /* @__PURE__ */ e.jsx("svg", { className: "h-6 w-6", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ e.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M4 6h16M4 12h16m-7 6h7" }) })
|
|
924
925
|
}
|
|
925
926
|
),
|
|
926
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex-1 flex items-center justify-between", children:
|
|
927
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex-1 flex items-center justify-between", children: a || /* @__PURE__ */ e.jsx("div", { className: "font-bold text-xl text-indigo-600", children: "OrbitUI" }) })
|
|
927
928
|
] }),
|
|
928
|
-
/* @__PURE__ */ e.jsx("main", { className: "flex-1 overflow-y-auto p-4 md:p-6 lg:p-8", children:
|
|
929
|
+
/* @__PURE__ */ e.jsx("main", { className: "flex-1 overflow-y-auto p-4 md:p-6 lg:p-8", children: l }),
|
|
929
930
|
t && /* @__PURE__ */ e.jsx("footer", { className: "h-14 border-t border-gray-200 bg-white px-4 flex items-center shrink-0", children: t })
|
|
930
931
|
] })
|
|
931
932
|
] });
|
|
932
|
-
},
|
|
933
|
+
}, ve = ({
|
|
933
934
|
sidebar: s,
|
|
934
|
-
header:
|
|
935
|
-
children:
|
|
935
|
+
header: a,
|
|
936
|
+
children: l,
|
|
936
937
|
footer: t,
|
|
937
|
-
maxWidth:
|
|
938
|
+
maxWidth: o = "935px",
|
|
938
939
|
className: n = ""
|
|
939
940
|
}) => /* @__PURE__ */ e.jsxs("div", { className: `flex flex-col md:flex-row h-screen bg-white ${n}`, children: [
|
|
940
941
|
s && /* @__PURE__ */ 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: s }),
|
|
@@ -946,30 +947,30 @@ const ge = ({
|
|
|
946
947
|
${s ? "md:ml-20 xl:ml-64" : ""}
|
|
947
948
|
`,
|
|
948
949
|
children: [
|
|
949
|
-
|
|
950
|
-
/* @__PURE__ */ e.jsx("div", { className: "mx-auto px-4 md:px-8 py-8", style: { maxWidth:
|
|
950
|
+
a && /* @__PURE__ */ e.jsx("header", { className: "sticky top-0 z-40 bg-white/80 backdrop-blur-md border-b border-gray-100 md:hidden", children: a }),
|
|
951
|
+
/* @__PURE__ */ e.jsx("div", { className: "mx-auto px-4 md:px-8 py-8", style: { maxWidth: o }, children: l })
|
|
951
952
|
]
|
|
952
953
|
}
|
|
953
954
|
),
|
|
954
955
|
t && /* @__PURE__ */ e.jsx("nav", { className: "md:hidden fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 z-50", children: t })
|
|
955
|
-
] }),
|
|
956
|
+
] }), ye = ({
|
|
956
957
|
list: s,
|
|
957
|
-
header:
|
|
958
|
-
children:
|
|
958
|
+
header: a,
|
|
959
|
+
children: l,
|
|
959
960
|
footer: t,
|
|
960
|
-
isChatActive:
|
|
961
|
+
isChatActive: o = !1,
|
|
961
962
|
onBack: n,
|
|
962
|
-
listWidth:
|
|
963
|
-
className:
|
|
964
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className: `flex h-screen bg-white overflow-hidden ${
|
|
963
|
+
listWidth: c = "350px",
|
|
964
|
+
className: i = ""
|
|
965
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: `flex h-screen bg-white overflow-hidden ${i}`, children: [
|
|
965
966
|
/* @__PURE__ */ e.jsx(
|
|
966
967
|
"aside",
|
|
967
968
|
{
|
|
968
969
|
className: `
|
|
969
970
|
flex-shrink-0 border-r border-gray-200 bg-white transition-all duration-300
|
|
970
|
-
${
|
|
971
|
+
${o ? "hidden md:flex" : "flex w-full md:w-auto"}
|
|
971
972
|
`,
|
|
972
|
-
style: { width:
|
|
973
|
+
style: { width: o ? c : window.innerWidth < 768 ? "100%" : c },
|
|
973
974
|
children: /* @__PURE__ */ e.jsx("div", { className: "flex flex-col w-full h-full", children: s })
|
|
974
975
|
}
|
|
975
976
|
),
|
|
@@ -978,10 +979,10 @@ const ge = ({
|
|
|
978
979
|
{
|
|
979
980
|
className: `
|
|
980
981
|
flex-1 flex flex-col min-w-0 bg-white transition-all duration-300
|
|
981
|
-
${
|
|
982
|
+
${o ? "flex w-full" : "hidden md:flex"}
|
|
982
983
|
`,
|
|
983
984
|
children: [
|
|
984
|
-
(
|
|
985
|
+
(a || n) && /* @__PURE__ */ 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: [
|
|
985
986
|
n && /* @__PURE__ */ e.jsx(
|
|
986
987
|
"button",
|
|
987
988
|
{
|
|
@@ -991,30 +992,30 @@ const ge = ({
|
|
|
991
992
|
children: /* @__PURE__ */ e.jsx("svg", { className: "w-6 h-6", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ e.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M15 19l-7-7 7-7" }) })
|
|
992
993
|
}
|
|
993
994
|
),
|
|
994
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex-1 min-w-0", children:
|
|
995
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex-1 min-w-0", children: a })
|
|
995
996
|
] }),
|
|
996
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex-1 overflow-y-auto bg-gray-50", children:
|
|
997
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex-1 overflow-y-auto bg-gray-50", children: l }),
|
|
997
998
|
t && /* @__PURE__ */ e.jsx("footer", { className: "p-4 bg-white border-t border-gray-100 shrink-0", children: t })
|
|
998
999
|
]
|
|
999
1000
|
}
|
|
1000
1001
|
)
|
|
1001
|
-
] }),
|
|
1002
|
+
] }), Z = ({
|
|
1002
1003
|
src: s,
|
|
1003
|
-
alt:
|
|
1004
|
-
initials:
|
|
1004
|
+
alt: a = "User",
|
|
1005
|
+
initials: l,
|
|
1005
1006
|
size: t = "md",
|
|
1006
|
-
status:
|
|
1007
|
+
status: o,
|
|
1007
1008
|
className: n = "",
|
|
1008
|
-
isBordered:
|
|
1009
|
+
isBordered: c = !1
|
|
1009
1010
|
}) => {
|
|
1010
|
-
const
|
|
1011
|
+
const i = {
|
|
1011
1012
|
xs: "w-6 h-6 text-xs",
|
|
1012
1013
|
sm: "w-8 h-8 text-xs",
|
|
1013
1014
|
md: "w-10 h-10 text-sm",
|
|
1014
1015
|
lg: "w-12 h-12 text-base",
|
|
1015
1016
|
xl: "w-16 h-16 text-lg",
|
|
1016
1017
|
"2xl": "w-24 h-24 text-xl"
|
|
1017
|
-
},
|
|
1018
|
+
}, x = {
|
|
1018
1019
|
online: "bg-green-500",
|
|
1019
1020
|
offline: "bg-gray-400",
|
|
1020
1021
|
busy: "bg-red-500",
|
|
@@ -1032,52 +1033,170 @@ const ge = ({
|
|
|
1032
1033
|
"div",
|
|
1033
1034
|
{
|
|
1034
1035
|
className: `
|
|
1035
|
-
${
|
|
1036
|
+
${i[t]}
|
|
1036
1037
|
rounded-full
|
|
1037
1038
|
flex items-center justify-center
|
|
1038
1039
|
overflow-hidden
|
|
1039
1040
|
bg-gray-100
|
|
1040
1041
|
text-gray-600
|
|
1041
1042
|
font-bold
|
|
1042
|
-
${
|
|
1043
|
+
${c ? "ring-2 ring-white" : ""}
|
|
1043
1044
|
`,
|
|
1044
1045
|
children: s ? /* @__PURE__ */ e.jsx(
|
|
1045
1046
|
"img",
|
|
1046
1047
|
{
|
|
1047
1048
|
src: s,
|
|
1048
|
-
alt:
|
|
1049
|
+
alt: a,
|
|
1049
1050
|
className: "w-full h-full object-cover"
|
|
1050
1051
|
}
|
|
1051
|
-
) : /* @__PURE__ */ e.jsx("span", { children:
|
|
1052
|
+
) : /* @__PURE__ */ e.jsx("span", { children: l || a.charAt(0).toUpperCase() })
|
|
1052
1053
|
}
|
|
1053
1054
|
),
|
|
1054
|
-
|
|
1055
|
+
o && /* @__PURE__ */ e.jsx(
|
|
1055
1056
|
"span",
|
|
1056
1057
|
{
|
|
1057
1058
|
className: `
|
|
1058
1059
|
absolute bottom-0 right-0
|
|
1059
1060
|
block rounded-full
|
|
1060
1061
|
ring-2 ring-white
|
|
1061
|
-
${
|
|
1062
|
+
${x[o]}
|
|
1062
1063
|
${h[t]}
|
|
1063
1064
|
`
|
|
1064
1065
|
}
|
|
1065
1066
|
)
|
|
1066
1067
|
] });
|
|
1068
|
+
}, je = ({
|
|
1069
|
+
title: s,
|
|
1070
|
+
loading: a = !1,
|
|
1071
|
+
loadingText: l = "Loading conversations...",
|
|
1072
|
+
children: t,
|
|
1073
|
+
className: o = ""
|
|
1074
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: `flex flex-col h-full ${o}`, children: [
|
|
1075
|
+
s && /* @__PURE__ */ e.jsx("div", { className: "p-4 border-b border-gray-100", children: /* @__PURE__ */ e.jsx(
|
|
1076
|
+
k,
|
|
1077
|
+
{
|
|
1078
|
+
variant: "h5",
|
|
1079
|
+
className: "font-bold italic text-indigo-600",
|
|
1080
|
+
children: s
|
|
1081
|
+
}
|
|
1082
|
+
) }),
|
|
1083
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex-1 overflow-y-auto", children: a ? /* @__PURE__ */ e.jsx("div", { className: "p-4 text-center text-gray-500", children: l }) : t })
|
|
1084
|
+
] }), we = ({
|
|
1085
|
+
id: s,
|
|
1086
|
+
userName: a,
|
|
1087
|
+
avatar: l,
|
|
1088
|
+
status: t,
|
|
1089
|
+
isActive: o = !1,
|
|
1090
|
+
lastMessage: n,
|
|
1091
|
+
time: c,
|
|
1092
|
+
onClick: i,
|
|
1093
|
+
className: x = ""
|
|
1094
|
+
}) => /* @__PURE__ */ e.jsxs(
|
|
1095
|
+
"div",
|
|
1096
|
+
{
|
|
1097
|
+
id: s,
|
|
1098
|
+
onClick: i,
|
|
1099
|
+
className: `
|
|
1100
|
+
p-4 hover:bg-gray-50 cursor-pointer flex items-center space-x-3 transition-colors
|
|
1101
|
+
${o ? "bg-indigo-50 border-r-2 border-indigo-500" : ""}
|
|
1102
|
+
${x}
|
|
1103
|
+
`,
|
|
1104
|
+
children: [
|
|
1105
|
+
/* @__PURE__ */ e.jsx("div", { className: "relative", children: /* @__PURE__ */ e.jsx(Z, { size: "lg", src: l, status: t }) }),
|
|
1106
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
1107
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-baseline", children: [
|
|
1108
|
+
/* @__PURE__ */ e.jsx(
|
|
1109
|
+
k,
|
|
1110
|
+
{
|
|
1111
|
+
variant: "body2",
|
|
1112
|
+
weight: "semibold",
|
|
1113
|
+
className: "truncate text-gray-900",
|
|
1114
|
+
children: a
|
|
1115
|
+
}
|
|
1116
|
+
),
|
|
1117
|
+
c && /* @__PURE__ */ e.jsx(k, { variant: "caption", className: "text-gray-400", children: c })
|
|
1118
|
+
] }),
|
|
1119
|
+
n && /* @__PURE__ */ e.jsx(k, { variant: "caption", className: "text-gray-500 truncate block", children: n })
|
|
1120
|
+
] })
|
|
1121
|
+
]
|
|
1122
|
+
}
|
|
1123
|
+
), Ne = ({
|
|
1124
|
+
userName: s,
|
|
1125
|
+
avatar: a,
|
|
1126
|
+
status: l,
|
|
1127
|
+
statusText: t,
|
|
1128
|
+
className: o = ""
|
|
1129
|
+
}) => {
|
|
1130
|
+
const n = t || (l === "online" ? "Online" : l === "offline" ? "Offline" : l);
|
|
1131
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `flex items-center space-x-3 ${o}`, children: [
|
|
1132
|
+
/* @__PURE__ */ e.jsx(Z, { size: "md", src: a, status: l }),
|
|
1133
|
+
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1134
|
+
/* @__PURE__ */ e.jsx(k, { variant: "body1", weight: "bold", children: s }),
|
|
1135
|
+
n && /* @__PURE__ */ e.jsx(
|
|
1136
|
+
k,
|
|
1137
|
+
{
|
|
1138
|
+
variant: "caption",
|
|
1139
|
+
className: l === "online" ? "text-green-500" : "text-gray-400",
|
|
1140
|
+
children: n
|
|
1141
|
+
}
|
|
1142
|
+
)
|
|
1143
|
+
] })
|
|
1144
|
+
] });
|
|
1145
|
+
}, ke = ({
|
|
1146
|
+
value: s,
|
|
1147
|
+
onChange: a,
|
|
1148
|
+
onSend: l,
|
|
1149
|
+
placeholder: t = "Write a message...",
|
|
1150
|
+
disabled: o = !1,
|
|
1151
|
+
className: n = ""
|
|
1152
|
+
}) => {
|
|
1153
|
+
const c = (i) => {
|
|
1154
|
+
i.key === "Enter" && !i.shiftKey && s.trim() && (i.preventDefault(), l());
|
|
1155
|
+
};
|
|
1156
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `flex items-center space-x-3 ${n}`, children: [
|
|
1157
|
+
/* @__PURE__ */ e.jsx(
|
|
1158
|
+
"input",
|
|
1159
|
+
{
|
|
1160
|
+
type: "text",
|
|
1161
|
+
value: s,
|
|
1162
|
+
onChange: (i) => a(i.target.value),
|
|
1163
|
+
onKeyDown: c,
|
|
1164
|
+
placeholder: t,
|
|
1165
|
+
disabled: o,
|
|
1166
|
+
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"
|
|
1167
|
+
}
|
|
1168
|
+
),
|
|
1169
|
+
/* @__PURE__ */ e.jsx(
|
|
1170
|
+
"button",
|
|
1171
|
+
{
|
|
1172
|
+
onClick: l,
|
|
1173
|
+
disabled: o || !s.trim(),
|
|
1174
|
+
className: `
|
|
1175
|
+
text-indigo-600 font-bold px-2 hover:text-indigo-700 transition-colors
|
|
1176
|
+
disabled:text-gray-400 disabled:cursor-not-allowed
|
|
1177
|
+
`,
|
|
1178
|
+
children: "Send"
|
|
1179
|
+
}
|
|
1180
|
+
)
|
|
1181
|
+
] });
|
|
1067
1182
|
};
|
|
1068
1183
|
export {
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
fe as
|
|
1184
|
+
ge as Alert,
|
|
1185
|
+
pe as AppLayout,
|
|
1186
|
+
Z as Avatar,
|
|
1187
|
+
xe as Box,
|
|
1188
|
+
N as Button,
|
|
1189
|
+
he as Card,
|
|
1190
|
+
Ne as ChatHeader,
|
|
1191
|
+
ke as ChatInput,
|
|
1192
|
+
we as ConversationItem,
|
|
1193
|
+
je as ConversationList,
|
|
1194
|
+
de as Grid,
|
|
1195
|
+
ye as InboxLayout,
|
|
1196
|
+
ie as Input,
|
|
1197
|
+
fe as Loader,
|
|
1198
|
+
me as Post,
|
|
1199
|
+
ve as SocialLayout,
|
|
1200
|
+
be as TextArea,
|
|
1201
|
+
k as Typography
|
|
1083
1202
|
};
|