System.register(["./souav-legacy-ptBXoxNy.js","./chunk-legacy-yjTd2Y_a.js","./chunk-legacy-B09Jcn0a.js","./chunk-legacy-DSWgnP8V.js","./chunk-legacy-Du0cmR-o.js","./chunk-legacy-CEUc4S30.js","./chunk-legacy-Dq4znTTY.js","./chunk-legacy-DhDQalG_.js","./chunk-legacy-B3dYxnqe.js","./chunk-legacy-DcCKlgmr.js","./chunk-legacy-CqjPx9Fo.js","./chunk-legacy-DpNjDkVD.js","./chunk-legacy-CFPzruGi.js","./chunk-legacy-B8g3VqiH.js","./chunk-legacy-CPNkfuO8.js"],function(l){"use strict";var e,n,a,c,t,u,s,i,o,d,h,f,g,r,y,k,j,v,x,w,m,p;return{setters:[l=>{e=l.a,n=l.N,a=l.f},l=>{c=l.S,t=l.a,u=l.P,s=l.N,i=l.A},l=>{o=l.C,d=l.r,h=l.P,f=l.Q,g=l.B,r=l.O,y=l.H,k=l.U,j=l.u,v=l.V,x=l.N,w=l.M,m=l.S,p=l.W},null,null,null,null,null,null,null,null,null,null,null,null],execute:function(C,S){const B=["onClick"];l("default",o({__name:"BottomFloatAdView",setup(l){const o=[u,s,i],C=e(),S=d(!0),b=d(!1),A=d(1),N=l=>{},_=()=>{};function F(l){b.value=!0,A.value=Math.floor(l.width*l.naturalHeight/l.naturalWidth)}return(l,e)=>S.value?(x(),h("div",{key:0,class:v(["fixed bottom-[56px] z-[20] flex w-full max-w-[480px] flex-col",b.value?"h-auto":"h-1"])},[b.value?(x(),h("i",{key:0,class:"iconfont icon-close self-end leading-none text-white/80",style:{"font-size":"25px"},onClick:e[0]||(e[0]=l=>S.value=!1)})):f("",!0),g(j(c),{spaceBetween:10,slidesPerView:1,centeredSlides:!0,autoplay:!0,pagination:{clickable:!0,dynamicBullets:!1,el:null},navigation:!1,loop:!1,modules:o,class:"flex w-full",onSwiper:N,onSlideChange:_},{default:r(()=>[(x(!0),h(y,null,k(j(C).bottomFloatAd,(l,e)=>(x(),w(j(t),{key:e},{default:r(()=>[m("div",{class:"relative flex w-full flex-col",onClick:e=>{return n=l,void a.clickAd(n);var n},style:p({height:`${A.value}px`})},[g(n,{"is-ad":!0,"ad-id":l.contentId,"ad-title":l.title,src:l.img,class:"flex w-full items-center justify-center object-contain",isNoLoading:!0,loadFinishCB:F},null,8,["ad-id","ad-title","src"])],12,B)]),_:2},1024))),128))]),_:1})],2)):f("",!0)}}))}}});
