PageSourceSearch

https://prestashop.it/assets/DRTWsokH.js

js prestashop.it collected 2026-09-26 17:02:20 UTC 24,433 bytes, 1 lines download raw bytes

1import{s as x,d as B,A,u as S,m as H,k as a,g as i,q as r,n as p,F as k,z as b,y as w,t as g,x as y,i as L,j as $,D as E,p as R,L as N,M as U,v as T,r as q,w as Z,o as D,h as m,B as j}from"./DJsG0gGE.js";import{u as M,_ as W,a as F}from"./Bj_fPoHe.js";import{_ as I}from"./ZEYaCOMS.js";import{u as z}from"./DZmxOrbb.js";import{_ as G}from"./C2qSJNUQ.js";import{_ as Y}from"./DLV5Ibux.js";const K=async()=>{x();const e=A(),{locale:t}=B();var o=!1;t.value,(e.public.node_env==="production"||e.public.node_env==="prerender")&&e.public.app_locale,e.public.nuxt_mode==="static"&&(o=!0);var c=e.public.hostApi;e.public.env!=="dev"&&(c=e.public.hostApi);const n="api-common-menu";console.log(o,"modeGenerate");const{data:h}=await M(`${c}/wp-json/prestashop/v1/menu`,{key:n,params:{lang:t,modeGenerate:o}},"$RUBXuyTdZE");return h},O={watch:{$route(e,t){this.closeNav()}},async setup(){return{data:await K()}},data(){const e=B(),t=this.arrangeData(this.data),o=e.locale.value,c=S("isPageWithBanner");return{mainActive:!1,nav:t,locale:o,pageWithBanner:c}},props:{version:{type:String,default:"original"}},mounted(){this.$el.querySelectorAll(".prevent").forEach(n=>{n.addEventListener("click",h=>{h.preventDefault()})});const t=this.$el.querySelector(".desktop");document.addEventListener("wheel",n=>{t.contains(n.target)&&(n.preventDefault(),n.stopPropagation(),n.target.closest(".has-scroll")&&(n.target.closest(".has-scroll").scrollTop+=n.deltaY))},{passive:!1});const o=this.$el.querySelectorAll(".desktop .expand");this.$el.querySelectorAll(".step > button").forEach(n=>{n.addEventListener("mouseover",()=>{n.closest(".step").querySelector(".expand.main ul").scrollTop=0})}),o.forEach(n=>{const h=n.id,d=n.querySelector(".inner ul");if(h){const u=this.$el.querySelector(`[aria-controls="${h}"]`),s=this.$el.querySelectorAll(".desktop [aria-controls]");u&&(this.initExpandSize(u,n),s.forEach(f=>{f!==u&&f.addEventListener("mouseover",()=>{setTimeout(()=>{d.scrollTop=0},300)})}),u.addEventListener("mouseover",()=>{this.initExpandSize(u,n),n.classList.add("active")}),u.addEventListener("mouseout",()=>{n.classList.remove("active")}),n.addEventListener("mouseover",()=>{n.classList.add("active")}),n.addEventListener("mouseout",f=>{n.classList.remove("active")}),u.closest("ul").addEventListener("scroll",f=>{n.classList.remove("active")}))}var _=this.hasScrollBar(d);_&&(d.classList.add("has-scroll"),d.addEventListener("scroll",u=>{const s=d.scrollTop/(d.scrollHeight-d.offsetHeight);this.version==="verse1"||this.version==="verse2"?d.style.setProperty("--scroll",`${Math.max(s,.05).toFixed(2)}`):d.style.setProperty("--scroll",`${s.toFixed(2)}`)}))})},methods:{initExpandSize(e,t){const o=e.getBoundingClientRect(),c=e.closest(".expand").getBoundingClientRect(),n=t.querySelector(".inner ul");t.style.maxHeight="",t.style.bottom="";var h=c.height-(o.top-c.top)-20;h>=c.height-20&&(h=c.height-20),h<70&&(h=100),h=window.innerHeight/2,n.style.maxHeight=`calc(${h}px)`;var d=t.getBoundingClientRect(),_=c.height-d.height-o.top+c.top;d.height>=c.height-20&&(_=0),_+d.height>c.height&&(_=c.height-d.height),_<0&&(_=0);var u=0;d=t.getBoundingClientRect(),u=o.top-d.top,u<0&&(u=0);let s=document.querySelector(".topBanner");if(s&&s.offsetHeight,this.version==="verse1"||this.version==="verse2"?(this.pageWithBanner&&s&&(u=u+s.offsetHeight/2),t.style.setProperty("--offset",`${u}px`)):(t.style.setProperty("--offset",`${u}px`),t.style.bottom=`calc(100% + ${_}px)`),this.version!=="original"&&t.classList.contains("--small")){this.pageWithBanner&&s?t.style.top=`calc(${o.top-s.offsetHeight}px - 2rem)`:t.style.top=`calc(${o.top}px - 2rem)`;const f=document.querySelector(".theHeader.--verse-2");if(!f)return;f.classList.contains("--scrolled")?t.style.top=`calc((${o.top}px) - 2rem)`:this.pageWithBanner&&s?t.style.top=`calc(${o.top-s.offsetHeight}px - 2rem)`:t.style.top=`calc(${o.top}px - 2rem)`}},hasScrollBar(e){const{scrollTop:t}=e;return t>0?!0:(e.scrollTop+=1,t===e.scrollTop?!1:(e.scrollTop=t,!0))},handleScroll(e){const t=document.querySelector('footer[role="footer"]'),o=document.querySelector("nav.main");if(o&&t){const c=t.getBoundingClientRect(),n=o.getBoundingClientRect(),h=c.top-window.innerHeight+30+n.height/2;o.style.setProperty("--offset",`${window.scrollY+c.top-n.height/2}px`),h<0?o.classList.add("fixed"):o.classList.remove("fixed")}},arrangeData(e){if(e)return e.forEach(t=>{this.addChecked(t)}),e},hover(e){const t=e.target.closest("li"),o=t.querySelector("ul"),c=t.closest("nav.main");if(!o)return;const n=c.getBoundingClientRect(),h=o.getBoundingClientRect(),d=n.y-h.y;if(d<0){t.style.setProperty("--offset",d+"px");return}t.style.setProperty("--offset","0px")},addChecked(e){e.checked=!1;for(var t=e.children;t.length>0;)t.forEach(o=>{o.checked=!1,o.active=!1,t=o.children});return e},expandNav(e){const t=e.target.getAttribute("data-index");if(!t)return;const o=e.target.getBoundingClientRect(),c=this.$el.querySelector(".secondary");c.style.setProperty("--active-width",`${o.width}px`),c.style.setProperty("--active-offset",`${o.x+o.width/2}px`),this.mainActive=!0,this.nav.forEach((n,h)=>
1{if(n.children&&n.children.forEach(d=>{d.checked=!1,d.active=!1}),n.active=!1,h==t){n.checked=!0;return}n.checked=!1})},closeNav(e){this.mainActive=!1,this.$el.querySelector(".secondary").style.setProperty("--active-width","0px"),this.nav.forEach((o,c)=>{o.active=!1,o.checked=!1})}}},X={class:"nav"},J={class:"desktop"},Q=["id"],ee=["to","target"],te=["href","target"],oe={key:2,class:"expand main"},se={class:"inner"},ne=["aria-controls"],re=["href","target","rel","data-index","data-length"],ae=["textContent"],le=["id"],ie={class:"inner"},ce=["href","target"],de=["textContent"],ue={class:"mobile"},he=["aria-controls","data-index"],pe={key:0,class:"icon"},fe=["href","target","rel"],ge={key:0,class:"icon"},_e=["id"],ve=["to","target"],me=["href","target"],ye=["data-index"],$e={key:0,class:"item"},ke=["href","target","rel"],be=["textContent"],we=["onClick"],Ce=["href","target","rel"],He=["textContent"],Se={key:2,class:"level1"},Le=["onClick"],Be=["data-index","data-parent"],Ve=["href","target","rel"],Ae=["textContent"];function Ee(e,t,o,c,n,h){const d=E,_=W,u=I;return a(),i("div",X,[r("div",J,[r("nav",{class:p(["main b-color-1",{active:e.mainActive}])},[(a(!0),i(k,null,b(e.nav,(s,f)=>(a(),i("div",{id:`nav-${f}`,class:p(["step",{active:s.checked}])},[s.children.length>0?(a(),i("button",{key:0,class:"title",to:s.url,target:s.target},[w(g(s.name)+" ",1),y(d)],8,ee)):(a(),i("a",{key:1,class:p(["title",{prevent:s.url=="#"}]),href:s.url,target:s.target},g(s.name),11,te)),s.children.length>0?(a(),i("div",oe,[r("div",se,[r("ul",null,[(a(!0),i(k,null,b(s.children,(l,C)=>(a(),i("li",{class:p({active:l.checked,children:l.children.length>0}),"aria-controls":`nav-${f}-${C}`},[r("a",{href:l.url,target:l.target,class:p({prevent:l.url=="#","--low-children":C<2&&l.children.length<3}),rel:l.target==="_blank"&&e.locale!=="en"?"nofollow":null,"data-index":C,"data-length":l.children.length},[w(g(l.name)+" ",1),r("span",{textContent:g(l.description)},null,8,ae),l.children.length>0?(a(),L(d,{key:0})):$("",!0)],10,re)],10,ne))),256))])])])):$("",!0),(a(!0),i(k,null,b(s.children,(l,C)=>(a(),i("div",null,[l.children.length>0?(a(),i("div",{key:0,class:p(["expand secondary",l.children.length<3?"--small":""]),id:`nav-${f}-${C}`},[r("div",ie,[r("ul",null,[(a(!0),i(k,null,b(l.children,(v,V)=>(a(),i("li",null,[r("a",{href:v.url,target:v.target,onClick:t[0]||(t[0]=P=>e.mainActive=!1),class:p({prevent:v.url=="#"})},[w(g(v.name)+" ",1),r("span",{textContent:g(v.description)},null,8,de)],10,ce)]))),256))])])],10,le)):$("",!0)]))),256))],10,Q))),256))],2)]),r("div",ue,[r("nav",{id:"nav",class:p(["secondary b-color-1",[{"main-active":e.mainActive}]])},[r("ul",null,[(a(!0),i(k,null,b(e.nav,(s,f)=>(a(),i("li",null,[s.children.length>0?(a(),i("button",{key:0,"aria-controls":`nav-${f}`,"data-index":f,onClick:t[1]||(t[1]=(...l)=>e.expandNav&&e.expandNav(...l)),class:p([{active:s.checked}])},[s.icon?(a(),i("span",pe,[y(_,{desktop:s.icon.url,alt:s.icon.alt,width:s.icon.width,height:s.icon.height},null,8,["desktop","alt","width","height"])])):$("",!0),w(" "+g(s.name),1)],10,he)):(a(),i("a",{key:1,href:s.url,target:s.target,rel:s.target=="_blank"?"noreferer,noopener":"",class:p({prevent:s.url=="#"})},[s.icon?(a(),i("span",ge,[y(_,{desktop:s.icon.url,alt:s.icon.alt,width:s.icon.width,height:s.icon.height},null,8,["desktop","alt","width","height"])])):$("",!0),w(" "+g(s.name),1)],10,fe))]))),256))])],2),r("nav",{class:p(["main b-color-1",{active:e.mainActive}])},[r("button",{class:"close",onClick:t[2]||(t[2]=(...s)=>e.closeNav&&e.closeNav(...s))},[y(u)]),(a(!0),i(k,null,b(e.nav,(s,f)=>(a(),i("div",{id:`nav-${f}`,class:p(["step",{active:s.checked}])},[s.children.length>0?(a(),i("button",{key:0,class:"title",to:s.url,target:s.target},[w(g(s.name)+" ",1),y(d)],8,ve)):(a(),i("a",{key:1,class:p(["title",{prevent:s.url=="#"}]),href:s.url,target:s.target},g(s.name),11,me)),s.children.length>0?(a(),i("ul",{key:2,class:p(["level0",{active:s.active}])},[(a(!0),i(k,null,b(s.children,(l,C)=>(a(),i("li",{class:p({active:l.checked,children:l.children.length>0}),"data-index":C,onMouseover:t[5]||(t[5]=(...v)=>e.hover&&e.hover(...v))},[l.children.length>0?(a(),i("div",$e,[r("a",{href:l.url,target:l.target,class:p({prevent:l.url=="#"}),rel:l.target==="_blank"&&e.locale!=="en"?"nofollow":null},[w(g(l.name)+" ",1),r("span",{textContent:g(l.description)},null,8,be),y(d)],10,ke),r("button",{onClick:v=>(l.checked=!0,s.active=!0)},[y(d)],8,we)])):(a(),i("a",{key:1,href:l.url,target:l.target,onClick:t[3]||(t[3]=v=>e.mainActive=!1),class:p({prevent:l.url=="#"}),rel:l.target==="_blank"&&e.locale!=="en"?"nofollow":null},[w(g(l.name)+" ",1),r("span",{textContent:g(l.description)},null,8,He)],10,Ce)),l.children.length>0?(a(),i("div",Se,[r("button",{class:"back js-back b-color-2 fw-700",onClick:v=>(l.checked=!1,s.active=!1)},[y(d),w(" "+g(l.name),1)],8,Le),r("ul",null,[(a(!0),i(k,null,b(l.children,(v,V)=>(a(),i("li",{"data-index":V,"data-parent":C},[r("a",{href:v.url,target:v.target,onClick:t[4]||(t[4]=P=>e.mainActive=!1),class:p({prevent:v.url=="#"}),rel:v.target==="_blank"&&e.locale!=="en"?"nofollow":null},[w(g(v.name)+" ",1),r("span",{textContent:g(v.description)},null,8,Ae)],10,Ve)],8,Be))),256))])])):$("",!0)],42,ye))),256))],2)):$("",!0)],10,_e))),256))],2)])])}const Pe=H(O,[["render",Ee]]),xe={props:{title:{type:String},href:{type:String},pattern:{type:Boolean},outline:{type:Boolean},target:{type:String},langs:{type:Array,default:[]}},watch:{langs:{immediate:!0,deep:!0,handler(e,t){this.langsRendered=this.arrangeData(e)}}},data(){const e=A();var t="",o=[],c=[{locale:"en",url:"contribnuxt-ps-dynamic.sooyoos.org"},{locale:"fr",url:"contribnuxt-ps-dynamic.sooyoos.org"},{locale:"it",url:"contribnuxt-ps-dynamic.sooyoos.org"},{locale:"es",url:"contribnuxt-ps-dynamic.sooyoos.org"},{locale:"pl",url:"contribnuxt-ps-dynamic.sooyoos.org"}],n=[{locale:"en",url:"nuxt.prestashop.testing.sooyoos.dev"},{locale:"fr",url:"nuxt.prestashop.testing.sooyoos.dev"},{locale:"it",url:"nuxt.prestashop.testing.sooyoos.dev"},{locale:"es",url:"nuxt.prestashop.testing.sooyoos.dev"},{locale:"pl",url:"nuxt.prestashop.testing.sooyoos.dev"}],h=[{locale:"en",url:"recettenuxt-ps-dynamic.sooyoos.org"},{locale:"fr",url:"recettenuxt-ps-dynamic.sooyoos.org"},{locale:"it",url:"recettenuxt-ps-dynamic.sooyoos.org"},{locale:"es",url:"recettenuxt-ps-dynamic.sooyoos.org"},{locale:"pl",url:"recettenuxt-ps-dynamic.sooyoos.org"}],d=[{locale:"en",url:"demoprestastatic.sooyoos.org"},{locale:"fr",url:"fr.demoprestastatic.sooyoos.org"},{locale:"it",url:"it.demoprestastatic.sooyoos.org"},{locale:"es",url:"es.demoprestastatic.sooyoos.org"},{locale:"pl",url:"pl.demoprestastatic.sooyoos.org"}],_=[{locale:"en",url:"prestashop.com"},{locale:"fr",url:"prestashop.fr"},{locale:"it",url:"prestashop.it"},{locale:"es",url:"prestashop.es"},{locale:"pl",url:"pl.prestashop.com"}];switch(n.forEach(u=>{e.public.hostFront.includes(u.url)&&(t="testing")}),h.forEach(u=>{e.public.hostFront.includes(u.url)&&(t="recette")}
1),c.forEach(u=>{e.public.hostFront.includes(u.url)&&(t="contrib")}),d.forEach(u=>{e.public.hostFront.includes(u.url)&&(t="previsu")}),t||(t="prod"),t){case"testing":o=n;break;case"recette":o=h;break;case"contrib":o=c;break;case"previsu":o=d;break;case"prod":o=_;break;default:o=_;break}return{host:t,urls:o,langsRendered:this.arrangeData(this.langs),active:!1}},methods:{getUrl(e){var t="https://";return this.urls.forEach(o=>{o.locale==e&&(t+=o.url)}),t},getHref(e,t){const{$analytics:o}=R();let c=`${this.getUrl(e)}${t}`;if(o&&o.instance&&o.instance.user){const n=o.instance.user().anonymousId();n&&(c+="?ajs_aid="+n)}return c},getRel(e){return e==="en"?null:"nofollow"},open(e){this.active=!this.active},close(e){if(this.active){const t=this.$el.querySelector(".expand");let o=e.target;do{if(o==t)return;o=o.parentNode}while(o);setTimeout(()=>{this.active==!0&&(this.active=!1)},100)}},arrangeData(e){const t=R().$i18n,o=t.locale;var c=[],n=t.locales.value;return n=[{code:"en",name:"English"},{code:"fr",name:"Français"},{code:"es",name:"Español (España)"},{code:"it",name:"Italiano"},{code:"pl",name:"Polski"}],e.forEach(h=>{var d=!1;n.forEach(u=>{u.code==h.lang&&(d=u.name)});const _=h.href;d&&c.push({code:h.lang,url:_,name:d,checked:h.lang==o.value})}),c}}},Me={key:0,class:"cta-select"},Re=["href","rel"];function qe(e,t,o,c,n,h){const d=E,_=N("click-outside");return e.langs&&e.langsRendered.length>1?(a(),i("div",Me,[U((a(),i("button",{onClick:t[0]||(t[0]=(...u)=>e.open&&e.open(...u)),class:p(["buttonLang",{"--active":e.active}])},[r("span",null,[w(g(e.$i18n.locale)+" ",1),y(d)])],2)),[[_,e.close]]),r("div",{class:p(["expand b-color-1",{active:e.active}])},[r("ul",null,[(a(!0),i(k,null,b(e.langsRendered,u=>(a(),i("li",{key:u.code},[r("a",{href:`${e.getHref(u.code,u.url)}`,class:p({active:u.checked}),rel:e.getRel(u.code)},g(u.name),11,Re)]))),128))])],2)])):$("",!0)}const Te=H(xe,[["render",qe]]),Fe={props:{title:{type:String},href:{type:String},pattern:{type:Boolean},outline:{type:Boolean},target:{type:String},type:{type:String,default:"link"},icon:{type:Boolean,default:!0},iconUrl:{type:Object},nofollow:{type:Boolean,default:!1}},data(){var e="";const t=B();return this.target=="_blank"&&(e="noreferer,noopener"),this.nofollow&&t.locale.value!=="en"&&(e.length>0&&(e+=","),e+="nofollow"),{rel:e}}},Ne=["href","target","rel"],Ue={class:"cta-login-text"},Ze={key:0,class:"cta-login-icon"},De=["src","alt"];function je(e,t,o,c,n,h){return a(),i("div",null,[r("a",{href:e.href,class:p(["cta-login",[{"cta-login--pattern":e.pattern},{"cta-login--outline":e.outline}]]),target:e.target,rel:e.rel},[r("span",null,[r("span",Ue,g(e.title),1),e.iconUrl?(a(),i("span",Ze,[r("img",{src:`${e.$config.public.hostAssets}${e.iconUrl.url}`,alt:e.iconUrl.alt},null,8,De)])):$("",!0)])],10,Ne)])}const We=H(Fe,[["render",je]]),Ie={props:{pattern:{type:Boolean},outline:{type:Boolean},icon:{type:Boolean,default:!0}}},ze=r("span",{class:"text"},null,-1);function Ge(e,t,o,c,n,h){const d=E;return a(),i("div",null,[r("a",{class:p(["cta-conversion hide",[{"cta-conversion--pattern":e.pattern},{"cta-conversion--outline":e.outline}]])},[r("span",null,[ze,e.icon?(a(),L(d,{key:0})):$("",!0)])],2)])}const Ye=H(Ie,[["render",Ge]]),Ke=async()=>{x();const e=A(),{locale:t}=B();var o=!1;t.value,(e.public.node_env==="production"||e.public.node_env==="prerender")&&e.public.app_locale,e.public.nuxt_mode==="static"&&(o=!0);var c=e.public.hostApi;e.public.env!=="dev"&&(c=e.public.hostApi);const n="api-common-header",{data:h}=await M(`${c}/wp-json/prestashop/v1/header`,{key:n,params:{lang:t,modeGenerate:o}},"$wK2VVzynhj");return h},Oe="data:image/svg+xml,%3csvg%20width='567'%20height='63'%20viewBox='0%200%20567%2063'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%201.10001H23.26C39.95%201.10001%2047.52%2012.68%2047.52%2022.71C47.52%2032.74%2039.95%2044.32%2023.26%2044.32H15.96V61.74H0V1.10001ZM21.7%2030.65C28.08%2030.65%2031.09%2026.82%2031.09%2022.72C31.09%2018.62%2028.08%2014.79%2021.7%2014.79H15.95V30.66H21.7V30.65Z'%20fill='white'/%3e%3cpath%20d='M55.78%201.10001H78.94C95.63%201.10001%20103.02%2012.68%20103.02%2022.71C103.02%2028.91%20100.19%2035.57%2094.27%2039.85L105.12%2061.74H87.15L78.76%2044.32H71.74V61.74H55.78V1.10001ZM77.03%2030.65C83.5%2030.65%2086.61%2026.82%2086.61%2022.72C86.61%2018.62%2083.51%2014.79%2077.03%2014.79H71.74V30.66H77.03V30.65Z'%20fill='white'/%3e%3cpath%20d='M113.93
1%201.10001H153.97V14.32H129.89V24.62H150.5V37.84H129.89V48.51H154.97V61.73H113.93V1.10001Z'%20fill='white'/%3e%3cpath%20d='M162.79%2041.13H178.93C179.2%2046.78%20184.31%2049.16%20189.14%2049.16C193.52%2049.16%20197.71%2047.24%20197.71%2044.05C197.71%2035.2%20163.69%2042.23%20163.69%2018.88C163.69%207.39%20173.54%200%20187.13%200C204%200%20212.39%2010.12%20213.03%2022.16H196.89C196.62%2016.87%20192.79%2013.68%20187.68%2013.68C183.3%2013.68%20180.11%2015.14%20180.11%2018.7C180.11%2029.37%20214.13%2020.16%20214.13%2044.05C214.13%2055.45%20204.01%2062.84%20189.42%2062.84C173.55%2062.84%20163.52%2055.18%20162.79%2041.14V41.13Z'%20fill='white'/%3e%3cpath%20d='M234.08%2015.23H217.03V1.09003H267.19V15.23H250.04V61.74H234.08V15.23Z'%20fill='white'/%3e%3cpath%20d='M282.99%201.10001H302.96L323.75%2061.75H306.88L303.5%2050.9H281.98L278.61%2061.75H262.1L282.98%201.10001H282.99ZM299.32%2037.67L292.75%2016.88L286.18%2037.67H299.31H299.32Z'%20fill='white'/%3e%3cpath%20d='M326.27%2041.13H342.41C342.68%2046.78%20347.79%2049.16%20352.62%2049.16C357%2049.16%20361.19%2047.24%20361.19%2044.05C361.19%2035.2%20327.17%2042.23%20327.17%2018.88C327.17%207.39%20337.02%200%20350.61%200C367.48%200%20375.87%2010.12%20376.51%2022.16H360.37C360.1%2016.87%20356.27%2013.68%20351.16%2013.68C346.78%2013.68%20343.59%2015.14%20343.59%2018.7C343.59%2029.37%20377.61%2020.16%20377.61%2044.05C377.61%2055.45%20367.49%2062.84%20352.9%2062.84C337.03%2062.84%20327%2055.18%20326.27%2041.14V41.13Z'%20fill='white'/%3e%3cpath%20d='M387.34%201.10001H403.3V24.36H424.91V1.10001H440.87V61.75H424.91V37.58H403.3V61.75H387.34V1.10001Z'%20fill='white'/%3e%3cpath%20d='M449.55%2031.28C449.55%2012.68%20461.95%200%20480.1%200C498.25%200%20510.74%2012.68%20510.74%2031.28C510.74%2049.88%20498.34%2062.83%20480.1%2062.83C461.86%2062.83%20449.55%2050.06%20449.55%2031.28ZM480.1%2049.15C488.58%2049.15%20494.33%2041.85%20494.33%2031.28C494.33%2020.71%20488.58%2013.68%20480.1%2013.68C471.62%2013.68%20465.96%2020.79%20465.96%2031.28C465.96%2041.77%20471.71%2049.15%20480.1%2049.15Z'%20fill='white'/%3e%3cpath%20d='M519.41%201.10001H542.66C559.35%201.10001%20566.92%2012.68%20566.92%2022.71C566.92%2032.74%20559.35%2044.32%20542.66%2044.32H535.36V61.74H519.4V1.10001H519.41ZM541.12%2030.65C547.5%2030.65%20550.51%2026.82%20550.51%2022.72C550.51%2018.62%20547.5%2014.79%20541.12%2014.79H535.37V30.66H541.12V30.65Z'%20fill='white'/%3e%3c/svg%3e",Xe={class:"grid"},Je={class:"theHeader__container"},Qe={class:"theHeader__container__left"},et=["href"],tt=r("img",{class:"dark",alt:"Prestashop",src:F},null,-1),ot=r("img",{class:"light",alt:"Prestashop",src:Oe},null,-1),st=[tt,ot],nt={class:"actions"},zt={__name:"index",async setup(e){let t,o;const c=T();q(!1);const n=([t,o]=Z(()=>Ke()),t=await t,o(),t),h=S("header-color",()=>"b-color-1"),d=S("hreflangs"),_=S("isPageWithBanner"),u=q(!1),{header_version:s}=z();return D(()=>{u.value=!0,setTimeout(()=>{document.querySelector(".theHeader").classList.remove("--loading");const f=document.querySelector("nav.main");(s.value==="verse1"||s.value==="verse2")&&f.classList.remove("b-color-1","b-color-2","b-color-3","b-color-4","b-color-5","b-color-6","b-color-7","b-color-8","b-color-9","b-color-10")},1e3),s.value==="verse2"&&window.addEventListener("scroll",()=>{const f=document.querySelector(".theHeader.--verse-2");f&&(window.scrollY>=50?f.classList.add("--scrolled"):f.classList.remove("--scrolled"))})}),(f,l)=>{const C=Pe,v=Te,V=We,P=Ye;return a(),i("header",{role:"banner",class:p(["theHeader --loading",[m(h),{"--has-banner":m(_)},m(s)==="verse1"?"--verse-1":m(s)==="verse2"?"--verse-2":""]])},[r("div",Xe,[r("div",Je,[r("div",Qe,[r("a",{class:p(["logo",{loaded:m(u)}]),href:m(c)("index"),title:"Prestashop"},st,10,et),m(s)!=="original"?(a(),L(C,{key:0,version:m(s)},null,8,["version"])):$("",!0)]),r("div",nt,[y(v,{langs:m(d)},null,8,["langs"]),m(n).link?(a(),L(V,{key:0,title:m(n).link.title,icon:!0,iconUrl:m(h)==="b-color-2"||m(h)==="b-image"?m(n).icon:m(n).iconWhite,href:m(n).link.url,target:m(n).link.target,nofollow:!0,pattern:""},null,8,["title","iconUrl","href","target"])):$("",!0),y(P,{pattern:""})])])])],2)}}},rt={props:{title:{type:String,required:!1},href:{type:String}}},at=["href"];function lt(e,t,o,c,n,h){const d=E;return a(),i("a",{class:"lk1 fw-700",href:e.href},[w(g(e.title)+" ",1),y(d)],8,at)}const it=H(rt,[["render",lt]]),ct={props:{name:{type:String},title:{type:String},reverse:{type:Boolean},checked:{type:Boolean}}},dt=["id","name","checked"],ut=["for","textContent"];function ht(e,t,o,c,n,h){return a(),i("div",{class:p(["form-toggle",{"form-toggle--reverse":e.reverse}])},[r("input",{id:e.name,type:"checkbox",name:e.name,checked:e.checked},null,8,dt),r("label",{for:e.name,textContent:g(e.title)},null,8,ut)],2)}const pt=H(ct,[["render",ht]]),ft=async()=>{x();const e=A(),{locale:t}=B();var o=!1;t.value,(e.public.node_env==="production"||e.public.node_env==="prerender")&&e.public.app_locale,e.public.nuxt_mode==="static"&&(o=!0);var c=e.public.hostApi;e.public.env!=="dev"&&(c=e.public.hostApi);const n="api-common-footer",{data:h}=await M(`${c}/wp-json/prestashop/v1/footer`,{key:n,params:{lang:t,modeGenerate:o}},"$VDFf3NajLN");return h},gt={async setup(){const e=S("accessibility-font",()=>!1);return T(),{accessibilityFont:e,data:await ft()}},mounted(){var e=localStorage.getItem("accessibility-font")?localStorage.getItem("accessibility-font"):!1;e=="true"?e=!0:e=!1,localStorage.setItem("accessibility-font",e),this.accessibilityFont=e},methods:{switchAccessibilityFont(e){const t=e.target.checked;localStorage.setItem("accessibility-font",t),this.accessibilityFont=t}}},_t={role:"contentinfo",id:"footer"},vt={class:"grid"},mt={class:"grid row start"},yt={class:"col-lg-7"},$t=["innerHTML"],kt={class:"col-lg-5 space-v"},bt=["innerHTML"],wt={class:"grid row center"},Ct={class:"col-lg-8 col-xlg-9"},Ht=["href"],St=r("img",{src:F,alt:"Prestashop"},null,-1),Lt=[St],Bt={class:"mains"},Vt={class:"main"},At={class:"main"},Et={class:"col-lg-4 col-xlg-3 right space-v"},Pt={class:"socials"},xt={class:"grid row"},Mt={class:"col-lg-8"},Rt={class:"secondary"},qt=["href"],Tt={class:"col-lg-4 copyright"},Ft=["innerHTML"];function Nt(e,t,o,c,n,h){const d=j,_=G,u=it,s=pt,f=Y;return a(),i("footer",_t,[r("div",vt,[r("div",null,[r("div",mt,[r("div",yt,[e.data.title?(a(),L(d,{key:0,title:e.data.title,level:4},null,8,["title"])):$("",!0),e.data.mention?(a(),i("div",{key:1,class:"desktop rte",innerHTML:e.data.mention},null,8,$t)):$("",!0)]),r("form",kt,[y(_,{script:e.data.newsletter_script},null,8,["script"]),e.data.mention?(a(),i("div",{key:0,class:"mobile rte",innerHTML:e.data.mention},null,8,bt)):$("",!0)])]),r("div",wt,[r("div",Ct,[r("a",{class:"logo",href:e.localePath("index"),title:"Prestashop"},Lt,8,Ht),r("div",Bt,[r("ul",Vt,[(a(!0),i(k,null,b(e.data.secondaryPages,l=>(a(),i("li",null,[y(u,{title:l.link.title,href:l.link.url,target:l.link.target,rel:"nofollow"},null,8,["title","href","target"])]))),256))]),r("ul",At,[(a(!0),i(k,null,b(e.data.tertiaryPages,l=>(a(),i("li",null,[y(u,{title:l.link.title,href:l.link.url,target:l.link.target,rel:"nofollow"},null,8,["title","href","target"])]))),256))])])]),r("div",Et,[y(s,{name:"accessibility-font",title:e.$t("switch_typeface"),onChange:e.switchAccessibilityFont,checked:e.accessibilityFont},null,8,["title","onChange","checked"]),r("ul",Pt,[(a(!0),i(k,null,b(e.data.socialLinks,l=>(a(),i("li",null,[y(f,{title:l.footer_social_link_type,type:l.footer_social_link_type,href:l.footer_social_link_url},null,8,["title","type","href"])]))),256))])])]),r("div",xt,[r("div",Mt,[r("ul",Rt,[(a(!0),i(k,null,b(e.data.quartenaryPages,l=>(a(),i("li",null,[r("a",{href:l.link.url,rel:"nofollow"},g(l.link.title),9,qt)]))),256))])]),r("div",Tt,[r("p",{class:"color-8",innerHTML:e.data.copyright},null,8,Ft)])])])])])}const Gt=H(gt,[["render",Nt]]);export{zt as _,Pe as a,Gt as b,it as c};

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.