PageSourceSearch

https://www.ford.sn/_nuxt/BVw-kmBs.js

js ford.sn collected 2026-10-07 03:27:05 UTC 1,718 bytes, 1 lines download raw bytes

1import{o as _,f as g,k as i,d as y,x as C,m as p,l as B,B as w,s as c,C as u,e,D as S,p as k,E as L,t as h,g as z}from"./Bk_0yVAb.js";const D=window.setInterval,M={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"bi bi-x",viewBox:"0 0 16 16"};function N(m,r){return _(),g("svg",M,r[0]||(r[0]=[i("path",{d:"M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"},null,-1)]))}const V={render:N},$=["src"],P=y({__name:"NiwFormToast",props:{data:{default:void 0},interval:{default:1e3}},setup(m,{expose:r}){const v=C("useToast",()=>({show:!1})),o=m,l=p(!1),d=p(!1),t=p(0);let a=null;const s=B(()=>o.data||v.value),T=()=>{a&&clearInterval(a),a=D(()=>{!d.value&&t.value>0&&(t.value-=o.interval/1e3),t.value<=0&&f()},o.interval)},x=()=>{a&&(clearInterval(a),a=null)},I=()=>{d.value=!0},b=()=>{t.value>0&&(d.value=!1)},f=()=>{x(),o.data?l.value=!1:v.value.show=!1};return o.data||w(()=>v.value.show,n=>{l.value=n}),w(l,n=>{n&&(t.value=parseInt(s.value.duration),T())}),r({showToast:()=>l.value=!0,closeToast:f}),(n,E)=>c((_(),g("div",{class:k(`niw-form__toast niw-form__toast--${e(s).type}`),style:L({"--progress":e(t)*100/parseInt(e(s).duration)}),onMouseenter:I,onMouseleave:b},[S(n.$slots,"default",{},()=>[c(i("img",{class:"image",src:e(s).icon,width:"24",height:"24",loading:"lazy"},null,8,$),[[u,e(s).icon]]),c(i("p",{class:"title"},h(e(s).title),513),[[u,e(s).title]]),c(i("p",{class:"description"},h(e(s).description),513),[[u,e(s).description]]),i("button",{type:"button",class:"btn--close",onClick:f},[z(e(V),{class:"icon"})])])],38)),[[u,e(l)]])}});export{P as _};

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.