1const L=t=>{const a=document.createElement("div");return a.textContent=t,a.innerHTML},x=`<svg width="24" height="8" viewBox="0 0 24 8" fill="none" xmlns="http://www.w3.org/2000/svg"> 2 <path d="M9.60863 1.69068C10.258 0.960134 10.9274 -5.11493e-07 12.0003 0C13.0732 5.11493e-07 13.7427 0.960135 14.392 1.69068L17.1362 4.7779C18.1906 5.96402 18.7177 6.55708 19.352 6.98262C19.9142 7.35975 20.5361 7.63903 21.1914 7.80863C21.9309 8.00001 22.413 8.00001 24 8.00001L0 8.00001C1.58698 8.00001 2.06977 8.00001 2.80923 7.80863C3.46457 7.63903 4.08648 7.35975 4.64863 6.98262C5.28294 6.55708 5.8101 5.96402 6.86443 4.7779L9.60863 1.69068Z" fill="currentColor"/> 3</svg>`,T={mounted(t,a){let r=t.getAttribute("data-tooltip-trigger")||"hover";globalParams.device==="mobile"&&(r="click");const l=t.getAttribute("data-tooltip-placement")||"top";let o=null,p=!1,h=!1,m=l;const C=()=>{if(o)return;const e=(a.value??t.getAttribute("data-tooltip")??"").toString(),i=t.getAttribute("data-tooltip-title")||"",d=t.getAttribute("data-tooltip-html")==="true";!e&&!i||(o=document.createElement("div"),o.className=`vtooltip vtooltip_placement-${l}`,o.style.pointerEvents="auto",o.innerHTML=` 4 ${i?`<div class="vtooltip__header">${L(i)}</div>`:""} 5 <div class="vtooltip__content">${d?e:L(e)}</div> 6 <div class="vtooltip__arrow"></div> 7 `,o.querySelector(".vtooltip__arrow").innerHTML=x,r==="hover"&&(o.addEventListener("mouseenter",()=>h=!0),o.addEventListener("mouseleave",()=>{h=!1,g()})),document.body.appendChild(o),t._vtc.tooltip=o)},E=(e,i,d)=>{const n=o.querySelector(".vtooltip__arrow");n.style.cssText="";const v=t.getBoundingClientRect(),c=v.left+window.scrollX+v.width/2-(e+d/2);m==="top"?(n.style.bottom="-8px",n.style.left="50%",n.style.transform=`translateX(-50%) translateX(${c}px) rotate(180deg)`):m==="bottom"?(n.style.top="-8px",n.style.left="50%",n.style.transform=`translateX(-50%) translateX(${c}px)`):m==="left"?(n.style.right="-8px",n.style.top="50%",n.style.transform="translateY(-50%) rotate(90deg)"):m==="right"&&(n.style.left="-8px",n.style.top="50%",n.style.transform="translateY(-50%) rotate(-90deg)")},_=()=>{if(!o)return;const e=t.getBoundingClientRect(),i=o.getBoundingClientRect(),d=window.innerWidth,n=window.innerHeight,v=window.scrollX,f=window.scrollY,c=8,w={top:{top:e.top+f-i.height-c,left:e.left+v+e.width/2-i.width/2},bottom:{top:e.bottom+f+c,left:e.left+v+e.width/2-i.width/2},left:{top:e.top+f+e.height/2-i.height/2,left:e.left+v-i.width-c},right:{top:e.top+f+e.height/2-i.height/2,left:e.right+v+c}};let u=l,s=w[l];l==="top"&&s.top<f?(u="bottom",s=w.bottom):l==="bottom"&&s.top+i.height>f+n?(u="top",s=w.top):l==="left"&&s.left<v?(u="right",s=w.right):l==="right"&&s.left+i.width>v+d&&(u="left",s=w.left),u==="top"||u==="bottom"?s.left=Math.max(c,Math.min(s.left,d-i.width-c)):s.top=Math.max(c,Math.min(s.top,n-i.height-c)),m=u,E(s.left,s.top,i.width),o.className=`vtooltip vtooltip_visible vtooltip_placement-${m}`,o.style.left=`${s.left}px`,o.style.top=`${s.top}px`},y=()=>
7{if(p||(C(),!o))return;p=!0,o.classList.add("vtooltip_visible"),_();const e=()=>requestAnimationFrame(_);window.addEventListener("scroll",e,{passive:!0}),window.addEventListener("resize",e,{passive:!0}),t._vtc._scrollRep=e},g=()=>{p&&(p=!1,o.classList.remove("vtooltip_visible"),t._vtc._scrollRep&&(window.removeEventListener("scroll",t._vtc._scrollRep),window.removeEventListener("resize",t._vtc._scrollRep),t._vtc._scrollRep=null))},b=[];if(r==="hover"){const e=()=>{h=!0,y()},i=()=>{h=!1,setTimeout(()=>{h||g()},100)};t.addEventListener("mouseenter",e),t.addEventListener("mouseleave",i),b.push({e:"mouseenter",f:e,t},{e:"mouseleave",f:i,t})}else if(r==="click"){const e=()=>{p?g():y()},i=d=>{!t.contains(d.target)&&(!o||!o.contains(d.target))&&p&&g()};t.addEventListener("click",e),document.addEventListener("click",i),b.push({e:"click",t,f:e},{e:"click",t:document,f:i})}t._vtc={tooltip:null,hide:g,triggerListeners:b,positionTooltip:_}},updated(t,a){const r=t._vtc;if(!r||!r.tooltip)return;const l=(a.value??t.getAttribute("data-tooltip")??"").toString(),o=t.getAttribute("data-tooltip-html")==="true",p=r.tooltip.querySelector(".vtooltip__content");p&&(p.innerHTML=o?l:L(l)),r.tooltip.classList.contains("vtooltip_visible")&&r.positionTooltip()},unmounted(t){if(!t._vtc)return;const{tooltip:a,hide:r,triggerListeners:l}=t._vtc;r(),l.forEach(o=>(o.t||window).removeEventListener(o.e,o.f)),a&&a.remove(),delete t._vtc}};export{T as V};
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.