1import{D as e,E as t,On as n,_ as r,b as i,k as a,mt as o,qt as s,tr as c,v as l,vn as u,y as d}from"./Car86Ubo.js";import{t as f}from"./Blf4Mq93.js";import{t as p}from"./6faziH9V.js";import{n as m,t as h}from"./BFJFuW-D.js";var g={class:`flex items-center gap-2`},_={class:`flex gap-x-4 md:gap-x-2`},v={class:`flex`},y={class:`hidden text-sm text-gray-400 sm:block`},b={key:0,class:`font-medium text-blue-500 hover:text-blue-600`},x={class:`text-sm text-gray-400 sm:hidden`},S={key:0,class:`font-medium text-blue-500 hover:text-blue-600`},C=Object.assign(a({__name:`PhoneNumber`,props:{travelAgency:{},packageId:{}},setup(a){let{openModal:C}=m(),{trackPhoneNumberClicked:w}=h(),T=u(!0),E=u(!0),D=()=>{T.value=!1,E.value=!1,w({travelAgencyId:a.travelAgency.id,packageId:a.packageId})},O=a.travelAgency.phone,k=O?.slice(0,O.length-4);return(u,m)=>{let h=f,A=p;return o(),i(`div`,g,[r(`dl`,_,[r(`dt`,v,[e(h,{name:`ph:phone-call`,class:`h-5 w-5 text-gray-500`})]),r(`dd`,y,[n(T)?(o(),i(`div`,b,c(n(k)+`xxxx`),1)):(o(),i(`button`,{key:1,onClick:m[0]||=e=>{n(C)(a.travelAgency),n(w)({travelAgencyId:a.travelAgency.id,packageId:a.packageId})},class:`cursor-pointer font-medium text-blue-500 hover:text-blue-600`},c(n(O)),1))]),r(`dd`,x,[n(T)?(o(),i(`div`,S,c(n(k)+`xxxx`),1)):(o(),l(A,{key:1,to:`tel:${a.travelAgency.phone}`,class:`cursor-pointer font-medium text-blue-500 hover:text-blue-600`},{default:s(()=>[t(c(n(O)),1)]),_:1},8,[`to`]))])]),n(E)?(o(),i(`button`,{key:0,onClick:m[1]||=e=>D(),class:`block cursor-pointer rounded-sm border border-blue-500 px-2 text-sm text-blue-500`},` Show `)):d(``,!0)])}}}),{__name:`PhoneNumber`});export{C as t};
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.