1import{e as v,a as b,j as B}from"./DK6gm2e3.js";import{l as C,y as L,G as S,X as o,P as l,a4 as u,u as a,ae as j,am as D,a2 as s,_ as z,j as T,Q as t,R as g,a1 as f,O as n,$ as k,a6 as h,n as w}from"./gHBpF4TV.js";import{f as E}from"./CDO5XpCI.js";import{s as N}from"./sFw98RAU.js";const F={class:"fixed lg:bottom-6 md:bottom-32 bottom-8 right-6 flex flex-col gap-4 z-40"},M=["src","alt"],V={class:""},G=["src","alt"],I={class:""},O=C({__name:"FloatingButtons",setup(P){const c=v(),r=w(()=>c.getLocalizedData(E)),y=w(()=>c.getLocalizedData(N)),d=T(!1),_=()=>{d.value=window.scrollY>300},x=()=>{window.scrollTo({top:0,behavior:"smooth"})};return L(()=>{window.addEventListener("scroll",_)}),S(()=>{window.removeEventListener("scroll",_)}),(Q,m)=>{const p=b;return t(),o("div",F,[(t(!0),o(l,null,u(a(r).button_phone,(e,i)=>(t(),o(l,{key:"phone-"+i},[e.is_show?(t(),g(p,{key:0,to:e.link,"data-type":"button",class:"rounded-md px-4 py-2 text-sm flex items-center justify-center gap-2",style:h({backgroundColor:e.background_color,color:e.text_color}),title:e.label},{default:f(()=>[e.image?(t(),o("img",{key:0,src:e.image,alt:e.label,class:"h-5"},null,8,M)):n("",!0),s("span",V,k(e.label),1)]),_:2},1032,["to","style","title"])):n("",!0)],64))),128)),(t(!0),o(l,null,u(a(r).button_book,(e,i)=>(t(),o(l,{key:"book-"+i},[e.is_show?(t(),g(p,{key:0,to:e.link||a(y).link_booking,"data-type":"button",target:e.open_new_tab?"_blank":"",class:"rounded-md px-4 py-2 text-sm flex items-center justify-center flex-col gap-2",style:h({backgroundColor:e.background_color,color:e.text_color}),title:e.label},{default:f(()=>[e.image?(t(),o("img",{key:0,src:e.image,alt:e.label,class:"h-5"},null,8,G)):n("",!0),s("span",I,k(e.label),1)]),_:2},1032,["to","target","style","title"])):n("",!0)],64))),128)),j(s("button",{onClick:x,class:z([a(d)?"opacity-60 hover:opacity-100":"opacity-0 pointer-events-none","rounded-full w-12 h-12 bg-gray-400 text-white flex transition-all duration-200 items-center justify-center animate-fade-in ml-auto"]),title:"Back to top"},[...m[0]||(m[0]=[s("svg",{class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[s("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 15l7-7 7 7"})],-1)])],2),[[D,a(r).button_to_top?.is_show]])])}}}),$=B(O,[["__scopeId","data-v-edc42d55"]]);export{$ as default};
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.