1import{K as e,z as t,e as a,f as o,q as s,m as r,I as l,p as i,i as n,C as p}from"./vue-f7dfe1ff.js";import{l as u,h as m}from"./index-d91380f0.js";import{C as c}from"./CourstoreTooltip-c0ca9717.js";import{p as d,u as f}from"./useContactFabTooltip-55ed07e8.js";const g={__name:"CourstoreContactFab",props:{socialSymbol:{type:String,default:"whatsApp"},tgUsername:{type:String,default:""},whatsappNumber:{type:String,default:""},greetingText:{type:String,default:""},raised:{type:Boolean,default:!0}},setup(g){const x=g,{t:y,locale:b}=e(),v=t(()=>u()),h=t(()=>v.value&&x.raised),w=t(()=>d({socialSymbol:x.socialSymbol,tgUsername:x.tgUsername,whatsappNumber:x.whatsappNumber,greetingText:x.greetingText})),S=()=>{if(w.value.hidden)return;const e=w.value.url.startsWith("tel:")?void 0:"_blank";window.open(w.value.url,e)},{tooltipOpen:C,isHover:_}=f();return(e,t)=>w.value.hidden?p("",!0):(a(),o("div",{key:0,class:n(["fixed right-4 custom_mob:right-6 z-[100]",h.value?"bottom-[calc(72px+env(safe-area-inset-bottom))]":"bottom-6"])},[s("div",{onClick:S,onMouseenter:t[0]||(t[0]=e=>_.value=!0),onMouseleave:t[1]||(t[1]=e=>_.value=!1),class:n(["w-[56px] h-[56px] rounded-[50%] flex items-center justify-center cursor-pointer justify-self-end group relative","telegram"===g.socialSymbol?"bg-[#00a5cf]":"bg-[#25D366]"])},["telegram"===g.socialSymbol&&g.tgUsername?(a(),r(m,{key:0,type:"telegram_white"})):"telegram"===g.socialSymbol&&g.whatsappNumber?(a(),r(m,{key:1,type:"phone"})):(a(),r(m,{key:2,type:"whatsapp_white"})),l(c,{arrow:"left-middle",text:i(y)("Write to author course"),class:n(["w-[160px] md:w-[238px] flex transition-all duration-300 ease-out motion-reduce:transition-none",i(C)?"opacity-100 translate-x-0 pointer-events-auto":"opacity-0 translate-x-4 pointer-events-none motion-reduce:translate-x-0","ru"===i(b)?"left-[-45px] md:left-[-85px]":"left-[-25px] md:left-[-65px]"])},null,8,["text","class"])],34)],2))}};export{g 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.