1import h from"./BpkgrXpV.js";import{aV as C,bm as B,a$ as k,bJ as V,bC as I,br as a,by as f,b2 as m,bt as y,bx as d,bv as o,bu as n,bR as E,bz as w,bs as v,bX as D,bB as T,bA as $}from"./EBpBARSw.js";import q from"./CbDlNXSx.js";import{_ as z}from"./Dy2xinyL.js";import{p as M}from"./DjXNlYmM.js";import"./De1uZK4E.js";import"./CSLGp06j.js";import"./DL71b4LM.js";import"./Lmb05Apy.js";import"./DiN8x0mA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9ab6b95f-dcf2-4136-9c07-c777ddf1ac02",e._sentryDebugIdIdentifier="sentry-dbid-9ab6b95f-dcf2-4136-9c07-c777ddf1ac02")}catch{}})();const F=C({name:"FullscreenAdfox",props:{config:{required:!0,type:Object}},setup(){const e=B(),t=k(),i=k(),r=k(!1),s=V({id:0,isCompleted:!1,isEnabled:!0,step:1e3,tick:8});function u(){r.value=!1}function b({state:c}){if(c.withError||c.withStub||!t.value)return;const l=t.value.querySelector('[id^="adfox"]');l&&(i.value=M(l),r.value=i.value.type!=="unknown"&&Object.keys(i.value).length>1,r.value&&g())}function g(){if(!s.isEnabled)return s.isCompleted=!0,u();const c=Date.now();let l=0;function p(){if(l+=s.step,s.tick--,s.tick===0)s.isCompleted=!0,window.clearTimeout(s.id),u();else{const A=Date.now()-c-l;s.id=window.setTimeout(p,s.step-A)}}s.id=window.setTimeout(p,s.step)}return{adfoxArticle:i,close:u,countdown:s,css:e,isVisible:r,onComplete:b,rootEl:t}}}),N="zBGh3",S="gNprP",j="iuVRj",R="AzZWt",Z="VIZiM",H="VdSlk",O="_9uYp6",P="o5wWy",W="Iq5v5",X="efnzP",_="xcu3y",G="zwhMb",J="ZxcK3",K="_4FVHe",L="XUR8w",U={fullscreenAdfox:N,fullscreen:S,body:j,blackout:R,main:Z,logo:H,subtitle:O,figure:P,quote:W,caption:X,banner:_,image:G,actions:J,tick:K,close:L},Y=["src"];function Q(e,t,i,r,s,u){const b=h,g=E,c=q,l=z;return a(),f("div",{ref:"rootEl",class:o(e.css.fullscreenAdfox)},[m(b,{class:o(e.css.adfox),config:e.config,onComplete:e.onComplete},{default:y(()=>[d("",!0)]),_:1},8,["class","config","onComplete"]),m($,{name:"fade"},{default:y(()=>[e.isVisible?(a(),f("div",{key:0,class:o(e.css.fullscreen)},[n("div",{class:o(e.css.body)},[n("div",{class:o(e.css.blackout),onClick:t[0]||(t[0]=(...p)=>e.close&&e.close(...p))},null,2),n("div",{class:o(e.css.main)},[n("div",{class:o(e.css.logo)},[m(g,{name:"logo",viewBox:"0 0 64 16"})],2),n("p",{class:o(e.css.subtitle)}," ЦиÑаÑа Ð´Ð½Ñ ",2),n("figure",{class:o(e.css.figure)},[e.adfoxArticle.title?(a(),f("blockquote",{key:0,class:o(e.css.quote)}," «"+w(e.adfoxArticle.title)+"» ",3)):d("",!0),e.adfoxArticle.footnote?(a(),f("figcaption",{key:1,class:o(e.css.caption)},w(e.adfoxArticle.footnote),3)):d("",!0)],2)],2),(a(),v(D(e.adfoxArticle.path?"a":"div"),{class:o(e.css.banner),href:e.adfoxArticle.path?e.adfoxArticle.path:null,rel:e.adfoxArticle.path?"noopener noreferrer nofollow":null,target:e.adfoxArticle.path?"_blank":null},{default:y(()=>[e.adfoxArticle.iframe?(a(),f("iframe",{key:0,src:e.adfoxArticle.iframe},null,8,Y)):e.adfoxArticle.photo&&e.adfoxArticle.path?(a(),v(c,{key:1,alt:e.adfoxArticle.title||"",class:o(e.css.image),image:e.adfoxArticle.photo,"is-blurhash-enabled":!1,"should-crop":!1,"should-use-webp":!1},null,8,["alt","class","image"])):d("",!0)]),_:1},8,["class","href","rel","target"]))],2),n("div",{class:o(e.css.actions)},[n("div",{class:o(e.css.countdown)},[t[1]||(t[1]=T(" ÐакÑоеÑÑÑ ÑеÑез: ",-1)),n("span",{class:o(e.css.tick)},w(e.countdown.tick),3)],2),m(l,{class:o(e.css.close),"is-active":"",name:"close",theme:"yellow",onClick:e.close},null,8,["class","onClick"])],2)],2)):d("",!0)]),_:1})],2)}const x={$style:U},de=I(F,[["render",Q],["__cssModules",x]]);export{de 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.