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