PageSourceSearch

https://www.bagageonline.nl/_nuxt/BkSiayMG.js

js bagageonline.nl collected 2026-10-06 04:36:02 UTC 2,813 bytes, 2 lines download raw bytes

1import D from"./CtV_YrtJ.js";import{d as E}from"./5Qrd390h.js";import{d as N,s as T,w as U,r as O,a as _,v as R,aU as F,o as l,c as a,n as p,f as k,k as W,t as g,h as x,l as q,F as d,q as C,m as K,g as M,W as Q,y as G,j as J,V as X,p as Y,H as Z}from"./9Ylq1tmp.js";import{A as ee}from"./ynUjWIU0.js";import"./Bsy_CJbM.js";import"./DlAUqK2U.js";import"./DiJH92bW.js";import"./bEwgrNxn.js";const te=window.setInterval,se={key:0,class:"usps__title"},ne=N({__name:"Usps",props:{title:{default:""},usps:{default:()=>[]},horizontal:{type:Boolean,default:!1},placement:{default:""}},async setup(b){let u,f;const n=b,{public:L}=T(),{data:y}=([u,f]=U(()=>X(E,{locale:L.strapiLocale})),u=await u,f(),u),m=O(0);let h;const w=_(()=>n.placement?`usps--${n.placement}`:void 0),$=_(()=>{var r,v;const e=(r=y.value)==null?void 0:r.dayOfWeek,o=(v=y.value)==null?void 0:v.deliveryPromise;if(!e||!o)return null;const s=Object.keys(o).find(j=>j.includes(`_${e}`));if(!s)return null;const t=o[s];if(!t)return null;const[c,...i]=s.split("_");return{name:c,key:i.join("_"),content:t}}),H=_(()=>{var e;return((e=$.value)==null?void 0:e.content)??""}),z=e=>{var s;return((s=e.Description)!=null&&s.length?e.Description:e.Label??"").replace("{dynamic-delivery-promise}",H.value)},P=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),B=e=>{var i;const o=z(e),s=(i=e.HighlightText)==null?void 0:i.trim();if(!s||!o)return[{text:o,highlighted:!1}];const t=new RegExp(`(${P(s)})`,"gi"),c=s.toLowerCase();return o.split(t).filter(r=>r.length>0).map(r=>({text:r,highlighted:r.toLowerCase()===c}))},I=e=>({"usps__highlight--bold":e==="bold"||e==="bold_underline","usps__highlight--underline":e==="underline"||e==="bold_underline"}),V=e=>e?/^#(?:[0-9a-f]{3}|[0-9a-f]{6})$/i.test(e.trim()):!1,A=e=>{if(V(e))return{color:e.trim()}},S=e=>e?ee:"span";return R(()=>{n.usps.length<=1||(h=te(()=>{m.value=(m.value+1)%n.usps.length},5e3))}),F(()=>{h&&clearInterval(h)}),(e,o)=>{const s=D;return n.usps.length?(l(),a("div",{key:0,class:p(["usps",k(w)])},[W(e.$slots,"default"),n.title?(l(),a("h3",se,g(n.title),1)):x("",!0),q("ul",{class:p(["usps__list",{"usps--horizontal":n.horizontal,"usps--vertical":!n.horizontal}])},[(l(!0),a(d,null,C(n.usps,(t,c)=>(l(),a("li",{key:t.id,class:p(["usps__item",{"usps__item--active":c===k(m)}])},[K(s,{class:"usps__icon usps__icon--check"}),(l(),M(Q(S(t.Link)),G({ref_for:!0},t.Link?{to:t.Link}:{},{class:"usps__label"}),{default:J(()=>[(l(!0),a(d,null,C(B(t),(i,r)=>(l(),a(d,{key:`${t.id}-${r}`},[i.highlighted?(l(),a("span",{key:0,class:p(["usps__highlight",I(t.HighlightStyle)]),style:Y(A(t.HighlightColor))},g(i.text),7)):(l(),a(d,{key:1},[Z(g(i.text),1)],64))],64))),128))]),_:2},1040))],2))),128))],2)],2)):x("",!0)}}}),de=Object.assign(ne,{__name:"AppUsps"});export{de as default};
2//# sourceMappingURL=BkSiayMG.js.map

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.