1import w from"./CGB6CXIl.js";import B from"./aW2Jj2D9.js";import S from"./BpkgrXpV.js";import{b as $}from"./CSLGp06j.js";import{aV as H,bm as T,aW as V,a$ as r,bC as D,br as o,by as p,bv as t,b2 as x,bt as y,bs as m,bA as h,bx as C,bu as I,c7 as R}from"./EBpBARSw.js";import{i as L}from"./Fv6MJwKN.js";import{p as M}from"./DjXNlYmM.js";import"./Dy2xinyL.js";import"./CbDlNXSx.js";import"./Lmb05Apy.js";import"./DiN8x0mA.js";import"./DNIs4AQh.js";import"./Bq_376aw.js";import"./Df6GUClV.js";import"./c5dgDvDu.js";import"./D9wVAE0n.js";import"./BHuojVLH.js";import"./De1uZK4E.js";import"./DL71b4LM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c35fbb4c-6dd6-4ea2-94d4-24ac16eae1d0",e._sentryDebugIdIdentifier="sentry-dbid-c35fbb4c-6dd6-4ea2-94d4-24ac16eae1d0")}catch{}})();const N=H({name:"BoxAdfox",props:{box:{required:!0,type:Object}},setup(){const e=T(),a=V(),l=r(),s=r(),b=r({...$}),d=r(),i=r(!1),c=r(!1),n=r(!L(a.$device.userAgent));function A({data:E={},state:u}){if(b.value=u,n.value=(!u.withError||!u.withStub)&&u.isRendered,!n.value||!l.value)return;const v=l.value.querySelector('[id^="adfox"]');if(v&&(d.value=M(v)||{},i.value=!!(d.value?.title&&d.value?.path),!i.value)){if(c.value=E?.bundleName==="banner.inpage",c.value){let _=function(){n.value=!1,f?.removeEventListener("ended",_)},f=null;const k=v.querySelectorAll("*");for(const{shadowRoot:g}of Array.from(k))g&&(f=g.querySelector("video"));if(!f)return;f.addEventListener("ended",_);return}s.value&&(s.value.style.minHeight="auto",s.value.style.minHeight=`${s.value.clientHeight}px`)}}return{adfoxArticle:d,bannerEl:s,css:e,currentStates:b,isPartnerCard:i,isVideo:c,onComplete:A,rootEl:l,shouldRender:n}}}),q="Uue24",F="Z7Rd7",z="HCO5Q",O="TzICx",P="_4VV-3",X="KAxr4",j="D-yJS",J="_7y9HX",K={rootEl:q,boxAdfox:F,boxCard:z,partnerCard:O,banner:P,adfox:X,title:j,loader:J},Q={key:1};function U(e,a,l,s,b,d){const i=w,c=B,n=S;return o(),p("div",{ref:"rootEl",class:t(e.css.rootEl),style:R(!e.shouldRender&&"margin: 0;")},[e.shouldRender?(o(),p("div",{key:0,class:t(e.css.boxAdfox)},[x(h,{name:"fade"},{default:y(()=>[e.currentStates.isCompleted?(o(),p("div",Q)):(o(),m(i,{key:0,class:t(e.css.loader)},null,8,["class"]))]),_:1}),e.isPartnerCard?(o(),m(n,{key:e.$viewport.breakpoint,class:t(e.css.partnerCard),config:e.box.data.config,onComplete:e.onComplete},{default:y(()=>[C("",!0),x(h,{name:"fade"},{default:y(()=>[e.adfoxArticle?(o(),m(c,{key:0,box:{data:{article:e.adfoxArticle},type:"partner"},class:t(e.css.boxCard)},null,8,["box","class"])):C("",!0)]),_:1})]),_:1},8,["class","config","onComplete"])):(o(),p("div",{key:1,ref:"bannerEl",class:t(e.css.banner)},[I("div",{class:t(e.css.title)}," Â ",2),(o(),m(n,{key:e.$viewport.breakpoint,class:t(e.css.adfox),config:e.box.data.config,onComplete:e.onComplete},null,8,["class","config","onComplete"]))],2))],2)):C("",!0)],6)}const W={$style:K},ye=D(N,[["render",U],["__cssModules",W]]);export{ye as default};
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.