1import{_ as c}from"./DeOXMxlj.js";import{_ as m}from"./Bekrs9Ac.js";import{_ as h}from"./CxYTRavG.js";import{d as p,p as f,m as u,s as v,i as _,o as l,v as s,g as n,a9 as x,c as g,e as b,h as k,j as t,L as y}from"./eXeRFuIj.js";const C={key:0,class:"tw-fixed tw-right-4 tw-z-[99999] tw-w-[400px] tw-max-w-[calc(100vw-2rem)] tw-rounded-3xl tw-shadow-2xl tw-flex tw-flex-col tw-overflow-hidden",style:{bottom:"80px",height:"min(580px, calc(100vh - 160px))",border:"1px solid rgba(0,0,0,0.1)"}},V={class:"tw-px-4 tw-py-3 tw-flex tw-items-center tw-gap-3 tw-shrink-0",style:{background:"#2f3031"}},j={class:"tw-flex-1 tw-overflow-hidden tw-bg-gray-50"},L=p({__name:"ChatbotVoyagersWidget",setup(B){const o=f(!1);function a(){o.value=!0}function w(){o.value=!1}return u(()=>{window.addEventListener("open-voyagers-chat",a),window.addEventListener("close-voyagers-chat",w)}),v(()=>{window.removeEventListener("open-voyagers-chat",a),window.removeEventListener("close-voyagers-chat",w)}),(M,e)=>{const r=c,i=m,d=h;return l(),_(d,null,{default:s(()=>[n(x,{name:"chat"},{default:s(()=>[k(o)?(l(),g("div",C,[t("div",V,[e[3]||(e[3]=t("div",{class:"tw-relative tw-shrink-0"},[t("div",{class:"tw-w-10 tw-h-10 tw-rounded-full tw-overflow-hidden tw-ring-2 tw-ring-white/30"},[t("img",{src:"https://firebasestorage.googleapis.com/v0/b/travel-web-app-1.appspot.com/o/flamelink%2Fmedia%2Fbluefootedbooby-bot.webp?alt=media&token=67a05b3a-4e9a-4565-94b5-81f6e1fcab74",alt:"Voyagers Assistant",loading:"lazy",class:"tw-w-full tw-h-full tw-object-cover"})]),t("span",{class:"tw-absolute tw-bottom-0 tw-right-0 tw-w-2.5 tw-h-2.5 tw-rounded-full tw-bg-green-400",style:{"box-shadow":"0 0 0 2px #2f3031"}})],-1)),e[4]||(e[4]=t("div",{class:"tw-flex-1 tw-min-w-0"},[t("p",{class:"tw-text-white tw-font-semibold tw-text-sm tw-leading-tight"},"Voyagers Assistant"),t("p",{class:"tw-text-white/70 tw-text-xs tw-mt-0.5"},"Galapagos & Antarctica expert")],-1)),n(r,{to:"/chatbot",class:"tw-shrink-0 tw-w-7 tw-h-7 tw-rounded-full tw-flex tw-items-center tw-justify-center tw-text-white/70 hover:tw-text-white hover:tw-bg-white/15 tw-transition-colors","aria-label":"Open full screen",title:"Open full screen"},{default:s(()=>e[1]||(e[1]=[t("svg",{class:"tw-w-4 tw-h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 8V4m0 0h4M4 4l5 5m11-5h-4m4 0v4m0-4l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"})],-1)])),_:1,__:[1]}),t("button",{class:"tw-shrink-0 tw-w-7 tw-h-7 tw-rounded-full tw-flex tw-items-center tw-justify-center tw-text-white/70 hover:tw-text-white hover:tw-bg-white/15 tw-transition-colors","aria-label":"Close chat",onClick:e[0]||(e[0]=E=>o.value=!1)},e[2]||(e[2]=[t("svg",{class:"tw-w-4 tw-h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)]))]),t("div",j,[n(i)])])):b("",!0)]),_:1})]),_:1})}}}),F=Object.assign(y(L,[["__scopeId","data-v-a68a935e"]]),{__name:"ChatbotVoyagersWidget"});export{F as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.