1"use strict";(self.webpackChunksisca_websites=self.webpackChunksisca_websites||[]).push([[8815],{57425:(e,t,s)=>{s.d(t,{A:()=>m});var n=s(22555),a=s(41018),r=s(76086),i=s(86668),o=s(34240),c=s(16629),l=s(60712);const u={[c.dw]:"InStock",[c.bj]:"OutOfStock",[c.Zy]:"BackOrder"},d={0:"Monday",1:"Tuesday",2:"Wednesday",3:"Thursday",4:"Friday",5:"Saturday",6:"Sunday"};function m(e){let{jsonLd:t}=e;return(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}})}m.Organization=function(){const e={"@context":"https://schema.org","@type":"Organization",url:a.$.site_url,name:a.$.site_name,logo:a.$.site_logo,telephone:a.$.site_phone};return Object.keys(a.$.site_social_networks).length>0&&(e.sameAs=Object.values(a.$.site_social_networks)),(0,l.jsx)(m,{jsonLd:e})},m.WebSite=function(){const e={"@context":"https://schema.org","@type":"WebSite",name:a.$.site_name,url:a.$.site_url,alternateName:a.$.site_description,potentialAction:{"@type":"SearchAction",target:"".concat(a.$.site_url,"/produits/recherche?").concat(r.XS,"={").concat(r.XS,"}"),"query-input":"required name=".concat(r.XS)}};return(0,l.jsx)(m,{jsonLd:e})},m.Breadcrumbs=function(e){let{breadcrumbs:t}=e;if(!t.length)return null;const s=t.map(((e,t)=>({"@type":"ListItem",position:t+1,item:{"@id":e.uri?a.$.site_url+e.uri:document.location.href,name:e.title}})));if(!s.length)return null;const n={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:s};return(0,l.jsx)(m,{jsonLd:n})},m.LocalBusiness=function(e){var t;let{store:s}=e;const n=s.images[0],r=null===(t=s.getDefaultRoom())||void 0===t?void 0:t.opening_hours,i=[];r&&r.forEach(((e,t)=>{e.forEach((e=>{e[0]&&e[1]&&i.push({"@type":"OpeningHoursSpecification",dayOfWeek:[d[t]],opens:e[0],closes:e[1]})}))}));const o={"@context":"https://schema.org","@type":"LocalBusiness",image:(null===n||void 0===n?void 0:n.urls.default)||"",name:s.name,address:{"@type":"PostalAddress",streetAddress:"".concat(a.$.site_name," ").concat(s.name,", ").concat(s.address),postalCode:s.postal_code,addressLocality:s.town,addressCountry:"FR"},geo:{"@type":"GeoCoordinates",latitude:s.latitude,longitude:s.longitude},telephone:s.phone,priceRange:"$$$",openingHoursSpecification:i};return(0,l.jsx)(m,{jsonLd:o})},m.Product=function(e){var t;let{product:s}=e;const a={"@context":"https://schema.org","@type":"Product",sku:s.ean13||s.reference,brand:{"@type":"Brand",name:(null===(t=s.brand)||void 0===t?void 0:t.name)||""},image:s.images.map((e=>e.urls.default)),name:s.name,category:s.category.name,description:(0,o.QZ)(s.description),offers:(0,n.A)({"@type":"Offer",priceCurrency:i.A.isoCode,price:s.price_public},s.availability?{availability:u[s.availability]}:{})};return(0,l.jsx)(m,{jsonLd:a})},m.Products=function(e){let{categoryName:t,categoryImage:s,productsCount:n,priceMin:a,priceMax:r}=e;const o={"@context":"https://schema.org","@type":"Product",name:t,image:s,offers:{"@type":"AggregateOffer",offerCount:n,priceCurrency:i.A.isoCode,lowPrice:a,highPrice:r}};return(0,l.jsx)(m,{jsonLd:o})}},20753:(e,t,s)=>{s.d(t,{A:()=>r});var n=s(88838),a=s(60712);function r(){return(0,a.jsx)(n.A,{variant:"danger",children:"Erreur lors de l'initialisation du captcha."})}},16183:(e,t,s)=>{s.d(t,{A:()=>c});var n=s(22555),a=s(80045),r=s(81369),i=s(60712);const o=["children"];function c(e){let{children:t}=e,s=(0,a.A)(e,o);return(0,i.jsx)("section",(0,n.A)((0,n.A)({},s),{},{className:(0,r.cn)("form-block bg-light-subtle rounded p-4 p-lg-5",s.className),children:t}))}},57513:(e,t,s)=>{s.d(t,{A:()=>c});var n=s(22555),a=s(80045),r=s(81369),i=s(60712);const o=["children"];function c(e){let{children:t}=e,s=(0,a.A)(e,o);return(0,i.jsx)("div",(0,n.A)((0,n.A)({},s),{},{className:(0,r.cn)("row row-cols-1 row-cols-lg-2 gx-4 gy-3",s.className),children:t}))}},43712:(e,t,s)=>{s.d(t,{B:()=>p});var n=s(20454),a=s(22555),r=s(80045),i=s(57425),o=s(81369),c=s(50489),l=s(11620),u=s(82376),d=s(60712);const m=["crumbs","isLoading","count","variant"];function p(e){let{crumbs:t=[],isLoading:s,count:n=3,variant:c}=e,l=(0,r.A)(e,m);return t.length?(0,d.jsxs)(d.Fragment,{children:[!s&&(0,d.jsx)(i.A.Breadcrumbs,{breadcrumbs:t}),(0,d.jsx)("nav",(0,a.A)((0,a.A)({"aria-label":"Breadcrumbs"},l),{},{className:(0,o.cn)("breadcrumbs","main"===c&&"container-fluid py-2 fs-sm",l.className),children:(0,d.jsxs)("ol",{className:"d-flex flex-wrap list-unstyled m-0",children:[s&&Array.from(Array(n).keys()).map((e=>{const t=0===e;return(0,d.jsxs)("li",{className:"pe-2",children:[!t&&(0,d.jsx)(h,{className:"text-body-tertiary"}),(0,d.jsx)(g,{})]},e)})),!s&&t.map(((e,t)=>{const s=0===t;return(0,d.jsxs)("li",{className:"pe-2",children:[!s&&(0,d.jsx)(h,{}),e.uri?(0,d.jsx)(u.N_,{to:e.uri,children:e.title}):e.title]},t)}))]})}))]}):null}function h(e){let t=Object.assign({},((0,n.A)(e),e));return(0,d.jsx)(l.A,(0,a.A)((0,a.A)({},t),{},{size:11,className:(0,o.cn)("me-2",t.className)}))}function g(){return(0,d.jsx)(c.A,{animation:"glow",as:"span",className:"pe-2",children:(0,d.jsx)(c.A,{className:"rounded",style:{width:"2.5rem"}})})}},18092:(e,t,s)=>{s.d(t,{V:()=>o});var n=s(76911),a=s(25170),r=s(82376),i=s(60712);function o(e){let{children:t}=e;return(0,i.jsxs)("div",{className:"text-center",children:[(0,i.jsx)(n.O,{title:"404 Page introuvable"}),(0,i.jsx)("h1",{className:"fw-bold-spaced mb-4",children:"Erreur 404"}),t||(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:"h3",children:"Vous \xeates perdu ?"}),(0,i.jsx)("p",{children:"D\xe9sol\xe9, mais la page que vous cherchez n'existe pas."})]}),(0,i.jsx)(r.N_,{to:(0,a.U)("/"),className:"btn btn-primary shadow-sm mt-4",children:"Retour \xe0 la page d'accueil"})]})}},24976:(e,t,s)=>{s.d(t,{N:()=>d});var n=s(18092),a=s(30787),r=s(219),i=s(60712);function o(){return(0,i.jsxs)("div",{className:"d-flex align-items-center justify-content-center gap-2 flex-column text-center",children:[(0,i.jsx)(r.A,{size:45,className:"text-body-tertiary mb-2"}),(0,i.jsx)("h1",{className:"fw-bold-spaced mb-4",children:"Erreur 500"}),(0,i.jsx)("p",{className:"mb-2",children:"La page que vous recherchez est temporairement indisponible. Nos \xe9quipes sont au travail."}),(0,i.jsx)("p",{children:"Nous vous prions de bien vouloir nous en excuser."}),(0,i.jsx)(a.A,{})]})}var c=s(36331),l=s(25520),u=s(82376);function d(){var e;const t=(0,u.r5)();let s;if(t instanceof Response||(0,u.pX)(t)){const e=null===t||void 0===t?void 0:t.status;404===e?s=(0,i.jsx)(n.V,{}):e>=500&&(s=(0,i.jsx)(o,{}))}return!s&&console.error(t),null!==(e=s)&&void 0!==e||(s=(0,i.jsx)(c.A,{})),(0,i.jsx)(l.g,{className:"min-vh-lg-50 p-5 d-flex justify-content-center align-items-center",children:s})}},77725:(e,t,s)=>{s.d(t,{A:()=>r});var n=s(22555),a=s(59284);function r(e){const[t,s]=(0,a.useState)(e);return{formValues:t,setFormValues:function(e){s((0,n.A)((0,n.A)({},t),e))}}}},86110:(e,t,s)=>{s.d(t,{A:()=>i});var n=s(16629),a=s(59284);const r="server_error";function i(){const[e,t]=(0,a.useState)(),s=!0===(null===e||void 0===e?void 0:e.success);return{submitResponse:e,setSubmitResponse:t,isFormSuccess:s,setSubmitResponseSuccess:function(e){t({success:!0,message:e})},setSubmitResponseError:async function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"La requ\xeate a \xe9chou\xe9.";const a=await e.json();let i=s;(0,n.cH)(a)&&a.code!==r&&(i=a.message),t({success:!1,message:i})}}}},38105:(e,t,s)=>{s.r(t),s.d(t,{ErrorBoundary:()=>R,clientLoader:()=>k,default:()=>P});var n=s(22555),a=s(39064),r=s(88838),i=s(20753),o=s(16183),c=s(57513),l=s(1606),u=s(2456),d=s(43712),m=s(24976),p=s(25520),h=s(76911),g=s(77725),f=s(86110),y=s(25170),v=s(44664),b=s(81369),x=s(41018),j=s(21598),A=s(58118),w=s(16629),N=s(59284),C=s(60712);const S="Nous contacter",_={value:"",label:"Choisir une option"},L="Particulier",O="Professionnel",E={type:O,lastname:"",firstname:"",email:"",society:"",town:"",phone:"",message:"",by_phone:!1,by_mail:!1,store_id:""};const k=async()=>((0,A.GS)(),null);function P(){const e=(0,N.use)(a.R),t=(0,N.useRef)(null),[s,m]=(0,N.useState)(!1),[A,k]=(0,N.useState)(!1),[P,R]=(0,w.xk)((()=>new w.KD)),{formValues:V,setFormValues:$}=(0,g.A)(e.isLoggedIn?function(){return(0,n.A)((0,n.A)({},E),{},{lastname:e.name,email:e.email,town:e.getDeliveryAddress().town,phone:(t=e.phone,t.replace(/ /g,"").replace(/\./g,"")),store_id:e.store.id});var t}():E),{submitResponse:B,isFormSuccess:q,setSubmitResponseSuccess:z,setSubmitResponseError:F}=(0,f.A)(),{isError:T}=(0,j.l)(x.$.google_recaptcha_site_key);return(0,N.useEffect)((()=>{!async function(){P.setItems((await v.FH.getStores()).map((e=>new w.il(e)))),P.filterVisible(),P.filterPlatforms(),P.sortByDisplayName()}()}),[]),(0,C.jsxs)(p.g,{className:"min-vh-lg-50 bg-body-light",children:[(0,C.jsx)(h.O,{title:S,description:"N'h\xe9sitez pas \xe0 nous contacter, nous vous r\xe9pondrons au plus vite"}),(0,C.jsx)(d.B,{crumbs:[{uri:(0,y.U)("/"),title:"Accueil"},{title:S}],variant:"main"}),(0,C.jsx)("div",{className:"form-container",children:(0,C.jsxs)(o.A,{children:[(0,C.jsxs)("header",{className:"mb-5",children:[(0,C.jsx)("h1",{className:"page-title mb-3",children:S}),(0,C.jsx)("p",{children:"N'h\xe9sitez pas \xe0 nous contacter, nous vous r\xe9pondrons au plus vite."})]}),T&&(0,C.jsx)(i.A,{}),!q&&(0,C.jsxs)("form",{ref:t,onSubmit:async function(e){var s;e.preventDefault(),(null===(s=t.current)||void 0===s?void 0:s.checkValidity())?(k(!0),v.FH.formContact((0,n.A)((0,n.A)({},V),{},{captcha_token:await(0,j.Z)()})).then((()=>z("Votre demande a \xe9t\xe9 envoy\xe9e"))).catch(F).finally((()=>k(!1)))):m(!0)},autoComplete:"on",noValidate:!0,className:(0,b.cn)(s&&"was-validated",T&&"form-disabled"),children:[(0,C.jsx)(l.Fp,{name:"type",label:"Je suis",options:[{value:O,label:"Professionnel"},{value:L,label:"Particulier"}
1],required:!0,value:V.type,onChange:e=>$({type:e.target.value})}),(0,C.jsxs)(c.A,{className:"mt-0",children:[(0,C.jsx)(l.ZQ,{name:"lastname",type:"text",label:"Nom",maxLength:64,autoComplete:"family-name",required:!0,value:V.lastname,onChange:e=>$({lastname:e.target.value})}),(0,C.jsx)(l.ZQ,{name:"firstname",type:"text",label:"Pr\xe9nom",maxLength:64,autoComplete:"given-name",required:!0,value:V.firstname,onChange:e=>$({firstname:e.target.value})}),(0,C.jsx)(l.ZQ,{name:"email",type:"email",label:"E-mail",required:!0,value:V.email,onChange:e=>$({email:e.target.value})}),(0,C.jsx)(l.ZQ,{name:"society",type:"text",label:"Soci\xe9t\xe9",maxLength:64,autoComplete:"organization",value:V.society,onChange:e=>$({society:e.target.value})}),(0,C.jsx)(l.ZQ,{name:"town",type:"text",label:"Ville",maxLength:64,autoComplete:"home city",required:!0,value:V.town,onChange:e=>$({town:e.target.value})}),(0,C.jsx)(l.ZQ,{name:"phone",type:"tel",label:"T\xe9l\xe9phone",required:!0,value:V.phone,onChange:e=>$({phone:e.target.value})})]}),(0,C.jsx)(l.hg,{name:"message",label:"Message",rows:5,maxLength:1500,required:!0,value:V.message,onChange:e=>$({message:e.target.value}),className:"mt-3"}),(0,C.jsxs)(c.A,{className:"mt-0",children:[(0,C.jsxs)("div",{children:[(0,C.jsx)(l.lR,{as:"div",children:"Je souhaite \xeatre contact\xe9 par"}),(0,C.jsx)(l.cG,{name:"by_phone",type:"checkbox",label:"T\xe9l\xe9phone",checked:V.by_phone,onChange:e=>$({by_phone:e.target.checked})}),(0,C.jsx)(l.cG,{name:"by_mail",type:"checkbox",label:"E-mail",checked:V.by_mail,onChange:e=>$({by_mail:e.target.checked})})]}),(0,C.jsx)(l.FX,{name:"store_id",label:"Je s\xe9l\xe9ctionne une agence",value:V.store_id,onChange:e=>$({store_id:e.target.value}),options:[_,...R.map((e=>({value:e.id,label:e.displayName})))]})]}),(0,C.jsx)("footer",{className:"d-flex flex-wrap justify-content-end gap-2 mt-4",children:(0,C.jsx)(u.A,{type:"submit",isLoading:A,variant:"primary",children:"Envoyer"})})]}),B&&(0,C.jsx)(r.A,{variant:q?"success":"danger",className:"mt-3 mb-0",scrollIntoView:!0,children:null===B||void 0===B?void 0:B.message})]})})]})}const R=m.N},21598:(e,t,s)=>{s.d(t,{Z:()=>d,l:()=>m});var n=s(4473),a=s(68341),r=s(59284),i=(0,a.A)("scriptUrl"),o=(0,a.A)("hideBadge");class c{constructor(e){Object.defineProperty(this,o,{value:l}),Object.defineProperty(this,i,{writable:!0,value:"https://www.google.com/recaptcha/api.js"}),this.isScriptLoaded=!1,this.siteKey="",this.siteKey=e}async initialize(){if(!this.siteKey)return console.warn("Require GCaptcha siteKey"),!1;if(this.isScriptLoaded)return!1;(0,n.A)(this,o)[o]();return new Promise((e=>{const t=document.createElement("script");t.async=!0,t.src="".concat((0,n.A)(this,i)[i],"?render=").concat(this.siteKey),t.setAttribute("id","google-recaptcha-v3-js"),t.addEventListener("load",(()=>{this.isScriptLoaded=!0,e(!0)})),t.addEventListener("error",(()=>e(!1))),document.body.appendChild(t)}))}async getToken(){return window.grecaptcha.execute(this.siteKey,{action:"submit"})}}function l(){const e=document.createElement("style");e.innerHTML=".grecaptcha-badge { visibility: hidden; }",document.body.appendChild(e)}let u;async function d(){var e;return null===(e=u)||void 0===e?void 0:e.getToken().catch((()=>{throw new Response(JSON.stringify({code:"google_recaptcha_error",message:"Erreur d'initialisation Google ReCatpcha."}),{status:500})}))}function m(e){const[t,s]=(0,r.useState)(!0),[n,a]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{!async function(){var t;null!==(t=u)&&void 0!==t&&t.isScriptLoaded||(u=new c(e),await u.initialize()),a(u.isScriptLoaded),s(!1)}()}),[]),{isLoading:t,isLoaded:n,isError:!t&&!n}}},58118:(e,t,s)=>{s.d(t,{GS:()=>i,ff:()=>r,mX:()=>a});var n=s(41018);function a(){throw new Response(null,{status:404,statusText:"Not Found"})}function r(e){"string"===typeof e&&(e=[e]);e.includes(n.$.theme_name)||a()}const i=()=>r(["CODEP","PS","SBVL","SIDV"])},219:(e,t,s)=>{s.d(t,{A:()=>l});var n=s(59284),a=s(13260),r=s.n(a),i=["color","size","title","className"];function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var n in s)({}).hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e},o.apply(null,arguments)}var c=(0,n.forwardRef)((function(e,t){var s=e.color,a=void 0===s?"currentColor":s,r=e.size,c=void 0===r?"1em":r,l=e.title,u=void 0===l?null:l,d=e.className,m=void 0===d?"":d,p=function(e,t){if(null==e)return{};var s,n,a=function(e,t){if(null==e)return{};var s={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;s[n]=e[n]}return s}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)s=r[n],t.includes(s)||{}.propertyIsEnumerable.call(e,s)&&(a[s]=e[s])}return a}(e,i);return n.createElement("svg",o({ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:c,height:c,fill:a,className:["bi","bi-database-exclamation",m].filter(
1Boolean).join(" ")},p),u?n.createElement("title",null,u):null,n.createElement("path",{d:"M12.096 6.223A5 5 0 0 0 13 5.698V7c0 .289-.213.654-.753 1.007a4.5 4.5 0 0 1 1.753.25V4c0-1.007-.875-1.755-1.904-2.223C11.022 1.289 9.573 1 8 1s-3.022.289-4.096.777C2.875 2.245 2 2.993 2 4v9c0 1.007.875 1.755 1.904 2.223C4.978 15.71 6.427 16 8 16c.536 0 1.058-.034 1.555-.097a4.5 4.5 0 0 1-.813-.927Q8.378 15 8 15c-1.464 0-2.766-.27-3.682-.687C3.356 13.875 3 13.373 3 13v-1.302c.271.202.58.378.904.525C4.978 12.71 6.427 13 8 13h.027a4.6 4.6 0 0 1 0-1H8c-1.464 0-2.766-.27-3.682-.687C3.356 10.875 3 10.373 3 10V8.698c.271.202.58.378.904.525C4.978 9.71 6.427 10 8 10q.393 0 .774-.024a4.5 4.5 0 0 1 1.102-1.132C9.298 8.944 8.666 9 8 9c-1.464 0-2.766-.27-3.682-.687C3.356 7.875 3 7.373 3 7V5.698c.271.202.58.378.904.525C4.978 6.711 6.427 7 8 7s3.022-.289 4.096-.777M3 4c0-.374.356-.875 1.318-1.313C5.234 2.271 6.536 2 8 2s2.766.27 3.682.687C12.644 3.125 13 3.627 13 4c0 .374-.356.875-1.318 1.313C10.766 5.729 9.464 6 8 6s-2.766-.27-3.682-.687C3.356 4.875 3 4.373 3 4"}),n.createElement("path",{d:"M16 12.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0m-3.5-2a.5.5 0 0 0-.5.5v1.5a.5.5 0 0 0 1 0V11a.5.5 0 0 0-.5-.5m0 4a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1"}))}));c.propTypes={color:r().string,size:r().oneOfType([r().string,r().number]),title:r().string,className:r().string};const l=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.