PageSourceSearch

https://prestashop.com/assets/BfqmrAxd.js

js prestashop.com collected 2026-10-01 06:44:21 UTC 2,584 bytes, 1 lines download raw bytes

1import{_ as S,a as B}from"./LnWqSZsM.js";import{w as x,c as C,a as E,u as k,r as h,b as L,o as R,d as $,e as p,f as A,g as P,h as o,i as f,j as m,n as T,_ as q,k as l,l as z}from"./C195q48v.js";import{m as H,p as O,g as j}from"./C8MTyml_.js";import{u as D}from"./B9QVcu1h.js";import"./De97mH3n.js";import"./BZksDqrC.js";import"./DisrVccy.js";import"./CkAK-7MZ.js";import"./Cht_sAem.js";import"./DU8xCoC6.js";import"./BAhcNolG.js";import"./C2nUFBGR.js";const ee={__name:"[...slug]",async setup(F){let i,d;var e=([i,d]=x(()=>j()),i=await i,d(),i);if(!e||e.status_code===404)throw C({statusCode:404,fatal:!0});e.seo&&H(e);const g=E(()=>!!e.acf.top_banner_activated);g.value&&k("isPageWithBanner",()=>!0);const b=k("hreflangs"),_=h(!1),r=h(null);if(D(),e.template=="expert"){const a={"@context":"https://schema.org","@type":"Organization",name:"PrestaShop",url:"",logo:e.acf.logo?e.acf.logo.url:""};L({script:[{type:"application/ld+json",children:JSON.stringify(a)}]})}const v=a=>{if(r.value){const s=r.value;s.querySelector(".sticky");const n=s.getBoundingClientRect();var t=document.querySelector("#footer"),c=100;const u=t.getBoundingClientRect().y;if(n.top*-1>window.innerHeight*.75&&u>c){_.value=!0;return}_.value=!1}},w=()=>{if(r.value){const t=r.value,c=document.querySelectorAll(".strate"),s=30,n=t.querySelector(".btn-sticky .cta");var a;window.addEventListener("scroll",u=>
1{c.forEach(y=>{y.getBoundingClientRect().y<s&&(a=y)}),n&&(a.classList.contains("b-color-2")?n.classList.add("cta--outline"):n.classList.remove("cta--outline"))})}};return R(()=>{if(setTimeout(()=>{window.addEventListener("scroll",v),w()},500),e&&(b.value=e.url_lang_menu,O(e.seo.title,e.seo.page),e.acf.enable_userflow)){const a=$();let t="fr-FR";switch(a.locale.value){case"en":t="en-US";break;case"es":case"mx":t="es-ES";break;case"it":t="it-IT";break;case"pl":t="pl-PL";break;case"ro":t="ro-RO";break;default:t="fr-FR";break}typeof p<"u"&&(p.init("ct_khzpidcinzd4horto6y4eor3ce"),p.identifyAnonymous({locale_code:`${t}`}))}}),A(()=>{window.removeEventListener("scroll",v)}),(a,t)=>{const c=S,s=B,n=q,u=z;return l(),P("div",{ref_key:"element",ref:r},[o(g)?(l(),f(c,{key:0,data:o(e)},null,8,["data"])):m("",!0),o(e)?(l(),f(s,{key:1,data:o(e)},null,8,["data"])):m("",!0),o(e)&&o(e).acf&&o(e).acf.conversion_link?(l(),f(n,{key:2,class:T(["btn-sticky",{active:o(_)}]),title:o(e).acf.conversion_link.title,href:o(e).acf.conversion_link.url,target:o(e).acf.conversion_link.target,outline:""},null,8,["class","title","href","target"])):m("",!0),o(e)?m("",!0):(l(),f(u,{key:3}))],512)}}};export{ee 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.