1import{a1 as w,r,a3 as B,a$ as _,Y as x,M as u,N as d,ag as i,al as a,ak as c,ah as k,ai as y,a5 as C}from"./CqWH0BZP.js";const E="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.99984%208.33301C9.10441%208.33301%209.99984%207.43758%209.99984%206.33301C9.99984%205.22844%209.10441%204.33301%207.99984%204.33301C6.89527%204.33301%205.99984%205.22844%205.99984%206.33301C5.99984%207.43758%206.89527%208.33301%207.99984%208.33301Z'%20stroke='%23475467'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.99984%2014.6663C9.33317%2011.9997%2013.3332%2010.2785%2013.3332%206.66634C13.3332%203.72082%2010.9454%201.33301%207.99984%201.33301C5.05432%201.33301%202.6665%203.72082%202.6665%206.66634C2.6665%2010.2785%206.6665%2011.9997%207.99984%2014.6663Z'%20stroke='%23475467'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",N={class:"business-info"},T={class:"business-name"},M={key:0,class:"business-address",id:"business-address"},A=w({__name:"CalendarBusinessInfo",props:{businessName:{type:String},businessAddress:{type:String}},setup(h){const n=h,e=r(!1),m=r(!1),t=r(null),v=()=>{[document.querySelector("#business-address"),document.querySelector("#business-name")].forEach(s=>{if(s){const l=s.scrollHeight>s.clientHeight;m.value=l}})},g=()=>{window.innerWidth>726&&(e.value=!0)},f=()=>{window.innerWidth<=726&&(e.value=!e.value)},p=o=>{t.value&&!t.value.contains(o.target)&&(e.value=!1)},b=o=>{t.value&&!t.value.contains(o.target)&&(e.value=!1)};return B(()=>{v(),document.addEventListener("click",p),document.addEventListener("touchstart",b)}),_(()=>{document.removeEventListener("click",p),document.addEventListener("touchstart",b)}),x(()=>n.businessAddress,()=>{v()}),(o,s)=>(u(),d("div",{class:"business-tooltip",onMouseenter:g,onMouseleave:s[0]||(s[0]=l=>e.value=!1),onClick:f,onBlur:s[1]||(s[1]=l=>e.value=!1),ref_key:"businessTooltipRef",ref:t},[i("div",N,[i("p",T,a(n.businessName),1),n.businessAddress?(u(),d("div",M,[i("p",null,[s[2]||(s[2]=i("img",{src:E,alt:"location",class:"business-icon"},null,-1)),c(" "+a(n.businessAddress),1)]),k(m)?(u(),d("span",{key:0,onClick:f,class:y({"business-tooltip-text-visible":k(e)})},[c(a(n.businessName),1),s[3]||(s[3]=i("br",null,null,-1)),c(" "+a(n.businessAddress),1)],2)):C("",!0)])):C("",!0)])],544))}}),L=Object.assign(A,{__name:"PreviewElementsCalendarBuilderCalendarBusinessInfo"});export{L 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.