import{S as a,P as e,N as l,A as s,a as i}from"./chunk-C68fSiJm.js";import{a as t,N as n,f as d}from"./souav-I_ihqEhP.js";import{C as o,P as c,Q as r,u,B as p,O as m,H as f,U as k,M as w,S as v,N as h}from"./chunk-BRI0aX6c.js";const y={key:0,class:"relative w-full"},S=["onClick"],b=o({__name:"BannerAdView",setup(o){const b=[e,l,s],g=t(),A=a=>{},_=()=>{};return(e,l)=>u(g).bannerAd.length>0?(h(),c("div",y,[p(u(a),{spaceBetween:10,slidesPerView:1,centeredSlides:!0,autoplay:{delay:3e3,disableOnInteraction:!1},pagination:{clickable:!0,dynamicBullets:!1,el:null},navigation:!1,loop:!1,modules:b,class:"mySwiper",onSwiper:A,onSlideChange:_},{default:m(()=>[(h(!0),c(f,null,k(u(g).bannerMax3Ad,(a,e)=>(h(),w(u(i),{key:e},{default:m(()=>[v("div",{class:"relative h-[100px] w-full",onClick:e=>u(d).clickAd(a)},[p(n,{"is-ad":!0,"ad-id":a.contentId,"ad-title":a.title,src:a.img,class:"h-full w-full object-cover",alt:a.title},null,8,["ad-id","ad-title","src","alt"])],8,S)]),_:2},1024))),128))]),_:1})])):r("",!0)}});export{b as _};
