import{c as e,x as t,m as r,A as s,y as n,z as a,B as o,C as i}from"./_auto-entry_fotbollskanalen-BEv9dkCS.js";import"react/jsx-runtime";const l=(a,o)=>{const{siteSpecificConfig:{publisherClassName:i}={},pageContext:{pageType:l}}=e.get(),c=document.querySelector(`#${a}`);if(!c)return;if(c.classList.add(t),!i)return;r(i,c,s.FINN_BLINK,null!=o?o:l);n({preferredTestIdData:{targetId:a,testId:"finn"}})},c=t=>{const{fullscreenScroll:r}=e.get(),{initNativeAd:s}=e.getHandlers();a(t)&&o(t,r),i(t)&&(null==s||s(t,e.get()))},u=t=>{const{pageContext:{publisher:r=""}}=e.get(),s=document.querySelector(`#${t}`);if(!s)return;const n=`-${r}`;s.classList.remove(`advertory${n}-finn-blink`),s.classList.remove(`advertory${n}-finn-blink-wrapper`)};export{c as displaySpecialFormatsForFinnFallback,l as finnBlinkLoaded,u as xandrAdLoaded};
