PageSourceSearch

https://otobanana.com/_nuxt/BnLjG0vu.js

js otobanana.com collected 2026-09-24 10:35:20 UTC 2,093 bytes, 1 lines download raw bytes

1import{_ as z}from"./BuchrI5j.js";import{P as S,A as x,S as _}from"./CjPaw1jF.js";import{_ as d}from"./DZXlDvG6.js";import{e as $,m,g as u,T as B,y as P,c as t,a as V,P as A,Q as N,ad as g,o as i,i as I,w as T,b as h,a0 as F,_ as L}from"./OxIcw8id.js";const M=["onClick"],O={key:0,class:"single-pagination"},Q={key:1,class:"swiper-pagination"},R=$({__name:"Carousel",props:{images:{},isEvents:{type:Boolean,default:!1},width:{},height:{},sizes:{}},emits:["onClickSlide"],setup(e,{emit:p}){const s=e,{$cgtm:w}=m(),{$deviceCategory:v}=m(),f=u(()=>s.isEvents||s.images.length===1);let n=null;const k=u(()=>({modules:[S,x],slidesPerView:s.isEvents?1:"auto",spaceBetween:s.isEvents?10:16,loop:!0,autoplay:{delay:5e3},speed:1e3,breakpoints:{0:{centeredSlides:!0},768:{slidesPerView:f.value?1:2,centeredSlides:s.isEvents}},pagination:{el:".swiper-pagination",clickable:!0,bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active"}})),c=()=>{s.images.length>1&&(n&&(n.destroy(),n=null),n=new _(".swiper",k.value))};B(()=>{c()}),P(()=>v.value,()=>{c()});const C=p,r=o=>{s.isEvents&&C("onClickSlide",o);const l=F();"floor"in l.params&&l.name==="floor"&&w("TargetElementClick",{elementName:`${l.params.floor}-banner-item-${o}`})};return(o,l)=>{const y=z;return i(),t("div",{class:g(["swiper",[e.isEvents?"event-banner":"top-banner"]])},[V("div",{class:g(["swiper-wrapper",{"is-single":e.images.length===1}])},[(i(!0),t(A,null,N(e.images,(a,b)=>(i(),t("div",{key:b,class:"swiper-slide"},[e.isEvents?(i(),t("div",{key:1,class:"slide",onClick:E=>r(a.id)},[h(d,{preload:"",src:a.src,class:"slide-image",width:e.width,height:e.height,sizes:e.sizes,fit:"fill"},null,8,["src","width","height","sizes"])],8,M)):(i(),I(y,{key:0,to:a.url,onClick:E=>r(a.id)},{default:T(()=>[h(d,{preload:"",src:a.src,class:"slide-image",width:e.width,height:e.height,sizes:e.sizes,fit:"fill"},null,8,["src","width","height","sizes"])]),_:2},1032,["to","onClick"]))]))),128))],2),e.images.length===1?(i(),t("div",O)):(i(),t("div",Q))],2)}}}),H=L(R,[["__scopeId","data-v-44573fc7"]]);export{H as C};

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.