PageSourceSearch

https://www.ford.sn/_nuxt/DVizqMWK.js

js ford.sn collected 2026-10-07 03:28:24 UTC 5,467 bytes, 1 lines download raw bytes

1import{_ as Q}from"./C7VX0i3G.js";import{_ as U}from"./DmF4cqzz.js";import{g as C,S as W,a as X}from"./DuNVY9II.js";import{d as Y,m as Z,o as L,f as $,k as d,g as O,j as q,F as w,r as tt,h as z,e as b,v as et,t as x,i as at,p as j,_ as nt}from"./Bk_0yVAb.js";import"./DgAK1XwS.js";function ot({swiper:t,extendParams:D,on:o,emit:n,params:u}){t.autoplay={running:!1,paused:!1,timeLeft:0},D({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let c,y,f=u&&u.autoplay?u.autoplay.delay:3e3,m=u&&u.autoplay?u.autoplay.delay:3e3,a,s=new Date().getTime,T,h,g,A,k,i;function B(e){!t||t.destroyed||!t.wrapperEl||e.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",B),p())}const I=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?T=!0:T&&(m=a,T=!1);const e=t.autoplay.paused?a:s+m-new Date().getTime();t.autoplay.timeLeft=e,n("autoplayTimeLeft",e,e/f),y=requestAnimationFrame(()=>{I()})},R=()=>{let e;return t.virtual&&t.params.virtual.enabled?e=t.slides.filter(l=>l.classList.contains("swiper-slide-active"))[0]:e=t.slides[t.activeIndex],e?parseInt(e.getAttribute("data-swiper-autoplay"),10):void 0},E=e=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(y),I();let r=typeof e>"u"?t.params.autoplay.delay:e;f=t.params.autoplay.delay,m=t.params.autoplay.delay;const l=R();!Number.isNaN(l)&&l>0&&typeof e>"u"&&(r=l,f=l,m=l),a=r;const _=t.params.speed,V=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(_,!0,!0),n("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,_,!0,!0),n("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(_,!0,!0),n("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,_,!0,!0),n("autoplay")),t.params.cssMode&&(s=new Date().getTime(),requestAnimationFrame(()=>{E()})))};return r>0?(clearTimeout(c),c=setTimeout(()=>{V()},r)):requestAnimationFrame(()=>{V()}),r},N=()=>{t.autoplay.running=!0,E(),n("autoplayStart")},S=()=>{t.autoplay.running=!1,clearTimeout(c),cancelAnimationFrame(y),n("autoplayStop")},v=(e,r)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(c),e||(i=!0);const l=()=>{n("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",B):p()};if(t.autoplay.paused=!0,r){k&&(a=t.params.autoplay.delay),k=!1,l();return}a=(a||t.params.autoplay.delay)-(new Date().getTime()-s),!(t.isEnd&&a<0&&!t.params.loop)&&(a<0&&(a=0),l())},p=()=>{t.isEnd&&a<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(s=new Date().getTime(),i?(i=!1,E(a)):E(),t.autoplay.paused=!1,n("autoplayResume"))},F=()=>{if(t.destroyed||!t.autoplay.running)return;const e=C();e.visibilityState==="hidden"&&(i=!0,v(!0)),e.visibilityState==="visible"&&p()},M=e=>{e.pointerType==="mouse"&&(i=!0,v(!0))},P=e=>{e.pointerType==="mouse"&&t.autoplay.paused&&p()},G=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",M),t.el.addEventListener("pointerleave",P))},H=()=>{t.el.removeEventListener("pointerenter",M),t.el.removeEventListener("pointerleave",P)},J=()=>{C().addEventListener("visibilitychange",F)},K=()=>{C().removeEventListener("visibilitychange",F)};o("init",()=>{t.params.autoplay.enabled&&(G(),J(),s=new Date().getTime(),N())}),o("destroy",()=>{H(),K(),t.autoplay.running&&S()}),o("beforeTransitionStart",(e,r,l)=>{t.destroyed||!t.autoplay.running||(l||!t.params.autoplay.disableOnInteraction?v(!0,!0):S())}),o("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){S();return}h=!0,g=!1,i=!1,A=setTimeout(()=>{i=!0,g=!0,v(!0)},200)}}),o("touchEnd",()=>{if(!(t.destroyed||!t.autoplay.running||!h)){if(clearTimeout(A),clearTimeout(c),t.params.autoplay.disableOnInteraction){g=!1,h=!1;return}g&&t.params.cssMode&&p(),g=!1,h=!1}}),o("slideChange",()=>{t.destroyed||!t.autoplay.running||(k=!0)}),Object.assign(t.autoplay,{start:N,stop:S,pause:v,resume:p})}const lt={class:"slider-block"},st={class:"container"},rt=["onClick"],ut={class:"slider-block-item-dropdown"},it={class:"title2 font-medium"},dt={class:"font-light font-primary"},ct={class:"button"},yt=Y({__name:"SliderBlock",props:{data:{}},setup(t){const D=[ot],o=t,n=Z(-1),u=()=>{n.value=-1};return(c,y)=>{const f=Q,m=U;return L(),$("div",{class:j(["slider-block-wrapper",{activeDropdown:b(n)!==-1}])},[d("div",lt,[d("div",st,[O(b(X),{class:"slider-block-swiper",modules:D,autoplay:{delay:3e3,pauseOnMouseEnter:!0},"centered-slides":!0,loop:!0,onSlideChange:y[0]||(y[0]=a=>u())},{default:q(()=>[(L(!0),$(w,null,tt(o.data.items,(a,s)=>(L(),z(b(W),{key:s,class:j([{active:b(n)===s},"slider-block-item"])},{default:q(()=>[d("div",{class:"slider-block-item-label btn font-white",onClick:T=>b(n)===s?n.value=-1:n.value=s},[O(f,{src:o.data.imagePin.src,alt:o.data.imagePin.alt,title:o.data.imagePin.title,loading:"lazy"},null,8,["src","alt","title"]),et(" "+x(a.label)+" ",1),O(f,{src:o.data.imageArrow.src,alt:o.data.imageArrow.alt,title:o.data.imageArrow.title,loading:"lazy",class:"arrow"},null,8,["src","alt","title"])],8,rt),d("div",ut,[d("p",it,x(a.content.title),
11),d("p",dt,x(a.content.text),1),d("div",ct,[a.button.label?(L(),z(m,{key:0,data:a.button,"btn-class":"btn--secondary"},null,8,["data"])):at("",!0)])])]),_:2},1032,["class"]))),128))]),_:1})])])],2)}}}),_t=nt(yt,[["__scopeId","data-v-50600942"]]);export{_t 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.