1"use strict";(self.webpackChunksisca_websites=self.webpackChunksisca_websites||[]).push([[1705],{18092:(e,s,t)=>{t.d(s,{V:()=>a});var r=t(76911),n=t(25170),i=t(82376),l=t(60712);function a(e){let{children:s}=e;return(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)(r.O,{title:"404 Page introuvable"}),(0,l.jsx)("h1",{className:"fw-bold-spaced mb-4",children:"Erreur 404"}),s||(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{className:"h3",children:"Vous \xeates perdu ?"}),(0,l.jsx)("p",{children:"D\xe9sol\xe9, mais la page que vous cherchez n'existe pas."})]}),(0,l.jsx)(i.N_,{to:(0,n.U)("/"),className:"btn btn-primary shadow-sm mt-4",children:"Retour \xe0 la page d'accueil"})]})}},24976:(e,s,t)=>{t.d(s,{N:()=>u});var r=t(18092),n=t(30787),i=t(219),l=t(60712);function a(){return(0,l.jsxs)("div",{className:"d-flex align-items-center justify-content-center gap-2 flex-column text-center",children:[(0,l.jsx)(i.A,{size:45,className:"text-body-tertiary mb-2"}),(0,l.jsx)("h1",{className:"fw-bold-spaced mb-4",children:"Erreur 500"}),(0,l.jsx)("p",{className:"mb-2",children:"La page que vous recherchez est temporairement indisponible. Nos \xe9quipes sont au travail."}),(0,l.jsx)("p",{children:"Nous vous prions de bien vouloir nous en excuser."}),(0,l.jsx)(n.A,{})]})}var c=t(36331),o=t(25520),d=t(82376);function u(){var e;const s=(0,d.r5)();let t;if(s instanceof Response||(0,d.pX)(s)){const e=null===s||void 0===s?void 0:s.status;404===e?t=(0,l.jsx)(r.V,{}):e>=500&&(t=(0,l.jsx)(a,{}))}return!t&&console.error(s),null!==(e=t)&&void 0!==e||(t=(0,l.jsx)(c.A,{})),(0,l.jsx)(o.g,{className:"min-vh-lg-50 p-5 d-flex justify-content-center align-items-center",children:t})}},73169:(e,s,t)=>{t.d(s,{A:()=>c});var r=t(22555),n=t(80045),i=t(81369),l=t(60712);const a=["children"];function c(e){let{className:s,children:t}=e;return(0,l.jsx)("section",{className:(0,i.cn)("mobile-full-width bg-white-subtle rounded py-5 px-4 px-lg-5",s),children:t})}c.Title=function(e){let{children:s}=e,t=(0,n.A)(e,a);return(0,l.jsx)("h2",(0,r.A)((0,r.A)({},t),{},{className:(0,i.cn)("h3 fw-bold-spaced mb-4",t.className),children:s}))},c.Separator=function(){return(0,l.jsx)("hr",{className:"my-4"})}},60379:(e,s,t)=>{t.r(s),t.d(s,{ErrorBoundary:()=>b,default:()=>j});var r=t(39064),n=t(10526),i=t(1606),l=t(2456),a=t(24976),c=t(76911),o=t(73169),d=t(25170),u=t(70514),m=t(59284),h=t(14319),x=t(11620),p=t(82376),v=t(60712);const f="Mes produits favoris";function j(){const e=(0,m.useContext)(r.R),[s,t]=(0,m.useState)(!1);return(0,v.jsxs)("div",{className:"max-width-880 mx-auto",children:[(0,v.jsx)(c.O,{title:f}),(0,v.jsx)("h1",{className:"page-title",children:f}),(0,v.jsxs)(o.A,{children:[(0,v.jsx)(o.A.Title,{children:"Mes listes de produits favoris"}),e.favorites.isPending&&(0,v.jsx)(n.A,{centered:!0}),!e.favorites.isPending&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("p",{children:"Retrouvez vos listes de produits favoris et ajoutez-les \xe0 votre panier en un clic."}),(0,v.jsx)(l.A,{variant:"primary",className:"mb-5",onClick:()=>t(!0),children:"Cr\xe9er une nouvelle liste"}),(0,v.jsx)(y,{show:s,onHide:()=>t(!1)}),0===e.favorites.lists.length?(0,v.jsx)(N,{}):(0,v.jsx)(g,{})]})]})]})}const b=a.N;function g(){const e=(0,m.useContext)(r.R);return(0,v.jsx)("ul",{className:"list-unstyled mb-0",children:e.favorites.lists.map((e=>(0,v.jsx)("li",{children:(0,v.jsxs)(p.N_,{to:(0,d.U)("/mon-compte/produits-favoris/:listSlug",{listSlug:e.id.toString()}),className:"d-flex align-items-center gap-4 py-3 w-100 border-bottom",children:[(0,v.jsxs)("div",{className:"me-auto",children:[(0,v.jsx)("div",{className:"h5",children:e.name}),(0,v.jsxs)("div",{className:"fs-sm text-body-tertiary",children:[(0,v.jsxs)("span",{children:["Cr\xe9\xe9 le ",(0,u.GP)(e.date_create,"dd/MM/yyyy HH:mm")]})," \u2014 ",(0,v.jsxs)("span",{children:[e.products_ids.length," article(s)"]})]})]}),(0,v.jsx)(x.A,{size:22,className:"flex-shrink-0 text-body-tertiary"})]})},e.id)))})}function N(){return(0,v.jsxs)("div",{children:[(0,v.jsxs)("p",{className:"mb-4",children:["Vous ne disposez d'aucune liste de produits favoris enregistr\xe9e.",(0,v.jsx)("br",{}),"Cr\xe9ez votre premi\xe8re liste puis parcourez notre site puis ajoutez des produits \xe0 votre liste."]}),(0,v.jsxs)(p.N_,{to:(0,d.U)("/produits"),className:"with-icon",children:["Parcourir nos produits",(0,v.jsx)(x.A,{size:10})]})]})}function y(e){let{show:s,onHide:t}=e;const n=(0,m.useId)(),a=(0,m.useContext)(r.R),[c,o]=(0,m.useState)("");return(0,v.jsxs)(h.A,{show:s,onHide:t,"aria-labelledby":n,centered:!0,children:[(0,v.jsx)(h.A.Header,{closeButton:!0,children:(0,v.jsx)(h.A.Title,{id:n,children:"Cr\xe9er une liste de produits favoris"})}),(0,v.jsx)(h.A.Body,{children:(0,v.jsxs)("form",{onSubmit:function(e){e.preventDefault(),a.favorites.insertList(c).then((()=>{t(),o("")}))},children:[(0,v.jsx)(i.ZQ,{label:"Nom de votre liste de produits favoris",type:"text",value:c,onChange:e=>o(e.target.value),maxLength:50,autoFocus:!0,required:!0}),(0,v.jsx)("div",{className:"d-flex justify-content-end gap-2 mt-3",children:(0,v.jsx)(l.A,{type:"submit",variant:"primary",disabled:!c,children:"Enregistrer"})})]})})]})}},219:(e,s,t)=>{t.d(s,{A:()=>o});var r=t(59284),n=t(13260),i=t.n(n),l=["color","size","title","className"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var t=arguments[s];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},a.apply(null,arguments)}var c=(0,r.forwardRef)((function(e,s){var t=e.color,n=void 0===t?"currentColor":t,i=e.size,c=void 0===i?"1em":i,o=e.title,d=void 0===o?null:o,u=e.className,m=void 0===u?"":u,h=function(e,s){if(null==e)return{};var t,r,n=function(e,s){if(null==e)return{};var t={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(s.includes(r))continue;t[r]=e[r]}return t}(e,s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],s.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}(e,l);return r.createElement("svg",a({ref:s,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:c,height:c,fill:n,className:["bi","bi-database-exclamation",m].filter(
1Boolean).join(" ")},h),d?r.createElement("title",null,d):null,r.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"}),r.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:i().string,size:i().oneOfType([i().string,i().number]),title:i().string,className:i().string};const o=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.