@connectycube/chat-widget 0.42.0 → 0.42.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -10,13 +10,13 @@ import { clsx as KV } from "clsx";
10
10
  import { twMerge as RV } from "tailwind-merge";
11
11
  import { Slot as zV } from "@radix-ui/react-slot";
12
12
  import { cva as JV } from "class-variance-authority";
13
- import { LoaderCircle as pt, Loader as ht, VideoOff as Et, Video as WA, MicOff as Bt, Mic as kt, Phone as eA, ScreenShareOff as Ct, ScreenShare as It, Minimize as Qt, Maximize as St, PictureInPicture2 as ft, PhoneOff as Ut, ChevronRightIcon as yt, Ellipsis as Dt, LogOut as RA, Paperclip as Tt, FilePlusCorner as Nt, WandSparkles as xt, SendHorizontal as Gt, FileXCorner as bt, File as vt, PhoneOutgoing as Yt, PhoneIncoming as Ft, PhoneMissed as Kt, Ban as Rt, CheckCheck as zt, Check as Jt, Clock as jt, Globe as Lt, Sparkles as Ot, CheckIcon as Wt, XIcon as Zt, Users as Pt, Search as Ht, X as Xt } from "lucide-react";
13
+ import { LoaderCircle as pt, Loader as Et, VideoOff as ht, Video as WA, MicOff as Bt, Mic as kt, Phone as eA, ScreenShareOff as Ct, ScreenShare as It, Minimize as St, Maximize as Qt, PictureInPicture2 as ft, PhoneOff as Ut, ChevronRightIcon as yt, Ellipsis as Dt, LogOut as RA, Paperclip as Tt, FilePlusCorner as Nt, WandSparkles as xt, SendHorizontal as Gt, FileXCorner as bt, File as vt, PhoneOutgoing as Yt, PhoneIncoming as Ft, PhoneMissed as Kt, Ban as Rt, CheckCheck as zt, Check as Jt, Clock as Lt, Globe as jt, Sparkles as Ot, CheckIcon as Wt, XIcon as Zt, Users as Pt, Search as Ht, X as Xt } from "lucide-react";
14
14
  import { toast as nq, Toaster as $t } from "sonner";
15
15
  import { createPortal as _t } from "react-dom";
16
16
  import * as zA from "@radix-ui/react-avatar";
17
17
  import * as Uq from "@radix-ui/react-dropdown-menu";
18
18
  import { Root as qa } from "@radix-ui/react-label";
19
- import { generateText as jV } from "ai";
19
+ import { generateText as LV } from "ai";
20
20
  import { createGoogleGenerativeAI as Aa } from "@ai-sdk/google";
21
21
  import Va from "react-textarea-autosize";
22
22
  import ea from "linkify-react";
@@ -25,19 +25,19 @@ import { formatDistanceToNow as aa, isToday as oa, format as JA, differenceInCal
25
25
  import { Virtualizer as na, VList as ia } from "virtua";
26
26
  import { useForm as qV } from "react-hook-form";
27
27
  import * as MV from "@radix-ui/react-checkbox";
28
- import * as EA from "@radix-ui/react-tabs";
29
- import * as Sq from "@radix-ui/react-dialog";
30
- import { DialogDescription as LV } from "@radix-ui/react-dialog";
28
+ import * as hA from "@radix-ui/react-tabs";
29
+ import * as Qq from "@radix-ui/react-dialog";
30
+ import { DialogDescription as jV } from "@radix-ui/react-dialog";
31
31
  import * as Oq from "@radix-ui/react-tooltip";
32
32
  import * as pV from "@radix-ui/react-switch";
33
- const hV = (q = []) => q.slice().filter(Boolean).sort((A, V) => A.id - V.id).reduce((A, { id: V }) => `${A}:${V}`, wA), sa = (q) => new Promise((A) => setTimeout(A, q)), la = (q) => q.replace(
33
+ const EV = (q = []) => q.slice().filter(Boolean).sort((A, V) => A.id - V.id).reduce((A, { id: V }) => `${A}:${V}`, wA), sa = (q) => new Promise((A) => setTimeout(A, q)), la = (q) => q.replace(
34
34
  /@supports\s*\(\(*\s*-webkit-hyphens\s*:\s*none\s*\)*\s*and\s*\(not\s*\(margin-trim\s*:\s*inline\)\)\s*\)\s*or\s*\(\(*\s*-moz-orient\s*:\s*inline\s*\)*\s*and\s*\(not\s*\(color\s*:\s*rgb\(from\s+red\s+r\s+g\s+b\)\)\)\s*\)\s*\{\s*([\s\S]*?)\s*\}/gm,
35
35
  (A, V) => V.trim()
36
36
  ), lq = () => typeof window < "u" && typeof document < "u";
37
37
  var $q = /* @__PURE__ */ ((q) => (q.WRAPPER = "data-connectycube-chat-widget-wrapper", q.FOCUSED = "data-connectycube-chat-widget-focused", q))($q || {});
38
- const EV = "15px", BV = "400", wA = "external_id", kV = "::current_user";
39
- var Qq = /* @__PURE__ */ ((q) => (q.GET_SUMMARY = "ai:get-summary", q.CHANGE_TONE = "ai:change-tone", q.DEFAULT = "ai:default", q))(Qq || {}), vq = /* @__PURE__ */ ((q) => (q.LAST_7_DAYS = "last-7-days", q.LAST_DAY = "last-day", q.UNREADS = "unreads", q))(vq || {}), uA = /* @__PURE__ */ ((q) => (q.POSITIVE = "positive", q.NEGATIVE = "negative", q.CRINGE = "cringe", q))(uA || {}), AV = /* @__PURE__ */ ((q) => (q.AI_TEXT_SUMMARY = "ai-text-summary", q))(AV || {});
40
- const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "Chat name", wa = "Chat name is required", Ma = "Chat", pa = "Chats", ha = "Choose a chat", Ea = "Continue", Ba = "Create group chat", ka = "Delete", Ca = "Draft", Ia = "Enter message", Qa = "Enter user name", Sa = "Exit chat", fa = "Are you sure you want to leave this chat?", Ua = "File format is not supported", ya = "is typing", Da = "me", Ta = "Members", Na = "members", xa = "New group", Ga = "New message", ba = "Begin your first chat and see what happens!", va = "No messages yet", Ya = "No online users", Fa = "Profile", Ka = "Remove members", Ra = "Reset", za = "Search", Ja = "Select", ja = "Send", La = "Start chat", Oa = "Send message to user", Wa = "Start a new Group", Za = "typing", Pa = "Users", Ha = "you", Xa = "Video", $a = "Call", _a = "Block", qo = "Unblock", Ao = "Report", Vo = "Report user", eo = "What's wrong with this user?", to = "Reason for reporting", ao = "Report has been created successfully", oo = "Failed to submit report", ro = "My profile", no = "You are blocked by this user", io = "Block list", so = "Add to block list", lo = "Remove from block list", co = "Block list is empty", go = "Notification settings", mo = "Notifications", uo = "Notification sound", wo = "Push notifications", Mo = "Please wait", po = "Available", ho = "Busy", Eo = "Away", Bo = "Online", ko = "Incoming call", Co = "Incoming audio call from {{name}}", Io = "Incoming video call from {{name}}", Qo = "Accept", So = "Reject", fo = "{{name}} rejected the call", Uo = "Missed call from {{name}}", yo = { Login: "Login", Password: "Password", Register: "Register", Registration: "Registration", LoginRequired: "Login is required", LoginMinLimit: "Login must be at least {{limit}} symbols", LoginMaxLimit: "Login must be at most {{limit}} symbols", PasswordRequired: "Login is required", PasswordMinLimit: "Password must be at least {{limit}} symbols", PasswordMaxLimit: "Password must be at most {{limit}} symbols", LoginDescription: "Enter your login and password to access your account", RegisterDescription: "Fill in the form below to sign up", "ToRegister?": "Don't have an account?", "ToLogin?": "Already have an account?" }, Do = { Title: "Submit your contact data to start a chat", Subtitle: "We will not share your email address. Your email address is used solely to contact you", NamePlaceholder: "Name", NameRequired: "Name is required", EmailPlaceholder: "Email", EmailRequired: "Email is required", EmailInvalid: "Invalid email format", AcceptTermsAndConditions: "Accept terms and conditions", AcceptTermsAndConditionsError: "You must accept the terms and conditions", TermsAndConditionsText: "By clicking this checkbox, you agree to the", TermsAndConditionsLink: "terms and conditions", RememberMe: "Remember me", RememberMeText: "This is my private device", Next: "Next" }, To = "Opponent(s) for the chat not found", No = "Information", xo = { GetSummary: "Get summary", ChangeMessageTone: "Change message tone", SummaryMessageTitle: "Only you can see this message", forLast7Days: "for last 7 days", forLastDay: "for last day", forUnreads: "for unreads", MessageTone: "Change message tone", EmptyMessageTone: "Can't change tone of empty message", positive: "positive", negative: "negative", cringe: "cringe" }, Go = { RejectedIncoming: "Rejected incoming", RejectedOutgoing: "Rejected outgoing", Unanswered: "Unanswered", Missed: "Missed", Canceled: "Canceled", Ended: "Ended", videoCall: "video call", audioCall: "audio call", defaultCall: "call" }, bo = "Drop files here", vo = {
38
+ const hV = "15px", BV = "400", wA = "external_id", kV = "::current_user";
39
+ var Sq = /* @__PURE__ */ ((q) => (q.GET_SUMMARY = "ai:get-summary", q.CHANGE_TONE = "ai:change-tone", q.DEFAULT = "ai:default", q))(Sq || {}), vq = /* @__PURE__ */ ((q) => (q.LAST_7_DAYS = "last-7-days", q.LAST_DAY = "last-day", q.UNREADS = "unreads", q))(vq || {}), uA = /* @__PURE__ */ ((q) => (q.POSITIVE = "positive", q.NEGATIVE = "negative", q.CRINGE = "cringe", q))(uA || {}), AV = /* @__PURE__ */ ((q) => (q.AI_TEXT_SUMMARY = "ai-text-summary", q))(AV || {});
40
+ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "Chat name", wa = "Chat name is required", Ma = "Chat", pa = "Chats", Ea = "Choose a chat", ha = "Continue", Ba = "Create group chat", ka = "Delete", Ca = "Draft", Ia = "Enter message", Sa = "Enter user name", Qa = "Exit chat", fa = "Are you sure you want to leave this chat?", Ua = "File format is not supported", ya = "is typing", Da = "me", Ta = "Members", Na = "members", xa = "New group", Ga = "New message", ba = "Begin your first chat and see what happens!", va = "No messages yet", Ya = "No online users", Fa = "Profile", Ka = "Remove members", Ra = "Reset", za = "Search", Ja = "Select", La = "Send", ja = "Start chat", Oa = "Send message to user", Wa = "Start a new Group", Za = "typing", Pa = "Users", Ha = "you", Xa = "Video", $a = "Call", _a = "Block", qo = "Unblock", Ao = "Report", Vo = "Report user", eo = "What's wrong with this user?", to = "Reason for reporting", ao = "Report has been created successfully", oo = "Failed to submit report", ro = "My profile", no = "You are blocked by this user", io = "Block list", so = "Add to block list", lo = "Remove from block list", co = "Block list is empty", go = "Notification settings", mo = "Notifications", uo = "Notification sound", wo = "Push notifications", Mo = "Please wait", po = "Available", Eo = "Busy", ho = "Away", Bo = "Online", ko = "Incoming call", Co = "Incoming audio call from {{name}}", Io = "Incoming video call from {{name}}", So = "Accept", Qo = "Reject", fo = "{{name}} rejected the call", Uo = "Missed call from {{name}}", yo = { Login: "Login", Password: "Password", Register: "Register", Registration: "Registration", LoginRequired: "Login is required", LoginMinLimit: "Login must be at least {{limit}} symbols", LoginMaxLimit: "Login must be at most {{limit}} symbols", PasswordRequired: "Login is required", PasswordMinLimit: "Password must be at least {{limit}} symbols", PasswordMaxLimit: "Password must be at most {{limit}} symbols", LoginDescription: "Enter your login and password to access your account", RegisterDescription: "Fill in the form below to sign up", "ToRegister?": "Don't have an account?", "ToLogin?": "Already have an account?" }, Do = { Title: "Submit your contact data to start a chat", Subtitle: "We will not share your email address. Your email address is used solely to contact you", NamePlaceholder: "Name", NameRequired: "Name is required", EmailPlaceholder: "Email", EmailRequired: "Email is required", EmailInvalid: "Invalid email format", AcceptTermsAndConditions: "Accept terms and conditions", AcceptTermsAndConditionsError: "You must accept the terms and conditions", TermsAndConditionsText: "By clicking this checkbox, you agree to the", TermsAndConditionsLink: "terms and conditions", RememberMe: "Remember me", RememberMeText: "This is my private device", Next: "Next" }, To = "Opponent(s) for the chat not found", No = "Information", xo = { GetSummary: "Get summary", ChangeMessageTone: "Change message tone", SummaryMessageTitle: "Only you can see this message", forLast7Days: "for last 7 days", forLastDay: "for last day", forUnreads: "for unreads", MessageTone: "Change message tone", EmptyMessageTone: "Can't change tone of empty message", positive: "positive", negative: "negative", cringe: "cringe" }, Go = { RejectedIncoming: "Rejected incoming", RejectedOutgoing: "Rejected outgoing", Unanswered: "Unanswered", Missed: "Missed", Canceled: "Canceled", Ended: "Ended", videoCall: "video call", audioCall: "audio call", defaultCall: "call" }, bo = "Drop files here", vo = {
41
41
  AddMembers: ca,
42
42
  Admin: ga,
43
43
  areTyping: ma,
@@ -46,14 +46,14 @@ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "
46
46
  ChatNameRequired: wa,
47
47
  Chat: Ma,
48
48
  Chats: pa,
49
- ChooseChat: ha,
50
- Continue: Ea,
49
+ ChooseChat: Ea,
50
+ Continue: ha,
51
51
  CreateGroupChat: Ba,
52
52
  Delete: ka,
53
53
  Draft: Ca,
54
54
  EnterMessage: Ia,
55
- EnterUserName: Qa,
56
- ExitChat: Sa,
55
+ EnterUserName: Sa,
56
+ ExitChat: Qa,
57
57
  ExitChatConfirm: fa,
58
58
  FileTypeNotSupported: Ua,
59
59
  isTyping: ya,
@@ -71,8 +71,8 @@ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "
71
71
  Reset: Ra,
72
72
  Search: za,
73
73
  Select: Ja,
74
- Send: ja,
75
- StartChat: La,
74
+ Send: La,
75
+ StartChat: ja,
76
76
  NewUserChatDialogTitle: Oa,
77
77
  NewGroupChatDialogTitle: Wa,
78
78
  typing: Za,
@@ -102,14 +102,14 @@ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "
102
102
  PushNotifications: wo,
103
103
  PleaseWait: Mo,
104
104
  Available: po,
105
- Busy: ho,
106
- Away: Eo,
105
+ Busy: Eo,
106
+ Away: ho,
107
107
  Online: Bo,
108
108
  IncomingCall: ko,
109
109
  IncomingAudioCall: Co,
110
110
  IncomingVideoCall: Io,
111
- Accept: Qo,
112
- Reject: So,
111
+ Accept: So,
112
+ Reject: Qo,
113
113
  RejectedCall: fo,
114
114
  MissedCall: Uo,
115
115
  AuthForm: yo,
@@ -119,15 +119,15 @@ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "
119
119
  AI: xo,
120
120
  CallHistory: Go,
121
121
  DragAndDrop: bo
122
- }, Yo = "Προσθήκη μελών", Fo = "Διαχειριστής", Ko = "είναι", Ro = "Ακύρωση", zo = "Όνομα συνομιλίας", Jo = "Το όνομα συνομιλίας είναι υποχρεωτικό", jo = "Συνομιλία", Lo = "Συνομιλίες", Oo = "Επιλέξτε συνομιλία", Wo = "Συνέχεια", Zo = "Δημιουργία ομαδικής συνομιλίας", Po = "Διαγραφή", Ho = "Πρόχειρο", Xo = "Εισάγετε μήνυμα", $o = "Εισάγετε όνομα χρήστη", _o = "Έξοδος από τη συνομιλία", qr = "Είστε σίγουροι ότι θέλετε να φύγετε από αυτή τη συνομιλία;", Ar = "Η μορφή αρχείου δεν υποστηρίζεται", Vr = "είναι", er = "εγώ", tr = "Μέλη", ar = "μέλη", or = "Νέα ομάδα", rr = "Νέο μήνυμα", nr = "Επιλέξτε κάποιο χρήστη από τη λίστα Χρήστες και ξεκινήστε την πρώτη σας συνομιλία!", ir = "Δεν υπάρχουν μηνύματα", sr = "Δεν υπάρχουν συνδεδεμένοι χρήστες", lr = "Προφίλ", cr = "Αφαίρεση μελών", gr = "Επαναφορά", mr = "Αναζήτηση", ur = "Επιλογή", dr = "Αποστολή", wr = "Έναρξη συνομιλίας", Mr = "Αποστολή μηνύματος σε μέλος", pr = "Δημιουργία νέας ομάδας", hr = "πληκτρολογεί", Er = "Χρήστες", Br = "εσύ", kr = "Βίντεο", Cr = "Κλήση", Ir = "Block", Qr = "Unblock", Sr = "Αναφορά", fr = "Αναφορά χρήστη", Ur = "Τι θέλετε να αναφέρετε για αυτόν το χρήστη;", yr = "Λόγος αναφοράς", Dr = "Η αναφορά για το χρήστη έγινε", Tr = "Σφάλμα στη δημιουργία αναφοράς", Nr = "Το προφίλ μου", xr = "Αυτός ο χρήστης σας έχει κάνει Block", Gr = "Λίστα Blocked χρηστών", br = "Προσθήκη στη λίστα Blocked", vr = "Αφαίρεση από τη λίστα Blocked", Yr = "Η Blocked λίστα είναι άδεια", Fr = "Ρυθμίσεις ειδοποιήσεων", Kr = "Ειδοποιήσεις", Rr = "Ήχος ειδοποίησης", zr = "Ειδοποιήσεις push", Jr = "Παρακαλώ περιμένετε", jr = "Διαθέσιμος/η", Lr = "Απασχολημένος/η", Or = "Απουσιάζω", Wr = "Συνδεδεμένος/η", Zr = "Εισερχόμενη κλήση", Pr = "Εισερχόμενη κλήση ήχου από τον χρήστη {{name}}", Hr = "Εισερχόμενη κλήση βίντεο από τον χρήστη {{name}}", Xr = "Αποδοχή", $r = "Απόρριψη", _r = "Ο χρήστης {{name}} απέρριψε την κλήση", qn = "Αναπάντητη κλήση από τον χρήστη {{name}}", An = { Login: "Σύνδεση", Password: "Κωδικός πρόσβασης", Register: "Εγγραφή", Registration: "Εγγραφή", LoginRequired: "Το όνομα χρήστη είναι υποχρεωτικό", LoginMinLimit: "Το όνομα χρήστη πρέπει να έχει τουλάχιστον {{limit}} χαρακτήρες", LoginMaxLimit: "Το όνομα χρήστη πρέπει να έχει το πολύ {{limit}} χαρακτήρες", PasswordRequired: "Ο κωδικός πρόσβασης είναι υποχρεωτικός", PasswordMinLimit: "Ο κωδικός πρόσβασης πρέπει να έχει τουλάχιστον {{limit}} χαρακτήρες", PasswordMaxLimit: "Ο κωδικός πρόσβασης πρέπει να έχει το πολύ {{limit}} χαρακτήρες", LoginDescription: "Εισάγετε το όνομα χρήστη και τον κωδικό πρόσβασης για να αποκτήσετε πρόσβαση στον λογαριασμό σας", RegisterDescription: "Συμπληρώστε την παρακάτω φόρμα για να εγγραφείτε", "ToRegister?": "Δεν έχετε λογαριασμό;", "ToLogin?": "Έχετε ήδη λογαριασμό;" }, Vn = { Title: "Υποβάλετε τα στοιχεία επικοινωνίας σας για να ξεκινήσετε μια συνομιλία", Subtitle: "Δεν θα κοινοποιήσουμε τη διεύθυνση email σας. Η διεύθυνση email σας χρησιμοποιείται αποκλειστικά για να επικοινωνήσουμε μαζί σας.", NamePlaceholder: "Όνομα", NameRequired: "Το όνομα είναι υποχρεωτικό", EmailPlaceholder: "E-mail", EmailRequired: "Απαιτείται email", Emailnvalid: "Μη έγκυρη μορφή email", AcceptTermsAndConditions: "Αποδοχή όρων και προϋποθέσεων", AcceptTermsAndConditionsError: "Πρέπει να αποδεχτείτε τους όρους και τις προϋποθέσεις", TermsAndConditionsText: "Κάνοντας κλικ σε αυτό το πλαίσιο, συμφωνείτε με τους", TermsAndConditionsLink: "όρους και προϋποθέσεις", RememberMe: "Να με θυμάσαι", RememberMeText: "Αυτή είναι η προσωπική μου συσκευή", Next: "Επόμενο" }, en = "Δεν βρέθηκαν αντίπαλοι για τη συνομιλία", tn = "Πληροφορίες", an = { GetSummary: "Λήψη σύνοψης", ChangeMessageTone: "Αλλαγή τόνου μηνύματος", SummaryMessageTitle: "Μόνο εσείς μπορείτε να δείτε αυτό το μήνυμα", forLast7Days: "για τις τελευταίες 7 ημέρες", forLastDay: "για την τελευταία ημέρα", forUnreads: "για μη αναγνωσμένα", MessageTone: "Αλλαγή τόνου μηνύματος", EmptyMessageTone: "Δεν είναι δυνατή η αλλαγή του τόνου ενός κενού μηνύματος", positive: "θετικός", negative: "αρνητικός", cringe: "κρίμα" }, on = { RejectedIncoming: "Απορρίφθηκε εισερχόμενη κλήση", RejectedOutgoing: "Απορρίφθηκε εξερχόμενη κλήση", Unanswered: "Μη απαντημένη κλήση", Missed: "Αναπάντητη κλήση", Canceled: "Ακυρώθηκε", Ended: "Ολοκληρώθηκε", videoCall: "βιντεοκλήση", audioCall: "ηχητική κλήση", defaultCall: "κλήση" }, rn = "Αποθέστε αρχεία εδώ", nn = {
122
+ }, Yo = "Προσθήκη μελών", Fo = "Διαχειριστής", Ko = "είναι", Ro = "Ακύρωση", zo = "Όνομα συνομιλίας", Jo = "Το όνομα συνομιλίας είναι υποχρεωτικό", Lo = "Συνομιλία", jo = "Συνομιλίες", Oo = "Επιλέξτε συνομιλία", Wo = "Συνέχεια", Zo = "Δημιουργία ομαδικής συνομιλίας", Po = "Διαγραφή", Ho = "Πρόχειρο", Xo = "Εισάγετε μήνυμα", $o = "Εισάγετε όνομα χρήστη", _o = "Έξοδος από τη συνομιλία", qr = "Είστε σίγουροι ότι θέλετε να φύγετε από αυτή τη συνομιλία;", Ar = "Η μορφή αρχείου δεν υποστηρίζεται", Vr = "είναι", er = "εγώ", tr = "Μέλη", ar = "μέλη", or = "Νέα ομάδα", rr = "Νέο μήνυμα", nr = "Επιλέξτε κάποιο χρήστη από τη λίστα Χρήστες και ξεκινήστε την πρώτη σας συνομιλία!", ir = "Δεν υπάρχουν μηνύματα", sr = "Δεν υπάρχουν συνδεδεμένοι χρήστες", lr = "Προφίλ", cr = "Αφαίρεση μελών", gr = "Επαναφορά", mr = "Αναζήτηση", ur = "Επιλογή", dr = "Αποστολή", wr = "Έναρξη συνομιλίας", Mr = "Αποστολή μηνύματος σε μέλος", pr = "Δημιουργία νέας ομάδας", Er = "πληκτρολογεί", hr = "Χρήστες", Br = "εσύ", kr = "Βίντεο", Cr = "Κλήση", Ir = "Block", Sr = "Unblock", Qr = "Αναφορά", fr = "Αναφορά χρήστη", Ur = "Τι θέλετε να αναφέρετε για αυτόν το χρήστη;", yr = "Λόγος αναφοράς", Dr = "Η αναφορά για το χρήστη έγινε", Tr = "Σφάλμα στη δημιουργία αναφοράς", Nr = "Το προφίλ μου", xr = "Αυτός ο χρήστης σας έχει κάνει Block", Gr = "Λίστα Blocked χρηστών", br = "Προσθήκη στη λίστα Blocked", vr = "Αφαίρεση από τη λίστα Blocked", Yr = "Η Blocked λίστα είναι άδεια", Fr = "Ρυθμίσεις ειδοποιήσεων", Kr = "Ειδοποιήσεις", Rr = "Ήχος ειδοποίησης", zr = "Ειδοποιήσεις push", Jr = "Παρακαλώ περιμένετε", Lr = "Διαθέσιμος/η", jr = "Απασχολημένος/η", Or = "Απουσιάζω", Wr = "Συνδεδεμένος/η", Zr = "Εισερχόμενη κλήση", Pr = "Εισερχόμενη κλήση ήχου από τον χρήστη {{name}}", Hr = "Εισερχόμενη κλήση βίντεο από τον χρήστη {{name}}", Xr = "Αποδοχή", $r = "Απόρριψη", _r = "Ο χρήστης {{name}} απέρριψε την κλήση", qn = "Αναπάντητη κλήση από τον χρήστη {{name}}", An = { Login: "Σύνδεση", Password: "Κωδικός πρόσβασης", Register: "Εγγραφή", Registration: "Εγγραφή", LoginRequired: "Το όνομα χρήστη είναι υποχρεωτικό", LoginMinLimit: "Το όνομα χρήστη πρέπει να έχει τουλάχιστον {{limit}} χαρακτήρες", LoginMaxLimit: "Το όνομα χρήστη πρέπει να έχει το πολύ {{limit}} χαρακτήρες", PasswordRequired: "Ο κωδικός πρόσβασης είναι υποχρεωτικός", PasswordMinLimit: "Ο κωδικός πρόσβασης πρέπει να έχει τουλάχιστον {{limit}} χαρακτήρες", PasswordMaxLimit: "Ο κωδικός πρόσβασης πρέπει να έχει το πολύ {{limit}} χαρακτήρες", LoginDescription: "Εισάγετε το όνομα χρήστη και τον κωδικό πρόσβασης για να αποκτήσετε πρόσβαση στον λογαριασμό σας", RegisterDescription: "Συμπληρώστε την παρακάτω φόρμα για να εγγραφείτε", "ToRegister?": "Δεν έχετε λογαριασμό;", "ToLogin?": "Έχετε ήδη λογαριασμό;" }, Vn = { Title: "Υποβάλετε τα στοιχεία επικοινωνίας σας για να ξεκινήσετε μια συνομιλία", Subtitle: "Δεν θα κοινοποιήσουμε τη διεύθυνση email σας. Η διεύθυνση email σας χρησιμοποιείται αποκλειστικά για να επικοινωνήσουμε μαζί σας.", NamePlaceholder: "Όνομα", NameRequired: "Το όνομα είναι υποχρεωτικό", EmailPlaceholder: "E-mail", EmailRequired: "Απαιτείται email", Emailnvalid: "Μη έγκυρη μορφή email", AcceptTermsAndConditions: "Αποδοχή όρων και προϋποθέσεων", AcceptTermsAndConditionsError: "Πρέπει να αποδεχτείτε τους όρους και τις προϋποθέσεις", TermsAndConditionsText: "Κάνοντας κλικ σε αυτό το πλαίσιο, συμφωνείτε με τους", TermsAndConditionsLink: "όρους και προϋποθέσεις", RememberMe: "Να με θυμάσαι", RememberMeText: "Αυτή είναι η προσωπική μου συσκευή", Next: "Επόμενο" }, en = "Δεν βρέθηκαν αντίπαλοι για τη συνομιλία", tn = "Πληροφορίες", an = { GetSummary: "Λήψη σύνοψης", ChangeMessageTone: "Αλλαγή τόνου μηνύματος", SummaryMessageTitle: "Μόνο εσείς μπορείτε να δείτε αυτό το μήνυμα", forLast7Days: "για τις τελευταίες 7 ημέρες", forLastDay: "για την τελευταία ημέρα", forUnreads: "για μη αναγνωσμένα", MessageTone: "Αλλαγή τόνου μηνύματος", EmptyMessageTone: "Δεν είναι δυνατή η αλλαγή του τόνου ενός κενού μηνύματος", positive: "θετικός", negative: "αρνητικός", cringe: "κρίμα" }, on = { RejectedIncoming: "Απορρίφθηκε εισερχόμενη κλήση", RejectedOutgoing: "Απορρίφθηκε εξερχόμενη κλήση", Unanswered: "Μη απαντημένη κλήση", Missed: "Αναπάντητη κλήση", Canceled: "Ακυρώθηκε", Ended: "Ολοκληρώθηκε", videoCall: "βιντεοκλήση", audioCall: "ηχητική κλήση", defaultCall: "κλήση" }, rn = "Αποθέστε αρχεία εδώ", nn = {
123
123
  AddMembers: Yo,
124
124
  Admin: Fo,
125
125
  areTyping: Ko,
126
126
  Cancel: Ro,
127
127
  ChatName: zo,
128
128
  ChatNameRequired: Jo,
129
- Chat: jo,
130
- Chats: Lo,
129
+ Chat: Lo,
130
+ Chats: jo,
131
131
  ChooseChat: Oo,
132
132
  Continue: Wo,
133
133
  CreateGroupChat: Zo,
@@ -157,14 +157,14 @@ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "
157
157
  StartChat: wr,
158
158
  NewUserChatDialogTitle: Mr,
159
159
  NewGroupChatDialogTitle: pr,
160
- typing: hr,
161
- Users: Er,
160
+ typing: Er,
161
+ Users: hr,
162
162
  you: Br,
163
163
  Video: kr,
164
164
  Call: Cr,
165
165
  Block: Ir,
166
- UnBlock: Qr,
167
- Report: Sr,
166
+ UnBlock: Sr,
167
+ Report: Qr,
168
168
  ReportUser: fr,
169
169
  WhatsWrongWithThisUser: Ur,
170
170
  ProvideReason: yr,
@@ -183,8 +183,8 @@ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "
183
183
  NotificationSound: Rr,
184
184
  PushNotifications: zr,
185
185
  PleaseWait: Jr,
186
- Available: jr,
187
- Busy: Lr,
186
+ Available: Lr,
187
+ Busy: jr,
188
188
  Away: Or,
189
189
  Online: Wr,
190
190
  IncomingCall: Zr,
@@ -201,7 +201,7 @@ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "
201
201
  AI: an,
202
202
  CallHistory: on,
203
203
  DragAndDrop: rn
204
- }, sn = "Додати учасників", ln = "Адмін", cn = "пишуть", gn = "Скасувати", mn = "Назва чату", un = "Назва чату є обов'язковою", dn = "Чат", wn = "Чати", Mn = "Оберіть чат", pn = "Продовжити", hn = "Створити груповий чат", En = "Видалити", Bn = "Чернетка", kn = "Введіть повідомлення", Cn = "Введіть ім'я користувача", In = "Вийти з чату", Qn = "Ви впевнені, що хочете вийти з цього чату?", Sn = "Формат файлу не підтримується", fn = "пише", Un = "я", yn = "Учасники", Dn = "учасники", Tn = "Нова група", Nn = "Нове повідомлення", xn = "Почніть свою першу розмову та подивіться, що станеться!", Gn = "Поки що немає повідомлень", bn = "Немає онлайн-користувачів", vn = "Профіль", Yn = "Видалити учасників", Fn = "Скинути", Kn = "Пошук", Rn = "Вибрати", zn = "Надіслати", Jn = "Розпочати чат", jn = "Новий чат з користувачем", Ln = "Нова група", On = "друкує", Wn = "Користувачі", Zn = "ви", Pn = "Відео", Hn = "Виклик", Xn = "Заблокувати", $n = "Розблокувати", _n = "Поскаржитися", qi = "Поскаржитися на користувача", Ai = "Що не так з цим користувачем?", Vi = "Підстава", ei = "Звіт поданий успішно", ti = "Помилка при поданні звіту", ai = "Мій профіль", oi = "Цей користувача вас заблокував", ri = "Список заблокованих", ni = "Додати до списку заблокованих", ii = "Видалити зі списку заблокованих", si = "Список заблокованих порожній", li = "Налаштування сповіщень", ci = "Сповіщення", gi = "Звук сповіщення", mi = "Push-сповіщення", ui = "Будь ласка, зачекайте", di = "Присутній", wi = "Зайнятий", Mi = "Відсутній", pi = "В мережі", hi = "Вхідний виклик", Ei = "Вхідний аудіо виклик від {{name}}", Bi = "Вхідний відео виклик від {{name}}", ki = "Прийняти", Ci = "Відхилити", Ii = "{{name}} відхилив виклик", Qi = "Пропущений виклик від {{name}}", Si = { Login: "Логін", Password: "Пароль", Register: "Зареєструвати", Registration: "Реєстрація", LoginRequired: "Логін є обов'язковим", LoginMinLimit: "Логін має містити щонайменше {{limit}} символів", LoginMaxLimit: "Логін має містити не більше {{limit}} символів", PasswordRequired: "Пароль є обов'язковим", PasswordMinLimit: "Пароль має містити щонайменше {{limit}} символів", PasswordMaxLimit: "Пароль має містити не більше {{limit}} символів", LoginDescription: "Введіть ваш логін та пароль для доступу до акаунту", RegisterDescription: "Заповніть форму нижче для реєстрації", "ToRegister?": "Ще не маєте акаунту?", "ToLogin?": "Вже маєте акаунт?" }, fi = { Title: "Введіть свою електронну пошту, щоб почати чат", Subtitle: "Ми не будемо передавати вашу електронну пошту. Ваша електронна пошта використовується виключно для зв'язку з вами", NamePlaceholder: "Ім'я", NameRequired: "Ім'я є обов'язковим", EmailPlaceholder: "Електронна пошта", EmailRequired: "Електронна пошта є обов'язковою", EmailInvalid: "Невірний формат електронної пошти", AcceptTermsAndConditions: "Прийняти умови та положення", AcceptTermsAndConditionsError: "Ви повинні прийняти умови та положення", TermsAndConditionsText: "Натискаючи цю галочку, ви погоджуєтесь з", TermsAndConditionsLink: "умовами та положеннями", RememberMe: "Запам'ятати мене", RememberMeText: "Це мій приватний пристрій", Next: "Далі" }, Ui = "Опонента(ів) для чату не знайдено", yi = "Інформація", Di = { GetSummary: "Отримати резюме", ChangeMessageTone: "Змінити тон повідомлення", SummaryMessageTitle: "Тільки ти можеш бачити це повідомлення", forLast7Days: "за останні 7 днів", forLastDay: "за останній день", forUnreads: "для непрочитаних", MessageTone: "Змінити тон повідомлення", EmptyMessageTone: "Неможливо змінити тон пустого повідомлення", positive: "позитивний", negative: "негативний", cringe: "крінж" }, Ti = { RejectedIncoming: "Відхилений вхідний", RejectedOutgoing: "Відхилений вихідний", Unanswered: "Неприйнятий", Missed: "Пропущений", Canceled: "Скасований", Ended: "Завершений", videoCall: "відео виклик", audioCall: "аудіо виклик", defaultCall: "виклик" }, Ni = "Перетягніть файли сюди", xi = {
204
+ }, sn = "Додати учасників", ln = "Адмін", cn = "пишуть", gn = "Скасувати", mn = "Назва чату", un = "Назва чату є обов'язковою", dn = "Чат", wn = "Чати", Mn = "Оберіть чат", pn = "Продовжити", En = "Створити груповий чат", hn = "Видалити", Bn = "Чернетка", kn = "Введіть повідомлення", Cn = "Введіть ім'я користувача", In = "Вийти з чату", Sn = "Ви впевнені, що хочете вийти з цього чату?", Qn = "Формат файлу не підтримується", fn = "пише", Un = "я", yn = "Учасники", Dn = "учасники", Tn = "Нова група", Nn = "Нове повідомлення", xn = "Почніть свою першу розмову та подивіться, що станеться!", Gn = "Поки що немає повідомлень", bn = "Немає онлайн-користувачів", vn = "Профіль", Yn = "Видалити учасників", Fn = "Скинути", Kn = "Пошук", Rn = "Вибрати", zn = "Надіслати", Jn = "Розпочати чат", Ln = "Новий чат з користувачем", jn = "Нова група", On = "друкує", Wn = "Користувачі", Zn = "ви", Pn = "Відео", Hn = "Виклик", Xn = "Заблокувати", $n = "Розблокувати", _n = "Поскаржитися", qi = "Поскаржитися на користувача", Ai = "Що не так з цим користувачем?", Vi = "Підстава", ei = "Звіт поданий успішно", ti = "Помилка при поданні звіту", ai = "Мій профіль", oi = "Цей користувача вас заблокував", ri = "Список заблокованих", ni = "Додати до списку заблокованих", ii = "Видалити зі списку заблокованих", si = "Список заблокованих порожній", li = "Налаштування сповіщень", ci = "Сповіщення", gi = "Звук сповіщення", mi = "Push-сповіщення", ui = "Будь ласка, зачекайте", di = "Присутній", wi = "Зайнятий", Mi = "Відсутній", pi = "В мережі", Ei = "Вхідний виклик", hi = "Вхідний аудіо виклик від {{name}}", Bi = "Вхідний відео виклик від {{name}}", ki = "Прийняти", Ci = "Відхилити", Ii = "{{name}} відхилив виклик", Si = "Пропущений виклик від {{name}}", Qi = { Login: "Логін", Password: "Пароль", Register: "Зареєструвати", Registration: "Реєстрація", LoginRequired: "Логін є обов'язковим", LoginMinLimit: "Логін має містити щонайменше {{limit}} символів", LoginMaxLimit: "Логін має містити не більше {{limit}} символів", PasswordRequired: "Пароль є обов'язковим", PasswordMinLimit: "Пароль має містити щонайменше {{limit}} символів", PasswordMaxLimit: "Пароль має містити не більше {{limit}} символів", LoginDescription: "Введіть ваш логін та пароль для доступу до акаунту", RegisterDescription: "Заповніть форму нижче для реєстрації", "ToRegister?": "Ще не маєте акаунту?", "ToLogin?": "Вже маєте акаунт?" }, fi = { Title: "Введіть свою електронну пошту, щоб почати чат", Subtitle: "Ми не будемо передавати вашу електронну пошту. Ваша електронна пошта використовується виключно для зв'язку з вами", NamePlaceholder: "Ім'я", NameRequired: "Ім'я є обов'язковим", EmailPlaceholder: "Електронна пошта", EmailRequired: "Електронна пошта є обов'язковою", EmailInvalid: "Невірний формат електронної пошти", AcceptTermsAndConditions: "Прийняти умови та положення", AcceptTermsAndConditionsError: "Ви повинні прийняти умови та положення", TermsAndConditionsText: "Натискаючи цю галочку, ви погоджуєтесь з", TermsAndConditionsLink: "умовами та положеннями", RememberMe: "Запам'ятати мене", RememberMeText: "Це мій приватний пристрій", Next: "Далі" }, Ui = "Опонента(ів) для чату не знайдено", yi = "Інформація", Di = { GetSummary: "Отримати резюме", ChangeMessageTone: "Змінити тон повідомлення", SummaryMessageTitle: "Тільки ти можеш бачити це повідомлення", forLast7Days: "за останні 7 днів", forLastDay: "за останній день", forUnreads: "для непрочитаних", MessageTone: "Змінити тон повідомлення", EmptyMessageTone: "Неможливо змінити тон пустого повідомлення", positive: "позитивний", negative: "негативний", cringe: "крінж" }, Ti = { RejectedIncoming: "Відхилений вхідний", RejectedOutgoing: "Відхилений вихідний", Unanswered: "Неприйнятий", Missed: "Пропущений", Canceled: "Скасований", Ended: "Завершений", videoCall: "відео виклик", audioCall: "аудіо виклик", defaultCall: "виклик" }, Ni = "Перетягніть файли сюди", xi = {
205
205
  AddMembers: sn,
206
206
  Admin: ln,
207
207
  areTyping: cn,
@@ -212,14 +212,14 @@ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "
212
212
  Chats: wn,
213
213
  ChooseChat: Mn,
214
214
  Continue: pn,
215
- CreateGroupChat: hn,
216
- Delete: En,
215
+ CreateGroupChat: En,
216
+ Delete: hn,
217
217
  Draft: Bn,
218
218
  EnterMessage: kn,
219
219
  EnterUserName: Cn,
220
220
  ExitChat: In,
221
- ExitChatConfirm: Qn,
222
- FileTypeNotSupported: Sn,
221
+ ExitChatConfirm: Sn,
222
+ FileTypeNotSupported: Qn,
223
223
  isTyping: fn,
224
224
  me: Un,
225
225
  Members: yn,
@@ -237,8 +237,8 @@ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "
237
237
  Select: Rn,
238
238
  Send: zn,
239
239
  StartChat: Jn,
240
- NewUserChatDialogTitle: jn,
241
- NewGroupChatDialogTitle: Ln,
240
+ NewUserChatDialogTitle: Ln,
241
+ NewGroupChatDialogTitle: jn,
242
242
  typing: On,
243
243
  Users: Wn,
244
244
  you: Zn,
@@ -269,21 +269,21 @@ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "
269
269
  Busy: wi,
270
270
  Away: Mi,
271
271
  Online: pi,
272
- IncomingCall: hi,
273
- IncomingAudioCall: Ei,
272
+ IncomingCall: Ei,
273
+ IncomingAudioCall: hi,
274
274
  IncomingVideoCall: Bi,
275
275
  Accept: ki,
276
276
  Reject: Ci,
277
277
  RejectedCall: Ii,
278
- MissedCall: Qi,
279
- AuthForm: Si,
278
+ MissedCall: Si,
279
+ AuthForm: Qi,
280
280
  SingleViewForm: fi,
281
281
  SingleViewChatError: Ui,
282
282
  Information: yi,
283
283
  AI: Di,
284
284
  CallHistory: Ti,
285
285
  DragAndDrop: Ni
286
- }, Gi = "Añadir miembros", bi = "Administrador", vi = "están escribiendo", Yi = "Cancelar", Fi = "Nombre del chat", Ki = "El nombre del chat es obligatorio", Ri = "Chat", zi = "Chats", Ji = "Elegir un chat", ji = "Continuar", Li = "Crear chat de grupo", Oi = "Eliminar", Wi = "Borrador", Zi = "Escribe un mensaje", Pi = "Introduce el nombre de usuario", Hi = "Salir del chat", Xi = "¿Estás seguro de que quieres salir de este chat?", $i = "El formato de archivo no es compatible", _i = "está escribiendo", qs = "yo", As = "Miembros", Vs = "miembros", es = "Nuevo grupo", ts = "Nuevo mensaje", as = "¡Inicia tu primer chat y mira qué pasa!", os = "Aún no hay mensajes", rs = "No hay usuarios en línea", ns = "Perfil", is = "Eliminar miembros", ss = "Restablecer", ls = "Buscar", cs = "Seleccionar", gs = "Enviar", ms = "Iniciar chat", us = "Enviar mensaje al usuario", ds = "Iniciar un nuevo grupo", ws = "escribiendo", Ms = "Usuarios", ps = "tú", hs = "Vídeo", Es = "Llamada", Bs = "Bloquear", ks = "Desbloquear", Cs = "Reportar", Is = "Reportar usuario", Qs = "¿Qué ocurre con este usuario?", Ss = "Motivo del reporte", fs = "El reporte se ha creado correctamente", Us = "Error al enviar el reporte", ys = "Mi perfil", Ds = "Este usuario te ha bloqueado", Ts = "Lista de bloqueados", Ns = "Añadir a la lista de bloqueados", xs = "Eliminar de la lista de bloqueados", Gs = "La lista de bloqueados está vacía", bs = "Configuración de notificaciones", vs = "Notificaciones", Ys = "Sonido de notificación", Fs = "Notificaciones push", Ks = "Por favor, espera", Rs = "Disponible", zs = "Ocupado", Js = "Ausente", js = "En línea", Ls = "Llamada entrante", Os = "Llamada de audio entrante de {{name}}", Ws = "Llamada de vídeo entrante de {{name}}", Zs = "Aceptar", Ps = "Rechazar", Hs = "{{name}} rechazó la llamada", Xs = "Llamada perdida de {{name}}", $s = { Login: "Iniciar sesión", Password: "Contraseña", Register: "Registrarse", Registration: "Registro", LoginRequired: "El usuario es obligatorio", LoginMinLimit: "El usuario debe tener al menos {{limit}} caracteres", LoginMaxLimit: "El usuario debe tener como máximo {{limit}} caracteres", PasswordRequired: "La contraseña es obligatoria", PasswordMinLimit: "La contraseña debe tener al menos {{limit}} caracteres", PasswordMaxLimit: "La contraseña debe tener como máximo {{limit}} caracteres", LoginDescription: "Introduce tu usuario y contraseña para acceder a tu cuenta", RegisterDescription: "Rellena el formulario para registrarte", "ToRegister?": "¿No tienes una cuenta?", "ToLogin?": "¿Ya tienes una cuenta?" }, _s = { Title: "Envía tus datos de contacto para iniciar un chat", Subtitle: "No compartiremos tu dirección de correo electrónico. Se utilizará únicamente para contactarte", NamePlaceholder: "Nombre", NameRequired: "El nombre es obligatorio", EmailPlaceholder: "Correo electrónico", EmailRequired: "El correo electrónico es obligatorio", EmailInvalid: "Formato de correo electrónico no válido", AcceptTermsAndConditions: "Aceptar términos y condiciones", AcceptTermsAndConditionsError: "Debes aceptar los términos y condiciones", TermsAndConditionsText: "Al marcar esta casilla, aceptas los", TermsAndConditionsLink: "términos y condiciones", RememberMe: "Recordarme", RememberMeText: "Este es mi dispositivo privado", Next: "Siguiente" }, ql = "No se encontraron los participantes del chat", Al = "Información", Vl = { GetSummary: "Obtener resumen", ChangeMessageTone: "Cambiar el tono del mensaje", SummaryMessageTitle: "Solo tú puedes ver este mensaje", forLast7Days: "de los últimos 7 días", forLastDay: "del último día", forUnreads: "de los no leídos", MessageTone: "Cambiar tono del mensaje", EmptyMessageTone: "No se puede cambiar el tono de un mensaje vacío", positive: "positivo", negative: "negativo", cringe: "vergonzoso" }, el = { RejectedIncoming: "Entrante rechazada", RejectedOutgoing: "Saliente rechazada", Unanswered: "No respondida", Missed: "Perdida", Canceled: "Cancelada", Ended: "Finalizada", videoCall: "videollamada", audioCall: "llamada de audio", defaultCall: "llamada" }, tl = "Suelta los archivos aquí", al = {
286
+ }, Gi = "Añadir miembros", bi = "Administrador", vi = "están escribiendo", Yi = "Cancelar", Fi = "Nombre del chat", Ki = "El nombre del chat es obligatorio", Ri = "Chat", zi = "Chats", Ji = "Elegir un chat", Li = "Continuar", ji = "Crear chat de grupo", Oi = "Eliminar", Wi = "Borrador", Zi = "Escribe un mensaje", Pi = "Introduce el nombre de usuario", Hi = "Salir del chat", Xi = "¿Estás seguro de que quieres salir de este chat?", $i = "El formato de archivo no es compatible", _i = "está escribiendo", qs = "yo", As = "Miembros", Vs = "miembros", es = "Nuevo grupo", ts = "Nuevo mensaje", as = "¡Inicia tu primer chat y mira qué pasa!", os = "Aún no hay mensajes", rs = "No hay usuarios en línea", ns = "Perfil", is = "Eliminar miembros", ss = "Restablecer", ls = "Buscar", cs = "Seleccionar", gs = "Enviar", ms = "Iniciar chat", us = "Enviar mensaje al usuario", ds = "Iniciar un nuevo grupo", ws = "escribiendo", Ms = "Usuarios", ps = "tú", Es = "Vídeo", hs = "Llamada", Bs = "Bloquear", ks = "Desbloquear", Cs = "Reportar", Is = "Reportar usuario", Ss = "¿Qué ocurre con este usuario?", Qs = "Motivo del reporte", fs = "El reporte se ha creado correctamente", Us = "Error al enviar el reporte", ys = "Mi perfil", Ds = "Este usuario te ha bloqueado", Ts = "Lista de bloqueados", Ns = "Añadir a la lista de bloqueados", xs = "Eliminar de la lista de bloqueados", Gs = "La lista de bloqueados está vacía", bs = "Configuración de notificaciones", vs = "Notificaciones", Ys = "Sonido de notificación", Fs = "Notificaciones push", Ks = "Por favor, espera", Rs = "Disponible", zs = "Ocupado", Js = "Ausente", Ls = "En línea", js = "Llamada entrante", Os = "Llamada de audio entrante de {{name}}", Ws = "Llamada de vídeo entrante de {{name}}", Zs = "Aceptar", Ps = "Rechazar", Hs = "{{name}} rechazó la llamada", Xs = "Llamada perdida de {{name}}", $s = { Login: "Iniciar sesión", Password: "Contraseña", Register: "Registrarse", Registration: "Registro", LoginRequired: "El usuario es obligatorio", LoginMinLimit: "El usuario debe tener al menos {{limit}} caracteres", LoginMaxLimit: "El usuario debe tener como máximo {{limit}} caracteres", PasswordRequired: "La contraseña es obligatoria", PasswordMinLimit: "La contraseña debe tener al menos {{limit}} caracteres", PasswordMaxLimit: "La contraseña debe tener como máximo {{limit}} caracteres", LoginDescription: "Introduce tu usuario y contraseña para acceder a tu cuenta", RegisterDescription: "Rellena el formulario para registrarte", "ToRegister?": "¿No tienes una cuenta?", "ToLogin?": "¿Ya tienes una cuenta?" }, _s = { Title: "Envía tus datos de contacto para iniciar un chat", Subtitle: "No compartiremos tu dirección de correo electrónico. Se utilizará únicamente para contactarte", NamePlaceholder: "Nombre", NameRequired: "El nombre es obligatorio", EmailPlaceholder: "Correo electrónico", EmailRequired: "El correo electrónico es obligatorio", EmailInvalid: "Formato de correo electrónico no válido", AcceptTermsAndConditions: "Aceptar términos y condiciones", AcceptTermsAndConditionsError: "Debes aceptar los términos y condiciones", TermsAndConditionsText: "Al marcar esta casilla, aceptas los", TermsAndConditionsLink: "términos y condiciones", RememberMe: "Recordarme", RememberMeText: "Este es mi dispositivo privado", Next: "Siguiente" }, ql = "No se encontraron los participantes del chat", Al = "Información", Vl = { GetSummary: "Obtener resumen", ChangeMessageTone: "Cambiar el tono del mensaje", SummaryMessageTitle: "Solo tú puedes ver este mensaje", forLast7Days: "de los últimos 7 días", forLastDay: "del último día", forUnreads: "de los no leídos", MessageTone: "Cambiar tono del mensaje", EmptyMessageTone: "No se puede cambiar el tono de un mensaje vacío", positive: "positivo", negative: "negativo", cringe: "vergonzoso" }, el = { RejectedIncoming: "Entrante rechazada", RejectedOutgoing: "Saliente rechazada", Unanswered: "No respondida", Missed: "Perdida", Canceled: "Cancelada", Ended: "Finalizada", videoCall: "videollamada", audioCall: "llamada de audio", defaultCall: "llamada" }, tl = "Suelta los archivos aquí", al = {
287
287
  AddMembers: Gi,
288
288
  Admin: bi,
289
289
  areTyping: vi,
@@ -293,8 +293,8 @@ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "
293
293
  Chat: Ri,
294
294
  Chats: zi,
295
295
  ChooseChat: Ji,
296
- Continue: ji,
297
- CreateGroupChat: Li,
296
+ Continue: Li,
297
+ CreateGroupChat: ji,
298
298
  Delete: Oi,
299
299
  Draft: Wi,
300
300
  EnterMessage: Zi,
@@ -324,14 +324,14 @@ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "
324
324
  typing: ws,
325
325
  Users: Ms,
326
326
  you: ps,
327
- Video: hs,
328
- Call: Es,
327
+ Video: Es,
328
+ Call: hs,
329
329
  Block: Bs,
330
330
  UnBlock: ks,
331
331
  Report: Cs,
332
332
  ReportUser: Is,
333
- WhatsWrongWithThisUser: Qs,
334
- ProvideReason: Ss,
333
+ WhatsWrongWithThisUser: Ss,
334
+ ProvideReason: Qs,
335
335
  ReportCreatedSuccessfully: fs,
336
336
  ReportSubmitFailed: Us,
337
337
  MyProfile: ys,
@@ -350,8 +350,8 @@ const ca = "Add members", ga = "Admin", ma = "are typing", ua = "Cancel", da = "
350
350
  Available: Rs,
351
351
  Busy: zs,
352
352
  Away: Js,
353
- Online: js,
354
- IncomingCall: Ls,
353
+ Online: Ls,
354
+ IncomingCall: js,
355
355
  IncomingAudioCall: Os,
356
356
  IncomingVideoCall: Ws,
357
357
  Accept: Zs,
@@ -406,7 +406,7 @@ const CV = {
406
406
  hideAlertBusy: () => q({ visible: !1, title: ZA.title })
407
407
  })), nl = () => {
408
408
  kA.setState({ visible: !1, title: ZA.title });
409
- }, il = {}, {
409
+ }, il = { CHAT_WIDGET_CONNECTYCUBE_SINGLE_VIEW_CHAT_EXTERNAL_ID: "EXTERNAL-id-012345", CHAT_WIDGET_CONNECTYCUBE_SINGLE_VIEW_CHAT_NAME: "Test Store Name - PROD", CHAT_WIDGET_CONNECTYCUBE_SINGLE_VIEW_CHAT_OPPONENTS_IDS: "4Ja3BiEWTo,bfoosyJijU,o8k9iLdYiI", CHAT_WIDGET_CONNECTYCUBE_SINGLE_VIEW_CHAT_PHOTO: "/logo.png" }, {
410
410
  CHAT_WIDGET_CONNECTYCUBE_SINGLE_VIEW_CHAT_EXTERNAL_ID: sl,
411
411
  CHAT_WIDGET_CONNECTYCUBE_SINGLE_VIEW_CHAT_NAME: ll,
412
412
  CHAT_WIDGET_CONNECTYCUBE_SINGLE_VIEW_CHAT_PHOTO: cl,
@@ -491,8 +491,8 @@ const Wq = {
491
491
  } catch (q) {
492
492
  console.error("Could not clear state from localStorage", q);
493
493
  }
494
- }, jA = Ml(), IA = _((q) => ({
495
- draftMessages: jA,
494
+ }, LA = Ml(), IA = _((q) => ({
495
+ draftMessages: LA,
496
496
  setDraftMessages: (A) => {
497
497
  q({ draftMessages: A }), cA(A);
498
498
  },
@@ -509,13 +509,13 @@ const Wq = {
509
509
  });
510
510
  },
511
511
  resetDraftMessages: () => {
512
- q({ draftMessages: jA }), cA(jA);
512
+ q({ draftMessages: LA }), cA(LA);
513
513
  }
514
- })), hl = () => {
514
+ })), El = () => {
515
515
  pl(), IA.setState({ draftMessages: {} });
516
516
  };
517
517
  var $ = /* @__PURE__ */ ((q) => (q.AVAILABLE = "available", q.AWAY = "away", q.BUSY = "busy", q.UNKNOWN = "unknown", q))($ || {}), WV = /* @__PURE__ */ ((q) => (q.UPDATE_USER = "user/UPDATE", q))(WV || {});
518
- const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:guest", HA = "@connectycube/chat-widget:rememberMe", IV = "widget_", El = async (q) => {
518
+ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:guest", HA = "@connectycube/chat-widget:rememberMe", IV = "widget_", hl = async (q) => {
519
519
  const A = !ee();
520
520
  if (A) {
521
521
  const V = Dq();
@@ -524,15 +524,15 @@ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:
524
524
  return A;
525
525
  }, ZV = async () => {
526
526
  const A = Dq()?.user?.login, V = typeof A == "string" && (await te(A)).substring(0, 32);
527
- return A && V ? await QA(A, V) : null;
528
- }, QA = async (q, A) => {
527
+ return A && V ? await SA(A, V) : null;
528
+ }, SA = async (q, A) => {
529
529
  const V = await aq.createSession({ login: q, password: A });
530
- return SA(V, oA()), V;
530
+ return QA(V, oA()), V;
531
531
  }, PV = async (q) => {
532
532
  const A = Il(q?.userId), V = (await te(A)).substring(0, 32);
533
533
  let e;
534
534
  try {
535
- e = await QA(A, V), await _V(e, q);
535
+ e = await SA(A, V), await _V(e, q);
536
536
  } catch (o) {
537
537
  if (o?.code === 404)
538
538
  e = await $V(A, V, q);
@@ -551,7 +551,7 @@ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:
551
551
  return q || null;
552
552
  }, $V = async (q, A, V) => {
553
553
  const e = { login: q, password: A, full_name: V?.userName || q };
554
- return V?.userId && (e.external_id = V.userId.toString()), V?.userEmail && (e.email = V.userEmail), V?.userAvatar && (e.avatar = V.userAvatar), V?.userProfileLink && (e.website = V.userProfileLink), await aq.users.signup(e), QA(q, A);
554
+ return V?.userId && (e.external_id = V.userId.toString()), V?.userEmail && (e.email = V.userEmail), V?.userAvatar && (e.avatar = V.userAvatar), V?.userProfileLink && (e.website = V.userProfileLink), await aq.users.signup(e), SA(q, A);
555
555
  }, Bl = (q = {}) => aq.service?.sdkInstance?.config?.set?.(q), XA = async (q, A) => {
556
556
  const V = A?.user_id ?? Ve(), e = A?.token ?? kl(), o = V && e ? { userId: V, password: e } : null;
557
557
  return o ? q(o) : Promise.reject(new Error("[useConnectyCube.connect] Missing userId and password"));
@@ -559,10 +559,10 @@ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:
559
559
  const V = {};
560
560
  if (A?.userId && q?.user?.external_id !== A.userId.toString() && (V.external_id = A.userId.toString()), A?.userName && q?.user?.full_name !== A.userName && (V.full_name = A.userName), A?.userEmail && q?.user?.email !== A.userEmail && (V.email = A.userEmail), A?.userAvatar && q?.user?.avatar !== A.userAvatar && (V.avatar = A.userAvatar), A?.userProfileLink && q?.user?.website !== A.userProfileLink && (V.website = A.userProfileLink), Object.keys(V).length > 0) {
561
561
  const { user: e } = await aq.users.update(V);
562
- e && (q.user = e, SA(q, oA()));
562
+ e && (q.user = e, QA(q, oA()));
563
563
  }
564
564
  return q;
565
- }, SA = (q, A = !1) => {
565
+ }, QA = (q, A = !1) => {
566
566
  lq() && !A && localStorage.setItem(eV, JSON.stringify(q));
567
567
  }, Dq = () => {
568
568
  const q = lq() && localStorage.getItem(eV);
@@ -586,7 +586,7 @@ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:
586
586
  }, aA = (q) => qe(q || Tq())?.userStatus ?? "available", gA = async (q, A = !1) => {
587
587
  const V = Ae(), e = Object.assign({}, V, q), o = JSON.stringify(e), r = Dq();
588
588
  let n = Tq();
589
- return n && A ? n = { ...n, custom_data: o } : n = (await aq.users.update({ custom_data: o })).user, r && SA({ ...r, user: n }, oA()), n;
589
+ return n && A ? n = { ...n, custom_data: o } : n = (await aq.users.update({ custom_data: o })).user, r && QA({ ...r, user: n }, oA()), n;
590
590
  }, kl = () => {
591
591
  const q = Dq();
592
592
  return q ? q.token : null;
@@ -608,7 +608,7 @@ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:
608
608
  V = new Uint8Array(A.length).map(() => Math.random() * 256 | 0).buffer;
609
609
  }
610
610
  return Array.from(new Uint8Array(V)).map((e) => e.toString(16).padStart(2, "0")).join("");
611
- }, Vq = (q, A = !0) => q ? q.full_name || q.login || `Unknown:${q.id}` : A ? "Unknown" : "", pq = (q) => q ? /^(https?:\/\/|\/|\.\/|\.\.\/)/.test(q) ? q : aq.storage.privateUrl(q) : "", Il = (q) => q ? `${IV}${q}` : `${IV}${Math.random().toString(36).substring(2, 14)}`, Ql = async (q, A) => aq.data.create("UserReports", { reportedUserId: q, reason: A }), Sl = async (q) => {
611
+ }, Vq = (q, A = !0) => q ? q.full_name || q.login || `Unknown:${q.id}` : A ? "Unknown" : "", pq = (q) => q ? /^(https?:\/\/|\/|\.\/|\.\.\/)/.test(q) ? q : aq.storage.privateUrl(q) : "", Il = (q) => q ? `${IV}${q}` : `${IV}${Math.random().toString(36).substring(2, 14)}`, Sl = async (q, A) => aq.data.create("UserReports", { reportedUserId: q, reason: A }), Ql = async (q) => {
612
612
  const A = await Mt(), V = Ve(), e = btoa(`${V}:${A}`), { endpoint: o, auth: r, p256dh: n } = q ?? {};
613
613
  if (o && r && n && e)
614
614
  return aq.pushnotifications.subscriptions.create({
@@ -633,7 +633,7 @@ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:
633
633
  lq() && (q ? localStorage.setItem(HA, "1") : localStorage.removeItem(HA));
634
634
  }, Dl = (q = !1) => {
635
635
  lq() && (q ? localStorage.setItem(PA, "1") : localStorage.removeItem(PA));
636
- }, Tl = () => lq() ? !!localStorage.getItem(HA) : !1, Nl = () => lq() ? !!localStorage.getItem(PA) : !1, oA = () => Nl() && !Tl(), xl = {}, { CHAT_WIDGET_CONNECTYCUBE_TERMS_AND_CONDITIONS: Gl } = xl || process.env, R = {
636
+ }, Tl = () => lq() ? !!localStorage.getItem(HA) : !1, Nl = () => lq() ? !!localStorage.getItem(PA) : !1, oA = () => Nl() && !Tl(), xl = { CHAT_WIDGET_CONNECTYCUBE_TERMS_AND_CONDITIONS: "https://connectycube.com/terms-of-use/" }, { CHAT_WIDGET_CONNECTYCUBE_TERMS_AND_CONDITIONS: Gl } = xl || process.env, R = {
637
637
  userAuthorized: !1,
638
638
  attachmentsAccept: "*/*",
639
639
  enableUserLogin: !1,
@@ -673,7 +673,7 @@ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:
673
673
  q.limitUrlsPreviews && (q.limitUrlsPreviews = q.limitUrlsPreviews > 5 ? 5 : q.limitUrlsPreviews), J.setState(q);
674
674
  }, bl = () => {
675
675
  J.setState(R);
676
- }, vl = {}, { CHAT_WIDGET_CONNECTYCUBE_WEB_PUSH_VAPID_PUBLIC_KEY: Yl, CHAT_WIDGET_CONNECTYCUBE_WEB_PUSH_SERVICE_WORKER_PATH: Fl } = vl || process.env, rq = {
676
+ }, vl = { CHAT_WIDGET_CONNECTYCUBE_WEB_PUSH_SERVICE_WORKER_PATH: "/connectycube-chat-widget-sw.js", CHAT_WIDGET_CONNECTYCUBE_WEB_PUSH_VAPID_PUBLIC_KEY: "BGzym4pVV8NX8I186AY7nFufNJabnGndKRB8rm5-8S5UH8ME_WNGOprIt5vvFCocwYvLybC8cg2KhuQfploiP2Q" }, { CHAT_WIDGET_CONNECTYCUBE_WEB_PUSH_VAPID_PUBLIC_KEY: Yl, CHAT_WIDGET_CONNECTYCUBE_WEB_PUSH_SERVICE_WORKER_PATH: Fl } = vl || process.env, rq = {
677
677
  muted: !1,
678
678
  showNotifications: !1,
679
679
  playSound: !0,
@@ -732,7 +732,7 @@ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:
732
732
  resetRequestOnlineUsersInterval: () => q({ requestOnlineUsersInterval: Cq.requestOnlineUsersInterval }),
733
733
  resetEnableOnlineUsersBadge: () => q({ enableOnlineUsersBadge: Cq.enableOnlineUsersBadge }),
734
734
  resetOnlineUsersCount: () => q({ onlineUsersCount: Cq.onlineUsersCount })
735
- })), jl = () => {
735
+ })), Ll = () => {
736
736
  rA.setState({ onlineUsersCount: 0 });
737
737
  }, oe = {
738
738
  fetchedCount: 0,
@@ -765,7 +765,7 @@ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:
765
765
  const e = J.getState().limitUrlsPreviews;
766
766
  return (V.match(/https?:\/\/[^\s]+/g) || []).slice(0, e);
767
767
  }
768
- })), Ll = () => {
768
+ })), jl = () => {
769
769
  oV.setState(oe);
770
770
  }, nA = _((q) => ({
771
771
  visible: !1,
@@ -834,7 +834,7 @@ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:
834
834
  try {
835
835
  if (q) {
836
836
  const o = await ie(A, V), r = Pl(o);
837
- await Sl(r), e = !0;
837
+ await Ql(r), e = !0;
838
838
  } else
839
839
  await Hl(A), await fl();
840
840
  } catch (o) {
@@ -844,7 +844,7 @@ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:
844
844
  }, ce = async () => {
845
845
  const q = se(), A = await le(q.isPushNotifications);
846
846
  Pq.setState({ ...q, isPushNotifications: A });
847
- }, $l = {}, { CHAT_WIDGET_CONNECTYCUBE_GOOGLE_GENERATIVE_AI_API_KEY: _l } = $l || process.env, _q = {
847
+ }, $l = { CHAT_WIDGET_CONNECTYCUBE_GOOGLE_GENERATIVE_AI_API_KEY: "AIzaSyAPUOq_apIEVQc0bhh_FC9Xaoup3zgiq_0" }, { CHAT_WIDGET_CONNECTYCUBE_GOOGLE_GENERATIVE_AI_API_KEY: _l } = $l || process.env, _q = {
848
848
  changeMessageTone: !1,
849
849
  textSummarization: !1,
850
850
  apiKey: _l
@@ -871,9 +871,9 @@ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:
871
871
  }, Ac = ({ creds: q, config: A = {}, user: V = {}, enableUserLogin: e }) => {
872
872
  const o = W(!1), r = Object.assign(qc, A), n = X((s) => s.singleView), i = J((s) => s.setUserAuthorized);
873
873
  Dl(n), U(() => {
874
- o.current || (o.current = !0, dt(q, r), ae({ userAuthorized: !ee() }), !e && Cl(V.userId) ? (console.info(`[useAppAuthorization] user changed to id: ${V.userId}, name: ${V.userName}`), tV(), i(!1)) : El(V));
874
+ o.current || (o.current = !0, dt(q, r), ae({ userAuthorized: !ee() }), !e && Cl(V.userId) ? (console.info(`[useAppAuthorization] user changed to id: ${V.userId}, name: ${V.userName}`), tV(), i(!1)) : hl(V));
875
875
  }, []);
876
- }, QV = (q) => Symbol.iterator in q, SV = (q) => (
876
+ }, SV = (q) => Symbol.iterator in q, QV = (q) => (
877
877
  // HACK: avoid checking entries type
878
878
  "entries" in q
879
879
  ), fV = (q, A) => {
@@ -895,7 +895,7 @@ const eV = "@connectycube/chat-widget:session", PA = "@connectycube/chat-widget:
895
895
  return !!o.done && !!r.done;
896
896
  };
897
897
  function ec(q, A) {
898
- return Object.is(q, A) ? !0 : typeof q != "object" || q === null || typeof A != "object" || A === null || Object.getPrototypeOf(q) !== Object.getPrototypeOf(A) ? !1 : QV(q) && QV(A) ? SV(q) && SV(A) ? fV(q, A) : Vc(q, A) : fV(
898
+ return Object.is(q, A) ? !0 : typeof q != "object" || q === null || typeof A != "object" || A === null || Object.getPrototypeOf(q) !== Object.getPrototypeOf(A) ? !1 : SV(q) && SV(A) ? QV(q) && QV(A) ? fV(q, A) : Vc(q, A) : fV(
899
899
  { entries: () => Object.entries(q) },
900
900
  { entries: () => Object.entries(A) }
901
901
  );
@@ -928,15 +928,15 @@ const tc = ({
928
928
  attachmentsAccept: C = R.attachmentsAccept,
929
929
  enableUserLogin: k = R.enableUserLogin,
930
930
  enableCalls: I = R.enableCalls,
931
- enableUserStatuses: E = R.enableUserStatuses,
931
+ enableUserStatuses: h = R.enableUserStatuses,
932
932
  enableLastSeen: B = R.enableLastSeen,
933
- enableContentReporting: Q = R.enableContentReporting,
933
+ enableContentReporting: S = R.enableContentReporting,
934
934
  enableBlockList: p = R.enableBlockList,
935
935
  enableUrlPreview: T = R.enableUrlPreview,
936
936
  limitUrlsPreviews: f = R.limitUrlsPreviews,
937
937
  termsAndConditions: N = R.termsAndConditions,
938
938
  quickActions: D = MA.quickActions,
939
- defaultChat: S = Wq.defaultChat,
939
+ defaultChat: Q = Wq.defaultChat,
940
940
  singleViewChat: b = Wq.singleViewChat,
941
941
  enableOnlineUsersBadge: Z = Cq.enableOnlineUsersBadge,
942
942
  getOnlineUsersInterval: O = Cq.requestOnlineUsersInterval,
@@ -955,7 +955,7 @@ const tc = ({
955
955
  K.setRequestOnlineUsersInterval,
956
956
  K.setEnableOnlineUsersBadge
957
957
  ])
958
- ), [Aq, dq, hq] = ge(
958
+ ), [Aq, dq, Eq] = ge(
959
959
  x((K) => [K.setChangeMessageTone, K.setTextSummarization, K.setApiKey])
960
960
  ), wq = UA((K) => K.setMessageTransforms);
961
961
  U(() => {
@@ -999,9 +999,9 @@ const tc = ({
999
999
  attachmentsAccept: C,
1000
1000
  enableUserLogin: k,
1001
1001
  enableCalls: I,
1002
- enableUserStatuses: E,
1002
+ enableUserStatuses: h,
1003
1003
  enableLastSeen: B,
1004
- enableContentReporting: Q,
1004
+ enableContentReporting: S,
1005
1005
  enableBlockList: p,
1006
1006
  enableUrlPreview: T,
1007
1007
  limitUrlsPreviews: f,
@@ -1011,9 +1011,9 @@ const tc = ({
1011
1011
  C,
1012
1012
  k,
1013
1013
  I,
1014
- E,
1014
+ h,
1015
1015
  B,
1016
- Q,
1016
+ S,
1017
1017
  p,
1018
1018
  T,
1019
1019
  f,
@@ -1021,15 +1021,15 @@ const tc = ({
1021
1021
  ]), U(() => {
1022
1022
  zl({ quickActions: D });
1023
1023
  }, [D]), U(() => {
1024
- ml({ defaultChat: S, singleViewChat: b });
1025
- }, [S, b]), U(() => {
1024
+ ml({ defaultChat: Q, singleViewChat: b });
1025
+ }, [Q, b]), U(() => {
1026
1026
  Hq(O);
1027
1027
  }, [O, Hq]), U(() => {
1028
1028
  y(Z);
1029
1029
  }, [Z, y]), U(() => {
1030
- const { changeMessageTone: K, textSummarization: jq, apiKey: bq } = Y;
1031
- typeof K == "boolean" && Aq(K), typeof jq == "boolean" && dq(jq), typeof bq == "string" && hq(bq);
1032
- }, [Y, Aq, dq, hq]), U(() => {
1030
+ const { changeMessageTone: K, textSummarization: Lq, apiKey: bq } = Y;
1031
+ typeof K == "boolean" && Aq(K), typeof Lq == "boolean" && dq(Lq), typeof bq == "string" && Eq(bq);
1032
+ }, [Y, Aq, dq, Eq]), U(() => {
1033
1033
  qq?.(sA);
1034
1034
  }, [sA, qq]), U(() => {
1035
1035
  mq?.(Jq);
@@ -1088,8 +1088,8 @@ function me() {
1088
1088
  } = v(), [s, c, l] = rc(
1089
1089
  x((d) => [d.startCallDate, d.setStartCallDate, d.resetStartCallDate])
1090
1090
  ), g = (d, C, k) => {
1091
- const I = s ? Math.floor((Date.now() - s) / 1e3) : 0, E = { callHistory: !0, callType: k, duration: I };
1092
- C ? A(d, C, E) : q(d, void 0, E), l();
1091
+ const I = s ? Math.floor((Date.now() - s) / 1e3) : 0, h = { callHistory: !0, callType: k, duration: I };
1092
+ C ? A(d, C, h) : q(d, void 0, h), l();
1093
1093
  }, m = () => {
1094
1094
  c();
1095
1095
  }, u = (d) => {
@@ -1175,36 +1175,36 @@ function ue() {
1175
1175
  r,
1176
1176
  n
1177
1177
  ] = Fq(
1178
- x((E) => [
1179
- E.muted,
1180
- E.showNotifications,
1181
- E.serviceWorkerPath,
1182
- E.webPushVapidPublicKey,
1183
- E.webPushNotifications,
1184
- E.setShowNotifications,
1185
- E.setWebPushNotifications
1178
+ x((h) => [
1179
+ h.muted,
1180
+ h.showNotifications,
1181
+ h.serviceWorkerPath,
1182
+ h.webPushVapidPublicKey,
1183
+ h.webPushNotifications,
1184
+ h.setShowNotifications,
1185
+ h.setWebPushNotifications
1186
1186
  ])
1187
- ), i = J((E) => E.enableUserStatuses), [s, c] = Pq(
1188
- x((E) => [E.userStatus, E.isNotifications])
1189
- ), l = i && (s === $.BUSY || s === $.AWAY), g = q || l, { users: m, dialogs: u, fetchDialogs: M } = v(), w = yA(ic), d = async (E) => u.find(({ _id: B }) => B === E) ?? (await M({ _id: E }))?.[0], C = async (E = "", B = "", Q = "/logo.png") => {
1187
+ ), i = J((h) => h.enableUserStatuses), [s, c] = Pq(
1188
+ x((h) => [h.userStatus, h.isNotifications])
1189
+ ), l = i && (s === $.BUSY || s === $.AWAY), g = q || l, { users: m, dialogs: u, fetchDialogs: M } = v(), w = yA(ic), d = async (h) => u.find(({ _id: B }) => B === h) ?? (await M({ _id: h }))?.[0], C = async (h = "", B = "", S = "/logo.png") => {
1190
1190
  if (Notification.permission === "granted") {
1191
1191
  const p = V ? await ne(V) : null;
1192
- return p ? p.showNotification(E, { body: B, icon: Q }) : new Notification(E, { body: B, icon: Q });
1192
+ return p ? p.showNotification(h, { body: B, icon: S }) : new Notification(h, { body: B, icon: S });
1193
1193
  } else
1194
1194
  console.warn("Notifications are disabled");
1195
- }, k = async (E = "", B = "", Q = "/logo.png") => {
1195
+ }, k = async (h = "", B = "", S = "/logo.png") => {
1196
1196
  if (!g && (w.play(), A && c))
1197
- return C(E, B, Q);
1198
- }, I = async (E, { body: B, dialog_id: Q }) => {
1199
- if (typeof Q == "string" && typeof B == "string") {
1200
- const p = await d(Q), T = m[E], f = T?.full_name || T?.login || "Unknown", N = p?.type === 3, D = N ? p?.name || f : `${f} in ${p?.name}`, S = N && T?.avatar || p?.photo || void 0;
1201
- return k(D, B, S);
1197
+ return C(h, B, S);
1198
+ }, I = async (h, { body: B, dialog_id: S }) => {
1199
+ if (typeof S == "string" && typeof B == "string") {
1200
+ const p = await d(S), T = m[h], f = T?.full_name || T?.login || "Unknown", N = p?.type === 3, D = N ? p?.name || f : `${f} in ${p?.name}`, Q = N && T?.avatar || p?.photo || void 0;
1201
+ return k(D, B, Q);
1202
1202
  }
1203
1203
  };
1204
1204
  return U(() => {
1205
- const E = V && e && o;
1206
- !g && (A || E) && Wl().then((B) => {
1207
- B && E ? Zl(V).then(n) : (r(!1), n(!1));
1205
+ const h = V && e && o;
1206
+ !g && (A || h) && Wl().then((B) => {
1207
+ B && h ? Zl(V).then(n) : (r(!1), n(!1));
1208
1208
  });
1209
1209
  }, [
1210
1210
  g,
@@ -1270,7 +1270,7 @@ function de(q, A = !1) {
1270
1270
  }, [q, A, o, e, V, r]);
1271
1271
  }
1272
1272
  const we = (q = !1) => {
1273
- rl(), nl(), hl(), jl(), Ll(), re(), Ol(), ce(), q && (ul(), wl(), bl(), Rl(), Jl());
1273
+ rl(), nl(), El(), Ll(), jl(), re(), Ol(), ce(), q && (ul(), wl(), bl(), Rl(), Jl());
1274
1274
  };
1275
1275
  function F(...q) {
1276
1276
  return RV(KV(q));
@@ -1295,7 +1295,7 @@ function Me(q, A, V, e, o, r, n) {
1295
1295
  extensions: n
1296
1296
  };
1297
1297
  }
1298
- function h(...q) {
1298
+ function E(...q) {
1299
1299
  return RV(KV(q));
1300
1300
  }
1301
1301
  function Kq(q = 8) {
@@ -1336,7 +1336,7 @@ function mc({ asChild: q = !1, variant: A, size: V, className: e, ...o }, r) {
1336
1336
  {
1337
1337
  ref: r,
1338
1338
  ...o,
1339
- className: h(gc({ variant: A, size: V, className: e }), "transition-all ease-out duration-300")
1339
+ className: E(gc({ variant: A, size: V, className: e }), "transition-all ease-out duration-300")
1340
1340
  }
1341
1341
  );
1342
1342
  }
@@ -1387,7 +1387,7 @@ function pc({ className: q, ...A }) {
1387
1387
  }
1388
1388
  );
1389
1389
  }
1390
- function hc({ className: q, ...A }) {
1390
+ function Ec({ className: q, ...A }) {
1391
1391
  return /* @__PURE__ */ a.createElement(
1392
1392
  oq.Title,
1393
1393
  {
@@ -1398,7 +1398,7 @@ function hc({ className: q, ...A }) {
1398
1398
  );
1399
1399
  }
1400
1400
  const gq = ({ loading: q = !1, layout: A = "flow", type: V = "default", ...e }) => {
1401
- const o = V === "circle" ? pt : ht;
1401
+ const o = V === "circle" ? pt : Et;
1402
1402
  if (!q)
1403
1403
  return null;
1404
1404
  const r = /* @__PURE__ */ a.createElement(
@@ -1406,7 +1406,7 @@ const gq = ({ loading: q = !1, layout: A = "flow", type: V = "default", ...e })
1406
1406
  {
1407
1407
  strokeWidth: 2.5,
1408
1408
  ...e,
1409
- className: h("animate-spin text-ring", A === "flow" && "mx-auto", e?.className)
1409
+ className: E("animate-spin text-ring", A === "flow" && "mx-auto", e?.className)
1410
1410
  }
1411
1411
  );
1412
1412
  switch (A) {
@@ -1421,9 +1421,9 @@ const gq = ({ loading: q = !1, layout: A = "flow", type: V = "default", ...e })
1421
1421
  }
1422
1422
  };
1423
1423
  gq.displayName = "Spinner";
1424
- const Ec = () => {
1424
+ const hc = () => {
1425
1425
  const [q, A] = kA(x((V) => [V.visible, V.title]));
1426
- return /* @__PURE__ */ t.createElement(uc, { open: q }, /* @__PURE__ */ t.createElement(Mc, { className: "size-auto" }, /* @__PURE__ */ t.createElement(pc, null, /* @__PURE__ */ t.createElement(hc, { className: "self-center" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center space-x-4" }, /* @__PURE__ */ t.createElement("span", null, A), /* @__PURE__ */ t.createElement(gq, { loading: !0 }))))));
1426
+ return /* @__PURE__ */ t.createElement(uc, { open: q }, /* @__PURE__ */ t.createElement(Mc, { className: "size-auto" }, /* @__PURE__ */ t.createElement(pc, null, /* @__PURE__ */ t.createElement(Ec, { className: "self-center" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center space-x-4" }, /* @__PURE__ */ t.createElement("span", null, A), /* @__PURE__ */ t.createElement(gq, { loading: !0 }))))));
1427
1427
  }, UV = ({ customButton: q }) => {
1428
1428
  const {
1429
1429
  stopCall: A,
@@ -1446,7 +1446,7 @@ const Ec = () => {
1446
1446
  }, [V, A, u]), C = tq(() => {
1447
1447
  m ? e() : o();
1448
1448
  }, [m, o, e]);
1449
- return /* @__PURE__ */ t.createElement("div", { className: "flex flex-row items-center justify-center bg-gray-800 rounded-full p-2 gap-x-4" }, /* @__PURE__ */ t.createElement("button", { onClick: M, className: "bg-gray-600 hover:bg-gray-500 rounded-full p-2" }, s ? /* @__PURE__ */ t.createElement(Et, { className: "text-background" }) : /* @__PURE__ */ t.createElement(WA, { className: "text-background" })), /* @__PURE__ */ t.createElement("button", { onClick: w, className: "bg-gray-600 hover:bg-gray-500 rounded-full p-2" }, g ? /* @__PURE__ */ t.createElement(Bt, { className: "text-background" }) : /* @__PURE__ */ t.createElement(kt, { className: "text-background" })), /* @__PURE__ */ t.createElement("button", { onClick: d, className: "bg-red-600 hover:bg-red-700 rounded-full p-2" }, /* @__PURE__ */ t.createElement(eA, { className: "text-background", style: { transform: "rotate(135deg)" } })), q || /* @__PURE__ */ t.createElement("div", { className: "p-1.5" }, /* @__PURE__ */ t.createElement("div", { className: "size-7" })), /* @__PURE__ */ t.createElement("button", { onClick: C, className: "bg-gray-600 hover:bg-gray-500 rounded-full p-2" }, m ? /* @__PURE__ */ t.createElement(Ct, { className: "text-background" }) : /* @__PURE__ */ t.createElement(It, { className: "text-background" })));
1449
+ return /* @__PURE__ */ t.createElement("div", { className: "flex flex-row items-center justify-center bg-gray-800 rounded-full p-2 gap-x-4" }, /* @__PURE__ */ t.createElement("button", { onClick: M, className: "bg-gray-600 hover:bg-gray-500 rounded-full p-2" }, s ? /* @__PURE__ */ t.createElement(ht, { className: "text-background" }) : /* @__PURE__ */ t.createElement(WA, { className: "text-background" })), /* @__PURE__ */ t.createElement("button", { onClick: w, className: "bg-gray-600 hover:bg-gray-500 rounded-full p-2" }, g ? /* @__PURE__ */ t.createElement(Bt, { className: "text-background" }) : /* @__PURE__ */ t.createElement(kt, { className: "text-background" })), /* @__PURE__ */ t.createElement("button", { onClick: d, className: "bg-red-600 hover:bg-red-700 rounded-full p-2" }, /* @__PURE__ */ t.createElement(eA, { className: "text-background", style: { transform: "rotate(135deg)" } })), q || /* @__PURE__ */ t.createElement("div", { className: "p-1.5" }, /* @__PURE__ */ t.createElement("div", { className: "size-7" })), /* @__PURE__ */ t.createElement("button", { onClick: C, className: "bg-gray-600 hover:bg-gray-500 rounded-full p-2" }, m ? /* @__PURE__ */ t.createElement(Ct, { className: "text-background" }) : /* @__PURE__ */ t.createElement(It, { className: "text-background" })));
1450
1450
  }, Bc = "data:audio/mpeg;base64,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D6RsJdYoZLgO0eSQEIbLAm5rWyaK/fdS7LX/pIPJ5BRXx/PfH1O9f6////////////Uc//5n/kUQAfSzTpKDJbGCyqetHhkUWGPBuUAZklv/84JkGA1dLU4D7lABDvMSzl/NaAHVPzDurONSxElKhkBN+BEQAHvA5g0MYksTRtLJeMRoLSROldb0zVFFFvKNaU2RbSU9NLRHSL4njVFLrNbf/R+///b//lArPSXTzE0UTWefdPf/1cBbUBKgigLhaL6jMGYvDAn6SkL7KJLROsTQhAsktqs29vqVf///5NIiT///6X///////////////k00akABEHKDh4AfmagmgkqqQ5vOhgTJEKBSCobVWeonWuf3cB8wp4/OtVMtfYHUz//zgmQtDJVRVR9o6KsNWxa6NpgF5gz/Czqh+h00WOb1es1L38o5VlxT/80Cpn6kZ2d/QAJ51TmO9+n//+KnyTOZyQIw1GQXUM9cT5JIACkDKEAYPqEVDoGIcePOYHkbXke1jjlgBNiwmruy3qnE6/b/+r/6Itrf//9H///////hHiUgE2B206/gN37FuMOOEBh/QqHBCg7sMrlE3SNVltf9bZT3V2AZc0owhAGgKza5b2rl3ebaJCc1D1zhCLpvk2UsaYgKfv1EABZR//r/gtal//OCZE8MyYtVH23ngw1jFtr+UAXmSz+qf///hYtrTyyKhtW2f9fS///9wkPUgNopDejuAnG27BC0xTBGG4Xw1IuFz0ZQllv6t7/Fw1v6+kr/8XBf/v+v+d9v/////+LxF6JAAZC5FLOAIajr4UL4JSjsUafApPAQDKwtOKdzkNZCB7//TYLW44z7OHDMR4aHIXezcI72NKeG3lzsAoxHlt8qTw1jGaXN2o1UtMFPLH2t6YLJ3+t/Mf1R3PS0UPW1/2//1k8dHposrVus2okQAH3/84Jkbw2RN08fbe2FDoMSyl45lEqA7qZeIB9QUC993NWAxucXdbgMjrfebPlRDV2DwT5utPdxUf/42//r/r///3//6mf////////yWhAACcK3d+EAynIHgRa4sAgYQ51qLxhyBYqDKAqGQ3JIylI3efw7gkNYxnomwUYBTEvMBDLhTNQxOTaXTjMLg57vRGkDiaLszkQpWOk02BUkdBPpdQsQyIpfX9T/zFq9/////1jSUX////6wApaAHcrsKB9j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";
1451
1451
  function kc({ id: q, stream: A, mirror: V, className: e, muted: o, ...r }, n) {
1452
1452
  const i = a.useRef(null), s = a.useMemo(() => q ?? `stream-${Kq()}`, [q]), c = typeof o == "boolean" ? o : !1, l = "size-full object-contain", g = V ? "scale-x-[-1]" : "";
@@ -1473,7 +1473,7 @@ function kc({ id: q, stream: A, mirror: V, className: e, muted: o, ...r }, n) {
1473
1473
  playsInline: !0,
1474
1474
  muted: c,
1475
1475
  ...r,
1476
- className: h(l, g, e)
1476
+ className: E(l, g, e)
1477
1477
  }
1478
1478
  ) : null;
1479
1479
  }
@@ -1491,7 +1491,7 @@ function Ic({ muted: q, mirror: A, ...V }, e) {
1491
1491
  }
1492
1492
  const pe = a.forwardRef(Ic);
1493
1493
  pe.displayName = "RemoteStreamView";
1494
- function Qc({
1494
+ function Sc({
1495
1495
  element: q,
1496
1496
  pipElement: A,
1497
1497
  navElement: V,
@@ -1509,8 +1509,8 @@ function Qc({
1509
1509
  if (I)
1510
1510
  try {
1511
1511
  document.fullscreenElement ? (await document.exitFullscreen(), M(!1), d(!1)) : (await I.requestFullscreen(), M(!0), d(!0));
1512
- } catch (E) {
1513
- console.error("Fullscreen error:", E);
1512
+ } catch (h) {
1513
+ console.error("Fullscreen error:", h);
1514
1514
  }
1515
1515
  }, []), k = a.useCallback(() => {
1516
1516
  A && d((I) => !I);
@@ -1535,7 +1535,7 @@ function Qc({
1535
1535
  {
1536
1536
  ref: m,
1537
1537
  ...l,
1538
- className: h("relative flex items-center justify-center size-full", l?.className)
1538
+ className: E("relative flex items-center justify-center size-full", l?.className)
1539
1539
  },
1540
1540
  q,
1541
1541
  /* @__PURE__ */ a.createElement(
@@ -1543,18 +1543,18 @@ function Qc({
1543
1543
  {
1544
1544
  onClick: C,
1545
1545
  ...r,
1546
- className: h(
1546
+ className: E(
1547
1547
  "absolute top-2 right-2 p-1 rounded-md bg-black/50 text-white hover:bg-black/80 z-10 shadow-xs shadow-white/25",
1548
1548
  r?.className
1549
1549
  )
1550
1550
  },
1551
- u ? e || /* @__PURE__ */ a.createElement(Qt, { ...n }) : o || /* @__PURE__ */ a.createElement(St, { ...n })
1551
+ u ? e || /* @__PURE__ */ a.createElement(St, { ...n }) : o || /* @__PURE__ */ a.createElement(Qt, { ...n })
1552
1552
  ),
1553
1553
  /* @__PURE__ */ a.createElement("div", { className: "absolute size-full p-2 flex flex-col justify-end items-center" }, u && A && /* @__PURE__ */ a.createElement("div", { className: "relative size-full flex items-end justify-end" }, w && /* @__PURE__ */ a.createElement(
1554
1554
  "div",
1555
1555
  {
1556
1556
  ...i,
1557
- className: h(
1557
+ className: E(
1558
1558
  "max-w-1/4 max-h-1/4 aspect-4/3 overflow-hidden rounded-md shadow-md shadow-white/25",
1559
1559
  i?.className
1560
1560
  )
@@ -1565,7 +1565,7 @@ function Qc({
1565
1565
  {
1566
1566
  onClick: k,
1567
1567
  ...s,
1568
- className: h(
1568
+ className: E(
1569
1569
  "absolute bottom-2 right-2 p-1 rounded-md bg-black/50 text-white hover:bg-black/80 z-10 shadow-xs shadow-white/25",
1570
1570
  s?.className
1571
1571
  )
@@ -1574,11 +1574,11 @@ function Qc({
1574
1574
  )), u && V)
1575
1575
  );
1576
1576
  }
1577
- const he = a.forwardRef(
1578
- Qc
1577
+ const Ee = a.forwardRef(
1578
+ Sc
1579
1579
  );
1580
- he.displayName = "FullscreenStreamView";
1581
- const Sc = () => {
1580
+ Ee.displayName = "FullscreenStreamView";
1581
+ const Qc = () => {
1582
1582
  const { t: q } = G(), A = yA(Bc), { users: V, activeCall: e, participantsIds: o, remoteStreams: r, localStream: n, activeCallRejectData: i, activeMedia: s } = v(), c = W(!1), l = H(
1583
1583
  () => o.reduce(
1584
1584
  (g, m) => (r[m] && (g[m] = r[m]), g),
@@ -1600,7 +1600,7 @@ const Sc = () => {
1600
1600
  key: `${g}-stream`
1601
1601
  },
1602
1602
  /* @__PURE__ */ t.createElement(
1603
- he,
1603
+ Ee,
1604
1604
  {
1605
1605
  element: /* @__PURE__ */ t.createElement(pe, { id: `${g}-stream`, stream: m }),
1606
1606
  pipElement: /* @__PURE__ */ t.createElement(
@@ -1629,21 +1629,21 @@ const Sc = () => {
1629
1629
  l.stop(), o(), c(r?.initiatorID);
1630
1630
  }, [r, l, o, c]), d = tq(
1631
1631
  async (I = 0) => {
1632
- const E = A[I] ?? await V(I, !0);
1633
- return Vq(E);
1632
+ const h = A[I] ?? await V(I, !0);
1633
+ return Vq(h);
1634
1634
  },
1635
1635
  [A, V]
1636
1636
  ), C = tq(async () => {
1637
1637
  let I = g;
1638
1638
  if (r) {
1639
- const E = await d(r.initiatorID), B = r.callType === VA.VIDEO ? "IncomingVideoCall" : "IncomingAudioCall";
1640
- I = q(B, { name: E });
1639
+ const h = await d(r.initiatorID), B = r.callType === VA.VIDEO ? "IncomingVideoCall" : "IncomingAudioCall";
1640
+ I = q(B, { name: h });
1641
1641
  }
1642
1642
  queueMicrotask(() => u(I));
1643
1643
  }, [q, r, g, d]), k = tq(async () => {
1644
1644
  if (n) {
1645
- const { userID: I } = n, E = await d(I);
1646
- nq.info(q("MissedCall", { name: E })), i(mA.ON_STOP_CALLING);
1645
+ const { userID: I } = n, h = await d(I);
1646
+ nq.info(q("MissedCall", { name: h })), i(mA.ON_STOP_CALLING);
1647
1647
  }
1648
1648
  }, [q, n, d, i]);
1649
1649
  return U(() => {
@@ -1671,7 +1671,7 @@ const Sc = () => {
1671
1671
  )))) : null;
1672
1672
  }, yc = () => {
1673
1673
  const { activeCall: q, incomingCall: A } = v();
1674
- return q ? /* @__PURE__ */ a.createElement(Sc, null) : A ? /* @__PURE__ */ a.createElement(Uc, null) : null;
1674
+ return q ? /* @__PURE__ */ a.createElement(Qc, null) : A ? /* @__PURE__ */ a.createElement(Uc, null) : null;
1675
1675
  }, Dc = '@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-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@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-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--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-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-300:oklch(80.9% .105 251.813);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-950:oklch(28.2% .091 267.935);--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-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-black:#000;--color-white:#fff;--spacing:.25em;--container-sm:24rem;--container-lg:32em;--text-xs:.75em;--text-xs--line-height:calc(1 / .75);--text-sm:.875em;--text-sm--line-height:calc(1.25 / .875);--text-base:1em;--text-base--line-height: 1.5 ;--text-lg:1.125em;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-6xl:3.75em;--text-6xl--line-height:1;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-widest:.1em;--radius-xs:.125em;--ease-out:cubic-bezier(0, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--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);--text-2xl:1.5em;--radius:.625em;--radius-2xl:1em}}@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}button:not(:disabled),[role=button]:not(:disabled),[data-slot=button]:not(:disabled){cursor:pointer}@supports ((-moz-appearance:none)){*{scrollbar-color:initial;scrollbar-width:initial}}}@layer components;@layer utilities{.\\@container\\/card-header{container:card-header/inline-size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-top-2{top:calc(var(--spacing) * -2)}.-top-px{top:-1px}.top-0{top:calc(var(--spacing) * 0)}.top-0\\.5{top:calc(var(--spacing) * .5)}.top-1{top:calc(var(--spacing) * 1)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\\[50\\%\\]{top:50%}.right-0{right:calc(var(--spacing) * 0)}.right-2{right:calc(var(--spacing) * 2)}.right-3{right:calc(var(--spacing) * 3)}.right-4{right:calc(var(--spacing) * 4)}.right-\\[calc\\(100\\%-1em\\)\\]{right:calc(100% - 1em)}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-1{bottom:calc(var(--spacing) * 1)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-3{bottom:calc(var(--spacing) * 3)}.bottom-13{bottom:calc(var(--spacing) * 13)}.bottom-16{bottom:calc(var(--spacing) * 16)}.left-0{left:calc(var(--spacing) * 0)}.left-0\\.5{left:calc(var(--spacing) * .5)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.left-5{left:calc(var(--spacing) * 5)}.left-\\[50\\%\\]{left:50%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-101{z-index:101}.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-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.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}}.m-2{margin:calc(var(--spacing) * 2)}.m-4{margin:calc(var(--spacing) * 4)}.m-8{margin:calc(var(--spacing) * 8)}.mx-1{margin-inline:calc(var(--spacing) * 1)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing) * 1)}.my-2{margin-block:calc(var(--spacing) * 2)}.my-5{margin-block:calc(var(--spacing) * 5)}.-mt-px{margin-top:-1px}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mr-1{margin-right:calc(var(--spacing) * 1)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-3{margin-right:calc(var(--spacing) * 3)}.mr-12{margin-right:calc(var(--spacing) * 12)}.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-6{margin-bottom:calc(var(--spacing) * 6)}.mb-px{margin-bottom:1px}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-3{margin-left:calc(var(--spacing) * 3)}.ml-9{margin-left:calc(var(--spacing) * 9)}.ml-12{margin-left:calc(var(--spacing) * 12)}.ml-auto{margin-left:auto}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-5{-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.flex\\!{display:flex!important}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.aspect-4\\/3{aspect-ratio:4/3}.aspect-square{aspect-ratio:1}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3\\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-13{width:calc(var(--spacing) * 13);height:calc(var(--spacing) * 13)}.size-\\[50px\\]{width:50px;height:50px}.size-auto{width:auto;height:auto}.size-full{width:100%;height:100%}.h-0{height:calc(var(--spacing) * 0)}.h-2\\/5{height:40%}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-3\\/5{height:60%}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-13{height:calc(var(--spacing) * 13)}.h-\\[1\\.15em\\]{height:1.15em}.h-\\[33\\%\\]{height:33%}.h-\\[150px\\]{height:150px}.h-\\[640px\\]{height:640px}.h-\\[768px\\]{height:768px}.h-\\[960px\\]{height:960px}.h-\\[calc\\(50\\%-1\\.5em\\)\\]{height:calc(50% - 1.5em)}.h-\\[calc\\(100\\%-1px\\)\\]{height:calc(100% - 1px)}.h-\\[calc\\(100\\%-4\\.25em\\)\\]{height:calc(100% - 4.25em)}.h-\\[calc\\(100\\%-6\\.5em\\)\\]{height:calc(100% - 6.5em)}.h-\\[calc\\(100\\%-7\\.25em\\)\\]{height:calc(100% - 7.25em)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-dropdown-menu-content-available-height\\){max-height:var(--radix-dropdown-menu-content-available-height)}.max-h-1\\/4{max-height:25%}.max-h-5{max-height:calc(var(--spacing) * 5)}.max-h-24{max-height:calc(var(--spacing) * 24)}.max-h-25{max-height:calc(var(--spacing) * 25)}.max-h-60{max-height:calc(var(--spacing) * 60)}.max-h-\\[30px\\]{max-height:30px}.max-h-\\[50vh\\]{max-height:50vh}.max-h-\\[360px\\]{max-height:360px}.max-h-\\[calc\\(100\\%-5em\\)\\]{max-height:calc(100% - 5em)}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-5{min-height:calc(var(--spacing) * 5)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-20{min-height:calc(var(--spacing) * 20)}.min-h-\\[15px\\]{min-height:15px}.w-1\\/2{width:50%}.w-1\\/6{width:16.6667%}.w-2\\/3{width:66.6667%}.w-2\\/5{width:40%}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-5\\/6{width:83.3333%}.w-7\\/8{width:87.5%}.w-8{width:calc(var(--spacing) * 8)}.w-\\[50\\%\\]{width:50%}.w-\\[100px\\]{width:100px}.w-\\[220px\\]{width:220px}.w-\\[360px\\]{width:360px}.w-\\[540px\\]{width:540px}.w-\\[1024px\\]{width:1024px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-1\\/4{max-width:25%}.max-w-60{max-width:calc(var(--spacing) * 60)}.max-w-72{max-width:calc(var(--spacing) * 72)}.max-w-120{max-width:calc(var(--spacing) * 120)}.max-w-\\[360px\\]{max-width:360px}.max-w-\\[calc\\(\\(100vh-6\\.5em\\)\\*2\\/3\\)\\]{max-width:calc(66.6667vh - 4.33333em)}.max-w-\\[calc\\(100\\%-1\\.5em\\)\\]{max-width:calc(100% - 1.5em)}.max-w-\\[calc\\(100\\%-2em\\)\\]{max-width:calc(100% - 2em)}.max-w-full{max-width:100%}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-4{min-width:calc(var(--spacing) * 4)}.min-w-6{min-width:calc(var(--spacing) * 6)}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-\\[8em\\]{min-width:8em}.min-w-\\[calc\\(100\\%-360px\\)\\]{min-width:calc(100% - 360px)}.flex-1{flex:1}.flex-\\[0_0_70\\%\\]{flex:0 0 70%}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.origin-\\(--radix-dropdown-menu-content-transform-origin\\){transform-origin:var(--radix-dropdown-menu-content-transform-origin)}.origin-\\(--radix-tooltip-content-transform-origin\\){transform-origin:var(--radix-tooltip-content-transform-origin)}.-translate-x-1\\/2{--tw-translate-x: -50% ;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-x-\\[-50\\%\\]{--tw-translate-x:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-full{--tw-translate-x:100%;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)}.translate-y-\\[-50\\%\\]{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\\[calc\\(-50\\%-2px\\)\\]{--tw-translate-y: calc(-50% - 2px) ;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-98{--tw-scale-x:98%;--tw-scale-y:98%;--tw-scale-z:98%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-x-\\[-1\\]{--tw-scale-x:-1;scale:var(--tw-scale-x) var(--tw-scale-y)}.rotate-45{rotate:45deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-in{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\\[auto_auto\\]{grid-template-rows:auto auto}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.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-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}: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)))}.gap-x-4{column-gap:calc(var(--spacing) * 4)}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 4) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.justify-self-end{justify-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overflow-y-scroll{overflow-y:scroll}.rounded{border-radius:.25rem}.rounded-\\[2px\\]{border-radius:2px}.rounded-\\[4px\\]{border-radius:4px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-xs{border-radius:var(--radius-xs)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.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-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-l-\\[0\\.25em\\]{border-left-style:var(--tw-border-style);border-left-width:.25em}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.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-green-200{border-color:var(--color-green-200)}.border-green-600{border-color:var(--color-green-600)}.border-input{border-color:var(--input)}.border-orange-600{border-color:var(--color-orange-600)}.border-primary-foreground{border-color:var(--primary-foreground)}.border-red-600{border-color:var(--color-red-600)}.border-ring{border-color:var(--ring)}.border-transparent{border-color:#0000}.border-yellow-600{border-color:var(--color-yellow-600)}.border-l-ring{border-left-color:var(--ring)}.bg-background{background-color:var(--background)}.bg-black{background-color:var(--color-black)}.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\\/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\\/85{background-color:#000000d9}@supports (color:color-mix(in lab,red,red)){.bg-black\\/85{background-color:color-mix(in oklab,var(--color-black) 85%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-200{background-color:var(--color-blue-200)}.bg-blue-300{background-color:var(--color-blue-300)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-destructive{background-color:var(--destructive)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-600{background-color:var(--color-gray-600)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-600{background-color:var(--color-green-600)}.bg-muted{background-color:var(--muted)}.bg-muted-foreground{background-color:var(--muted-foreground)}.bg-muted\\/50{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\\/50{background-color:color-mix(in oklab,var(--muted) 50%,transparent)}}.bg-orange-500{background-color:var(--color-orange-500)}.bg-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-600{background-color:var(--color-red-600)}.bg-red-600\\/10{background-color:#e400141a}@supports (color:color-mix(in lab,red,red)){.bg-red-600\\/10{background-color:color-mix(in oklab,var(--color-red-600) 10%,transparent)}}.bg-red-700{background-color:var(--color-red-700)}.bg-ring,.bg-ring\\/5{background-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.bg-ring\\/5{background-color:color-mix(in oklab,var(--ring) 5%,transparent)}}.bg-ring\\/10{background-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.bg-ring\\/10{background-color:color-mix(in oklab,var(--ring) 10%,transparent)}}.bg-ring\\/20{background-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.bg-ring\\/20{background-color:color-mix(in oklab,var(--ring) 20%,transparent)}}.bg-ring\\/25{background-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.bg-ring\\/25{background-color:color-mix(in oklab,var(--ring) 25%,transparent)}}.bg-ring\\/30{background-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.bg-ring\\/30{background-color:color-mix(in oklab,var(--ring) 30%,transparent)}}.bg-ring\\/90{background-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.bg-ring\\/90{background-color:color-mix(in oklab,var(--ring) 90%,transparent)}}.bg-secondary{background-color:var(--secondary)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab,red,red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-700{--tw-gradient-from:var(--color-blue-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.fill-current{fill:currentColor}.fill-primary{fill:var(--primary)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing) * 1)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-\\[3px\\]{padding:3px}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.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-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.pt-1{padding-top:calc(var(--spacing) * 1)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pt-8{padding-top:calc(var(--spacing) * 8)}.pt-px{padding-top:1px}.pr-1\\.5{padding-right:calc(var(--spacing) * 1.5)}.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-2{padding-bottom:calc(var(--spacing) * 2)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pl-0\\!{padding-left:calc(var(--spacing) * 0)!important}.pl-0\\.5{padding-left:calc(var(--spacing) * .5)}.pl-1{padding-left:calc(var(--spacing) * 1)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-2\\.5{padding-left:calc(var(--spacing) * 2.5)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.pl-8{padding-left:calc(var(--spacing) * 8)}.pl-10{padding-left:calc(var(--spacing) * 10)}.text-center{text-align:center}.text-left{text-align:left}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-balance{text-wrap:balance}.break-words,.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-background{color:var(--background)}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-card-foreground{color:var(--card-foreground)}.text-current{color:currentColor}.text-foreground,.text-foreground\\/80{color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.text-foreground\\/80{color:color-mix(in oklab,var(--foreground) 80%,transparent)}}.text-gray-300{color:var(--color-gray-300)}.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-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-muted{color:var(--muted)}.text-muted-foreground{color:var(--muted-foreground)}.text-orange-500{color:var(--color-orange-500)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-ring{color:var(--ring)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.capitalize{text-transform:capitalize}.italic{font-style:italic}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-70{opacity:.7}.opacity-100{opacity:1}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.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)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + 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)}.shadow-white\\/25{--tw-shadow-color:#ffffff40}@supports (color:color-mix(in lab,red,red)){.shadow-white\\/25{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-white) 25%, transparent) var(--tw-shadow-alpha), transparent)}}.ring-ring\\/50{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.ring-ring\\/50{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.ring-offset-background{--tw-ring-offset-color:var(--background)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;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))}.transition-none{transition-property:none}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-250{--tw-duration:.25s;transition-duration:.25s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.fade-in-0{--tw-enter-opacity:0}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.zoom-in-95{--tw-enter-scale:.95}.running{animation-play-state:running}.group-focus-within\\:text-ring:is(:where(.group):focus-within *){color:var(--ring)}@media(hover:hover){.group-hover\\:scale-102:is(:where(.group):hover *){--tw-scale-x:102%;--tw-scale-y:102%;--tw-scale-z:102%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\:scale-110:is(:where(.group):hover *){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\:rotate-90:is(:where(.group):hover *){rotate:90deg}.group-hover\\:text-blue-700:is(:where(.group):hover *){color:var(--color-blue-700)}.group-hover\\:text-foreground:is(:where(.group):hover *){color:var(--foreground)}}.group-data-\\[disabled\\=true\\]\\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\\[disabled\\=true\\]\\:opacity-50:is(:where(.group)[data-disabled=true] *){opacity:.5}.group-data-\\[state\\=open\\]\\:scale-110:is(:where(.group)[data-state=open] *){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-data-\\[state\\=open\\]\\:rotate-90:is(:where(.group)[data-state=open] *){rotate:90deg}.peer-disabled\\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.selection\\:bg-blue-300 ::selection{background-color:var(--color-blue-300)}.selection\\:bg-blue-300::selection{background-color:var(--color-blue-300)}.selection\\:bg-primary ::selection{background-color:var(--primary)}.selection\\:bg-primary::selection{background-color:var(--primary)}.selection\\:bg-ring\\/50 ::selection{background-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.selection\\:bg-ring\\/50 ::selection{background-color:color-mix(in oklab,var(--ring) 50%,transparent)}}.selection\\:bg-ring\\/50::selection{background-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.selection\\:bg-ring\\/50::selection{background-color:color-mix(in oklab,var(--ring) 50%,transparent)}}.selection\\:text-blue-950 ::selection{color:var(--color-blue-950)}.selection\\:text-blue-950::selection{color:var(--color-blue-950)}.selection\\:text-primary-foreground ::selection{color:var(--primary-foreground)}.selection\\:text-primary-foreground::selection{color:var(--primary-foreground)}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:h-7::file-selector-button{height:calc(var(--spacing) * 7)}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.last-of-type\\:border-b:last-of-type{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}@media(hover:hover){.hover\\:bg-accent:hover{background-color:var(--accent)}.hover\\:bg-black\\/80:hover{background-color:#000c}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-black\\/80:hover{background-color:color-mix(in oklab,var(--color-black) 80%,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-blue-500:hover{background-color:var(--color-blue-500)}.hover\\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\\:bg-destructive\\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-destructive\\/90:hover{background-color:color-mix(in oklab,var(--destructive) 90%,transparent)}}.hover\\:bg-gray-500:hover{background-color:var(--color-gray-500)}.hover\\:bg-green-600:hover{background-color:var(--color-green-600)}.hover\\:bg-primary\\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-primary\\/90:hover{background-color:color-mix(in oklab,var(--primary) 90%,transparent)}}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\\:bg-ring:hover,.hover\\:bg-ring\\/5:hover{background-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-ring\\/5:hover{background-color:color-mix(in oklab,var(--ring) 5%,transparent)}}.hover\\:bg-ring\\/10:hover{background-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-ring\\/10:hover{background-color:color-mix(in oklab,var(--ring) 10%,transparent)}}.hover\\:bg-ring\\/20:hover{background-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-ring\\/20:hover{background-color:color-mix(in oklab,var(--ring) 20%,transparent)}}.hover\\:bg-secondary\\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-secondary\\/80:hover{background-color:color-mix(in oklab,var(--secondary) 80%,transparent)}}.hover\\:bg-white:hover{background-color:var(--color-white)}.hover\\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-blue-700:hover{color:var(--color-blue-700)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:text-ring:hover{color:var(--ring)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow:hover{--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)}.hover\\:drop-shadow-\\[0_0_5px_\\#3b82f6aa\\]:hover{--tw-drop-shadow-size:drop-shadow(0 0 5px var(--tw-drop-shadow-color,#3b82f6aa));--tw-drop-shadow:var(--tw-drop-shadow-size);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.focus\\:bg-accent:focus{background-color:var(--accent)}.focus\\:text-accent-foreground:focus{color:var(--accent-foreground)}.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-ring:focus{--tw-ring-color:var(--ring)}.focus\\:ring-offset-2:focus{--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)}.focus\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus-visible\\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\\:ring:focus-visible{--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-visible\\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + 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-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + 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-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.focus-visible\\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-ring:focus-visible{outline-color:var(--ring)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.has-data-\\[slot\\=card-action\\]\\:grid-cols-\\[1fr_auto\\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-\\[\\>svg\\]\\:px-2\\.5:has(>svg){padding-inline:calc(var(--spacing) * 2.5)}.has-\\[\\>svg\\]\\:px-3:has(>svg){padding-inline:calc(var(--spacing) * 3)}.has-\\[\\>svg\\]\\:px-4:has(>svg){padding-inline:calc(var(--spacing) * 4)}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[inset\\]\\:pl-8[data-inset]{padding-left:calc(var(--spacing) * 8)}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.data-\\[state\\=active\\]\\:bg-background[data-state=active]{background-color:var(--background)}.data-\\[state\\=active\\]\\:bg-blue-200[data-state=active]{background-color:var(--color-blue-200)}.data-\\[state\\=active\\]\\:shadow-sm[data-state=active]{--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)}.data-\\[state\\=checked\\]\\:translate-x-\\[calc\\(100\\%-2px\\)\\][data-state=checked]{--tw-translate-x: calc(100% - 2px) ;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[state\\=checked\\]\\:border-ring[data-state=checked]{border-color:var(--ring)}.data-\\[state\\=checked\\]\\:bg-ring[data-state=checked]{background-color:var(--ring)}.data-\\[state\\=checked\\]\\:text-primary-foreground[data-state=checked]{color:var(--primary-foreground)}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:var(--accent)}.data-\\[state\\=open\\]\\:text-accent-foreground[data-state=open]{color:var(--accent-foreground)}.data-\\[state\\=open\\]\\:text-muted-foreground[data-state=open]{color:var(--muted-foreground)}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:var(--input)}.data-\\[variant\\=destructive\\]\\:text-destructive[data-variant=destructive]{color:var(--destructive)}.data-\\[variant\\=destructive\\]\\:focus\\:bg-destructive\\/10[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.data-\\[variant\\=destructive\\]\\:focus\\:bg-destructive\\/10[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive) 10%,transparent)}}.data-\\[variant\\=destructive\\]\\:focus\\:text-destructive[data-variant=destructive]:focus{color:var(--destructive)}@media(min-width:40rem){.sm\\:max-w-lg{max-width:var(--container-lg)}.sm\\:flex-row{flex-direction:row}.sm\\:justify-end{justify-content:flex-end}.sm\\:text-left{text-align:left}}@media(min-width:48rem){.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.dark\\:border-input:is(.dark *){border-color:var(--input)}.dark\\:bg-destructive\\/60:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-destructive\\/60:is(.dark *){background-color:color-mix(in oklab,var(--destructive) 60%,transparent)}}.dark\\:bg-input\\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-input\\/30:is(.dark *){background-color:color-mix(in oklab,var(--input) 30%,transparent)}}.dark\\:text-muted-foreground:is(.dark *){color:var(--muted-foreground)}@media(hover:hover){.dark\\:hover\\:bg-accent\\/50:is(.dark *):hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-accent\\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--accent) 50%,transparent)}}.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--input) 50%,transparent)}}}.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\\:data-\\[state\\=active\\]\\:border-input:is(.dark *)[data-state=active]{border-color:var(--input)}.dark\\:data-\\[state\\=active\\]\\:bg-input\\/30:is(.dark *)[data-state=active]{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:data-\\[state\\=active\\]\\:bg-input\\/30:is(.dark *)[data-state=active]{background-color:color-mix(in oklab,var(--input) 30%,transparent)}}.dark\\:data-\\[state\\=active\\]\\:text-foreground:is(.dark *)[data-state=active]{color:var(--foreground)}.dark\\:data-\\[state\\=checked\\]\\:bg-primary-foreground:is(.dark *)[data-state=checked]{background-color:var(--primary-foreground)}.dark\\:data-\\[state\\=checked\\]\\:bg-ring:is(.dark *)[data-state=checked]{background-color:var(--ring)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-foreground:is(.dark *)[data-state=unchecked]{background-color:var(--foreground)}.dark\\:data-\\[state\\=unchecked\\]\\:bg-input\\/80:is(.dark *)[data-state=unchecked]{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:data-\\[state\\=unchecked\\]\\:bg-input\\/80:is(.dark *)[data-state=unchecked]{background-color:color-mix(in oklab,var(--input) 80%,transparent)}}.dark\\:data-\\[variant\\=destructive\\]\\:focus\\:bg-destructive\\/20:is(.dark *)[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:data-\\[variant\\=destructive\\]\\:focus\\:bg-destructive\\/20:is(.dark *)[data-variant=destructive]:focus{background-color:color-mix(in oklab,var(--destructive) 20%,transparent)}}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-5 svg{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=size-\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\\[\\&_svg\\:not\\(\\[class\\*\\=text-\\]\\)\\]\\:text-muted-foreground svg:not([class*=text-]){color:var(--muted-foreground)}.\\[\\.border-b\\]\\:pb-6.border-b{padding-bottom:calc(var(--spacing) * 6)}.\\[\\.border-t\\]\\:pt-6.border-t{padding-top:calc(var(--spacing) * 6)}:is(.data-\\[variant\\=destructive\\]\\:\\*\\:\\[svg\\]\\:\\!text-destructive[data-variant=destructive]>*):is(svg){color:var(--destructive)!important}.\\[\\&\\>svg\\]\\:pointer-events-none>svg{pointer-events:none}.\\[\\&\\>svg\\]\\:size-3>svg{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}@media(hover:hover){a.\\[a\\&\\]\\:hover\\:bg-accent:hover{background-color:var(--accent)}a.\\[a\\&\\]\\:hover\\:bg-destructive\\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){a.\\[a\\&\\]\\:hover\\:bg-destructive\\/90:hover{background-color:color-mix(in oklab,var(--destructive) 90%,transparent)}}a.\\[a\\&\\]\\:hover\\:bg-primary\\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){a.\\[a\\&\\]\\:hover\\:bg-primary\\/90:hover{background-color:color-mix(in oklab,var(--primary) 90%,transparent)}}a.\\[a\\&\\]\\:hover\\:bg-secondary\\/90:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){a.\\[a\\&\\]\\:hover\\:bg-secondary\\/90:hover{background-color:color-mix(in oklab,var(--secondary) 90%,transparent)}}a.\\[a\\&\\]\\:hover\\:text-accent-foreground:hover{color:var(--accent-foreground)}}*,:after,:before,::backdrop{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*,:after,:before,::backdrop{outline-color:color-mix(in oklab,var(--ring) 50%,transparent)}}*,:after,:before,::backdrop{font-family:var(--font-sans);font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--foreground)}:is(*) *{font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;line-height:inherit;color:inherit}:is(:is(*) .overflow-auto,:is(*) .overflow-x-auto,:is(*) .overflow-y-auto,:is(*) .overflow-scroll,:is(*) .overflow-x-scroll,:is(*) .overflow-y-scroll)::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}:is(:is(*) .overflow-auto,:is(*) .overflow-x-auto,:is(*) .overflow-y-auto,:is(*) .overflow-scroll,:is(*) .overflow-x-scroll,:is(*) .overflow-y-scroll)::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}:is(:is(*) .overflow-auto,:is(*) .overflow-x-auto,:is(*) .overflow-y-auto,:is(*) .overflow-scroll,:is(*) .overflow-x-scroll,:is(*) .overflow-y-scroll)::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}@supports ((-moz-appearance:none)){:is(*) .overflow-auto,:is(*) .overflow-x-auto,:is(*) .overflow-y-auto,:is(*) .overflow-scroll,:is(*) .overflow-x-scroll,:is(*) .overflow-y-scroll{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb,initial) var(--scrollbar-track,initial)}}:is(:is(*) .overflow-auto,:is(*) .overflow-x-auto,:is(*) .overflow-y-auto,:is(*) .overflow-scroll,:is(*) .overflow-x-scroll,:is(*) .overflow-y-scroll)::-webkit-scrollbar{width:8px;height:8px;display:block}:is(*) .overflow-auto,:is(*) .overflow-x-auto,:is(*) .overflow-y-auto,:is(*) .overflow-scroll,:is(*) .overflow-x-scroll,:is(*) .overflow-y-scroll{--scrollbar-thumb:oklch(87.2% .01 258.338);--scrollbar-thumb-radius:9999px;--scrollbar-track:oklch(96.7% .003 264.542);--scrollbar-track-radius:9999px}:is(:is(*) .overflow-auto,:is(*) .overflow-x-auto,:is(*) .overflow-y-auto,:is(*) .overflow-scroll,:is(*) .overflow-x-scroll,:is(*) .overflow-y-scroll)::-webkit-scrollbar-thumb:hover{--scrollbar-thumb:oklch(70.7% .022 261.325)}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}:host{--background:oklch(100% 0 0);--foreground:oklch(14.1% .005 285.823);--card:oklch(100% 0 0);--card-foreground:oklch(14.1% .005 285.823);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.1% .005 285.823);--primary:oklch(21% .006 285.885);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(96.7% .001 286.375);--secondary-foreground:oklch(21% .006 285.885);--muted:oklch(96.7% .001 286.375);--muted-foreground:oklch(55.2% .016 285.938);--accent:oklch(96.7% .001 286.375);--accent-foreground:oklch(21% .006 285.885);--destructive:oklch(57.7% .245 27.325);--border:oklch(92% .004 286.32);--input:oklch(92% .004 286.32);--ring:oklch(62.3% .214 259.815);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.1% .005 285.823);--sidebar-primary:oklch(21% .006 285.885);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(96.7% .001 286.375);--sidebar-accent-foreground:oklch(21% .006 285.885);--sidebar-border:oklch(92% .004 286.32);--sidebar-ring:oklch(70.5% .015 286.067)}.dark{--background:oklch(14.1% .005 285.823);--foreground:oklch(98.5% 0 0);--card:oklch(21% .006 285.885);--card-foreground:oklch(98.5% 0 0);--popover:oklch(21% .006 285.885);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92% .004 286.32);--primary-foreground:oklch(21% .006 285.885);--secondary:oklch(27.4% .006 286.033);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27.4% .006 286.033);--muted-foreground:oklch(70.5% .015 286.067);--accent:oklch(27.4% .006 286.033);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.2% 1 213.938);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(21% .006 285.885);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(27.4% .006 286.033);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.2% .016 285.938)}@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-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}', Tc = ({ children: q }) => {
1676
1676
  const A = Nq((n) => n.setShadowRoot), V = a.useRef(null), e = a.useRef(null), [o, r] = a.useState(null);
1677
1677
  return a.useEffect(() => {
@@ -1686,7 +1686,7 @@ const Sc = () => {
1686
1686
  const [e, o, r] = X(
1687
1687
  x((m) => [m.opened, m.splitView, m.singleView])
1688
1688
  ), n = a.useMemo(() => window?.matchMedia("(pointer: coarse)").matches ?? !1, []), i = a.useMemo(
1689
- () => ({ fontSize: EV, fontWeight: BV, ...V }),
1689
+ () => ({ fontSize: hV, fontWeight: BV, ...V }),
1690
1690
  [V]
1691
1691
  ), s = a.useMemo(() => F(
1692
1692
  "overflow-hidden flex flex-col items-center justify-center text-center bg-gray-800 text-black border border-gray-300",
@@ -1718,48 +1718,45 @@ const Sc = () => {
1718
1718
  [${$q.WRAPPER}='size-full'] {
1719
1719
  width: 100%;
1720
1720
  height: 100%;
1721
- font-size: ${V.fontSize ?? EV};
1721
+ font-size: ${V.fontSize ?? hV};
1722
1722
  font-weight: ${V.fontWeight ?? BV};
1723
1723
  }
1724
1724
  `), document.adoptedStyleSheets = [...document.adoptedStyleSheets, m];
1725
1725
  }, []), /* @__PURE__ */ a.createElement("div", { onMouseEnter: l, onMouseLeave: g, className: s, style: i }, q);
1726
1726
  };
1727
- var Ee = {
1727
+ var he = {
1728
1728
  color: void 0,
1729
1729
  size: void 0,
1730
1730
  className: void 0,
1731
1731
  style: void 0,
1732
1732
  attr: void 0
1733
- }, yV = t.createContext && /* @__PURE__ */ t.createContext(Ee), xc = ["attr", "size", "title"];
1733
+ }, yV = t.createContext && /* @__PURE__ */ t.createContext(he), xc = ["attr", "size", "title"];
1734
1734
  function Gc(q, A) {
1735
1735
  if (q == null) return {};
1736
- var V = bc(q, A), e, o;
1736
+ var V, e, o = bc(q, A);
1737
1737
  if (Object.getOwnPropertySymbols) {
1738
1738
  var r = Object.getOwnPropertySymbols(q);
1739
- for (o = 0; o < r.length; o++)
1740
- e = r[o], !(A.indexOf(e) >= 0) && Object.prototype.propertyIsEnumerable.call(q, e) && (V[e] = q[e]);
1739
+ for (e = 0; e < r.length; e++) V = r[e], A.indexOf(V) === -1 && {}.propertyIsEnumerable.call(q, V) && (o[V] = q[V]);
1741
1740
  }
1742
- return V;
1741
+ return o;
1743
1742
  }
1744
1743
  function bc(q, A) {
1745
1744
  if (q == null) return {};
1746
1745
  var V = {};
1747
- for (var e in q)
1748
- if (Object.prototype.hasOwnProperty.call(q, e)) {
1749
- if (A.indexOf(e) >= 0) continue;
1750
- V[e] = q[e];
1751
- }
1746
+ for (var e in q) if ({}.hasOwnProperty.call(q, e)) {
1747
+ if (A.indexOf(e) !== -1) continue;
1748
+ V[e] = q[e];
1749
+ }
1752
1750
  return V;
1753
1751
  }
1754
1752
  function pA() {
1755
1753
  return pA = Object.assign ? Object.assign.bind() : function(q) {
1756
1754
  for (var A = 1; A < arguments.length; A++) {
1757
1755
  var V = arguments[A];
1758
- for (var e in V)
1759
- Object.prototype.hasOwnProperty.call(V, e) && (q[e] = V[e]);
1756
+ for (var e in V) ({}).hasOwnProperty.call(V, e) && (q[e] = V[e]);
1760
1757
  }
1761
1758
  return q;
1762
- }, pA.apply(this, arguments);
1759
+ }, pA.apply(null, arguments);
1763
1760
  }
1764
1761
  function DV(q, A) {
1765
1762
  var V = Object.keys(q);
@@ -1771,7 +1768,7 @@ function DV(q, A) {
1771
1768
  }
1772
1769
  return V;
1773
1770
  }
1774
- function hA(q) {
1771
+ function EA(q) {
1775
1772
  for (var A = 1; A < arguments.length; A++) {
1776
1773
  var V = arguments[A] != null ? arguments[A] : {};
1777
1774
  A % 2 ? DV(Object(V), !0).forEach(function(e) {
@@ -1783,7 +1780,7 @@ function hA(q) {
1783
1780
  return q;
1784
1781
  }
1785
1782
  function vc(q, A, V) {
1786
- return A = Yc(A), A in q ? Object.defineProperty(q, A, { value: V, enumerable: !0, configurable: !0, writable: !0 }) : q[A] = V, q;
1783
+ return (A = Yc(A)) in q ? Object.defineProperty(q, A, { value: V, enumerable: !0, configurable: !0, writable: !0 }) : q[A] = V, q;
1787
1784
  }
1788
1785
  function Yc(q) {
1789
1786
  var A = Fc(q, "string");
@@ -1800,13 +1797,13 @@ function Fc(q, A) {
1800
1797
  return (A === "string" ? String : Number)(q);
1801
1798
  }
1802
1799
  function Be(q) {
1803
- return q && q.map((A, V) => /* @__PURE__ */ t.createElement(A.tag, hA({
1800
+ return q && q.map((A, V) => /* @__PURE__ */ t.createElement(A.tag, EA({
1804
1801
  key: V
1805
1802
  }, A.attr), Be(A.child)));
1806
1803
  }
1807
- function Eq(q) {
1804
+ function hq(q) {
1808
1805
  return (A) => /* @__PURE__ */ t.createElement(Kc, pA({
1809
- attr: hA({}, q.attr)
1806
+ attr: EA({}, q.attr)
1810
1807
  }, A), Be(q.child));
1811
1808
  }
1812
1809
  function Kc(q) {
@@ -1822,7 +1819,7 @@ function Kc(q) {
1822
1819
  strokeWidth: "0"
1823
1820
  }, V.attr, e, n, {
1824
1821
  className: s,
1825
- style: hA(hA({
1822
+ style: EA(EA({
1826
1823
  color: q.color || V.color
1827
1824
  }, V.style), q.style),
1828
1825
  height: i,
@@ -1830,13 +1827,13 @@ function Kc(q) {
1830
1827
  xmlns: "http://www.w3.org/2000/svg"
1831
1828
  }), r && /* @__PURE__ */ t.createElement("title", null, r), q.children);
1832
1829
  };
1833
- return yV !== void 0 ? /* @__PURE__ */ t.createElement(yV.Consumer, null, (V) => A(V)) : A(Ee);
1834
- }
1835
- function ke(q) {
1836
- return Eq({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M217.9 256L345 129c9.4-9.4 9.4-24.6 0-33.9-9.4-9.4-24.6-9.3-34 0L167 239c-9.1 9.1-9.3 23.7-.7 33.1L310.9 417c4.7 4.7 10.9 7 17 7s12.3-2.3 17-7c9.4-9.4 9.4-24.6 0-33.9L217.9 256z" }, child: [] }] })(q);
1830
+ return yV !== void 0 ? /* @__PURE__ */ t.createElement(yV.Consumer, null, (V) => A(V)) : A(he);
1837
1831
  }
1838
1832
  function Rc(q) {
1839
- return Eq({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M312 372c-7.7 0-14 6.3-14 14 0 9.9-8.1 18-18 18H94c-9.9 0-18-8.1-18-18V126c0-9.9 8.1-18 18-18h186c9.9 0 18 8.1 18 18 0 7.7 6.3 14 14 14s14-6.3 14-14c0-25.4-20.6-46-46-46H94c-25.4 0-46 20.6-46 46v260c0 25.4 20.6 46 46 46h186c25.4 0 46-20.6 46-46 0-7.7-6.3-14-14-14z" }, child: [] }, { tag: "path", attr: { d: "M372.9 158.1c-2.6-2.6-6.1-4.1-9.9-4.1-3.7 0-7.3 1.4-9.9 4.1-5.5 5.5-5.5 14.3 0 19.8l65.2 64.2H162c-7.7 0-14 6.3-14 14s6.3 14 14 14h256.6L355 334.2c-5.4 5.4-5.4 14.3 0 19.8l.1.1c2.7 2.5 6.2 3.9 9.8 3.9 3.8 0 7.3-1.4 9.9-4.1l82.6-82.4c4.3-4.3 6.5-9.3 6.5-14.7 0-5.3-2.3-10.3-6.5-14.5l-84.5-84.2z" }, child: [] }] })(q);
1833
+ return hq({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M312 372c-7.7 0-14 6.3-14 14 0 9.9-8.1 18-18 18H94c-9.9 0-18-8.1-18-18V126c0-9.9 8.1-18 18-18h186c9.9 0 18 8.1 18 18 0 7.7 6.3 14 14 14s14-6.3 14-14c0-25.4-20.6-46-46-46H94c-25.4 0-46 20.6-46 46v260c0 25.4 20.6 46 46 46h186c25.4 0 46-20.6 46-46 0-7.7-6.3-14-14-14z" }, child: [] }, { tag: "path", attr: { d: "M372.9 158.1c-2.6-2.6-6.1-4.1-9.9-4.1-3.7 0-7.3 1.4-9.9 4.1-5.5 5.5-5.5 14.3 0 19.8l65.2 64.2H162c-7.7 0-14 6.3-14 14s6.3 14 14 14h256.6L355 334.2c-5.4 5.4-5.4 14.3 0 19.8l.1.1c2.7 2.5 6.2 3.9 9.8 3.9 3.8 0 7.3-1.4 9.9-4.1l82.6-82.4c4.3-4.3 6.5-9.3 6.5-14.7 0-5.3-2.3-10.3-6.5-14.5l-84.5-84.2z" }, child: [] }] })(q);
1834
+ }
1835
+ function ke(q) {
1836
+ return hq({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M217.9 256L345 129c9.4-9.4 9.4-24.6 0-33.9-9.4-9.4-24.6-9.3-34 0L167 239c-9.1 9.1-9.3 23.7-.7 33.1L310.9 417c4.7 4.7 10.9 7 17 7s12.3-2.3 17-7c9.4-9.4 9.4-24.6 0-33.9L217.9 256z" }, child: [] }] })(q);
1840
1837
  }
1841
1838
  function nV({ status: q, ...A }) {
1842
1839
  switch (q) {
@@ -1850,7 +1847,7 @@ function nV({ status: q, ...A }) {
1850
1847
  fill: "currentColor",
1851
1848
  viewBox: "0 0 16 16",
1852
1849
  ...A,
1853
- className: h("rounded-full size-4.5 text-green-600 bg-white", A?.className)
1850
+ className: E("rounded-full size-4.5 text-green-600 bg-white", A?.className)
1854
1851
  },
1855
1852
  /* @__PURE__ */ a.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z" })
1856
1853
  );
@@ -1864,7 +1861,7 @@ function nV({ status: q, ...A }) {
1864
1861
  fill: "currentColor",
1865
1862
  viewBox: "0 0 16 16",
1866
1863
  ...A,
1867
- className: h("rounded-full size-4.5 text-red-600 bg-white", A?.className)
1864
+ className: E("rounded-full size-4.5 text-red-600 bg-white", A?.className)
1868
1865
  },
1869
1866
  /* @__PURE__ */ a.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M4.5 7.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1z" })
1870
1867
  );
@@ -1878,7 +1875,7 @@ function nV({ status: q, ...A }) {
1878
1875
  fill: "currentColor",
1879
1876
  viewBox: "0 0 16 16",
1880
1877
  ...A,
1881
- className: h("rounded-full size-4.5 text-yellow-500 bg-white", A?.className)
1878
+ className: E("rounded-full size-4.5 text-yellow-500 bg-white", A?.className)
1882
1879
  },
1883
1880
  /* @__PURE__ */ a.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71z" })
1884
1881
  );
@@ -1892,7 +1889,7 @@ function nV({ status: q, ...A }) {
1892
1889
  fill: "currentColor",
1893
1890
  viewBox: "0 0 16 16",
1894
1891
  ...A,
1895
- className: h("rounded-full size-4.5 text-gray-500 bg-white", A?.className)
1892
+ className: E("rounded-full size-4.5 text-gray-500 bg-white", A?.className)
1896
1893
  },
1897
1894
  /* @__PURE__ */ a.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M5.496 6.033h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286a.237.237 0 0 0 .241.247m2.325 6.443c.61 0 1.029-.394 1.029-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94 0 .533.425.927 1.01.927z" })
1898
1895
  );
@@ -1903,7 +1900,7 @@ function nV({ status: q, ...A }) {
1903
1900
  nV.displayName = "PresenceBadge";
1904
1901
  function AA({ badge: q = !0, status: A, label: V, badgeProps: e, labelProps: o, ...r }) {
1905
1902
  const n = qA(V || A);
1906
- return /* @__PURE__ */ a.createElement("div", { ...r, className: h("flex items-center gap-2", r?.className) }, q && /* @__PURE__ */ a.createElement(nV, { status: A, ...e }), /* @__PURE__ */ a.createElement("span", { ...o }, n));
1903
+ return /* @__PURE__ */ a.createElement("div", { ...r, className: E("flex items-center gap-2", r?.className) }, q && /* @__PURE__ */ a.createElement(nV, { status: A, ...e }), /* @__PURE__ */ a.createElement("span", { ...o }, n));
1907
1904
  }
1908
1905
  AA.displayName = "Presence";
1909
1906
  function zc(q) {
@@ -1924,25 +1921,25 @@ function Jc({
1924
1921
  ...l
1925
1922
  }, g) {
1926
1923
  const m = zc(A);
1927
- return /* @__PURE__ */ a.createElement(zA.Root, { ref: g, ...l, className: h("relative flex size-8 shrink-0 rounded-full", r) }, /* @__PURE__ */ a.createElement(
1924
+ return /* @__PURE__ */ a.createElement(zA.Root, { ref: g, ...l, className: E("relative flex size-8 shrink-0 rounded-full", r) }, /* @__PURE__ */ a.createElement(
1928
1925
  zA.Image,
1929
1926
  {
1930
1927
  ...s,
1931
1928
  src: q,
1932
- className: h("aspect-square size-full rounded-full overflow-hidden object-cover", s?.className)
1929
+ className: E("aspect-square size-full rounded-full overflow-hidden object-cover", s?.className)
1933
1930
  }
1934
1931
  ), /* @__PURE__ */ a.createElement(
1935
1932
  zA.Fallback,
1936
1933
  {
1937
1934
  ...c,
1938
- className: h("bg-muted size-full rounded-full flex items-center justify-center", c?.className)
1935
+ className: E("bg-muted size-full rounded-full flex items-center justify-center", c?.className)
1939
1936
  },
1940
1937
  V || m
1941
1938
  ), e && /* @__PURE__ */ a.createElement(
1942
1939
  "div",
1943
1940
  {
1944
1941
  ...n,
1945
- className: h(
1942
+ className: E(
1946
1943
  "absolute top-0 right-0 rounded-full border-2 bg-green-600 border-green-200 size-3.5",
1947
1944
  n?.className
1948
1945
  )
@@ -1952,7 +1949,7 @@ function Jc({
1952
1949
  {
1953
1950
  status: o,
1954
1951
  ...i,
1955
- className: h("absolute bottom-0 right-0", i?.className)
1952
+ className: E("absolute bottom-0 right-0", i?.className)
1956
1953
  }
1957
1954
  ));
1958
1955
  }
@@ -1985,7 +1982,7 @@ function NA({
1985
1982
  }
1986
1983
  ));
1987
1984
  }
1988
- function jc({ ...q }) {
1985
+ function Lc({ ...q }) {
1989
1986
  return /* @__PURE__ */ a.createElement(Uq.Group, { "data-slot": "dropdown-menu-group", ...q });
1990
1987
  }
1991
1988
  function iq({
@@ -2032,7 +2029,7 @@ function Ie({
2032
2029
  /* @__PURE__ */ a.createElement(yt, { className: "ml-auto size-4" })
2033
2030
  );
2034
2031
  }
2035
- function Qe({
2032
+ function Se({
2036
2033
  className: q,
2037
2034
  ...A
2038
2035
  }) {
@@ -2048,7 +2045,7 @@ function Qe({
2048
2045
  }
2049
2046
  );
2050
2047
  }
2051
- function Lc({
2048
+ function jc({
2052
2049
  title: q = "",
2053
2050
  description: A = "",
2054
2051
  cancelTitle: V = "Cancel",
@@ -2071,11 +2068,11 @@ function Lc({
2071
2068
  footerProps: C,
2072
2069
  cancelProps: k,
2073
2070
  cancelButtonProps: I,
2074
- actionProps: E,
2071
+ actionProps: h,
2075
2072
  actionButtonProps: B,
2076
- ...Q
2073
+ ...S
2077
2074
  }, p) {
2078
- return /* @__PURE__ */ a.createElement("div", { ref: p, ...Q }, /* @__PURE__ */ a.createElement(
2075
+ return /* @__PURE__ */ a.createElement("div", { ref: p, ...S }, /* @__PURE__ */ a.createElement(
2079
2076
  oq.Root,
2080
2077
  {
2081
2078
  ...n,
@@ -2087,7 +2084,7 @@ function Lc({
2087
2084
  oq.Overlay,
2088
2085
  {
2089
2086
  ...m,
2090
- className: h(
2087
+ className: E(
2091
2088
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
2092
2089
  m?.className
2093
2090
  )
@@ -2096,7 +2093,7 @@ function Lc({
2096
2093
  oq.Content,
2097
2094
  {
2098
2095
  ...u,
2099
- className: h(
2096
+ className: E(
2100
2097
  "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2em)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
2101
2098
  u?.className
2102
2099
  )
@@ -2105,13 +2102,13 @@ function Lc({
2105
2102
  "div",
2106
2103
  {
2107
2104
  ...M,
2108
- className: h("flex flex-col gap-2 text-center sm:text-left", M?.className)
2105
+ className: E("flex flex-col gap-2 text-center sm:text-left", M?.className)
2109
2106
  },
2110
2107
  /* @__PURE__ */ a.createElement(
2111
2108
  oq.Title,
2112
2109
  {
2113
2110
  ...w,
2114
- className: h("text-lg font-semibold", w?.className)
2111
+ className: E("text-lg font-semibold", w?.className)
2115
2112
  },
2116
2113
  q
2117
2114
  ),
@@ -2119,7 +2116,7 @@ function Lc({
2119
2116
  oq.Description,
2120
2117
  {
2121
2118
  ...d,
2122
- className: h("text-muted-foreground text-sm", d?.className)
2119
+ className: E("text-muted-foreground text-sm", d?.className)
2123
2120
  },
2124
2121
  A
2125
2122
  )
@@ -2128,15 +2125,15 @@ function Lc({
2128
2125
  "div",
2129
2126
  {
2130
2127
  ...C,
2131
- className: h("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", C?.className)
2128
+ className: E("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", C?.className)
2132
2129
  },
2133
2130
  /* @__PURE__ */ a.createElement(oq.Cancel, { ...k, onClick: o }, /* @__PURE__ */ a.createElement(sq, { variant: "outline", ...I }, V)),
2134
- /* @__PURE__ */ a.createElement(oq.Action, { ...E, onClick: r }, /* @__PURE__ */ a.createElement(sq, { ...B }, e))
2131
+ /* @__PURE__ */ a.createElement(oq.Action, { ...h, onClick: r }, /* @__PURE__ */ a.createElement(sq, { ...B }, e))
2135
2132
  )
2136
2133
  ))
2137
2134
  ));
2138
2135
  }
2139
- const xA = a.forwardRef(Lc);
2136
+ const xA = a.forwardRef(jc);
2140
2137
  xA.displayName = "AlertDialog";
2141
2138
  const Oc = () => {
2142
2139
  const { t: q } = G(), { selectedDialog: A, leaveGroupChat: V } = v(), { startVideoCall: e, startAudioCall: o } = oc(), r = J((d) => d.enableCalls), n = Nq((d) => d.shadowPortal), [i, s] = X(
@@ -2242,7 +2239,7 @@ function Pc({ ...q }, A) {
2242
2239
  {
2243
2240
  ref: A,
2244
2241
  ...q,
2245
- className: h(
2242
+ className: E(
2246
2243
  "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
2247
2244
  q?.className
2248
2245
  )
@@ -2264,7 +2261,7 @@ const Hc = (q, A) => {
2264
2261
  (c) => c.startsWith("*") || c === n || i && c.endsWith("/*") && c.startsWith(i) || c.startsWith(".") && c.slice(1) === s
2265
2262
  );
2266
2263
  });
2267
- }, Se = (q, A, V, e, o) => {
2264
+ }, Qe = (q, A, V, e, o) => {
2268
2265
  const r = Array.from(q || []).filter(Boolean);
2269
2266
  if (r.length === 0)
2270
2267
  return;
@@ -2283,14 +2280,14 @@ function Xc({
2283
2280
  ...i
2284
2281
  }, s) {
2285
2282
  const c = (l) => {
2286
- Se(l.currentTarget.files, e, V, q, A), l.currentTarget.value = "";
2283
+ Qe(l.currentTarget.files, e, V, q, A), l.currentTarget.value = "";
2287
2284
  };
2288
2285
  return /* @__PURE__ */ a.createElement(
2289
2286
  Mq,
2290
2287
  {
2291
2288
  ...r,
2292
2289
  htmlFor: "file-uploader",
2293
- className: h(
2290
+ className: E(
2294
2291
  "group p-2 rounded-full hover:bg-ring/10 transition-all duration-200 ease-out cursor-pointer",
2295
2292
  r?.className
2296
2293
  )
@@ -2299,7 +2296,7 @@ function Xc({
2299
2296
  Tt,
2300
2297
  {
2301
2298
  ...n,
2302
- className: h(
2299
+ className: E(
2303
2300
  "text-foreground group-hover:scale-110 transition-all duration-200 ease-out",
2304
2301
  n?.className
2305
2302
  )
@@ -2315,7 +2312,7 @@ function Xc({
2315
2312
  accept: e,
2316
2313
  onChange: c,
2317
2314
  ...i,
2318
- className: h("hidden", i?.className)
2315
+ className: E("hidden", i?.className)
2319
2316
  }
2320
2317
  )
2321
2318
  );
@@ -2341,7 +2338,7 @@ function $c({
2341
2338
  const [u, M] = a.useState(!1), w = (I) => {
2342
2339
  I.preventDefault(), I.stopPropagation();
2343
2340
  }, d = (I) => {
2344
- w(I), M(!1), Se(I.dataTransfer.files, e, V, q, A), I.dataTransfer.clearData();
2341
+ w(I), M(!1), Qe(I.dataTransfer.files, e, V, q, A), I.dataTransfer.clearData();
2345
2342
  }, C = (I) => {
2346
2343
  w(I), I.dataTransfer.items && I.dataTransfer.items.length > 0 && M(!0);
2347
2344
  }, k = (I) => {
@@ -2355,7 +2352,7 @@ function $c({
2355
2352
  onDragLeave: k,
2356
2353
  onDragOver: w,
2357
2354
  ...g,
2358
- className: h("relative size-full min-h-0", g?.className)
2355
+ className: E("relative size-full min-h-0", g?.className)
2359
2356
  },
2360
2357
  o,
2361
2358
  /* @__PURE__ */ a.createElement(
@@ -2363,7 +2360,7 @@ function $c({
2363
2360
  {
2364
2361
  onDrop: d,
2365
2362
  ...i,
2366
- className: h(
2363
+ className: E(
2367
2364
  "absolute top-0 left-0 size-full",
2368
2365
  "flex items-center justify-center",
2369
2366
  "transition-all duration-300 ease-out",
@@ -2376,7 +2373,7 @@ function $c({
2376
2373
  "div",
2377
2374
  {
2378
2375
  ...s,
2379
- className: h(
2376
+ className: E(
2380
2377
  "bg-muted flex flex-row items-center gap-2 rounded-full py-2 px-4 transition-all",
2381
2378
  u ? "scale-100" : "scale-90",
2382
2379
  s?.className
@@ -2387,50 +2384,50 @@ function $c({
2387
2384
  {
2388
2385
  absoluteStrokeWidth: !0,
2389
2386
  ...c,
2390
- className: h("text-ring size-6", c?.className)
2387
+ className: E("text-ring size-6", c?.className)
2391
2388
  }
2392
2389
  ),
2393
- /* @__PURE__ */ a.createElement("span", { ...l, className: h("text-ring text-md font-bold", l?.className) }, n || "Drop files here")
2390
+ /* @__PURE__ */ a.createElement("span", { ...l, className: E("text-ring text-md font-bold", l?.className) }, n || "Drop files here")
2394
2391
  )
2395
2392
  )
2396
2393
  );
2397
2394
  }
2398
2395
  const Ue = a.forwardRef($c);
2399
2396
  Ue.displayName = "FilePickerDropzone";
2400
- function Zq(q) {
2401
- return Eq({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "48", d: "m184 112 144 144-144 144" }, child: [] }] })(q);
2402
- }
2403
2397
  function _c(q) {
2404
- return Eq({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 256c-13.47 0-26.94-2.39-37.44-7.17l-148-67.49C63.79 178.26 48 169.25 48 152.24s15.79-26 22.58-29.12l149.28-68.07c20.57-9.4 51.61-9.4 72.19 0l149.37 68.07c6.79 3.09 22.58 12.1 22.58 29.12s-15.79 26-22.58 29.11l-148 67.48C282.94 253.61 269.47 256 256 256zm176.76-100.86z" }, child: [] }, { tag: "path", attr: { d: "M441.36 226.81 426.27 220l-38.77 17.74-94 43c-10.5 4.8-24 7.19-37.44 7.19s-26.93-2.39-37.42-7.19l-94.07-43L85.79 220l-15.22 6.84C63.79 229.93 48 239 48 256s15.79 26.08 22.56 29.17l148 67.63C229 357.6 242.49 360 256 360s26.94-2.4 37.44-7.19l147.87-67.61c6.81-3.09 22.69-12.11 22.69-29.2s-15.77-26.07-22.64-29.19z" }, child: [] }, { tag: "path", attr: { d: "m441.36 330.8-15.09-6.8-38.77 17.73-94 42.95c-10.5 4.78-24 7.18-37.44 7.18s-26.93-2.39-37.42-7.18l-94.07-43L85.79 324l-15.22 6.84C63.79 333.93 48 343 48 360s15.79 26.07 22.56 29.15l148 67.59C229 461.52 242.54 464 256 464s26.88-2.48 37.38-7.27l147.92-67.57c6.82-3.08 22.7-12.1 22.7-29.16s-15.77-26.07-22.64-29.2z" }, child: [] }] })(q);
2398
+ return hq({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M48 176v.66a17.38 17.38 0 0 1-4.2 11.23v.05C38.4 194.32 32 205.74 32 224c0 16.55 5.3 28.23 11.68 35.91A19 19 0 0 1 48 272a32 32 0 0 0 32 32h8a8 8 0 0 0 8-8V152a8 8 0 0 0-8-8h-8a32 32 0 0 0-32 32zm404.18 10.55-.93-.17a4 4 0 0 1-3.25-3.93V62c0-12.64-8.39-24-20.89-28.32-11.92-4.11-24.34-.76-31.68 8.53a431.18 431.18 0 0 1-51.31 51.69c-23.63 20-46.24 34.25-67 42.31a8 8 0 0 0-5.15 7.47V299a16 16 0 0 0 9.69 14.69c19.34 8.29 40.24 21.83 62 40.28a433.74 433.74 0 0 1 51.68 52.16 26.22 26.22 0 0 0 21.1 9.87 33.07 33.07 0 0 0 10.44-1.74C439.71 410 448 399.05 448 386.4V265.53a4 4 0 0 1 3.33-3.94l.85-.14C461.8 258.84 480 247.67 480 224s-18.2-34.84-27.82-37.45zM240 320V152a8 8 0 0 0-8-8h-96a8 8 0 0 0-8 8v304a24 24 0 0 0 24 24h52.45a32.66 32.66 0 0 0 25.93-12.45 31.65 31.65 0 0 0 5.21-29.05c-1.62-5.18-3.63-11-5.77-17.19-7.91-22.9-18.34-37.07-21.12-69.32A32 32 0 0 0 240 320z" }, child: [] }] })(q);
2405
2399
  }
2406
2400
  function qg(q) {
2407
- return Eq({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M48 176v.66a17.38 17.38 0 0 1-4.2 11.23v.05C38.4 194.32 32 205.74 32 224c0 16.55 5.3 28.23 11.68 35.91A19 19 0 0 1 48 272a32 32 0 0 0 32 32h8a8 8 0 0 0 8-8V152a8 8 0 0 0-8-8h-8a32 32 0 0 0-32 32zm404.18 10.55-.93-.17a4 4 0 0 1-3.25-3.93V62c0-12.64-8.39-24-20.89-28.32-11.92-4.11-24.34-.76-31.68 8.53a431.18 431.18 0 0 1-51.31 51.69c-23.63 20-46.24 34.25-67 42.31a8 8 0 0 0-5.15 7.47V299a16 16 0 0 0 9.69 14.69c19.34 8.29 40.24 21.83 62 40.28a433.74 433.74 0 0 1 51.68 52.16 26.22 26.22 0 0 0 21.1 9.87 33.07 33.07 0 0 0 10.44-1.74C439.71 410 448 399.05 448 386.4V265.53a4 4 0 0 1 3.33-3.94l.85-.14C461.8 258.84 480 247.67 480 224s-18.2-34.84-27.82-37.45zM240 320V152a8 8 0 0 0-8-8h-96a8 8 0 0 0-8 8v304a24 24 0 0 0 24 24h52.45a32.66 32.66 0 0 0 25.93-12.45 31.65 31.65 0 0 0 5.21-29.05c-1.62-5.18-3.63-11-5.77-17.19-7.91-22.9-18.34-37.07-21.12-69.32A32 32 0 0 0 240 320z" }, child: [] }] })(q);
2401
+ return hq({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 256c-13.47 0-26.94-2.39-37.44-7.17l-148-67.49C63.79 178.26 48 169.25 48 152.24s15.79-26 22.58-29.12l149.28-68.07c20.57-9.4 51.61-9.4 72.19 0l149.37 68.07c6.79 3.09 22.58 12.1 22.58 29.12s-15.79 26-22.58 29.11l-148 67.48C282.94 253.61 269.47 256 256 256zm176.76-100.86z" }, child: [] }, { tag: "path", attr: { d: "M441.36 226.81 426.27 220l-38.77 17.74-94 43c-10.5 4.8-24 7.19-37.44 7.19s-26.93-2.39-37.42-7.19l-94.07-43L85.79 220l-15.22 6.84C63.79 229.93 48 239 48 256s15.79 26.08 22.56 29.17l148 67.63C229 357.6 242.49 360 256 360s26.94-2.4 37.44-7.19l147.87-67.61c6.81-3.09 22.69-12.11 22.69-29.2s-15.77-26.07-22.64-29.19z" }, child: [] }, { tag: "path", attr: { d: "m441.36 330.8-15.09-6.8-38.77 17.73-94 42.95c-10.5 4.78-24 7.18-37.44 7.18s-26.93-2.39-37.42-7.18l-94.07-43L85.79 324l-15.22 6.84C63.79 333.93 48 343 48 360s15.79 26.07 22.56 29.15l148 67.59C229 461.52 242.54 464 256 464s26.88-2.48 37.38-7.27l147.92-67.57c6.82-3.08 22.7-12.1 22.7-29.16s-15.77-26.07-22.64-29.2z" }, child: [] }] })(q);
2402
+ }
2403
+ function Zq(q) {
2404
+ return hq({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "48", d: "m184 112 144 144-144 144" }, child: [] }] })(q);
2408
2405
  }
2409
2406
  const Ag = ({ activeKey: q, setActiveKey: A, enabled: V, aiModel: e }) => {
2410
- const { i18n: o, t: r } = G(), n = OV[o.language], i = W(""), { users: s, messages: c, selectedDialog: l, currentUserId: g, addTempMessage: m, updateTempMessage: u, generateTempMessageId: M } = v(), w = l?._id ?? "", d = H(() => c[w] ?? [], [c, w]), C = q === Qq.GET_SUMMARY, k = tq(
2411
- (E) => A(E ? Qq.GET_SUMMARY : Qq.DEFAULT),
2407
+ const { i18n: o, t: r } = G(), n = OV[o.language], i = W(""), { users: s, messages: c, selectedDialog: l, currentUserId: g, addTempMessage: m, updateTempMessage: u, generateTempMessageId: M } = v(), w = l?._id ?? "", d = H(() => c[w] ?? [], [c, w]), C = q === Sq.GET_SUMMARY, k = tq(
2408
+ (h) => A(h ? Sq.GET_SUMMARY : Sq.DEFAULT),
2412
2409
  [A]
2413
2410
  ), I = tq(
2414
- async (E) => {
2415
- const B = /* @__PURE__ */ new Date(), Q = d.map((f) => f.attachments && f.attachments.length > 0 ? { ...f, message: JSON.stringify(f.attachments) } : f);
2416
- let p = Q, T = "";
2417
- switch (E) {
2411
+ async (h) => {
2412
+ const B = /* @__PURE__ */ new Date(), S = d.map((f) => f.attachments && f.attachments.length > 0 ? { ...f, message: JSON.stringify(f.attachments) } : f);
2413
+ let p = S, T = "";
2414
+ switch (h) {
2418
2415
  case vq.LAST_7_DAYS: {
2419
2416
  const f = new Date(B.getFullYear(), B.getMonth(), B.getDate() - 7).getTime() / 1e3;
2420
- p = Q.filter(
2417
+ p = S.filter(
2421
2418
  ({ date_sent: N, custom: D }) => N > f && !D
2422
2419
  );
2423
2420
  break;
2424
2421
  }
2425
2422
  case vq.LAST_DAY: {
2426
2423
  const f = new Date(B.getFullYear(), B.getMonth(), B.getDate() - 1).getTime() / 1e3;
2427
- p = Q.filter(
2424
+ p = S.filter(
2428
2425
  ({ date_sent: N, custom: D }) => N > f && !D
2429
2426
  );
2430
2427
  break;
2431
2428
  }
2432
2429
  case vq.UNREADS: {
2433
- p = Q.filter(({ read: f, custom: N }) => f === 0 && !N);
2430
+ p = S.filter(({ read: f, custom: N }) => f === 0 && !N);
2434
2431
  break;
2435
2432
  }
2436
2433
  }
@@ -2443,10 +2440,10 @@ const Ag = ({ activeKey: q, setActiveKey: A, enabled: V, aiModel: e }) => {
2443
2440
  title: r("AI.SummaryMessageTitle"),
2444
2441
  body: "...",
2445
2442
  pending: !0,
2446
- filter: E
2443
+ filter: h
2447
2444
  });
2448
2445
  try {
2449
- const f = await jV({
2446
+ const f = await LV({
2450
2447
  model: e,
2451
2448
  prompt: `
2452
2449
  You are a helpful assistant. Please provide a concise summary of the following chat messages in ${n}.
@@ -2482,7 +2479,7 @@ const Ag = ({ activeKey: q, setActiveKey: A, enabled: V, aiModel: e }) => {
2482
2479
  ]
2483
2480
  );
2484
2481
  if (V)
2485
- return /* @__PURE__ */ t.createElement(Ce, { key: "ai:get-summary", open: C, onOpenChange: k }, /* @__PURE__ */ t.createElement(Ie, { className: "flex items-center gap-2 cursor-pointer text-sm" }, /* @__PURE__ */ t.createElement(_c, { className: "text-gray-700 size-6" }), r("AI.GetSummary")), /* @__PURE__ */ t.createElement(iV, null, /* @__PURE__ */ t.createElement(Qe, null, /* @__PURE__ */ t.createElement(
2482
+ return /* @__PURE__ */ t.createElement(Ce, { key: "ai:get-summary", open: C, onOpenChange: k }, /* @__PURE__ */ t.createElement(Ie, { className: "flex items-center gap-2 cursor-pointer text-sm" }, /* @__PURE__ */ t.createElement(qg, { className: "text-gray-700 size-6" }), r("AI.GetSummary")), /* @__PURE__ */ t.createElement(iV, null, /* @__PURE__ */ t.createElement(Se, null, /* @__PURE__ */ t.createElement(
2486
2483
  iq,
2487
2484
  {
2488
2485
  className: "flex items-center gap-2 cursor-pointer",
@@ -2516,8 +2513,8 @@ const Ag = ({ activeKey: q, setActiveKey: A, enabled: V, aiModel: e }) => {
2516
2513
  changeMessage: r,
2517
2514
  setProcessing: n
2518
2515
  }) => {
2519
- const { i18n: i, t: s } = G(), c = OV[i.language], l = q === Qq.CHANGE_TONE, g = tq(
2520
- (u) => A(u ? Qq.CHANGE_TONE : Qq.DEFAULT),
2516
+ const { i18n: i, t: s } = G(), c = OV[i.language], l = q === Sq.CHANGE_TONE, g = tq(
2517
+ (u) => A(u ? Sq.CHANGE_TONE : Sq.DEFAULT),
2521
2518
  [A]
2522
2519
  ), m = tq(
2523
2520
  async (u) => {
@@ -2527,7 +2524,7 @@ const Ag = ({ activeKey: q, setActiveKey: A, enabled: V, aiModel: e }) => {
2527
2524
  }
2528
2525
  n(!0);
2529
2526
  try {
2530
- const M = await jV({
2527
+ const M = await LV({
2531
2528
  model: e,
2532
2529
  prompt: `
2533
2530
  Rewrite the text "${o}" in ${u} tone.
@@ -2546,7 +2543,7 @@ const Ag = ({ activeKey: q, setActiveKey: A, enabled: V, aiModel: e }) => {
2546
2543
  [s, c, e, o, r, n]
2547
2544
  );
2548
2545
  if (V)
2549
- return /* @__PURE__ */ t.createElement(Ce, { key: Qq.CHANGE_TONE, open: l, onOpenChange: g }, /* @__PURE__ */ t.createElement(Ie, { className: "flex items-center gap-2 cursor-pointer text-sm" }, /* @__PURE__ */ t.createElement(qg, { className: "text-gray-700 size-6" }), s("AI.MessageTone")), /* @__PURE__ */ t.createElement(iV, null, /* @__PURE__ */ t.createElement(Qe, null, /* @__PURE__ */ t.createElement(
2546
+ return /* @__PURE__ */ t.createElement(Ce, { key: Sq.CHANGE_TONE, open: l, onOpenChange: g }, /* @__PURE__ */ t.createElement(Ie, { className: "flex items-center gap-2 cursor-pointer text-sm" }, /* @__PURE__ */ t.createElement(_c, { className: "text-gray-700 size-6" }), s("AI.MessageTone")), /* @__PURE__ */ t.createElement(iV, null, /* @__PURE__ */ t.createElement(Se, null, /* @__PURE__ */ t.createElement(
2550
2547
  iq,
2551
2548
  {
2552
2549
  className: "flex items-center gap-2 cursor-pointer",
@@ -2572,11 +2569,11 @@ const Ag = ({ activeKey: q, setActiveKey: A, enabled: V, aiModel: e }) => {
2572
2569
  s("AI.cringe")
2573
2570
  ))));
2574
2571
  }, eg = ({ inputMessage: q, changeInputMessage: A, setProcessing: V }) => {
2575
- const [e, o] = P(Qq.DEFAULT), [r, n, i] = ge(
2572
+ const [e, o] = P(Sq.DEFAULT), [r, n, i] = ge(
2576
2573
  x((l) => [l.apiKey, l.changeMessageTone, l.textSummarization])
2577
2574
  ), c = H(() => Aa({ apiKey: r }), [r])("gemini-2.5-flash");
2578
2575
  if (i || n)
2579
- return /* @__PURE__ */ t.createElement(DA, null, /* @__PURE__ */ t.createElement(TA, { className: "group p-2 rounded-full cursor-pointer hover:bg-ring/10 transition-all duration-200 ease-out focus-visible:outline-none focus-visible:ring-0" }, /* @__PURE__ */ t.createElement(xt, { className: "text-foreground group-hover:scale-110 transition-all duration-200 ease-out" })), /* @__PURE__ */ t.createElement(NA, { side: "left", align: "end" }, /* @__PURE__ */ t.createElement(jc, null, /* @__PURE__ */ t.createElement(
2576
+ return /* @__PURE__ */ t.createElement(DA, null, /* @__PURE__ */ t.createElement(TA, { className: "group p-2 rounded-full cursor-pointer hover:bg-ring/10 transition-all duration-200 ease-out focus-visible:outline-none focus-visible:ring-0" }, /* @__PURE__ */ t.createElement(xt, { className: "text-foreground group-hover:scale-110 transition-all duration-200 ease-out" })), /* @__PURE__ */ t.createElement(NA, { side: "left", align: "end" }, /* @__PURE__ */ t.createElement(Lc, null, /* @__PURE__ */ t.createElement(
2580
2577
  Ag,
2581
2578
  {
2582
2579
  activeKey: e,
@@ -2605,13 +2602,13 @@ function tg({ onSend: q = () => {
2605
2602
  ref: o,
2606
2603
  ...e,
2607
2604
  onClick: q,
2608
- className: h("group rounded-full py-2 pl-2.5 pr-1.5 cursor-pointer bg-ring/90 hover:bg-ring", e?.className)
2605
+ className: E("group rounded-full py-2 pl-2.5 pr-1.5 cursor-pointer bg-ring/90 hover:bg-ring", e?.className)
2609
2606
  },
2610
2607
  A || /* @__PURE__ */ a.createElement(
2611
2608
  Gt,
2612
2609
  {
2613
2610
  ...V,
2614
- className: h(
2611
+ className: E(
2615
2612
  "text-background group-hover:scale-110 transition-all duration-200 ease-out",
2616
2613
  V?.className
2617
2614
  )
@@ -2644,7 +2641,7 @@ function ag({
2644
2641
  l.onChange?.(p);
2645
2642
  const { data: T } = p.nativeEvent;
2646
2643
  u(p.target.value), !d.current && typeof T == "string" && T.length > 0 && (d.current = !0, o(!0)), clearTimeout(C.current), C.current = setTimeout(k, 5e3);
2647
- }, E = async () => {
2644
+ }, h = async () => {
2648
2645
  k(), typeof m == "string" && m.length > 0 && (V(m.trim()), u(""), M.current?.focus());
2649
2646
  }, B = (p, T) => {
2650
2647
  if (l.onHeightChange?.(p, T), !(!p && !T)) {
@@ -2654,8 +2651,8 @@ function ag({
2654
2651
  }
2655
2652
  w.current = p;
2656
2653
  }
2657
- }, Q = (p) => {
2658
- l.onKeyDown?.(p), p.key === "Enter" && p.shiftKey === !1 && (p.preventDefault(), E());
2654
+ }, S = (p) => {
2655
+ l.onKeyDown?.(p), p.key === "Enter" && p.shiftKey === !1 && (p.preventDefault(), h());
2659
2656
  };
2660
2657
  return a.useEffect(() => {
2661
2658
  const p = M.current;
@@ -2664,7 +2661,7 @@ function ag({
2664
2661
  };
2665
2662
  }, [l.key]), a.useEffect(() => {
2666
2663
  l.value !== void 0 && (u(String(l.value)), M.current?.focus());
2667
- }, [l.value]), a.useImperativeHandle(g, () => M.current || {}, []), /* @__PURE__ */ a.createElement("div", { ...s, className: h("flex items-end gap-2", s?.className) }, /* @__PURE__ */ a.createElement(
2664
+ }, [l.value]), a.useImperativeHandle(g, () => M.current || {}, []), /* @__PURE__ */ a.createElement("div", { ...s, className: E("flex items-end gap-2", s?.className) }, /* @__PURE__ */ a.createElement(
2668
2665
  Va,
2669
2666
  {
2670
2667
  name: "textarea-autosize",
@@ -2675,9 +2672,9 @@ function ag({
2675
2672
  ...l,
2676
2673
  value: m,
2677
2674
  onChange: I,
2678
- onKeyDown: Q,
2675
+ onKeyDown: S,
2679
2676
  onHeightChange: B,
2680
- className: h(
2677
+ className: E(
2681
2678
  "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-11 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
2682
2679
  "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring",
2683
2680
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
@@ -2686,7 +2683,7 @@ function ag({
2686
2683
  l?.className
2687
2684
  )
2688
2685
  }
2689
- ), !n && /* @__PURE__ */ a.createElement(ye, { onSend: E, ...i }), c);
2686
+ ), !n && /* @__PURE__ */ a.createElement(ye, { onSend: h, ...i }), c);
2690
2687
  }
2691
2688
  const De = a.forwardRef(ag);
2692
2689
  De.displayName = "ChatInput";
@@ -2699,11 +2696,11 @@ const og = ({ onSendMessage: q, onSendAttachment: A, onHeightGrow: V }) => {
2699
2696
  p && q(p.trim());
2700
2697
  }, I = (p = "") => {
2701
2698
  p.length > 0 ? n({ [l]: p }) : i(l);
2702
- }, E = (p) => {
2699
+ }, h = (p) => {
2703
2700
  c(s, p);
2704
2701
  }, B = (p) => {
2705
2702
  A(p);
2706
- }, Q = (p) => {
2703
+ }, S = (p) => {
2707
2704
  u(p.target.value);
2708
2705
  };
2709
2706
  return /* @__PURE__ */ t.createElement(
@@ -2717,9 +2714,9 @@ const og = ({ onSendMessage: q, onSendAttachment: A, onHeightGrow: V }) => {
2717
2714
  draft: g,
2718
2715
  onSend: k,
2719
2716
  onDraft: I,
2720
- onTyping: E,
2717
+ onTyping: h,
2721
2718
  onHeightGrow: V,
2722
- onChange: Q,
2719
+ onChange: S,
2723
2720
  className: "selection:bg-ring/50 selection:text-blue-950",
2724
2721
  containerProps: { className: "border-t mx-2 py-2" }
2725
2722
  },
@@ -2742,14 +2739,14 @@ function ng({ title: q, titles: A = [], rowProps: V, ...e }, o) {
2742
2739
  {
2743
2740
  ref: o,
2744
2741
  ...e,
2745
- className: h("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2", e?.className)
2742
+ className: E("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2", e?.className)
2746
2743
  },
2747
2744
  r.map((n, i) => /* @__PURE__ */ a.createElement(
2748
2745
  "div",
2749
2746
  {
2750
2747
  key: `placeholder-text-${i}`,
2751
2748
  ...V,
2752
- className: h("text-center text-muted-foreground", V?.className)
2749
+ className: E("text-center text-muted-foreground", V?.className)
2753
2750
  },
2754
2751
  n
2755
2752
  ))
@@ -2765,7 +2762,7 @@ function ig({ pending: q = !1, children: A, ...V }, e) {
2765
2762
  target: "_blank",
2766
2763
  rel: "noopener noreferrer",
2767
2764
  ...V,
2768
- className: h(
2765
+ className: E(
2769
2766
  "group relative min-h-8 min-w-8 w-full flex items-center justify-center rounded-md overflow-hidden bg-ring/10 hover:bg-ring/20 transition-color duration-300 ease-out cursor-pointer",
2770
2767
  V?.className
2771
2768
  )
@@ -2782,7 +2779,7 @@ function sg({ uid: q, url: A, pending: V = !1, containerProps: e, ...o }, r) {
2782
2779
  "div",
2783
2780
  {
2784
2781
  ...e,
2785
- className: h("relative min-h-8 min-w-8 w-full rounded-md overflow-hidden", e?.className)
2782
+ className: E("relative min-h-8 min-w-8 w-full rounded-md overflow-hidden", e?.className)
2786
2783
  },
2787
2784
  /* @__PURE__ */ a.createElement("audio", { ref: r, src: A, id: n, controls: !0, ...o }),
2788
2785
  /* @__PURE__ */ a.createElement(gq, { loading: V, layout: "overlay" })
@@ -2797,15 +2794,15 @@ function cg({ uid: q, url: A, maxSize: V = 360, pending: e = !1, onReady: o = ()
2797
2794
  }), u = (M) => {
2798
2795
  const w = l.current;
2799
2796
  if (w) {
2800
- const { videoWidth: d, videoHeight: C } = w, k = d / C || 1, I = k < 1 ? c : `${Math.round(V / k)}px`, E = k < 1 ? `${Math.round(V * k)}px` : c;
2801
- m({ height: I, width: E, maxHeight: I, maxWidth: E }), n.onCanPlay?.(M), o();
2797
+ const { videoWidth: d, videoHeight: C } = w, k = d / C || 1, I = k < 1 ? c : `${Math.round(V / k)}px`, h = k < 1 ? `${Math.round(V * k)}px` : c;
2798
+ m({ height: I, width: h, maxHeight: I, maxWidth: h }), n.onCanPlay?.(M), o();
2802
2799
  }
2803
2800
  };
2804
2801
  return a.useImperativeHandle(i, () => l.current || {}, []), /* @__PURE__ */ a.createElement(
2805
2802
  "div",
2806
2803
  {
2807
2804
  ...r,
2808
- className: h("relative min-h-20 w-full rounded-md overflow-hidden", r?.className)
2805
+ className: E("relative min-h-20 w-full rounded-md overflow-hidden", r?.className)
2809
2806
  },
2810
2807
  /* @__PURE__ */ a.createElement(
2811
2808
  "video",
@@ -2818,7 +2815,7 @@ function cg({ uid: q, url: A, maxSize: V = 360, pending: e = !1, onReady: o = ()
2818
2815
  style: g,
2819
2816
  ...n,
2820
2817
  onCanPlay: u,
2821
- className: h("size-full", n?.className)
2818
+ className: E("size-full", n?.className)
2822
2819
  }
2823
2820
  ),
2824
2821
  /* @__PURE__ */ a.createElement(gq, { loading: e, layout: "overlay" })
@@ -2839,7 +2836,7 @@ function gg({ uid: q, url: A, pending: V = !1, onReady: e = () => {
2839
2836
  id: i,
2840
2837
  alt: "attachment",
2841
2838
  ...r,
2842
- className: h(
2839
+ className: E(
2843
2840
  "rounded-md object-cover min-h-8 min-w-8 max-h-[360px] group-hover:scale-102 transition-transform duration-300 ease-out",
2844
2841
  r?.className
2845
2842
  ),
@@ -2857,14 +2854,14 @@ function xe({ url: q, name: A, pending: V = !1, iconElement: e, linkProps: o, ..
2857
2854
  href: q,
2858
2855
  pending: V,
2859
2856
  ...o,
2860
- className: h("flex-row gap-1.5 p-2 hover:shadow", o?.className)
2857
+ className: E("flex-row gap-1.5 p-2 hover:shadow", o?.className)
2861
2858
  },
2862
2859
  e || /* @__PURE__ */ a.createElement(
2863
2860
  vt,
2864
2861
  {
2865
2862
  id: n,
2866
2863
  ...r,
2867
- className: h(
2864
+ className: E(
2868
2865
  "size-5 shrink-0 text-foreground/80 group-hover:text-foreground duration-300 ease-out",
2869
2866
  r?.className
2870
2867
  )
@@ -2886,12 +2883,12 @@ function Ge({
2886
2883
  "div",
2887
2884
  {
2888
2885
  ...e,
2889
- className: h(
2886
+ className: E(
2890
2887
  "relative min-h-8 min-w-8 w-full flex flex-row items-center justify-center gap-2 px-2 bg-red-600/10 rounded-md overflow-hidden",
2891
2888
  e?.className
2892
2889
  )
2893
2890
  },
2894
- V || /* @__PURE__ */ a.createElement(bt, { id: r, ...o, className: h("size-6 shrink-0 text-red-600", o?.className) }),
2891
+ V || /* @__PURE__ */ a.createElement(bt, { id: r, ...o, className: E("size-6 shrink-0 text-red-600", o?.className) }),
2895
2892
  /* @__PURE__ */ a.createElement("span", { className: "font-medium line-clamp-1 break-all text-red-600" }, q),
2896
2893
  /* @__PURE__ */ a.createElement(gq, { loading: A, layout: "overlay" })
2897
2894
  );
@@ -2940,7 +2937,7 @@ function wg({
2940
2937
  () => ({
2941
2938
  ...ug,
2942
2939
  ...e,
2943
- className: h("text-blue-500 hover:text-blue-600 hover:underline", e?.className)
2940
+ className: E("text-blue-500 hover:text-blue-600 hover:underline", e?.className)
2944
2941
  }),
2945
2942
  [e]
2946
2943
  );
@@ -2950,17 +2947,17 @@ function wg({
2950
2947
  "div",
2951
2948
  {
2952
2949
  ...o,
2953
- className: h("flex items-start flex-col size-full", o?.className)
2950
+ className: E("flex items-start flex-col size-full", o?.className)
2954
2951
  },
2955
2952
  n.map((g, m) => /* @__PURE__ */ a.createElement(
2956
2953
  "span",
2957
2954
  {
2958
2955
  ...r,
2959
2956
  key: `${g}_${m}`,
2960
- className: h("bg-muted-foreground animate-pulse rounded-md my-1 h-4", r?.className, g)
2957
+ className: E("bg-muted-foreground animate-pulse rounded-md my-1 h-4", r?.className, g)
2961
2958
  }
2962
2959
  ))
2963
- ) : /* @__PURE__ */ a.createElement("p", { ref: s, ...i, className: h("wrap-break-word text-base", i?.className) }, /* @__PURE__ */ a.createElement(ea, { options: l }, q));
2960
+ ) : /* @__PURE__ */ a.createElement("p", { ref: s, ...i, className: E("wrap-break-word text-base", i?.className) }, /* @__PURE__ */ a.createElement(ea, { options: l }, q));
2964
2961
  }
2965
2962
  const ve = a.memo(a.forwardRef(wg));
2966
2963
  ve.displayName = "LinkifyText";
@@ -2970,7 +2967,7 @@ const Ye = ({ fromMe: q, status: A, ...V }) => {
2970
2967
  e,
2971
2968
  {
2972
2969
  ...V,
2973
- className: h("size-4", A === "hungUp" ? "text-green-500" : "text-red-500", V?.className)
2970
+ className: E("size-4", A === "hungUp" ? "text-green-500" : "text-red-500", V?.className)
2974
2971
  }
2975
2972
  );
2976
2973
  };
@@ -2981,7 +2978,7 @@ function cq(q) {
2981
2978
  return q.formats[V] || q.formats[q.defaultWidth];
2982
2979
  };
2983
2980
  }
2984
- function j(q) {
2981
+ function L(q) {
2985
2982
  return (A, V) => {
2986
2983
  const e = V?.context ? String(V.context) : "standalone";
2987
2984
  let o;
@@ -2996,7 +2993,7 @@ function j(q) {
2996
2993
  return o[r];
2997
2994
  };
2998
2995
  }
2999
- function L(q) {
2996
+ function j(q) {
3000
2997
  return (A, V = {}) => {
3001
2998
  const e = V.width, o = e && q.matchPatterns[e] || q.matchPatterns[q.defaultMatchWidth], r = A.match(o);
3002
2999
  if (!r)
@@ -3040,16 +3037,16 @@ const TV = /* @__PURE__ */ Symbol.for("constructDateFrom");
3040
3037
  function Fe(q, A) {
3041
3038
  return typeof q == "function" ? q(A) : q && typeof q == "object" && TV in q ? q[TV](A) : q instanceof Date ? new q.constructor(A) : new Date(A);
3042
3039
  }
3043
- function hg(q, ...A) {
3040
+ function Eg(q, ...A) {
3044
3041
  const V = Fe.bind(
3045
3042
  null,
3046
3043
  q || A.find((e) => typeof e == "object")
3047
3044
  );
3048
3045
  return A.map(V);
3049
3046
  }
3050
- let Eg = {};
3047
+ let hg = {};
3051
3048
  function Bg() {
3052
- return Eg;
3049
+ return hg;
3053
3050
  }
3054
3051
  function lV(q, A) {
3055
3052
  return Fe(A || q, q);
@@ -3059,7 +3056,7 @@ function NV(q, A) {
3059
3056
  return o.setDate(o.getDate() - n), o.setHours(0, 0, 0, 0), o;
3060
3057
  }
3061
3058
  function Ke(q, A, V) {
3062
- const [e, o] = hg(
3059
+ const [e, o] = Eg(
3063
3060
  V?.in,
3064
3061
  q,
3065
3062
  A
@@ -3137,12 +3134,12 @@ const kg = {
3137
3134
  long: "d MMMM y",
3138
3135
  medium: "d MMM y",
3139
3136
  short: "d/M/yy"
3140
- }, Qg = {
3137
+ }, Sg = {
3141
3138
  full: "h:mm:ss a zzzz",
3142
3139
  long: "h:mm:ss a z",
3143
3140
  medium: "h:mm:ss a",
3144
3141
  short: "h:mm a"
3145
- }, Sg = {
3142
+ }, Qg = {
3146
3143
  full: "{{date}} - {{time}}",
3147
3144
  long: "{{date}} - {{time}}",
3148
3145
  medium: "{{date}}, {{time}}",
@@ -3153,11 +3150,11 @@ const kg = {
3153
3150
  defaultWidth: "full"
3154
3151
  }),
3155
3152
  time: cq({
3156
- formats: Qg,
3153
+ formats: Sg,
3157
3154
  defaultWidth: "full"
3158
3155
  }),
3159
3156
  dateTime: cq({
3160
- formats: Sg,
3157
+ formats: Qg,
3161
3158
  defaultWidth: "full"
3162
3159
  })
3163
3160
  }, Ug = {
@@ -3288,26 +3285,26 @@ const kg = {
3288
3285
  return e === "year" || e === "month" ? o = "ος" : e === "week" || e === "dayOfYear" || e === "day" || e === "hour" || e === "date" ? o = "η" : o = "ο", V + o;
3289
3286
  }, Yg = {
3290
3287
  ordinalNumber: vg,
3291
- era: j({
3288
+ era: L({
3292
3289
  values: Dg,
3293
3290
  defaultWidth: "wide"
3294
3291
  }),
3295
- quarter: j({
3292
+ quarter: L({
3296
3293
  values: Tg,
3297
3294
  defaultWidth: "wide",
3298
3295
  argumentCallback: (q) => q - 1
3299
3296
  }),
3300
- month: j({
3297
+ month: L({
3301
3298
  values: Ng,
3302
3299
  defaultWidth: "wide",
3303
3300
  formattingValues: xg,
3304
3301
  defaultFormattingWidth: "wide"
3305
3302
  }),
3306
- day: j({
3303
+ day: L({
3307
3304
  values: Gg,
3308
3305
  defaultWidth: "wide"
3309
3306
  }),
3310
- dayPeriod: j({
3307
+ dayPeriod: L({
3311
3308
  values: bg,
3312
3309
  defaultWidth: "wide"
3313
3310
  })
@@ -3321,9 +3318,9 @@ const kg = {
3321
3318
  narrow: /^[1234]/i,
3322
3319
  abbreviated: /^τ[1234]/i,
3323
3320
  wide: /^[1234]ο? τρ(ί|ι)μηνο/i
3324
- }, jg = {
3325
- any: [/1/i, /2/i, /3/i, /4/i]
3326
3321
  }, Lg = {
3322
+ any: [/1/i, /2/i, /3/i, /4/i]
3323
+ }, jg = {
3327
3324
  narrow: /^[ιφμαμιιασονδ]/i,
3328
3325
  abbreviated: /^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,
3329
3326
  wide: /^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i
@@ -3384,32 +3381,32 @@ const kg = {
3384
3381
  parsePattern: Kg,
3385
3382
  valueCallback: (q) => parseInt(q, 10)
3386
3383
  }),
3387
- era: L({
3384
+ era: j({
3388
3385
  matchPatterns: Rg,
3389
3386
  defaultMatchWidth: "wide",
3390
3387
  parsePatterns: zg,
3391
3388
  defaultParseWidth: "any"
3392
3389
  }),
3393
- quarter: L({
3390
+ quarter: j({
3394
3391
  matchPatterns: Jg,
3395
3392
  defaultMatchWidth: "wide",
3396
- parsePatterns: jg,
3393
+ parsePatterns: Lg,
3397
3394
  defaultParseWidth: "any",
3398
3395
  valueCallback: (q) => q + 1
3399
3396
  }),
3400
- month: L({
3401
- matchPatterns: Lg,
3397
+ month: j({
3398
+ matchPatterns: jg,
3402
3399
  defaultMatchWidth: "wide",
3403
3400
  parsePatterns: Og,
3404
3401
  defaultParseWidth: "any"
3405
3402
  }),
3406
- day: L({
3403
+ day: j({
3407
3404
  matchPatterns: Wg,
3408
3405
  defaultMatchWidth: "wide",
3409
3406
  parsePatterns: Zg,
3410
3407
  defaultParseWidth: "any"
3411
3408
  }),
3412
- dayPeriod: L({
3409
+ dayPeriod: j({
3413
3410
  matchPatterns: Pg,
3414
3411
  defaultMatchWidth: "any",
3415
3412
  parsePatterns: Hg,
@@ -3626,24 +3623,24 @@ const kg = {
3626
3623
  return V + "th";
3627
3624
  }, sm = {
3628
3625
  ordinalNumber: im,
3629
- era: j({
3626
+ era: L({
3630
3627
  values: em,
3631
3628
  defaultWidth: "wide"
3632
3629
  }),
3633
- quarter: j({
3630
+ quarter: L({
3634
3631
  values: tm,
3635
3632
  defaultWidth: "wide",
3636
3633
  argumentCallback: (q) => q - 1
3637
3634
  }),
3638
- month: j({
3635
+ month: L({
3639
3636
  values: am,
3640
3637
  defaultWidth: "wide"
3641
3638
  }),
3642
- day: j({
3639
+ day: L({
3643
3640
  values: om,
3644
3641
  defaultWidth: "wide"
3645
3642
  }),
3646
- dayPeriod: j({
3643
+ dayPeriod: L({
3647
3644
  values: rm,
3648
3645
  defaultWidth: "wide",
3649
3646
  formattingValues: nm,
@@ -3699,10 +3696,10 @@ const kg = {
3699
3696
  short: /^(su|mo|tu|we|th|fr|sa)/i,
3700
3697
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
3701
3698
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
3702
- }, hm = {
3699
+ }, Em = {
3703
3700
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
3704
3701
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
3705
- }, Em = {
3702
+ }, hm = {
3706
3703
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
3707
3704
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
3708
3705
  }, Bm = {
@@ -3722,33 +3719,33 @@ const kg = {
3722
3719
  parsePattern: cm,
3723
3720
  valueCallback: (q) => parseInt(q, 10)
3724
3721
  }),
3725
- era: L({
3722
+ era: j({
3726
3723
  matchPatterns: gm,
3727
3724
  defaultMatchWidth: "wide",
3728
3725
  parsePatterns: mm,
3729
3726
  defaultParseWidth: "any"
3730
3727
  }),
3731
- quarter: L({
3728
+ quarter: j({
3732
3729
  matchPatterns: um,
3733
3730
  defaultMatchWidth: "wide",
3734
3731
  parsePatterns: dm,
3735
3732
  defaultParseWidth: "any",
3736
3733
  valueCallback: (q) => q + 1
3737
3734
  }),
3738
- month: L({
3735
+ month: j({
3739
3736
  matchPatterns: wm,
3740
3737
  defaultMatchWidth: "wide",
3741
3738
  parsePatterns: Mm,
3742
3739
  defaultParseWidth: "any"
3743
3740
  }),
3744
- day: L({
3741
+ day: j({
3745
3742
  matchPatterns: pm,
3746
3743
  defaultMatchWidth: "wide",
3747
- parsePatterns: hm,
3744
+ parsePatterns: Em,
3748
3745
  defaultParseWidth: "any"
3749
3746
  }),
3750
- dayPeriod: L({
3751
- matchPatterns: Em,
3747
+ dayPeriod: j({
3748
+ matchPatterns: hm,
3752
3749
  defaultMatchWidth: "any",
3753
3750
  parsePatterns: Bm,
3754
3751
  defaultParseWidth: "any"
@@ -3763,12 +3760,12 @@ const kg = {
3763
3760
  long: "h:mm:ss a z",
3764
3761
  medium: "h:mm:ss a",
3765
3762
  short: "h:mm a"
3766
- }, Qm = {
3763
+ }, Sm = {
3767
3764
  full: "{{date}} 'at' {{time}}",
3768
3765
  long: "{{date}} 'at' {{time}}",
3769
3766
  medium: "{{date}}, {{time}}",
3770
3767
  short: "{{date}}, {{time}}"
3771
- }, Sm = {
3768
+ }, Qm = {
3772
3769
  date: cq({
3773
3770
  formats: Cm,
3774
3771
  defaultWidth: "full"
@@ -3778,13 +3775,13 @@ const kg = {
3778
3775
  defaultWidth: "full"
3779
3776
  }),
3780
3777
  dateTime: cq({
3781
- formats: Qm,
3778
+ formats: Sm,
3782
3779
  defaultWidth: "full"
3783
3780
  })
3784
3781
  }, Re = {
3785
3782
  code: "en-US",
3786
3783
  formatDistance: qm,
3787
- formatLong: Sm,
3784
+ formatLong: Qm,
3788
3785
  formatRelative: Vm,
3789
3786
  localize: sm,
3790
3787
  match: km,
@@ -4013,32 +4010,32 @@ const kg = {
4013
4010
  evening: "de la tarde",
4014
4011
  night: "de la noche"
4015
4012
  }
4016
- }, Jm = (q, A) => Number(q) + "º", jm = {
4013
+ }, Jm = (q, A) => Number(q) + "º", Lm = {
4017
4014
  ordinalNumber: Jm,
4018
- era: j({
4015
+ era: L({
4019
4016
  values: vm,
4020
4017
  defaultWidth: "wide"
4021
4018
  }),
4022
- quarter: j({
4019
+ quarter: L({
4023
4020
  values: Ym,
4024
4021
  defaultWidth: "wide",
4025
4022
  argumentCallback: (q) => Number(q) - 1
4026
4023
  }),
4027
- month: j({
4024
+ month: L({
4028
4025
  values: Fm,
4029
4026
  defaultWidth: "wide"
4030
4027
  }),
4031
- day: j({
4028
+ day: L({
4032
4029
  values: Km,
4033
4030
  defaultWidth: "wide"
4034
4031
  }),
4035
- dayPeriod: j({
4032
+ dayPeriod: L({
4036
4033
  values: Rm,
4037
4034
  defaultWidth: "wide",
4038
4035
  formattingValues: zm,
4039
4036
  defaultFormattingWidth: "wide"
4040
4037
  })
4041
- }, Lm = /^(\d+)(º)?/i, Om = /\d+/i, Wm = {
4038
+ }, jm = /^(\d+)(º)?/i, Om = /\d+/i, Wm = {
4042
4039
  narrow: /^(ac|dc|a|d)/i,
4043
4040
  abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,
4044
4041
  wide: /^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i
@@ -4111,38 +4108,38 @@ const kg = {
4111
4108
  }
4112
4109
  }, eu = {
4113
4110
  ordinalNumber: GA({
4114
- matchPattern: Lm,
4111
+ matchPattern: jm,
4115
4112
  parsePattern: Om,
4116
4113
  valueCallback: function(q) {
4117
4114
  return parseInt(q, 10);
4118
4115
  }
4119
4116
  }),
4120
- era: L({
4117
+ era: j({
4121
4118
  matchPatterns: Wm,
4122
4119
  defaultMatchWidth: "wide",
4123
4120
  parsePatterns: Zm,
4124
4121
  defaultParseWidth: "any"
4125
4122
  }),
4126
- quarter: L({
4123
+ quarter: j({
4127
4124
  matchPatterns: Pm,
4128
4125
  defaultMatchWidth: "wide",
4129
4126
  parsePatterns: Hm,
4130
4127
  defaultParseWidth: "any",
4131
4128
  valueCallback: (q) => q + 1
4132
4129
  }),
4133
- month: L({
4130
+ month: j({
4134
4131
  matchPatterns: Xm,
4135
4132
  defaultMatchWidth: "wide",
4136
4133
  parsePatterns: $m,
4137
4134
  defaultParseWidth: "any"
4138
4135
  }),
4139
- day: L({
4136
+ day: j({
4140
4137
  matchPatterns: _m,
4141
4138
  defaultMatchWidth: "wide",
4142
4139
  parsePatterns: qu,
4143
4140
  defaultParseWidth: "any"
4144
4141
  }),
4145
- dayPeriod: L({
4142
+ dayPeriod: j({
4146
4143
  matchPatterns: Au,
4147
4144
  defaultMatchWidth: "any",
4148
4145
  parsePatterns: Vu,
@@ -4153,7 +4150,7 @@ const kg = {
4153
4150
  formatDistance: Um,
4154
4151
  formatLong: Nm,
4155
4152
  formatRelative: bm,
4156
- localize: jm,
4153
+ localize: Lm,
4157
4154
  match: eu,
4158
4155
  options: {
4159
4156
  weekStartsOn: 1,
@@ -4432,7 +4429,7 @@ const mu = (q, A, V) => {
4432
4429
  narrow: ["1", "2", "3", "4"],
4433
4430
  abbreviated: ["1-й кв.", "2-й кв.", "3-й кв.", "4-й кв."],
4434
4431
  wide: ["1-й квартал", "2-й квартал", "3-й квартал", "4-й квартал"]
4435
- }, hu = {
4432
+ }, Eu = {
4436
4433
  // ДСТУ 3582:2013
4437
4434
  narrow: ["С", "Л", "Б", "К", "Т", "Ч", "Л", "С", "В", "Ж", "Л", "Г"],
4438
4435
  abbreviated: [
@@ -4463,7 +4460,7 @@ const mu = (q, A, V) => {
4463
4460
  "листопад",
4464
4461
  "грудень"
4465
4462
  ]
4466
- }, Eu = {
4463
+ }, hu = {
4467
4464
  narrow: ["С", "Л", "Б", "К", "Т", "Ч", "Л", "С", "В", "Ж", "Л", "Г"],
4468
4465
  abbreviated: [
4469
4466
  "січ.",
@@ -4572,34 +4569,34 @@ const mu = (q, A, V) => {
4572
4569
  const V = String(A?.unit), e = Number(q);
4573
4570
  let o;
4574
4571
  return V === "date" ? e === 3 || e === 23 ? o = "-є" : o = "-е" : V === "minute" || V === "second" || V === "hour" ? o = "-а" : o = "-й", e + o;
4575
- }, Qu = {
4572
+ }, Su = {
4576
4573
  ordinalNumber: Iu,
4577
- era: j({
4574
+ era: L({
4578
4575
  values: Mu,
4579
4576
  defaultWidth: "wide"
4580
4577
  }),
4581
- quarter: j({
4578
+ quarter: L({
4582
4579
  values: pu,
4583
4580
  defaultWidth: "wide",
4584
4581
  argumentCallback: (q) => q - 1
4585
4582
  }),
4586
- month: j({
4587
- values: hu,
4583
+ month: L({
4584
+ values: Eu,
4588
4585
  defaultWidth: "wide",
4589
- formattingValues: Eu,
4586
+ formattingValues: hu,
4590
4587
  defaultFormattingWidth: "wide"
4591
4588
  }),
4592
- day: j({
4589
+ day: L({
4593
4590
  values: Bu,
4594
4591
  defaultWidth: "wide"
4595
4592
  }),
4596
- dayPeriod: j({
4593
+ dayPeriod: L({
4597
4594
  values: ku,
4598
4595
  defaultWidth: "any",
4599
4596
  formattingValues: Cu,
4600
4597
  defaultFormattingWidth: "wide"
4601
4598
  })
4602
- }, Su = /^(\d+)(-?(е|й|є|а|я))?/i, fu = /\d+/i, Uu = {
4599
+ }, Qu = /^(\d+)(-?(е|й|є|а|я))?/i, fu = /\d+/i, Uu = {
4603
4600
  narrow: /^((до )?н\.?\s?е\.?)/i,
4604
4601
  abbreviated: /^((до )?н\.?\s?е\.?)/i,
4605
4602
  wide: /^(до нашої ери|нашої ери|наша ера)/i
@@ -4669,36 +4666,36 @@ const mu = (q, A, V) => {
4669
4666
  }
4670
4667
  }, Fu = {
4671
4668
  ordinalNumber: GA({
4672
- matchPattern: Su,
4669
+ matchPattern: Qu,
4673
4670
  parsePattern: fu,
4674
4671
  valueCallback: (q) => parseInt(q, 10)
4675
4672
  }),
4676
- era: L({
4673
+ era: j({
4677
4674
  matchPatterns: Uu,
4678
4675
  defaultMatchWidth: "wide",
4679
4676
  parsePatterns: yu,
4680
4677
  defaultParseWidth: "any"
4681
4678
  }),
4682
- quarter: L({
4679
+ quarter: j({
4683
4680
  matchPatterns: Du,
4684
4681
  defaultMatchWidth: "wide",
4685
4682
  parsePatterns: Tu,
4686
4683
  defaultParseWidth: "any",
4687
4684
  valueCallback: (q) => q + 1
4688
4685
  }),
4689
- month: L({
4686
+ month: j({
4690
4687
  matchPatterns: Nu,
4691
4688
  defaultMatchWidth: "wide",
4692
4689
  parsePatterns: xu,
4693
4690
  defaultParseWidth: "any"
4694
4691
  }),
4695
- day: L({
4692
+ day: j({
4696
4693
  matchPatterns: Gu,
4697
4694
  defaultMatchWidth: "wide",
4698
4695
  parsePatterns: bu,
4699
4696
  defaultParseWidth: "any"
4700
4697
  }),
4701
- dayPeriod: L({
4698
+ dayPeriod: j({
4702
4699
  matchPatterns: vu,
4703
4700
  defaultMatchWidth: "wide",
4704
4701
  parsePatterns: Yu,
@@ -4709,7 +4706,7 @@ const mu = (q, A, V) => {
4709
4706
  formatDistance: ru,
4710
4707
  formatLong: lu,
4711
4708
  formatRelative: wu,
4712
- localize: Qu,
4709
+ localize: Su,
4713
4710
  match: Fu,
4714
4711
  options: {
4715
4712
  weekStartsOn: 1,
@@ -4732,26 +4729,26 @@ function zu(q, A = "en", V = !1) {
4732
4729
  return oa(q) ? JA(q, "p", { locale: e }) : o(q) ? JA(q, "eeee", { locale: e }) : JA(q, "P", { locale: e });
4733
4730
  }
4734
4731
  function Ju({ date: q, language: A, distanceToNow: V, ...e }, o) {
4735
- return q ? /* @__PURE__ */ a.createElement("span", { ref: o, ...e, className: h("text-xs text-muted-foreground", e?.className) }, zu(q, A, V)) : null;
4732
+ return q ? /* @__PURE__ */ a.createElement("span", { ref: o, ...e, className: E("text-xs text-muted-foreground", e?.className) }, zu(q, A, V)) : null;
4736
4733
  }
4737
4734
  const bA = a.memo(a.forwardRef(Ju));
4738
4735
  bA.displayName = "FormattedDate";
4739
4736
  const gV = ({ status: q, ...A }) => {
4740
4737
  switch (q) {
4741
4738
  case "wait":
4742
- return /* @__PURE__ */ a.createElement(jt, { ...A, className: h("text-gray-500 size-4", A?.className) });
4739
+ return /* @__PURE__ */ a.createElement(Lt, { ...A, className: E("text-gray-500 size-4", A?.className) });
4743
4740
  case "sent":
4744
- return /* @__PURE__ */ a.createElement(Jt, { ...A, className: h("text-gray-500 size-4", A?.className) });
4741
+ return /* @__PURE__ */ a.createElement(Jt, { ...A, className: E("text-gray-500 size-4", A?.className) });
4745
4742
  case "read":
4746
- return /* @__PURE__ */ a.createElement(zt, { ...A, className: h("text-gray-500 size-4", A?.className) });
4743
+ return /* @__PURE__ */ a.createElement(zt, { ...A, className: E("text-gray-500 size-4", A?.className) });
4747
4744
  case "lost":
4748
- return /* @__PURE__ */ a.createElement(Rt, { ...A, className: h("text-red-500 size-4", A?.className) });
4745
+ return /* @__PURE__ */ a.createElement(Rt, { ...A, className: E("text-red-500 size-4", A?.className) });
4749
4746
  default:
4750
4747
  return null;
4751
4748
  }
4752
4749
  };
4753
4750
  gV.displayName = "StatusSent";
4754
- function ju({ onView: q = () => {
4751
+ function Lu({ onView: q = () => {
4755
4752
  }, isLast: A, children: V, ...e }, o) {
4756
4753
  const [r, n] = ta(), i = a.useRef(null), s = a.useCallback(
4757
4754
  (c) => {
@@ -4761,10 +4758,10 @@ function ju({ onView: q = () => {
4761
4758
  );
4762
4759
  return a.useEffect(() => {
4763
4760
  n && q();
4764
- }, [n, q]), a.useImperativeHandle(o, () => i.current || {}, []), /* @__PURE__ */ a.createElement("div", { ref: s, ...e, className: h("mt-2", A && "mb-2", n && "view", e?.className) }, V);
4761
+ }, [n, q]), a.useImperativeHandle(o, () => i.current || {}, []), /* @__PURE__ */ a.createElement("div", { ref: s, ...e, className: E("mt-2", A && "mb-2", n && "view", e?.className) }, V);
4765
4762
  }
4766
- const Je = a.forwardRef(ju);
4767
- function Lu({
4763
+ const Je = a.forwardRef(Lu);
4764
+ function ju({
4768
4765
  fromMe: q,
4769
4766
  sameSenderAbove: A,
4770
4767
  title: V,
@@ -4787,7 +4784,7 @@ function Lu({
4787
4784
  {
4788
4785
  ref: w,
4789
4786
  ...M,
4790
- className: h(
4787
+ className: E(
4791
4788
  "flex relative text-left whitespace-pre-wrap",
4792
4789
  q ? "self-end flex-row-reverse ml-12" : "self-start mr-12",
4793
4790
  A && "mt-1"
@@ -4801,13 +4798,13 @@ function Lu({
4801
4798
  imageProps: { className: "bg-blue-200" },
4802
4799
  fallbackProps: { className: "bg-blue-200" },
4803
4800
  ...s,
4804
- className: h("mt-1 mr-1", s?.className)
4801
+ className: E("mt-1 mr-1", s?.className)
4805
4802
  }
4806
4803
  ),
4807
4804
  /* @__PURE__ */ a.createElement(
4808
4805
  "div",
4809
4806
  {
4810
- className: h(
4807
+ className: E(
4811
4808
  "relative flex flex-col min-w-50 max-w-120 rounded-xl px-2 pt-2 pb-6 shadow-sm",
4812
4809
  q ? "bg-gray-200" : "bg-blue-200",
4813
4810
  C && "ml-9",
@@ -4818,7 +4815,7 @@ function Lu({
4818
4815
  "span",
4819
4816
  {
4820
4817
  ...l,
4821
- className: h(
4818
+ className: E(
4822
4819
  "font-semibold",
4823
4820
  V && "mb-1 py-1.5 text-xs text-muted-foreground italic border-b",
4824
4821
  l?.className
@@ -4831,8 +4828,8 @@ function Lu({
4831
4828
  )
4832
4829
  );
4833
4830
  }
4834
- const je = a.memo(a.forwardRef(Lu));
4835
- je.displayName = "ChatBubbleMessage";
4831
+ const Le = a.memo(a.forwardRef(ju));
4832
+ Le.displayName = "ChatBubbleMessage";
4836
4833
  function Ou({
4837
4834
  info: q = "",
4838
4835
  iconElement: A,
@@ -4847,15 +4844,15 @@ function Ou({
4847
4844
  {
4848
4845
  ref: i,
4849
4846
  ...n,
4850
- className: h("flex items-center justify-center gap-2 rounded-full w-fit bg-ring/20 mx-auto px-3 py-1.5 mt-2")
4847
+ className: E("flex items-center justify-center gap-2 rounded-full w-fit bg-ring/20 mx-auto px-3 py-1.5 mt-2")
4851
4848
  },
4852
4849
  A,
4853
- /* @__PURE__ */ a.createElement("span", { ...o, className: h("text-sm mb-px", o?.className) }, q),
4850
+ /* @__PURE__ */ a.createElement("span", { ...o, className: E("text-sm mb-px", o?.className) }, q),
4854
4851
  /* @__PURE__ */ a.createElement(bA, { date: V, language: e, distanceToNow: !0, ...r })
4855
4852
  );
4856
4853
  }
4857
- const Le = a.memo(a.forwardRef(Ou));
4858
- Le.displayName = "ChatBubbleInfo";
4854
+ const je = a.memo(a.forwardRef(Ou));
4855
+ je.displayName = "ChatBubbleInfo";
4859
4856
  const xV = (q) => {
4860
4857
  if (q.length === 0)
4861
4858
  return q;
@@ -4880,11 +4877,11 @@ function Wu({
4880
4877
  imageProps: u,
4881
4878
  ...M
4882
4879
  }, w) {
4883
- const [d, C] = a.useState(e), [k, I] = a.useState(r), E = (p) => {
4880
+ const [d, C] = a.useState(e), [k, I] = a.useState(r), h = (p) => {
4884
4881
  u?.onLoad?.(p), n();
4885
4882
  }, B = (p) => {
4886
4883
  s?.onError?.(p), C(void 0);
4887
- }, Q = (p) => {
4884
+ }, S = (p) => {
4888
4885
  u?.onError?.(p), I(void 0);
4889
4886
  };
4890
4887
  return /* @__PURE__ */ a.createElement(
@@ -4894,7 +4891,7 @@ function Wu({
4894
4891
  target: "_blank",
4895
4892
  rel: "noopener noreferrer",
4896
4893
  ...M,
4897
- className: h(
4894
+ className: E(
4898
4895
  "transition-color duration-300 ease-out",
4899
4896
  "grid items-start gap-2 p-2 mt-1 overflow-hidden rounded border-l-4 border-l-ring bg-white hover:bg-ring/20",
4900
4897
  q ? "grid-cols-3" : "grid-cols-1",
@@ -4905,7 +4902,7 @@ function Wu({
4905
4902
  "div",
4906
4903
  {
4907
4904
  ...i,
4908
- className: h("flex items-start gap-2", q ? "col-span-3" : "col-span-1", i?.className)
4905
+ className: E("flex items-start gap-2", q ? "col-span-3" : "col-span-1", i?.className)
4909
4906
  },
4910
4907
  d ? /* @__PURE__ */ a.createElement(
4911
4908
  "img",
@@ -4914,14 +4911,14 @@ function Wu({
4914
4911
  src: d,
4915
4912
  ...s,
4916
4913
  onError: B,
4917
- className: h("size-5", s?.className)
4914
+ className: E("size-5", s?.className)
4918
4915
  }
4919
- ) : o || /* @__PURE__ */ a.createElement(Lt, { ...c, className: h("size-5", c?.className) }),
4916
+ ) : o || /* @__PURE__ */ a.createElement(jt, { ...c, className: E("size-5", c?.className) }),
4920
4917
  /* @__PURE__ */ a.createElement(
4921
4918
  "span",
4922
4919
  {
4923
4920
  ...l,
4924
- className: h("text-sm font-bold", q ? "line-clamp-1" : "line-clamp-2", l?.className)
4921
+ className: E("text-sm font-bold", q ? "line-clamp-1" : "line-clamp-2", l?.className)
4925
4922
  },
4926
4923
  xV(A)
4927
4924
  )
@@ -4930,7 +4927,7 @@ function Wu({
4930
4927
  "span",
4931
4928
  {
4932
4929
  ...g,
4933
- className: h(
4930
+ className: E(
4934
4931
  "text-sm line-clamp-5",
4935
4932
  q ? k ? "col-span-2" : "col-span-3" : "col-span-1",
4936
4933
  g?.className
@@ -4942,7 +4939,7 @@ function Wu({
4942
4939
  "div",
4943
4940
  {
4944
4941
  ...m,
4945
- className: h("flex items-center justify-center", m?.className)
4942
+ className: E("flex items-center justify-center", m?.className)
4946
4943
  },
4947
4944
  /* @__PURE__ */ a.createElement(
4948
4945
  "img",
@@ -4950,9 +4947,9 @@ function Wu({
4950
4947
  alt: "banner",
4951
4948
  src: k,
4952
4949
  ...u,
4953
- onLoad: E,
4954
- onError: Q,
4955
- className: h("rounded max-w-full object-contain", q ? "max-h-25" : "max-h-60", u?.className)
4950
+ onLoad: h,
4951
+ onError: S,
4952
+ className: E("rounded max-w-full object-contain", q ? "max-h-25" : "max-h-60", u?.className)
4956
4953
  }
4957
4954
  )
4958
4955
  )
@@ -4999,41 +4996,41 @@ const Hu = ({ isLast: q, message: A, prevMessage: V, scrollToBottom: e = () => {
4999
4996
  const { isConnected: o, selectedDialog: r, currentUserId: n, users: i, readMessage: s } = v(), c = J((Y) => Y.enableUrlPreview), l = UA((Y) => Y.onMessageBeforeDisplay), { t: g, i18n: m } = G(), u = m.language, M = r?._id ?? "", w = A._id, d = A.message || A.body, C = typeof d == "string" && typeof l == "function" ? l(d) : d, k = (Y) => {
5000
4997
  e(w, Y);
5001
4998
  }, I = () => {
5002
- o && !E && !S && !A.read && !A.callHistory && s(w, A.sender_id, M);
5003
- }, E = n === A.sender_id, Q = { date: typeof A.date_sent == "number" ? A.date_sent * 1e3 : /* @__PURE__ */ new Date(), language: u };
4999
+ o && !h && !Q && !A.read && !A.callHistory && s(w, A.sender_id, M);
5000
+ }, h = n === A.sender_id, S = { date: typeof A.date_sent == "number" ? A.date_sent * 1e3 : /* @__PURE__ */ new Date(), language: u };
5004
5001
  if (A.callHistory) {
5005
5002
  const Y = d, mq = Number(A.callType);
5006
5003
  let qq = "";
5007
5004
  switch (Y) {
5008
5005
  case "reject":
5009
- qq += g(E ? "CallHistory.RejectedIncoming" : "CallHistory.RejectedOutgoing");
5006
+ qq += g(h ? "CallHistory.RejectedIncoming" : "CallHistory.RejectedOutgoing");
5010
5007
  break;
5011
5008
  case "notAnswer":
5012
- qq += g(E ? "CallHistory.Unanswered" : "CallHistory.Missed");
5009
+ qq += g(h ? "CallHistory.Unanswered" : "CallHistory.Missed");
5013
5010
  break;
5014
5011
  case "cancel":
5015
- qq += g(E ? "CallHistory.Canceled" : "CallHistory.Missed");
5012
+ qq += g(h ? "CallHistory.Canceled" : "CallHistory.Missed");
5016
5013
  break;
5017
5014
  default:
5018
5015
  qq += g("CallHistory.Ended");
5019
5016
  break;
5020
5017
  }
5021
5018
  return qq += " ", qq += mq === VA.VIDEO ? g("CallHistory.videoCall") : mq === VA.AUDIO ? g("CallHistory.audioCall") : g("CallHistory.defaultCall"), A.duration && (qq += ` - ${Pu(Number(A.duration))}`), /* @__PURE__ */ t.createElement(
5022
- Le,
5019
+ je,
5023
5020
  {
5024
5021
  isLast: q,
5025
5022
  info: qq,
5026
- formattedDateProps: Q,
5027
- iconElement: /* @__PURE__ */ t.createElement(Ye, { fromMe: E, status: Y })
5023
+ formattedDateProps: S,
5024
+ iconElement: /* @__PURE__ */ t.createElement(Ye, { fromMe: h, status: Y })
5028
5025
  }
5029
5026
  );
5030
5027
  }
5031
- const p = r?.type === Yq.GROUP, T = V?.sender_id === A.sender_id && !V.callHistory && !V.custom, f = p && !E ? i[A.sender_id] : void 0, N = f ? Vq(f, !0) : void 0, D = f ? pq(f?.avatar) : void 0, S = A.custom && A.tag === AV.AI_TEXT_SUMMARY, b = A.attachments?.[0], Z = S ? { fallbackIconElement: /* @__PURE__ */ t.createElement(Ot, { className: "text-orange-500" }) } : void 0, O = b ? { className: "mb-2" } : void 0;
5028
+ const p = r?.type === Yq.GROUP, T = V?.sender_id === A.sender_id && !V.callHistory && !V.custom, f = p && !h ? i[A.sender_id] : void 0, N = f ? Vq(f, !0) : void 0, D = f ? pq(f?.avatar) : void 0, Q = !!A.custom && A.tag === AV.AI_TEXT_SUMMARY, b = A.attachments?.[0], Z = Q ? { fallbackIconElement: /* @__PURE__ */ t.createElement(Ot, { className: "text-orange-500" }) } : void 0, O = b ? { className: "mb-2" } : void 0;
5032
5029
  return /* @__PURE__ */ t.createElement(
5033
- je,
5030
+ Le,
5034
5031
  {
5035
5032
  isLast: q,
5036
- fromMe: E,
5033
+ fromMe: h,
5037
5034
  sameSenderAbove: T,
5038
5035
  title: A.title,
5039
5036
  senderName: N,
@@ -5041,7 +5038,7 @@ const Hu = ({ isLast: q, message: A, prevMessage: V, scrollToBottom: e = () => {
5041
5038
  onView: I,
5042
5039
  avatarProps: Z,
5043
5040
  titleProps: O,
5044
- formattedDateProps: Q,
5041
+ formattedDateProps: S,
5045
5042
  statusSent: A.status
5046
5043
  },
5047
5044
  b ? /* @__PURE__ */ t.createElement(
@@ -5074,15 +5071,15 @@ function Xu({
5074
5071
  {
5075
5072
  ref: c,
5076
5073
  ...o,
5077
- className: h("flex flex-col h-full overflow-y-auto py-2", o?.className)
5074
+ className: E("flex flex-col h-full overflow-y-auto py-2", o?.className)
5078
5075
  },
5079
5076
  /* @__PURE__ */ a.createElement("div", { className: "grow" }),
5080
- /* @__PURE__ */ a.createElement("div", { ...s, className: h("grid gap-2 m-4", s?.className) }, q && /* @__PURE__ */ a.createElement("h2", { ...r, className: h("font-medium text-foreground text-lg", r?.className) }, q), A && /* @__PURE__ */ a.createElement("span", { ...n, className: h("text-sm text-muted-foreground mb-4", n?.className) }, A), V.map((l, g) => /* @__PURE__ */ a.createElement(
5077
+ /* @__PURE__ */ a.createElement("div", { ...s, className: E("grid gap-2 m-4", s?.className) }, q && /* @__PURE__ */ a.createElement("h2", { ...r, className: E("font-medium text-foreground text-lg", r?.className) }, q), A && /* @__PURE__ */ a.createElement("span", { ...n, className: E("text-sm text-muted-foreground mb-4", n?.className) }, A), V.map((l, g) => /* @__PURE__ */ a.createElement(
5081
5078
  "div",
5082
5079
  {
5083
5080
  key: g,
5084
5081
  ...i,
5085
- className: h(
5082
+ className: E(
5086
5083
  "w-full border p-2 rounded-md wrap-break-word cursor-pointer overflow-hidden text-ellipsis bg-ring/5 hover:bg-ring/20 transition-colors duration-200 ease-out",
5087
5084
  i?.className
5088
5085
  ),
@@ -5095,7 +5092,7 @@ function Xu({
5095
5092
  const We = a.forwardRef(Xu);
5096
5093
  We.displayName = "QuickActions";
5097
5094
  function $u({ children: q, ...A }) {
5098
- return /* @__PURE__ */ a.createElement("div", { ...A, className: h("relative size-full min-h-0", A?.className) }, q);
5095
+ return /* @__PURE__ */ a.createElement("div", { ...A, className: E("relative size-full min-h-0", A?.className) }, q);
5099
5096
  }
5100
5097
  function _u({
5101
5098
  key: q,
@@ -5117,34 +5114,34 @@ function _u({
5117
5114
  shift: d = !1,
5118
5115
  ...C
5119
5116
  }, k) {
5120
- const I = c ? Ue : $u, E = c ? g : l, B = Array.isArray(u) ? u.length : Array.isArray(C.data) ? C.data.length : 0, Q = a.useRef(0), p = a.useRef(void 0), [T, f] = a.useState(!1), [N, D] = a.useState(d), S = a.useRef(null), b = () => {
5117
+ const I = c ? Ue : $u, h = c ? g : l, B = Array.isArray(u) ? u.length : Array.isArray(C.data) ? C.data.length : 0, S = a.useRef(0), p = a.useRef(void 0), [T, f] = a.useState(!1), [N, D] = a.useState(d), Q = a.useRef(null), b = () => {
5121
5118
  queueMicrotask(() => {
5122
5119
  f(!0), queueMicrotask(() => f(!1));
5123
5120
  });
5124
5121
  }, Z = async (Y) => {
5125
- C.onScroll?.(Y), S.current && (typeof o == "function" && Y < e && o(), typeof r == "function" && S.current.viewportSize + Y + e > S.current.scrollSize && r());
5122
+ C.onScroll?.(Y), Q.current && (typeof o == "function" && Y < e && o(), typeof r == "function" && Q.current.viewportSize + Y + e > Q.current.scrollSize && r());
5126
5123
  }, O = a.useCallback(
5127
5124
  (Y = !1) => {
5128
- !S.current || B === 0 || (Y || S.current.scrollSize - S.current.scrollOffset < S.current.viewportSize * 2) && requestAnimationFrame(() => {
5129
- S.current?.scrollToIndex(B - 1, { align: "start" });
5125
+ !Q.current || B === 0 || (Y || Q.current.scrollSize - Q.current.scrollOffset < Q.current.viewportSize * 2) && requestAnimationFrame(() => {
5126
+ Q.current?.scrollToIndex(B - 1, { align: "start" });
5130
5127
  });
5131
5128
  },
5132
5129
  [B]
5133
5130
  );
5134
5131
  return a.useEffect(() => {
5135
- q !== p.current && (b(), n?.(p.current, q), p.current = q, Q.current = 0);
5132
+ q !== p.current && (b(), n?.(p.current, q), p.current = q, S.current = 0);
5136
5133
  }, [q, n]), a.useEffect(() => {
5137
- if (Q.current === 0 && B > 0 && (b(), i?.(), Q.current = B, O(!0)), B > Q.current) {
5134
+ if (S.current === 0 && B > 0 && (b(), i?.(), S.current = B, O(!0)), B > S.current) {
5138
5135
  const Y = N;
5139
- s?.(), Q.current = B, Y ? queueMicrotask(() => D(!1)) : O();
5136
+ s?.(), S.current = B, Y ? queueMicrotask(() => D(!1)) : O();
5140
5137
  }
5141
5138
  }, [B, N, i, s, O]), a.useEffect(() => {
5142
- S.current?.scrollBy(V.shift);
5139
+ Q.current?.scrollBy(V.shift);
5143
5140
  }, [V]), a.useImperativeHandle(
5144
5141
  k,
5145
- () => ({ ...S.current || {}, scrollToBottom: O, setShift: D }),
5142
+ () => ({ ...Q.current || {}, scrollToBottom: O, setShift: D }),
5146
5143
  [O]
5147
- ), T ? null : w > B ? M ? /* @__PURE__ */ a.createElement(We, { ...m }) : /* @__PURE__ */ a.createElement(gq, { loading: !0, layout: "centered" }) : /* @__PURE__ */ a.createElement(I, { ...E }, /* @__PURE__ */ a.createElement(gq, { loading: A, className: "my-5" }), /* @__PURE__ */ a.createElement("div", { className: "flex flex-col h-full overflow-y-auto px-2" }, /* @__PURE__ */ a.createElement("div", { className: "grow" }), /* @__PURE__ */ a.createElement(na, { ref: S, onScroll: Z, shift: N, ...C }, u)));
5144
+ ), T ? null : w > B ? M ? /* @__PURE__ */ a.createElement(We, { ...m }) : /* @__PURE__ */ a.createElement(gq, { loading: !0, layout: "centered" }) : /* @__PURE__ */ a.createElement(I, { ...h }, /* @__PURE__ */ a.createElement(gq, { loading: A, className: "my-5" }), /* @__PURE__ */ a.createElement("div", { className: "flex flex-col h-full overflow-y-auto px-2" }, /* @__PURE__ */ a.createElement("div", { className: "grow" }), /* @__PURE__ */ a.createElement(na, { ref: Q, onScroll: Z, shift: N, ...C }, u)));
5148
5145
  }
5149
5146
  const Ze = a.forwardRef(_u);
5150
5147
  Ze.displayName = "ChatList";
@@ -5153,12 +5150,12 @@ const qd = ({
5153
5150
  onSendAttachment: A,
5154
5151
  textareaMeasurement: V
5155
5152
  }) => {
5156
- const { t: e } = G(), { selectedDialog: o, messages: r, fetchNextMessages: n, totalMessagesReached: i } = v(), s = X((S) => S.singleView), [c, l] = J(
5157
- x((S) => [S.attachmentsAccept, S.enableUrlPreview])
5158
- ), g = oV((S) => S.matchUrlsFromMessage), m = aV((S) => S.quickActions), u = o?._id ?? "", M = H(() => r[u] ?? [], [r, u]), w = i.includes(u), d = W(/* @__PURE__ */ new Set()), C = W(null), [k, I] = P(!1), E = W(!1), B = W(null), Q = async () => {
5159
- w || E.current || (E.current = !0, I(!0), B.current?.setShift(!0), await n(u), I(!1), E.current = !1);
5160
- }, p = tq((S, b = !1) => {
5161
- d.current.has(S) && !b || (d.current.add(S), C.current && clearTimeout(C.current), C.current = setTimeout(
5153
+ const { t: e } = G(), { selectedDialog: o, messages: r, fetchNextMessages: n, totalMessagesReached: i } = v(), s = X((Q) => Q.singleView), [c, l] = J(
5154
+ x((Q) => [Q.attachmentsAccept, Q.enableUrlPreview])
5155
+ ), g = oV((Q) => Q.matchUrlsFromMessage), m = aV((Q) => Q.quickActions), u = o?._id ?? "", M = H(() => r[u] ?? [], [r, u]), w = i.includes(u), d = W(/* @__PURE__ */ new Set()), C = W(null), [k, I] = P(!1), h = W(!1), B = W(null), S = async () => {
5156
+ w || h.current || (h.current = !0, I(!0), B.current?.setShift(!0), await n(u), I(!1), h.current = !1);
5157
+ }, p = tq((Q, b = !1) => {
5158
+ d.current.has(Q) && !b || (d.current.add(Q), C.current && clearTimeout(C.current), C.current = setTimeout(
5162
5159
  () => {
5163
5160
  requestAnimationFrame(() => {
5164
5161
  B.current?.scrollToBottom(b), C.current = null;
@@ -5167,21 +5164,21 @@ const qd = ({
5167
5164
  b ? 100 : 300
5168
5165
  ));
5169
5166
  }, []), T = tq(
5170
- (S) => {
5171
- const b = S.attachments?.[0]?.type || "", Z = l ? g(S.message) : [];
5167
+ (Q) => {
5168
+ const b = Q.attachments?.[0]?.type || "", Z = l ? g(Q.message) : [];
5172
5169
  return ["video", "image"].some((O) => b.startsWith(O)) || Z.length > 0;
5173
5170
  },
5174
5171
  [l, g]
5175
5172
  ), f = H(
5176
- () => M.reduce((S, b, Z) => (T(b) && S.push(Z), S), []),
5173
+ () => M.reduce((Q, b, Z) => (T(b) && Q.push(Z), Q), []),
5177
5174
  [M, T]
5178
- ), N = H(() => M.map((S, b, Z) => {
5175
+ ), N = H(() => M.map((Q, b, Z) => {
5179
5176
  const O = b === Z.length - 1, Y = Z[b - 1];
5180
5177
  return /* @__PURE__ */ t.createElement(
5181
5178
  Hu,
5182
5179
  {
5183
- key: S._id,
5184
- message: S,
5180
+ key: Q._id,
5181
+ message: Q,
5185
5182
  prevMessage: Y,
5186
5183
  isLast: O,
5187
5184
  scrollToBottom: p
@@ -5198,7 +5195,7 @@ const qd = ({
5198
5195
  loading: k,
5199
5196
  keepMounted: f,
5200
5197
  minItemsCount: s ? 2 : 1,
5201
- onScrollStartReached: Q,
5198
+ onScrollStartReached: S,
5202
5199
  onListReset: D,
5203
5200
  textareaMeasurement: V,
5204
5201
  quickActionsVisible: r[u] !== void 0,
@@ -5219,7 +5216,7 @@ function Ad({ iconElement: q, iconProps: A, indicatorProps: V, ...e }, o) {
5219
5216
  {
5220
5217
  ref: o,
5221
5218
  ...e,
5222
- className: h(
5219
+ className: E(
5223
5220
  "peer border-input dark:bg-input/30 data-[state=checked]:bg-ring data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-ring data-[state=checked]:border-ring focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
5224
5221
  e?.className
5225
5222
  )
@@ -5228,9 +5225,9 @@ function Ad({ iconElement: q, iconProps: A, indicatorProps: V, ...e }, o) {
5228
5225
  MV.Indicator,
5229
5226
  {
5230
5227
  ...V,
5231
- className: h("flex items-center justify-center text-current transition-none", V?.className)
5228
+ className: E("flex items-center justify-center text-current transition-none", V?.className)
5232
5229
  },
5233
- q || /* @__PURE__ */ a.createElement(Wt, { ...A, className: h("size-3.5", A?.className) })
5230
+ q || /* @__PURE__ */ a.createElement(Wt, { ...A, className: E("size-3.5", A?.className) })
5234
5231
  )
5235
5232
  );
5236
5233
  }
@@ -5242,7 +5239,7 @@ function Vd(q, A) {
5242
5239
  {
5243
5240
  ref: A,
5244
5241
  ...q,
5245
- className: h(
5242
+ className: E(
5246
5243
  "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-10 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
5247
5244
  "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring",
5248
5245
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
@@ -5261,7 +5258,7 @@ const ed = ({ onSendMessage: q = () => {
5261
5258
  Email: ${g.email}`), typeof r == "boolean")
5262
5259
  if (yl(r), r) {
5263
5260
  const m = XV();
5264
- m && SA(m);
5261
+ m && QA(m);
5265
5262
  } else
5266
5263
  tV();
5267
5264
  } else
@@ -5318,23 +5315,23 @@ Email: ${g.email}`), typeof r == "boolean")
5318
5315
  getDialogOpponentId: g,
5319
5316
  messages: m,
5320
5317
  isBlockedUser: u
5321
- } = v(), M = IA((D) => D.deleteDraftMessage), w = UA((D) => D.onMessageBeforeSend), d = J((D) => D.enableUserStatuses), C = X((D) => D.singleView), k = n ? g(n) : null, I = k ? u(k) : !1, E = k && d ? aA(e[k]) : $.AVAILABLE, B = n && !I && E !== $.AWAY, Q = n?._id ?? "", p = C && m[Q]?.length === 0, T = async (D) => {
5322
- const S = typeof w == "function" ? w(D) : D;
5323
- if (Q.startsWith(wA)) {
5318
+ } = v(), M = IA((D) => D.deleteDraftMessage), w = UA((D) => D.onMessageBeforeSend), d = J((D) => D.enableUserStatuses), C = X((D) => D.singleView), k = n ? g(n) : null, I = k ? u(k) : !1, h = k && d ? aA(e[k]) : $.AVAILABLE, B = n && !I && h !== $.AWAY, S = n?._id ?? "", p = C && m[S]?.length === 0, T = async (D) => {
5319
+ const Q = typeof w == "function" ? w(D) : D;
5320
+ if (S.startsWith(wA)) {
5324
5321
  const b = await N();
5325
- r(S, b);
5322
+ r(Q, b);
5326
5323
  } else
5327
- r(S);
5328
- M(Q);
5324
+ r(Q);
5325
+ M(S);
5329
5326
  }, f = async (D) => {
5330
- if (Q.startsWith(wA)) {
5331
- const S = await N();
5332
- l(D, S);
5327
+ if (S.startsWith(wA)) {
5328
+ const Q = await N();
5329
+ l(D, Q);
5333
5330
  } else
5334
5331
  l(D);
5335
5332
  }, N = async () => {
5336
5333
  const D = n?.type === Yq.PRIVATE ? await i(
5337
- n?.occupants_ids?.filter((S) => S !== n?.user_id)[0],
5334
+ n?.occupants_ids?.filter((Q) => Q !== n?.user_id)[0],
5338
5335
  n?.extensions
5339
5336
  ) : await s(
5340
5337
  n?.occupants_ids || [],
@@ -5363,11 +5360,11 @@ Email: ${g.email}`), typeof r == "boolean")
5363
5360
  ))));
5364
5361
  };
5365
5362
  function ad({ className: q, ...A }) {
5366
- return /* @__PURE__ */ a.createElement(EA.Root, { "data-slot": "tabs", className: F("flex flex-col gap-2", q), ...A });
5363
+ return /* @__PURE__ */ a.createElement(hA.Root, { "data-slot": "tabs", className: F("flex flex-col gap-2", q), ...A });
5367
5364
  }
5368
5365
  function od({ className: q, ...A }) {
5369
5366
  return /* @__PURE__ */ a.createElement(
5370
- EA.List,
5367
+ hA.List,
5371
5368
  {
5372
5369
  "data-slot": "tabs-list",
5373
5370
  className: F(
@@ -5380,7 +5377,7 @@ function od({ className: q, ...A }) {
5380
5377
  }
5381
5378
  function GV({ className: q, ...A }) {
5382
5379
  return /* @__PURE__ */ a.createElement(
5383
- EA.Trigger,
5380
+ hA.Trigger,
5384
5381
  {
5385
5382
  "data-slot": "tabs-trigger",
5386
5383
  className: F(
@@ -5392,26 +5389,26 @@ function GV({ className: q, ...A }) {
5392
5389
  );
5393
5390
  }
5394
5391
  function bV({ className: q, ...A }) {
5395
- return /* @__PURE__ */ a.createElement(EA.Content, { "data-slot": "tabs-content", className: F("flex-1 outline-none", q), ...A });
5392
+ return /* @__PURE__ */ a.createElement(hA.Content, { "data-slot": "tabs-content", className: F("flex-1 outline-none", q), ...A });
5396
5393
  }
5397
5394
  function rd(q) {
5398
- return Eq({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M12.146.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-10 10a.5.5 0 0 1-.168.11l-5 2a.5.5 0 0 1-.65-.65l2-5a.5.5 0 0 1 .11-.168zM11.207 2.5 13.5 4.793 14.793 3.5 12.5 1.207zm1.586 3L10.5 3.207 4 9.707V10h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.293zm-9.761 5.175-.106.106-1.528 3.821 3.821-1.528.106-.106A.5.5 0 0 1 5 12.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.468-.325" }, child: [] }] })(q);
5395
+ return hq({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M12.146.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-10 10a.5.5 0 0 1-.168.11l-5 2a.5.5 0 0 1-.65-.65l2-5a.5.5 0 0 1 .11-.168zM11.207 2.5 13.5 4.793 14.793 3.5 12.5 1.207zm1.586 3L10.5 3.207 4 9.707V10h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.293zm-9.761 5.175-.106.106-1.528 3.821 3.821-1.528.106-.106A.5.5 0 0 1 5 12.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.468-.325" }, child: [] }] })(q);
5399
5396
  }
5400
5397
  function vA({ ...q }) {
5401
- return /* @__PURE__ */ a.createElement(Sq.Root, { "data-slot": "dialog", ...q });
5398
+ return /* @__PURE__ */ a.createElement(Qq.Root, { "data-slot": "dialog", ...q });
5402
5399
  }
5403
5400
  function tA({ ...q }) {
5404
- return /* @__PURE__ */ a.createElement(Sq.Trigger, { "data-slot": "dialog-trigger", ...q });
5401
+ return /* @__PURE__ */ a.createElement(Qq.Trigger, { "data-slot": "dialog-trigger", ...q });
5405
5402
  }
5406
5403
  function nd({ ...q }) {
5407
- return q.container = Nq((A) => A.shadowPortal), /* @__PURE__ */ a.createElement(Sq.Portal, { "data-slot": "dialog-portal", ...q });
5404
+ return q.container = Nq((A) => A.shadowPortal), /* @__PURE__ */ a.createElement(Qq.Portal, { "data-slot": "dialog-portal", ...q });
5408
5405
  }
5409
5406
  function id({ ...q }) {
5410
- return /* @__PURE__ */ a.createElement(Sq.Close, { "data-slot": "dialog-close", ...q });
5407
+ return /* @__PURE__ */ a.createElement(Qq.Close, { "data-slot": "dialog-close", ...q });
5411
5408
  }
5412
5409
  function sd({ className: q, ...A }) {
5413
5410
  return /* @__PURE__ */ a.createElement(
5414
- Sq.Overlay,
5411
+ Qq.Overlay,
5415
5412
  {
5416
5413
  "data-slot": "dialog-overlay",
5417
5414
  className: F(
@@ -5424,7 +5421,7 @@ function sd({ className: q, ...A }) {
5424
5421
  }
5425
5422
  function YA({ className: q, children: A, ...V }) {
5426
5423
  return /* @__PURE__ */ a.createElement(nd, null, /* @__PURE__ */ a.createElement(sd, null), /* @__PURE__ */ a.createElement(
5427
- Sq.Content,
5424
+ Qq.Content,
5428
5425
  {
5429
5426
  onWheel: (e) => {
5430
5427
  e.stopPropagation();
@@ -5440,7 +5437,7 @@ function YA({ className: q, children: A, ...V }) {
5440
5437
  ...V
5441
5438
  },
5442
5439
  A,
5443
- /* @__PURE__ */ a.createElement(Sq.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4" }, /* @__PURE__ */ a.createElement(Zt, null), /* @__PURE__ */ a.createElement("span", { className: "sr-only" }, "Close"))
5440
+ /* @__PURE__ */ a.createElement(Qq.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=size-])]:size-4" }, /* @__PURE__ */ a.createElement(Zt, null), /* @__PURE__ */ a.createElement("span", { className: "sr-only" }, "Close"))
5444
5441
  ));
5445
5442
  }
5446
5443
  function mV({ className: q, ...A }) {
@@ -5455,7 +5452,7 @@ function mV({ className: q, ...A }) {
5455
5452
  }
5456
5453
  function uV({ className: q, ...A }) {
5457
5454
  return /* @__PURE__ */ a.createElement(
5458
- Sq.Title,
5455
+ Qq.Title,
5459
5456
  {
5460
5457
  "data-slot": "dialog-title",
5461
5458
  className: F("text-lg leading-none font-semibold", q),
@@ -5465,7 +5462,7 @@ function uV({ className: q, ...A }) {
5465
5462
  }
5466
5463
  function ld({ className: q, ...A }) {
5467
5464
  return /* @__PURE__ */ a.createElement(
5468
- Sq.Description,
5465
+ Qq.Description,
5469
5466
  {
5470
5467
  "data-slot": "dialog-description",
5471
5468
  className: F("text-muted-foreground text-sm", q),
@@ -5474,7 +5471,7 @@ function ld({ className: q, ...A }) {
5474
5471
  );
5475
5472
  }
5476
5473
  function cd(q) {
5477
- return Eq({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z" }, child: [] }] })(q);
5474
+ return hq({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z" }, child: [] }] })(q);
5478
5475
  }
5479
5476
  const gd = ({
5480
5477
  id: q,
@@ -5532,28 +5529,28 @@ const gd = ({
5532
5529
  nq.warning(`Min search term is ${vV} chars`);
5533
5530
  return;
5534
5531
  }
5535
- const Q = await o(m);
5536
- w(A ? Q.filter((p) => !c?.occupants_ids?.includes(p.id)) : Q);
5532
+ const S = await o(m);
5533
+ w(A ? S.filter((p) => !c?.occupants_ids?.includes(p.id)) : S);
5537
5534
  }, I = H(() => M.map((B) => /* @__PURE__ */ t.createElement(
5538
5535
  md,
5539
5536
  {
5540
5537
  key: B.id,
5541
5538
  id: B.id,
5542
5539
  name: Vq(B),
5543
- onStartChat: async (Q) => {
5540
+ onStartChat: async (S) => {
5544
5541
  V();
5545
- const p = await r(Q);
5542
+ const p = await r(S);
5546
5543
  await s(p);
5547
5544
  },
5548
5545
  avatar: B.avatar || "",
5549
5546
  chatType: q,
5550
5547
  isSelected: !!l[B.id],
5551
- onSelectUser: (Q, p) => {
5552
- p ? g({ ...l, [Q]: B }) : (delete l[Q], g({ ...l }));
5548
+ onSelectUser: (S, p) => {
5549
+ p ? g({ ...l, [S]: B }) : (delete l[S], g({ ...l }));
5553
5550
  }
5554
5551
  }
5555
- )), [M, l, q, r, s, V]), E = e(A ? "AddMembers" : q === "group" ? "NewGroupChatDialogTitle" : "NewUserChatDialogTitle");
5556
- return /* @__PURE__ */ t.createElement("div", { className: "flex flex-col" }, /* @__PURE__ */ t.createElement(mV, null, /* @__PURE__ */ t.createElement(uV, null, E), /* @__PURE__ */ t.createElement(LV, null)), !d && /* @__PURE__ */ t.createElement("div", { className: "flex-column w-full" }, /* @__PURE__ */ t.createElement("form", { className: "flex items-center space-x-2 py-4" }, /* @__PURE__ */ t.createElement("div", { className: "grid flex-1 gap-2" }, /* @__PURE__ */ t.createElement(Mq, { htmlFor: "link", className: "sr-only" }, "Link"), /* @__PURE__ */ t.createElement(
5552
+ )), [M, l, q, r, s, V]), h = e(A ? "AddMembers" : q === "group" ? "NewGroupChatDialogTitle" : "NewUserChatDialogTitle");
5553
+ return /* @__PURE__ */ t.createElement("div", { className: "flex flex-col" }, /* @__PURE__ */ t.createElement(mV, null, /* @__PURE__ */ t.createElement(uV, null, h), /* @__PURE__ */ t.createElement(jV, null)), !d && /* @__PURE__ */ t.createElement("div", { className: "flex-column w-full" }, /* @__PURE__ */ t.createElement("form", { className: "flex items-center space-x-2 py-4" }, /* @__PURE__ */ t.createElement("div", { className: "grid flex-1 gap-2" }, /* @__PURE__ */ t.createElement(Mq, { htmlFor: "link", className: "sr-only" }, "Link"), /* @__PURE__ */ t.createElement(
5557
5554
  fq,
5558
5555
  {
5559
5556
  id: "link",
@@ -5577,15 +5574,15 @@ const gd = ({
5577
5574
  users: Object.values(l),
5578
5575
  onCreateChat: async (B) => {
5579
5576
  V();
5580
- const Q = await n(
5577
+ const S = await n(
5581
5578
  Object.values(l).map((p) => p.id),
5582
5579
  B
5583
5580
  );
5584
- await s(Q);
5581
+ await s(S);
5585
5582
  }
5586
5583
  }
5587
5584
  ));
5588
- }, He = t.memo(pd), hd = JV(
5585
+ }, He = t.memo(pd), Ed = JV(
5589
5586
  "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
5590
5587
  {
5591
5588
  variants: {
@@ -5601,11 +5598,11 @@ const gd = ({
5601
5598
  }
5602
5599
  }
5603
5600
  );
5604
- function Ed({ className: q, variant: A, asChild: V = !1, ...e }, o) {
5601
+ function hd({ className: q, variant: A, asChild: V = !1, ...e }, o) {
5605
5602
  const r = V ? zV : "span";
5606
- return /* @__PURE__ */ a.createElement(r, { ref: o, ...e, className: h(hd({ variant: A }), q) });
5603
+ return /* @__PURE__ */ a.createElement(r, { ref: o, ...e, className: E(Ed({ variant: A }), q) });
5607
5604
  }
5608
- const FA = a.forwardRef(Ed);
5605
+ const FA = a.forwardRef(hd);
5609
5606
  FA.displayName = "Badge";
5610
5607
  function Bd({
5611
5608
  index: q = -1,
@@ -5629,15 +5626,15 @@ function Bd({
5629
5626
  language: C = "en",
5630
5627
  divider: k = "bottom",
5631
5628
  avatarProps: I,
5632
- contentProps: E,
5629
+ contentProps: h,
5633
5630
  headerProps: B,
5634
- headerLeftProps: Q,
5631
+ headerLeftProps: S,
5635
5632
  groupIconProps: p,
5636
5633
  nameProps: T,
5637
5634
  headerRightProps: f,
5638
5635
  statusSentIconProps: N,
5639
5636
  formattedDateProps: D,
5640
- footerProps: S,
5637
+ footerProps: Q,
5641
5638
  lastMessageProps: b,
5642
5639
  draftLabelProps: Z,
5643
5640
  lastSenderNameProps: O,
@@ -5652,7 +5649,7 @@ function Bd({
5652
5649
  ref: xq,
5653
5650
  ...qq,
5654
5651
  onClick: e,
5655
- className: h(
5652
+ className: E(
5656
5653
  "flex items-start gap-2 px-2 flex-1 cursor-pointer",
5657
5654
  "transition-colors duration-200 ease-out",
5658
5655
  `${V ? "border-l-[0.25em] pl-1 border-l-ring bg-ring/20" : "hover:bg-ring/5"}`,
@@ -5667,45 +5664,45 @@ function Bd({
5667
5664
  online: zq,
5668
5665
  presence: kq,
5669
5666
  ...I,
5670
- className: h(`size-13 my-2 ${r ? "bg-ring/10" : "bg-ring/30"}`, I?.className)
5667
+ className: E(`size-13 my-2 ${r ? "bg-ring/10" : "bg-ring/30"}`, I?.className)
5671
5668
  }
5672
5669
  ),
5673
5670
  /* @__PURE__ */ a.createElement(
5674
5671
  "div",
5675
5672
  {
5676
- ...E,
5677
- className: h("relative self-stretch flex-1 flex-col min-w-0 text-foreground", E?.className)
5673
+ ...h,
5674
+ className: E("relative self-stretch flex-1 flex-col min-w-0 text-foreground", h?.className)
5678
5675
  },
5679
- /* @__PURE__ */ a.createElement("div", { ...B, className: h("flex items-center justify-between gap-1", B?.className) }, /* @__PURE__ */ a.createElement(
5676
+ /* @__PURE__ */ a.createElement("div", { ...B, className: E("flex items-center justify-between gap-1", B?.className) }, /* @__PURE__ */ a.createElement(
5680
5677
  "div",
5681
5678
  {
5682
- ...Q,
5683
- className: h("flex items-center gap-1 min-w-0 flex-1", Q?.className)
5679
+ ...S,
5680
+ className: E("flex items-center gap-1 min-w-0 flex-1", S?.className)
5684
5681
  },
5685
5682
  !A && s && /* @__PURE__ */ a.createElement(
5686
5683
  Pt,
5687
5684
  {
5688
5685
  ...p,
5689
- className: h("text-muted-foreground size-4 min-w-4 shrink-0", p?.className)
5686
+ className: E("text-muted-foreground size-4 min-w-4 shrink-0", p?.className)
5690
5687
  }
5691
5688
  ),
5692
5689
  /* @__PURE__ */ a.createElement(
5693
5690
  "span",
5694
5691
  {
5695
5692
  ...T,
5696
- className: h(
5693
+ className: E(
5697
5694
  "font-medium text-left line-clamp-1 min-w-0 break-all overflow-hidden",
5698
5695
  T?.className
5699
5696
  )
5700
5697
  },
5701
5698
  o
5702
5699
  )
5703
- ), /* @__PURE__ */ a.createElement("div", { ...f, className: h("flex items-center gap-1", f?.className) }, /* @__PURE__ */ a.createElement(gV, { status: c, ...N }), /* @__PURE__ */ a.createElement(bA, { date: l, language: C, ...D }))),
5704
- /* @__PURE__ */ a.createElement("div", { ...S, className: h("flex items-start justify-between gap-1 min-w-0", S?.className) }, /* @__PURE__ */ a.createElement(
5700
+ ), /* @__PURE__ */ a.createElement("div", { ...f, className: E("flex items-center gap-1", f?.className) }, /* @__PURE__ */ a.createElement(gV, { status: c, ...N }), /* @__PURE__ */ a.createElement(bA, { date: l, language: C, ...D }))),
5701
+ /* @__PURE__ */ a.createElement("div", { ...Q, className: E("flex items-start justify-between gap-1 min-w-0", Q?.className) }, /* @__PURE__ */ a.createElement(
5705
5702
  "span",
5706
5703
  {
5707
5704
  ...b,
5708
- className: h(
5705
+ className: E(
5709
5706
  "text-sm text-left text-muted-foreground break-all wrap-break-word line-clamp-2 min-w-0 overflow-hidden",
5710
5707
  b?.className
5711
5708
  )
@@ -5714,14 +5711,14 @@ function Bd({
5714
5711
  "span",
5715
5712
  {
5716
5713
  ...Z,
5717
- className: h("text-red-500 font-medium", Z?.className)
5714
+ className: E("text-red-500 font-medium", Z?.className)
5718
5715
  },
5719
5716
  `${w}: `
5720
5717
  ), M) : /* @__PURE__ */ a.createElement("span", null, g && /* @__PURE__ */ a.createElement(
5721
5718
  "span",
5722
5719
  {
5723
5720
  ...O,
5724
- className: h("font-semibold", O?.className)
5721
+ className: E("font-semibold", O?.className)
5725
5722
  },
5726
5723
  `${g}: `
5727
5724
  ), m))
@@ -5729,14 +5726,14 @@ function Bd({
5729
5726
  FA,
5730
5727
  {
5731
5728
  ...Y,
5732
- className: h(
5729
+ className: E(
5733
5730
  "bg-ring text-background text-xs rounded-full p-1 h-6 min-w-6 mt-0.5",
5734
5731
  Y?.className
5735
5732
  )
5736
5733
  },
5737
5734
  d
5738
5735
  )),
5739
- Gq && /* @__PURE__ */ a.createElement("div", { ...mq, className: h("absolute -top-px left-0 right-0 border-t", mq?.className) }),
5736
+ Gq && /* @__PURE__ */ a.createElement("div", { ...mq, className: E("absolute -top-px left-0 right-0 border-t", mq?.className) }),
5740
5737
  Jq && /* @__PURE__ */ a.createElement("div", { className: "absolute bottom-0 left-0 right-0 border-b" })
5741
5738
  )
5742
5739
  );
@@ -5744,9 +5741,9 @@ function Bd({
5744
5741
  const Xe = a.memo(a.forwardRef(Bd));
5745
5742
  Xe.displayName = "DialogItem";
5746
5743
  const kd = ({ index: q, dialog: A }) => {
5747
- const { t: V, i18n: e } = G(), o = IA((S) => S.draftMessages), [r, n] = J(
5748
- x((S) => [S.enableUserStatuses, S.enableLastSeen])
5749
- ), { users: i, selectedDialog: s, selectDialog: c, currentUserId: l, lastActivity: g, getDialogOpponentId: m } = v(), u = m(A), M = de(A, !0), w = A.type === Yq.PRIVATE, d = A.last_message_user_id === l, C = u ? g[u] === "Online" : !1, k = A._id === s?._id, I = r && u && C ? aA(i[u]) : void 0, E = o[A._id], B = UA((S) => S.onMessageBeforeDisplay), Q = A.last_message || V("NoMessages"), p = typeof Q == "string" && typeof B == "function" ? B(Q) : Q, T = A.last_message_date_sent ? A.last_message_date_sent * 1e3 : A.created_at, f = d ? A.last_message_status : void 0, N = A.type === Yq.GROUP && A.last_message_user_id ? d ? V("me") : Vq(i[A.last_message_user_id]) : "", D = async () => {
5744
+ const { t: V, i18n: e } = G(), o = IA((Q) => Q.draftMessages), [r, n] = J(
5745
+ x((Q) => [Q.enableUserStatuses, Q.enableLastSeen])
5746
+ ), { users: i, selectedDialog: s, selectDialog: c, currentUserId: l, lastActivity: g, getDialogOpponentId: m } = v(), u = m(A), M = de(A, !0), w = A.type === Yq.PRIVATE, d = A.last_message_user_id === l, C = u ? g[u] === "Online" : !1, k = A._id === s?._id, I = r && u && C ? aA(i[u]) : void 0, h = o[A._id], B = UA((Q) => Q.onMessageBeforeDisplay), S = A.last_message || V("NoMessages"), p = typeof S == "string" && typeof B == "function" ? B(S) : S, T = A.last_message_date_sent ? A.last_message_date_sent * 1e3 : A.created_at, f = d ? A.last_message_status : void 0, N = A.type === Yq.GROUP && A.last_message_user_id ? d ? V("me") : Vq(i[A.last_message_user_id]) : "", D = async () => {
5750
5747
  await c(A);
5751
5748
  };
5752
5749
  return /* @__PURE__ */ t.createElement(
@@ -5766,7 +5763,7 @@ const kd = ({ index: q, dialog: A }) => {
5766
5763
  lastSenderName: N,
5767
5764
  lastMessage: p,
5768
5765
  typingStatusText: M,
5769
- draft: E,
5766
+ draft: h,
5770
5767
  draftLabel: V("Draft"),
5771
5768
  unreadCount: A.unread_messages_count,
5772
5769
  language: e.language,
@@ -5792,11 +5789,11 @@ function Cd({
5792
5789
  }, m = () => {
5793
5790
  l(""), A();
5794
5791
  };
5795
- return /* @__PURE__ */ a.createElement("div", { ...n, className: h("group relative", n?.className) }, V && /* @__PURE__ */ a.createElement(
5792
+ return /* @__PURE__ */ a.createElement("div", { ...n, className: E("group relative", n?.className) }, V && /* @__PURE__ */ a.createElement(
5796
5793
  Ht,
5797
5794
  {
5798
5795
  ...o,
5799
- className: h(
5796
+ className: E(
5800
5797
  "absolute top-1/2 left-2 transform -translate-y-1/2 size-5 text-muted-foreground group-focus-within:text-ring",
5801
5798
  o?.className
5802
5799
  )
@@ -5810,7 +5807,7 @@ function Cd({
5810
5807
  value: c,
5811
5808
  onChange: g,
5812
5809
  ...i,
5813
- className: h(
5810
+ className: E(
5814
5811
  "placeholder:text-muted-foreground focus-visible:ring-ring/50 focus-visible:ring flex",
5815
5812
  V ? "pl-10" : "pl-3",
5816
5813
  e ? "pr-10" : "pr-3",
@@ -5822,7 +5819,7 @@ function Cd({
5822
5819
  {
5823
5820
  onClick: m,
5824
5821
  ...r,
5825
- className: h(
5822
+ className: E(
5826
5823
  "absolute top-1/2 right-2 transform -translate-y-1/2 size-5 text-muted-foreground cursor-pointer hover:text-ring transition-all duration-300 ease-out",
5827
5824
  c.length > 0 ? "opacity-100 scale-100" : "opacity-0 scale-75 pointer-events-none",
5828
5825
  r?.className
@@ -5833,7 +5830,7 @@ function Cd({
5833
5830
  const dV = a.forwardRef(Cd);
5834
5831
  dV.displayName = "Search";
5835
5832
  const Id = () => /* @__PURE__ */ a.createElement("div", { className: "flex flex-row gap-2 mx-2 border-b" }, /* @__PURE__ */ a.createElement("div", { className: "size-13 my-2 rounded-full bg-muted animate-pulse" }), /* @__PURE__ */ a.createElement("div", { className: "flex-1 text-muted" }, /* @__PURE__ */ a.createElement("div", { className: "flex flex-row items-center justify-between h-6" }, /* @__PURE__ */ a.createElement("div", { className: "w-2/3 h-4 rounded-full bg-muted animate-pulse" }), /* @__PURE__ */ a.createElement("div", { className: "w-1/6 h-3.5 rounded-full bg-muted animate-pulse" })), /* @__PURE__ */ a.createElement("div", { className: "flex flex-col items-start justify-around h-10" }, /* @__PURE__ */ a.createElement("div", { className: "w-7/8 h-3.5 rounded-full bg-muted animate-pulse" }), /* @__PURE__ */ a.createElement("div", { className: "w-5/6 h-3.5 rounded-full bg-muted animate-pulse" }))));
5836
- function Qd({
5833
+ function Sd({
5837
5834
  children: q,
5838
5835
  pending: A,
5839
5836
  pendingListLength: V = 5,
@@ -5849,14 +5846,14 @@ function Qd({
5849
5846
  };
5850
5847
  return a.useImperativeHandle(c, () => l.current || {}, []), o ? /* @__PURE__ */ a.createElement(iA, { titles: r, className: "text-base text-muted" }) : /* @__PURE__ */ a.createElement(ia, { ref: l, onScroll: m, className: "size-full overflow-y-scroll", ...s }, A ? g : q);
5851
5848
  }
5852
- const $e = a.forwardRef(Qd);
5849
+ const $e = a.forwardRef(Sd);
5853
5850
  $e.displayName = "DialogsList";
5854
- const Sd = () => {
5851
+ const Qd = () => {
5855
5852
  const { t: q } = G(), { isConnected: A, dialogs: V, fetchNextDialogs: e, totalDialogsReached: o } = v(), [r, n] = P(!1), [i, s] = P(""), c = [`${q("NoMessages")}.`, q("NoChats")], l = V.length === 0, g = l && !A, m = async () => {
5856
5853
  !r && !o && (n(!0), await e(), n(!1));
5857
5854
  }, u = H(() => V.reduce((M, w, d) => {
5858
- const { _id: C, name: k, extensions: I } = w, E = i && k.toLowerCase().includes(i), B = i && I && Object.values(I).some((Q) => new String(Q).toLowerCase().includes(i));
5859
- return (!i || E || B) && M.push(/* @__PURE__ */ t.createElement(kd, { key: C, index: d, dialog: w })), M;
5855
+ const { _id: C, name: k, extensions: I } = w, h = i && k.toLowerCase().includes(i), B = i && I && Object.values(I).some((S) => new String(S).toLowerCase().includes(i));
5856
+ return (!i || h || B) && M.push(/* @__PURE__ */ t.createElement(kd, { key: C, index: d, dialog: w })), M;
5860
5857
  }, []), [V, i]);
5861
5858
  return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(
5862
5859
  dV,
@@ -5891,7 +5888,7 @@ const Sd = () => {
5891
5888
  }, l = () => {
5892
5889
  n("group");
5893
5890
  };
5894
- return /* @__PURE__ */ t.createElement("div", { className: "flex flex-col h-full" }, /* @__PURE__ */ t.createElement(Sd, null), !A && /* @__PURE__ */ t.createElement(vA, { modal: !0, open: i, onOpenChange: s }, /* @__PURE__ */ t.createElement(DA, { modal: !1 }, /* @__PURE__ */ t.createElement(
5891
+ return /* @__PURE__ */ t.createElement("div", { className: "flex flex-col h-full" }, /* @__PURE__ */ t.createElement(Qd, null), !A && /* @__PURE__ */ t.createElement(vA, { modal: !0, open: i, onOpenChange: s }, /* @__PURE__ */ t.createElement(DA, { modal: !1 }, /* @__PURE__ */ t.createElement(
5895
5892
  TA,
5896
5893
  {
5897
5894
  className: `absolute right-3 size-12 bg-blue-500 hover:bg-blue-700 rounded-full flex items-center justify-center ${V ? "bottom-13" : "bottom-1"}`
@@ -5993,11 +5990,11 @@ function xd({
5993
5990
  className: g,
5994
5991
  ...m
5995
5992
  }, u) {
5996
- return l ? null : /* @__PURE__ */ a.createElement("div", { ref: u, ...m, className: h("absolute top-0 left-0", g) }, /* @__PURE__ */ a.createElement(Oq.Provider, { ...e }, /* @__PURE__ */ a.createElement(Oq.Root, { ...o }, /* @__PURE__ */ a.createElement(Oq.Trigger, { asChild: !0, ...r }, /* @__PURE__ */ a.createElement(
5993
+ return l ? null : /* @__PURE__ */ a.createElement("div", { ref: u, ...m, className: E("absolute top-0 left-0", g) }, /* @__PURE__ */ a.createElement(Oq.Provider, { ...e }, /* @__PURE__ */ a.createElement(Oq.Root, { ...o }, /* @__PURE__ */ a.createElement(Oq.Trigger, { asChild: !0, ...r }, /* @__PURE__ */ a.createElement(
5997
5994
  "div",
5998
5995
  {
5999
5996
  ...V,
6000
- className: h(
5997
+ className: E(
6001
5998
  "rounded-full size-4 border border-primary-foreground",
6002
5999
  A[q],
6003
6000
  V?.className
@@ -6007,7 +6004,7 @@ function xd({
6007
6004
  Oq.Content,
6008
6005
  {
6009
6006
  ...i,
6010
- className: h(
6007
+ className: E(
6011
6008
  "bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
6012
6009
  i?.className
6013
6010
  )
@@ -6017,7 +6014,7 @@ function xd({
6017
6014
  Oq.Arrow,
6018
6015
  {
6019
6016
  ...s,
6020
- className: h(
6017
+ className: E(
6021
6018
  "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px]",
6022
6019
  s?.className
6023
6020
  )
@@ -6030,17 +6027,17 @@ _e.displayName = "StatusIndicator";
6030
6027
  const YV = "w-[50%] h-9 hover:bg-blue-50 data-[state=active]:bg-blue-200", Gd = () => {
6031
6028
  const { t: q } = G(), A = Nq((p) => p.shadowPortal), [V, e] = BA(x((p) => [p.activeTab, p.setActiveTab])), o = J((p) => p.enableUserStatuses), [r, n] = X(
6032
6029
  x((p) => [p.showChatStatus, p.showOnlineUsersTab])
6033
- ), i = nA((p) => p.showProfile), { fetchDialogs: s, unselectDialog: c, currentUserId: l, chatStatus: g, unreadMessagesCount: m } = v(), { notifyWithSound: u } = ue(), M = W(null), w = W(m.total), d = W(m.total), C = Tq(), k = Vq(C), I = o ? aA(C) : void 0, E = (p) => {
6030
+ ), i = nA((p) => p.showProfile), { fetchDialogs: s, unselectDialog: c, currentUserId: l, chatStatus: g, unreadMessagesCount: m } = v(), { notifyWithSound: u } = ue(), M = W(null), w = W(m.total), d = W(m.total), C = Tq(), k = Vq(C), I = o ? aA(C) : void 0, h = (p) => {
6034
6031
  c(), e(p === "chats" ? Iq.CHATS : Iq.USERS);
6035
6032
  }, B = () => {
6036
6033
  i(l);
6037
- }, Q = async () => {
6034
+ }, S = async () => {
6038
6035
  w.current = d.current, await s(), await sa(1e3), d.current > w.current && u(`${d.current} unread messages`);
6039
6036
  };
6040
6037
  return U(() => {
6041
6038
  s();
6042
6039
  }, []), U(() => {
6043
- g === M.current && Q(), g === yq.CONNECTED && (M.current = yq.CONNECTED);
6040
+ g === M.current && S(), g === yq.CONNECTED && (M.current = yq.CONNECTED);
6044
6041
  }, [g]), U(() => {
6045
6042
  d.current = m.total;
6046
6043
  }, [m.total]), /* @__PURE__ */ t.createElement("div", { className: "flex size-full flex-col bg-white border-r border-gray-300 relative transition-transform" }, /* @__PURE__ */ t.createElement(
@@ -6079,7 +6076,7 @@ const YV = "w-[50%] h-9 hover:bg-blue-50 data-[state=active]:bg-blue-200", Gd =
6079
6076
  ad,
6080
6077
  {
6081
6078
  value: V,
6082
- onValueChange: E,
6079
+ onValueChange: h,
6083
6080
  className: `${n ? "h-[calc(100%-7.25em)]" : "h-[calc(100%-4.25em)]"}`
6084
6081
  },
6085
6082
  /* @__PURE__ */ t.createElement(
@@ -6101,10 +6098,10 @@ const YV = "w-[50%] h-9 hover:bg-blue-50 data-[state=active]:bg-blue-200", Gd =
6101
6098
  ));
6102
6099
  };
6103
6100
  function bd(q) {
6104
- return Eq({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" }, child: [] }, { tag: "circle", attr: { cx: "8.5", cy: "7", r: "4" }, child: [] }, { tag: "line", attr: { x1: "23", y1: "11", x2: "17", y2: "11" }, child: [] }] })(q);
6101
+ return hq({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" }, child: [] }, { tag: "circle", attr: { cx: "8.5", cy: "7", r: "4" }, child: [] }, { tag: "line", attr: { x1: "20", y1: "8", x2: "20", y2: "14" }, child: [] }, { tag: "line", attr: { x1: "23", y1: "11", x2: "17", y2: "11" }, child: [] }] })(q);
6105
6102
  }
6106
6103
  function vd(q) {
6107
- return Eq({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" }, child: [] }, { tag: "circle", attr: { cx: "8.5", cy: "7", r: "4" }, child: [] }, { tag: "line", attr: { x1: "20", y1: "8", x2: "20", y2: "14" }, child: [] }, { tag: "line", attr: { x1: "23", y1: "11", x2: "17", y2: "11" }, child: [] }] })(q);
6104
+ return hq({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" }, child: [] }, { tag: "circle", attr: { cx: "8.5", cy: "7", r: "4" }, child: [] }, { tag: "line", attr: { x1: "23", y1: "11", x2: "17", y2: "11" }, child: [] }] })(q);
6108
6105
  }
6109
6106
  const Yd = ({ userId: q, name: A, avatar: V }) => {
6110
6107
  const { t: e } = G(), o = Nq((M) => M.shadowPortal), { lastActivity: r, selectedDialog: n, currentUserId: i, removeUsersFromGroupChat: s } = v(), c = () => {
@@ -6113,7 +6110,7 @@ const Yd = ({ userId: q, name: A, avatar: V }) => {
6113
6110
  return /* @__PURE__ */ t.createElement("div", { className: "flex items-center p-2 gap-2" }, /* @__PURE__ */ t.createElement(Bq, { src: pq(V), name: A, className: "size-13 bg-blue-300" }), /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between w-full" }, /* @__PURE__ */ t.createElement("div", { className: "flex flex-col items-start" }, /* @__PURE__ */ t.createElement("p", { className: "text-black font-medium" }, A), /* @__PURE__ */ t.createElement("p", { className: "text-gray-500 text-sm" }, u)), m && /* @__PURE__ */ t.createElement(
6114
6111
  xA,
6115
6112
  {
6116
- triggerElement: /* @__PURE__ */ t.createElement(bd, { className: "cursor-pointer text-gray-700 size-6" }),
6113
+ triggerElement: /* @__PURE__ */ t.createElement(vd, { className: "cursor-pointer text-gray-700 size-6" }),
6117
6114
  title: e("RemoveMembers"),
6118
6115
  description: e("RemoveMembers?"),
6119
6116
  cancelTitle: e("Cancel"),
@@ -6131,18 +6128,18 @@ const Yd = ({ userId: q, name: A, avatar: V }) => {
6131
6128
  }),
6132
6129
  [e, r]
6133
6130
  );
6134
- return /* @__PURE__ */ t.createElement("div", { className: "flex flex-col h-3/5" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between border-b py-2 px-4" }, /* @__PURE__ */ t.createElement("span", { className: "font-medium" }, V("Members")), /* @__PURE__ */ t.createElement(vA, { modal: !0, open: q, onOpenChange: A }, /* @__PURE__ */ t.createElement(tA, { asChild: !0 }, /* @__PURE__ */ t.createElement(vd, { className: "cursor-pointer size-7" })), /* @__PURE__ */ t.createElement(YA, null, /* @__PURE__ */ t.createElement(He, { chatType: "group", addUsersMode: !0, onFinish: () => A(!1) })))), /* @__PURE__ */ t.createElement("div", { className: "overflow-y-auto pr-3" }, n));
6131
+ return /* @__PURE__ */ t.createElement("div", { className: "flex flex-col h-3/5" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between border-b py-2 px-4" }, /* @__PURE__ */ t.createElement("span", { className: "font-medium" }, V("Members")), /* @__PURE__ */ t.createElement(vA, { modal: !0, open: q, onOpenChange: A }, /* @__PURE__ */ t.createElement(tA, { asChild: !0 }, /* @__PURE__ */ t.createElement(bd, { className: "cursor-pointer size-7" })), /* @__PURE__ */ t.createElement(YA, null, /* @__PURE__ */ t.createElement(He, { chatType: "group", addUsersMode: !0, onFinish: () => A(!1) })))), /* @__PURE__ */ t.createElement("div", { className: "overflow-y-auto pr-3" }, n));
6135
6132
  }, Rd = t.memo(Kd), zd = ({ userId: q }) => {
6136
6133
  const { t: A } = G(), [V, e] = t.useState(""), o = async () => {
6137
6134
  const r = V.trim();
6138
6135
  if (r)
6139
6136
  try {
6140
- await Ql(q, r), nq.info(A("ReportCreatedSuccessfully"));
6137
+ await Sl(q, r), nq.info(A("ReportCreatedSuccessfully"));
6141
6138
  } catch (n) {
6142
6139
  nq.error(`${A("ReportSubmitFailed")}: ${JSON.stringify(n)}`);
6143
6140
  }
6144
6141
  };
6145
- return /* @__PURE__ */ t.createElement("div", null, /* @__PURE__ */ t.createElement(mV, null, /* @__PURE__ */ t.createElement(uV, null, A("ReportUser")), /* @__PURE__ */ t.createElement(LV, null, A("WhatsWrongWithThisUser"))), /* @__PURE__ */ t.createElement("form", { className: "flex items-center space-x-2 py-4" }, /* @__PURE__ */ t.createElement("div", { className: "grid flex-1 gap-2" }, /* @__PURE__ */ t.createElement(
6142
+ return /* @__PURE__ */ t.createElement("div", null, /* @__PURE__ */ t.createElement(mV, null, /* @__PURE__ */ t.createElement(uV, null, A("ReportUser")), /* @__PURE__ */ t.createElement(jV, null, A("WhatsWrongWithThisUser"))), /* @__PURE__ */ t.createElement("form", { className: "flex items-center space-x-2 py-4" }, /* @__PURE__ */ t.createElement("div", { className: "grid flex-1 gap-2" }, /* @__PURE__ */ t.createElement(
6146
6143
  fq,
6147
6144
  {
6148
6145
  name: "report_reason",
@@ -6151,7 +6148,7 @@ const Yd = ({ userId: q, name: A, avatar: V }) => {
6151
6148
  onChange: (r) => e(r.target.value)
6152
6149
  }
6153
6150
  )), /* @__PURE__ */ t.createElement(id, { asChild: !0 }, /* @__PURE__ */ t.createElement(sq, { type: "button", size: "sm", className: "px-3 bg-blue-500 hover:bg-blue-700", onClick: o }, A("Send")))));
6154
- }, Jd = t.memo(zd), jd = ({ user: q }) => {
6151
+ }, Jd = t.memo(zd), Ld = ({ user: q }) => {
6155
6152
  const { t: A } = G(), V = Nq((w) => w.shadowPortal), { isBlockedUser: e, blockUser: o, unblockUser: r } = v(), { id: n = 0, website: i = "" } = q ?? {}, s = Vq(q), c = e(n), [l, g] = J(
6156
6153
  x((w) => [w.enableContentReporting, w.enableBlockList])
6157
6154
  ), [m, u] = kA(
@@ -6178,7 +6175,7 @@ const Yd = ({ userId: q, name: A, avatar: V }) => {
6178
6175
  actionButtonProps: { className: "bg-blue-500 hover:bg-blue-700" }
6179
6176
  }
6180
6177
  ), l && /* @__PURE__ */ t.createElement(vA, { modal: !0 }, /* @__PURE__ */ t.createElement(tA, { className: "pl-0! justify-start text-blue-500 cursor-pointer text-left font-medium underline-offset-4 hover:underline" }, A("Report")), /* @__PURE__ */ t.createElement(YA, null, /* @__PURE__ */ t.createElement(Jd, { userId: n })))));
6181
- }, Ld = t.memo(jd), Od = ({ user: q }) => {
6178
+ }, jd = t.memo(Ld), Od = ({ user: q }) => {
6182
6179
  const A = nA((r) => r.showProfile);
6183
6180
  if (!q) return null;
6184
6181
  const V = Vq(q), e = pq(q.avatar), o = () => {
@@ -6201,12 +6198,12 @@ const Yd = ({ userId: q, name: A, avatar: V }) => {
6201
6198
  }, [V, A, q]);
6202
6199
  return /* @__PURE__ */ t.createElement(vA, { modal: !0 }, /* @__PURE__ */ t.createElement(tA, { className: "mx-4 pl-0! justify-start text-blue-500 cursor-pointer text-left font-medium underline-offset-4 hover:underline" }, e), /* @__PURE__ */ t.createElement(YA, null, /* @__PURE__ */ t.createElement(mV, null, /* @__PURE__ */ t.createElement(uV, null, e), /* @__PURE__ */ t.createElement(ld, null)), o));
6203
6200
  };
6204
- function LA(q) {
6201
+ function jA(q) {
6205
6202
  return /* @__PURE__ */ a.createElement(
6206
6203
  pV.Root,
6207
6204
  {
6208
6205
  ...q,
6209
- className: h(
6206
+ className: E(
6210
6207
  "peer data-[state=checked]:bg-ring data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15em] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring disabled:cursor-not-allowed disabled:opacity-50",
6211
6208
  q?.className
6212
6209
  )
@@ -6214,7 +6211,7 @@ function LA(q) {
6214
6211
  /* @__PURE__ */ a.createElement(
6215
6212
  pV.Thumb,
6216
6213
  {
6217
- className: h(
6214
+ className: E(
6218
6215
  "bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0"
6219
6216
  )
6220
6217
  }
@@ -6223,7 +6220,7 @@ function LA(q) {
6223
6220
  }
6224
6221
  const Pd = () => {
6225
6222
  const { t: q } = G(), [A, V, e, o] = Fq(
6226
- x((E) => [E.muted, E.showNotifications, E.playSound, E.webPushNotifications])
6223
+ x((h) => [h.muted, h.showNotifications, h.playSound, h.webPushNotifications])
6227
6224
  ), [
6228
6225
  r,
6229
6226
  n,
@@ -6232,15 +6229,15 @@ const Pd = () => {
6232
6229
  c,
6233
6230
  l
6234
6231
  ] = Pq(
6235
- x((E) => [
6236
- E.isNotifications,
6237
- E.isNotificationSound,
6238
- E.isPushNotifications,
6239
- E.setIsNotifications,
6240
- E.setIsNotificationSound,
6241
- E.setIsPushNotifications
6232
+ x((h) => [
6233
+ h.isNotifications,
6234
+ h.isNotificationSound,
6235
+ h.isPushNotifications,
6236
+ h.setIsNotifications,
6237
+ h.setIsNotificationSound,
6238
+ h.setIsPushNotifications
6242
6239
  ])
6243
- ), g = A || !V, m = A || !e, u = A || !o, [M, w] = t.useState(!1), d = (E) => `transition-all duration-200 ease-out hover:bg-ring/10 rounded-full p-2.5 w-full flex! items-between justify-between ${E ? "text-muted-foreground cursor-not-allowed" : "cursor-pointer"}`, C = async () => {
6240
+ ), g = A || !V, m = A || !e, u = A || !o, [M, w] = t.useState(!1), d = (h) => `transition-all duration-200 ease-out hover:bg-ring/10 rounded-full p-2.5 w-full flex! items-between justify-between ${h ? "text-muted-foreground cursor-not-allowed" : "cursor-pointer"}`, C = async () => {
6244
6241
  w(!0), await s(!r), w(!1);
6245
6242
  }, k = async () => {
6246
6243
  w(!0), await c(!n), w(!1);
@@ -6248,7 +6245,7 @@ const Pd = () => {
6248
6245
  w(!0), await l(!i), w(!1);
6249
6246
  };
6250
6247
  return /* @__PURE__ */ t.createElement("div", { className: "flex flex-col space-y-2 relative" }, /* @__PURE__ */ t.createElement(gq, { loading: M, layout: "absolute" }), /* @__PURE__ */ t.createElement("span", { className: "mt-2 text-base font-medium select-none text-left mx-4" }, q("NotificationSettings")), /* @__PURE__ */ t.createElement("div", { className: "w-full border-b p-2 space-y-2" }, /* @__PURE__ */ t.createElement(Mq, { htmlFor: "notifications-state", className: d(g) }, /* @__PURE__ */ t.createElement("span", null, q("Notifications")), /* @__PURE__ */ t.createElement(
6251
- LA,
6248
+ jA,
6252
6249
  {
6253
6250
  id: "notifications-state",
6254
6251
  checked: r && !g,
@@ -6256,7 +6253,7 @@ const Pd = () => {
6256
6253
  disabled: g
6257
6254
  }
6258
6255
  )), /* @__PURE__ */ t.createElement(Mq, { htmlFor: "notification-sounds-state", className: d(m) }, /* @__PURE__ */ t.createElement("span", null, q("NotificationSound")), /* @__PURE__ */ t.createElement(
6259
- LA,
6256
+ jA,
6260
6257
  {
6261
6258
  id: "notification-sounds-state",
6262
6259
  checked: n && !m,
@@ -6264,7 +6261,7 @@ const Pd = () => {
6264
6261
  disabled: m
6265
6262
  }
6266
6263
  )), /* @__PURE__ */ t.createElement(Mq, { htmlFor: "push-notifications-state", className: d(u) }, /* @__PURE__ */ t.createElement("span", null, q("PushNotifications")), /* @__PURE__ */ t.createElement(
6267
- LA,
6264
+ jA,
6268
6265
  {
6269
6266
  id: "push-notifications-state",
6270
6267
  checked: i && !u,
@@ -6305,7 +6302,7 @@ const Pd = () => {
6305
6302
  U(() => {
6306
6303
  re();
6307
6304
  }, [e]);
6308
- const E = async () => {
6305
+ const h = async () => {
6309
6306
  await HV(), we(), s();
6310
6307
  };
6311
6308
  return /* @__PURE__ */ t.createElement(
@@ -6313,9 +6310,9 @@ const Pd = () => {
6313
6310
  {
6314
6311
  className: `flex flex-col absolute right-0 top-0 size-full z-20 border-l border-gray-200 bg-white transition-transform duration-200 ${c ? "translate-x-0" : "translate-x-full"} ${q}`
6315
6312
  },
6316
- /* @__PURE__ */ t.createElement("div", { className: "border-b p-2" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center h-13" }, /* @__PURE__ */ t.createElement(ke, { onClick: g, className: "cursor-pointer size-6" }), /* @__PURE__ */ t.createElement("span", { className: "mx-auto text-lg font-medium" }, A(m ? "Information" : u ? "MyProfile" : "Profile")), i && u ? /* @__PURE__ */ t.createElement(Rc, { onClick: E, className: "cursor-pointer size-6" }) : /* @__PURE__ */ t.createElement("span", { className: "size-6" }))),
6313
+ /* @__PURE__ */ t.createElement("div", { className: "border-b p-2" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center h-13" }, /* @__PURE__ */ t.createElement(ke, { onClick: g, className: "cursor-pointer size-6" }), /* @__PURE__ */ t.createElement("span", { className: "mx-auto text-lg font-medium" }, A(m ? "Information" : u ? "MyProfile" : "Profile")), i && u ? /* @__PURE__ */ t.createElement(Rc, { onClick: h, className: "cursor-pointer size-6" }) : /* @__PURE__ */ t.createElement("span", { className: "size-6" }))),
6317
6314
  /* @__PURE__ */ t.createElement("div", { className: "h-2/5 w-full relative overflow-hidden" }, C ? /* @__PURE__ */ t.createElement("img", { src: C, key: d, alt: "User Photo", className: "size-full object-cover" }) : /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-center size-full bg-blue-300 text-white text-6xl" }, /* @__PURE__ */ t.createElement("span", null, I)), n && u ? /* @__PURE__ */ t.createElement(Xd, null) : /* @__PURE__ */ t.createElement("div", { className: "absolute bottom-2 left-5 text-white z-10" }, /* @__PURE__ */ t.createElement("p", { className: "text-left" }, k), m ? /* @__PURE__ */ t.createElement(t.Fragment, null) : M ? /* @__PURE__ */ t.createElement("p", { className: "text-sm text-gray-300 text-left" }, `${e?.occupants_ids.length} ${A("members")}`) : /* @__PURE__ */ t.createElement("p", { className: "text-sm text-gray-300 text-left" }, l && o[l])), /* @__PURE__ */ t.createElement("div", { className: "absolute bottom-0 left-0 w-full h-[33%] bg-linear-to-t from-blue-700 to-transparent" })),
6318
- u ? /* @__PURE__ */ t.createElement(Hd, null) : m ? /* @__PURE__ */ t.createElement(t.Fragment, null) : M ? /* @__PURE__ */ t.createElement(Rd, null) : /* @__PURE__ */ t.createElement(Ld, { user: w })
6315
+ u ? /* @__PURE__ */ t.createElement(Hd, null) : m ? /* @__PURE__ */ t.createElement(t.Fragment, null) : M ? /* @__PURE__ */ t.createElement(Rd, null) : /* @__PURE__ */ t.createElement(jd, { user: w })
6319
6316
  );
6320
6317
  }, _d = t.memo($d), qw = () => {
6321
6318
  const { t: q } = G(), A = W(void 0), V = W(void 0), e = W(void 0), {
@@ -6334,11 +6331,11 @@ const Pd = () => {
6334
6331
  dialogs: d,
6335
6332
  selectDialog: C,
6336
6333
  chatStatus: k
6337
- } = v(), I = J((y) => y.enableUserStatuses), [E, B] = Pq(
6334
+ } = v(), I = J((y) => y.enableUserStatuses), [h, B] = Pq(
6338
6335
  x((y) => [y.userStatus, y.setUserStatus])
6339
- ), [Q, p, T] = rA(
6336
+ ), [S, p, T] = rA(
6340
6337
  x((y) => [y.enableOnlineUsersBadge, y.setOnlineUsersCount, y.requestOnlineUsersInterval])
6341
- ), f = fA((y) => y.setUnreadCount), [N, D, S] = X(
6338
+ ), f = fA((y) => y.setUnreadCount), [N, D, Q] = X(
6342
6339
  x((y) => [y.opened, y.splitView, y.singleView])
6343
6340
  ), [b, Z, O] = VV(
6344
6341
  x((y) => [y.defaultChat, y.setDefaultChat, y.singleViewChat])
@@ -6346,29 +6343,29 @@ const Pd = () => {
6346
6343
  () => uq ? "w-2/5 max-w-[360px]" : `${s ? "hidden" : "w-full"}`,
6347
6344
  [uq, s]
6348
6345
  ), zq = H(
6349
- () => S ? "size-full" : uq ? "w-3/5 flex-1" : `${s ? "w-full" : "hidden"}`,
6350
- [uq, s, S]
6346
+ () => Q ? "size-full" : uq ? "w-3/5 flex-1" : `${s ? "w-full" : "hidden"}`,
6347
+ [uq, s, Q]
6351
6348
  ), kq = H(() => uq ? "w-3/5 min-w-[calc(100%-360px)]" : "", [uq]);
6352
6349
  nc();
6353
6350
  const Gq = async () => {
6354
6351
  const y = await ZV();
6355
6352
  await XA(c, y);
6356
6353
  }, Jq = async () => {
6357
- const { externalId: y, opponentUserIds: Aq, name: dq, photo: hq } = O, wq = typeof Aq == "string" ? Aq.split(/,\s*|\s+/).filter(Boolean) : Aq, K = await i({ external_id: { in: wq } });
6354
+ const { externalId: y, opponentUserIds: Aq, name: dq, photo: Eq } = O, wq = typeof Aq == "string" ? Aq.split(/,\s*|\s+/).filter(Boolean) : Aq, K = await i({ external_id: { in: wq } });
6358
6355
  if (K.length < 1) {
6359
6356
  nq.error(q("SingleViewChatError"));
6360
6357
  return;
6361
6358
  }
6362
- const jq = y ?? hV(K), bq = wq.length > 1 ? dA.GROUP : dA.SINGLE;
6363
- Z({ id: jq, name: dq, photo: hq, opponentUserId: wq, type: bq });
6359
+ const Lq = y ?? EV(K), bq = wq.length > 1 ? dA.GROUP : dA.SINGLE;
6360
+ Z({ id: Lq, name: dq, photo: Eq, opponentUserId: wq, type: bq });
6364
6361
  }, sA = async (y) => {
6365
6362
  const {
6366
6363
  type: Aq,
6367
6364
  opponentUserId: dq,
6368
- id: hq,
6365
+ id: Eq,
6369
6366
  name: wq = "",
6370
6367
  photo: K,
6371
- metadata: jq = {}
6368
+ metadata: Lq = {}
6372
6369
  } = y ?? {};
6373
6370
  if (!dq)
6374
6371
  throw "Missing 'defaultChat.opponentUserId' prop";
@@ -6378,11 +6375,11 @@ const Pd = () => {
6378
6375
  const rt = Array.isArray(dq) ? dq : [dq], wV = await i({ external_id: { in: rt } }), KA = M || Tq()?.id;
6379
6376
  if (!KA)
6380
6377
  throw "Missing 'currentUserId'. Are you logged in?";
6381
- const nt = [KA, ...wV.map(({ id: Lq }) => Lq)], it = hV(wV), st = { externalId: hq, ...jq };
6382
- let lA = d.find((Lq) => Lq.extensions?.externalId == hq);
6378
+ const nt = [KA, ...wV.map(({ id: jq }) => jq)], it = EV(wV), st = { externalId: Eq, ...Lq };
6379
+ let lA = d.find((jq) => jq.extensions?.externalId == Eq);
6383
6380
  if (!lA) {
6384
- const Lq = await w({ extensions: { externalId: hq } });
6385
- Lq.length > 0 && (lA = Lq[0]);
6381
+ const jq = await w({ extensions: { externalId: Eq } });
6382
+ jq.length > 0 && (lA = jq[0]);
6386
6383
  }
6387
6384
  if (lA) {
6388
6385
  await Hq(lA);
@@ -6402,9 +6399,9 @@ const Pd = () => {
6402
6399
  await C(y), Y(Iq.CHATS);
6403
6400
  };
6404
6401
  return U(() => {
6405
- XA(c), Q && r(), ce();
6402
+ XA(c), S && r(), ce();
6406
6403
  }, []), U(() => {
6407
- if (!Q)
6404
+ if (!S)
6408
6405
  return;
6409
6406
  const y = setInterval(() => {
6410
6407
  r();
@@ -6412,11 +6409,11 @@ const Pd = () => {
6412
6409
  return () => {
6413
6410
  clearInterval(y);
6414
6411
  };
6415
- }, [Q, T, r]), U(() => {
6412
+ }, [S, T, r]), U(() => {
6416
6413
  if (g !== A.current) {
6417
6414
  A.current = g;
6418
- const { userId: y, message: Aq } = g || {}, dq = s?._id === Aq?.dialog_id, hq = y !== M, wq = Aq?.delay && Aq?.type === wt.CHAT;
6419
- y && Aq && hq && !wq && (!dq || !xq || !N) && mq(y, Aq);
6415
+ const { userId: y, message: Aq } = g || {}, dq = s?._id === Aq?.dialog_id, Eq = y !== M, wq = Aq?.delay && Aq?.type === wt.CHAT;
6416
+ y && Aq && Eq && !wq && (!dq || !xq || !N) && mq(y, Aq);
6420
6417
  }
6421
6418
  }, [g, M, s, xq, N, mq]), U(() => {
6422
6419
  if (u !== e.current) {
@@ -6428,9 +6425,9 @@ const Pd = () => {
6428
6425
  if (m !== V.current) {
6429
6426
  V.current = m;
6430
6427
  const { message: y } = m || {};
6431
- y && I && y.body === WV.UPDATE_USER && (M === y.userId && y.extension?.userStatus !== E ? B(y.extension.userStatus, !0) : n(y.userId, !0));
6428
+ y && I && y.body === WV.UPDATE_USER && (M === y.userId && y.extension?.userStatus !== h ? B(y.extension?.userStatus, !0) : n(y.userId, !0));
6432
6429
  }
6433
- }, [m, I, E, M, n, B]), U(() => {
6430
+ }, [m, I, h, M, n, B]), U(() => {
6434
6431
  k === yq.NOT_AUTHORIZED && Gq();
6435
6432
  }, [k]), U(() => {
6436
6433
  f(l?.total ?? 0);
@@ -6440,8 +6437,8 @@ const Pd = () => {
6440
6437
  b && sA(b).then(() => {
6441
6438
  });
6442
6439
  }, [b]), U(() => {
6443
- S && Jq();
6444
- }, [S]), /* @__PURE__ */ t.createElement("div", { className: "flex size-full" }, !S && /* @__PURE__ */ t.createElement("div", { className: Rq }, /* @__PURE__ */ t.createElement(Gd, null)), /* @__PURE__ */ t.createElement("div", { className: zq }, /* @__PURE__ */ t.createElement(td, null)), /* @__PURE__ */ t.createElement(_d, { profileClassName: kq }));
6440
+ Q && Jq();
6441
+ }, [Q]), /* @__PURE__ */ t.createElement("div", { className: "flex size-full" }, !Q && /* @__PURE__ */ t.createElement("div", { className: Rq }, /* @__PURE__ */ t.createElement(Gd, null)), /* @__PURE__ */ t.createElement("div", { className: zq }, /* @__PURE__ */ t.createElement(td, null)), /* @__PURE__ */ t.createElement(_d, { profileClassName: kq }));
6445
6442
  };
6446
6443
  function qt({ className: q, ...A }) {
6447
6444
  return /* @__PURE__ */ a.createElement(
@@ -6520,12 +6517,12 @@ const Vw = () => {
6520
6517
  }), w = async ({ login: C, password: k }) => {
6521
6518
  e(`${q("PleaseWait")}...`);
6522
6519
  try {
6523
- n ? await QA(C, k) : await $V(C, k), V(!0);
6520
+ n ? await SA(C, k) : await $V(C, k), V(!0);
6524
6521
  } catch (I) {
6525
- const { info: E } = I ?? { info: { errors: [] } }, B = E?.errors ?? [];
6526
- let Q, p, T, f;
6527
- if (Array.isArray(B) ? f = B?.[0] : (Q = B.base?.[0], p = B.login?.[0], T = B.password?.[0]), Q || p) {
6528
- const N = `[error] ${Q ?? p ?? "login"}`;
6522
+ const { info: h } = I ?? { info: { errors: [] } }, B = h?.errors ?? [];
6523
+ let S, p, T, f;
6524
+ if (Array.isArray(B) ? f = B?.[0] : (S = B.base?.[0], p = B.login?.[0], T = B.password?.[0]), S || p) {
6525
+ const N = `[error] ${S ?? p ?? "login"}`;
6529
6526
  m("login", { type: "manual", message: N });
6530
6527
  } else if (T) {
6531
6528
  const N = `[error] ${T ?? "password"}`;
@@ -6624,7 +6621,7 @@ const Vw = () => {
6624
6621
  }, []), r ? /* @__PURE__ */ a.createElement(qw, null) : A ? /* @__PURE__ */ a.createElement(Vw, null) : /* @__PURE__ */ a.createElement(ew, null);
6625
6622
  };
6626
6623
  function aw(q) {
6627
- return Eq({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M7.9 20A9 9 0 1 0 4 16.1L2 22Z" }, child: [] }, { tag: "path", attr: { d: "M8 12h.01" }, child: [] }, { tag: "path", attr: { d: "M12 12h.01" }, child: [] }, { tag: "path", attr: { d: "M16 12h.01" }, child: [] }] })(q);
6624
+ return hq({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M7.9 20A9 9 0 1 0 4 16.1L2 22Z" }, child: [] }, { tag: "path", attr: { d: "M8 12h.01" }, child: [] }, { tag: "path", attr: { d: "M12 12h.01" }, child: [] }, { tag: "path", attr: { d: "M16 12h.01" }, child: [] }] })(q);
6628
6625
  }
6629
6626
  const ow = ({ style: q = {} }) => {
6630
6627
  const [A, V] = rA(
@@ -6694,7 +6691,7 @@ function iw({ active: q, onDismiss: A, disableClickOutside: V = !1, disableEscKe
6694
6691
  ...r,
6695
6692
  onClick: s,
6696
6693
  onTouchStart: s,
6697
- className: h("fixed top-0 left-0 size-full bg-black/20", r?.className)
6694
+ className: E("fixed top-0 left-0 size-full bg-black/20", r?.className)
6698
6695
  }
6699
6696
  );
6700
6697
  }
@@ -6721,22 +6718,22 @@ const Nw = ({
6721
6718
  onlineBadgeStyle: C = {},
6722
6719
  ...k
6723
6720
  }) => {
6724
- const { i18n: I } = G(), E = !!k.enableCalls, B = !!k.enableUserLogin, Q = !!k.embedView, p = { userId: e, userName: o, userEmail: r, userAvatar: n, userProfileLink: i }, T = { appId: q, authKey: A };
6721
+ const { i18n: I } = G(), h = !!k.enableCalls, B = !!k.enableUserLogin, S = !!k.embedView, p = { userId: e, userName: o, userEmail: r, userAvatar: n, userProfileLink: i }, T = { appId: q, authKey: A };
6725
6722
  tc(k), Ac({ creds: T, config: V, user: p, enableUserLogin: B });
6726
6723
  const [f, N] = X(x((D) => [D.opened, D.resetOpened]));
6727
6724
  return U(() => {
6728
6725
  I.changeLanguage(s);
6729
- }, [s, I]), /* @__PURE__ */ t.createElement(Tc, null, /* @__PURE__ */ t.createElement(Ec, null), /* @__PURE__ */ t.createElement(Nc, { embedded: Q, style: u }, /* @__PURE__ */ t.createElement(tw, { user: p, enabledUserLogin: B })), /* @__PURE__ */ t.createElement(
6726
+ }, [s, I]), /* @__PURE__ */ t.createElement(Tc, null, /* @__PURE__ */ t.createElement(hc, null), /* @__PURE__ */ t.createElement(Nc, { embedded: S, style: u }, /* @__PURE__ */ t.createElement(tw, { user: p, enabledUserLogin: B })), /* @__PURE__ */ t.createElement(
6730
6727
  ot,
6731
6728
  {
6732
6729
  active: f,
6733
6730
  onDismiss: N,
6734
- disabled: Q,
6731
+ disabled: S,
6735
6732
  disableClickOutside: c,
6736
6733
  disableEscKeyPress: l,
6737
6734
  style: M
6738
6735
  }
6739
- ), !Q && !g && /* @__PURE__ */ t.createElement(
6736
+ ), !S && !g && /* @__PURE__ */ t.createElement(
6740
6737
  nw,
6741
6738
  {
6742
6739
  lng: s,
@@ -6745,7 +6742,7 @@ const Nw = ({
6745
6742
  badgeStyle: d,
6746
6743
  onlineBadgeStyle: C
6747
6744
  }
6748
- ), E && /* @__PURE__ */ t.createElement(yc, null));
6745
+ ), h && /* @__PURE__ */ t.createElement(yc, null));
6749
6746
  };
6750
6747
  "serviceWorker" in navigator && navigator.serviceWorker.addEventListener("message", (q) => {
6751
6748
  q.data?.action === "connectycube-chat-widget-sw/initialNotification" && (typeof window.ConnectyCubeChatWidget == "object" ? window.ConnectyCubeChatWidget.initialNotification = q.data : window.ConnectyCubeChatWidget = { initialNotification: q.data });