feazy-neo-chat-component 0.1.93 → 0.1.94
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/chat-component.cjs.js +2 -2
- package/dist/chat-component.es.js +418 -413
- package/dist/chat-component.web.js +29 -29
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -264,7 +264,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
264
264
|
`)?pe+=`
|
|
265
265
|
`:pe+=`
|
|
266
266
|
|
|
267
|
-
`))},Me=>{Q.flush(ae),p(!1),E({active:!1}),w(Me),Ee(),(ve==="human_handover"||j.current==="requesting")&&!k.current&&(j.current="failed",z({status:"failed"}))},(Me,Ze)=>{Q.flush(ae),p(!1),E({active:!1});let D=Me||"Failed to send message";(Ze==="prompt_shield_blocked"||Ze==="safety.blocked")&&!Me?D="Your message was blocked by content filter.":!Ze&&Me.toLowerCase().includes("token")&&(D="Token limit exceeded. Please try a shorter message."),r&&r(D),(ve==="human_handover"||j.current==="requesting")&&!k.current&&(j.current="failed",z({status:"failed"}))},oe)}}catch(pe){Q.flush(ae),p(!1),E({active:!1}),j.current==="requesting"&&!k.current&&(j.current="failed",z({status:"failed"}));const de=pe instanceof Error?pe.message:"Failed to send message";r&&r(de)}},[m,r,a,s,e,oe,Ee,Q,o==null?void 0:o.enabled,P.status,B]),Ne=M.useCallback(async()=>{!(o!=null&&o.enabled)||!m&&!s||P.status==="requesting"||(k.current=null,j.current="requesting",I.current.clear(),z({status:"requesting"}),await We(o.requestMessage,void 0,void 0,"human_handover"))},[m,s,P.status,o,We]),Le=M.useCallback(async()=>{const _=k.current;if(!(o!=null&&o.enabled)||!m||!_||!["queued","active"].includes(j.current))return!1;try{await ds(m,_)}catch($){return console.warn("Failed to cancel human handover:",$),!1}const H=new Date;return c($=>[...$,{text:"",isUser:!1,sender:"system",systemKind:"handover_cancelled",time:V(H),timestamp:H}]),B(),!0},[m,o==null?void 0:o.enabled,B]),Pe=M.useCallback(()=>{o!=null&&o.enabled&&B()},[o==null?void 0:o.enabled,B]),se=M.useCallback((_,H)=>{c($=>$.map((ve,Ve)=>Ve===_?{...ve,feedback:H}:ve))},[]),Ce=M.useCallback(_=>{const H=new Date,$={text:_,isUser:!1,time:H.toLocaleTimeString("de-DE",{hour:"2-digit",minute:"2-digit"}),timestamp:H,feedback:null};c(ve=>[...ve,$])},[]);return{messages:u,isTyping:d,quickReplies:y,toolStatus:S,conversationId:m,assistantTenant:g,handover:P,initialize:C,sendMessage:We,requestHumanHandover:Ne,cancelHumanHandover:Le,continueWithAssistant:Pe,startNewConversation:Ie,updateMessageFeedback:se,appendAssistantMessage:Ce}}const vh={de:[{id:"mangel",title:"🔧 Mangel melden",message:"Ich möchte einen Mangel oder Schaden im öffentlichen Raum melden."},{id:"reisepass",title:"📄 Reisepass verlängern",message:"Ich möchte meinen Reisepass verlängern. Welche Unterlagen benötige ich?"},{id:"oeffnungszeiten",title:"🕐 Öffnungszeiten",message:"Wann hat das Bürgerbüro geöffnet?"},{id:"personalausweis",title:"🆔 Personalausweis beantragen",message:"Wie kann ich einen neuen Personalausweis beantragen?"},{id:"termin",title:"📅 Termin vereinbaren",message:"Ich möchte einen Termin im Bürgerbüro vereinbaren."},{id:"formulare",title:"🏛️ Digitales Rathaus",message:"Wie nutze ich das Digitale Rathaus und seine Services?"},{id:"kfz",title:"🚗 Kfz-Zulassung",message:"Wie kann ich mein Fahrzeug ummelden?"},{id:"wohnsitz",title:"🏠 Wohnsitz ummelden",message:"Ich bin umgezogen und möchte meinen Wohnsitz ummelden."}],en:[{id:"mangel",title:"🔧 Report Issue",message:"I would like to report a defect or damage in public space."},{id:"reisepass",title:"📄 Renew Passport",message:"I would like to renew my passport. What documents do I need?"},{id:"oeffnungszeiten",title:"🕐 Opening Hours",message:"When is the citizen service office open?"},{id:"personalausweis",title:"🆔 Apply for ID Card",message:"How can I apply for a new ID card?"},{id:"termin",title:"📅 Make Appointment",message:"I would like to make an appointment at the citizen service office."},{id:"formulare",title:"🏛️ Digital City Hall",message:"How can I access the services of the digital city hall?"},{id:"kfz",title:"🚗 Vehicle Registration",message:"How can I re-register my vehicle?"},{id:"wohnsitz",title:"🏠 Change Address",message:"I have moved and would like to change my address."}],fr:[{id:"mangel",title:"🔧 Signaler Problème",message:"Je voudrais signaler un défaut ou dommage dans l'espace public."},{id:"reisepass",title:"📄 Renouveler Passeport",message:"Je voudrais renouveler mon passeport. Quels documents sont nécessaires?"},{id:"oeffnungszeiten",title:"🕐 Heures d'Ouverture",message:"Quand le bureau des citoyens est-il ouvert?"},{id:"personalausweis",title:"🆔 Demander Carte ID",message:"Comment puis-je demander une nouvelle carte d'identité?"},{id:"termin",title:"📅 Prendre Rendez-vous",message:"Je voudrais prendre un rendez-vous au bureau des citoyens."},{id:"formulare",title:"🏛️ Mairie numérique",message:"Comment accéder aux services de la mairie numérique ?"},{id:"kfz",title:"🚗 Immatriculation",message:"Comment puis-je réenregistrer mon véhicule?"},{id:"wohnsitz",title:"🏠 Changer Adresse",message:"J'ai déménagé et je voudrais changer mon adresse."}],es:[{id:"mangel",title:"🔧 Reportar Problema",message:"Quisiera reportar un defecto o daño en el espacio público."},{id:"reisepass",title:"📄 Renovar Pasaporte",message:"Quisiera renovar mi pasaporte. ¿Qué documentos necesito?"},{id:"oeffnungszeiten",title:"🕐 Horario",message:"¿Cuándo está abierta la oficina de atención ciudadana?"},{id:"personalausweis",title:"🆔 Solicitar DNI",message:"¿Cómo puedo solicitar un nuevo DNI?"},{id:"termin",title:"📅 Solicitar Cita",message:"Quisiera solicitar una cita en la oficina de atención ciudadana."},{id:"formulare",title:"🏛️ Ayuntamiento digital",message:"¿Cómo puedo acceder a los servicios del ayuntamiento digital?"},{id:"kfz",title:"🚗 Registro Vehículo",message:"¿Cómo puedo registrar nuevamente mi vehículo?"},{id:"wohnsitz",title:"🏠 Cambiar Domicilio",message:"Me he mudado y quisiera cambiar mi domicilio."}],it:[{id:"mangel",title:"🔧 Segnala Problema",message:"Vorrei segnalare un difetto o danno nello spazio pubblico."},{id:"reisepass",title:"📄 Rinnova Passaporto",message:"Vorrei rinnovare il mio passaporto. Quali documenti servono?"},{id:"oeffnungszeiten",title:"🕐 Orari",message:"Quando è aperto l'ufficio servizi al cittadino?"},{id:"personalausweis",title:"🆔 Richiedere Carta ID",message:"Come posso richiedere una nuova carta d'identità?"},{id:"termin",title:"📅 Fissare Appuntamento",message:"Vorrei fissare un appuntamento presso l'ufficio servizi al cittadino."},{id:"formulare",title:"🏛️ Municipio digitale",message:"Come posso accedere ai servizi del municipio digitale?"},{id:"kfz",title:"🚗 Immatricolazione",message:"Come posso registrare nuovamente il mio veicolo?"},{id:"wohnsitz",title:"🏠 Cambia Residenza",message:"Mi sono trasferito e vorrei cambiare la mia residenza."}],tr:[{id:"mangel",title:"🔧 Sorun Bildir",message:"Kamusal alanda bir kusur veya hasar bildirmek istiyorum."},{id:"reisepass",title:"📄 Pasaport Yenile",message:"Pasaportumu yenilemek istiyorum. Hangi belgelere ihtiyacım var?"},{id:"oeffnungszeiten",title:"🕐 Çalışma Saatleri",message:"Vatandaşlık bürosu ne zaman açık?"},{id:"personalausweis",title:"🆔 Kimlik Başvurusu",message:"Yeni bir kimlik kartı için nasıl başvurabilirim?"},{id:"termin",title:"📅 Randevu Al",message:"Vatandaşlık bürosundan randevu almak istiyorum."},{id:"formulare",title:"🏛️ Dijital Belediye",message:"Dijital belediye hizmetlerine nasıl erişebilirim?"},{id:"kfz",title:"🚗 Araç Kaydı",message:"Aracımı nasıl yeniden kaydettirebilirim?"},{id:"wohnsitz",title:"🏠 Adres Değişikliği",message:"Taşındım ve adresimi değiştirmek istiyorum."}],ar:[{id:"mangel",title:"🔧 الإبلاغ عن مشكلة",message:"أود الإبلاغ عن عيب أو ضرر في المساحة العامة."},{id:"reisepass",title:"📄 تجديد جواز السفر",message:"أود تجديد جواز سفري. ما هي المستندات المطلوبة؟"},{id:"oeffnungszeiten",title:"🕐 ساعات العمل",message:"متى يكون مكتب خدمة المواطنين مفتوحًا؟"},{id:"personalausweis",title:"🆔 طلب بطاقة الهوية",message:"كيف يمكنني التقدم بطلب للحصول على بطاقة هوية جديدة؟"},{id:"termin",title:"📅 حجز موعد",message:"أود حجز موعد في مكتب خدمة المواطنين."},{id:"formulare",title:"🏛️ البلدية الرقمية",message:"كيف يمكنني الوصول إلى خدمات البلدية الرقمية؟"},{id:"kfz",title:"🚗 تسجيل المركبة",message:"كيف يمكنني إعادة تسجيل مركبتي؟"},{id:"wohnsitz",title:"🏠 تغيير العنوان",message:"لقد انتقلت وأود تغيير عنواني."}],pl:[{id:"mangel",title:"🔧 Zgłoś Problem",message:"Chciałbym zgłosić usterkę lub szkodę w przestrzeni publicznej."},{id:"reisepass",title:"📄 Odnów Paszport",message:"Chciałbym odnowić mój paszport. Jakie dokumenty są potrzebne?"},{id:"oeffnungszeiten",title:"🕐 Godziny Otwarcia",message:"Kiedy biuro obsługi mieszkańców jest otwarte?"},{id:"personalausweis",title:"🆔 Złóż Wniosek o Dowód",message:"Jak mogę złożyć wniosek o nowy dowód osobisty?"},{id:"termin",title:"📅 Umów Wizytę",message:"Chciałbym umówić wizytę w biurze obsługi mieszkańców."},{id:"formulare",title:"🏛️ Cyfrowy ratusz",message:"Jak mogę uzyskać dostęp do usług cyfrowego ratusza?"},{id:"kfz",title:"🚗 Rejestracja Pojazdu",message:"Jak mogę ponownie zarejestrować mój pojazd?"},{id:"wohnsitz",title:"🏠 Zmień Adres",message:"Przeprowadziłem się i chciałbym zmienić mój adres."}],ua:[{id:"mangel",title:"🔧 Повідомити Проблему",message:"Я хотів би повідомити про дефект або пошкодження в громадському просторі."},{id:"reisepass",title:"📄 Поновити Паспорт",message:"Я хотів би поновити свій паспорт. Які документи мені потрібні?"},{id:"oeffnungszeiten",title:"🕐 Години Роботи",message:"Коли відкритий офіс обслуговування громадян?"},{id:"personalausweis",title:"🆔 Подати на ID",message:"Як я можу подати заявку на новий ідентифікаційний документ?"},{id:"termin",title:"📅 Записатися",message:"Я хотів би записатися на прийом в офісі обслуговування громадян."},{id:"formulare",title:"🏛️ Цифрова мерія",message:"Як отримати доступ до послуг цифрової мерії?"},{id:"kfz",title:"🚗 Реєстрація Авто",message:"Як я можу перереєструвати свій автомобіль?"},{id:"wohnsitz",title:"🏠 Змінити Адресу",message:"Я переїхав і хотів би змінити свою адресу."}],simple:[{id:"mangel",title:"🔧 Problem melden",message:"Ich möchte ein Problem melden."},{id:"reisepass",title:"📄 Pass verlängern",message:"Ich will meinen Pass verlängern. Was brauche ich?"},{id:"oeffnungszeiten",title:"🕐 Wann offen?",message:"Wann ist das Büro offen?"},{id:"personalausweis",title:"🆔 Ausweis machen",message:"Wie bekomme ich einen neuen Ausweis?"},{id:"termin",title:"📅 Termin machen",message:"Ich möchte einen Termin machen."},{id:"formulare",title:"🏛️ Digitales Rathaus",message:"Wie nutze ich das Digitale Rathaus?"},{id:"kfz",title:"🚗 Auto anmelden",message:"Wie melde ich mein Auto um?"},{id:"wohnsitz",title:"🏠 Adresse ändern",message:"Ich bin umgezogen. Ich möchte meine Adresse ändern."}]},ps=e=>typeof structuredClone=="function"?structuredClone(e):JSON.parse(JSON.stringify(e)),Ku=(e,t)=>{if(!t)return ps(e);const n=Array.isArray(e)?[...e]:{...e},r=(i,a)=>{n[i]=a};for(const[i,a]of Object.entries(e)){const o=t[i];if(o===void 0){r(i,ps(a));continue}a!==null&&o!==null&&typeof a=="object"&&typeof o=="object"&&!Array.isArray(a)&&!Array.isArray(o)?r(i,Ku(a,o)):Array.isArray(o)?r(i,[...o]):r(i,o)}for(const[i,a]of Object.entries(t))e[i]===void 0&&a!==void 0&&r(i,Array.isArray(a)?[...a]:a);return n},Oe={promptId:"default",theme:"dark",highContrast:void 0,bubbleless:!1,dialogLayout:"floating",zIndexBase:1e5,apiKey:void 0,baseUrl:void 0,tenant:void 0,startOnFirstUserMessage:!0,defaultLanguage:"de",languages:Yp,translations:_p,branding:{assistantName:"BürgerBot",logoUrl:"https://chat.feazy.ai/assets/feazy_logo_new-BI-QKyxX.png",poweredBy:{text:"Feazy",url:"https://feazy.de"}},callout:{enabled:!0,emoji:"👋",text:"Sie brauchen Hilfe? Fragen Sie den BürgerBot!",delayMs:0},links:{privacyUrl:"https://feazy.de/assistant-privacy-policy/",feedbackUrl:"mailto:support@feazy.de&subject=Feedback%20zum%20B%C3%BCrgerbot%20",reportIssueUrl:"mailto:support@feazy.de?subject=Problem%20melden%20-%20B%C3%BCrgerbot%20",poweredByUrl:"https://feazy.de"},quickReplies:vh,colors:{common:{primary:"21 90% 48%","glow-primary":"21 90% 48%"}},aboutChatbotDescription:"BürgerBot ist ein KI-gestützter Assistent für Kommunen. Er beantwortet Ihre Fragen zu Öffnungszeiten, Terminen, Formularen und städtischen Dienstleistungen rund um die Uhr.",festive:{christmasHat:!1},humanHandover:{enabled:!1,pollIntervalMs:2e3,translations:{}}},Qu=e=>Ku(Oe,e),xh=["small","normal","large","extra-large"],wh=e=>typeof e=="string"&&xh.includes(e);var di="Switch",[kh]=ln(di),[Sh,Ch]=kh(di),Yu=v.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:l="on",onCheckedChange:u,form:c,...d}=e,[p,m]=v.useState(null),h=it(t,S=>m(S)),g=v.useRef(!1),b=p?c||!!p.closest("form"):!0,[y,w]=hr({prop:i,defaultProp:a??!1,onChange:u,caller:di});return f.jsxs(Sh,{scope:n,checked:y,disabled:s,children:[f.jsx(Ke.button,{type:"button",role:"switch","aria-checked":y,"aria-required":o,"data-state":tc(y),"data-disabled":s?"":void 0,disabled:s,value:l,...d,ref:h,onClick:Re(e.onClick,S=>{w(E=>!E),b&&(g.current=S.isPropagationStopped(),g.current||S.stopPropagation())})}),b&&f.jsx(ec,{control:p,bubbles:!g.current,name:r,value:l,checked:y,required:o,disabled:s,form:c,style:{transform:"translateX(-100%)"}})]})});Yu.displayName=di;var _u="SwitchThumb",$u=v.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,i=Ch(_u,n);return f.jsx(Ke.span,{"data-state":tc(i.checked),"data-disabled":i.disabled?"":void 0,...r,ref:t})});$u.displayName=_u;var zh="SwitchBubbleInput",ec=v.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...i},a)=>{const o=v.useRef(null),s=it(o,a),l=ju(n),u=Xo(t);return v.useEffect(()=>{const c=o.current;if(!c)return;const d=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(d,"checked").set;if(l!==n&&m){const h=new Event("click",{bubbles:r});m.call(c,n),c.dispatchEvent(h)}},[l,n,r]),f.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:s,style:{...i.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});ec.displayName=zh;function tc(e){return e?"checked":"unchecked"}var nc=Yu,Ah=$u;const rc=v.forwardRef(({className:e,...t},n)=>f.jsx(nc,{className:yt("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",e),...t,ref:n,children:f.jsx(Ah,{className:yt("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));rc.displayName=nc.displayName;function Eh({open:e,onClose:t,translation:n,theme:r,setTheme:i,fontSize:a,onFontSizeChange:o,highContrast:s,onHighContrastChange:l,onRevokePrivacy:u,links:c,poweredBy:d}){return e?f.jsxs("div",{className:"absolute inset-0 bg-[hsl(var(--chat-settings-bg))] backdrop-blur-[60px] z-50 flex flex-col animate-fade-in",children:[f.jsxs("div",{className:"p-5 border-b border-border flex justify-between items-center",children:[f.jsx("h3",{className:"text-lg font-bold text-foreground",children:n.title}),f.jsx("button",{onClick:t,className:"w-[38px] h-[38px] bg-muted rounded-full flex items-center justify-center hover:bg-muted/80 transition-all",children:f.jsx(on,{className:"w-5 h-5 text-foreground"})})]}),f.jsxs("div",{className:"flex-1 overflow-y-auto p-5 space-y-6",children:[f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h4",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[f.jsx(Qa,{className:"w-4 h-4"}),n.appearance.title]}),f.jsxs("div",{className:"bg-card rounded-xl p-4 space-y-4 border border-border",children:[f.jsxs("div",{className:"space-y-2",children:[f.jsx(gn,{className:"text-sm text-foreground/80",children:n.appearance.theme}),f.jsxs("div",{className:"flex gap-2",children:[f.jsxs(st,{onClick:()=>i("light"),variant:r==="light"?"default":"outline",className:"flex-1",size:"sm",children:[f.jsx(Qa,{className:"w-4 h-4 mr-2"}),n.appearance.light]}),f.jsxs(st,{onClick:()=>i("dark"),variant:r==="dark"?"default":"outline",className:"flex-1",size:"sm",children:[f.jsx($f,{className:"w-4 h-4 mr-2"}),n.appearance.dark]})]})]}),f.jsxs("div",{className:"space-y-2",children:[f.jsx(gn,{className:"text-sm text-foreground/80",children:n.appearance.fontSize}),f.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[f.jsx(st,{onClick:()=>o("small"),variant:a==="small"?"default":"outline",size:"sm",className:"text-xs px-2",children:n.appearance.fontSizeSmall}),f.jsx(st,{onClick:()=>o("normal"),variant:a==="normal"?"default":"outline",size:"sm",className:"text-xs px-2",children:n.appearance.fontSizeNormal}),f.jsx(st,{onClick:()=>o("large"),variant:a==="large"?"default":"outline",size:"sm",className:"text-xs px-2",children:n.appearance.fontSizeLarge}),f.jsx(st,{onClick:()=>o("extra-large"),variant:a==="extra-large"?"default":"outline",size:"sm",className:"text-xs px-2",children:n.appearance.fontSizeExtraLarge})]})]}),f.jsxs("div",{className:"flex items-center justify-between",children:[f.jsxs("div",{className:"space-y-0.5",children:[f.jsx(gn,{className:"text-sm text-foreground",children:n.appearance.highContrast}),f.jsx("p",{className:"text-xs text-foreground/60",children:n.appearance.highContrastDesc})]}),f.jsx(rc,{checked:s,onCheckedChange:l})]})]})]}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h4",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[f.jsx(rn,{className:"w-4 h-4"}),n.privacy.title]}),f.jsxs("div",{className:"bg-card rounded-xl p-4 space-y-3 border border-border",children:[f.jsx("p",{className:"text-sm text-foreground/80",children:n.privacy.description}),f.jsxs("div",{className:"flex gap-2 flex-wrap",children:[f.jsxs("a",{href:c.privacyUrl||"#",target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:text-primary/80 underline flex items-center gap-1",children:[n.privacy.viewPolicy,f.jsx(hn,{className:"w-3 h-3"})]}),f.jsx("button",{onClick:u,className:"text-xs text-red-400 hover:text-red-300 underline",children:n.privacy.revoke})]})]})]}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h4",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[f.jsx(iu,{className:"w-4 h-4"}),n.feedback.title]}),f.jsxs("div",{className:"bg-card rounded-xl p-4 space-y-3 border border-border",children:[f.jsx("p",{className:"text-sm text-foreground/80",children:n.feedback.description}),f.jsx("a",{href:c.feedbackUrl||"#",className:"inline-block",children:f.jsxs(st,{className:"w-full text-sm",children:[n.feedback.button,f.jsx(hn,{className:"w-4 h-4 ml-2"})]})})]})]}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h4",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[f.jsx(rn,{className:"w-4 h-4"}),n.reportIssue.title]}),f.jsxs("div",{className:"bg-card rounded-xl p-4 space-y-3 border border-border",children:[f.jsx("p",{className:"text-sm text-foreground/80",children:n.reportIssue.description}),f.jsx("a",{href:c.reportIssueUrl||"#",className:"inline-block",children:f.jsxs(st,{className:"w-full text-sm",children:[n.reportIssue.button,f.jsx(hn,{className:"w-4 h-4 ml-2"})]})})]})]}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h4",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[f.jsx(Kr,{className:"w-4 h-4"}),n.aboutChatbot.title]}),f.jsx("div",{className:"bg-card rounded-xl p-4 border border-border",children:f.jsx("p",{className:"text-sm text-foreground/80",children:n.aboutChatbot.description})})]}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h4",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[f.jsx(Uf,{className:"w-4 h-4"}),n.aboutFeazy.title]}),f.jsxs("div",{className:"bg-card rounded-xl p-4 space-y-3 border border-border",children:[f.jsx("p",{className:"text-sm text-foreground/80",children:n.aboutFeazy.description}),f.jsx("a",{href:(d==null?void 0:d.url)||c.poweredByUrl||"#",target:"_blank",rel:"noopener noreferrer",className:"inline-block",children:f.jsxs(st,{className:"w-full bg-primary hover:bg-primary/90 text-primary-foreground text-sm",children:[n.aboutFeazy.button,f.jsx(hn,{className:"w-4 h-4 ml-2"})]})})]})]}),f.jsx("div",{className:"pt-4 border-t border-border",children:f.jsx("p",{className:"text-xs text-foreground/40 text-center",children:n.version})})]})]}):null}const Ph=()=>f.jsx("div",{className:"flex items-center gap-1",children:[...Array(5)].map((e,t)=>f.jsx("div",{className:"w-1 bg-destructive rounded-full animate-waveform",style:{animationDelay:`${t*.1}s`,height:"8px"}},t))});function jh({input:e,onInputChange:t,onSend:n,onKeyDown:r,inputRef:i,isRecording:a,isTranscribing:o,isTyping:s,startRecording:l,stopRecording:u,recordingTime:c,placeholder:d,transcribingLabel:p,disclaimer:m,poweredByText:h,poweredByUrl:g}){return f.jsxs("div",{className:"px-4 pt-4 pb-2 bg-[hsl(var(--chat-input-bg))] backdrop-blur-[20px] border-t border-border",children:[f.jsxs("div",{className:"flex gap-3 items-center bg-card backdrop-blur-[10px] rounded-[20px] p-2 px-4 border border-border transition-all focus-within:border-primary/40 focus-within:shadow-[0_0_0_3px_hsl(var(--primary)/0.08)]",children:[f.jsxs("div",{className:"relative flex-shrink-0 flex items-center",children:[f.jsx("button",{onClick:a?u:l,disabled:o||s,"aria-label":a?"Aufnahme stoppen":"Spracheingabe","aria-pressed":a,className:`flex items-center transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-primary ${a?"text-destructive hover:text-destructive":"text-foreground/60 hover:text-foreground"} disabled:opacity-40 disabled:cursor-not-allowed`,children:a?f.jsx(im,{className:"w-5 h-5","aria-hidden":"true"}):f.jsx(Qf,{className:"w-5 h-5","aria-hidden":"true"})}),o&&f.jsxs("div",{className:"absolute left-full top-1/2 transform -translate-y-1/2 ml-2 bg-primary text-primary-foreground px-3 py-1 rounded-full text-xs flex items-center gap-2 whitespace-nowrap animate-in fade-in slide-in-from-right-2",children:[f.jsx("div",{className:"w-2 h-2 bg-primary-foreground rounded-full animate-pulse"}),p]})]}),a?f.jsxs("div",{className:"flex-1 flex items-center gap-3 py-2.5 min-h-[40px]",children:[f.jsx(Ph,{}),f.jsxs("span",{className:"text-sm text-destructive/80",children:[Math.floor(c/60),":",(c%60).toString().padStart(2,"0")]})]}):f.jsx(Uo,{ref:i,value:e,onChange:b=>t(b.target.value),onKeyDown:r,placeholder:d,"aria-label":"Nachricht eingeben",className:"flex-1 border-none bg-transparent py-2.5 px-0 text-base md:text-sm outline-none text-foreground placeholder:text-muted-foreground focus-visible:ring-0 focus-visible:ring-offset-0 resize-none min-h-[40px] max-h-[120px] overflow-y-auto",disabled:a||o,rows:1}),f.jsx(st,{onClick:n,disabled:s||o||!a&&!e.trim(),size:"icon",className:"w-[40px] h-[40px] flex-shrink-0 rounded-full bg-primary border-none flex items-center justify-center cursor-pointer transition-all duration-300 shadow-[0_4px_12px_hsl(var(--glow-primary))] hover:scale-110 hover:rotate-[15deg] hover:shadow-[0_6px_20px_hsl(var(--glow-primary))] disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:scale-100 disabled:hover:rotate-0",children:f.jsx(tm,{className:"w-4 h-4 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]"})})]}),f.jsxs("div",{className:"text-center pt-2 space-y-0.5",children:[f.jsx("p",{className:"text-[10px] text-muted-foreground",children:m}),h?f.jsxs("p",{className:"text-[10px] text-muted-foreground/60",children:["Bereitgestellt von"," ",g?f.jsx("a",{href:g,target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground/80 hover:text-foreground underline transition-colors",children:h}):f.jsx("span",{className:"text-muted-foreground/80",children:h})]}):null]})]})}function fi({imageUrl:e,name:t,size:n=36,className:r=""}){return f.jsx("span",{className:`relative inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full bg-[hsl(var(--chat-human)/0.14)] text-[hsl(var(--chat-human))] ring-1 ring-[hsl(var(--chat-human)/0.45)] ${r}`,style:{width:n,height:n,fontSize:Math.round(n*.48)},role:"img","aria-label":t,children:e?f.jsx("img",{src:e,alt:"",className:"h-full w-full object-cover"}):f.jsx(go,{"aria-hidden":"true"})})}function Th({theme:e,selectedLanguage:t,languages:n,onlineLabel:r,isLangMenuOpen:i,setIsLangMenuOpen:a,repositionLangMenu:o,langMenuPortalTarget:s,langMenuPos:l,langMenuContentRef:u,langButtonRef:c,handleLangMenuKeyDown:d,onSelectLanguage:p,showSettings:m,onToggleSettings:h,isExpanded:g,onToggleExpand:b,showExpandToggle:y=!0,langMenuPositioning:w="fixed",langMenuZIndex:S=100002,showCloseButton:E=!0,onClose:P,logoSrc:z,assistantName:T,assistantTagline:L,presence:N}){var j,I,V,F;const k=(N==null?void 0:N.mode)==="human"?"bg-green-400 animate-status-blink shadow-[0_0_8px_rgba(74,222,128,0.6)]":(N==null?void 0:N.mode)==="waiting"?"bg-[hsl(var(--chat-waiting))] shadow-[0_0_8px_hsl(var(--chat-waiting)/0.7)]":"bg-primary-foreground/45";return f.jsxs("div",{className:"chat-header-solid relative bg-primary p-5 flex justify-between items-center gap-3 rounded-t-[24px] overflow-hidden",children:[f.jsxs("div",{className:"flex items-center gap-3 relative z-[1] min-w-0",children:[f.jsxs("div",{className:"relative shrink-0",children:[f.jsx("div",{className:"w-[42px] h-[42px] bg-[hsl(var(--chat-avatar-bot))] rounded-full flex items-center justify-center border border-primary-foreground/30 shadow-[0_4px_15px_rgba(0,0,0,0.2)]",role:"img","aria-label":`${T} Logo`,children:f.jsx("img",{src:z,alt:T,className:"w-7 h-7 object-contain drop-shadow-[0_2px_4px_rgba(0,0,0,0.2)]"})}),(N==null?void 0:N.mode)==="human"?f.jsx("span",{className:"handover-in absolute -bottom-0.5 -end-1 rounded-full ring-2 ring-primary",children:f.jsx(fi,{imageUrl:(j=N.operator)==null?void 0:j.imageUrl,name:((I=N.operator)==null?void 0:I.displayName)||N.operatorFallbackName||"Support",size:18,className:"bg-[hsl(var(--chat-human))] text-[hsl(var(--chat-human-foreground))] ring-0"})}):null]}),f.jsxs("div",{className:"min-w-0",children:[f.jsx("div",{id:"chat-title",className:"truncate text-primary-foreground text-lg font-bold drop-shadow-[0_2px_10px_rgba(0,0,0,0.3)]",children:T}),N?f.jsxs("div",{id:"chat-description",className:"flex min-w-0 items-center gap-1.5 text-primary-foreground/95 text-xs",role:"status","aria-live":"polite",children:[f.jsx("span",{className:`handover-in inline-block w-[7px] h-[7px] shrink-0 rounded-full ${k}`,"aria-hidden":"true"},N.mode),f.jsx("span",{className:"truncate",title:N.label,children:N.label})]}):f.jsxs("div",{id:"chat-description",className:"text-primary-foreground/95 text-xs",children:[f.jsx("span",{className:"inline-block w-[7px] h-[7px] bg-green-400 rounded-full mr-1.5 animate-status-blink shadow-[0_0_8px_rgba(74,222,128,0.6)]",role:"status","aria-label":"Online-Status"}),f.jsx("span",{children:r}),L?f.jsxs("span",{className:"ml-2 text-primary-foreground/80",children:["• ",L]}):null]})]})]}),f.jsxs("div",{className:"flex items-center gap-2 relative z-[1] shrink-0",children:[f.jsxs("div",{className:"relative",children:[f.jsxs("button",{type:"button","aria-haspopup":"menu","aria-expanded":i,"aria-controls":"klaus-language-menu",onClick:O=>{O.preventDefault(),O.stopPropagation();const B=!i;B&&o(),a(B)},"aria-label":`Sprache: ${(V=n.find(O=>O.code===t))==null?void 0:V.name}`,className:"px-3 py-1.5 rounded-full text-xs font-semibold transition-all duration-300 flex items-center gap-1.5 bg-primary-foreground/15 text-primary-foreground hover:bg-primary-foreground/25 border border-primary-foreground/20 focus:outline-none focus:ring-2 focus:ring-primary-foreground focus:ring-offset-2 focus:ring-offset-primary",ref:c,children:[f.jsx(Xf,{className:"w-3.5 h-3.5","aria-hidden":"true"}),f.jsx("span",{className:"max-md:hidden",children:(F=n.find(O=>O.code===t))==null?void 0:F.flag})]}),i&&s&&qo.createPortal(f.jsx("div",{id:"klaus-language-menu",role:"menu","aria-label":"Sprachauswahl",onKeyDown:d,ref:u,className:`${w} w-[220px] rounded-2xl bg-background/95 backdrop-blur-2xl border border-white/10 text-foreground shadow-[0_20px_45px_rgba(0,0,0,0.45)] max-h-[300px] overflow-y-auto`,style:{top:`${l.top}px`,left:`${l.left}px`,zIndex:S},children:n.map(O=>f.jsxs("button",{type:"button",role:"menuitemradio","aria-checked":t===O.code,onClick:B=>{B.preventDefault(),B.stopPropagation(),p(O.code),a(!1)},className:"w-full text-left cursor-pointer text-foreground/80 hover:text-foreground focus:text-foreground flex items-center justify-between gap-2 px-3 py-2 rounded-xl transition-colors hover:bg-white/10 focus:bg-white/10",children:[f.jsxs("span",{className:"flex items-center gap-2",children:[f.jsx("span",{className:"text-base",children:O.flag}),f.jsx("span",{className:"text-sm",children:O.name})]}),t===O.code&&f.jsx(wn,{className:"w-4 h-4 text-primary"})]},O.code))}),s)]}),f.jsx("button",{onClick:h,"aria-label":m?"Einstellungen schließen":"Einstellungen öffnen","aria-expanded":m,className:"w-[38px] h-[38px] bg-primary-foreground/15 backdrop-blur-[10px] border border-primary-foreground/20 rounded-full flex items-center justify-center transition-all duration-300 hover:bg-primary-foreground/25 hover:scale-110 hover:rotate-45 focus:outline-none focus:ring-2 focus:ring-primary-foreground focus:ring-offset-2 focus:ring-offset-primary",children:f.jsx(nm,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]","aria-hidden":"true"})}),y&&f.jsx("button",{onClick:b,"aria-label":g?"Normalgröße":"Vollbild","aria-expanded":g,className:"w-[38px] h-[38px] bg-primary-foreground/15 backdrop-blur-[10px] border border-primary-foreground/20 rounded-full flex items-center justify-center transition-all duration-300 hover:bg-primary-foreground/25 hover:scale-110 focus:outline-none focus:ring-2 focus:ring-primary-foreground focus:ring-offset-2 focus:ring-offset-primary max-md:hidden",children:g?f.jsx(Yf,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]","aria-hidden":"true"}):f.jsx(Gf,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]","aria-hidden":"true"})}),E&&f.jsx("button",{onClick:P,"aria-label":"Chat schließen",className:"w-[38px] h-[38px] bg-primary-foreground/15 backdrop-blur-[10px] border border-primary-foreground/20 rounded-full flex items-center justify-center transition-all duration-300 hover:bg-primary-foreground/25 hover:rotate-90 hover:scale-110 focus:outline-none focus:ring-2 focus:ring-primary-foreground focus:ring-offset-2 focus:ring-offset-primary",children:f.jsx(on,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]","aria-hidden":"true"})})]})]})}function Nh(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Mh=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ih=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Dh={};function hs(e,t){return(Dh.jsx?Ih:Mh).test(e)}const Rh=/[ \t\n\f\r]/g;function Lh(e){return typeof e=="object"?e.type==="text"?gs(e.value):!1:gs(e)}function gs(e){return e.replace(Rh,"")===""}class br{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}br.prototype.normal={};br.prototype.property={};br.prototype.space=void 0;function ic(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new br(n,r,t)}function vo(e){return e.toLowerCase()}class vt{constructor(t,n){this.attribute=n,this.property=t}}vt.prototype.attribute="";vt.prototype.booleanish=!1;vt.prototype.boolean=!1;vt.prototype.commaOrSpaceSeparated=!1;vt.prototype.commaSeparated=!1;vt.prototype.defined=!1;vt.prototype.mustUseProperty=!1;vt.prototype.number=!1;vt.prototype.overloadedBoolean=!1;vt.prototype.property="";vt.prototype.spaceSeparated=!1;vt.prototype.space=void 0;let Oh=0;const me=kn(),Ye=kn(),xo=kn(),J=kn(),qe=kn(),Tn=kn(),wt=kn();function kn(){return 2**++Oh}const wo=Object.freeze(Object.defineProperty({__proto__:null,boolean:me,booleanish:Ye,commaOrSpaceSeparated:wt,commaSeparated:Tn,number:J,overloadedBoolean:xo,spaceSeparated:qe},Symbol.toStringTag,{value:"Module"})),Hi=Object.keys(wo);class Go extends vt{constructor(t,n,r,i){let a=-1;if(super(t,n),bs(this,"space",i),typeof r=="number")for(;++a<Hi.length;){const o=Hi[a];bs(this,Hi[a],(r&wo[o])===wo[o])}}}Go.prototype.defined=!0;function bs(e,t,n){n&&(e[t]=n)}function Fn(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new Go(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[vo(r)]=r,n[vo(a.attribute)]=r}return new br(t,n,e.space)}const oc=Fn({properties:{ariaActiveDescendant:null,ariaAtomic:Ye,ariaAutoComplete:null,ariaBusy:Ye,ariaChecked:Ye,ariaColCount:J,ariaColIndex:J,ariaColSpan:J,ariaControls:qe,ariaCurrent:null,ariaDescribedBy:qe,ariaDetails:null,ariaDisabled:Ye,ariaDropEffect:qe,ariaErrorMessage:null,ariaExpanded:Ye,ariaFlowTo:qe,ariaGrabbed:Ye,ariaHasPopup:null,ariaHidden:Ye,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:qe,ariaLevel:J,ariaLive:null,ariaModal:Ye,ariaMultiLine:Ye,ariaMultiSelectable:Ye,ariaOrientation:null,ariaOwns:qe,ariaPlaceholder:null,ariaPosInSet:J,ariaPressed:Ye,ariaReadOnly:Ye,ariaRelevant:null,ariaRequired:Ye,ariaRoleDescription:qe,ariaRowCount:J,ariaRowIndex:J,ariaRowSpan:J,ariaSelected:Ye,ariaSetSize:J,ariaSort:null,ariaValueMax:J,ariaValueMin:J,ariaValueNow:J,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function ac(e,t){return t in e?e[t]:t}function sc(e,t){return ac(e,t.toLowerCase())}const Fh=Fn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Tn,acceptCharset:qe,accessKey:qe,action:null,allow:null,allowFullScreen:me,allowPaymentRequest:me,allowUserMedia:me,alt:null,as:null,async:me,autoCapitalize:null,autoComplete:qe,autoFocus:me,autoPlay:me,blocking:qe,capture:null,charSet:null,checked:me,cite:null,className:qe,cols:J,colSpan:null,content:null,contentEditable:Ye,controls:me,controlsList:qe,coords:J|Tn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:me,defer:me,dir:null,dirName:null,disabled:me,download:xo,draggable:Ye,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:me,formTarget:null,headers:qe,height:J,hidden:xo,high:J,href:null,hrefLang:null,htmlFor:qe,httpEquiv:qe,id:null,imageSizes:null,imageSrcSet:null,inert:me,inputMode:null,integrity:null,is:null,isMap:me,itemId:null,itemProp:qe,itemRef:qe,itemScope:me,itemType:qe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:me,low:J,manifest:null,max:null,maxLength:J,media:null,method:null,min:null,minLength:J,multiple:me,muted:me,name:null,nonce:null,noModule:me,noValidate:me,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:me,optimum:J,pattern:null,ping:qe,placeholder:null,playsInline:me,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:me,referrerPolicy:null,rel:qe,required:me,reversed:me,rows:J,rowSpan:J,sandbox:qe,scope:null,scoped:me,seamless:me,selected:me,shadowRootClonable:me,shadowRootDelegatesFocus:me,shadowRootMode:null,shape:null,size:J,sizes:null,slot:null,span:J,spellCheck:Ye,src:null,srcDoc:null,srcLang:null,srcSet:null,start:J,step:null,style:null,tabIndex:J,target:null,title:null,translate:null,type:null,typeMustMatch:me,useMap:null,value:Ye,width:J,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:qe,axis:null,background:null,bgColor:null,border:J,borderColor:null,bottomMargin:J,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:me,declare:me,event:null,face:null,frame:null,frameBorder:null,hSpace:J,leftMargin:J,link:null,longDesc:null,lowSrc:null,marginHeight:J,marginWidth:J,noResize:me,noHref:me,noShade:me,noWrap:me,object:null,profile:null,prompt:null,rev:null,rightMargin:J,rules:null,scheme:null,scrolling:Ye,standby:null,summary:null,text:null,topMargin:J,valueType:null,version:null,vAlign:null,vLink:null,vSpace:J,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:me,disableRemotePlayback:me,prefix:null,property:null,results:J,security:null,unselectable:null},space:"html",transform:sc}),Bh=Fn({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:wt,accentHeight:J,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:J,amplitude:J,arabicForm:null,ascent:J,attributeName:null,attributeType:null,azimuth:J,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:J,by:null,calcMode:null,capHeight:J,className:qe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:J,diffuseConstant:J,direction:null,display:null,dur:null,divisor:J,dominantBaseline:null,download:me,dx:null,dy:null,edgeMode:null,editable:null,elevation:J,enableBackground:null,end:null,event:null,exponent:J,externalResourcesRequired:null,fill:null,fillOpacity:J,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Tn,g2:Tn,glyphName:Tn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:J,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:J,horizOriginX:J,horizOriginY:J,id:null,ideographic:J,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:J,k:J,k1:J,k2:J,k3:J,k4:J,kernelMatrix:wt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:J,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:J,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:J,overlineThickness:J,paintOrder:null,panose1:null,path:null,pathLength:J,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:qe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:J,pointsAtY:J,pointsAtZ:J,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:wt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:wt,rev:wt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:wt,requiredFeatures:wt,requiredFonts:wt,requiredFormats:wt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:J,specularExponent:J,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:J,strikethroughThickness:J,string:null,stroke:null,strokeDashArray:wt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:J,strokeOpacity:J,strokeWidth:null,style:null,surfaceScale:J,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:wt,tabIndex:J,tableValues:null,target:null,targetX:J,targetY:J,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:wt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:J,underlineThickness:J,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:J,values:null,vAlphabetic:J,vMathematical:J,vectorEffect:null,vHanging:J,vIdeographic:J,version:null,vertAdvY:J,vertOriginX:J,vertOriginY:J,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:J,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ac}),lc=Fn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),uc=Fn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:sc}),cc=Fn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Wh={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},qh=/[A-Z]/g,ys=/-[a-z]/g,Vh=/^data[-\w.:]+$/i;function Jh(e,t){const n=vo(t);let r=t,i=vt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Vh.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(ys,Uh);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!ys.test(a)){let o=a.replace(qh,Hh);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Go}return new i(r,t)}function Hh(e){return"-"+e.toLowerCase()}function Uh(e){return e.charAt(1).toUpperCase()}const Xh=ic([oc,Fh,lc,uc,cc],"html"),Ko=ic([oc,Bh,lc,uc,cc],"svg");function Zh(e){return e.join(" ").trim()}var Qo={},vs=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Gh=/\n/g,Kh=/^\s*/,Qh=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Yh=/^:\s*/,_h=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,$h=/^[;\s]*/,eg=/^\s+|\s+$/g,tg=`
|
|
267
|
+
`))},Me=>{Q.flush(ae),p(!1),E({active:!1}),w(Me),Ee(),(ve==="human_handover"||j.current==="requesting")&&!k.current&&(j.current="failed",z({status:"failed"}))},(Me,Ze)=>{Q.flush(ae),p(!1),E({active:!1});let D=Me||"Failed to send message";(Ze==="prompt_shield_blocked"||Ze==="safety.blocked")&&!Me?D="Your message was blocked by content filter.":!Ze&&Me.toLowerCase().includes("token")&&(D="Token limit exceeded. Please try a shorter message."),r&&r(D),(ve==="human_handover"||j.current==="requesting")&&!k.current&&(j.current="failed",z({status:"failed"}))},oe)}}catch(pe){Q.flush(ae),p(!1),E({active:!1}),j.current==="requesting"&&!k.current&&(j.current="failed",z({status:"failed"}));const de=pe instanceof Error?pe.message:"Failed to send message";r&&r(de)}},[m,r,a,s,e,oe,Ee,Q,o==null?void 0:o.enabled,P.status,B]),Ne=M.useCallback(async()=>{!(o!=null&&o.enabled)||!m&&!s||P.status==="requesting"||(k.current=null,j.current="requesting",I.current.clear(),z({status:"requesting"}),await We(o.requestMessage,void 0,void 0,"human_handover"))},[m,s,P.status,o,We]),Le=M.useCallback(async()=>{const _=k.current;if(!(o!=null&&o.enabled)||!m||!_||!["queued","active"].includes(j.current))return!1;try{await ds(m,_)}catch($){return console.warn("Failed to cancel human handover:",$),!1}const H=new Date;return c($=>[...$,{text:"",isUser:!1,sender:"system",systemKind:"handover_cancelled",time:V(H),timestamp:H}]),B(),!0},[m,o==null?void 0:o.enabled,B]),Pe=M.useCallback(()=>{o!=null&&o.enabled&&B()},[o==null?void 0:o.enabled,B]),se=M.useCallback((_,H)=>{c($=>$.map((ve,Ve)=>Ve===_?{...ve,feedback:H}:ve))},[]),Ce=M.useCallback(_=>{const H=new Date,$={text:_,isUser:!1,time:H.toLocaleTimeString("de-DE",{hour:"2-digit",minute:"2-digit"}),timestamp:H,feedback:null};c(ve=>[...ve,$])},[]);return{messages:u,isTyping:d,quickReplies:y,toolStatus:S,conversationId:m,assistantTenant:g,handover:P,initialize:C,sendMessage:We,requestHumanHandover:Ne,cancelHumanHandover:Le,continueWithAssistant:Pe,startNewConversation:Ie,updateMessageFeedback:se,appendAssistantMessage:Ce}}const vh={de:[{id:"mangel",title:"🔧 Mangel melden",message:"Ich möchte einen Mangel oder Schaden im öffentlichen Raum melden."},{id:"reisepass",title:"📄 Reisepass verlängern",message:"Ich möchte meinen Reisepass verlängern. Welche Unterlagen benötige ich?"},{id:"oeffnungszeiten",title:"🕐 Öffnungszeiten",message:"Wann hat das Bürgerbüro geöffnet?"},{id:"personalausweis",title:"🆔 Personalausweis beantragen",message:"Wie kann ich einen neuen Personalausweis beantragen?"},{id:"termin",title:"📅 Termin vereinbaren",message:"Ich möchte einen Termin im Bürgerbüro vereinbaren."},{id:"formulare",title:"🏛️ Digitales Rathaus",message:"Wie nutze ich das Digitale Rathaus und seine Services?"},{id:"kfz",title:"🚗 Kfz-Zulassung",message:"Wie kann ich mein Fahrzeug ummelden?"},{id:"wohnsitz",title:"🏠 Wohnsitz ummelden",message:"Ich bin umgezogen und möchte meinen Wohnsitz ummelden."}],en:[{id:"mangel",title:"🔧 Report Issue",message:"I would like to report a defect or damage in public space."},{id:"reisepass",title:"📄 Renew Passport",message:"I would like to renew my passport. What documents do I need?"},{id:"oeffnungszeiten",title:"🕐 Opening Hours",message:"When is the citizen service office open?"},{id:"personalausweis",title:"🆔 Apply for ID Card",message:"How can I apply for a new ID card?"},{id:"termin",title:"📅 Make Appointment",message:"I would like to make an appointment at the citizen service office."},{id:"formulare",title:"🏛️ Digital City Hall",message:"How can I access the services of the digital city hall?"},{id:"kfz",title:"🚗 Vehicle Registration",message:"How can I re-register my vehicle?"},{id:"wohnsitz",title:"🏠 Change Address",message:"I have moved and would like to change my address."}],fr:[{id:"mangel",title:"🔧 Signaler Problème",message:"Je voudrais signaler un défaut ou dommage dans l'espace public."},{id:"reisepass",title:"📄 Renouveler Passeport",message:"Je voudrais renouveler mon passeport. Quels documents sont nécessaires?"},{id:"oeffnungszeiten",title:"🕐 Heures d'Ouverture",message:"Quand le bureau des citoyens est-il ouvert?"},{id:"personalausweis",title:"🆔 Demander Carte ID",message:"Comment puis-je demander une nouvelle carte d'identité?"},{id:"termin",title:"📅 Prendre Rendez-vous",message:"Je voudrais prendre un rendez-vous au bureau des citoyens."},{id:"formulare",title:"🏛️ Mairie numérique",message:"Comment accéder aux services de la mairie numérique ?"},{id:"kfz",title:"🚗 Immatriculation",message:"Comment puis-je réenregistrer mon véhicule?"},{id:"wohnsitz",title:"🏠 Changer Adresse",message:"J'ai déménagé et je voudrais changer mon adresse."}],es:[{id:"mangel",title:"🔧 Reportar Problema",message:"Quisiera reportar un defecto o daño en el espacio público."},{id:"reisepass",title:"📄 Renovar Pasaporte",message:"Quisiera renovar mi pasaporte. ¿Qué documentos necesito?"},{id:"oeffnungszeiten",title:"🕐 Horario",message:"¿Cuándo está abierta la oficina de atención ciudadana?"},{id:"personalausweis",title:"🆔 Solicitar DNI",message:"¿Cómo puedo solicitar un nuevo DNI?"},{id:"termin",title:"📅 Solicitar Cita",message:"Quisiera solicitar una cita en la oficina de atención ciudadana."},{id:"formulare",title:"🏛️ Ayuntamiento digital",message:"¿Cómo puedo acceder a los servicios del ayuntamiento digital?"},{id:"kfz",title:"🚗 Registro Vehículo",message:"¿Cómo puedo registrar nuevamente mi vehículo?"},{id:"wohnsitz",title:"🏠 Cambiar Domicilio",message:"Me he mudado y quisiera cambiar mi domicilio."}],it:[{id:"mangel",title:"🔧 Segnala Problema",message:"Vorrei segnalare un difetto o danno nello spazio pubblico."},{id:"reisepass",title:"📄 Rinnova Passaporto",message:"Vorrei rinnovare il mio passaporto. Quali documenti servono?"},{id:"oeffnungszeiten",title:"🕐 Orari",message:"Quando è aperto l'ufficio servizi al cittadino?"},{id:"personalausweis",title:"🆔 Richiedere Carta ID",message:"Come posso richiedere una nuova carta d'identità?"},{id:"termin",title:"📅 Fissare Appuntamento",message:"Vorrei fissare un appuntamento presso l'ufficio servizi al cittadino."},{id:"formulare",title:"🏛️ Municipio digitale",message:"Come posso accedere ai servizi del municipio digitale?"},{id:"kfz",title:"🚗 Immatricolazione",message:"Come posso registrare nuovamente il mio veicolo?"},{id:"wohnsitz",title:"🏠 Cambia Residenza",message:"Mi sono trasferito e vorrei cambiare la mia residenza."}],tr:[{id:"mangel",title:"🔧 Sorun Bildir",message:"Kamusal alanda bir kusur veya hasar bildirmek istiyorum."},{id:"reisepass",title:"📄 Pasaport Yenile",message:"Pasaportumu yenilemek istiyorum. Hangi belgelere ihtiyacım var?"},{id:"oeffnungszeiten",title:"🕐 Çalışma Saatleri",message:"Vatandaşlık bürosu ne zaman açık?"},{id:"personalausweis",title:"🆔 Kimlik Başvurusu",message:"Yeni bir kimlik kartı için nasıl başvurabilirim?"},{id:"termin",title:"📅 Randevu Al",message:"Vatandaşlık bürosundan randevu almak istiyorum."},{id:"formulare",title:"🏛️ Dijital Belediye",message:"Dijital belediye hizmetlerine nasıl erişebilirim?"},{id:"kfz",title:"🚗 Araç Kaydı",message:"Aracımı nasıl yeniden kaydettirebilirim?"},{id:"wohnsitz",title:"🏠 Adres Değişikliği",message:"Taşındım ve adresimi değiştirmek istiyorum."}],ar:[{id:"mangel",title:"🔧 الإبلاغ عن مشكلة",message:"أود الإبلاغ عن عيب أو ضرر في المساحة العامة."},{id:"reisepass",title:"📄 تجديد جواز السفر",message:"أود تجديد جواز سفري. ما هي المستندات المطلوبة؟"},{id:"oeffnungszeiten",title:"🕐 ساعات العمل",message:"متى يكون مكتب خدمة المواطنين مفتوحًا؟"},{id:"personalausweis",title:"🆔 طلب بطاقة الهوية",message:"كيف يمكنني التقدم بطلب للحصول على بطاقة هوية جديدة؟"},{id:"termin",title:"📅 حجز موعد",message:"أود حجز موعد في مكتب خدمة المواطنين."},{id:"formulare",title:"🏛️ البلدية الرقمية",message:"كيف يمكنني الوصول إلى خدمات البلدية الرقمية؟"},{id:"kfz",title:"🚗 تسجيل المركبة",message:"كيف يمكنني إعادة تسجيل مركبتي؟"},{id:"wohnsitz",title:"🏠 تغيير العنوان",message:"لقد انتقلت وأود تغيير عنواني."}],pl:[{id:"mangel",title:"🔧 Zgłoś Problem",message:"Chciałbym zgłosić usterkę lub szkodę w przestrzeni publicznej."},{id:"reisepass",title:"📄 Odnów Paszport",message:"Chciałbym odnowić mój paszport. Jakie dokumenty są potrzebne?"},{id:"oeffnungszeiten",title:"🕐 Godziny Otwarcia",message:"Kiedy biuro obsługi mieszkańców jest otwarte?"},{id:"personalausweis",title:"🆔 Złóż Wniosek o Dowód",message:"Jak mogę złożyć wniosek o nowy dowód osobisty?"},{id:"termin",title:"📅 Umów Wizytę",message:"Chciałbym umówić wizytę w biurze obsługi mieszkańców."},{id:"formulare",title:"🏛️ Cyfrowy ratusz",message:"Jak mogę uzyskać dostęp do usług cyfrowego ratusza?"},{id:"kfz",title:"🚗 Rejestracja Pojazdu",message:"Jak mogę ponownie zarejestrować mój pojazd?"},{id:"wohnsitz",title:"🏠 Zmień Adres",message:"Przeprowadziłem się i chciałbym zmienić mój adres."}],ua:[{id:"mangel",title:"🔧 Повідомити Проблему",message:"Я хотів би повідомити про дефект або пошкодження в громадському просторі."},{id:"reisepass",title:"📄 Поновити Паспорт",message:"Я хотів би поновити свій паспорт. Які документи мені потрібні?"},{id:"oeffnungszeiten",title:"🕐 Години Роботи",message:"Коли відкритий офіс обслуговування громадян?"},{id:"personalausweis",title:"🆔 Подати на ID",message:"Як я можу подати заявку на новий ідентифікаційний документ?"},{id:"termin",title:"📅 Записатися",message:"Я хотів би записатися на прийом в офісі обслуговування громадян."},{id:"formulare",title:"🏛️ Цифрова мерія",message:"Як отримати доступ до послуг цифрової мерії?"},{id:"kfz",title:"🚗 Реєстрація Авто",message:"Як я можу перереєструвати свій автомобіль?"},{id:"wohnsitz",title:"🏠 Змінити Адресу",message:"Я переїхав і хотів би змінити свою адресу."}],simple:[{id:"mangel",title:"🔧 Problem melden",message:"Ich möchte ein Problem melden."},{id:"reisepass",title:"📄 Pass verlängern",message:"Ich will meinen Pass verlängern. Was brauche ich?"},{id:"oeffnungszeiten",title:"🕐 Wann offen?",message:"Wann ist das Büro offen?"},{id:"personalausweis",title:"🆔 Ausweis machen",message:"Wie bekomme ich einen neuen Ausweis?"},{id:"termin",title:"📅 Termin machen",message:"Ich möchte einen Termin machen."},{id:"formulare",title:"🏛️ Digitales Rathaus",message:"Wie nutze ich das Digitale Rathaus?"},{id:"kfz",title:"🚗 Auto anmelden",message:"Wie melde ich mein Auto um?"},{id:"wohnsitz",title:"🏠 Adresse ändern",message:"Ich bin umgezogen. Ich möchte meine Adresse ändern."}]},ps=e=>typeof structuredClone=="function"?structuredClone(e):JSON.parse(JSON.stringify(e)),Ku=(e,t)=>{if(!t)return ps(e);const n=Array.isArray(e)?[...e]:{...e},r=(i,a)=>{n[i]=a};for(const[i,a]of Object.entries(e)){const o=t[i];if(o===void 0){r(i,ps(a));continue}a!==null&&o!==null&&typeof a=="object"&&typeof o=="object"&&!Array.isArray(a)&&!Array.isArray(o)?r(i,Ku(a,o)):Array.isArray(o)?r(i,[...o]):r(i,o)}for(const[i,a]of Object.entries(t))e[i]===void 0&&a!==void 0&&r(i,Array.isArray(a)?[...a]:a);return n},Oe={promptId:"default",theme:"dark",highContrast:void 0,bubbleless:!1,dialogLayout:"floating",zIndexBase:1e5,apiKey:void 0,baseUrl:void 0,tenant:void 0,startOnFirstUserMessage:!0,defaultLanguage:"de",languages:Yp,translations:_p,branding:{assistantName:"BürgerBot",logoUrl:"https://chat.feazy.ai/assets/feazy_logo_new-BI-QKyxX.png",poweredBy:{text:"Feazy",url:"https://feazy.de"}},callout:{enabled:!0,emoji:"👋",text:"Sie brauchen Hilfe? Fragen Sie den BürgerBot!",delayMs:0},links:{privacyUrl:"https://feazy.de/assistant-privacy-policy/",feedbackUrl:"mailto:support@feazy.de&subject=Feedback%20zum%20B%C3%BCrgerbot%20",reportIssueUrl:"mailto:support@feazy.de?subject=Problem%20melden%20-%20B%C3%BCrgerbot%20",poweredByUrl:"https://feazy.de"},quickReplies:vh,colors:{common:{primary:"21 90% 48%","glow-primary":"21 90% 48%"}},aboutChatbotDescription:"BürgerBot ist ein KI-gestützter Assistent für Kommunen. Er beantwortet Ihre Fragen zu Öffnungszeiten, Terminen, Formularen und städtischen Dienstleistungen rund um die Uhr.",festive:{christmasHat:!1},humanHandover:{enabled:!1,pollIntervalMs:2e3,translations:{}}},Qu=e=>Ku(Oe,e),xh=["small","normal","large","extra-large"],wh=e=>typeof e=="string"&&xh.includes(e);var di="Switch",[kh]=ln(di),[Sh,Ch]=kh(di),Yu=v.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:l="on",onCheckedChange:u,form:c,...d}=e,[p,m]=v.useState(null),h=it(t,S=>m(S)),g=v.useRef(!1),b=p?c||!!p.closest("form"):!0,[y,w]=hr({prop:i,defaultProp:a??!1,onChange:u,caller:di});return f.jsxs(Sh,{scope:n,checked:y,disabled:s,children:[f.jsx(Ke.button,{type:"button",role:"switch","aria-checked":y,"aria-required":o,"data-state":tc(y),"data-disabled":s?"":void 0,disabled:s,value:l,...d,ref:h,onClick:Re(e.onClick,S=>{w(E=>!E),b&&(g.current=S.isPropagationStopped(),g.current||S.stopPropagation())})}),b&&f.jsx(ec,{control:p,bubbles:!g.current,name:r,value:l,checked:y,required:o,disabled:s,form:c,style:{transform:"translateX(-100%)"}})]})});Yu.displayName=di;var _u="SwitchThumb",$u=v.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,i=Ch(_u,n);return f.jsx(Ke.span,{"data-state":tc(i.checked),"data-disabled":i.disabled?"":void 0,...r,ref:t})});$u.displayName=_u;var zh="SwitchBubbleInput",ec=v.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...i},a)=>{const o=v.useRef(null),s=it(o,a),l=ju(n),u=Xo(t);return v.useEffect(()=>{const c=o.current;if(!c)return;const d=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(d,"checked").set;if(l!==n&&m){const h=new Event("click",{bubbles:r});m.call(c,n),c.dispatchEvent(h)}},[l,n,r]),f.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:s,style:{...i.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});ec.displayName=zh;function tc(e){return e?"checked":"unchecked"}var nc=Yu,Ah=$u;const rc=v.forwardRef(({className:e,...t},n)=>f.jsx(nc,{className:yt("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",e),...t,ref:n,children:f.jsx(Ah,{className:yt("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));rc.displayName=nc.displayName;function Eh({open:e,onClose:t,translation:n,theme:r,setTheme:i,fontSize:a,onFontSizeChange:o,highContrast:s,onHighContrastChange:l,onRevokePrivacy:u,links:c,poweredBy:d}){return e?f.jsxs("div",{className:"absolute inset-0 bg-[hsl(var(--chat-settings-bg))] backdrop-blur-[60px] z-50 flex flex-col animate-fade-in",children:[f.jsxs("div",{className:"p-5 border-b border-border flex justify-between items-center",children:[f.jsx("h3",{className:"text-lg font-bold text-foreground",children:n.title}),f.jsx("button",{onClick:t,className:"w-[38px] h-[38px] bg-muted rounded-full flex items-center justify-center hover:bg-muted/80 transition-all",children:f.jsx(on,{className:"w-5 h-5 text-foreground"})})]}),f.jsxs("div",{className:"flex-1 overflow-y-auto p-5 space-y-6",children:[f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h4",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[f.jsx(Qa,{className:"w-4 h-4"}),n.appearance.title]}),f.jsxs("div",{className:"bg-card rounded-xl p-4 space-y-4 border border-border",children:[f.jsxs("div",{className:"space-y-2",children:[f.jsx(gn,{className:"text-sm text-foreground/80",children:n.appearance.theme}),f.jsxs("div",{className:"flex gap-2",children:[f.jsxs(st,{onClick:()=>i("light"),variant:r==="light"?"default":"outline",className:"flex-1 text-xs",size:"sm",children:[f.jsx(Qa,{className:"w-4 h-4 mr-2"}),n.appearance.light]}),f.jsxs(st,{onClick:()=>i("dark"),variant:r==="dark"?"default":"outline",className:"flex-1 text-xs",size:"sm",children:[f.jsx($f,{className:"w-4 h-4 mr-2"}),n.appearance.dark]})]})]}),f.jsxs("div",{className:"space-y-2",children:[f.jsx(gn,{className:"text-sm text-foreground/80",children:n.appearance.fontSize}),f.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[f.jsx(st,{onClick:()=>o("small"),variant:a==="small"?"default":"outline",size:"sm",className:"text-xs px-2",children:n.appearance.fontSizeSmall}),f.jsx(st,{onClick:()=>o("normal"),variant:a==="normal"?"default":"outline",size:"sm",className:"text-xs px-2",children:n.appearance.fontSizeNormal}),f.jsx(st,{onClick:()=>o("large"),variant:a==="large"?"default":"outline",size:"sm",className:"text-xs px-2",children:n.appearance.fontSizeLarge}),f.jsx(st,{onClick:()=>o("extra-large"),variant:a==="extra-large"?"default":"outline",size:"sm",className:"text-xs px-2",children:n.appearance.fontSizeExtraLarge})]})]}),f.jsxs("div",{className:"flex items-center justify-between",children:[f.jsxs("div",{className:"space-y-0.5",children:[f.jsx(gn,{className:"text-sm text-foreground",children:n.appearance.highContrast}),f.jsx("p",{className:"text-xs text-foreground/60",children:n.appearance.highContrastDesc})]}),f.jsx(rc,{checked:s,onCheckedChange:l})]})]})]}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h4",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[f.jsx(rn,{className:"w-4 h-4"}),n.privacy.title]}),f.jsxs("div",{className:"bg-card rounded-xl p-4 space-y-3 border border-border",children:[f.jsx("p",{className:"text-sm text-foreground/80",children:n.privacy.description}),f.jsxs("div",{className:"flex gap-2 flex-wrap",children:[f.jsxs("a",{href:c.privacyUrl||"#",target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:text-primary/80 underline flex items-center gap-1",children:[n.privacy.viewPolicy,f.jsx(hn,{className:"w-3 h-3"})]}),f.jsx("button",{onClick:u,className:"text-xs text-red-400 hover:text-red-300 underline",children:n.privacy.revoke})]})]})]}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h4",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[f.jsx(iu,{className:"w-4 h-4"}),n.feedback.title]}),f.jsxs("div",{className:"bg-card rounded-xl p-4 space-y-3 border border-border",children:[f.jsx("p",{className:"text-sm text-foreground/80",children:n.feedback.description}),f.jsx("a",{href:c.feedbackUrl||"#",className:"inline-block",children:f.jsxs(st,{className:"w-full text-sm",children:[n.feedback.button,f.jsx(hn,{className:"w-4 h-4 ml-2"})]})})]})]}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h4",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[f.jsx(rn,{className:"w-4 h-4"}),n.reportIssue.title]}),f.jsxs("div",{className:"bg-card rounded-xl p-4 space-y-3 border border-border",children:[f.jsx("p",{className:"text-sm text-foreground/80",children:n.reportIssue.description}),f.jsx("a",{href:c.reportIssueUrl||"#",className:"inline-block",children:f.jsxs(st,{className:"w-full text-sm",children:[n.reportIssue.button,f.jsx(hn,{className:"w-4 h-4 ml-2"})]})})]})]}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h4",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[f.jsx(Kr,{className:"w-4 h-4"}),n.aboutChatbot.title]}),f.jsx("div",{className:"bg-card rounded-xl p-4 border border-border",children:f.jsx("p",{className:"text-sm text-foreground/80",children:n.aboutChatbot.description})})]}),f.jsxs("div",{className:"space-y-3",children:[f.jsxs("h4",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[f.jsx(Uf,{className:"w-4 h-4"}),n.aboutFeazy.title]}),f.jsxs("div",{className:"bg-card rounded-xl p-4 space-y-3 border border-border",children:[f.jsx("p",{className:"text-sm text-foreground/80",children:n.aboutFeazy.description}),f.jsx("a",{href:(d==null?void 0:d.url)||c.poweredByUrl||"#",target:"_blank",rel:"noopener noreferrer",className:"inline-block",children:f.jsxs(st,{className:"w-full bg-primary hover:bg-primary/90 text-primary-foreground text-sm",children:[n.aboutFeazy.button,f.jsx(hn,{className:"w-4 h-4 ml-2"})]})})]})]}),f.jsx("div",{className:"pt-4 border-t border-border",children:f.jsx("p",{className:"text-xs text-foreground/40 text-center",children:n.version})})]})]}):null}const Ph=()=>f.jsx("div",{className:"flex items-center gap-1",children:[...Array(5)].map((e,t)=>f.jsx("div",{className:"w-1 bg-destructive rounded-full animate-waveform",style:{animationDelay:`${t*.1}s`,height:"8px"}},t))});function jh({input:e,onInputChange:t,onSend:n,onKeyDown:r,inputRef:i,isRecording:a,isTranscribing:o,isTyping:s,startRecording:l,stopRecording:u,recordingTime:c,placeholder:d,transcribingLabel:p,disclaimer:m,poweredByText:h,poweredByUrl:g}){return f.jsxs("div",{className:"px-4 pt-4 pb-2 bg-[hsl(var(--chat-input-bg))] backdrop-blur-[20px] border-t border-border",children:[f.jsxs("div",{className:"flex gap-3 items-center bg-card backdrop-blur-[10px] rounded-[20px] p-2 px-4 border border-border transition-all focus-within:border-primary/40 focus-within:shadow-[0_0_0_3px_hsl(var(--primary)/0.08)]",children:[f.jsxs("div",{className:"relative flex-shrink-0 flex items-center",children:[f.jsx("button",{onClick:a?u:l,disabled:o||s,"aria-label":a?"Aufnahme stoppen":"Spracheingabe","aria-pressed":a,className:`flex items-center transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-primary ${a?"text-destructive hover:text-destructive":"text-foreground/60 hover:text-foreground"} disabled:opacity-40 disabled:cursor-not-allowed`,children:a?f.jsx(im,{className:"w-5 h-5","aria-hidden":"true"}):f.jsx(Qf,{className:"w-5 h-5","aria-hidden":"true"})}),o&&f.jsxs("div",{className:"absolute left-full top-1/2 transform -translate-y-1/2 ml-2 bg-primary text-primary-foreground px-3 py-1 rounded-full text-xs flex items-center gap-2 whitespace-nowrap animate-in fade-in slide-in-from-right-2",children:[f.jsx("div",{className:"w-2 h-2 bg-primary-foreground rounded-full animate-pulse"}),p]})]}),a?f.jsxs("div",{className:"flex-1 flex items-center gap-3 py-2.5 min-h-[40px]",children:[f.jsx(Ph,{}),f.jsxs("span",{className:"text-sm text-destructive/80",children:[Math.floor(c/60),":",(c%60).toString().padStart(2,"0")]})]}):f.jsx(Uo,{ref:i,value:e,onChange:b=>t(b.target.value),onKeyDown:r,placeholder:d,"aria-label":"Nachricht eingeben",className:"flex-1 border-none bg-transparent py-2.5 px-0 text-base md:text-sm outline-none text-foreground placeholder:text-muted-foreground placeholder:whitespace-nowrap placeholder:overflow-hidden placeholder:text-ellipsis focus-visible:ring-0 focus-visible:ring-offset-0 resize-none min-h-[40px] max-h-[120px] overflow-y-auto",disabled:a||o,rows:1}),f.jsx(st,{onClick:n,"aria-label":"Nachricht senden",disabled:s||o||!a&&!e.trim(),size:"icon",className:"w-[40px] h-[40px] flex-shrink-0 rounded-full bg-primary border-none flex items-center justify-center cursor-pointer transition-all duration-300 shadow-[0_4px_12px_hsl(var(--glow-primary))] hover:scale-110 hover:rotate-[15deg] hover:shadow-[0_6px_20px_hsl(var(--glow-primary))] disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:scale-100 disabled:hover:rotate-0",children:f.jsx(tm,{className:"w-4 h-4 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]"})})]}),f.jsxs("div",{className:"text-center pt-2 space-y-0.5",children:[f.jsx("p",{className:"text-[10px] text-muted-foreground",children:m}),h?f.jsxs("p",{className:"text-[10px] text-muted-foreground/60",children:["Bereitgestellt von"," ",g?f.jsx("a",{href:g,target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground/80 hover:text-foreground underline transition-colors",children:h}):f.jsx("span",{className:"text-muted-foreground/80",children:h})]}):null]})]})}function fi({imageUrl:e,name:t,size:n=36,className:r=""}){return f.jsx("span",{className:`relative inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full bg-[hsl(var(--chat-human)/0.14)] text-[hsl(var(--chat-human))] ring-1 ring-[hsl(var(--chat-human)/0.45)] ${r}`,style:{width:n,height:n,fontSize:Math.round(n*.48)},role:"img","aria-label":t,children:e?f.jsx("img",{src:e,alt:"",className:"h-full w-full object-cover"}):f.jsx(go,{"aria-hidden":"true"})})}function Th({theme:e,selectedLanguage:t,languages:n,onlineLabel:r,isLangMenuOpen:i,setIsLangMenuOpen:a,repositionLangMenu:o,langMenuPortalTarget:s,langMenuPos:l,langMenuContentRef:u,langButtonRef:c,handleLangMenuKeyDown:d,onSelectLanguage:p,showSettings:m,onToggleSettings:h,isExpanded:g,onToggleExpand:b,showExpandToggle:y=!0,langMenuPositioning:w="fixed",langMenuZIndex:S=100002,showCloseButton:E=!0,onClose:P,logoSrc:z,assistantName:T,assistantTagline:L,presence:N}){var j,I,V,F;const k=(N==null?void 0:N.mode)==="human"?"bg-green-400 animate-status-blink shadow-[0_0_8px_rgba(74,222,128,0.6)]":(N==null?void 0:N.mode)==="waiting"?"bg-[hsl(var(--chat-waiting))] shadow-[0_0_8px_hsl(var(--chat-waiting)/0.7)]":"bg-primary-foreground/45";return f.jsxs("div",{className:"chat-header-solid relative bg-primary p-5 flex justify-between items-center gap-3 rounded-t-[24px] max-md:rounded-none overflow-hidden",children:[f.jsxs("div",{className:"flex items-center gap-3 relative z-[1] min-w-0",children:[f.jsxs("div",{className:"relative shrink-0",children:[f.jsx("div",{className:"w-[42px] h-[42px] bg-[hsl(var(--chat-avatar-bot))] rounded-full flex items-center justify-center border border-primary-foreground/30 shadow-[0_4px_15px_rgba(0,0,0,0.2)]",role:"img","aria-label":`${T} Logo`,children:f.jsx("img",{src:z,alt:T,className:"w-7 h-7 object-contain drop-shadow-[0_2px_4px_rgba(0,0,0,0.2)]"})}),(N==null?void 0:N.mode)==="human"?f.jsx("span",{className:"handover-in absolute -bottom-0.5 -end-1 rounded-full ring-2 ring-primary",children:f.jsx(fi,{imageUrl:(j=N.operator)==null?void 0:j.imageUrl,name:((I=N.operator)==null?void 0:I.displayName)||N.operatorFallbackName||"Support",size:18,className:"bg-[hsl(var(--chat-human))] text-[hsl(var(--chat-human-foreground))] ring-0"})}):null]}),f.jsxs("div",{className:"min-w-0",children:[f.jsx("div",{id:"chat-title",className:"truncate text-primary-foreground text-lg font-bold drop-shadow-[0_2px_10px_rgba(0,0,0,0.3)]",children:T}),N?f.jsxs("div",{id:"chat-description",className:"flex min-w-0 items-center gap-1.5 text-primary-foreground/95 text-xs",role:"status","aria-live":"polite",children:[f.jsx("span",{className:`handover-in inline-block w-[7px] h-[7px] shrink-0 rounded-full ${k}`,"aria-hidden":"true"},N.mode),f.jsx("span",{className:"truncate",title:N.label,children:N.label})]}):f.jsxs("div",{id:"chat-description",className:"text-primary-foreground/95 text-xs",children:[f.jsx("span",{className:"inline-block w-[7px] h-[7px] bg-green-400 rounded-full mr-1.5 animate-status-blink shadow-[0_0_8px_rgba(74,222,128,0.6)]",role:"status","aria-label":"Online-Status"}),f.jsx("span",{children:r}),L?f.jsxs("span",{className:"ml-2 text-primary-foreground/80",children:["• ",L]}):null]})]})]}),f.jsxs("div",{className:"flex items-center gap-2 relative z-[1] shrink-0",children:[f.jsxs("div",{className:"relative",children:[f.jsxs("button",{type:"button","aria-haspopup":"menu","aria-expanded":i,"aria-controls":"klaus-language-menu",onClick:O=>{O.preventDefault(),O.stopPropagation();const B=!i;B&&o(),a(B)},"aria-label":`Sprache: ${(V=n.find(O=>O.code===t))==null?void 0:V.name}`,className:"px-3 py-1.5 rounded-full text-xs font-semibold transition-all duration-300 flex items-center gap-1.5 bg-primary-foreground/15 text-primary-foreground hover:bg-primary-foreground/25 border border-primary-foreground/20 focus:outline-none focus:ring-2 focus:ring-primary-foreground focus:ring-offset-2 focus:ring-offset-primary",ref:c,children:[f.jsx(Xf,{className:"w-3.5 h-3.5","aria-hidden":"true"}),f.jsx("span",{className:"max-md:hidden",children:(F=n.find(O=>O.code===t))==null?void 0:F.flag})]}),i&&s&&qo.createPortal(f.jsx("div",{id:"klaus-language-menu",role:"menu","aria-label":"Sprachauswahl",onKeyDown:d,ref:u,className:`${w} w-[220px] rounded-2xl bg-background/95 backdrop-blur-2xl border border-white/10 text-foreground shadow-[0_20px_45px_rgba(0,0,0,0.45)] max-h-[300px] overflow-y-auto`,style:{top:`${l.top}px`,left:`${l.left}px`,zIndex:S},children:n.map(O=>f.jsxs("button",{type:"button",role:"menuitemradio","aria-checked":t===O.code,onClick:B=>{B.preventDefault(),B.stopPropagation(),p(O.code),a(!1)},className:"w-full text-left cursor-pointer text-foreground/80 hover:text-foreground focus:text-foreground flex items-center justify-between gap-2 px-3 py-2 rounded-xl transition-colors hover:bg-white/10 focus:bg-white/10",children:[f.jsxs("span",{className:"flex items-center gap-2",children:[f.jsx("span",{className:"text-base",children:O.flag}),f.jsx("span",{className:"text-sm",children:O.name})]}),t===O.code&&f.jsx(wn,{className:"w-4 h-4 text-primary"})]},O.code))}),s)]}),f.jsx("button",{onClick:h,"aria-label":m?"Einstellungen schließen":"Einstellungen öffnen","aria-expanded":m,className:"w-[38px] h-[38px] bg-primary-foreground/15 backdrop-blur-[10px] border border-primary-foreground/20 rounded-full flex items-center justify-center transition-all duration-300 hover:bg-primary-foreground/25 hover:scale-110 hover:rotate-45 focus:outline-none focus:ring-2 focus:ring-primary-foreground focus:ring-offset-2 focus:ring-offset-primary",children:f.jsx(nm,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]","aria-hidden":"true"})}),y&&f.jsx("button",{onClick:b,"aria-label":g?"Normalgröße":"Vollbild","aria-expanded":g,className:"w-[38px] h-[38px] bg-primary-foreground/15 backdrop-blur-[10px] border border-primary-foreground/20 rounded-full flex items-center justify-center transition-all duration-300 hover:bg-primary-foreground/25 hover:scale-110 focus:outline-none focus:ring-2 focus:ring-primary-foreground focus:ring-offset-2 focus:ring-offset-primary max-md:hidden",children:g?f.jsx(Yf,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]","aria-hidden":"true"}):f.jsx(Gf,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]","aria-hidden":"true"})}),E&&f.jsx("button",{onClick:P,"aria-label":"Chat schließen",className:"w-[38px] h-[38px] bg-primary-foreground/15 backdrop-blur-[10px] border border-primary-foreground/20 rounded-full flex items-center justify-center transition-all duration-300 hover:bg-primary-foreground/25 hover:rotate-90 hover:scale-110 focus:outline-none focus:ring-2 focus:ring-primary-foreground focus:ring-offset-2 focus:ring-offset-primary",children:f.jsx(on,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]","aria-hidden":"true"})})]})]})}function Nh(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Mh=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ih=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Dh={};function hs(e,t){return(Dh.jsx?Ih:Mh).test(e)}const Rh=/[ \t\n\f\r]/g;function Lh(e){return typeof e=="object"?e.type==="text"?gs(e.value):!1:gs(e)}function gs(e){return e.replace(Rh,"")===""}class br{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}br.prototype.normal={};br.prototype.property={};br.prototype.space=void 0;function ic(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new br(n,r,t)}function vo(e){return e.toLowerCase()}class vt{constructor(t,n){this.attribute=n,this.property=t}}vt.prototype.attribute="";vt.prototype.booleanish=!1;vt.prototype.boolean=!1;vt.prototype.commaOrSpaceSeparated=!1;vt.prototype.commaSeparated=!1;vt.prototype.defined=!1;vt.prototype.mustUseProperty=!1;vt.prototype.number=!1;vt.prototype.overloadedBoolean=!1;vt.prototype.property="";vt.prototype.spaceSeparated=!1;vt.prototype.space=void 0;let Oh=0;const me=kn(),Ye=kn(),xo=kn(),J=kn(),qe=kn(),Tn=kn(),wt=kn();function kn(){return 2**++Oh}const wo=Object.freeze(Object.defineProperty({__proto__:null,boolean:me,booleanish:Ye,commaOrSpaceSeparated:wt,commaSeparated:Tn,number:J,overloadedBoolean:xo,spaceSeparated:qe},Symbol.toStringTag,{value:"Module"})),Hi=Object.keys(wo);class Go extends vt{constructor(t,n,r,i){let a=-1;if(super(t,n),bs(this,"space",i),typeof r=="number")for(;++a<Hi.length;){const o=Hi[a];bs(this,Hi[a],(r&wo[o])===wo[o])}}}Go.prototype.defined=!0;function bs(e,t,n){n&&(e[t]=n)}function Fn(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new Go(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[vo(r)]=r,n[vo(a.attribute)]=r}return new br(t,n,e.space)}const oc=Fn({properties:{ariaActiveDescendant:null,ariaAtomic:Ye,ariaAutoComplete:null,ariaBusy:Ye,ariaChecked:Ye,ariaColCount:J,ariaColIndex:J,ariaColSpan:J,ariaControls:qe,ariaCurrent:null,ariaDescribedBy:qe,ariaDetails:null,ariaDisabled:Ye,ariaDropEffect:qe,ariaErrorMessage:null,ariaExpanded:Ye,ariaFlowTo:qe,ariaGrabbed:Ye,ariaHasPopup:null,ariaHidden:Ye,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:qe,ariaLevel:J,ariaLive:null,ariaModal:Ye,ariaMultiLine:Ye,ariaMultiSelectable:Ye,ariaOrientation:null,ariaOwns:qe,ariaPlaceholder:null,ariaPosInSet:J,ariaPressed:Ye,ariaReadOnly:Ye,ariaRelevant:null,ariaRequired:Ye,ariaRoleDescription:qe,ariaRowCount:J,ariaRowIndex:J,ariaRowSpan:J,ariaSelected:Ye,ariaSetSize:J,ariaSort:null,ariaValueMax:J,ariaValueMin:J,ariaValueNow:J,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function ac(e,t){return t in e?e[t]:t}function sc(e,t){return ac(e,t.toLowerCase())}const Fh=Fn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Tn,acceptCharset:qe,accessKey:qe,action:null,allow:null,allowFullScreen:me,allowPaymentRequest:me,allowUserMedia:me,alt:null,as:null,async:me,autoCapitalize:null,autoComplete:qe,autoFocus:me,autoPlay:me,blocking:qe,capture:null,charSet:null,checked:me,cite:null,className:qe,cols:J,colSpan:null,content:null,contentEditable:Ye,controls:me,controlsList:qe,coords:J|Tn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:me,defer:me,dir:null,dirName:null,disabled:me,download:xo,draggable:Ye,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:me,formTarget:null,headers:qe,height:J,hidden:xo,high:J,href:null,hrefLang:null,htmlFor:qe,httpEquiv:qe,id:null,imageSizes:null,imageSrcSet:null,inert:me,inputMode:null,integrity:null,is:null,isMap:me,itemId:null,itemProp:qe,itemRef:qe,itemScope:me,itemType:qe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:me,low:J,manifest:null,max:null,maxLength:J,media:null,method:null,min:null,minLength:J,multiple:me,muted:me,name:null,nonce:null,noModule:me,noValidate:me,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:me,optimum:J,pattern:null,ping:qe,placeholder:null,playsInline:me,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:me,referrerPolicy:null,rel:qe,required:me,reversed:me,rows:J,rowSpan:J,sandbox:qe,scope:null,scoped:me,seamless:me,selected:me,shadowRootClonable:me,shadowRootDelegatesFocus:me,shadowRootMode:null,shape:null,size:J,sizes:null,slot:null,span:J,spellCheck:Ye,src:null,srcDoc:null,srcLang:null,srcSet:null,start:J,step:null,style:null,tabIndex:J,target:null,title:null,translate:null,type:null,typeMustMatch:me,useMap:null,value:Ye,width:J,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:qe,axis:null,background:null,bgColor:null,border:J,borderColor:null,bottomMargin:J,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:me,declare:me,event:null,face:null,frame:null,frameBorder:null,hSpace:J,leftMargin:J,link:null,longDesc:null,lowSrc:null,marginHeight:J,marginWidth:J,noResize:me,noHref:me,noShade:me,noWrap:me,object:null,profile:null,prompt:null,rev:null,rightMargin:J,rules:null,scheme:null,scrolling:Ye,standby:null,summary:null,text:null,topMargin:J,valueType:null,version:null,vAlign:null,vLink:null,vSpace:J,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:me,disableRemotePlayback:me,prefix:null,property:null,results:J,security:null,unselectable:null},space:"html",transform:sc}),Bh=Fn({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:wt,accentHeight:J,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:J,amplitude:J,arabicForm:null,ascent:J,attributeName:null,attributeType:null,azimuth:J,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:J,by:null,calcMode:null,capHeight:J,className:qe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:J,diffuseConstant:J,direction:null,display:null,dur:null,divisor:J,dominantBaseline:null,download:me,dx:null,dy:null,edgeMode:null,editable:null,elevation:J,enableBackground:null,end:null,event:null,exponent:J,externalResourcesRequired:null,fill:null,fillOpacity:J,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Tn,g2:Tn,glyphName:Tn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:J,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:J,horizOriginX:J,horizOriginY:J,id:null,ideographic:J,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:J,k:J,k1:J,k2:J,k3:J,k4:J,kernelMatrix:wt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:J,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:J,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:J,overlineThickness:J,paintOrder:null,panose1:null,path:null,pathLength:J,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:qe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:J,pointsAtY:J,pointsAtZ:J,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:wt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:wt,rev:wt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:wt,requiredFeatures:wt,requiredFonts:wt,requiredFormats:wt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:J,specularExponent:J,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:J,strikethroughThickness:J,string:null,stroke:null,strokeDashArray:wt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:J,strokeOpacity:J,strokeWidth:null,style:null,surfaceScale:J,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:wt,tabIndex:J,tableValues:null,target:null,targetX:J,targetY:J,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:wt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:J,underlineThickness:J,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:J,values:null,vAlphabetic:J,vMathematical:J,vectorEffect:null,vHanging:J,vIdeographic:J,version:null,vertAdvY:J,vertOriginX:J,vertOriginY:J,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:J,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ac}),lc=Fn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),uc=Fn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:sc}),cc=Fn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Wh={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},qh=/[A-Z]/g,ys=/-[a-z]/g,Vh=/^data[-\w.:]+$/i;function Jh(e,t){const n=vo(t);let r=t,i=vt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Vh.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(ys,Uh);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!ys.test(a)){let o=a.replace(qh,Hh);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Go}return new i(r,t)}function Hh(e){return"-"+e.toLowerCase()}function Uh(e){return e.charAt(1).toUpperCase()}const Xh=ic([oc,Fh,lc,uc,cc],"html"),Ko=ic([oc,Bh,lc,uc,cc],"svg");function Zh(e){return e.join(" ").trim()}var Qo={},vs=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Gh=/\n/g,Kh=/^\s*/,Qh=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Yh=/^:\s*/,_h=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,$h=/^[;\s]*/,eg=/^\s+|\s+$/g,tg=`
|
|
268
268
|
`,xs="/",ws="*",pn="",ng="comment",rg="declaration";function ig(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(h){var g=h.match(Gh);g&&(n+=g.length);var b=h.lastIndexOf(tg);r=~b?h.length-b:r+h.length}function a(){var h={line:n,column:r};return function(g){return g.position=new o(h),u(),g}}function o(h){this.start=h,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function s(h){var g=new Error(t.source+":"+n+":"+r+": "+h);if(g.reason=h,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function l(h){var g=h.exec(e);if(g){var b=g[0];return i(b),e=e.slice(b.length),g}}function u(){l(Kh)}function c(h){var g;for(h=h||[];g=d();)g!==!1&&h.push(g);return h}function d(){var h=a();if(!(xs!=e.charAt(0)||ws!=e.charAt(1))){for(var g=2;pn!=e.charAt(g)&&(ws!=e.charAt(g)||xs!=e.charAt(g+1));)++g;if(g+=2,pn===e.charAt(g-1))return s("End of comment missing");var b=e.slice(2,g-2);return r+=2,i(b),e=e.slice(g),r+=2,h({type:ng,comment:b})}}function p(){var h=a(),g=l(Qh);if(g){if(d(),!l(Yh))return s("property missing ':'");var b=l(_h),y=h({type:rg,property:ks(g[0].replace(vs,pn)),value:b?ks(b[0].replace(vs,pn)):pn});return l($h),y}}function m(){var h=[];c(h);for(var g;g=p();)g!==!1&&(h.push(g),c(h));return h}return u(),m()}function ks(e){return e?e.replace(eg,pn):pn}var og=ig,ag=Gr&&Gr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=lg;const sg=ag(og);function lg(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,sg.default)(e),i=typeof t=="function";return r.forEach(a=>{if(a.type!=="declaration")return;const{property:o,value:s}=a;i?t(o,s,a):s&&(n=n||{},n[o]=s)}),n}var mi={};Object.defineProperty(mi,"__esModule",{value:!0});mi.camelCase=void 0;var ug=/^--[a-zA-Z0-9_-]+$/,cg=/-([a-z])/g,dg=/^[^-]+$/,fg=/^-(webkit|moz|ms|o|khtml)-/,mg=/^-(ms)-/,pg=function(e){return!e||dg.test(e)||ug.test(e)},hg=function(e,t){return t.toUpperCase()},Ss=function(e,t){return"".concat(t,"-")},gg=function(e,t){return t===void 0&&(t={}),pg(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(mg,Ss):e=e.replace(fg,Ss),e.replace(cg,hg))};mi.camelCase=gg;var bg=Gr&&Gr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},yg=bg(Qo),vg=mi;function ko(e,t){var n={};return!e||typeof e!="string"||(0,yg.default)(e,function(r,i){r&&i&&(n[(0,vg.camelCase)(r,t)]=i)}),n}ko.default=ko;var xg=ko;const wg=_l(xg),dc=fc("end"),Yo=fc("start");function fc(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function kg(e){const t=Yo(e),n=dc(e);if(t&&n)return{start:t,end:n}}function rr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Cs(e.position):"start"in e||"end"in e?Cs(e):"line"in e||"column"in e?So(e):""}function So(e){return zs(e&&e.line)+":"+zs(e&&e.column)}function Cs(e){return So(e&&e.start)+"-"+So(e&&e.end)}function zs(e){return e&&typeof e=="number"?e:1}class ut extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},o=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?a.ruleId=r:(a.source=r.slice(0,l),a.ruleId=r.slice(l+1))}if(!a.place&&a.ancestors&&a.ancestors){const l=a.ancestors[a.ancestors.length-1];l&&(a.place=l.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=rr(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ut.prototype.file="";ut.prototype.name="";ut.prototype.reason="";ut.prototype.message="";ut.prototype.stack="";ut.prototype.column=void 0;ut.prototype.line=void 0;ut.prototype.ancestors=void 0;ut.prototype.cause=void 0;ut.prototype.fatal=void 0;ut.prototype.place=void 0;ut.prototype.ruleId=void 0;ut.prototype.source=void 0;const _o={}.hasOwnProperty,Sg=new Map,Cg=/[A-Z]/g,zg=new Set(["table","tbody","thead","tfoot","tr"]),Ag=new Set(["td","th"]),mc="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Eg(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Rg(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=Dg(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Ko:Xh,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=pc(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function pc(e,t,n){if(t.type==="element")return Pg(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return jg(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Ng(e,t,n);if(t.type==="mdxjsEsm")return Tg(e,t);if(t.type==="root")return Mg(e,t,n);if(t.type==="text")return Ig(e,t)}function Pg(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Ko,e.schema=i),e.ancestors.push(t);const a=gc(e,t.tagName,!1),o=Lg(e,t);let s=ea(e,t);return zg.has(t.tagName)&&(s=s.filter(function(l){return typeof l=="string"?!Lh(l):!0})),hc(e,o,a,t),$o(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function jg(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}sr(e,t.position)}function Tg(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);sr(e,t.position)}function Ng(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Ko,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:gc(e,t.name,!0),o=Og(e,t),s=ea(e,t);return hc(e,o,a,t),$o(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function Mg(e,t,n){const r={};return $o(r,ea(e,t)),e.create(t,e.Fragment,r,n)}function Ig(e,t){return t.value}function hc(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function $o(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Dg(e,t,n){return r;function r(i,a,o,s){const u=Array.isArray(o.children)?n:t;return s?u(a,o,s):u(a,o)}}function Rg(e,t){return n;function n(r,i,a,o){const s=Array.isArray(a.children),l=Yo(r);return t(i,a,o,s,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function Lg(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&_o.call(t.properties,i)){const a=Fg(e,i,t.properties[i]);if(a){const[o,s]=a;e.tableCellAlignToStyle&&o==="align"&&typeof s=="string"&&Ag.has(t.tagName)?r=s:n[o]=s}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Og(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const o=a.expression;o.type;const s=o.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else sr(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,a=e.evaluater.evaluateExpression(s.expression)}else sr(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function ea(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:Sg;for(;++r<t.children.length;){const a=t.children[r];let o;if(e.passKeys){const l=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(l){const u=i.get(l)||0;o=l+"-"+u,i.set(l,u+1)}}const s=pc(e,a,o);s!==void 0&&n.push(s)}return n}function Fg(e,t,n){const r=Jh(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Nh(n):Zh(n)),r.property==="style"){let i=typeof n=="object"?n:Bg(e,String(n));return e.stylePropertyNameCase==="css"&&(i=Wg(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?Wh[r.property]||r.property:r.attribute,n]}}function Bg(e,t){try{return wg(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new ut("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=mc+"#cannot-parse-style-attribute",i}}function gc(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,o;for(;++a<i.length;){const s=hs(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};o=o?{type:"MemberExpression",object:o,property:s,computed:!!(a&&s.type==="Literal"),optional:!1}:s}r=o}else r=hs(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return _o.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);sr(e)}function sr(e,t){const n=new ut("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=mc+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Wg(e){const t={};let n;for(n in e)_o.call(e,n)&&(t[qg(n)]=e[n]);return t}function qg(e){let t=e.replace(Cg,Vg);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Vg(e){return"-"+e.toLowerCase()}const Ui={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Jg={};function ta(e,t){const n=Jg,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return bc(e,r,i)}function bc(e,t,n){if(Hg(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return As(e.children,t,n)}return Array.isArray(e)?As(e,t,n):""}function As(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=bc(e[i],t,n);return r.join("")}function Hg(e){return!!(e&&typeof e=="object")}const Es=document.createElement("i");function na(e){const t="&"+e+";";Es.innerHTML=t;const n=Es.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function St(e,t,n,r){const i=e.length;let a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Et(e,t){return e.length>0?(St(e,e.length,0,t),e):t}const Ps={}.hasOwnProperty;function yc(e){const t={};let n=-1;for(;++n<e.length;)Ug(t,e[n]);return t}function Ug(e,t){let n;for(n in t){const i=(Ps.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let o;if(a)for(o in a){Ps.call(i,o)||(i[o]=[]);const s=a[o];Xg(i[o],Array.isArray(s)?s:s?[s]:[])}}}function Xg(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);St(e,0,0,r)}function vc(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function jt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const mt=un(/[A-Za-z]/),lt=un(/[\dA-Za-z]/),Zg=un(/[#-'*+\--9=?A-Z^-~]/);function _r(e){return e!==null&&(e<32||e===127)}const Co=un(/\d/),Gg=un(/[\dA-Fa-f]/),Kg=un(/[!-/:-@[-`{-~]/);function te(e){return e!==null&&e<-2}function Fe(e){return e!==null&&(e<0||e===32)}function xe(e){return e===-2||e===-1||e===32}const pi=un(new RegExp("\\p{P}|\\p{S}","u")),yn=un(/\s/);function un(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Bn(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let o="";if(a===37&<(e.charCodeAt(n+1))&<(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Ae(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(l){return xe(l)?(e.enter(n),s(l)):t(l)}function s(l){return xe(l)&&a++<i?(e.consume(l),s):(e.exit(n),t(l))}}const Qg={tokenize:Yg};function Yg(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Ae(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),a(s)}function a(s){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return te(s)?(e.consume(s),e.exit("chunkText"),a):(e.consume(s),o)}}const _g={tokenize:$g},js={tokenize:eb};function $g(e){const t=this,n=[];let r=0,i,a,o;return s;function s(S){if(r<n.length){const E=n[r];return t.containerState=E[1],e.attempt(E[0].continuation,l,u)(S)}return u(S)}function l(S){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&w();const E=t.events.length;let P=E,z;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){z=t.events[P][1].end;break}y(r);let T=E;for(;T<t.events.length;)t.events[T][1].end={...z},T++;return St(t.events,P+1,0,t.events.slice(E)),t.events.length=T,u(S)}return s(S)}function u(S){if(r===n.length){if(!i)return p(S);if(i.currentConstruct&&i.currentConstruct.concrete)return h(S);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(js,c,d)(S)}function c(S){return i&&w(),y(r),p(S)}function d(S){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,h(S)}function p(S){return t.containerState={},e.attempt(js,m,h)(S)}function m(S){return r++,n.push([t.currentConstruct,t.containerState]),p(S)}function h(S){if(S===null){i&&w(),y(0),e.consume(S);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),g(S)}function g(S){if(S===null){b(e.exit("chunkFlow"),!0),y(0),e.consume(S);return}return te(S)?(e.consume(S),b(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(S),g)}function b(S,E){const P=t.sliceStream(S);if(E&&P.push(null),S.previous=a,a&&(a.next=S),a=S,i.defineSkip(S.start),i.write(P),t.parser.lazy[S.start.line]){let z=i.events.length;for(;z--;)if(i.events[z][1].start.offset<o&&(!i.events[z][1].end||i.events[z][1].end.offset>o))return;const T=t.events.length;let L=T,N,k;for(;L--;)if(t.events[L][0]==="exit"&&t.events[L][1].type==="chunkFlow"){if(N){k=t.events[L][1].end;break}N=!0}for(y(r),z=T;z<t.events.length;)t.events[z][1].end={...k},z++;St(t.events,L+1,0,t.events.slice(T)),t.events.length=z}}function y(S){let E=n.length;for(;E-- >S;){const P=n[E];t.containerState=P[1],P[0].exit.call(t,e)}n.length=S}function w(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function eb(e,t,n){return Ae(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function In(e){if(e===null||Fe(e)||yn(e))return 1;if(pi(e))return 2}function hi(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const zo={name:"attention",resolveAll:tb,tokenize:nb};function tb(e,t){let n=-1,r,i,a,o,s,l,u,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d={...e[r][1].end},p={...e[n][1].start};Ts(d,-l),Ts(p,l),o={type:l>1?"strongSequence":"emphasisSequence",start:d,end:{...e[r][1].end}},s={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},a={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:l>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=Et(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=Et(u,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),u=Et(u,hi(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=Et(u,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=Et(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,St(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function nb(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=In(r);let a;return o;function o(l){return a=l,e.enter("attentionSequence"),s(l)}function s(l){if(l===a)return e.consume(l),s;const u=e.exit("attentionSequence"),c=In(l),d=!c||c===2&&i||n.includes(l),p=!i||i===2&&c||n.includes(r);return u._open=!!(a===42?d:d&&(i||!p)),u._close=!!(a===42?p:p&&(c||!d)),t(l)}}function Ts(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const rb={name:"autolink",tokenize:ib};function ib(e,t,n){let r=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return mt(m)?(e.consume(m),o):m===64?n(m):u(m)}function o(m){return m===43||m===45||m===46||lt(m)?(r=1,s(m)):u(m)}function s(m){return m===58?(e.consume(m),r=0,l):(m===43||m===45||m===46||lt(m))&&r++<32?(e.consume(m),s):(r=0,u(m))}function l(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||_r(m)?n(m):(e.consume(m),l)}function u(m){return m===64?(e.consume(m),c):Zg(m)?(e.consume(m),u):n(m)}function c(m){return lt(m)?d(m):n(m)}function d(m){return m===46?(e.consume(m),r=0,c):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):p(m)}function p(m){if((m===45||lt(m))&&r++<63){const h=m===45?p:d;return e.consume(m),h}return n(m)}}const yr={partial:!0,tokenize:ob};function ob(e,t,n){return r;function r(a){return xe(a)?Ae(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||te(a)?t(a):n(a)}}const xc={continuation:{tokenize:sb},exit:lb,name:"blockQuote",tokenize:ab};function ab(e,t,n){const r=this;return i;function i(o){if(o===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return n(o)}function a(o){return xe(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function sb(e,t,n){const r=this;return i;function i(o){return xe(o)?Ae(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(xc,t,n)(o)}}function lb(e){e.exit("blockQuote")}const wc={name:"characterEscape",tokenize:ub};function ub(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return Kg(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const kc={name:"characterReference",tokenize:cb};function cb(e,t,n){const r=this;let i=0,a,o;return s;function s(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,o=lt,c(d))}function u(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=Gg,c):(e.enter("characterReferenceValue"),a=7,o=Co,c(d))}function c(d){if(d===59&&i){const p=e.exit("characterReferenceValue");return o===lt&&!na(r.sliceSerialize(p))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(d)&&i++<a?(e.consume(d),c):n(d)}}const Ns={partial:!0,tokenize:fb},Ms={concrete:!0,name:"codeFenced",tokenize:db};function db(e,t,n){const r=this,i={partial:!0,tokenize:P};let a=0,o=0,s;return l;function l(z){return u(z)}function u(z){const T=r.events[r.events.length-1];return a=T&&T[1].type==="linePrefix"?T[2].sliceSerialize(T[1],!0).length:0,s=z,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(z)}function c(z){return z===s?(o++,e.consume(z),c):o<3?n(z):(e.exit("codeFencedFenceSequence"),xe(z)?Ae(e,d,"whitespace")(z):d(z))}function d(z){return z===null||te(z)?(e.exit("codeFencedFence"),r.interrupt?t(z):e.check(Ns,g,E)(z)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(z))}function p(z){return z===null||te(z)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(z)):xe(z)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ae(e,m,"whitespace")(z)):z===96&&z===s?n(z):(e.consume(z),p)}function m(z){return z===null||te(z)?d(z):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(z))}function h(z){return z===null||te(z)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(z)):z===96&&z===s?n(z):(e.consume(z),h)}function g(z){return e.attempt(i,E,b)(z)}function b(z){return e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),y}function y(z){return a>0&&xe(z)?Ae(e,w,"linePrefix",a+1)(z):w(z)}function w(z){return z===null||te(z)?e.check(Ns,g,E)(z):(e.enter("codeFlowValue"),S(z))}function S(z){return z===null||te(z)?(e.exit("codeFlowValue"),w(z)):(e.consume(z),S)}function E(z){return e.exit("codeFenced"),t(z)}function P(z,T,L){let N=0;return k;function k(O){return z.enter("lineEnding"),z.consume(O),z.exit("lineEnding"),j}function j(O){return z.enter("codeFencedFence"),xe(O)?Ae(z,I,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(O):I(O)}function I(O){return O===s?(z.enter("codeFencedFenceSequence"),V(O)):L(O)}function V(O){return O===s?(N++,z.consume(O),V):N>=o?(z.exit("codeFencedFenceSequence"),xe(O)?Ae(z,F,"whitespace")(O):F(O)):L(O)}function F(O){return O===null||te(O)?(z.exit("codeFencedFence"),T(O)):L(O)}}}function fb(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const Xi={name:"codeIndented",tokenize:pb},mb={partial:!0,tokenize:hb};function pb(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),Ae(e,a,"linePrefix",5)(u)}function a(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(u):n(u)}function o(u){return u===null?l(u):te(u)?e.attempt(mb,o,l)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||te(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),s)}function l(u){return e.exit("codeIndented"),t(u)}}function hb(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):te(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Ae(e,a,"linePrefix",5)(o)}function a(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):te(o)?i(o):n(o)}}const gb={name:"codeText",previous:yb,resolve:bb,tokenize:vb};function bb(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function yb(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function vb(e,t,n){let r=0,i,a;return o;function o(d){return e.enter("codeText"),e.enter("codeTextSequence"),s(d)}function s(d){return d===96?(e.consume(d),r++,s):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):d===96?(a=e.enter("codeTextSequence"),i=0,c(d)):te(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),u(d))}function u(d){return d===null||d===32||d===96||te(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),u)}function c(d){return d===96?(e.consume(d),i++,c):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(a.type="codeTextData",u(d))}}class xb{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Qn(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Qn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Qn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Qn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Qn(this.left,n.reverse())}}}function Qn(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Sc(e){const t={};let n=-1,r,i,a,o,s,l,u;const c=new xb(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,a=0,a<l.length&&l[a][1].type==="lineEndingBlank"&&(a+=2),a<l.length&&l[a][1].type==="content"))for(;++a<l.length&&l[a][1].type!=="content";)l[a][1].type==="chunkText"&&(l[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,wb(c,n)),n=t[n],u=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(o=c.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...c.get(i)[1].start},s=c.slice(i,n),s.unshift(r),c.splice(i,n-i+1,s))}}return St(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!u}function wb(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const s=o.events,l=[],u={};let c,d,p=-1,m=n,h=0,g=0;const b=[g];for(;m;){for(;e.get(++i)[1]!==m;);a.push(i),m._tokenizer||(c=r.sliceStream(m),m.next||c.push(null),d&&o.defineSkip(m.start),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(c),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=m,m=m.next}for(m=n;++p<s.length;)s[p][0]==="exit"&&s[p-1][0]==="enter"&&s[p][1].type===s[p-1][1].type&&s[p][1].start.line!==s[p][1].end.line&&(g=p+1,b.push(g),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(o.events=[],m?(m._tokenizer=void 0,m.previous=void 0):b.pop(),p=b.length;p--;){const y=s.slice(b[p],b[p+1]),w=a.pop();l.push([w,w+y.length-1]),e.splice(w,2,y)}for(l.reverse(),p=-1;++p<l.length;)u[h+l[p][0]]=h+l[p][1],h+=l[p][1]-l[p][0]-1;return u}const kb={resolve:Cb,tokenize:zb},Sb={partial:!0,tokenize:Ab};function Cb(e){return Sc(e),e}function zb(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?a(s):te(s)?e.check(Sb,o,a)(s):(e.consume(s),i)}function a(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Ab(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Ae(e,a,"linePrefix")}function a(o){if(o===null||te(o))return n(o);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function Cc(e,t,n,r,i,a,o,s,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return d;function d(y){return y===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(y),e.exit(a),p):y===null||y===32||y===41||_r(y)?n(y):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(y))}function p(y){return y===62?(e.enter(a),e.consume(y),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===62?(e.exit("chunkString"),e.exit(s),p(y)):y===null||y===60||te(y)?n(y):(e.consume(y),y===92?h:m)}function h(y){return y===60||y===62||y===92?(e.consume(y),m):m(y)}function g(y){return!c&&(y===null||y===41||Fe(y))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(y)):c<u&&y===40?(e.consume(y),c++,g):y===41?(e.consume(y),c--,g):y===null||y===32||y===40||_r(y)?n(y):(e.consume(y),y===92?b:g)}function b(y){return y===40||y===41||y===92?(e.consume(y),g):g(y)}}function zc(e,t,n,r,i,a){const o=this;let s=0,l;return u;function u(m){return e.enter(r),e.enter(i),e.consume(m),e.exit(i),e.enter(a),c}function c(m){return s>999||m===null||m===91||m===93&&!l||m===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):te(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),d(m))}function d(m){return m===null||m===91||m===93||te(m)||s++>999?(e.exit("chunkString"),c(m)):(e.consume(m),l||(l=!xe(m)),m===92?p:d)}function p(m){return m===91||m===92||m===93?(e.consume(m),s++,d):d(m)}}function Ac(e,t,n,r,i,a){let o;return s;function s(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),o=p===40?41:p,l):n(p)}function l(p){return p===o?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(a),u(p))}function u(p){return p===o?(e.exit(a),l(o)):p===null?n(p):te(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),Ae(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===o||p===null||te(p)?(e.exit("chunkString"),u(p)):(e.consume(p),p===92?d:c)}function d(p){return p===o||p===92?(e.consume(p),c):c(p)}}function ir(e,t){let n;return r;function r(i){return te(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):xe(i)?Ae(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const Eb={name:"definition",tokenize:jb},Pb={partial:!0,tokenize:Tb};function jb(e,t,n){const r=this;let i;return a;function a(m){return e.enter("definition"),o(m)}function o(m){return zc.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function s(m){return i=jt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):n(m)}function l(m){return Fe(m)?ir(e,u)(m):u(m)}function u(m){return Cc(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function c(m){return e.attempt(Pb,d,d)(m)}function d(m){return xe(m)?Ae(e,p,"whitespace")(m):p(m)}function p(m){return m===null||te(m)?(e.exit("definition"),r.parser.defined.push(i),t(m)):n(m)}}function Tb(e,t,n){return r;function r(s){return Fe(s)?ir(e,i)(s):n(s)}function i(s){return Ac(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return xe(s)?Ae(e,o,"whitespace")(s):o(s)}function o(s){return s===null||te(s)?t(s):n(s)}}const Nb={name:"hardBreakEscape",tokenize:Mb};function Mb(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return te(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const Ib={name:"headingAtx",resolve:Db,tokenize:Rb};function Db(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},St(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Rb(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),a(c)}function a(c){return e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(e.consume(c),o):c===null||Fe(c)?(e.exit("atxHeadingSequence"),s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),l(c)):c===null||te(c)?(e.exit("atxHeading"),t(c)):xe(c)?Ae(e,s,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function l(c){return c===35?(e.consume(c),l):(e.exit("atxHeadingSequence"),s(c))}function u(c){return c===null||c===35||Fe(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),u)}}const Lb=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Is=["pre","script","style","textarea"],Ob={concrete:!0,name:"htmlFlow",resolveTo:Wb,tokenize:qb},Fb={partial:!0,tokenize:Jb},Bb={partial:!0,tokenize:Vb};function Wb(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function qb(e,t,n){const r=this;let i,a,o,s,l;return u;function u(C){return c(C)}function c(C){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(C),d}function d(C){return C===33?(e.consume(C),p):C===47?(e.consume(C),a=!0,g):C===63?(e.consume(C),i=3,r.interrupt?t:x):mt(C)?(e.consume(C),o=String.fromCharCode(C),b):n(C)}function p(C){return C===45?(e.consume(C),i=2,m):C===91?(e.consume(C),i=5,s=0,h):mt(C)?(e.consume(C),i=4,r.interrupt?t:x):n(C)}function m(C){return C===45?(e.consume(C),r.interrupt?t:x):n(C)}function h(C){const Ie="CDATA[";return C===Ie.charCodeAt(s++)?(e.consume(C),s===Ie.length?r.interrupt?t:I:h):n(C)}function g(C){return mt(C)?(e.consume(C),o=String.fromCharCode(C),b):n(C)}function b(C){if(C===null||C===47||C===62||Fe(C)){const Ie=C===47,We=o.toLowerCase();return!Ie&&!a&&Is.includes(We)?(i=1,r.interrupt?t(C):I(C)):Lb.includes(o.toLowerCase())?(i=6,Ie?(e.consume(C),y):r.interrupt?t(C):I(C)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(C):a?w(C):S(C))}return C===45||lt(C)?(e.consume(C),o+=String.fromCharCode(C),b):n(C)}function y(C){return C===62?(e.consume(C),r.interrupt?t:I):n(C)}function w(C){return xe(C)?(e.consume(C),w):k(C)}function S(C){return C===47?(e.consume(C),k):C===58||C===95||mt(C)?(e.consume(C),E):xe(C)?(e.consume(C),S):k(C)}function E(C){return C===45||C===46||C===58||C===95||lt(C)?(e.consume(C),E):P(C)}function P(C){return C===61?(e.consume(C),z):xe(C)?(e.consume(C),P):S(C)}function z(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),l=C,T):xe(C)?(e.consume(C),z):L(C)}function T(C){return C===l?(e.consume(C),l=null,N):C===null||te(C)?n(C):(e.consume(C),T)}function L(C){return C===null||C===34||C===39||C===47||C===60||C===61||C===62||C===96||Fe(C)?P(C):(e.consume(C),L)}function N(C){return C===47||C===62||xe(C)?S(C):n(C)}function k(C){return C===62?(e.consume(C),j):n(C)}function j(C){return C===null||te(C)?I(C):xe(C)?(e.consume(C),j):n(C)}function I(C){return C===45&&i===2?(e.consume(C),B):C===60&&i===1?(e.consume(C),K):C===62&&i===4?(e.consume(C),oe):C===63&&i===3?(e.consume(C),x):C===93&&i===5?(e.consume(C),Q):te(C)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Fb,Ee,V)(C)):C===null||te(C)?(e.exit("htmlFlowData"),V(C)):(e.consume(C),I)}function V(C){return e.check(Bb,F,Ee)(C)}function F(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),O}function O(C){return C===null||te(C)?V(C):(e.enter("htmlFlowData"),I(C))}function B(C){return C===45?(e.consume(C),x):I(C)}function K(C){return C===47?(e.consume(C),o="",X):I(C)}function X(C){if(C===62){const Ie=o.toLowerCase();return Is.includes(Ie)?(e.consume(C),oe):I(C)}return mt(C)&&o.length<8?(e.consume(C),o+=String.fromCharCode(C),X):I(C)}function Q(C){return C===93?(e.consume(C),x):I(C)}function x(C){return C===62?(e.consume(C),oe):C===45&&i===2?(e.consume(C),x):I(C)}function oe(C){return C===null||te(C)?(e.exit("htmlFlowData"),Ee(C)):(e.consume(C),oe)}function Ee(C){return e.exit("htmlFlow"),t(C)}}function Vb(e,t,n){const r=this;return i;function i(o){return te(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function Jb(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(yr,t,n)}}const Hb={name:"htmlText",tokenize:Ub};function Ub(e,t,n){const r=this;let i,a,o;return s;function s(x){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(x),l}function l(x){return x===33?(e.consume(x),u):x===47?(e.consume(x),P):x===63?(e.consume(x),S):mt(x)?(e.consume(x),L):n(x)}function u(x){return x===45?(e.consume(x),c):x===91?(e.consume(x),a=0,h):mt(x)?(e.consume(x),w):n(x)}function c(x){return x===45?(e.consume(x),m):n(x)}function d(x){return x===null?n(x):x===45?(e.consume(x),p):te(x)?(o=d,K(x)):(e.consume(x),d)}function p(x){return x===45?(e.consume(x),m):d(x)}function m(x){return x===62?B(x):x===45?p(x):d(x)}function h(x){const oe="CDATA[";return x===oe.charCodeAt(a++)?(e.consume(x),a===oe.length?g:h):n(x)}function g(x){return x===null?n(x):x===93?(e.consume(x),b):te(x)?(o=g,K(x)):(e.consume(x),g)}function b(x){return x===93?(e.consume(x),y):g(x)}function y(x){return x===62?B(x):x===93?(e.consume(x),y):g(x)}function w(x){return x===null||x===62?B(x):te(x)?(o=w,K(x)):(e.consume(x),w)}function S(x){return x===null?n(x):x===63?(e.consume(x),E):te(x)?(o=S,K(x)):(e.consume(x),S)}function E(x){return x===62?B(x):S(x)}function P(x){return mt(x)?(e.consume(x),z):n(x)}function z(x){return x===45||lt(x)?(e.consume(x),z):T(x)}function T(x){return te(x)?(o=T,K(x)):xe(x)?(e.consume(x),T):B(x)}function L(x){return x===45||lt(x)?(e.consume(x),L):x===47||x===62||Fe(x)?N(x):n(x)}function N(x){return x===47?(e.consume(x),B):x===58||x===95||mt(x)?(e.consume(x),k):te(x)?(o=N,K(x)):xe(x)?(e.consume(x),N):B(x)}function k(x){return x===45||x===46||x===58||x===95||lt(x)?(e.consume(x),k):j(x)}function j(x){return x===61?(e.consume(x),I):te(x)?(o=j,K(x)):xe(x)?(e.consume(x),j):N(x)}function I(x){return x===null||x===60||x===61||x===62||x===96?n(x):x===34||x===39?(e.consume(x),i=x,V):te(x)?(o=I,K(x)):xe(x)?(e.consume(x),I):(e.consume(x),F)}function V(x){return x===i?(e.consume(x),i=void 0,O):x===null?n(x):te(x)?(o=V,K(x)):(e.consume(x),V)}function F(x){return x===null||x===34||x===39||x===60||x===61||x===96?n(x):x===47||x===62||Fe(x)?N(x):(e.consume(x),F)}function O(x){return x===47||x===62||Fe(x)?N(x):n(x)}function B(x){return x===62?(e.consume(x),e.exit("htmlTextData"),e.exit("htmlText"),t):n(x)}function K(x){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),X}function X(x){return xe(x)?Ae(e,Q,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):Q(x)}function Q(x){return e.enter("htmlTextData"),o(x)}}const ra={name:"labelEnd",resolveAll:Kb,resolveTo:Qb,tokenize:Yb},Xb={tokenize:_b},Zb={tokenize:$b},Gb={tokenize:ey};function Kb(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&St(e,0,e.length,n),e}function Qb(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const l={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[a][1].start},end:{...e[o][1].end}},c={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[["enter",l,t],["enter",u,t]],s=Et(s,e.slice(a+1,a+r+3)),s=Et(s,[["enter",c,t]]),s=Et(s,hi(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=Et(s,[["exit",c,t],e[o-2],e[o-1],["exit",u,t]]),s=Et(s,e.slice(o+1)),s=Et(s,[["exit",l,t]]),St(e,a,e.length,s),e}function Yb(e,t,n){const r=this;let i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(p){return a?a._inactive?d(p):(o=r.parser.defined.includes(jt(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),l):n(p)}function l(p){return p===40?e.attempt(Xb,c,o?c:d)(p):p===91?e.attempt(Zb,c,o?u:d)(p):o?c(p):d(p)}function u(p){return e.attempt(Gb,c,d)(p)}function c(p){return t(p)}function d(p){return a._balanced=!0,n(p)}}function _b(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),i}function i(d){return Fe(d)?ir(e,a)(d):a(d)}function a(d){return d===41?c(d):Cc(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function o(d){return Fe(d)?ir(e,l)(d):c(d)}function s(d){return n(d)}function l(d){return d===34||d===39||d===40?Ac(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):c(d)}function u(d){return Fe(d)?ir(e,c)(d):c(d)}function c(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function $b(e,t,n){const r=this;return i;function i(s){return zc.call(r,e,a,o,"reference","referenceMarker","referenceString")(s)}function a(s){return r.parser.defined.includes(jt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function o(s){return n(s)}}function ey(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const ty={name:"labelStartImage",resolveAll:ra.resolveAll,tokenize:ny};function ny(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),a}function a(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):n(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const ry={name:"labelStartLink",resolveAll:ra.resolveAll,tokenize:iy};function iy(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Zi={name:"lineEnding",tokenize:oy};function oy(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Ae(e,t,"linePrefix")}}const Hr={name:"thematicBreak",tokenize:ay};function ay(e,t,n){let r=0,i;return a;function a(u){return e.enter("thematicBreak"),o(u)}function o(u){return i=u,s(u)}function s(u){return u===i?(e.enter("thematicBreakSequence"),l(u)):r>=3&&(u===null||te(u))?(e.exit("thematicBreak"),t(u)):n(u)}function l(u){return u===i?(e.consume(u),r++,l):(e.exit("thematicBreakSequence"),xe(u)?Ae(e,s,"whitespace")(u):s(u))}}const gt={continuation:{tokenize:cy},exit:fy,name:"list",tokenize:uy},sy={partial:!0,tokenize:my},ly={partial:!0,tokenize:dy};function uy(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(m){const h=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(h==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:Co(m)){if(r.containerState.type||(r.containerState.type=h,e.enter(h,{_container:!0})),h==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Hr,n,u)(m):u(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return n(m)}function l(m){return Co(m)&&++o<10?(e.consume(m),l):(!r.interrupt||o<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),u(m)):n(m)}function u(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(yr,r.interrupt?n:c,e.attempt(sy,p,d))}function c(m){return r.containerState.initialBlankLine=!0,a++,p(m)}function d(m){return xe(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),p):n(m)}function p(m){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function cy(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(yr,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ae(e,t,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!xe(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ly,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ae(e,e.attempt(gt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function dy(e,t,n){const r=this;return Ae(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function fy(e){e.exit(this.containerState.type)}function my(e,t,n){const r=this;return Ae(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const o=r.events[r.events.length-1];return!xe(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const Ds={name:"setextUnderline",resolveTo:py,tokenize:hy};function py(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function hy(e,t,n){const r=this;let i;return a;function a(u){let c=r.events.length,d;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){d=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=u,o(u)):n(u)}function o(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===i?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),xe(u)?Ae(e,l,"lineSuffix")(u):l(u))}function l(u){return u===null||te(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const gy={tokenize:by};function by(e){const t=this,n=e.attempt(yr,r,e.attempt(this.parser.constructs.flowInitial,i,Ae(e,e.attempt(this.parser.constructs.flow,i,e.attempt(kb,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const yy={resolveAll:Pc()},vy=Ec("string"),xy=Ec("text");function Ec(e){return{resolveAll:Pc(e==="text"?wy:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,s);return o;function o(c){return u(c)?a(c):s(c)}function s(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),l}function l(c){return u(c)?(n.exit("data"),a(c)):(n.consume(c),l)}function u(c){if(c===null)return!0;const d=i[c];let p=-1;if(d)for(;++p<d.length;){const m=d[p];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function Pc(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function wy(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,o=-1,s=0,l;for(;a--;){const u=i[a];if(typeof u=="string"){for(o=u.length;u.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(u===-2)l=!0,s++;else if(u!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const u={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const ky={42:gt,43:gt,45:gt,48:gt,49:gt,50:gt,51:gt,52:gt,53:gt,54:gt,55:gt,56:gt,57:gt,62:xc},Sy={91:Eb},Cy={[-2]:Xi,[-1]:Xi,32:Xi},zy={35:Ib,42:Hr,45:[Ds,Hr],60:Ob,61:Ds,95:Hr,96:Ms,126:Ms},Ay={38:kc,92:wc},Ey={[-5]:Zi,[-4]:Zi,[-3]:Zi,33:ty,38:kc,42:zo,60:[rb,Hb],91:ry,92:[Nb,wc],93:ra,95:zo,96:gb},Py={null:[zo,yy]},jy={null:[42,95]},Ty={null:[]},Ny=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:jy,contentInitial:Sy,disable:Ty,document:ky,flow:zy,flowInitial:Cy,insideSpan:Py,string:Ay,text:Ey},Symbol.toStringTag,{value:"Module"}));function My(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let o=[],s=[];const l={attempt:T(P),check:T(z),consume:w,enter:S,exit:E,interrupt:T(z,{interrupt:!0})},u={code:null,containerState:{},defineSkip:g,events:[],now:h,parser:e,previous:null,sliceSerialize:p,sliceStream:m,write:d};let c=t.tokenize.call(u,l);return t.resolveAll&&a.push(t),u;function d(j){return o=Et(o,j),b(),o[o.length-1]!==null?[]:(L(t,0),u.events=hi(a,u.events,u),u.events)}function p(j,I){return Dy(m(j),I)}function m(j){return Iy(o,j)}function h(){const{_bufferIndex:j,_index:I,line:V,column:F,offset:O}=r;return{_bufferIndex:j,_index:I,line:V,column:F,offset:O}}function g(j){i[j.line]=j.column,k()}function b(){let j;for(;r._index<o.length;){const I=o[r._index];if(typeof I=="string")for(j=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===j&&r._bufferIndex<I.length;)y(I.charCodeAt(r._bufferIndex));else y(I)}}function y(j){c=c(j)}function w(j){te(j)?(r.line++,r.column=1,r.offset+=j===-3?2:1,k()):j!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=j}function S(j,I){const V=I||{};return V.type=j,V.start=h(),u.events.push(["enter",V,u]),s.push(V),V}function E(j){const I=s.pop();return I.end=h(),u.events.push(["exit",I,u]),I}function P(j,I){L(j,I.from)}function z(j,I){I.restore()}function T(j,I){return V;function V(F,O,B){let K,X,Q,x;return Array.isArray(F)?Ee(F):"tokenize"in F?Ee([F]):oe(F);function oe(Ne){return Le;function Le(Pe){const se=Pe!==null&&Ne[Pe],Ce=Pe!==null&&Ne.null,_=[...Array.isArray(se)?se:se?[se]:[],...Array.isArray(Ce)?Ce:Ce?[Ce]:[]];return Ee(_)(Pe)}}function Ee(Ne){return K=Ne,X=0,Ne.length===0?B:C(Ne[X])}function C(Ne){return Le;function Le(Pe){return x=N(),Q=Ne,Ne.partial||(u.currentConstruct=Ne),Ne.name&&u.parser.constructs.disable.null.includes(Ne.name)?We():Ne.tokenize.call(I?Object.assign(Object.create(u),I):u,l,Ie,We)(Pe)}}function Ie(Ne){return j(Q,x),O}function We(Ne){return x.restore(),++X<K.length?C(K[X]):B}}}function L(j,I){j.resolveAll&&!a.includes(j)&&a.push(j),j.resolve&&St(u.events,I,u.events.length-I,j.resolve(u.events.slice(I),u)),j.resolveTo&&(u.events=j.resolveTo(u.events,u))}function N(){const j=h(),I=u.previous,V=u.currentConstruct,F=u.events.length,O=Array.from(s);return{from:F,restore:B};function B(){r=j,u.previous=I,u.currentConstruct=V,u.events.length=F,s=O,k()}}function k(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Iy(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){const s=o[0];typeof s=="string"?o[0]=s.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function Dy(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
|
|
269
269
|
`;break}case-3:{o=`\r
|
|
270
270
|
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join("")}function Ry(e){const r={constructs:yc([Ny,...(e||{}).extensions||[]]),content:i(Qg),defined:[],document:i(_g),flow:i(gy),lazy:{},string:i(vy),text:i(xy)};return r;function i(a){return o;function o(s){return My(r,a,s)}}}function Ly(e){for(;!Sc(e););return e}const Rs=/[\0\t\n\r]/g;function Oy(){let e=1,t="",n=!0,r;return i;function i(a,o,s){const l=[];let u,c,d,p,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),d=0,t="",n&&(a.charCodeAt(0)===65279&&d++,n=void 0);d<a.length;){if(Rs.lastIndex=d,u=Rs.exec(a),p=u&&u.index!==void 0?u.index:a.length,m=a.charCodeAt(p),!u){t=a.slice(d);break}if(m===10&&d===p&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),d<p&&(l.push(a.slice(d,p)),e+=p-d),m){case 0:{l.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,l.push(-2);e++<c;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}d=p+1}return s&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const Fy=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function By(e){return e.replace(Fy,Wy)}function Wy(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return vc(n.slice(a?2:1),a?16:10)}return na(n)||e}const jc={}.hasOwnProperty;function qy(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Vy(n)(Ly(Ry(n).document().write(Oy()(e,t,!0))))}function Vy(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(ae),autolinkProtocol:N,autolinkEmail:N,atxHeading:a(Ve),blockQuote:a(Ce),characterEscape:N,characterReference:N,codeFenced:a(_),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(_,o),codeText:a(H,o),codeTextData:N,data:N,codeFlowValue:N,definition:a($),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(ve),hardBreakEscape:a(ge),hardBreakTrailing:a(ge),htmlFlow:a(Qe,o),htmlFlowData:N,htmlText:a(Qe,o),htmlTextData:N,image:a(ke),label:o,link:a(ae),listItem:a(de),listItemValue:p,listOrdered:a(pe,d),listUnordered:a(pe),paragraph:a(ce),reference:C,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Ve),strong:a(ze),thematicBreak:a(Ze)},exit:{atxHeading:l(),atxHeadingSequence:P,autolink:l(),autolinkEmail:se,autolinkProtocol:Pe,blockQuote:l(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:We,characterReferenceMarkerNumeric:We,characterReferenceValue:Ne,characterReference:Le,codeFenced:l(b),codeFencedFence:g,codeFencedFenceInfo:m,codeFencedFenceMeta:h,codeFlowValue:k,codeIndented:l(y),codeText:l(O),codeTextData:k,data:k,definition:l(),definitionDestinationString:E,definitionLabelString:w,definitionTitleString:S,emphasis:l(),hardBreakEscape:l(I),hardBreakTrailing:l(I),htmlFlow:l(V),htmlFlowData:k,htmlText:l(F),htmlTextData:k,image:l(K),label:Q,labelText:X,lineEnding:j,link:l(B),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Ie,resourceDestinationString:x,resourceTitleString:oe,resource:Ee,setextHeading:l(L),setextHeadingLineSequence:T,setextHeadingText:z,strong:l(),thematicBreak:l()}};Tc(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(D){let q={type:"root",children:[]};const ee={stack:[q],tokenStack:[],config:t,enter:s,exit:u,buffer:o,resume:c,data:n},Z=[];let ne=-1;for(;++ne<D.length;)if(D[ne][1].type==="listOrdered"||D[ne][1].type==="listUnordered")if(D[ne][0]==="enter")Z.push(ne);else{const Je=Z.pop();ne=i(D,Je,ne)}for(ne=-1;++ne<D.length;){const Je=t[D[ne][0]];jc.call(Je,D[ne][1].type)&&Je[D[ne][1].type].call(Object.assign({sliceSerialize:D[ne][2].sliceSerialize},ee),D[ne][1])}if(ee.tokenStack.length>0){const Je=ee.tokenStack[ee.tokenStack.length-1];(Je[1]||Ls).call(ee,void 0,Je[0])}for(q.position={start:nn(D.length>0?D[0][1].start:{line:1,column:1,offset:0}),end:nn(D.length>0?D[D.length-2][1].end:{line:1,column:1,offset:0})},ne=-1;++ne<t.transforms.length;)q=t.transforms[ne](q)||q;return q}function i(D,q,ee){let Z=q-1,ne=-1,Je=!1,pt,ct,dt,qt;for(;++Z<=ee;){const et=D[Z];switch(et[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{et[0]==="enter"?ne++:ne--,qt=void 0;break}case"lineEndingBlank":{et[0]==="enter"&&(pt&&!qt&&!ne&&!dt&&(dt=Z),qt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:qt=void 0}if(!ne&&et[0]==="enter"&&et[1].type==="listItemPrefix"||ne===-1&&et[0]==="exit"&&(et[1].type==="listUnordered"||et[1].type==="listOrdered")){if(pt){let Mt=Z;for(ct=void 0;Mt--;){const nt=D[Mt];if(nt[1].type==="lineEnding"||nt[1].type==="lineEndingBlank"){if(nt[0]==="exit")continue;ct&&(D[ct][1].type="lineEndingBlank",Je=!0),nt[1].type="lineEnding",ct=Mt}else if(!(nt[1].type==="linePrefix"||nt[1].type==="blockQuotePrefix"||nt[1].type==="blockQuotePrefixWhitespace"||nt[1].type==="blockQuoteMarker"||nt[1].type==="listItemIndent"))break}dt&&(!ct||dt<ct)&&(pt._spread=!0),pt.end=Object.assign({},ct?D[ct][1].start:et[1].end),D.splice(ct||Z,0,["exit",pt,et[2]]),Z++,ee++}if(et[1].type==="listItemPrefix"){const Mt={type:"listItem",_spread:!1,start:Object.assign({},et[1].start),end:void 0};pt=Mt,D.splice(Z,0,["enter",Mt,et[2]]),Z++,ee++,dt=void 0,qt=!0}}}return D[q][1]._spread=Je,ee}function a(D,q){return ee;function ee(Z){s.call(this,D(Z),Z),q&&q.call(this,Z)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(D,q,ee){this.stack[this.stack.length-1].children.push(D),this.stack.push(D),this.tokenStack.push([q,ee||void 0]),D.position={start:nn(q.start),end:void 0}}function l(D){return q;function q(ee){D&&D.call(this,ee),u.call(this,ee)}}function u(D,q){const ee=this.stack.pop(),Z=this.tokenStack.pop();if(Z)Z[0].type!==D.type&&(q?q.call(this,D,Z[0]):(Z[1]||Ls).call(this,D,Z[0]));else throw new Error("Cannot close `"+D.type+"` ("+rr({start:D.start,end:D.end})+"): it’s not open");ee.position.end=nn(D.end)}function c(){return ta(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function p(D){if(this.data.expectingFirstListItemValue){const q=this.stack[this.stack.length-2];q.start=Number.parseInt(this.sliceSerialize(D),10),this.data.expectingFirstListItemValue=void 0}}function m(){const D=this.resume(),q=this.stack[this.stack.length-1];q.lang=D}function h(){const D=this.resume(),q=this.stack[this.stack.length-1];q.meta=D}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function b(){const D=this.resume(),q=this.stack[this.stack.length-1];q.value=D.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const D=this.resume(),q=this.stack[this.stack.length-1];q.value=D.replace(/(\r?\n|\r)$/g,"")}function w(D){const q=this.resume(),ee=this.stack[this.stack.length-1];ee.label=q,ee.identifier=jt(this.sliceSerialize(D)).toLowerCase()}function S(){const D=this.resume(),q=this.stack[this.stack.length-1];q.title=D}function E(){const D=this.resume(),q=this.stack[this.stack.length-1];q.url=D}function P(D){const q=this.stack[this.stack.length-1];if(!q.depth){const ee=this.sliceSerialize(D).length;q.depth=ee}}function z(){this.data.setextHeadingSlurpLineEnding=!0}function T(D){const q=this.stack[this.stack.length-1];q.depth=this.sliceSerialize(D).codePointAt(0)===61?1:2}function L(){this.data.setextHeadingSlurpLineEnding=void 0}function N(D){const ee=this.stack[this.stack.length-1].children;let Z=ee[ee.length-1];(!Z||Z.type!=="text")&&(Z=Me(),Z.position={start:nn(D.start),end:void 0},ee.push(Z)),this.stack.push(Z)}function k(D){const q=this.stack.pop();q.value+=this.sliceSerialize(D),q.position.end=nn(D.end)}function j(D){const q=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ee=q.children[q.children.length-1];ee.position.end=nn(D.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(q.type)&&(N.call(this,D),k.call(this,D))}function I(){this.data.atHardBreak=!0}function V(){const D=this.resume(),q=this.stack[this.stack.length-1];q.value=D}function F(){const D=this.resume(),q=this.stack[this.stack.length-1];q.value=D}function O(){const D=this.resume(),q=this.stack[this.stack.length-1];q.value=D}function B(){const D=this.stack[this.stack.length-1];if(this.data.inReference){const q=this.data.referenceType||"shortcut";D.type+="Reference",D.referenceType=q,delete D.url,delete D.title}else delete D.identifier,delete D.label;this.data.referenceType=void 0}function K(){const D=this.stack[this.stack.length-1];if(this.data.inReference){const q=this.data.referenceType||"shortcut";D.type+="Reference",D.referenceType=q,delete D.url,delete D.title}else delete D.identifier,delete D.label;this.data.referenceType=void 0}function X(D){const q=this.sliceSerialize(D),ee=this.stack[this.stack.length-2];ee.label=By(q),ee.identifier=jt(q).toLowerCase()}function Q(){const D=this.stack[this.stack.length-1],q=this.resume(),ee=this.stack[this.stack.length-1];if(this.data.inReference=!0,ee.type==="link"){const Z=D.children;ee.children=Z}else ee.alt=q}function x(){const D=this.resume(),q=this.stack[this.stack.length-1];q.url=D}function oe(){const D=this.resume(),q=this.stack[this.stack.length-1];q.title=D}function Ee(){this.data.inReference=void 0}function C(){this.data.referenceType="collapsed"}function Ie(D){const q=this.resume(),ee=this.stack[this.stack.length-1];ee.label=q,ee.identifier=jt(this.sliceSerialize(D)).toLowerCase(),this.data.referenceType="full"}function We(D){this.data.characterReferenceType=D.type}function Ne(D){const q=this.sliceSerialize(D),ee=this.data.characterReferenceType;let Z;ee?(Z=vc(q,ee==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Z=na(q);const ne=this.stack[this.stack.length-1];ne.value+=Z}function Le(D){const q=this.stack.pop();q.position.end=nn(D.end)}function Pe(D){k.call(this,D);const q=this.stack[this.stack.length-1];q.url=this.sliceSerialize(D)}function se(D){k.call(this,D);const q=this.stack[this.stack.length-1];q.url="mailto:"+this.sliceSerialize(D)}function Ce(){return{type:"blockquote",children:[]}}function _(){return{type:"code",lang:null,meta:null,value:""}}function H(){return{type:"inlineCode",value:""}}function $(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ve(){return{type:"emphasis",children:[]}}function Ve(){return{type:"heading",depth:0,children:[]}}function ge(){return{type:"break"}}function Qe(){return{type:"html",value:""}}function ke(){return{type:"image",title:null,url:"",alt:null}}function ae(){return{type:"link",title:null,url:"",children:[]}}function pe(D){return{type:"list",ordered:D.type==="listOrdered",start:null,spread:D._spread,children:[]}}function de(D){return{type:"listItem",spread:D._spread,checked:null,children:[]}}function ce(){return{type:"paragraph",children:[]}}function ze(){return{type:"strong",children:[]}}function Me(){return{type:"text",value:""}}function Ze(){return{type:"thematicBreak"}}}function nn(e){return{line:e.line,column:e.column,offset:e.offset}}function Tc(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Tc(e,r):Jy(e,r)}}function Jy(e,t){let n;for(n in t)if(jc.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Ls(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+rr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+rr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+rr({start:t.start,end:t.end})+") is still open")}function Hy(e){const t=this;t.parser=n;function n(r){return qy(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Uy(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Xy(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
@@ -292,7 +292,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
292
292
|
`))+1))}const o="#".repeat(i),s=n.enter("headingAtx"),l=n.enter("phrasing");a.move(o+" ");let u=n.containerPhrasing(e,{before:"# ",after:`
|
|
293
293
|
`,...a.current()});return/^[\t ]/.test(u)&&(u=lr(u.charCodeAt(0))+u.slice(1)),u=u?o+" "+u:o,n.options.closeAtx&&(u+=" "+o),l(),s(),u}Xc.peek=uw;function Xc(e){return e.value||""}function uw(){return"<"}Zc.peek=cw;function Zc(e,t,n,r){const i=ca(n),a=i==='"'?"Quote":"Apostrophe",o=n.enter("image");let s=n.enter("label");const l=n.createTracker(r);let u=l.move("![");return u+=l.move(n.safe(e.alt,{before:u,after:"]",...l.current()})),u+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(n.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(s=n.enter("destinationRaw"),u+=l.move(n.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${a}`),u+=l.move(" "+i),u+=l.move(n.safe(e.title,{before:u,after:i,...l.current()})),u+=l.move(i),s()),u+=l.move(")"),o(),u}function cw(){return"!"}Gc.peek=dw;function Gc(e,t,n,r){const i=e.referenceType,a=n.enter("imageReference");let o=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const u=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(u+"]["),o();const c=n.stack;n.stack=[],o=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=c,a(),i==="full"||!u||u!==d?l+=s.move(d+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function dw(){return"!"}Kc.peek=fw;function Kc(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const o=n.unsafe[a],s=n.compilePattern(o);let l;if(o.atBreak)for(;l=s.exec(r);){let u=l.index;r.charCodeAt(u)===10&&r.charCodeAt(u-1)===13&&u--,r=r.slice(0,u)+" "+r.slice(l.index+1)}}return i+r+i}function fw(){return"`"}function Qc(e,t){const n=ta(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Yc.peek=mw;function Yc(e,t,n,r){const i=ca(n),a=i==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let s,l;if(Qc(e,n)){const c=n.stack;n.stack=[],s=n.enter("autolink");let d=o.move("<");return d+=o.move(n.containerPhrasing(e,{before:d,after:">",...o.current()})),d+=o.move(">"),s(),n.stack=c,d}s=n.enter("link"),l=n.enter("label");let u=o.move("[");return u+=o.move(n.containerPhrasing(e,{before:u,after:"](",...o.current()})),u+=o.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=o.move("<"),u+=o.move(n.safe(e.url,{before:u,after:">",...o.current()})),u+=o.move(">")):(l=n.enter("destinationRaw"),u+=o.move(n.safe(e.url,{before:u,after:e.title?" ":")",...o.current()}))),l(),e.title&&(l=n.enter(`title${a}`),u+=o.move(" "+i),u+=o.move(n.safe(e.title,{before:u,after:i,...o.current()})),u+=o.move(i),l()),u+=o.move(")"),s(),u}function mw(e,t,n){return Qc(e,n)?"<":"["}_c.peek=pw;function _c(e,t,n,r){const i=e.referenceType,a=n.enter("linkReference");let o=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const u=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(u+"]["),o();const c=n.stack;n.stack=[],o=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=c,a(),i==="full"||!u||u!==d?l+=s.move(d+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function pw(){return"["}function da(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function hw(e){const t=da(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function gw(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function $c(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function bw(e,t,n,r){const i=n.enter("list"),a=n.bulletCurrent;let o=e.ordered?gw(n):da(n);const s=e.ordered?o==="."?")":".":hw(n);let l=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const c=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&c&&(!c.children||!c.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),$c(n)===o&&c){let d=-1;for(;++d<e.children.length;){const p=e.children[d];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(o=s),n.bulletCurrent=o;const u=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),u}function yw(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function vw(e,t,n,r){const i=yw(n);let a=n.bulletCurrent||da(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const s=n.createTracker(r);s.move(a+" ".repeat(o-a.length)),s.shift(o);const l=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,s.current()),c);return l(),u;function c(d,p,m){return p?(m?"":" ".repeat(o))+d:(m?a:a+" ".repeat(o-a.length))+d}}function xw(e,t,n,r){const i=n.enter("paragraph"),a=n.enter("phrasing"),o=n.containerPhrasing(e,r);return a(),i(),o}const ww=bi(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function kw(e,t,n,r){return(e.children.some(function(o){return ww(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Sw(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}ed.peek=Cw;function ed(e,t,n,r){const i=Sw(n),a=n.enter("strong"),o=n.createTracker(r),s=o.move(i+i);let l=o.move(n.containerPhrasing(e,{after:i,before:s,...o.current()}));const u=l.charCodeAt(0),c=ti(r.before.charCodeAt(r.before.length-1),u,i);c.inside&&(l=lr(u)+l.slice(1));const d=l.charCodeAt(l.length-1),p=ti(r.after.charCodeAt(0),d,i);p.inside&&(l=l.slice(0,-1)+lr(d));const m=o.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:p.outside,before:c.outside},s+l+m}function Cw(e,t,n){return n.options.strong||"*"}function zw(e,t,n,r){return n.safe(e.value,r)}function Aw(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Ew(e,t,n){const r=($c(n)+(n.options.ruleSpaces?" ":"")).repeat(Aw(n));return n.options.ruleSpaces?r.slice(0,-1):r}const td={blockquote:Qx,break:al,code:nw,definition:iw,emphasis:Uc,hardBreak:al,heading:lw,html:Xc,image:Zc,imageReference:Gc,inlineCode:Kc,link:Yc,linkReference:_c,list:bw,listItem:vw,paragraph:xw,root:kw,strong:ed,text:zw,thematicBreak:Ew};function Pw(){return{enter:{table:jw,tableData:sl,tableHeader:sl,tableRow:Nw},exit:{codeText:Mw,table:Tw,tableData:io,tableHeader:io,tableRow:io}}}function jw(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Tw(e){this.exit(e),this.data.inTable=void 0}function Nw(e){this.enter({type:"tableRow",children:[]},e)}function io(e){this.exit(e)}function sl(e){this.enter({type:"tableCell",children:[]},e)}function Mw(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Iw));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Iw(e,t){return t==="|"?t:e}function Dw(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
294
294
|
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:o,tableCell:l,tableRow:s}};function o(m,h,g,b){return u(c(m,g,b),m.align)}function s(m,h,g,b){const y=d(m,g,b),w=u([y]);return w.slice(0,w.indexOf(`
|
|
295
|
-
`))}function l(m,h,g,b){const y=g.enter("tableCell"),w=g.enter("phrasing"),S=g.containerPhrasing(m,{...b,before:a,after:a});return w(),y(),S}function u(m,h){return Gx(m,{align:h,alignDelimiters:r,padding:n,stringLength:i})}function c(m,h,g){const b=m.children;let y=-1;const w=[],S=h.enter("table");for(;++y<b.length;)w[y]=d(b[y],h,g);return S(),w}function d(m,h,g){const b=m.children;let y=-1;const w=[],S=h.enter("tableRow");for(;++y<b.length;)w[y]=l(b[y],m,h,g);return S(),w}function p(m,h,g){let b=td.inlineCode(m,h,g);return g.stack.includes("tableCell")&&(b=b.replace(/\|/g,"\\$&")),b}}function Rw(){return{exit:{taskListCheckValueChecked:ll,taskListCheckValueUnchecked:ll,paragraph:Ow}}}function Lw(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Fw}}}function ll(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Ow(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,o;for(;++a<i.length;){const s=i[a];if(s.type==="paragraph"){o=s;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function Fw(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);a&&s.move(o);let l=td.listItem(e,t,n,{...r,...s.current()});return a&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),l;function u(c){return c+o}}function Bw(){return[bx(),Fx(),Vx(),Pw(),Rw()]}function Ww(e){return{extensions:[yx(),Bx(e),Jx(),Dw(e),Lw()]}}const qw={tokenize:Zw,partial:!0},nd={tokenize:Gw,partial:!0},rd={tokenize:Kw,partial:!0},id={tokenize:Qw,partial:!0},Vw={tokenize:Yw,partial:!0},od={name:"wwwAutolink",tokenize:Uw,previous:sd},ad={name:"protocolAutolink",tokenize:Xw,previous:ld},Yt={name:"emailAutolink",tokenize:Hw,previous:ud},Bt={};function Jw(){return{text:Bt}}let mn=48;for(;mn<123;)Bt[mn]=Yt,mn++,mn===58?mn=65:mn===91&&(mn=97);Bt[43]=Yt;Bt[45]=Yt;Bt[46]=Yt;Bt[95]=Yt;Bt[72]=[Yt,ad];Bt[104]=[Yt,ad];Bt[87]=[Yt,od];Bt[119]=[Yt,od];function Hw(e,t,n){const r=this;let i,a;return o;function o(d){return!To(d)||!ud.call(r,r.previous)||fa(r.events)?n(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(d))}function s(d){return To(d)?(e.consume(d),s):d===64?(e.consume(d),l):n(d)}function l(d){return d===46?e.check(Vw,c,u)(d):d===45||d===95||lt(d)?(a=!0,e.consume(d),l):c(d)}function u(d){return e.consume(d),i=!0,l}function c(d){return a&&i&&mt(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):n(d)}}function Uw(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!sd.call(r,r.previous)||fa(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(qw,e.attempt(nd,e.attempt(rd,a),n),n)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function Xw(e,t,n){const r=this;let i="",a=!1;return o;function o(d){return(d===72||d===104)&&ld.call(r,r.previous)&&!fa(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(d),e.consume(d),s):n(d)}function s(d){if(mt(d)&&i.length<5)return i+=String.fromCodePoint(d),e.consume(d),s;if(d===58){const p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(d),l}return n(d)}function l(d){return d===47?(e.consume(d),a?u:(a=!0,l)):n(d)}function u(d){return d===null||_r(d)||Fe(d)||yn(d)||pi(d)?n(d):e.attempt(nd,e.attempt(rd,c),n)(d)}function c(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function Zw(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),a):n(o)}function a(o){return o===null?n(o):t(o)}}function Gw(e,t,n){let r,i,a;return o;function o(u){return u===46||u===95?e.check(id,l,s)(u):u===null||Fe(u)||yn(u)||u!==45&&pi(u)?l(u):(a=!0,e.consume(u),o)}function s(u){return u===95?r=!0:(i=r,r=void 0),e.consume(u),o}function l(u){return i||r||!a?n(u):t(u)}}function Kw(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(id,t,a)(o):o===null||Fe(o)||yn(o)?t(o):(e.consume(o),i)}function a(o){return o===41&&r++,e.consume(o),i}}function Qw(e,t,n){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),a):s===93?(e.consume(s),i):s===60||s===null||Fe(s)||yn(s)?t(s):n(s)}function i(s){return s===null||s===40||s===91||Fe(s)||yn(s)?t(s):r(s)}function a(s){return mt(s)?o(s):n(s)}function o(s){return s===59?(e.consume(s),r):mt(s)?(e.consume(s),o):n(s)}}function Yw(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return lt(a)?n(a):t(a)}}function sd(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Fe(e)}function ld(e){return!mt(e)}function ud(e){return!(e===47||To(e))}function To(e){return e===43||e===45||e===46||e===95||lt(e)}function fa(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const _w={tokenize:ak,partial:!0};function $w(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:rk,continuation:{tokenize:ik},exit:ok}},text:{91:{name:"gfmFootnoteCall",tokenize:nk},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ek,resolveTo:tk}}}}function ek(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!o||!o._balanced)return n(l);const u=jt(r.sliceSerialize({start:o.end,end:r.now()}));return u.codePointAt(0)!==94||!a.includes(u.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function tk(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function nk(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,o;return s;function s(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(d){if(a>999||d===93&&!o||d===null||d===91||Fe(d))return n(d);if(d===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return i.includes(jt(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(d)}return Fe(d)||(o=!0),a++,e.consume(d),d===92?c:u}function c(d){return d===91||d===92||d===93?(e.consume(d),a++,u):u(d)}}function rk(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0,s;return l;function l(h){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(h),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(h){return h===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(h),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(h)}function c(h){if(o>999||h===93&&!s||h===null||h===91||Fe(h))return n(h);if(h===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return a=jt(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(h),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Fe(h)||(s=!0),o++,e.consume(h),h===92?d:c}function d(h){return h===91||h===92||h===93?(e.consume(h),o++,c):c(h)}function p(h){return h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),i.includes(a)||i.push(a),Ae(e,m,"gfmFootnoteDefinitionWhitespace")):n(h)}function m(h){return t(h)}}function ik(e,t,n){return e.check(yr,t,e.attempt(_w,t,n))}function ok(e){e.exit("gfmFootnoteDefinition")}function ak(e,t,n){const r=this;return Ae(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):n(a)}}function sk(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,s){let l=-1;for(;++l<o.length;)if(o[l][0]==="enter"&&o[l][1].type==="strikethroughSequenceTemporary"&&o[l][1]._close){let u=l;for(;u--;)if(o[u][0]==="exit"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._open&&o[l][1].end.offset-o[l][1].start.offset===o[u][1].end.offset-o[u][1].start.offset){o[l][1].type="strikethroughSequence",o[u][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},o[u][1].start),end:Object.assign({},o[l][1].end)},d={type:"strikethroughText",start:Object.assign({},o[u][1].end),end:Object.assign({},o[l][1].start)},p=[["enter",c,s],["enter",o[u][1],s],["exit",o[u][1],s],["enter",d,s]],m=s.parser.constructs.insideSpan.null;m&&St(p,p.length,0,hi(m,o.slice(u+1,l),s)),St(p,p.length,0,[["exit",d,s],["enter",o[l][1],s],["exit",o[l][1],s],["exit",c,s]]),St(o,u-1,l-u+3,p),l=u+p.length-2;break}}for(l=-1;++l<o.length;)o[l][1].type==="strikethroughSequenceTemporary"&&(o[l][1].type="data");return o}function a(o,s,l){const u=this.previous,c=this.events;let d=0;return p;function p(h){return u===126&&c[c.length-1][1].type!=="characterEscape"?l(h):(o.enter("strikethroughSequenceTemporary"),m(h))}function m(h){const g=In(u);if(h===126)return d>1?l(h):(o.consume(h),d++,m);if(d<2&&!n)return l(h);const b=o.exit("strikethroughSequenceTemporary"),y=In(h);return b._open=!y||y===2&&!!g,b._close=!g||g===2&&!!y,s(h)}}}class lk{constructor(){this.map=[]}add(t,n,r){uk(this,t,n,r)}consume(t){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0}}function uk(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function ck(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function dk(){return{flow:{null:{name:"table",tokenize:fk,resolveAll:mk}}}}function fk(e,t,n){const r=this;let i=0,a=0,o;return s;function s(k){let j=r.events.length-1;for(;j>-1;){const F=r.events[j][1].type;if(F==="lineEnding"||F==="linePrefix")j--;else break}const I=j>-1?r.events[j][1].type:null,V=I==="tableHead"||I==="tableRow"?z:l;return V===z&&r.parser.lazy[r.now().line]?n(k):V(k)}function l(k){return e.enter("tableHead"),e.enter("tableRow"),u(k)}function u(k){return k===124||(o=!0,a+=1),c(k)}function c(k){return k===null?n(k):te(k)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),m):n(k):xe(k)?Ae(e,c,"whitespace")(k):(a+=1,o&&(o=!1,i+=1),k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),o=!0,c):(e.enter("data"),d(k)))}function d(k){return k===null||k===124||Fe(k)?(e.exit("data"),c(k)):(e.consume(k),k===92?p:d)}function p(k){return k===92||k===124?(e.consume(k),d):d(k)}function m(k){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(k):(e.enter("tableDelimiterRow"),o=!1,xe(k)?Ae(e,h,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):h(k))}function h(k){return k===45||k===58?b(k):k===124?(o=!0,e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),g):P(k)}function g(k){return xe(k)?Ae(e,b,"whitespace")(k):b(k)}function b(k){return k===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),y):k===45?(a+=1,y(k)):k===null||te(k)?E(k):P(k)}function y(k){return k===45?(e.enter("tableDelimiterFiller"),w(k)):P(k)}function w(k){return k===45?(e.consume(k),w):k===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),S):(e.exit("tableDelimiterFiller"),S(k))}function S(k){return xe(k)?Ae(e,E,"whitespace")(k):E(k)}function E(k){return k===124?h(k):k===null||te(k)?!o||i!==a?P(k):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(k)):P(k)}function P(k){return n(k)}function z(k){return e.enter("tableRow"),T(k)}function T(k){return k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),T):k===null||te(k)?(e.exit("tableRow"),t(k)):xe(k)?Ae(e,T,"whitespace")(k):(e.enter("data"),L(k))}function L(k){return k===null||k===124||Fe(k)?(e.exit("data"),T(k)):(e.consume(k),k===92?N:L)}function N(k){return k===92||k===124?(e.consume(k),L):L(k)}}function mk(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,l=0,u,c,d;const p=new lk;for(;++n<e.length;){const m=e[n],h=m[1];m[0]==="enter"?h.type==="tableHead"?(s=!1,l!==0&&(ul(p,t,l,u,c),c=void 0,l=0),u={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(n,0,[["enter",u,t]])):h.type==="tableRow"||h.type==="tableDelimiterRow"?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,c={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(n,0,[["enter",c,t]])),i=h.type==="tableDelimiterRow"?2:c?3:1):i&&(h.type==="data"||h.type==="tableDelimiterMarker"||h.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=Rr(p,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):h.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=Rr(p,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):h.type==="tableHead"?(s=!0,l=n):h.type==="tableRow"||h.type==="tableDelimiterRow"?(l=n,a[1]!==0?(o[0]=o[1],d=Rr(p,t,a,i,n,d)):o[1]!==0&&(d=Rr(p,t,o,i,n,d)),i=0):i&&(h.type==="data"||h.type==="tableDelimiterMarker"||h.type==="tableDelimiterFiller")&&(o[3]=n)}for(l!==0&&ul(p,t,l,u,c),p.consume(t.events),n=-1;++n<t.events.length;){const m=t.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=ck(t.events,n))}return e}function Rr(e,t,n,r,i,a){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(a.end=Object.assign({},Pn(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const l=Pn(t.events,n[1]);if(a={type:o,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const u=Pn(t.events,n[2]),c=Pn(t.events,n[3]),d={type:s,start:Object.assign({},u),end:Object.assign({},c)};if(e.add(n[2],0,[["enter",d,t]]),r!==2){const p=t.events[n[2]],m=t.events[n[3]];if(p[1].end=Object.assign({},m[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){const h=n[2]+1,g=n[3]-n[2]-1;e.add(h,g,[])}}e.add(n[3]+1,0,[["exit",d,t]])}return i!==void 0&&(a.end=Object.assign({},Pn(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function ul(e,t,n,r,i){const a=[],o=Pn(t.events,n);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),r.end=Object.assign({},o),a.push(["exit",r,t]),e.add(n+1,0,a)}function Pn(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const pk={name:"tasklistCheck",tokenize:gk};function hk(){return{text:{91:pk}}}function gk(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),a)}function a(l){return Fe(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):n(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return te(l)?t(l):xe(l)?e.check({tokenize:bk},t,n)(l):n(l)}}function bk(e,t,n){return Ae(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function yk(e){return yc([Jw(),$w(),sk(e),dk(),hk()])}const vk={};function xk(e){const t=this,n=e||vk,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(yk(n)),a.push(Bw()),o.push(Ww(n))}function _e(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function wk(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const Lr=43200,cl=1440;let kk={};function cd(){return kk}function dl(e,t){var s,l,u,c;const n=cd(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,i=_e(e),a=i.getDay(),o=(a<r?7:0)+a-r;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function fl(e){const t=_e(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Xr(e,t){const n=_e(e),r=_e(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}function Sk(e){return wk(e,Date.now())}function Ck(e,t){const n=_e(e),r=_e(t),i=n.getFullYear()-r.getFullYear(),a=n.getMonth()-r.getMonth();return i*12+a}function zk(e){return t=>{const r=(e?Math[e]:Math.trunc)(t);return r===0?0:r}}function Ak(e,t){return+_e(e)-+_e(t)}function Ek(e){const t=_e(e);return t.setHours(23,59,59,999),t}function Pk(e){const t=_e(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function jk(e){const t=_e(e);return+Ek(t)==+Pk(t)}function Tk(e,t){const n=_e(e),r=_e(t),i=Xr(n,r),a=Math.abs(Ck(n,r));let o;if(a<1)o=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-i*a);let s=Xr(n,r)===-i;jk(_e(e))&&a===1&&Xr(e,r)===1&&(s=!1),o=i*(a-Number(s))}return o===0?0:o}function Nk(e,t,n){const r=Ak(e,t)/1e3;return zk(n==null?void 0:n.roundingMethod)(r)}const Mk={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Ik=(e,t,n)=>{let r;const i=Mk[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Be(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Dk={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Rk={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Lk={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ok={date:Be({formats:Dk,defaultWidth:"full"}),time:Be({formats:Rk,defaultWidth:"full"}),dateTime:Be({formats:Lk,defaultWidth:"full"})},Fk={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Bk=(e,t,n,r)=>Fk[e];function le(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let i;if(r==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{const o=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[s]||e.values[o]}const a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}const Wk={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},qk={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Vk={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Jk={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Hk={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Uk={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Xk=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Zk={ordinalNumber:Xk,era:le({values:Wk,defaultWidth:"wide"}),quarter:le({values:qk,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:Vk,defaultWidth:"wide"}),day:le({values:Jk,defaultWidth:"wide"}),dayPeriod:le({values:Hk,defaultWidth:"wide",formattingValues:Uk,defaultFormattingWidth:"wide"})};function ue(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;const o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?Kk(s,d=>d.test(o)):Gk(s,d=>d.test(o));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const c=t.slice(o.length);return{value:u,rest:c}}}function Gk(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Kk(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function _t(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;const s=t.slice(i.length);return{value:o,rest:s}}}const Qk=/^(\d+)(th|st|nd|rd)?/i,Yk=/\d+/i,_k={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},$k={any:[/^b/i,/^(a|c)/i]},e0={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},t0={any:[/1/i,/2/i,/3/i,/4/i]},n0={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},r0={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},i0={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},o0={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},a0={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},s0={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},l0={ordinalNumber:_t({matchPattern:Qk,parsePattern:Yk,valueCallback:e=>parseInt(e,10)}),era:ue({matchPatterns:_k,defaultMatchWidth:"wide",parsePatterns:$k,defaultParseWidth:"any"}),quarter:ue({matchPatterns:e0,defaultMatchWidth:"wide",parsePatterns:t0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:n0,defaultMatchWidth:"wide",parsePatterns:r0,defaultParseWidth:"any"}),day:ue({matchPatterns:i0,defaultMatchWidth:"wide",parsePatterns:o0,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:a0,defaultMatchWidth:"any",parsePatterns:s0,defaultParseWidth:"any"})},ma={code:"en-US",formatDistance:Ik,formatLong:Ok,formatRelative:Bk,localize:Zk,match:l0,options:{weekStartsOn:0,firstWeekContainsDate:1}};function u0(e,t,n){const r=cd(),i=(n==null?void 0:n.locale)??r.locale??ma,a=2520,o=Xr(e,t);if(isNaN(o))throw new RangeError("Invalid time value");const s=Object.assign({},n,{addSuffix:n==null?void 0:n.addSuffix,comparison:o});let l,u;o>0?(l=_e(t),u=_e(e)):(l=_e(e),u=_e(t));const c=Nk(u,l),d=(fl(u)-fl(l))/1e3,p=Math.round((c-d)/60);let m;if(p<2)return n!=null&&n.includeSeconds?c<5?i.formatDistance("lessThanXSeconds",5,s):c<10?i.formatDistance("lessThanXSeconds",10,s):c<20?i.formatDistance("lessThanXSeconds",20,s):c<40?i.formatDistance("halfAMinute",0,s):c<60?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",1,s):p===0?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",p,s);if(p<45)return i.formatDistance("xMinutes",p,s);if(p<90)return i.formatDistance("aboutXHours",1,s);if(p<cl){const h=Math.round(p/60);return i.formatDistance("aboutXHours",h,s)}else{if(p<a)return i.formatDistance("xDays",1,s);if(p<Lr){const h=Math.round(p/cl);return i.formatDistance("xDays",h,s)}else if(p<Lr*2)return m=Math.round(p/Lr),i.formatDistance("aboutXMonths",m,s)}if(m=Tk(u,l),m<12){const h=Math.round(p/Lr);return i.formatDistance("xMonths",h,s)}else{const h=m%12,g=Math.trunc(m/12);return h<3?i.formatDistance("aboutXYears",g,s):h<9?i.formatDistance("overXYears",g,s):i.formatDistance("almostXYears",g+1,s)}}function c0(e,t){return u0(e,Sk(e),t)}function ur(e,t,n){const r=dl(e,n),i=dl(t,n);return+r==+i}const d0={lessThanXSeconds:{one:"أقل من ثانية",two:"أقل من ثانيتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانيتان",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتان",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريبا",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتان",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومان",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريبا",two:"أسبوعين تقريبا",threeToTen:"{{count}} أسابيع تقريبا",other:"{{count}} أسبوعا تقريبا"},xWeeks:{one:"أسبوع واحد",two:"أسبوعان",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوعا"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريبا",threeToTen:"{{count}} أشهر تقريبا",other:"{{count}} شهرا تقريباً"},xMonths:{one:"شهر واحد",two:"شهران",threeToTen:"{{count}} أشهر",other:"{{count}} شهرا"},aboutXYears:{one:"سنة واحدة تقريباً",two:"سنتين تقريبا",threeToTen:"{{count}} سنوات تقريباً",other:"{{count}} سنة تقريباً"},xYears:{one:"سنة واحد",two:"سنتان",threeToTen:"{{count}} سنوات",other:"{{count}} سنة"},overXYears:{one:"أكثر من سنة",two:"أكثر من سنتين",threeToTen:"أكثر من {{count}} سنوات",other:"أكثر من {{count}} سنة"},almostXYears:{one:"ما يقارب سنة واحدة",two:"ما يقارب سنتين",threeToTen:"ما يقارب {{count}} سنوات",other:"ما يقارب {{count}} سنة"}},f0=(e,t,n)=>{const r=d0[e];let i;return typeof r=="string"?i=r:t===1?i=r.one:t===2?i=r.two:t<=10?i=r.threeToTen.replace("{{count}}",String(t)):i=r.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"خلال "+i:"منذ "+i:i},m0={full:"EEEE، do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},p0={full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},h0={full:"{{date}} 'عند الساعة' {{time}}",long:"{{date}} 'عند الساعة' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},g0={date:Be({formats:m0,defaultWidth:"full"}),time:Be({formats:p0,defaultWidth:"full"}),dateTime:Be({formats:h0,defaultWidth:"full"})},b0={lastWeek:"eeee 'الماضي عند الساعة' p",yesterday:"'الأمس عند الساعة' p",today:"'اليوم عند الساعة' p",tomorrow:"'غدا عند الساعة' p",nextWeek:"eeee 'القادم عند الساعة' p",other:"P"},y0=e=>b0[e],v0={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},x0={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},w0={narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},k0={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},S0={narrow:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"}},C0={narrow:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"}},z0=e=>String(e),A0={ordinalNumber:z0,era:le({values:v0,defaultWidth:"wide"}),quarter:le({values:x0,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:w0,defaultWidth:"wide"}),day:le({values:k0,defaultWidth:"wide"}),dayPeriod:le({values:S0,defaultWidth:"wide",formattingValues:C0,defaultFormattingWidth:"wide"})},E0=/^(\d+)(th|st|nd|rd)?/i,P0=/\d+/i,j0={narrow:/[قب]/,abbreviated:/[قب]\.م\./,wide:/(قبل|بعد) الميلاد/},T0={any:[/قبل/,/بعد/]},N0={narrow:/^[1234]/i,abbreviated:/ر[1234]/,wide:/الربع (الأول|الثاني|الثالث|الرابع)/},M0={any:[/1/i,/2/i,/3/i,/4/i]},I0={narrow:/^[أيفمسند]/,abbreviated:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/,wide:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},D0={narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^يناير/i,/^فبراير/i,/^مارس/i,/^أبريل/i,/^مايو/i,/^يونيو/i,/^يوليو/i,/^أغسطس/i,/^سبتمبر/i,/^أكتوبر/i,/^نوفمبر/i,/^ديسمبر/i]},R0={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},L0={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},O0={narrow:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/,any:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/},F0={any:{am:/^ص/,pm:/^م/,midnight:/منتصف الليل/,noon:/الظهر/,afternoon:/بعد الظهر/,morning:/في الصباح/,evening:/في المساء/,night:/في الليل/}},B0={ordinalNumber:_t({matchPattern:E0,parsePattern:P0,valueCallback:e=>parseInt(e,10)}),era:ue({matchPatterns:j0,defaultMatchWidth:"wide",parsePatterns:T0,defaultParseWidth:"any"}),quarter:ue({matchPatterns:N0,defaultMatchWidth:"wide",parsePatterns:M0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:I0,defaultMatchWidth:"wide",parsePatterns:D0,defaultParseWidth:"any"}),day:ue({matchPatterns:R0,defaultMatchWidth:"wide",parsePatterns:L0,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:O0,defaultMatchWidth:"any",parsePatterns:F0,defaultParseWidth:"any"})},W0={code:"ar",formatDistance:f0,formatLong:g0,formatRelative:y0,localize:A0,match:B0,options:{weekStartsOn:6,firstWeekContainsDate:1}},ml={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},q0=(e,t,n)=>{let r;const i=n!=null&&n.addSuffix?ml[e].withPreposition:ml[e].standalone;return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:"vor "+r:r},V0={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},J0={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},H0={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},U0={date:Be({formats:V0,defaultWidth:"full"}),time:Be({formats:J0,defaultWidth:"full"}),dateTime:Be({formats:H0,defaultWidth:"full"})},X0={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},Z0=(e,t,n,r)=>X0[e],G0={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},K0={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},No={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},Q0={narrow:No.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:No.wide},Y0={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},_0={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},$0={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},e1=e=>Number(e)+".",t1={ordinalNumber:e1,era:le({values:G0,defaultWidth:"wide"}),quarter:le({values:K0,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:No,formattingValues:Q0,defaultWidth:"wide"}),day:le({values:Y0,defaultWidth:"wide"}),dayPeriod:le({values:_0,defaultWidth:"wide",formattingValues:$0,defaultFormattingWidth:"wide"})},n1=/^(\d+)(\.)?/i,r1=/\d+/i,i1={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},o1={any:[/^v/i,/^n/i]},a1={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},s1={any:[/1/i,/2/i,/3/i,/4/i]},l1={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},u1={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},c1={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},d1={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},f1={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},m1={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},p1={ordinalNumber:_t({matchPattern:n1,parsePattern:r1,valueCallback:e=>parseInt(e)}),era:ue({matchPatterns:i1,defaultMatchWidth:"wide",parsePatterns:o1,defaultParseWidth:"any"}),quarter:ue({matchPatterns:a1,defaultMatchWidth:"wide",parsePatterns:s1,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:l1,defaultMatchWidth:"wide",parsePatterns:u1,defaultParseWidth:"any"}),day:ue({matchPatterns:c1,defaultMatchWidth:"wide",parsePatterns:d1,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:f1,defaultMatchWidth:"wide",parsePatterns:m1,defaultParseWidth:"any"})},pl={code:"de",formatDistance:q0,formatLong:U0,formatRelative:Z0,localize:t1,match:p1,options:{weekStartsOn:1,firstWeekContainsDate:4}},h1={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},g1=(e,t,n)=>{let r;const i=h1[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"en "+r:"hace "+r:r},b1={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},y1={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},v1={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},x1={date:Be({formats:b1,defaultWidth:"full"}),time:Be({formats:y1,defaultWidth:"full"}),dateTime:Be({formats:v1,defaultWidth:"full"})},w1={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},k1={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},S1=(e,t,n,r)=>t.getHours()!==1?k1[e]:w1[e],C1={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},z1={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},A1={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},E1={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},P1={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},j1={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},T1=(e,t)=>Number(e)+"º",N1={ordinalNumber:T1,era:le({values:C1,defaultWidth:"wide"}),quarter:le({values:z1,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:le({values:A1,defaultWidth:"wide"}),day:le({values:E1,defaultWidth:"wide"}),dayPeriod:le({values:P1,defaultWidth:"wide",formattingValues:j1,defaultFormattingWidth:"wide"})},M1=/^(\d+)(º)?/i,I1=/\d+/i,D1={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},R1={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},L1={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},O1={any:[/1/i,/2/i,/3/i,/4/i]},F1={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},B1={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},W1={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},q1={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},V1={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},J1={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},H1={ordinalNumber:_t({matchPattern:M1,parsePattern:I1,valueCallback:function(e){return parseInt(e,10)}}),era:ue({matchPatterns:D1,defaultMatchWidth:"wide",parsePatterns:R1,defaultParseWidth:"any"}),quarter:ue({matchPatterns:L1,defaultMatchWidth:"wide",parsePatterns:O1,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:F1,defaultMatchWidth:"wide",parsePatterns:B1,defaultParseWidth:"any"}),day:ue({matchPatterns:W1,defaultMatchWidth:"wide",parsePatterns:q1,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:V1,defaultMatchWidth:"any",parsePatterns:J1,defaultParseWidth:"any"})},U1={code:"es",formatDistance:g1,formatLong:x1,formatRelative:S1,localize:N1,match:H1,options:{weekStartsOn:1,firstWeekContainsDate:1}},X1={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},Z1=(e,t,n)=>{let r;const i=X1[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+r:"il y a "+r:r},G1={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},K1={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Q1={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Y1={date:Be({formats:G1,defaultWidth:"full"}),time:Be({formats:K1,defaultWidth:"full"}),dateTime:Be({formats:Q1,defaultWidth:"full"})},_1={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},$1=(e,t,n,r)=>_1[e],eS={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},tS={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},nS={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},rS={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},iS={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},oS=(e,t)=>{const n=Number(e),r=t==null?void 0:t.unit;if(n===0)return"0";const i=["year","week","hour","minute","second"];let a;return n===1?a=r&&i.includes(r)?"ère":"er":a="ème",n+a},aS=["MMM","MMMM"],sS={preprocessor:(e,t)=>e.getDate()===1||!t.some(r=>r.isToken&&aS.includes(r.value))?t:t.map(r=>r.isToken&&r.value==="do"?{isToken:!0,value:"d"}:r),ordinalNumber:oS,era:le({values:eS,defaultWidth:"wide"}),quarter:le({values:tS,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:nS,defaultWidth:"wide"}),day:le({values:rS,defaultWidth:"wide"}),dayPeriod:le({values:iS,defaultWidth:"wide"})},lS=/^(\d+)(ième|ère|ème|er|e)?/i,uS=/\d+/i,cS={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},dS={any:[/^av/i,/^ap/i]},fS={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},mS={any:[/1/i,/2/i,/3/i,/4/i]},pS={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},hS={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},gS={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},bS={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},yS={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},vS={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},xS={ordinalNumber:_t({matchPattern:lS,parsePattern:uS,valueCallback:e=>parseInt(e)}),era:ue({matchPatterns:cS,defaultMatchWidth:"wide",parsePatterns:dS,defaultParseWidth:"any"}),quarter:ue({matchPatterns:fS,defaultMatchWidth:"wide",parsePatterns:mS,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:pS,defaultMatchWidth:"wide",parsePatterns:hS,defaultParseWidth:"any"}),day:ue({matchPatterns:gS,defaultMatchWidth:"wide",parsePatterns:bS,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:yS,defaultMatchWidth:"any",parsePatterns:vS,defaultParseWidth:"any"})},wS={code:"fr",formatDistance:Z1,formatLong:Y1,formatRelative:$1,localize:sS,match:xS,options:{weekStartsOn:1,firstWeekContainsDate:4}},kS={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},SS=(e,t,n)=>{let r;const i=kS[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+r:r+" fa":r},CS={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},zS={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},AS={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},ES={date:Be({formats:CS,defaultWidth:"full"}),time:Be({formats:zS,defaultWidth:"full"}),dateTime:Be({formats:AS,defaultWidth:"full"})},pa=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function PS(e){switch(e){case 0:return"'domenica scorsa alle' p";default:return"'"+pa[e]+" scorso alle' p"}}function hl(e){return"'"+pa[e]+" alle' p"}function jS(e){switch(e){case 0:return"'domenica prossima alle' p";default:return"'"+pa[e]+" prossimo alle' p"}}const TS={lastWeek:(e,t,n)=>{const r=e.getDay();return ur(e,t,n)?hl(r):PS(r)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(e,t,n)=>{const r=e.getDay();return ur(e,t,n)?hl(r):jS(r)},other:"P"},NS=(e,t,n,r)=>{const i=TS[e];return typeof i=="function"?i(t,n,r):i},MS={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},IS={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},DS={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},RS={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},LS={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},OS={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},FS=(e,t)=>{const n=Number(e);return String(n)},BS={ordinalNumber:FS,era:le({values:MS,defaultWidth:"wide"}),quarter:le({values:IS,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:DS,defaultWidth:"wide"}),day:le({values:RS,defaultWidth:"wide"}),dayPeriod:le({values:LS,defaultWidth:"wide",formattingValues:OS,defaultFormattingWidth:"wide"})},WS=/^(\d+)(º)?/i,qS=/\d+/i,VS={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},JS={any:[/^a/i,/^(d|e)/i]},HS={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},US={any:[/1/i,/2/i,/3/i,/4/i]},XS={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},ZS={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},GS={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},KS={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},QS={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},YS={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},_S={ordinalNumber:_t({matchPattern:WS,parsePattern:qS,valueCallback:e=>parseInt(e,10)}),era:ue({matchPatterns:VS,defaultMatchWidth:"wide",parsePatterns:JS,defaultParseWidth:"any"}),quarter:ue({matchPatterns:HS,defaultMatchWidth:"wide",parsePatterns:US,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:XS,defaultMatchWidth:"wide",parsePatterns:ZS,defaultParseWidth:"any"}),day:ue({matchPatterns:GS,defaultMatchWidth:"wide",parsePatterns:KS,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:QS,defaultMatchWidth:"any",parsePatterns:YS,defaultParseWidth:"any"})},$S={code:"it",formatDistance:SS,formatLong:ES,formatRelative:NS,localize:BS,match:_S,options:{weekStartsOn:1,firstWeekContainsDate:4}},eC={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function tC(e,t){if(t===1)return e.one;const n=t%100;if(n<=20&&n>10)return e.other;const r=n%10;return r>=2&&r<=4?e.twoFour:e.other}function oo(e,t,n){const r=tC(e,t);return(typeof r=="string"?r:r[n]).replace("{{count}}",String(t))}const nC=(e,t,n)=>{const r=eC[e];return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"za "+oo(r,t,"future"):oo(r,t,"past")+" temu":oo(r,t,"regular")},rC={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},iC={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},oC={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},aC={date:Be({formats:rC,defaultWidth:"full"}),time:Be({formats:iC,defaultWidth:"full"}),dateTime:Be({formats:oC,defaultWidth:"full"})},sC={masculine:"ostatni",feminine:"ostatnia"},lC={masculine:"ten",feminine:"ta"},uC={masculine:"następny",feminine:"następna"},cC={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function gl(e,t,n,r){let i;if(ur(t,n,r))i=lC;else if(e==="lastWeek")i=sC;else if(e==="nextWeek")i=uC;else throw new Error(`Cannot determine adjectives for token ${e}`);const a=t.getDay(),o=cC[a];return`'${i[o]}' eeee 'o' p`}const dC={lastWeek:gl,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:gl,other:"P"},fC=(e,t,n,r)=>{const i=dC[e];return typeof i=="function"?i(e,t,n,r):i},mC={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},pC={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},hC={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},gC={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},bC={narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},yC={narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},vC={narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},xC={narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},wC=(e,t)=>String(e),kC={ordinalNumber:wC,era:le({values:mC,defaultWidth:"wide"}),quarter:le({values:pC,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:hC,defaultWidth:"wide",formattingValues:gC,defaultFormattingWidth:"wide"}),day:le({values:bC,defaultWidth:"wide",formattingValues:yC,defaultFormattingWidth:"wide"}),dayPeriod:le({values:vC,defaultWidth:"wide",formattingValues:xC,defaultFormattingWidth:"wide"})},SC=/^(\d+)?/i,CC=/\d+/i,zC={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},AC={any:[/^p/i,/^n/i]},EC={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},PC={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},jC={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},TC={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},NC={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},MC={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},IC={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},DC={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},RC={ordinalNumber:_t({matchPattern:SC,parsePattern:CC,valueCallback:e=>parseInt(e,10)}),era:ue({matchPatterns:zC,defaultMatchWidth:"wide",parsePatterns:AC,defaultParseWidth:"any"}),quarter:ue({matchPatterns:EC,defaultMatchWidth:"wide",parsePatterns:PC,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:jC,defaultMatchWidth:"wide",parsePatterns:TC,defaultParseWidth:"any"}),day:ue({matchPatterns:NC,defaultMatchWidth:"wide",parsePatterns:MC,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:IC,defaultMatchWidth:"any",parsePatterns:DC,defaultParseWidth:"any"})},LC={code:"pl",formatDistance:nC,formatLong:aC,formatRelative:fC,localize:kC,match:RC,options:{weekStartsOn:1,firstWeekContainsDate:4}},OC={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},FC=(e,t,n)=>{let r;const i=OC[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+" sonra":r+" önce":r},BC={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},WC={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},qC={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},VC={date:Be({formats:BC,defaultWidth:"full"}),time:Be({formats:WC,defaultWidth:"full"}),dateTime:Be({formats:qC,defaultWidth:"full"})},JC={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},HC=(e,t,n,r)=>JC[e],UC={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},XC={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},ZC={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},GC={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},KC={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},QC={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},YC=(e,t)=>Number(e)+".",_C={ordinalNumber:YC,era:le({values:UC,defaultWidth:"wide"}),quarter:le({values:XC,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:le({values:ZC,defaultWidth:"wide"}),day:le({values:GC,defaultWidth:"wide"}),dayPeriod:le({values:KC,defaultWidth:"wide",formattingValues:QC,defaultFormattingWidth:"wide"})},$C=/^(\d+)(\.)?/i,ez=/\d+/i,tz={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},nz={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},rz={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},iz={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},oz={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},az={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},sz={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},lz={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},uz={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},cz={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},dz={ordinalNumber:_t({matchPattern:$C,parsePattern:ez,valueCallback:function(e){return parseInt(e,10)}}),era:ue({matchPatterns:tz,defaultMatchWidth:"wide",parsePatterns:nz,defaultParseWidth:"any"}),quarter:ue({matchPatterns:rz,defaultMatchWidth:"wide",parsePatterns:iz,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:oz,defaultMatchWidth:"wide",parsePatterns:az,defaultParseWidth:"any"}),day:ue({matchPatterns:sz,defaultMatchWidth:"wide",parsePatterns:lz,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:uz,defaultMatchWidth:"any",parsePatterns:cz,defaultParseWidth:"any"})},fz={code:"tr",formatDistance:FC,formatLong:VC,formatRelative:HC,localize:_C,match:dz,options:{weekStartsOn:1,firstWeekContainsDate:1}};function _n(e,t){if(e.one!==void 0&&t===1)return e.one;const n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function ft(e){return(t,n)=>n&&n.addSuffix?n.comparison&&n.comparison>0?e.future?_n(e.future,t):"за "+_n(e.regular,t):e.past?_n(e.past,t):_n(e.regular,t)+" тому":_n(e.regular,t)}const mz=(e,t)=>t&&t.addSuffix?t.comparison&&t.comparison>0?"за півхвилини":"півхвилини тому":"півхвилини",pz={lessThanXSeconds:ft({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:ft({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:mz,lessThanXMinutes:ft({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:ft({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:ft({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:ft({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:ft({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днi",pluralGenitive:"{{count}} днів"}}),aboutXWeeks:ft({regular:{singularNominative:"близько {{count}} тижня",singularGenitive:"близько {{count}} тижнів",pluralGenitive:"близько {{count}} тижнів"},future:{singularNominative:"приблизно за {{count}} тиждень",singularGenitive:"приблизно за {{count}} тижні",pluralGenitive:"приблизно за {{count}} тижнів"}}),xWeeks:ft({regular:{singularNominative:"{{count}} тиждень",singularGenitive:"{{count}} тижні",pluralGenitive:"{{count}} тижнів"}}),aboutXMonths:ft({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяці",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:ft({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяці",pluralGenitive:"{{count}} місяців"}}),aboutXYears:ft({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:ft({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:ft({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:ft({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})},hz=(e,t,n)=>(n=n||{},pz[e](t,n)),gz={full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},bz={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},yz={full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},vz={date:Be({formats:gz,defaultWidth:"full"}),time:Be({formats:bz,defaultWidth:"full"}),dateTime:Be({formats:yz,defaultWidth:"full"})},ha=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function xz(e){const t=ha[e];switch(e){case 0:case 3:case 5:case 6:return"'у минулу "+t+" о' p";case 1:case 2:case 4:return"'у минулий "+t+" о' p"}}function dd(e){return"'у "+ha[e]+" о' p"}function wz(e){const t=ha[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступну "+t+" о' p";case 1:case 2:case 4:return"'у наступний "+t+" о' p"}}const kz=(e,t,n)=>{const r=_e(e),i=r.getDay();return ur(r,t,n)?dd(i):xz(i)},Sz=(e,t,n)=>{const r=_e(e),i=r.getDay();return ur(r,t,n)?dd(i):wz(i)},Cz={lastWeek:kz,yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:Sz,other:"P"},zz=(e,t,n,r)=>{const i=Cz[e];return typeof i=="function"?i(t,n,r):i},Az={narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},Ez={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},Pz={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},jz={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},Tz={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},Nz={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранок",afternoon:"день",evening:"вечір",night:"ніч"}},Mz={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"}},Iz=(e,t)=>{const n=String(t==null?void 0:t.unit),r=Number(e);let i;return n==="date"?r===3||r===23?i="-є":i="-е":n==="minute"||n==="second"||n==="hour"?i="-а":i="-й",r+i},Dz={ordinalNumber:Iz,era:le({values:Az,defaultWidth:"wide"}),quarter:le({values:Ez,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:Pz,defaultWidth:"wide",formattingValues:jz,defaultFormattingWidth:"wide"}),day:le({values:Tz,defaultWidth:"wide"}),dayPeriod:le({values:Nz,defaultWidth:"any",formattingValues:Mz,defaultFormattingWidth:"wide"})},Rz=/^(\d+)(-?(е|й|є|а|я))?/i,Lz=/\d+/i,Oz={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},Fz={any:[/^д/i,/^н/i]},Bz={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},Wz={any:[/1/i,/2/i,/3/i,/4/i]},qz={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},Vz={narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},Jz={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},Hz={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},Uz={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},Xz={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},Zz={ordinalNumber:_t({matchPattern:Rz,parsePattern:Lz,valueCallback:e=>parseInt(e,10)}),era:ue({matchPatterns:Oz,defaultMatchWidth:"wide",parsePatterns:Fz,defaultParseWidth:"any"}),quarter:ue({matchPatterns:Bz,defaultMatchWidth:"wide",parsePatterns:Wz,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:qz,defaultMatchWidth:"wide",parsePatterns:Vz,defaultParseWidth:"any"}),day:ue({matchPatterns:Jz,defaultMatchWidth:"wide",parsePatterns:Hz,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:Uz,defaultMatchWidth:"wide",parsePatterns:Xz,defaultParseWidth:"any"})},Gz={code:"uk",formatDistance:hz,formatLong:vz,formatRelative:zz,localize:Dz,match:Zz,options:{weekStartsOn:1,firstWeekContainsDate:1}},bl="group-hover:[animation-play-state:paused] group-focus-within:[animation-play-state:paused]";function Kz({quickActions:e,theme:t,onSelect:n,pauseOnHover:r=!1}){return e.length?f.jsxs("div",{className:`${r?"group ":""}space-y-1.5 mb-4 py-2`,style:{animation:"fadeInUp 0.6s ease-out"},children:[f.jsx("div",{className:"relative flex gap-2 overflow-x-hidden overflow-y-visible py-1",children:f.jsx("div",{className:`flex gap-2 animate-[scrollLeft_25s_linear_infinite] ${r?bl:""}`,children:[...e.slice(0,4),...e.slice(0,4)].map((i,a)=>f.jsx("button",{onClick:()=>n(i.message),"aria-label":`Schnellaktion: ${i.title}`,className:`flex-shrink-0 px-4 py-2.5 rounded-full text-xs font-medium transition-all duration-300 whitespace-nowrap focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 focus:ring-offset-background hover:scale-105 border ${t==="light"?"bg-white/90 text-foreground shadow-none hover:bg-white hover:shadow-none":"bg-white/8 backdrop-blur-[10px] text-foreground/90 hover:bg-white/15 hover:shadow-[0_4px_15px_hsl(var(--glow-primary)/0.3)]"}`,style:{borderColor:"hsl(var(--chat-quick-border))"},children:i.title},`row1-${a}`))})}),f.jsx("div",{className:"relative flex gap-2 overflow-x-hidden overflow-y-visible py-1",children:f.jsx("div",{className:`flex gap-2 animate-[scrollRight_30s_linear_infinite] ${r?bl:""}`,children:[...e.slice(4),...e.slice(4)].map((i,a)=>f.jsx("button",{onClick:()=>n(i.message),"aria-label":`Schnellaktion: ${i.title}`,className:`flex-shrink-0 px-4 py-2.5 rounded-full text-xs font-medium transition-all duration-300 whitespace-nowrap hover:scale-105 focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 focus:ring-offset-background border ${t==="light"?"bg-white/90 text-foreground shadow-none hover:bg-white hover:shadow-none":"bg-white/8 backdrop-blur-[10px] text-foreground/90 hover:bg-white/15 hover:shadow-[0_4px_15px_hsl(var(--glow-primary)/0.3)]"}`,style:{borderColor:"hsl(var(--chat-quick-border))"},children:i.title},`row2-${a}`))})})]}):null}const Qz=({sources:e})=>e.length===0?null:f.jsxs("div",{className:"space-y-1.5 w-full min-w-full",children:[f.jsx("div",{className:"text-[10px] uppercase tracking-wider text-foreground/50 font-semibold",children:"Quellen"}),f.jsx("div",{className:"flex flex-col gap-1",children:e.map((t,n)=>f.jsx("div",{className:"flex items-center gap-2 text-xs text-foreground/70 bg-muted rounded-lg px-3 py-2 border border-border hover:bg-muted/80 transition-all group w-full max-w-full min-w-full",children:t.url?f.jsxs("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 flex-1 min-w-0 max-w-full hover:text-primary transition-colors",children:[f.jsx(hn,{className:"w-3 h-3 flex-shrink-0 group-hover:scale-110 transition-transform"}),f.jsx("span",{className:"text-left break-words leading-snug",children:t.name})]}):f.jsxs("span",{className:"flex items-center gap-2 flex-1 min-w-0 max-w-full",children:[f.jsx("span",{className:"w-3 h-3 rounded-full bg-primary/30 flex-shrink-0"}),f.jsx("span",{className:"text-left break-words leading-snug",children:t.name})]})},n))})]}),yl={de:"de",en:"en",fr:"fr",es:"es",it:"it",tr:"tr",ar:"ar",pl:"pl",ua:"uk",simple:"de"},vl={de:{play:"Vorlesen",stop:"Vorlesen stoppen"},en:{play:"Play audio",stop:"Stop audio"},fr:{play:"Lire à haute voix",stop:"Arrêter la lecture"},es:{play:"Leer en voz alta",stop:"Detener la lectura"},it:{play:"Leggi ad alta voce",stop:"Ferma la lettura"},tr:{play:"Sesli oku",stop:"Okumayı durdur"},ar:{play:"تشغيل الصوت",stop:"إيقاف الصوت"},pl:{play:"Odczytaj",stop:"Zatrzymaj odczyt"},ua:{play:"Зачитати",stop:"Зупинити відтворення"},simple:{play:"Vorlesen",stop:"Vorlesen stoppen"}},xl={de:"de-DE",en:"en-US",fr:"fr-FR",es:"es-ES",it:"it-IT",tr:"tr-TR",ar:"ar",pl:"pl-PL",ua:"uk-UA",simple:"de-DE"};let at=null;const Yz="data:audio/wav;base64,UklGRiYAAABXQVZFZm10IBAAAAABAAEAQB8AAIA+AAACABAAZGF0YQIAAAAAAA==",_z=()=>{if(typeof navigator>"u")return!1;const e=navigator.userAgent||"",t=navigator.platform||"",n=navigator.maxTouchPoints||0;return/iPad|iPhone|iPod/.test(e)||t==="MacIntel"&&n>1};let $n="locked";const $z=()=>{if($n==="locked"&&!(typeof document>"u")){$n="attempting";try{const e=document.createElement("audio");e.preload="auto",e.src=Yz,e.volume=0,e.muted=!1;const t=e.play();Promise.resolve(t).then(()=>{e.pause(),e.removeAttribute("src"),e.load(),$n="unlocked"}).catch(()=>{$n="locked"})}catch{$n="locked"}}},ao=()=>{if(at){const e=at;at=null,e.stop()}},eA=()=>{if(typeof window>"u")return!1;const e=window.MediaSource;return e?typeof e.isTypeSupported=="function"&&e.isTypeSupported("audio/mpeg"):!1},tA=e=>{var r;const t=e==null?void 0:e.trim();return t&&((r=t.split(";")[0])==null?void 0:r.trim())||"audio/mpeg"},nA=({text:e,language:t="de",className:n,modelId:r,voiceId:i,voiceSettings:a})=>{const[o,s]=M.useState("idle"),[l,u]=M.useState(null),c=M.useRef(+`${Date.now()}${Math.floor(Math.random()*1e3)}`),d=M.useRef(null),p=M.useRef(null),m=M.useRef(null),h=M.useRef(null),g=(T={})=>{var N;const{clearGlobal:L=!0}=T;(N=p.current)==null||N.abort(),p.current=null,d.current&&(d.current.pause(),d.current.currentTime=0,d.current.remove(),d.current=null),m.current&&(URL.revokeObjectURL(m.current),m.current=null,u(null)),h.current&&typeof window<"u"&&window.speechSynthesis&&((!L||(at==null?void 0:at.ownerId)===c.current)&&window.speechSynthesis.cancel(),h.current=null),L&&(at==null?void 0:at.ownerId)===c.current&&(at=null),s("idle")};M.useEffect(()=>()=>{g()},[]);const b=T=>{if(typeof window>"u"||typeof SpeechSynthesisUtterance>"u"||!window.speechSynthesis)return!1;ao(),g();const L=new SpeechSynthesisUtterance(T);L.lang=xl[t]||xl.de,h.current=L,s("playing");const N=()=>{window.speechSynthesis&&window.speechSynthesis.cancel(),g({clearGlobal:!1})};at={ownerId:c.current,stop:N};const k=()=>{g()};return L.onend=k,L.onerror=k,window.speechSynthesis.speak(L),!0},y=async(T,L,N,k)=>{var Pe;const j=(Pe=T.body)==null?void 0:Pe.getReader();if(!j)throw new Error("No response body");await new Promise((se,Ce)=>{if(k.aborted){Ce(Object.assign(new Error("Aborted"),{name:"AbortError"}));return}if(L.readyState==="open"){se();return}const _=()=>{ve(),se()},H=()=>{ve(),Ce(new Error("MediaSource closed"))},$=()=>{ve(),Ce(Object.assign(new Error("Aborted"),{name:"AbortError"}))},ve=()=>{L.removeEventListener("sourceopen",_),L.removeEventListener("sourceended",H),L.removeEventListener("sourceclose",H),k.removeEventListener("abort",$)};L.addEventListener("sourceopen",_),L.addEventListener("sourceended",H),L.addEventListener("sourceclose",H),k.addEventListener("abort",$)});const I=L.addSourceBuffer(N);try{I.mode="sequence"}catch{}const V=[];let F=!1,O=!1;const B=()=>Object.assign(new Error("Aborted"),{name:"AbortError"});let K=null,X=null;const Q=new Promise((se,Ce)=>{K=se,X=Ce});Q.catch(()=>{});let x=null,oe=null,Ee=null;const C=()=>{x&&I.removeEventListener("updateend",x),oe&&I.removeEventListener("error",oe),Ee&&k.removeEventListener("abort",Ee)},Ie=se=>{O||(O=!0,C(),se())},We=se=>{try{j.cancel()}catch{}Ie(()=>{X==null||X(se instanceof Error?se:new Error("Audio stream failed"))})},Ne=()=>{O||F&&(I.updating||V.length>0||Ie(()=>{try{L.readyState==="open"&&L.endOfStream()}catch{}K==null||K()}))},Le=()=>{if(O)return;if(k.aborted){We(B());return}if(I.updating)return;const se=V.shift();if(!se){Ne();return}try{I.appendBuffer(se)}catch(Ce){We(Ce)}};x=()=>{Le(),Ne()},oe=()=>{We(new Error("Audio stream buffer error"))},Ee=()=>{We(B())},I.addEventListener("updateend",x),I.addEventListener("error",oe),k.addEventListener("abort",Ee),k.aborted&&Ee();try{for(;;){const{value:se,done:Ce}=await j.read();if(Ce)break;if(k.aborted)throw B();se!=null&&se.byteLength&&(V.push(se.buffer.slice(se.byteOffset,se.byteOffset+se.byteLength)),Le())}F=!0,Le(),Ne(),await Q}catch(se){return O||We(se),await Q}finally{try{j.releaseLock()}catch{}}},w=async()=>{const T=e==null?void 0:e.trim();if(!T)return;if(typeof Audio>"u"){b(T)||bt({title:"Audio nicht verfügbar",description:"Ihr Browser unterstützt keine Audiowiedergabe.",variant:"destructive"});return}ao(),g();const L=_z();L&&$z();const N=new AbortController;p.current=N,s("loading"),at={ownerId:c.current,stop:()=>g({clearGlobal:!1})};try{const k=!L&&eA(),j=document.createElement("audio");j.preload="auto",j.volume=1,j.muted=!1,j.setAttribute("playsinline","true"),j.setAttribute("webkit-playsinline","true");let I=null,V=null;if(k){const O=window.MediaSource;I=new O;const B=URL.createObjectURL(I);j.src=B,m.current=B,u(B),V=(async()=>{const K=await Gu({text:T,languageCode:yl[t]||void 0,modelId:r||void 0,voiceId:i||void 0,voiceSettings:a||void 0,signal:N.signal}),X=tA(K.headers.get("content-type")),Q=typeof O.isTypeSupported=="function"&&O.isTypeSupported(X)?X:"audio/mpeg";await y(K,I,Q,N.signal)})()}else{const O=await fh({text:T,languageCode:yl[t]||void 0,modelId:r||void 0,voiceId:i||void 0,voiceSettings:a||void 0,signal:N.signal}),B=URL.createObjectURL(O);j.src=B,m.current=B,u(B)}L&&typeof document<"u"&&document.body&&(j.style.display="none",document.body.appendChild(j)),d.current=j;const F=()=>{g()};j.onended=F,j.onerror=()=>{F(),b(T)||bt({title:"Wiedergabe fehlgeschlagen",description:"Audio playback failed",variant:"destructive"})};try{const O=L?new Promise(X=>{let x;const oe=()=>{j.removeEventListener("playing",Ee),j.removeEventListener("timeupdate",C),j.removeEventListener("error",Ie),x!==void 0&&window.clearTimeout(x)},Ee=()=>{oe(),X(!0)},C=()=>{j.currentTime>0&&(oe(),X(!0))},Ie=()=>{oe(),X(!1)};x=window.setTimeout(()=>{oe(),X(!j.paused&&!j.ended)},2e3),j.addEventListener("playing",Ee),j.addEventListener("timeupdate",C),j.addEventListener("error",Ie)}):Promise.resolve(!0),B=Promise.resolve(j.play());if(V){const X=V.then(()=>new Promise(()=>{}),Q=>Promise.reject(Q));await Promise.race([B,X])}else await B;if(!await O)throw new Error("Audio playback did not start");s("playing")}catch(O){const B=typeof O=="object"&&O!==null&&"name"in O&&O.name==="NotAllowedError";if(L&&(B||(O==null?void 0:O.message)==="Audio playback did not start")){s("ready"),bt({title:"Tippen zum Abspielen",description:"Auf iOS kann ein zweites Tippen nötig sein, um Audio zu starten."});return}if(F(),!b(T)){const X=O instanceof Error?O.message:"Audio playback failed";bt({title:"Wiedergabe fehlgeschlagen",description:X,variant:"destructive"})}return}V&&await V}catch(k){if((k==null?void 0:k.name)==="AbortError"){h.current||g();return}if(g(),!b(T)){const I=k instanceof Error?k.message:"Text-to-speech fehlgeschlagen";bt({title:"Text-to-Speech fehlgeschlagen",description:I,variant:"destructive"})}}finally{p.current=null}},S=()=>{if(o==="loading"||o==="playing")g();else if(o==="ready"){const T=d.current;if(!T){w();return}(at==null?void 0:at.ownerId)!==c.current&&ao(),at={ownerId:c.current,stop:()=>g({clearGlobal:!1})};const L=T.play();Promise.resolve(L).then(()=>s("playing")).catch(N=>{const k=N instanceof Error?N.message:"Audio playback failed";bt({title:"Wiedergabe fehlgeschlagen",description:k,variant:"destructive"}),g()})}else w()},E=vl[t]||vl.de,P=o==="playing"?E.stop:E.play,z=["p-1 rounded transition-colors",o==="playing"||o==="loading"?"text-primary":"text-foreground/40 hover:text-primary",n||""].join(" ").trim();return f.jsxs("button",{type:"button",onClick:S,className:z,"aria-label":P,title:P,children:[o==="loading"?f.jsx(Zf,{className:"w-3 h-3 animate-spin"}):o==="playing"?f.jsx(lm,{className:"w-3 h-3"}):f.jsx(sm,{className:"w-3 h-3"}),f.jsx("span",{className:"sr-only",children:P})]})},rA=()=>f.jsxs("div",{className:"flex items-center gap-2 px-4 py-3 max-w-[85%] w-fit bg-card/50 backdrop-blur-sm rounded-2xl rounded-tl-none border border-border/30 shadow-lg animate-message-slide-in",children:[f.jsxs("div",{className:"flex gap-1",children:[f.jsx("div",{className:"w-2 h-2 rounded-full bg-primary animate-typing-pulse",style:{animationDelay:"0ms"},"aria-hidden":"true"}),f.jsx("div",{className:"w-2 h-2 rounded-full bg-primary animate-typing-pulse",style:{animationDelay:"200ms"},"aria-hidden":"true"}),f.jsx("div",{className:"w-2 h-2 rounded-full bg-primary animate-typing-pulse",style:{animationDelay:"400ms"},"aria-hidden":"true"})]}),f.jsx("span",{className:"sr-only",children:"Assistent tippt..."})]}),cr=e=>e&&typeof e=="object"&&!Array.isArray(e)?e:{},dr=e=>Array.isArray(e)?e.map(cr).filter(t=>Object.keys(t).length>0):[],Se=e=>typeof e=="string"||typeof e=="number"?String(e):"",ni=(e,t=!1)=>{const n=Se(e);if(!n)return"";const r=new Date(t?n:`${n}T00:00:00Z`);return Number.isNaN(r.getTime())?n:new Intl.DateTimeFormat("de-DE",{weekday:"short",day:"2-digit",month:"2-digit",...t?{hour:"2-digit",minute:"2-digit"}:{timeZone:"UTC"}}).format(r)},wl=e=>{const t=new Date(Se(e));return Number.isNaN(t.getTime())?"":new Intl.DateTimeFormat("de-DE",{hour:"2-digit",minute:"2-digit"}).format(t)},iA=e=>{if(e.fee_visibility==="hidden")return"";const t=Se(e.fee_amount),n=Number(t);return t&&Number.isFinite(n)&&Se(e.fee_currency)?`${new Intl.NumberFormat("de-DE",{style:"currency",currency:Se(e.fee_currency)}).format(n)} vor Ort`:e.requires_payment||e.fee_visibility==="on_site"?"Gebühr vor Ort":""},xr=(e,t)=>{const[n,r]=M.useState(null);return{chosen:n,pick:(a,o)=>{e||n||(r(a),t(o))}}},Nn=4;function oA({title:e,state:t}){return f.jsxs("div",{className:"flex items-center justify-between gap-3 border-b border-border/70 bg-primary/[0.04] px-3 py-2.5",children:[f.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[f.jsx("span",{className:`flex h-7 w-7 shrink-0 items-center justify-center rounded-lg ${t==="success"?"bg-emerald-500/10 text-emerald-600":t==="cancelled"?"bg-destructive/10 text-destructive":"bg-primary/10 text-primary"}`,children:t==="success"?f.jsx(tu,{className:"h-4 w-4","aria-hidden":"true"}):t==="cancelled"?f.jsx(Vf,{className:"h-4 w-4","aria-hidden":"true"}):f.jsx(Bf,{className:"h-4 w-4","aria-hidden":"true"})}),f.jsx("span",{className:"truncate text-sm font-semibold text-foreground",children:e})]}),f.jsx("span",{className:"shrink-0 text-[10px] font-semibold uppercase tracking-[0.12em] text-foreground/45",title:"Live-Daten aus dem Amturo-Terminsystem",children:"Amturo · live"})]})}function cn({title:e,state:t,children:n}){return f.jsxs("section",{className:"w-full max-w-[380px] overflow-hidden rounded-2xl border border-border/80 bg-[hsl(var(--chat-message-bot))] text-foreground shadow-[0_8px_24px_rgba(0,0,0,0.07)]",children:[f.jsx(oA,{title:e,state:t}),n]})}const vn="focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-[hsl(var(--chat-message-bot))]",Dn=({children:e,disabled:t,onClick:n,variant:r="primary"})=>f.jsx("button",{type:"button",disabled:t,onClick:n,className:`inline-flex min-h-10 items-center justify-center gap-1.5 rounded-xl px-3.5 py-2 text-xs font-semibold transition-colors disabled:cursor-not-allowed disabled:opacity-50 ${vn} ${r==="primary"?"bg-primary text-primary-foreground hover:bg-primary/90":r==="destructive"?"bg-destructive text-destructive-foreground hover:bg-destructive/90":"border border-border text-foreground/75 hover:bg-primary/[0.06] hover:text-foreground"}`,children:e}),vi=({label:e="Ausgewählt"})=>f.jsxs("span",{className:"inline-flex min-h-8 items-center gap-1.5 rounded-lg bg-emerald-500/10 px-2.5 py-1 text-xs font-semibold text-emerald-600",children:[f.jsx(wn,{className:"h-3.5 w-3.5","aria-hidden":"true"}),e]}),aA={BOOKED:{label:"Gebucht",className:"bg-emerald-500/10 text-emerald-600"},CONFIRMED:{label:"Bestätigt",className:"bg-emerald-500/10 text-emerald-600"},PENDING:{label:"Ausstehend",className:"bg-amber-500/10 text-amber-600"},RESERVED:{label:"Reserviert",className:"bg-amber-500/10 text-amber-600"},CANCELLED:{label:"Storniert",className:"bg-destructive/10 text-destructive"}},kl=({status:e})=>{if(!e)return null;const t=aA[e.toUpperCase()]??{label:e,className:"bg-muted text-foreground/70"};return f.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-0.5 text-[11px] font-semibold ${t.className}`,children:t.label})},xi=({icon:e,text:t,children:n})=>f.jsxs("div",{className:"flex flex-col items-start gap-2.5 p-3",children:[f.jsxs("div",{className:"flex items-start gap-2.5 text-xs leading-relaxed text-foreground/60",children:[f.jsx("span",{className:"mt-0.5 shrink-0 text-foreground/40",children:e}),f.jsx("p",{children:t})]}),n]}),fd=({hiddenCount:e,onClick:t})=>f.jsxs("button",{type:"button",onClick:t,className:`w-full border-t border-border/60 px-3 py-2.5 text-center text-xs font-semibold text-primary transition-colors hover:bg-primary/[0.05] ${vn} focus-visible:ring-inset focus-visible:ring-offset-0`,children:["Alle anzeigen (",e," weitere)"]});function sA({data:e,disabled:t,onAction:n}){const r=dr(e.locations),{chosen:i,pick:a}=xr(t,n),[o,s]=M.useState(!1),l=o||i?r:r.slice(0,Nn);return f.jsxs(cn,{title:"Standort",children:[!r.length&&f.jsx(xi,{icon:f.jsx(Ga,{className:"h-4 w-4","aria-hidden":"true"}),text:"Keine Standorte verfügbar."}),f.jsx("div",{className:"divide-y divide-border/60",children:l.map(u=>{const c=Se(u.id),d=Se(u.name),p=[Se(u.address),[Se(u.postal_code),Se(u.city)].filter(Boolean).join(" ")].filter(Boolean).join(", "),m=i===(c||d),h=i!==null&&!m;return f.jsx("div",{className:`p-3 transition-opacity ${h?"opacity-45":""}`,children:f.jsxs("div",{className:"flex gap-2.5",children:[f.jsx(Ga,{className:"mt-0.5 h-4 w-4 shrink-0 text-primary","aria-hidden":"true"}),f.jsxs("div",{className:"min-w-0 flex-1",children:[f.jsx("div",{className:"text-sm font-semibold",children:d}),p&&f.jsx("div",{className:"mt-0.5 text-xs leading-relaxed text-foreground/60",children:p}),!i&&f.jsx("div",{className:"mt-2",children:f.jsx(Dn,{disabled:t,onClick:()=>a(c||d,`Ich wähle den Standort „${d}“ (area_id ${c}).`),children:"Diesen Standort wählen"})}),m&&f.jsx("div",{className:"mt-2",children:f.jsx(vi,{})})]})]})},c||d)})}),!o&&!i&&r.length>Nn&&f.jsx(fd,{hiddenCount:r.length-Nn,onClick:()=>s(!0)})]})}function lA({data:e,disabled:t,onAction:n}){const r=dr(e.counters),{chosen:i,pick:a}=xr(t,n);return f.jsxs(cn,{title:"Schalter",children:[!r.length&&f.jsx(xi,{icon:f.jsx(Ka,{className:"h-4 w-4","aria-hidden":"true"}),text:"Keine Schalter verfügbar."}),f.jsx("div",{className:"divide-y divide-border/60",children:r.map(o=>{const s=Se(o.id),l=Se(o.name),u=s||l,c=i===u,d=i!==null&&!c;return f.jsxs("button",{type:"button",disabled:t||i!==null,"aria-pressed":c,onClick:()=>a(u,`Ich wähle „${l}“ (counter_id ${s}).`),className:`flex w-full items-center gap-3 p-3 text-left transition-all ${vn} focus-visible:ring-inset focus-visible:ring-offset-0 ${d?"opacity-45":""} ${i===null?"hover:bg-primary/[0.06] disabled:opacity-50":"cursor-default"}`,children:[f.jsx(Ka,{className:"h-4 w-4 shrink-0 text-primary","aria-hidden":"true"}),f.jsxs("span",{className:"min-w-0 flex-1",children:[f.jsx("span",{className:"block text-sm font-semibold",children:l}),Se(o.description)&&f.jsx("span",{className:"mt-0.5 block text-xs text-foreground/60",children:Se(o.description)})]}),c&&f.jsx(wn,{className:"h-4 w-4 shrink-0 text-emerald-600","aria-hidden":"true"})]},u)})})]})}function Sl({data:e,disabled:t,onAction:n,details:r=!1}){const a=(r?[cr(e.service)]:dr(e.services)).filter(d=>Se(d.id)&&Se(d.name)),{chosen:o,pick:s}=xr(t,n),[l,u]=M.useState(!1),c=r||l||o?a:a.slice(0,Nn);return f.jsxs(cn,{title:r?"Leistungsdetails":"Leistung",children:[!a.length&&f.jsx(xi,{icon:f.jsx(Za,{className:"h-4 w-4","aria-hidden":"true"}),text:"Keine passende Leistung gefunden."}),f.jsx("div",{className:"divide-y divide-border/60",children:c.map(d=>{const p=Se(d.id),m=Se(d.name),h=iA(d),g=o===p,b=o!==null&&!g;return f.jsxs("div",{className:`p-3 transition-opacity ${b?"opacity-45":""}`,children:[f.jsx("div",{className:"text-sm font-semibold leading-snug",children:m}),f.jsxs("div",{className:"mt-1.5 flex flex-wrap gap-x-3 gap-y-1 text-[11px] text-foreground/60",children:[Se(d.duration_minutes)&&f.jsxs("span",{className:"inline-flex items-center gap-1",children:[f.jsx(Hf,{className:"h-3 w-3","aria-hidden":"true"}),Se(d.duration_minutes)," Min."]}),h&&f.jsxs("span",{className:"inline-flex items-center gap-1",children:[f.jsx(em,{className:"h-3 w-3","aria-hidden":"true"}),h]}),!!d.requires_documents&&f.jsxs("span",{className:"inline-flex items-center gap-1",children:[f.jsx(Za,{className:"h-3 w-3","aria-hidden":"true"}),"Dokumente nötig"]}),!!d.is_video_eligible&&f.jsxs("span",{className:"inline-flex items-center gap-1",children:[f.jsx(_f,{className:"h-3 w-3","aria-hidden":"true"}),"Video möglich"]})]}),r&&Se(d.documents_info)&&f.jsxs("div",{className:"mt-2 rounded-lg bg-muted/60 px-2.5 py-2 text-xs leading-relaxed text-foreground/70",children:["Mitbringen: ",Se(d.documents_info)]}),!o&&f.jsx("div",{className:"mt-2.5",children:f.jsx(Dn,{disabled:t,onClick:()=>s(p,r?`Zeige mir verfügbare Termine für „${m}“ (service_id ${p}).`:`Ich wähle die Leistung „${m}“ (service_id ${p}).`),children:r?"Termine anzeigen":"Leistung wählen"})}),g&&f.jsx("div",{className:"mt-2.5",children:f.jsx(vi,{label:r?"Termine angefragt":"Ausgewählt"})})]},p)})}),!r&&!l&&!o&&a.length>Nn&&f.jsx(fd,{hiddenCount:a.length-Nn,onClick:()=>u(!0)})]})}function uA({data:e,disabled:t,onAction:n}){const r=cr(e.availability),i=dr(r.days),o=(i.length?i:[{date:r.date,slots:r.slots}]).map(c=>({date:Se(c.date),slots:dr(c.slots).filter(d=>d.available===!0)})).filter(c=>c.date&&c.slots.length),s=Se(e.service_id||r.service_id),{chosen:l,pick:u}=xr(t,n);return f.jsxs(cn,{title:"Freie Termine",children:[!o.length&&f.jsx(xi,{icon:f.jsx(Wf,{className:"h-4 w-4","aria-hidden":"true"}),text:"Im angefragten Zeitraum sind keine freien Termine verfügbar.",children:f.jsx(Dn,{variant:"ghost",disabled:t,onClick:()=>n(s?`Bitte schlage mir alternative Zeiträume mit freien Terminen für service_id ${s} vor.`:"Bitte schlage mir alternative Zeiträume mit freien Terminen vor."),children:"Andere Zeiträume vorschlagen"})}),o.length>0&&f.jsx("div",{className:"max-h-72 overflow-y-auto pb-3",children:o.map(c=>f.jsxs("div",{children:[f.jsxs("div",{className:"sticky top-0 z-10 flex items-baseline justify-between gap-2 bg-[hsl(var(--chat-message-bot))] px-3 pb-1.5 pt-3",children:[f.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.08em] text-foreground/50",children:ni(c.date)}),f.jsxs("span",{className:"text-[10px] text-foreground/35",children:[c.slots.length," ",c.slots.length===1?"Termin":"Termine"]})]}),f.jsx("div",{className:"grid grid-cols-3 gap-1.5 px-3",children:c.slots.map(d=>{const p=Se(d.time),m=`${c.date}-${p}`,h=l===m,g=l!==null&&!h;return f.jsxs("button",{type:"button",disabled:t||l!==null&&!h,"aria-pressed":h,"aria-label":`Termin am ${ni(c.date)} um ${p} Uhr wählen`,onClick:()=>u(m,`Ich wähle den Termin am ${c.date} um ${p} Uhr für service_id ${s}.`),className:`inline-flex min-h-10 items-center justify-center gap-1 rounded-xl border px-2 py-1.5 text-xs font-semibold transition-all ${vn} ${h?"border-primary bg-primary text-primary-foreground":`border-primary/25 bg-primary/[0.06] text-foreground ${l===null?"hover:border-primary/50 hover:bg-primary/10":""} disabled:cursor-not-allowed ${g?"opacity-40":"disabled:opacity-50"}`}`,children:[h&&f.jsx(wn,{className:"h-3.5 w-3.5","aria-hidden":"true"}),p]},m)})})]},c.date))})]})}function cA({data:e,disabled:t,onAction:n}){const r=Se(e.consent_text),{chosen:i,pick:a}=xr(t,n);return r?f.jsx(cn,{title:"Datenschutz",children:f.jsxs("div",{className:"p-3",children:[f.jsxs("div",{className:"flex gap-2.5 text-xs leading-relaxed text-foreground/70",children:[f.jsx(rm,{className:"mt-0.5 h-4 w-4 shrink-0 text-primary","aria-hidden":"true"}),f.jsx("p",{className:"max-h-44 overflow-y-auto pr-1",children:r})]}),f.jsx("div",{className:"mt-3",children:i?f.jsx(vi,{label:"Einwilligung erteilt"}):f.jsx(Dn,{disabled:t,onClick:()=>a("consent",`Ich willige ausdrücklich ein: „${r}“`),children:"Ausdrücklich zustimmen"})})]})}):null}function dA({expiresAt:e}){const t=new Date(e).getTime(),[n,r]=M.useState(()=>Date.now()),i=M.useRef(Math.max(1,t-Date.now()));if(M.useEffect(()=>{if(!Number.isFinite(t))return;const c=setInterval(()=>r(Date.now()),1e3);return()=>clearInterval(c)},[t]),!Number.isFinite(t))return null;const a=Math.max(0,t-n);if(a<=0)return f.jsx("div",{className:"mt-2 rounded-lg bg-amber-500/10 px-2.5 py-2 text-xs font-medium leading-relaxed text-amber-600",children:"Die Reservierung ist abgelaufen. Bitte wählen Sie erneut einen Termin."});const o=Math.ceil(a/1e3),s=Math.floor(o/60),l=o%60,u=Math.min(1,a/i.current);return f.jsxs("div",{className:"mt-2",children:[f.jsxs("div",{className:"text-xs leading-relaxed text-foreground/60",children:["Noch ",f.jsxs("span",{className:"font-semibold tabular-nums text-foreground/80",children:[s,":",String(l).padStart(2,"0")]})," Min. reserviert",wl(e)?` (bis ${wl(e)} Uhr)`:"","."]}),f.jsx("div",{className:"mt-1.5 h-1 overflow-hidden rounded-full bg-muted",role:"presentation",children:f.jsx("div",{className:"h-full rounded-full bg-primary transition-[width] duration-1000 ease-linear",style:{width:`${Math.round(u*100)}%`}})})]})}function fA({data:e}){const t=Se(e.expires_at);return f.jsx(cn,{title:"Termin reserviert",children:f.jsx("div",{className:"p-3",children:f.jsxs("div",{className:"flex items-start gap-2.5",children:[f.jsx(eu,{className:"mt-0.5 h-4 w-4 shrink-0 text-primary","aria-hidden":"true"}),f.jsxs("div",{className:"min-w-0 flex-1",children:[f.jsx("div",{className:"text-sm font-semibold",children:[ni(e.date),Se(e.time)&&`${Se(e.time)} Uhr`].filter(Boolean).join(" · ")||"Slot reserviert"}),f.jsx("div",{className:"mt-1 text-xs leading-relaxed text-foreground/60",children:"Die Buchung ist noch nicht bestätigt."}),t?f.jsx(dA,{expiresAt:t}):f.jsx("div",{className:"mt-1 text-xs leading-relaxed text-foreground/60",children:"Der Slot ist für 5 Minuten reserviert."})]})]})})})}function so({data:e,disabled:t,onAction:n,cancelled:r=!1,statusOnly:i=!1}){const a=Object.keys(cr(e.booking)).length?cr(e.booking):e,o=Se(a.booking_reference||e.booking_reference),s=Se(a.id||e.booking_id),l=ni(a.start_datetime||e.start_datetime,!0),u=Se(a.status||e.status),c=r||u.toUpperCase()==="CANCELLED",d=c?"Termin storniert":i?"Terminstatus":"Termin bestätigt",[p,m]=M.useState("idle"),h=Se(a.meeting_url||e.meeting_url),g=!c&&(!u||u.toUpperCase()==="BOOKED")&&s;return f.jsx(cn,{title:d,state:c?"cancelled":"success",children:f.jsxs("div",{className:"p-3",children:[o&&f.jsxs("div",{className:"flex items-start justify-between gap-3",children:[f.jsxs("div",{children:[f.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-[0.1em] text-foreground/50",children:"Buchungsnummer"}),f.jsx("div",{className:"mt-0.5 text-lg font-semibold tracking-tight",children:o})]}),f.jsx(kl,{status:u})]}),f.jsxs("div",{className:"mt-2 space-y-1.5 text-xs text-foreground/65",children:[l&&f.jsxs("div",{className:"flex items-center gap-1.5",children:[f.jsx(eu,{className:"h-3.5 w-3.5","aria-hidden":"true"}),l]}),!o&&u&&f.jsx("div",{children:f.jsx(kl,{status:u})})]}),!c&&h&&f.jsxs("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:`mt-3 inline-flex min-h-8 items-center gap-1.5 rounded-lg text-xs font-semibold text-primary hover:underline ${vn}`,children:["Video-Termin öffnen ",f.jsx(hn,{className:"h-3.5 w-3.5","aria-hidden":"true"})]}),g&&p==="idle"&&f.jsx("div",{className:"mt-3",children:f.jsx("button",{type:"button",disabled:t,onClick:()=>m("confirming"),className:`min-h-10 rounded-xl border border-border px-3.5 py-2 text-xs font-semibold text-foreground/70 transition-colors hover:border-destructive/40 hover:text-destructive disabled:cursor-not-allowed disabled:opacity-50 ${vn}`,children:"Termin stornieren"})}),g&&p==="confirming"&&f.jsxs("div",{className:"mt-3 rounded-xl border border-destructive/25 bg-destructive/[0.04] p-2.5",children:[f.jsx("div",{className:"text-xs font-medium text-foreground/80",children:"Termin wirklich stornieren?"}),f.jsxs("div",{className:"mt-2 flex gap-2",children:[f.jsx(Dn,{variant:"destructive",disabled:t,onClick:()=>{m("sent"),n(`Ich möchte den Termin ${o?`mit der Buchungsnummer ${o}`:`(booking_id ${s})`} stornieren.`)},children:"Ja, stornieren"}),f.jsx(Dn,{variant:"ghost",disabled:t,onClick:()=>m("idle"),children:"Behalten"})]})]}),g&&p==="sent"&&f.jsx("div",{className:"mt-3",children:f.jsx(vi,{label:"Stornierung angefragt"})})]})})}function mA({data:e}){const t=Se(e.url);return t?f.jsx(cn,{title:"Terminportal",children:f.jsx("div",{className:"p-3",children:f.jsxs("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:`inline-flex min-h-10 items-center gap-2 rounded-xl bg-primary px-3.5 py-2 text-xs font-semibold text-primary-foreground transition-colors hover:bg-primary/90 ${vn}`,children:["Amturo-Terminportal öffnen ",f.jsx(hn,{className:"h-3.5 w-3.5","aria-hidden":"true"})]})})}):null}function pA(e){switch(Se(e.data.action)){case"amturo_locations":return f.jsx(sA,{...e});case"amturo_counters":return f.jsx(lA,{...e});case"amturo_services":return f.jsx(Sl,{...e});case"amturo_service_details":return f.jsx(Sl,{...e,details:!0});case"amturo_slot_options":return f.jsx(uA,{...e});case"amturo_booking_consent":return f.jsx(cA,{...e});case"amturo_booking_intent_created":return f.jsx(fA,{data:e.data});case"amturo_booking_confirmed":return f.jsx(so,{...e});case"amturo_booking_status":return f.jsx(so,{...e,statusOnly:!0});case"amturo_booking_cancelled":return f.jsx(so,{...e,cancelled:!0});case"amturo_self_booking_link":return f.jsx(mA,{data:e.data});default:return null}}const Cl={de:{newConversation:"Neues Gespräch",newConversationTitle:"Neues Gespräch beginnen?",newConversationDescription:"Der bisherige Verlauf wird aus diesem Chat entfernt. Sie beginnen wieder beim Assistenten. Die gespeicherte Unterhaltung wird dadurch nicht gelöscht.",newConversationActiveWarning:"Der Support ist noch verbunden oder angefragt. Die Übergabe wird dabei abgebrochen, und Antworten im bisherigen Gespräch sehen Sie hier nicht mehr.",cancelNewConversation:"Abbrechen",request:"Mit einem Menschen sprechen",requestMessage:"Ich möchte bitte mit einem Menschen sprechen.",requesting:"Übergabe wird vorbereitet …",queued:"Warten auf einen Menschen …",queuedHint:"Sie können in der Zwischenzeit weiterschreiben.",active:"{name} hilft Ihnen jetzt",closed:"Das Gespräch mit dem Support ist beendet",failed:"Die Übergabe hat nicht geklappt",retry:"Erneut versuchen",operatorFallback:"Support",supportTag:"Support",headerWaiting:"Verbindung mit einem Menschen …",headerActive:"Sie sprechen mit {name}",headerClosed:"Support-Gespräch beendet",placeholderQueued:"Nachricht an das Support-Team …",placeholderActive:"Nachricht an {name} …",operatorJoined:"{name} ist dem Gespräch beigetreten",conversationClosed:"{name} hat das Gespräch beendet",handoverCancelled:"Sie haben die Übergabe abgebrochen",cancelHandover:"Übergabe abbrechen",cancelHandoverConfirm:"Übergabe wirklich abbrechen?",cancelHandoverYes:"Ja, abbrechen",cancelHandoverNo:"Nein",cancelHandoverFailed:"Abbrechen hat nicht geklappt. Bitte erneut versuchen.",continueWithAssistant:"Weiter mit dem Assistenten",requestAgain:"Erneut einen Menschen anfragen",delivered:"An das Support-Team übermittelt",notDelivered:"Nicht übermittelt"},simple:{newConversation:"Neues Gespräch",newConversationTitle:"Neu anfangen?",newConversationDescription:"Die alten Nachrichten verschwinden hier. Sie beginnen wieder mit dem Chat-Bot. Die gespeicherten Nachrichten werden nicht gelöscht.",newConversationActiveWarning:"Sie warten auf einen Menschen oder sprechen noch mit ihm. Das Gespräch mit dem Menschen wird dann beendet.",cancelNewConversation:"Abbrechen",request:"Mit einem Menschen sprechen",requestMessage:"Ich möchte mit einem Menschen sprechen.",requesting:"Wir verbinden Sie …",queued:"Bitte warten. Ein Mensch kommt gleich.",queuedHint:"Sie können weiter schreiben.",active:"{name} hilft Ihnen jetzt",closed:"Das Gespräch ist beendet",failed:"Das hat nicht geklappt",retry:"Noch einmal",operatorFallback:"Support",supportTag:"Mensch",headerWaiting:"Wir suchen einen Menschen …",headerActive:"Sie sprechen mit {name}",headerClosed:"Gespräch beendet",placeholderQueued:"Nachricht an den Support …",placeholderActive:"Nachricht an {name} …",operatorJoined:"{name} ist jetzt da",conversationClosed:"{name} hat das Gespräch beendet",handoverCancelled:"Sie haben das Gespräch mit dem Menschen beendet",cancelHandover:"Nicht mehr warten",cancelHandoverConfirm:"Wirklich beenden?",cancelHandoverYes:"Ja, beenden",cancelHandoverNo:"Nein",cancelHandoverFailed:"Das hat nicht geklappt. Bitte noch einmal.",continueWithAssistant:"Weiter mit dem Chat-Bot",requestAgain:"Noch einmal einen Menschen fragen",delivered:"Nachricht ist angekommen",notDelivered:"Nachricht ist nicht angekommen"},en:{newConversation:"New conversation",newConversationTitle:"Start a new conversation?",newConversationDescription:"The current history will be removed from this chat. You will start again with the assistant. This does not delete the saved conversation.",newConversationActiveWarning:"Support is still connected or has been requested. The handover will be cancelled, and further replies in the previous conversation will no longer appear here.",cancelNewConversation:"Cancel",request:"Talk to a person",requestMessage:"I would like to speak with a person.",requesting:"Preparing the handover…",queued:"Waiting for a person…",queuedHint:"You can keep writing in the meantime.",active:"{name} is helping you now",closed:"The support conversation has ended",failed:"The handover didn't go through",retry:"Try again",operatorFallback:"Support",supportTag:"Support",headerWaiting:"Connecting you with a person…",headerActive:"You're talking to {name}",headerClosed:"Support conversation ended",placeholderQueued:"Message to the support team…",placeholderActive:"Message to {name}…",operatorJoined:"{name} joined the conversation",conversationClosed:"{name} ended the conversation",handoverCancelled:"You cancelled the handover",cancelHandover:"Cancel handover",cancelHandoverConfirm:"Cancel the handover?",cancelHandoverYes:"Yes, cancel",cancelHandoverNo:"No",cancelHandoverFailed:"Couldn't cancel. Please try again.",continueWithAssistant:"Continue with the assistant",requestAgain:"Ask for a person again",delivered:"Delivered to the support team",notDelivered:"Not delivered"},fr:{newConversation:"Nouvelle conversation",newConversationTitle:"Commencer une nouvelle conversation ?",newConversationDescription:"L’historique actuel disparaîtra de ce chat. Vous recommencerez avec l’assistant. La conversation enregistrée ne sera pas supprimée.",newConversationActiveWarning:"Le support est encore connecté ou sollicité. Le transfert sera annulé et les réponses de l’ancienne conversation ne s’afficheront plus ici.",cancelNewConversation:"Annuler",request:"Parler à une personne",requestMessage:"Je souhaite parler à une personne.",requesting:"Préparation du transfert…",queued:"En attente d'une personne…",queuedHint:"Vous pouvez continuer à écrire en attendant.",active:"{name} vous aide maintenant",closed:"La conversation avec le support est terminée",failed:"Le transfert n'a pas abouti",retry:"Réessayer",operatorFallback:"Support",supportTag:"Support",headerWaiting:"Mise en relation avec une personne…",headerActive:"Vous parlez avec {name}",headerClosed:"Conversation avec le support terminée",placeholderQueued:"Message à l'équipe support…",placeholderActive:"Message à {name}…",operatorJoined:"{name} a rejoint la conversation",conversationClosed:"{name} a terminé la conversation",handoverCancelled:"Vous avez annulé le transfert",cancelHandover:"Annuler le transfert",cancelHandoverConfirm:"Annuler vraiment le transfert ?",cancelHandoverYes:"Oui, annuler",cancelHandoverNo:"Non",cancelHandoverFailed:"L'annulation a échoué. Veuillez réessayer.",continueWithAssistant:"Continuer avec l'assistant",requestAgain:"Demander à nouveau une personne",delivered:"Transmis à l'équipe support",notDelivered:"Non transmis"},es:{newConversation:"Nueva conversación",newConversationTitle:"¿Iniciar una nueva conversación?",newConversationDescription:"El historial actual desaparecerá de este chat. Empezarás de nuevo con el asistente. La conversación guardada no se eliminará.",newConversationActiveWarning:"El soporte sigue conectado o solicitado. La transferencia se cancelará y las respuestas de la conversación anterior ya no aparecerán aquí.",cancelNewConversation:"Cancelar",request:"Hablar con una persona",requestMessage:"Quiero hablar con una persona.",requesting:"Preparando la transferencia…",queued:"Esperando a una persona…",queuedHint:"Mientras tanto puedes seguir escribiendo.",active:"{name} te está ayudando",closed:"La conversación con soporte ha terminado",failed:"La transferencia no se completó",retry:"Reintentar",operatorFallback:"Soporte",supportTag:"Soporte",headerWaiting:"Conectando con una persona…",headerActive:"Estás hablando con {name}",headerClosed:"Conversación con soporte finalizada",placeholderQueued:"Mensaje para el equipo de soporte…",placeholderActive:"Mensaje para {name}…",operatorJoined:"{name} se ha unido a la conversación",conversationClosed:"{name} ha finalizado la conversación",handoverCancelled:"Ha cancelado la transferencia",cancelHandover:"Cancelar transferencia",cancelHandoverConfirm:"¿Cancelar la transferencia?",cancelHandoverYes:"Sí, cancelar",cancelHandoverNo:"No",cancelHandoverFailed:"No se pudo cancelar. Inténtelo de nuevo.",continueWithAssistant:"Continuar con el asistente",requestAgain:"Pedir una persona de nuevo",delivered:"Entregado al equipo de soporte",notDelivered:"No entregado"},it:{newConversation:"Nuova conversazione",newConversationTitle:"Iniziare una nuova conversazione?",newConversationDescription:"La cronologia attuale scomparirà da questa chat. Ricomincerai con l’assistente. La conversazione salvata non verrà eliminata.",newConversationActiveWarning:"Il supporto è ancora collegato o è stato richiesto. Il trasferimento verrà annullato e le risposte della conversazione precedente non appariranno più qui.",cancelNewConversation:"Annulla",request:"Parla con una persona",requestMessage:"Vorrei parlare con una persona.",requesting:"Preparazione del trasferimento…",queued:"In attesa di una persona…",queuedHint:"Nel frattempo puoi continuare a scrivere.",active:"{name} ti sta aiutando",closed:"La conversazione con il supporto è terminata",failed:"Il trasferimento non è riuscito",retry:"Riprova",operatorFallback:"Supporto",supportTag:"Supporto",headerWaiting:"Collegamento con una persona…",headerActive:"Stai parlando con {name}",headerClosed:"Conversazione con il supporto terminata",placeholderQueued:"Messaggio al team di supporto…",placeholderActive:"Messaggio a {name}…",operatorJoined:"{name} si è unito alla conversazione",conversationClosed:"{name} ha terminato la conversazione",handoverCancelled:"Hai annullato il trasferimento",cancelHandover:"Annulla trasferimento",cancelHandoverConfirm:"Annullare il trasferimento?",cancelHandoverYes:"Sì, annulla",cancelHandoverNo:"No",cancelHandoverFailed:"Annullamento non riuscito. Riprova.",continueWithAssistant:"Continua con l'assistente",requestAgain:"Richiedi di nuovo una persona",delivered:"Consegnato al team di supporto",notDelivered:"Non consegnato"},tr:{newConversation:"Yeni görüşme",newConversationTitle:"Yeni görüşme başlatılsın mı?",newConversationDescription:"Mevcut geçmiş bu sohbetten kaldırılacak. Asistanla yeniden başlayacaksınız. Kayıtlı görüşme silinmeyecek.",newConversationActiveWarning:"Destek hâlâ bağlı veya talep edildi. Aktarım iptal edilecek ve önceki görüşmedeki yanıtlar artık burada görünmeyecek.",cancelNewConversation:"İptal",request:"Bir kişiyle konuş",requestMessage:"Bir kişiyle konuşmak istiyorum.",requesting:"Aktarım hazırlanıyor…",queued:"Bir kişi bekleniyor…",queuedHint:"Bu sırada yazmaya devam edebilirsiniz.",active:"{name} şimdi size yardımcı oluyor",closed:"Destek görüşmesi sona erdi",failed:"Aktarım gerçekleşmedi",retry:"Tekrar dene",operatorFallback:"Destek",supportTag:"Destek",headerWaiting:"Bir kişiye bağlanıyor…",headerActive:"{name} ile konuşuyorsunuz",headerClosed:"Destek görüşmesi sona erdi",placeholderQueued:"Destek ekibine mesaj…",placeholderActive:"{name} için mesaj…",operatorJoined:"{name} görüşmeye katıldı",conversationClosed:"{name} görüşmeyi sonlandırdı",handoverCancelled:"Aktarımı iptal ettiniz",cancelHandover:"Aktarımı iptal et",cancelHandoverConfirm:"Aktarım iptal edilsin mi?",cancelHandoverYes:"Evet, iptal et",cancelHandoverNo:"Hayır",cancelHandoverFailed:"İptal edilemedi. Lütfen tekrar deneyin.",continueWithAssistant:"Asistanla devam et",requestAgain:"Tekrar bir kişi iste",delivered:"Destek ekibine iletildi",notDelivered:"İletilemedi"},ar:{newConversation:"محادثة جديدة",newConversationTitle:"هل تريد بدء محادثة جديدة؟",newConversationDescription:"سيختفي السجل الحالي من هذه الدردشة وستبدأ من جديد مع المساعد. لن تُحذف المحادثة المحفوظة.",newConversationActiveWarning:"لا يزال الدعم متصلاً أو تم طلبه. سيتم إلغاء التحويل ولن تظهر هنا الردود في المحادثة السابقة.",cancelNewConversation:"إلغاء",request:"التحدث مع شخص",requestMessage:"أرغب في التحدث مع شخص.",requesting:"جارٍ تجهيز التحويل…",queued:"في انتظار أحد الموظفين…",queuedHint:"يمكنك متابعة الكتابة في هذه الأثناء.",active:"{name} يساعدك الآن",closed:"انتهت محادثة الدعم",failed:"لم يتم التحويل",retry:"حاول مجددًا",operatorFallback:"الدعم",supportTag:"الدعم",headerWaiting:"جارٍ توصيلك بأحد الموظفين…",headerActive:"أنت تتحدث مع {name}",headerClosed:"انتهت محادثة الدعم",placeholderQueued:"رسالة إلى فريق الدعم…",placeholderActive:"رسالة إلى {name}…",operatorJoined:"انضم {name} إلى المحادثة",conversationClosed:"أنهى {name} المحادثة",handoverCancelled:"لقد ألغيت التحويل",cancelHandover:"إلغاء التحويل",cancelHandoverConfirm:"هل تريد إلغاء التحويل؟",cancelHandoverYes:"نعم، إلغاء",cancelHandoverNo:"لا",cancelHandoverFailed:"تعذّر الإلغاء. يُرجى المحاولة مرة أخرى.",continueWithAssistant:"المتابعة مع المساعد",requestAgain:"طلب موظف مرة أخرى",delivered:"تم الإرسال إلى فريق الدعم",notDelivered:"لم يتم الإرسال"},pl:{newConversation:"Nowa rozmowa",newConversationTitle:"Rozpocząć nową rozmowę?",newConversationDescription:"Dotychczasowa historia zniknie z tego czatu. Zaczniesz od nowa z asystentem. Zapisana rozmowa nie zostanie usunięta.",newConversationActiveWarning:"Wsparcie jest nadal połączone lub zostało poproszone o pomoc. Przekazanie zostanie anulowane, a odpowiedzi z poprzedniej rozmowy nie pojawią się tutaj.",cancelNewConversation:"Anuluj",request:"Porozmawiaj z człowiekiem",requestMessage:"Chcę porozmawiać z człowiekiem.",requesting:"Przygotowujemy przekazanie…",queued:"Czekamy na konsultanta…",queuedHint:"W międzyczasie możesz dalej pisać.",active:"{name} teraz Ci pomaga",closed:"Rozmowa ze wsparciem została zakończona",failed:"Przekazanie nie powiodło się",retry:"Spróbuj ponownie",operatorFallback:"Wsparcie",supportTag:"Wsparcie",headerWaiting:"Łączymy Cię z konsultantem…",headerActive:"Rozmawiasz z {name}",headerClosed:"Rozmowa ze wsparciem zakończona",placeholderQueued:"Wiadomość do zespołu wsparcia…",placeholderActive:"Wiadomość do {name}…",operatorJoined:"{name} dołącza do rozmowy",conversationClosed:"{name} kończy rozmowę",handoverCancelled:"Anulowano przekazanie",cancelHandover:"Anuluj przekazanie",cancelHandoverConfirm:"Czy na pewno anulować przekazanie?",cancelHandoverYes:"Tak, anuluj",cancelHandoverNo:"Nie",cancelHandoverFailed:"Nie udało się anulować. Spróbuj ponownie.",continueWithAssistant:"Kontynuuj z asystentem",requestAgain:"Poproś ponownie o konsultanta",delivered:"Dostarczono do zespołu wsparcia",notDelivered:"Nie dostarczono"},ua:{newConversation:"Нова розмова",newConversationTitle:"Почати нову розмову?",newConversationDescription:"Поточна історія зникне з цього чату. Ви почнете знову з асистентом. Збережену розмову не буде видалено.",newConversationActiveWarning:"Підтримку ще підключено або запит надіслано. Передачу буде скасовано, а відповіді в попередній розмові тут більше не з’являтимуться.",cancelNewConversation:"Скасувати",request:"Поговорити з людиною",requestMessage:"Я хочу поговорити з людиною.",requesting:"Готуємо передачу…",queued:"Очікуємо на оператора…",queuedHint:"Тим часом ви можете продовжувати писати.",active:"{name} зараз вам допомагає",closed:"Розмову з підтримкою завершено",failed:"Не вдалося передати діалог",retry:"Спробувати ще",operatorFallback:"Підтримка",supportTag:"Підтримка",headerWaiting:"З’єднуємо вас з оператором …",headerActive:"Ви спілкуєтеся з {name}",headerClosed:"Розмову з підтримкою завершено",placeholderQueued:"Повідомлення для служби підтримки …",placeholderActive:"Повідомлення для {name} …",operatorJoined:"{name} приєднується до розмови",conversationClosed:"{name} завершує розмову",handoverCancelled:"Ви скасували передачу",cancelHandover:"Скасувати передачу",cancelHandoverConfirm:"Скасувати передачу?",cancelHandoverYes:"Так, скасувати",cancelHandoverNo:"Ні",cancelHandoverFailed:"Не вдалося скасувати. Спробуйте ще раз.",continueWithAssistant:"Продовжити з асистентом",requestAgain:"Запросити оператора ще раз",delivered:"Доставлено службі підтримки",notDelivered:"Не доставлено"}};function hA(e,t){const n=Cl.en,r=Cl[e]||n;return{...n,...r,...(t==null?void 0:t[e])||{}}}function ri(e,t){return e.replace("{name}",t)}function gA({message:e,labels:t,innerRef:n}){const r=e.systemKind==="operator_joined",i=e.operatorName||(t==null?void 0:t.operatorFallback)||"Support",a=(r?t==null?void 0:t.operatorJoined:e.systemKind==="handover_cancelled"?t==null?void 0:t.handoverCancelled:t==null?void 0:t.conversationClosed)||"{name}",o=ri(a,i);return f.jsxs("div",{ref:n,className:"handover-in flex items-center gap-3 py-1",role:"note",children:[f.jsx("span",{className:"h-px min-w-[10px] flex-1 bg-border","aria-hidden":"true"}),f.jsxs("span",{className:"flex min-w-0 items-center gap-2 text-[11px] text-foreground/60",children:[r?f.jsx(fi,{imageUrl:e.operatorImageUrl,name:i,size:20}):f.jsx("span",{className:"inline-flex h-[20px] w-[20px] shrink-0 items-center justify-center rounded-full bg-muted text-foreground/50","aria-hidden":"true",children:f.jsx(wn,{})}),f.jsx("span",{className:"truncate",title:o,children:o}),f.jsx("span",{className:"shrink-0 text-foreground/40",children:e.time})]}),f.jsx("span",{className:"h-px min-w-[10px] flex-1 bg-border","aria-hidden":"true"})]})}const Or={de:"🔍 Suche...",simple:"🔍 Suche...",en:"🔍 Searching...",fr:"🔍 Recherche...",es:"🔍 Buscando...",it:"🔍 Ricerca...",tr:"🔍 Arıyor...",ar:"🔍 جارٍ البحث...",pl:"🔍 Szukanie...",ua:"🔍 Пошук..."},bA={de:pl,simple:pl,en:ma,fr:wS,es:U1,it:$S,tr:fz,ar:W0,pl:LC,ua:Gz},yA=(e,t,n)=>{const r=e.indexOf(":"),i=e.indexOf("?"),a=e.indexOf("#"),o=e.indexOf("/");return r!==-1&&(o===-1||r<o)&&(i===-1||r<i)&&(a===-1||r<a)&&/^tel$/i.test(e.slice(0,r))?e:Wc(e)},vA={a:({node:e,href:t,...n})=>{const r=typeof t=="string"&&/^https?:\/\//i.test(t);return f.jsx("a",{...n,href:t,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0})}},xA=e=>{if(!e)return null;const t=e instanceof Date?e:new Date(e);return isNaN(t.getTime())?null:t};function wA({messages:e,quickActions:t,theme:n,isMobile:r,inputRef:i,setInput:a,selectedLanguage:o,toolStatus:s,isTyping:l,lastBotMessageRef:u,messagesEndRef:c,scrollContainerRef:d,onScroll:p,showScrollButton:m,onScrollToBottom:h,handleFeedback:g,botAvatarSrc:b,scrollLabel:y,botAvatarAlt:w,ttsModelId:S,ttsVoiceId:E,ttsVoiceSettings:P,onStructuredAction:z,handoverLabels:T,quickActionsPauseOnHover:L=!1}){return f.jsxs(f.Fragment,{children:[f.jsxs("div",{ref:d,onScroll:p,role:"log","aria-live":"polite","aria-label":"Chat-Nachrichten",className:"flex-1 min-h-0 overflow-y-auto p-5 bg-[hsl(var(--chat-bg))] flex flex-col gap-4 scrollbar-thin scrollbar-track-muted scrollbar-thumb-primary relative",children:[e.length===1&&f.jsx(Kz,{quickActions:t,theme:n,pauseOnHover:L,onSelect:N=>{var k;a(N),r||(k=i.current)==null||k.focus()}}),e.map((N,k)=>{const j=N.sender==="operator",I=k===e.length-1;if(N.sender==="system")return f.jsx(gA,{message:N,labels:T,innerRef:I?u:null},k);const V=k>0?e[k-1]:void 0,F=N.operatorName||(T==null?void 0:T.operatorFallback)||"Support",O=j&&!((V==null?void 0:V.sender)==="operator"&&V.operatorName===N.operatorName),B=xA(N.timestamp),K=B?c0(B,{addSuffix:!0,locale:bA[o]||ma}):N.time||"";return f.jsxs("div",{ref:!N.isUser&&k===e.length-1?u:null,className:`flex gap-3 animate-message-slide-in ${N.isUser?"flex-row-reverse":""}`,children:[j?f.jsx(fi,{imageUrl:N.operatorImageUrl,name:F,size:36,className:"shadow-[0_4px_15px_rgba(0,0,0,0.15)]"}):f.jsx("div",{className:`w-9 h-9 rounded-full flex items-center justify-center flex-shrink-0 shadow-[0_4px_15px_rgba(0,0,0,0.2)] border ${N.isUser?"bg-[hsl(var(--chat-avatar-user))] border-primary":"bg-[hsl(var(--chat-avatar-bot))] border-primary"}`,children:N.isUser?f.jsx(am,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]"}):f.jsx("img",{src:b,alt:w,className:"w-6 h-6 object-contain drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]"})}),f.jsxs("div",{className:N.rpcData?"min-w-0 flex-1":void 0,children:[f.jsxs("div",{className:"flex flex-col gap-2 w-full max-w-[90%]",children:[O?f.jsxs("div",{className:"flex min-w-0 items-center gap-1.5 px-1 text-xs",children:[f.jsx("span",{className:"truncate font-semibold text-foreground/80",title:F,children:F}),f.jsx("span",{className:"shrink-0 rounded-full bg-[hsl(var(--chat-human)/0.14)] px-1.5 py-px text-[10px] font-semibold text-[hsl(var(--chat-human))]",children:(T==null?void 0:T.supportTag)||"Support"})]}):null,N.rpcData?f.jsx(pA,{data:N.rpcData,disabled:l,onAction:z}):f.jsx("div",{className:`w-full px-4 py-3 rounded-[18px] leading-relaxed text-sm transition-all hover:-translate-y-0.5 ${N.isUser?"bg-primary text-primary-foreground shadow-[0_6px_20px_hsl(var(--glow-primary)),inset_0_1px_2px_rgba(255,255,255,0.15)] hover:shadow-[0_10px_30px_hsl(var(--glow-primary)),inset_0_1px_2px_rgba(255,255,255,0.25)]":j?"rounded-ss-[6px] bg-[hsl(var(--chat-message-human))] border border-[hsl(var(--chat-message-human-border))] text-foreground shadow-[0_4px_15px_rgba(0,0,0,0.06)] hover:shadow-[0_8px_25px_rgba(0,0,0,0.1)] whitespace-pre-wrap break-words":"bg-[hsl(var(--chat-message-bot))] backdrop-blur-[20px] border border-[hsl(var(--chat-message-bot-border))] text-foreground shadow-[0_4px_15px_rgba(0,0,0,0.08)] hover:shadow-[0_8px_25px_rgba(0,0,0,0.12)]"}`,children:N.isUser||j?N.text:f.jsx("div",{className:`prose prose-sm ${n!=="light"?"prose-invert":""} max-w-none prose-p:my-2 prose-headings:my-3 prose-ul:my-2 prose-ol:my-2 prose-li:my-1 prose-code:text-xs prose-pre:bg-muted prose-pre:text-foreground prose-strong:text-foreground prose-a:text-foreground hover:prose-a:text-primary break-words prose-a:[overflow-wrap:anywhere] text-foreground`,children:f.jsx(lx,{remarkPlugins:[xk],components:vA,urlTransform:yA,children:N.text})})}),!N.isUser&&N.sources&&N.sources.length>0&&f.jsx(Qz,{sources:N.sources}),!N.isUser&&N.files&&N.files.length>0&&f.jsxs("div",{className:"space-y-1.5 w-full",children:[f.jsx("div",{className:"text-[10px] uppercase tracking-wider text-foreground/50 font-semibold",children:"Dateien"}),f.jsx("div",{className:"flex flex-col gap-1",children:N.files.map((X,Q)=>f.jsxs("a",{href:X.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-xs text-foreground/70 bg-muted rounded-lg px-3 py-2 border border-border hover:bg-muted/80 transition-all group",children:[f.jsx(nu,{className:"w-3 h-3 flex-shrink-0 group-hover:scale-110 transition-transform"}),f.jsx("span",{className:"truncate",children:X.name})]},Q))})]})]}),f.jsxs("div",{className:`flex items-center gap-2 mt-1.5 ${N.isUser?"justify-end":"justify-start"}`,children:[N.isUser&&N.delivery==="delivered"?f.jsxs("span",{className:"handover-in inline-flex items-center text-[hsl(var(--chat-human))]",title:T==null?void 0:T.delivered,children:[f.jsx(wn,{className:"w-3 h-3","aria-hidden":"true"}),f.jsx("span",{className:"sr-only",children:T==null?void 0:T.delivered})]}):null,N.isUser&&N.delivery==="failed"?f.jsxs("span",{className:"handover-in inline-flex items-center gap-1 text-[10px] text-[hsl(var(--chat-danger))]",children:[f.jsx(rn,{className:"w-3 h-3","aria-hidden":"true"}),T==null?void 0:T.notDelivered]}):null,f.jsx("div",{className:"text-[10px] text-foreground/40",title:N.time,children:K}),!N.isUser&&!N.rpcData&&!j&&f.jsxs("div",{className:"flex gap-1",children:[f.jsx(nA,{text:N.text,language:o,modelId:S,voiceId:E,voiceSettings:P,className:"p-1 rounded transition-colors text-foreground/40 hover:text-primary"}),f.jsx("button",{onClick:()=>g(k,"up"),className:`p-1 rounded transition-colors ${N.feedback==="up"?"text-green-400":"text-foreground/40 hover:text-green-400"}`,children:f.jsx(iu,{className:"w-3 h-3"})}),f.jsx("button",{onClick:()=>g(k,"down"),className:`p-1 rounded transition-colors ${N.feedback==="down"?"text-red-400":"text-foreground/40 hover:text-red-400"}`,children:f.jsx(om,{className:"w-3 h-3"})})]})]})]})]},k)}),l&&f.jsxs("div",{ref:u,className:"flex gap-3",children:[f.jsx("div",{className:"w-9 h-9 rounded-full flex items-center justify-center flex-shrink-0 shadow-[0_4px_15px_rgba(0,0,0,0.2)] border border-primary bg-[hsl(var(--chat-avatar-bot))]",children:f.jsx(Kr,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]"})}),s.active?f.jsx("div",{className:"px-4 py-3 max-w-[85%] w-fit bg-card/50 backdrop-blur-sm rounded-2xl rounded-tl-none border border-border/30 shadow-lg animate-message-slide-in",children:f.jsx("div",{className:"text-sm text-foreground/70",children:s.toolName==="human_handover"&&T?T.requesting:Or[o]||Or.en})}):f.jsx(rA,{})]}),s.active&&!l&&f.jsxs("div",{ref:u,className:"flex gap-3",children:[f.jsx("div",{className:"w-9 h-9 rounded-full flex items-center justify-center flex-shrink-0 shadow-[0_4px_15px_rgba(0,0,0,0.2)] border border-primary bg-[hsl(var(--chat-avatar-bot))]",children:f.jsx(Kr,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]"})}),f.jsx("div",{className:"px-4 py-3 max-w-[85%] w-fit bg-card/50 backdrop-blur-sm rounded-2xl rounded-tl-none border border-border/30 shadow-lg animate-message-slide-in",children:f.jsx("div",{className:"text-sm text-foreground/70",children:s.toolName==="human_handover"&&T?T.requesting:Or[o]||Or.en})})]}),f.jsx("div",{ref:c})]}),m&&f.jsx("button",{onClick:h,className:"absolute bottom-36 right-4 bg-primary/95 backdrop-blur-sm text-primary-foreground rounded-full p-3 shadow-[0_8px_30px_rgb(0,0,0,0.12)] hover:shadow-[0_12px_40px_rgb(0,0,0,0.16)] hover:bg-primary hover:scale-110 transition-all duration-300 z-20 animate-[slideUp_0.3s_ease-out] group flex items-center justify-center","aria-label":y,children:f.jsx(qf,{className:"w-5 h-5",strokeWidth:2.5})})]})}const zl=({className:e,pulse:t})=>f.jsxs("span",{className:"relative inline-flex h-2 w-2 shrink-0","aria-hidden":"true",children:[t?f.jsx("span",{className:`handover-pulse absolute inline-flex h-full w-full rounded-full ${e}`}):null,f.jsx("span",{className:`relative inline-flex h-2 w-2 rounded-full ${e}`})]}),Al="px-4 pt-2.5 bg-[hsl(var(--chat-input-bg))] flex flex-col items-center gap-1.5",El="handover-in inline-flex max-w-full min-w-0 items-center gap-2 rounded-full border px-3 py-1.5 text-xs transition-colors duration-500",er="inline-flex items-center gap-1.5 rounded-full border border-border bg-card/60 px-2.5 py-1 text-[11px] font-medium text-foreground/75 transition-colors hover:border-primary/40 hover:bg-primary/5 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary";function kA({status:e,operator:t,labels:n,disabled:r,showRequestButton:i=!0,onRequest:a,onContinueWithAssistant:o,onCancel:s}){const l=(t==null?void 0:t.displayName)||n.operatorFallback,[u,c]=M.useState("idle"),[d,p]=M.useState(!1);if(M.useEffect(()=>{c("idle"),p(!1)},[e]),e==="idle")return i?f.jsx("div",{className:Al,children:f.jsxs("button",{type:"button",disabled:r,onClick:a,className:`${El} border-border bg-card/60 text-foreground/70 hover:border-[hsl(var(--chat-human)/0.6)] hover:bg-[hsl(var(--chat-human)/0.08)] hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary disabled:cursor-not-allowed disabled:opacity-45`,children:[f.jsx(go,{className:"shrink-0 text-[hsl(var(--chat-human))]","aria-hidden":"true"}),f.jsx("span",{className:"truncate font-medium",children:n.request})]})}):null;const h={requesting:{tone:"border-border bg-card/70 text-foreground/75",lead:f.jsx(zl,{className:"bg-primary",pulse:!0}),text:n.requesting},queued:{tone:"border-[hsl(var(--chat-waiting)/0.45)] bg-[hsl(var(--chat-waiting)/0.1)] text-foreground/80",lead:f.jsx(zl,{className:"bg-[hsl(var(--chat-waiting))]",pulse:!0}),text:n.queued,hint:n.queuedHint},active:{tone:"border-[hsl(var(--chat-human)/0.45)] bg-[hsl(var(--chat-human)/0.1)] text-foreground",lead:f.jsx(fi,{imageUrl:t==null?void 0:t.imageUrl,name:l,size:20}),text:ri(n.active,l),tag:n.supportTag},closed:{tone:"border-border bg-muted/50 text-foreground/70",lead:f.jsx(wn,{className:"shrink-0","aria-hidden":"true"}),text:n.closed},failed:{tone:"border-[hsl(var(--chat-danger)/0.4)] bg-[hsl(var(--chat-danger)/0.1)] text-[hsl(var(--chat-danger))]",lead:f.jsx(rn,{className:"shrink-0","aria-hidden":"true"}),text:n.failed}}[e];return f.jsxs("div",{className:Al,role:"status","aria-live":"polite",children:[f.jsxs("div",{className:`${El} ${h.tone}`,children:[h.lead,f.jsx("span",{className:"min-w-0 truncate font-medium",title:h.text,children:h.text}),h.tag?f.jsx("span",{className:"shrink-0 rounded-full bg-[hsl(var(--chat-human)/0.15)] px-1.5 py-px text-[10px] font-semibold text-[hsl(var(--chat-human))]",children:h.tag}):null,e==="failed"?f.jsxs("button",{type:"button",onClick:a,className:"ms-1 inline-flex shrink-0 items-center gap-1 rounded-full px-2 py-0.5 font-semibold hover:bg-[hsl(var(--chat-danger)/0.12)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[hsl(var(--chat-danger))]",children:[f.jsx(ru,{"aria-hidden":"true"}),n.retry]}):null]},e),h.hint?f.jsx("p",{className:"handover-in text-center text-[10px] text-muted-foreground",children:h.hint}):null,(e==="queued"||e==="active")&&s?u==="idle"?f.jsxs("button",{type:"button",onClick:()=>c("confirming"),className:er,children:[f.jsx(on,{"aria-hidden":"true"}),f.jsx("span",{className:"truncate",children:n.cancelHandover})]}):f.jsxs("div",{className:"handover-in flex max-w-full flex-wrap items-center justify-center gap-1.5",role:"group","aria-label":n.cancelHandoverConfirm,children:[f.jsx("span",{className:"text-[11px] text-foreground/75",children:n.cancelHandoverConfirm}),f.jsxs("button",{type:"button",disabled:u==="sending",onClick:async()=>{c("sending"),p(!1),await s()||(c("confirming"),p(!0))},className:`${er} disabled:opacity-45`,children:[f.jsx(on,{"aria-hidden":"true"}),f.jsx("span",{className:"truncate",children:n.cancelHandoverYes})]}),f.jsx("button",{type:"button",disabled:u==="sending",onClick:()=>{c("idle"),p(!1)},className:`${er} disabled:opacity-45`,children:f.jsx("span",{className:"truncate",children:n.cancelHandoverNo})})]}):null,d?f.jsx("p",{className:"handover-in text-center text-[10px] text-[hsl(var(--chat-danger))]",role:"alert",children:n.cancelHandoverFailed}):null,e==="closed"?f.jsxs("div",{className:"handover-in flex max-w-full flex-wrap justify-center gap-1.5",children:[f.jsxs("button",{type:"button",onClick:o,className:er,children:[f.jsx(Kr,{"aria-hidden":"true"}),f.jsx("span",{className:"truncate",children:n.continueWithAssistant})]}),f.jsxs("button",{type:"button",onClick:a,disabled:r,className:`${er} disabled:opacity-45`,children:[f.jsx(go,{className:"text-[hsl(var(--chat-human))]","aria-hidden":"true"}),f.jsx("span",{className:"truncate",children:n.requestAgain})]})]}):null]})}function SA({labels:e,disabled:t,active:n,onConfirm:r,onStarted:i}){const a=M.useRef(null),o=M.useId(),s=M.useId(),[l,u]=M.useState(!1);return f.jsxs("div",{className:"flex shrink-0 justify-end border-b border-border px-4 py-1 bg-[hsl(var(--chat-bg))]",children:[f.jsxs("button",{type:"button",disabled:t,onClick:()=>{var c;return(c=a.current)==null?void 0:c.showModal()},className:"inline-flex min-h-9 items-center gap-1.5 rounded-md px-2 text-xs text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary disabled:opacity-40",children:[f.jsx(ru,{className:"h-3.5 w-3.5","aria-hidden":"true"}),e.newConversation]}),f.jsxs("dialog",{ref:a,"aria-labelledby":o,"aria-describedby":s,onKeyDown:c=>c.stopPropagation(),className:"handover-reset-dialog m-auto max-h-[calc(100dvh_-_32px)] w-[calc(100vw_-_32px)] max-w-sm overflow-y-auto rounded-2xl border border-border bg-background p-5 text-foreground shadow-xl",children:[f.jsx("h2",{id:o,className:"text-lg font-semibold",children:e.newConversationTitle}),f.jsxs("div",{id:s,className:"mt-3 space-y-3 text-sm leading-relaxed text-muted-foreground",children:[f.jsx("p",{children:e.newConversationDescription}),n&&f.jsx("p",{className:"border-s-2 border-[hsl(var(--chat-waiting))] ps-3 text-foreground",children:e.newConversationActiveWarning})]}),f.jsxs("div",{className:"mt-5 flex flex-wrap justify-end gap-2",children:[f.jsx(st,{type:"button",variant:"outline",autoFocus:!0,disabled:l,onClick:()=>{var c;return(c=a.current)==null?void 0:c.close()},children:e.cancelNewConversation}),f.jsx(st,{type:"button",disabled:l||t,onClick:async()=>{var c;u(!0);try{await r()&&((c=a.current)==null||c.close(),i())}finally{u(!1)}},children:e.newConversation})]})]})]})}const Pl=(e,t)=>{if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=e[n],i=t[n];if(!r||!i||r.id!==i.id||r.title!==i.title||r.message!==i.message)return!1}return!0},CA=["audio/webm","audio/mp4","audio/mpeg","audio/aac"],zA={"audio/webm":"webm","audio/mp4":"mp4","audio/mpeg":"mp3","audio/aac":"aac"},AA=e=>{if(typeof window>"u"||typeof MediaRecorder>"u")throw new Error("MediaRecorder is not supported in this environment");const t=n=>n?new MediaRecorder(e,{mimeType:n}):new MediaRecorder(e);for(const n of CA)try{return{recorder:t(n),mimeType:n}}catch(r){if(r instanceof DOMException&&r.name==="NotSupportedError")continue;throw r}return{recorder:t(),mimeType:null}},EA=e=>zA[e]||e.split("/")[1]||"webm",ga=M.forwardRef(({isOpen:e,onClose:t,config:n,floatingZIndexBase:r=1e5},i)=>{var Na,Ma,Ia,Da,Ra,La,Oa,Fa,Ba,Wa,qa;const a=(Na=n.languages)!=null&&Na.length?n.languages:Oe.languages,o=a.some(R=>R.code===n.defaultLanguage)?n.defaultLanguage:((Ma=a[0])==null?void 0:Ma.code)||Oe.defaultLanguage,s=n.translations||Oe.translations,l=n.dialogLayout||Oe.dialogLayout||"floating",u=l==="embedded",[c,d]=M.useState(""),[p,m]=M.useState(!1),[h,g]=M.useState(0),[b,y]=M.useState(!1),w=M.useRef(null),S=M.useRef(null),E=M.useRef([]),P=M.useRef(null),[z,T]=M.useState(()=>{const R=localStorage.getItem("klausLanguage"),U=R==="uk"?"ua":R;return U&&a.some(Y=>Y.code===U)?U:o}),[L,N]=M.useState(!1),[k,j]=M.useState(!1),[I,V]=M.useState(!1),[F,O]=M.useState(!1),[B,K]=M.useState(()=>{const R=localStorage.getItem("klausFontSize");return wh(R)?R:"normal"}),[X,Q]=M.useState(()=>localStorage.getItem("klausHighContrast")==="true"),[x,oe]=M.useState(()=>localStorage.getItem("klausPrivacyAccepted")==="true"),[Ee,C]=M.useState(!1),[Ie,We]=M.useState(null),Ne=M.useRef(null),Le=M.useRef(null),Pe=M.useRef(null),se=M.useRef(null),Ce=M.useRef(null),[_,H]=M.useState({top:0,left:0}),$=M.useCallback(()=>({userPreferredLanguage:z,currentDate:new Date().toISOString()}),[z]),[ve,Ve]=M.useState(null),{theme:ge,setTheme:Qe}=gu(),ke=s[o]||Oe.translations[o],ae=s[z]||ke,pe=(ae==null?void 0:ae.welcome)||(ke==null?void 0:ke.welcome)||Oe.translations[Oe.defaultLanguage].welcome,de=!!n.startOnFirstUserMessage&&!(n.initialMessage&&n.conversationId),ce=hA(z,(Ia=n.humanHandover)==null?void 0:Ia.translations);M.useEffect(()=>{j(l==="centered")},[l]),M.useEffect(()=>{if(typeof document>"u"||!(e&&l==="centered"))return;const R=document.body,U=R.style.overflow;return R.style.overflow="hidden",()=>{R.style.overflow=U}},[e,l]),M.useEffect(()=>{const R=()=>window.matchMedia("(max-width: 768px)").matches,U=()=>V(R());return U(),window.addEventListener("resize",U),()=>window.removeEventListener("resize",U)},[]),M.useEffect(()=>{e&&l==="floating"&&(u||I&&j(!0))},[e,I,l,u]);const{messages:ze,isTyping:Me,quickReplies:Ze,toolStatus:D,conversationId:q,assistantTenant:ee,handover:Z,initialize:ne,sendMessage:Je,requestHumanHandover:pt,cancelHumanHandover:ct,continueWithAssistant:dt,startNewConversation:qt,updateMessageFeedback:et,appendAssistantMessage:Mt}=yh({promptId:n.promptId||"default",initialMessage:n.initialMessage,initialConversationId:n.initialMessage&&n.conversationId?n.conversationId:void 0,startOnFirstUserMessage:de,localWelcomeMessage:de?pe:void 0,getContext:$,humanHandover:(Da=n.humanHandover)!=null&&Da.enabled?{enabled:!0,pollIntervalMs:n.humanHandover.pollIntervalMs,requestMessage:ce.requestMessage}:void 0,onError:R=>{const U=as[z]?z:o||"de",Y=as[U],re=(R||"").toLowerCase();if(re.includes("content filter")){const Ue=qi[z]?z:"en",zt=qi[Ue]||qi.en;Mt(zt);return}const Te=$p.some(Ue=>re.includes(Ue));!Te&&R&&console.error("Unhandled chat error:",R),bt({title:Y.title,description:Te&&R?R:Y.unexpected,variant:"destructive"})}}),nt=s.en||Oe.translations.en,Sn={...Oe.links,...n.links},xt=n.branding.poweredBy||Oe.branding.poweredBy,$t=(ae==null?void 0:ae.settings)||(ke==null?void 0:ke.settings)||Oe.translations[Oe.defaultLanguage].settings,Cn=(()=>{const R=n.aboutChatbotDescription;if(!R)return;if(typeof R=="string")return R;const U=R[z];if(typeof U=="string")return U;const Y=R[o];if(typeof Y=="string")return Y;const re=R[Oe.defaultLanguage];if(typeof re=="string")return re})(),dn=$t&&Cn?{...$t,aboutChatbot:{...$t.aboutChatbot,description:Cn}}:$t,Sr=(ae==null?void 0:ae.placeholder)||(ke==null?void 0:ke.placeholder)||Oe.translations[Oe.defaultLanguage].placeholder,fn=!!((Ra=n.humanHandover)!=null&&Ra.enabled),Vn=((La=Z.operator)==null?void 0:La.displayName)||ce.operatorFallback,Cr=Vn.length<=20,zr=fn?Z.status==="active"?Cr?ri(ce.placeholderActive,Vn):ce.placeholderQueued:Z.status==="queued"?ce.placeholderQueued:Sr:Sr,Ti=(()=>{if(fn)switch(Z.status){case"requesting":case"queued":return{mode:"waiting",label:ce.headerWaiting};case"active":return{mode:"human",label:ri(ce.headerActive,Vn),operator:Z.operator,operatorFallbackName:ce.operatorFallback};case"closed":return{mode:"closed",label:ce.headerClosed};default:return}})(),Ni=(ae==null?void 0:ae.disclaimer)||(ke==null?void 0:ke.disclaimer)||Oe.translations[Oe.defaultLanguage].disclaimer,Ar=(dn==null?void 0:dn.scrollToBottom)||((Oa=ke==null?void 0:ke.settings)==null?void 0:Oa.scrollToBottom)||"Zum Ende scrollen",Er=(ae==null?void 0:ae.transcribing)??(nt==null?void 0:nt.transcribing)??Oe.translations[Oe.defaultLanguage].transcribing,zn=()=>{if(!se.current||typeof window>"u")return;const R=se.current.getBoundingClientRect(),U=220,Y=8;if(u&&Pe.current){const Jt=Pe.current.getBoundingClientRect(),Ri=Jt.width,Va=Jt.height,Tf=R.right-U-Jt.left,Nf=Math.max(Y,Math.min(Tf,Ri-U-Y)),Ja=Math.min(300,Va*.6);let Li=R.bottom+6-Jt.top;Li+Ja+Y>Va&&(Li=Math.max(Y,R.top-Jt.top-Ja-6)),H({top:Li,left:Nf});return}const re=window.innerWidth,je=window.innerHeight,Te=Math.max(Y,Math.min(R.right-U,re-U-Y)),Ue=Math.min(300,je*.6);let zt=R.bottom+6;zt+Ue+Y>je&&(zt=Math.max(Y,R.top-Ue-6)),H({top:zt,left:Te})};M.useEffect(()=>{const R=U=>{if(U.key==="Escape"&&e){if(L){U.preventDefault(),U.stopPropagation(),N(!1);return}F?O(!1):t()}};return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[e,F,t,L]),M.useEffect(()=>{var U,Y;if(!Pe.current)return;if(u){Ve(Pe.current);return}const R=(Y=(U=Pe.current).getRootNode)==null?void 0:Y.call(U);R instanceof ShadowRoot?Ve(R):typeof document<"u"&&Ve(document.body)},[e,u]),M.useEffect(()=>{if(!L)return;const R=U=>{const Y=U.composedPath&&U.composedPath()||[],re=U.target,je=se.current,Te=Ce.current,Ue=!!je&&(Y.includes(je)||je.contains(re)),zt=!!Te&&(Y.includes(Te)||Te.contains(re));!Ue&&!zt&&N(!1)};return document.addEventListener("mousedown",R,!0),document.addEventListener("touchstart",R,!0),()=>{document.removeEventListener("mousedown",R,!0),document.removeEventListener("touchstart",R,!0)}},[L]),M.useEffect(()=>{if(!L)return;zn();const R=()=>zn(),U=()=>zn();return window.addEventListener("resize",R),window.addEventListener("scroll",U,!0),()=>{window.removeEventListener("resize",R),window.removeEventListener("scroll",U,!0)}},[L]),M.useEffect(()=>{if(!(e&&Pe.current))return;const R=()=>{var Te,Ue;const Y='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])',re=Array.from(((Te=Pe.current)==null?void 0:Te.querySelectorAll(Y))??[]),je=Array.from(((Ue=Ce.current)==null?void 0:Ue.querySelectorAll(Y))??[]);return[...re,...je]},U=Y=>{if(Y.key!=="Tab")return;const re=R().filter(Ue=>!Ue.hasAttribute("disabled")&&Ue.getAttribute("tabindex")!=="-1");if(re.length===0)return;const je=re[0],Te=re[re.length-1];Y.shiftKey?document.activeElement===je&&(Y.preventDefault(),Te==null||Te.focus()):document.activeElement===Te&&(Y.preventDefault(),je==null||je.focus())};return window.addEventListener("keydown",U),()=>window.removeEventListener("keydown",U)},[e,F,L]),M.useEffect(()=>{if(L&&Ce.current){const R=Ce.current.querySelector("button:not([disabled])");R==null||R.focus()}else!L&&se.current&&se.current.focus()},[L]);const Mi=M.useCallback(R=>{if(!Ce.current)return;const U=Array.from(Ce.current.querySelectorAll("button:not([disabled])"));if(!U.length)return;const Y=U.indexOf(document.activeElement),re=je=>{var Te;R.preventDefault(),(Te=U[je])==null||Te.focus()};switch(R.key){case"ArrowDown":{const je=(Y+1)%U.length;re(je);break}case"ArrowUp":{const je=(Y-1+U.length)%U.length;re(je);break}case"Home":re(0);break;case"End":re(U.length-1);break}},[]),Pr=(()=>{const R=n.quickReplies.default,U=Array.isArray(R)&&R.length>0,Y=n.quickReplies[z],re=Oe.quickReplies[z];if(Y!==void 0&&(re===void 0||!Pl(Y,re)))return Y;if(U)return R;if(re!==void 0)return re;const Te=n.quickReplies[o],Ue=Oe.quickReplies[o];return Te!==void 0&&(Ue===void 0||!Pl(Te,Ue))?Te:Ue!==void 0?Ue:[]})(),Ii=(Pr.length?Pr:Ze.map((R,U)=>({id:`api-${U}`,title:R.text,message:R.text}))).map(R=>({...R,icon:R.id==="mangel"?f.jsx(rn,{className:"w-4 h-4"}):R.id==="kfz"?f.jsx(rn,{className:"w-4 h-4"}):R.id==="oeffnungszeiten"?f.jsx(Xa,{className:"w-4 h-4"}):R.id==="termin"?f.jsx(Xa,{className:"w-4 h-4"}):f.jsx(nu,{className:"w-4 h-4"})})),A=()=>{localStorage.setItem("klausPrivacyAccepted","true"),oe(!0)},W=()=>{localStorage.removeItem("klausPrivacyAccepted"),oe(!1),O(!1),t()};M.useEffect(()=>{e&&x&&ne()},[e,x,ne]),M.useEffect(()=>{e&&Le.current&&!I&&Le.current.focus()},[e,I]);const[G,ie]=M.useState(!1),we=M.useRef(null),De=M.useRef(ze.length),be=M.useRef(null),ye=()=>{const R=we.current;if(!R)return;const Y=R.scrollHeight-R.scrollTop-R.clientHeight<150;ie(!Y)};M.useEffect(()=>{var R,U;if((R=n.humanHandover)!=null&&R.enabled&&Z.status!=="idle"){const Y=we.current;Y&&(!G||(U=ze[ze.length-1])!=null&&U.isUser)&&(Y.scrollTop=Y.scrollHeight);return}u||be.current&&be.current.scrollIntoView({behavior:"smooth",block:"start"})},[ze.length,Me,u]),M.useEffect(()=>{if(ze.length>De.current){const R=we.current;R&&(R.scrollHeight-R.scrollTop-R.clientHeight<150||ie(!0))}De.current=ze.length},[ze]);const rt=()=>{const R=we.current;R&&(R.scrollTo({top:R.scrollHeight,behavior:"smooth"}),ie(!1))};M.useEffect(()=>{localStorage.setItem("klausLanguage",z)},[z]),M.useEffect(()=>{localStorage.setItem("klausFontSize",B);const R=Pe.current;if(!R)return;const U=R.getRootNode(),Y=U instanceof ShadowRoot?U.host:document.documentElement;R.classList.remove("font-size-small","font-size-large","font-size-extra-large"),Y.classList.remove("font-size-small","font-size-large","font-size-extra-large");const re=B==="small"?"font-size-small":B==="large"?"font-size-large":B==="extra-large"?"font-size-extra-large":"";re&&(R.classList.add(re),Y.classList.add(re))},[B]),M.useEffect(()=>{localStorage.setItem("klausHighContrast",String(X))},[X]),M.useEffect(()=>{Le.current&&(Le.current.style.height="auto",Le.current.style.height=`${Math.min(Le.current.scrollHeight,120)}px`)},[c]);const He=async()=>{if(p){await Vt();return}if(b)return;const R=c.trim();if(!R)return;const U=R;d("");try{await Je(U)}catch(Y){console.error("Failed to send message:",Y)}},Ge=R=>{R.key==="Enter"&&!R.shiftKey&&(R.preventDefault(),He())},ht=async()=>{try{const R=await navigator.mediaDevices.getUserMedia({audio:!0});let U,Y=null;try{({recorder:U,mimeType:Y}=AA(R))}catch(re){throw R.getTracks().forEach(je=>je.stop()),re}S.current=U,E.current=[],P.current=U.mimeType||Y,U.ondataavailable=re=>{re.data.size>0&&E.current.push(re.data),!P.current&&re.data.type&&(P.current=re.data.type)},U.start(),m(!0),g(0),w.current=setInterval(()=>{g(re=>re+1)},1e3)}catch(R){console.error("Failed to start recording:",R);const U=R instanceof DOMException&&R.name==="NotSupportedError";bt({title:U?"Unsupported":"Error",description:U?"Audio recording is not supported in this browser.":"Failed to access microphone",variant:"destructive"})}},Vt=async()=>{if(w.current&&clearInterval(w.current),!S.current||S.current.state==="inactive"){m(!1);return}return m(!1),y(!0),new Promise(R=>{const U=S.current;U.onstop=async()=>{var Y;try{const re=P.current||U.mimeType||((Y=E.current[0])==null?void 0:Y.type)||"audio/webm",je=re?new Blob(E.current,{type:re}):new Blob(E.current),Te=je.type||re||"audio/webm",Ue=`voice-${Date.now()}.${EA(Te)}`,zt=new FileReader;zt.onloadend=async()=>{try{const Jt=zt.result.split(",")[1],Ri=await dh(Jt,Te,Ue,z==="de"?"de-DE":z==="en"?"en-US":void 0);d((Ri.text||"").trimEnd())}catch(Jt){console.error("Transcription error:",Jt),bt({title:"Error",description:"Failed to transcribe audio",variant:"destructive"})}finally{y(!1),g(0),P.current=null,E.current=[],S.current=null,R()}},zt.readAsDataURL(je)}catch(re){console.error("Error processing audio:",re),y(!1),g(0),P.current=null,E.current=[],S.current=null,R()}finally{U.stream.getTracks().forEach(re=>re.stop())}},U.stop()})},It=R=>{let U=0;for(let Y=0;Y<=R&&Y<ze.length;Y++)!ze[Y].isUser&&!ze[Y].rpcData&&(U+=1);return U||1},ot=(R,U)=>{var Y;if(U==="down")We(R),C(!0);else{const je=((Y=ze[R])==null?void 0:Y.feedback)===U?null:U;if(et(R,je),je==="up"&&q){const Te=It(R);(async()=>{try{await fs({conversation_id:q,feedback_type:"positive",message_number:Te,tenant:ee}),bt({title:"Vielen Dank!",description:"Ihre positive Bewertung hilft uns weiter."})}catch(Ue){console.error("Failed to submit positive feedback:",Ue),bt({title:"Fehler",description:"Ihre Bewertung konnte nicht gesendet werden.",variant:"destructive"})}})()}else je==="up"&&bt({title:"Vielen Dank!",description:"Ihre positive Bewertung hilft uns weiter."})}},Jn=(R,U)=>{var je;if(Ie===null)return;et(Ie,"down");const re=((je=(Yr[z]||Yr.de).find(Te=>Te.id===R))==null?void 0:je.label)||R;if(q){const Te=It(Ie);(async()=>{try{await fs({conversation_id:q,feedback_type:"negative",message_number:Te,tenant:ee,problem:re,problem_description:U||void 0})}catch(Ue){console.error("Failed to submit negative feedback:",Ue),bt({title:"Fehler",description:"Ihr Feedback konnte nicht gesendet werden.",variant:"destructive"})}})()}C(!1),We(null)};if(M.useImperativeHandle(i,()=>({sendQuickMessage:R=>{d(R),setTimeout(()=>{He()},100)}})),!e)return null;const Hn=Number.isFinite(r)?Math.max(0,Math.min(Math.round(r),2147483645)):1e5,Di=Hn+2,jr="bg-[hsl(var(--chat-bg))] backdrop-blur-[60px] rounded-[24px] border border-border flex flex-col overflow-hidden animate-chat-slide-up transform-gpu transition-all duration-300",Tr=`${ge==="light"?"light":""} ${X?"high-contrast":""}`,Af=`fixed ${k?"inset-4":"bottom-[30px] right-[30px] w-[420px] max-h-[calc(100dvh-60px)] overflow-y-auto"} ${jr} shadow-[0_30px_80px_rgba(0,0,0,0.5),inset_0_1px_2px_rgba(255,255,255,0.08),0_0_80px_hsl(var(--glow-primary))] max-md:w-[calc(100vw-20px)] max-md:right-[10px] max-md:bottom-[20px] ${k?"max-md:inset-0 max-md:rounded-none":""} ${Tr}`,Ef=`fixed ${k?"inset-4 max-md:inset-0 max-md:rounded-none":"bottom-[30px] right-[30px] w-[420px] h-[650px] max-h-[calc(100dvh-60px)] max-md:w-[calc(100vw-20px)] max-md:h-[calc(100dvh-100px)] max-md:right-[10px] max-md:bottom-[20px]"} ${jr} shadow-[0_30px_80px_rgba(0,0,0,0.3)] ${Tr}`,Pf=`relative w-full max-w-[960px] ${k?"h-[90vh] max-h-[820px]":"h-[80vh] max-h-[720px]"} max-md:max-w-none max-md:h-full max-md:rounded-none ${jr} shadow-[0_30px_80px_rgba(0,0,0,0.35)] ${Tr}`,jf=`relative w-full h-full ${jr} shadow-[0_30px_80px_rgba(0,0,0,0.25)] ${Tr}`,Ta=(R,{isPrivacy:U})=>l==="centered"?f.jsxs("div",{className:"fixed inset-0 flex items-center justify-center px-4 max-md:px-0",style:{zIndex:Hn},children:[f.jsx("div",{className:"absolute inset-0 bg-black/40 backdrop-blur-[2px]","aria-hidden":"true",onClick:t}),f.jsx("div",{className:"relative z-10 w-full max-w-[960px] max-md:max-w-none max-md:h-full max-md:flex max-md:items-stretch",children:f.jsx("div",{ref:Pe,role:"dialog","aria-modal":"true","aria-labelledby":U?"privacy-dialog-title":"chat-title","aria-describedby":U?"privacy-dialog-description":"chat-description",lang:z,className:Pf,children:R})})]}):l==="embedded"?f.jsx("div",{ref:Pe,role:"dialog","aria-modal":"true","aria-labelledby":U?"privacy-dialog-title":"chat-title","aria-describedby":U?"privacy-dialog-description":"chat-description",lang:z,className:jf,children:R}):f.jsx("div",{ref:Pe,role:"dialog","aria-modal":"true","aria-labelledby":U?"privacy-dialog-title":"chat-title","aria-describedby":U?"privacy-dialog-description":"chat-description",lang:z,className:U?Af:Ef,style:{zIndex:Hn},children:R});return x?Ta(f.jsxs(f.Fragment,{children:[f.jsx("div",{className:"absolute inset-0 rounded-[24px] p-[1px] opacity-60 pointer-events-none",style:{background:`linear-gradient(135deg,
|
|
295
|
+
`))}function l(m,h,g,b){const y=g.enter("tableCell"),w=g.enter("phrasing"),S=g.containerPhrasing(m,{...b,before:a,after:a});return w(),y(),S}function u(m,h){return Gx(m,{align:h,alignDelimiters:r,padding:n,stringLength:i})}function c(m,h,g){const b=m.children;let y=-1;const w=[],S=h.enter("table");for(;++y<b.length;)w[y]=d(b[y],h,g);return S(),w}function d(m,h,g){const b=m.children;let y=-1;const w=[],S=h.enter("tableRow");for(;++y<b.length;)w[y]=l(b[y],m,h,g);return S(),w}function p(m,h,g){let b=td.inlineCode(m,h,g);return g.stack.includes("tableCell")&&(b=b.replace(/\|/g,"\\$&")),b}}function Rw(){return{exit:{taskListCheckValueChecked:ll,taskListCheckValueUnchecked:ll,paragraph:Ow}}}function Lw(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Fw}}}function ll(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Ow(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,o;for(;++a<i.length;){const s=i[a];if(s.type==="paragraph"){o=s;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function Fw(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);a&&s.move(o);let l=td.listItem(e,t,n,{...r,...s.current()});return a&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),l;function u(c){return c+o}}function Bw(){return[bx(),Fx(),Vx(),Pw(),Rw()]}function Ww(e){return{extensions:[yx(),Bx(e),Jx(),Dw(e),Lw()]}}const qw={tokenize:Zw,partial:!0},nd={tokenize:Gw,partial:!0},rd={tokenize:Kw,partial:!0},id={tokenize:Qw,partial:!0},Vw={tokenize:Yw,partial:!0},od={name:"wwwAutolink",tokenize:Uw,previous:sd},ad={name:"protocolAutolink",tokenize:Xw,previous:ld},Yt={name:"emailAutolink",tokenize:Hw,previous:ud},Bt={};function Jw(){return{text:Bt}}let mn=48;for(;mn<123;)Bt[mn]=Yt,mn++,mn===58?mn=65:mn===91&&(mn=97);Bt[43]=Yt;Bt[45]=Yt;Bt[46]=Yt;Bt[95]=Yt;Bt[72]=[Yt,ad];Bt[104]=[Yt,ad];Bt[87]=[Yt,od];Bt[119]=[Yt,od];function Hw(e,t,n){const r=this;let i,a;return o;function o(d){return!To(d)||!ud.call(r,r.previous)||fa(r.events)?n(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(d))}function s(d){return To(d)?(e.consume(d),s):d===64?(e.consume(d),l):n(d)}function l(d){return d===46?e.check(Vw,c,u)(d):d===45||d===95||lt(d)?(a=!0,e.consume(d),l):c(d)}function u(d){return e.consume(d),i=!0,l}function c(d){return a&&i&&mt(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):n(d)}}function Uw(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!sd.call(r,r.previous)||fa(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(qw,e.attempt(nd,e.attempt(rd,a),n),n)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function Xw(e,t,n){const r=this;let i="",a=!1;return o;function o(d){return(d===72||d===104)&&ld.call(r,r.previous)&&!fa(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(d),e.consume(d),s):n(d)}function s(d){if(mt(d)&&i.length<5)return i+=String.fromCodePoint(d),e.consume(d),s;if(d===58){const p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(d),l}return n(d)}function l(d){return d===47?(e.consume(d),a?u:(a=!0,l)):n(d)}function u(d){return d===null||_r(d)||Fe(d)||yn(d)||pi(d)?n(d):e.attempt(nd,e.attempt(rd,c),n)(d)}function c(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function Zw(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),a):n(o)}function a(o){return o===null?n(o):t(o)}}function Gw(e,t,n){let r,i,a;return o;function o(u){return u===46||u===95?e.check(id,l,s)(u):u===null||Fe(u)||yn(u)||u!==45&&pi(u)?l(u):(a=!0,e.consume(u),o)}function s(u){return u===95?r=!0:(i=r,r=void 0),e.consume(u),o}function l(u){return i||r||!a?n(u):t(u)}}function Kw(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(id,t,a)(o):o===null||Fe(o)||yn(o)?t(o):(e.consume(o),i)}function a(o){return o===41&&r++,e.consume(o),i}}function Qw(e,t,n){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),a):s===93?(e.consume(s),i):s===60||s===null||Fe(s)||yn(s)?t(s):n(s)}function i(s){return s===null||s===40||s===91||Fe(s)||yn(s)?t(s):r(s)}function a(s){return mt(s)?o(s):n(s)}function o(s){return s===59?(e.consume(s),r):mt(s)?(e.consume(s),o):n(s)}}function Yw(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return lt(a)?n(a):t(a)}}function sd(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Fe(e)}function ld(e){return!mt(e)}function ud(e){return!(e===47||To(e))}function To(e){return e===43||e===45||e===46||e===95||lt(e)}function fa(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const _w={tokenize:ak,partial:!0};function $w(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:rk,continuation:{tokenize:ik},exit:ok}},text:{91:{name:"gfmFootnoteCall",tokenize:nk},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ek,resolveTo:tk}}}}function ek(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!o||!o._balanced)return n(l);const u=jt(r.sliceSerialize({start:o.end,end:r.now()}));return u.codePointAt(0)!==94||!a.includes(u.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function tk(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function nk(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,o;return s;function s(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(d){if(a>999||d===93&&!o||d===null||d===91||Fe(d))return n(d);if(d===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return i.includes(jt(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(d)}return Fe(d)||(o=!0),a++,e.consume(d),d===92?c:u}function c(d){return d===91||d===92||d===93?(e.consume(d),a++,u):u(d)}}function rk(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0,s;return l;function l(h){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(h),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(h){return h===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(h),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(h)}function c(h){if(o>999||h===93&&!s||h===null||h===91||Fe(h))return n(h);if(h===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return a=jt(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(h),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Fe(h)||(s=!0),o++,e.consume(h),h===92?d:c}function d(h){return h===91||h===92||h===93?(e.consume(h),o++,c):c(h)}function p(h){return h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),i.includes(a)||i.push(a),Ae(e,m,"gfmFootnoteDefinitionWhitespace")):n(h)}function m(h){return t(h)}}function ik(e,t,n){return e.check(yr,t,e.attempt(_w,t,n))}function ok(e){e.exit("gfmFootnoteDefinition")}function ak(e,t,n){const r=this;return Ae(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):n(a)}}function sk(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,s){let l=-1;for(;++l<o.length;)if(o[l][0]==="enter"&&o[l][1].type==="strikethroughSequenceTemporary"&&o[l][1]._close){let u=l;for(;u--;)if(o[u][0]==="exit"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._open&&o[l][1].end.offset-o[l][1].start.offset===o[u][1].end.offset-o[u][1].start.offset){o[l][1].type="strikethroughSequence",o[u][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},o[u][1].start),end:Object.assign({},o[l][1].end)},d={type:"strikethroughText",start:Object.assign({},o[u][1].end),end:Object.assign({},o[l][1].start)},p=[["enter",c,s],["enter",o[u][1],s],["exit",o[u][1],s],["enter",d,s]],m=s.parser.constructs.insideSpan.null;m&&St(p,p.length,0,hi(m,o.slice(u+1,l),s)),St(p,p.length,0,[["exit",d,s],["enter",o[l][1],s],["exit",o[l][1],s],["exit",c,s]]),St(o,u-1,l-u+3,p),l=u+p.length-2;break}}for(l=-1;++l<o.length;)o[l][1].type==="strikethroughSequenceTemporary"&&(o[l][1].type="data");return o}function a(o,s,l){const u=this.previous,c=this.events;let d=0;return p;function p(h){return u===126&&c[c.length-1][1].type!=="characterEscape"?l(h):(o.enter("strikethroughSequenceTemporary"),m(h))}function m(h){const g=In(u);if(h===126)return d>1?l(h):(o.consume(h),d++,m);if(d<2&&!n)return l(h);const b=o.exit("strikethroughSequenceTemporary"),y=In(h);return b._open=!y||y===2&&!!g,b._close=!g||g===2&&!!y,s(h)}}}class lk{constructor(){this.map=[]}add(t,n,r){uk(this,t,n,r)}consume(t){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0}}function uk(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function ck(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function dk(){return{flow:{null:{name:"table",tokenize:fk,resolveAll:mk}}}}function fk(e,t,n){const r=this;let i=0,a=0,o;return s;function s(k){let j=r.events.length-1;for(;j>-1;){const F=r.events[j][1].type;if(F==="lineEnding"||F==="linePrefix")j--;else break}const I=j>-1?r.events[j][1].type:null,V=I==="tableHead"||I==="tableRow"?z:l;return V===z&&r.parser.lazy[r.now().line]?n(k):V(k)}function l(k){return e.enter("tableHead"),e.enter("tableRow"),u(k)}function u(k){return k===124||(o=!0,a+=1),c(k)}function c(k){return k===null?n(k):te(k)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),m):n(k):xe(k)?Ae(e,c,"whitespace")(k):(a+=1,o&&(o=!1,i+=1),k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),o=!0,c):(e.enter("data"),d(k)))}function d(k){return k===null||k===124||Fe(k)?(e.exit("data"),c(k)):(e.consume(k),k===92?p:d)}function p(k){return k===92||k===124?(e.consume(k),d):d(k)}function m(k){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(k):(e.enter("tableDelimiterRow"),o=!1,xe(k)?Ae(e,h,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):h(k))}function h(k){return k===45||k===58?b(k):k===124?(o=!0,e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),g):P(k)}function g(k){return xe(k)?Ae(e,b,"whitespace")(k):b(k)}function b(k){return k===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),y):k===45?(a+=1,y(k)):k===null||te(k)?E(k):P(k)}function y(k){return k===45?(e.enter("tableDelimiterFiller"),w(k)):P(k)}function w(k){return k===45?(e.consume(k),w):k===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),S):(e.exit("tableDelimiterFiller"),S(k))}function S(k){return xe(k)?Ae(e,E,"whitespace")(k):E(k)}function E(k){return k===124?h(k):k===null||te(k)?!o||i!==a?P(k):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(k)):P(k)}function P(k){return n(k)}function z(k){return e.enter("tableRow"),T(k)}function T(k){return k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),T):k===null||te(k)?(e.exit("tableRow"),t(k)):xe(k)?Ae(e,T,"whitespace")(k):(e.enter("data"),L(k))}function L(k){return k===null||k===124||Fe(k)?(e.exit("data"),T(k)):(e.consume(k),k===92?N:L)}function N(k){return k===92||k===124?(e.consume(k),L):L(k)}}function mk(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,l=0,u,c,d;const p=new lk;for(;++n<e.length;){const m=e[n],h=m[1];m[0]==="enter"?h.type==="tableHead"?(s=!1,l!==0&&(ul(p,t,l,u,c),c=void 0,l=0),u={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(n,0,[["enter",u,t]])):h.type==="tableRow"||h.type==="tableDelimiterRow"?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,c={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(n,0,[["enter",c,t]])),i=h.type==="tableDelimiterRow"?2:c?3:1):i&&(h.type==="data"||h.type==="tableDelimiterMarker"||h.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=Rr(p,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):h.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=Rr(p,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):h.type==="tableHead"?(s=!0,l=n):h.type==="tableRow"||h.type==="tableDelimiterRow"?(l=n,a[1]!==0?(o[0]=o[1],d=Rr(p,t,a,i,n,d)):o[1]!==0&&(d=Rr(p,t,o,i,n,d)),i=0):i&&(h.type==="data"||h.type==="tableDelimiterMarker"||h.type==="tableDelimiterFiller")&&(o[3]=n)}for(l!==0&&ul(p,t,l,u,c),p.consume(t.events),n=-1;++n<t.events.length;){const m=t.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=ck(t.events,n))}return e}function Rr(e,t,n,r,i,a){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(a.end=Object.assign({},Pn(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const l=Pn(t.events,n[1]);if(a={type:o,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const u=Pn(t.events,n[2]),c=Pn(t.events,n[3]),d={type:s,start:Object.assign({},u),end:Object.assign({},c)};if(e.add(n[2],0,[["enter",d,t]]),r!==2){const p=t.events[n[2]],m=t.events[n[3]];if(p[1].end=Object.assign({},m[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){const h=n[2]+1,g=n[3]-n[2]-1;e.add(h,g,[])}}e.add(n[3]+1,0,[["exit",d,t]])}return i!==void 0&&(a.end=Object.assign({},Pn(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function ul(e,t,n,r,i){const a=[],o=Pn(t.events,n);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),r.end=Object.assign({},o),a.push(["exit",r,t]),e.add(n+1,0,a)}function Pn(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const pk={name:"tasklistCheck",tokenize:gk};function hk(){return{text:{91:pk}}}function gk(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),a)}function a(l){return Fe(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):n(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return te(l)?t(l):xe(l)?e.check({tokenize:bk},t,n)(l):n(l)}}function bk(e,t,n){return Ae(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function yk(e){return yc([Jw(),$w(),sk(e),dk(),hk()])}const vk={};function xk(e){const t=this,n=e||vk,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(yk(n)),a.push(Bw()),o.push(Ww(n))}function _e(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function wk(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const Lr=43200,cl=1440;let kk={};function cd(){return kk}function dl(e,t){var s,l,u,c;const n=cd(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,i=_e(e),a=i.getDay(),o=(a<r?7:0)+a-r;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function fl(e){const t=_e(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Xr(e,t){const n=_e(e),r=_e(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}function Sk(e){return wk(e,Date.now())}function Ck(e,t){const n=_e(e),r=_e(t),i=n.getFullYear()-r.getFullYear(),a=n.getMonth()-r.getMonth();return i*12+a}function zk(e){return t=>{const r=(e?Math[e]:Math.trunc)(t);return r===0?0:r}}function Ak(e,t){return+_e(e)-+_e(t)}function Ek(e){const t=_e(e);return t.setHours(23,59,59,999),t}function Pk(e){const t=_e(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function jk(e){const t=_e(e);return+Ek(t)==+Pk(t)}function Tk(e,t){const n=_e(e),r=_e(t),i=Xr(n,r),a=Math.abs(Ck(n,r));let o;if(a<1)o=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-i*a);let s=Xr(n,r)===-i;jk(_e(e))&&a===1&&Xr(e,r)===1&&(s=!1),o=i*(a-Number(s))}return o===0?0:o}function Nk(e,t,n){const r=Ak(e,t)/1e3;return zk(n==null?void 0:n.roundingMethod)(r)}const Mk={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Ik=(e,t,n)=>{let r;const i=Mk[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Be(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Dk={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Rk={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Lk={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ok={date:Be({formats:Dk,defaultWidth:"full"}),time:Be({formats:Rk,defaultWidth:"full"}),dateTime:Be({formats:Lk,defaultWidth:"full"})},Fk={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Bk=(e,t,n,r)=>Fk[e];function le(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let i;if(r==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{const o=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[s]||e.values[o]}const a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}const Wk={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},qk={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Vk={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Jk={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Hk={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Uk={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Xk=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Zk={ordinalNumber:Xk,era:le({values:Wk,defaultWidth:"wide"}),quarter:le({values:qk,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:Vk,defaultWidth:"wide"}),day:le({values:Jk,defaultWidth:"wide"}),dayPeriod:le({values:Hk,defaultWidth:"wide",formattingValues:Uk,defaultFormattingWidth:"wide"})};function ue(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;const o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?Kk(s,d=>d.test(o)):Gk(s,d=>d.test(o));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const c=t.slice(o.length);return{value:u,rest:c}}}function Gk(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Kk(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function _t(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;const s=t.slice(i.length);return{value:o,rest:s}}}const Qk=/^(\d+)(th|st|nd|rd)?/i,Yk=/\d+/i,_k={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},$k={any:[/^b/i,/^(a|c)/i]},e0={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},t0={any:[/1/i,/2/i,/3/i,/4/i]},n0={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},r0={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},i0={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},o0={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},a0={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},s0={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},l0={ordinalNumber:_t({matchPattern:Qk,parsePattern:Yk,valueCallback:e=>parseInt(e,10)}),era:ue({matchPatterns:_k,defaultMatchWidth:"wide",parsePatterns:$k,defaultParseWidth:"any"}),quarter:ue({matchPatterns:e0,defaultMatchWidth:"wide",parsePatterns:t0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:n0,defaultMatchWidth:"wide",parsePatterns:r0,defaultParseWidth:"any"}),day:ue({matchPatterns:i0,defaultMatchWidth:"wide",parsePatterns:o0,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:a0,defaultMatchWidth:"any",parsePatterns:s0,defaultParseWidth:"any"})},ma={code:"en-US",formatDistance:Ik,formatLong:Ok,formatRelative:Bk,localize:Zk,match:l0,options:{weekStartsOn:0,firstWeekContainsDate:1}};function u0(e,t,n){const r=cd(),i=(n==null?void 0:n.locale)??r.locale??ma,a=2520,o=Xr(e,t);if(isNaN(o))throw new RangeError("Invalid time value");const s=Object.assign({},n,{addSuffix:n==null?void 0:n.addSuffix,comparison:o});let l,u;o>0?(l=_e(t),u=_e(e)):(l=_e(e),u=_e(t));const c=Nk(u,l),d=(fl(u)-fl(l))/1e3,p=Math.round((c-d)/60);let m;if(p<2)return n!=null&&n.includeSeconds?c<5?i.formatDistance("lessThanXSeconds",5,s):c<10?i.formatDistance("lessThanXSeconds",10,s):c<20?i.formatDistance("lessThanXSeconds",20,s):c<40?i.formatDistance("halfAMinute",0,s):c<60?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",1,s):p===0?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",p,s);if(p<45)return i.formatDistance("xMinutes",p,s);if(p<90)return i.formatDistance("aboutXHours",1,s);if(p<cl){const h=Math.round(p/60);return i.formatDistance("aboutXHours",h,s)}else{if(p<a)return i.formatDistance("xDays",1,s);if(p<Lr){const h=Math.round(p/cl);return i.formatDistance("xDays",h,s)}else if(p<Lr*2)return m=Math.round(p/Lr),i.formatDistance("aboutXMonths",m,s)}if(m=Tk(u,l),m<12){const h=Math.round(p/Lr);return i.formatDistance("xMonths",h,s)}else{const h=m%12,g=Math.trunc(m/12);return h<3?i.formatDistance("aboutXYears",g,s):h<9?i.formatDistance("overXYears",g,s):i.formatDistance("almostXYears",g+1,s)}}function c0(e,t){return u0(e,Sk(e),t)}function ur(e,t,n){const r=dl(e,n),i=dl(t,n);return+r==+i}const d0={lessThanXSeconds:{one:"أقل من ثانية",two:"أقل من ثانيتين",threeToTen:"أقل من {{count}} ثواني",other:"أقل من {{count}} ثانية"},xSeconds:{one:"ثانية واحدة",two:"ثانيتان",threeToTen:"{{count}} ثواني",other:"{{count}} ثانية"},halfAMinute:"نصف دقيقة",lessThanXMinutes:{one:"أقل من دقيقة",two:"أقل من دقيقتين",threeToTen:"أقل من {{count}} دقائق",other:"أقل من {{count}} دقيقة"},xMinutes:{one:"دقيقة واحدة",two:"دقيقتان",threeToTen:"{{count}} دقائق",other:"{{count}} دقيقة"},aboutXHours:{one:"ساعة واحدة تقريباً",two:"ساعتين تقريبا",threeToTen:"{{count}} ساعات تقريباً",other:"{{count}} ساعة تقريباً"},xHours:{one:"ساعة واحدة",two:"ساعتان",threeToTen:"{{count}} ساعات",other:"{{count}} ساعة"},xDays:{one:"يوم واحد",two:"يومان",threeToTen:"{{count}} أيام",other:"{{count}} يوم"},aboutXWeeks:{one:"أسبوع واحد تقريبا",two:"أسبوعين تقريبا",threeToTen:"{{count}} أسابيع تقريبا",other:"{{count}} أسبوعا تقريبا"},xWeeks:{one:"أسبوع واحد",two:"أسبوعان",threeToTen:"{{count}} أسابيع",other:"{{count}} أسبوعا"},aboutXMonths:{one:"شهر واحد تقريباً",two:"شهرين تقريبا",threeToTen:"{{count}} أشهر تقريبا",other:"{{count}} شهرا تقريباً"},xMonths:{one:"شهر واحد",two:"شهران",threeToTen:"{{count}} أشهر",other:"{{count}} شهرا"},aboutXYears:{one:"سنة واحدة تقريباً",two:"سنتين تقريبا",threeToTen:"{{count}} سنوات تقريباً",other:"{{count}} سنة تقريباً"},xYears:{one:"سنة واحد",two:"سنتان",threeToTen:"{{count}} سنوات",other:"{{count}} سنة"},overXYears:{one:"أكثر من سنة",two:"أكثر من سنتين",threeToTen:"أكثر من {{count}} سنوات",other:"أكثر من {{count}} سنة"},almostXYears:{one:"ما يقارب سنة واحدة",two:"ما يقارب سنتين",threeToTen:"ما يقارب {{count}} سنوات",other:"ما يقارب {{count}} سنة"}},f0=(e,t,n)=>{const r=d0[e];let i;return typeof r=="string"?i=r:t===1?i=r.one:t===2?i=r.two:t<=10?i=r.threeToTen.replace("{{count}}",String(t)):i=r.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"خلال "+i:"منذ "+i:i},m0={full:"EEEE، do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},p0={full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},h0={full:"{{date}} 'عند الساعة' {{time}}",long:"{{date}} 'عند الساعة' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},g0={date:Be({formats:m0,defaultWidth:"full"}),time:Be({formats:p0,defaultWidth:"full"}),dateTime:Be({formats:h0,defaultWidth:"full"})},b0={lastWeek:"eeee 'الماضي عند الساعة' p",yesterday:"'الأمس عند الساعة' p",today:"'اليوم عند الساعة' p",tomorrow:"'غدا عند الساعة' p",nextWeek:"eeee 'القادم عند الساعة' p",other:"P"},y0=e=>b0[e],v0={narrow:["ق","ب"],abbreviated:["ق.م.","ب.م."],wide:["قبل الميلاد","بعد الميلاد"]},x0={narrow:["1","2","3","4"],abbreviated:["ر1","ر2","ر3","ر4"],wide:["الربع الأول","الربع الثاني","الربع الثالث","الربع الرابع"]},w0={narrow:["ي","ف","م","أ","م","ي","ي","أ","س","أ","ن","د"],abbreviated:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],wide:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},k0={narrow:["ح","ن","ث","ر","خ","ج","س"],short:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],abbreviated:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],wide:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},S0={narrow:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"المساء",night:"الليل",midnight:"منتصف الليل"}},C0={narrow:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},abbreviated:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"},wide:{am:"ص",pm:"م",morning:"في الصباح",noon:"الظهر",afternoon:"بعد الظهر",evening:"في المساء",night:"في الليل",midnight:"منتصف الليل"}},z0=e=>String(e),A0={ordinalNumber:z0,era:le({values:v0,defaultWidth:"wide"}),quarter:le({values:x0,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:w0,defaultWidth:"wide"}),day:le({values:k0,defaultWidth:"wide"}),dayPeriod:le({values:S0,defaultWidth:"wide",formattingValues:C0,defaultFormattingWidth:"wide"})},E0=/^(\d+)(th|st|nd|rd)?/i,P0=/\d+/i,j0={narrow:/[قب]/,abbreviated:/[قب]\.م\./,wide:/(قبل|بعد) الميلاد/},T0={any:[/قبل/,/بعد/]},N0={narrow:/^[1234]/i,abbreviated:/ر[1234]/,wide:/الربع (الأول|الثاني|الثالث|الرابع)/},M0={any:[/1/i,/2/i,/3/i,/4/i]},I0={narrow:/^[أيفمسند]/,abbreviated:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/,wide:/^(يناير|فبراير|مارس|أبريل|مايو|يونيو|يوليو|أغسطس|سبتمبر|أكتوبر|نوفمبر|ديسمبر)/},D0={narrow:[/^ي/i,/^ف/i,/^م/i,/^أ/i,/^م/i,/^ي/i,/^ي/i,/^أ/i,/^س/i,/^أ/i,/^ن/i,/^د/i],any:[/^يناير/i,/^فبراير/i,/^مارس/i,/^أبريل/i,/^مايو/i,/^يونيو/i,/^يوليو/i,/^أغسطس/i,/^سبتمبر/i,/^أكتوبر/i,/^نوفمبر/i,/^ديسمبر/i]},R0={narrow:/^[حنثرخجس]/i,short:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,abbreviated:/^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,wide:/^(الأحد|الاثنين|الثلاثاء|الأربعاء|الخميس|الجمعة|السبت)/i},L0={narrow:[/^ح/i,/^ن/i,/^ث/i,/^ر/i,/^خ/i,/^ج/i,/^س/i],wide:[/^الأحد/i,/^الاثنين/i,/^الثلاثاء/i,/^الأربعاء/i,/^الخميس/i,/^الجمعة/i,/^السبت/i],any:[/^أح/i,/^اث/i,/^ث/i,/^أر/i,/^خ/i,/^ج/i,/^س/i]},O0={narrow:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/,any:/^(ص|م|منتصف الليل|الظهر|بعد الظهر|في الصباح|في المساء|في الليل)/},F0={any:{am:/^ص/,pm:/^م/,midnight:/منتصف الليل/,noon:/الظهر/,afternoon:/بعد الظهر/,morning:/في الصباح/,evening:/في المساء/,night:/في الليل/}},B0={ordinalNumber:_t({matchPattern:E0,parsePattern:P0,valueCallback:e=>parseInt(e,10)}),era:ue({matchPatterns:j0,defaultMatchWidth:"wide",parsePatterns:T0,defaultParseWidth:"any"}),quarter:ue({matchPatterns:N0,defaultMatchWidth:"wide",parsePatterns:M0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:I0,defaultMatchWidth:"wide",parsePatterns:D0,defaultParseWidth:"any"}),day:ue({matchPatterns:R0,defaultMatchWidth:"wide",parsePatterns:L0,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:O0,defaultMatchWidth:"any",parsePatterns:F0,defaultParseWidth:"any"})},W0={code:"ar",formatDistance:f0,formatLong:g0,formatRelative:y0,localize:A0,match:B0,options:{weekStartsOn:6,firstWeekContainsDate:1}},ml={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},q0=(e,t,n)=>{let r;const i=n!=null&&n.addSuffix?ml[e].withPreposition:ml[e].standalone;return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:"vor "+r:r},V0={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},J0={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},H0={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},U0={date:Be({formats:V0,defaultWidth:"full"}),time:Be({formats:J0,defaultWidth:"full"}),dateTime:Be({formats:H0,defaultWidth:"full"})},X0={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},Z0=(e,t,n,r)=>X0[e],G0={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},K0={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},No={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},Q0={narrow:No.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:No.wide},Y0={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},_0={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},$0={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},e1=e=>Number(e)+".",t1={ordinalNumber:e1,era:le({values:G0,defaultWidth:"wide"}),quarter:le({values:K0,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:No,formattingValues:Q0,defaultWidth:"wide"}),day:le({values:Y0,defaultWidth:"wide"}),dayPeriod:le({values:_0,defaultWidth:"wide",formattingValues:$0,defaultFormattingWidth:"wide"})},n1=/^(\d+)(\.)?/i,r1=/\d+/i,i1={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},o1={any:[/^v/i,/^n/i]},a1={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},s1={any:[/1/i,/2/i,/3/i,/4/i]},l1={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},u1={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},c1={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},d1={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},f1={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},m1={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},p1={ordinalNumber:_t({matchPattern:n1,parsePattern:r1,valueCallback:e=>parseInt(e)}),era:ue({matchPatterns:i1,defaultMatchWidth:"wide",parsePatterns:o1,defaultParseWidth:"any"}),quarter:ue({matchPatterns:a1,defaultMatchWidth:"wide",parsePatterns:s1,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:l1,defaultMatchWidth:"wide",parsePatterns:u1,defaultParseWidth:"any"}),day:ue({matchPatterns:c1,defaultMatchWidth:"wide",parsePatterns:d1,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:f1,defaultMatchWidth:"wide",parsePatterns:m1,defaultParseWidth:"any"})},pl={code:"de",formatDistance:q0,formatLong:U0,formatRelative:Z0,localize:t1,match:p1,options:{weekStartsOn:1,firstWeekContainsDate:4}},h1={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},g1=(e,t,n)=>{let r;const i=h1[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"en "+r:"hace "+r:r},b1={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},y1={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},v1={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},x1={date:Be({formats:b1,defaultWidth:"full"}),time:Be({formats:y1,defaultWidth:"full"}),dateTime:Be({formats:v1,defaultWidth:"full"})},w1={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},k1={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},S1=(e,t,n,r)=>t.getHours()!==1?k1[e]:w1[e],C1={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},z1={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},A1={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},E1={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},P1={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},j1={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},T1=(e,t)=>Number(e)+"º",N1={ordinalNumber:T1,era:le({values:C1,defaultWidth:"wide"}),quarter:le({values:z1,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:le({values:A1,defaultWidth:"wide"}),day:le({values:E1,defaultWidth:"wide"}),dayPeriod:le({values:P1,defaultWidth:"wide",formattingValues:j1,defaultFormattingWidth:"wide"})},M1=/^(\d+)(º)?/i,I1=/\d+/i,D1={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},R1={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},L1={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},O1={any:[/1/i,/2/i,/3/i,/4/i]},F1={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},B1={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},W1={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},q1={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},V1={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},J1={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},H1={ordinalNumber:_t({matchPattern:M1,parsePattern:I1,valueCallback:function(e){return parseInt(e,10)}}),era:ue({matchPatterns:D1,defaultMatchWidth:"wide",parsePatterns:R1,defaultParseWidth:"any"}),quarter:ue({matchPatterns:L1,defaultMatchWidth:"wide",parsePatterns:O1,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:F1,defaultMatchWidth:"wide",parsePatterns:B1,defaultParseWidth:"any"}),day:ue({matchPatterns:W1,defaultMatchWidth:"wide",parsePatterns:q1,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:V1,defaultMatchWidth:"any",parsePatterns:J1,defaultParseWidth:"any"})},U1={code:"es",formatDistance:g1,formatLong:x1,formatRelative:S1,localize:N1,match:H1,options:{weekStartsOn:1,firstWeekContainsDate:1}},X1={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},Z1=(e,t,n)=>{let r;const i=X1[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+r:"il y a "+r:r},G1={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},K1={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Q1={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Y1={date:Be({formats:G1,defaultWidth:"full"}),time:Be({formats:K1,defaultWidth:"full"}),dateTime:Be({formats:Q1,defaultWidth:"full"})},_1={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},$1=(e,t,n,r)=>_1[e],eS={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},tS={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},nS={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},rS={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},iS={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},oS=(e,t)=>{const n=Number(e),r=t==null?void 0:t.unit;if(n===0)return"0";const i=["year","week","hour","minute","second"];let a;return n===1?a=r&&i.includes(r)?"ère":"er":a="ème",n+a},aS=["MMM","MMMM"],sS={preprocessor:(e,t)=>e.getDate()===1||!t.some(r=>r.isToken&&aS.includes(r.value))?t:t.map(r=>r.isToken&&r.value==="do"?{isToken:!0,value:"d"}:r),ordinalNumber:oS,era:le({values:eS,defaultWidth:"wide"}),quarter:le({values:tS,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:nS,defaultWidth:"wide"}),day:le({values:rS,defaultWidth:"wide"}),dayPeriod:le({values:iS,defaultWidth:"wide"})},lS=/^(\d+)(ième|ère|ème|er|e)?/i,uS=/\d+/i,cS={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},dS={any:[/^av/i,/^ap/i]},fS={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},mS={any:[/1/i,/2/i,/3/i,/4/i]},pS={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},hS={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},gS={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},bS={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},yS={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},vS={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},xS={ordinalNumber:_t({matchPattern:lS,parsePattern:uS,valueCallback:e=>parseInt(e)}),era:ue({matchPatterns:cS,defaultMatchWidth:"wide",parsePatterns:dS,defaultParseWidth:"any"}),quarter:ue({matchPatterns:fS,defaultMatchWidth:"wide",parsePatterns:mS,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:pS,defaultMatchWidth:"wide",parsePatterns:hS,defaultParseWidth:"any"}),day:ue({matchPatterns:gS,defaultMatchWidth:"wide",parsePatterns:bS,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:yS,defaultMatchWidth:"any",parsePatterns:vS,defaultParseWidth:"any"})},wS={code:"fr",formatDistance:Z1,formatLong:Y1,formatRelative:$1,localize:sS,match:xS,options:{weekStartsOn:1,firstWeekContainsDate:4}},kS={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},SS=(e,t,n)=>{let r;const i=kS[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+r:r+" fa":r},CS={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},zS={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},AS={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},ES={date:Be({formats:CS,defaultWidth:"full"}),time:Be({formats:zS,defaultWidth:"full"}),dateTime:Be({formats:AS,defaultWidth:"full"})},pa=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function PS(e){switch(e){case 0:return"'domenica scorsa alle' p";default:return"'"+pa[e]+" scorso alle' p"}}function hl(e){return"'"+pa[e]+" alle' p"}function jS(e){switch(e){case 0:return"'domenica prossima alle' p";default:return"'"+pa[e]+" prossimo alle' p"}}const TS={lastWeek:(e,t,n)=>{const r=e.getDay();return ur(e,t,n)?hl(r):PS(r)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(e,t,n)=>{const r=e.getDay();return ur(e,t,n)?hl(r):jS(r)},other:"P"},NS=(e,t,n,r)=>{const i=TS[e];return typeof i=="function"?i(t,n,r):i},MS={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},IS={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},DS={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},RS={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},LS={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},OS={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},FS=(e,t)=>{const n=Number(e);return String(n)},BS={ordinalNumber:FS,era:le({values:MS,defaultWidth:"wide"}),quarter:le({values:IS,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:DS,defaultWidth:"wide"}),day:le({values:RS,defaultWidth:"wide"}),dayPeriod:le({values:LS,defaultWidth:"wide",formattingValues:OS,defaultFormattingWidth:"wide"})},WS=/^(\d+)(º)?/i,qS=/\d+/i,VS={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},JS={any:[/^a/i,/^(d|e)/i]},HS={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},US={any:[/1/i,/2/i,/3/i,/4/i]},XS={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},ZS={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},GS={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},KS={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},QS={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},YS={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},_S={ordinalNumber:_t({matchPattern:WS,parsePattern:qS,valueCallback:e=>parseInt(e,10)}),era:ue({matchPatterns:VS,defaultMatchWidth:"wide",parsePatterns:JS,defaultParseWidth:"any"}),quarter:ue({matchPatterns:HS,defaultMatchWidth:"wide",parsePatterns:US,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:XS,defaultMatchWidth:"wide",parsePatterns:ZS,defaultParseWidth:"any"}),day:ue({matchPatterns:GS,defaultMatchWidth:"wide",parsePatterns:KS,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:QS,defaultMatchWidth:"any",parsePatterns:YS,defaultParseWidth:"any"})},$S={code:"it",formatDistance:SS,formatLong:ES,formatRelative:NS,localize:BS,match:_S,options:{weekStartsOn:1,firstWeekContainsDate:4}},eC={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function tC(e,t){if(t===1)return e.one;const n=t%100;if(n<=20&&n>10)return e.other;const r=n%10;return r>=2&&r<=4?e.twoFour:e.other}function oo(e,t,n){const r=tC(e,t);return(typeof r=="string"?r:r[n]).replace("{{count}}",String(t))}const nC=(e,t,n)=>{const r=eC[e];return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"za "+oo(r,t,"future"):oo(r,t,"past")+" temu":oo(r,t,"regular")},rC={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},iC={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},oC={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},aC={date:Be({formats:rC,defaultWidth:"full"}),time:Be({formats:iC,defaultWidth:"full"}),dateTime:Be({formats:oC,defaultWidth:"full"})},sC={masculine:"ostatni",feminine:"ostatnia"},lC={masculine:"ten",feminine:"ta"},uC={masculine:"następny",feminine:"następna"},cC={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function gl(e,t,n,r){let i;if(ur(t,n,r))i=lC;else if(e==="lastWeek")i=sC;else if(e==="nextWeek")i=uC;else throw new Error(`Cannot determine adjectives for token ${e}`);const a=t.getDay(),o=cC[a];return`'${i[o]}' eeee 'o' p`}const dC={lastWeek:gl,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:gl,other:"P"},fC=(e,t,n,r)=>{const i=dC[e];return typeof i=="function"?i(e,t,n,r):i},mC={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},pC={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},hC={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},gC={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},bC={narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},yC={narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},vC={narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},xC={narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},wC=(e,t)=>String(e),kC={ordinalNumber:wC,era:le({values:mC,defaultWidth:"wide"}),quarter:le({values:pC,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:hC,defaultWidth:"wide",formattingValues:gC,defaultFormattingWidth:"wide"}),day:le({values:bC,defaultWidth:"wide",formattingValues:yC,defaultFormattingWidth:"wide"}),dayPeriod:le({values:vC,defaultWidth:"wide",formattingValues:xC,defaultFormattingWidth:"wide"})},SC=/^(\d+)?/i,CC=/\d+/i,zC={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},AC={any:[/^p/i,/^n/i]},EC={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},PC={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},jC={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},TC={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},NC={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},MC={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},IC={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},DC={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},RC={ordinalNumber:_t({matchPattern:SC,parsePattern:CC,valueCallback:e=>parseInt(e,10)}),era:ue({matchPatterns:zC,defaultMatchWidth:"wide",parsePatterns:AC,defaultParseWidth:"any"}),quarter:ue({matchPatterns:EC,defaultMatchWidth:"wide",parsePatterns:PC,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:jC,defaultMatchWidth:"wide",parsePatterns:TC,defaultParseWidth:"any"}),day:ue({matchPatterns:NC,defaultMatchWidth:"wide",parsePatterns:MC,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:IC,defaultMatchWidth:"any",parsePatterns:DC,defaultParseWidth:"any"})},LC={code:"pl",formatDistance:nC,formatLong:aC,formatRelative:fC,localize:kC,match:RC,options:{weekStartsOn:1,firstWeekContainsDate:4}},OC={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},FC=(e,t,n)=>{let r;const i=OC[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?r+" sonra":r+" önce":r},BC={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},WC={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},qC={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},VC={date:Be({formats:BC,defaultWidth:"full"}),time:Be({formats:WC,defaultWidth:"full"}),dateTime:Be({formats:qC,defaultWidth:"full"})},JC={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},HC=(e,t,n,r)=>JC[e],UC={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},XC={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},ZC={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},GC={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},KC={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},QC={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},YC=(e,t)=>Number(e)+".",_C={ordinalNumber:YC,era:le({values:UC,defaultWidth:"wide"}),quarter:le({values:XC,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:le({values:ZC,defaultWidth:"wide"}),day:le({values:GC,defaultWidth:"wide"}),dayPeriod:le({values:KC,defaultWidth:"wide",formattingValues:QC,defaultFormattingWidth:"wide"})},$C=/^(\d+)(\.)?/i,ez=/\d+/i,tz={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},nz={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},rz={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},iz={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},oz={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},az={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},sz={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},lz={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},uz={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},cz={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},dz={ordinalNumber:_t({matchPattern:$C,parsePattern:ez,valueCallback:function(e){return parseInt(e,10)}}),era:ue({matchPatterns:tz,defaultMatchWidth:"wide",parsePatterns:nz,defaultParseWidth:"any"}),quarter:ue({matchPatterns:rz,defaultMatchWidth:"wide",parsePatterns:iz,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:oz,defaultMatchWidth:"wide",parsePatterns:az,defaultParseWidth:"any"}),day:ue({matchPatterns:sz,defaultMatchWidth:"wide",parsePatterns:lz,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:uz,defaultMatchWidth:"any",parsePatterns:cz,defaultParseWidth:"any"})},fz={code:"tr",formatDistance:FC,formatLong:VC,formatRelative:HC,localize:_C,match:dz,options:{weekStartsOn:1,firstWeekContainsDate:1}};function _n(e,t){if(e.one!==void 0&&t===1)return e.one;const n=t%10,r=t%100;return n===1&&r!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(r<10||r>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function ft(e){return(t,n)=>n&&n.addSuffix?n.comparison&&n.comparison>0?e.future?_n(e.future,t):"за "+_n(e.regular,t):e.past?_n(e.past,t):_n(e.regular,t)+" тому":_n(e.regular,t)}const mz=(e,t)=>t&&t.addSuffix?t.comparison&&t.comparison>0?"за півхвилини":"півхвилини тому":"півхвилини",pz={lessThanXSeconds:ft({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:ft({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:mz,lessThanXMinutes:ft({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:ft({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:ft({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:ft({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:ft({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днi",pluralGenitive:"{{count}} днів"}}),aboutXWeeks:ft({regular:{singularNominative:"близько {{count}} тижня",singularGenitive:"близько {{count}} тижнів",pluralGenitive:"близько {{count}} тижнів"},future:{singularNominative:"приблизно за {{count}} тиждень",singularGenitive:"приблизно за {{count}} тижні",pluralGenitive:"приблизно за {{count}} тижнів"}}),xWeeks:ft({regular:{singularNominative:"{{count}} тиждень",singularGenitive:"{{count}} тижні",pluralGenitive:"{{count}} тижнів"}}),aboutXMonths:ft({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяці",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:ft({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяці",pluralGenitive:"{{count}} місяців"}}),aboutXYears:ft({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:ft({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:ft({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:ft({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})},hz=(e,t,n)=>(n=n||{},pz[e](t,n)),gz={full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},bz={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},yz={full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},vz={date:Be({formats:gz,defaultWidth:"full"}),time:Be({formats:bz,defaultWidth:"full"}),dateTime:Be({formats:yz,defaultWidth:"full"})},ha=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function xz(e){const t=ha[e];switch(e){case 0:case 3:case 5:case 6:return"'у минулу "+t+" о' p";case 1:case 2:case 4:return"'у минулий "+t+" о' p"}}function dd(e){return"'у "+ha[e]+" о' p"}function wz(e){const t=ha[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступну "+t+" о' p";case 1:case 2:case 4:return"'у наступний "+t+" о' p"}}const kz=(e,t,n)=>{const r=_e(e),i=r.getDay();return ur(r,t,n)?dd(i):xz(i)},Sz=(e,t,n)=>{const r=_e(e),i=r.getDay();return ur(r,t,n)?dd(i):wz(i)},Cz={lastWeek:kz,yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:Sz,other:"P"},zz=(e,t,n,r)=>{const i=Cz[e];return typeof i=="function"?i(t,n,r):i},Az={narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},Ez={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},Pz={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},jz={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},Tz={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},Nz={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранок",afternoon:"день",evening:"вечір",night:"ніч"}},Mz={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"}},Iz=(e,t)=>{const n=String(t==null?void 0:t.unit),r=Number(e);let i;return n==="date"?r===3||r===23?i="-є":i="-е":n==="minute"||n==="second"||n==="hour"?i="-а":i="-й",r+i},Dz={ordinalNumber:Iz,era:le({values:Az,defaultWidth:"wide"}),quarter:le({values:Ez,defaultWidth:"wide",argumentCallback:e=>e-1}),month:le({values:Pz,defaultWidth:"wide",formattingValues:jz,defaultFormattingWidth:"wide"}),day:le({values:Tz,defaultWidth:"wide"}),dayPeriod:le({values:Nz,defaultWidth:"any",formattingValues:Mz,defaultFormattingWidth:"wide"})},Rz=/^(\d+)(-?(е|й|є|а|я))?/i,Lz=/\d+/i,Oz={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},Fz={any:[/^д/i,/^н/i]},Bz={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},Wz={any:[/1/i,/2/i,/3/i,/4/i]},qz={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},Vz={narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},Jz={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},Hz={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},Uz={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},Xz={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},Zz={ordinalNumber:_t({matchPattern:Rz,parsePattern:Lz,valueCallback:e=>parseInt(e,10)}),era:ue({matchPatterns:Oz,defaultMatchWidth:"wide",parsePatterns:Fz,defaultParseWidth:"any"}),quarter:ue({matchPatterns:Bz,defaultMatchWidth:"wide",parsePatterns:Wz,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ue({matchPatterns:qz,defaultMatchWidth:"wide",parsePatterns:Vz,defaultParseWidth:"any"}),day:ue({matchPatterns:Jz,defaultMatchWidth:"wide",parsePatterns:Hz,defaultParseWidth:"any"}),dayPeriod:ue({matchPatterns:Uz,defaultMatchWidth:"wide",parsePatterns:Xz,defaultParseWidth:"any"})},Gz={code:"uk",formatDistance:hz,formatLong:vz,formatRelative:zz,localize:Dz,match:Zz,options:{weekStartsOn:1,firstWeekContainsDate:1}},bl="group-hover:[animation-play-state:paused] group-focus-within:[animation-play-state:paused]";function Kz({quickActions:e,theme:t,onSelect:n,pauseOnHover:r=!1}){return e.length?f.jsxs("div",{className:`${r?"group ":""}space-y-1.5 mb-4 py-2`,style:{animation:"fadeInUp 0.6s ease-out"},children:[f.jsx("div",{className:"relative flex gap-2 overflow-x-hidden overflow-y-visible py-1",children:f.jsx("div",{className:`flex gap-2 animate-[scrollLeft_25s_linear_infinite] ${r?bl:""}`,children:[...e.slice(0,4),...e.slice(0,4)].map((i,a)=>f.jsx("button",{onClick:()=>n(i.message),"aria-label":`Schnellaktion: ${i.title}`,className:`flex-shrink-0 px-4 py-2.5 rounded-full text-xs font-medium transition-all duration-300 whitespace-nowrap focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 focus:ring-offset-background hover:scale-105 border ${t==="light"?"bg-white/90 text-foreground shadow-none hover:bg-white hover:shadow-none":"bg-white/8 backdrop-blur-[10px] text-foreground/90 hover:bg-white/15 hover:shadow-[0_4px_15px_hsl(var(--glow-primary)/0.3)]"}`,style:{borderColor:"hsl(var(--chat-quick-border))"},children:i.title},`row1-${a}`))})}),f.jsx("div",{className:"relative flex gap-2 overflow-x-hidden overflow-y-visible py-1",children:f.jsx("div",{className:`flex gap-2 animate-[scrollRight_30s_linear_infinite] ${r?bl:""}`,children:[...e.slice(4),...e.slice(4)].map((i,a)=>f.jsx("button",{onClick:()=>n(i.message),"aria-label":`Schnellaktion: ${i.title}`,className:`flex-shrink-0 px-4 py-2.5 rounded-full text-xs font-medium transition-all duration-300 whitespace-nowrap hover:scale-105 focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 focus:ring-offset-background border ${t==="light"?"bg-white/90 text-foreground shadow-none hover:bg-white hover:shadow-none":"bg-white/8 backdrop-blur-[10px] text-foreground/90 hover:bg-white/15 hover:shadow-[0_4px_15px_hsl(var(--glow-primary)/0.3)]"}`,style:{borderColor:"hsl(var(--chat-quick-border))"},children:i.title},`row2-${a}`))})})]}):null}const Qz=({sources:e})=>e.length===0?null:f.jsxs("div",{className:"space-y-1.5 w-full min-w-full",children:[f.jsx("div",{className:"text-[10px] uppercase tracking-wider text-foreground/50 font-semibold",children:"Quellen"}),f.jsx("div",{className:"flex flex-col gap-1",children:e.map((t,n)=>f.jsx("div",{className:"flex items-center gap-2 text-xs text-foreground/70 bg-muted rounded-lg px-3 py-2 border border-border hover:bg-muted/80 transition-all group w-full max-w-full min-w-full",children:t.url?f.jsxs("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 flex-1 min-w-0 max-w-full hover:text-primary transition-colors",children:[f.jsx(hn,{className:"w-3 h-3 flex-shrink-0 group-hover:scale-110 transition-transform"}),f.jsx("span",{className:"text-left break-words leading-snug",children:t.name})]}):f.jsxs("span",{className:"flex items-center gap-2 flex-1 min-w-0 max-w-full",children:[f.jsx("span",{className:"w-3 h-3 rounded-full bg-primary/30 flex-shrink-0"}),f.jsx("span",{className:"text-left break-words leading-snug",children:t.name})]})},n))})]}),yl={de:"de",en:"en",fr:"fr",es:"es",it:"it",tr:"tr",ar:"ar",pl:"pl",ua:"uk",simple:"de"},vl={de:{play:"Vorlesen",stop:"Vorlesen stoppen"},en:{play:"Play audio",stop:"Stop audio"},fr:{play:"Lire à haute voix",stop:"Arrêter la lecture"},es:{play:"Leer en voz alta",stop:"Detener la lectura"},it:{play:"Leggi ad alta voce",stop:"Ferma la lettura"},tr:{play:"Sesli oku",stop:"Okumayı durdur"},ar:{play:"تشغيل الصوت",stop:"إيقاف الصوت"},pl:{play:"Odczytaj",stop:"Zatrzymaj odczyt"},ua:{play:"Зачитати",stop:"Зупинити відтворення"},simple:{play:"Vorlesen",stop:"Vorlesen stoppen"}},xl={de:"de-DE",en:"en-US",fr:"fr-FR",es:"es-ES",it:"it-IT",tr:"tr-TR",ar:"ar",pl:"pl-PL",ua:"uk-UA",simple:"de-DE"};let at=null;const Yz="data:audio/wav;base64,UklGRiYAAABXQVZFZm10IBAAAAABAAEAQB8AAIA+AAACABAAZGF0YQIAAAAAAA==",_z=()=>{if(typeof navigator>"u")return!1;const e=navigator.userAgent||"",t=navigator.platform||"",n=navigator.maxTouchPoints||0;return/iPad|iPhone|iPod/.test(e)||t==="MacIntel"&&n>1};let $n="locked";const $z=()=>{if($n==="locked"&&!(typeof document>"u")){$n="attempting";try{const e=document.createElement("audio");e.preload="auto",e.src=Yz,e.volume=0,e.muted=!1;const t=e.play();Promise.resolve(t).then(()=>{e.pause(),e.removeAttribute("src"),e.load(),$n="unlocked"}).catch(()=>{$n="locked"})}catch{$n="locked"}}},ao=()=>{if(at){const e=at;at=null,e.stop()}},eA=()=>{if(typeof window>"u")return!1;const e=window.MediaSource;return e?typeof e.isTypeSupported=="function"&&e.isTypeSupported("audio/mpeg"):!1},tA=e=>{var r;const t=e==null?void 0:e.trim();return t&&((r=t.split(";")[0])==null?void 0:r.trim())||"audio/mpeg"},nA=({text:e,language:t="de",className:n,modelId:r,voiceId:i,voiceSettings:a})=>{const[o,s]=M.useState("idle"),[l,u]=M.useState(null),c=M.useRef(+`${Date.now()}${Math.floor(Math.random()*1e3)}`),d=M.useRef(null),p=M.useRef(null),m=M.useRef(null),h=M.useRef(null),g=(T={})=>{var N;const{clearGlobal:L=!0}=T;(N=p.current)==null||N.abort(),p.current=null,d.current&&(d.current.pause(),d.current.currentTime=0,d.current.remove(),d.current=null),m.current&&(URL.revokeObjectURL(m.current),m.current=null,u(null)),h.current&&typeof window<"u"&&window.speechSynthesis&&((!L||(at==null?void 0:at.ownerId)===c.current)&&window.speechSynthesis.cancel(),h.current=null),L&&(at==null?void 0:at.ownerId)===c.current&&(at=null),s("idle")};M.useEffect(()=>()=>{g()},[]);const b=T=>{if(typeof window>"u"||typeof SpeechSynthesisUtterance>"u"||!window.speechSynthesis)return!1;ao(),g();const L=new SpeechSynthesisUtterance(T);L.lang=xl[t]||xl.de,h.current=L,s("playing");const N=()=>{window.speechSynthesis&&window.speechSynthesis.cancel(),g({clearGlobal:!1})};at={ownerId:c.current,stop:N};const k=()=>{g()};return L.onend=k,L.onerror=k,window.speechSynthesis.speak(L),!0},y=async(T,L,N,k)=>{var Pe;const j=(Pe=T.body)==null?void 0:Pe.getReader();if(!j)throw new Error("No response body");await new Promise((se,Ce)=>{if(k.aborted){Ce(Object.assign(new Error("Aborted"),{name:"AbortError"}));return}if(L.readyState==="open"){se();return}const _=()=>{ve(),se()},H=()=>{ve(),Ce(new Error("MediaSource closed"))},$=()=>{ve(),Ce(Object.assign(new Error("Aborted"),{name:"AbortError"}))},ve=()=>{L.removeEventListener("sourceopen",_),L.removeEventListener("sourceended",H),L.removeEventListener("sourceclose",H),k.removeEventListener("abort",$)};L.addEventListener("sourceopen",_),L.addEventListener("sourceended",H),L.addEventListener("sourceclose",H),k.addEventListener("abort",$)});const I=L.addSourceBuffer(N);try{I.mode="sequence"}catch{}const V=[];let F=!1,O=!1;const B=()=>Object.assign(new Error("Aborted"),{name:"AbortError"});let K=null,X=null;const Q=new Promise((se,Ce)=>{K=se,X=Ce});Q.catch(()=>{});let x=null,oe=null,Ee=null;const C=()=>{x&&I.removeEventListener("updateend",x),oe&&I.removeEventListener("error",oe),Ee&&k.removeEventListener("abort",Ee)},Ie=se=>{O||(O=!0,C(),se())},We=se=>{try{j.cancel()}catch{}Ie(()=>{X==null||X(se instanceof Error?se:new Error("Audio stream failed"))})},Ne=()=>{O||F&&(I.updating||V.length>0||Ie(()=>{try{L.readyState==="open"&&L.endOfStream()}catch{}K==null||K()}))},Le=()=>{if(O)return;if(k.aborted){We(B());return}if(I.updating)return;const se=V.shift();if(!se){Ne();return}try{I.appendBuffer(se)}catch(Ce){We(Ce)}};x=()=>{Le(),Ne()},oe=()=>{We(new Error("Audio stream buffer error"))},Ee=()=>{We(B())},I.addEventListener("updateend",x),I.addEventListener("error",oe),k.addEventListener("abort",Ee),k.aborted&&Ee();try{for(;;){const{value:se,done:Ce}=await j.read();if(Ce)break;if(k.aborted)throw B();se!=null&&se.byteLength&&(V.push(se.buffer.slice(se.byteOffset,se.byteOffset+se.byteLength)),Le())}F=!0,Le(),Ne(),await Q}catch(se){return O||We(se),await Q}finally{try{j.releaseLock()}catch{}}},w=async()=>{const T=e==null?void 0:e.trim();if(!T)return;if(typeof Audio>"u"){b(T)||bt({title:"Audio nicht verfügbar",description:"Ihr Browser unterstützt keine Audiowiedergabe.",variant:"destructive"});return}ao(),g();const L=_z();L&&$z();const N=new AbortController;p.current=N,s("loading"),at={ownerId:c.current,stop:()=>g({clearGlobal:!1})};try{const k=!L&&eA(),j=document.createElement("audio");j.preload="auto",j.volume=1,j.muted=!1,j.setAttribute("playsinline","true"),j.setAttribute("webkit-playsinline","true");let I=null,V=null;if(k){const O=window.MediaSource;I=new O;const B=URL.createObjectURL(I);j.src=B,m.current=B,u(B),V=(async()=>{const K=await Gu({text:T,languageCode:yl[t]||void 0,modelId:r||void 0,voiceId:i||void 0,voiceSettings:a||void 0,signal:N.signal}),X=tA(K.headers.get("content-type")),Q=typeof O.isTypeSupported=="function"&&O.isTypeSupported(X)?X:"audio/mpeg";await y(K,I,Q,N.signal)})()}else{const O=await fh({text:T,languageCode:yl[t]||void 0,modelId:r||void 0,voiceId:i||void 0,voiceSettings:a||void 0,signal:N.signal}),B=URL.createObjectURL(O);j.src=B,m.current=B,u(B)}L&&typeof document<"u"&&document.body&&(j.style.display="none",document.body.appendChild(j)),d.current=j;const F=()=>{g()};j.onended=F,j.onerror=()=>{F(),b(T)||bt({title:"Wiedergabe fehlgeschlagen",description:"Audio playback failed",variant:"destructive"})};try{const O=L?new Promise(X=>{let x;const oe=()=>{j.removeEventListener("playing",Ee),j.removeEventListener("timeupdate",C),j.removeEventListener("error",Ie),x!==void 0&&window.clearTimeout(x)},Ee=()=>{oe(),X(!0)},C=()=>{j.currentTime>0&&(oe(),X(!0))},Ie=()=>{oe(),X(!1)};x=window.setTimeout(()=>{oe(),X(!j.paused&&!j.ended)},2e3),j.addEventListener("playing",Ee),j.addEventListener("timeupdate",C),j.addEventListener("error",Ie)}):Promise.resolve(!0),B=Promise.resolve(j.play());if(V){const X=V.then(()=>new Promise(()=>{}),Q=>Promise.reject(Q));await Promise.race([B,X])}else await B;if(!await O)throw new Error("Audio playback did not start");s("playing")}catch(O){const B=typeof O=="object"&&O!==null&&"name"in O&&O.name==="NotAllowedError";if(L&&(B||(O==null?void 0:O.message)==="Audio playback did not start")){s("ready"),bt({title:"Tippen zum Abspielen",description:"Auf iOS kann ein zweites Tippen nötig sein, um Audio zu starten."});return}if(F(),!b(T)){const X=O instanceof Error?O.message:"Audio playback failed";bt({title:"Wiedergabe fehlgeschlagen",description:X,variant:"destructive"})}return}V&&await V}catch(k){if((k==null?void 0:k.name)==="AbortError"){h.current||g();return}if(g(),!b(T)){const I=k instanceof Error?k.message:"Text-to-speech fehlgeschlagen";bt({title:"Text-to-Speech fehlgeschlagen",description:I,variant:"destructive"})}}finally{p.current=null}},S=()=>{if(o==="loading"||o==="playing")g();else if(o==="ready"){const T=d.current;if(!T){w();return}(at==null?void 0:at.ownerId)!==c.current&&ao(),at={ownerId:c.current,stop:()=>g({clearGlobal:!1})};const L=T.play();Promise.resolve(L).then(()=>s("playing")).catch(N=>{const k=N instanceof Error?N.message:"Audio playback failed";bt({title:"Wiedergabe fehlgeschlagen",description:k,variant:"destructive"}),g()})}else w()},E=vl[t]||vl.de,P=o==="playing"?E.stop:E.play,z=["p-1 rounded transition-colors",o==="playing"||o==="loading"?"text-primary":"text-foreground/40 hover:text-primary",n||""].join(" ").trim();return f.jsxs("button",{type:"button",onClick:S,className:z,"aria-label":P,title:P,children:[o==="loading"?f.jsx(Zf,{className:"w-3 h-3 animate-spin"}):o==="playing"?f.jsx(lm,{className:"w-3 h-3"}):f.jsx(sm,{className:"w-3 h-3"}),f.jsx("span",{className:"sr-only",children:P})]})},rA=()=>f.jsxs("div",{className:"flex items-center gap-2 px-4 py-3 max-w-[85%] w-fit bg-card/50 backdrop-blur-sm rounded-2xl rounded-tl-none border border-border/30 shadow-lg animate-message-slide-in",children:[f.jsxs("div",{className:"flex gap-1",children:[f.jsx("div",{className:"w-2 h-2 rounded-full bg-primary animate-typing-pulse",style:{animationDelay:"0ms"},"aria-hidden":"true"}),f.jsx("div",{className:"w-2 h-2 rounded-full bg-primary animate-typing-pulse",style:{animationDelay:"200ms"},"aria-hidden":"true"}),f.jsx("div",{className:"w-2 h-2 rounded-full bg-primary animate-typing-pulse",style:{animationDelay:"400ms"},"aria-hidden":"true"})]}),f.jsx("span",{className:"sr-only",children:"Assistent tippt..."})]}),cr=e=>e&&typeof e=="object"&&!Array.isArray(e)?e:{},dr=e=>Array.isArray(e)?e.map(cr).filter(t=>Object.keys(t).length>0):[],Se=e=>typeof e=="string"||typeof e=="number"?String(e):"",ni=(e,t=!1)=>{const n=Se(e);if(!n)return"";const r=new Date(t?n:`${n}T00:00:00Z`);return Number.isNaN(r.getTime())?n:new Intl.DateTimeFormat("de-DE",{weekday:"short",day:"2-digit",month:"2-digit",...t?{hour:"2-digit",minute:"2-digit"}:{timeZone:"UTC"}}).format(r)},wl=e=>{const t=new Date(Se(e));return Number.isNaN(t.getTime())?"":new Intl.DateTimeFormat("de-DE",{hour:"2-digit",minute:"2-digit"}).format(t)},iA=e=>{if(e.fee_visibility==="hidden")return"";const t=Se(e.fee_amount),n=Number(t);return t&&Number.isFinite(n)&&Se(e.fee_currency)?`${new Intl.NumberFormat("de-DE",{style:"currency",currency:Se(e.fee_currency)}).format(n)} vor Ort`:e.requires_payment||e.fee_visibility==="on_site"?"Gebühr vor Ort":""},xr=(e,t)=>{const[n,r]=M.useState(null);return{chosen:n,pick:(a,o)=>{e||n||(r(a),t(o))}}},Nn=4;function oA({title:e,state:t}){return f.jsxs("div",{className:"flex items-center justify-between gap-3 border-b border-border/70 bg-primary/[0.04] px-3 py-2.5",children:[f.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[f.jsx("span",{className:`flex h-7 w-7 shrink-0 items-center justify-center rounded-lg ${t==="success"?"bg-emerald-500/10 text-emerald-600":t==="cancelled"?"bg-destructive/10 text-destructive":"bg-primary/10 text-primary"}`,children:t==="success"?f.jsx(tu,{className:"h-4 w-4","aria-hidden":"true"}):t==="cancelled"?f.jsx(Vf,{className:"h-4 w-4","aria-hidden":"true"}):f.jsx(Bf,{className:"h-4 w-4","aria-hidden":"true"})}),f.jsx("span",{className:"truncate text-sm font-semibold text-foreground",children:e})]}),f.jsx("span",{className:"shrink-0 text-[10px] font-semibold uppercase tracking-[0.12em] text-foreground/45",title:"Live-Daten aus dem Amturo-Terminsystem",children:"Amturo · live"})]})}function cn({title:e,state:t,children:n}){return f.jsxs("section",{className:"w-full max-w-[380px] overflow-hidden rounded-2xl border border-border/80 bg-[hsl(var(--chat-message-bot))] text-foreground shadow-[0_8px_24px_rgba(0,0,0,0.07)]",children:[f.jsx(oA,{title:e,state:t}),n]})}const vn="focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-[hsl(var(--chat-message-bot))]",Dn=({children:e,disabled:t,onClick:n,variant:r="primary"})=>f.jsx("button",{type:"button",disabled:t,onClick:n,className:`inline-flex min-h-10 items-center justify-center gap-1.5 rounded-xl px-3.5 py-2 text-xs font-semibold transition-colors disabled:cursor-not-allowed disabled:opacity-50 ${vn} ${r==="primary"?"bg-primary text-primary-foreground hover:bg-primary/90":r==="destructive"?"bg-destructive text-destructive-foreground hover:bg-destructive/90":"border border-border text-foreground/75 hover:bg-primary/[0.06] hover:text-foreground"}`,children:e}),vi=({label:e="Ausgewählt"})=>f.jsxs("span",{className:"inline-flex min-h-8 items-center gap-1.5 rounded-lg bg-emerald-500/10 px-2.5 py-1 text-xs font-semibold text-emerald-600",children:[f.jsx(wn,{className:"h-3.5 w-3.5","aria-hidden":"true"}),e]}),aA={BOOKED:{label:"Gebucht",className:"bg-emerald-500/10 text-emerald-600"},CONFIRMED:{label:"Bestätigt",className:"bg-emerald-500/10 text-emerald-600"},PENDING:{label:"Ausstehend",className:"bg-amber-500/10 text-amber-600"},RESERVED:{label:"Reserviert",className:"bg-amber-500/10 text-amber-600"},CANCELLED:{label:"Storniert",className:"bg-destructive/10 text-destructive"}},kl=({status:e})=>{if(!e)return null;const t=aA[e.toUpperCase()]??{label:e,className:"bg-muted text-foreground/70"};return f.jsx("span",{className:`inline-flex items-center rounded-md px-2 py-0.5 text-[11px] font-semibold ${t.className}`,children:t.label})},xi=({icon:e,text:t,children:n})=>f.jsxs("div",{className:"flex flex-col items-start gap-2.5 p-3",children:[f.jsxs("div",{className:"flex items-start gap-2.5 text-xs leading-relaxed text-foreground/60",children:[f.jsx("span",{className:"mt-0.5 shrink-0 text-foreground/40",children:e}),f.jsx("p",{children:t})]}),n]}),fd=({hiddenCount:e,onClick:t})=>f.jsxs("button",{type:"button",onClick:t,className:`w-full border-t border-border/60 px-3 py-2.5 text-center text-xs font-semibold text-primary transition-colors hover:bg-primary/[0.05] ${vn} focus-visible:ring-inset focus-visible:ring-offset-0`,children:["Alle anzeigen (",e," weitere)"]});function sA({data:e,disabled:t,onAction:n}){const r=dr(e.locations),{chosen:i,pick:a}=xr(t,n),[o,s]=M.useState(!1),l=o||i?r:r.slice(0,Nn);return f.jsxs(cn,{title:"Standort",children:[!r.length&&f.jsx(xi,{icon:f.jsx(Ga,{className:"h-4 w-4","aria-hidden":"true"}),text:"Keine Standorte verfügbar."}),f.jsx("div",{className:"divide-y divide-border/60",children:l.map(u=>{const c=Se(u.id),d=Se(u.name),p=[Se(u.address),[Se(u.postal_code),Se(u.city)].filter(Boolean).join(" ")].filter(Boolean).join(", "),m=i===(c||d),h=i!==null&&!m;return f.jsx("div",{className:`p-3 transition-opacity ${h?"opacity-45":""}`,children:f.jsxs("div",{className:"flex gap-2.5",children:[f.jsx(Ga,{className:"mt-0.5 h-4 w-4 shrink-0 text-primary","aria-hidden":"true"}),f.jsxs("div",{className:"min-w-0 flex-1",children:[f.jsx("div",{className:"text-sm font-semibold",children:d}),p&&f.jsx("div",{className:"mt-0.5 text-xs leading-relaxed text-foreground/60",children:p}),!i&&f.jsx("div",{className:"mt-2",children:f.jsx(Dn,{disabled:t,onClick:()=>a(c||d,`Ich wähle den Standort „${d}“ (area_id ${c}).`),children:"Diesen Standort wählen"})}),m&&f.jsx("div",{className:"mt-2",children:f.jsx(vi,{})})]})]})},c||d)})}),!o&&!i&&r.length>Nn&&f.jsx(fd,{hiddenCount:r.length-Nn,onClick:()=>s(!0)})]})}function lA({data:e,disabled:t,onAction:n}){const r=dr(e.counters),{chosen:i,pick:a}=xr(t,n);return f.jsxs(cn,{title:"Schalter",children:[!r.length&&f.jsx(xi,{icon:f.jsx(Ka,{className:"h-4 w-4","aria-hidden":"true"}),text:"Keine Schalter verfügbar."}),f.jsx("div",{className:"divide-y divide-border/60",children:r.map(o=>{const s=Se(o.id),l=Se(o.name),u=s||l,c=i===u,d=i!==null&&!c;return f.jsxs("button",{type:"button",disabled:t||i!==null,"aria-pressed":c,onClick:()=>a(u,`Ich wähle „${l}“ (counter_id ${s}).`),className:`flex w-full items-center gap-3 p-3 text-left transition-all ${vn} focus-visible:ring-inset focus-visible:ring-offset-0 ${d?"opacity-45":""} ${i===null?"hover:bg-primary/[0.06] disabled:opacity-50":"cursor-default"}`,children:[f.jsx(Ka,{className:"h-4 w-4 shrink-0 text-primary","aria-hidden":"true"}),f.jsxs("span",{className:"min-w-0 flex-1",children:[f.jsx("span",{className:"block text-sm font-semibold",children:l}),Se(o.description)&&f.jsx("span",{className:"mt-0.5 block text-xs text-foreground/60",children:Se(o.description)})]}),c&&f.jsx(wn,{className:"h-4 w-4 shrink-0 text-emerald-600","aria-hidden":"true"})]},u)})})]})}function Sl({data:e,disabled:t,onAction:n,details:r=!1}){const a=(r?[cr(e.service)]:dr(e.services)).filter(d=>Se(d.id)&&Se(d.name)),{chosen:o,pick:s}=xr(t,n),[l,u]=M.useState(!1),c=r||l||o?a:a.slice(0,Nn);return f.jsxs(cn,{title:r?"Leistungsdetails":"Leistung",children:[!a.length&&f.jsx(xi,{icon:f.jsx(Za,{className:"h-4 w-4","aria-hidden":"true"}),text:"Keine passende Leistung gefunden."}),f.jsx("div",{className:"divide-y divide-border/60",children:c.map(d=>{const p=Se(d.id),m=Se(d.name),h=iA(d),g=o===p,b=o!==null&&!g;return f.jsxs("div",{className:`p-3 transition-opacity ${b?"opacity-45":""}`,children:[f.jsx("div",{className:"text-sm font-semibold leading-snug",children:m}),f.jsxs("div",{className:"mt-1.5 flex flex-wrap gap-x-3 gap-y-1 text-[11px] text-foreground/60",children:[Se(d.duration_minutes)&&f.jsxs("span",{className:"inline-flex items-center gap-1",children:[f.jsx(Hf,{className:"h-3 w-3","aria-hidden":"true"}),Se(d.duration_minutes)," Min."]}),h&&f.jsxs("span",{className:"inline-flex items-center gap-1",children:[f.jsx(em,{className:"h-3 w-3","aria-hidden":"true"}),h]}),!!d.requires_documents&&f.jsxs("span",{className:"inline-flex items-center gap-1",children:[f.jsx(Za,{className:"h-3 w-3","aria-hidden":"true"}),"Dokumente nötig"]}),!!d.is_video_eligible&&f.jsxs("span",{className:"inline-flex items-center gap-1",children:[f.jsx(_f,{className:"h-3 w-3","aria-hidden":"true"}),"Video möglich"]})]}),r&&Se(d.documents_info)&&f.jsxs("div",{className:"mt-2 rounded-lg bg-muted/60 px-2.5 py-2 text-xs leading-relaxed text-foreground/70",children:["Mitbringen: ",Se(d.documents_info)]}),!o&&f.jsx("div",{className:"mt-2.5",children:f.jsx(Dn,{disabled:t,onClick:()=>s(p,r?`Zeige mir verfügbare Termine für „${m}“ (service_id ${p}).`:`Ich wähle die Leistung „${m}“ (service_id ${p}).`),children:r?"Termine anzeigen":"Leistung wählen"})}),g&&f.jsx("div",{className:"mt-2.5",children:f.jsx(vi,{label:r?"Termine angefragt":"Ausgewählt"})})]},p)})}),!r&&!l&&!o&&a.length>Nn&&f.jsx(fd,{hiddenCount:a.length-Nn,onClick:()=>u(!0)})]})}function uA({data:e,disabled:t,onAction:n}){const r=cr(e.availability),i=dr(r.days),o=(i.length?i:[{date:r.date,slots:r.slots}]).map(c=>({date:Se(c.date),slots:dr(c.slots).filter(d=>d.available===!0)})).filter(c=>c.date&&c.slots.length),s=Se(e.service_id||r.service_id),{chosen:l,pick:u}=xr(t,n);return f.jsxs(cn,{title:"Freie Termine",children:[!o.length&&f.jsx(xi,{icon:f.jsx(Wf,{className:"h-4 w-4","aria-hidden":"true"}),text:"Im angefragten Zeitraum sind keine freien Termine verfügbar.",children:f.jsx(Dn,{variant:"ghost",disabled:t,onClick:()=>n(s?`Bitte schlage mir alternative Zeiträume mit freien Terminen für service_id ${s} vor.`:"Bitte schlage mir alternative Zeiträume mit freien Terminen vor."),children:"Andere Zeiträume vorschlagen"})}),o.length>0&&f.jsx("div",{className:"max-h-72 overflow-y-auto pb-3",children:o.map(c=>f.jsxs("div",{children:[f.jsxs("div",{className:"sticky top-0 z-10 flex items-baseline justify-between gap-2 bg-[hsl(var(--chat-message-bot))] px-3 pb-1.5 pt-3",children:[f.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.08em] text-foreground/50",children:ni(c.date)}),f.jsxs("span",{className:"text-[10px] text-foreground/35",children:[c.slots.length," ",c.slots.length===1?"Termin":"Termine"]})]}),f.jsx("div",{className:"grid grid-cols-3 gap-1.5 px-3",children:c.slots.map(d=>{const p=Se(d.time),m=`${c.date}-${p}`,h=l===m,g=l!==null&&!h;return f.jsxs("button",{type:"button",disabled:t||l!==null&&!h,"aria-pressed":h,"aria-label":`Termin am ${ni(c.date)} um ${p} Uhr wählen`,onClick:()=>u(m,`Ich wähle den Termin am ${c.date} um ${p} Uhr für service_id ${s}.`),className:`inline-flex min-h-10 items-center justify-center gap-1 rounded-xl border px-2 py-1.5 text-xs font-semibold transition-all ${vn} ${h?"border-primary bg-primary text-primary-foreground":`border-primary/25 bg-primary/[0.06] text-foreground ${l===null?"hover:border-primary/50 hover:bg-primary/10":""} disabled:cursor-not-allowed ${g?"opacity-40":"disabled:opacity-50"}`}`,children:[h&&f.jsx(wn,{className:"h-3.5 w-3.5","aria-hidden":"true"}),p]},m)})})]},c.date))})]})}function cA({data:e,disabled:t,onAction:n}){const r=Se(e.consent_text),{chosen:i,pick:a}=xr(t,n);return r?f.jsx(cn,{title:"Datenschutz",children:f.jsxs("div",{className:"p-3",children:[f.jsxs("div",{className:"flex gap-2.5 text-xs leading-relaxed text-foreground/70",children:[f.jsx(rm,{className:"mt-0.5 h-4 w-4 shrink-0 text-primary","aria-hidden":"true"}),f.jsx("p",{className:"max-h-44 overflow-y-auto pr-1",children:r})]}),f.jsx("div",{className:"mt-3",children:i?f.jsx(vi,{label:"Einwilligung erteilt"}):f.jsx(Dn,{disabled:t,onClick:()=>a("consent",`Ich willige ausdrücklich ein: „${r}“`),children:"Ausdrücklich zustimmen"})})]})}):null}function dA({expiresAt:e}){const t=new Date(e).getTime(),[n,r]=M.useState(()=>Date.now()),i=M.useRef(Math.max(1,t-Date.now()));if(M.useEffect(()=>{if(!Number.isFinite(t))return;const c=setInterval(()=>r(Date.now()),1e3);return()=>clearInterval(c)},[t]),!Number.isFinite(t))return null;const a=Math.max(0,t-n);if(a<=0)return f.jsx("div",{className:"mt-2 rounded-lg bg-amber-500/10 px-2.5 py-2 text-xs font-medium leading-relaxed text-amber-600",children:"Die Reservierung ist abgelaufen. Bitte wählen Sie erneut einen Termin."});const o=Math.ceil(a/1e3),s=Math.floor(o/60),l=o%60,u=Math.min(1,a/i.current);return f.jsxs("div",{className:"mt-2",children:[f.jsxs("div",{className:"text-xs leading-relaxed text-foreground/60",children:["Noch ",f.jsxs("span",{className:"font-semibold tabular-nums text-foreground/80",children:[s,":",String(l).padStart(2,"0")]})," Min. reserviert",wl(e)?` (bis ${wl(e)} Uhr)`:"","."]}),f.jsx("div",{className:"mt-1.5 h-1 overflow-hidden rounded-full bg-muted",role:"presentation",children:f.jsx("div",{className:"h-full rounded-full bg-primary transition-[width] duration-1000 ease-linear",style:{width:`${Math.round(u*100)}%`}})})]})}function fA({data:e}){const t=Se(e.expires_at);return f.jsx(cn,{title:"Termin reserviert",children:f.jsx("div",{className:"p-3",children:f.jsxs("div",{className:"flex items-start gap-2.5",children:[f.jsx(eu,{className:"mt-0.5 h-4 w-4 shrink-0 text-primary","aria-hidden":"true"}),f.jsxs("div",{className:"min-w-0 flex-1",children:[f.jsx("div",{className:"text-sm font-semibold",children:[ni(e.date),Se(e.time)&&`${Se(e.time)} Uhr`].filter(Boolean).join(" · ")||"Slot reserviert"}),f.jsx("div",{className:"mt-1 text-xs leading-relaxed text-foreground/60",children:"Die Buchung ist noch nicht bestätigt."}),t?f.jsx(dA,{expiresAt:t}):f.jsx("div",{className:"mt-1 text-xs leading-relaxed text-foreground/60",children:"Der Slot ist für 5 Minuten reserviert."})]})]})})})}function so({data:e,disabled:t,onAction:n,cancelled:r=!1,statusOnly:i=!1}){const a=Object.keys(cr(e.booking)).length?cr(e.booking):e,o=Se(a.booking_reference||e.booking_reference),s=Se(a.id||e.booking_id),l=ni(a.start_datetime||e.start_datetime,!0),u=Se(a.status||e.status),c=r||u.toUpperCase()==="CANCELLED",d=c?"Termin storniert":i?"Terminstatus":"Termin bestätigt",[p,m]=M.useState("idle"),h=Se(a.meeting_url||e.meeting_url),g=!c&&(!u||u.toUpperCase()==="BOOKED")&&s;return f.jsx(cn,{title:d,state:c?"cancelled":"success",children:f.jsxs("div",{className:"p-3",children:[o&&f.jsxs("div",{className:"flex items-start justify-between gap-3",children:[f.jsxs("div",{children:[f.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-[0.1em] text-foreground/50",children:"Buchungsnummer"}),f.jsx("div",{className:"mt-0.5 text-lg font-semibold tracking-tight",children:o})]}),f.jsx(kl,{status:u})]}),f.jsxs("div",{className:"mt-2 space-y-1.5 text-xs text-foreground/65",children:[l&&f.jsxs("div",{className:"flex items-center gap-1.5",children:[f.jsx(eu,{className:"h-3.5 w-3.5","aria-hidden":"true"}),l]}),!o&&u&&f.jsx("div",{children:f.jsx(kl,{status:u})})]}),!c&&h&&f.jsxs("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:`mt-3 inline-flex min-h-8 items-center gap-1.5 rounded-lg text-xs font-semibold text-primary hover:underline ${vn}`,children:["Video-Termin öffnen ",f.jsx(hn,{className:"h-3.5 w-3.5","aria-hidden":"true"})]}),g&&p==="idle"&&f.jsx("div",{className:"mt-3",children:f.jsx("button",{type:"button",disabled:t,onClick:()=>m("confirming"),className:`min-h-10 rounded-xl border border-border px-3.5 py-2 text-xs font-semibold text-foreground/70 transition-colors hover:border-destructive/40 hover:text-destructive disabled:cursor-not-allowed disabled:opacity-50 ${vn}`,children:"Termin stornieren"})}),g&&p==="confirming"&&f.jsxs("div",{className:"mt-3 rounded-xl border border-destructive/25 bg-destructive/[0.04] p-2.5",children:[f.jsx("div",{className:"text-xs font-medium text-foreground/80",children:"Termin wirklich stornieren?"}),f.jsxs("div",{className:"mt-2 flex gap-2",children:[f.jsx(Dn,{variant:"destructive",disabled:t,onClick:()=>{m("sent"),n(`Ich möchte den Termin ${o?`mit der Buchungsnummer ${o}`:`(booking_id ${s})`} stornieren.`)},children:"Ja, stornieren"}),f.jsx(Dn,{variant:"ghost",disabled:t,onClick:()=>m("idle"),children:"Behalten"})]})]}),g&&p==="sent"&&f.jsx("div",{className:"mt-3",children:f.jsx(vi,{label:"Stornierung angefragt"})})]})})}function mA({data:e}){const t=Se(e.url);return t?f.jsx(cn,{title:"Terminportal",children:f.jsx("div",{className:"p-3",children:f.jsxs("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:`inline-flex min-h-10 items-center gap-2 rounded-xl bg-primary px-3.5 py-2 text-xs font-semibold text-primary-foreground transition-colors hover:bg-primary/90 ${vn}`,children:["Amturo-Terminportal öffnen ",f.jsx(hn,{className:"h-3.5 w-3.5","aria-hidden":"true"})]})})}):null}function pA(e){switch(Se(e.data.action)){case"amturo_locations":return f.jsx(sA,{...e});case"amturo_counters":return f.jsx(lA,{...e});case"amturo_services":return f.jsx(Sl,{...e});case"amturo_service_details":return f.jsx(Sl,{...e,details:!0});case"amturo_slot_options":return f.jsx(uA,{...e});case"amturo_booking_consent":return f.jsx(cA,{...e});case"amturo_booking_intent_created":return f.jsx(fA,{data:e.data});case"amturo_booking_confirmed":return f.jsx(so,{...e});case"amturo_booking_status":return f.jsx(so,{...e,statusOnly:!0});case"amturo_booking_cancelled":return f.jsx(so,{...e,cancelled:!0});case"amturo_self_booking_link":return f.jsx(mA,{data:e.data});default:return null}}const Cl={de:{newConversation:"Neues Gespräch",newConversationTitle:"Neues Gespräch beginnen?",newConversationDescription:"Der bisherige Verlauf wird aus diesem Chat entfernt. Sie beginnen wieder beim Assistenten. Die gespeicherte Unterhaltung wird dadurch nicht gelöscht.",newConversationActiveWarning:"Der Support ist noch verbunden oder angefragt. Die Übergabe wird dabei abgebrochen, und Antworten im bisherigen Gespräch sehen Sie hier nicht mehr.",cancelNewConversation:"Abbrechen",request:"Mit einem Menschen sprechen",requestMessage:"Ich möchte bitte mit einem Menschen sprechen.",requesting:"Übergabe wird vorbereitet …",queued:"Warten auf einen Menschen …",queuedHint:"Sie können in der Zwischenzeit weiterschreiben.",active:"{name} hilft Ihnen jetzt",closed:"Das Gespräch mit dem Support ist beendet",failed:"Die Übergabe hat nicht geklappt",retry:"Erneut versuchen",operatorFallback:"Support",supportTag:"Support",headerWaiting:"Verbindung mit einem Menschen …",headerActive:"Sie sprechen mit {name}",headerClosed:"Support-Gespräch beendet",placeholderQueued:"Nachricht an das Support-Team …",placeholderActive:"Nachricht an {name} …",operatorJoined:"{name} ist dem Gespräch beigetreten",conversationClosed:"{name} hat das Gespräch beendet",handoverCancelled:"Sie haben die Übergabe abgebrochen",cancelHandover:"Übergabe abbrechen",cancelHandoverConfirm:"Übergabe wirklich abbrechen?",cancelHandoverYes:"Ja, abbrechen",cancelHandoverNo:"Nein",cancelHandoverFailed:"Abbrechen hat nicht geklappt. Bitte erneut versuchen.",continueWithAssistant:"Weiter mit dem Assistenten",requestAgain:"Erneut einen Menschen anfragen",delivered:"An das Support-Team übermittelt",notDelivered:"Nicht übermittelt"},simple:{newConversation:"Neues Gespräch",newConversationTitle:"Neu anfangen?",newConversationDescription:"Die alten Nachrichten verschwinden hier. Sie beginnen wieder mit dem Chat-Bot. Die gespeicherten Nachrichten werden nicht gelöscht.",newConversationActiveWarning:"Sie warten auf einen Menschen oder sprechen noch mit ihm. Das Gespräch mit dem Menschen wird dann beendet.",cancelNewConversation:"Abbrechen",request:"Mit einem Menschen sprechen",requestMessage:"Ich möchte mit einem Menschen sprechen.",requesting:"Wir verbinden Sie …",queued:"Bitte warten. Ein Mensch kommt gleich.",queuedHint:"Sie können weiter schreiben.",active:"{name} hilft Ihnen jetzt",closed:"Das Gespräch ist beendet",failed:"Das hat nicht geklappt",retry:"Noch einmal",operatorFallback:"Support",supportTag:"Mensch",headerWaiting:"Wir suchen einen Menschen …",headerActive:"Sie sprechen mit {name}",headerClosed:"Gespräch beendet",placeholderQueued:"Nachricht an den Support …",placeholderActive:"Nachricht an {name} …",operatorJoined:"{name} ist jetzt da",conversationClosed:"{name} hat das Gespräch beendet",handoverCancelled:"Sie haben das Gespräch mit dem Menschen beendet",cancelHandover:"Nicht mehr warten",cancelHandoverConfirm:"Wirklich beenden?",cancelHandoverYes:"Ja, beenden",cancelHandoverNo:"Nein",cancelHandoverFailed:"Das hat nicht geklappt. Bitte noch einmal.",continueWithAssistant:"Weiter mit dem Chat-Bot",requestAgain:"Noch einmal einen Menschen fragen",delivered:"Nachricht ist angekommen",notDelivered:"Nachricht ist nicht angekommen"},en:{newConversation:"New conversation",newConversationTitle:"Start a new conversation?",newConversationDescription:"The current history will be removed from this chat. You will start again with the assistant. This does not delete the saved conversation.",newConversationActiveWarning:"Support is still connected or has been requested. The handover will be cancelled, and further replies in the previous conversation will no longer appear here.",cancelNewConversation:"Cancel",request:"Talk to a person",requestMessage:"I would like to speak with a person.",requesting:"Preparing the handover…",queued:"Waiting for a person…",queuedHint:"You can keep writing in the meantime.",active:"{name} is helping you now",closed:"The support conversation has ended",failed:"The handover didn't go through",retry:"Try again",operatorFallback:"Support",supportTag:"Support",headerWaiting:"Connecting you with a person…",headerActive:"You're talking to {name}",headerClosed:"Support conversation ended",placeholderQueued:"Message to the support team…",placeholderActive:"Message to {name}…",operatorJoined:"{name} joined the conversation",conversationClosed:"{name} ended the conversation",handoverCancelled:"You cancelled the handover",cancelHandover:"Cancel handover",cancelHandoverConfirm:"Cancel the handover?",cancelHandoverYes:"Yes, cancel",cancelHandoverNo:"No",cancelHandoverFailed:"Couldn't cancel. Please try again.",continueWithAssistant:"Continue with the assistant",requestAgain:"Ask for a person again",delivered:"Delivered to the support team",notDelivered:"Not delivered"},fr:{newConversation:"Nouvelle conversation",newConversationTitle:"Commencer une nouvelle conversation ?",newConversationDescription:"L’historique actuel disparaîtra de ce chat. Vous recommencerez avec l’assistant. La conversation enregistrée ne sera pas supprimée.",newConversationActiveWarning:"Le support est encore connecté ou sollicité. Le transfert sera annulé et les réponses de l’ancienne conversation ne s’afficheront plus ici.",cancelNewConversation:"Annuler",request:"Parler à une personne",requestMessage:"Je souhaite parler à une personne.",requesting:"Préparation du transfert…",queued:"En attente d'une personne…",queuedHint:"Vous pouvez continuer à écrire en attendant.",active:"{name} vous aide maintenant",closed:"La conversation avec le support est terminée",failed:"Le transfert n'a pas abouti",retry:"Réessayer",operatorFallback:"Support",supportTag:"Support",headerWaiting:"Mise en relation avec une personne…",headerActive:"Vous parlez avec {name}",headerClosed:"Conversation avec le support terminée",placeholderQueued:"Message à l'équipe support…",placeholderActive:"Message à {name}…",operatorJoined:"{name} a rejoint la conversation",conversationClosed:"{name} a terminé la conversation",handoverCancelled:"Vous avez annulé le transfert",cancelHandover:"Annuler le transfert",cancelHandoverConfirm:"Annuler vraiment le transfert ?",cancelHandoverYes:"Oui, annuler",cancelHandoverNo:"Non",cancelHandoverFailed:"L'annulation a échoué. Veuillez réessayer.",continueWithAssistant:"Continuer avec l'assistant",requestAgain:"Demander à nouveau une personne",delivered:"Transmis à l'équipe support",notDelivered:"Non transmis"},es:{newConversation:"Nueva conversación",newConversationTitle:"¿Iniciar una nueva conversación?",newConversationDescription:"El historial actual desaparecerá de este chat. Empezarás de nuevo con el asistente. La conversación guardada no se eliminará.",newConversationActiveWarning:"El soporte sigue conectado o solicitado. La transferencia se cancelará y las respuestas de la conversación anterior ya no aparecerán aquí.",cancelNewConversation:"Cancelar",request:"Hablar con una persona",requestMessage:"Quiero hablar con una persona.",requesting:"Preparando la transferencia…",queued:"Esperando a una persona…",queuedHint:"Mientras tanto puedes seguir escribiendo.",active:"{name} te está ayudando",closed:"La conversación con soporte ha terminado",failed:"La transferencia no se completó",retry:"Reintentar",operatorFallback:"Soporte",supportTag:"Soporte",headerWaiting:"Conectando con una persona…",headerActive:"Estás hablando con {name}",headerClosed:"Conversación con soporte finalizada",placeholderQueued:"Mensaje para el equipo de soporte…",placeholderActive:"Mensaje para {name}…",operatorJoined:"{name} se ha unido a la conversación",conversationClosed:"{name} ha finalizado la conversación",handoverCancelled:"Ha cancelado la transferencia",cancelHandover:"Cancelar transferencia",cancelHandoverConfirm:"¿Cancelar la transferencia?",cancelHandoverYes:"Sí, cancelar",cancelHandoverNo:"No",cancelHandoverFailed:"No se pudo cancelar. Inténtelo de nuevo.",continueWithAssistant:"Continuar con el asistente",requestAgain:"Pedir una persona de nuevo",delivered:"Entregado al equipo de soporte",notDelivered:"No entregado"},it:{newConversation:"Nuova conversazione",newConversationTitle:"Iniziare una nuova conversazione?",newConversationDescription:"La cronologia attuale scomparirà da questa chat. Ricomincerai con l’assistente. La conversazione salvata non verrà eliminata.",newConversationActiveWarning:"Il supporto è ancora collegato o è stato richiesto. Il trasferimento verrà annullato e le risposte della conversazione precedente non appariranno più qui.",cancelNewConversation:"Annulla",request:"Parla con una persona",requestMessage:"Vorrei parlare con una persona.",requesting:"Preparazione del trasferimento…",queued:"In attesa di una persona…",queuedHint:"Nel frattempo puoi continuare a scrivere.",active:"{name} ti sta aiutando",closed:"La conversazione con il supporto è terminata",failed:"Il trasferimento non è riuscito",retry:"Riprova",operatorFallback:"Supporto",supportTag:"Supporto",headerWaiting:"Collegamento con una persona…",headerActive:"Stai parlando con {name}",headerClosed:"Conversazione con il supporto terminata",placeholderQueued:"Messaggio al team di supporto…",placeholderActive:"Messaggio a {name}…",operatorJoined:"{name} si è unito alla conversazione",conversationClosed:"{name} ha terminato la conversazione",handoverCancelled:"Hai annullato il trasferimento",cancelHandover:"Annulla trasferimento",cancelHandoverConfirm:"Annullare il trasferimento?",cancelHandoverYes:"Sì, annulla",cancelHandoverNo:"No",cancelHandoverFailed:"Annullamento non riuscito. Riprova.",continueWithAssistant:"Continua con l'assistente",requestAgain:"Richiedi di nuovo una persona",delivered:"Consegnato al team di supporto",notDelivered:"Non consegnato"},tr:{newConversation:"Yeni görüşme",newConversationTitle:"Yeni görüşme başlatılsın mı?",newConversationDescription:"Mevcut geçmiş bu sohbetten kaldırılacak. Asistanla yeniden başlayacaksınız. Kayıtlı görüşme silinmeyecek.",newConversationActiveWarning:"Destek hâlâ bağlı veya talep edildi. Aktarım iptal edilecek ve önceki görüşmedeki yanıtlar artık burada görünmeyecek.",cancelNewConversation:"İptal",request:"Bir kişiyle konuş",requestMessage:"Bir kişiyle konuşmak istiyorum.",requesting:"Aktarım hazırlanıyor…",queued:"Bir kişi bekleniyor…",queuedHint:"Bu sırada yazmaya devam edebilirsiniz.",active:"{name} şimdi size yardımcı oluyor",closed:"Destek görüşmesi sona erdi",failed:"Aktarım gerçekleşmedi",retry:"Tekrar dene",operatorFallback:"Destek",supportTag:"Destek",headerWaiting:"Bir kişiye bağlanıyor…",headerActive:"{name} ile konuşuyorsunuz",headerClosed:"Destek görüşmesi sona erdi",placeholderQueued:"Destek ekibine mesaj…",placeholderActive:"{name} için mesaj…",operatorJoined:"{name} görüşmeye katıldı",conversationClosed:"{name} görüşmeyi sonlandırdı",handoverCancelled:"Aktarımı iptal ettiniz",cancelHandover:"Aktarımı iptal et",cancelHandoverConfirm:"Aktarım iptal edilsin mi?",cancelHandoverYes:"Evet, iptal et",cancelHandoverNo:"Hayır",cancelHandoverFailed:"İptal edilemedi. Lütfen tekrar deneyin.",continueWithAssistant:"Asistanla devam et",requestAgain:"Tekrar bir kişi iste",delivered:"Destek ekibine iletildi",notDelivered:"İletilemedi"},ar:{newConversation:"محادثة جديدة",newConversationTitle:"هل تريد بدء محادثة جديدة؟",newConversationDescription:"سيختفي السجل الحالي من هذه الدردشة وستبدأ من جديد مع المساعد. لن تُحذف المحادثة المحفوظة.",newConversationActiveWarning:"لا يزال الدعم متصلاً أو تم طلبه. سيتم إلغاء التحويل ولن تظهر هنا الردود في المحادثة السابقة.",cancelNewConversation:"إلغاء",request:"التحدث مع شخص",requestMessage:"أرغب في التحدث مع شخص.",requesting:"جارٍ تجهيز التحويل…",queued:"في انتظار أحد الموظفين…",queuedHint:"يمكنك متابعة الكتابة في هذه الأثناء.",active:"{name} يساعدك الآن",closed:"انتهت محادثة الدعم",failed:"لم يتم التحويل",retry:"حاول مجددًا",operatorFallback:"الدعم",supportTag:"الدعم",headerWaiting:"جارٍ توصيلك بأحد الموظفين…",headerActive:"أنت تتحدث مع {name}",headerClosed:"انتهت محادثة الدعم",placeholderQueued:"رسالة إلى فريق الدعم…",placeholderActive:"رسالة إلى {name}…",operatorJoined:"انضم {name} إلى المحادثة",conversationClosed:"أنهى {name} المحادثة",handoverCancelled:"لقد ألغيت التحويل",cancelHandover:"إلغاء التحويل",cancelHandoverConfirm:"هل تريد إلغاء التحويل؟",cancelHandoverYes:"نعم، إلغاء",cancelHandoverNo:"لا",cancelHandoverFailed:"تعذّر الإلغاء. يُرجى المحاولة مرة أخرى.",continueWithAssistant:"المتابعة مع المساعد",requestAgain:"طلب موظف مرة أخرى",delivered:"تم الإرسال إلى فريق الدعم",notDelivered:"لم يتم الإرسال"},pl:{newConversation:"Nowa rozmowa",newConversationTitle:"Rozpocząć nową rozmowę?",newConversationDescription:"Dotychczasowa historia zniknie z tego czatu. Zaczniesz od nowa z asystentem. Zapisana rozmowa nie zostanie usunięta.",newConversationActiveWarning:"Wsparcie jest nadal połączone lub zostało poproszone o pomoc. Przekazanie zostanie anulowane, a odpowiedzi z poprzedniej rozmowy nie pojawią się tutaj.",cancelNewConversation:"Anuluj",request:"Porozmawiaj z człowiekiem",requestMessage:"Chcę porozmawiać z człowiekiem.",requesting:"Przygotowujemy przekazanie…",queued:"Czekamy na konsultanta…",queuedHint:"W międzyczasie możesz dalej pisać.",active:"{name} teraz Ci pomaga",closed:"Rozmowa ze wsparciem została zakończona",failed:"Przekazanie nie powiodło się",retry:"Spróbuj ponownie",operatorFallback:"Wsparcie",supportTag:"Wsparcie",headerWaiting:"Łączymy Cię z konsultantem…",headerActive:"Rozmawiasz z {name}",headerClosed:"Rozmowa ze wsparciem zakończona",placeholderQueued:"Wiadomość do zespołu wsparcia…",placeholderActive:"Wiadomość do {name}…",operatorJoined:"{name} dołącza do rozmowy",conversationClosed:"{name} kończy rozmowę",handoverCancelled:"Anulowano przekazanie",cancelHandover:"Anuluj przekazanie",cancelHandoverConfirm:"Czy na pewno anulować przekazanie?",cancelHandoverYes:"Tak, anuluj",cancelHandoverNo:"Nie",cancelHandoverFailed:"Nie udało się anulować. Spróbuj ponownie.",continueWithAssistant:"Kontynuuj z asystentem",requestAgain:"Poproś ponownie o konsultanta",delivered:"Dostarczono do zespołu wsparcia",notDelivered:"Nie dostarczono"},ua:{newConversation:"Нова розмова",newConversationTitle:"Почати нову розмову?",newConversationDescription:"Поточна історія зникне з цього чату. Ви почнете знову з асистентом. Збережену розмову не буде видалено.",newConversationActiveWarning:"Підтримку ще підключено або запит надіслано. Передачу буде скасовано, а відповіді в попередній розмові тут більше не з’являтимуться.",cancelNewConversation:"Скасувати",request:"Поговорити з людиною",requestMessage:"Я хочу поговорити з людиною.",requesting:"Готуємо передачу…",queued:"Очікуємо на оператора…",queuedHint:"Тим часом ви можете продовжувати писати.",active:"{name} зараз вам допомагає",closed:"Розмову з підтримкою завершено",failed:"Не вдалося передати діалог",retry:"Спробувати ще",operatorFallback:"Підтримка",supportTag:"Підтримка",headerWaiting:"З’єднуємо вас з оператором …",headerActive:"Ви спілкуєтеся з {name}",headerClosed:"Розмову з підтримкою завершено",placeholderQueued:"Повідомлення для служби підтримки …",placeholderActive:"Повідомлення для {name} …",operatorJoined:"{name} приєднується до розмови",conversationClosed:"{name} завершує розмову",handoverCancelled:"Ви скасували передачу",cancelHandover:"Скасувати передачу",cancelHandoverConfirm:"Скасувати передачу?",cancelHandoverYes:"Так, скасувати",cancelHandoverNo:"Ні",cancelHandoverFailed:"Не вдалося скасувати. Спробуйте ще раз.",continueWithAssistant:"Продовжити з асистентом",requestAgain:"Запросити оператора ще раз",delivered:"Доставлено службі підтримки",notDelivered:"Не доставлено"}};function hA(e,t){const n=Cl.en,r=Cl[e]||n;return{...n,...r,...(t==null?void 0:t[e])||{}}}function ri(e,t){return e.replace("{name}",t)}function gA({message:e,labels:t,innerRef:n}){const r=e.systemKind==="operator_joined",i=e.operatorName||(t==null?void 0:t.operatorFallback)||"Support",a=(r?t==null?void 0:t.operatorJoined:e.systemKind==="handover_cancelled"?t==null?void 0:t.handoverCancelled:t==null?void 0:t.conversationClosed)||"{name}",o=ri(a,i);return f.jsxs("div",{ref:n,className:"handover-in flex items-center gap-3 py-1",role:"note",children:[f.jsx("span",{className:"h-px min-w-[10px] flex-1 bg-border","aria-hidden":"true"}),f.jsxs("span",{className:"flex min-w-0 items-center gap-2 text-[11px] text-foreground/60",children:[r?f.jsx(fi,{imageUrl:e.operatorImageUrl,name:i,size:20}):f.jsx("span",{className:"inline-flex h-[20px] w-[20px] shrink-0 items-center justify-center rounded-full bg-muted text-foreground/50","aria-hidden":"true",children:f.jsx(wn,{})}),f.jsx("span",{className:"truncate",title:o,children:o}),f.jsx("span",{className:"shrink-0 text-foreground/40",children:e.time})]}),f.jsx("span",{className:"h-px min-w-[10px] flex-1 bg-border","aria-hidden":"true"})]})}const Or={de:"🔍 Suche...",simple:"🔍 Suche...",en:"🔍 Searching...",fr:"🔍 Recherche...",es:"🔍 Buscando...",it:"🔍 Ricerca...",tr:"🔍 Arıyor...",ar:"🔍 جارٍ البحث...",pl:"🔍 Szukanie...",ua:"🔍 Пошук..."},bA={de:pl,simple:pl,en:ma,fr:wS,es:U1,it:$S,tr:fz,ar:W0,pl:LC,ua:Gz},yA=(e,t,n)=>{const r=e.indexOf(":"),i=e.indexOf("?"),a=e.indexOf("#"),o=e.indexOf("/");return r!==-1&&(o===-1||r<o)&&(i===-1||r<i)&&(a===-1||r<a)&&/^tel$/i.test(e.slice(0,r))?e:Wc(e)},vA={a:({node:e,href:t,...n})=>{const r=typeof t=="string"&&/^https?:\/\//i.test(t);return f.jsx("a",{...n,href:t,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0})}},xA=e=>{if(!e)return null;const t=e instanceof Date?e:new Date(e);return isNaN(t.getTime())?null:t};function wA({messages:e,quickActions:t,theme:n,isMobile:r,inputRef:i,setInput:a,selectedLanguage:o,toolStatus:s,isTyping:l,lastBotMessageRef:u,messagesEndRef:c,scrollContainerRef:d,onScroll:p,showScrollButton:m,onScrollToBottom:h,handleFeedback:g,botAvatarSrc:b,scrollLabel:y,botAvatarAlt:w,ttsModelId:S,ttsVoiceId:E,ttsVoiceSettings:P,onStructuredAction:z,handoverLabels:T,quickActionsPauseOnHover:L=!1}){return f.jsxs(f.Fragment,{children:[f.jsxs("div",{ref:d,onScroll:p,role:"log","aria-live":"polite","aria-label":"Chat-Nachrichten",className:"flex-1 min-h-0 overflow-y-auto p-5 bg-[hsl(var(--chat-bg))] flex flex-col gap-4 scrollbar-thin scrollbar-track-muted scrollbar-thumb-primary relative",children:[e.length===1&&f.jsx(Kz,{quickActions:t,theme:n,pauseOnHover:L,onSelect:N=>{var k;a(N),r||(k=i.current)==null||k.focus()}}),e.map((N,k)=>{const j=N.sender==="operator",I=k===e.length-1;if(N.sender==="system")return f.jsx(gA,{message:N,labels:T,innerRef:I?u:null},k);const V=k>0?e[k-1]:void 0,F=N.operatorName||(T==null?void 0:T.operatorFallback)||"Support",O=j&&!((V==null?void 0:V.sender)==="operator"&&V.operatorName===N.operatorName),B=xA(N.timestamp),K=B?c0(B,{addSuffix:!0,locale:bA[o]||ma}):N.time||"";return f.jsxs("div",{ref:!N.isUser&&k===e.length-1?u:null,className:`flex gap-3 animate-message-slide-in ${N.isUser?"flex-row-reverse":""}`,children:[j?f.jsx(fi,{imageUrl:N.operatorImageUrl,name:F,size:36,className:"shadow-[0_4px_15px_rgba(0,0,0,0.15)]"}):f.jsx("div",{className:`w-9 h-9 rounded-full flex items-center justify-center flex-shrink-0 shadow-[0_4px_15px_rgba(0,0,0,0.2)] border ${N.isUser?"bg-[hsl(var(--chat-avatar-user))] border-primary":"bg-[hsl(var(--chat-avatar-bot))] border-primary"}`,children:N.isUser?f.jsx(am,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]"}):f.jsx("img",{src:b,alt:w,className:"w-6 h-6 object-contain drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]"})}),f.jsxs("div",{className:N.rpcData?"min-w-0 flex-1":void 0,children:[f.jsxs("div",{className:"flex flex-col gap-2 w-full max-w-[90%]",children:[O?f.jsxs("div",{className:"flex min-w-0 items-center gap-1.5 px-1 text-xs",children:[f.jsx("span",{className:"truncate font-semibold text-foreground/80",title:F,children:F}),f.jsx("span",{className:"shrink-0 rounded-full bg-[hsl(var(--chat-human)/0.14)] px-1.5 py-px text-[10px] font-semibold text-[hsl(var(--chat-human))]",children:(T==null?void 0:T.supportTag)||"Support"})]}):null,N.rpcData?f.jsx(pA,{data:N.rpcData,disabled:l,onAction:z}):f.jsx("div",{className:`w-full px-4 py-3 rounded-[18px] leading-relaxed text-sm transition-all hover:-translate-y-0.5 ${N.isUser?"bg-primary text-primary-foreground shadow-[0_6px_20px_hsl(var(--glow-primary)),inset_0_1px_2px_rgba(255,255,255,0.15)] hover:shadow-[0_10px_30px_hsl(var(--glow-primary)),inset_0_1px_2px_rgba(255,255,255,0.25)]":j?"rounded-ss-[6px] bg-[hsl(var(--chat-message-human))] border border-[hsl(var(--chat-message-human-border))] text-foreground shadow-[0_4px_15px_rgba(0,0,0,0.06)] hover:shadow-[0_8px_25px_rgba(0,0,0,0.1)] whitespace-pre-wrap break-words":"bg-[hsl(var(--chat-message-bot))] backdrop-blur-[20px] border border-[hsl(var(--chat-message-bot-border))] text-foreground shadow-[0_4px_15px_rgba(0,0,0,0.08)] hover:shadow-[0_8px_25px_rgba(0,0,0,0.12)]"}`,children:N.isUser||j?N.text:f.jsx("div",{className:`prose prose-sm ${n!=="light"?"prose-invert":""} max-w-none prose-p:my-2 prose-headings:my-3 prose-ul:my-2 prose-ol:my-2 prose-li:my-1 prose-code:text-xs prose-pre:bg-muted prose-pre:text-foreground prose-strong:text-foreground prose-a:text-foreground hover:prose-a:text-primary break-words prose-a:[overflow-wrap:anywhere] text-foreground`,children:f.jsx(lx,{remarkPlugins:[xk],components:vA,urlTransform:yA,children:N.text})})}),!N.isUser&&N.sources&&N.sources.length>0&&f.jsx(Qz,{sources:N.sources}),!N.isUser&&N.files&&N.files.length>0&&f.jsxs("div",{className:"space-y-1.5 w-full",children:[f.jsx("div",{className:"text-[10px] uppercase tracking-wider text-foreground/50 font-semibold",children:"Dateien"}),f.jsx("div",{className:"flex flex-col gap-1",children:N.files.map((X,Q)=>f.jsxs("a",{href:X.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-xs text-foreground/70 bg-muted rounded-lg px-3 py-2 border border-border hover:bg-muted/80 transition-all group",children:[f.jsx(nu,{className:"w-3 h-3 flex-shrink-0 group-hover:scale-110 transition-transform"}),f.jsx("span",{className:"truncate",children:X.name})]},Q))})]})]}),f.jsxs("div",{className:`flex items-center gap-2 mt-1.5 ${N.isUser?"justify-end":"justify-start"}`,children:[N.isUser&&N.delivery==="delivered"?f.jsxs("span",{className:"handover-in inline-flex items-center text-[hsl(var(--chat-human))]",title:T==null?void 0:T.delivered,children:[f.jsx(wn,{className:"w-3 h-3","aria-hidden":"true"}),f.jsx("span",{className:"sr-only",children:T==null?void 0:T.delivered})]}):null,N.isUser&&N.delivery==="failed"?f.jsxs("span",{className:"handover-in inline-flex items-center gap-1 text-[10px] text-[hsl(var(--chat-danger))]",children:[f.jsx(rn,{className:"w-3 h-3","aria-hidden":"true"}),T==null?void 0:T.notDelivered]}):null,f.jsx("div",{className:"text-[10px] text-foreground/40",title:N.time,children:K}),!N.isUser&&!N.rpcData&&!j&&f.jsxs("div",{className:"flex gap-1",children:[f.jsx(nA,{text:N.text,language:o,modelId:S,voiceId:E,voiceSettings:P,className:"p-1 rounded transition-colors text-foreground/40 hover:text-primary"}),f.jsx("button",{onClick:()=>g(k,"up"),"aria-label":"Hilfreich","aria-pressed":N.feedback==="up",className:`p-1 rounded transition-colors ${N.feedback==="up"?"text-green-400":"text-foreground/40 hover:text-green-400"}`,children:f.jsx(iu,{className:"w-3 h-3"})}),f.jsx("button",{onClick:()=>g(k,"down"),"aria-label":"Nicht hilfreich","aria-pressed":N.feedback==="down",className:`p-1 rounded transition-colors ${N.feedback==="down"?"text-red-400":"text-foreground/40 hover:text-red-400"}`,children:f.jsx(om,{className:"w-3 h-3"})})]})]})]})]},k)}),l&&f.jsxs("div",{ref:u,className:"flex gap-3",children:[f.jsx("div",{className:"w-9 h-9 rounded-full flex items-center justify-center flex-shrink-0 shadow-[0_4px_15px_rgba(0,0,0,0.2)] border border-primary bg-[hsl(var(--chat-avatar-bot))]",children:f.jsx(Kr,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]"})}),s.active?f.jsx("div",{className:"px-4 py-3 max-w-[85%] w-fit bg-card/50 backdrop-blur-sm rounded-2xl rounded-tl-none border border-border/30 shadow-lg animate-message-slide-in",children:f.jsx("div",{className:"text-sm text-foreground/70",children:s.toolName==="human_handover"&&T?T.requesting:Or[o]||Or.en})}):f.jsx(rA,{})]}),s.active&&!l&&f.jsxs("div",{ref:u,className:"flex gap-3",children:[f.jsx("div",{className:"w-9 h-9 rounded-full flex items-center justify-center flex-shrink-0 shadow-[0_4px_15px_rgba(0,0,0,0.2)] border border-primary bg-[hsl(var(--chat-avatar-bot))]",children:f.jsx(Kr,{className:"w-5 h-5 text-primary-foreground drop-shadow-[0_1px_2px_rgba(0,0,0,0.2)]"})}),f.jsx("div",{className:"px-4 py-3 max-w-[85%] w-fit bg-card/50 backdrop-blur-sm rounded-2xl rounded-tl-none border border-border/30 shadow-lg animate-message-slide-in",children:f.jsx("div",{className:"text-sm text-foreground/70",children:s.toolName==="human_handover"&&T?T.requesting:Or[o]||Or.en})})]}),f.jsx("div",{ref:c})]}),m&&f.jsx("button",{onClick:h,className:"absolute bottom-36 right-4 bg-primary/95 backdrop-blur-sm text-primary-foreground rounded-full p-3 shadow-[0_8px_30px_rgb(0,0,0,0.12)] hover:shadow-[0_12px_40px_rgb(0,0,0,0.16)] hover:bg-primary hover:scale-110 transition-all duration-300 z-20 animate-[slideUp_0.3s_ease-out] group flex items-center justify-center","aria-label":y,children:f.jsx(qf,{className:"w-5 h-5",strokeWidth:2.5})})]})}const zl=({className:e,pulse:t})=>f.jsxs("span",{className:"relative inline-flex h-2 w-2 shrink-0","aria-hidden":"true",children:[t?f.jsx("span",{className:`handover-pulse absolute inline-flex h-full w-full rounded-full ${e}`}):null,f.jsx("span",{className:`relative inline-flex h-2 w-2 rounded-full ${e}`})]}),Al="px-4 pt-2.5 bg-[hsl(var(--chat-input-bg))] flex flex-col items-center gap-1.5",El="handover-in inline-flex max-w-full min-w-0 items-center gap-2 rounded-full border px-3 py-1.5 text-xs transition-colors duration-500",er="inline-flex items-center gap-1.5 rounded-full border border-border bg-card/60 px-2.5 py-1 text-[11px] font-medium text-foreground/75 transition-colors hover:border-primary/40 hover:bg-primary/5 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary";function kA({status:e,operator:t,labels:n,disabled:r,showRequestButton:i=!0,onRequest:a,onContinueWithAssistant:o,onCancel:s}){const l=(t==null?void 0:t.displayName)||n.operatorFallback,[u,c]=M.useState("idle"),[d,p]=M.useState(!1);if(M.useEffect(()=>{c("idle"),p(!1)},[e]),e==="idle")return i?f.jsx("div",{className:Al,children:f.jsxs("button",{type:"button",disabled:r,onClick:a,className:`${El} border-border bg-card/60 text-foreground/70 hover:border-[hsl(var(--chat-human)/0.6)] hover:bg-[hsl(var(--chat-human)/0.08)] hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary disabled:cursor-not-allowed disabled:opacity-45`,children:[f.jsx(go,{className:"shrink-0 text-[hsl(var(--chat-human))]","aria-hidden":"true"}),f.jsx("span",{className:"truncate font-medium",children:n.request})]})}):null;const h={requesting:{tone:"border-border bg-card/70 text-foreground/75",lead:f.jsx(zl,{className:"bg-primary",pulse:!0}),text:n.requesting},queued:{tone:"border-[hsl(var(--chat-waiting)/0.45)] bg-[hsl(var(--chat-waiting)/0.1)] text-foreground/80",lead:f.jsx(zl,{className:"bg-[hsl(var(--chat-waiting))]",pulse:!0}),text:n.queued,hint:n.queuedHint},active:{tone:"border-[hsl(var(--chat-human)/0.45)] bg-[hsl(var(--chat-human)/0.1)] text-foreground",lead:f.jsx(fi,{imageUrl:t==null?void 0:t.imageUrl,name:l,size:20}),text:ri(n.active,l),tag:n.supportTag},closed:{tone:"border-border bg-muted/50 text-foreground/70",lead:f.jsx(wn,{className:"shrink-0","aria-hidden":"true"}),text:n.closed},failed:{tone:"border-[hsl(var(--chat-danger)/0.4)] bg-[hsl(var(--chat-danger)/0.1)] text-[hsl(var(--chat-danger))]",lead:f.jsx(rn,{className:"shrink-0","aria-hidden":"true"}),text:n.failed}}[e];return f.jsxs("div",{className:Al,role:"status","aria-live":"polite",children:[f.jsxs("div",{className:`${El} ${h.tone}`,children:[h.lead,f.jsx("span",{className:"min-w-0 truncate font-medium",title:h.text,children:h.text}),h.tag?f.jsx("span",{className:"shrink-0 rounded-full bg-[hsl(var(--chat-human)/0.15)] px-1.5 py-px text-[10px] font-semibold text-[hsl(var(--chat-human))]",children:h.tag}):null,e==="failed"?f.jsxs("button",{type:"button",onClick:a,className:"ms-1 inline-flex shrink-0 items-center gap-1 rounded-full px-2 py-0.5 font-semibold hover:bg-[hsl(var(--chat-danger)/0.12)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[hsl(var(--chat-danger))]",children:[f.jsx(ru,{"aria-hidden":"true"}),n.retry]}):null]},e),h.hint?f.jsx("p",{className:"handover-in text-center text-[10px] text-muted-foreground",children:h.hint}):null,(e==="queued"||e==="active")&&s?u==="idle"?f.jsxs("button",{type:"button",onClick:()=>c("confirming"),className:er,children:[f.jsx(on,{"aria-hidden":"true"}),f.jsx("span",{className:"truncate",children:n.cancelHandover})]}):f.jsxs("div",{className:"handover-in flex max-w-full flex-wrap items-center justify-center gap-1.5",role:"group","aria-label":n.cancelHandoverConfirm,children:[f.jsx("span",{className:"text-[11px] text-foreground/75",children:n.cancelHandoverConfirm}),f.jsxs("button",{type:"button",disabled:u==="sending",onClick:async()=>{c("sending"),p(!1),await s()||(c("confirming"),p(!0))},className:`${er} disabled:opacity-45`,children:[f.jsx(on,{"aria-hidden":"true"}),f.jsx("span",{className:"truncate",children:n.cancelHandoverYes})]}),f.jsx("button",{type:"button",disabled:u==="sending",onClick:()=>{c("idle"),p(!1)},className:`${er} disabled:opacity-45`,children:f.jsx("span",{className:"truncate",children:n.cancelHandoverNo})})]}):null,d?f.jsx("p",{className:"handover-in text-center text-[10px] text-[hsl(var(--chat-danger))]",role:"alert",children:n.cancelHandoverFailed}):null,e==="closed"?f.jsxs("div",{className:"handover-in flex max-w-full flex-wrap justify-center gap-1.5",children:[f.jsxs("button",{type:"button",onClick:o,className:er,children:[f.jsx(Kr,{"aria-hidden":"true"}),f.jsx("span",{className:"truncate",children:n.continueWithAssistant})]}),f.jsxs("button",{type:"button",onClick:a,disabled:r,className:`${er} disabled:opacity-45`,children:[f.jsx(go,{className:"text-[hsl(var(--chat-human))]","aria-hidden":"true"}),f.jsx("span",{className:"truncate",children:n.requestAgain})]})]}):null]})}function SA({labels:e,disabled:t,active:n,onConfirm:r,onStarted:i}){const a=M.useRef(null),o=M.useId(),s=M.useId(),[l,u]=M.useState(!1);return f.jsxs("div",{className:"flex shrink-0 justify-end border-b border-border px-4 py-1 bg-[hsl(var(--chat-bg))]",children:[f.jsxs("button",{type:"button",disabled:t,onClick:()=>{var c;return(c=a.current)==null?void 0:c.showModal()},className:"inline-flex min-h-9 items-center gap-1.5 rounded-md px-2 text-xs text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary disabled:opacity-40",children:[f.jsx(ru,{className:"h-3.5 w-3.5","aria-hidden":"true"}),e.newConversation]}),f.jsxs("dialog",{ref:a,"aria-labelledby":o,"aria-describedby":s,onKeyDown:c=>c.stopPropagation(),className:"handover-reset-dialog m-auto max-h-[calc(100dvh_-_32px)] w-[calc(100vw_-_32px)] max-w-sm overflow-y-auto rounded-2xl border border-border bg-background p-5 text-foreground shadow-xl",children:[f.jsx("h2",{id:o,className:"text-lg font-semibold",children:e.newConversationTitle}),f.jsxs("div",{id:s,className:"mt-3 space-y-3 text-sm leading-relaxed text-muted-foreground",children:[f.jsx("p",{children:e.newConversationDescription}),n&&f.jsx("p",{className:"border-s-2 border-[hsl(var(--chat-waiting))] ps-3 text-foreground",children:e.newConversationActiveWarning})]}),f.jsxs("div",{className:"mt-5 flex flex-wrap justify-end gap-2",children:[f.jsx(st,{type:"button",variant:"outline",autoFocus:!0,disabled:l,onClick:()=>{var c;return(c=a.current)==null?void 0:c.close()},children:e.cancelNewConversation}),f.jsx(st,{type:"button",disabled:l||t,onClick:async()=>{var c;u(!0);try{await r()&&((c=a.current)==null||c.close(),i())}finally{u(!1)}},children:e.newConversation})]})]})]})}const Pl=(e,t)=>{if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=e[n],i=t[n];if(!r||!i||r.id!==i.id||r.title!==i.title||r.message!==i.message)return!1}return!0},CA=["audio/webm","audio/mp4","audio/mpeg","audio/aac"],zA={"audio/webm":"webm","audio/mp4":"mp4","audio/mpeg":"mp3","audio/aac":"aac"},AA=e=>{if(typeof window>"u"||typeof MediaRecorder>"u")throw new Error("MediaRecorder is not supported in this environment");const t=n=>n?new MediaRecorder(e,{mimeType:n}):new MediaRecorder(e);for(const n of CA)try{return{recorder:t(n),mimeType:n}}catch(r){if(r instanceof DOMException&&r.name==="NotSupportedError")continue;throw r}return{recorder:t(),mimeType:null}},EA=e=>zA[e]||e.split("/")[1]||"webm",ga=M.forwardRef(({isOpen:e,onClose:t,config:n,floatingZIndexBase:r=1e5},i)=>{var Na,Ma,Ia,Da,Ra,La,Oa,Fa,Ba,Wa,qa;const a=(Na=n.languages)!=null&&Na.length?n.languages:Oe.languages,o=a.some(R=>R.code===n.defaultLanguage)?n.defaultLanguage:((Ma=a[0])==null?void 0:Ma.code)||Oe.defaultLanguage,s=n.translations||Oe.translations,l=n.dialogLayout||Oe.dialogLayout||"floating",u=l==="embedded",[c,d]=M.useState(""),[p,m]=M.useState(!1),[h,g]=M.useState(0),[b,y]=M.useState(!1),w=M.useRef(null),S=M.useRef(null),E=M.useRef([]),P=M.useRef(null),[z,T]=M.useState(()=>{const R=localStorage.getItem("klausLanguage"),U=R==="uk"?"ua":R;return U&&a.some(Y=>Y.code===U)?U:o}),[L,N]=M.useState(!1),[k,j]=M.useState(!1),[I,V]=M.useState(!1),[F,O]=M.useState(!1),[B,K]=M.useState(()=>{const R=localStorage.getItem("klausFontSize");return wh(R)?R:"normal"}),[X,Q]=M.useState(()=>localStorage.getItem("klausHighContrast")==="true"),[x,oe]=M.useState(()=>localStorage.getItem("klausPrivacyAccepted")==="true"),[Ee,C]=M.useState(!1),[Ie,We]=M.useState(null),Ne=M.useRef(null),Le=M.useRef(null),Pe=M.useRef(null),se=M.useRef(null),Ce=M.useRef(null),[_,H]=M.useState({top:0,left:0}),$=M.useCallback(()=>({userPreferredLanguage:z,currentDate:new Date().toISOString()}),[z]),[ve,Ve]=M.useState(null),{theme:ge,setTheme:Qe}=gu(),ke=s[o]||Oe.translations[o],ae=s[z]||ke,pe=(ae==null?void 0:ae.welcome)||(ke==null?void 0:ke.welcome)||Oe.translations[Oe.defaultLanguage].welcome,de=!!n.startOnFirstUserMessage&&!(n.initialMessage&&n.conversationId),ce=hA(z,(Ia=n.humanHandover)==null?void 0:Ia.translations);M.useEffect(()=>{j(l==="centered")},[l]),M.useEffect(()=>{if(typeof document>"u"||!(e&&l==="centered"))return;const R=document.body,U=R.style.overflow;return R.style.overflow="hidden",()=>{R.style.overflow=U}},[e,l]),M.useEffect(()=>{const R=()=>window.matchMedia("(max-width: 768px)").matches,U=()=>V(R());return U(),window.addEventListener("resize",U),()=>window.removeEventListener("resize",U)},[]),M.useEffect(()=>{e&&l==="floating"&&(u||I&&j(!0))},[e,I,l,u]);const{messages:ze,isTyping:Me,quickReplies:Ze,toolStatus:D,conversationId:q,assistantTenant:ee,handover:Z,initialize:ne,sendMessage:Je,requestHumanHandover:pt,cancelHumanHandover:ct,continueWithAssistant:dt,startNewConversation:qt,updateMessageFeedback:et,appendAssistantMessage:Mt}=yh({promptId:n.promptId||"default",initialMessage:n.initialMessage,initialConversationId:n.initialMessage&&n.conversationId?n.conversationId:void 0,startOnFirstUserMessage:de,localWelcomeMessage:de?pe:void 0,getContext:$,humanHandover:(Da=n.humanHandover)!=null&&Da.enabled?{enabled:!0,pollIntervalMs:n.humanHandover.pollIntervalMs,requestMessage:ce.requestMessage}:void 0,onError:R=>{const U=as[z]?z:o||"de",Y=as[U],re=(R||"").toLowerCase();if(re.includes("content filter")){const Ue=qi[z]?z:"en",zt=qi[Ue]||qi.en;Mt(zt);return}const Te=$p.some(Ue=>re.includes(Ue));!Te&&R&&console.error("Unhandled chat error:",R),bt({title:Y.title,description:Te&&R?R:Y.unexpected,variant:"destructive"})}}),nt=s.en||Oe.translations.en,Sn={...Oe.links,...n.links},xt=n.branding.poweredBy||Oe.branding.poweredBy,$t=(ae==null?void 0:ae.settings)||(ke==null?void 0:ke.settings)||Oe.translations[Oe.defaultLanguage].settings,Cn=(()=>{const R=n.aboutChatbotDescription;if(!R)return;if(typeof R=="string")return R;const U=R[z];if(typeof U=="string")return U;const Y=R[o];if(typeof Y=="string")return Y;const re=R[Oe.defaultLanguage];if(typeof re=="string")return re})(),dn=$t&&Cn?{...$t,aboutChatbot:{...$t.aboutChatbot,description:Cn}}:$t,Sr=(ae==null?void 0:ae.placeholder)||(ke==null?void 0:ke.placeholder)||Oe.translations[Oe.defaultLanguage].placeholder,fn=!!((Ra=n.humanHandover)!=null&&Ra.enabled),Vn=((La=Z.operator)==null?void 0:La.displayName)||ce.operatorFallback,Cr=Vn.length<=20,zr=fn?Z.status==="active"?Cr?ri(ce.placeholderActive,Vn):ce.placeholderQueued:Z.status==="queued"?ce.placeholderQueued:Sr:Sr,Ti=(()=>{if(fn)switch(Z.status){case"requesting":case"queued":return{mode:"waiting",label:ce.headerWaiting};case"active":return{mode:"human",label:ri(ce.headerActive,Vn),operator:Z.operator,operatorFallbackName:ce.operatorFallback};case"closed":return{mode:"closed",label:ce.headerClosed};default:return}})(),Ni=(ae==null?void 0:ae.disclaimer)||(ke==null?void 0:ke.disclaimer)||Oe.translations[Oe.defaultLanguage].disclaimer,Ar=(dn==null?void 0:dn.scrollToBottom)||((Oa=ke==null?void 0:ke.settings)==null?void 0:Oa.scrollToBottom)||"Zum Ende scrollen",Er=(ae==null?void 0:ae.transcribing)??(nt==null?void 0:nt.transcribing)??Oe.translations[Oe.defaultLanguage].transcribing,zn=()=>{if(!se.current||typeof window>"u")return;const R=se.current.getBoundingClientRect(),U=220,Y=8;if(u&&Pe.current){const Jt=Pe.current.getBoundingClientRect(),Ri=Jt.width,Va=Jt.height,Tf=R.right-U-Jt.left,Nf=Math.max(Y,Math.min(Tf,Ri-U-Y)),Ja=Math.min(300,Va*.6);let Li=R.bottom+6-Jt.top;Li+Ja+Y>Va&&(Li=Math.max(Y,R.top-Jt.top-Ja-6)),H({top:Li,left:Nf});return}const re=window.innerWidth,je=window.innerHeight,Te=Math.max(Y,Math.min(R.right-U,re-U-Y)),Ue=Math.min(300,je*.6);let zt=R.bottom+6;zt+Ue+Y>je&&(zt=Math.max(Y,R.top-Ue-6)),H({top:zt,left:Te})};M.useEffect(()=>{const R=U=>{if(U.key==="Escape"&&e){if(L){U.preventDefault(),U.stopPropagation(),N(!1);return}F?O(!1):t()}};return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[e,F,t,L]),M.useEffect(()=>{var U,Y;if(!Pe.current)return;if(u){Ve(Pe.current);return}const R=(Y=(U=Pe.current).getRootNode)==null?void 0:Y.call(U);R instanceof ShadowRoot?Ve(R):typeof document<"u"&&Ve(document.body)},[e,u]),M.useEffect(()=>{if(!L)return;const R=U=>{const Y=U.composedPath&&U.composedPath()||[],re=U.target,je=se.current,Te=Ce.current,Ue=!!je&&(Y.includes(je)||je.contains(re)),zt=!!Te&&(Y.includes(Te)||Te.contains(re));!Ue&&!zt&&N(!1)};return document.addEventListener("mousedown",R,!0),document.addEventListener("touchstart",R,!0),()=>{document.removeEventListener("mousedown",R,!0),document.removeEventListener("touchstart",R,!0)}},[L]),M.useEffect(()=>{if(!L)return;zn();const R=()=>zn(),U=()=>zn();return window.addEventListener("resize",R),window.addEventListener("scroll",U,!0),()=>{window.removeEventListener("resize",R),window.removeEventListener("scroll",U,!0)}},[L]),M.useEffect(()=>{if(!(e&&Pe.current))return;const R=()=>{var Te,Ue;const Y='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])',re=Array.from(((Te=Pe.current)==null?void 0:Te.querySelectorAll(Y))??[]),je=Array.from(((Ue=Ce.current)==null?void 0:Ue.querySelectorAll(Y))??[]);return[...re,...je]},U=Y=>{if(Y.key!=="Tab")return;const re=R().filter(Ue=>!Ue.hasAttribute("disabled")&&Ue.getAttribute("tabindex")!=="-1");if(re.length===0)return;const je=re[0],Te=re[re.length-1];Y.shiftKey?document.activeElement===je&&(Y.preventDefault(),Te==null||Te.focus()):document.activeElement===Te&&(Y.preventDefault(),je==null||je.focus())};return window.addEventListener("keydown",U),()=>window.removeEventListener("keydown",U)},[e,F,L]),M.useEffect(()=>{if(L&&Ce.current){const R=Ce.current.querySelector("button:not([disabled])");R==null||R.focus()}else!L&&se.current&&se.current.focus()},[L]);const Mi=M.useCallback(R=>{if(!Ce.current)return;const U=Array.from(Ce.current.querySelectorAll("button:not([disabled])"));if(!U.length)return;const Y=U.indexOf(document.activeElement),re=je=>{var Te;R.preventDefault(),(Te=U[je])==null||Te.focus()};switch(R.key){case"ArrowDown":{const je=(Y+1)%U.length;re(je);break}case"ArrowUp":{const je=(Y-1+U.length)%U.length;re(je);break}case"Home":re(0);break;case"End":re(U.length-1);break}},[]),Pr=(()=>{const R=n.quickReplies.default,U=Array.isArray(R)&&R.length>0,Y=n.quickReplies[z],re=Oe.quickReplies[z];if(Y!==void 0&&(re===void 0||!Pl(Y,re)))return Y;if(U)return R;if(re!==void 0)return re;const Te=n.quickReplies[o],Ue=Oe.quickReplies[o];return Te!==void 0&&(Ue===void 0||!Pl(Te,Ue))?Te:Ue!==void 0?Ue:[]})(),Ii=(Pr.length?Pr:Ze.map((R,U)=>({id:`api-${U}`,title:R.text,message:R.text}))).map(R=>({...R,icon:R.id==="mangel"?f.jsx(rn,{className:"w-4 h-4"}):R.id==="kfz"?f.jsx(rn,{className:"w-4 h-4"}):R.id==="oeffnungszeiten"?f.jsx(Xa,{className:"w-4 h-4"}):R.id==="termin"?f.jsx(Xa,{className:"w-4 h-4"}):f.jsx(nu,{className:"w-4 h-4"})})),A=()=>{localStorage.setItem("klausPrivacyAccepted","true"),oe(!0)},W=()=>{localStorage.removeItem("klausPrivacyAccepted"),oe(!1),O(!1),t()};M.useEffect(()=>{e&&x&&ne()},[e,x,ne]),M.useEffect(()=>{e&&Le.current&&!I&&Le.current.focus()},[e,I]);const[G,ie]=M.useState(!1),we=M.useRef(null),De=M.useRef(ze.length),be=M.useRef(null),ye=()=>{const R=we.current;if(!R)return;const Y=R.scrollHeight-R.scrollTop-R.clientHeight<150;ie(!Y)};M.useEffect(()=>{var R,U;if((R=n.humanHandover)!=null&&R.enabled&&Z.status!=="idle"){const Y=we.current;Y&&(!G||(U=ze[ze.length-1])!=null&&U.isUser)&&(Y.scrollTop=Y.scrollHeight);return}u||be.current&&be.current.scrollIntoView({behavior:"smooth",block:"start"})},[ze.length,Me,u]),M.useEffect(()=>{if(ze.length>De.current){const R=we.current;R&&(R.scrollHeight-R.scrollTop-R.clientHeight<150||ie(!0))}De.current=ze.length},[ze]);const rt=()=>{const R=we.current;R&&(R.scrollTo({top:R.scrollHeight,behavior:"smooth"}),ie(!1))};M.useEffect(()=>{localStorage.setItem("klausLanguage",z)},[z]),M.useEffect(()=>{localStorage.setItem("klausFontSize",B);const R=Pe.current;if(!R)return;const U=R.getRootNode(),Y=U instanceof ShadowRoot?U.host:document.documentElement;R.classList.remove("font-size-small","font-size-large","font-size-extra-large"),Y.classList.remove("font-size-small","font-size-large","font-size-extra-large");const re=B==="small"?"font-size-small":B==="large"?"font-size-large":B==="extra-large"?"font-size-extra-large":"";re&&(R.classList.add(re),Y.classList.add(re))},[B]),M.useEffect(()=>{localStorage.setItem("klausHighContrast",String(X))},[X]),M.useEffect(()=>{Le.current&&(Le.current.style.height="auto",Le.current.style.height=`${Math.min(Le.current.scrollHeight,120)}px`)},[c]);const He=async()=>{if(p){await Vt();return}if(b)return;const R=c.trim();if(!R)return;const U=R;d("");try{await Je(U)}catch(Y){console.error("Failed to send message:",Y)}},Ge=R=>{R.key==="Enter"&&!R.shiftKey&&(R.preventDefault(),He())},ht=async()=>{try{const R=await navigator.mediaDevices.getUserMedia({audio:!0});let U,Y=null;try{({recorder:U,mimeType:Y}=AA(R))}catch(re){throw R.getTracks().forEach(je=>je.stop()),re}S.current=U,E.current=[],P.current=U.mimeType||Y,U.ondataavailable=re=>{re.data.size>0&&E.current.push(re.data),!P.current&&re.data.type&&(P.current=re.data.type)},U.start(),m(!0),g(0),w.current=setInterval(()=>{g(re=>re+1)},1e3)}catch(R){console.error("Failed to start recording:",R);const U=R instanceof DOMException&&R.name==="NotSupportedError";bt({title:U?"Unsupported":"Error",description:U?"Audio recording is not supported in this browser.":"Failed to access microphone",variant:"destructive"})}},Vt=async()=>{if(w.current&&clearInterval(w.current),!S.current||S.current.state==="inactive"){m(!1);return}return m(!1),y(!0),new Promise(R=>{const U=S.current;U.onstop=async()=>{var Y;try{const re=P.current||U.mimeType||((Y=E.current[0])==null?void 0:Y.type)||"audio/webm",je=re?new Blob(E.current,{type:re}):new Blob(E.current),Te=je.type||re||"audio/webm",Ue=`voice-${Date.now()}.${EA(Te)}`,zt=new FileReader;zt.onloadend=async()=>{try{const Jt=zt.result.split(",")[1],Ri=await dh(Jt,Te,Ue,z==="de"?"de-DE":z==="en"?"en-US":void 0);d((Ri.text||"").trimEnd())}catch(Jt){console.error("Transcription error:",Jt),bt({title:"Error",description:"Failed to transcribe audio",variant:"destructive"})}finally{y(!1),g(0),P.current=null,E.current=[],S.current=null,R()}},zt.readAsDataURL(je)}catch(re){console.error("Error processing audio:",re),y(!1),g(0),P.current=null,E.current=[],S.current=null,R()}finally{U.stream.getTracks().forEach(re=>re.stop())}},U.stop()})},It=R=>{let U=0;for(let Y=0;Y<=R&&Y<ze.length;Y++)!ze[Y].isUser&&!ze[Y].rpcData&&(U+=1);return U||1},ot=(R,U)=>{var Y;if(U==="down")We(R),C(!0);else{const je=((Y=ze[R])==null?void 0:Y.feedback)===U?null:U;if(et(R,je),je==="up"&&q){const Te=It(R);(async()=>{try{await fs({conversation_id:q,feedback_type:"positive",message_number:Te,tenant:ee}),bt({title:"Vielen Dank!",description:"Ihre positive Bewertung hilft uns weiter."})}catch(Ue){console.error("Failed to submit positive feedback:",Ue),bt({title:"Fehler",description:"Ihre Bewertung konnte nicht gesendet werden.",variant:"destructive"})}})()}else je==="up"&&bt({title:"Vielen Dank!",description:"Ihre positive Bewertung hilft uns weiter."})}},Jn=(R,U)=>{var je;if(Ie===null)return;et(Ie,"down");const re=((je=(Yr[z]||Yr.de).find(Te=>Te.id===R))==null?void 0:je.label)||R;if(q){const Te=It(Ie);(async()=>{try{await fs({conversation_id:q,feedback_type:"negative",message_number:Te,tenant:ee,problem:re,problem_description:U||void 0})}catch(Ue){console.error("Failed to submit negative feedback:",Ue),bt({title:"Fehler",description:"Ihr Feedback konnte nicht gesendet werden.",variant:"destructive"})}})()}C(!1),We(null)};if(M.useImperativeHandle(i,()=>({sendQuickMessage:R=>{d(R),setTimeout(()=>{He()},100)}})),!e)return null;const Hn=Number.isFinite(r)?Math.max(0,Math.min(Math.round(r),2147483645)):1e5,Di=Hn+2,jr="bg-[hsl(var(--chat-bg))] backdrop-blur-[60px] rounded-[24px] border border-border flex flex-col overflow-hidden animate-chat-slide-up transform-gpu transition-all duration-300",Tr=`${ge==="light"?"light":""} ${X?"high-contrast":""}`,Af=`fixed ${k?"inset-4":"bottom-[30px] right-[30px] w-[420px] max-h-[calc(100dvh-60px)] overflow-y-auto"} ${jr} shadow-[0_30px_80px_rgba(0,0,0,0.5),inset_0_1px_2px_rgba(255,255,255,0.08),0_0_80px_hsl(var(--glow-primary))] max-md:w-[calc(100vw-20px)] max-md:right-[10px] max-md:bottom-[20px] ${k?"max-md:inset-0 max-md:rounded-none":""} ${Tr}`,Ef=`fixed ${k?"inset-4 max-md:inset-0 max-md:rounded-none":"bottom-[30px] right-[30px] w-[420px] h-[650px] max-h-[calc(100dvh-60px)] max-md:w-[calc(100vw-20px)] max-md:h-[calc(100dvh-100px)] max-md:right-[10px] max-md:bottom-[20px]"} ${jr} shadow-[0_30px_80px_rgba(0,0,0,0.3)] ${Tr}`,Pf=`relative w-full max-w-[960px] ${k?"h-[90vh] max-h-[820px]":"h-[80vh] max-h-[720px]"} max-md:max-w-none max-md:h-full max-md:rounded-none ${jr} shadow-[0_30px_80px_rgba(0,0,0,0.35)] ${Tr}`,jf=`relative w-full h-full ${jr} shadow-[0_30px_80px_rgba(0,0,0,0.25)] ${Tr}`,Ta=(R,{isPrivacy:U})=>l==="centered"?f.jsxs("div",{className:"fixed inset-0 flex items-center justify-center px-4 max-md:px-0",style:{zIndex:Hn},children:[f.jsx("div",{className:"absolute inset-0 bg-black/40 backdrop-blur-[2px]","aria-hidden":"true",onClick:t}),f.jsx("div",{className:"relative z-10 w-full max-w-[960px] max-md:max-w-none max-md:h-full max-md:flex max-md:items-stretch",children:f.jsx("div",{ref:Pe,role:"dialog","aria-modal":"true","aria-labelledby":U?"privacy-dialog-title":"chat-title","aria-describedby":U?"privacy-dialog-description":"chat-description",lang:z,className:Pf,children:R})})]}):l==="embedded"?f.jsx("div",{ref:Pe,role:"dialog","aria-modal":"true","aria-labelledby":U?"privacy-dialog-title":"chat-title","aria-describedby":U?"privacy-dialog-description":"chat-description",lang:z,className:jf,children:R}):f.jsx("div",{ref:Pe,role:"dialog","aria-modal":"true","aria-labelledby":U?"privacy-dialog-title":"chat-title","aria-describedby":U?"privacy-dialog-description":"chat-description",lang:z,className:U?Af:Ef,style:{zIndex:Hn},children:R});return x?Ta(f.jsxs(f.Fragment,{children:[f.jsx("div",{className:"absolute inset-0 rounded-[24px] p-[1px] opacity-60 pointer-events-none",style:{background:`linear-gradient(135deg,
|
|
296
296
|
hsl(var(--primary) / 0.4),
|
|
297
297
|
hsl(var(--secondary) / 0.4),
|
|
298
298
|
hsl(var(--accent) / 0.4))`,WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor",maskComposite:"exclude"}}),f.jsx(Th,{theme:ge,selectedLanguage:z,languages:a,onlineLabel:(ae==null?void 0:ae.online)||(ke==null?void 0:ke.online)||"",isLangMenuOpen:L,setIsLangMenuOpen:N,repositionLangMenu:zn,langMenuPortalTarget:ve,langMenuPos:_,langMenuContentRef:Ce,langButtonRef:se,handleLangMenuKeyDown:Mi,onSelectLanguage:T,showSettings:F,onToggleSettings:()=>O(!F),isExpanded:k,onToggleExpand:()=>j(!k),showExpandToggle:l==="floating",langMenuPositioning:u?"absolute":"fixed",langMenuZIndex:Di,showCloseButton:!u,onClose:t,logoSrc:n.branding.logoUrl||Oe.branding.logoUrl,assistantName:n.branding.assistantName,assistantTagline:n.branding.tagline,presence:Ti}),fn&&ze.some(R=>R.isUser)&&f.jsx(SA,{labels:ce,disabled:Me||p||b||Z.status==="requesting"||ze.some(R=>R.delivery==="pending"),active:Z.status==="queued"||Z.status==="active",onStarted:()=>{var R;return(R=Le.current)==null?void 0:R.focus()},onConfirm:async()=>{const R=await qt();return R&&(d(""),C(!1),We(null)),R}}),f.jsx(wA,{messages:ze,quickActions:Ii,theme:ge,isMobile:I,inputRef:Le,setInput:d,selectedLanguage:z,toolStatus:D,isTyping:Me,lastBotMessageRef:be,messagesEndRef:Ne,scrollContainerRef:we,onScroll:ye,showScrollButton:G,onScrollToBottom:rt,handleFeedback:ot,botAvatarSrc:n.branding.logoUrl||Oe.branding.logoUrl,botAvatarAlt:n.branding.assistantName,scrollLabel:Ar,ttsModelId:(Fa=n.tts)==null?void 0:Fa.modelId,ttsVoiceId:(Ba=n.tts)==null?void 0:Ba.voiceId,ttsVoiceSettings:(Wa=n.tts)==null?void 0:Wa.voiceSettings,onStructuredAction:R=>void Je(R),handoverLabels:fn?ce:void 0,quickActionsPauseOnHover:n.quickRepliesPauseOnHover===!0}),f.jsx(Eh,{open:F,onClose:()=>O(!1),translation:dn,theme:ge,setTheme:Qe,fontSize:B,onFontSizeChange:K,highContrast:X,onHighContrastChange:Q,onRevokePrivacy:W,links:Sn,poweredBy:n.branding.poweredBy}),(qa=n.humanHandover)!=null&&qa.enabled?f.jsx(kA,{status:Z.status,showRequestButton:n.humanHandover.showRequestButton,operator:Z.operator,labels:ce,disabled:!q&&!de||Me,onRequest:()=>void pt(),onContinueWithAssistant:dt,onCancel:ct}):null,f.jsx(jh,{input:c,onInputChange:d,onSend:He,onKeyDown:Ge,inputRef:Le,isRecording:p,isTranscribing:b,isTyping:Me,startRecording:ht,stopRecording:Vt,recordingTime:h,placeholder:zr,transcribingLabel:Er,disclaimer:Ni,poweredByText:xt==null?void 0:xt.text,poweredByUrl:(xt==null?void 0:xt.url)||Sn.poweredByUrl}),f.jsx(Up,{isOpen:Ee,onClose:()=>{C(!1),We(null)},onSubmit:Jn,language:z})]}),{isPrivacy:!1}):Ta(f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:"relative bg-primary p-5 flex justify-between items-center rounded-t-[24px]",children:[f.jsxs("div",{className:"flex items-center gap-3",children:[f.jsx("div",{className:"w-[42px] h-[42px] bg-[hsl(var(--chat-avatar-bot))] rounded-full flex items-center justify-center border border-primary-foreground/30",role:"img","aria-label":`${n.branding.assistantName} Logo`,children:f.jsx("img",{src:n.branding.logoUrl||Oe.branding.logoUrl,alt:n.branding.assistantName,className:"w-7 h-7 object-contain drop-shadow-[0_2px_4px_rgba(0,0,0,0.2)]"})}),f.jsx("div",{id:"privacy-dialog-title",className:"text-primary-foreground text-lg font-bold",children:n.branding.assistantName})]}),!u&&f.jsx("button",{onClick:t,"aria-label":"Dialog schließen",className:"w-[38px] h-[38px] bg-primary-foreground/15 backdrop-blur-[10px] border border-primary-foreground/20 rounded-full flex items-center justify-center transition-all duration-300 hover:bg-primary-foreground/25 focus:outline-none focus:ring-2 focus:ring-primary-foreground focus:ring-offset-2 focus:ring-offset-primary",children:f.jsx(on,{className:"w-5 h-5 text-primary-foreground","aria-hidden":"true"})})]}),f.jsxs("div",{className:"p-6 space-y-4 bg-[hsl(var(--chat-bg))]",children:[f.jsx("h3",{id:"privacy-dialog-description",className:"text-lg font-bold text-foreground",children:"Datenschutzhinweis"}),f.jsx("p",{className:"text-sm text-foreground/80 leading-relaxed",children:"Mit der Nutzung des KI-Assistenten stimmen Sie der Verarbeitung Ihrer Eingaben gemäß unserer Datenschutzerklärung zu. Ihre Daten werden verschlüsselt übertragen und nur zur Beantwortung Ihrer Anfragen verwendet."}),f.jsx("a",{href:Sn.privacyUrl||"#",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-primary hover:text-primary/80 underline block",children:"Datenschutzerklärung lesen →"}),f.jsx(st,{onClick:A,className:"w-full bg-primary hover:bg-primary/90 text-primary-foreground font-semibold",children:"Akzeptieren und fortfahren"})]})]}),{isPrivacy:!0})});ga.displayName="ChatInterface";function PA(e,t=globalThis==null?void 0:globalThis.document){const n=Zt(e);v.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var jA="DismissableLayer",Mo="dismissableLayer.update",TA="dismissableLayer.pointerDownOutside",NA="dismissableLayer.focusOutside",jl,md=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ba=v.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:s,...l}=e,u=v.useContext(md),[c,d]=v.useState(null),p=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=v.useState({}),h=it(t,T=>d(T)),g=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(b),w=c?g.indexOf(c):-1,S=u.layersWithOutsidePointerEventsDisabled.size>0,E=w>=y,P=IA(T=>{const L=T.target,N=[...u.branches].some(k=>k.contains(L));!E||N||(i==null||i(T),o==null||o(T),T.defaultPrevented||s==null||s())},p),z=DA(T=>{const L=T.target;[...u.branches].some(k=>k.contains(L))||(a==null||a(T),o==null||o(T),T.defaultPrevented||s==null||s())},p);return PA(T=>{w===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&s&&(T.preventDefault(),s()))},p),v.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(jl=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Tl(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=jl)}},[c,p,n,u]),v.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Tl())},[c,u]),v.useEffect(()=>{const T=()=>m({});return document.addEventListener(Mo,T),()=>document.removeEventListener(Mo,T)},[]),f.jsx(Ke.div,{...l,ref:h,style:{pointerEvents:S?E?"auto":"none":void 0,...e.style},onFocusCapture:Re(e.onFocusCapture,z.onFocusCapture),onBlurCapture:Re(e.onBlurCapture,z.onBlurCapture),onPointerDownCapture:Re(e.onPointerDownCapture,P.onPointerDownCapture)})});ba.displayName=jA;var MA="DismissableLayerBranch",pd=v.forwardRef((e,t)=>{const n=v.useContext(md),r=v.useRef(null),i=it(t,r);return v.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),f.jsx(Ke.div,{...e,ref:i})});pd.displayName=MA;function IA(e,t=globalThis==null?void 0:globalThis.document){const n=Zt(e),r=v.useRef(!1),i=v.useRef(()=>{});return v.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let l=function(){hd(TA,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",a),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function DA(e,t=globalThis==null?void 0:globalThis.document){const n=Zt(e),r=v.useRef(!1);return v.useEffect(()=>{const i=a=>{a.target&&!r.current&&hd(NA,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Tl(){const e=new CustomEvent(Mo);document.dispatchEvent(e)}function hd(e,t,n,{discrete:r}){const i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?vu(i,a):i.dispatchEvent(a)}var RA=ba,LA=pd;const OA=["top","right","bottom","left"],an=Math.min,kt=Math.max,ii=Math.round,Fr=Math.floor,Ot=e=>({x:e,y:e}),FA={left:"right",right:"left",bottom:"top",top:"bottom"},BA={start:"end",end:"start"};function Io(e,t,n){return kt(e,an(t,n))}function Gt(e,t){return typeof e=="function"?e(t):e}function Kt(e){return e.split("-")[0]}function Wn(e){return e.split("-")[1]}function ya(e){return e==="x"?"y":"x"}function va(e){return e==="y"?"height":"width"}const WA=new Set(["top","bottom"]);function Lt(e){return WA.has(Kt(e))?"y":"x"}function xa(e){return ya(Lt(e))}function qA(e,t,n){n===void 0&&(n=!1);const r=Wn(e),i=xa(e),a=va(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=oi(o)),[o,oi(o)]}function VA(e){const t=oi(e);return[Do(e),t,Do(t)]}function Do(e){return e.replace(/start|end/g,t=>BA[t])}const Nl=["left","right"],Ml=["right","left"],JA=["top","bottom"],HA=["bottom","top"];function UA(e,t,n){switch(e){case"top":case"bottom":return n?t?Ml:Nl:t?Nl:Ml;case"left":case"right":return t?JA:HA;default:return[]}}function XA(e,t,n,r){const i=Wn(e);let a=UA(Kt(e),n==="start",r);return i&&(a=a.map(o=>o+"-"+i),t&&(a=a.concat(a.map(Do)))),a}function oi(e){return e.replace(/left|right|bottom|top/g,t=>FA[t])}function ZA(e){return{top:0,right:0,bottom:0,left:0,...e}}function gd(e){return typeof e!="number"?ZA(e):{top:e,right:e,bottom:e,left:e}}function ai(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Il(e,t,n){let{reference:r,floating:i}=e;const a=Lt(t),o=xa(t),s=va(o),l=Kt(t),u=a==="y",c=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,p=r[s]/2-i[s]/2;let m;switch(l){case"top":m={x:c,y:r.y-i.height};break;case"bottom":m={x:c,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:d};break;case"left":m={x:r.x-i.width,y:d};break;default:m={x:r.x,y:r.y}}switch(Wn(t)){case"start":m[o]-=p*(n&&u?-1:1);break;case"end":m[o]+=p*(n&&u?-1:1);break}return m}const GA=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,s=a.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=Il(u,r,l),p=r,m={},h=0;for(let g=0;g<s.length;g++){const{name:b,fn:y}=s[g],{x:w,y:S,data:E,reset:P}=await y({x:c,y:d,initialPlacement:r,placement:p,strategy:i,middlewareData:m,rects:u,platform:o,elements:{reference:e,floating:t}});c=w??c,d=S??d,m={...m,[b]:{...m[b],...E}},P&&h<=50&&(h++,typeof P=="object"&&(P.placement&&(p=P.placement),P.rects&&(u=P.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):P.rects),{x:c,y:d}=Il(u,p,l)),g=-1)}return{x:c,y:d,placement:p,strategy:i,middlewareData:m}};async function fr(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:a,rects:o,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:m=0}=Gt(t,e),h=gd(m),b=s[p?d==="floating"?"reference":"floating":d],y=ai(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(b)))==null||n?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),w=d==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),E=await(a.isElement==null?void 0:a.isElement(S))?await(a.getScale==null?void 0:a.getScale(S))||{x:1,y:1}:{x:1,y:1},P=ai(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:S,strategy:l}):w);return{top:(y.top-P.top+h.top)/E.y,bottom:(P.bottom-y.bottom+h.bottom)/E.y,left:(y.left-P.left+h.left)/E.x,right:(P.right-y.right+h.right)/E.x}}const KA=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=Gt(e,t)||{};if(u==null)return{};const d=gd(c),p={x:n,y:r},m=xa(i),h=va(m),g=await o.getDimensions(u),b=m==="y",y=b?"top":"left",w=b?"bottom":"right",S=b?"clientHeight":"clientWidth",E=a.reference[h]+a.reference[m]-p[m]-a.floating[h],P=p[m]-a.reference[m],z=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let T=z?z[S]:0;(!T||!await(o.isElement==null?void 0:o.isElement(z)))&&(T=s.floating[S]||a.floating[h]);const L=E/2-P/2,N=T/2-g[h]/2-1,k=an(d[y],N),j=an(d[w],N),I=k,V=T-g[h]-j,F=T/2-g[h]/2+L,O=Io(I,F,V),B=!l.arrow&&Wn(i)!=null&&F!==O&&a.reference[h]/2-(F<I?k:j)-g[h]/2<0,K=B?F<I?F-I:F-V:0;return{[m]:p[m]+K,data:{[m]:O,centerOffset:F-O-K,...B&&{alignmentOffset:K}},reset:B}}}),QA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:a,rects:o,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...b}=Gt(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const y=Kt(i),w=Lt(s),S=Kt(s)===s,E=await(l.isRTL==null?void 0:l.isRTL(u.floating)),P=p||(S||!g?[oi(s)]:VA(s)),z=h!=="none";!p&&z&&P.push(...XA(s,g,h,E));const T=[s,...P],L=await fr(t,b),N=[];let k=((r=a.flip)==null?void 0:r.overflows)||[];if(c&&N.push(L[y]),d){const F=qA(i,o,E);N.push(L[F[0]],L[F[1]])}if(k=[...k,{placement:i,overflows:N}],!N.every(F=>F<=0)){var j,I;const F=(((j=a.flip)==null?void 0:j.index)||0)+1,O=T[F];if(O&&(!(d==="alignment"?w!==Lt(O):!1)||k.every(X=>Lt(X.placement)===w?X.overflows[0]>0:!0)))return{data:{index:F,overflows:k},reset:{placement:O}};let B=(I=k.filter(K=>K.overflows[0]<=0).sort((K,X)=>K.overflows[1]-X.overflows[1])[0])==null?void 0:I.placement;if(!B)switch(m){case"bestFit":{var V;const K=(V=k.filter(X=>{if(z){const Q=Lt(X.placement);return Q===w||Q==="y"}return!0}).map(X=>[X.placement,X.overflows.filter(Q=>Q>0).reduce((Q,x)=>Q+x,0)]).sort((X,Q)=>X[1]-Q[1])[0])==null?void 0:V[0];K&&(B=K);break}case"initialPlacement":B=s;break}if(i!==B)return{reset:{placement:B}}}return{}}}};function Dl(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Rl(e){return OA.some(t=>e[t]>=0)}const YA=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Gt(e,t);switch(r){case"referenceHidden":{const a=await fr(t,{...i,elementContext:"reference"}),o=Dl(a,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Rl(o)}}}case"escaped":{const a=await fr(t,{...i,altBoundary:!0}),o=Dl(a,n.floating);return{data:{escapedOffsets:o,escaped:Rl(o)}}}default:return{}}}}},bd=new Set(["left","top"]);async function _A(e,t){const{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Kt(n),s=Wn(n),l=Lt(n)==="y",u=bd.has(o)?-1:1,c=a&&l?-1:1,d=Gt(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof h=="number"&&(m=s==="end"?h*-1:h),l?{x:m*c,y:p*u}:{x:p*u,y:m*c}}const $A=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:a,placement:o,middlewareData:s}=t,l=await _A(t,e);return o===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:o}}}}},e2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:b=>{let{x:y,y:w}=b;return{x:y,y:w}}},...l}=Gt(e,t),u={x:n,y:r},c=await fr(t,l),d=Lt(Kt(i)),p=ya(d);let m=u[p],h=u[d];if(a){const b=p==="y"?"top":"left",y=p==="y"?"bottom":"right",w=m+c[b],S=m-c[y];m=Io(w,m,S)}if(o){const b=d==="y"?"top":"left",y=d==="y"?"bottom":"right",w=h+c[b],S=h-c[y];h=Io(w,h,S)}const g=s.fn({...t,[p]:m,[d]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:a,[d]:o}}}}}},t2=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=Gt(e,t),c={x:n,y:r},d=Lt(i),p=ya(d);let m=c[p],h=c[d];const g=Gt(s,t),b=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const S=p==="y"?"height":"width",E=a.reference[p]-a.floating[S]+b.mainAxis,P=a.reference[p]+a.reference[S]-b.mainAxis;m<E?m=E:m>P&&(m=P)}if(u){var y,w;const S=p==="y"?"width":"height",E=bd.has(Kt(i)),P=a.reference[d]-a.floating[S]+(E&&((y=o.offset)==null?void 0:y[d])||0)+(E?0:b.crossAxis),z=a.reference[d]+a.reference[S]+(E?0:((w=o.offset)==null?void 0:w[d])||0)-(E?b.crossAxis:0);h<P?h=P:h>z&&(h=z)}return{[p]:m,[d]:h}}}},n2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:a,platform:o,elements:s}=t,{apply:l=()=>{},...u}=Gt(e,t),c=await fr(t,u),d=Kt(i),p=Wn(i),m=Lt(i)==="y",{width:h,height:g}=a.floating;let b,y;d==="top"||d==="bottom"?(b=d,y=p===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(y=d,b=p==="end"?"top":"bottom");const w=g-c.top-c.bottom,S=h-c.left-c.right,E=an(g-c[b],w),P=an(h-c[y],S),z=!t.middlewareData.shift;let T=E,L=P;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(L=S),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=w),z&&!p){const k=kt(c.left,0),j=kt(c.right,0),I=kt(c.top,0),V=kt(c.bottom,0);m?L=h-2*(k!==0||j!==0?k+j:kt(c.left,c.right)):T=g-2*(I!==0||V!==0?I+V:kt(c.top,c.bottom))}await l({...t,availableWidth:L,availableHeight:T});const N=await o.getDimensions(s.floating);return h!==N.width||g!==N.height?{reset:{rects:!0}}:{}}}};function wi(){return typeof window<"u"}function qn(e){return yd(e)?(e.nodeName||"").toLowerCase():"#document"}function Ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Wt(e){var t;return(t=(yd(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function yd(e){return wi()?e instanceof Node||e instanceof Ct(e).Node:!1}function Tt(e){return wi()?e instanceof Element||e instanceof Ct(e).Element:!1}function Ft(e){return wi()?e instanceof HTMLElement||e instanceof Ct(e).HTMLElement:!1}function Ll(e){return!wi()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ct(e).ShadowRoot}const r2=new Set(["inline","contents"]);function wr(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Nt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!r2.has(i)}const i2=new Set(["table","td","th"]);function o2(e){return i2.has(qn(e))}const a2=[":popover-open",":modal"];function ki(e){return a2.some(t=>{try{return e.matches(t)}catch{return!1}})}const s2=["transform","translate","scale","rotate","perspective"],l2=["transform","translate","scale","rotate","perspective","filter"],u2=["paint","layout","strict","content"];function wa(e){const t=ka(),n=Tt(e)?Nt(e):e;return s2.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||l2.some(r=>(n.willChange||"").includes(r))||u2.some(r=>(n.contain||"").includes(r))}function c2(e){let t=sn(e);for(;Ft(t)&&!Rn(t);){if(wa(t))return t;if(ki(t))return null;t=sn(t)}return null}function ka(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const d2=new Set(["html","body","#document"]);function Rn(e){return d2.has(qn(e))}function Nt(e){return Ct(e).getComputedStyle(e)}function Si(e){return Tt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function sn(e){if(qn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ll(e)&&e.host||Wt(e);return Ll(t)?t.host:t}function vd(e){const t=sn(e);return Rn(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ft(t)&&wr(t)?t:vd(t)}function mr(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=vd(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=Ct(i);if(a){const s=Ro(o);return t.concat(o,o.visualViewport||[],wr(i)?i:[],s&&n?mr(s):[])}return t.concat(i,mr(i,[],n))}function Ro(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function xd(e){const t=Nt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Ft(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=ii(n)!==a||ii(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Sa(e){return Tt(e)?e:e.contextElement}function Mn(e){const t=Sa(e);if(!Ft(t))return Ot(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=xd(t);let o=(a?ii(n.width):n.width)/r,s=(a?ii(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const f2=Ot(0);function wd(e){const t=Ct(e);return!ka()||!t.visualViewport?f2:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function m2(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ct(e)?!1:t}function xn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Sa(e);let o=Ot(1);t&&(r?Tt(r)&&(o=Mn(r)):o=Mn(e));const s=m2(a,n,r)?wd(a):Ot(0);let l=(i.left+s.x)/o.x,u=(i.top+s.y)/o.y,c=i.width/o.x,d=i.height/o.y;if(a){const p=Ct(a),m=r&&Tt(r)?Ct(r):r;let h=p,g=Ro(h);for(;g&&r&&m!==h;){const b=Mn(g),y=g.getBoundingClientRect(),w=Nt(g),S=y.left+(g.clientLeft+parseFloat(w.paddingLeft))*b.x,E=y.top+(g.clientTop+parseFloat(w.paddingTop))*b.y;l*=b.x,u*=b.y,c*=b.x,d*=b.y,l+=S,u+=E,h=Ct(g),g=Ro(h)}}return ai({width:c,height:d,x:l,y:u})}function Ci(e,t){const n=Si(e).scrollLeft;return t?t.left+n:xn(Wt(e)).left+n}function kd(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Ci(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function p2(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const a=i==="fixed",o=Wt(r),s=t?ki(t.floating):!1;if(r===o||s&&a)return n;let l={scrollLeft:0,scrollTop:0},u=Ot(1);const c=Ot(0),d=Ft(r);if((d||!d&&!a)&&((qn(r)!=="body"||wr(o))&&(l=Si(r)),Ft(r))){const m=xn(r);u=Mn(r),c.x=m.x+r.clientLeft,c.y=m.y+r.clientTop}const p=o&&!d&&!a?kd(o,l):Ot(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-l.scrollTop*u.y+c.y+p.y}}function h2(e){return Array.from(e.getClientRects())}function g2(e){const t=Wt(e),n=Si(e),r=e.ownerDocument.body,i=kt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=kt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Ci(e);const s=-n.scrollTop;return Nt(r).direction==="rtl"&&(o+=kt(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}const Ol=25;function b2(e,t){const n=Ct(e),r=Wt(e),i=n.visualViewport;let a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;const c=ka();(!c||c&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}const u=Ci(r);if(u<=0){const c=r.ownerDocument,d=c.body,p=getComputedStyle(d),m=c.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,h=Math.abs(r.clientWidth-d.clientWidth-m);h<=Ol&&(a-=h)}else u<=Ol&&(a+=u);return{width:a,height:o,x:s,y:l}}const y2=new Set(["absolute","fixed"]);function v2(e,t){const n=xn(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Ft(e)?Mn(e):Ot(1),o=e.clientWidth*a.x,s=e.clientHeight*a.y,l=i*a.x,u=r*a.y;return{width:o,height:s,x:l,y:u}}function Fl(e,t,n){let r;if(t==="viewport")r=b2(e,n);else if(t==="document")r=g2(Wt(e));else if(Tt(t))r=v2(t,n);else{const i=wd(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return ai(r)}function Sd(e,t){const n=sn(e);return n===t||!Tt(n)||Rn(n)?!1:Nt(n).position==="fixed"||Sd(n,t)}function x2(e,t){const n=t.get(e);if(n)return n;let r=mr(e,[],!1).filter(s=>Tt(s)&&qn(s)!=="body"),i=null;const a=Nt(e).position==="fixed";let o=a?sn(e):e;for(;Tt(o)&&!Rn(o);){const s=Nt(o),l=wa(o);!l&&s.position==="fixed"&&(i=null),(a?!l&&!i:!l&&s.position==="static"&&!!i&&y2.has(i.position)||wr(o)&&!l&&Sd(e,o))?r=r.filter(c=>c!==o):i=s,o=sn(o)}return t.set(e,r),r}function w2(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?ki(t)?[]:x2(t,this._c):[].concat(n),r],s=o[0],l=o.reduce((u,c)=>{const d=Fl(t,c,i);return u.top=kt(d.top,u.top),u.right=an(d.right,u.right),u.bottom=an(d.bottom,u.bottom),u.left=kt(d.left,u.left),u},Fl(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function k2(e){const{width:t,height:n}=xd(e);return{width:t,height:n}}function S2(e,t,n){const r=Ft(t),i=Wt(t),a=n==="fixed",o=xn(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=Ot(0);function u(){l.x=Ci(i)}if(r||!r&&!a)if((qn(t)!=="body"||wr(i))&&(s=Si(t)),r){const m=xn(t,!0,a,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else i&&u();a&&!r&&i&&u();const c=i&&!r&&!a?kd(i,s):Ot(0),d=o.left+s.scrollLeft-l.x-c.x,p=o.top+s.scrollTop-l.y-c.y;return{x:d,y:p,width:o.width,height:o.height}}function lo(e){return Nt(e).position==="static"}function Bl(e,t){if(!Ft(e)||Nt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Wt(e)===n&&(n=n.ownerDocument.body),n}function Cd(e,t){const n=Ct(e);if(ki(e))return n;if(!Ft(e)){let i=sn(e);for(;i&&!Rn(i);){if(Tt(i)&&!lo(i))return i;i=sn(i)}return n}let r=Bl(e,t);for(;r&&o2(r)&&lo(r);)r=Bl(r,t);return r&&Rn(r)&&lo(r)&&!wa(r)?n:r||c2(e)||n}const C2=async function(e){const t=this.getOffsetParent||Cd,n=this.getDimensions,r=await n(e.floating);return{reference:S2(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function z2(e){return Nt(e).direction==="rtl"}const A2={convertOffsetParentRelativeRectToViewportRelativeRect:p2,getDocumentElement:Wt,getClippingRect:w2,getOffsetParent:Cd,getElementRects:C2,getClientRects:h2,getDimensions:k2,getScale:Mn,isElement:Tt,isRTL:z2};function zd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function E2(e,t){let n=null,r;const i=Wt(e);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function o(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const u=e.getBoundingClientRect(),{left:c,top:d,width:p,height:m}=u;if(s||t(),!p||!m)return;const h=Fr(d),g=Fr(i.clientWidth-(c+p)),b=Fr(i.clientHeight-(d+m)),y=Fr(c),S={rootMargin:-h+"px "+-g+"px "+-b+"px "+-y+"px",threshold:kt(0,an(1,l))||1};let E=!0;function P(z){const T=z[0].intersectionRatio;if(T!==l){if(!E)return o();T?o(!1,T):r=setTimeout(()=>{o(!1,1e-7)},1e3)}T===1&&!zd(u,e.getBoundingClientRect())&&o(),E=!1}try{n=new IntersectionObserver(P,{...S,root:i.ownerDocument})}catch{n=new IntersectionObserver(P,S)}n.observe(e)}return o(!0),a}function P2(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Sa(e),c=i||a?[...u?mr(u):[],...mr(t)]:[];c.forEach(y=>{i&&y.addEventListener("scroll",n,{passive:!0}),a&&y.addEventListener("resize",n)});const d=u&&s?E2(u,n):null;let p=-1,m=null;o&&(m=new ResizeObserver(y=>{let[w]=y;w&&w.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var S;(S=m)==null||S.observe(t)})),n()}),u&&!l&&m.observe(u),m.observe(t));let h,g=l?xn(e):null;l&&b();function b(){const y=xn(e);g&&!zd(g,y)&&n(),g=y,h=requestAnimationFrame(b)}return n(),()=>{var y;c.forEach(w=>{i&&w.removeEventListener("scroll",n),a&&w.removeEventListener("resize",n)}),d==null||d(),(y=m)==null||y.disconnect(),m=null,l&&cancelAnimationFrame(h)}}const j2=$A,T2=e2,N2=QA,M2=n2,I2=YA,Wl=KA,D2=t2,R2=(e,t,n)=>{const r=new Map,i={platform:A2,...n},a={...i.platform,_c:r};return GA(e,t,{...i,platform:a})};var L2=typeof document<"u",O2=function(){},Zr=L2?M.useLayoutEffect:O2;function si(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!si(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const a=i[r];if(!(a==="_owner"&&e.$$typeof)&&!si(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Ad(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ql(e,t){const n=Ad(e);return Math.round(t*n)/n}function uo(e){const t=v.useRef(e);return Zr(()=>{t.current=e}),t}function F2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,d]=v.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=v.useState(r);si(p,r)||m(r);const[h,g]=v.useState(null),[b,y]=v.useState(null),w=v.useCallback(X=>{X!==z.current&&(z.current=X,g(X))},[]),S=v.useCallback(X=>{X!==T.current&&(T.current=X,y(X))},[]),E=a||h,P=o||b,z=v.useRef(null),T=v.useRef(null),L=v.useRef(c),N=l!=null,k=uo(l),j=uo(i),I=uo(u),V=v.useCallback(()=>{if(!z.current||!T.current)return;const X={placement:t,strategy:n,middleware:p};j.current&&(X.platform=j.current),R2(z.current,T.current,X).then(Q=>{const x={...Q,isPositioned:I.current!==!1};F.current&&!si(L.current,x)&&(L.current=x,Vo.flushSync(()=>{d(x)}))})},[p,t,n,j,I]);Zr(()=>{u===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,d(X=>({...X,isPositioned:!1})))},[u]);const F=v.useRef(!1);Zr(()=>(F.current=!0,()=>{F.current=!1}),[]),Zr(()=>{if(E&&(z.current=E),P&&(T.current=P),E&&P){if(k.current)return k.current(E,P,V);V()}},[E,P,V,k,N]);const O=v.useMemo(()=>({reference:z,floating:T,setReference:w,setFloating:S}),[w,S]),B=v.useMemo(()=>({reference:E,floating:P}),[E,P]),K=v.useMemo(()=>{const X={position:n,left:0,top:0};if(!B.floating)return X;const Q=ql(B.floating,c.x),x=ql(B.floating,c.y);return s?{...X,transform:"translate("+Q+"px, "+x+"px)",...Ad(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Q,top:x}},[n,s,B.floating,c.x,c.y]);return v.useMemo(()=>({...c,update:V,refs:O,elements:B,floatingStyles:K}),[c,V,O,B,K])}const B2=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Wl({element:r.current,padding:i}).fn(n):{}:r?Wl({element:r,padding:i}).fn(n):{}}}},W2=(e,t)=>({...j2(e),options:[e,t]}),q2=(e,t)=>({...T2(e),options:[e,t]}),V2=(e,t)=>({...D2(e),options:[e,t]}),J2=(e,t)=>({...N2(e),options:[e,t]}),H2=(e,t)=>({...M2(e),options:[e,t]}),U2=(e,t)=>({...I2(e),options:[e,t]}),X2=(e,t)=>({...B2(e),options:[e,t]});var Z2="Arrow",Ed=v.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...a}=e;return f.jsx(Ke.svg,{...a,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:f.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ed.displayName=Z2;var G2=Ed,Ca="Popper",[Pd,jd]=ln(Ca),[K2,Td]=Pd(Ca),Nd=e=>{const{__scopePopper:t,children:n}=e,[r,i]=v.useState(null);return f.jsx(K2,{scope:t,anchor:r,onAnchorChange:i,children:n})};Nd.displayName=Ca;var Md="PopperAnchor",Id=v.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,a=Td(Md,n),o=v.useRef(null),s=it(t,o),l=v.useRef(null);return v.useEffect(()=>{const u=l.current;l.current=(r==null?void 0:r.current)||o.current,u!==l.current&&a.onAnchorChange(l.current)}),r?null:f.jsx(Ke.div,{...i,ref:s})});Id.displayName=Md;var za="PopperContent",[Q2,Y2]=Pd(za),Dd=v.forwardRef((e,t)=>{var Le,Pe,se,Ce,_,H;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:a="center",alignOffset:o=0,arrowPadding:s=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:p=!1,updatePositionStrategy:m="optimized",onPlaced:h,...g}=e,b=Td(za,n),[y,w]=v.useState(null),S=it(t,$=>w($)),[E,P]=v.useState(null),z=Xo(E),T=(z==null?void 0:z.width)??0,L=(z==null?void 0:z.height)??0,N=r+(a!=="center"?"-"+a:""),k=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},j=Array.isArray(u)?u:[u],I=j.length>0,V={padding:k,boundary:j.filter($2),altBoundary:I},{refs:F,floatingStyles:O,placement:B,isPositioned:K,middlewareData:X}=F2({strategy:"fixed",placement:N,whileElementsMounted:(...$)=>P2(...$,{animationFrame:m==="always"}),elements:{reference:b.anchor},middleware:[W2({mainAxis:i+L,alignmentAxis:o}),l&&q2({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?V2():void 0,...V}),l&&J2({...V}),H2({...V,apply:({elements:$,rects:ve,availableWidth:Ve,availableHeight:ge})=>{const{width:Qe,height:ke}=ve.reference,ae=$.floating.style;ae.setProperty("--radix-popper-available-width",`${Ve}px`),ae.setProperty("--radix-popper-available-height",`${ge}px`),ae.setProperty("--radix-popper-anchor-width",`${Qe}px`),ae.setProperty("--radix-popper-anchor-height",`${ke}px`)}}),E&&X2({element:E,padding:s}),eE({arrowWidth:T,arrowHeight:L}),p&&U2({strategy:"referenceHidden",...V})]}),[Q,x]=Od(B),oe=Zt(h);Xt(()=>{K&&(oe==null||oe())},[K,oe]);const Ee=(Le=X.arrow)==null?void 0:Le.x,C=(Pe=X.arrow)==null?void 0:Pe.y,Ie=((se=X.arrow)==null?void 0:se.centerOffset)!==0,[We,Ne]=v.useState();return Xt(()=>{y&&Ne(window.getComputedStyle(y).zIndex)},[y]),f.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...O,transform:K?O.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:We,"--radix-popper-transform-origin":[(Ce=X.transformOrigin)==null?void 0:Ce.x,(_=X.transformOrigin)==null?void 0:_.y].join(" "),...((H=X.hide)==null?void 0:H.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:f.jsx(Q2,{scope:n,placedSide:Q,onArrowChange:P,arrowX:Ee,arrowY:C,shouldHideArrow:Ie,children:f.jsx(Ke.div,{"data-side":Q,"data-align":x,...g,ref:S,style:{...g.style,animation:K?void 0:"none"}})})})});Dd.displayName=za;var Rd="PopperArrow",_2={top:"bottom",right:"left",bottom:"top",left:"right"},Ld=v.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,a=Y2(Rd,r),o=_2[a.placedSide];return f.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:f.jsx(G2,{...i,ref:n,style:{...i.style,display:"block"}})})});Ld.displayName=Rd;function $2(e){return e!==null}var eE=e=>({name:"transformOrigin",options:e,fn(t){var b,y,w;const{placement:n,rects:r,middlewareData:i}=t,o=((b=i.arrow)==null?void 0:b.centerOffset)!==0,s=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[u,c]=Od(n),d={start:"0%",center:"50%",end:"100%"}[c],p=(((y=i.arrow)==null?void 0:y.x)??0)+s/2,m=(((w=i.arrow)==null?void 0:w.y)??0)+l/2;let h="",g="";return u==="bottom"?(h=o?d:`${p}px`,g=`${-l}px`):u==="top"?(h=o?d:`${p}px`,g=`${r.floating.height+l}px`):u==="right"?(h=`${-l}px`,g=o?d:`${m}px`):u==="left"&&(h=`${r.floating.width+l}px`,g=o?d:`${m}px`),{data:{x:h,y:g}}}});function Od(e){const[t,n="center"]=e.split("-");return[t,n]}var tE=Nd,nE=Id,rE=Dd,iE=Ld,oE="Portal",Fd=v.forwardRef((e,t)=>{var s;const{container:n,...r}=e,[i,a]=v.useState(!1);Xt(()=>a(!0),[]);const o=n||i&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return o?qo.createPortal(f.jsx(Ke.div,{...r,ref:t}),o):null});Fd.displayName=oE;var aE=Symbol("radix.slottable");function sE(e){const t=({children:n})=>f.jsx(f.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=aE,t}var lE=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),uE="VisuallyHidden",zi=v.forwardRef((e,t)=>f.jsx(Ke.span,{...e,ref:t,style:{...lE,...e.style}}));zi.displayName=uE;var cE=zi,[Ai]=ln("Tooltip",[jd]),Ei=jd(),Bd="TooltipProvider",dE=700,Lo="tooltip.open",[fE,Aa]=Ai(Bd),Wd=e=>{const{__scopeTooltip:t,delayDuration:n=dE,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=e,o=v.useRef(!0),s=v.useRef(!1),l=v.useRef(0);return v.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),f.jsx(fE,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:v.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:v.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:v.useCallback(u=>{s.current=u},[]),disableHoverableContent:i,children:a})};Wd.displayName=Bd;var pr="Tooltip",[mE,Pi]=Ai(pr),qd=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:a,disableHoverableContent:o,delayDuration:s}=e,l=Aa(pr,e.__scopeTooltip),u=Ei(t),[c,d]=v.useState(null),p=wu(),m=v.useRef(0),h=o??l.disableHoverableContent,g=s??l.delayDuration,b=v.useRef(!1),[y,w]=hr({prop:r,defaultProp:i??!1,onChange:T=>{T?(l.onOpen(),document.dispatchEvent(new CustomEvent(Lo))):l.onClose(),a==null||a(T)},caller:pr}),S=v.useMemo(()=>y?b.current?"delayed-open":"instant-open":"closed",[y]),E=v.useCallback(()=>{window.clearTimeout(m.current),m.current=0,b.current=!1,w(!0)},[w]),P=v.useCallback(()=>{window.clearTimeout(m.current),m.current=0,w(!1)},[w]),z=v.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{b.current=!0,w(!0),m.current=0},g)},[g,w]);return v.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),f.jsx(tE,{...u,children:f.jsx(mE,{scope:t,contentId:p,open:y,stateAttribute:S,trigger:c,onTriggerChange:d,onTriggerEnter:v.useCallback(()=>{l.isOpenDelayedRef.current?z():E()},[l.isOpenDelayedRef,z,E]),onTriggerLeave:v.useCallback(()=>{h?P():(window.clearTimeout(m.current),m.current=0)},[P,h]),onOpen:E,onClose:P,disableHoverableContent:h,children:n})})};qd.displayName=pr;var Oo="TooltipTrigger",Vd=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Pi(Oo,n),a=Aa(Oo,n),o=Ei(n),s=v.useRef(null),l=it(t,s,i.onTriggerChange),u=v.useRef(!1),c=v.useRef(!1),d=v.useCallback(()=>u.current=!1,[]);return v.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),f.jsx(nE,{asChild:!0,...o,children:f.jsx(Ke.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:Re(e.onPointerMove,p=>{p.pointerType!=="touch"&&!c.current&&!a.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:Re(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:Re(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Re(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Re(e.onBlur,i.onClose),onClick:Re(e.onClick,i.onClose)})})});Vd.displayName=Oo;var pE="TooltipPortal",[kP,hE]=Ai(pE,{forceMount:void 0}),Ln="TooltipContent",Jd=v.forwardRef((e,t)=>{const n=hE(Ln,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...a}=e,o=Pi(Ln,e.__scopeTooltip);return f.jsx(ui,{present:r||o.open,children:o.disableHoverableContent?f.jsx(Hd,{side:i,...a,ref:t}):f.jsx(gE,{side:i,...a,ref:t})})}),gE=v.forwardRef((e,t)=>{const n=Pi(Ln,e.__scopeTooltip),r=Aa(Ln,e.__scopeTooltip),i=v.useRef(null),a=it(t,i),[o,s]=v.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:d}=r,p=v.useCallback(()=>{s(null),d(!1)},[d]),m=v.useCallback((h,g)=>{const b=h.currentTarget,y={x:h.clientX,y:h.clientY},w=wE(y,b.getBoundingClientRect()),S=kE(y,w),E=SE(g.getBoundingClientRect()),P=zE([...S,...E]);s(P),d(!0)},[d]);return v.useEffect(()=>()=>p(),[p]),v.useEffect(()=>{if(l&&c){const h=b=>m(b,c),g=b=>m(b,l);return l.addEventListener("pointerleave",h),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",h),c.removeEventListener("pointerleave",g)}}},[l,c,m,p]),v.useEffect(()=>{if(o){const h=g=>{const b=g.target,y={x:g.clientX,y:g.clientY},w=(l==null?void 0:l.contains(b))||(c==null?void 0:c.contains(b)),S=!CE(y,o);w?p():S&&(p(),u())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[l,c,o,u,p]),f.jsx(Hd,{...e,ref:a})}),[bE,yE]=Ai(pr,{isInside:!1}),vE=sE("TooltipContent"),Hd=v.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:o,...s}=e,l=Pi(Ln,n),u=Ei(n),{onClose:c}=l;return v.useEffect(()=>(document.addEventListener(Lo,c),()=>document.removeEventListener(Lo,c)),[c]),v.useEffect(()=>{if(l.trigger){const d=p=>{const m=p.target;m!=null&&m.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),f.jsx(ba,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:f.jsxs(rE,{"data-state":l.stateAttribute,...u,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[f.jsx(vE,{children:r}),f.jsx(bE,{scope:n,isInside:!0,children:f.jsx(cE,{id:l.contentId,role:"tooltip",children:i||r})})]})})});Jd.displayName=Ln;var Ud="TooltipArrow",xE=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Ei(n);return yE(Ud,n).isInside?null:f.jsx(iE,{...i,...r,ref:t})});xE.displayName=Ud;function wE(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function kE(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function SE(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function CE(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,o=t.length-1;a<t.length;o=a++){const s=t[a],l=t[o],u=s.x,c=s.y,d=l.x,p=l.y;c>r!=p>r&&n<(d-u)*(r-c)/(p-c)+u&&(i=!i)}return i}function zE(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),AE(t)}function AE(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const a=t[t.length-1],o=t[t.length-2];if((a.x-o.x)*(i.y-o.y)>=(a.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const a=n[n.length-1],o=n[n.length-2];if((a.x-o.x)*(i.y-o.y)>=(a.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var EE=Wd,PE=qd,jE=Vd,Xd=Jd;const TE=EE,NE=PE,ME=jE,Zd=v.forwardRef(({className:e,sideOffset:t=4,...n},r)=>f.jsx(Xd,{ref:r,sideOffset:t,className:yt("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md 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",e),...n}));Zd.displayName=Xd.displayName;const IE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAQAElEQVR4Aez9B5xlyXUehn9f3Xtf6Nw9OYed3Z2ZzQkbsIudxS4WgQCINAQDQIAguQwgmABBTJCGFiWRkkjbEilKlESTFGmKgkVbf8uURMsWbekn0Ur235IogERcYPPszHR86QZ/596+3a+7X/f09HTPdKjb99yqOnXqVNWpuufUqXrvtYO/vAS8BLwEvAS8BLwEtrwEvEHf8kPoO+Al4CXgJeAl4CUAbKxB9xL2EvAS8BLwEvAS8BK4IRLwBv2GiNlX4iXgJeAl4CXgJbCxEtjKBn1jJeO5ewl4CXgJeAl4CWwhCewUg84tNCa+qV4CXgJeAl4C21ICG2uKdopBz655bvgCXgJeAl4CXgJeAusqgY01RTvFoK/rkHhmXgJeAl4CXgLrIYGN9VjXo4VbiYfz4rwpw+Ur9RLwErhBEvA67gYJek3VbKzHuqYmbeFCzotzC4+eb7qXgJfAVSXgddxVReQJbqYE1nHF6bfcb+ZAblTdnq+XgJfAVpXAOqr3rSqCHdbudVxxeoO+w+bOlu6uV3Vbevh841clgXVU76uqzxNtIwl4g76NBvMGdeXmVeNV3c2Tva/ZS8BLYNNLwBv0TT9EvoFeAl4CXgJeAl4CV5eAN+hXl5GnuJES8HV5CXgJeAl4CaxJAt6gr0lsvpCXgJeAl8AmlID/nMkmHJQb1yRv0G+crH1NN18CvgVeAttWArkt958z2bbju5qOeYO+Gil5Gi8BLwEvgU0uAW/LN/kA3YDmeYN+A4Tsq9ghEvDd9BLwEvASuIkS8Ab9JgrfV+0l4CXgJeAl4CWwXhLwBn29JOn5eAlsrARuJPf8OLa7wiWI7kwf9xLwEtgUEvAGfVMMg2+El8CmksCS49gliE3VXN+YWQn4dd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16To6eKlVABMZ4aFZAlqspSiC/CeTdz6469Py+4VT73CcwxkOz3DeocDXMu/m7cIciNyzLu59ddei5ceNMqBbamRIYmcBUdmp5N3+PPIx6ZUoSUIc+JYddjZ5qBEbvptWpTbV7Q+0tHALq0Ec1lqOZDkdTZlSd5XkhVT8XCaibzsVRUZ2UwK0loA59VDxHMx2OpsyoOtNCSkAJKAEloATGTEAd+piRaYXJJKB9KwEloASUwPAE1KEPz0VzlYASUAJKQAnkFQF16Hk1XKpsdglo60pACWSPgH7P6NaxHZ6lOvRbR1hbUgJKQAkogREJ6PeMRkQz5gvDs1SHPmaQWkEJ3BwBraUElIASyCYBdejZpKttKwEloASUgBKYIALq0CcItHajBLJLQFtXAkpgqhNQhz7V7wC1XwkoASWQPQLDf3sre/1N6ZbVoU/p4VfjlcDoCGgpJXCTBIb/9tZNNqbVrk9AHfr1+ehVJaAElIASUAJ5QeDfAQAA//94t7RwAAAABklEQVQDAI66P1ap+w9dAAAAAElFTkSuQmCC",DE=({className:e})=>{const t=e?`block select-none object-contain ${e}`:"block select-none object-contain";return f.jsx("img",{src:IE,className:t,alt:"","aria-hidden":"true",draggable:!1,decoding:"async"})},Gd=({onClick:e,isOpen:t=!1,zIndex:n=100001,assistantName:r,bubbleIconUrl:i,bubbleIconSize:a,showChristmasHat:o,callout:s})=>{const[d,p]=M.useState(!1),m=(s==null?void 0:s.text)||`Sie brauchen Hilfe? Fragen Sie ${r}!`,h=typeof i=="string"?i.trim():"",g=typeof a!="number"||!Number.isFinite(a)?32:Math.max(16,Math.min(Math.round(a),52));M.useEffect(()=>{if((s==null?void 0:s.enabled)===!1)return;const y=setTimeout(()=>p(!0),(s==null?void 0:s.delayMs)??2e3);return()=>clearTimeout(y)},[s==null?void 0:s.delayMs,s==null?void 0:s.enabled]);const b=y=>{y.stopPropagation(),p(!1)};return t?null:f.jsxs("div",{className:"fixed bottom-[30px] right-[30px] max-md:bottom-[20px] max-md:right-[20px]",style:{zIndex:n},children:[d&&(s==null?void 0:s.enabled)!==!1&&(m||(s==null?void 0:s.emoji))&&f.jsx("div",{className:"absolute bottom-[50%] right-[calc(100%+15px)] translate-y-[50%] animate-fade-in max-md:hidden",children:f.jsxs("div",{className:"relative bg-white rounded-[20px] px-5 py-3 shadow-[0_10px_40px_rgba(0,0,0,0.15)] flex items-center gap-2 whitespace-nowrap",children:[f.jsx("span",{className:"text-2xl",children:(s==null?void 0:s.emoji)||"👋"}),f.jsx("span",{className:"text-gray-800 font-semibold text-sm",children:m}),f.jsx("button",{onClick:b,"aria-label":"Hinweis schließen",className:"ml-2 p-1 hover:bg-gray-100 rounded-full transition-colors focus:outline-none focus:ring-2 focus:ring-gray-400",children:f.jsx(on,{className:"w-4 h-4 text-gray-500","aria-hidden":"true"})}),f.jsx("div",{className:"absolute right-[-8px] top-[50%] translate-y-[-50%] w-0 h-0 border-t-[8px] border-t-transparent border-b-[8px] border-b-transparent border-l-[8px] border-l-white"})]})}),f.jsxs(NE,{children:[f.jsx(ME,{asChild:!0,children:f.jsxs("button",{onClick:e,"aria-label":`Chat mit ${r} öffnen`,"aria-haspopup":"dialog",className:"chat-launcher group relative overflow-visible w-[65px] h-[65px] rounded-full bg-primary flex items-center justify-center cursor-pointer shadow-[0_12px_40px_hsl(var(--glow-primary))] border border-white/20 transition-all duration-400 hover:scale-110 hover:-translate-y-1 hover:rotate-[10deg] hover:shadow-[0_20px_60px_hsl(var(--glow-primary))] animate-chat-pulse hover:animate-chat-float transform-gpu max-md:w-[60px] max-md:h-[60px] focus:outline-none focus:ring-4 focus:ring-primary focus:ring-offset-4",children:[o&&f.jsx("div",{className:"pointer-events-none absolute -top-[58px] -right-[35px] z-10 h-[96px] w-[96px] rotate-[15deg] scale-x-[1.15] transition-transform duration-300 group-hover:rotate-[22deg]",children:f.jsx(DE,{className:"h-full w-full drop-shadow-[0_4px_12px_rgba(0,0,0,0.3)]"})}),f.jsx("div",{className:"absolute inset-[-3px] rounded-full p-[3px] animate-rotate-border pointer-events-none","aria-hidden":"true",style:{background:"white",WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor",maskComposite:"exclude"}}),h?f.jsx("img",{src:h,alt:"","aria-hidden":"true",className:"object-contain drop-shadow-[0_2px_4px_rgba(0,0,0,0.2)] transition-transform group-hover:scale-110 group-hover:-rotate-[10deg]",style:{width:g,height:g}}):f.jsx(Kf,{className:"text-white drop-shadow-[0_2px_4px_rgba(0,0,0,0.2)] transition-transform group-hover:scale-110 group-hover:-rotate-[10deg]",size:g,"aria-hidden":"true"})]})}),f.jsx(Zd,{children:r})]})]})};var Ea="ToastProvider",[Pa,RE,LE]=xu("Toast"),[Kd]=ln("Toast",[LE]),[OE,ji]=Kd(Ea),Qd=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:a=50,children:o}=e,[s,l]=v.useState(null),[u,c]=v.useState(0),d=v.useRef(!1),p=v.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Ea}\`. Expected non-empty \`string\`.`),f.jsx(Pa.Provider,{scope:t,children:f.jsx(OE,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:a,toastCount:u,viewport:s,onViewportChange:l,onToastAdd:v.useCallback(()=>c(m=>m+1),[]),onToastRemove:v.useCallback(()=>c(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:p,children:o})})};Qd.displayName=Ea;var Yd="ToastViewport",FE=["F8"],Fo="toast.viewportPause",Bo="toast.viewportResume",_d=v.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=FE,label:i="Notifications ({hotkey})",...a}=e,o=ji(Yd,n),s=RE(n),l=v.useRef(null),u=v.useRef(null),c=v.useRef(null),d=v.useRef(null),p=it(t,d,o.onViewportChange),m=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),h=o.toastCount>0;v.useEffect(()=>{const b=y=>{var S;r.length!==0&&r.every(E=>y[E]||y.code===E)&&((S=d.current)==null||S.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),v.useEffect(()=>{const b=l.current,y=d.current;if(h&&b&&y){const w=()=>{if(!o.isClosePausedRef.current){const z=new CustomEvent(Fo);y.dispatchEvent(z),o.isClosePausedRef.current=!0}},S=()=>{if(o.isClosePausedRef.current){const z=new CustomEvent(Bo);y.dispatchEvent(z),o.isClosePausedRef.current=!1}},E=z=>{!b.contains(z.relatedTarget)&&S()},P=()=>{b.contains(document.activeElement)||S()};return b.addEventListener("focusin",w),b.addEventListener("focusout",E),b.addEventListener("pointermove",w),b.addEventListener("pointerleave",P),window.addEventListener("blur",w),window.addEventListener("focus",S),()=>{b.removeEventListener("focusin",w),b.removeEventListener("focusout",E),b.removeEventListener("pointermove",w),b.removeEventListener("pointerleave",P),window.removeEventListener("blur",w),window.removeEventListener("focus",S)}}},[h,o.isClosePausedRef]);const g=v.useCallback(({tabbingDirection:b})=>{const w=s().map(S=>{const E=S.ref.current,P=[E,...YE(E)];return b==="forwards"?P:P.reverse()});return(b==="forwards"?w.reverse():w).flat()},[s]);return v.useEffect(()=>{const b=d.current;if(b){const y=w=>{var P,z,T;const S=w.altKey||w.ctrlKey||w.metaKey;if(w.key==="Tab"&&!S){const L=document.activeElement,N=w.shiftKey;if(w.target===b&&N){(P=u.current)==null||P.focus();return}const I=g({tabbingDirection:N?"backwards":"forwards"}),V=I.findIndex(F=>F===L);co(I.slice(V+1))?w.preventDefault():N?(z=u.current)==null||z.focus():(T=c.current)==null||T.focus()}};return b.addEventListener("keydown",y),()=>b.removeEventListener("keydown",y)}},[s,g]),f.jsxs(LA,{ref:l,role:"region","aria-label":i.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:h?void 0:"none"},children:[h&&f.jsx(Wo,{ref:u,onFocusFromOutsideViewport:()=>{const b=g({tabbingDirection:"forwards"});co(b)}}),f.jsx(Pa.Slot,{scope:n,children:f.jsx(Ke.ol,{tabIndex:-1,...a,ref:p})}),h&&f.jsx(Wo,{ref:c,onFocusFromOutsideViewport:()=>{const b=g({tabbingDirection:"backwards"});co(b)}})]})});_d.displayName=Yd;var $d="ToastFocusProxy",Wo=v.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,a=ji($d,n);return f.jsx(zi,{tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const s=o.relatedTarget;!((u=a.viewport)!=null&&u.contains(s))&&r()}})});Wo.displayName=$d;var kr="Toast",BE="toast.swipeStart",WE="toast.swipeMove",qE="toast.swipeCancel",VE="toast.swipeEnd",ef=v.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:a,...o}=e,[s,l]=hr({prop:r,defaultProp:i??!0,onChange:a,caller:kr});return f.jsx(ui,{present:n||s,children:f.jsx(UE,{open:s,...o,ref:t,onClose:()=>l(!1),onPause:Zt(e.onPause),onResume:Zt(e.onResume),onSwipeStart:Re(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Re(e.onSwipeMove,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:Re(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Re(e.onSwipeEnd,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});ef.displayName=kr;var[JE,HE]=Kd(kr,{onClose(){}}),UE=v.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:a,onClose:o,onEscapeKeyDown:s,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:p,onSwipeEnd:m,...h}=e,g=ji(kr,n),[b,y]=v.useState(null),w=it(t,F=>y(F)),S=v.useRef(null),E=v.useRef(null),P=i||g.duration,z=v.useRef(0),T=v.useRef(P),L=v.useRef(0),{onToastAdd:N,onToastRemove:k}=g,j=Zt(()=>{var O;(b==null?void 0:b.contains(document.activeElement))&&((O=g.viewport)==null||O.focus()),o()}),I=v.useCallback(F=>{!F||F===1/0||(window.clearTimeout(L.current),z.current=new Date().getTime(),L.current=window.setTimeout(j,F))},[j]);v.useEffect(()=>{const F=g.viewport;if(F){const O=()=>{I(T.current),u==null||u()},B=()=>{const K=new Date().getTime()-z.current;T.current=T.current-K,window.clearTimeout(L.current),l==null||l()};return F.addEventListener(Fo,B),F.addEventListener(Bo,O),()=>{F.removeEventListener(Fo,B),F.removeEventListener(Bo,O)}}},[g.viewport,P,l,u,I]),v.useEffect(()=>{a&&!g.isClosePausedRef.current&&I(P)},[a,P,g.isClosePausedRef,I]),v.useEffect(()=>(N(),()=>k()),[N,k]);const V=v.useMemo(()=>b?lf(b):null,[b]);return g.viewport?f.jsxs(f.Fragment,{children:[V&&f.jsx(XE,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite",children:V}),f.jsx(JE,{scope:n,onClose:j,children:Vo.createPortal(f.jsx(Pa.ItemSlot,{scope:n,children:f.jsx(RA,{asChild:!0,onEscapeKeyDown:Re(s,()=>{g.isFocusedToastEscapeKeyDownRef.current||j(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:f.jsx(Ke.li,{tabIndex:0,"data-state":a?"open":"closed","data-swipe-direction":g.swipeDirection,...h,ref:w,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Re(e.onKeyDown,F=>{F.key==="Escape"&&(s==null||s(F.nativeEvent),F.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,j()))}),onPointerDown:Re(e.onPointerDown,F=>{F.button===0&&(S.current={x:F.clientX,y:F.clientY})}),onPointerMove:Re(e.onPointerMove,F=>{if(!S.current)return;const O=F.clientX-S.current.x,B=F.clientY-S.current.y,K=!!E.current,X=["left","right"].includes(g.swipeDirection),Q=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,x=X?Q(0,O):0,oe=X?0:Q(0,B),Ee=F.pointerType==="touch"?10:2,C={x,y:oe},Ie={originalEvent:F,delta:C};K?(E.current=C,Br(WE,d,Ie,{discrete:!1})):Vl(C,g.swipeDirection,Ee)?(E.current=C,Br(BE,c,Ie,{discrete:!1}),F.target.setPointerCapture(F.pointerId)):(Math.abs(O)>Ee||Math.abs(B)>Ee)&&(S.current=null)}),onPointerUp:Re(e.onPointerUp,F=>{const O=E.current,B=F.target;if(B.hasPointerCapture(F.pointerId)&&B.releasePointerCapture(F.pointerId),E.current=null,S.current=null,O){const K=F.currentTarget,X={originalEvent:F,delta:O};Vl(O,g.swipeDirection,g.swipeThreshold)?Br(VE,m,X,{discrete:!0}):Br(qE,p,X,{discrete:!0}),K.addEventListener("click",Q=>Q.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),XE=e=>{const{__scopeToast:t,children:n,...r}=e,i=ji(kr,t),[a,o]=v.useState(!1),[s,l]=v.useState(!1);return KE(()=>o(!0)),v.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),s?null:f.jsx(Fd,{asChild:!0,children:f.jsx(zi,{...r,children:a&&f.jsxs(f.Fragment,{children:[i.label," ",n]})})})},ZE="ToastTitle",tf=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return f.jsx(Ke.div,{...r,ref:t})});tf.displayName=ZE;var GE="ToastDescription",nf=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return f.jsx(Ke.div,{...r,ref:t})});nf.displayName=GE;var rf="ToastAction",of=v.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?f.jsx(sf,{altText:n,asChild:!0,children:f.jsx(ja,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${rf}\`. Expected non-empty \`string\`.`),null)});of.displayName=rf;var af="ToastClose",ja=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=HE(af,n);return f.jsx(sf,{asChild:!0,children:f.jsx(Ke.button,{type:"button",...r,ref:t,onClick:Re(e.onClick,i.onClose)})})});ja.displayName=af;var sf=v.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return f.jsx(Ke.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function lf(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),QE(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",a=r.dataset.radixToastAnnounceExclude==="";if(!i)if(a){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...lf(r))}}),t}function Br(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?vu(i,a):i.dispatchEvent(a)}var Vl=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),a=r>i;return t==="left"||t==="right"?a&&r>n:!a&&i>n};function KE(e=()=>{}){const t=Zt(e);Xt(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function QE(e){return e.nodeType===e.ELEMENT_NODE}function YE(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function co(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var _E=Qd,uf=_d,cf=ef,df=tf,ff=nf,mf=of,pf=ja;const $E=_E,hf=v.forwardRef(({className:e,...t},n)=>f.jsx(uf,{ref:n,className:yt("fixed top-0 z-[10000] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));hf.displayName=uf.displayName;const eP=Jo("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),gf=v.forwardRef(({className:e,variant:t,...n},r)=>f.jsx(cf,{ref:r,className:yt(eP({variant:t}),e),...n}));gf.displayName=cf.displayName;const tP=v.forwardRef(({className:e,...t},n)=>f.jsx(mf,{ref:n,className:yt("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));tP.displayName=mf.displayName;const bf=v.forwardRef(({className:e,...t},n)=>f.jsx(pf,{ref:n,className:yt("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:f.jsx(on,{className:"h-4 w-4"})}));bf.displayName=pf.displayName;const yf=v.forwardRef(({className:e,...t},n)=>f.jsx(df,{ref:n,className:yt("text-sm font-semibold",e),...t}));yf.displayName=df.displayName;const vf=v.forwardRef(({className:e,...t},n)=>f.jsx(ff,{ref:n,className:yt("text-sm opacity-90",e),...t}));vf.displayName=ff.displayName;function nP(){const{toasts:e}=Qp();return f.jsxs($E,{children:[e.map(function({id:t,title:n,description:r,action:i,...a}){return f.jsxs(gf,{...a,children:[f.jsxs("div",{className:"grid gap-1",children:[n&&f.jsx(yf,{children:n}),r&&f.jsx(vf,{children:r})]}),i,f.jsx(bf,{})]},t)}),f.jsx(hf,{})]})}var rP={grad:.9,turn:360,rad:360/(2*Math.PI)},Ut=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},tt=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},Pt=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e>t?e:t},xf=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},Jl=function(e){return{r:Pt(e.r,0,255),g:Pt(e.g,0,255),b:Pt(e.b,0,255),a:Pt(e.a)}},fo=function(e){return{r:tt(e.r),g:tt(e.g),b:tt(e.b),a:tt(e.a,3)}},iP=/^#([0-9a-f]{3,8})$/i,Wr=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},wf=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,a=Math.max(t,n,r),o=a-Math.min(t,n,r),s=o?a===t?(n-r)/o:a===n?2+(r-t)/o:4+(t-n)/o:0;return{h:60*(s<0?s+6:s),s:a?o/a*100:0,v:a/255*100,a:i}},kf=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),o=r*(1-n),s=r*(1-(t-a)*n),l=r*(1-(1-t+a)*n),u=a%6;return{r:255*[r,s,o,o,l,r][u],g:255*[l,r,r,s,o,o][u],b:255*[o,o,l,r,r,s][u],a:i}},Hl=function(e){return{h:xf(e.h),s:Pt(e.s,0,100),l:Pt(e.l,0,100),a:Pt(e.a)}},Ul=function(e){return{h:tt(e.h),s:tt(e.s),l:tt(e.l),a:tt(e.a,3)}},Xl=function(e){return kf((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},ar=function(e){return{h:(t=wf(e)).h,s:(i=(200-(n=t.s))*(r=t.v)/100)>0&&i<200?n*r/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,n,r,i},oP=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,aP=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,sP=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,lP=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Zl={string:[[function(e){var t=iP.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?tt(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?tt(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=sP.exec(e)||lP.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:Jl({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=oP.exec(e)||aP.exec(e);if(!t)return null;var n,r,i=Hl({h:(n=t[1],r=t[2],r===void 0&&(r="deg"),Number(n)*(rP[r]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Xl(i)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,i=e.a,a=i===void 0?1:i;return Ut(t)&&Ut(n)&&Ut(r)?Jl({r:Number(t),g:Number(n),b:Number(r),a:Number(a)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,i=e.a,a=i===void 0?1:i;if(!Ut(t)||!Ut(n)||!Ut(r))return null;var o=Hl({h:Number(t),s:Number(n),l:Number(r),a:Number(a)});return Xl(o)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,i=e.a,a=i===void 0?1:i;if(!Ut(t)||!Ut(n)||!Ut(r))return null;var o=function(s){return{h:xf(s.h),s:Pt(s.s,0,100),v:Pt(s.v,0,100),a:Pt(s.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(a)});return kf(o)},"hsv"]]},Gl=function(e,t){for(var n=0;n<t.length;n++){var r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},uP=function(e){return typeof e=="string"?Gl(e.trim(),Zl.string):typeof e=="object"&&e!==null?Gl(e,Zl.object):[null,void 0]},mo=function(e,t){var n=ar(e);return{h:n.h,s:Pt(n.s+100*t,0,100),l:n.l,a:n.a}},po=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},Kl=function(e,t){var n=ar(e);return{h:n.h,s:n.s,l:Pt(n.l+100*t,0,100),a:n.a}},Ql=function(){function e(t){this.parsed=uP(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return tt(po(this.rgba),2)},e.prototype.isDark=function(){return po(this.rgba)<.5},e.prototype.isLight=function(){return po(this.rgba)>=.5},e.prototype.toHex=function(){return t=fo(this.rgba),n=t.r,r=t.g,i=t.b,o=(a=t.a)<1?Wr(tt(255*a)):"","#"+Wr(n)+Wr(r)+Wr(i)+o;var t,n,r,i,a,o},e.prototype.toRgb=function(){return fo(this.rgba)},e.prototype.toRgbString=function(){return t=fo(this.rgba),n=t.r,r=t.g,i=t.b,(a=t.a)<1?"rgba("+n+", "+r+", "+i+", "+a+")":"rgb("+n+", "+r+", "+i+")";var t,n,r,i,a},e.prototype.toHsl=function(){return Ul(ar(this.rgba))},e.prototype.toHslString=function(){return t=Ul(ar(this.rgba)),n=t.h,r=t.s,i=t.l,(a=t.a)<1?"hsla("+n+", "+r+"%, "+i+"%, "+a+")":"hsl("+n+", "+r+"%, "+i+"%)";var t,n,r,i,a},e.prototype.toHsv=function(){return t=wf(this.rgba),{h:tt(t.h),s:tt(t.s),v:tt(t.v),a:tt(t.a,3)};var t},e.prototype.invert=function(){return Dt({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),Dt(mo(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),Dt(mo(this.rgba,-t))},e.prototype.grayscale=function(){return Dt(mo(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),Dt(Kl(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),Dt(Kl(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?Dt({r:(n=this.rgba).r,g:n.g,b:n.b,a:t}):tt(this.rgba.a,3);var n},e.prototype.hue=function(t){var n=ar(this.rgba);return typeof t=="number"?Dt({h:t,s:n.s,l:n.l,a:n.a}):tt(n.h)},e.prototype.isEqual=function(t){return this.toHex()===Dt(t).toHex()},e}(),Dt=function(e){return e instanceof Ql?e:new Ql(e)};const Sf=2147483645,cP=typeof Oe.zIndexBase=="number"?Oe.zIndexBase:1e5,dP=e=>typeof e!="number"||!Number.isFinite(e)?cP:Math.max(0,Math.min(Math.round(e),Sf)),Cf=e=>{if(!e||typeof e!="object")return!1;const t=e,n=r=>r&&typeof r=="object"&&!Array.isArray(r);return n(t.light)||n(t.dark)||n(t.common)},fP=e=>{const t=e.trim();if(!t)return;if(/^\d+(\.\d+)?\s+\d+%?\s+\d+%?(\s*\/\s*[\d.]+%?)?$/.test(t))return t;const n=Dt(t);if(n.isValid()){const r=n.toHsl(),i=Math.round(r.h),a=Math.round(r.s),o=Math.round(r.l),s=`${i} ${a}% ${o}%`;if(typeof r.a=="number"&&r.a<1){const l=Math.round(r.a*1e3)/1e3;return`${s} / ${l}`}return s}return t},mP=e=>{const t=e.trim();return t&&(t.startsWith("--")?t.slice(2):t).replace(/_/g,"-").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()||void 0},tr=e=>{if(!e||typeof e!="object"||Array.isArray(e))return;const t={};for(const[n,r]of Object.entries(e)){if(typeof r!="string")continue;const i=mP(n);if(!i)continue;const a=fP(r);a&&(t[i]=a)}return Object.keys(t).length>0?t:void 0},pP=e=>{if(!e)return;if(!Cf(e))return tr(e)??void 0;const{common:t,light:n,dark:r,...i}=e,a=tr(t),o=tr(i),s=a||o?{...a??{},...o??{}}:void 0,l=tr(n),u=tr(r);if(!s&&!l&&!u)return;const c={};return s&&(c.common=s),l&&(c.light=l),u&&(c.dark=u),c},hP=e=>{if(!e)return{};if(!Cf(e))return{dark:e,light:e};const t=e,n=t.common??{},r={...n,...t.dark??{}},i={...n,...t.light??{}};return{dark:Object.keys(r).length>0?r:void 0,light:Object.keys(i).length>0?i:void 0}},gP=e=>e==="--glow-primary"||e==="--glow-secondary"||e==="--glow-accent",zf=(e,t,n)=>{const r=t.trim();return!gP(e)||/\//.test(r)?r:/^\d+(\.\d+)?\s+\d+%?\s+\d+%?$/.test(r)?`${r} / ${n}`:r},bP=(e,{dark:t,light:n})=>{const r=(l,u)=>{if(!l)return"";const c=[];for(const[d,p]of Object.entries(l)){const m=d.startsWith("--")?d:`--${d}`,h=zf(m,p,u.defaultGlowAlpha);c.push(` ${m}: ${h};`)}return c.join(`
|