1import{Ft as e,Hn as t,Ot as n,P as r,St as i,V as a,b as o,j as s,sn as c}from"./BI7FwP1v.js";import{F as l,c as u}from"./CaY3q93P.js";import{t as d}from"./BL9jiGkn.js";import{t as f}from"./Bdv5HrXF.js";var p=l(`/img/whatsapp-icon.webp`);``+new URL(`text-bubble-icon.BknILLtI.webp`,import.meta.url).href;var m={class:`flex flex-col`},h={__name:`default`,setup(l){let{setting:h,fetchSetting:g}=f();i(async()=>{await g(),_(h.value?.footer_script),v()});function _(e){if(!e)return;let t=document.createElement(`div`);t.innerHTML=e,Array.from(t.childNodes).forEach(e=>{if(e.nodeName===`SCRIPT`){let t=document.createElement(`script`);Array.from(e.attributes).forEach(e=>t.setAttribute(e.name,e.value)),t.text=e.textContent??``,document.body.appendChild(t)}else document.body.appendChild(e)})}function v(){let e=Date.now()+15e3,t=()=>{let n=window.WebSDK;if(n?.hideButton){let e=()=>n.hideButton();e(),requestAnimationFrame(()=>{e(),requestAnimationFrame(e)}),n.on?.(`ready`,e);return}Date.now()<e&&setTimeout(t,100)};t()}let y=()=>
1{window.WebSDK?.openPanel()};return(i,l)=>{let f=u,g=d;return n(),r(o,null,[e(i.$slots,`default`),s(`div`,m,[a(f,{class:`fixed bottom-40 right-3.5 text-white flex flex-col md:right-15`,variant:`ghost`,size:`lg`,to:t(h)?.whatsapp_url||``},{default:c(()=>[...l[0]||=[s(`img`,{class:`w-20 h-16 object-contain`,alt:``,src:p},null,-1)]]),_:1},8,[`to`]),a(g,{class:`fixed bottom-20 right-1 text-white flex flex-col md:right-12`,variant:`ghost`,size:`lg`,onClick:y},{default:c(()=>[...l[1]||=[s(`img`,{class:`w-20 h-16 object-contain`,alt:``,src:``+new URL(`text-bubble-icon.BknILLtI.webp`,import.meta.url).href},null,-1)]]),_:1})])],64)}}};export{h 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.