1import{_ as T,S as $,V as j,W as D,E,z as O,B as b,r as y,L as V,x as z,i as F,v as p,o as l,c,b as u,w as m,F as C,j as L,n as P,a as n,t as S,J as W,M as K,e as A,p as J,f as q}from"./entry.DS3bpOot.js";import{S as G,a as H}from"./swiper-slide.DpcKT85N.js";import{S as Q}from"./ScrollDown.Cve7qQhs.js";/* empty css */$.use([j,D]);const R={name:"MainSlider",components:{ScrollDown:Q,Swiper:G,SwiperSlide:H,Picture:E},props:{contentData:Object},methods:{scroll(i){document.getElementById(i).scrollIntoView({behavior:"smooth"})}},setup(i){const t=O(),x=b(()=>t.lang),a=b(()=>{var s;return(s=t==null?void 0:t.widgets)==null?void 0:s.slider_menu}),w=y(0);function v(s){return`data:image/svg+xml;base64,${btoa(s)}`}let d=null;const r=y(0),g=y(null);function f(s){d=s}function k(s){d.slideTo(s)}function e(){r.value=d.activeIndex}return V(()=>{var s;(s=t==null?void 0:t.widgets)!=null&&s.slider_menu||t.setWidgets(["slider_menu"])}),z(()=>{setTimeout(()=>{w.value++},500)}),F(()=>t==null?void 0:t.lang,()=>{t.setWidgets(["slider_menu"])},{deep:!0}),{props:i,SliderMenuList:a,currentLanguage:x,onSwiper:f,slideTo:k,onSlideChange:e,activeIndex:r,svgToString:v,sliderOverlay:g,updateKey:w}}},B=i=>(J("data-v-28a37401"),i=i(),q(),i),U={class:"hero-section"},X={class:"desc"},Y={class:"desc__title"},Z=B(()=>n("span",{class:"circle"},null,-1)),h=B(()=>n("svg",{viewBox:"0 0 40 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[n("path",{d:"M1 12L39 12L30 21",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),n("path",{d:"M31 1L38 7",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),N={class:"title"},ee=["data-for","onClick"],se={class:"scroll-overlay",ref:"sliderOverlay"};function te(i,t,x,a,w,v){const d=p("Picture"),r=A,g=p("swiper-slide"),f=p("swiper"),k=p("scroll-down");return l(),c("section",U,[u(f,{autoplay:{delay:6e3,disableOnInteraction:!1},effect:"fade",class:"slider",onSwiper:a.onSwiper,onSlideChange:a.onSlideChange},{default:m(()=>{var e,s,_;return[(l(!0),c(C,null,L((_=(s=(e=a.props)==null?void 0:e.contentData)==null?void 0:s.data)==null?void 0:_.list,(o,ne)=>(l(),P(g,{key:`slide_${o.key}`,class:"slide"},{default:m(()=>{var I,M;return[u(d,{devices:(I=o==null?void 0:o.image)==null?void 0:I[0].devices,class:"slide__image",alt:"Slider Image"},null,8,["devices"]),n("article",X,[n("h5",Y,S(o==null?void 0:o.title),1),u(r,{to:(M=o==null?void 0:o.link)==null?void 0:M.url,class:"more-button"},{default:m(()=>[Z,h,n("span",N,S(i.$t("see more")),1)]),_:2},1032,["to"])])]}),_:2},1024))),128))]}),_:1},8,["onSwiper","onSlideChange"]),u(k,{"scroll-id":"#wtc-section-main"}),(l(),c("div",{class:"slider-nav",key:a.updateKey},[n("ul",null,[(l(!0),c(C,null,L(a.SliderMenuList,(e,s)=>(l(),c("li",{key:`nav_${e==null?void 0:e.id}`,class:W({active:!0})},[u(r,{to:`${a.currentLanguage}/${e==null?void 0:e.url}`},{default:m(()=>[(l(),c("div",{class:"nav-btn","data-for":e.key,onClick:_=>a.slideTo(s),key:s},[n("span",{class:"icon",style:K({"background-image":`url(${a.svgToString(e==null?void 0:e.svg)})`})},null,4),n("span",null,S(e==null?void 0:e.title),1)],8,ee))]),_:2},1032,["to"])]))),128))])])),n("div",se,null,512)])}const ce=T(R,[["render",te],["__scopeId","data-v-28a37401"]]);export{ce 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.