import{_ as h}from"./edtG_Qsv.js";import{d as b,r as o,s as v,o as c,a as f,b as i,n as s,e as n,g as u}from"./DGtjvSSZ.js";const x={key:0},z={key:1},k=b({__name:"AdSpecial",props:{id:{},path:{},dimensions:{},targeting:{},sizeMapping:{}},setup(_){const a=o(!1),t=o(!1),r=o(!1);v(()=>{setTimeout(()=>{r.value=!0},2e3),setTimeout(()=>{},4e4)});function p(e,l){e&&l==="ITT_Mobile_Pagina7"&&(a.value=!0),e&&l==="banner-scroll-google"&&(t.value=!0)}function g(){a.value=!1}function m(){t.value=!1}return(e,l)=>{const d=h;return e.id==="ITT_Mobile_Pagina7"?(c(),f("div",x,[i("div",{class:s(["fixed z-999 h-full w-full bg-black/90",[n(a)?"flex":"hidden"]])},[i("div",{class:s(["fixed top-0 z-9999 w-full flex-col items-center justify-center bg-transparent",[n(a)?"h-full flex":"hidden"]])},[i("div",{class:s(["h-38px w-320px flex items-center justify-center bg-bluegray",[n(r)?"visible":"invisible"]]),onClick:g}," Saltar aviso ",2),u(d,{id:e.id,path:e.path,class:s(["!mb-0 !py-0",[n(a)?"w-320px h-480px flex":""]]),dimensions:e.dimensions,"size-mapping":e.sizeMapping,targeting:e.targeting,onRenderEnded:p},null,8,["id","path","class","dimensions","size-mapping","targeting"])],2)],2)])):(c(),f("div",z,[i("div",{class:s([n(t)?"w-full h-auto fixed bottom-0 z-99":"hidden"])},[i("div",{class:"relative mx-auto w-320px"},[i("div",{class:"absolute left-0 right-0 h-40px flex items-center justify-center bg-gray text-white -top-40px",onClick:m}," Cerrar Anuncio ")]),u(d,{id:e.id,path:e.path,class:s(["!mb-0 !py-0",[n(t)?"w-320px mx-auto":""]]),dimensions:e.dimensions,"size-mapping":e.sizeMapping,targeting:e.targeting,onRenderEnded:p},null,8,["id","path","class","dimensions","size-mapping","targeting"])],2)]))}}});export{k as _};