1import{at as e}from"./FFsIuA2d.js";import{B as t,H as n,I as r,N as i,Pt as a,Rt as o,Z as s,ct as c,d as l,m as u,p as d,pt as f}from"./D26NMIVi.js";import{n as p,t as m}from"#entry";import{n as h}from"./DmZ69xk7.js";var g=[`href`,`data-slot`],_={class:`at-adbar__in`},v={class:`at-adbar__label`},y={class:`at-adbar__text`},b=[`title`],x=m({__name:`AtAdBar`,props:{label:{type:String,default:void 0},text:{type:String,default:``},href:{type:String,default:`#`},variant:{type:String,default:`band`}},setup(m){let x=m,S=p(),{active:C,openEditor:w}=h(),T=c(null),E=()=>{T.value&&document.documentElement.style.setProperty(`--at-adbar-h`,`${T.value.offsetHeight}px`)};return t(()=>{E(),window.addEventListener(`resize`,E,{passive:!0})}),s(()=>x.text,()=>i(E)),r(()=>{window.removeEventListener(`resize`,E),document.documentElement.style.removeProperty(`--at-adbar-h`)}),(t,r)=>(n(),u(`a`,{ref_key:`barEl`,ref:T,class:a([`at-adbar`,[`at-adbar--${m.variant}`,{"is-admin":f(C),"is-empty":!m.text}]]),href:m.href,target:`_blank`,rel:`sponsored noopener`,"data-slot":f(C)?`gelbeLeiste`:void 0},[l(`span`,_,[l(`span`,v,o(m.label??f(S)(`ANZEIGE`,`SPONSORED`)),1),l(`span`,y,o(m.text),1),r[1]||=l(`span`,{class:`at-adbar__cta`,"aria-hidden":`true`},`âº`,-1)]),f(C)?(n(),u(`button`,{key:0,class:`at-adbar__edit`,type:`button`,title:f(S)(`Anzeigenleiste bearbeiten`,`Edit ad bar`),onClick:r[0]||=e(e=>f(w)(`gelbeLeiste`),[`stop`,`prevent`])},` â `,8,b)):d(``,!0)],10,g))}},[[`__scopeId`,`data-v-65e90ab2`]]);export{x 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.